I've spent some of today finding bottlenecks in my world-simulating cellular automaton, and I can now simulate 10,000 years of history from the middle of the Ice Age to the middle of the Iron Age over 40,000 square kilometres (at kilometre scale) in slightly under two minutes of wall-clock time. It's utterly caning my poor computer, but it doesn't crash.
@simon_brooke#Clojure makes it so easy to burn down a CPU. And I don’t mean that in a “it’s inefficient” way, I mean it in a “it makes it trivial to write highly concurrent code” way.
@simon_brooke Just out of interest, are you using virtual threads for this? May not help much if it’s CPU-bound, but I’ve found them to give substantial speedups for I/O and mixed workloads.
@simon_brooke I use pmap quite heavily for (often good enough) naive parallelism, and wrote a virtual thread version that doesn’t chunk that’s even better on JVMs that support it: https://github.com/pmonks/embroidery
Tonight, #Trump's team released their 37-page recusal motion. That means that Merchan -- who ordered last month that both sides need his express permission before filing further pre-trial motions -- allowed them to do so.
Trump's justification for a second recusal motion, after his first motion was denied last August, is that there are both changed circumstances and newly discovered evidence. #legal
@RickiTarr I have a proposal for a new book, entitled “Re-centering ‘history’ as ‘his story’
How patriarchal misogynists can erase everything except white male Christian cishet history.”
What's your #editor / #IDE of choice, and why is it so? Do you use that for all tasks and #programming languages, or do you switch between editors depending on what you're working on?
I mostly use #IntelliJ / #Goland for large projects, and #VSCode for simpler ones. But tbh, I find myself increasingly using VS Code even for projects where I'd previously would reach for IntelliJ. And their poor story around language server integrations makes them feel less relevant today than they used to be.
@anderseknert I use Sublime Text + Sublime Clojure, since most of my work is in Clojure and it’s such a straightforward language I’ve never really seen in the value in a “real” IDE. I also use Sublime for all other text editing needs (shell scripts, markdown, etc.).
On the odd occasions I have to head down the Java mines, I reach for IntelliJ, though I usually find myself fighting it more than enjoying it tbh.
@anderseknert It does, but I don’t use it myself. I’m fine with “copy & paste” into a REPL running in a terminal window and/or (load-file "scratch.clj") for that use case. #YesImANeanderthal