Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adamtj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
91.
▲
by
adamtj
12y ago
It's not pedantic or petulant. The infographic is misleading, though not dramatically so. It looks suspicious to compare the US until the year 2000 and China only starting in 2011. There's a gap of a decade. If you assume that
92.
▲
by
adamtj
12y ago
This situation isn't the same as a protection racket. In a protection racket, it's the racketeers themselves that hurt you when you don't pay. In this case, lawyers are more like mercenaries. Yes, you can pay them for prote
93.
▲
by
adamtj
12y ago
Rip-off? Bah! That's nothing compared to Microsoft's SQL Server! With SSL, you have to add the asterisk for more functionality. It takes a bit more work and they charge you 10x the price. With SQL Server, you can get the Exp
94.
▲
by
adamtj
12y ago
That would tie your ability to deploy your code to the availability of rails-assets.org. How many nines are they promising you and how much are you paying for it?
95.
▲
by
adamtj
12y ago
I disagree. When I'm working with computers, I find 24-hour time more convenient. It was a little difficult for the first few months, but now I really am ready to think only in 24-hour time. Unfortunately, my brain won't fully s
96.
▲
by
adamtj
12y ago
DI is a design pattern. A design pattern is a conventional way to structure code to solve a particular type of problem. A way to structure code is not a thing that can analyze graphs. Maybe you're talking about some particular DI fra
97.
▲
by
adamtj
12y ago
I just donated my $100. Have you?
98.
▲
by
adamtj
13y ago
Actually, no. I just recently read about this. 1 + omega == omega < omega + 1 < omega^2 http://en.wikipedia.org/wiki/Ordinal_number
99.
▲
by
adamtj
13y ago
Speaking of the obvious, I'm somewhat surprised that the PEP didn't discuss dropping the "dot" function and using the existing function call operator directly. It seems like a natural idea to me. After all, a matrix re
100.
▲
by
adamtj
13y ago
That's what the back button is for. I will take you back to where you were before you clicked a link, including scroll down the page to the correct position.
101.
▲
by
adamtj
13y ago
Of course you're right in theory. A KDF is a hash function. In practice, however, it's best if we ignore that fact when making public statements. When many people hear about hashing passwords, they think md5 or sha1 or something
102.
▲
by
adamtj
13y ago
No. Don't hash passwords. Don't even hash salted passwords. And especially don't encrypt passwords. Use a key derivation function. The story here is not the weak encryption. Who cares if they used XOR instead of AES or w
103.
▲
by
adamtj
13y ago
I say you're wrong. You're right that it really doesn't matter which encryption algorithm is used. It's the premise that encryption should be used in the first place that's wrong. See, you don't store password
104.
▲
by
adamtj
13y ago
It converts gas to liquid. The gas comes from radioactive decay of elements in the earth's crust. It's a non-renewable resource. When helium escapes into the atmosphere, it's so light that it eventually escapes out into sp
105.
▲
by
adamtj
13y ago
Or how about this: a single regex, but with groups that you can walk like a tree: (((a)|(b))|((c)|(d))) | (((e)|(f))|((g)|(h))) The number of groups will be O(n * log n). So 10-20 times the number of urls at most. It's certainly not
106.
▲
by
adamtj
13y ago
ctrl+f tree No results. The chunking seems like a missed opportunity. It still uses a loop, so it's still O(n) in the number of routes. That is, 200 routes will take twice as long. 1000 routes will take 10 times as long. But maybe
107.
▲
by
adamtj
13y ago
Not quite. If a backend segfaults, postgres will detect it and immediately terminate all connections and exit. When it restarts, it will enter recovery mode. It does this because a segfaulted backend may have corrupted shared memory. Th
108.
▲
by
adamtj
13y ago
As I see it, the whole disagreement seems to stem from differing opinions about what happens when free/open software and non-free/closed software meet, and which is "stronger". FSF lives on an island and worries that eve
109.
▲
by
adamtj
13y ago
Sure, if we had moved past capitalism, we could have eliminated poverty by now. And if we had moved past the light-speed limitation, we'd be traveling amongst the stars by now. So why don't we just do that? As is often said, cap
110.
▲
by
adamtj
13y ago
GILs are at a lower level than that. A GIL is used to protect the internal state of the interpreter. You (or your standard library) need ruby-level locks in ruby code when you do things like increment a counter. E.g.: "obj.count = ob
111.
▲
by
adamtj
13y ago
Amazon.com is perhaps a better example. That site has multiple sign-in levels. It's not a binary state. I'm not sure what names they use, but I'll call them signed-in, signed-in-untrusted, and signed-out. If you are fully
112.
▲
by
adamtj
13y ago
Snowflakes, like other precipitation, form around some sort of condensation nucleus -- in other words, dust. Pure snow and fresh rain is actually pretty dirty. You might have noticed how clean windows won't be clean after they get ra
113.
▲
by
adamtj
13y ago
My understanding is that good virtual machines basically do this sort of profiling and optimization at runtime and JIT compile specializations as necessary. Does anybody know why JIT isn't done in classically AOT compilers? Is JIT ove
114.
▲
by
adamtj
13y ago
Thanks! I got that it was a joke, I've just never understood why it was funny. The "debate" has always seemed to me like Quantumist physicists arguing with Classicalists about which method of computing a cannonball trajecto
115.
▲
by
adamtj
13y ago
I'm not much of a statistician. Can anybody explain to me why Bayesian vs Frequentist is such a political or religious issue? It seems to me they must either describe the same underlying reality correctly, though differently, or else
116.
▲
by
adamtj
13y ago
It's called asm.js. Make your real language compile to that. asm.js not Javascript. It's an assembly languange (well, at least an IR) for a simple static virtual machine. It's easy to write intepreters and JITs for that v
117.
▲
by
adamtj
13y ago
No, it's not technically native code, nor is it exactly assembly or bytecode. It an IR that browsers can JIT very easily. Which is basically the same thing. It's interesting to note that x86 and amd64 code isn't even truly
118.
▲
by
adamtj
13y ago
You are technically correct - the best kind of correct! While I was being a bit loose with my language, I don't think that changes the point. So maybe it's not an assembly language or a bytecode, but that's a pretty unimport
119.
▲
by
adamtj
13y ago
That's a really good writeup. Some of the details elude me though. I don't understand why it's called "stocastic". Is it because of the binding probability matrix? How is that not just a normalization step? Am I
120.
▲
by
adamtj
13y ago
The issue is not any particular language but the platforms. Asm.js is an assembly language that gives native-code performance to browsers that's theoretically on-par with the JVMs' JITs. You can think of asm.js as a bytecode (lik
More ›