skysight-inc/HackerNews huggingface dataset:
Sometimes the only winning move is not to play
I've felt more or less the same as you and recently I've found Test-Driven Development with Python[0] to be a really nice resource. It is first and foremost a TDD book, which I certainly appreciate, but it takes you through creating an app in a (to my eyes at least) fairly rigorous way. It probably shouldn't serve as an introduction to Django but for someone who has a basic idea of how a project is put together but has never connected those dots, it might be really helpful.

[0] http://shop.oreilly.com/product/mobile/0636920029533.do
Prior discussion: https://news.ycombinator.com/item?id=9793947
You left out the biggest cost of all: technology theft. The Chinese government wants its manufacturers to watch for technologies that could be of economic or military value and to pass them on to relevant Chinese organizations for use. When the local Party leader's son starts producing your "specialty machine vision systems" in his factory down the road, are you going to go to the Party-controlled court and sue him?

If I had a "technology" that was immediately discernible by any buyer (a plastic cup, a game board with an image printed on paper and glued to cardboard), I might make it in China, but for any non-obvious technology, I would assume that any money I saved on COST by making it in China, I would lose on PRICE when my manufacturer's brother-in-law started competing with me.
Having your 'brain turned on' while browsing wouldn't really change the efficacy of this exploit.

A site is on the default whitelist of the addon that can contain a malicious payload. Any site on the internet could therefor have a link to this payload. Granted, I'm not sure what sort of malicious JS payloads there are, other than crashing a browser, that doesn't involve some XSS.
The TechEmpower Web Framework Benchmarks score Java 5X faster than Erlang at a simple JSON test. (There's an even simpler plaintext test but no one was implemented it for Erlang.)

However it's worth nothing the test only runs for 15 seconds. It might be an interesting addition to run it for 10 minutes and measure 99.9% latency, as jlouis proposes, and prove one of you correct.

https://www.techempower.com/benchmarks/#section=data-r10&hw=...
The easiest way to know is to watch the chinese deal websites. I use those for sourcing anyway so I perform an idle search here and there. In all honesty, if you're getting cloned it's a positive signal that you have a potentially good product (at least on the higher end of the technology scale--for someone like an early-stage fitbit it would be disastrous if the cloners were capable). If you aren't able to watch deal websites, there are other pretty easy ways to track it.

It's also about the strategy of your development--you can take a few very small actions early on that will make it orders of magnitude more difficult to copy your product. But, generally, it's not worth a factory's time to clone your product, especially if it integrates manufacturing processes they don't have access too. I have this benefit because I work mainly with small factories and while they do cooperate with each other, there isn't the infrastructure or margins to allow them to do anything other than focus on building parts as quickly as possible.

My email should be in my profile, drop me a line!
Losse weight without spending time you dont have safe and easy
HotSpot doesn't matter that much in this test. You end up spending 80% of the time in the kernel and when I tested, the Erlang code only spent a fraction of it's time in the emulator loop. In other words, the speed comes from everything but the optimizing compiler. It is from the runtimes.
What grades are you talking about? There was a very large experiment done over 80 years ago that showed kids who weren't taught arithmetic until 6th grade did just as well as their peers after just a year of instruction. They even performed better than their peers on word problems.

https://www.psychologytoday.com/blog/freedom-learn/201003/wh...
Elixir Slack community
I have a Panasonic Ya 102 welding cell that will do it for much cheaper. I have one part we make with it that has 12 cents of human labor per part, based on a $30 per hour operator cost.

Automation keeps getting cheaper and better, too.
It pretty much is clear.

And it proves Krugman wrong so I guess since that 2 year old article with its disingenuous graph (sneakily shifting the y-axis to make the up tick look insignificant), he'll never mention Ireland again.

Irish GDP grew 4.8% last year - one of the highest in the EU. Unemployment is 30/40% less than peak (although still high at 9.5% but it's falling). The government deficit is falling faster than expected. So despite the fact that apparently "austerity doesn't work", it did for Ireland (and it looks like it's starting to work for Spain and maybe even Portugal and Italy).

Here are some more up-to-date economic numbers: http://www.rte.ie/news/business/2015/0312/686549-cso-gdp-gro...
Ask HN: What books should I read as a software manager?
I am currently working as the head of an IT team consisting of developers, testers, product managers in a startup.
I was one of the 2 developers in the same company a year ago and now our team has more than 10 people.
So I have little experience as a manager and I want to improve myself.

Which books do you suggest?
I specifically said living in China as a Chinese, so to be exact here Chinese means the Chinese local with family. I don't know much the life of foreigners / immigrants and how well they integrate into the society, but usually there are

* wedding gift

* "business" expense that you did out of your pocket (take your co-workers to lunch, buying gift for your clients)

* gifts (giving red envelopes during Chinese New Year, friend / elder birthday)

* rent

* personal saving

* family support (especially supporting your parents)

* medical expense (for a lot of people they have to pay before they can see a doctor)

Here is an article http://business.sohu.com/20131210/n391561808.shtml. Many people can only afford a tiny room today in the city and this depressing phenomenon is coined "蝸居" (snail house, about 10 square feet, and sometimes less, or sharing that tiny space with two or more people), and has been televised and documented multiple times (e.g. a TV drama called 蝸居 was made a couple years ago).

If you are a blue collar working at a city far away from your hometown, you have to go back to your hometown at least once a year (during new year break), and usually it is expected that you have to get a lot of gifts from the city for your family and your neighbors (to thank your neighbors for helping your family / keeping an eye on your family in your absence).

You can almost say the Chinese culture is all about showing gratitude with gifts, this is why e-commerce is such a big deal in China (also why foreign brands like Apple can make so much money in China ;-))
I generally sympathize with homeschoolers, but these parents seemed pathologically unable to doubt themselves or admit to mistakes. They were unable to see that their son, James, needed help learning to read, and even seemed to minimize his unhappiness. They did nothing to prepare their children for public school, despite professing to know how unpleasant the social environment can be. When James was picked on by his classmates, he never let his parents know — presumably because they were so unattuned to their children's experiences that it would have been pointless.

These parents doubtless believed they were virtuous in rejecting the culture of the times, but they went quite a bit farther and were basically delusional. People like that should not homeschool.
They don't only work for ASCII. While the majority of writing systems in this world do not have case distinction, some that are widely used do. And arguably it is easier for the user to understand. The people who do trip over it are mostly programmers with the wrong assumptions about how things work and then complaining that things can't ever be simple ...
The differences between GNU and UNIX behavior can be substantial. I used a SunOS system for a few terms in college; I used Debian to get work done, but for a few things we had to make sure our code compiled and ran on the SunOS system.

One of the first things I noticed in the short while before I put the GNU tools at the front of my path: the SunOS tools wanted all options before all other arguments. So if you have "ls something", and you hit up, space, -l, enter, (or "!! -l" if you prefer) then instead of the long listing you expected, you get the same short listing as before, along with an error like "-l, no such file or directory".

It's minor, but it's one of those things that adds up when you're used to more capable tools and find yourself in a less capable environment.

OpenBSD doesn't necessarily suffer from the same deficiencies (I certainly don't know if they have that one or not), but when you're used to coreutils, any other tools can be a shock, and not typically in a good way. The same goes for environments like busybox, but at least there it's for a good reason: size constraints.

