great concert yesterday, by Georg Neureiter
e.g. joygrounds
MMAcevedo (Mnemonic Map/Acevedo), also known as Miguel, is the earliest executable image of a human brain. It is a snapshot of the living brain of neurology graduate Miguel Acevedo Álvarez (2010–2073), taken by researchers at the Uplift Laboratory at the University of New Mexico on August 1, 2031.
i've already read it some time ago, now it resurfaced via https://www.astralcodexten.com/p/writing-for-the-ais
song of the day: technopagans by jesse_welles
Suppose you have an array of floating-point numbers, and wish to sum them. You might naively think you can simply add them This however can easily result in an arbitrarily large accumulated error. Taming Floating-Point Sums
tried this in kotlin, where even the built in sum function uses the naive approach:
// prints 16777216,00
println("%.2f".format(FloatArray(100_000_000) { 1.0f }.sum()))
floating point addition isn't associative (a+(b+c) != (a+b)+c), not strictly commutative (a+b == b+a, but NaN != NaN, but there are even more special cases) nor distributive (a*(b+c) != (a*b) + (a*c)).
The phrase “favor composition over inheritance” has become one of those thought-terminating cliches in software design, and I always like to take a deeper look at those to understand where they come from and what ideas we’re missing if we just take the phrase at face value without engaging with the discussion that led to it.
fun article about solving fizzbuzz with cosines by susam_pal: https://susam.net/fizz-buzz-with-cosines.html
then, in the hn comments, there's even more: vidrun's fizz buzz at aphyr.
PS: also in the comments - joel grus' FizzBuzz in tensorflow: https://joelgrus.com/2016/05/23/fizz-buzz-in-tensorflow/
on windows i'm running a triple monitor setup - center for the IDE, left for logs, debugging and documentation and right for communication (email, chat).
sometimes, when i play games i wish to turn off the peripheral monitors for better immersion; also my graphics card is probably happy having to render a few million pixels less.
usually, i just used the physical buttons to turn the monitors off, but after a defect i've had to get a new one that places its on/off switch at the back, which i can't easily reach.
nirsoft to the rescue: enable/disable or power on/off monitors over software with MultiMonitorTool