skysight-inc/HackerNews huggingface dataset:
If the only variable you're going to invoke is food availability, why isn't everyone - or near enough everyone - obese?

Also:

You'd expect, if food availability was the sole variable, for things like pasta to be the ones best correlated with obesity. (Well, no, actually you'd expect wheat flour at $0.07 to be, but you'd expect pasta to correlate better )

So, how comes Coca Cola is $0.46 per 200 calories while pasta is $0.21 per 200 calories, and yet it's the consumption of sweetened beverages that correlates so well with obesity? How comes so much of our energy comes from fast food, (a Jack in the Box burger is $0,57 per 200 calories) rather than wheat flour based products?
I find this really interesting. I have had 2 pretty serious motorbike accidents (a bus and a tractor. Poor choice of targets I admit). I was lucky to get away with nothing more than broken bones - albeit a fair few of those.

I remember getting back on the bike after the first one, and having worked myself up about it for a little while, the only thing I really remember was how amazing it felt to be 'free' again.

I guess what I am trying to say is that the anticipation of the thing was much much worse than the thing itself. Keep to a relatively safe environment, and let yourself remember why you loved biking in the first place.

NB. Purely anecdotal, I have no doubt that my experience of "getting back on the bike" is different to many others. Just don't convince yourself it's an impossibility.

