Better HN
topnewbestaskshowjobs
Log inSign up

apendleton

4,277 karma · joined Feb 29, 2012 (14y ago) · 994 submissions

Submissions

comment 13y ago · link · parent

Four months per country would be the average, but the distribution wouldn't be equal like that, especially because I doubt anyone trying to do this would plan a separate trip for each country. If you wanted to, you could fairly easily fly into somewhere in the Schengen zone, get a rail pass, and do all 26 countries in the zone in a couple of months' time, without any visas, and staying in hostels you booked along the way. The only planning you'd need to do would be to book airfare, and that would give you a fair bit more wiggle room for the rest of the world.

comment 13y ago · link · parent

Without having actually done much to investigate the feasibility of this, it seems to me like someone could write a compiler infrastructure that would generate both asm.js and (P)NaCL output from the same lower-level non-JS code, since you can get to both from LLVM bytecode. Combined with a JS client library to paper over the differences between the two, developers could just write one set of low-level code and not care which fast-path execution strategy the browser implemented, and the asm.js version, along with whatever polyfill hacks were necessary to make it work, could be served to old browsers to run the same code slowly.

This is, I guess, not that different from the OP's suggestion to create a bytecode and define a one-pass transformation of that into JS.

comment 13y ago · link · parent

I'd be curious about a gevent-worker-driven server, too. Presumably they're running Django on either a thread- or processor-driven concurrency server, and gevent can show some pretty major gains. You could also do permutations of these: gevent on pypy (using pypycore), etc.

comment 13y ago · link · parent

Friction with the ground slows air down near ground level, so air 500 feet above the ground will, on average, be faster-moving than ground-level air, regardless of elevation. See http://en.wikipedia.org/wiki/Wind_gradient

comment 13y ago · link · parent

It doesn't matter why, even if the "why" has been specifically conditioned into the both of you just so that the person selling the diamond makes a profit? That seems a bit... I don't know... tragic.

(To be clear, though, I'm a nerdy gay like the parent commenter, and I can't fathom a situation where either my boyfriend or I would ever want the other one to buy a diamond for any reason, so there's probably some component of the dynamics here that I don't fully grasp.)

comment 13y ago · link · parent

Sure it did. There's been inflation over the last ten years. That amount of money has less buying power than it did.

comment 13y ago · link · parent

Do you know if this is likely to be permanent? In an application I work on, I do map-reduces on Mongo data using a third-party framework at the moment specifically to work around the inability to easily parallelize map-reduce jobs on a single machine.

comment 13y ago · link · parent

I can't actually find any details about how this works in practice. Are multiple maps and reduces in a map-reduce executed simultaneously within a single mongod process? If so, how many? Is it based on the number of cores in the server?

Edit: not asking you specifically, just generally curious.

comment 13y ago · link · parent

From an atomicity perspective, yes. From a performance perspective, no; other concurrent operations affecting anything else on the whole database wait on your write.

comment 13y ago · link · parent

At a very basic level, it could redirect you to some other page hosting a browser exploit and drive-by-install malware. Certainly seems like there are enough Java exploits laying around for that to be a problem.

But no, I don't think it has access to anything privileged.

comment 13y ago · link · parent

Does "transition" just mean the feeds will be copied? What about old content? Starred content?

comment 13y ago · link · parent

Right, I'm aware, but that still requires uranium mining to have fueled the original reactors to make the waste, so it's not a solution to either proliferation or supply, at least long-term.

comment 13y ago · link · parent

This article is vague on the specifics, but it looks from their website like they're talking about an MSR using a conventional uranium fuel cycle, rather than going the Thorium route like lots of other MSR enthusiasts seem to want to... I wonder why they went that route? Seems like if you're going to go to the effort of developing a new reactor design from scratch, there's not really any reason to leave half of the potential benefits on the table (proliferation resistance, fuel abundance, etc.).

comment 13y ago · link · parent

At a bare minimum, people using lightboxes for images should have the link actually point to the image, and have the click handler both open the lightbox and suppress the default click behavior. That way, opening the image in a new tab (with a middle-click or right-click+context-menu) still works as expected for users that want to do that.

comment 13y ago · link · parent

I'm surprised it's so high, actually. Other ground-floor people like Chris Hughes have much lower IDs.

comment 13y ago · link · parent

