skysight-inc/HackerNews huggingface dataset:
My goodness, we are dumb enough not to produce/engineer a machine that's smarter than us.

Think about this.

The human brain is the best pattern matcher in existence, lets use biomicry, like the human race has done in the past, to make brake throughs.
Not even Google Play Services can update binaries on /system partition. That's the manufacturer's playground, (often signed and checked at boot).
Where is the original story? Is it this http://www.boredpanda.com/coldest-village-oymyakon-amos-chap... or http://www.weather.com/travel/news/breathtaking-photos-colde...

Why there are two different authors on boredpanda and wired.com.

Did wired.com steal this article?

I'm confused..
and integers 2^53 and less can be store exactly as a (64-bit) float anyway.

Until you divide them by three.

There is a time and a place for integer arithmetic. You could get there with liberal use of truncation, but it reads better as native integer arithmetic.

The slope is slippery, time to resist or embrace native complex, rationals, and quaternions… I only stop the list here because it is as much as I've ever used in real world code.
https://github.com/velikanov/opensource-candies
Shameless plug: I'm a paying Spotify user but they don't get hiphop mixtapes and they miss some hiphop singles, so I built http://hooked.fm. It's new hiphop music and notifications when your favorite artists release new music.
> The term female is without species.

Since the issue being discussed was gender, not species, that's appropriate.
ISIS or someone from China? The 4share uploader of the caught leaks reported to be from HongKong
My wife is 25 years old and has been on the queue since she was born. We think that when we move to Stockholm we will be able to get a decent place. This is what they mean when they say "long waits in the queue for housing"...
Not much. Write an SD card image, install APM, connect to Wi-Fi or Ethernet and you are ready to go. After that it requires calibration and setup in APM Planner like any other autopilot.

Reach will be a replacement of normal GPS for any autopilot. It will be compatible with Navio+.
I could see it going either way.

Blind users can't see the video either way, so it could be positioned as an app to aid accessibility.

On the other hand, YouTube makes money from visual ads.
Interesting video about this town...
https://www.youtube.com/watch?v=BTcrIGFUq_c
Any thoughts on performance differences between loops and streams?

My gut says that loops, being a more primitive concept are likely to perform better in most situations. In addition I just find loops easier to reason about, but that is probably purely personal.
Show HN: Add a custom cursor to improve your UX
The ability to search only my saved articles. I'm guessing HN does no link click tracking, but searching viewed articles would be nice. These would be especially useful if the text on the target page were indexed as well.
F.lux: adjusts display color temp by time of day
US Central Command's Twitter 'hacked by Islamic State'
No, Google Translate usually gives out shitty translations, meaning that the information will be actually lost.

If they post in their native language, maybe someone goes along and translates it properly, meaning the information can be fully restored.
If this is used just as an AP, how much harm can a baseband backdoor do? I mean, there are no interesting sensors, the other side already knows the (approximate) location ... assuming the user uses proper crypto (not on the same device, of course).
Raspberry Pi A+ with Navio+ consumes about 200mA. Compared to running motors this is almost nothing.
I understand the implementation details, but the fact remains that previously you could call `typeof something` for any `something` at all, and it would never throw, ever. So you could use it as a way to check if a variable was defined.

Now, sometimes it will throw.

I mean, come on, you really don't see anything confusing in the fact that there are now two kinds of `undefined`, one kind you can call `typeof x` and it returns `undefined`, but another kind of undefined where you can't mention x at all without a throw? Like, if you can't mention undefined variables without getting a throw, how come `typeof` sometimes returns `undefined`? Ah, because some "undefined" variables you can do that with, but not others? So I guess there is more than one "kind" of "undefined" now? This is not confusing?
Top Gear is finally back, soon
Would you be mechanically compressed by the field before your atoms deform?
I think the issue is that a lot of women get pushed out or pursue other options because they're harassed or etc. If you're not sure if 5% of engineers are women, why would you use that as your starting point for discussion? Why not do a little research first?
Vendors often don't ship AOSP apps at all, they ship their own dialer, messenger, email client, camera, gallery and all the other apps. So AOSP apps in the app store would not update them anyway.
Well, I cc'ed Eric, Ken and Taylor, and Amy worked with them individually to find the best time. Upon conclusion, she sent the invite AND out came a $check. ;)
This was what I was thinking as well. The article is written as if she had turned down the option to join a startup or even had a chance to join one with her skillset, and I have a hard time believing that is the case.
Pentagon Hacked by ISIS Hackers
53 bits (double) is not enough to represent 64-bit integers. It was enough for 32-bit integers, but not 64-bit.

There are two main reasons:
- Modern systems are now 64-bit and they sometimes have APIs that demand 64-bit integers. (For example, file APIs that deal in bytes like fread).

- Small, embedded systems that are 32-bit or less, which don't have good floating point hardware and are RAM constrained. Lua 5.3 now means double no longer has to be used to represent 32-bit integers. Instead integers can be directly (avoiding floating point for performance) and floating point sizes can be reduced down to float instead of double (reducing the size of internal objects).

Roberto Ierusalimschy (Lua creator) has given several talks about why bring integers to Lua 5.3.
https://www.youtube.com/watch?v=bjqNK1jA77M
More info since the page has been taken down: http://cir.ca/news/hackers-breach-federal-government
So were stuck at IQ/EQ too. Not so. We will adapt and thrive throughout the Multiverse as we have done throughout history. We will discover intellect that is greater than ours. Any other thought is a fastrack to suicide in terms of Time/Energy/Light.
It's just a nice thing most browsers do. It's a part of those browsers, not the web. Most browsers have tabs these days, but tabs aren't part of the web either.
Scala Data Pipelines for Music Recommendations at Spotify
Further reading.

http://www.quora.com/Is-it-true-that-14-African-countries-ar...
Not to mention, the only system I can think of where competition, which is what we're really talking about, was systematically eliminated was the USSR and other implementations of communism, which were both economically and socially a disaster. There's a lot of feel good stuff when we talk about fixing things, but the "thing" that needs to be fixed is sometimes a feature and not a bug.

The USSR is also a good example, especially with women's rights. There was a top-down equality decree without any sort of legitimate social movement. In practice, women in the USSR, outside of propaganda, were treated poorly and once the USSR fell, Russians just naturally fell into their deep patriarchal views which are mainstream there. If anything, women have it worse in modern Russia because of the USSR's heavy handed idealistic decrees.
OH YES IT WOULD BE!!!1
Definitely. Furthermore, the effects of motion in that field could induce a lot of current and heating in a person. Some of the experimental super-high field strength MRI scanners are reportedly prone to zapping experimenters.
Ask HN: What's the best stack to learn?
Hi,

As a dev, then software architect/devops guy, then CTO of my own startup, I've always relied on the following tools:

* Java (as my "base" skillset, but somewhat rusty after a bit more than two years not actively coding)

* Python, either for scraping, admin or math related stuff

I don't have much experience in front end development, although I understand it and can manage a team doing it.

I have friends that swear by nodeJS, I've looked into it but my "dislike" for JS (and all things front related really) make me fear I won't be good at it.

So what would my fellow HN users recommend as a new skillset to acquire, mainly to keep on top of new things and breathing a bit of fresh air outside of my day-to-day tasks?
Google's new bus is for the people
yep, added to repository
This is a beautifully done hack.

Using a legitimate USB charger.
The GSM radio for 2G internet broadcast.
The built in battery for short term unplugged continued sniffing.
Trigger word SMS messages.
Live streaming web portal.

That is very, very cool. This is the kind of stealth monitoring device people just would never think to check and could easily be replaced without the user being any the wiser.

This is a beautiful example of a real hack superbly executed. Bravo.

Edit: Just realised this is the guy (or team?) behind EverCookie.
In the cases where your application can benefit from parallelizing simple operations over a large data set stored in a collection, `parallel()` is fine.

It's even fine in the case where you're pulling data from a file or other low-latency sequential data source, assuming that the cost of filling a spliterator buffer is less than your cost of processing.

But there's a list of gotchas all more dangerous than the "magic make it faster" button of .parallel() imply:

- For the sequential data source case, if the cost of filling the spliterator buffers is higher than the cost of processing, you're just wasting a ton of overhead trying to use parallel.

- You have to be aware that by default all uses of parallel() run on the same threadpool, which makes it a potential timebomb if someone uses it in the context of, say, a webserver where multiple requests might all individually process streams. This also means blocking operations during stream processing are very dangerous.

- Mutating an external variable goes from being fine for a sequential stream to a race condition for a parallel one.

- You can't hand out Streams that you intend to be executed sequentially, b/c your callers can just call parallel() whenever they want.

And, yes, all of these considerations make the api more complicated than one operating over plain old iterators.
The delay is not that big, around 50-100ms depending on the setup, that is mostly okay.
From 5.0 forward, there is no "browser" that isn't chrome. The system webview is the chrome rendering engine and receives updates through the play store. If an OEM wants to ship their own browser to retain control, it's still chrome underneath, just with some custom UI.

(this was also true in 4.4, except that the 4.4 webview doesn't receive updates other than via a full system update)
Here's a neat trick:

- Buy Painting X1, X2, X3, ... for 10K apiece.

- Your friend buys Painting Y1, Y2, Y3, ... for 10K apiece.

- You buy one of your friend's paintings for 1M. He does the same.

- Holy cow! "Market price" for the rest of your paintings is now 100x greater than it was yesterday.

- "Donate" as many of the paintings as you wish to the museum next door. Deduct the full value (now 1M) on your taxes.
The option to only search in titles, ignoring the full text of text posts.
Looks like it encouraged sleeping out of the box at least!
We don't all have time to run to a coffee shop and post a comment while the article is still being viewed.
It seems that you're not alone to need this feature https://news.ycombinator.com/item?id=8875125
After reading this, it helped me write a blog post I had just been thinking about. Nothing big, it was just a blog post but I feel so much better about getting it off my chest!
Confessions of a former TSA officer
I have not looked at the java8 constructs surrounding this.

This is largely implementation specific. For instance, the .net LINQ to object implementations are largely syntactic sugar around loops (that is they compile to the same thing). Similarly, for loops are frequently just syntactic sugar around while loops.
Twitter notifications marked as read by CSRF
From my understanding the big win that is not discussed in the article is the parallelism. Stream operations can occur concurrently potentially improving performance.

EDIT: There is more in-depth discussion of this in this thread. I missed it.
5 Dutch startups to look out for in 2015
The most important and useful as it makes C-to-F conversions much easier.

add 40--convert (9/5 or 5/9) -- subtract 40

or, as I tend to use,

add 40--convert (2 or 1/2) -- subtract 40.
I saw a quote recently from Rich Hickey:

"Elegance and familiarity are orthogonal."

I didn't fully understand this concept until I read your post and found myself disagreeing with you, thinking "what is obstinate talking about? OBVIOUSLY the streams way is way more readable and far less verbose".

The thing is, I can't believe I'm thinking that because I was exactly in your place a few months ago. Since that time, however, I've become very familiar with functional styles and now the Java 8 streams way seems "almost, but not quite right" and the imperative iteration style seems "gratuitously complicated and philosophically wrong... I mean... look at all that special syntax! That mutation! The horror!"

All of this is to say that I'm not quite sure either of us is more correct than the other, but familiarity does seem to cause a profound mental shift.
By default the title is better ranked but then it will also fetch results in the text, you're right. It could actually makes sense. Just need to figure out the best way to use it (without flooding the UI). Maybe in the dropdown menu before the input or with a search syntax.
Why Uber Needs Baidu
> You know who actually does that low margin work? Deployment companies, consultants and implementors, outsourcing firms.

Not always. A lot of software companies that provide enterprise-level software but aren't the SAPs and Oracles of the world often supply in-house implementors, who work for weeks or months with customers to integrate those products into existing system (at a cost).
So this is "hacked" like how anonymous used to hack government websites back in the day. They have control of social media websites and public facing webservers. Terrifying to the lay person and a joke to any technical people.
Dark Sky has a new owner
A real customized algorithm based on vector space.
She's not speaking up for herself. That's pretty much the definition of lack of assertiveness.

Lack of confidence, weak voice, poor posture are highly likely based on my experiences with people who lack assertiveness.

I'm not saying I'm right, but it's highly unlikely I'm wrong.
I think you would be killed by the diamagnetic properties of water first...

If you can affect water with a small magnet like this:
https://www.youtube.com/watch?v=2FvWtEdY4sE

Then a magnetic field of sufficient power would probably kill you long before the effects described in the article. I'm amazed that someone other than me has thought about this!
You mean, open sourced?
It should be noted that one must assume a performance penalty when calling stream() on a Collection, as doing so creates a new Stream object. Within inner loops and for small Collections I recommend avoiding stream() altogether if performance is a concern. Furthermore, while tempting, Stream.parallel() should only be called when it is certain that the additional cost of a ForkJoinPool instance creation can be amortized over the duration of the lambda's runtime. With that said, I welcome Streams and other FP concepts to Java.
Airbnb map
Here's the relevant pastebin for the lazy: http://pastebin.com/Y2spP7y9

Unfortunately it looks like the 4shared files were taken down.
"I think it's because they author doesn't understand git and doesn't know what they are doing."

Thanks for your kind comment...

I would like to point out that this article is over 4 years old (hence my knowledge will have increased since then) and it was also basically my notes on our training with Scott Chacon of GitHub. I'm sure you wouldn't consider him to not "know what [he is] doing". Maybe it reflected best practices at the time the training was delivered and the article was written.

Anyway, I appreciate it's resurgence in popularity...
it's planned but we wanted to validate the layout before making all responsive.
Agreed. As a French speaker (a language with only a few accents, so even ASCII is acceptable) I don't code in French anymore, even for code I know now English reader will ever see.
You can use the skip button at the bottom if you don't want to watch the video and directly access the map.
This causes my cursor to disappear when I mouse outside the window, which makes this DOA.
I tried this in Whitehorse, Yukon Territory on a cold winter day -- it doesn't freeze, it vaporizes.

https://www.youtube.com/watch?v=jKMNSvpB9dY
A nice explanation of privilege. I'm not super fond of the term, since I hear too many people use it as an attack instead of a conversation starter. Its hard to convince someone they're wrong, that has to be a delicate conversation.

Maybe: Do your best to treat everyone equally, and be aware of just how insanely hard this is for ANY human being to do.
I'm guessing that's intentional. The idea is that if you are going to reformat code, it should be the only thing you do in a change; in other words, don't commit a change that both changes the semantics of the code and changes the formatting.

The principle is that formatting is orthogonal to other work and therefore shouldn't be mixed in. Unless you do something wrong, formatting changes are harmless so they can be scanned past by someone reviewing a changelog.

Here's a good discussion of the practice on StackOverflow: http://stackoverflow.com/questions/2214480/committing-when-c...
SpaceX’s Dragon spacecraft successfully docks with space station
[1] is probably the best analysis of the field. Last week on BBC Question Time, the folks on the panel and in the audience all seemed very hostile to limits on freedom of speech - though they noted that those rights are much more robust in the US. Perhaps this is Cameron's attempt to make sure that UKIP doesn't steal away some Conservative votes. UKIP seems most hostile to immigrants, from what I can tell. (I don't live in the UK, so perhaps someone can correct/expand).

[1] http://may2015.com/
Except the one implementing hacker news, obviously ;)
It doesn't seem to be a problem for skiers or hunters.
Project Lombok allows you to use annotations to create getters and setters:

@Getter
private String author;
@Getter
private String title;

Or, on the class, here with a fluent (non-JavaBean) API:

@Data
@Accessors(fluent = true) // experimental
public class Article {
private String author;
...
}
Recommend a brand of winter wear?
I'm dying here laughing. For those who are not aware, those screenshots have the logo of America's Army, a game developed by the US military. This is either a very good troll, or they just hacked the page of some clan somewhere. Either way, very funny.
I think that's already a feature of HTML, using the language="..." attribute of the script tag.

Believe it or not, a long time ago, Javascript was actually the less bad option in web scripting. IE used language="vbscript" to allow web scripting in VBScript, which, AFAIK, was the only other language that became popular for scripting web pages.
If anything, these results are showing that currently, and hence in the past, people have been judged harshly based on their demographics. It's not true that everyone was judged based on their own merits in the past.

It's just that people are starting to recognise it, and try to counter act it.
This is very, very cool. Moving this kind of intelligence into the compiler and runtime is one of the things I desperately wanted to do in grad school. The academic machine ground that desire out of me in short order, but I still have a tremendous love of the work.
That's a surprisingly simple fix that makes a lot of sense. There's clearly a public benefit to having more visitors (since the tax break is explicitly to encourage things that are of the public benefit). I like it.
I replied to an individual comment, but I would just like to comment generally too - this article is 4 years old and if I wrote the article now there would have been more advanced information.

At the time beginners in git weren't doing much of this stuff, so they were tips for people who had used git daily, but this stuff wasn't common knowledge being done by all developers.

If anyone has anything they'd like to see in an advanced article, let me know and maybe I'll consider writing a "Tips for becoming an Advanced Git User" :-)
Unofficial WhatsApp Library Gets End to End Encryption Before Official Clients
perhaps the team managing the centcom twitter account[1] should be checking their offices? :)

