skysight-inc/HackerNews huggingface dataset:
Look for a summer internship. Clearly you're passionate about this, you should look for some real-world exposure to propel you to that next level of software engineering. Best of luck to you!
How Sleep Deprivation Decays the Mind and Body
That shortfall was predicted by one analyst and it never occurred:

http://www.mondaynote.com/2013/12/15/shameless-carriers/

http://www.verizon.com/investor/secfiling.htm
> if you are looking for validation, you are committing the grave error of confirmation bias.

That's an excellent point. Most of the people here are gainfully employed as developers, or in some tech-adjacent role. There probably aren't many people here who tried it, decided it wasn't working, and went back to school to become a doctor.

That doesn't mean those people don't exist, but you're not likely to find them on HN.
Making python 2 a little bit more compatible with python 3 is not the way to go.

What about make python 3 fully retro-compatible with python 2.7 with the help of magic imports

from __past__ import byte_strings
from __past__ import except_tuple

first this will output warnings, then it will raise RuntimeError.
I don't think your father will like the joke, either. According to the story, the line workers had the ability to fix the problem all along, but they didn't bother until the $8 million system made it personally inconvenient for them when an empty box reached the scales. It makes them sound clever but also rather lazy and selfish.
> Size is irrelevant. When you declare your mission is a 'war on drugs' you're going to end up losing, plain and simple.

While size may not itself be damaging, size does correlate with collateral damage when a losing strategy (such as 'war on drugs') is chosen. The larger the DEA/ATF are, the more people that they can hurt.
I don't regard the lack of practical multithreading as a problem. We routinely use multiprocessing and IPC via queues for parallelism, and for me the main limitation is Python's excessive memory use: even atomic data types are objects which cause quite a bit of overhead (a memory efficient dictionary with support for a few basic data types would be great). Thankfully everything still fits in the server's memory, otherwise I would have to consider another language, such as Go.
I agree that they are not realistic. And I do not agree that force is the only way to interact between humans. I'm also not trying to twist the problem to justify violence.

The coconuts in this scenario are a shared resource. Neither individual owns the island or the trees. If there are plenty of coconuts on the island for both people, then a simple, "fair" solution for both people to survive is for each person to simply take the number of coconuts that they need.

Yet the answers suggest that a good climber is entitled to take most or all of the coconuts as their ability allows, even if this causes harm to other cast aways. But theft by the poor climber is never justified. Both actions cause harm, but one is considered just while the other is not.
Agreed. Regulatory regimes aren't a magic wand -- they are tools that need to be wielded appropriately.

I think that any capital intensive infrastructure becomes more difficult to manage effectively as it ages. Even relatively rich and well maintained infrastructure like the US Interstate system has severe design flaws (35-year lifespan bridges that are 40 years old) that make life more complicated.

Is that a regulatory problem? I don't think so.
This would probably work best if you enjoy every part of your work. However, I assume most of us have to do things that we don't particularly enjoy. Or, even more dangerously, we have lower-priority more-enjoyable things to do. Then a little bit of self-discipling and planning is necessary.
Any tips for a software engineer looking to make a switch to data science?
First I was petrified then I was relieved.
I was with you until you started talking about the "invisible hand of the free market" failing and how instead we should be using State force to solve these problems. Isn't your comment a free market action, raising awareness about this problem? Won't this thread cause DO to take action? Say it doesn't. There are plenty of other hosting companies to switch to. And also there are times when I might be willing to trade security for convenience, price, practicality, etc. As a consumer, I want this choice. I think the free market is working fine. You can't bully your way to good security.
Jayway is really good. http://www.jayway.com/2013/05/09/opengl-es-2-0-tutorial-for-... But apart from that, the usual suspects, www.stackoverflow.com and www.gamasutra.com are ace.
I have read this story before and it reminds of the phrase "Necessity is the mother of all inventions". What if that $8M project was never implemented ? The factory worker would then not need to manually go and remove the empty boxes. So one way to look at it is that the $8M project actually created a necessity to be more efficient and gave the guy an idea to not manually move the boxes by installing a fan which in turn solved the overall problem of empty boxes being shipped. May be he would have thought of all this without the $8M project but what are the odds ?
Eric Schmidt's 2014 Predictions (Video)
Cue the libertarian versus non-libertarian mudwrestling.

It has become increasingly clear to me that the ills of the U.S. pogroms against some recreational drugs are due in no small part to the conversion of the criminal justice system to a for-profit industry. As long as the jobs and budgets are tied to the number of criminals processed rather than the peace and order produced, cop cadres will titrate the frequency and severity of their enforcement actions with the aim to ensure for themselves steady jobs and pensions.

