Better HN
topnewbestaskshowjobs
Log inSign up

nathell

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

Just another Clojure hacker.

https://danieljanus.pl

meet.hn/city/52.2319581,21.0067249/Warsaw

Submissions

comment 4y ago · link · parent

Do yourself a favor and try dividing by zero!

comment 4y ago · link · parent

I’ve observed a similar thing with Scrabble. After some years (18 by now) of tournament-level Scrabble playing, I’ve developed the anagramming ability: throw a rack at me and I’ll dump the Polish anagrams with 70-80% accuracy. I no longer reorganize letters on my rack or even in my head: the anagrams just come back. It’s become an unconscious primitive.

Needless to say, it kicks in at random moments when I’m not playing. Passing by a store, reading train station signs, you name it.

363.

Parametric equations of the baseball seam curve (1996)(aapt.scitation.org ↗)

1 points · by nathell · 4y ago · discuss

comment 4y ago · link · parent

It’s a secret plot by Atari to fry off the C64 users and rule the world. Fortunately, one is just a POKE53280,0:POKE53281,0:POKE646,1 away from evading this.

comment 4y ago · link · parent

This is Lisp reinvented (arguably poorly, but people have different tastes, so who knows).

Obligatory link to Slava Akhmechet’s ‘The Nature of Lisp’: https://www.defmacro.org/ramblings/lisp.html

comment 4y ago · link · parent

Ooh, this is just like Lisp’s CADR being a composition of CAR and CDR!

comment 4y ago · link · parent

The funny thing is that up until Kaczyński openly admitted to the authorities using Pegasus, the authorities would respond to the accusations with derisive comments about a game console.

Why a game console, of all things? Well, back in the early 1990s here in Poland, a local Nintendo NES/Famicom clone called Pegasus [1] was a thing among the kids. A hit, indeed.

Here’s [2] the deputy Minister of Justice dismissing the accusations in this regard, a few days ago.

Except the photo posted by him doesn’t even depict Pegasus the console. It’s another Famicom clone, whose chassis is a rip-off of the design of the PS One (2000).

[1]: https://culture.pl/en/article/pegasus-other-famiclones-how-p...

[2]: https://twitter.com/MWosPL/status/1477938410849452034

comment 4y ago · link · parent

I used to squash my feature branches before merging, but I switched to rebasing. Here’s why: https://blog.danieljanus.pl/2021/07/01/commit-groups/

comment 4y ago · link · parent

I used to be an instant-coffee person. I bought myself an aeropress and a Severin KM3873 grinder as a Christmas gift three years ago – with the idea that I'd sell it away if I found myself not using it – and discovered that:

- I'm using it daily;

- I actually like black coffee (I used to put milk in it but do so rarely these days, and when I do I make myself a proper aerolatte macchiato);

- supermarket coffee is gross;

