1,863 karma · joined Aug 18, 2015 (11y ago) · 758 submissions
comment 3d ago · link · parent
Using python already simplifies solutions through an endless stdlib .
Sometimes, in later days, it makes sense to recogise things unsolveable by default tools and go for, say, smt solvers.
Point being, it is not too bad.
comment 2w ago · link · parent
idsoftware did things as well, and I was always a fan of Carmack's vision, but the scale of effort just pales in comparison to what Valve pulled out.
comment 2w ago · link · parent
Given that the outcome is the same: the code runs in a seamless manner, and people don't have to suffer through whatever closed-source OS vendor pushes onto them? Steam Deck sales speak for themselves, and the overall ecosystem benefits from it massively.
I mean, I barely remember the last time I deployed code into a non-virtualized environment. Binary translation, virtual machines, just-in-time recompilation - all fine with me as long as it works well.
Or, if we speak about games. Some early games made it supereasy to port games and game logic because of using a vm behind the scenes (Another World and Quake 1). Who cares?
Emulation and API translation makes running vintage titles trivial on Linux, and I don't remember my daugther complaining about this, ever. My collegue from sales plays his brutal soulslike on Steam Deck, and he doesn't really know what Linux is.
comment 2w ago · link · parent
Also, steam deck became a popular platform studios do optimize for.
I play on my laptop, desktop, the deck, my tv. My kid plays on the deck.
For all practical intents and purposes this IS gaming on linux.
comment 1mo ago · link · parent
"Production rules" are rules in grammar descriptions for tools like yacc. "Semantic actions" correspond to pieces of code/logic executed whenever a given rule is fully parsed from input.
comment 2mo ago · link · parent
Coincidently, that's where my father was working as a programmer until the shutdown of the plant.
Anyways, he was maintaining a bunch of systems related to collecting data from environment monitoring sensors around the plant. In mid 2000s or so he showed me some data collecting machines using what looked like DOS text UI that mentioned being written in Leningrad, 1989 or 1988.
The software was running in an emulator on Linux, which my father used to replace original x86-compatible machines runninh dos.
Pretty sure thr whole thing was running for quite a while since my family moved elsewhere.
comment 2mo ago · link · parent
Around 1998-2000 my dad made a little business out of setting up linux servers on commodity hardware in my hometown. Primitive social networks, LAN provider servers, mail servers all worked just fine. Not without some involved convincing, and tinkering, and kernel patching but they did work.
One or two of the companies later became regional champions, running 100s of linux/x86/dell machines.
None of them would be able to afford a proper Sun server. Sun would never bother itself with these original tiny contracts.
It dont think Sun even stood a chance in this game. They couldnt even realize this happening!
comment 2mo ago · link · parent
Harnesses do correct things, sure.
comment 2mo ago · link · parent
I walk 10k steps a day on a normal day, only drive when necessary to go out of my normal routes. This has an added benefit of keeping me, an aging programmer, in shape (as well as other relevant activities).
Nothing dramatic about it at all.
comment 3mo ago · link · parent
In xml's they clearly overdid it. all the formats/substandards you listed... there is just not a single library that supports all of the standard.
And because implementations are so different, most users just stick to a single C library. That library, btw, is also incomplete and undermaintained.
So that's the problem with complex standards: they are hard to implement and support. Nobody does this, unless it is a business-critical matter.
comment 3mo ago · link · parent
JSON is naive, lacks almost everything. But is supereasy to parse and read.
As funny as it sounds, XML is overspecified. Parsing is possible and predictable but supporting the full standard (all of them) is so much work that nobody does it anyway.
So, given the choice above, i'd go for naive simplicity.
comment 3mo ago · link · parent
Anyways, yes, weightlifting + something active (tennis, football, etc) is the way to go.
But weightlifting first. It is the only hralth-related hobby that teaches honest body control: muscle, gaining/losing weight, dieting basics, monitoring key body parameters over time.