There is a positive feedback loop in there somewhere that must be broken before it destroys the concept of justice completely.
I would take some issue with the space program comparison, in that if you're going to live forever, then rather than putting up with a space shuttle that kills the crew roughly 1 in 50 launches, you have an infinite amount of time so launch that dude 1000 times unmanned to debug it fully before you send the first humans up.

Another curiosity might be if your average dude lives 500 years you may very well start launching 475 year old astronauts in that a tragedy will only cause as many lost life years as launching a 50 year old dude today.
Congresso Mundial de Infraestruturas de Transporte Aquaviárias
Surely a Captcha is the wrong solution to the problem (whatever the problem was). Instead of complaining about the implementation we should be wondering about the requirements.The only thing the Captcha does is raise the cost of pushing the 'Get Status' button. Simply limiting the rate at which the information was supplied to any given IP address would surely serve the same purpose. Anyway take a look at the source and you will see that it is full of junk with &nbsp; everywhere as padding for alignment, obviously written by someone with a very poor grasp of web page implementation. The kind of thing I might throw together as a proof of concept to hand over to someone more adept for implementation. (I develop technical software).

It isn't just the dev who is incompetent, the problem is the system in which he is working.
Depends on the type of immortality. This is your body, you are stuck with it (elf) will be one thing. This is your body, when you wear it enough we will transfer your mind in the new one - it will be something entirely different.
I think "forever" is generally understood as "for relatively long, but finite values less than the remaining lifetime of the universe"
Yes, it absolutely would. Particularly since that would mean that packages for 3.x would be available then; something that's not there now. If you want to migrate to Python 3, you have to re-compile any libraries you want to use.
I completely agree with you actually, maybe not in terms of pillaging the ocean floor, but as a space faring civilization, sure.
> Meanwhile, very, very large government programs like the NHS do well and provide healthcare to millions in an affordable way with great outcomes.

Isn't NHS facing bankruptcy?
They're already uploaded? ;)
Yes, Macs have a decent presence in enterprises these days--although it's easy to overstate it; Mac overall market share is still pretty low. Somewhere in the 10% percent range I believe. Furthermore. and to the original point, a lot of those Macs are BYOD or otherwise not managed as a corporate desktop/laptop. (Where I work is a case in point. You see a fair number of Macs but IT doesn't formally support them.)
> What would motivate that?

The OEMs and carriers delaying updates. By moving as much code as possible out of the core OS and into apps that they can update via the Play Store, they managed to make an end run around the OEMs/carriers. Notice how no one is really complaining about not having KitKat - the majority of the important updates are available on all Android 4.x devices, since they're in the Play Store.
>Which is why we desperately need companies to be able to make any medicinal claims at all about their products without being forced to substantiate them.

ftfy.

edit: downvote away, i deserve a hit for that.
Creator here..

Been working on this site for a couple months now and I think it's ready to get some feedback from the HN crowd. I moved into a new apartment and my walls were bare. I wanted to get my favorite quotes printed but couldn't find a service to do it. Since I have a background in dynamically generating graphics, I decided it was a project I would enjoy. I believe it is already the best tool to easily create your own wall art and I've got some impressive things in the pipeline as well. I'd love to hear your comments and first impressions.
Awesome!! Great seeing young people being creative/learning and building. Keep going! :)
Totally impressive!!! You have a bright, bright future ahead of yourself!
Anything? Really? So Musk built a space station, landed men on the moon, and launched a massive space telescope? He's landed robotic rovers all over the surface of Mars? He hasn't even put a human being in orbit yet.
You really don't see anything wrong with it?
I think PhoneGap/Cordova (the open source base of PhoneGap) can be great for certain types of apps, and it definitely leverages your existing skillset. Here's a showcase: http://phonegap.com/app/

That said, I've never done a game with PhoneGap, and I'd worry about performance (for certain types of games)--I definitely worry about performance with javascript maps, which is closer to what we do). Just something to be aware of.
You can say that, but then you have to own up to the fact that the two dimensions of "bigness" are unrelated. The drug war and medicare/social security (to take two other big programs) are good or bad for entirely separate reasons.

The fact is, when you say you want the government to be small, you are conflating things that there are different. There are different ways to be big or small, and they have different advantages and disadvantages.
Adding "This isn't rocket science" or equivalent at the end of a post doesn't make you right by the way, it does make you sound arrogant though. There are reasons to believe that skill and interest in genders vary, the premise of both of your arguments is weak, but I'll reply as though it was valid.

> 1) Unless there is reason to believe that the skills involved in doing a good job are widely different between genders, it represents a waste of human talent.

