Hacker Newsnew | past | comments | ask | show | jobs | submit | pietroppeter's commentslogin

Related project discussed here 2 years ago FrameOS https://news.ycombinator.com/item?id=38855337

> You can easily make the case that Tadej Pogačar is one of the world’s best athletes. Plus he enjoys a wholesome reputation, a cherubic look at races and a cheerful presence on social media. Good luck finding someone who knows him to say a bad word. He ought to be the face of Kelloggs cereal, Gillette razors, Pepsi Cola or Visa cards. Maybe all of them at the same time. Crypto? Meh, but why not. But Ku Coin?


If you happen to pass by Ivrea (short trip from Turin or Milan) there is a very nice small museum which showcases most of the machines mentioned. It has also a working Programma 101 and if you are lucky there might be a volounteer that can demo it. There also volounteer giving guided tours and if you are with kids you have the option to have them do a workshop (includes some 3d printing).

https://www.museotecnologicamente.it/category/collezione/


Great work! As a side track, it led me to dive into the history of the manufacturing company of Breda trains. Originally founded in Milan late 1800s by Ernesto Breda for locomotives, expanded in the war products during the wars, and went through nationalization, fusion to become AnsaldoBreda and later bough by Japanese to become Hitachi Rail Italy.

https://en.wikipedia.org/wiki/Hitachi_Rail_Italy


Later to get banned from bidding on the contract for the replacement vehicles because the trains were so mediocre (although somehow still better than the earlier Boeings) and the company so brazenly corrupt.

Meanwhile SF runs 1800s–early 1900s era Milan trams on their heritage line. Not built by Breda, because of course.


I wish we had that for Nim too!


try pixi!


Yet another appreciation story for Miguel’s mega tutorial. In 2017 I used it to create our wedding site and learn a bit of web dev (my background is in data science). To motivate me to actually do it I used the strategy the fund the then occurring refactoring of the tutorial. I am still very fond and proud of that first time I actually went and funded some open source effort, it gives you back more than you might expect


And this fact effectively builds trust in the vision and in execution.


For the curious on how it works (not mentioned in the readme), it uses pymupdf and a precise mapping of all information in area coordinates, as such the document layout is hard coded.

When layout changes this breaks but layout changes on this sort of documents do not happen often (I think). Also code is very clean and it serms straightforward to fix.

This kind of code is maybe something that can be generated from an LLM/agent? (It would be easy to write checks)

Besides the practical value for those who might need it, I think it is possibly interesting for others to look at this approach.

Neat project, thanks for sharing!


Thanks for reporting and for the feedback


This is the way


I am a bit biased on the content ;), but note that this is a talk that is not focused on teaching the language but more on what does it mean to learn a second language, especially a niche one - like Nim - coming from Python. It does shows some code examples and highlights some features though. I like official documentation (tutorials) but Nim basics is another good resource.

When I first learned Nim I remember the thing I struggled the most with was the mutability of parameters when passing them. Another big thing I would say is letting go of python’s dict and embrace types. In place of dict I usually consider the following options: tuples (which are great and named), objects, tables (from stdlib, very similar to dicts but with homogenous types for keys and values) and JsonNode (as a final option if the others do not work).

Advent of code makes for a great practice ground.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: