Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdpage
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
jdpage
12y ago
Slightly tangent to the random aside, but actively preventing the user from entering a bad password is very often bad because 99% of people implementing such a check have no idea what constitutes a good password, and the check actually enfo
62.
▲
by
jdpage
12y ago
Tcl added this relatively recently. They use the "tailcall" command, which immediately replaces the stack frame of the current function with one for the new function. If I recall correctly, it doesn't do any checks for whethe
63.
▲
by
jdpage
12y ago
The C#/LINQ syntax for this is nice for this reason. It's S.Where(P), which makes it clear that the thing on the left is the thing being filtered, and that it's taking values x where P(x) is true. One could also make the argu
64.
▲
by
jdpage
12y ago
I mean, you gotta do Python == Harry Potter for the Parselmouth joke. Ruby is a language which eschews strict rules in order to be more chummy and get more done, but has a dark side (with monkey-patching and less discipline than Python). Ru
65.
▲
by
jdpage
12y ago
The business model for the self-driving car is a computer-scheduled, dynamically-provisioned taxi service cheap enough that nobody needs to own a car in the city. Because self-driving cars don't need to park (they can just move on to t
66.
▲
by
jdpage
12y ago
So does Rust, I think. 2014 was a good year for programming languages.
67.
▲
by
jdpage
12y ago
Last sentence of the proof-- that's part of what Lorentz invariance is.
68.
▲
by
jdpage
12y ago
It's because LyX is a structured document editor, and its format is strictly simpler than the full power of TeX. (La)TeX isn't actually that structured, and with the ability to do weird stuff with macros, it becomes impossible to
69.
▲
by
jdpage
12y ago
The sum of all positive integers can actually be considered to be -1/12 in a self-consistent fashion. It isn't equal in the same sense that 2+2=4, and it's still true that the limit at infinity of the partial sum of the posit
70.
▲
by
jdpage
12y ago
Parent meant 'portage', which is the Gentoo Linux package manager.
71.
▲
by
jdpage
12y ago
It has the Imperial March from Star Wars as the background music, which was definitely a bad idea.
72.
▲
by
jdpage
12y ago
This is how I do it. The problem is that this inverts the depth map, because your right eye sees the left eye image and vice-versa. To properly view them, you need to go wall-eyed, by focusing on something behind the screen. This is somethi
73.
▲
by
jdpage
12y ago
Rust has closures, and they are just a specific implementation of a trait. Many fundamental concepts in Rust, including arithmetic, comparisons, sendability, and smart pointers are formally traits (though the compiler may treat some of th
74.
▲
by
jdpage
12y ago
"such as the fact that their paper is published in a philosophy journal, and the guy having a history degree instead of a physics degree." "-- argument from authority, very unscientific. If an unemployed poodle shaver publish
75.
▲
by
jdpage
12y ago
To be totally fair to the dude, he's not claiming anything yet, because he maintains that the experiments he's done are inconclusive, and he still needs to control for additional effects. As far as I can tell, he's basically
76.
▲
by
jdpage
12y ago
Straight-up banning them probably isn't productive, because yeah, it's nice to sit back and watch some TV sometimes. It might be a better policy to just limit the amount of consuming time. My parents had limits on consumer compu
77.
▲
by
jdpage
12y ago
...which Uber will, potentially, drive out of business because their service is cheaper, due to lack of regulation. :(
78.
▲
by
jdpage
12y ago
When I was first introduced to SSH, the administrator had me transmit my public key to them and they added it to my account themselves, and that's how I've done it on all the servers I administrate since. This way, you can disable
79.
▲
by
jdpage
12y ago
This is big news; it probably warrants two or three front-page posts. :)
80.
▲
by
jdpage
12y ago
Honestly, Mercurial is just better than Git -- the only reason I switched away from it is because Github. Constantly contemplating switching back.
81.
▲
by
jdpage
12y ago
If you're on OS X, and you want to force yourself to learn to do this, there's a program called Karabiner[1] which lets you remap keys in advanced ways using an XML config. I have a config snippet[2] that I got from somewhere (sad
82.
▲
by
jdpage
12y ago
Aside from the zero/one thing, if I'm understanding this right, Nock is based on the SKI combinator calculus, where the combinators are S: λxyz.xz(yz) K: λxy.x I: λx.x From there, you can express anything from the lambda calculus,
83.
▲
by
jdpage
12y ago
The simplest example I can think of is the interval (0, 1]. Proof that it's not closed: the sequence (1, 1/2, 1/4, 1/8, ...) is entirely inside the interval, but converges on 0, which is outside the interval, therefore e
84.
▲
by
jdpage
12y ago
From a real analysis standpoint... the definition of a 'closed set' in an N-dimensional metric space (of which Euclidean space, i.e. normal space, is an example) is as follows: a set C is 'closed' if and only if, given a
85.
▲
by
jdpage
12y ago
"Bad" is what I used growing up. I think it's by analogy to food--you would say that food has "gone bad" after a while. Similarly with batteries. You might also ask "are these batteries (still) any good?"
86.
▲
by
jdpage
12y ago
I have the HP-50g. Love that thing, though I don't get to use it much these days. I bought it for taking the tests in my intro physics course at uni, after my TI-89 got stolen by some doucherocket. My physics professor was a huge fan o
87.
▲
by
jdpage
12y ago
I have a Kinesis Freestyle (another split keyboard), and I absolutely agree: being able to keep my hands further apart is wonderful. There wasn't anything like the ErgoDox available when I purchased my Kinesis, but if I were in the mar
88.
▲
by
jdpage
12y ago
Turns out that stars are really friggin' far away, so with a nice steady plane and some stabilization equipment, you're not going to get enough parallax for streaking to occur.
89.
▲
by
jdpage
12y ago
What's wrong with the AwesomeBar? Every time the Firefox team has come out with a new feature, I've been excited about it, and it's improved my workflow.
90.
▲
by
jdpage
12y ago
Yeah, the tab thing is in progress. The problem is that Chrome was designed from the ground up to be process-per-tab, while Firefox is having to adapt extensive existing code. Thankfully, plugins made it into their own processes a while ago
More ›