Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
z_open
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
z_open
1y ago
I am. Every time I cd I ls even though I know what's in there.
32.
▲
by
z_open
1y ago
Throwing a runtime error seems like an absurd solution compared to changing the comparison operator or using an unordered_map What's wrong with x.min < y.min || (x. min == y.min && x.max < y. max)
33.
▲
by
z_open
1y ago
assembly catches integer overflow. You just need to check the flag.
34.
▲
by
z_open
1y ago
reddit has become unusable with the bots. It's really a shame to see now even universities doing it. I think in the future we will have to find a way to verify if users or posts are real. Otherwise it will end up being dystopian wastel
35.
▲
by
z_open
1y ago
Does your course not have exams or in-lab assignments? Should sort itself out. Honestly, I'm all for homework fading away as professors can't figure out how to prevent people from using AI. It used to be the case that certain kids
36.
▲
by
z_open
1y ago
It is a chrome developer. His claims that he was raising the quality level of the web are particularly hilarious given that he worked at google. Maybe the salary of google blinds people into believing this.
37.
▲
by
z_open
2y ago
His opinions on include files have fallen out of favor because compiling is faster and it adds needless work. Are there organizations that still do this? All the style guides I've seen do not.
38.
▲
by
z_open
2y ago
auto is insane seeing as how it's already a reserved keyword in C.
39.
▲
by
z_open
2y ago
What about group chat encryption? You can not possible say telegram is more secure than signal or WhatsApp. What did I say that made me an apologist for government overreach? I recommend users use Signal? Your accusation is unfounded when I
40.
▲
by
z_open
2y ago
Why don't you post it yourself. And why should I care about what he says when telegram has some of the worst default encryption settings among commonly used messaging apps in the west?
41.
▲
by
z_open
2y ago
somewhat unrelated but it's worth pointing out that noexcept is more specific for move semantics. In fact most c++ developers believe that throwing an exception in a noexcept function is undefined behavior. It is not. The behavior is d
42.
▲
by
z_open
2y ago
Many C++ features are useless outside of writing libraries, but your typical developer is going to be forced to understand how they work at some point. The result is just a burden.
43.
▲
by
z_open
2y ago
Half of their games didn't amount to much more than child gambling. I guess the saving grace is that people weren't there very often. Still I'd be curious to know if there is any sort of research as to whether childhood gambl
44.
▲
by
z_open
2y ago
I don't think reddit let's you do this in anymore than a superficial way. I think reddit keeps the old edits internally so it won't harm the LLM. There were reports after the last protest of reddit reverting mass edits.
45.
▲
by
z_open
3y ago
There are two characters for t, h, s, d, th, and k. The two characters for each are pronounced a bit different.
46.
▲
by
z_open
3y ago
Even in the US grassfed is less than 1%. It's just not sustainable.
47.
▲
by
z_open
3y ago
Veganism doesn't solve every issue, but it makes them better almost immediately. For the problem you mention, we would need to farm substantially less with Veganism. Feed ratios for cows is around 7:1 when I checked last. So it absolut
48.
▲
by
z_open
3y ago
People are still really viscerally against veganism. Really this isn't even close to the main issues with the animal husbandry industry, including famine in developing countries https://planetforward.org/story/the-
49.
▲
by
z_open
3y ago
This is not idiomatic C++ in any C++ standard. You can also just replace vector with map so the brackets insert, but that isn't either.
50.
▲
by
z_open
3y ago
That's why I asked what the bar was? If Google is writing shitty C++ even with the world's eyes on their code base, who is doing it right? No one writing anything sufficiently complicated that's for sure.
51.
▲
by
z_open
3y ago
Go look at the CVEs and github issues of modern C++ codebases. Your statement is nonsense. Chromium is still plagued by use after free. How high do you set the bar? Which codebases are we allowed to look at?
52.
▲
by
z_open
3y ago
How is that memory safe? Even vector out of bounds index is not memory safe.
53.
▲
by
z_open
3y ago
> Tekken boss says microtransactions are prevalent because dev costs are larger In fact I think games are much cheaper to make than they used to be. The number of great games made by a single person or a small team would have been almost
54.
▲
by
z_open
3y ago
Changing well known behavior for something no one is really going to need. The justification makes sense, but it breaks convention and the relationship with modulo doesn't need to hold for negative numbers.
55.
▲
by
z_open
3y ago
These need to stop being posted. These bots give different answers to the same questions constantly. There's not much definitive that can be gathered from these snippits.
56.
▲
by
z_open
3y ago
Don't force it. Find something else in life you like and leave computer science as a job. Liking your job is a tall order few end up with. It's not a failure to not have it. That's why hobbies and family or friends exist.
57.
▲
by
z_open
3y ago
Really cool. Just tried it with notepad++ and it seemed to work as expected. Can't find a use case for me yet but may come up.
58.
▲
by
z_open
3y ago
C++ and C are no longer used for the same types of projects so C++ is not a better C.
59.
▲
by
z_open
3y ago
The auto keyword seems like a strange addition given it's already a C keyword with a different meaning and this change won't help developers that much. It's more useful in C++.
60.
▲
by
z_open
3y ago
In my opinion, watching movies is ineffective until you can read the subtitles in the target language. This is at the B1/B2 level. Before that you're just focusing on the native language. Once you hit the B levels, things get easi
More ›