Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kevinnk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
kevinnk
13y ago
For C, you could use something like GDB's checkpoint which uses fork to save the current state.
182.
▲
by
kevinnk
13y ago
It's hard to generate high quality error messages with current generators unfortunately. More common nowadays is building first with a generator and switching to recursive decent when it becomes too unwieldy.
183.
▲
by
kevinnk
13y ago
It's a joke.
184.
▲
by
kevinnk
13y ago
Many ARM processors are in order. Also Itanium.
185.
▲
by
kevinnk
13y ago
I think a solution for this would be to have the "self driving" speed limit be 10-15mph faster then the normal limit on highways. Since driverless cars can react faster this wouldn't cause more accidents and it would allow dr
186.
▲
by
kevinnk
13y ago
> The only language I know, which explicitly targets C++ is D, but it is not there yet completely. Though, depending on your needs it might enough and it is an improvement over C++. And Rust. Although it has its own issues as well.
187.
▲
by
kevinnk
13y ago
While this would be cool, I'm not exactly sure under what circumstances this would be useful.
188.
▲
by
kevinnk
13y ago
> "Still, though, even if only ten percent of these are related to national security, that's four thousand threats to our security last year--from Yahoo!'s user base alone." The problem with this line of reasoning is
189.
▲
by
kevinnk
13y ago
Really? I just asked 5 people around me. None of them have ever had an American history class that covered WW2 and not cover the internment camps.
190.
▲
by
kevinnk
13y ago
> The notion that poor memory cache efficiency is inherent with GC's is not terribly well founded. It may not be "inherent" to GC, but in practice every GC that I'm aware of has terrible cache efficiency compared to m
191.
▲
by
kevinnk
13y ago
The point is more that for most lawmakers there's not really a need to read all of the nitty gritty legal language. If you're a House Rep from Kansas who's core issue is corn subsidies, reading all of the PATRIOT Act isn'
192.
▲
by
kevinnk
13y ago
>It was obvious from the length of the act alone that even Congressional staffers couldn't have read it carefully between the time of submission and the time it passed. This is a little off topic, but I always see this trotted out w
193.
▲
by
kevinnk
13y ago
Vitamin D enrichment is required for most milk in the USA, and according to wikipedia virtually all first world countries have a similar law.
194.
▲
by
kevinnk
13y ago
I'm from Ann Arbor and have lived in New York. The tech scene in Ann Arbor is quite strong, especially considering its only a town of 110k or so. Most of our startups and incubators are centered around the university, so I would recomm
195.
▲
by
kevinnk
13y ago
Assuming we're talking about the "other" UofM, I would hardly call what happened "doing nothing about it." It was almost certainly an egregious failure on the part of a couple individuals, but it was more about a la
196.
▲
by
kevinnk
13y ago
Something doesn't have to be legal tender to be taxed. If I'm a home builder I don't avoid paying taxes by being payed in, say, a house rather than USD. I still have to report it as income.
197.
▲
by
kevinnk
13y ago
Citation needed, I'm not a tax expert but based on what advice I've previously been given and on http://www.irs.gov/Individuals/International-Taxpayers/U.S.-... I'm pretty sure that's not true.
198.
▲
by
kevinnk
13y ago
> For the same reason we trap on integer division by zero. We trap on division because it is objectively a programmer error that has no obvious right answer. Division is also a relatively expensive and much less common operation for the
199.
▲
by
kevinnk
13y ago
I think you may not have understood my question. It is _trivial_ to detect integer overflow in virtually every major cpu I've ever seen. x86, ARM, PPC, MIPS, and many, many more all support this in a single instruction. Trapping, on the oth
200.
▲
by
kevinnk
13y ago
No one said that... -Werror is good when you are developing, not when you are compiling someone else's code.
201.
▲
by
kevinnk
13y ago
Because in the vast majority of cases you don't need to and it would unnecessarily slow down a lot of legitimate computation? You can already detect integer overflow extremely easily, why would the cpu need to trap?
202.
▲
by
kevinnk
14y ago
Um, unless I misunderstand your question, virtually all of them do. In particular, GCC, Clang/LLVM and ICC all do instruction scheduling.
203.
▲
by
kevinnk
14y ago
There are penalties for filing a false take down notice. See page 12 of http://www.copyright.gov/legislation/dmca.pdf "In order to protect against the possibility of erroneous or fraudulent notifications, certain safeguards are built into
204.
▲
by
kevinnk
14y ago
But that's not true if there is a systemic bias involved that has nothing to do with expressiveness. If you're more likely to make small commits on "fun" projects, you're biasing the results against languages that aren't used as often in fu
205.
▲
by
kevinnk
14y ago
Vala and C# are two very similar langauges that are on polar opposite sides of the chart. Why? If I can't answer that in a convincing way, my first thought is going to be "because there is another factor involved in the rankings that wasn't
206.
▲
by
kevinnk
14y ago
But that's a really important issue that I think deserves a lot more than two lines if you really want to convince anyone. For example, let's say I don't think that assumption is valid because adding or changing a feature in a large project
207.
▲
by
kevinnk
14y ago
I agree, for all the time he spends on his results, as far as I can tell he never really defends the idea that commit size is in any way a good proxy for "expressiveness." It would be nice if he could explain why he chose commit size over s
208.
▲
by
kevinnk
14y ago
I used to use nano, and for me it was the fact that every one else seemed to love vim, so I felt like I should at least try it out. Honestly, it takes about 20 minutes, max, to get to the level of being able to do what nano can do in vim. A
209.
▲
by
kevinnk
14y ago
"There were no congestion problems like in SimCity 5 in older versions because cars didn't try to get from point A to point B." That's not really true. Sim City 4 did have congestion problems and it did simulate Sims going from point A to
210.
▲
by
kevinnk
14y ago
Actually, a lot of laws are written this way with a "English" version that most lawmakers read and a "legal" version that actually becomes law.
More ›