Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asgfoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
asgfoi
11y ago
As mentioned by maintainers in the thread there is already a flag to catch unsigned overflows Too bad such a flag doesn't exist.
2.
▲
by
asgfoi
11y ago
You seem to be unaware of Ludum dare and similar challenges where (literally) thousands of games are created over the weekend that could easily compete with games made in the 80's. Skill is still here, it is just muted by the modern me
3.
▲
by
asgfoi
11y ago
Nice example. More people should know that the second if statement is unreachable code.
4.
▲
by
asgfoi
11y ago
As mentioned by maintainers in the thread there is already a flag to catch unsigned overflows. They even mentioned a way to catch those overflows in the code. I can't seem to find that flag. Only ftrapv for signed, but none for unsig
5.
▲
by
asgfoi
11y ago
Correlation without causation? What if people that don't keep the phone in their pants life a different lifestyle that is different enough to cause the observed discrepancy.
6.
▲
by
asgfoi
11y ago
That place should be relaxing and should feel like home, because it is. Keeping different levels of authority separated in different houses would be mandatory. Additionally workers living in the same house shouldn't be working on the
7.
▲
by
asgfoi
11y ago
Slightly off topic, but it really isn't hard to find partitions. Just run the various software to scan and that's it. I've done it at least twice when accidentally erasing a windows partition (once with fdisk when I misread t
8.
▲
by
asgfoi
11y ago
Yes I agree. I can't be a coincidence. They deliberately picked the best weapon in this debate, biased public opinion.
9.
▲
by
asgfoi
11y ago
Do you think they choose to ask Apple to do this in such a public way, because they are very confident the phone will contain information that will help with the investigation, which will make a positive precedent about this method for futu
10.
▲
by
asgfoi
11y ago
Don't touch the Rolex.
11.
▲
by
asgfoi
11y ago
How sad it is that the can of coke is used as a comparison. It almost makes it look like a reasonable drink. The World Health Organization has recently suggested cutting the recommended sugar intake for adults in half, to about 25 grams, a
12.
▲
by
asgfoi
11y ago
If facebook doesn't want to delete his account, why don't you unfriend him?
13.
▲
by
asgfoi
11y ago
For the former it really depends on your position. If on foot and on a monotonous route, then maybe if you can handle thinking in 5 minute bursts, anything else, not a chance. You'd be surprised how much of a workload just sorting and
14.
▲
by
asgfoi
11y ago
Uh, thanks for pointing that out. I'm familiar with allocated memory and effective type, but I never considered it from this perspective. This could be quite a nasty surprise when the only change in the code is storage duration.
15.
▲
by
asgfoi
11y ago
I was also under the impression that the One True Way to type pun was to cast to char , which is allowed to alias, and then cast again to the type you actually want.* That clearly doesn't work, but I can see from a naive perspective w
16.
▲
by
asgfoi
11y ago
The problem they are addressing is already solved. Simply say at time X Y, where X is the time and Y is the offset, preferably an established offset. We meet at 12:00 GMT Done Everyone only needs to remember one number, their local offs
17.
▲
by
asgfoi
11y ago
Assuming no accretion disks, there wouldn't be any em radiation as far as I know. Where would it come from?
18.
▲
by
asgfoi
11y ago
It felt nice when you had to physically meet a person to exchange the latest meme. The physical vicinity adds so much quality to the social experience. I cannot talk to friends the same way over char or even the phone than in person, it jus
19.
▲
by
asgfoi
11y ago
I don't think they are insane. It is safe if you follow some rules. Flag -Wformat=2 catches every mistake at compile time. (It wont guard against overflow of course, but this is C) The last example is explicitly defined in the Standard
20.
▲
by
asgfoi
11y ago
Isn't a modern strlen optimized into vector operations if possible anyway?
21.
▲
by
asgfoi
11y ago
That's nothing, you should see the sad sad state of strings in assembly... Oh you're supposed to manage them yourself? Huh, what a concept. Seriously though, a C programmer should know the downsides of C strings, and act according
22.
▲
by
asgfoi
11y ago
The space is expanding and its expansion rate is accelerating. Dark energy is not pushing objects apart, it is causing the acceleration of expansion of space. What you said isn't even pop science, it is blatantly wrong. https:/&#
23.
▲
by
asgfoi
11y ago
The galaxy isn't traveling faster than c away from us, but space is being created in between. So, nothing is actually accelerating, there is no problem, Einstein is still right. In fact, space is being created everywhere, including you
24.
▲
by
asgfoi
11y ago
Methods of both parties will evolve, but ultimately as long as the user has control over his computer(no hardware DRM), he can display whatever he wants.
25.
▲
by
asgfoi
11y ago
Here goes another one: echo 127.0.0.1 www.wired.com >> hosts
26.
▲
by
asgfoi
11y ago
Watching the video is tech: John Carmack(from the video): This is in now way replacement for highly sophisticated apps... ...you should clearly be using Unity or Unreal, you should be using a real game engine. If you have to do a lot of in
27.
▲
by
asgfoi
11y ago
I tried to compile it, and I also couldn't find any other flag, than -Wconversion , that would detect this: for(i = 0; i < length; i++) sum += a[i] * b[i]; ^ I managed to hide the error i
28.
▲
by
asgfoi
11y ago
I wonder how many of them would be caught using a very strict compiler flag regime. For the winner, perhaps the gcc flag, -Wmissing-prototypes would catch it?
29.
▲
by
asgfoi
11y ago
Can you provide the source? I would also like to check.