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

Here's some theoretical background on DOOM's Turing-completeness: https://calabi-yau.space/blog/doom.html

In the genre of "an implementation of game X on an accidentally Turing-complete Y", it never hurts to bring up Tetris implemented in the Game of Life: https://codegolf.stackexchange.com/questions/11880/build-a-w...

comment 3y ago · link · parent

Thank you to everyone participating in HN. pg, dang, but also everyone posting and commenting: you're the part of what makes it a unique place.

I've learned a lot from HN. It's been a source of distraction feeding my ADHD, but it's also made my knowledge a lot more vast and thorough and my thinking sharper. I'm grateful, and I'm sure I'll continue revisiting it almost every day.

May everyone's holiday bring you all that you cherish in this period.

273.

Privacy-Friendly Location Field?(avris.it ↗)

2 points · by nathell · 3y ago · discuss

comment 3y ago · link · parent

No he hasn’t. The collective work of employees of companies he has stake in has.

comment 3y ago · link · parent

I plan to port my scraping framework (Skyscraper, https://github.com/nathell/skyscraper) to babashka one day. I’m not sure how easy it will be, though, since it uses core.async (which I believe bb has limited support for) and SQLite via clojure.java.jdbc.

comment 3y ago · link · parent

Is there still a php.ini that allows you to alter the language’s semantics? To me, that’s the biggest can of worms that PHP used to have. I haven’t touched it in years, so am not up to date.

comment 3y ago · link · parent

Because, assuming / means integer division, this would return 6 as the midpoint between 7 and 7.

comment 3y ago · link · parent

Babashka is interpreted, though (with SCI), so it doesn’t quite meet the GP’s dream.

comment 3y ago · link · parent

Something like 3-4 hours. Not great, but not bad either, given my usage profile (I charge it every couple of days).

comment 3y ago · link · parent

A GPD Micro PC: https://blog.danieljanus.pl/2022/08/18/i-love-my-gpd-micro-p...

comment 3y ago · link · parent

Related: Autosummarized HN (using GPT-3, not ChatGPT) https://danieljanus.pl/autosummarized-hn

282.

ChatGPT-written spec of a Brainfuck-like language with five commands(twitter.com ↗)

1 points · by nathell · 3y ago · discuss

comment 4y ago · link · parent

Hey HN!

I’m happy to answer any tech questions about this. I haven’t worked on it personally (so it’s not a Show HN), but I’ve been tracking the development and know the details.

284.

Fy Studio: On-demand print your Stable Diffusion art(iamfy.co ↗)

1 points · by nathell · 4y ago · 1 comment

comment 4y ago · link · parent

My attempt with text-davinci-002: https://twitter.com/nathell/status/1551557069043650560/photo... (a corresponding Polish version can be found in the thread as well)

286.

The miracle of Smalltalk’s become: (2009)(gbracha.blogspot.com ↗)

89 points · by nathell · 4y ago · 29 comments

comment 4y ago · link · parent

OCR works for me in Monterey.

comment 4y ago · link · parent

I think we can have our cake and eat it too.

https://blog.danieljanus.pl/2022/09/24/paying-for-books/

comment 4y ago · link · parent

I host my static sites on a single cheap VPS from Scaleway, and it handles frontpage HN traffic just fine without CDNs.

comment 4y ago · link · parent

The pantoum comes to mind. :)

comment 4y ago · link · parent

(After typing this, it occurred to me to check if Emacs has a mode that supports this. And, sure enough, it does! http://www.bobnewell.net/filez/poetry.el)

comment 4y ago · link · parent

It’d be cool to have it support villanelles, where you can type in the first stanza and it’d pre-fill the patterned lines in the remaining five.

comment 4y ago · link · parent

That’d be a senryū. A proper haiku needs to have a kigo – a word hinting at a season – and kireji, a cut-word.

(And English is on average terser than Japanese: I read somewhere that an approximate equivalent of Japanese 5-7-5 morae is 3-5-3 English syllables, so the syllable count requirement is not absolute. Even Bashō’s famous crow haiku かれ朶に烏のとまりけり秋の暮 is 19 morae rather than 17.)

comment 4y ago · link · parent

Looks like v86 doesn’t implement the INT 3 (0xCC) opcode, which the debuggers use to step through: https://github.com/copy/v86/discussions/653

comment 4y ago · link · parent

I think the UI is just confusing. T means „execute the instruction at CS:IP, advance IP and display the next instruction to execute”. So the first T executes the first instruction but displays the second.

comment 4y ago · link · parent

I tried in DOSBox. It was years ago, so I don’t remember all the details. Maybe it’s a DOSBox issue that has since been fixed!

comment 4y ago · link · parent

Ooh, I used to play around a lot with DEBUG.EXE when I was like 12. To this day, almost without looking at the keyboard, I can enter some assembly that enters Mode 13h and draws stuff on screen.

These days, I sometimes play with it to debug a pet project (Lithium, an x86 assembler and toy Lisp compiler targetting bare metal and .COM binaries, written in Clojure). And sometimes I discover things I wasn’t aware of: https://blog.danieljanus.pl/2014/04/06/dos-debugging-quirk/

comment 4y ago · link · parent

I just noticed that it overlaps with „Practical Typography” (https://practicaltypography.com/) to a large extent. So much so that I’d consider them two flavours of the same book, rather than two separate ones.

Also, if you liked the book and feel that you got value out of it, please pay for it – if only to support the experiment in Web self-publishing that it is. I’ve procrastinated it for far too long, but finally bit the bullet, and touched on it here: https://blog.danieljanus.pl/2022/09/24/paying-for-books/

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. :)
1
91011
31