Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ace17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
Ace17
7y ago
When was the last time you checked the return value of 'printf' ? Would you consider it a good thing to be forced to do? Moreover, there are functions for which "not ignoring" the return value isn't the same as &quo
92.
▲
by
Ace17
7y ago
"But ophthalmologists aren’t worried. The blue light emanating from the sun drastically overpowers any rays coming from your screen. And so far, all of the research on how real human eyes react to blue light has failed to link screens
93.
▲
by
Ace17
7y ago
How will you be able to trust such generated code? What if you forgot/mistyped one of your tests?
94.
▲
by
Ace17
7y ago
The intent of the author is not very clear. Of course there are duplicate features, that's an obvious downside to keeping backward compatibility while still allowing improvement. If two equivalent/overlapping features were introdu
95.
▲
by
Ace17
7y ago
> You should just assign a different compression factor to the chroma channels instead [of subsampling chroma]. The good news is that we don't need to change the H.264 standard for this. Supposing that: - most of the already deploye
96.
▲
by
Ace17
7y ago
If your tests: - run fast (<10s) - run on your local machine - run on your local code (including uncomitted diffs) ... whether they're called "integration" or "unit" tests doesn't matter, as they will detect
97.
▲
by
Ace17
7y ago
> About the first one, that's also another problem, BIOS doesn't have standard protocol, if there would be such, there would be one standardized way to detect the memory layout. It's the same for almost all hardware: graph
98.
▲
by
Ace17
7y ago
All my projects have a top-level 'check' script, which always does, in order: - reformat the whole codebase - build (if needed, e.g a C++ project) - run all tests The programming workflow is then: - edit code - run the 'chec
99.
▲
by
Ace17
7y ago
The benefit (compared to more classic formatting) only occurs if you're inserting at the end of the argument list. If adding stuff to the end of a class or of an argument list is your most frequent case, you might have a software desig
100.
▲
by
Ace17
7y ago
> My fictive grand kids will be able to play those games long after the worms have gnawed my bones. I would love that you be right. And by far, I strongly prefer physical media. However, physical media is no guarantee either. - Sometimes
101.
▲
by
Ace17
7y ago
Debugging is reverse-engineering, i.e trying to understand what's really happening inside a program. It necessarily implies some loss of control over the code you (or somebody else) wrote, i.e you're not sure anymore of what the p
102.
▲
by
Ace17
7y ago
This very much looks like the scientific method, applied to software.
103.
▲
by
Ace17
7y ago
> Please do tell use about these nonsexual ways. Sharing syringes (e.g between drug users).
104.
▲
by
Ace17
7y ago
> Unfortunately, most interesting questions in life don't have single, un-debatable, simple answers. Because as soon as they have, they stop being interesting.
105.
▲
by
Ace17
7y ago
phaedrus explained why use an infix operator, but why specially the shift operator? My guess: because it has very low precedence, allowing stuff like: > cout << a + b * c << " is the result\n"; Instead of: > cout
106.
▲
by
Ace17
7y ago
> we just add a delete operator to free memory explicitly and an exception which is thrown if the program dereferences a pointer to freed memory. Is there any sensible thing to do when this exception is caught, appart from halting the pr
107.
▲
by
Ace17
7y ago
"Perhaps consciousness arises when the brain's simulation of the world becomes so complex that it must include a model of itself" ( Richard Dawkins - The Selfish Gene ) Is consciousness different from self-awareness? Because
108.
▲
by
Ace17
7y ago
Too bad, the article only deals with how to recognize individual components (like a french dictionnary that would be entitled "how to read french").
109.
▲
by
Ace17
7y ago
I fail to see how this takedown benefits Nintendo. How could a C64 port of a NES game released more than 30 years ago could threaten any sale of anything ?
110.
▲
by
Ace17
7y ago
> Past tense is not necessarily programmer-centric. Release notes are generally written in the past tense (with headings like Added/Changed/Removed). ... which makes past-tense release notes "team-centric". In other w
111.
▲
by
Ace17
8y ago
Yes. But the point was that Mozart didn't need to be rich to do great music. Whether he deserved to be rich is another question (more related to morale than economics).
112.
▲
by
Ace17
8y ago
> Before recorded music, a live band (or one man show!) was the only game in town. Don't forget the orchestra. Unless you consider it to belong the "live band" category :-)
113.
▲
by
Ace17
8y ago
> It's a bad argument. It ignores the fact that humans progress by division of talent and labour. I suspect the "bad" argument is actually compatible with division of talent and labour. Could you explain the link between t
114.
▲
by
Ace17
8y ago
TL;DR: "Calling a function with parameters is just another form of synchronous message passing, either by-reference or by-value [...] But yes, we already have message-oriented programming languages—if you squint the right way"
115.
▲
by
Ace17
8y ago
> The report [...] hasn’t yet been peer-reviewed. It didn’t test any object-detection models actually being used by self-driving cars, nor did it leverage any training datasets actually being used by autonomous vehicle manufacturers.
116.
▲
by
Ace17
8y ago
> the fact remains that darker skinned people are harder for machine vision systems to work with due to the lack of contrast. Is it also harder for human drivers?
117.
▲
by
Ace17
8y ago
I think you're confusing "music" with "radio" here.
118.
▲
by
Ace17
8y ago
> the closed source nature of many services / software [...] in some case is necessary for that platform’s very existence. Could you please give an example of this? Beware of arguments like "had it been free software, it couldn
119.
▲
by
Ace17
8y ago
Here's all you need to track header file dependencies. Basically, when compiling a .cpp file to generate a .o file, a corresponding .deps file is also generated. And at make startup, we include all the .deps files we find in the bin (o
120.
▲
by
Ace17
8y ago
ECS is the "microservices" of game development : it's touted as the way to go, and in some cases it's the best solution, but it comes with increased wiring complexity cost, and the hype surrounding it causes it to ofte
More ›