skysight-inc/HackerNews huggingface dataset:
C++14: floats, bits, and constant expressions
How to Make Water Behave Like in Space DIY Video
But do we blame Google when their robot indexes some completely unprotected webpage that the host owner didn't mean to be public but haven't did anything to claim so?
Automating XKCD-Style Narrative Charts
But this is normal corporate America. Dan apparently isn't familiar with the history of IBM, which was so bonkers it had its own song book attempting to engineer a cult of personality around Thomas Watson.

http://arstechnica.com/business/2014/08/tripping-through-ibm...

This was back in the 1930s. Apparently not much has changed.

In the 60s and 70s the DEC people used to talk about "Mother DEC" and "Father Ken (Olsen - CEO)" - and DEC was a vastly more pleasant company to work for, if you didn't mind meetings where people shouted at each other a lot.

Elsewhere, this: https://www.youtube.com/watch?v=RINizGmhrYo

US corporate culture is insane. It has always been insane. The insanity takes different forms, and the web startup version frequently manages to be both insane and infantilising. (See also, startup names that sound like baby talk - more of a thing before DotCom 1, but there are still a few relics today.)

This is not what an adult professional culture looks like. Signifiers of playful childlike wonder and creativity shouldn't come in stick-on corporate office multipacks, especially not if they hide much uglier relationship dynamics in the office space.

It's fascinating to wonder why this has been such a strong trend in the startup space. Obviously it's more likely to appeal straight-from-college CS grads than battle-hardened senior engineers. But my guess is it's also an evolutionary adaptation to trigger paternal (less often maternal) feelings in investors and VCs, who are more likely to feel generously disposed and still part of youth culture if they sponsor a brogrammer creche, and less likely to feel threatened by kids who look nothing like direct competitors.

Social signalling in business is a very interesting thing, and maybe isn't questioned often enough.
Author here. Thanks for this brilliant comment. May the force be with you.
Not a good argument for the tiny fraction of smartphone users who happen to use iPhones, or not a good argument at all?

The comment I replied to mentions the iPhone, but made the blanket statement "Your mobile..." plus the article I linked to addresses multiple mobile OSs.

It would be helpful to explicitly state which make and model smartphones you believe are not susceptible to baseband threats. I think Blackphone has also integrated countermeasures but information on this topic is pretty sparse.
That could be problematic in countries like the UK where you can be arrested for posted hate speech on Twitter. I'm not sure how these laws would work with a US based company AI bot but it's probably not a can of worms worth opening for Microsoft.
PDF is a container for several kinds of content ranging from images to simple text. There's no simple direct way of converting arbitrary content to "good" HTML, for example PDF text might be a scanned image not a string of characters. Even a string of characters might contain typographic ligatures and a page of text contain page numbers at the bottom and chapter/section labels at the top and hyphens to break words across lines.

It's probably best to determine how to handle a specific text or group of texts and then do custom conversion.

Good luck.
"Consciousness"? "Put to sleep"?

And I thought the New Yorker had editors.
We are still getting cheap manufacturing there - so don't expect any support from the US govt
>People do all kinds of things under peer pressure and coercion they wouldn't do otherwise

So should we wait for the real terrorists to apply this "peer pressure and coercion" instead?

We're talking about mass murder here, not pushing a little dope. Under what possible logic is an FBI agent able to convince someone to kill people, but a real terrorist isn't?
This overwhelming... good luck!
My understanding is that Tay doesn't understand being admonished which is key for a child to learn social skills.
What I'm suggesting is that there are many, many ways to untie gordian knots.

Building bigger * is already happening - it's probably why your expectations are so low! Solving enormous social problems using complexity is a meme that needs to die - this is where bureaucracies and the like come from. Social situations are just too complex to write a complex system that addresses everything. Simple answers to complex problems that come close to the nuance as possible because of their "mediocreness" (think unix, x86, etc). My high expectations are in others' ability to find those simple "do one thing and do it well" solutions together.
Hey,

