Author Archives: Cody

More Machine Learning Experiments

This time, I trained GPT-2 on Shakespeare’s sonnets. Some of the results are fairly convincing, though still strange, and the algorithm was obviously very confused by the punctuation, throwing colons and semi-colons around where it pleased. I love thee, and … Continue reading

Posted in Uncategorized

Spirography

Suppose you had a circle made of a hundred or so equidistant points on its circumference. If you drew straight lines connecting distant points on this circle (chords) in some systematic way, you’d produce a kind of spirograph. I don’t … Continue reading

Posted in Uncategorized

Simple Monte Carlo Radiation

I tried my hand at writing a simple Monte Carlo radiation transport code a couple of nights ago. It turned out not to be very difficult to write, and at only 50 lines of code, it produces some pretty amazing … Continue reading

Posted in Research

A Chinese Room Writes a Sequel to Blindsight

For anyone who has read Blindsight (by Peter Watts), you’ll know that the concept of a Chinese Room plays a major part in the premise. For the sake of irony, I trained an AI I’ve been playing with to write … Continue reading

Posted in Uncategorized

Packing Boulders

I’ve had some ideas kicking around my head regarding how to efficiently pack objects of various sizes into a volume. I decided to finally try writing an algorithm that would randomly insert objects picked from a size distribution profile, and … Continue reading

Posted in Research

RPRPS Generator

There is a huge library of work on the subject of sphere packing, some of which is very relevant to SPH, most of which is not (mainly because SPH particles are not hard spheres), and the state of the artĀ for … Continue reading

Posted in Research

VisIT + SPH

A little while back, I worked with the VisIT team here at LLNL to create an operator for VisIT that will resample SPH particle data to a mesh for the purposes of visualization. I think the results are pretty nice!

Posted in Uncategorized

Moon Forming Impact

It’s been known for some time now that the Moon formed out of a cataclysmic collision between the Earth and a Mars-sized planetĀ called Theia. What remains unsolved is just how the Moon ended up with so much of Earth’s granite. … Continue reading

Posted in Research

Initial Conditions are Crucial

Merely placing two compact objects near each other in orbit is not the appropriate way to design initial conditions. In nature, these two stars have felt each other’s gravitational pull for quite some time before the last few orbits (where … Continue reading

Posted in Research

Tidal Tails

Going to submit a paper in the near term that establishes a new mechanism for producing certain absorption features found in SNeIa. If correct, it can place some very good constraints on white dwarf merger parameters.

Posted in Research