Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
vec
13y ago
That's not a big surprise. jQuery's events use native browser events behind the scenes. Which is nice for dom-oriented plugins; you get bubbling for free and all the native event listeners just work. It's got a pretty fair amount of over
362.
▲
by
vec
13y ago
Probably not, assuming our current theories about how these systems form are correct. Our best guess is that hot jupiters form about where our jupiter or saturn is and their initial orbit decays inward. If so, that would tend to destroy t
363.
▲
by
vec
13y ago
This times a lot. I'm far from a naive user, but I recycle a handful of easily memorable passwords for most of the services I subscribe to. And I'm willing to bet that most of you do too. Security is a tradeoff, and we tend to forget that
364.
▲
by
vec
13y ago
In this situation I tend to follow the Montgomery Scott Miracle Worker Rule(tm). Come up with a nice, comfortable number in your head, pad it out a little if necessary so it's a nice round number, then multiply by 4.
365.
▲
by
vec
13y ago
SQL databases are strongly typed and extremely good at enforcing consistency, whether you want them to or not. They are quite good at preventing many classes of bad data from being recorded in the first place, and allow you to do some type
366.
▲
by
vec
13y ago
> What's plainly obvious to me is that many (most?) women just aren't interested in the field. Which is exactly the problem. There's no strong reason to suggest that this difference is due to anything other than social pressure. Somethi
367.
▲
by
vec
13y ago
Yeah, but things _were_ different in the 1700s when they wrote it. At the time there was no standing army, each state had a militia and citizens were often responsible for providing their own equipment. The 2nd amendment seems to have been
368.
▲
by
vec
13y ago
By the same logic, the idea that in order to give a car to one's teenage child one must go to a government office and get said teenager licensed is also absurd. Lets not forget that guns are devices whose primary function is to kill things
369.
▲
by
vec
13y ago
> Keep in mind that Ember.js and other frameworks like it are really only valuable to people who are writing single page javascript applications. If you aren't, or you are against the idea of building single-page applications, then thes
370.
▲
by
vec
13y ago
Going into debt to pay your medical bills is very different than going into debt to buy a yacht. No one thinks a ballooning deficit is good, some of us just think it's less bad than cutting social security and medicaid in the middle of a re
371.
▲
by
vec
13y ago
The reason here is that the interests of employers are misaligned with society's interests at large. Individual employers are clearly demonstrating that they have a disincentive, rational or otherwise, from hiring potential employees with l
372.
▲
by
vec
13y ago
Remap caps lock to be a ctrl key, then preferably remap your prefix key to a. Caps+a is way easier to type.
373.
▲
by
vec
13y ago
Reveal.js, at least, supports inline markdown blocks. https://github.com/hakimel/reveal.js#markdown
374.
▲
by
vec
13y ago
That's actually backwards. Since each round is independent of the last, collisions on an intermediate step will propagate forward. Since each round has the same chance of creating a collision, more rounds means higher total odds.
375.
▲
by
vec
13y ago
There's nothing wrong with typing Vjjjjj until it looks right, and you can still click and drag if that's what seems easiest to you. But if you're thinking of it in lines and characters you're missing the real advantage. You're still menta
376.
▲
by
vec
13y ago
A bit off topic, but the big win with Vim (and, from what I hear, emacs) isn't the speed per se; it's the lack of cognitive load. "I need to replace everything after the equals sign", for example, takes less concentration than "I need to mo
377.
▲
by
vec
14y ago
I'm getting in the habit of letting the caller decide, something like the following: myAsyncFunc = function (param1, param2, callback) { var usingPromises = (callback === undefined); var returnVal = usingPromises ? Q.defer
378.
▲
by
vec
14y ago
So ignoring the fact that today's April 1st, this is actually not a terrible idea. It's not perfect, but lynx is a pretty good first approximation of how usable your site will be with a screen reader.
379.
▲
by
vec
14y ago
I'd always head the performace pitch for Mongo being "slightly slower on a single machine, but way easier to scale out horizontally"
380.
▲
by
vec
14y ago
I'm thinking that's mostly due to the testing methodology. In JS it's pretty common to start a project by downloading and committing jQuery, Underscore, and whatever framework dependencies you're using. And just speaking from experience, co
381.
▲
by
vec
14y ago
Intriguing concept, but for those of us in offices an NSFW notice would not go amiss.
382.
▲
by
vec
14y ago
> When I say that the consumers are equally complicit, what I really mean is that in many cases they just listened to a sales pitch and accepted it as truth. If you tell me something that you know or should know to be false, I act on wh
383.
▲
by
vec
14y ago
As a client, it is perfectly reasonable for me to say to a sales rep "I want X% average return, I'm willing to accept Y amount of risk to get it, and I don't care particularly much about how you give it to me", so long as X and Y are reason
384.
▲
by
vec
14y ago
Given the historical record, probably.
385.
▲
by
vec
14y ago
It's probably out of order on purpose. I'm betting this was some of the test data that the developers used, and they just left it in when they finished.
386.
▲
by
vec
14y ago
Sounds like the Dunning-Kruger effect hard at work. People get a good solid grasp of the basics and think they're experts because they don't know enough about the subject to realize that the basics aren't the whole domain. Try exposing the
387.
▲
by
vec
14y ago
Yes, but the absolutely most qualified person for a whole bunch of things is disproportionately often white and male. And even if we as a society wake up tomorrow magically not racist or sexist at all, that will be the case for the foresee
388.
▲
by
vec
14y ago
Books don't cost $C/book to produce, they additionally cost $X to research, write, market, etc. And $X is much much larger than $C. So to take your example, assuming X=12 and C=1, if I sell my books for $6 and $9, respectively, I make $1 pr
389.
▲
by
vec
14y ago
Hopefully none of them (at least none that use floating point arithmetic). When you convert the equation to the exponent notation you get this: (1.2x2^-2) - (1.6x2^-3) = (1.6x2^-3) - (1.6x2^-4) which is pretty clearly false. http://www.h
390.
▲
by
vec
14y ago
Because "We're going to make a spec that is intentionally vague on the one section that some people will bend over backwards to willfully misapply" is bad politics and "We're going to tighten standards across the board, but remain silent on
More ›