Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AlexanderDhoore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
AlexanderDhoore
5y ago
A certain amount of scepticism is needed if you want to survive on the internet :)
62.
▲
by
AlexanderDhoore
5y ago
"inspect the definition" Yes, that's what I meant with "the compiler can do it".
63.
▲
by
AlexanderDhoore
5y ago
Do you mean that C++ could have done without `constexpr` and could have used the existing `const`? Because that has been my feeling for a very long time. Why not expand the meaning of const in certain contexts. Compilers know if something c
64.
▲
by
AlexanderDhoore
5y ago
This obsession with productivity is not healthy, and a young man's game. Relax for a second, will ya. Think before you act.
65.
▲
by
AlexanderDhoore
5y ago
Yes. And so is working from home. It's all broken.
66.
▲
by
AlexanderDhoore
5y ago
I used to run OpenELEC on a 1th gen Apple TV back in the day. Good times. EDIT: And my jailbroken iPod Touch was the remote!
67.
▲
by
AlexanderDhoore
5y ago
As an embedded C guy this makes me so happy. Yes, that second line allocates and the fact that it is hidden makes me nervous. I want a programming environment that exposes all of the complexity and makes me deal with the consequences.
68.
▲
by
AlexanderDhoore
5y ago
What is the "revolutionary battery checklist" meme comment?
69.
▲
by
AlexanderDhoore
5y ago
Great naming choice. Won't be confusing at all.
70.
▲
by
AlexanderDhoore
5y ago
Nope, printf can print strings without NULL-terminator: printf("%.*s", <int>length, <char*>string);
71.
▲
by
AlexanderDhoore
5y ago
I do this as well. At some point I googled around and didn't get a straight answer. So I've been using snprintf() for all my string manipulation ever since. My productivity is more important than a sliver of performance.
72.
▲
by
AlexanderDhoore
5y ago
Exponential growth on a finite planet. What could go wrong.
73.
▲
by
AlexanderDhoore
5y ago
The trend is what matters, not the individual events. These "outlier" events are now happening regularly, so the trend has changed. Because climate change.
74.
▲
by
AlexanderDhoore
5y ago
Global increase of 4°C means about 8°C increase on land (roughly double). Anything past 3-4°C global increase is just destruction of a massive scale. Just 2°C would be manageable, but we are going to shoot past that really fast (me things).
75.
▲
by
AlexanderDhoore
5y ago
Your point being that this is completely untrue? Normal people have absolutely not learned how to program/automate using computers. All companies I've seen from the inside either use excel for everything or have dedicated personne
76.
▲
by
AlexanderDhoore
5y ago
Solution: don't use copy-on-write?
77.
▲
by
AlexanderDhoore
5y ago
Maybe this way you can arrive before all the rooms are full!
78.
▲
by
AlexanderDhoore
5y ago
Page size becomes latency when your connection is slow.
79.
▲
by
AlexanderDhoore
5y ago
Note how I said "sells" ;)
80.
▲
by
AlexanderDhoore
5y ago
To this day HP still sells "plotters". They are just mostly used for cutting but you can definitely put a pen in there. And they have an optical eye to read markers on the printed media. See HP Latex cutter: https://www
81.
▲
by
AlexanderDhoore
5y ago
CO2 levels at 418 ppm right now. It's not just rising but accelerating up. When are we going to start fixing this exactly? https://www.co2.earth/daily-co2
82.
▲
by
AlexanderDhoore
5y ago
"Well, let's just add another level of indirection." Modern software development in a nutshell.
83.
▲
by
AlexanderDhoore
6y ago
5 kilometer = 5000 meter = 500 000 centimeter = 5000 000 millimeter. Now you do this for 5 miles (yard, feet, inches).
84.
▲
by
AlexanderDhoore
6y ago
Is there a /r/nottheonion but for programming? You can't make this stuff up. "In C++20 stateless lambdas are default constructible and assignable which allows to use a type of a lambda to construct/assign it later.
85.
▲
by
AlexanderDhoore
6y ago
Maybe not in a sane language. But apparently it is in C++.
86.
▲
by
AlexanderDhoore
6y ago
As I understand it the law in Anglo Saxon countries is closer to the "precise definitions" system, while European Napoleonic Code law is closer to "you know what we mean". In the US you must follow the letter of the law.
87.
▲
by
AlexanderDhoore
6y ago
What percentage of total population were the Boomers? What percentage is gen X? Or just calculate how much they had/have per person. That's what counts.
88.
▲
by
AlexanderDhoore
6y ago
Does Ada have real memory safety features? Or is it of the "better than nothing" C++ kind? For example: are array out-of-bounds checked? Or prevented at compile time? What about overflow? ...
89.
▲
by
AlexanderDhoore
6y ago
In python everything is boxed. EDIT See https://news.ycombinator.com/item?id=12418985
90.
▲
by
AlexanderDhoore
6y ago
Only because all criminals have guns. Because guess what. Guns are legal.
More ›