skysight-inc/HackerNews huggingface dataset:
> what if further JS will intersect with TS syntax

A core value of TypeScript is to support the latest ES20xx standard. The TypeScript team pays attention to JavaScript proposals. In the unlikely event that JavaScript got a type system, it would almost definitely be either TypeScript or Flow. If it wasn't, or if ES standards overlapped with TS syntax, then TS would remove that syntax.

Also, if you don't like the next version of TS, you can just use the old version to transpile your code and then stop using it. Switching to TS is an easily reversible decision, whether it's 1 day or 1 year later.

> We need clean break with transpile step (eg. Dart) or annotations.

You can already have this with Scala.js or any of the other languages that compile to JS. TypeScript is one option among many.

The appeal of TypeScript is that it fixes some things about JavaScript rather than throwing the language away. That's useful because it allows teams to transition from one to the other gradually. Facebook had to do the same thing with PHP, so they created Hack.
Accidentally nonblocking
The BEST can be outsourced, here is how
You should keep reading. Backprop is still the best, and pretty much the only way to train neural nets (deep or not). Other ways exist (e.g. weight perturbation), but no one uses them.
EDIT: I have to clarify: backprop is just one half of the training algorithm, you also gradient descent, and there are many variants of it.
I think it's a very valid question. Given that the constraints by the Python BDFL rule out any reasonable solution, why not move on?
This is great. Not sure why there is no discussion here. Maybe people missed it?
Science of Air Bubbles in Ice Cream
+1 on this. I would really like H1B's to be a bidding system. But guess who lobbies the govt?
It's a kind of unsupervised learning, an intrinsic measure of the network.
> If you have tens of thousands of variables, you definitely don't want to risk dealing with the simplex method's worst-case behavior.

The risk is extremely low. In fact, the risk is so low that, for deacdes, it was an open question why the simplex algorithm was so good in practice on a wide variety of workloads despite having poor worst-case complexity (unlike, for example, pure quicksort, which is often problematic in practice).

Spielman solved that problem in 2001 and showed that even very small perturbations from a contrived worst-case input have good performance: http://arxiv.org/pdf/cs/0111050.pdf
Microsoft is on the Javascript standards committee. So is Google, which is using TypeScript heavily in Angular 2.0. I would expect that TypeScript and JavaScript are going to continue to be harmonious.
Swiss Voters Reject Basic Income Proposal
Isn't it difficult to reject these puzzles on principle without sounding either bitter or like you simply can't solve them? I can't imagine a single case where this is going to cause a potential employer to re examine these exercises. They'll simply chock you up to being unqualified.

I reckon most jobs simply require you to not be a knob for an hour while someone asks you tricky questions about your worst behaviors. How often, day to day, are you required to explain something bad about yourself in a constructive way? Yet it is as utterly common as programming puzzles.

My supposition is that if that's where the wind is blowing, I'd had damn better face my sail that way. I hate silly problem solving puzzles as much as anyone, but not a shit lot you can do about it when they're the ones holding the keys.
Why patent trolls won’t give up
Utter garbage that deserves filing in the rubbish bin.

Particularly annoyed at the sweeping statement that people like women more than men. Don't speak for me! And don't make sweeping statements without at least a survey to back up the statement.

Gagging
Few more tests of the same aggregate reports to gain better perspective. MySQL 5.6.27 was the clear winner.

RDS MySQL 5.6.27 T2 Large: 0m34.977s

RDS MariaDB 10.1.14 T2 Large: 0m38.097s

RDS MySQL 5.7.11 T2 Large: 0m40.408s

RDS MySQL 5.6.27 T2 Medium: 0m53.214s

RDS MariaDB 10.1.14 R3 Large: 0m54.946s

Aurora (6/4/16) R3 Large: 1m07.187s

If there is enough interest we can provide a fully reproducible test case for anyone else to try. Currently we are using reports our customers run to validate performance of various types of DBs.
You need a queue of current-best vertices when the objective function is equal best on all those vertices. Obviously you don't need to search less optimal vertices.
> weworktremotely.com

