HNHacker News
TopNewBestAskShowJobs

pietroppeter

1,188 karma · joined October 19, 2018

submissionscomments
pietroppeter··on Google URL Shortener links will no longer be available
just out of curiosity I wanted to check whether I had some goo.gl links that I might want to migrate but apparently goo.gl now redirects to this announcement.

Would be happy to know if there is a way to access goo.gl links created while logged in with my account.

pietroppeter··on Fitting an elephant with four non-zero parameters
Love how they misspelled Piantadosi as Paintadosi :)
pietroppeter··on AI for math resources, and erdosproblems.com
Calling out about the second announcement (erdosproblems.com) that there is a call for help and I think many people here might be able to help and some may be happy to do it. Skills required include GitHub, web design, Python/Html/Sql, …

Details: https://www.erdosproblems.com/help

pietroppeter··on Speeding up C++ build times
> It is written purely in Python and does not use Clang, which makes it fast to run—usually in just a couple of seconds.

Oh, the irony

pietroppeter··on Redict 7.3.0, a copyleft fork of Redis, is now available
I think what are seeing here is the true power of an open license. There are now two forks with different approaches and two dedicated and competent teams and we will see not only who wins, but if any or both win (for some definition of win).
pietroppeter··on Arraymancer – Deep learning Nim library
Jupyter notebook is indeed very important. It mainly provides data scientists with two things: a literate programming environment (mixing text, code and outputs) and a way to hold state of data in memory (so that you can perform computation interactively).

As a different take to literate programming we have created a library and an ecosystem around it: https://github.com/pietroppeter/nimib

For holding state a Nim repl (which is on the roadmap as secondary priority after completing incremental compilation) is definitely an option.

Another option could be to create a library framework for caching (or be able to serialize and deserialize quickly) large data and objects. One way to see it, could be to build something similar to streamlit cache (streamlit indeed provides great interactivity)

pietroppeter··on -2000 Lines of Code (2007)
I guess somehow remarks about lines of code being (mostly) meaningless to measure programmers’ productivity feels related to the extent of the impact AI will have on software engineering.
pietroppeter··on Show HN: magick.css – Minimalist CSS for Wizards
Really interesting. One thing I particularly appreciate is how it is fully commented and you can decide only to extract the parts that you need. The part to add line numbers to code looks very nicely done!
pietroppeter··on Show HN: Dropflow, a CSS layout engine for node or <canvas>
This is great, thanks for sharing!
pietroppeter··on Show HN: Dropflow, a CSS layout engine for node or <canvas>
Fair advice, thanks
pietroppeter··on Show HN: Dropflow, a CSS layout engine for node or <canvas>
I would be very much interested in articles on how to write a CSS layout engine from scratch
pietroppeter··on SciPy builds for Python 3.12 on Windows are a minor miracle
> > While Fortran has long been the butt of the joke in IT departments the world over, in a curious twist of fate, it has seen a dramatic resurgence over the last few years. While the reasons for this are not exactly obvious ...

> It is obvious to me. :)

https://x.com/OndrejCertik/status/1722364038212899274?s=20

resurrecting fortran: https://ondrejcertik.com/blog/2021/03/resurrecting-fortran/

pietroppeter··on Authentication on meet.jit.si
> we will no longer support the anonymous creation of rooms on meet.jit.si, and will require the use of an account

if I understand correctly the creator of the meeting needs to have an account but other people can still join without it?

pietroppeter··on Python: A programming language created by a community (2016)
> But I believe the most important idea is that Python is developed on the Internet, entirely in the open, by a community of volunteers (but not amateurs!) who feel passion and ownership.
pietroppeter··on The Spreading Grass-Roots Threat to Microsoft (1998)
an interesting fact into how I ran into this is that this article is the first link in Guido Van Rossum's homepage [0] where he quotes "gawky and proud of it". Indeed Guido makes a quick appearance in the article and is indeed described as such. I had to look it up: gawky means tall and awkard.

[0]: https://gvanrossum.github.io

