Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PDoyle
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
PDoyle
5y ago
Nonsense. Graph databases pre-date SQL. The relational model was created to overcome the limitations of graph databases.
2.
▲
by
PDoyle
8y ago
Uh, that's not what NIMBY means. "NIMBY" means we all agree that something a Good Thing™, but I want it placed in someone else's neighborhood instead of mine. It doesn't apply to any possible objection to one'
3.
▲
by
PDoyle
8y ago
That depends on whether you think "unscrambling" counts as "solving".
4.
▲
by
PDoyle
8y ago
Yeah, they're using a rather naive human-oriented algorithm. It would be straightforward to improve this with a software upgrade.
5.
▲
by
PDoyle
8y ago
No, to me it looks like it did CFOP with an orange cross on the table, and the white cross when he held it in his hand.
6.
▲
by
PDoyle
8y ago
Mill is awesome. I'm afraid it has too many revolutionary ideas in one package, though, which could impede its widespread adoption.
7.
▲
by
PDoyle
8y ago
Your proof is flawed. The CPU has access to the complete current program state, and also complete knowledge of its own hardware. A static compiler has neither. Therefore, it's not at all clear that a compiler can do whatever the CPU
8.
▲
by
PDoyle
8y ago
Nice, I hadn't looked at RISC-V before. The operation of FENCE.I scares me a little: > FENCE.I does not ensure that other RISC-V harts’ instruction fetches will observe the local hart’s stores in a multiprocessor system. To make a s
9.
▲
by
PDoyle
8y ago
No. The point of the article is that it's ok to undo an abstraction that has done more harm than good. Abstraction and DRY is still a good default mode of thinking.
10.
▲
by
PDoyle
8y ago
Agreed. To me, the real point is not to be afraid to undo an abstraction that has proven to be more trouble than it's worth. DRY is still a good default mode of thinking.
11.
▲
by
PDoyle
8y ago
However, let's not go too far: I think DRY is a good default for new programmers. They can learn to break that rule as they gain experience.
12.
▲
by
PDoyle
8y ago
Yep, always talk to the person who made a WTF-inducing change. It's even possible they've thought of something you didn't.
13.
▲
by
PDoyle
8y ago
Right. I think this is the promise of Java generics: we promise we'll warn you if you're relying on dynamic type checking because we can't prove all dynamic type checks will pass. This article gives a series of examples that
14.
▲
by
PDoyle
8y ago
Ever worked at a startup?
15.
▲
by
PDoyle
8y ago
People forget that the proverb says it's easier , not better , to ask forgiveness.
16.
▲
by
PDoyle
8y ago
Pre-emptive runtimes are hard. Inserting yield points judiciously in loops isn't that incredibly difficult, and neither is reducing the cost of a yield point. It's far harder to make sure every machine instruction in every part
17.
▲
by
PDoyle
9y ago
Ah, mutable data. Is there any abstraction it can't ruin?
18.
▲
by
PDoyle
9y ago
I'll just leave this here: https://xkcd.com/927/
19.
▲
by
PDoyle
9y ago
Yep. In fact, this is how it formed in the first place.
20.
▲
by
PDoyle
9y ago
You're mis-reading it. The blue line is subsequent 10-year performance, so it's already shifted back (left) several years from its natural alignment on the chart.
21.
▲
by
PDoyle
9y ago
Wow, really interesting read. Thanks for the link. Only trouble is that once people find patterns like this, they have a habit of disappearing. Hopefully this one is based on solid enough fundamental market forces that it persists after i
22.
▲
by
PDoyle
9y ago
--minor spoilers-- But John Wick Chapter 2 is not a period piece. The VIC-20 is not meant to be a modern computer there. As I recall, they have women dressed as 1940s switchboard operators with prominent tattoos using VIC-20 keyboards con
23.
▲
by
PDoyle
9y ago
Cool, thanks for the link. My mistake--I thought "regions" meant some sort of interprocedural "code regions". I suspect the state of the art in GC has moved in the last 15 years since this paper was written, and they mig
24.
▲
by
PDoyle
9y ago
Ok, so you analyze "regions". Then what? Modify the data structures to use some kind of efficient headerless representation? Then stop the world and rewrite the whole heap if a new class gets loaded that violates an assumption?
25.
▲
by
PDoyle
9y ago
Ah, got it. Yes, I think that claim about EA would be considered naive in retrospect.
26.
▲
by
PDoyle
9y ago
IBM's Java jit compiler already has this "partial escape analysis". EA basically still never made much difference in real apps. It also fundamentally can't solve the problem you want it to solve, because what happens i
27.
▲
by
PDoyle
9y ago
I'm not sure what benefit you're picturing from escape analysis, but EA is largely pointless because GCs have gotten so good that stack allocation of objects is really no better than heap allocation plus collection of short-lived
28.
▲
by
PDoyle
9y ago
These aren't breaking changes. This isn't even the first time they've added bytecodes. (Java 7 added invokedynamic.)
29.
▲
by
PDoyle
9y ago
> - Purely functional programming - Impure function calls in pure functions are detected and raise errors at runtime. Bzzz, wrong answer. This is too naive to be workable. It implies you need to drop out of your language in order to _b
30.
▲
by
PDoyle
9y ago
Google can: https://www.google.ca/search?q=why%20is%20electricity%20call...
More ›