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

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. (On the flip side, I have a free subscription.)

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

- To write handwritten.blog.

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

It is open-source already (MIT)! I just need to make other languages more easily pluggable, and factor out the search engine so that it can be used on its own. :)

comment 4y ago · link · parent

I've written a full-text search engine as well. I don't tout it as a replacement for Elasticsearch, but it does have a few advantages: it's fast; supports HTML documents; supports Polish inflection (via a full-blown morphological dictionary, not just a stemmer); and has a very compact on-disk format (pre-parsed HTML trees, Huffman-encoded over large alphabets). Oh, and it's 100% Clojure.

It underlies a concordancer GUI called Smyrna: https://github.com/nathell/smyrna, https://smyrna.danieljanus.pl

I haven't touched it in six years, other than a few small changes. But I do plan on revisiting it when time permits.

comment 4y ago · link · parent

Comments like this are what make me come back to HN. I hope the memories are kept alive.

comment 4y ago · link · parent

I thought “what a weird name”, then silently pronounced it and my Polish ear heard “drzewko”, meaning “little tree”. What a fitting name. :)

306.

Hyperlinks in Handwriting(handwritten.blog ↗)

237 points · by nathell · 4y ago · 129 comments

comment 4y ago · link · parent

Not only are there a lot of Google closures, they even have a closure compiler to optimize them away.

comment 4y ago · link · parent

There’s a neon museum in Warsaw, Poland. Worth a visit if you’re in town, especially after sunset.

comment 4y ago · link · parent

There are ways we as a society could endorse these kinds of libraries while also keeping authors incentivized.

Here’s how I see it: https://blog.danieljanus.pl/2022/09/24/paying-for-books/

310.

How to Pay for Books(blog.danieljanus.pl ↗)

4 points · by nathell · 4y ago · discuss

comment 4y ago · link · parent

I’ll piggyback on this to show something I made: autosummarized HN. https://danieljanus.pl/autosummarized-hn/

I originally intended to run it for a month only, but when OpenAI slashed prices at the beginning of September, I figured another month won’t hurt.

comment 4y ago · link · parent

Also, do yourself a favor and read the Inform Designer’s Manual, Edition 4. It’s dated (I think it came out in 1998) and pertains to Inform version 6, but it is still very relevant (modern Inform uses I6 under the hood), and it’s a lovely piece of technical writing.

comment 4y ago · link · parent

OP here – I got it second-hand, from a guy who ordered it directly from GPD as a note-taking device but it didn’t work out for him.

314.

I love my GPD Micro PC(blog.danieljanus.pl ↗)

439 points · by nathell · 4y ago · 257 comments

comment 4y ago · link · parent

OP here. I’ll leave ‘The article...’ for now, as my idea was to show off what GPT-3 does when you tell it to summarize, without editorializing.

Your second point is addressed in the FAQ: it is actually being called by a cron job, but I need to review the output every time, per my agreement with OpenAI. But if you want summarization of what’s on HN right now, sign up for an OpenAI API key, clone the code, and just run it yourself :)

316.

Show HN: Autosummarized HN (With GPT-3)(danieljanus.pl ↗)

6 points · by nathell · 4y ago · 6 comments

comment 4y ago · link · parent

Windows Commander was the former name of Total Commander. It changed the name in 2002 after Christian Ghisler received a cease-and-desist letter about trademark usage from Microsoft.

comment 4y ago · link · parent

Come rally: https://smallandroidphone.com/

comment 4y ago · link · parent

Reminds me of John Stump’s “Faerie’s Aire and Death Waltz”, with an insanely hilarious score.

comment 4y ago · link · parent

I got myself a 1000HE (2 GB RAM, 160 GB HDD) in 2009, installed Ubuntu (was it Jaunty?) on it, and loved it. I got the slightly heavier one, with a 6-cell battery with uptime touted as 9.5hrs; in reality it was more like 6-7 hours, but still great for the day. I used it as my main machine up until 2014. Did a lot of Clojure hacking on it. It even got me a job at one point.

It was rugged, too! Carried it around with myself everywhere. At one point I dropped it from ~1 metre (my backpack slid off the arm), and some plastic was chipped off the case with the hit, but the little thingy continued to work. It eventually developed a line of green-dead pixels on the screens, but was still usable.

In 2019, I wasn’t using it anymore, so I gave it away to someone who needed to complete their M.A. thesis while travelling on a budget. I loved that ten years in, the little thingy was still useful.

Looks like I have a separate heart for tiny computers. Now I have a GPD Micro PC, which reminds me of the 1000HE in many ways.

comment 4y ago · link · parent

I know it’s disproved, but I always liked to think about Tom Bombadil as Eru Ilúvatar.

comment 4y ago · link · parent

Reminds me of Stanisław Barańczak’s paraphrase of Hamlet’s soliloquy where every word on the first line starts with A, on the second with B, etc. Unfortunately, I’m afraid you need to understand Polish fluently to appreciate this:

https://czytankianki.blogspot.com/2012/05/przekad-alternatyw...

comment 4y ago · link · parent

I dream of a SQLite-like embeddable database engine based on Datomic’s data model and queryable with Datalog. Written in something like C, Rust, or Zig. I’m toying around with the idea of hacking something up, but it’ll likely stay in the dream realm until I have Heaps of Free Time on My Hands (tm).

Looking into SQLite’s innards is a great source of inspiration. Thanks for this post.

comment 4y ago · link · parent

Well, I can live with not blaming Dostoyevsky. But when I read Pushkin's "To the Slanderers of Russia", or Brodsky's "On the Independence of Ukraine", I can't help noticing the same mindset of entitlement that perpetuates and fuels the present war.

It beats me how Brodsky, the same person who penned "Bosnia Tune", could have succumbed to that thinking.

comment 4y ago · link · parent

The name can be read as an acronym of ‘Key-Value ASSociative store’, but also alludes to the beverage: https://en.wikipedia.org/wiki/Kvass

comment 4y ago · link · parent

Directed acyclic word graphs (DAWGs)!

They’re like tries, but with identical subtrees glued together. They’re capable of encoding real-world dictionaries of millions of words into ~1 byte per word, when stored cleverly (see [0]). They let you do things like efficiently finding a list of words in a dictionary whose Levenshtein’s distance to a given word is less than x. Their cousins, GADDAGs, are _the_ data structure of choice in Scrabble-playing engines.

[0]: http://www.jandaciuk.pl/fsa.html

327.

Get Better at Coding Interviews(3jane.co.uk ↗)

2 points · by nathell · 4y ago · discuss

comment 4y ago · link · parent

I have. I started with the novel, in a Polish translation, when I was maybe 13, and it had resonated with me so much that to this day I consider it _the_ most important book I’ve ever read. A formative read, indeed.

I read the short story a few years after that. I think it’s the essence; I perceive it as a distillation of the novel (rather than the novel a dilution of the story, though I’m aware the story was first.) I guess had I started with it, I’d be considering it _the_ most important short story I’ve ever read today.

comment 4y ago · link · parent

> Foobar2000? where are you? Do you still have that tattoo on your arm that screams "FUNCTIONALISM"?

F2K is at https://www.foobar2000.org/, it works just as well as ever, and, yes, still has that tattoo. I’m happily using the Mac version on Big Sur.

comment 4y ago · link · parent

Yes please. Before I switched to the iPhone, I was using the Xiaomi Mi A1, which ticked a lot of the boxes for me (stock Android!) while also having a great bang-for-buck value; but I’d still have preferred it in a smaller form factor.
1
101112
31