skysight-inc/HackerNews huggingface dataset:
> Why is every article about the right so negative?

To paraphrase Noam Chomsky (IIRC) in many respects the left in the US is equivalent to the center right in most other highly developed countries. HN has an international following. Combine US-based "left" with the rest of the world and you'll have a strong leaning away from the extreme right.

Add to that, Trump comes across as technology illiterate, sometimes hostile [1], which goes against the grain of the average HN reader.

[1] “We have to talk to them about, maybe in certain areas, closing that internet up in some ways. Somebody will say, ‘Oh freedom of speech, freedom of speech.’ These are foolish people.”
> I'm not from the US and don't know the US employment law, but you generally don't have to ask permission from your employer on things you do in your free time.

Employment contracts for developers in the US, particularly at big companies, are very broad and try to lay claim to any development work you do (regardless of whether it's in your "free time" or not). They often expressly forbid freelancing or open source work unless it is approved by the company.
Neo900: September 2016 Update
Or backend monkeys that code what JSON to serve when the UI is managing the user interaction and using the server as dumb data source/sink...
Twitter Suspends Women’s Rights Group After Criticizing Saudi Arabia
I work for a major bank that is making the transition to OSS. The long term costs of a supported solution are often huge.
Flow has better inference and is actually pursuing a sound type system.

const f = function(a) {
return a * 3;
}
f("stuff");

this will produce a runtime error with TS, Flow will fail to compile it.

People here think that choosing a statically typed language necessarily means you need to type annotate everything, and thats not true. In Haskell and Elm you don't have to explicitly write any types if you don't want to.

Elm doesn't produce javascript that contains runtime errors, and Flow is pursuing a similar goal.
I was wondering the exact same thing. I'm in condensed matter and gnuplot is seen as a relic more than anything else. Most people in my field use origin, matlab or python.
>The DDoS-for-hire service is hidden behind DDoS protection firm Cloudflare, but its actual Internet address is 82.118.233.144.

https://webcache.googleusercontent.com/search?q=cache:kaymYs...
It would be interesting if he started writing on Medium (not saying technically advisable, just interesting). I wonder if he'd ever consider trying that.
Who profits from this attack?
Making Tor HTTP Requests with Go
The google-cache page doesn't seem to be loading right for me - It's still trying to pull off extra content like css and images from the regular site. That said, I found the article in way.archive.org, and it has images and formatting intact:

https://web.archive.org/web/20151115154842/http://krebsonsec...

Thanks for giving a link to this post!
Much French cuisine is built around coaxing flavor from inexpensive/undesirable ingredients. Expensive haute cuisine has little to do with the baguette, stew, stocks, etc., of regular food.
There's no denying he was a very intelligent individual even before google :)
Short answer yes.

Long answer, when the global financial crisis hit it lowered demand. But shipbuilding has a long lead time and shipyards can't/won't stop production(what do you with a half finished ship, you can't just put in storage). So all the ships that were ordered get built. By now the economy is starting to recover but your shipping capacity is greater than demand. So prices fall and the least efficient companies go bankrupt.

http://www.dailymail.co.uk/home/moslive/article-1212013/Reve...

Shipyards are probably next.
I think the bigger issue was that he wasn't a customer (they provided the service pro bono), not that Akamai wouldn't keep a customer that got hit with such an attack.
Well in the end there is nothing. I watched Mangakino in New Zealand, a town built to service a dam nearby until those jobs were either finished or given to a computer, slowly deteriorate from a being regular town in the 1980s to something more dysfunctional in the late 90s, ending with the entire town being sold in a shady business deal. First the bank shut down, then the hospital, then the gas station...

There was a lot of petty crime committed by bored young people. My grandmother was punched in the face by someone prowling around her work at 6am in the morning. A cop was murdered, etc.

Apparently the town is doing better now as a tourist location for rich people; it has a beautiful lake that is heavily polluted by an upstream paper mill and dairy farming, but it was sad watching it slowly decay a little bit every day.
And the threshold for being charged with it is exceedingly low and seemingly not subject to review.
How does having absolute certainty about the factual accuracy of a tip equate to discriminating law enforcement?
Swift Protobuf Plugin
The gold standard protocol in Japan has traditionally been exclusive enteral nutrition, but Crohn's in western countries has generally been refractory in studies. Japanese remission rates are reported in the 70-90% range, so it's a pretty significant finding.

The Royston Vasey Journal of Culinary Medicine also had some intriguing results from a meat-based therapeutic diet, but the control population disappeared before conclusive results could be drawn.
Nice HN: Way to absurdly ignore half the sentence because of your bias: "When it comes to patents,"

Here's an example to show what this is like for something you don't have a bias about: "When it comes to morality, Trump is dead inside."

HN response: downvote, downvote "What a warping of reality! Trump's doctor said he is healthy and there is no way a person could be dead inside and keep up his level of activity."

lol, facepalm
How could you possibly need more evidence than proof of J. Edgar Hoover's abuses of power that this is a real slippery slope to tyranny?

Are you saying that "think of the children" is a valid argument in the face of an existential threat to democracy?
Damn I'm not seeing any Java experience how on earth does he expect to get a job? And how did he find work at all those companies without them thinking he was just going to work there for a bit before he was stolen from them by Google? Guess I'll go back down to begging Subway for a job.
Build an FB Messenger Style Chat App with ReactJs
Cara Membuat Pentungan Untuk Maling Dan Begal Dari Kertas
A dozen things I've learned from Naval Ravikant
One of my friends got a job I interviewed for without ever interviewing because I told her she knew the interviewer. They were surrounded by people willing to help them find a job and for some reason aren't able to return the favor.
Perhaps an interesting anecdote is the profiling of performance vehicles where I am from.

Modifications to vehicles here are mostly not permitted or have to be certified by an engineer, including engine modifications.

Now it is clear to anyone that say, a Nissan Skyline, is much more likely to be modified with non-permitted modifications than the station wagon taking the kids to school.

Yet there are many complaints from Skyline drivers that they are constantly being stopped and it's not fair treatment.

So the argument from one side is "We know these cars are often modified, so we use that information to inform who we stop for spot checks". The argument from the drivers is of course "I did nothing wrong so I shouldn't have to deal with constantly being pulled over".

The challenge for me is that both sides make sense, yet there is clearly downsides to cattering to either side too.

Without the informed stops you will get less illegal cars off the road, with the stops you incur on peoples privacy and ability to go about their day.

The unbiased solution would be to stop more cars but randomly. The Skyline drivers still get stopped just as often, but so does everyone else so they can't say it's unfair.

But that is dumb, and only really solves the problem of political correctness.

The other option is to just accept that more modified cars will get away with it for longer.

Now there are other options in this circumstance, like mandatory vehicle inspections each year for example.

But thisbone thought experiment really made me think deeply about racial profiling and how complex the issue really is, and how damaging it can be to the individuals being profiled.

To be clear, I think racial profiling is far too damaging to be a solution to anything. But I can see the logic path people take to get to it. Even if they do not make the next step to seeing the damage it causes.
It's unfortunate that the article didn't mention that the adtech company that conducted the survey (Gladly) also makes the "adblocker" (Good block) whose user base was surveyed to get these results.
It is unreasonable, even for a developer, to count 3 seconds as a play. Anyone working on a video product would know they were inflating the numbers.
I used to be very pro object oriented (Java, C#, etc). Saw JS as a hack. Then I tried it and realized that it made my development time shorter. Thing is, it's a programming language and it can be as good or terrible as you want it to be.

Just because I moved to JS, doesn't mean I threw away the best practices I learned earlier. I still take a careful look at node packages I use and try to understand how it works before blindly using it. I've worked with some people who would look up something on npm, then immediately go npm install and go to production. You can do that in Java, too.

Only thing I worry about now is that I don't use Java, C#, etc enough to prove to job recruiters that I'm not rusty.
All things weren't equal. The women weren't as qualified so we had to help them catch up. Not sure what kind of help we were supposed to expect from them though. Plenty of white knights to knock us down, though. I haven't worked in any areas of computer science with appalling low representations of women, sorry. Where have you been seeing it?
He got his wish, just not the very little work part unfortunately.
I think he's annoyed because I criticized the poor auditability of Bitcoin. Yes, you can tell if someone received Bitcoins at some address. What you can't tell is whether they still have exclusive control of them. If someone else has a copy of the private key, the coins can disappear at any time. This happens in practice all too often.

(Yeah, multi-sig, etc.. Not that it helped Bitfinex.)
Neural Photo Editor
Why is it silly?
Not only that, notice that the tenuous thing is the link between the IP address and particular a person or endpoint location. You have the IP address, get a warrant to wiretap the IP address.

See if the illicit traffic to that IP address is really going to that residence. See if the traffic pattern looks like the traffic going in is coming right back out and being relayed somewhere else. Put a van full of government WiFi hardware on the street in front of the building and if the relevant traffic correlates to traffic to a wireless device, triangulate the exact location of that device and see whether it's actually inside the residence. See if anything at that IP address is in communication with C&C servers that imply it has been compromised.

Any of which can be done without shooting a single innocent dog.
YC app. Online whiteboard, BeeCanvas
Expect some really good post-Xmas sales as containers of Xmas stuff arrive late.
I used to use this to analyze ab load testing results. After ipython notebooks (mathplotlib) , its been a long time, since I have looked into this.
My university tells me to just keep looking for a job. They don't offer any other advice. Of course I know I'm supposed to be looking for a job. All I get is suicidal. I thought there would be some sort of help... somewhere. I got a computer science degree from Carnegie Mellon University and it was completely worthless and everyone just laughs at me. I worked very hard for years of my life and have absolutely nothing to show for it. All I get is hate and ridicule. Why? Because I want a job? Why is that such a contemptible thing?
Are DDoS attacks a threat to the decentralised internet?
I'd love to learn more about these botnets. I wonder about things like What's the average time that a compromised computer stays in this net. What is the typical computer (grandmas old PC running XP). Do the ISPs ever get involved to kill bots running on their networks?
Yeah, I'm sick of the "static types and classes!!!" crowd, too.

I've come to the conclusion that "mandatory and immutable" should be the default, but there are precious few languages in which that is the case, rather than some noise words that have to be plastered all over. (the noise words should be something like "dont_know_when_or_if" and "whacked_whenever_i_feel" for optional and mutable to make you cringe when you use such a local/parameter/return-value.

It's always funny (funny-sad) to read a project or a research paper that discovered "static types turned out not to catch as many errors as we thought it would".

We've made our turing tar pit, now we have to live in it :-(

... at least until we push the whole C-and-its-spawn edifice over the cliff.
Someone's ego.
When someone is commenting on a field outside your wheelhouse, what signs lead you to believe they are a faux expert?
The mating call of the jerk.
Metal-air batteries are a thing.
It sounds like the users are being paid to produce proof of learning weekly, not learn.

So probably: Plagiarize a bunch of stuff, sign up with a bunch of names/get unemployed crusty friends to make class presentations, and milk it for money as long as possible.
And send someone to periodically feed the baby. (Although it would be nice if Tesla eventually offered this service.)
IMO start with a recent book that spells out useful pointers to give the classics a critical read:

"Debunking Economics", by Steve Keen.

Keen gave a talk at Google a few years back that was a pretty good summary of what's in the book's first version.

If you're into stats and finance also check out the author's finance classes on youtube. Besides a bunch of videos that cover what's in his book, there are quite a few on financial modeling, and at least one video in there that delves into power laws and financial markets.

Also, try to throw in a few history books to your mix: history of the world, of science, and of ideas. History helps contextualize and make sense of what was going on in the mind of contemporaries as economic theories matured.
Yes, courteously and graciously verified by him on Twitter:

"Before everyone beats up on Akamai/Prolexic too much, they were providing me service pro bono. So, as I said, I don't fault them at all."

https://twitter.com/briankrebs/status/779111614226239488
Not passively anymore: login.yahoo.com is negotiating PFS ciphersuites which the private key can't decrypt without a copy of the ephemeral ECDHE parameters.
Backbone → React: it’s a people problem after all
One program at my old high school let you get community college credits for the classes you took. It was a fantastic idea that let people start their careers early and come out with far less debt.
Sorry, I wasn't clear. I meant illegal activity over a phone call. I was picturing something like a bomb threat.
Seems I remember a previous article estimating 1.5 million Tor exit nodes, but I may be wrong. And in another article from memory, active ip address estimates were in the 100's of billions maybe. My bet is most illicit activity from a perpetrator would go through Tor, but I wonder how many of the police raids are due to people being 'swatted'?
You can totally simulate duck typing with Typescript, since it (only) supports structural typing. If your method only expects an object with an asString() method, you can do something like:

function useAsString(foo: {asString: () => string}) {
...
}

Note that the type we give for foo here is an anonymous type (though this would also work with an explicitly named type).

And now you can do this:

interface SomeInterface {
name: string;
asString: () => string;
}

let bob: SomeInterface = { name: "Bob", asString: () => "Bob" };

useAsString(bob);

And this works, because the interface SomeInterface has an asString() method. No inheritance in sight.
I bet Facebook gets a decent enough amount from people who scroll, look away for a second, video starts playing, then user pauses video, but not before the 3 second mark.

What really should be done is getting rid of auto playing videos at the HTML spec level. While there are legitimate uses for autoplaying videos (YouTube for example), it has too much potential for abuse by ad networks.
Documentation will not save you the day you decide to rename a function or change its signature. Static typing will.
Good call on the Hull recommendation - How do you feel about Natenberg's Option Volatility and Pricing?

What do you trade, out of curiosity?

(Career software engineer and fledgling options trader here, these were recommended to me when I first started learning. Still looking to make an industry change.)
We spend so many billions in subsidies to farmers, I wonder why we can't push them to adopt better growing and animal husbandry practices.
Moving Beyond Flash
You know this right here, would save me many many head aches.
Follow up tweets by Musk.

>Can be turned on or off. V8.1 will allow always-on min and max temps to be set.

>currently stops at 20% state of charge. This number will be configurable.
From the Benchmarks section of the README:

https://github.com/BurntSushi/xsv/blob/master/BENCHMARKS.md
All must reads in my opinion

Fooled By Randomness - Taleb

The Black Swan - Taleb

Antifragile - Taleb

When Genius Failed - Lowenstein

Liars Poker - Lewis

The Big Short - Lewis

Flash Boys - Lewis

Too Big To Fail - Sorkin

Against the Gods - Bernstein

One Up On Wallstreet - Lynch

The Intelligent Investor - Graham
I smell a promotional blog post...
Isn't Nassim Taleb opposed to neo-classical economics?
Anatomy of an architecture to bring data science into production
> But yeah, shoving a flag onto an object where there was no such flag can come in handy at times, if you're treating your objects as dicts or whatever (in JS).

Ugh, no. I really don't want to be looking at code where properties appear after initialization and you have reason about when the damn thing is actually available, thank you.

> Also, in a well documented system, functions should note what types they except, even if it is just "any types that respond to these messages" in smalltalk, or your local equivalent

So, like specifying type signatures in Typescript, except probably out of sync because it's not automatically enforced?
I have to pay $200 to get the software in my car updated and its crap.
It's surprising that emails were few enough then that a student might get a firstname@domain email.
This is, of course, how oracle and others earned its reputation. These things and worse really happen. Obviously nobody wants this when they pay for better.

I agree with another commenter that in the long run, it'll end up as OSS + support from a 3rd party consultant or vendor that is commercially aligned with your success.

It has taken a very long time to convince most IT to behave like a branch of business that can create new value. Once that shift happens fully, we'll see the "keep the lights on at all costs" mindset change a bit in favor of truly measuring ROI and true total cost of ownership. For most large companies this has never been done.
What constitutes "a visit to a child pornography site"?

Say this was not on TOR but the regular internet. Say I masked the URL of this child porn website with a popular URL shortening service and posted that link here saying "read this!" You click this link and are surprised and quickly close the page.

You visited a child porn site!

But now imagine in that ONE visit the FBI exploited an undisclosed vulnerability in your browser. Now they spy on your malware infected machine.

Would you be happy? I'm not saying this happened but it's possible when you allow this sort of activity to happen in your country.
Are there web servers or software that blacklist IP addresses that disconnects after a short time and redirects them to a static page?
It's honestly terrifying.
Matsuza is still considered the best I think
What is 'it' that you are referring to?
My personal favorite is the quad: one quadrillion British thermal units of energy. It's used for whole-planet and large-nation scales of energy per year.
> “I likely cost them a ton of money today.”

But more specifically, whoever launched the attack cost them that money.

Also, ha:

PING krebsonsecurity.com (127.0.0.1): 56 data bytes
Even though I think it's a lot more nuanced than that so I don't exactly agree asking for a source for every little thing, particularly things that are clearly understood through experience (or something you can Google yourself), is a redditism that I think HN would be much better off without. It's often an underhanded way to effectively kill a discussion with a cheap "checkmate". If you disagree or have a differing experience simply say so.
Hrrm, best of luck with that. Are you finally bailing on China, Sean?
Elegant JavaScript Enhancements
Great article. On a side node, however: please don't write code like this:

var weAreConnected = Math.floor(Math.random() * 10) > 5
if (weAreConnected === true) {
this.setState({
isConnected: true
})
}
else {
this.setState({
isConnected: false
})
}

Instead, simplify the logic

var weAreConnected = Math.floor(Math.random() * 10) > 5
this.setState({
isConnected: weAreConnected
})

The random choice is also overy complicate (and on a side node, the value is more likely to be false then true due incorrect comparision operator usage)

var weAreConnected = Math.random() < 0.5
this.setState({
isConnected: weAreConnected
})

If we use ES6, we can use the shorthand notation to simplify the code even more

const isConnected = Math.random() < 0.5
this.setState({
isConnected
})
He should get a Facebook page and publish a copy of all his posts on it.
>The ddos attacks seem to be getting larger these days.

Consumer bandwidth is increasing.
>Speaking of math, you should have some familiarity with calculus, probability and linear algebra

Curious to know if anyone has had success learning/re-learning these as a mid-20s or older adult who works fulltime, and if you could potentially provide a list of books/courses to go through. I personally never learned anything past geometry (in high school). The most advanced math class I took in college was College Algebra. That means I never learned trig or anything past it (so no calc, linear algebra, or probability), and I'm sure most people on HN surpassed me math-wise sometime in high school :)

I've been able to skate by with my embarrassing lack of math knowledge/skills as a developer, but I feel like it's only a matter of time until the mathematical steamroller becomes a serious threat career-wise and I get crushed.
How to Restore Android After Factory Reset
How to Retrieve Samsung Data After Factory Reset
You impugn a source and respond with a link to The Daily Beast? Isn't that special.

If you'd read the article you linked you'd see, after much hemming, hawing, and redefining terms they admit their own headline is wrong.
Illegally obtained evidence is not admissible in any sane court of law. How is this any different?

This reads to me like: there's this bad area in town where drug dealers are known to congregate. Does that make every person who hangs around there, or even passes by, a drug dealer by association?
VMworld and the Future of Networking
I create a new email address for every new service I have, with a different password. I literally have 120 different emails that all funnel into the same email address via forwarding.
I have personally witnessed Akamai use strongarm tactics to "prove" you need their, "protection" in such a ridiculously high profile instance I am sure they have no shame.

If this is a CloudFlare Vs Akamai attack Krebs isn't saying, but I would put dollars to doughnuts it is.