I'd be curious to hear examples where the reverse is true: are there instances of the standard command-line tools available on other UNIXen being substantially better than the GNU userspace tools?
That guy [1] used search engine autocomplete to find out that many people search for phrases like "why is facebook so slow". This is really just another indication of something beeing terribly wrong here...

[1] http://calendar.perfplanet.com/2013/why-is-the-web-so-slow/
I've been with them for like a decade, and I don't think you've ever needed a specialized program. Use whatever you'd normally use to copy files over ssh, sftp, or ftp (but don't use ftp).
This would be a good submission for the Who's Hiring thread, which appears on the first of the month.
If you use a computer, you're part of that process as well.
http://s265.photobucket.com/user/NarianMar/media/Fry-NailHam...
Letters to the Editor: Misleading Mathematicians [pdf]
With manned spacecraft, you have to factor in the chance that the crew would survive a failed launch. Specifically, in the press conference following this latest failure, it was stated that the planned crew escape system would have been capable of saving the crew. To my non-expert eyes looking at the event, there seemed to be a fair amount of time between there being an obvious problem, and complete disintigration.
Pretty cool. You might add a counter to keep track of how many breaks you have taken, since you usually take a longer break after every four short ones.
My debugger shows a full stacktrace too. I usually ignore the Django code that's its written on top of and use it in the sections I have written.

I don't find it a hindrance in any way seeing what part of the Django code called my code.
There are health and environmental costs to fracking which are not being adequately addressed, and which are unsurprisingly ignored by this article. China was able to get a leg up through dirty coal and oil operations, but there are consequences to this. Some of their cities are today near uninhabitable, some are just unbearably smoggy. We definitely do not want to pat ourselves on the back for an economic boom that scars our country's land and water resources and affects the air water of countless individuals (citizens!). If we're going to build our economy on fracking, it should be heavily regulated. No entity should have the right to pump unknown chemicals into the ground with impunity and without oversight. And even with oversight--BP Horizon and every other avoidable oil disaster of the last 10 years.
There's quite a bit of research to support this[1]. Basically, regardless of any other factors, increased parental involvement consistently shows better performance.

[1] https://www.nea.org/tools/17360.htm
I have the following issue: Sometimes work tasks appear before I come to work or after I leave (before 9 am or after 6 pm) and someone else (working more hours than me) does the tasks and my manager gets complaints about me that I'm not around. I can certainly handle the workload, and the tasks usually can wait, but there are people staying 12 hours at workplace ready to do them or complain that I'm not present.

So far my manager was on my side because I wasn't informed about these tasks beforehand, but this still causes a lot of stress for me.
You left out what (I would think) is the biggest thing! (For your industry especially). That is IP!

It is worth noting specifically, because the costs of China not being on board with protecting innovation means 1) they create a lot less of it (which is both their loss and ours) 2) the stuff you manufacture there has to be protected by the laws of physics, the software, and access etc, rather than a simple code of laws.

