6,179 karma · joined April 18, 2010
https://danieljanus.pl
meet.hn/city/52.2319581,21.0067249/Warsaw
Sadist (and its sequels) was little-heard of among the Polish gamers of the late 90s and early 2000s, but it did manage to amass something of a cult following. IIRC there was a small but vibrant forum in its heyday, and the game's online fanbook (now read-only) has 700+ entries.
The author, Grzegorz 'GAD' Drozd, was a frequent poster to pl.comp.lang.pascal in its heyday. In addition to Sadist, he also produced many other DOS and Windows freeware games, most of them single-handedly. His site (gadz.pl) is well worth checking out.
No it doesn’t.
RETURN VALUES
The strcmp() and strncmp() functions return an integer greater than, equal
to, or less than 0, according as the string s1 is greater than, equal to,
or less than the string s2. The comparison is done using unsigned
characters, so that ‘\200’ is greater than ‘\0’.Make is an artifact updater. Although it’s not its main focus, Peter Miller’s classical paper ‘Recursive Make Considered Harmful’ does a good job of explaining what it is.
One great benefit of make is that it’s present everywhere, so there’s no additional hassle of installing an extra tool. Depending on the project, this hassle-freeness may or may not outweigh make’s relative incomfort as a task runner.
> Humans have a cognitive bias: "what is focal is presumed causal".
> Political leaders know this. They like presenting good news themselves because they like to be "seen" as causal of good stuff, but they'll get a press secretary to deliver bad news. Movie directors know how to use this when framing their protagonists within the story.
> Unfortunately, the React team have lost themselves in this bias. They keep trying to make the most focal part of the system (components) also be the causal part. Please stop doing that! It is a mistake. Events are what's causal - they embody the user's intent.
> Just to be clear, I love React. What an utterly brilliant idea and great execution. I'm deeply grateful because, wow!, did it change things. It is just that I preferred React when it was only trying to be the V part of MVC. Everything since has been downhill.
[0]: https://day8.github.io/re-frame/FAQs/LoadOnMount/#why-this-d...
<my parents’ names> <town name>
where the town has circa 3K inhabitants.
The beauty of it was that it was a single static HTML file, copied verbatim to the archive. The only moving part, apart from the actual images/posts/videos, was a file called soup.js, which was just `window.soup=` plus the content metadata as JSON.
I didn’t even bother to have a separate JS file for the actual code, much less a build system. I put the JS right into a `<script>` tag in the HTML. I used ES modules, HyperApp as a minimalistic React/Redux workalike, and mini.css for some sane default styling.
I was amazed at how far I could get with such a rudimentary tooling. 117 SLOCs of HTML+JS, working equally well served from a server and from a local filesystem, complete with pagination, permalinks, and a jump-to-page dialog.
Here it is in action, serving a friend’s soup archive: https://soup.tomash.eu/archive (warning: some content can be touchy and/or NSFW). View source for a glimpse of how it works.
https://marcinciura.wordpress.com/2018/06/24/perfect-polish-... https://marcinciura.wordpress.com/2018/12/17/more-perfect-po...
And submitted an IOCCC entry in 2019 on the topic:
I wonder how many times per day (or, indeed, per second) my computer does sorting of any kind. I just checked a largish codebase I'm working on, and about 0.12% SLOCs invoke the standard library's sort. But that's just a random codebase. What about the kernel, the browser, the VMs, the graphical subsystem of the OS? Could I capture all these sorts' inputs to generate My Real-Life Sorting Corpus of One Day's Worth of Data? And then compare the performance of different sorting algorithms on that corpus?
I'm pretty sure this kind of research has been done before. Can someone point me towards relevant literature?
Example: https://danieljanus.pl/autosummarized-hn/previously/2023-01-...
This guy: I am pretty sure I can get done in ~5 years
Seriously, though, fingers crossed! I no longer use CL professionally, but it will always have a dedicated spot in my heart. I’ll be keeping a close eye on this.
Spec: https://github.com/edn-format/edn
Example (linter config): https://github.com/clj-kondo/clj-kondo/blob/634294183a0aa2ca...
+ Simple (like JSON)
+ Has comments
+ Extensible
+ Built-in sets, UUIDs & timestamps
+ Well-suited to configuration (cf. Aero)
+ Lispy (well, Clojurey)
- Lispy (well, Clojurey)
- Handwavey specs
- Not widely supported