weworkremotely.com
I don't think data is as important as they make it to be. Yes, it was important at some point when they scaled supervised learning from thousands to millions or billions of examples. But after that, did they continue scaling up to trillions of examples? No. Because there are diminishing returns. Maybe the model can't handle that much data, or the accuracy doesn't increase as much, or the data is just too big for the current computing power. The kind of data that is used today even at Google scale is just millions or billions of examples.

On the other hand, what kind of data could be so secret that only the big companies could accumulate? If you have access to a service, you can mine it and construct a dataset. Then you can train your own model to imitate their results. If this process is done right, it becomes easy to do transfer learning from other AI systems, even if they keep their algorithms secret.

For example, Google's latest POS tagger SyntaxNet, which made a splash a few days ago, was trained on the results of the Stanford parser. Interestingly, the student model surpassed the teacher model - probably because it was better at cancelling out errors in the training set and generalizing better from examples.

If data is the end game of these companies, then it will be a target of espionage, leaks and public disclosures. A hard drive containing the prized dataset of some company can be copied in a few minutes and if one copy escapes, then it is circulated and becomes public domain. So it's hard to protect data. Data likes to flow (remember the Ok Cupid dataset - that was crawled without permission from the behind the login wall?). Flowing data can be turned back into machine learning models.
Sad news today: systemd-resolved to be deployed in Ubuntu 16.10
GuidHelper: A new plugin for Notepad++ dealing with guids
Thiel get sniped by The Economist here:
http://www.economist.com/news/business/21699954-tech-billion...
If I can offer some unsolicited advice, here's your "head's up" from someone from Maine that recently passed on moving back:

- Maine jobs are low-paying and few-and-far-between. Not an issue if you're positive you can line-up recurring remote jobs, but be honest with yourself.

- Income taxes are pretty high.

- You'll want to live in Portland.

- Portland is "expensive" for rent (you're very lucky to get a nice 1br for 1400/mo, with rents on the rise due to out-of-state purchasing of condos for rental-income or airBNB/subsidizing owner-seasonal housing)

- Portland is a driving city. You _do_ have a car, right?

- Food/drink/going-out is a little below NYC prices (they can get away with it due to out-of-state travelers). There are great restaurants, but most are mediocre to bad. The beer's great though. Enjoy your beer per hour, as you'll be driving home.

- Everything is closed by 11 on weekends.

- Housing costs are steeply on the rise and the local culture is on the decline -- it's not a secret Maine is beautiful, and most of the population is retirement age (oldest in the nation!), so the culture is whatever sells to out-of-state money. Hope you're cool with those taxes going up to support the baby boomers leaving the workforce.
I would imagine it would be similar for a local student (minus visa issues and interest in immigration) in the case where the family is supporting them financially, particularly in countries where university tuition is a significant portion of their income.
Surely there's a middle-ground between puzzles designed to trip you up, and puzzles designed to show you have some baseline chops. There's a lot of people who can't walk their talk.

At one place I work at, we're trying to get some senior-level PHP devs... and we're getting some applicants that can't even conceptually do FizzBuzz...
Seriously? How "we're going to take your money and if you don't like it, you can move somewhere else" is even remotely close to being a voluntary choice in your mind?

You can try establishing some moral principles that will justify what government does (seriously, try this exercise), but let's not change meanings of words.
How so? Isnt this just a typical supply and demand issue?
Why Infield Top Aligned Form Labels Are Quickest to Scan (2015)
Why the hell should he be paid the same amount of money? It's a different location, different demand for engineers — this just makes no sense.
Hum, nice catch! Maybe there is a way to change that LC_VERSION_MIN_MACOSX variable, although the compilation generated instructions may be a dead end.

I see two possible solutions, either try to work out from the Python provided binaries (which support OS X 10.6) or try to compile it from source in a way that is backwards compatible, Maybe cpython's makefile has some support for that?!..
Yes you are because HashMap.hash(Object) was changed.
You can't find the study because it doesn't exist. In the United States and in the UK there is a huge disparity in violent crimes committed by race.
I have yet to see anyone being able to tell the me what sample was the mp3 with any consistency in an ABX test. I don't know how other encoders perform, but LAME is producing really really good results.
I'm only talking about the subclass of foreign workers who are educated in the US and already in the country.

They surely would not accept longer working hours or less pay.

I didn't say these graduates aren't competing, merely that in the case above nobody is being replaced (in a literal sense) as these were new positions to be filled. Also, they were not filled under the H-1B program, but the F-1 OPT program.

F-1 OPT (post graduation training) hiring is virtually unrestricted (except for its duration).

Of course workers who reside abroad and are brought to the US on H-1B directly are an entirely different class of foreign workers. I cannot speak to this group.
"It used to be a dog" is a truly provocative phrase, not in a bad way. Fascinating.
We also have an official doc on getting started with TypeScript, React, and Webpack if anyone's interested: https://www.typescriptlang.org/docs/handbook/react-&-webpack...
this would be awesome as extension. in 99% when i dont know my password it is because the website defines some special rules which my personal shema does not include.
You are probably thinking of Dota 2. Both Dota, CS and TF where most likely developed ad-hoc as they were mods that grew organically.
Users' Perceptions of Password Security Do Not Always Match Reality
Airbnb’s racism problem isn’t going away any time soon
I wonder how long before this kind of analysis can be performed by AI just as efficiently and will be offered as a web service.
> HN, but I flagged this one.

You should at least read the article. If you can't read the article, don't flag as quickly. Just jump to the next news item.

> this is xenophobic stereotyping.

And I am sure many first hand accounts above of seeing the same pattern are just paid shills of Kochs brothers or hidden racist Trump supporters hiding amongst the HN crowd ;-)

