skysight-inc/HackerNews huggingface dataset:
A lot of people thought that this wasn't really a large amount of soda, bit it's the average, many people in the 50-person company will not consume this amount, so there has to be people drinking 5-6 cans a day. I personally average about 1.5-2 cans a day and feel bad about (this, of course, is on top of the mugs of coffee and tea I drink).

According to this CDC study (http://www.cdc.gov/nchs/data/databriefs/db71.htm) done in 2011, the group that drinks the most soda is males between 12-19, with 273kCal from soda a day. Assuming they don't consume diet products, that's almost 2 cans a day, but many other groups drink much less. If you drink 4 cans of non-diet stuff, you (will) have a serious problem.
Thanks for this link. Frustrated that posters think they are clever by linking to a mobile version of a story, to avoid ads or whatever. I couldn't find the non-mobile story on slate.com for some reason.

I'd rather support the magazine and view their silly ads. Plus, the mobile version stretches paragraphs across the width of the entire browser window, which is unreadable using the window size I normally use, and I'd prefer not to have to resize my window to read an article.
Perhaps, but that suggests we haven't really heard the full story why this guy got kicked out.
reminds me of the recent fad of TAS (tool assisted speed run) videos of "fastest crash" of video games.
Breath pure nitrogen. It's totally painless. Your body can't tell you are suffocating that way. You just pass out.
Try reaching out to tenants in the same building that you want to rent in, and see if they'll give up the landlord's cell phone number. Maybe pay them off for it, I dunno.
Good luck using an auto formatter on a code base that uses this technique.
Vitamin Code: Organic Multivitamin Men's Formula
I definitely wouldn't use them because they are unfamiliar. However, in my head I pronounce "&&" as "and" and "&" as "bitand", so using and/bitand over &&/& would reduce a depressingly not-uncommon typo for me. However, on balance, not worth it to me.

Note that in C++ they are keywords which is superior to macros.
Does the universe make sense?
Correct; this was a social experiment. The aftermath is explained here: http://fffff.at/when-you-dont-own-yourself/
Many editors, many developers, one convention.
After using backbone for a while it really has just gotten in the way more than anything else. You still end up writing a lot of DOM glue and use model data to control the DOM (barf). Live DOM bindings in things like angular / knockout / ember are much better. I wouldn't go back to backbone after using dom binding libraries.
Um, I think the two might coincide.
What bothers me about asm.js and Emscripten is that, if used on a large scale, they'll perpetuate the C memory model, that is, a single flat heap of arbitrary size in which things are referenced via fixed pointers. Perhaps this memory model is necessary for small pieces of high-performance code, but I wouldn't want us to keep using it as the primary memory model for new applications, especially when at least some of the current JS engines have advanced copying/compacting garbage collectors.

I would love to have a memory-safe language that compiles to efficient JavaScript with no intractable semantic or runtime mismatches between the JS and the source language or its libraries (e.g. no preemptive threads with shared memory) and takes full advantage of the JS engine's garbage collection, but can also be compiled ahead-of-time to fairly efficient native code for environments where JIT compilation isn't an option (e.g. iOS apps). I suspect that a language like this would need static typing. To gain traction, such a language would need to stick to fairly mainstream concepts (e.g. not purely functional). Perhaps this language could be a subset of JS itself. The trouble with Java and C# is that their standard libraries and most third-party libraries assume multiple threads and blocking APIs; perhaps the compiler to JS could transform the code into continuation passing style.
The Tumblr acquisition was the best possible outcome for the NYC startup scene.

The author is right that for NYC to really try to claim competitiveness with the Bay Area they need some big exits that establish anchor tenant companies. They need their own Google, or Sun, or Facebook.

But let's be honest, Tumblr was never that company. They didn't, don't, and probably will never have the kind of revenue required to be a Google or a Facebook. Tumblr took Yahoo's offer because a massive IPO and becoming a giant amongst NYC's tech companies was clearly not going to happen.

So they did the next best thing: they showed that large, successful exits are possible in NYC startups.

We're still waiting for a Google here, and it'll probably take years to get one, but Tumblr was anything but bad for the local tech scene.
The irony here is that Angular would actually let you implement some interesting behavior on your custom <rant> tags.
Here's the algorithm she described:

http://www.fourmilab.ch/babbage/sketch.html#NoteG

Seems to resemble a mathematical proof more than anything, but perhaps this just means that mathematics was the first programming language. :)

