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 5y ago · link · parent

How about „When Mr. Bilbo Baggins of Bag End announced that he would shortly be celebrating his eleventy-first birthday with a party of special magnificence, there was much talk and excitement in Hobbiton”?

Arguably less mindblowing. The first sentence test is useful, but there are type-2 errors.

comment 5y ago · link · parent

APFS still defaults to case-preserving:

    [nathell@macmini /tmp]$ echo first > A
    [nathell@macmini /tmp]$ echo second > a
    [nathell@macmini /tmp]$ cat A
    second

comment 5y ago · link · parent

Poland is directly affected, as the FR4978 with Pratasievič on board was a SP-RSM belonging to Ryanair Sun and registered in Poland.

comment 5y ago · link · parent

That's clearly wrong. It lists Halt and Catch Fire with the mnemonic HACF, instead of the canonical HCF.

425.

Weekend hacking: wireless charging for a HP-25 calculator(partsbox.com ↗)

4 points · by nathell · 5y ago · discuss

comment 5y ago · link · parent

> Wouldn't it become rather difficult to do identity statements without "is"?

Not really, depending on the language.

https://en.wikipedia.org/wiki/Zero_copula

427.

The big-O notation is unnecessarily over-complicated and confusing(facebook.com ↗)

1 points · by nathell · 5y ago · discuss

comment 5y ago · link · parent

> .out binary format was amazing - binaries used MUCH less memory, and were faster in general in comparison to modern "ELF".

I'd be interested in seeing this claim backed by some data. I remember running Monkey Linux (ELF-based, libc5; it might have been a Slackware derivative) on a 4-meg 486SX/33; it ran quite smoothly (until you tried to run X).

comment 5y ago · link · parent

I won't. Under my definition, it causes the page to stop being a document and start being an application. Being able to detect JS can be useful sometimes, but, to me, it doesn't belong in a boilerplate.

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

comment 5y ago · link · parent

Well, I vividly remember reporting this bug against ws-xmlrpc 14 years ago:

http://mail-archives.apache.org/mod_mbox/ws-xmlrpc-dev/20070...

as well as the mental effort it took me to figure this out – by no metric I would call it "braindead easy".

comment 5y ago · link · parent

There's https://github.com/MichaelMure/git-bug (I haven't tried it out yet, but looks very promising).

comment 5y ago · link · parent

Which is why EDN is so much better for config.

comment 5y ago · link · parent

I made one too, 20 years ago! http://pliki.danieljanus.pl/btetris.bin

(Use qemu-system-i386 -fda btetris.bin if you want to try it out.)

Not really an OS, I just squeezed an implementation of Tetris into a 512-byte boot sector. I remember that a first draft had ~600 bytes and I was cutting away bytes, here replacing mov ax,0 with xor ax,ax, there reusing code as data, until I arrived at that size.

I've lost the source code, but ndisasm should help out.

I remember I encoded tetromino shapes as a 4x4 1bpp bitmaps taking up 2 bytes each, and there's a 56 41 59 41 52 01 56 01 15 48 52 41 59 in the hexdump, which in ASCII reads VAYAR^AV^A^UHRAY. I've been meaning to write a short story featuring a Vayar V. Hray as a protagonist, but never got around to it.

434.

COBOL on Wheelchair(github.com ↗)

2 points · by nathell · 5y ago · discuss

comment 5y ago · link · parent

I think there isn't an official one, but since 2016 there's been a major version released approximately every two years, and a minor version every couple of months.

https://www.gnu.org/software/emacs/history.html

comment 5y ago · link · parent

This reminded me of Theydon Bois, a village just off Greater London on the Central Line. From Wikipedia:

> A notable characteristic of the village is its almost complete absence of street lighting. Villagers have consistently voted against the installation of such lighting for decades, fearing that it would damage the traditional village ambience and require a rise in council tax. Only the approach to the tube station features a small number of lampposts.

comment 5y ago · link · parent

> This is a deliberately misleading statement

> the same kind of bias

> another willful misrepresentation

These phrases, as well as the whole last paragraph, contribute no meritorical value to the comment, but are aggresively vocal about assuming bad faith and as such violate HN guidelines. Please don't do that.

comment 5y ago · link · parent

Out of curiosity, which commercial CL implementation would that be? LispWorks? Allegro?

comment 5y ago · link · parent

Haven't used SBCL in a while, so just to confirm: is this a better alternative to SB-EXT:SAVE-LISP-AND-DIE?

comment 5y ago · link · parent

In 1996, I wrote programs in TP 6.0 on a 486DX2/66 with 4 MB RAM. The IDE weighed in at a few megs, compiled my stuff in less than a second, and produced standalone .EXEs that ran on every DOS PC.

In 2021, I'm writing programs for iOS in React Native. I need Xcode that weighs in at ~8GB _compressed_, node.js, and RN plus the whole slew of dependencies. On my 2020 Intel Mac mini w/ 32 GB of RAM, Xcode takes multiple minutes to build just the native part of the project from scratch.

Where, where on earth did I go wrong?

comment 5y ago · link · parent

Oh yeah, submodules can bite. At my previous job, we tried open-sourcing a part of our monorepo using them, which resulted in a clunky workflow. So we whipped up a syncing bot integrating with GitHub that would propagate changes both ways: https://github.com/WorksHub/flow-bot

comment 5y ago · link · parent

There also is a backup API: https://www.sqlite.org/backup.html

comment 5y ago · link · parent

So happy to see Przekrój on HN!

Started in 1945, it's to the Polish culture what New Yorker is to the American one.

https://en.wikipedia.org/wiki/Przekr%C3%B3j

comment 5y ago · link · parent

Sure there is. One of the proposed successors to ASDF the Common Lisp package manager is XCVB (https://common-lisp.net/project/xcvb/), the eXtensible Component Verifier and Builder.

comment 5y ago · link · parent

A biologist, a physicist, and a mathematician are all watching a house that seems empty. Presently, two people enter the house, and after a while three people come back out.

The biologist says: "Clearly, there was a breeding."

The physicist says: "Oh no, it's our measurements that are imprecise."

The mathematician thinks for a while and declares: "If one more person walks in, the house will be empty again."

comment 5y ago · link · parent

Wacław Sierpiński (1882–1969), the namesake of Sierpiński's triangle, was famously a proponent of zero-based indexing, including in everyday life. Sadly, I can only find sources in Polish that corroborate this [0].

[0]: https://wyborcza.pl/AkcjeSpecjalne/7,160474,24501452,zaczyna...

comment 5y ago · link · parent

Can you share the project?

comment 5y ago · link · parent

What does "foolish" mean to you?

comment 5y ago · link · parent

So happy about the release. Congratulations!

CIDER and Projectile are my daily drivers. I've been sponsoring Bozhidar on GitHub Sponsors for a few months now, and couldn't have been happier about the bang for buck I'm getting. If you're benefitting from these packages, or other ones by Bozhidar, please do the same!

In general, if you have some other free/open-source packages that you rely on in your work, I urge you to contribute financially to their development. Software needs manpower to thrive, and manpower needs financial support to be sustainable.

(Disclaimer: I'm not affiliated with CIDER in any way, other than being a happy user.)

1
141516
31