skysight-inc/HackerNews huggingface dataset:
Ask HN: Would your company fire you when you place orders automatically?
As we know, Alibaba just fired 5 programmers because they wrote an automatical script to buy mooncakes(https://news.ycombinator.com/item?id=12504850).

>It is just a javascript running in chrome that checks the text on a button. If it changes to 'buy' then hits the button again and again. The unexpected thing is, after hitting the buy button, the site does not jump to the payment page, instead, it just increases the item number! That's why four people can order more than a hundred mooncakes.

> They didn't pay the abnormal orders. One of the four unlucky men said he had called the administration immediately after he found the problem and wanted to cancel the abnormal order. What happened next? He got an interview with an HR after 30 minutes, at 16:30. And at 18:30, he had been officially fired.

>The HR who faked the exit interview just got an 'internal punish'. God knows what is an 'internal punish' but she was not fired. And the three developers who wrote the system got a 3.25 on his KPI which means 'just leave the company you rubbish' because the employee should not see the comment of the HR in the system.

I was shocked that this happens in a "great" company which have more than 250B USD.

My question is would your company fire you when you write a similar automatical script to place orders in your internal system? If so, why your company would fire you?
People are promoted and given new opportunities based on business needs, not performance, beyond some table stakes level. Overtime is not what gets you promoted.
Why would they send people in space without a proper space station? China is banned from using the ISS, no nation has a spacehab-alike capability for long-term orbital missions without a space station right now, and China's first station could not be resupplied, heavily restricting its life span (similar to Spacelab and early Salyut stations). Doing scientific missions in a cramped capsule is just pointless (and has been for decades now).
Hence TPP and every other confidential trade agreement negotiation.
Twitter can sell high speed access to all tweets, and their costs should be really low. Long term it could be a midsize, but profitable company as long as they don't get into debt.
Just to clarify, my old MBP has all of these things (and then some). I want its eventual replacement to as well, rather than being minified/brutalized to an aluminum brick with a dinky keyboard, ZERO plugs, induction charging and wife/bluetooth only connections.

The Air I was given at work has no ethernet plug, even though I use wired networking every day, and the "College Humor" iPhone 7 review hits too close to home.
Julia writes: "I think "violates a lot of normal Unix assumptions about what normally happens to normal processes" is basically the whole story about containers."

This is a key point. Lots and lots of standard Unix invariants are violated in the name of abstraction and simplification, and the list of those violations is not popularized; and most of the current systems have different lists.

For example, in Kubernetes (my current love affair), the current idea of PetSets (basically, containers that you want to be carefully pampered, like paxos members, database masters, etc. -- stuff that needs care) /still/ has the notion that a netsplit can cause the orchestrator to create (1 .. #-of-nodes) exact doppelgangers of your container, all of which believe they are the one true master. You can imagine what this means for database masters and paxos members, and that is going to be, as the kids say, surprising af to the first enterprise oracle db admin who encounters this situation.

If you believe in containers, then one thing that you really do have to get to, is that most of your existing apps should not be in them yet, and that if your app is not (a) stateless (b) strongly 12-factor (c) designed for your orchestrator and (d) written not to do things like fork() or keep strong references to IP addresses, then you should probably wait 3-4 years and use VMs in the meantime.
I think I'm missing something. Why does the fact that the price is inflated by subsidies mean they can't advertise what it is?
Doing it because you can is a fine reason.

In addition to that however, sending a human crew to Mars will result in more digging, surveying, water prospecting and life hunting being done within the first month of exploration than all of the rover missions combined.

The added benefit of having humans in space, especially if their reason for being in there is because that particular bit of space is in the way of earth and a planet, is securing the legacy of the human race by putting our eggs in more than one basket.

To that end, I'll flip your assertion back on you: The only reason to send a robot to space is to prove that you can, especially if we don't follow it up with human missions.
Once the smart-device interface is properly defined and the software is written, the hardware cost should not be a problem.

You will end up with some kind of "smart device" router that connects to your internet/home network to talk to the power company, and uses a commodity wifi interface to talk to your smart devices. The cost of an ESP8266 is already sub-$7 at hobbyist volumes, you can expect the additional hardware cost to easily be driven to trivial levels with widespread adoption.

The problem is purely in getting a standard system out there and designing devices that incorporate the new control model.
Why am I getting down voted for this?
Doesn't open for UK readers: "We're sorry but this site is not accessible from the UK as it is part of our international service" yadda yadda. Pity.
Thank you for the observation.

However, I have to point out that typing "Whetstone size" into a search engine will return the sizes for arbitrary whetstones.

I was talking about the use case where a customer is on say Amazon and looking at a specific whetstone.

Sometimes, the product descriptions are woefully inadequate.

The vendor, in such cases, ends up being unaware of the inadequacy because (s)he has no way of learning what the customer is looking for.

If a system such as Askite were to be embedded in each Amazon product page, customers would ask their questions right there, and at the very least, the vendor would come to know about the problem.

So, Askite doesn't help in the discovery of a seller. It helps the seller convert a customer once the customer has found the seller.
You can't have the government distorting the market by bringing half of all potential customers under a single taxpayer-funded system then pretend that hospitals have a real choice in whether to participate in those programs.
"My conclusion is that DOS source code was not copied from CP/M source code."

"The commands were not copied; they were simple, descriptive terms that were common to other operating system such as VMS and Apple DOS."

"The DOS system calls were definitely copied from the CP/M system calls. Given the quantity of identical numbers representing identical functions, it is clear that Tim Paterson referenced the CP/M manual when writing DOS."

The last bit is alluded to in page D-7 of the DOS 1.0 user manual[1], which says "There is an additional mechanism for pre-existing programs that were written with different calling conventions. The function number is placed in the CL register...and an intrasegment call is made to location 5 in the current code segment." That's because in CP/M, "...access to the FDOS functions is accomplished by passing a function number and information address through the primary point at location BOOT+0005H" [2].

[1] https://archive.org/details/bitsavers_ibmpcdos61_7006095

[2] http://www.gaby.de/cpm/manuals/archive/cpm22htm/ch5.htm#Sect...

So, yes, the DOS function calls were designed with CP/M backwards compatibility in mind, and it says so right in the manual. Kind of.
IIRC insurance companies tend to want to run out the clock on "missing presumed dead" cases, which can be years. They're reluctant to pay out if there is no body.
As a manager: If your code blows up in production on a Saturday afternoon, and you don't answer email/skype/phone, you've effectively left me in the shit. I know thats my job, and I will deal with it and survive, but your future work is going to be very heavily scrutinized - borderline micromanaged - until I trust you again

But the flipside, if your code blows up in production on a Saturday, and you spend four hours of a weekend fixing it, I'll say take 6 hours off during the week to compensate. I'd say take a day off, but our HR system will complain.

Aside from that, I expect 40 hours of "quality" braintime from you, and I don't really care where or when those hours occur, as long as you're collaborating with the team when they need you.
Even within the blockchain space it's still quite esoteric.

Personally I think it looks like a great opportunity for an interesting weekend.
> If your really dedicated to your project and have no family waiting at home, why should you always leave after 8 hours?

Because longer != better. It's like why sleeping on a problem helps or why some people have the best thoughts in the shower. The best way to really make the most of those 8 hours is to do other stuff the rest of the time.

Besides, if you're a professional, you should at least have the courtesy not to devalue your colleague's time. If you start working longer, management might ask your colleague who has a family to do the same (or worse, fire them). Everybody loses by working unpaid overtime except the company. If you want to do this, make sure it's your company.
Shane Parrish recently gave an excellent review on motivation, good food for thought--

Daniel Pink on Incentives and the Two Types of Motivation > https://www.farnamstreetblog.com/2016/08/daniel-pink-two-typ...
Yeah, one of these landed in Omaha, NE damaging a clock in Dundee neighborhood. Not terribly deadly, but it made press.
I'm confused. Are you agreeing with me?
The NSA didn't put Snowden in that position, he put himself in it.

Actually it was the Obama administration that put him in that position, by revoking his passport.

Two core attributes of civil disobedience are about establishing a moral or ethical high ground and then facing the repercussions that come from your actions.

This is just empty posturing. For one thing, Snowden already is accepting significant repercussions for his actions (in ways that I don't think I need to detail for you; but which most likely are far greater than repercussions you've faced, or likely ever will face for taking a principled stand).

For another, taking responsibility for your actions doesn't mean you are required to throw yourself under a bus and accept whatever unjust persecutions† the system is waiting to throw at you. And when that system becomes sufficiently corrupt and unaccountable, not only do you have a right, you have moral duty to escape and defy that system -- and continue your struggle -- to whatever extent possible.

†BTW, by "unjust persecution" I don't mean a lengthy jail sentence; I mean the very high probability that he would be tortured, the way Chelsea Manning is being tortured right now, as we speak -- as her way of accepting the very same "repercussions" that you, from the safety of your keyboard, are asking Snowden to accept:

https://en.wikipedia.org/wiki/Solitary_confinement
Related? http://stackoverflow.com/questions/21947452/why-is-printing-...
In the case of Daimler-Chrysler there was no shareholder pressure. They would have been happy with getting a nice dividend every year. It was pure ego trip by the CEO (Schrempp) who wanted to play with the other big boys like GE. They created a huge and expensive corporate headquarter far away from any car-related activity to pretty much signal that management is above the guys who produce cars.

Same for Deutsche Bank when they declared a 25% return on equity goal. Many people said there is no way they can achieve this but the CEO kept pushing so they had to rely on shady business practices and increase risk. It's a pure ego trip. Nothing else.
Reading all this, I miss Jaiku. Google miss social in the same was MS miss the Internet.
Care to show me your math on that over a 10-year time scale?

I'd be curious even to see it for the technologies you mention. But as others point out, there are plenty of things newer than PHP that have become pretty boring.
There are ways to configure your tor exit node ExitPolicy to be responsible and to be pro-active against malicious activity and abuse.

If you would like to read more:
http://tornull.org
https://trac.torproject.org/projects/tor/wiki/doc/ReducedExi...

With a minimal amount of work and upkeep. You can cut down on abuse fairly easily.
You're right. But I've avoided bringing transpiling or polyfill stuff into our big project at work. I'm the only dev at work who really like JS at all, anyway, so I'm trying to keep it simple for the Java-only crowd.
Thank you, thank you.
You are my hero, for serious.
Then you will be reassured that the number of appartment that burnt down due to Samsung Note 7 is zero.

You may also appreciate that Samgsung's fiasco was unintentional, while Apple's choice was deliberate. One is a PR and product disaster, while the other is a cash grab. Conflating issues just because they happened to rival company with loud fan base is dubious.
From the headline and domain, I assumed this was about faking a death to stop LinkedIn emails.
TiVo BOLT+
"In the UK in the 1960s and 1970s [..] could get you investigated by MI5 and you could go on their files."

That's discrimination. Luckily, they solved the problem in a clever way: now we are all in their files.
Gotta re-up.
If what you're doing is not too complex I recommend you consider using the AWS command line client.

You can script it for example in Python with the subprocess module.
So Shark Tank people are definitely real. The sisters who made Coffee-Meets-Bagel were on the show and a friend met them at some startup event in Silicon Valley before their app took off. Also a friend of mine has been on the show as well.

That said, your hypothesis for "TV-Suitable" people isn't far off. A classmate from college went to audition for some reality TV show and basically said the producers look for certain traits such as how dramatic a person is, etc. My friend who's been on Shark Tank is definitely a charming and likeable guy (he's also a genuinely very nice guy).
Would love to hear more also! Did you have any involvement with 'Gus', the IIgs emulator written (but never publicly released) by Apple?
I agree. Partial classes are for supplementing machine-generated code: winforms designer files, generated entity framework classes etc.

That is, wherever the IDE would overwrite any edits you made. I'm currently refactoring a 3 partial class monster usercontrol: 238 lines, 2370 lines, and 4526 lines. Fun.
TV is a lie? Is that really news?
BLOGGING – WEB DESIGN|SEO|PARAMARKETING.GR
I believe the problem with Twitter, as it's always been, is that it's just too polarizing. Either people get it, or they don't. It's not general enough, the mechanics of hash tags, nonsensical short messages, retweeting, the signal to noise ratio is horrible, coupled with an often confusing interface, don't allow for the second half of the adoption curve to ever happen. For such a simple mechanic, they make it difficult for a lot of people to just "get it".

I've got multiple accounts for various projects, my own personal account, and I still don't see the value in it for me personally.
"Computers don't argue" by Gordon R. Dickson: https://en.wikipedia.org/wiki/Computers_Don%27t_Argue

"Nobody Starves" by Ron Goulart

There's another absolute classic in this line, about a punchcard error that leaves a man officially dead...but I can't quite recall its name.
I know it as "Zeitausgleich". You don't get paid overtime but you accumulate time off. Pretty much like getting additional vacation days. And to be honest, I kind of like this system. I'm happy to work >40h every now and then, but I won't work >40h on average.
It is one way ticket, obviously. Student loans would not be enforceable in foreign country, after personal bankruptcy.
To follow up on what @agibsonccc has been saying: Remote, open-source hiring is one of the best ways to match companies and candidates. I used to have to recruit for a closed-source company, and it was really hard to get good information - for the company and for the applicants.

Wrote about it here, if anyone's curious. Recruiting is a trail of tears: https://www.linkedin.com/today/author/0_03COrPtojnK4VxI2N1tX...

In open-source, you have nearly perfect information: the contributors see the company's code and how they operate as a team; the company see the contributor's code, persistence, reliability and friendliness. And anyway, it's open-source, so everyone is solving their own problems for their own reasons, so they get something out of it in the end no matter what.
It was entertaining at first but I don't really bother to watch any more.
> In addition to that however, sending a human crew to Mars will result in more digging, surveying, water prospecting and life hunting being done within the first month of exploration than all of the rover missions combined.

Remember, this isn't just wishful thinking. We can do a side-by-side comparison:

The Russian Lunokhod Moon rovers were engineering marvels, vastly outperforming most of NASA's Mars rovers… and they're barely worth a footnote in our exploration history of the Moon, because Apollo astronauts collected more data during lunch breaks than the Lunokhods in a good week.
Streaming live events with partnerships can be big for them. They streamed the NFL Thursday Night Football game last night and quality was impeccable (aside from my Bills getting the L). Much better experience IMO than Facebook's attempts at streaming sports.
If you have a reasonable camera and tripod you need to try this. I caught comet Lovejoy: a dozen green pixels out of 16 million.... But I caught it, without any experience or too fancy a setup. Also fun, point at the darkest, emptiest spot of sky and be amazed at all the stars you see in the photo. Rather fun.
We Just Dropped the iPhone 7 in the Ocean. This Is What Happened
Replacing Google Prediction API
>I believe this statement is short-sighted

I'm not saying this caffeine toothpaste is safer than fluoride containing toothpaste just that toothpaste can still cause harm. From what I've read of caffeine overdoses your suggestion of a child-proof packaging is a very good one.

A tube of toothpaste might have enough fluoride to kill 30-50 mice, but not necessarily a child. Eating a whole tube of toothpaste is excessive and you should probably seek medical attention if your child does so. The adults who took part in this study[1] should be able to replicate the experiments by eating two tubes of toothpaste.

[1] https://toxnet.nlm.nih.gov/cgi-bin/sis/search/a?dbs+hsdb:@te...
THIS. Many Americans don't seem to realize we already have a "socialized" medical system - everyone paying into everyone else's costs - it's just that it's brokered by private companies instead of the gov't. Which means that it's less transparent, less regulated, and subjected to a bigger rake [1] than if it was run by the gov't.

[1] https://en.wikipedia.org/wiki/Rake_(poker)
It's not a war, just a markedly more contentious relationship than we had 10 years ago.

China's encroachment on international shipping lanes in the S. Pacific is certainly a visible symptom, but the debt to GDP trend (250% and growing [-]) is probably more significant. There's tension brewing in currency markets, trade, FDI policy, etc.

- https://www.theguardian.com/business/2016/jun/16/chinas-debt...
>>Of all the countries in the world, China is 1 of 2 that are actually capable of standing up to US military might, and the only real advantage the US has is a more robust intelligence system via satellites.

Umm, no. Modern military power is all about the ability to project that power, and that means aircraft carriers. The USA has 11. China has only 1 (and it's an old, shitty one).
Your research was too quick. (-:

Debian 8 packages up mysql 5.5 with only a van Smoorenburg rc script, no systemd units.

* https://packages.debian.org/en/jessie/arm64/mysql-server-5.5...

Debian 8 only has mysql 5.6 available through backports. That has a systemd service unit, written in 2014 by Akhil Mohan of Oracle. That service unit invokes mysqld_safe, though, in classic systemd House of Horror fashion.

* https://packages.debian.org/en/jessie-backports/arm64/mysql-...

* https://anonscm.debian.org/cgit/pkg-mysql/mysql-5.6.git/tree...

Apparently, Red Hat Enterprise Linux 7 has no systemd unit files for mysql 5.6, either, and still uses mysqld_safe.

* http://rpm.pbone.net/index.php3/stat/6/idpl/34647467/dir/red...
They already do this [1]. They used to sell this access to 'value-add' data analytics resellers as well, but in 2015 they acquired one instead [2] and stopped reselling it [3].

[1] https://dev.twitter.com/streaming/firehose
[2] https://blog.gnip.com/twitter-data-ecosystem/
[3] http://thenextweb.com/dd/2015/04/11/twitter-cuts-off-firehos...
> but they've only done 5 crewed launches since 2003, and the last one was 3 years ago in 2013

And the US hasn't done a manned flight since 2011, so China a doing great comparatively!
A few of my favorites:

- http://tutorials.pluralsight.com/node-js/voice-controlled-fi...

- http://tutorials.pluralsight.com/devops/deploy-horizon-using...

- http://tutorials.pluralsight.com/interesting-apis/reactive-a...

- http://tutorials.pluralsight.com/python/build-a-simple-file-...
> With regards to the article's example, refactoring your code for unit tests is making life easier for the computer, not humans. And maybe that's why Bill is annoyed, being human and all.

Maybe the tradeoff is actually between:

A. short term productivity / speed of development -- use longer functions without factoring out non-repeating code excessively

B. long term maintainability -- short and easily testable functions are definitely better

So use approach A. to code an MVP and approach B. for a decade-lasting enterprise application on whose development tens of people will rotate?

Oh, and... please, if you language allows you, use closures / functions inside function when you factor out a small bit of code that does not repeat, NOT private methods or non-exported functions! This increases code locality it's obvious that one line helper is used only once. And of course, give the mini-functions meaningful names, otherwise there is no point in doing this in the first place - you only factor out to increase readability. And prevent the mini-helpers from using variables from outer scope too much (if your mini-helper uses 5 outer-scope variables, then DON't factor it into a mini-helper).

(Advice above is extracted from a talk inspired by smth J. Carmack wrote, but can't remember exactly what...)
Investing for Geeks
Üvey Babamın Karısı Olmuştum
INTERCAL is famous for having a COMEFROM instruction, as an inverse of GOTO.

With GOTO, we can read a section of code and if it contains "GOTO N" then we know the execution will jump to location "N", so we can look up that location and keep reading. We have no idea if any other code will jump into the code we're currently reading, unless we search for "GOTO <location we're reading>".

COMEFROM is the opposite: when we're reading a section of code and we see "COMEFROM N", we know that the code at location "N" will jump to this section. We have no idea if the code we're reading will jump to somewhere else, unless we search for "COMEFROM <location we're reading>".

Despite being invented as a joke, this is very popular in mainstream programming, under the name "exception handling" ;)
Kubernetes supports rkt as we speak: http://kubernetes.io/docs/getting-started-guides/rkt/
Good to know! I guess I have another 10 years with this thing.
They charged them with receiving stolen goods. How this relates to French Law I'm not aware tho.