pietroppeter··on The Spreading Grass-Roots Threat to Microsoft (1998)
An article about Open Source and Eric Raymond that is a fascinating read after so many years and given how things have changed
pietroppeter··on Ask HN: How to measure the latency numbers every programmer should know?
on this topic this is also great: http://computers-are-fast.github.io
pietroppeter··on Untouchable number
> not expressable the sum of all proper divisor of any positive integer

(Emphasis on all mine)

A proper divisor is a positive integer divisor of n other than n. Examples: 1 is a proper divisor of all positive integers except 1, 2 is a proper divisor of all even integers except for 2, 3 is a proper divisor of 6, 9, ..

By all proper divisor of a specific positive integer n we mean the set of all positive integers that divide n and are less than n. In particular the set does not allow for repetition (you cannot count a proper divisor twice). So 1+2+2=5 is not valid since you are counting twice 2.

10 is not untouchable since 1,2,7 are all proper divisor of 14.

5 is untouchable because it cannot be 1+p+q with p < q since p > 1 so q > 3 so 1+p+q>5 (recall all proper divisor are distinct). It cannot also be 1+p because then p=4 and if 4 is a proper divisor also 2 is a proper divisor of a number so 1,4 is not the set of all proper divisor of any number

pietroppeter··on Ask HN: How to measure the latency numbers every programmer should know?
Thank you!
pietroppeter··on Ask HN: How to measure the latency numbers every programmer should know?
Thank you!
pietroppeter··on Algebraic Topology for Data Scientists
Mmh no seems they went through at least a couple of renamings: https://www.netreveal.ai/resources/blogs/ayasdis-next-chapte...
pietroppeter··on Algebraic Topology for Data Scientists
Looking in past HN the most relevant results seems this from 8 years ago linking to a company that does not seem to exist anymore: https://news.ycombinator.com/item?id=9487872
pietroppeter··on Algebraic Topology for Data Scientists
This seems to be mostly focused on math, what could be a good TDA resource more focused on applications?
pietroppeter··on GPT Unicorn has drawn a unicorn
Thanks!
pietroppeter··on GPT Unicorn has drawn a unicorn
Is there some reference or explanation on why the model it is non deterministic at temperature 0?
pietroppeter··on Enu – 3D live coding, implemented in Nim
That’s great news!
pietroppeter··on MdBook – A command line tool to create books with Markdown
Md book is great! We created a Nim version to support content written with nimib (a framework to publish html pages with Nim code and its results) and it has been very useful! https://pietroppeter.github.io/nimibook/index.html

As people are sharing other SSG (I think material for MkDocs is the absolute best for documentation sites), let me share a relatively unknown one that I find very interesting: https://github.com/dmulholl/ark

I have as next project to try and port this ark to Nim/nimib (and ideally nimibook should be refactored to use it).

pietroppeter··on Ask HN: Why did Nim not catch on like Rust did?
Very clear and a smart decision that paid off!
pietroppeter··on Ask HN: Why did Nim not catch on like Rust did?
> The answer probably lies in non-technical things, like marketing, community building and governance.

> The language not having one clear thing it excels at, surely makes marketing it more difficult, so Nim would have needed more effort than normal to properly explain its philosophy to the market.

Agree on both points! And I am starting to realize that governance is the key element. A better governance would enable better community building and with a big community and a decent governance someone good enough at marketing would be able to figure out a way to put in the additional effort. But hey guys, where can you find a tech community in which we are all pretty bad at marketing and very bad at evangelizing? I think it is a nice value proposition for those who like to build stuff… ;)

I think contributors should focus first on building compelling cases of using Nim in specific niches (like jmgomez is doing for unreal engine) and we should at some point try to meet and start working on the governance issues. It will take some time but I am still confident. The language is such a joy and the community - albeit small - is full of outstanding people.

Btw, you have done outstanding work on zig, congratulations to you, Andrew and the rest of the community, it is inspiring to see! I find very interesting how you decentralize community management empowering people to build their own communities. At least that is what I gather from following from far, I might be off. Would love to know more if that was an explicit goal or the result of some happy coincidences.

pietroppeter··on Anime.js – A lightweight JavaScript animation library
indeed https://twitter.com/JulianGarnier/status/1668295672750125058...
← PreviousPage 2 of 7Next →