Better HN
topnewbestaskshowjobs
Log inSign up

nathell

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

Just another Clojure hacker.

https://danieljanus.pl

meet.hn/city/52.2319581,21.0067249/Warsaw

Submissions

1.

I checked Clojure's core with Lean and found 17 unreported bugs(s.conao3.com ↗)

8 points · by nathell · 8h ago · discuss

comment 4d ago · link · parent

17M+ lines, 1 GB of Lean in 175K+ files. Good luck of understanding all of that in one’s lifetime.

3.

The Artificial Plato's Cave(hplisiecki.substack.com ↗)

1 points · by nathell · 6d ago · discuss

comment 1w ago · link · parent

Anything that satisfies one’s intellectual curiosity is on-topic on HN. This is arguably _more_ on-topic than most slop.

comment 1w ago · link · parent

Indeed! To turn that off, open /config and turn off Prompt suggestions.

comment 1w ago · link · parent

That one's spelled Pharaoh.

comment 3w ago · link · parent

For a glimpse into public toilets in Japan, do yourself a favour and watch ‘Perfect Days’.

comment 1mo ago · link · parent

> We have made something simple unnecessarily complicated.

Oh, but Markdown isn’t simple. Easy it is, certainly, but simple it isn’t because of one feature: being able to embed HTML. So the semantics of Markdown subsumes the semantics of HTML, which has a _huge_ spec.

What one’d like in many cases would be a Markdown-without-HTML-embedding. But that’s no longer Markdown.

9.

Show HN: Clerkenwell – A Handwritten Clojure Notebook(handwritten.danieljanus.pl ↗)

28 points · by nathell · 1mo ago · 4 comments

comment 1mo ago · link · parent

How Perl was created:

‘Larry, throw the cat at the keyboard!’

MEEEOW!

‘What did it type?’

‘&}Ak'>v=4%Qe}9;’

‘OK, so let’s make this a syntax for hello world.’

comment 1mo ago · link · parent

Doesn’t feel LLM-y to me. If it is LLM-generated, the LLM must have been explicitly instructed to ignore sentence capitalization and invent a persona (‘i chose...’).

comment 1mo ago · link · parent

I love this. This is a fun hack, but the article also hearkens back to pre-LLM days when people were still interested in _code_.

13.

SSHing to my reMarkable from anywhere(blog.danieljanus.pl ↗)

3 points · by nathell · 1mo ago · discuss

comment 1mo ago · link · parent

Dunno about the original C64 (which is what this attempts to recreate), but the C64C used ITC Avant Garde Gothic Pro Book according to https://github.com/FeralChild64/MechBoard64-keycaps

comment 1mo ago · link · parent

And it has to weigh in under 1 MB and have sub-second compilation times.

comment 1mo ago · link · parent

In Heroes of Might & Magic 3, “several” means 5–9. 10–19 is “pack”, 20–49 is “lots”, 50–99 is “horde”, 100–249 is “throng”, 250–499 is “swarm”, 500–999 is “zounds…” and 1000+ is “legion”.

I suggest this post be renamed “A legion of vulnerabilities has been discovered…”

17.

Polish pizza shop advertises with pen and paper instead of slop(facebook.com ↗)

1 points · by nathell · 1mo ago · discuss

comment 1mo ago · link · parent

Reminds me of a C64C that, as of 2016, was used in production in a car workshop in Poland:

https://www.neoteo.com/en/a-commodore-64-stands-the-test-of-...

19.

Tabasa – A blindfold chess tactics trainer(tabasa.app ↗)

4 points · by nathell · 2mo ago · 1 comment

comment 2mo ago · link · parent

Ah, yeah, POKE 1,0 might plausibly have caused a hang. Sorry!

comment 2mo ago · link · parent

POKE 1,0 would mess up the bank switching of addresses above $A000 and switch on the Datasette motor. Probably not what you wanted. I guess you meant POKE 646,1 (white text on black screen).

comment 2mo ago · link · parent

I got my C64 (actually C64C) when I was 7, switched to a PC five years later just as I mastered BASIC and was starting to learn assembly.

To this day I can recite from memory a rough memory map, say which POKEs to do to switch background/border/text colors to my favourite scheme (white on black), and name the addresses of a few basic KERNAL routines.

Happy birthday, C64!

comment 2mo ago · link · parent

But this way, you can handle door spam by greylisting the bell and playing it only when it is pressed by a motivated enough person; say, 5 times or more. For an average of 1 cloud service per press.

comment 2mo ago · link · parent

Obligatory xkcd: https://xkcd.com/276/

comment 3mo ago · link · parent

No thanks, I’m Polish already.

comment 3mo ago · link · parent

No it’s not, it’s a testimony to how broken the Internet is.

There’s a perfectly valid and simple way to comply with the EU policies, including GDPR, and not impose annoying popups on your users: just don’t set cookies (if you need to have a login, you can ask for permissions at login time) and don’t collect personal data. That a lot of sites elect not to do that is an indication of how they treat the user, not of the brokenness of EU law.

comment 3mo ago · link · parent

I’ve found it helpful to ask LLMs specific questions about your knowledge gaps, or ask for concrete worked examples that illustrate the ideas you’re learning about.

In [0], I ask: „When applying Hidden Markov Models to POS tagging in NLP, what do the latent states and observations usually represent?” I then follow up with some specific questions and requests for walkthrough. You can’t see it from this conversations, but I have Wikipedia and a bunch of other resources open in separate pages, cross-reading, and I follow up with a handwritten toy implementation of a Viterbi-based POS tagger once my mental model crystallizes. This is very different from a 500-word summary of quantum physics, and I still had to put in effort (this is unescapable!), but I found the experience rewarding. Also note that this is relearning of a topic that was part of my uni curriculum but long forgotten.

In [1] and [2], I’m learning Spanish by reading García Lorca’s poems. Here again I’m going through the texts with a dictionary, and augmenting my learning with what a dictionary won’t tell me: given the usage of a word or phrase in this specific poem, is it something that could occur in everyday speech, or is it poetical?

[0]: https://chatgpt.com/share/6a743bc7-d0dc-83eb-acc9-8f2faaffc4...

[1]: https://chatgpt.com/share/6a731be6-26bc-83eb-8d21-c965da5364...

[2]: https://chatgpt.com/share/6a731c01-5604-83eb-a5b8-cd1295d0ef...

comment 3mo ago · link · parent

I think the ideas worth pursuing still require substantial time and motivation, even with LLMs. Otherwise you just end up with a half-baked sloppy artifact that nobody will ever use or study, for a net negative benefit to humanity.

29.

Things I wish Datomic had: Map values(blog.danieljanus.pl ↗)

4 points · by nathell · 4mo ago · discuss

12345
31