It's not better, it serves a different purpose.

With PIA and other VPN providers, you're after privacy for browsing, streaming, etc while our service creates a self-contained network with no "exit to Internet", at least provided by us.

The idea is to add to this network all the devices you would like to communicate with each other, for example:

- Your laptop and your cloud servers, so you don't have to open SSH to the whole world or use a different management VPN for every provider.

- Different cloud servers from different providers, so they can communicate securely with each other (e.g. frontend -> DB, orchestrator -> workers, etc)

- A Minecraft server and all your friend's computers, so you can play Minecraft in a private server hosted anywhere in the world.

- Play [INSERT OLD GAME WITH LAN MULTIPLAYER CAPABILITIES HERE] with your friends by adding all of them to the network and starting a LAN game.

This is more similar to products like Hamachi.

I'll work now on clarifying this on the FAQ and probably avoid mentioning VPN all along :)
I'm glad you've overcome this. For my part it's been 30 years, probably 40 if my childhood memories make any sense. I've started to notice that my daughters switch from laughter to sadness when their gaze reaches me. I'm not sure staying around is helping them.
Interesting thing about Amiga and Lightwave. Even though there was Lightwave for SGI, when Lightwave came about on Windows NT (4 was coming out at the time) and when we had to use that for on of our works - I knew then and there Amiga is dead. I vividly remember that moment when I fired it up on an NT machine. Same thing happened with SGI when I fired up Softimage|3D (as it would be called later) and first beta of Maya on NT. I knew machines were toast.
My routine is leaving for work at 7.00, getting home 19.15 or so, have a soup for dinner to avoid food time (pre made) and then about 2.5h of relaxing/hobbies, being in bed 22.00-6.35. I get showering and exercise in at work, apart from hobby exercise like sea swimming/walking that fits into those 2.5h.

Mostly I stick to this routine because I get a lot more stuff done with a full nights sleep, I am a lot less good even on 7h so by now I know not to even try to compromise on that.

I also don't drink, so that's not an option (and I think a lot unhealthier anyway).

No kids make this a lot easier than for people with families though.
I read the entire article trying to figure out what exactly was "hellish" about the experience - but couldn't find anything other than what can only be called a really bad culture fit.
Jeremy England, the Man Who May One-Up Darwin (2015)
That is not really true. According to 23AndMe, by law the lab that processes your saliva must keep your data for a minimum of two years. Moreover 23AndMe keeps your data forever if it's involved in any of their studies (it's in their TOC), which probably happens the second you submit anything to them. I do not believe that 23AndMe actually deletes data.
I think this is vastly over-estimating Tay's capabilities. Nearly all of the examples I saw of offensive behaviors were just generic responses to leading questions.

Everything that didn't fall in that bucket was clearly just regurgitated quotes from things it had been sent, which clearly needed moderation. But, that's no different than moderating a message board or comment section.
I'm afraid I'm a weight on them.
Not true.

China angered by Hillary Clinton tweet on women's rights http://www.bbc.com/news/world-asia-china-34377406

"Mr Xi has come under fire for hosting the summit as several women's rights activists were held earlier this year for planning a demonstration against sexual harassment on public transport."
Every not open addressed hash table can use load factors up to 100%, compared to 50-75%.
Robin hood is a special case.

Concurrent leapfrog hashing would save the go lock and performance problems better. No need for trees when you can use a proper concurrent in-memory hash table.
And you can use string keys.
Ask HN: What do you listen to while programming?
Simple question, what do you typically listen to while writing code? Music, podcasts, silence? Also, does it depends on what you're working on? Thanks and have a great day.
Uber is trying to recruit engineers by having them do a test on the road
> can gracefully propagate resource exhaustion errors, including memory allocation failure, to callers

only on malloc. If the kernel overcommits, your process will abort when you try to use the memory, possibly way after the malloc and there's nothing you can do about it. That's the point being made here.

> That Rust can't is a design flaw.

