Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rand_r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
rand_r
10y ago
I've been successfully using journaling to fight insomnia for a few months now. What I do is try to simply capture every thought that comes into my head as fast as I can write. At first, my hand can barely keep up with the torrent of t
122.
▲
by
rand_r
10y ago
It's hard to know what the right thing to do, but young kids have an immense advantage that they'll quickly lose: the ability to learn really fast. A couple of examples: If you don't start playing soccer really young, you wil
123.
▲
by
rand_r
10y ago
How about finding and landing on a flower while navigating in 3D space?
124.
▲
by
rand_r
10y ago
This looks interesting. I was wondering if you could explain a little more about what information about a picture this transform is exposing? I mean, if you look at just the output image, what kind of insight can you gain into the original
125.
▲
by
rand_r
10y ago
I thought "gaming journalism" was a book you were referencing about this practice and it sounded like a good read.
126.
▲
by
rand_r
10y ago
If they're not unique, it will have to linearly search through items with duplicate keys. This situation will begin to approach O(n) time, which isn't good.
127.
▲
by
rand_r
10y ago
In context, n is the number of things in the hashmap. You need log2(n) bits per item to store n unique items. So the hash function is operating on an input of log2(n) bits. There's no way the hash function takes less than log2(n) time
128.
▲
by
rand_r
10y ago
Totally pedantic, but no HashMap.get function is O(1). In order do a look-up, you have to compute the hash, whose size is at least log2(n).
129.
▲
by
rand_r
10y ago
What is your software setup? How do we test something from your perspective?
130.
▲
by
rand_r
10y ago
Using the male pronoun by default is simply common practice in English, dating back at least hundreds of years. I wouldn't read into it.
131.
▲
by
rand_r
10y ago
Given how taxing these types of drugs are, why are opiates not an option for most people? They don't cause any long or short-term damage to organs.
132.
▲
by
rand_r
12y ago
Article summary[1]: 1. Sitting isn't actually that bad for you, so there's no rush to get on a standing desk 2. He found standing too uncomfortable and distracting to focus properly on actual work - [1]: My take from a quick scan,
133.
▲
by
rand_r
13y ago
Big difference between a one-time invite cost and the cost of continually texting/messaging someone.
134.
▲
by
rand_r
14y ago
Could someone please explain how this statement works: > set(e2 for e1 in edits1(word) for e2 in edits1(e1)) I understand how you can say something like "f(x) for x in edits1(word)", but the way it's used above with multiple fors is mak
135.
▲
by
rand_r
14y ago
The browser doesn't have to know or care if some javascript on a page is doing an infinite loop. It's quite possible to sandbox a tab so that it can't take down the browser, just like an OS sandboxes processes so that one can't take down th
136.
▲
by
rand_r
14y ago
Link to video: http://www.youtube.com/watch?v=w9T6LNMvpvw&feature=plcp
137.
▲
by
rand_r
14y ago
Where is that quoted css ("fooled...") from?
138.
▲
by
rand_r
14y ago
> and our solution involves many moving parts working in perfect unison What did the full stack look like?
139.
▲
by
rand_r
15y ago
Any recommendation on how we should google for Go related pages?
140.
▲
by
rand_r
15y ago
Would that gc scheme potentially cause the following (pseudo) code to break? x = malloc(1); // allocates block 'a' in memory int i = (int) x; x = 0; i = i - 1; // gc runs here and frees 'a' *( (int*)(i + 1) ) = 123; // failure
141.
▲
by
rand_r
15y ago
Ignoring the US government, what legal use would a company have for un-patched exploits?
142.
▲
by
rand_r
15y ago
> Write it wrong, and it crashes, or the answer is wrong, and you get an F. As a former math/cs student, this seems a tad dramatic. A large portion of the marks on tests tended to be awarded to the process of how your worked out your so
143.
▲
by
rand_r
15y ago
At least there are a lot more pawns than bishops on the field, typically. So you could easily test if the correct number of pieces were identified with a particular pair of pawn/bishop signatures.
144.
▲
by
rand_r
15y ago
That looks to be obviously part of the joke, like his "modest" home.