So Claude Code actually outputted reasonably good Asymptote code for me today, which is a surprise to me, because usually the LLM's are really bad at Asymptote.
I was trying to convert the following into Asymptote:
\begin{circuitikz}[american]
\node (P) at (0,0) [left] {$P$};
\node (Q) at (13,0) [right] {$Q$};
\draw (P) to[short] (1,0);
\draw (1,0) to[short] (1,1) to[R=$x\,\Omega$] (3,1) to[short] (3,0);
\draw (1,0) to[short] (1,-1) to[R=$\frac{1}{3}\,\Omega$] (3,-1) to[short] (3,0);
\draw (3,0) to[short] (4,0);
\draw (4,0) to[short] (4,1) to[R=$y\,\Omega$] (8,1) to[short] (8,0);
\draw (4,0) to[short] (4,-1) to[R=$\frac{1}{3}\,\Omega$] (6,-1) to[R=$\frac{1}{3}\,\Omega$] (8,-1) to[short] (8,0);
\draw (8,0) to[short] (9,0);
\draw (9,0) to[short] (9,1) to[R=$z\,\Omega$] (11,1) to[short] (11,0);
\draw (9,0) to[short] (9,-1) to[short] (9,-2) to[R=$\frac{1}{3}\,\Omega$] (11,-2) to[short] (11,0);
\draw (9,-1) to[R=$\frac{1}{3}\,\Omega$] (11,-1);
\draw (11,0) to[short] (13,0);
\end{circuitikz}
The output from Claude
actually worked.
Though the most jarring part is probably the presence of import olympiad; at the top.
A lot of Asymptote users from the AoPS math contest community... it shows.
I cleaned up the output and posted it on AOPS.
Some real Ace Attorney material here:
In one of nature’s most remarkable convergent evolutions, koalas have developed fingerprints that are virtually indistinguishable from human fingerprints, even under electron microscopes. ... Each koala possesses unique fingerprints, just as humans do, with distinctive whorls, loops, and arches.
Snopes says this doesn't seem to have happened yet.
I kind of think "irregular conjugation" was a poor choice of name for the verb conjugations that follow one of several rules depending on the ending, because they're still mostly following a fixed rule.
To me "irregular" should be edge cases like 돕다 becoming 도와 which are actually edge cases (irregular irregulars, anyone?).
One thing you have to be careful about, though, is that duct tape programmers are the software world equivalent of pretty boys… those breathtakingly good-looking young men who can roll out of bed, without shaving, without combing their hair, and without brushing their teeth, and get on the subway in yesterday’s dirty clothes and look beautiful, because that’s who they are. You, my friend, cannot go out in public without combing your hair. It will frighten the children. Because you’re just not that pretty.
How much of life is lost in customer service
(in both directions)
When playing poker with friends:
You know you're screwed when your opponent takes a photo of their cards.
I don't know why but my iPhone's Notes scans have increased a ton in size. It's annoying. But somehow the following procedure fixes it:
pdf2ps unreasonably_large_phone_scan.pdf tmp.ps
ps2pdf tmp.ps compressed-output.pdf
Like, I just scanned a 9-page document that was 37MB before and 1.4MB after.
Let's see if this makes it any easier for me to pull up my calendar:
bindsym $mod+g exec qutebrowser --target=window "https://calendar.google.com/calendar/u/0/r/customday" :'mode-enter passthrough'
Maybe it's a good thing that my Amazon Prime is dying soon so that I stop buying random stuff I don't truly need.
Education is so doomed.
I appreciate someone who would bring a red panda plushie to a wedding because it's cute.
me digging through my closet wondering if i still own a suit
Latest tinker: disabling links on Wikipedia so I stop doomscrolling when I look stuff up.
I wish we lived in a world where the pacman option ILoveCandy was on by default.
Honestly there's actually few things I enjoy watching live more than people working through my puzzles.
The OPAL hunt starts tomorrow. Took way too long to write. We got the last testsolves in just today. Hope the kids like it.
From today's homework stack:
i did like half these problems while walking around yellowstone for vacation and they definitely made vacation more fun lol
Sounds like me growing up
Trying to fact-check logic puzzles for uniqueness without grilops gives me the heebie-jeebies.
Every time I visit Boston it amazes me how little of the Cambridge and Boston area I managed to explore during my time here as a student.
The Internet still feel like a house of cards to me. How has it not collapsed yet?
Every few days I have this feeling of, like, how is it that my computer still does what I tell it to? I take it for granted, but I have so little understanding of the underlying hardware that I really should be amazed every time.