Better HN
topnewbestaskshowjobs
Log inSign up

nathell

6,186 karma · joined Apr 18, 2010 (16y ago) · 918 submissions

Just another Clojure hacker.

https://danieljanus.pl

meet.hn/city/52.2319581,21.0067249/Warsaw

Submissions

comment 3y ago · link · parent

I was born in the People’s Republic of Poland, and I think most of the suckage you’ve described are due to oppressive authoritarianism of the former Eastern Bloc countries, and have little if anything to do with collective ownership of means of production.

212.

A visual tree iterator in Rust(blog.danieljanus.pl ↗)

3 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

There’s one more thing, for me by far the most important: mental wellbeing.

In my case, having ADHD and going undiagnosed for decades (I only got diagnosed last December) has caused me to blame myself and my conscious actions for things directly caused by the neurochemistry of my brain. This year may have been my most productive ever.

comment 3y ago · link · parent

Kinda related: https://en.wikipedia.org/wiki/Terry_Marsh_(boxer)

215.

Lingy – A Clojure Platform for Perl(metacpan.org ↗)

4 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

Every time I buy an e-book in Poland, I’m grateful that DRM here ended up being just a fad, and no publisher uses it anymore. The gold standard here is watermarking, but I can easily copy books from my Kindle to my wife’s.

That said, I’m still not very happy about the status quo. I wondered how the book economy would look like in my ideal world, and came up with this:

https://blog.danieljanus.pl/2022/09/24/paying-for-books/

comment 3y ago · link · parent

> Currently, the only compiler available is Wernicke

Well, there’s Inform 7: https://ganelson.github.io/inform-website/ :)

comment 3y ago · link · parent

> I wonder who gets the reference

https://news.ycombinator.com/user?id=kennytilton sure does. :D

comment 3y ago · link · parent

Related:

A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux: http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...

Tiny ELF Files: Revisited in 2021: https://nathanotterness.com/2021/10/tiny_elf_modernized.html

comment 3y ago · link · parent

I once wrote a rudimentary x86 assembler in about 250 lines of Clojure:

https://github.com/nathell/lithium/blob/master/src/lithium/a...

In general, I find that s-expressions are actually a nice syntax for assembly languages. For x86, they kind of sidestep the AT&T vs. Intel conundrum, and you get to write macro-like functions in the host Lisp that compile down to s-expressions.

comment 3y ago · link · parent

Reminds me of an issue I submitted against Apache WS-XMLRPC 15 years ago, related to a class named RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory:

https://issues.apache.org/jira/browse/XMLRPC-147

comment 3y ago · link · parent

Yup, it’s tongue-in-cheek. But I do genuinely believe that if every sentence framed as „everyone should do X” were rewritten as „if everyone did X, then the world would change in the way of Y”, it would make its argument more meaningful and less violent.

comment 3y ago · link · parent

You know what everyone should? Everyone should stop telling other people about what they should or should not do.

224.

Learning to Learn Rust(blog.danieljanus.pl ↗)

3 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

English: https://blog.danieljanus.pl/

Polish: https://plblog.danieljanus.pl/

And a recent foray into Substack and the realm of newsletters, a report from cycling Land’s End to John o’ Groats, completed a week ago (in Polish): https://danieljanus.substack.com/

comment 3y ago · link · parent

As an example, RTs have been an official feature since late 2009 (https://blog.twitter.com/official/en_us/a/2009/retweet-limit...), more than three years after Twitter has first gone live.

comment 3y ago · link · parent

Is there a way to just get a .jar, for those of us who already have JREs installed?

comment 3y ago · link · parent

This. I originally thought this was a rebranding of http://vanilla-js.com/ and I'm disappointed.

comment 3y ago · link · parent

The sequel, Sadist 2 (2000), has also been open-sourced. It shares many things with its predecessor, but, according to the author, the code is much more interesting. :)

https://github.com/gadzombie/sadist2

comment 3y ago · link · parent

Reminds me of this battle toaster by a friend: https://3dtotal.com/tutorials/t/making-of-battle-toaster-dan...

comment 3y ago · link · parent

It is indeed!

comment 3y ago · link · parent

Submitter (but not original author of the game) here.

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.

233.

Sadist – An old DOS game from 1998(github.com ↗)

59 points · by nathell · 3y ago · 25 comments

comment 3y ago · link · parent

Do you have any source for the 90% figure? Some casual players do indeed use the alternative names, but pretty much everyone I know uses „hetman” for the queen. (I’ve even heard the colloquial abbreviation „heć”.) Literature uses the official names exclusively.

comment 3y ago · link · parent

https://www.gnu.org/gnu/incorrect-quotation.html

comment 3y ago · link · parent

> Our last function is strcmp. It looks at two strings and determines whether they are equal to each other or not. If they are it returns 0. If they aren’t it returns 1.

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’.

comment 3y ago · link · parent

„Love Will Tear Us Apart” might not be my favourite Joy Division song (that title goes to „Atmosphere”), but still I’m delighted to find this on HN #1. Splendidly executed. I watched in awe, then smiled at the final „Again” being rendered as a button.

comment 3y ago · link · parent

Make wasn’t designed to be a task runner. It can be used as one, but it doesn’t make (pun not intended) a very good one, and it doesn’t have the best syntax, either.

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.

239.

ChatGPT just helped me tweak my Emacs configuration(twitter.com ↗)

3 points · by nathell · 3y ago · discuss

1
789
31