Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
kaba0
2y ago
> It's so bad that there are companies promising JDK8 Come on, that's absolutely not the reason behind. That just means that there are banks and such that still run goddamn windows XP completely firewalled off from the internet
62.
▲
by
kaba0
2y ago
It's only on Go, leave Rust out of it. Rust's safe part is entirely memory safe. Unsafe is the escape hatch, which pretty much every language has in the form of FFI.
63.
▲
by
kaba0
2y ago
Logic bugs != memory safety bugs. E.g. in java you can mess up your logic with data races, but the racing itself is safe and can never cause the VM to enter an invalid state.
64.
▲
by
kaba0
2y ago
That would mean it, yes. And yeah there is a bug in rust's borrow checker which can trigger something like that for some very special, "no human will ever write code like that" case. But this is an implementation detail for a
65.
▲
by
kaba0
2y ago
How is it not material? You only need to accidentally write and read a map at the same time in language that is supposedly for concurrency (which is why not the same as parallelism, in its case it does largely correlate). This is a ridiculo
66.
▲
by
kaba0
2y ago
The old way has literally no way to differentiate between a frozen process and one that just simply wants to keep on running after the session's end, e.g. tmux, screen. It's trivial to run these as a user service, which can linger
67.
▲
by
kaba0
2y ago
There is no other way - most error conditions can't be dealt with at the place where the error happened. A parseInt failing is meaningless at the local scope, the error handling depends on who is the caller.
68.
▲
by
kaba0
2y ago
No, go has GOd awful error handling, it is C's errno wrapped in a slightly different syntax.
69.
▲
by
kaba0
2y ago
Yeah, it's a routinely mistaken term in CS, I have met plenty interviewer who I had to correct on it (most languages, but java is also pass-by-value. It just passes objects by pointer value. C is also always pass-by-value. C++ is one o
70.
▲
by
kaba0
2y ago
The key point may be (summarizing from memory): a function signature can be backwards compatibly changed by either making a parameter it accepts nullable from a non-nullable type, and/or by making the return type non-nullable from a nu
71.
▲
by
kaba0
2y ago
It mandates strict session termination, unlike the unsustainable wild west approach of older Unix systems. Proper resource deallocation is crucial for modern service management. When a user exits without approval of "lingering user pro
72.
▲
by
kaba0
2y ago
Arch changed to systemd in 2012, at which point systemd was 2 years old. It surely had quite a few growing pains, but I don't think that's representative of the project. In general it was the first init system that could properly
73.
▲
by
kaba0
2y ago
I see you, but win XP was literally end of life 10 years ago.
74.
▲
by
kaba0
2y ago
That RAM is unified though, not a good comparison. Also, just because something holds true at large numbers doesn't mean it scales all the way down. Either due to economies of scale, or the negligibly different architecture/compon
75.
▲
by
kaba0
2y ago
> It increases boot times Is it really the case? On desktops it is significantly faster than all the other alternatives. Of course if you do know your hardware there is no need for discovering stuff and the like, but I don't know. W
76.
▲
by
kaba0
2y ago
Well, if it doesn't handle a notoriously hard area basically at all, then frankly it's a pretty bad data point to bring up.
77.
▲
by
kaba0
2y ago
Is it a 6 years old take or what? Because it certainly is very smooth on even low-end machines nowadays.
78.
▲
by
kaba0
2y ago
I mean, that's just a register. The memory region itself is not special in any way, a random "heap" region that would be similarly frequently accessed would be just as fast.
79.
▲
by
kaba0
2y ago
Historically they do, and currently they don't because their biggest market is server machines where Linux is the de facto choice. It's a life or death question for them to properly support the Linux kernel.
80.
▲
by
kaba0
2y ago
Do you know of a language that supports interface versioning? I often wished for one (as I like writing programs by "iterative refining", where I basically copy the good parts into a completely new project), but have never heard o
81.
▲
by
kaba0
2y ago
Does it?
82.
▲
by
kaba0
2y ago
I mean, most people don't buy a new phone each year, let alone something as expensive as a laptop. They are probably still targeting Intel Mac, or M1 users for the most part.
83.
▲
by
kaba0
2y ago
It's optimizing as in previously it had far less attention.
84.
▲
by
kaba0
2y ago
Except for the M-line where they went out of their way to make it possible in a secure way..
85.
▲
by
kaba0
2y ago
> If you think you want to run Linux, don't buy hardware from a company that views it as a threat to their business model, simple as that. Show me any hardware that is 100% "libre"? Even the pinephone itself has plenty o
86.
▲
by
kaba0
2y ago
How is that apple's fault, nor any form of "deliberate attack"? Like, come on, neither of the parties are malicious, especially not for the sake of it.
87.
▲
by
kaba0
2y ago
Even though, there are no lack of issues that are simply not cared about. E.g. thermal throttling for ThinkPads is a very annoying problem the best solution to is simply a python script that just periodically overwrites a memory location.
88.
▲
by
kaba0
2y ago
Are we living in the same world? Nvidia only recently started caring about Linux (due to profit obviously, it turns out servers don't run anything else nowadays). May I remind you of the famous `--my-next-gpu-wont-be-nvidia` flag in Li
89.
▲
by
kaba0
2y ago
Is it really a far comparison? Apple has a proper bootloader capable of secure booting 3rd party OSs. What part of the open-source ecosystem was built differently? It just so happened that after possibly even more painstaking reverse engine
90.
▲
by
kaba0
2y ago
I am going on a bit of a tangent here, but I always wondered, are those of you who use absolutely huge event-driven architectures, have you ever got yourself into a loop? I can't help but worry about such, as event systems are fundamen
More ›