PS. (I don't have a motorbike anymore, though I plan to buy one again at some point. I have had a little ride since the second - just no money to purchase a bike of my own)
That has been my experience as well, in fact, I believe the native DocumentFragment code should be slower than the jQuery innerHTML-based code.
There's a problem when you apply this to software development. There are so many frameworks and APIs out there that it's impossible to truly learn them all (to the point that you truly understand them as opposed to just knowing how to use them), and they are generally superceded in a few years by the next best thing anyway.

I used to spend time looking through the code of open source projects to understand quirks or things I didn't fully understand, but the pressures of work mean that new libraries just don't get the attention they deserve. Hence, you end up in a rather depressing best-guess approach when using new libs, and revert to google/StackOverflow if you have a problem.

I much prefer to fully understand things.
Building a full-text index of git commits using lunr.js and Github APIs
Pinterest Launches Pins With More Info And A New Button For Mobile Apps
Pinterest announced two new features today that will help make the site more attractive to potential advertisers. The first is pins embedded with additional information about products, recipes and movies. The second is a Pin It button that is now available on nine mobile apps.
I disagree, use JavaScript since that what you're supposed to be doing, using jQuery for everything is stupid
It seems to me that the use of the word "swipes" in the headline (which comes from the article, mind you) is utterly unjustified by the article. It implies there is a fixed Android market share which Samsung somehow took. And it suggests they did something unethical to get it.
The concept of a business is hundreds of years old and history has seen most types of business financing, both benevolent and scammy. As a result, there's a massive amount of regulations around it. No matter if intentions of the business owners are benign or not, when the public invests in companies there is a need for rules governing transparency and control.

What the post is referring does exist, it's called the stock market. It is a set of rules you need to follow before you can allow thousands or millions of shareholders to invest. Committing to the rules and getting the permission to do so is called an IPO.
The motivation behind the post is that a lot of proects in the .NET-world are still deploying things manually. That's a big don't in my world and there are great tools out there as TeamCity, Octopus Deploy and PowerShell to assist you.
Technically not because JS is prototypical, but because of how ES5 defines `Array.prototype.filter`.
I'm always suspicious of these figures about relative male/female earnings. The methodology is rarely given and it usually turns out to be apples to oranges comparison.

That said, what these women have experienced is horrible. As a man in tech my only response is "this stuff is unacceptable, and this isn't me, please try not to tar us all with this brush".
Is not crappy because is slower, is crappy because it destroys all the eventListeners and custom properties of all their childNodes.
Nicely done... right up until the end: "In that world if your game doesn’t run at 60 FPS, you might as well go work at Target."

Target made $69 billion dollars last year, and employs 365,000 people; I'd say there's no shame in working there.

If the cushy software dev life leaves you unemployed at some point, and you need a working-class job to pay bills while you hunt for something more to your liking, how will you spin your snarky attitude to your interviewer?
This is great. Totally awesome.
Even in a time of economic distress, the Spanish are doing what everyone should do all the time. Kudos.
Disappointing, I was expecting mousewheel to zoom. Somehow a map without that functionality (even knowing it's CSS implemented) is unusable to me now.
For the record, India is not in Eastern Europe and the wages and quality of life here are a HELL OF A LOT better than in India.

edit: but yeah, jolla is too expensive.
PHP is the BEST & why we are stupid not looking at the performance.
I have seen many posts that malign PHP for its language problems to the extent that people tend to leave PHP and go for Rails, Python etc.
But I was surprised when I filtered the latest round of popular web framework benchmarks.
I filtered the round to look out for some popular web framework and the results are here:
http://www.techempower.com/benchmarks/#section=data-r5&f=5s6i-13ydnk-0"

You would see plain PHP coming on top or near top in many tests.

When it comes to performance, PHP is hard to be beaten by Rails, Djangos of the modern world. And who would beat performance?

Hail PHP.
A business owned by its "stakeholders" (customers and/or employees) is called a co-op.
Thanks, and I haven't looked at contacts again since the update. I appreciate you pointing this out to me. I will have another look at contacts this evening.
Yes, Hollywood and Silicon Valley executives are tied to California because that's where the jobs are. But people who rely only on investment income (ie. retired people and the very rich) can often be found moving jurisdiction to avoid tax.

A corporation may exist only on paper but the value that it creates comes from a mixture of social, human and physical capital - and that occurs at a particular place. Facebook could move its place of incorporation to Delaware overnight, but the place where it 'adds value' is rooted in California.

Regarding the widget manufacturer: Yes, in some cases a transfer profit of 20% will be sufficient to wipe out all reported profit in the high-tax jurisdiction. But how common would that be? If Apple were to able to inflate the cost of manufacturing an iPhone by 10% there would still be plenty of US profit left to tax. If Ford could inflate the cost of all the components it imports from low-tax jurisdictions (not high-tax ones like Japan) by 10% would it have a significant effect on reported profit?

You are right about the software licences - I made a similar point here:
https://news.ycombinator.com/item?id=5731680
If the software was developed in Ireland then the UK shouldn't be able to tax the profit.
What happens on the Internet in just 1 minuet - infographic
> Prototype-based programming is a style of object-oriented programming in which classes are not present, and behavior reuse (from Wikipedia)
Cool! I will try to make this. Who is doing the speed reading presentation? Coincidently, I just gave a presentation on a speed reading application I developed at a conference in April. I'm interested in hearing another take on it.
Google Discovers Lessons from the Military
Happens all the time, gets called out all the time.

Check out make like game daily (Game dev general) for a good example of how to approach it http://boards.4chan.org/vg/res/36005690 (nws)

https://twitter.com/AGDGBot if the link above is dead
In some Eastern European countries the average salary is below 450€/month.
Prediksi Skor Mallorca vs Real Betis 21 Mei 2013
Prediksi Skor Mallorca vs Real Betis 21 Mei 2013. Prediksi Mallorca vs Real Betis. Prediksi Pertandingan Mallorca vs Real Betis.
Does Tumblr Lose Its Cool If It's Acquired?
But doesn't everything cost more here too, which offsets it?

Is income the primary/only motivation?
PsPad ( http://www.pspad.com/en/ )
It's not that bad, but the amount of emphasis such a mundane feature gets in the marketing seems bit worrying if there is nothing more in it.
If so, then pricing their first phone higher might be a valid way to increase its perceived value among the developers who get one for free. The assumption behind it would be that if you got a "$500 device" for free you'd feel more obliged to try and actually do something with it than if were a "$200 device".

I.e.:

1. Announce a device that "will be for sale for $500" (whether or not it will be widely sold at all).

2. Give it away for free to developers.

3. The developers feel like they shouldn't waste $500 wroth of value, hence they try to develop for it.

4. Get more apps (than you would with a cheaper device).

5. Launch a cheaper device for the majority of your end users.

Is this a known strategy?
There are, however, some elements of knowledge that are more important than others - and it's often important in learning to check that you actually understand something on which stuff is later being based rather than just forging ahead and hoping it all works out okay.

Besides, the advice was never to just remember. You know? Ask questions, build on your current understanding - if that requires you to go and learn more facts, go do that. It's a question-based method of learning.

Makes sense to me anyway - how I learn most of the stuff I do :/
Thanks! I just cut-and-pasted it, didn't think to check whether the quote had made it through unmolested.
Whenever I feel this way, I just open http://programming-motherfucker.com

And I just start writing code.
Nice point.. i wasn't a ware that using the native selectors should give major performance impact. I will try to measure it and will see, Thanks
Ditto - would be interesting to see what pct. Of people viewed this from that dead system...
"before Google, no major messaging system supported XMPP or federation!"

I think what we are seeing is the end of a poster child. Google has gone from being an engineers dream job to a self serving corporate entity.

XMPP could have been made to do what Hangouts is doing, but instead of improving the web as a whole they are just focused on their own platform and profit line. Which is something they are entitled to do, it just sad.
And in fact, after I updated my Firefox to 21.0, it seems that it took more memory than before. I run it on Mac OSX 10.8.3
There once, during the internet bubble of 2000, was a startup that said anybody who signs up for their newsletter will get a share in the company.

All the serious finance people said it was a scam, but a lot of people fell for it and did enter their email. Internet was hot back then.

How did it end?

After many years, the company paid about $4 for each shareholder and then IPOed.

It is still an awosome newsletter business today. It's called TravelZoo (TZOO)
> 2) Technology driving the price of food to near zero.

Got any source for that?

I worked for 3 years in a European Union Scientific project (FP7) of Rural Development and Agriculture in 6 countries (Germany, Czech Republic, UK, France and Bulgaria). The findings we got (including direct interviews with farmers, Eurostat data and other panel data) contradict your claim.

Specially if we consider that one of the main requirements of food is land (either for crops, trees or pasture for animals), and if anything, fertile land is getting more expensive.
Not sure of the converse part though. Anyway, I think we can continue arguing on semantics. This is not going to benefit anyone like the flame wars.

Use what you feel good and productive. Be happy.
I think the notion of the "notoriously cash-strapped students" is a bit of a myth. Not that students typically have wads of cash, but most students I see around have iPhones, trendy clothes, spend money on booze and cigarettes. And even if you avoid generalizing students as trendy and cool, look at study aids students buy, they won't necessarily spare on a book or a laptop that would help them study.

At kenHub - we build a platform for learning anatomy. It makes students' lives easier and they can be more effective in their studies. As much as we'd like to give it away for free to all students, we need to make a living, and we need money to improve our products. Luckily, our audience seems to see the value and are willing to pay for it.

I think it boils down to the utility of your product, to students, grandmothers, or any other segment.
When I develop, I don't think about that stuff not because I ignore it but because it's ingrained.
I don't think "Should this be a factory? A decorator?" I just tend to notice opportunities to use these and other patterns.
The reasons you shouldn't think about it is because it's an instinct, not because you're ignoring it.
Go with web2py. Its the best!!!!
Growth Hacker: A Buzzword Surrounded by Buzzwords
Wordpress.com has 66 million blogs and it's parent company made ~$45m - and I'm guessing a significant chunk of that came from a tiny percentage of power users.

Most users just aren't willing to pay for a consumer web product let alone invest, for something like tumblr you'ld be lucky if you could get a tiny fraction of a percent of users to even think about investing.
Why 100? Why not 20?
Given that Sublime Text does not look like a Mac app, and that TextMate was a Mac only app that looked very much like a Mac app, I find it to not be 'spiritual successor' in any shape or form. Sublime Text 2 is a cross-platform application. Having said that, Sublime Text has borrowed some good ideas from TextMate, but many editors do that these days.
A scalable, affordable WordPress hosting. Lessons learned
After switching from drupal to wordpress around one year ago, we look at some technology choices and experiences with our hosting setup.
It's not dead. It's alive and kicking: http://usesthis.com/
The way of the ninja (for task management)
Cryptography in .NET : Hybrid Encryption Protocols
Modern GPU
Hard to beat ST at the moment. I'm guessing that it will eat Vi user as well in the future.
What you say seems to logically makes sense, but if you think about it, in the end boils down to "better be quiet or the bullies will make it even worse".

Better be quiet or the bullies will make it even worse. There are so many thoughts I have on this but it all boils down to this.

Do you submit that not talking about something very wrong that is happening right now in your justice system and is supported by it, are you saying that keeping quiet about it is a "better" option than making it open, public and letting people know?

That is exactly the logic of an abused kid. I am sorry.
> the candy, nuts, yogurts, fruits and oatmeal bars that we have at my work for snacks, which are extremely calorie dense and don't really make me feel full physically.

With the exception of candies, those are nog bad options per se. The problem with all those options is the way they are packaged: Companies put a lot of salt (in nuts) or sugars (yogurts, oatmeal bars) to 'enhance' the flavour. Unfortunately there seem to be very few options (and usually more expensive) for 'ready made' health-ish food, but it can be made.
I think it's not about bringing money to the company, but giving a new image to Yahoo. People are going to associate tumblr, which is something pretty new and cool on the internet, with yahoo. Which is? Maybe a mail? A search engine? Nobody knows anymore.
Ask HN: Why are all my post Dead on publishing?
You are comparing a phone with 256MB RAM (The samsung) to a phone with 512MB RAM (the Geeksphone). It is unsuprising the Keon is faster and snappier!
The evidence looks pretty strong to me, but I am not an expert in any way. Anakata's encrypted files (which the police did manage to decrypt) and plenty of IRC and server logs among other things.

A quick overview of the investigation suggests to me and the Swedish police did a pretty damn thorough job investigating. The IRC logs start at page 435 in the FUP, though they are mostly in Swedish.

As far as I can tell, the investigators have very solid evidence and going to the length they did to arrests anakata seems reasonable. That is not to comment on his time as 'häktad'.
Well my point was that a quarter of India lives on 10€/month. But then again those people probably don't buy smartphones.
Zumbidos en los Oídos
That's good to read, Minecraft is good, but I'll admit I do not regret this time I had alone or with my friends in my bedroom playing Streets of Rage, Tekken, Gran Turismo, and other less intellectual games. I also spent time playing with music instruments, legos, wood, and electronics, but I consider other games to be part of the adventure too.

I totally get your point and I just want to add I'm glad my mother didn't want to push me away from junk and towards science and creativity, because that's where I was going anyways, but making the choice myself felt great. Playing zombie games did not make my math grades any lower than other kids (or so I think), what matters is balance I guess.

Personally, creating/building things always made me happier than anything else, so I had to do it more anyways.

Maybe I'll have another point of view when I have kids though!
Children use huge amounts of time.

It might sound like parents are spending all this time dumping a child in front of a screen but really this time is quite short compared to the rest of the time that's available.

Gardening is another great activity. Start with cress, then herbs and vegetables in window boxes.
Success Has A Thousand Fathers
You should spend 90% focusing on profits, and 10% coding.
I think the reason most startups are hesitant to ask their user base for funding is because even selling OTC stock in a company still requires alot of regulation with the SEC. If I remember right (others feel free to weight in here), the startup has to designated a transfer agent, then the company also has to value all of it's assets, past revenue, and I don't think they can account potential revenue. Selling OTC stock in a company, I don't believe is just stick a price on it and sell it for that amount.

In other words, a startup would be better off formulating a clear and concise business plan.....or be like Mark Cuban, and sell high and go on Shark Tank...funny, what happened to Broadcast.com and the buyer? [yes, I know the buyer is Yahoo, and the basis of this article is Tumblr]
Spring DataIntegrityViolationException
>optimize a snack for deliciousness

Oh noh!, that snack is so delicious that I cannot stop eating it.

It really puzzles me that, in America, the 'vote with your wallet' place, people who care to be healthier doesn't just start buying healthier foods.

After all, the USA is characterized for a strong free market no? as soon as demand for healthier food increases, companies surely would start selling this kind of food I think.

The truth is that people don't care (and not only Americans... in Mexico we have the same problems).
Its a great option, if you have millions and millions of dollars in the bank.
It's still quite a bit less than an iPhone or a fancy Samsung model.
To my understanding, the thing that is really new is the current strategy surrounding IPOs. From what I gather, IPOs used to be a key option for raising funding, rather than a key option for cashing out.

If you use an IPO as a source of fund raising, it seems like you'd have little trouble using the stock market to do this very thing- allow your users to invest in you.
Building Solar in Spain Instead of Germany Could Save Billions
Now all you need to do is make it really easy to set up a co-op and "sell shares" online...

I'm guessing this could be done in the UK - we have a few major co-ops here; is the US the same?
Even mass-produced pizza doesn't have to be junk food ... but when you sit down and eat a whole pie, you're going to be over-doing it regardless of how healthy the ingredients were.
Or should create a DOM element. I think the main pitfall of $() is that it tries to be too many things at once. Node creation and selection should be two separate slimmed down functions. There's no need (other than convenience) for selection and creation exist in the same function.
This is also great (same author) http://www.csstardis.co.uk/
Maybe the order in which the Regexes are evaluated is also important due to caching etc.
Has anyone tested if results are different when changing the order?
On more than one occasion I ended up editing files by piping them through sed because even ed didn't work (it tends to require writable /tmp or something like that)
There is a perception amongst some guys in IT that women aren't capable enough to be great programmers. Hence they either don't strive to higher positions (and higher wages) or they are deliberately kept down.

I've seen it happen on a few occasions and it's really disheartening to watch them get screwed over.
It's fascinating how countries can maintain normal relations in other areas while things like this, catching each others spies (Russia) etc is going on at the exact same time. Similar to how it's very strange how Apple and Samsung can maintain their business relationship while suing each other all over the globe and bashing each other in the media.

I guess I would make a bad diplomat, US President or BigCorp CEO. When somebody craps on my face I lose the willingness to cooperate with them. I want nothing more to do with them.
Why We Aren’t Developing For Ouya
Nice Work! Small typo.. it's "Elverson Road".
My opinion:

Web2py is easier and more fun to use.

RoR is a lot more widely adapted, so it's better choice for your career (than Web2py or even Django). But I don't like it, because I find it bloated (like a slow and fat man) and overcomplicated.
> E.g., there are regularly people that are sure they have
> solutions to problems that are reducible to solving the
> halting problem, but that don't have the theoretical
> background to realize it is reducible to the halting
> problem or why that means their "solution" doesn't work.

I think you might have gotten this the wrong way: All decidable problems are trivially reducible to the halting problem (just decide them and then map to a halting/non-halting Turing machine). On the other hand, if you can reduce the halting problem to a problem, it means it's undecidable.

I would be curious though which "natural" undecidable problems people claim to solve regularly.
Perhaps they are links to banned domains.
Yogscast (quite sweary British minecraft youtubes) have 4,806,098 subscribers and 1,931,000,000 video views.

This video [1] has 1,076,520 views, 49,507 up-thumbs and 808 down-thumbs, with over 7,000 comments. It's been up for about 24 hours at this point.

I fully support down-voting and commenting, but I'm not sure it's going to have any effect.

Luckily, there are plenty of other videos where decent attitudes are on show.

[1] (http://www.youtube.com/watch?v=_idfJmWRj3s&list=UUH-_hzb...)
It's not valid HTML!
Another quick note: The certificate is signed by CACert.org, a community-driven Certificate Authority (http://www.cacert.org).
Use your keys to browse more stories Prev2426Next Is Gamification Just a Fad?