(This is false, see Steve's reply above about this)
Wow... So basically Tay is human.

Interesting perspective.
Yeah, if you want to train an AI based on conversations, don't use Twitter. Seriously, this is all that Twitter seems to produce these days. Gone are the days where it was used by the Arab Spring. Now it's used by neo-Nazis and trolls.
Nice bonus info. I didn't know about this (haven't spent much time with Python 2.x).
Note in the early 1990s you could read hard drive content pretty easily with a scanning probe microscope, in fact the bits were lozenge shaped and if you looked close you might find the edges of bits that had been written before and weren't perfectly aligned. (i.e. scientists had tools in their labs that were better at reading a hard drive than the read head)

Back then it was possible you could smash the plates and somebody could reassemble some of the data.

Then by 2005 or so the density of the data was high enough that the scanning probe microscope wasn't much better than the read heads, and at that point extreme methods of data extraction got much much harder.
It's in the "Cloud" ...
https://www.youtube.com/watch?v=yDLKVOShCG8
Looks like they won't delete your DNA data, but they will delete any personal information linking it to you. Fair enough.

https://www.23andme.com/about/privacy/
A Raspberry Pi dashcam with two cameras and a GPS
Unrelated to the post, but another illustration of a great open source book effort is the Stacks Project on algebraic geometry and algebraic stacks:
http://stacks.math.columbia.edu/.
Allow Open Carry of Firearms During the RNC Convention
Following on my answer to freethrow (parent comment), I've updated our FAQs:

https://wormhole.network/docs/faq.html

I'm replying here so you have visibility too :)
Excellent post. Great information. I have a question about SSDs, though. Google has published their information about hard drive and SSD survival in their data centers. It can be viewed here: http://www.datacenterdynamics.com/servers-storage/googles-ss... So my question is how we mere mortals can deal with all the maintenance. It may well be that spinning hard drives are best for us.
Being fired or laid off isn't a negative event? In what world? This perception blows my mind. Being "let go" can be devastating. Especially for long time employees.

It's also extremely negative for the company. It's as much a failure on the companies part as it is the employees (with exception of course. Misconduct being an obvious one).
I thought it was in my quantum computer...
For better or worse, companies in the US are considered people and they have the protection of the first amendment, which ensures freedom of speech.
IIRC he was eventually cleared/charges dropped/something (too lazy to google), but that's meaningless since he still lost his job, got his name dragged through the mud and generally screwed over.
> and mostly a consequence of eschewing exceptions.

A panic is the same thing as an exception. If you want to catch a panic, use recover(), it's meant to be used exactly for these end-of-the-world panic scenarios (and for FFI/etc).

You can plug in a custom allocator that panics on OOM (I think the standard one aborts).

As Steve mentioned, custom allocators can mean two things. The type that exists in rust today is one where you can make OOM panic, but not have allocation methods return Result. A planned extension will let you have allocators with different semantics entirely work with stdlib types (via defaulted type parameters); and this will let you use regular error handling with stdlib types too.
It's actually much more sensible code a lot of the time, especially for people who didn't get a degree that consisted of a lot of for-looping in class.

good_jedis = [jedi for jedi in universe if jedi.alignment == "good"]

vs.

good_jedis = []
for jedi in universe:
if jedi.alignment == "good":
good_jedis.append(jedi)

And then when you get on stuff like dictionary comprehensions and generator expressions, it starts becoming an amazing tool that is able to accomplish things that are straight-up cumbersome with old loops.

There's a computer science course out there that a friend was telling me about, that begins by showing students how to "map" a function over an iterable, way way before a "for loop" ever shows up. I think this is the way it should be done, "for loops" as a three-line-structure only seem natural to people who grew up programming for loops.
The technical details don't much matter. What matters is what the users do with it, and whether their uses can be shown, by a prosecutor, to represent the kind of access that a reasonable person looking at the same computer system would know was not authorized.
One thing I find interesting is that everyone loves to hate CoffeeScript, but its individual features/syntax are consistently lauded in conversations about other languages.

(Not to mention half of ES6 existed in CoffeeScript first, but that's a gripe for another day)
I think what stikes you as "heavy" is excess ornamentation that strikes me as overwhelmingly fake. I spent an afternoon shopping in Manhattan for a desk recently, and was pretty surprised just how hard it is to find anything remotely attactive.

The big mainstream American players, say, Ethan Allen, Crate & Barrel, and West Elm have so much stuff that, while generally decent quality, is so disconnected from the time and place. So much of it is designed as if it were to go in a french country cottage, or a log cabin, and so little of it looks like it is was made in the 21st century.

Although Ikea is a bit low-end for me, their designs at least have an honesty about them. There's nice stuff to be had at, say, Design Within Reach, various European brands, and smaller U.S. manufacturers, it's just amazing and frustrating how far from the norm it is, and how difficult it is to find.
I think the disappointment here is that the OP seemed not to understand the root cause of the problem and implemented a solution in a different language (load balanced worker pool) that could have also worked in the original language without a total rewrite. Then the new language is trotted out as the savior. It sounds like the file fetch workers and request handlers were running on the same process, so the longer-running workers ended up blocking requests. The way it's discussed, it seems like pure luck that they stumbled on a solution that solved this (running the workers on a separate queue/process).

I totally agree that it's impressive that it only took 2 weeks to build the Go version, it just seems like it would have taken 2 days to try the worker pool implementation with Node.js.
Ask HN: Contract says my vested shares are forfeited if I quit within 24 months
Is this standard/fair?

I'm joining a 2 person startup as a co-founder and this is the language in their contract:

Notwithstanding anything to the contrary herein, if Recipient’s employment is terminated by Recipient prior to twenty four months having elapsed since the Effective Time (such twenty four month anniversary being the “Resignation Date”) then all of the Vested Units and Unvested Units (whether held by Recipient or one or more of Recipient’s transferees) shall automatically be forfeited and cancelled without any payment with respect thereto as of the Termination Date, in each case, without any action on the part of Recipient or the Company and after the Termination Date shall not be outstanding for any purpose.
You want to be careful that you don't end up with "five random english words (4000^5)", though.

And it's hard to enforce people not using phrases.
1: Seems pretty clear that The Force Awakens is an "...origin story of a female Jedi." [1]

2: At some point while writing this I realised I would spend all evening if I had to round up all the planets, and chose to note that the lists are "non-exhaustive" instead :)

[1]: http://www.wga.org/content/default.aspx?id=6130
I find it pretty depressing that faster ethernet is not migrating to SOHO environments. Everybody and his brother wants to sell you wireless hardware that is allegedly faster. I have been looking at upgrading to 10G ethernet but the economics are still awful and following an entirely different trajectory than new speeds did in the past.
I've been to Moscow a few times, and despite it being only three or four days drive from France, Spain, and Italy, it's nearly impossible to get a decent bottle of wine there. Bottom shelf stuff is obviously counterfeit, and even the top shelf imports are like putting one bullet in your revolver and pulling the trigger.
It's funny to see the SPF editor as an example of a friendly, easy to use editor. I guess, if your measuring stick is ed then everything looks user-friendly.

Edit: I use (I)SPF at work. It's ... serviceable but I wouldn't call it friendly. Frex, undoing is complicated- sometimes you can undo the last command by entering UNDO in the command line, sometimes you have to enter RESET to get to the last saved version and some times you have to enter CANCEL to exit without saving and open your file again. Not to mention, if you press PF3 then it exits _and saves_ so it's very easy to lose your work.

Then again, for sheer existential dread nothing beats being trapped in ed's command line for the first time. On a mainframe. With no man pages. And with the lights off.
What learned by analysing 1M Google Search Results
1. Backlinks remain an extremely important Google ranking factor. We found the number of domains linking to a page correlated with rankings more than any other factor.

2. Our data also shows that a site’s overall link authority (as measured by Ahrefs Domain Rating) strongly correlates with higher rankings.