> They are painting every person in a large, incredibly diverse group

Yeah the foreign student group, especially in CS/CE area is not really that diverse and doesn't even come close to representing proportionally every country in the world.
As a former foreign student in the US, I take some offense at the generalization of all foreign students as cheating.

Now I couldn't read more than the initial lines of the article since I didn't have an account, but judging from the comments here there was no distinction between the type of foreign students.

In the name of political correctness I think one is generalizing across all foreign students, when there are wide varieties between the subgroups. I was a foreign student from Norway e.g. who studied with a lot of Indians. We have very little in common culturally and certainly with respects to the view on cheating. My impression was that cheating was endemic in India and while the Indians I knew were very nice people, they cheated an awfully lot. I simply don't think they viewed that as that bad of a thing to do. More than half I could actually see cheating through the exam. Others paid for homework.

Of course we also had different incentives in that my life did not depend that much on my American exams. For many Indians it could make the difference between poverty or wealth.
This article kind of sucks.

> Gender inequality seems to have increased with early civilization, including agriculture. Why? The feminist explanation has been that the men banded together to create patriarchy. This is essentially a conspiracy theory, and there is little or no evidence that it is true. Some argue that the men erased it from the history books in order to safeguard their newly won power. Still, the lack of evidence should be worrisome, especially since this same kind of conspiracy would have had to happen over and over, in group after group, all over the world.

> Let me offer a different explanation. It’s not that the men pushed the women down. Rather, it’s just that the women’s sphere remained about where it was, while the men’s sphere, with its big and shallow social networks, slowly benefited from the progress of culture. By accumulating knowledge and improving the gains from division of labor, the men’s sphere gradually made progress.

Or maybe it's the more obvious answer that women were almost always stuck with the more mundane chores of child-rearing, cooking, and cleaning, and men were the ones doing just about everything else? I mean it's true that it wasn't really a conspiracy, it's entirely predictable that men would end up in that position, since they don't give birth or breastfeed, and they're physically stronger.

But at the same time, it wasn't that women just didn't choose to improve the things they worked on, it's that the things that fell to them lent themselves to relatively little social power or advancement. You can't gain more political power (individually, anyway) if you're just staying at home taking care of the kids, instead of, say, going on a military expedition.
"To avoid schedule slippage, game developers
need to spend more time to plan out all the work that
needs to be done so that no tasks are overlooked when giving
estimates. By planning out tasks, you can also estimate
each task individually, and give a more accurate prediction,
instead of an optimistic one."