EDIT: Actually, in Note E she appears to introduce a custom notation for the machine. Perhaps this is what the article was referencing.
If you have any root CA on your system using 1024 bit certificates, you will not be more secure...
The one user in 10,000 who actually uses an ip address as an email address can surely figure out why they're getting rejected. Of course, he'll probably go channel the Comic Book Guy and write a scathing post on his blog (Worst. Regexp. Ever.), but the normal people who use the service probably won't see that anyway.
The work itself is boring to talk about, yeah, but I always got invited out. All my friends are the same types of people.

When I didn't have that job anymore and instead had a low-status non-career job (bike messenger), a lot of people simply just wouldn't talk to me anymore. I'm not saying that's definitively the cause of it but I've seen similar things happen to other people there.
The Five Most Quirky Shopify Stores
When you use the fact that && is not the logical conjunction, you'd better use another if.

if (b != nil)
if (b->bla == a->bla)

is so much clearer (and language agnostic) than

if (b != nil && b->bla == a->bla)
May 30 – Rackspace Cloud – 1M/1M Startup Challenge Finals
The 4 will definitely get the update. The 3GS may or may not, though it's already way outlived the support life of both the iPhone and the 3G.
De menopauze: de start van een nieuwe en boeiende levensfase - Plazilla.com
>> "If anyone can leave Facebook it's teens. Their social networks aren't developed/mature enough where they have to depend on other people's social network preferences. Most teens could literally leave on a whim and bring most of their friend with them. I still remember how quick the exodus from ICQ to MSN was (and nobody hated ICQ.. it just kinda happened)."

I think it's completely the opposite. It's not bringing your friends to a new network that's the hard part - it's bringing your data (mainly photos). Getting thousands of photos out of Facebook that are nicely tagged and commented on and into another network is impossible. Getting the photos out is possible but it's a lot of work. Switching IM networks is much easier than switching social networks which have so much data we value stored in them.

Another problem is that teenagers are constantly meeting new people. The default is not to ask for a phone number but for an add on Facebook. If you aren't on it you aren't going to be able to keep in touch with and develop a friendship with this new person you've just met.
Again, what material difference does it make to you?

Overzealously rejecting valid addresses is an application of subjective and inaccurate ideas about what addresses 'should' look like, and ignores the simple fact we've already mutually and formally defined valid address formats via the IETF RFCs.
Especially since under neoplatonic thought lots of things are considered more real because they lack physical existence.
He's saying a latent program could hijack your established ssh connection to add another public key corresponding with an attackers private key to get long term access.
You're the one who doesn't understand what is going on here.

The failed founders are adults who walk into the project with risks understood. Yes, a large percentage fail. However the ones who fail wind up with invaluable experience, an excellent item on the resume, and a network of connections to help them either try again or get a job. This is not a horrible downside if nobody is depending on you.

As for me, personally, I'm a married middle aged man who has been watching this from a distance. I have plenty of friends who have entered, gone through ups and downs, and mostly wound up reasonably well off. Unfortunately I have family commitments that have made the risk profile wrong for me. I also sat out the dot com crash and watched a lot of people lose a lot there.

I've also seen a lot of people think they were entering the startup world without a clue about what they were doing. They go through the motions, then painfully lose their shirts. Anyone competent develops a radar for those unfolding disasters. I feel sorry for them, but learned a long time ago the dangers of trying to rescue people from self-inflicted injuries.
There is no requirement for any other level in a domain, except for the TLD.
the link to the report: http://www.pewinternet.org/Reports/2013/Teens-Social-Media-A...
What would you say are the advantages of visiting in Sept/Oct over visiting during the months of June/July/Aug?
Yeah. Read a shitty blog and know all about zen. Overload "zen" to mean cool, hip, minimal.

Advertisers re-defined love as diamonds in 50 years.

Maybe zen will be a styleshit in 2050.
Of course they have incentive. They need to get users while they are young (i.e. before they are using a competitor). Teenagers take and post a lot of photos. If you get them to store them on Facebook you lock them in for life. Then you get value from them in 5-10 years. If Facebook only thinks short-term like you suggest they will die. And I think it's been proven Facebook has always thought long-term (e.g. prioritising UX and getting users over advertising for a long time after launch).
Teens, Social Media, and Privacy
This article might be relevant if you're 20 years old. For the other parts of your life, when you want to have a family, and a spouse (whom you don't spend all your time arguing about money with), and also enjoy the nice parts of life like traveling, a comfortable home in a good area with good schools, the ability to change whatever you're doing if you're unhappy, to get great healthcare should you need it, etc etc... you need wealth. Period. Btw, a high income, high expense lifestyle is not "rich" because you are a slave to your job. Wealth is an entirely different world all together.
JQuery 1.10.0 and 2.0.1 Released
I bought it. Looks great, but there are some minor features needed before it becomes a full product. Being able to add tasks as a client, and edit the invoice details should be priorities. I'm looking forward to where it's going to be in an update or two.
IPhone Urinalysis Draws First FDA Inquiry of Medical Apps
At least it's a standardized way of doing it. If it turns out to contain an error, it can be fixed for all websites with an update.
> Hopefully that's not the SMTP syntax you're actually using.

