Sunday, August 30, 2020

Painting Solar Twins (Quintuplets?)

Back in late February or early March, approximately 217 years ago before the lockdown started, I picked up a pack of five small artist's canvas boards. I didn't have a plan in mind for them at the time, but one of my fellow-students Christian, who's working on another aspect of the same problem for his PhD as I am, was having his first annual review soon, so we decided it would be fun if I painted all the panels to look like solar twin stars so he could put photos of them in his talk (as his research is focused on discovering new solar twins further away than the ones we know of now).

Solar twins, if you don't know, are simply stars that are very similar to our Sun, in temperature, mass, luminosity, etc.. They're the basis of my PhD project, which revolves around using solar twins to be able to get the first constraints on variation in the fine-structure constant from main-sequence stars. (I actually just made some plots representing the culmination of almost three years' of PhD work this past week, so perhaps I'll write some more about that when I have time; my final annual review, the Draft Thesis Review, is coming up on September 23 so I'm going to be insanely busy preparing for that the next few weeks.)

I quickly got the panels painted in time for them to be added to Christian's talk (see the picture below for what they looked like then), but I wasn't completely satisfied with them, and kept going back to play with them some more.

“Solar Quintuplets,” acrylic pentaptych on canvas, 10×10 cm.

I actually quite like the effect of these with the peaks of transparent yellow oxide, a color I really learned a lot about the nuances of while making these. I mixed it quite thinly with some transparent medium, giving it an almost honey-like color and consistency here. However, I felt the stars didn't quite have enough limb-darkening around the edges, so I decided to darken those ever so slightly. This, unfortunately, set me down a long trail of darkening the limbs too much, attempting to lighten the center by thin transparent glazes, overdoing it and lightening everything too much, etc., etc., until I've finally got them to something resembling what I imagined (though honestly, at this point I'm inclined to just accept that not every project works out and be done with them).

Anyway, here they are, taken outside in the full light of day, which almost doesn't work as well as taking them indoors with the flash on. Even the jet-blackness of Black 2.0 is overwhelmed by the Sun's light, making them look a bit washed out. They really do look better in person (and indoors), trust me! I do at least kind of like how the surface texture came out, though again it doesn't really display well here. Pretty much all my cool and fun gel mediums are sitting at my desk at Swinburne, so I had to get creative with the two jars of matte and gloss finish thick viscosity medium I had on hand to get that texture. 

As I said, I'm inclined to accept these as just not really working out and move on. They can't all be winners, and frankly I've had—what is to my mind—an almost surreal level of success in translating ideas from my head to canvas so far, so I'm fine with an occasional dud. I've discovered I don't particularly enjoy painting on these canvas panels, for whatever reason—I vastly prefer a stretched canvas or wooden surface, so I probably won't get these again. A good learning experience, I suppose. With that I'm down to the last piece of stretched canvas I have on had (which does have a picture in progress), so I'm really looking forward to the end of the lockdown (whenever that happens) and the opportunity to pick up some more of my paints and mediums and some more surfaces to paint on. There's a round wooden artist's board that's been sitting around at Swinburne since early this year that I can't wait to get back to working on; I've got a fun mixed-media idea that's been percolating in my head for most of a year now. Soon, hopefully! A hui hou!

Saturday, August 15, 2020

Order-of-magnitude Calculation, Or: How Many Numbers Am I Keeping Track Of?

I haven't talked about it much on here, but I'm coming to the end of my original three-year PhD period at the end of September, a week prior to which I've got my final annual review. I'll be applying for a six-month extension to finish writing the two papers which will contain the majority of my original contributions to the sum total of human knowledge, and which will make up the bulk of my thesis. I'm currently in the process of trying to get some results from all the measurements I've spent the past almost-three-years collecting, correcting, collating, and calibrating.

I got to thinking on Friday about just how many numbers I actually have to keep track of. I'm just going to do a quick order-of magnitude estimate here, as it'll get us close enough that it won't really matter. For starters, I have around 11,000 different observations (divvied up between 144 stars, but that's not really relevant here). In each observation, I've attempted to make ~150 measurements of the wavelength of specific absorption features corresponding to particular atomic transitions. Now, these ~150 measurements get several corrections applied to them, and I keep all those corrections and corrected measurements around too so I can go back and check them. This adds up to a total of 9 different arrays.

From those ~150 transition measurements I also construct ~200 pairs of transitions and collect measurements for them (which are the real results of my research), and that comprises (currently) another 3 arrays. There are a few more numbers I keep track of per-observation, but few enough that I'll leave them out for now. Doing the math here:

\[11000\,\text{observations}\times9\times150\times3\times200=8.91\,\textbf{billion}\]

Yes, that's “billion” with a b. I'm actually surprised by this, because when I first tried doing this on Friday I got an answer an order-of-magnitude lower (22.5 million). I've done the math here several times, however, and it all checks out. Huh. That's…a lot of numbers. Well, technically, a lot of those are not numbers; specifically, they're Not-A-Numbers, or NaNs—essentially a computer-understandable way of saying N/A for cases were a measurement does not exist for some reason or another. Perhaps it would be better to call them “data points,” as I still need to keep track of which data points are numbers and which aren't, so it's still important for me to have ways to organize and keep tabs on all of them.

That's all for tonight, I just wanted to get that out of my head and down somewhere. Perhaps in a few months when I'm quite certain I won't be adding more arrays of numbers—I added several just this past week, actually—I'll do a more careful calculation and get an exact number, but for now, a hui hou!

Edit (September 8, 202): Argh, I knew there must be a mistake somewhere! I multiplied when I should've added and didn't parenthesize well; the correct calculation should've been:

\[11000\,\text{observations}\times(9\times150+3\times200)=21.45\,\textbf{million}\]

I'm still planning to revisit this and do a post with a more accurate number a bit later on, so keep an eye out for that one.

Tuesday, August 4, 2020

Baking Cinnamon Rolls

This weekend I made some cinnamon rolls using a recipe from a friend, and they turned out pretty good. I think this is the first time I've done some proper baking with proper dough and yeast for…three years, perhaps? I took some pictures during the process and thought I'd show 'em off.

Here's the dough after letting it rise for an hour.
It's been so long since I last mixed up a proper dough. It's funny how the smells come back to you, like the way the yeast smells. I also have a ton of yeast left over now since the smallest package of it I could find was a half-kilogram, so I guess I need to do some more baking soon. I had a hankering for runzas just the other day…

Cutting up the rolled-up log of dough with the cinnamon mix inside.
This part reminded me of watching videos during tours of the Jelly Belly factory about how they make those little taffies with the pictures inside, by rolling up logs of ingredients and cutting across them.

Putting the rolls in the pan…

…and a half-hour later, when they'd risen some more and filled up the space.

Finally, baked, frosted, and sampled!
The frosting didn't work out quite so well unfortunately, as the butter wasn't softened all the way through. Which left little lumps of butter which later melted once spread over the piping hot rolls, visible here as the yellowish regions. Thankfully it doesn't seem to have affected the taste, these do indeed taste delectable. I left them in the oven a few minutes too long so they came out a bit more “done” than they should be, but I'd say they're still a solid 6 or 7 out of 10. Not too bad for a first try! I'll have to do these again sometime. A hui hou!

Sunday, August 2, 2020

A Doily and a Scarf

Approximately three centuries of subjective time ago, back in October 2018, I mentioned that I had taken up knitting and begun work on a scarf. And a few months ago (I think in May), I finally finished it! Then, because I had some yarn left over, haven't crocheted anything in a while, and was bored, I used the leftover yarn to crochet a doily off the top of my head in a few hours.

And here they both are!

When I picked that scarf pattern I decided I wanted something more advanced that a real beginner's-level pattern, and boy did I get it. Doing that cabling turned out to be really annoying, though it does look cool when I didn't mess up and make either one too many or too few rows between crossing the cable over. A friend of mine at the JCMT used to tell me that knitting was simpler than crochet and I finally get what she meant now, though in a way knitting is actually harder for me. It's true that crochet has a large variety of different stitch types while knitting only has two, but knitting is about keeping track of numbers of stitches much more than crochet generally is (at least, the things I tend to crochet) and it turns out I am pretty rubbish at keeping track of numbers of stitches, so I have a long way to go in knitting. But I do enjoy it. As of this writing, I've just ordered a few skeins of yarn online to give me something else to do as Melbourne goes into Stage 4 lockdown for six weeks. (I've never lived under a curfew before, it's mildly exciting. [For, I'm sure, the next day or two.]) I'm planning on both knitting and crocheting something, though I have yet to pick out patterns for either. We'll see what I end up doing! And maybe it'll take me less than a year to do this time. A hui hou!

Sunday, July 19, 2020

Painting the JCMT

While at home these past few months, I've been a bit constrained in my painting by a lack of painting materials (namely, I don't have a very wide array of colors with me—most of my paint is still at my desk in Swinburne, and will be there for at least the next month-and-a-half—and I also didn't have much canvas with me when the first lockdown started). However, I did have a canvas in progress which I started near the end of last year, of the James Clerk Maxwell Telescope where I used to work from 2013–2016. Thankfully, it didn't require a wide variety of colors, and I'd already blocked in about half of it back in November (based on the only in-progress picture of it I could find), though I took a few months' break from it after that. I've been working on it slowly off and on over the course of the lockdown(s), and I finally finished it last week.

“James Clerk Maxwell Telescope,” acrylic on canvas, 14×18”.

I based this off a photo taken by a college friend of mine who was a telescope operator at the JCMT for a few years, contemporaneously with me. If you're not familiar with the JCMT, it's a telescope which detects light in the sub-millimeter wavelength range, between infrared and radio waves. The dish itself sits behind the large Gore-Tex membrane in the world, which is the area in the middle of the painting with the contour lines. (The Gore-Tex is essentially invisible at sub-millimeter wavelengths, so it doesn't block the observations.)

(Incidentally, getting the contour lines to look not-wrong may have been the hardest part of the painting, as I painted them on only to realize they looked wrong at least twice. The membrane has a somewhat complicated shape, so I ended up drawing them on with pencil so I could more easily change them, and after several weeks of adjusting them they're at least approximately correct.)

Another neat fact about the JCMT is that the SCUBA-2 sub-millmeter camera (which I worked with primarily, though on the quality assurance side) is the coldest place in the known universe: the detector is kept at a working temperature of just 70 millikelvins above absolute zero. This is because the detector has to be colder than what it's observing to prevent swamping the observation with thermal noise, and sub-millimeter light comes from extremely cold gas and dust, on the order of a few to tens of kelvins.

Anyway, that's one of the things I've been working on lately. I'd like to do another painting of the other telescope I've worked at (the Yuan-Tseh Lee Array) on the last canvas I have with me, but as I only just started that this week it probably won't be done anytime soon (though it's also a much smaller canvas, so we'll see). Maybe I can start a series of “Observatories I Have Worked At.” And maybe in the future, it'll contain more than two paintings! Who knows? A hui hou!

Saturday, July 11, 2020

The Lockdown Life

This past Wednesday, Melbourne (and one shire to the north) went back into Stage 3 lockdown for six weeks due to rising case number of COVID-19. This is after we'd gotten all the way down a few days in early June with zero new reported cases, then a few weeks of just single-digit new cases. Then, near the end of June, we started getting double-digit numbers, which stretched into two weeks, then eventually breached triple digits just within the last week or so. In contrast, most of the rest of Australia has been completely or almost completely free of reported new cases, other than New South Wales which is still getting a low number irregularly. Practically overnight Victoria has became a pariah state, with all the other states and territories closing their borders and politely but firmly making it known that Victorians aren't welcome 'round these parts, y’hear?

It's a bit of a disappointment, considering we seemed to have beaten the virus more-or-less and were starting to open back up again. Out of an abundance of caution I didn't go anywhere since the lockdown started to lift in late May except for a single visit to friends, but as June progressed I was starting to think about heading into my desk at Swinburne to pick some things up (especially some more paint and something to paint on, as I have a very limited selection of the former and have nearly run out of the latter).

It's odd that this second lockdown hit me harder than the first one, considering I hadn't even really come out of the first one to begin with; I know friends who were starting to get out and about in the interim where it seemed like we were on top of things. It just feels more unjust somehow—those of us who've been being good for months now are forced back into lockdown through no fault of our own due to the actions of a relatively tiny amount of people who took "lockdown being lifted" for "business as usual" and ignored social distancing guidelines put in place to prevent exactly this happening. Before the lockdown, someone could be excused for not knowing what was happening amidst the confusion and unwittingly spreading the virus before becoming symptomatic; it's a lot harder to justify such behavior afterwards when they should know better.

Then as I was preparing to lead our small group Bible study Thursday night, a verse in 1 Peter I'd been looking at all week jumped out at me:
For is it better, if the will of God, that you suffer for doing what is right rather than for doing what is wrong.
   —1 Peter 3:17
While it's still pretty annoying to have to forego any hope of taking a trip anywhere further than walking distance for another month and a half, I can at least agree with this in principle: I'm glad the lockdown isn't of my doing, and I don't have any lives on my conscience from spreading the virus to potential victims. It's just frustrating when the reward for doing good is the absence of a negative rather than a more tangible positive, but I suppose that's just the world we live in. And that I'd probably feel rather differently if I were in the other position.

In the meantime, it's not like I'm ever going to run out of things to do from my home: I've still got a Ph.D. to finish, papers and a thesis to write, plenty of games that won't play themselves, some art projects I should really get around to finishing and sharing, and I've started copying Brahm's absolutely fantastic “Variations and Fugue on a Theme by Handel,” which is of pleasantly maddening complexity. (I find myself needing to dive into the LilyPond documentation quite frequently to figure out how to represent the various intricacies and special cases of music notation that pop up.) And hey, at least it beats being in the hospital! A hui hou!

Sunday, June 28, 2020

Tau Day 2020

Happy Tau Day! What's this? Me remembering two interesting dates in a row? I'm as confused as you are! I guess it helps that both fell on weekends this year so I was less busy.

I've mentioned tau a few times before, but as a reminder, \(\tau=2\pi\). It's the ratio of a circle's circumference to its radius, and makes much more sense as the true circle constant rather than \(\pi\). I was reminded recently how much more sense when my mother asked for some help with some trigonometry problems (she's been teaching herself trig lately) and it was so confusing trying to think about the various unintuitive ½\(\pi\)'s and ¾\(\pi\)'s scattered about. With \(\tau\), a fractional value of \(\tau\) corresponds directly to a fraction of the way around a circle, which is so much simpler to remember. I think \(\tau\) makes more sense than \(\pi\) from a purely mathematical perspective, but the practical benefits to teaching and using trigonometry (and higher math that uses it) would be compelling all on their own—after all, we switched from Roman numerals to Arabic numerals primarily because the latter were easier to use and reason about; why shouldn't we do the same with other values? A hui hou!

Sunday, June 21, 2020

Happy [Winter/Summer] Solstice!

Happy [winter/summer] solstice, [southern/northern] hemisphere readers! As an astronomer I always feel like I should comment on these astronomically significant dates, and then I always end up forgetting or being too busy to write anything. This year, at least, it falls on a weekend and since I've been working from home I've been even more aware than usual of the lengthening nights the past few months. It's actually rather relieving to finally reach the solstice, to know that this is as dark as it gets, and the days will begin to lengthen again after today (even if it won't really be noticeable for a few weeks, and the actual coldest part of winter is yet to come).

On an astronomically-related note, I wanted to share a website I found recently, called thetruesize.com. The idea behind it is to allow you to compare countries' sizes on a map that takes into account the distortions present in the projection, specifically the very common Mercator projection. You can input a country (or U.S. state) name to create a transparent copy of it on the map, and drag it around. As it gets closer to or farther from the equator, it'll shrink or grow according to the distortion present at that latitude (none at the equator, and increasing towards the poles). I found it absolutely fascinating, since I'm aware that there is distortion, but don't have a mental idea of its magnitude.

Probably my favorite country to visualize the distortion is Greenland, which looks to be bigger than South America in the Mercator Projection due to its great distance from the equator. But actually drag a copy of it down to South America and you'll see it's much smaller than Brazil, and comparable in size to Argentina. Comparing it to the U.S., the distance from north to south across Greenland is actually only just larger than the distance from the southern tip of Mexico to the Canadian border.

Anyway, it's lots of fun to drag countries around the map and see how they compare (you can have multiple countries active at once and also rotate them, allowing you to play games like fitting as many countries into another continent as possible). Hopefully you too can enjoy appreciating just how big (or small!) the world can actually be. A hui hou!

Sunday, June 14, 2020

Satisfying Slug Shadows

Working from home as I have been the past few months, I've got a lot more time to appreciate the paintings I happened to have here with me when lock-down started. Or, to become more dissatisfied with my previous efforts, in some cases. Specifically, my blue glaucus painting, which has already gone through two different revisions. Turns out I still wasn't happy with the shadow I added (though I'm glad I added it), so I went back and reworked it a little more.

Primarily I found the shadow to be a bit too hard and sharp; it didn't seem like a shadow of something floating in shallow water, and being as sharp as it was it distracted the eye from the slug itself, muddying the focus of the composition. I've gained a fair bit of appreciation for the pigment transparent yellow oxide over the past few months (as it's one I have with me, and have been doing some experimenting with), so I decided to use a glaze of it to make the shadow look softer and less distinct. In the process I also ended up spreading some around on the sandy background too, to help the shadow blend in better. While I was checking reference images, I also noticed that on some the silvery coloration extended along the cerata, so I've gone over those with a thin silver glaze as well. Anyway, here's how all that turned out:

“Carefree Blue Dragon”, 18"×14", acrylic on canvas.

I think this shadow works a lot better now, being still visible but less distinct and not overpowering the main subject quite so much. At this point I think I'm finally satisfied with it, but then I've thought that three times before, haven't I? As the saying goes, “art is never finished, merely abandoned,” so we'll see if this truly is the final revision! A hui hou!

Monday, June 8, 2020

Orchestrating Handel's “The Harmonious Blacksmith”

Today I'm pleased to finally be able to share a new project I've been working on for a few months now. Back in February I mentioned I started learning LilyPond in order to engrave sheet music, and after finishing copying Ecossaise in E♭ Major by Beethoven as a warm-up exercise I was looking around for something new to practice with. I settled on Handel's piece known as The Harmonious Blacksmith, the name given to the fourth movement from his Suite No. 5 in E major for harpsichord. I discovered this fantastic piece last year, and in the process of writing the LilyPond code for it I listened to a whole bunch of different versions of it, including two versions of it orchestrated for a full orchestra. After copying a version for harpsichord(/piano), this inspired me to undertake something a bit more ambitious: making my own orchestrated version!

I settled on a sixteen-instrument ensemble, where two coincidences neatly dovetailed: MIDI handles channels in groups of 16, and the staves for those instruments also pretty nicely filled exactly one page vertically. It's scored, somewhat arbitrarily, for first and second violins, viola, cello, bass, harp, flute, oboe, English horn, bassoon, clarinet, trumpet, trombone, tuba, French horn, and xylophone. I started sometime in mid-March or so, and worked on it off and on for the next month and a half. In early May I gave a short talk at our astronomy department's weekly Monday lunch (which often features people talking about hobbies or interests) and gave the first public premiere of the (mostly) finished work by playing the synthesized MIDI audio. Since then I've tweaked a few little things (such as changing instrument parts to the correct keys for transposing instruments), and this weekend I finally worked out an easy way to render MIDI to audio. (Turns out there's a convenient Python package, midi2audio, which makes it a snap.)

Anyway, here's a video I made so I could display the sheet music along with the audio:


This was, obviously, my first such attempt at orchestration and I have to say, I really enjoyed it. I'm sure if I actually knew music theory I'd be able to weave even more beautiful passages, but even so I stumbled upon quite a few bits that still give me goosebumps, or which just sound lovely: the gentle introduction of the harp in the first variation, the punctuating xylophone taps on pages 8–10 (but especially on page 9) like little blacksmith's hammers, the interplay between trumpet and oboe (page 11), the pastoral, sublime repetition of the second variation (page 14) right after the bombastic introduction a page before, the staccato viola (page 17) interspersing with the flute*, the introduction of the third variation with its gentle, lilting interplay between the woodwinds and harp, the xylophone intermittently shadowing the oboe (page 23), the growing crescendo involving nearly all the instruments which ends that variation (page 24), those  two insistent growling low notes from the bassoon in the fourth variation (page 27), the trumpet making a surprise appearance in the fifth variation (page 34), the four-part instrument unison between the violins, viola, and trumpet on page 38 (never fails to bring out the goosebumps), and the entirety of the last two pages as everything slows, and builds, and crescendos before the final cascading descent to the finish. I've listened to this piece I don't know how many dozens of times at this point (both my version and others), and I have yet to tire of it.

Anyway, enough of my rambling. I hope you enjoy the music, and feel free to point out any musical mistakes I might have made—I did have an experienced violinist friend look it over so I'm fairly confident the strings don't have any unplayable notes (he found those already), but I might still have made mistakes with the other instruments. A hui hou!

*The staccato markings were one of the few liberties I took with the original notes along with adding a few trills in places, though there are a number of trills in the second variation in the original. The dynamics markings and tempi are also mine.