Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xigoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
931.
▲
by
xigoi
1y ago
Newspeper not long because newspaper printed on paper. Paper have limited height. Website not have limited height.
932.
▲
by
xigoi
1y ago
Oh my, you sure dodged a bullet.
933.
▲
by
xigoi
1y ago
I object to the claim that a Lisp-2 has first-class functions.
934.
▲
by
xigoi
1y ago
In the case of Wordle, you know the exact set of letters you’re going to be using, which easily determines how to compute length.
935.
▲
by
xigoi
1y ago
I prefer languages where strings are simply sequences of bytes and you get to decide how to interpret them.
936.
▲
by
xigoi
1y ago
s/in the optimal way //
937.
▲
by
xigoi
1y ago
That’s already a thing: https://adnauseam.io/
938.
▲
by
xigoi
1y ago
You pay for food only with money. Nobody is forcing you to eat a rotten apple for every fresh apple you buy.
939.
▲
by
xigoi
1y ago
Given that someone was sued for opening the developer tools on a website, using wget would presumably constitute a death sentence.
940.
▲
by
xigoi
1y ago
Nim has a macro in the standard library that allows you to use the actual for loop syntax as a comprehension. let primeSquares = collect: for n in 1..100: if n.isPrime(): n * n
941.
▲
by
xigoi
1y ago
> How does a crawler discover these? They are just designed to detect all these filters and try all combinations? Presumably each of the facets is a link that adds it to the current query, so if you recursively follow links, you will end
942.
▲
by
xigoi
1y ago
This is not meant to be taken literally, I was making fun of how Rust often requires a lot of punctuation and thinking about details of memory allocation.
943.
▲
by
xigoi
1y ago
On the other hand, in Rust you often have to add something like .unwrap().unwrap().into::<&&&Vec<Box<&&&&&mut String>>>() which kind of ruins the elegance :P
944.
▲
by
xigoi
1y ago
Left-to-right is also much easier to wrap your head around. Just imagine the data going on a conveyor belt with a bunch of machines instead of having to wrangle a nested tree.
945.
▲
by
xigoi
1y ago
It’s a good language for beginners and, unfortunately, many people think that learning more languages is hard and useless.
946.
▲
by
xigoi
1y ago
While methods partially solve this problem, they cannot be used if you are not the author of the type. Languages with uniform function call syntax like Nim or D do this better.
947.
▲
by
xigoi
1y ago
Yeah. The problem is that the number of samples needed is exponential in the dimension, so in a 1000-dimensional space, you won’t even be able to subdivide it into 2×…×2.
948.
▲
by
xigoi
1y ago
> If the hills and valleys aren't too close together That’s a big “if”.
949.
▲
by
xigoi
1y ago
Ironic considering that the web was originally designed for sharing scientific articles.
950.
▲
by
xigoi
1y ago
I’ve been introduced to the Hessian in the context of finding the extrema of functions with multiple variables, where it does not make sense to consider arbitrary output dimensions (what is the minimum of a vector function?). In this contex
951.
▲
by
xigoi
1y ago
Well, the point is to appease people who like noisy syntax, otherwise they could just use Nim normally.
952.
▲
by
xigoi
1y ago
> Markdown parsers exist in any language I care to use. Except each one actually parses a slightly different language. https://git.sr.ht/~xigoi/markdown-monster/blob/master/monste...
953.
▲
by
xigoi
1y ago
I scored 17/21 on https://e-mail.wtf and all I got was this lousy text to share on social media.
954.
▲
by
xigoi
1y ago
Is there anything about Haxe that makes it better than Nim?
955.
▲
by
xigoi
1y ago
These questions would be better if they were multiple choice. The main problem is that they are single choice.
956.
▲
by
xigoi
1y ago
In what sense did Rust “win over” Go? And since Google loves to kill its side projects fast, no wonder Dart failed.
957.
▲
by
xigoi
1y ago
For me, the killer feature of Nim is that I can just write code without having to constantly fight the language.
958.
▲
by
xigoi
1y ago
By this logic, C++ is the same as C, C# is a syntax error and PHP should be named $PHP :D
959.
▲
by
xigoi
1y ago
I have just the thing for you ;) https://github.com/xigoi/nimdenter
960.
▲
by
xigoi
1y ago
> I often wonder why some languages succeed while others falter. $$$money$$$
More ›