skysight-inc/HackerNews huggingface dataset:
Germany imports nearly twice as much energy as it produces. It is a net exporter of electricity, though as of 2009, France exported about twice as much electricity.
On Apple's new ads
They put links to blast content to all your friends on Facebook right at your fingertips. Easy for an image to go viral. Not really sure about a revenue stream but it's probably something shady about getting access to lots of people's Facebook profiles.
Craigslist isn't participating? That's surprising!
Would "white listing" the dozen or so top agents that make up the vast majority of traffic work better?
Just read the lying thread (presuming it is the one surrounding Blank's recent post). Very interesting, esp the top post.
Yes, in the same way learning anything can make you a more well-rounded person. Learning category theory would also make you a better basket weaver.
He's not arguing with you, he can't be using a strawman. He's just pointing out that other people will be distracted by your tone, making them ignore your (mostly correct) message.
non-facebook link : http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2117302
It's easy to check -- delete all secure cookies and see if you stay logged in. Maybe Google is doing something that keeps MobileSafari from reading the secure attribute, since I've never noticed this in my tests on iOS.
On UI: I cannot appreciate the opacity with which IB creates interfaces. I can't see at a glance what components and objects are related, bound, connected, etc.

That said, it's a fine tool to get you off the ground, but I'd rather see code and know how things are laid out than have to guess as I click inspectors, hover over connections, reference source files...
> So even though it wasn't designed to be immediate, it is in practice,

But that's by accident, not really by design, and because email isn't supposed to be immediate, and is often outside the user's control, there are very many things that can delay it.
Bypass CAPTCHA human verification
Before implementing that, be aware that CloudFront doesn't support custom SSL certificates. If you have any user-session in your app, you don't want them to login on https://efac1bef32rf3c.cloudfront.net/login
Unless you're targeting noscript users there's no way they account for a significant portion of those 80% of clicks.
Edda: a log visualizer for MongoDB
In the near-term, as you point out, Photoshop is useless on a Retina display (unless you're driving it at full @1x resolution.) I'm glad I've got my trusty old Samsung 213T at home.

Even _when_ Adobe gets around to adding Retina support in CS6, it's clear we'll still need access to @1x monitors to ensure that we're shipping the pixels we think we're shipping.

In the long-term, it's hard to predict the adoption curve for high DPI displays. Especially where the web is concerned, I'm convinced that designers and developers will need to support and test for @1x displays for many years to come -- perhaps a decade or more?
Thanks -- I didn't notice it was a Facebook link.
The user from that new IP won't have any real human like history - photos shared and commented on over time etc.
How to make great iced coffee with an AeroPress
I don't have much experience with Varnish, but it does support ESI, that is similar to SSI.
Yeah, cold comfort, sorry.
> Name Three

PETA, GreenPeace and IHH have all been called "terrorist".

http://en.wikipedia.org/wiki/Eco-terrorism#Groups_accused_of...

http://en.wikipedia.org/wiki/IHH_(Turkish_NGO)

Yeah, GreenPeace kill innocent civilians every day.</sarcasm>
No, this is wrong.

The authentication cookies for GMail are named "S" and "GX". They're both set only on "mail.google.com", and they both have the secure flag so they're only transmitted over SSL.

There are certainly other Google cookies that let them track your identity that will get sent when you search. But those cookies are not sufficient to get access to GMail.
> How would you discern a noscript user from bot?

There are a few tricks to do that, described on the old ha.ckers.org weblog, or perhaps on the related sla.ckers.org forum. No idea if they still work, though ..

You could always see if you could trigger NoScript's built-in XSS or frame hijacking protection :) Bots will not notice, and users get a scary warning message and believe your ad is trying to hack them. Not good for your conversion rates, but a pretty sure way to tell them apart.
15 people sounds like too many. I had enough trouble leading a group of 6-ish people that I eventually gave up on them/the project. Now I'm working on that same project (and a few others) with only one other person. It's much easier to deal with and our visions seem much more feasible. We're not immediately shooting for the biggest and bestest thing out there.

Like VuongN said, I would bring it up next time you meet. People will see you as much more of a leader if you take the initiative to call out these three big talkers and can systematically go through their ideas and explain to the group why they're bad.

If that doesn't work, it might sound harsh, but I would either find a new group entirely, or take a look at the 15 people in your group and at least cut it in half. Drop the people who contribute the least. It sounds like if you guys are still brainstorming ideas, it'll be easiest to do all this now, instead of waiting and potentially having to deal with NDA's and whatnot. Especially if the people who get cut are bitter.
if it's not criminalized how is it still illegal?
I don't think it is intentional

It is very intentional.
Using IB without understanding how stuff is hand-coded is harder. In my workflows (solo iOS projects..) I have found manual interface creation to have less friction and less OMGWTFBBQ!?!? than trying to get everything working with IB.. not to mention that some properties aren't exposed in IB.
Had this issue when developing a real-time dashboards but didn't use websockets, jQuery kindly provides an option that will attach a random number as a query parameter forcing Chrome to round trip.
This is completely wrong. Examine your GMail cookies if you don't believe me.

The ones that grant access to your account are named "S" and "GX". You can prove this by a process of elimination. Delete a cookie and see if you get logged out.

They're set on "mail.google.com", not "google.com", so they don't get sent when you search. Furthermore, they're marked "secure" so they only get sent over HTTPS.
That's how brain-teaser questions usually stump me - because I impose some limitation that doesn't exist. The question had pretty specific limitations, but the amount of resources wasn't one of them. To me the answer is valid. If the interviewer wanted to see an implementation of a division function they could have just said "please implement a division function"
That is good to hear, I always felt it was pretty ridiculous. Presumably you've been slotted? That was the base mechanism which caused a ton of ill will.
Ask HN: Which iOS6 SDK features will rock for social mobile apps?
Here's the thing: Django makes the standard staticfiles app available. It's a great convenience, eliminating extra steps (collecting/moving static assets) and processes (another nginx/etc). And many projects' 'dev'/prototype incarnations are already open to the world, in one way or another.

So if this is a security sin, they've already encouraged its widespread commission. A bit of "don't do this" or "don't do this in production" hand-waving in the docs don't resolve a security problem, if there's a real vulnerability in the current implementation.

On the other hand, committing to the idea that the bundled staticfiles app may be used this way -- that in fact it's a good and modern way to operate, in production, once you have an inbound proxy cache -- would mean accepting deeper responsibility. It would give up the hedge, "if there's a security bug, we warned you!". It's not taking on n*m obligations: it's taking on 1 language, 1 module. And it's not even a new module or an obscure need... it's exactly the sort of thing an opinionated framework can solve for people.

The old opinion -- "take this risk in development, but by the time you get to production use the 'best practice' of a separate static server" -- should be updated to a new opinion -- "the 'best practice' is now a front-end proxy cache, which makes the performance benefits of an extra static server negligible, so we're no longer going to assume everyone will do that in production".

An admonition against using other less-tested code to achieve the same effect would still be appropriate. But not nonspecific FUD about the framework's own code -- that it is "probably insecure". Anything that's truly "probably insecure" ought to be fixed.
That was my initial reaction.
It would be similar, but he hasn't quite yet reduced the duration. Hopefully he will soon.
I did this once when I was nine years old.

We were playing soccer and I was the team captain. I picked the team, but no one would pass me to the ball, so I quit and went home.

(In seriousness though, it's hard to make any opinion on this decision without an actual statement from Levinsohn, which I seriously think he should make. Because at the moment, my perspective is that he just threw all of his toys out of the pram). And also, correct me if I'm wrong, but I don't know of any profession where an "ACTING"-position would then have a high fulfillment rate for going on and taking the actual job.

Teaching for example, you get acting heads all the time, when the deputy steps up, but (almost) never will the acting head secure a permanent position. (Perhaps it's different in other countries). And yes, I agree with Chuck below.
You had awk? Ha! Luxuries! Why when I was a young programmer we had to write the code in the
snow with our pee, and a compiler was just a word for the pilot of the
hovering dirigible that read the instructions and passed them to the
ALU, which was another fellow with an abacus. They would wrap the re-
sults around a rock, and drop it on my house when the program would
exit. We had to walk uphill...
are there more lessons past the basic addition stuff? (oh, I see that there are, but for whatever reason it didn't take me to them automatically)
The point was that; what difference does it make if Apache/Nginx is better when it's only doing it once. Or, more specifically, once per revision of the code.
No degree here, but never lied on a resume either. It was very difficult landing my first job (in my teenage years), but eventually I got into the industry by starting a company and going bankrupt two years later. Frankly it was a wonderful way to get going, and nobody has significantly questioned my credentials since then, and especially not now that I have 20 years of professional expertise. Seriously, just start a company, and if you fail at age 16, nobody really cares, and you've got something on your resume. To get a few hundred (or thousand) bucks, get out MS Word (or Google Docs), type out several dozen pages of detailed business plan, and show it to all family, friends, and ex-teachers (but stay away from banks and VC, because they don't care and you're wasting their time). Now that it's 2012 and all, you only have to beg (or mow lawns for) $500 to land an iOS developer license. Then you can write a resume, show your first year of experience, and talk about your app in the App Store.

That said, I'm not going to tell you that I'm just so special that I couldn't have used college, and the people who do say that, seem to have chips on their shoulders. There is certainly an appreciation for design patterns and the humanities that any college would have taught me, that I had to learn I needed, and go and seek out on my own, and that's hard. But then again, college students today are faced with the prospect of a lifetime of debt, just to land a career with an average (I said average, not you or me) 15-year half life. It hardly seems appropriate.

Anyway, point is, you never need to lie if you have the enthusiasm. With enough enthusiasm, the experience eventually builds to a point where nobody questions your formal education.
> I don't have the time to learn HTML5

No guide will cure that... Your two options are to learn in your own time if you have any free, or find a job for a company that offers some career development (or just has clients that allow it to work to more modern standards).
I was asked by an engineer about using my contacts to 'get him into' Google, I suggested that he do three things:

1) Make sure he had a LinkedIn presence

2) Create a Github account and put one or more projects in it, preferably written in one of Java, Python, or C++

3) Register with StackOverflow and build up some karma.

Then let the trawler pick you up the next time it goes by :-)
Are you familiar with the work of Baudrillard?
Regarding Django and staticfiles; Rightly so, because they're not ready for production and being taken over my the CDN. You need to sprinkle some django_compressor on it first but still that doesn't get the cache headers perfectly right. Or the gzipping.
Just lots of small things. Keyboards that stick around. The backlight randomly sticking at full on or full off. Settings panels that crash (got better in the latest update) or don't refresh. Alarms that don't go off. Everything related to the App Store. Internet sharing drops randomly. iCloud has been a disaster since day one. iMessages that arrive twice.
If you see "HTML5 & CSS3" and expect IE6/7/8 relevance, then you are pretty much always going to be disappointed. For some of the features there there is no "graceful degradation" there is only "having two code paths, one for IE-old and one for everything else" or "left IE-old in the dust".
I do this, but I still find that I occasionally must log in to the web interface to do certain things, like check my wife's calendar. I just try to remember to log out again.

Another temporary workaround is to set the default search to Yahoo or Bing, to help train you to use an SSL-enabled bookmark. That is, unless you happen to be logged into either of those services.
It's all about the benjamins.
On several of my modern projects, there's not a single piece of static data that can't be cached forever in a CDN. That's because server-side code is not getting really good at managing the initial build of static assets and the delivery of their URL.
Your free is also not as timely updating as say Google Reader updates. Hence I never kept up with this service because time is money and when you don't get RSS updates on time (especially when you have a context to compare against) you can't really be a happy camper as a free user.
That's cool, fuck Ruby
I don't understand why you would post that here. Can you explain?
Nginx is not a CDN.
HackNow: Programming contest for young people in Europe
All this talk of Apple Pre and Post Steve brings up another interesting point - how much of Steve's passing is just coincidence? As most counterpoints in this thread state, Steve did have a hand in everything Apple has released (and will release for sometime) following his death. So to flip the question around, how much of this is just bias/being more critical of Apple now that he is gone, and how much of it is just the natural progression of Apple, which would have followed the same course regardless of if Steve was still alive?
I think it's doubly true in the age we've just entered - The age of 3d-printed firearms. Truth is, you can't 3d print a full firearm yet, but I'm certain that the NRA will have gigantic stockpiles of all the parts you currently can buy, and the one that you can't can now be printed.

I'm not a fan of the idea of armed insurrection - I believe that it's distasteful at best, and more than likely a sign of a gigantic malignancy left unchecked. However, I can't help but point out that at least once in the past it was responsible for changes we hold dear.
Is this just an odd joke? Of course you need a database.

If you need to build a toaster, you don't need to build an iron smelting plant. Certain things other folks are better at taking care of.
It's important to note that those 'share by email' things are something the sharer specifically checked - it's not checked by default. If the shares are unwanted, I would complain to the person sharing them (although one imagines the email must include an opt-out link.)
I don't think it's so much a physics/chemical difference, but more to the effect that here on Earth, the ocean is a large body of water that sits on top of the stuff the Earth is actually made of (which is a solidified crust on top of the semi-liquid rock of the mantle)

On Titan, the role of the semi-liquid rock is played by the "ocean" (and the crust is played by the solid water ice layer ontop).
And you really believe that Al Qaeda are some sort of comic book savages?

Presumably if we were in the 1960s you'd have believed the same about the Viet Cong.

Here's a more credible opinion:
http://zenhuber.blogspot.co.uk/2011/05/preview-bin-laden-dea...
Isn't that better to do in a programming environment you're more familiar with? LIke python/rails/ASP
Then you have much better tools for building unit tests and stuff too.
Hey, calling people "schizophrenic" is not cool. Just sayin'.
Stack overflow rant
Can't wait to see how things work. I just signed up for beta.
Are you gathering photos for texture map? In that case, how can an user take pictures of building roofs?
how do you make sure the user made models are of the correct proportion? What if I make my home ridiculously tall to stand out.
Am I allowed to do graffiti in your world?
I think that might be a language-dependent phenomenon. Most mainstream languages aren't suited to building useful abstractions. But we might all be talking past each other without examples.
In this context, "In general" negates "I don't cheat...". Of course you may just mean that "nobody's perfect". However, there are people who habitually use lying as a tool to gain an advantage or place the blame on someone else. Without the opportunity to know someone better, I'd see little lies as a sign they are this type of person.
Leonardo DiCaprio partners with Fisker Automotive
You can be a bit more charitable than that. Being the acting CEO and then not the real CEO is like dating someone, proposing to them, and then have them get engaged to someone else. Sure you can remain friends but its always uncomfortable around the fiance, the questions "What did they have they I don't?", the whispers, the pity.

People, who are professionals, give room to the new leadership, if they were the former leadership they do that by leaving.
Excellent! I've been meaning to get into Emacs Lisp, so maybe I'll use the API to create an extension or lightweight alternative to org-mobile, with this client as inspiration. I've been meaning to do the same for Google Tasks (which I use) but their product and API is much more complicated and intimidating.
Good for Ross that he got a payout. Ross is a terrific guy - I worked with him at Altavista - but I can imagine a real culture clash between his style and Marissa's. Love to see what he gets up to next.

He would have made a great CEO of Yahoo, better than the predecessors. But a completely different style than Marissa.

Marissa is a fascinating choice. She'll shake the place up,
all metrics and data driven, make huge changes. It could be a big success, or the place may be too brittle. Either way, something to watch.
The trillions we spend on war and rebuilding the wreckage could be applied to reach new worlds and truly become Homo univeralis.
Ganjawana Land.
Invalidation is for suckers. A fresh new URL is much safer.
> In my experience, programmers who try to "think generically" tend to write overly abstract code that just gets them into trouble and leaves a mess for the next programmer.

Amen to that. I think part of what makes a programmer "good" is knowing where to draw the line between flexibility and maintainability. Personally, I start with very little abstract code, and only "blow it out" into abstraction when the flexibility is demanded by other code/interfaces. The trick to managing this kind of style is to never say "no" (barring special circumstances) when flexibility/abstraction is required, so you're rarely writing kludges, and to always say "yes" when you realize that some abstractions have consolidated and can be de-abstracted, so you're rarely leaving cruft.
I think unless you run a forum for javascript virus injection techniques, you're not going to see 80% visitors with disabled javascript.
> They don’t show the product. This is a product ad, not a brand ad or a perception ad. And Apple has always impressed me by the way that they have (almost) always made the product the star of their product ads. Consumers need to see what’s being advertised in order to understand the messaging in a tangible way.

The author is confused about what the product is in this case. The product isn't the computer. It's the support infrastructure available to the customer in the form of the Apple retail store with its "geniuses" and the other infrastructure/ecosystem around that. The product is the end-to-end experience.

If there's any red flag, it's because the message is FUD.
Censorship: OK to fight copyright infringement but not sex abuse?
Yes, you're missing something. Both the iPhone and Samsung's phones of the time derived stylistically from the phones which came before them, just as every other new product in the world is inspired by earlier products.

In this case, Samsung based its designs on its own earlier designs. Apple based its designs on earlier designs by Sony and Samsung. No-one should be suing anyone here, but Apple's definitely on shakier ground when suing Samsung.
What do you want people to think? There's no point in ranting about that sort of stuff on StackOverFlow, or even here. I'd flag this because it's not HN either but I think it's probably better just to let it out and then let it fizzle. The rant makes absolutely no point.
Not sure if its a 'defining' moment but Dan asks a reasonable question. At which point is it journalism and vs sponsorship. Most people think of twitter as a real time 'news' feed (with its opinions) and that twitter would risk being perceived as shutting down dissonant voices is always going to rub an old school journalist the wrong way.
This can be fixed by keeping track of some of the spillage. Here's a solution using this approach that works for 32-bit unsigned integers:

def badd(A, C):
while C != 0:
t = A & C
A = A ^ C
C = (t << 1) & 0xFFFFFFFF
return A

def div3(ah):
qh = 0
ql = 0
al = 0
while ah != 0:
al = (al >> 2) & 0x0000FFFF
al = badd(al, (ah & 0x3) << 14)
ah = ah >> 2
qh = badd(qh, ah)
ql = badd(ql, al)
if ql & 0xFFFF0000:
qh = badd(qh, ql >> 16)
ql = ql & 0xFFFF
if ql > 0x8000:
qh = badd(qh, 1)
return qh
Three insane products.
Ask HN: Why would you ever choose pay per click for advertising?
Given the difficulty of differentiating between real and bot traffic, why, as the person paying, would you choose pay per click vs pay per sale, or pay per sign up or pay per <actual goal>? I am not well versed in internet advertising, but from what I've recently read on here, it seems like pay-per-click is terrible.
I feel like I wasn't delivered the train wrecks I was promised. I didn't think these were so bad.
Probably because it is a bit too close in name to KissMetrics? KissInsights was sold to another company a year ago?