HNHacker News
TopNewBestAskShowJobs

nurpax

418 karma · joined August 18, 2013

submissionscomments
nurpax··on Show HN: MNIST64 – 99.5% accuracy MNIST BNN on a stock Commodore 64
A fun quote from the paper:

”We also challenge you to improve these results. With modern methods, we have now exceeded LeCun et al.’s 1998 accuracy (MNIST images 9,930 correct, ours 9,949), on a computer from 1982, so perhaps we can again move the needle a few years forward?”

nurpax··on Leveraging Zig's Allocators
The same can happen with C malloc/free too.
nurpax··on Google engineers want to make ad-blocking (near) impossible
AR?
nurpax··on How often do people copy and paste from Stack Overflow?
It’s not just you. Python seems to suffer from Python-specific ”tutorial sites” being SEO’d above Python’s official docs. I don’t know what it is about the Python documentation that lowers its rank on Google search results. In general, not a big fan of Python docs.
nurpax··on A common mistake when NumPy’s RNG with PyTorch
This field contains the worker-specific seed:

    torch.utils.data.get_worker_info().seed
So I guess something like the below (untested!) could work too:

   worker_init_fn=lambda id: np.random.seed(torch.utils.data.get_worker_info().seed)
nurpax··on Python 3's F-Strings: An Improved String Formatting Syntax
Yup, especially as you often need to access dict's with foo["field"] and you get a syntax error if the f-strings is also f"". JavaScript backtick syntax doesn't lead to this extra syntactic friction.
nurpax··on Colorize Your CLI
Inline images would be great too (bitmap or svg). There’d be a lot less need for something like jupyter if you could show images in the shell.
nurpax··on [dead]
This was an interesting Twitter thread about Encrochat: https://twitter.com/josephfcox/status/1278638671416168450?s=...
nurpax··on Linear – A fast issue tracker
Looking forward to trying out Linear. I'd really love to use a tool with good performance and offline support! Your website looks slick and lovely too.

Alas, the e-mail sign up seems to take a while to send the registration link e-mail. When I got the e-mail after maybe 5-10 minutes of waiting, the sign up link had already expired. :( It says "Verification code expired. Please request a new one." I did, but the same thing happened.

nurpax··on Linear – A fast issue tracker
The download page says only macOS is currently supported. Electron supports Windows and Linux quite well - any ETA on when you will be adding these platforms?
nurpax··on Containers vs. Zones vs. Jails vs. VMs (2017)
I’d like to think so too. It’s hard to actually understand how Docker works by reading their documentation.

Everything looks so simple.. and it magically runs on macOS and Windows too. No wonder people think it’s some sort of a VM.

nurpax··on GoatCounter – Simple web statistics, with no tracking of personal data
At least static sites on places like GitHub pages need client-side analytics as you cannot access their logs.
nurpax··on Petmate – C64 Petscii Editor
Thanks! PNG import is mainly intended for pulling PETSCII content into Petmate from running .prg files in VICE. The pixel data and image dimensions need to match exactly for the import to succeed. I try to explain it in the docs but the feature just kinda doesn’t do what most people expect it to.
nurpax··on Petmate – C64 Petscii Editor
Petmate author here. Doesn’t notarization require an Apple Developer ID? Out of principle, I don’t want to pay Apple 100 USD a year just to build my free app.
nurpax··on I Do Not Like Go
> made a huge mistake not having proper union/sum types (AKA Abstract Data Types/ADTs)

Did you mean algebraic data types?

nurpax··on Break down of a C64 demo effect
I also used some Haskell in another C64 project. Made a VICE memory snapshot parser for digging some values out of RAM. Haskell was a lot handier for byte level access than Python.
nurpax··on Break down of a C64 demo effect
Thanks!