Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
naftaliharris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
naftaliharris
13y ago
> What if you take all of the courses which interest you, and that just happens to be enough for both a math and CS degree? That's great! This means, of course, that the maximum utility schedule happened to lie in the subset of sche
62.
▲
by
naftaliharris
13y ago
I'd argue that your ability to program is the direct result of taking CS classes, not the direct result of majoring in CS. Similarly, I'd argue that your ability to go to graduate school in those fields is a consequence of taking
63.
▲
Don't Double Major
(naftaliharris.com)
1 points
by
naftaliharris
13y ago
|
10 comments
64.
▲
by
naftaliharris
13y ago
Yeah, the first thing I thought about when I heard this is that these two shares would be ideal for pairs trading! (Though presumably this will be arbitraged away quickly).
65.
▲
by
naftaliharris
13y ago
I've made "proof graphs" with GraphViz, but honestly it was something of a challenge to make them look how I wanted them to. Compared to the time I spent drawing the graph on paper, (ie, collecting the statements and theorems
66.
▲
by
naftaliharris
13y ago
That would be the case if each of the games were played between truly equal teams. In fact, many of the games are much easier to predict than 50/50 since one team is better than another. So the expected value is actually higher, (thoug
67.
▲
by
naftaliharris
13y ago
A few months ago I wrote a C implementation of a lazy "sorted" function, ( https://github.com/naftaliharris/lazysort ). One of the things you can use it for is computing medians, with the same "sort-then-t
68.
▲
Trypy: Automatically Enter Python Debugger on Exception
(gist.github.com)
1 points
by
naftaliharris
13y ago
|
0 comments
69.
▲
Computer and Network Security by Avi Kak
(engineering.purdue.edu)
1 points
by
naftaliharris
13y ago
|
0 comments
70.
▲
How to Solve Problems
(naftaliharris.com)
2 points
by
naftaliharris
13y ago
|
0 comments
71.
▲
Full Text of Obama's State of the Union Address
(nytimes.com)
2 points
by
naftaliharris
13y ago
|
1 comments
72.
▲
Visualizing K-Means Clustering
(naftaliharris.com)
5 points
by
naftaliharris
13y ago
|
0 comments
73.
▲
Occupational Employment Statistics
(bls.gov)
1 points
by
naftaliharris
13y ago
|
0 comments
74.
▲
Python Decorator Library
(wiki.python.org)
2 points
by
naftaliharris
13y ago
|
0 comments
75.
▲
by
naftaliharris
13y ago
Thanks! I tried -fprefetch-loop-arrays before figuring out that it only prefetches the array memory, (ie, memory with addresses like &ob_item[i]), rather than the memory referenced by the array memory, (ie, memory with addresses like ob
76.
▲
by
naftaliharris
13y ago
Yeah, you're right: had I not written the code myself, it would not have been clear to me what that special line did or why i+3 without documentation. Your proposed comment describes it nicely; I've added it verbatim: https:/
77.
▲
by
naftaliharris
13y ago
Thanks! Oh, thanks for pointing out the oversight! They were floats generated with random.random() and then shuffled with random.shuffle(.) Shuffling them removes any locality that might have arisen when the floats were being generated, ev
78.
▲
by
naftaliharris
13y ago
Neat! A quick skim of the referenced article in that comment ( http://ieeexplore.ieee.org/xpls/icp.jsp?arnumber=6193457 ) shows that it solves a problem I'd wondered about for a while now, about how to optimally cho
79.
▲
How I Got a 2x Speedup With One Line of Code
(naftaliharris.com)
216 points
by
naftaliharris
13y ago
|
56 comments
80.
▲
by
naftaliharris
13y ago
Harry, do you pay the prospective employees during the trial run? The blog post implies that it's a week long, ("We’ve been able to spot problems during the week..."). While the information gained by both parties during a wee
81.
▲
Show HN: A partial and lazy Python "sorted" function
(github.com)
2 points
by
naftaliharris
13y ago
|
0 comments
82.
▲
Porting to Python 3
(python3porting.com)
2 points
by
naftaliharris
13y ago
|
0 comments
83.
▲
The Ten Best Ideas in Statistics
(naftaliharris.com)
1 points
by
naftaliharris
13y ago
|
0 comments
84.
▲
How to Corrupt an SQLite Database File
(sqlite.org)
152 points
by
naftaliharris
13y ago
|
63 comments
85.
▲
Email Senator Feinstein
(feinstein.senate.gov)
5 points
by
naftaliharris
13y ago
|
1 comments
86.
▲
by
naftaliharris
13y ago
I put a capacitor in backwards once, went away from my circuit, and came back to smell and see it smoking and flaming.
87.
▲
Incompetence as Encouragement
(naftaliharris.com)
57 points
by
naftaliharris
13y ago
|
20 comments
88.
▲
by
naftaliharris
13y ago
The picture on that article is really misleading--it looks like you're seeing the curvature of the earth, and are therefore high up in space, but it's probably just the effect of a fish-eye lens, as evidenced by the curved upper surface and
89.
▲
The Hottest Person in the Group
(naftaliharris.com)
1 points
by
naftaliharris
13y ago
|
0 comments
90.
▲
Memory Locality and Python Objects
(naftaliharris.com)
3 points
by
naftaliharris
13y ago
|
0 comments
More ›