Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cb321
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
421.
▲
by
cb321
3y ago
From the README, the author has great ambitions. More power to him! I wonder if he has read https://drewdevault.com/2020/03/18/Reckless-limitless-scope.... ? ;-) { I especially like that he chose Nim, but r
422.
▲
by
cb321
3y ago
There is a fairly clear subset of Nim which is memory safe. There are discussions once in a while to reduce that from a small set to one..two keywords, e.g.: https://forum.nim-lang.org/t/9280#61243 which has li
423.
▲
by
cb321
3y ago
> They don't read a lot of blogs, they never write blogs, they don't go to user groups, they don't tweet or facebook... So, the article alludes to a spectrum of engagement, but uses a binary distinction (dark or not) as it
424.
▲
by
cb321
3y ago
Next up - "the Oxygen molecule has hacked metabolism on Planet Earth!". ;-) There may be an entire cottage sub-industry of jokes like this, much like Chuck Norris jokes. [1] [1] https://parade.com/968666/parad
425.
▲
by
cb321
3y ago
I certainly do not know, but it would be unsurprising if the origins of this article were Harari asking ChatGPT to "Tell me a long, involved, analytical story about <X> that ends with a punchline inverting anthropomorphized agenc
426.
▲
by
cb321
3y ago
That is absolutely the keynote/talk, @dang. Even just the slides would be nice, but Van did a great delivery as well, and "knew his audience". Ah well. I could try a more expansive summary from memory, but this may not be
427.
▲
by
cb321
3y ago
Hilarious! And an almost literal paraphrase of something a friend of mine says routinely. That Van Jacobson talk got uproarious laughter from the audience at the end, as one might predict { surely VJ had an inkling... ;-) }. It's a w
428.
▲
by
cb321
3y ago
I think it is important to understand Harari's rhetorical style. He likes to "flip the script", tell long stories (without necessarily dotting every i) and end in a punchline. So, for example, in his book _Sapiens_ he got
429.
▲
by
cb321
4y ago
https://github.com/c-blake/cron might interest you. This uses "job" from GP in the sense of "cron jobs", although GP meant something much more broad by "jobs in C". ;-) The key idea is po
430.
▲
by
cb321
4y ago
Suggested in the Mega Thread (a few times): https://github.com/nim-lang/RFCs/issues/456#issuecomment-111... https://github.com/nim-lang/RFCs/issues/456#issuecomment-111...
431.
▲
by
cb321
4y ago
Ecosystem-wise - a brief subset of Nim packages: https://github.com/ringabout/awesome-nim packages.json has many more - over 2000.
432.
▲
by
cb321
4y ago
>Does nim have anything as polished and performant as clap and serde? "Polished" and "high quality" are more subjective/implicitly about adoption, IMO. "Performant" has many dimensions. That said, I ju
433.
▲
by
cb321
4y ago
You are welcome. Thanks are too rarely offered. :-) You may also be interested in word stemming ( such as used by snowball stemmer in https://github.com/c-blake/nimsearch ) or other NLP techniques, but I don't k
434.
▲
by
cb321
4y ago
You both might be interested in this little Nim program "framed" to frame & digest text for near-duplicate detection: https://github.com/c-blake/ndup/blob/main/framed.nim which does
435.
▲
by
cb321
4y ago
If it helps, I almost always just git clone & compile Nim from source myself.. takes just a couple minutes. Never tried it on an M1, though.
436.
▲
by
cb321
4y ago
For me (and inv2004) Nim, runs faster than Rust on your RosettaBoy project.. But perf usually depends on an awful lot of territory that is routinely unexplored before conclusions are bandied about. The Nim installation & tooling experie
437.
▲
by
cb321
4y ago
I'm sure the full list of shell check rules is in the many dozens.. I was just trying to address one apparent misperception. And here I thought someone would complain about not putting $f in double quotes not * instead of ./* ;
438.
▲
by
cb321
4y ago
Shells usually do not re-split on whitespace after filename generation. So, you could also just use an asterisk for your number one use case: dash$ touch "hi ho" dash$ touch "there, buddy" dash$ for f in *
439.
▲
by
cb321
4y ago
I think what you may be missing is the article's first point: shells are also a high-frequency REPL. The programming language is mostly popular because you can capture/record interactively/incrementally developed logic into
440.
▲
by
cb321
4y ago
The proposed solution of an API with a thinly wrapped auto-generated CLI is not terrible. I have heard it is common within Google, for example. In the Python world, there are various solutions starting from https://github.com&#x
441.
▲
by
cb321
4y ago
While I agree with the @elcritch reply ( https://news.ycombinator.com/item?id=34616755 ) that Nim is just nicer overall, depending upon one's idea of "convenient access to literally the entirety", Cython may be
442.
▲
by
cb321
4y ago
nimpretty (like gofmt & etc.) was actually mentioned (buried within that large discussion) as a way for Nim to go full sensitivity but avoid the debates. :-)
443.
▲
by
cb321
4y ago
This relates to a hotly contended topic in style-insensitive Nim https://github.com/nim-lang/RFCs/issues/456
444.
▲
by
cb321
4y ago
Lol :)
445.
▲
by
cb321
4y ago
Nice! Added in 2008, if anyone is curious. (EDIT: and in db48x's comment already[1]) Also, I had to put in a `cat` to make it work: seq 1 10 | gnuplot -e "plot '<cat' with lines" [1] https:/
446.
▲
by
cb321
4y ago
Yeah. Good points! You could also use the techniques of [1] but use `set term png` and `set output "/tmp/pl.png"` instead and then auto-launch any image viewer on "/tmp/pl.png" instead of relying on
447.
▲
by
cb321
4y ago
Within the gnuplot shell you use `<` at the start of a "filename" like gnuplot> plot '<pipeline' It just uses system(3) for "pipeline". So, technically you could have a whole script in there
448.
▲
by
cb321
4y ago
https://st.suckless.org/ used to have a circa st-0.8 fork that supported full color sixel graphics, but it seems that specific patch is not in the official list anymore. [1] I think the work moved to https://git
449.
▲
by
cb321
4y ago
FWIW, Nim has various trade offs for you. It has an alternative comment syntax that goes like echo 1 #[ deactivated ]#, 2 While `from modA import nil` does exist, it is not very idiomatic. Idiomatic is more managing the global
450.
▲
by
cb321
4y ago
I would say the value of distinction is related to how many things you distinguish..Re-stated, the likelihood you mix things up (and thus the value of a checker) depends upon how many things. Perhaps nigh tautological, but a rapid corollary
More ›