- beans matter (origin, arabica/robusta ratio, how they're roasted etc).

For the beans, I'm using a Colombian/Brasilian/Peruvian arabica x Indian robusta blend, heavily roasted, with no acidic hints. Most often I make aeropresso and extend it with a lot of hot water, yielding a mild americano.

Sometimes I experiment. Just yesterday I had a stab at a Canarian-style barraquito. Came out good!

comment 4y ago · link · parent

It's the other way round. Good code is like good writing, because code _is_ writing: its primary purpose is to convey ideas. To computers, but more importantly, to other humans as well.

comment 4y ago · link · parent

OP here – thank you to everyone who replied in this thread. This is exactly the kind of feedback I was hoping for. Please keep the answers coming.

comment 4y ago · link · parent

I’m in Poland and adhere to the local food customs. This means three meals a day: a moderate-size breakfast (typically sandwiches, sometimes cereal), large lunch around 1pm–2pm (main meal of the day – a hot dish sometimes prefixed with soup), and a modest supper around 8pm. I’m not great about eating fruits & vegs (my main intake of these is a salad that generally accompanies the lunch); I also tend to indulge in chocolate and biscuits as snacks, perhaps way more often than I should.

My body is very tolerant to what I eat. My BMI is in the low-normal range and had been very stable since I stopped growing.

373.

Ask HN: How to overcome chronic fatigue?

21 points · by nathell · 4y ago · 24 comments

comment 4y ago · link · parent

> The canonical example here is the personal computer (PC). The first PCs were worse computers than every existing machine. They had less memory, less storage, slower CPUs, less software, couldn’t multitask, etc. But they were better at one dimension: they were cheap. And for those people who didn’t have a computer at all that mattered a great deal. It is exactly this odd combination that made existing computer manufacturers (making mainframes down to mini computers) ignore the PC.

Wow. There are so many factual errors in these sentences that I’m not even sure where to start.

I’ll start by giving the author the benefit of doubt and assume that by „personal computer” they meant the IBM PC (1981) and its family. (Otherwise we’d have to assume that they completely ignore the existence of pre-PC home computers, many of which were both less powerful and significantly cheaper.) It’s also not true that the PC was unable to multitask (remember Concurrent CP/M-86?)

First, note that IBM, at the time of introducing the PC, was – and continued to be, well into the 21st century – _the_ major purveyor of mainframes. So saying that they „ignored the PC” implies that they ignored themselves, which doesn’t make sense.

Second, the initial PCs were just not powerful enough to compete with mainframes or minicomputers. The sets of usecases of „big” computers vs. PCs were almost completely disjoint until perhaps the 1990s. There were reasons why the PC exploded in popularity in the 1980s (open architecture being the #1 reason), but the author is silent about that.

I know this is tangential, but I see a lot of handwaving in this post and, frankly, not much else. Why should I listen to someone who can’t get their facts straight? Why bother, indeed?

375.

Hundred Rabbits(100r.co ↗)

3 points · by nathell · 4y ago · discuss

comment 4y ago · link · parent

We need more of these „How project X is tested” articles. Keep them coming!

Here’s one on SQLite: https://www.sqlite.org/testing.html

comment 5y ago · link · parent

That plural seems to be an addition of the Wikipedia editors. If you look at Karsky 1979 (page 197), there’s just one known manuscript that exhibits the phrase:

> Любопытно очное о в слове многоочитїи в псалтыри XV века Тр.-Серг. л. No 308, где о состоит из десяти Ꙩ, соединенных в виде орнамента

comment 5y ago · link · parent

My pet peeve is U+A66E (CYRILLIC LETTER MULTIOCULAR O, ꙮ) [0], a glyph that had literally been used once only in history by a 15-century scribe before making its way into Unicode. And when it did, the reference rendering (7-eyed) is different from the one originally used by that scribe (10-eyed).

[0]: https://en.wikipedia.org/wiki/Multiocular_O

comment 5y ago · link · parent

Related: https://blog.danieljanus.pl/2019/10/07/web-of-documents/

comment 5y ago · link · parent

ReactOS isn’t based on disassembly of the original Windows code. It’s based on publicly available documentation of Windows APIs (and reverse engineering those that aren’t documented, but that’s a whole different beast from disassembling).

In fact, ReactOS maintains a policy to prevent proprietary Windows source code (whether leaked or otherwise) from making its way to the ReactOS codebase [0]. When Windows source code leaked, in 2006, ReactOS did a complete codebase audit to ensure that it was not tainted.

[0]: https://reactos.org/intellectual-property-guideline/

comment 5y ago · link · parent

GPLv3. But given that it’s a port of the disassembly, isn’t it also a derivative work of the original PoP?

comment 5y ago · link · parent

It depends on the mindset I guess. I’ve bought myself a reMarkable 2 with the approach that „I’m just getting an expensive toy” (ie not an everyday work tool, just a nice gizmo). And it’s been great, if a bit pricey.

Some things I’ve used it for, so far:

- As a notebook. Nothing much to mention here. Being able to pick a page template (plain/dotted/lined/squared) is nice.

- Reading PDFs. Kindle won’t quite cut it, even with k2pdfopt – the screen size makes a difference. Plus, you can annotate them!

- Reading code. `npx repo-to-pdf some-repo` and then proceed as above. Great for getting oneself into a full-focus mode.

- Live-sketching at conference calls. I just share the reMarkable screen to my Mac and then share the companion app’s window on Zoom. Tried it out twice during internal brown-bags, worked very nice.

- As an actual toy. Getting grandma’s picture onto an e-ink screen and being able to draw a moustache lights up a big smile on my 8yo niece’s face.

comment 5y ago · link · parent

Gemtext doesn’t support images. You can, however, link to them, and Gemini clients are free to render them in-document when such a link is followed.

comment 5y ago · link · parent

Looking gorgeous, too!

comment 5y ago · link · parent

Can it be found online? If not, can you provide the translator’s name?

comment 5y ago · link · parent

Felt like reading Poe’s “The Gold Bug” all over again. Or Conan Doyle’s “The Dancing Men,” which is a blatant rip-off of Poe.

comment 5y ago · link · parent

Canonical missed a great opportunity by not naming 18.04 „Busy Beaver”.

comment 5y ago · link · parent

Exact same thing here.

comment 5y ago · link · parent

Tangentially related: I wish more protocols used netstrings [0] as transport. This would trivially eliminate a whole class of bugs that are all too easy to commit, especially in low-level languages.

[0]: https://cr.yp.to/proto/netstrings.txt

comment 5y ago · link · parent

Related: pixz – a variant of xz that works with tar and enables (semi)efficient random access: https://github.com/vasi/pixz
1
121314
31