This cost is clearly not insurmountable - everyone manufactures in China. But they have to take precautions as they do so, instead of just relying on local law.

By the way I don't think this is in their interests, and I think they will move away from this model with time. There are no doubt great Chinese inventors and creators who need very little by way of protection before creating amazing things that are temporarily protected all over the world. It is almost just an ancillary benefit that they will also start to respect what others (i.e. the rest of the world) manufacture there.
No it cannot[1].

[1] See Betteridge's Law.
Completely off topic, but I love your cookie notification.

"This website uses third party cookies exclusively to collect analytics data. If you continue browsing or close this notice, you will accept their use. The EU now requires all sites to display this banner which confuses users and does nothing, actually, to improve your privacy."
I deleted my comment because I realize the benchmarks don't cover a 5 minute test. It's unproven whether the Java implementations need to in fact GC over that time. I'm skeptical though -- they probably reuse all their objects, and I think it would be interesting to prove that.

Also, the benchmarks do in fact test all the way up to 16,384 simultaneous connections.[1]

I bet if you published a test case that proves Java GC impacting the max latency over 5 minutes, that would get the attention of TechEmpower and make a case for extending the test past 15 seconds.

[1] "The high-concurrency plaintext test type is tested at 256, 1,024, 4,096, and 16,384 client-side concurrency." http://frameworkbenchmarks.readthedocs.org/en/latest/Project...
I've never understood this at all. Outside of public school, I've only encountered one other similar environment--my first retail job after high school.

After that, social interactions have been nothing at all like what school prepared me for.
Science magazine is in a great position to push for changes. They could force their contributors to publish all results, including failed trials, open lab notebooks, etc.
How AI Sex Dolls Will Change Dating in Just Three Years [NSFW]
> It's a huge difference.

I started school at age 7. There was no difference what so ever between me and other kids by high school.
No, the only sane way is if only the standard OSX config is supported. You can't do all kinds of weird things with your system and still expect it to be supported. As a developer, you want to support as few types of systems as possible, because that's easier and a tiny number of types comprise the great majority of systems. The extreme variant of this is of course console exclusivity.
"Optimism, pessimism, fuck that; we're going to make it happen. As God is my bloody witness, I'm hell-bent on making it work." I got goose bumps reading Elon's response at the end of the article.
It's not just for google business accounts, they just made it even more difficult to find for personal accounts. I ran into this about a week ago.

In GMail, click the tile icon > More > Even more from Google > scroll to Home & Office > Sites. From there you can create Google Sites for personal use.
Unfortunately tourist infrastructure determines how much tourism can grow and Greece already has 70-80% hotel bed occupancy so I don't see the scope here to prove a huge economic boost.

On the other hand, Greece imports energy, food, medicine and technology and those things will all have to be paid for with hard cash. The result of a 50% devaluation of the new Drachma will be a doubling in prices for basic life necessities.

