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’ve been a happy user of Pass (https://www.passwordstore.org/) for a few years now. Can’t see it being monetized any time soon, which is a Good Thing. So is its strict adherence to the Unix philosophy.

comment 3y ago · link · parent

Reminds me of Leslie Lamport’s „How to Write a Proof” [1]. I wonder whether there exist tools that aid in manually writing visualisable proofs?

https://lamport.azurewebsites.net/pubs/lamport-how-to-write....

183.

I somehow managed to accidentally delete /dev/null(cdrom.tokyo ↗)

3 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

Not necessarily filesystem paths (in my case, the paths correspond to RocksDB keys). And I’d like to be able to fold/unfold subtrees, search within node names, and call arbitrary commands for a given path in the tree, from within a TUI. So no, `tree` won’t cut it.

comment 3y ago · link · parent

The other day, I found myself in need of visualising a tree of paths, like this:

  /one/two
  /one/three/four
  /one/three/five
  /six
I ended up converting it to a JSON with a one-off Python script, and then using fx for the viewing. It worked very well! Thank you for the tool!

(Incidentally, I’ve been writing my own viewer [0] to satisfy my original need more straightforwardly, but that’s still in very early stages.)

[0]: https://github.com/nathell/treeviewer

comment 3y ago · link · parent

I still spend inordinate amounts of time playing Heroes 3. It’s been a strong procrastination feeder over the decades, but it also gave me a lot of fun!

I mostly play HotA in HD Mod these days, but I had used VCMI on Android (with SoD). It’s been a bit rough – the client-server thing that it does would have connection issues, the mechanics differed in subtle ways, etc. But I’m also super grateful that it exists.

187.

Compiling Rust binaries for Windows 98 SE and more: a journey (2020)(seri.tools ↗)

2 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

I’ll be that guy: https://http.cat/

comment 3y ago · link · parent

Tangential: syntax-highlighting math! This is the first time I’ve seen it. Not yet sure what I think about it, but I can definitely see the allure.

comment 3y ago · link · parent

My first instinctive reply upon seeing the title is ‘Bretton Woods toppled down’. I guess that might be part of an answer. Not sure how important one.

comment 3y ago · link · parent

Ah, that’d explain the relevance. Unflagging – thank you!

I stand by my opinion that it shouldn’t be a Show HN, though.

comment 3y ago · link · parent

[EDIT: Unflagged, see discussion]

I almost never flag submissions. Yet, I flagged this because:

- it’s not a Show HN;

- it’s a list of job offers, not posted in ‘Who is hiring?’ as is customary;

- none of these open positions are actually in engineering.

193.

My mental model of Clojure transducers(blog.danieljanus.pl ↗)

135 points · by nathell · 3y ago · 89 comments

comment 3y ago · link · parent

Sure there is, as always: load all the code into the running SBCL, then call (SB-EXT:SAVE-LISP-AND-DIE :EXECUTABLE T :TOPLEVEL your-entry-point). The downside, as always, is that this kills the Lisp process, and the resulting binary weighs tens of megabytes even for a simple hello world. I guess one of these disqualifies it as not hassle-free.

comment 3y ago · link · parent

Business idea: provide an AI-powered personalized on-hold audio streams like this.

comment 3y ago · link · parent

Pretty much the only AWS logo I can recognize immediately is this one: https://en.wikipedia.org/wiki/Solidarity_Electoral_Action

comment 3y ago · link · parent

> and this additional proprietary thing that I really need to open source (I ported Datascript to FoundationDB).

Yes please! I wonder how that plays out as an alternative to Datomic.

comment 3y ago · link · parent

I’m 39. I’ve taken a 2-month-long sabbatical this year, and it was one of the best things I ever did for myself.

I’ve been diagnosed with ADHD/AS just before Christmas, after having seen a psychiatrist complaining about chronic fatigue (cf. my Ask HN from two years ago [0]). The medications initially helped, but it was obvious to me that I also needed a substantial amount of rest. So when my company instituted a sabbatical policy soon after, I was first in line to take advantage of it.

I split it in two parts. The first one was a long-distance cycle trip that I’d been fantasizing about for years but never had time; I did it this June and thoroughly enjoyed three weeks of exercising my body physically and letting my head rest for a change. After that, July was pretty much a staycation, do-whatever-I-feel-like month. I read books, met friends, played with my pet projects, started learning Rust.

I also read more about ADHD and had some key insights which turned into some new habits after I returned to work this month. It might have been my most productive ever, even more so than January after diagnosis. Most importantly, I’ve been maintaining an emotional balance throughout that time; I don’t feel the weariness growing on me anymore.

I think all that would be impossible had I not taken the sabbatical. This is just a datapoint, but I highly recommend it if you can afford it.

As for the article, I’m not sure what I think about replacing retirement with sabbaticals. The idea is certainly interesting, but to me, while the two can supplant each other, they are not necessarily interchangeable.

[0]: https://news.ycombinator.com/item?id=29768418

comment 3y ago · link · parent

As a recent newcomer to Rust, I find Amos' articles an indispensable source of knowledge. His post on recursive iterators [1] has been a lifesaver while I was working on my problem. Thanks, Amos!

[1]: https://fasterthanli.me/articles/recursive-iterators-rust

comment 3y ago · link · parent

Why should we even care about „growth”, instead of things that actually matter, like gross global wellbeing and preventing climate catastrophe?

comment 3y ago · link · parent

And a cigar: <HN strips emoji>

202.

Computer Science Unplugged: Off-line activities and games for all ages (1998) [pdf](classic.csunplugged.org ↗)

23 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

Yeah. You need to form a graph of pieces of information where edges are ‘X is a prerequisite for Y’ (or ‘without X, Y makes no sense’), and sort that topologically.

comment 3y ago · link · parent

And ClojureScript.

comment 3y ago · link · parent

> Fossil is a recent git alternative

It’s almost as old as git. Fossil has been around since 2006, while git was born in 2005.

> Merge conflicts aren’t first class

Another DVCS where conflicts are first class is Pijul. It also has a solid theoretical foundation, which it inherited (and expanded upon) from its predecessor, Darcs.

comment 3y ago · link · parent

A lot of sites from https://512kb.club/ are like that.

comment 3y ago · link · parent

Similarly-named Polish company: https://aplikacja.ceidg.gov.pl/ceidg/ceidg.public.ui/searchd...

Also relevant: https://www.theguardian.com/uk-news/2020/nov/06/companies-ho...

comment 3y ago · link · parent

I’d give the OP the benefit of doubt. I’ve always read that rule as discouraging excessive self-promotion, not a ban on one-off ones, and I think that should apply even when that one-off happens to be the very first submission by the account in question.

comment 3y ago · link · parent

Ah, the golden student days of yore.

Mine were in the early 2000s. Back then, the computers at the lab at my uni were not very powerful, so people would do work at a Linux console, saving themselves the hassle of running a bulky X session.

Some time around 2001 I read the console_ioctl(4) manpage and found it replete with prank possibilities. I wrote little programs that would flip the console font so that all the characters were upside down; or swap capital letters with small letters, again by way of manipulating the font; or flash patterns on the keyboard LEDs; or fade to black and back by manipulating the palette.

I then added a server component so that I could leave it running at an innocuously-looking terminal, wait for a victim, fire up these effects remotely from another box in the same room, and watch what happens. Fortunately, I soon discovered that the coding part was more fun than the watching-people-slip part, so I gave up on the latter.

Another prank I used to do was simulate a successful root login on these terminals by just typing in what would be printed, including the motd, at the getty login prompt, simulating newlines with tabs/spaces (and never ever pressing RET), ending in `[root@mailhost root]# `. Then, again, step back and watch what happens. Some people would curiously type in `whoami` and be puzzled why they got a password prompt; some would step back in terror without touching anything, switch terminals and email the sysadmin.

comment 3y ago · link · parent

> which has happened in ever circumstance where communism has been implemented.

Not so; I’m not aware of this happening on a large scale in the Rebel Zapatista Autonomous Municipalities in Mexico, for example (please point me to sources if I’m wrong).

1
678
31