Recent submissions

Comment · 5 days ago
Comment · 2 months ago
How do you compute page rank for billion of pages that have cyclic links? Is that not the problem right after the initial idea?
Comment · 3 months ago
> In defence of Mr Musk, despite his character flaws, Tesla is the only Western electric car company in the top 20, and this includes Korea and Japan. Also, SpaceX is ~90% of the world's commercial rocket launch capacity.

This conflates the quality of the product with the value of the business. There is no contradiction between Tesla cars selling well because they fit a market and Tesla the business not being a good investment.

Comment · 5 months ago
> Instead of regular expressions, Janet’s text wrangling is based around parsing expression grammars. Parsing expression grammars are simpler, more powerful, and more predictable than regular expressions.

I would dispute that this is the case. In PEGs, alternatives are not commutative, unlike in regular expressions. This can lead to quite frustrating debugging. While a valid choice, the advantage over REs is overstated.

Comment · 5 months ago
> native ocaml repl has landed

What does this refer to? Most people use the OCaml `utop` REPL which isn't okay for some printf debugging but nowhere near what a Lisp could do.

Comment · 5 months ago
The repository link on that page does not work. Is there a preview?
Comment · 1 year ago
The public transport service in Hannover/Germany once had a screensaver that you could configure to show the next departure from your nearest station. I thought that was clever marketing. Today you probably could implement this as a web service.
Comment · 1 year ago
I like the idea mentioned in the article of exploring limited higher-order functions: functions that can only take functions as argument that themselves are not taking functions as arguments. But what simplification does this buy (in the implementation of such a language) over a language that is fully functional? It is not explained in the article.
Comment · 2 years ago
This makes you appreciate curation in a museum. Why are these objects shown together? Historical period, size, design feature, material, production method? It looks completely arbitrary.
Comment · 2 years ago
The main feature of interval parsing appears to be that it can jump over content such that a later part in a file does not depend on knowing everything that comes before it. Has Dogma similar expressiveness?
Comment · 2 years ago
Filecoin, which is based on IPFS, creates a market for unused storage. I think that idea is great but for adoption it needs to be as simple as Dropbox to store files. But visit https://filecoin.io/ and the dropbox-like app that you could be willing to try is nowhere to be found. So maybe it is an enterprise solution? That isn't spelled out either. So I am not surprised that this has little traction and the article further confirms the impression.
Comment · 2 years ago
"Show, don't tell" is lost on the authors. They only talk about visual ugliness.
Comment · 2 years ago
The argument for annealing in the original paper is that accepting regressions is essential to escape from local minima.

https://www2.stat.duke.edu/~scs/Courses/Stat376/Papers/Tempe...

"Annealing, as implemented by the Metropolis procedure, differs from iterative improvement in that the procedure need not get stuck since transitions out of a local optimum are always possible at nonzero temperature. A second and more important feature is that a sort of adaptive divide-and-conquer occurs. Gross features of the eventual state of the system appear at higher tempera-tures; fine details develop at lower tem-peratures. This will be discussed with specific examples."

Comment · 2 years ago
My understanding of simulated annealing is that solutions that are not improvements are still accepted with some probability in early steps but that this probability decreases as "temperature" drops. Looking at your description (but not code) I did not see that aspect but it looked like you would only accept improvements of the cost function. Is this correct or where does your solution accept slight regressions with some probability, too?
Comment · 3 years ago
Links are unreadable in that blog post on iOS/Safari.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton