skysight-inc/HackerNews huggingface dataset:
Entering the address of 'all zeros' should probably transparently redirect to localhost. (If you're listening on all addresses, that should be the one; it should probably be treated as equivalent to a 302 redirect. (IE it should educate the user that the provided URI is being handled as localhost.))

I'd also like a shorter notation for 'this is not a search' I think ending a word in / is probably good enough for that?
why did you disable the auto-updater? sounds like a bad idea to stop getting security updates and the like, right?
Really interesting.

This could even be implemented as a require() provider so that you could mix K and JavaScript in your Node app.

Is there somewhere to follow along with the development of K5?
The difference is that 0.0.0.0 represents all addresses, while localhost is /one of/ those addresses.
i was always under the impression that 127.0.0.1 is what you should use
So, the point of localhost resolving to 127.0.0.1, is that it gives you a layer 3 address to route to the layer-1 loopback interface.

So... what interface does 0.0.0.0 resolve to? Is the loopback interface the default if a routing pattern match falls off the end of the route table? I really wouldn't expect that, given that the default of "no special subnet used" should end up routed out to the WAN.
Thanks for commenting here, Adam. I was wondering if you could address the issues that sz4kerto brought up. Do you think that deep learning is better than machine learning? And do you define deep learning as a neural network with >= 3 layers as opposed to machine learning being < 3 layers?

I don't see those claims anywhere on your website and I have no idea where the grandparent comment got those statements from. Frankly, they don't make any sense. But I do share his or her sentiment that the phrase "deep learning" is overused, poorly understood and is rapidly becoming a meaningless buzzword akin to "Big Data" or "Web 2.0".

I don't expect you to explain statements that you don't appear to have made, but I would like to hear an expert's view on exactly what deep learning is and how it compares to other machine learning techniques. I understand if you've already addressed this issue in your book and we can read your thoughts on this when it's published. But just a few sentences here might do a lot to clear up some misconceptions for fellow hn readers.
And you're running the latest version of OS X 10.10, right? I thought the MBP wifi issues were supposed to be resolved by one of the updates.
> A teardown seems to show a rather simple design

Don't you usually want lifesaving devices to have simple designs? For example, scuba breathing regulators are famously reliable in part because there's very little to them. Same goes for the AK-47, though I suppose I'm getting off the "lifesaving" track now...
"Toyota was the largest automobile manufacturer in 2012 (by production) ahead of the Volkswagen Group and General Motors." [1]

For example…

"Introduced in 1966, the [Toyota] Corolla managed to become the best-selling car worldwide by 1974 and has been one of the best-selling cars in the world since then." [2]

[1] http://en.wikipedia.org/wiki/Toyota

[2] http://en.wikipedia.org/wiki/Toyota_Corolla
To avoid network congestion, the TCP stack implements a mechanism that waits for the data up to 0.2 seconds so it won’t send a packet that would be too small. This mechanism is ensured by Nagle’s algorithm, and 200ms is the value of the UNIX implementation.

Sigh. If you're doing bulk file transfers, you never hit that problem. If you're sending enough data to fill up outgoing buffers, there's no delay. If you send all the data and close the TCP connection, there's no delay after the last packet. If you do send, reply, send, reply, there's no delay. If you do bulk sends, there's no delay. If you do send, send, reply, there's a delay.

The real problem is ACK delays. The 200ms "ACK delay" timer is a bad idea that someone at Berkeley stuck into BSD around 1985 because they didn't really understand the problem. A delayed ACK is a bet that there will be a reply from the application level within 200ms. TCP continues to use delayed ACKs even if it's losing that bet every time.

If I'd still been working on networking at the time, that never would have happened. But I was off doing stuff for a startup called Autodesk.

John Nagle
Internal combustion engines are only about 20 percent efficient, and that ignores the energy spent pulling the dinosaur puree out of the ground. In comparison, electric engines are about 85-90 percent efficient.
Could you elaborate on this? What do you know about AI research and technical limitations of various components that leads you to be skeptical of the realization of autonomous vehicles?

I'm with you on predicting that if Apple is getting into it, it will be non-autonomous, but I'm curious as to how you have reached your other incredulous conclusion.
Who said the browser has to report everything you do online to be of value.

I don't claim to know anything about how Chrome works, so could be completely wrong in this, but my sense is that it is part of a broader desire to tie together tracking across all devices. Cracking that nut is very difficult from an analytics perspective, and having people logged in to Chrome across all devices provides a very convenient GUID for matching against AdSense units, DFA tags, GA tags, etc.

So the value in this play is not necessarily in knowing everything you do online, but simply knowing that you are who you are regardless of device or Chrome instance. That means data about you is consistent, and can feed into the broader targeting algorithms to serve you the right ad, at the right place, at the right time.

Again, I don't know what data Chrome makes available to Google's ad services, so please tell me if I am in fact incorrect here.
You clearly don't know your automotive industry history.
Right, so it might make sense to go in the listen parameter of an app, but probably not for me to enter into my browser for how I get to that app.
> Yes, and perhaps the bash programmer could likely eliminate that fault through testing, perhaps about as likely as the Haskell programmer could get the Haskell compiler to accept a program at all!

Testing all the things that can go wrong in a bash script is much more difficult than getting a Haskell compiler to accept a program.
Incidentally, most browsers support decimal notation as well as dotted quad notation for IPv4 addresses. So http://1249764297/ works to reach Google for example. Once this regression is fixed you should be able to use http://0:*/ rather than http://0.0.0.0:*/
I was completely amazed when I recently checked browser support for inline SVG; almost all current browsers support them! [1] So I decided to use inline SVG for icons and logos. It's extremely fast (no separate network request, images embedded in gzipped html source), and as a bonus I can style the images easily using CSS (eg. change colors on hover/active state)

Example see here: http://jsfiddle.net/Lszz5392/1/

The nicest part about this is that I can use Adobe Illustrator (or any other vector editor) to create the graphics, and then paste them straight into HTML.

[1]: http://caniuse.com/#feat=svg-html5
That would account for the case where my local machine doesn't have a host entry for "localhost" but would break if I don't have an IPV4 loopback (if, say, I only have a IPV6 one).

Both of those are pretty odd cases, so I'm not sure how much they're worth worrying about.
We used q-tips with alcohol in my house to avoid this very issue. Cleans the contacts really good with no corrosion issues.
I wish they also had the option of a pure lambda that isn't a closure. You can't pass a pure lambda to an argument expecting an ordinary function.
I think there's trade offs. I apologize if our marketing copy seems excessive, I'd love to fix that and take feedback seriously. Please do email me.

Deep Learning done right applied to unstructured data is a great part of either an ensemble of methods or great for working with hard to engineer features.

I think as for normal machine learning where you are typically doing feature engineering, you need to understand what's going on to make recommendations for actionable insights. Everything has its place.

I'd like to echo Andrew Ng here, the hype in deep learning is overblown. While there are great results, it's not magic.

Neural networks still need feature scaling, among other things to work well. Much of the hype comes from the giant marketing machine that are the PR firms for the research labs who need new data scientists.

While great work is being done in these labs, much of it isn't going to be applicable in the day to day work of a data scientist just trying to do some some basic A/B testing. Hope that makes sense!
>> Taking the time to confirm that the code itself is a trade secret is a monumental task, one that isn't needed to determine if there was probable cause.

And yet the finding here is there was no probable cause.
I think that is only a goal until the 1.0 is reached, in order to focus the effort.
I was looking for a portal reference. Definitely reminds me of glados & stupid turrets.
I don't want to disagree with such studies (as I agree with them), but at the same time there is a tendency to derive absolutes when looking at such studies. Reality doesn't tend to support absolutes, however. Biological studies like these still fall onto bell curves, and outliers exist on such spectrums.
Firefox is at the time being the only browser capable of displaying correct colors with a wide-gamut display.

http://davidjohnstone.net/blog/2013/06/be-careful-when-buyin...
Competition is good. Above all, for a long time Chrome has been the tide lifting all boats, or pushing other browsers to improve. That Firefox is now a leaner, more secure browser is a testament to Mozilla as well as the Chromium project.
Once you get enough of an institution built up around you - grad students to bootstrap, grants to write, what have you - there's so much less time to just work on the problems that interest you. I think there's less and less space in Academia for the 'individual contributor.'
So everyone using hosts files with 0.0.0.0 to block ads is getting a face full of google now?
With $200B in cash, I'd be surprised if Apple "X" wasn't also producing rocketships and quantum computers - all the while being very quiet about it.
out of curiosity, because you and others keep repeating it as if it inherently means something obviously sinister, how did they count the 500K lines of code from a vcs repository? is it actually 500K distinct lines of code? is it a number significantly smaller that was ballooned for dramatic effect because it appears in multiple revisions/branches/tags, etc.?
I don't understand this line of thinking. 0.0.0.0 is not a valid routable IP address. It doesn't go anywhere. Why should it be magically redirected into the 127 /8? I would think we should disabuse people of their wrong notions rather than start juggling edge cases about our network routing.

I mean, I'm not saying it should go to Google Search, it should just go to a no-host-found page.
Rust will not replace c, rust is a more refined c++. If you want something to replace c have: a better type system, raii, better macros, better lifetime management, etc but keep it simple and don't layer it.
Almost the whole first minute or so of the video is in his master bedroom.
I think there is a small faction of anti-Google readers on HN, and then a larger set of people that don't care one way or the other, taking each story at face value. I know there are quite a few of the anti-Google faction that follow me around on HN and try to drag me into arguments about Google in completely unrelated stories. That's why I don't comment much anymore.

With that in mind, and given that HN's ranking algorithm is secret, it seems unfair to accuse a hivemind of intentionally messing with the algorithm to suppress commentary about their employer. Maybe it's a bug. Maybe it's working as intended.

Could one of the HN admins comment? Do you guys notice a lot of Google-related stories getting flagged?
My understanding, and it could be wrong, is that 0.0.0.0 doesn't resolve to anything--no host, no interface. It's not valid at all. RFC 1122 clearly notes it as a MUST NOT address except as the source address when trying to figure out your own IP address; any behavior that such a resolution triggers is probably an undefined behavior of the network stack (unless it's explicitly and in a nonstandard way being handled, which feels odd to me).
deeplearning has hit the front page regularly for over a year now.
I'd guess most applications that accept it replace it with 127.0.0.1 or resolve localhost. 0.0.0.0 is not a valid IP address and should be rejected by the network stack if passed in directly.
Actually, the half-life of sulfur aerosols in the stratosphere is on the order of a few months. We would have to badly overestimate the amount required in order to put so much up there that waiting for it to fall out would be painful. And the proposal is not to put it up there all at once, but to do so gradually.

Nature puts a whole bunch of sulfur up there every couple of hundred years or so, through large volcanic eruptions, so we have a pretty good idea what the effects are. Besides global cooling, which of course would be the point, the major side effect is more colorful sunsets.

The most telling objection I've heard to the use of sulfur aerosols is that they do nothing for ocean acidification.
I could be wrong, because networking is Not My Thing At All, Oh God, Make The Pain Stop, Why Does The Routing Table Have Bees In It, but shouldn't 127.0.0.0/8 be able to find the IPv6 loopback if the IPv4 one does not exist? Or am I misunderstanding yet another part of networking?
Look at the procedure required to create a fake finger:
http://istouchidhackedyet.com

Most importantly, it requires a perfect finger print image. Random smears from your phone screen or a glass won't work.

The process is so complicated that only a very small percentage of the population is able to do it; anyone can peek over your shoulder when you unlock your phone (which most people will do dozens or hundreds or hundreds of times per day).

Last, remember that you only have limited attempts with your fake finger; in the demonstration video they only show unlocking a freshly trained phone in a controlled setting, they don't actually unlock a phone "in the wild".
Hamstringing the company is going to do a lot of collateral damage to innoccents. I mean, if all CXX level people are guilty then so be it- but purely punitive beheading of a company's leadership? Come on.
Ha, true. It's not too bad actually.
Today I contributed to the greater good of society:

var output = "";
$('h2 a').each(function(i) {
output += "TITLE: " + $.trim(this.innerHTML) + "\n";
var email = decodeURIComponent(this.href).slice(13).split("&subject=");
output += "SUBJECT: " + email[1] + "\n";
output += "BODY:\n" + email[0].replace(/\n( )+/g, "\n") + "\n\n\n\n";
console.log(output);
});

That being said I love the site :)
That's right, RFC is really clear about this. What i don't get is why most browsers solve the address to 127.0.0.1 since it's incorrect as for specs.
I would argue that it is a professional index dressed up for non-recruiters as a social network.
edits: "maybe something that hasn't been done before"

"How they open sourced Google wave"
Crypto-cookies, the best Valentine's Day gift ever
I'm the author. The control has a bool property, `forceEnd`. If this is set to false (the default value) the game doesn't end until the user lifts the finger. But the label tells the user that the loading has finished.
If the property is set to true the game ends when the loading finishes.
Better output for dpkg/apt-get command,like arch's pacman
I've been very happy with Ghostery on Safari.
Yeah 0.0.0.0 is a listening address, not a target.
The total number of professional Java developers in the world is estimated at 9-10 million. So if you're a large corp that has a lot of positions to fill you are going to be tempted to hire for Java devs. But unless you're offering a truly amazing opportunity (like a real-time trading app, which a mediocre dev wouldn't be allowed to touch), you are just going to get bombarded with mediocre resumes, and the most competent Java Dev you can hire on your budget is going to build boring CRUD software slowly, with lots of boilerplate and null checks, and overuse of GoF patterns and XML frameworks, because that is just how the Java ecosystem works.

Cranking out RoR apps is nothing special either, and there are plenty of barely-competent Rails devs on the market, but at least Rails actually makes simple CRUD apps simple to build. Why pay someone to fuck around with configuring Hibernate all day when they can get the same job done in a few minutes with ActiveRecord? It only makes sense if you're a megacorp that has a budget for salary but no meaningful way to measure productivity.

Yes, there are good devs and bad devs in any language community, and no developer is successful or fails just because of their language preference. But Java has its reputation as a bureaucracy-oriented programming language for good reason.
That would instantly get flagged as spam by virtually everybody if SPF is enabled on his domain. And yes, gmail.com seems to have SPF enabled.
If that isn't front running, then what is? And if you wouldn't call that front running, what would you call it? You haven't offered anything to back up any of what you've said.

All I'm saying is that sub-millisecond HFT is only useful to the people doing it and no one else. People defending HFT as being necessary and helpful is ridiculous. Even an exchange where orders go in over the course of a second, are matched up within the exchange, then traded, would not offer latency to a person, but would offer everyone a chance to sync with the exchange cycle and submit their orders with enough time to be matched. If all the exchanges someone was trying to use worked this way it would offer no disadvantage to a human trader, but would make the HFT arbitrage much less lucrative.
Are you able to go into more detail about the performance of RethinkDB? Considering to use it for a new project but haven't been able to find anything solid about performance except vague and hand-waving "not very fast" anecdotes.
If the property `forceEnd` is set to false (the default value) the game ends when the user lifts the finger. The label tells the user when the loading finished.
> Do you see how that's totally unrelated to accidentally accessing an uninitialized variable?

I was responding to your comments about Maybe, but, yes, that is a separate issue.

> While testing may eliminate some of these errors, it's even better if they cannot happen at all. That way you can focus your time on testing actual errors. A language which automatically disallows some classes of errors is safer than one where you have to remember to check for them.

Perhaps. But perhaps it makes no actual difference in practice. And perhaps the cost of using Haskell, of satisfying the compiler, of fixing type errors that would not be (runtime) errors in a dynamically-typed language, perhaps that cost outweighs any benefit that type-checking may provide.

I don't know. And neither do you.

This entire thread I have asked for empirical evidence, but you have offered only deductive arguments, and that's fine, do as you like, but it's not persuasive.

> Yes, fewer failure modes -> increased probability of correctness.

That's an interesting hypothesis.

I wonder what would be found in a comparative study of statically-typed Haskell code developed with the help of the compiler vs dynamically-typed Haskell code (more failure modes!) developed with the help of an interpreter (if this is possible). Using the same core language would eliminate many confounding variables.

BTW, have you not heard "no true scotsman" before?
Nope, perfectly possible to not have an IPV4 address.

$ sudo ifconfig lo 0
$ ifconfig lo
lo Link encap:Local Loopback
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING [... the rest omitted for brevity]
$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
^C
--- 127.0.0.1 ping statistics ---
32 packets transmitted, 0 received, 100% packet loss
What if Volkswagen decided they wanted to do smart phones?

And had recruiters call random people at Google, Samsung and Apple ...

I cannot quite get my head around this - Apple is an excellent engineering, sales and design company with gigantic wealth - but the leap from computers and phones into automobile is very big. They have little in common wrt. sales, technology and support.

Why would this work out? And does noone question the sanity of it?
Are you using an Android phone? I noticed this too with LinkedIn and it happened immediately after installing LinkedIn on Android. Never happened in previous years while using iOS.
Interesting. I guess I assumed it'd tack a bunch of zeroes on the front and try it as an IPv6 address. Thanks!
One of the most naive comments I've read for a while.

Apple maintains one of the largest software portfolio's in the world, even Tim Cook doesn't think Apple is a hardware company and makes billions a quarter directly from its software and services:

http://www.businessinsider.com/tim-cook-apple-is-not-a-hardw...

That's not including the R&D that goes into developing iOS/OSX which they give away for free to complete the iPhone/iPad UX, which would be nowhere near as successful if it weren't for iOS and the optimized apps that ship with it.
Can we get (2013) added to the title?
True, may just be a neat hack. The opportunity to work with individual elements of an icon independently and the challenge of the constraints was the initial draw to the project. Maybe there would be a use case for the simple icons and icons that would really benefit from coloring individual elements (hence the flags), but I think there are definitely plenty of drawbacks and it's pretty hacky in some places.

I also don't have a great understanding of some of the technical drawbacks and compatibility issues that have been brought up here, so this HN conversation has been an enormous help.

I think you've hit on my main question. Thanks for the feedback and for taking a look!
If a Startup Founder Offers Stock, Don't Take the Job

Fixed.
Wow, that makes a ton of sense, definitely cleaner than what I've got going now. There are plenty of places to clean it up, but that would be a big one.

Thanks!
If you've never been involved in a serious lawsuit there are no words that can sufficiently describe how soul crushing it is. To feebly defend yourself against the mighty US government is unbearable. When the Feds tell lies in court what are you supposed to do, sue them? I'd laugh but all I can muster is a frail cry.
>> "The Apple boss, who last year publicly acknowledged he is gay, added that “history has shown us that sacrificing our right to privacy can have dire consequences”

Why would this detail possibly be relevant to the point Tim Cook was making?
He said people who favor airtight encryption also want to be protected from terrorists.

They also favor not being no-knocked and shot in the middle of the night, or having their dogs shot, or getting stuck in a holding cell until the police are bored with them, or being shot by drones overseas, or just plain disappeared.

EDIT:

See also https://news.ycombinator.com/item?id=9048629 .

They've basically rooted all avenues of communcation...I fail to feel sorry for them.
Assuming the tab is going to be there, what would make it be less distracting to you? When we first started all this we wanted to get rid of those incredibly annoying people wearing headsets bouncing around the screen. (I think we've made progress).

(Some themes are animated others aren't, perhaps if we had more people use non animated themes by default, it'd help)
previously - https://news.ycombinator.com/item?id=9004133