Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mort96
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
901.
▲
by
mort96
10mo ago
You need to close it and check for errors as part of the happy path. But it's great that in the error path (be that using an early return or throwing an exception), you can just forget about the file and you will never leak a file desc
902.
▲
by
mort96
10mo ago
It has been up with the incorrect title for over 7 hours now. That's most of the Hacker News front-page lifecycle. The system for correcting bad automatic editorialisation clearly isn't working well enough.
903.
▲
by
mort96
10mo ago
There's a huge difference in programming model. You can rely on C++ or Rust destructors to free GPU memory, close sockets, free memory owned through an opaque pointer obtained through FFI, implement reference counting, etc. I've h
904.
▲
by
mort96
10mo ago
> Most of the languages that have finally clauses also have destructors. Hm, is that true? I know of finally from Java, JavaScript, C# and Python, and none of them have proper destructors. I mean some of them have object finalizers which
905.
▲
by
mort96
10mo ago
Yeah it's a huge mistake IMO. I see it fucking up titles so frequently, and it flies in the face of the "do not editorialise titles" rule: [...] please use the original title, unless it is misleading or linkbait; don&#x
906.
▲
by
mort96
10mo ago
Is this getting downvoted only because I referred to POSIX rather than UNIX? I'm more familiar with POSIX, but I'm 99% sure the UNIX standard also doesn't say anything about the kernel interface...
907.
▲
by
mort96
10mo ago
This doesn't technically answer the question: POSIX doesn't concern itself with the kernel interface, only with the libc. Most POSIX systems have a kernel with a syscall interface that mirrors the libc API so that these libc fun
908.
▲
by
mort96
10mo ago
If Mozilla did that, we'd have monthly news stories about them adding ads into the client, removing features people depend on, cramming in AI where it doesn't belong, abruptly making all sorts of controversial ToS changes, going b
909.
▲
by
mort96
10mo ago
It seems like the Team edition has a bunch of other limitations, but it's hard to tell from how convoluted and incomplete Mattermost's various comparison pages are.
910.
▲
by
mort96
10mo ago
Zulip is a kind of annoying name, and every time I encounter it it's in the context of some open source platform hiding their community discussion forum behind a login. I'm left with a not very great impression.
911.
▲
by
mort96
10mo ago
Yeah what is up with that? When I've tried to look into it I've just been met with statements that palm rejection should pretty much just work, but it absolutely doesn't and accidental inputs are so bad it's unusable wit
912.
▲
by
mort96
10mo ago
Eh it's pretty awful. I get 8 hours, yes, but in Linux, those 8 hours are ticking whether my laptop is sleeping in my bag or on my desk with the lid closed or I'm actively using it. 8 hours of active use is pretty good, but 8 hour
913.
▲
by
mort96
10mo ago
You don't have to maintain the fork and/or update to the latest version if you don't need new features or security fixes . Most people want security fixes.
914.
▲
by
mort96
10mo ago
I don't think I've expressed a "just do everything I want for free" mindset. In fact, I'm pushing against the idea that someone should just fork Mattermost and maintain that fork for free. I do think this developm
915.
▲
by
mort96
10mo ago
Maintaining your own fork is a ton of work. Even if it's just routinely rebasing on upstream and maintaining your own upgrade infrastructure and doing releases, that's far from trivial. The open source community really needs to st
916.
▲
by
mort96
10mo ago
Interestingly, the touch screen of the 2-in-1 worked really well! I often relied on the touch screen to do light web browsing when the trackpad was acting up.
917.
▲
by
mort96
10mo ago
Mostly Arch Linux at the time, though I've had Elementary OS on it as well. I used to run i3 (and eventually Sway) on it, which worked well since I could have a keyboard-centric workflow and not rely o bc the trackpad.
918.
▲
by
mort96
10mo ago
I've had two Dell XPS laptops (a 13" 2015 model and a 15" 2-in-1 2018 model). Both had significant touchpad issues: not sure if that's a driver thing or a hardware thing, but both would sometimes act as if there was a ph
919.
▲
by
mort96
10mo ago
> That's not just busywork - it's also an abstraction violation. You used AI to write this didn't you? Your sentence structure is not just tedious - it's a dead give-away.
920.
▲
by
mort96
10mo ago
It was a response to the sentiment expressed in: > If nobody is maintaining them, do we really need them? Software can have value even when not maintained.
921.
▲
by
mort96
11mo ago
You can actually ban both.
922.
▲
by
mort96
11mo ago
Meh I've worked enough with OpenSSL's API to know that I never ever want to implement SSL over TCP myself. Better let the WebSocket library take care of it.
923.
▲
by
mort96
11mo ago
Well, it also has the advantage of providing pretty decent encryption for free through WSS. But yeah, where that's unnecessary, it's probably just as easy to have a 4-byte length prefix, since TCP handles the checksum and retransm
924.
▲
by
mort96
11mo ago
What if occasional latency is fine, and latency on terrible networks with high packet loss is fine, but you want the happy case to have little latency? Both many (non-competitive) games and SSH falls into this: reliability is more importa
925.
▲
by
mort96
11mo ago
It's the main reason why I use websockets for a whole lot of things. I don't wanna build my own message chunking layer on top of TCP every time.
926.
▲
by
mort96
11mo ago
How much ongoing development effort do you think goes into, say, something like a gzip encoder?
927.
▲
by
mort96
11mo ago
>> TCP_NODELAY can also make fingerprinting easier in various ways which is a reason to make it something you have to ask for > Only because it's on by default for no real reason. I'm saying the default should be off. Thi
928.
▲
by
mort96
11mo ago
There's plenty of use cases for small things which don't need any sorts of speeds, where you might as well have used a 115200 baud serial connection but ethernet is more useful. Designing electronics for 10Mbit/s is infinitel
929.
▲
by
mort96
11mo ago
I "forgive" them too, I have no animosity towards them and wish them the best. I just think that the name communicates a lack of seriousness. That's not a criticism, I have plenty of non-serious projects
930.
▲
by
mort96
11mo ago
In Python, an iterator raises a StopIteration exception to indicate to the for loop that the iterator is done iterating. In Python, the VM raises a KeyboardInterrupt exception when the user hits ctrl+c in order to unwind the stack, run clea
More ›