I typed it out live. I'm not an SMTP client and I don't have the RFCs memorized.

> I'd reject (give you a 5xx) that from my mail server for those reasons alone.

Postfix accepts it. I haven't checked the RFC to verify your concerns, but assuming they're correct, then my expectation is that postfix is liberal in what it accepts because A) it's a good idea, and B) a real mail transfer agent probably ignored those two minimal rules at some point in the past.
One of the things I realized when reading Start Small, Stay Small was that a small enough niche is a barrier to entry:

If your company/product dominates a market that is pretty small, and, say, makes $100,000 a year from it, that's just not going to be an interesting target for bigger companies with the resources to outcompete you.

So the trick is to dominate the niche, and then automate, so that you're making that money without a great deal of day to day involvement.
Rather then walking away I would suggest telling the person they can try but it is unlikely because the cost of an actual good overseas programmer is comperable to here if you factor in the miscommunication, time difference, and the cost of the time to communicate exactly what is needed.

You might want to go back to the person, ask if they have had it built yet, and ask if they want to get started now but don't let this person take advantage of your passion.
Dual N-back, Working Memory and Programming
Study reveals man's rocky road to upright walking
Tiger Global invests over $50M in Automattic
I like the point of this article, which I think are:

1) You can rebuild from any point in your life
2) Take care of yourself
3) Live in the moment
^ this is a detail which boggles my mind. why are our debuggers still line based? they're clearly not in every respect since you can basically always 'step in'to an && sub-expression, but nothing displays progress as you step through such things, nothing lets you put a breakpoint at some sub-expression, nearly every feature of every tool is delineated by lines as if they're the important part of a program.
No pitchforks, just belly laughs. Rather than just a cosmetic flub like "Dear [First Name]...", they left out the most critical info of the email with a placeholder.

Mostly meaningless in the grand scheme of things, but pretty funny nonetheless. Makes me feel better about some of my past email fails.
Their explanation is a lie. They do it for tracking purposes.
Being a Printer Master: Managing Mass Printing in a Makerspace
I think when you have to explicitly ask "What are your pain points with X", rather than being able to passively gather these opinions from your own experience or those of others (through blogs, social media, and personal anecdotes), it likely points to X meeting the needs of its users and not being ripe for replacement.

So, with that being said, to the OP, I don't believe that CL being old is a good enough reason for it to be replaced. What do you find is lacking with CL?
Good point considering security, but I still disagree. You're much more likely to get it wrong by validating than a mailserver is.
The benefit of the different types of providers comes in how and when they are used.

Constants are especially interesting because they can be injected into the .config function of a module. No other provider can be injected for the very good reason that .config cannot inject transitive dependencies. Because constants cannot have any dependencies (unlike services and factories) and do not change (unlike values) they are safe to inject during the config phase. FYI, the .run function is invoked (and its dependencies injected of course) after all modules have finished loading and all config functions have been run. If your provider needs another provider as part of its init then you can set that up in the .run function.

Remember that DI in angular is not magic. It is quite literally the creation of a closure whereby angular invokes your provider function with your dependencies passed as arguments.

The difference between factories and services has a lot to do with how they will get used and singularity of them.

I think the mistake of the documentation is that it leads the reader down the path of the convenience functions first rather than instilling a deeper understanding of the core DI mechanism.

As always with Angular docs, they are dense and it always pays off to understand what you are reading as deeply as possible. Use the force, read the source.
If you would rather be a serf, then you can go - now - to some random country in Africa and try your hand at subsidence farming. The experience is pretty much the same as serfdom was, and your current economic situation is likely to let you start with a big step up over most of the locals.
> Again, why does this matter to you, other than some sort of misplaced sense of authoritarian aesthetics?

Yes! Great Comic Book Guy impression.

