Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
usrnm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
571.
▲
by
usrnm
3y ago
Yes, you can write an OS in Go. Or Python, or Basic, or any other Turing-complete language for that matter. The language is not the problem, the real problem with creating new OSes is the fact that nobody really needs them, it's a solv
572.
▲
by
usrnm
3y ago
Does ChatGPT really work better in this case than a bunch of if statements and a random number generator?
573.
▲
by
usrnm
3y ago
Kitchen and bathroom are physical things and do deteriorate with time and use. Software not so much
574.
▲
by
usrnm
3y ago
Callee: creates a complex object and does several steps of initialisation. Last step fails, so it returns a partially initialized object and an error. Caller: checks the error, which is not fatal, but expects to get a nil in this case. Ends
575.
▲
by
usrnm
3y ago
(result, error) is very bad. It forces you to return some result even if there was an error. I've seen real production problems caused by using this garbage value after an error has happened.
576.
▲
by
usrnm
3y ago
Having to retire isn't particularly nice, either
577.
▲
by
usrnm
3y ago
On the other hand, these photos show us a country where old people can live a full life regardless of their age. They are working, they have something to do and the society doesn't just shove them aside as some goods past their expira
578.
▲
by
usrnm
3y ago
People who don't want to run an org just don't run one. It's not like someone forced him to take all that money
579.
▲
by
usrnm
4y ago
A bit late to jump on your high horse, m8, it's an American site after all
580.
▲
by
usrnm
4y ago
13:00 UTC
581.
▲
by
usrnm
4y ago
The EU has its own oil and gas as well, they just don't want to deal with them anymore. See Groningen, for example: https://en.m.wikipedia.org/wiki/Groningen_gas_field
582.
▲
by
usrnm
4y ago
> Microsoft should have just made F# the C# successor. You underestimate the importance of compatibility and familiarity for existing developers. You can show C# code to any C++, Java or even JS programmer and expect them to grasp the id
583.
▲
by
usrnm
4y ago
You're forgetting promotions
584.
▲
by
usrnm
4y ago
Most programming jobs neither require nor actually need a CS degree. I don't have one and I'm doing pretty ok. Gluing frameworks together is not exactly difficult and has nothing to do with lambda calculus or compiler internals
585.
▲
by
usrnm
4y ago
> Compared to what? Nurses? Our job is a lot easier and less important and working conditions are much better. And yet, a fresh grad straight out of school gets a few times more money than an experienced nurse. And, what is worse, a lot
586.
▲
by
usrnm
4y ago
> Memory leak is an old C++ problem, since C++11 there is no reason for not using smart pointers. C++11 did not invent smart pointers, pretty much every C++ project had already been using them long before they were added to the standard.
587.
▲
by
usrnm
4y ago
He died in the original trilogy, though
588.
▲
by
usrnm
4y ago
Safety wasn't fashionable back then
589.
▲
by
usrnm
4y ago
I worked on a greenfield web application in C++ last year. It still is a viable choice for web backend even today.
590.
▲
by
usrnm
4y ago
Nah, my friends know better than use a system I built
591.
▲
by
usrnm
4y ago
> All of us who do creative work, we get into it because we have good taste Or because it is a relatively simple white collar job that pays crazy money. Which is more likely?
592.
▲
by
usrnm
4y ago
With each tool using its own macro-based DSL for managing them. That would be fun
593.
▲
by
usrnm
4y ago
In the same way as building bridges and math are the same thing. There is some overlap, but not much for the every day tasks. If you want to build something completely new and unprecedented, you will need a lot more math, but still it will
594.
▲
by
usrnm
4y ago
Yeah, it's funny how go does have exceptions, but no notion of exception safety. Manual mutex locks/unlocks are everywhere, and don't even start me on defer, which is just terrible
595.
▲
by
usrnm
4y ago
> Which leads me to wonder: do we really always want the very latest version or the packages? Not really, but then someone needs to decide what version to use and when/how this version is updated. For every single dependency. I agre
596.
▲
by
usrnm
4y ago
If it's deterministic, the compiler cannot actually choose the best way to optimise it.
597.
▲
by
usrnm
4y ago
So, it's closer to C++ wrt safety, not Go or Rust.
598.
▲
by
usrnm
4y ago
> it is not related to the visually similar Russian letter E Well, it is very much related to it historically, but it's beyond the point. Just nitpicking, sorry
599.
▲
by
usrnm
4y ago
So? I'm going to transliterate stuff from Russian with ё from now on, it just looks great. A language is whatever we want it to be, after all
600.
▲
by
usrnm
4y ago
You probably meant French, because the word is just borrowed from French, including the dots.
More ›