It's clear to me that Syriza's policies have been and will be absolutely disastrous for the ordinary Greek person. Things may have been bad last year but at least there was a small uptick in GDP and employment and seemingly a small improvement in government finances. With a busted bank system, capital controls and no cash to pay for essential imports, I can see Syriza turning Greece into a fully failed state.
Even in places like theoretical physics that aren't connected well to experiments, the literature suffers from the lack of copyleft. Writing good review articles and textbooks are huge, collaborative undertakings that are crippled by the impossibility of directly building on the text of others. Especially in fields that use the arXiv, open access is important not so much because it makes the raw information accessible -- it already is -- but because the journals won't care about the further jump to copyleft. Open access and copyleft are financially equivalent to them.

More by me here: http://blog.jessriedel.com/2015/05/20/gitwikxiv-follow-up-a-...
Clearly, manned vehicles demand a higher level of reliability than cargo carriers. However spaceflight even after decades of experience is still pretty risky. From a life safety perspective, non-manned, robotic missions are preferable. But our drive as a species to explore and populate new territories means that we'll need vehicles safe enough to travel in, and/or people who want to do it regardless of the risk. 1/18 is still probably decent odds compared to the ones facing people 300 years ago, who set out in wooden sailing ships to explore the unknown.
Neat idea. I currently use the snooze feature in the Mailbox app for reminders, so I'm not sure when I would use this.
Thanks for taking the time to write this up.

Got a few CentOS 6.x boxes under my command at the moment. At the same time I've got a NetBSD/OpenBSD background. I ran NetBSD for years on Sun SPARC kit and thoroughly enjoyed it. This eventually rolled onto OpenBSD because TBH it just works (to a point) and everything is easy to find.

However I end up with CentOS every time when it comes to rolling out something professionally in production. Why is this?

1. The amount of information on how to solve even the most complicated problems is a Google away every time. Sure I solve most problems from my head but when I've got a CIFS mount that dumps stack, there's an answer there in 30 seconds.

2. I can just leave CentOS to it for a decade and yum update it as required. No PITA world changers every 6 months as a new release drops.

3. The OS and the packages are considered as one singular concept. I wasn't a fan of this idea initially but the fact you can drag your kernel and any part of your userspace up from the same source is really cool. There's only one update mechanism to consider. This is stupidly convenient when you have Ansible in the picture for example.

4. IO perf, particularly on SSDs is 2-3x better on Linux on the same kit (HP DL380 gen 8, Samsung 845 DC PRO).

As a side issue, both are crap on the desktop so I'm sitting here on Windows 8.1...
If you browse with NoScript in default-deny mode, you're probably also the type to use RequestPolicy which would prevent irrelevant sites from running a script off vjs.zendcdn.net

NoScript isn't a comprehensive security/privacy suite. It's just a crucial component.
At least NTFS is case-insensitive and case-preserving and renaming with just a case change usually works.
I don't have any good introspection into what this number means, but according to this (http://www.nationsreportcard.gov/reading_math_2013/#/state-p...) 18% of 8th graders were found to be "Below basic" reading.
This article grossly oversimplifies things.

The shares of labor cost, energy cost and transportation cost are differing very much from industry to industry. Also, automate of the production of different products is differing very much. You can not compare for example car factoring with software development or food production.

Of course, you can argue that cheap energy gives an industry an advantage. But what happens here are things that are independent of each other. For example, labor costs in China have risen and it gets more difficult to find cheap and adequate workers.

Also you always should consider the consequences: Will the short-terim-advantage for some (!) industries really outweigh the long-term consequences?
Why? Print is a function instead of a statement? I don't do much python anymore, since I graduated from pygame to DirectX, but the differences in python 3 seem pretty minor, aside from needing external libs upgraded.
Approaching Policy After Uber’s Scorched Earth
Lots of libraries won't work with Brython either.
Buying a stale entry on the NoScript whitelist for $10 is a cute trick, but the important point this post makes is that you basically can't trust NoScript to protect you from browser vulnerabilities. Many of the zillion scripts it effectively whitelists will themselves have DOM corruption flaws. Compared to the effort it takes to build a reliable drive-by browser exploit, evading NoScript is not a meaningful challenge.
Yes, but. Production doesn't employ as many people as exploration and development. That's why the employment side of energy extraction is so prone to booming and busting.
5.5% profit, if reliably realized, is sustainable. It's comparable to a conservative investment return. That said, most businesses strive for more than that.
I would start by describing a few different scenarios to help sell your investors on the business' potential, and show them how different levels of investment will affect the outcome.

Presumably you've already done some amount of this work for your partners/engineers, right?