Why it matters is that for most smallish companies, you want to get something up that helps your users not do stupid stuff (†), but due to time and resource constraints, you're likely to end up with some kind of 80/20 solution. It'll work well in most cases, and fall down in some others. I would certainly agree with the idea that you not force people, but a nudge is probably going to save you money in increased user retention and fewer support hassles.

† - I once had a person ask why their emails to http://example.com were failing.
The infographic describes a little about JavaScript's history, but it is a little surprising to see it not listed in the top 10.
didn't msn messenger came with windows pre-installed?

this means that your non-tech savvy friends have an incentive to use it, just like the internet explorer.

"hey John, I want to chat with you over this internet thing"

John likes Jane and wants to talk to her but she is not comfortable with downloading and installing programs. She noticed that there is an app which name suggests that it is for messaging, she clicked the icon, answered the questions and created an account.

Now the tech savvy John has to create msn messenger account to talk to Jane. All the people missing from ICQ are on msn messenger now and those on ICQ can easily create a msn accout. At first both msn and ICQ run side by side but msn messenger has all the people from the ICQ while ICQ lacks many of the friends. Why bother to use ICQ? the starting sound is not good enough reason and the RAM is scarce resource for many. so, don't run ICQ all the time, only when you need it. Msn catches up with the features and people don't have reason to use ICQ anymore.

you can switch to some other network if you have somebody to interact there.

also, many hated ICQ. it had annoying spam, the messages you receive from people that are not on your list.

people can move away from facebook only if there emerges a network with a killer feature, builds up some core network of early adopters and the rest follows them because they know the people there.
People in the UK are committing a criminal offence if they help someone kill themselves, and this might include providing specific information to people about means and methods.

Having said that, ex-politician Michael Portillo made a programme about the death penalty and that included ways to kill people that were pain free. How to Kill a Human Being (http://www.bbc.co.uk/sn/tvradio/programmes/horizon/broadband...)

This isn't a response to the article because there's not much I can say. i guess I'm glad I live in a country where CBT type therapies are available free at the point of delivery.
The smartcard needs to support openpgp smart cards. You then create an RSA gpg key with three subkeys - signing, encryption, and authentication. You'll have to enable the advanced key-creation mode for the last one. That authentication subkey then becomes your ssh key.

There are plenty of tutorials online, but none are particularly good. I've been meaning to regenerate my keys, so maybe I'll take notes and try to write up a good one.

Here are a few links:

http://wiki.debian.org/Smartcards/OpenPGP
http://www.gnupg.org/howtos/card-howto/en/smartcard-howto.ht...
https://www.crypto-stick.com/

The last one is interesting - it's a smart card reader and integrated smart card built into a usb stick.
Please Microsoft, go all the way
One downside to non-braced conditionals is that a semicolon accidentally placed after the conditional will cause the block to always run, e.g.:

if (null != foo);
bar();

This is valid code in C and Java, and bar() will always run in this case.

Having seen people waste hours on such a semicolon, I always use braces, even in one-liners, because I never know when someone is going to break it out into multiple lines later:

if (null != foo) { bar(); }
Tangentially related: a Facebook app called Social Roulette (which purported to have a 1/6 chance of "helping" a user delete his/her account) was recently deactivated.

http://fffff.at/when-you-dont-own-yourself/

Facebook certainly doesn't want to make leaving easy, but really, what else did we expect?
Why did hostnames get reversed?
I did some Googling and apparently my Google-fu is weak today.

I'm wondering why hostnames ended up being reversed. Ex: .com.example is now example.com.

I recall reading that the reversal happened somewhere during the development of a messaging protocol for ARPANET. com.example@user was reversed to user@example.com and then it just sort of stuck. Am I far off?

Does anyone have any resources or anecdotes that explain this at all? I think I may have even seen this explained in an HN thread once but was unsuccessful in finding it.

Thanks.
I often use:
if (false) {
} else if (something) {
} else if (something) {
}
To get some indentations right.

When constructing UI elements in code, I used to scope copy/pasted blocks:
{
Button button = xxx;
// and some more
}

{
Button button = xxx;
// and some more but different
}

In the rubydays it'd be:
Button.new do |b|
something
end
I'm always a little confused why hacker news seems to love to hate facebook. Pretty weak posts like this appear and everyone in the comments gets to brag about how they don't have a facebook or facebook is on the way out etc.
Toronto profitable startup hiring Rails developer
Much better story in that light, I should probably stow the cynicism and give it another read =)