When things don't work out according to the schedule, there are generally two reactions :

1. We didn't estimate well enough, we need to estimate better next time.

2. Maybe this estimation thing is impossible to get right, let's not put too much trust in being able to estimate accurately, but rather find ways of working that don't require estimating all work up front.

I've seen that 1 gradually becomes 2 with experience (the experience of getting the estimates wrong every time).
SEEKING WORK

Remote: yes

Location: currently in SE Asia

Languages (primary): Ruby, Python, Haskell, Clojure, C#, Rust;

Languages (secondary): Perl 6, Java, C, Scala, SQL, JavaScript, R;

Email: me (at) gildedhonour /dot/ com

Github: https://github.com/GildedHonour

Web-sites: http://www.gildedhonour.com (CV, contacts), http://www.alexmaslakov.com

======================

I'm Alex.

I've been building web, desktop and mobile applications for the last 6 years. In 2015 I partially switched to data science: big data, nlp, machine learning, etc and this has become one more area I'm interested in.

My rate is $35/h with money back guarantee or pay after the result has been seen. If you have plenty of work I can give you a discount. I don't just do programming. Rather I solve your problem choosing the most appropriate tool and technology.

Thanks && Cheers!
Here is it from 2014:
http://people.eecs.berkeley.edu/~jordan/courses/281A-spring1...

...unfortunately 2014 version has fewer study materials
Has anyone seen anything like it yet? Some for of data visualisation for VR/AR specifically?
Wring.io, 0.13.3 released
Rust is not a mod, but is a clone of a mod of Arma2 called DayZ.
Why do you think the attacker has the ability to change your local files? That's not the attack surface. The attack surface is when it's used in a wire format for network communication. The attack surface is the attacker convincing you to download a file in a format that you don't realize is executable and every file format that includes pickled objects is vulnerable. The attack surface is that you've confused data and code; There's a reason why OpenBSD now enforces W^X, and that is that there's very different domains of trust. I'd trust my neighbor down the street to send me a spreadsheet, I'd not trust him to send me a program (which is precisely why Office Macro viruses were such a problem, because speadsheets could contain programs.)

No, pickling and unpickling files in your user's data-dir isn't a big deal, until it is because your users wanted to share their data online. They'll sync their data-folder with Dropbox, and then their account gets compromised, and the next time they launch your program they've got a virus. They'll download a 'completed savegame' from a sketchy site, and now they've got a virus. They'll get a phishing e-mail, but it's not one of those zips or exes or whatever, it's a file-format they know is your program, and surely that's safe, right?

Don't make your file formats insecure. Don't pickle.
I wonder if the author didn't know enough about the company to know if he wanted to do an online coding test, then how was he certain that the content wasn't relevant to what the company was looking for?
> This is just another way of seeing this phenomenon

I think I detected a bit of justification in there. If not what policies or changes would you propose based on those explanations. So maybe some of them will have to leave the country if they are caught cheating. They'll be seen as failures at home. What should US universities do? Let foreign students cheat, be more lenient with them? Ask them about their family poverty level before they engage in disciplinary action?
If you Google 'Foreign Students Seen Cheating More Than Domestic Ones' and click on the wsj link that appears on the results, you'll be able to see the entire article.
You are not alone. I Still question how much of a good idea that is. It certainly makes it self a popular target for attacks by default.
Well, specifically, never use pickle for communication. It's perfectly reasonable as an on-disk storage format for some things.
One of the reasons why cheating is rampant in India is because the examination system in most colleges is mind-numbing and uncreative. The intelligent students don't find an incentive in working hard for an examination based on a rote pattern, and the "smart" ones follow suit leading to a culture where honesty in examinations isn't important. I have seen a few of my Indian peers be able to appreciate the difference in the testing methods and change their attitude accordingly. But the "acting smart" mindset is set in far too deep in most of the students who just care about getting good grades.
Having said that, I think improving the vetting procedure for the entry of international students is necessary; and sadly that does not seem to be in focus due to the revenue that students from foreign countries bring in.
FRAYOKIT NEWS: ONE SOLDIER KILLED IN FIRE AND EXPLOSION IN SRI LANKA ARMY CAMP
>On a similar note, I can't find the study now but I've seen the pretty much all social stratas and races commit crimes at the same rate.