If either gender can be equally skilled at something it doesn't matter if one person is using their skill at nursing and another at coding, the split doesn't have to be the same. All women could do nursing all men could code, where's the waste of talent?

>2) Unless there is reason to believe that interest in the job is widely different between genders (and that this difference either causes no unhappiness/difference in social status, or is completely unavoidable) it represents a loss of potential happiness.

Essentially - "there are women who would be happy if they coded but they don't, so we should encourage more women to code". In our current society there is little pressure from anyone to avoid career paths that don't fit the gender role. You're pushing for equality when it is isn't needed because of "potential happiness" - hey there are men who would enjoy ballet dancing but we don't have enough men doing it so let's spread the word.

Sorry I don't buy any of this equal society crap, let people do what they want.
Does it support host folder sharing?

PS - I think the boot2docker folks are looking into this as well.
Were it that simple we wouldn't have the problem in the first place.

They then just subvert those implementing the crypto like Hushmail, Skype, or iMessage.
More like the bête noire of the Mars-exploration party. If you're going to the Moon you're not going to Mars.
This is awesome! Great work dude, I wish I had such a productive sense at 15. While using javascript did you see any performance lag when playing on the actual device?
It's incredible to look back and see all those memories put together! Good job!
Great job! So what are your plans for 2014? 60 apps? :)
C'mon! No one here read the sourcecode?

It's made without any programming using this app:
https://www.scirra.com/

... still more games than i have done though :-P
> You test "intermediate" commits the same way you test any other sort of commit. They are just commits, not something special.

An "intermediate" staged commit is special, as I have tried to explain many times now. If you stage a commit by using git-add to include only some of the changes in your working directory, you are committing a filesystem state that never existed in your working directory prior to committing it.

You can disagree that this matters, but you cannot disagree with the above statement. It is simply a fact.

Let's walk through a scenario. Suppose I am at the point in development where I actually want to create the commits that I will publicly push (ie. this is not a "commit early, commit often" scenario). All of my final changes are in my working directory, but for cleanliness I want to break them up into several commits by staging them.

$ git status
<git prints a bunch of "Changes not staged for commit">
$ git add foo.c bar.c
$ git status
<git prints foo.c and bar.c as "to be committed", baz.c
is still "not staged for commit">
$ git commit

At this point I have committed my changed foo.c and bar.c, but the commit does not reflect my changes to baz.c. That means that I have not actually tested that the tree state at this commit works. If I run my tests right now, they will not reflect whether the commit is broken or not, because my working tree still includes my uncommitted and unstaged changes to baz.c.

I do have a couple of options now. I can stash my changes to baz.c and run the tests; then "stash apply" them if the tests pass. This is probably the best option for ensuring that my staged commit is not broken. I can also commit my changes to baz.c, then checkout HEAD^ and run the tests, but this solution forces me to mentally keep track of which commits I have tested; if there are many commits in the series, this is burdensome.

Both of these solutions are entirely possible; I'm not denying this. The "stash" solution is probably the best option for this. But that said, it is fundamentally true that when you (partially) stage a commit, you can't test your commit prior to committing it. So when you write your commit message and mentally perform the process of deciding that you like this commit enough for public consumption, you don't actually know if your tree is broken or not. Even though there are workarounds, I still think this is a bit clumsy.
Indeed. Anyone who does Cocaine has blood, and lots of it, on their hands.

Of course that sounds a bit flip, but any moral drug user should think twice about their "victim-less" crime and either A. stop using illegal drugs, or B. campaign tirelessly for the mass legalization of drugs.
What makes a piece of string long enough?
I like the trend dashboard you guys put together.
Your body already does this though. Cells die and are replaced all the time, even neurons. You aren't you from seven years ago nor 14 years ago and you're still barely you from last year. I'm not really sure why this argument even enters into the equation, if I replace all my parts and still think the same I'm essentially still me (In an awesome robot body).
10 years ago Apple and Google didn't have the money either. The idea is for space companies to grow into the equivalent of these companies. It's not just the money, but the entire ecosystem to support the industry.
> What areas of biological research are fundamentally limited by computer power?

The fields of bioinformatics and computational biology are firmly established and growing rapidly. This 2012 article summarizes: http://www.ploscompbiol.org/article/info:doi/10.1371/journal...

But your question is specifically about computational power. Any area that requires modeling or methods that must be over-simplified in order to run on today's hardware are candidates for benefit from computational power. That seems to leave a lot of room: http://en.wikipedia.org/wiki/Modelling_biological_systems

But I will grant that development of new algorithms is also important. It's just that computational power itself assists in the discovery of new algorithms via the development of better research platforms.
Mars One: Human settlement project on Mars
True but there is the opposing force where if you live ten times longer, and you don't have to do the driving, its just as "effective" to sit in the back of some kind of conversion van going 5 MPH playing video games or reading or sleeping than to drive at 50 MPH.

