Better HN
topnewbestaskshowjobs
Log inSign up

pietroppeter

1,201 karma · joined Oct 19, 2018 (8y ago) · 277 submissions

Submissions

comment 1w ago · link · parent

Yep that is the expectation one could have but it is not the experience I (and many others) had.

The explanation I have is that it is so close to pseudocode that it only needs to know just a tiny bit about Nim peculiarities (not too many) to do a good job (plus static types and compiler help a lot).

comment 1w ago · link · parent

I think Nim is a great fit for the AI era. let me explain

Always appreciated how Nim gives you a low cognitive load: it is easy to reason about, does not get in the way of doing stuff, you focus on what you need to do it and rarely on how you do it (specifics of the language).

I think this is a great advantage in this era of automatic/AI assisted programming. The fact that the language is very readable also helps for the moments when you need/want to read the code.

Nimony btw is a very cool way to evolve the mainline compiler and looking forward to use this in main Nim (but it is also something nice to experiment with)

comment 1w ago · link · parent

I think there was very little effort put on this specific website. The effort has gone in the compiler itself (and the mainline compiler). Not that it would not benefit for a better website

comment 1mo ago · link · parent

If you have not been following and focus on the cancer slide as an anti AI take, Tao has been involved and has a positive attitude towards AI for a while, he is just thinking a bit ahead on how the work of humans might change. https://teorth.github.io/tao-web/ai-views.html

5.

Shimano Bicycle Museum Review(inrng.com ↗)

315 points · by pietroppeter · 1mo ago · 84 comments

comment 2mo ago · link · parent

Since I ever saw this list of levels for AI usage disclosure it always felt right and I keep referring people to it. I suspect other people have arrived or will arrive at it independently. Useful also for all content production, not only Open Source

7.

Using AI to Contribute to Open Source(visidata.org ↗)

2 points · by pietroppeter · 2mo ago · 1 comment

comment 2mo ago · link · parent

Has the industry already started to search for a better name than AI SEO for this?

comment 3mo ago · link · parent

TIL pandoc for the people, courtesy of pandoc compiled to WASM. cool

https://pandoc.org/app/

comment 4mo ago · link · parent

Appreciate the quote of the Essentialism book by Greg McKweon, which I am currently reading. Funnily enough I decided the book when I found out (on Imprint app) that one of the key values of the “essentialist” is playfulness. I was sold.

comment 4mo ago · link · parent

Congrats! I had a great time doing a batch remotely from Italy (2.5 years ago), there is a lot of investment in making sure the remote experience is great and it shows!

comment 5mo ago · link · parent

AFAIK main focus of Nim 3 is about incremental compilation and enabling better developer tooling bringing in innovations experimented in Nimony (key is NIF intermediate format).

The new compile time memory mgmt was the focus of Nim 2 (it is possible there are still improvements)

comment 5mo ago · link · parent

personal highlight I looked forward to:

- Araq's update on Nimony and Nim 3 (and NIF, which is so cool)

- Constantin's love letter to Nim (long overdue and I expect to connect strongly with this one)

- Treeform talking about Nim and AI (always very clean and inspiring presentations)

- Capocasa's testimony about building a (economic) coding agent in Nim

- Gianmarco talking about Nim for embedded

- Peter telling the story on how he introduces Nim to his company's new hires

I am pretty sure the general quality will be good and there will be hidden pearls (last year pearl for me was the one about putting Nim on e-ink screens all over the house)

(you won't find name of authors in the conf page but you will find them in the youtube playlists)

comment 5mo ago · link · parent

Two tracks this year (a first).

As usual, videos are prerecorded and released as YouTube Premiere.

Track 1: https://youtube.com/playlist?list=PLHI4D93Ts8_k&si=06qsQgYUd...

Track 2: https://youtube.com/playlist?list=PLHUPmLYoCMoY&si=iMwL7UeIO...

15.

Nim Conf 2026 (Online, Sat June 20)(conf.nim-lang.org ↗)

83 points · by pietroppeter · 5mo ago · 22 comments

comment 9mo ago · link · parent

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

comment 9mo ago · link · parent

> 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?

18.

Pogacar and Ku Coin(inrng.com ↗)

2 points · by pietroppeter · 9mo ago · 1 comment

comment 10mo ago · link · parent

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/

comment 1y ago · link · parent

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

comment 1y ago · link · parent

I wish we had that for Nim too!

comment 1y ago · link · parent

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

23.

Making Operations Research More Accessible: Insights from the Rise of ML(pubsonline.informs.org ↗)

1 points · by pietroppeter · 1y ago · discuss

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

This is the way

comment 1y ago · link · parent

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.

28.

Y Combinator explained in Python (2019)(lptk.github.io ↗)

1 points · by pietroppeter · 1y ago · discuss

29.

Deep Reinforcement Learning does not work yet (2018)(alexirpan.com ↗)

1 points · by pietroppeter · 1y ago · discuss

12345
10