Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shrughes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
shrughes
14y ago
Just start with Python. I don't know why some people are not recommending Python but they don't have your best interests at heart, they aren't actually thinking of the language that's quick to get up to speed and enjoyable to learn with, a
152.
▲
by
shrughes
14y ago
Um, what? I'm pretty sure I chose the optimal snark level.
153.
▲
by
shrughes
14y ago
The Zenbook Primes are not actually half the price of an X1 Carbon in the U.S., it's more like 75%. Also, the MacBook Air 13" has the best display for programming because it's physically taller than all the other 13" or 14" netbooks' 16:9
154.
▲
by
shrughes
14y ago
Um, what? You think we need more layers of metacomments upon metacomments?
155.
▲
by
shrughes
14y ago
Rewriting is not the same thing as refactoring.
156.
▲
by
shrughes
14y ago
Just avoid Freenode, the no fun zone.
157.
▲
by
shrughes
14y ago
C++ primitives are the practically the same as C++ objects. Just look at C++, there are a million design decisions to make things that way. You can feel the sense of apology in C++ for every place where they're distinguishable. (The only
158.
▲
by
shrughes
14y ago
The fact that there are people who use boost heavily is not news to me. So if you're confused by my assertion that everybody avoids boost as a general rule, well, I'm confused as to why you believe I made such an assertion. (Note that I do
159.
▲
by
shrughes
14y ago
That's not the only reason. Another is simplicity.
160.
▲
by
shrughes
14y ago
Reading off of e-ink is like reading off of paper, as far as eye strain is concerned. Incidentally, I've heard lots of good reports about the use of f.lux to minimize eye strain on screens, and experienced it myself. You might want to try
161.
▲
by
shrughes
14y ago
Um, compile times are still a problem with modern compilers. And regarding scoped_ptrs: you want what, fewer assertions? Okay... that's very counterproductive of you.
162.
▲
by
shrughes
14y ago
1. Yes. 2. Also the safety. You can include assertions that the object is not a member of a linked list, when you add it to the linked list. 3. A general rule of thumb when using C++ is that you shouldn't use Boost. Boost is a source of m
163.
▲
by
shrughes
14y ago
You mean my programming skills? What are hacker skills?
164.
▲
by
shrughes
14y ago
They have a clearly explained policy about content of which you're not the author here...
165.
▲
by
shrughes
14y ago
The Dvorak layout. The high return? Using Emacs is less bad for the hands, I think, because Ctrl+X stretches the fingers apart instead of scrnching them up. Also, the underscore key is in a very accessible location. I tried learning it
166.
▲
by
shrughes
14y ago
You're missing the fact that nobody is denying that economic principles are a bit noisy in reality, and nobody's denying that demand curves are shaped by marketing and that the price itself is part of this.
167.
▲
by
shrughes
14y ago
I've had wrist problems with the Dvorak layout, in fact I didn't get any until well after switching. The real benefit is probably that relearning how to type will change your posture or other behavior while you type, relieving you of the h
168.
▲
by
shrughes
14y ago
Your comment was in reply to one about the Republican candidate's inconsistent behavior when it comes to healthcare reform, defending it as an example of states' rights. But Republicans want government's hands off their Medicare at the sta
169.
▲
by
shrughes
14y ago
Yeah, complete fail. Obviously since 6 billion is even, the number's (2^(6 billion) - (2^(6 billion))! / (2^(3 billion))!^2) / 2.
170.
▲
by
shrughes
14y ago
Everybody already knows about the existence of a "states' rights" opinion on health care, and it's not consistent with Republicans' ideology on the subject. You were downvoted accordingly for making statements that have no basis in reality
171.
▲
by
shrughes
14y ago
On notebooks they let you save battery life by not using the discrete graphics at all for a larger proportion of desktop graphics activity. On desktops and notebooks they make the graphics not completely suck without having to have a separ
172.
▲
by
shrughes
14y ago
> There are plenty of comparable laptops for far less money, too. What do you mean by "comparable"? The only decent quad core laptops in the same weight class are the Vaio Z, Panasonic CF-B11, and 14" EliteBook -- and with those (or an
173.
▲
by
shrughes
14y ago
Similarly, the latest model of Vaio Z has an ethernet port taller than the body, with a plastic cover that folds open to accept the full height of connector.
174.
▲
by
shrughes
14y ago
Nevertheless, the conclusion that you'll "never trust Lenovo again" is a classic bit of idiocy from people talking about laptops. To infer that current laptops are going to have problems because you god a bad batch of laptops several years
175.
▲
by
shrughes
14y ago
I don't get what you're saying here. Is your input set a bunch of outputs of bcrypt? Is your input set `dictionary`? Either way, how can you invert the output of bcrypt more efficiently than brute force?
176.
▲
by
shrughes
14y ago
If inverting bcrypt(md5(.)) was easy then you'd have a preimage attack on md5: given your value md5(x), compute a bcrypt digest of that and attack that instead. (Which is not exactly the same as inverting bcrypt(md5(.)) given a dictionary
177.
▲
by
shrughes
14y ago
I do not recommend using floating point numbers for integer math. I am saying that if you have integers stored in floating point representation, equality comparisons are fine. > I've not used lua or javascript, but wouldn't it be bet
178.
▲
by
shrughes
14y ago
Why aren't you capitalizing your sentences? Are you too lazy to write properly? Where did I say I'd use floating point numbers for integer math? Yes, let's move the conversation to a direction it never existed so that you can pretend you
179.
▲
by
shrughes
14y ago
There is no uncertainty. There is a guarantee that a == b (if we ignore the off-by-one error in your post), because IEEE operations are guaranteed to be accurate within half an ulp. You can safely perform addition, subtraction, and multip
180.
▲
by
shrughes
14y ago
Obviously I'm referring to integer operations within a 52-bit or 23-bit range, not outside the ability of floating point representations to represent integers! > What do you mean by I mean exactly that sort of thing. Algorithms that, f
More ›