Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bvinc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
bvinc
10y ago
No one else seems to agree with you, but I do. What's the moral of the story? Don't be Bryan or else I might rat you out to your employer? People have different ethics, so I hope we can all agree to disagree instead of starting a
152.
▲
by
bvinc
10y ago
I thought this comment about epoll explained it pretty well: https://news.ycombinator.com/item?id=13431639
153.
▲
by
bvinc
10y ago
I'm not an expert in this field, but it's my understanding that this is often the case for C programs executing nowadays. The AMD64 architecture even has the NX bit. There are some other ways that this can be enabled too. But su
154.
▲
by
bvinc
10y ago
I've decided to stick with "slow media". I'm not going to get my news from 24/7 news channels, or reddit, or Twitter. I'm going to pick a news outlet I trust to give daily facts. I might even subscribe to a p
155.
▲
by
bvinc
10y ago
I think it's valuable to think about this problem from an evolutionary perspective. Almost every problem we have can be viewed this way. We should be asking ourselves how we were living 100,000 years ago. This is what our bodies and
156.
▲
by
bvinc
10y ago
> They say they don't know who it is, but we can conclude it's not the US government because Yahoo is willing and legally able to publicly disclose it. I would assume, like most announcements, the reason that it's being an
157.
▲
by
bvinc
10y ago
"You get paid to write code, not tests" -My boss after telling me I should quit writing tests I agree with Kent Beck mostly. I would add that tests can also be used to maintain invariants for future changes to increase maintainab
158.
▲
by
bvinc
10y ago
Just a nitpick: There are versions of quicksort that perform well, O(n*log n), on already sorted data. But there is always some worst case scenario where it can be O(n^2).
159.
▲
by
bvinc
10y ago
I had an interesting experience recently that I think summarizes this whole problem. I was in another city and rented a car and it came with navigation. I knew I could just use my phone, but I decided to use the navigation that the rental
160.
▲
by
bvinc
10y ago
There are so many things that we already have fairly strong evidence to worry about in our foods alone: Trans fats in all of our food (finally will be banned in a couple years), BPA all over our food containers, BPA-like mystery substances
161.
▲
by
bvinc
10y ago
To me, when people say "tabs", this is what I assume they mean. Using tabs for alignment is TERRIBLE.
162.
▲
by
bvinc
10y ago
Uh oh. You might be on to something. Salts are pretty much always stored right next to the hash, right? If the hack doesn't contain them, maybe they were doing something "clever" like that.
163.
▲
by
bvinc
10y ago
I think this is a super simplistic view. You're basically saying: Bad decisions leads to being poor. Not a single person is under the impression that all poor people made good decisions. Of course there is a causal relationship! B
164.
▲
by
bvinc
10y ago
What seems to be much much more popular, is taking L-Theanine with coffee for those same effects. Source: I read /r/nootropics
165.
▲
by
bvinc
10y ago
The try! macro should be used much more often than .unwrap(). And there is a feature that has been implemented to make a ? operator that is roughly equivalent to the try macro. It's currently hidden behind a feature gate named questi
166.
▲
by
bvinc
10y ago
Everyone seems to have stories about ball lightning. Where is a video? PS: The video in the article is unconvincing and probably a firefly.
167.
▲
by
bvinc
10y ago
The benchmarks are from The Computer Language Benchmarks Game. I used to think this was a good way to compare programming language performance. But if you look into the results in detail, it's really not that simple. If you look at r
168.
▲
by
bvinc
10y ago
Yeah. It's bad. I feel sorry for her. I can't say I'm surprised. But what am I supposed to do with this information?
169.
▲
by
bvinc
10y ago
What you would gain is the ease, simplicity, and stability of using your favorite sql engine. You get ACID transactions and the ability to add and remove from large lists using low memory, for free.
170.
▲
by
bvinc
10y ago
What about this reason? What if your program is pretty much entirely used from a JSON REST service? What if these JSON objects need to also be sent between machines? What if they need to be exportable to files sometimes? Now imagine the
171.
▲
by
bvinc
10y ago
Is this really the same thing? This page compares storing blobs in sqlite vs in a separate file. I think a better sqlite page about the concept of serializing things in your database is the fact that sqlite has json support. https:/&