Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sapiogram
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
sapiogram
1y ago
Thank you, the comment has value now.
62.
▲
by
sapiogram
1y ago
Haters gonna hate. If you're working on a project that needs performance and correctness, nothing can get the job done like Rust.
63.
▲
by
sapiogram
1y ago
My feelings exactly. Go was particularly disappointing, it promised everything but only felt like a sidegrade from Java. Screw it, a downgrade, until go errors get stack traces.
64.
▲
by
sapiogram
1y ago
Interesting, got any links to more information?
65.
▲
by
sapiogram
1y ago
It's the exact same on Linux.
66.
▲
by
sapiogram
1y ago
That was absolutely not true in the "early 2010s", not even 5 years ago unless you wanted to seriously compromise on some other aspect of the display.
67.
▲
by
sapiogram
1y ago
This issue happens without any scaling at all, on both Linux and MacOS.
68.
▲
by
sapiogram
1y ago
It's not, the font renderer just sucks outside of high-DPI displays.
69.
▲
by
sapiogram
1y ago
Yes yes, all your friends are rich, good for you.
70.
▲
by
sapiogram
1y ago
If that was true, it would be very nice if they just acknowledged that... I don't know the internals of Zed well, but it seems entirely plausible they're doing text rendering from scratch.
71.
▲
by
sapiogram
1y ago
It's not an issue on high-DPI screens. Try again with an external monitor. It's much worse on light mode.
72.
▲
by
sapiogram
1y ago
Thank you, I bring this up in every Zed thread on the internet, hopefully the devs will eventually fix it. Until they do, Zed is simply unusable on regular-DPI displays, at least in light mode. See these screenshots: Example Zed screenshot,
73.
▲
by
sapiogram
1y ago
This comment is incorrect, I have tried the editor on both MacOS and Linux, and texts looks like crap on both if you're using your screen at its native resolution. The difference is easily visible in screenshots. Example Zed screenshot
74.
▲
by
sapiogram
1y ago
No, I think Youtube really is the product. With Premium, you don't see any ads (at least the ones Youtube makes money from), and there's no way "tracking" makes them anywhere near as much money as a simple premium subscr
75.
▲
by
sapiogram
1y ago
Ah, good to know the other side is now throwing out voter fraud accusations as well.
76.
▲
by
sapiogram
1y ago
His facts have no sources, so also worthless.
77.
▲
by
sapiogram
1y ago
The guy is an American political journalist, his opinions here have exactly zero value to me.
78.
▲
by
sapiogram
1y ago
I don't think anyone is going to starve to death because they can only spend 1000EUR...
79.
▲
by
sapiogram
1y ago
Wonderful work! ...although the fact that a 3x speed improvement was available kind of proves their point, even if it may be slightly out of date.
80.
▲
by
sapiogram
1y ago
> My rule of thumb is that the goroutine that writes to a channel is responsible for closing it. In this case, a deferred call to close the channel in HandlePlayer is sufficient. This isn't your rule of thumb, it's the only pra
81.
▲
by
sapiogram
1y ago
As a language user? Just stop using them entirely. It's what most people do eventually.
82.
▲
by
sapiogram
1y ago
> So if the default position is unbuffered channels (which it should be), you then realize at some point that this is an inferior version of cooperative async/await. I feel so validated by this comment.
83.
▲
by
sapiogram
1y ago
You joke, but this is not uncommon at all among channels purists, and is the inevitable result when they try to create any kind of concurrency abstractions using channels. Ugh... I hope I never have to work with channels again.
84.
▲
by
sapiogram
1y ago
You're not bad at Go, literally everyone I know who has tried to do this has concluded it's a bad idea. Just stop using channels, there's a nice language hidden underneath the CSP cruft.
85.
▲
by
sapiogram
1y ago
Unfortunately, Go also made their channels worse by having their nil semantics be complete lunacy. See the "channel API is inconsistent and just cray-cray" section in the article.
86.
▲
by
sapiogram
1y ago
Absolutely nothing has changed at the language level, and for using channels and the `go` keyword directly, there isn't really tooling to help either. Most experienced Golang practitioners have reached the same conclusions as this blog
87.
▲
by
sapiogram
1y ago
You've misunderstood the example. The `scores` channel aggregates scores from all players, you can't close it just because one player leaves. I'd really, really recommend that you try writing the code, like the post encourage
88.
▲
by
sapiogram
1y ago
> When I moved them over to Kubernetes, I also applied CPU resource limit, each in its own pod. I set the limits based on what I measured when they were all running on PM2 ... but the same code running on Kubernetes ran with 10x less CPU
89.
▲
by
sapiogram
1y ago
I appreciate the link, but Australia is an almost entirely tropical/subtropical country, with Sidney being as far from the equator as Northern Africa. I don't believe that analysis can tell you anything about Northern Europe. This
90.
▲
by
sapiogram
1y ago
Winter nights are long and dark everywhere in Europe, wind speeds definitely correlate somewhat , and transmission losses exist. Unless you're planning to massively overbuild wind power, you do need alternative power sources capable o
More ›