3. We discovered that content rated as “topically relevant” (via MarketMuse), significantly outperformed content that didn’t cover a topic in-depth. Therefore, publishing focused content that covers a single topic may help with rankings.

4. Based on SERP data from SEMRush, we found that longer content tends to rank higher in Google’s search results. The average Google first page result contains 1,890 words.

5. HTTPS had a reasonably strong correlation with first page Google rankings. This wasn’t surprising as Google has confirmed HTTPS as a ranking signal.

6. Despite the buzz around Schema, our data shows that use of Schema markup doesn’t correlate with higher rankings.

7. Content with at least one image significantly outperformed content without any images. However, we didn’t find that adding additional images influenced rankings.

8. We found a very small relationship between title tag keyword optimization and ranking. This correlation was significantly smaller than we expected, which may reflect Google’s move to Semantic Search.

9. Site speed matters. Based on data from Alexa, pages on fast-loading sites rank significantly higher than pages on slow-loading sites.

10. Despite Google’s many Penguin updates, exact match anchor text appears to have a strong influence on rankings.

11. Using data from SimilarWeb, we found that low bounce rate was associated with higher Google rankings.

Source: http://backlinko.com/search-engine-ranking
Modern iPhones are generally significantly more secure than modern Android phones, but so long as we're talking about (a) modern mobile devices (b) provided by Apple or Google, then I'm comfortable saying that all these devices are more secure than your computer --- which, for what it's worth, is littered with all sorts of little embedded doohickeys with code you can't see.
The world is not Linux. I happen to believe that believe that overcommit in the Linux kernel is a disgrace. It is, however, at least possible to disable it. It's not possible to retroactively add real exceptions to Rust, or to change the signature of all memory-allocation function to return Result.

Rust is supposed to be a general-purpose systems programming language, not a Linux programming language. Windows does not overcommit. A correctly configured Linux system does not overcommit. Lost of embedded systems don't (and can't) overcommit. Are you saying all of these people should avoid Rust's standard library?

> > That Rust can't is a design flaw.

> (This is false, see Steve's reply above about this)

It's clear that my opinion differs from that of many Rust developers and users. I still think I'm correct, that these developers and users are misguided, and that as Rust attempts to fill more niches, experience will show that my position is the correct one.

All I can say is that I personally will not use any language that bakes cornucopian assumptions about memory baked into its core library. I know that you say that it's possible to just avoid stdlib --- but the temptation to use it will be irresistible, and once somebody succumbs to the temptation, the entire program is now capable of aborting irrecoverably.

I will stick with languages . Modern C++ is safe and expressive enough, and it correctly reacts to resource exhaustion.
Thank you! Awesome read!
And this is why I will not do Ancestry DNA. As much as I want to do their DNA program I just won't until we have some major strict privacy laws regarding DNA. Once a third party has it, just like storing your data in the cloud, who knows where this DNA will wind up or for what purpose.
Every artifact decays. Every quanta of decay is an opportunity to build. This will always be true.

Human artifacts were built to serve our way of life. Yet our way of life has heretofore been driven by a desire to dominate nature. Science has widened our view, now we know that a complex living biosphere is rare and precious, which implies we should attempt to live with a minimum of artifacts and minimum population, with the primary ambition of the remaining population to ensure the long-term survival of the biosphere, both on earth and beyond earth. I envision a garden planet with several major university cities, unobtrusively integrated with the natural world, and a Spacer community that is also colonization/research focused, but also tasked with protecting the Earth from stray objects.

This is a new "way of life" with new priorities, new beliefs, and new rules. It is no small task to get there from here. But I believe it can be done and moreover, even small steps in that direction would be greatly beneficial to us all, especially in the long-term.
The TTL Trick or how to blame the network :-)
https://www.youtube.com/watch?v=60ItHLz5WEA
I think I'd resign if someone in a position to be reviewing Python code scolded me for using a list/dict/set/generator comprehension.
The site was unusable (couldn't scroll) until I turned off Javascript.