There is a justification for raising speed limits even if death rates increase slightly because the aggregate total loss of life at 55 might be higher than at 65, assuming loss of life due to sitting around driving is as bad as loss of life due to being dead is equal. On the other hand if you live "forever" and you're not doing the driving anyway, then its hard to justify going more than 10 MPH or so. At which point its probably about 8 times less bandwidth required at 10 MPH than 80 MPH.

Its also more economical WRT gas or solar electricity use or whatever propellant solution.
1. Learn some ML. Either use Andrew Ng's course or Hastie's book or Bishop's. If you complete Hastie or Bishop you will be ahead (in theoretical knowledge) of 99% of professional data scientists.

2. Do some data science/machine learning work at your current job. It's not an either/or between SWE and DS. Software engineering is a huge part of real-world data science.

3A. Ask for a huge raise you won't get. When declined, say you'll take a regular cost-of-living raise if it comes with the title "machine learning engineer" (which, IMO, is more impressive than "data scientist").

-OR-

3B. Change jobs. After (1) and (2) you're more than qualified for a data scientist role.
Useful idiot.
This is intellectually gratifying. /s
Turn your blog into a habit for readers
Germany had a different electoral system (one that included equal, universal suffrage) than Prussia, which was at a different, lower level than Germany.
> Most countries are representative democracies, and it's more difficult for leaders to go into a war.

There's not really a lot of evidence that representative democracies are any less likely to go to war than otherwise similarly-situated nations with different government forms.
Favorite Hacks of 2013
The phrase “C standards committee” is eminently ambiguous, as the standards that define the C language (e.g. ISO/IEC 9899) are the work of a committee. These committee members have constraints coming at them from all sides and do a very good job or maintaining compatibility with the past and future-proofing the C language at the same time.

This has nothing to do with coding standards, which any fool can define (and some have), and for which the only instance that really deserves the name of “standard” is MISRA-C. The other such “standards” have a scope typically limited to a company and its providers, and reflect the style and idiosyncrasies of the person who was in charge of defining it (they are rarely the work of a committee).
There is nothing wrong with a large government as long as you can ensure that it is transparent and truly working for it's citizens.

As soon as governments start abusing their power to help big business and for public officials personal agendas, then you have corruption and it is detrimental to that country and society.

How could you have safety, security, and social justice WITHOUT a large government? There are 300 million people in this country, a good percentage are poor, a large percentage don't have great morals, and a transparent and strong government seems like the only way to combat that.

Yes, a small government MIGHT work in a country that is unified and that has near 100% national loyalty, but the US does not. The US is very diversified, has a huge population, has tons of people who were raised to be greedy, and social conflicts are almost normal. A small government (near anarchy) is not the answer, in my humble opinion.
Python script to download them all

https://gist.github.com/hydrogen18/8185934
The reality is, your brain cannot process that many close connections so you are inevitably limited.
I don't have a goal, I just like to do moderate physical exercise because it feels good and I just can't stay sitting and immobile for days.

I go swimming once a week, and twice a week during the winter. I swim for one hour and how fast that goes depends on my energy level that day. After swimming, I might do some painfully slow abdominal and back muscle sets after swimming, just for fun. Or not.

Then I walk a few kilometers every day: I walk the dog, I walk to the public transit, and then again from there to work, and I walk or cycle to do local errands.

I walk stairs and almost never use the lift.

I don't need to look fit but I kind of like knowing I'm fit at least to an extent. I don't want to start panting after taking up a flight of stairs or when I walk or cycle.
Teach Math To Your Kids Through Games
Kids are very curious and constantly exploring the world around them. You as a parent need to use their curiosity and desire to learn new things to teach them useful practical things that can later be perfected. For example, you can teach math to your kids through games.
Will This Be The Retail Store of The Future?
So what? why cant these componets be open source?

If Google really cared, they could split them out into a separte service and still require them for official Android licensing.

I think this notion that they have to be closed source is a very strange redherring that people have bought for some reason.
You're right. I chose that license because I originally wanted to protect the artwork which I paid a decent sum of money for. Now that its been over a year, I am less worried about the artwork since I have recouped my original costs. I just changed it to MIT. Thank you for pointing that out.
> You could make a fairly strong argument that these days the US is not much of a representative democracy; and that it is more of an elite oligarchy which performs a theater of democracy for public consumption.

To the extent that you could make such an argument "these days", you could make an even stronger argument for the same thing at almost any time in the past history of the U.S.
That depends. Just how much mad science are you willing to engage in?