Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eliben
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
eliben
3y ago
Thanks for your comment. I surely hope no one will even consider using this server for anything public-facing :) It's solely for testing on localhost. The shutdown endpoint is used for robust testing; I suppose I can hide it a bit more
62.
▲
by
eliben
3y ago
Cool project! I maintain a somewhat related repo here: https://github.com/eliben/wasm-wat-samples/
63.
▲
by
eliben
3y ago
I love GitHub but I sure wish its code review functionality was much, much better. Doing complex code reviews is really painful.
64.
▲
by
eliben
3y ago
> (although I wished it was a bit more extended!). What additional samples would you like to see in there? > Hopefully we will be able to help with it as part of our work That's great to hear. What are you planning here?
65.
▲
by
eliben
4y ago
Very timely post. I was recently looking at the ways one can implement a plugin system using WASM (outside the browser). Communicating between the host application and the plugin is sure tricky... I've seen places that use WASI to map
66.
▲
by
eliben
4y ago
Isn't Greenland already included in "Denmark"? And Iceland doesn't even have a military, AFAIR. The country's total population is <400k
67.
▲
by
eliben
4y ago
NVIDIA is selling shovels in a gold rush. Good for them. Their P/E of 150 is frightening, though.
68.
▲
by
eliben
4y ago
I recently wrote about how ngrok-like functionality is easily implemented in Go via SSH port forwarding: https://eli.thegreenplace.net/2022/ssh-port-forwarding-with-...
69.
▲
by
eliben
4y ago
Yes, technically you could wrap every `main` in a test and build everything just right, but it's nice to be able to do this without any hacks if you already have an integration test suite and you want to know what coverage it gets you.
70.
▲
by
eliben
4y ago
You do have to worry about the network when you call between components. The documentation talks about this explicitly in "Semantics": "Method calls are executed with at-most-once semantics. This means that Service Weaver do
71.
▲
Go 1.20: Profile-guided optimization preview
(go.dev)
4 points
by
eliben
4y ago
|
0 comments
72.
▲
by
eliben
4y ago
You too will get old, and when you do you'll fantasize that when you were young prices were reasonable, politicians were noble, and children respected their elders. [ https://www.songlyrics.com/baz-luhrmann/everybod
73.
▲
by
eliben
4y ago
I believe the OP's ergolib provides an example. From https://github.com/rongarret/ergolib/blob/master/core/bindin... , the examples show code like: ;;; (bb ;;; x 1 ;;; :db (y z) (fo
74.
▲
by
eliben
4y ago
Thanks for writing this followup, Ron. This paragraph really resonated with me: > All this is a reflection of the so-called Lisp curse, the fundamental problem with Lisp -- its great strength is simultaneously its great weakness. It is
75.
▲
by
eliben
4y ago
Substack has much higher-quality content than Medium, but it seems to be moving in generally the same direction. There are already popups that disrupt reading on any article (sign up to the newsletter!) -- is eventual Medium-ization unavoid
76.
▲
by
eliben
4y ago
I genuinely like Rust, but it's pretty amazing that you managed to write a comment on this article and make it about Rust. Peak HN :-) Re Lisp's superiority - Lisp was certainly a superior language when it was devised many decades
77.
▲
by
eliben
4y ago
Thanks for the explanation. If a huge number of "laypeople" flocks to Mastodon, it's very likely that the users will be clustered around one or small number of "major" servers. So basically the admins of that server
78.
▲
by
eliben
4y ago
Twitter's biggest/hardest problem seems to be content moderation. With all the people moving to Mastodon now, it's not clear how Mastodon is going to handle this? Is the hope that just folks of a given political viewpoint wil
79.
▲
by
eliben
4y ago
These books are awesome - the perfect bait to get kids interested in math topics. We have all three on the shelf; kids first are drawn to the cute stick-figure comics, and read around a bit while they're there - the result is learning
80.
▲
by
eliben
4y ago
I wonder why the cost is so high, is it mainly electricity? Parts of California produce more solar power than can be used at that time during parts of the day - could that extra electricity be used for desalination?
81.
▲
by
eliben
4y ago
I ran into the exact same problem and wrote up some potential solutions at https://eli.thegreenplace.net/2021/rust-data-structures-with...
82.
▲
by
eliben
4y ago
Thanks. Interesting, indeed. Maybe they're using different terminology; otherwise it's not clear how both Caiso and these local utilities can be truthful at the same time.
83.
▲
by
eliben
4y ago
Unless the official CalISO twitter account is lying, this could be a local issue for specific substations etc. With the weather there could be transformers overheating and failing, for example. In a large state, power goes out _somewhere_ q
84.
▲
by
eliben
4y ago
2 of these refer to TIOBE and another is a 404 The IEEE Spectrum one seems independent
85.
▲
by
eliben
4y ago
Please, please don't use tiobe for programming language comparisons. https://blog.nindalf.com/posts/stop-citing-tiobe/ , etc.
86.
▲
by
eliben
4y ago
As an opposite data point: in Israel, military service of 3 years is mandatory for males, 2 years for females. Israel has BY FAR the highest fertility in the OECD. So military service probably isn't a strong correlation here.
87.
▲
by
eliben
4y ago
I would think that a single quick glance in the general direction of the sun won't do much harm
88.
▲
by
eliben
4y ago
I like how there's a comment by Peter Shor commending Scott on the article :-) Knowing Scott's blog, this is likely legit
89.
▲
by
eliben
4y ago
This is explained in much detail in the very first link, in the very first sentence of the post :-)
90.
▲
by
eliben
4y ago
In addition to munificient's response, I'd point out that this will likely have a significant performance cost. Since performance is one of the main reasons of using a low-level language like Rust, it should give you pause. I'
More ›