That sounds completely implausible. For instance:

For example:

https://www.fbi.gov/about-us/cjis/ucr/crime-in-the-u.s/2013/...
For me, it's all the vain, terrible humans. I had a few good friends, but felt constantly engulfed by self obsessed, unaware, cloying, micro gratification seeking leeches who have no identity or original thought and simply identify themselves by either being a resident of San Francisco, or their job.

"Five to an apartment splitting an $7k rent? Forget my dignity! I NEED to live in the mission!" -most residents, probably

Moved away a year ago, never looked back.
> The reason the graph search doesn't turn into Dijkstra's algorithm is that we would never have any reason to backtrack. The next basis is always at least as good as the last, so we don't "get stuck" and we don't ask whether we would rather have gone another way earlier on.

I wonder if there is a sharper way of putting this.

Dijkstra's algorithm doesn't backtrack either, it is always merely propagating a "wave-front" of current best vertices (and perhaps how we got there). And the simplex method will also do this when presented with a connected component of vertices all of which have the same objective value.

I feel there are some deeper connections to "dynamic programming", of which Dijkstra's algorithm is a good example. Having trouble putting my finger on it.

One obvious difference is that the Simplex method doesn't know the target vertex, whereas we do know this in Dijkstra. So perhaps the (possibly non-existent) analogy I am searching for links vertices of the Simplex method with paths in Dijkstra.
My Amiga read them just fine, when using appropriate file system driver.
Exactly. Most hackers are in the middle class. Hence, whether you'll get basic income or not, you'll still move in the low class then, won't you?
Last two days I've been bitten by this for three web properties.

I tried a number of 'standard' passwords for one property wherein it locked me out, I then had to call a person who could reset the password.

On clicking the reset email link it was only then it told me what schema I had to comply with.

So stupid.
As an MIT alumnus, I think this is an excellent commencement speech.

Broadly, though, you're right -- we Americans do love our screen stars.
Contract-based LaTeX typesetting for individuals and businesses
"If you're not going to support these claims, you shouldn't make them."

What measure of proof do you require?
Either you have a neighboring vertex that is strictly better than your current solution, or you have found an optimal solution. I don't think you need to store vertices with equal value, because you never backtrack.
Here's a fun aspect:

At most schools, if you know of cheating and don't report it, it's a violation of their honor code which will get you punished.

Whether it was "justified" cheating or not, it is cheating. Even if you don't want them to get in trouble, don't let yourself get screwed in the process.
For those who prefer videos, here is the MIT version of the course:

9.520 - Statistical Learning Theory and Applications, Fall 2015
https://www.youtube.com/watch?v=6AWZS4Ho2Z8&list=PLyGKBDfnk-...
Doubly-so, if they used feet, inches, °F, and pounds to do so! It would prove the superiority of our great measurement units :)
Thanks very much for saving my time.
The Daily Design Pattern – Abstract Factory
Brown boffins brew eye-tracking JavaScript
No. With flow you can do both:

var x /*: string*/ = ""
var x : string = ""

With TS you can only do the latter. The first one has the advantage that it's legal Javascript, thus not requiring a compiler.
Since typescript is set-up purely as a compiler anyway I'm not sure it would be a useful feature for them.

A disadvantage could be that it's easier to make silent errors by making syntax errors in the comments. I don't how Flow would handle e.g.

`var x /* number*/ = ""`
the russian kids are probably not that much different from the american kids.
I've started a repo here https://github.com/17twenty/password-schemas

Hopefully we can get something going