It also depends which SPDY features you want to take advantage of. SPDY has content push support, for example, so if you're serving a page and know which assets it will require, you can serve those without waiting for the client to receive your initial response and request them. So far as I know, the nginx SPDY proxy doesn't try to do any of this (and it probably doesn't make sense for it to do so).

comment 13y ago · link · parent

It's in an email message, which has probably already made several hops in the clear, so that's probably a lost cause if they're looking for actual security, but a nice idea, I guess.

comment 13y ago · link · parent

That's a fairly arbitrary engineering decision, though. Using a CNAME for link tracking seems like an obvious use to accommodate, and you'd think providers would build their services with that in mind, or at least be able to tweak them once a demand presented itself.

comment 13y ago · link · parent

Agreed. I grew up in Alaska but now live in Washington, DC, but I still sometimes fly Alaska from here to the west coast; they're the only airline that has regular direct flights from National to Seattle, for example.

comment 13y ago · link · parent

In a weird way, I think you and the authors sort of agree -- their premise is that many applicants don't want to work at companies that they perceive to have a more traditional workplace culture, so they should tailor their applications, personal presentation, etc., accordingly.

It sounds like following this advice might make candidates less attractive to your company... but then, it sounds to me like your workplace culture is, at least in some sense, a more traditional one, so (no offense) the target audience of this article probably doesn't want to work there. To the extent that the job application/interview process can match the right employee up to the right company in terms of cultural fit, everyone benefits, and the corollary is that the process should facilitate not matching employees and companies up whose ideal office cultures align poorly.

For my part, having done a bit of interviewing and resume-reviewing, a memorable application is extremely important, and while I would probably be a little weirded out by someone submitting a song they wrote, resumes and cover letters that just list fraternity leadership positions and the like are unlikely to make the cut. Likewise, if you're a suit person, I have no objection to you wearing a suit to an interview, but lots of programmers are not suit people, and showing up to an interview dressed in a way that obviously makes you uncomfortable does nobody any favors.

comment 13y ago · link · parent

I don't think that's it, so much as offering to implement, and actually implementing (at least in a half-assed way) features that you don't actually want, to make the proposal more attractive.

comment 13y ago · link · parent

I agree that there are potentially-interesting sociological questions to be asked, but it's possible to ask them in a way that's not loaded. The parent poster asks about whether the kid has "problems with his sexuality," which I take to be asking either whether as a result of having gay parents, the kid is gay (implying that gayness is a "problem"), or alternatively, whether the gay parents have caused some problem other than gayness... like what, one wonders? Is the implication that being around gay people makes one asexual, or that gay people abuse children such that they grow up sexually stunted, or something? I have difficulty envisioning an implication that isn't based on an underlying assumption that gayness is bad. Had the poster instead asked, "did having gay parents make the child gay?", that question would have ended up in the "good-natured but misguided" category, and I would have felt more comfortable just answering the question instead of complaining about it.

Likewise with the race question: if a poster had asked "does the white child raised by black parents identify more strongly with black culture than other white children?" that might be a legitimate sociological question, but the implication that that's a problem is what makes the question problematic.

comment 13y ago · link · parent

I consider "political correctness" to be the sort of back-bending linguistic contortionism typical of politicians and PR departments terrified of offending anyone. That's not what's going on here. I'm gay, and while I don't have children, the idea that, were I to adopt one, I'd risk sexually damaging said child with my gayness is offensive. Can you imagine the reaction there would be to someone asking a parallel question about race ("Does the white child adopted by black parents have problems with his racial identity?").

comment 13y ago · link · parent

As far as this discussion is concerned, yes. Exploiting a vulnerability that requires specially-crafted images isn't practical if the images are being generated by Google. You would need to find a vulnerability in Google's PDF renderer that let you cause it to generate an image that contained an additional exploit mechanism that would take advantage of the GDI bug. Sounds highly improbable.

comment 13y ago · link · parent

Right, but I think the point was that oil prices will plummet in the presence of cheap fusion power because fossil fuels will no longer be competitive for electricity generation, drastically reducing demand and freeing up capacity for the remaining markets where hydrocarbons still make sense (not that all fossil fuels are fungible, but reallocating natural gas resources to power cars isn't a completely ridiculous idea).

comment 13y ago · link · parent

> but at least everyone gets a vote for their Senator that counts

Unless you live in DC. We get disenfranchised there, too.

comment 13y ago · link · parent

This is the right answer. Requiring most American adults to own cars that spend 90% of their time parked is enormously wasteful, both directly (expenditures on cars, maintenance, etc.) and indirectly (that we, societally, have to provide three times as much street space as each car will occupy at any one time: home parking space, rush-hour road space, and workplace parking space). The era of everyone having their own car should end.

comment 13y ago · link · parent

I have, actually, and straight Javascript actually isn't so bad for modern browsers, given document.querySelectorAll, etc. jQuery, at this point, is some pleasant syntactic sugar and a whole bunch of backward-compatibility hackery.

But if you're asking about writing JS without jQuery and including support for old browsers (which I've also done), then fair's fair: you have to support PHP4 (which came out about the same time as IE6), and you don't get anything other than the standard library either.

For a non-trivial app, I'm not sure which of those is less pleasant.

comment 13y ago · link · parent

This is probably overly cynical of me, but I feel like a lot of what's keeping PHP alive at this point is inertia, and if some major version ahead required that literally every standard library call be differently expressed (and by consequence, every PHP app essentially be rewritten), the case for continuing to use the language would get weaker than I think it already is. At that point, why not jump ship for something more powerful/performant/whatever?

comment 13y ago · link · parent

This method only works for HTTP GETs, and can't get around requirements to present CSRF tokens with the request. This is one of several possible strategies for guarding against CSRF.
1
293031
34