10,595 karma · joined Dec 4, 2013 (12y ago) · 4,861 submissions
comment 7mo ago · link · parent
https://en.wikipedia.org/wiki/QuarkXPress
And we'd all have Zip drives and even internal Zip drives reader/writer in our G3. Can be seen on the picture here:
https://en.wikipedia.org/wiki/Power_Macintosh_G3
They were big indeed and I'd say huge in the publishing industry. Then the CD writers and then DVD writers began to rule to earth.
comment 7mo ago · link · parent
That's how Warcraft 3's fully deterministic save files would work. Old replay files would only work tied to one specific patch patch of the game.
But here's the thing: it's still a godsend while in development and it was still a godsend to players too. "Battlenet user spiritwolf beat me even though I had the upper hand, how did he do it? Let's check the replay immediately".
Also if you really think about it: if you plan for it from day one, there's not much preventing your game engine from having a pluggable system where you could have the various different patches of the game engine ship with every subsequent release of the game.
So when 1.03c is out but you want to play a replay meant for version 1.02b, the game automatically just use that version of the game engine.
The only case where this basically ain't working is if there's a patch for a security exploit: that'd probably need to be patched for good.
But for all other cases, backward compatibility for replay files / deterministic game engines is totally doable. It may not be how things are done, but it's totally doable.
comment 7mo ago · link · parent
I wrote about it here many times over the years but in 1991 I wrote a little DOS game (and I had a publisher and a deal but it never came out and yet it's how my career started but that's another story) and at some point I had an "impossible to find" bug because it was so hard to reproduce.
So I modified my game engine to be entirely deterministic: I'd record "random seed + player input + frame at which user(s) [two players but non-networked] input was happening". With that I could make tiny save files and replay (and I did find my "impossible to find" bug thanks to that).
First time I remember someone talking about it was a Gamasutra article by an Age of Empire dev (article which another poster already mentioned here in this thread): they had a 100% deterministic engine. FWIW I wrote an email to the author of that article back then and we discussed deterministic game engines.
Warcraft 3 definitely had a deterministic game engine: save files, even for 8 players (networked) games were tiny. But then you had another issue: when units, over different patches, would be "nerfed" to balance the game (or any other engine change really), your replay files wouldn't play correctly anymore. The game wouldn't bother shipping with older engines: no backward compatibility for replay files.
I had a fully deterministic game engine in 1991 and, funnily enough, a few days ago with the help of Claude Code CLI / Sonnet 4.6 I compiled that old game of mine again (I may put it on a public repo one day): I still had the source files and assets after all those years, but not the tooling anymore (no more MASM / no more linker) so I had to "fight" a bit (for example I had not one but two macros who now clashed with macros/functions used by the assembler: "incbin" and another one I forgot) to be able to compile it again (now using UASM, to compile for DOS but from Linux).
Another fun sidenote... A very good friends of mine wrote "World Rally Fever" (published by Team 17) and I was a beta tester of the game. Endless discussion with my friend because I was pissed off for his engine was so "non-deterministic" than hitting the Turbo button on my 486 (I think it was a 486) while I was playing the game would change the behavior of the (computer) opponents.
To me a deterministic game engine, unless you're a massively networked multi-player game, just makes sense.
Blizzard could do it for Warcraft 3 in 2002 for up to 8 players and hundreds of units. Several games had it already in the nineties.
It simplifies everything and I'd guesstimate something like 99% of all the game out there that don't do it could actually do it.
But it touches to something much more profound: state and how programmers think about state and reproducibility. Hint: most don't think about that at all.
Some do though: I was watching a Clojure conf vid the other day and they often keep hammering that "view is a function of state". And it is. That's how things are. It was true in 1991 when I wrote my DOS game, it was true for Age of Empire, Warcraft 3 and many other games. And it is still true today.
But we're in 2026 and there are still many devs insisting that "functional programming sucks" and that we should bow to the mutability gods for that is the only way and they'll fight you to death if you dare to say that "view <- fn(state)".
This explains that.
comment 7mo ago · link · parent
Fun memory: I was with my best friend at another friend's place and his father called him to do some chore. He had to quickly mow the small lawn or something like that. So we decided to prank him: I don't remember all the details but basically we launched Deluxe Paint and simulated an Amiga "guru meditation" using a font that wasn't even correct (I think because we were in 320x256 while the real guru meditation was using a mode with smaller pixels). Then in broken english we wrote something like this:
"Hardware failure. If you reboot or turn off your computer it is going to broke forever"
We then did a color cycling between red and black for one of the color and put the drawing software in "full screen".
When our friend came back, we played dumb and said we had no idea what happened but that apparently we really shouldn't turn the computer off. We managed to hold it for something like ten minutes while he though his computer was done for good but we were dying inside.
All three of us remember that prank to this day.
https://en.wikipedia.org/wiki/Guru_Meditation
P.S: as a side note with the help of Claude Code CLI / Sonnet 4.6 I managed to recompile a 30+ years old game I wrote in DOS in the early 90s (and for which I still have the source files and assets but not the tooling) and I was using converter (which I wrote back then) to convert files between the .LBM format and a "tweaked" (320x200 / 4 planes) DOS mode I was using for the game (which allowed double-buffering without tearing). I don't remember the details but I take it that if we had .LBM picture files, me and the artist where using Deluxe Paint on the Amiga.
comment 7mo ago · link · parent
vars and functions too. It's the biggest issue: the inevitable mismatch after a while.
As soon as I've got any doubt there might be a stable cache or a mismatch, I'll just "nuke the current CIDER buffers and relaunch cider-jack-in-clj&cljs". And it takes 1.3 seconds.
I'll also regularly spawn, from a terminal next to my Emacs, all the unit tests related to what I'm working on, in its own JVM / process(es). I'm not talking about running tests on commit (which I can do too). I'm not talking about running tests when I modify a function.
I was there 3000 years ago when Java 1.1 was using green threads on Linux and using Java on Linux required a serious leap of faith (but I knew... I knew it'd take the world... And I knew great things like Clojure would then come).
Now a JVM starts and exits in 40 ms.
Emacs starts and exit, with 4 000 lines of elisp customization I created over the years, in 1.1s.
I cider-jack-in-clj&cljs spawning both a CLJ and a CLJS REPL in 1.3s.
Clojure devs definitely should modify vars and redefine functions at runtime and use the REPL etc.
But there's no need to let a REPL live for one week like GP is suggesting. I can launch my entire app, including Emacs and two REPLs, in 2.5s. While at the same time having all my unit tests being launched in another process.
At 2.5s to "restart the world", there's no reason not to do it more than once a week.
P.S: also stale caches are a thing in this world. It's sad but it's simply how it is. How it's always been. Restarting the whole world, while in dev, helps also deal with a great many stale caches issues that may not be related to Clojure but to other things (e.g. I didn't invent the "disable cache" button in browsers' developer tools and there's a reason it's there).
comment 7mo ago · link · parent
I had a first little use case... For whatever reason the options to align let bindings in Clojure code, no matter if I tried the "semantic" or Tonsky's semi-standard way of formatting Clojure code (several tools adopted Tonsky's suggestion) and no matter which option/knob I turned on, I couldn't align like I wanted.
I really, really, really hate the pure horrible chaos of this:
(let [abc (+ a 2)
d (inc b)
vwxyz (+ abc d)]
...
But I love the perfection of this [1]: (let [abc (+ a 2)
d (inc b)
vwxyz (+ abc d)]
...
And the cljfmt is pretty agnostic about it: I can both use cljfmt from Emacs and have a hook forcing cljfmt and it'll align everything but it won't mess with those nice vertical alignments.Now, I know, I know: it is supposed to work directly from cljfmt but many options are, still in the latest version, labelled as experimental and I simply couldn't make it work on my setup, no matter which knob I turned on.
So what did I do? Claude Code CLI, tree-sitter, and three elisp functions.
And I added my own vertical indenting to Clojure let bindings. And it's compatible with cljfmt (as in: if I run cljfmt it doesn't remove my vertical alignments).
I'd say the tree-sitter syntax tree is incredibly verbose (and has to be) but it's not that hard to use tree-sitter.
P.S: and I'm not alone in liking this kind of alignment and, no, we're not receptive to the "but then you modify one line and several lines are detected as modified". And we're less receptive by the day now that we begin to had tools like diff'ing tools that are indentation-agnostic and only do AST diffs.
comment 7mo ago · link · parent
Yeah. But then the EU lost the plot a very long time ago. There is one EU company in the 50 of the world by companies market cap. One. Just freaking one. It's ASML.
From 2008 to today, in USD and inflation adjusted, the eurozone saw no growth. While both the US and China skyrocketed.
There's been this little thing lately that kinda took off: it's called AI. Where's the EU? How much of a leader was the EU in this AI revolution?
Explain how the EU is not long gone?
The EU is not even sinking at this point: it sank years ago. And it's busy making sure it's turning into the third-world.
I'm in the EU and honestly it's more than frightening.
comment 7mo ago · link · parent
It's not because Rich doesn't want AI-generated pull-requests by people then taking credits that the Clojure community is anti-AI.
I use Claude Code CLI daily with Clojure, just not in a "write me five thousands lines of Clojure code I won't read" type of way.
comment 7mo ago · link · parent
Good to see David Nolen (aka "swanodette") is in the documentary too.
As a bonus here's a recent talk from David Nolen about Clojure/ClojureScript and using DOM morphing instead of React.
If you don't want to watch it all, just take two minutes to watch from 23m15s to 25m15s. He compares a behemoth slurping all the browser's CPU and RAM resources versus a 13 Kb of JavaScript + Web components and DOM morphing:
His talk is presented from Emacs, gotta love that too...
comment 7mo ago · link · parent
https://www.stavros.io/posts/u2f-fido2-with-ssh/
We've got private Git repos only accessible through ssh (and the users' shell is set to git-shell) and it's SSH only through Yubikey. The challenge to auth happens inside the Yubikey and the secret never leaves the Yubikey.
This doesn't solve all the worlds' problem (like hunger and war) but at least people are definitely NOT committing to the repo without physically having access to the Yubikey and pushing on it (now ofc a dev's computer may be compromised and he may confirm auth on his Yubikey and push things he didn't meant to but that's a far cry from "we stole your private SSH key after you entered your passphrase a friday evening and are now pushing stuff in your name to 100 repos of yours during the week-end").
comment 7mo ago · link · parent
There are now just even more errors than there already were.
Now there's hope though: I take it at some point, just like we have AI that can already find (and fix and sometimes even properly fix) errors in code, we may end up with AI tools able to find all the broken assumptions and errors / wrong formulas the spreadsheets that make the corporate world are full of. But atm that's not where we are.
One such corporate-world company producing a gigantic turd would the "biggest" (but it's really not that big) european software company, SAP... They're going full on "business AI" as they see (rightly so?) AI as a terminal death threat to their revenue model. Market cap went from $360 bn to $200 bn: don't know if it's related to their "genius" AI-move.
And so now we have countless corporate drones who were already incapable of doing any kind of financial/accounting/math computation in a rigorous way who are now double-speeding on the errors, but this time AI-augmented.
It's the "let's add an AI chatbot to our site" (which so many companies are adding to their websites right now), but corporate version: "let's add AI to our corporate tools".
Just to be clear: I think this cannot fail. Failure and bogus numbers are the norm in spreadsheets, not the exception. More failure, more bogus computations, actually won't change a thing.
comment 7mo ago · link · parent
Most people, before being confronted to it, have no idea how big market data feeds really are: I certainly had no idea what I was getting into. There's a reason all these subscriptions are that pricey.
Here's an example of the pricing for the OPRA feed for Databento you mentioned:
https://databento.com/pricing#opra
We're talking about feeds that sustain 25+ Gb/s and can have spikes at twice or even three times that. And that's only for options market data.
I mean: even people with 25 GB/s fiber (which we can all agree ain't the most common and that's an understatement) at home still can't dream of getting the entire feed.
Having a bandwith big enough, storing, analyzing such amount of data: everything becomes problematic as such scales.
As to me I'm reusing my brokers' feeds (as I already pay for them): it's not a panacea but I get the info I need (plus balances/orders/etc. tied to my accounts).
comment 7mo ago · link · parent
Oh totally. I got my brother, who lives on the other side of the world and who's not a dev/sysadmin, just a poweruser, to install Proxmox and he's now using GPU passthrough to have VMs run different AI models (in either Linux or Windows) for image generation, experimenting, etc. He's also got a NAS with RAID etc.
To me a homelab is the 2020's version of having fun with computing: there's something incredibly refreshing in disconnecting my sub-LAN from the Internet and still have music, movies, private pastebin (yup I use this at times between computers for simple stuff I don't want to both scp'ing), private Git repositories, complete backup system (including offline HDDs/SSDs that I rotate into a safe at the bank), etc.
A movie projector, a dumb one, is another very cool thing: connected to nothing but a HDMI cable (not that HDMI is the best standard ever but it does the job).
And to be sure I can still code and work without having a nanny holding my hand as if I was a toddler, I regularly have coding sessions where I don't use Claude Code (but I also pay for a subscription: these things aren't mutually exclusive).
For anyone who wants to have a fun, a used HP Workstation with ECC memory is basically $200 and makes a perfectly fine server at home. Doesn't need to be up 24/7 either: my online service that is up 24/7 is my unbound DNS resolver and I run that one on a Raspberry Pi (for the low power consumption). The rest of my homelab (two Proxmox servers) is basically something I only need when I'm awake/at my desk. So I turn them off at night.
You never go full cloud.
comment 7mo ago · link · parent
All these not really helpful, but vendor specific, "bonuses" sounds like a way to try to lock people in, to try to raise the switching cost.
I'm using, on purpose, a simple process so that at any time I can switch AI provider.
comment 7mo ago · link · parent
I do use AI daily to help me enhance code but then... I also very regularly turn off, physically, the link between a sub-LAN at home and the Internet and I still can work. It's incredibly relaxing to work on code without being connected 24/7. Other machines (like kid's Nintendo switch) can still access the Internet: but my machines for developing are cut off. And as I've got a little infra at home (Proxmox / VMs), I have quite a few services without needing to be connected to the entire world: for example I've got a pastebin, a Git server, a backuping procedure, all 100% functional without needing to be connected to the net (well 99% for the backuping procedure as the encrypted backup files won't be synch'ed with remote servers until the connection is operational).
Sure it's not a "laptop on a plane", but it's also not "24/7 dependent on Sam Altman or Anthropic".
I'll probably enhance my setup at some point with a local Gemma model too.
And all this is not mutually exclusive with my Anthropic subscription: at the flick of a switch (which is right in front of me), my sub-LAN can access the Internet again.
comment 7mo ago · link · parent
I re-used it for I found it's approach to generating 80 000 Clojure classes to then test bare JVM vs Leyden AOT vs full GraalVM startup timing interesting.
comment 7mo ago · link · parent
You can search for those that may concern you. Good old search or AI "search".
For example I recently did test the AOT compilation of Clojure (on top of the JVM) code using "Leyden". I used an abandoned Github project as a base but all the JVM parameters related to Leyden had changed names (!) and the procedure had to be adapted. I did it all (as a Dockerfile) in less than an hour with Sonnet 4.6 (complete with downloading/verifying the Leyden JVM, testing, taking notes about the project, testing on different machines, etc.).
These are not trivial calls to the "java" command: it involves a specific JVM and several JVM params that have to work fine together.
The goal was to load 80 000 Clojure/java classes (not my idea: the original project did that part) and see the results: 1.5 seconds to launch with the Leyden JVM (and correct params) vs 6 seconds for a regular launch (so a 75% gain). GraalVM is even faster but much more complicated/annoying to get right.
It can look overwhelming but I'd say all these parameters are there for a reason and you only need a few of them. But when you need them, you need them.
P.S: unrelated to TFA and as a bonus for the "Java is slow crowd":
time java -jar hello/hello.jar
Hello, World!
real 0m0.040s
And that's without any Leyden/GraalVM trick. For Clojure the "slow" startup times are due to each Clojure function being transformed into one Java .class each and there are many Clojure functions. Hence the test with 80 000 Clojure functions from the project I reused: https://github.com/jarppe/clojure-app-startup-time-test
(but it's not maintained, won't work as if with the latest Leyden JVM)comment 7mo ago · link · parent
We're literally talking about the biggest computers on the planet ever, trained with the biggest amount of data ever available to a system, with the biggest investment ever made by man or close to it and...
The subtlest security bug it can find required: going 28 years in the past and find a...
Denial-of-service?
A freaking DoS? Not a remote root exploit. Not a local exploit.
Just a DoS? And it had to go into 28 years old code to find that?
So kudos, hats off, deep bow not to Mythos but to OpenBSD? Just a bit, no!?
comment 7mo ago · link · parent
I follow Bitcoin from a theoretical point of view and I find it fascinating.
Something that boggles my mind a lot is this: Bitcoin, which is somehow a bit "programmable", and Ethereum (which is definitely programmable) are basically the most correct computers on earth. Due to the consensus that needs to be reached by thousands+ of machines. Even if they're imperfect, ECC-less (for the most part), machines.
Now they may still run code with flaws: but they'll all run it exactly in the same way. If, say, a bit-flip occurs on a machine, that machine won't create a block or won't sign a transaction accepted by others. Not part of the consensus. That is wild.
Then the other thing which boggles my mind and which relates to your comment: the "selling pressure on the market" by Bitcoin miners is, no matter what they do, halved every four years. There were, 8 years ago, still 1800 Bitcoins mined per day. Today it's 450.
And in two years (we're midway before the next halving), it's going to be 225.
And Satoshi Nakamoto planned, from the very start.
Maybe it doesn't make sense (economically or from a security point of view: who's going to secure the network when there's not enough block reward anymore?).
But miners will mine 225 Bitcoins per day, not 450, in two years.
And that is totally fascinating.
comment 7mo ago · link · parent
There have been wars ongoing since more than centuries. Since way before the US even existed. We could name names and point to movement that have enslaved people, conquered many countries and brought misery everywhere they went way before the european/american slave trade took place, for example. And countries in which slavery persisted long after that one slave-trade was stopped.
Even if you don't go to war, war and misery has a way to come to your country.
While in the US the current president is 2/3rd of his total terms (counting the eight years) and things may go better later on, there are beliefs and cultures in other parts of the world that make it so they are nearly always at war. And this won't stop even should the US "play nice".
comment 7mo ago · link · parent
Mine neither although the grandparents were moderately wealthy but my mom understood very early on that it was a match for me and that computers would really take off.
Fun story: first BASIC I ever got was an Atari 2600 cartridge that came with some key of a "keyboard" in two parts you'd plug in the joystick ports. When my parent bought that Atari 2600 they tried it and spent the entire night playing "Tank Attack" on the TV in their bedroom. She only told me that years later.
Then as I was writing tiny BASIC programs on the Atari 2600 gaming console, she realized I needed a "real" computer, so she bought me an Atari 600 XL a bit later. Then I began salivating on the neighbours' Commodore 64, which I could see trough a window. And she thought: "If I buy the exact same computer as the neighbours, maybe my son and the neighbours shall become friends!". 42 years later one of our neighbor just went to visit my brother in another country and his brother we exchange Telegram messages nearly daily.
Then the Amiga. Then the 386, 486, etc.
What a mom. RIP.
comment 7mo ago · link · parent
And even without a big player, the number of people who are entirely operational with just a browser at work is huge.
Many SMEs already realized they can switch seamlessly between Windows and OS X / MacOS and I see people working on either one or the other. For example a desktop PC running Windows and a Mac laptop is not uncommon.
I switched an employee at my wife's SME to... Debian! And the transition has been more than fine: they live in the browser (Google Workspace, paid company subscription). Unattended-upgrades, a user account that cannot sudo, and that's it.
The number of desktop PC running Windows that are actually glorified browsers has to be through the roof.
Once people realize there's no need to pay the double-whammy Microsoft tax (pay for a new Windows / also pay for a new PC), suddenly installing Linux becomes an option.
Now I know: using Linux and Google is not "getting rid of US tech". But it's "getting of Microsoft" and that is fine with me. I'll never ever forgive the mediocrity this company has brought onto the world.
comment 7mo ago · link · parent
> I ran many brutal tests, including reconstructing for QEMU the SCSI controller (not longer accessible) of a SVSY UNIX of the early 90s used in a 386.
QEMU is one project that, for a variety of reasons, said that atm they simply refuse any code written by a LLM. Is this just as a test? Or just for you? Or do you think QEMU shall accept that patch?
comment 7mo ago · link · parent
I think he was confused and what he meant to write is this: "To build this driver, more Linux source files have been read than any human except Linus Torvalds and a select few have ever read".
I'm not discussing whether or not license do still apply after code has been used to train a LLM and then the LLM spouts back another implementation (although it's been shown if I'm not mistaken a LLM reproduced Harry Potter verbatim and I take it that if it's word-for-word, license to apply after all)...
But saying "No Linux source file were ever read" when LLMs have been trained with every Linux source file ever, going back to when Linux wasn't even using Git yet, is quite something.
That's literally how LLMs are trained: by being fed a shitload of data.
P.S: I'm no hater btw: I pay Anthropic and use Claude Code daily (today we're writing some elisp code that calls tree-sitter).