Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jchb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
jchb
8y ago
Did you try with optimisations enabled? Here is a (trivial) program comparing gcc output between -std=c++14 and -std=c++17: https://godbolt.org/g/VLDhYf . Note that the output code size with -std=c++17 is significantly
92.
▲
by
jchb
8y ago
Yes, but the final version of the C++17 standard was released as late as December 2017, so support may not be "production ready", neither in gcc nor in other compilers. You can the summary of the gcc c++ standard support here: ht
93.
▲
by
jchb
8y ago
Although you are right that the Republican - Democratic struggle about which level of government should be responsible for the patients did play a part, it was not just not about defunding. There was a growing public opposition against inst
94.
▲
by
jchb
8y ago
If we are talking about just-in-time, managed vs ahead-of-time, compiled-to-native, parts of the industry have already been changing course in last 5 years - even if not always with full commitment, but more of a "just in case". J
95.
▲
by
jchb
9y ago
Deinstitutionalisation - reduction of involuntary mental care and closure of large psychiatric hospitals - took full effect? Combine that with (local) economic downturn, veterans returning from Iraq and Afghanistan wars..
96.
▲
by
jchb
9y ago
Agree with what you say, but better be careful with the term "assault rifle", as the people on the other side of this issue will (correctly) point out that the military definition of an assault rifle includes that it has a fully a
97.
▲
by
jchb
9y ago
Don't know about any statistics that cover specifically that segment, but when it comes to new device shipments, it has been reported that iOS + macOS surpassed Windows + Windows Phone already in 2015, and it is estimated that this tre
98.
▲
by
jchb
9y ago
macOS, also the latest version High Sierra, is even certified Unix [0]. Mac has non-standard hardware yes, bespoke software hell yes, but also pretty good standard compliance when it comes to the lower level system interfaces - lower level
99.
▲
by
jchb
9y ago
This is a pretty recent phenomena. The first large immigration wave came in the end of the 60s [0]. Before that, the few foreign born citizens where mostly from the neighboring Scandinavian countries. Until 2017, the largest group among for
100.
▲
by
jchb
9y ago
What about: * Disk reads may unnecessarily trash the CPU caches, because CPU will need to verify the checksum when the DMA read is done, even if the app isn't going to process the data immediately afterwards * Battery life - without ch
101.
▲
by
jchb
9y ago
Apple HFS+ didn't have file data checksums either. The default filesystem on most Linux distributions, ext4 doesn't, it just stores checksums of the file metadata, not the file data. Same story with Windows NTFS filesystem. Micros
102.
▲
by
jchb
9y ago
Right, jimmy1 comment about immigration breaking the Greece economy seems factually incorrect. While handling the immigration flow was pretty expensive (sources say a few percentage points of GDP) that bill has largely been footed by U.N an
103.
▲
by
jchb
9y ago
The issue of immigration is not just about whether there is enough money, it is also about how willing people are to pay. The states with the best public welfare systems, usually considered to be those in Scandinavia, have historically had
104.
▲
by
jchb
9y ago
Would it be fair to say that the political entity one step above the municipalities (whatever that is in Denmark) are not doing their job? I mean not doing their job on standardising things that can be in common between the municipalities.
105.
▲
by
jchb
9y ago
I am curious why a municipality needs custom software. I mean, the scandinavian countries had standardised paper forms for most municipal tasks (population register, ledgers etc) already in the 17-18th century, and those were used nationwid
106.
▲
by
jchb
9y ago
They might want to consider using clang nullability annotations (_Nullable etc) when compiling on clang. Can use a macro so it becomes a noop when the compiler does not support it. The static analyser would then get a lot of more informatio
107.
▲
by
jchb
9y ago
Just totally speculating here, but there are some class action suites regarding the Apple battery debacle. Maybe they had to provide source code as part of pre-trial discovery, and it got leaked that way?
108.
▲
by
jchb
9y ago
System Preferences -> Accessibility -> Reduce motion X, Reduce transparency X ? Not sure what you mean by "gfx switching", as far as I know all 12" Macbook have only a integrated graphics card, no discrete graphics card
109.
▲
by
jchb
9y ago
The way you are framing it, it sounds like Lindgren did a bad thing in criticising the Social democrats, but in the end she remained committed to socialism, so she ended up on the "safe side". Or being "good socialist" i
110.
▲
by
jchb
9y ago
Not sure where I drew that parallel. I think we aren't discussing the facist angle in this sub-thread. What you are saying regarding Lindgren is correct, but the point is that the Social Democrats went to far, as they drew heavy critic
111.
▲
by
jchb
9y ago
It was not a specific tax that targeted IKEA. But there was a set of taxes and regulations that one could say targeted all major "owners of capital". Until 1989, the corporate tax was 52%. Yes there were various deductions, but st
112.
▲
by
jchb
9y ago
You mean Sierra / High Sierra. This is because of compatibility breaking changes to some low-level kernel system calls. Since valgrind is essentially a CPU emulator, it is tightly integrated with the OS kernel, and has to be updated a
113.
▲
by
jchb
9y ago
Actually the welfare system is pretty extensive, but many people who need help are hesitant to use it. To quote of one of the guys in the article you linked: ''I could have used it, but I have too much pride,''. That quo
114.
▲
by
jchb
9y ago
What's the scenario where you would want to do that? I understand there's a (theoretical?) scenario where you want to minimise latency between screen rendering (or input handling?) and presentation. But if you use double buffering
115.
▲
by
jchb
9y ago
If you use OpenGL or Metal with triple buffering (the blog post mentions MTLView which is a Metal view) I believe this doesn't matter. You'll only be using the CVDisplayLink timer events to generate frames spaced at a even interva
116.
▲
by
jchb
9y ago
Do you have any antivirus or (shady) anti-malware software installed? Not necessarily the problem, but it wouldn't be the first time..
117.
▲
by
jchb
9y ago
Yes, same as the camera record permission (NSCameraUsageDescription).
118.
▲
by
jchb
9y ago
Sure, that link is broken, which isn't ideal, but the media formats supported are documented: https://developer.apple.com/library/content/documentation/Mu... In the same document there is a section title
119.
▲
by
jchb
9y ago
You are partly right about the implementation coverage. For a lot of embedded development where you can't cross compile with a modern compiler it's of course an issue. For major desktop and mobile platforms, I don't see an is
120.
▲
by
jchb
9y ago
Well, in some European countries the drivers do not handle any cash or tickets. Both for safety reasons and for the fact that having a queue of people waiting to buy tickets from a single driver introduces latency. Instead, there's a t
More ›