HN user

nurpax

418 karma
Posts7
Comments16
View on HN

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.

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)
Colorize Your CLI 6 years ago

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.

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.

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?

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.

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.

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.

I Do Not Like Go 8 years ago

made a huge mistake not having proper union/sum types (AKA Abstract Data Types/ADTs)

Did you mean algebraic data types?

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.