[1] http://therightscoop.com/breaking-centcom-twitter-youtube-ac...
The photographer sold his photos to multiple outlets.

I guess when you spend that much time and effort for pictures you want to recoup that as best as possible.
Catering and masseuse is pretty standard with many bay area companies, it doesn't make palantir special. The chef part is more a function of how large the company than anything else.

You'll actually start to curse the catered food part if you want to actually conform to some sort of diet, weight loss or otherwise. The food can create a culture of longer working hours, so leaving earlier so you can go make your own dinner will create career challenges later on. SV is a large suburban place, not catering lunch just wastes a shit ton of time for the company itself and creates a lot of traffic.

And the masseuse service isn't that expensive for the company to hire once a week.
One more thing. GPUs don't have to worry about precise interrupts like if you try to load a piece of memory only to find that you have to page it in or such. If they're in a memory protected setup where that's even possible it'll be the CPU who has to deal with the mess, the GPU can just halt while that's taken care of.

This makes SIMT easy. SIMT is "Single Intstruction Multiple Threads" which is sort of like SIMD but better. You have an instruction come in which is distributed to multiple execution lanes each of which has a hopper of instructions it can draw from. Each lane then executes those instructions independently and if the lane notices that the instruction has been predicated out it just ignores it. Or maybe if one lane is behind it can give the instruction to its neighbor which isn't. THe fact that you don't have to be able to drop everything in a single cycle and pretend you were executing perfectly in order gives the hardware a lot of flexiblity, and all of this complexity is only O(n) with the number of executions instead of O(n^2) as with a typical OoO setup. The need to have precise exceptions involving SIMD instructions means that this isn't a simple thing for a regular CPU core to add to its SIMD units.

The fact that each lane is making decisions about when to execute the instructions it has been issued are why some people refer to the lanes as "cores". I don't, because what they're doing isn't any more complicated than the 8 reservation stations in a typical Tomasulo algorithm OoO CPU core would be doing even if they are smarter than a SIMD lane. With GPUs it makes more sense to break down "cores" by instruction issue, in which case a high end GPU would have dozens rather than thousands of cores.
So I had to look up SIMT: http://yosefk.com/blog/simd-simt-smt-parallelism-in-nvidia-g...

Batches of execution units all run the same opcode (or skip it in if/else constructs) but each one has its own register set.

As opposed to SIMD's simple, single, massively-parallel vector instructions.