skysight-inc/HackerNews huggingface dataset:
Motu Patlu and Robot Dog – Motu Patlu in Hindi
Rosetta's last image of Comet 67P, taken shortly before impact, 51m from surface
How Do You Make Turbo Engines More Efficient? Just Add Water
Hash arrays are great; I use them all the time in AWK. All searches using hash indexed arrays in AWK are O(1).

I believe that the biggest problem around using hashes as indices entails people wrapping their head around the concept that the array index is a string (for all intents and purposes), rather than a number of a field in an array (or an address of a region in memory, which it eventually is anyway, once it runs). For example, I used entire lines of text as the hash for an array. My colleague who I was showing this technique to was completely dumbfounded as to how that worked. Why was I only storing the value "1" into Array["ORA-1234: blablabla"]?

if(Array[$0] != 1)
{
#
# This record is different, so print the entire record.
#
print;
}

"How is that used to filter out lines which are identical the ones we have in the canonical file?" He seemed completely flabbergasted. He just couldn't wrap his head around this concept, and ended up re-implementing the entire thing using several lines of grep -v, sed, and if [ ...] then. I think there were even several temporary files in the game, whereas the hash array technique in AWK loaded both the canonical file and the input from stdin into memory, rather than using intermediate files.
From the user experience point of view they are quite similar.

Back then I could usually guess when some "desktop" apps were written in XUL, given their performance or lacking OS integration.

Same thing now with Electron apps.
It's quite exciting to see progress on a data driven approach to compression. Any compression program encodes a certain amount of information about the correlations of the input data in the program itself. It's a big engineering task to determine a simple and computationally efficient scheme which models a given type of correlation.

It seems to me like the data driven approach could greatly outperform hand tuned codecs in terms of compression ratio by using a far more expressive model of the input data. Computational cost and model size is likely to be a lot higher though, unless that's also factored into the optimization problem as a regularization term: if you don't ask for simplicity, you're unlikely to get it!

Lossy codecs like jpeg are optimized to permit the kinds of errors that humans don't find objectionable. However, it's easy to imagine that this is not the right kind of lossyness for some use cases. With a data driven approach, one could imagine optimizing for compression which only looses information irrelevant to a (potentially nonhuman) process consuming the data.
An Ode to the Rosetta Spacecraft as It Flings Itself into a Comet
Not for the user experience.
How to Sell Hardware at Indiegogo with Amazon Launchpad, HAX Boost and SPRING
If someone reacts badly when you know more than they do then that's not a great bit of behaviour, if a company chooses such a person as an interviewer then that's a bit of a red flag to me - an interview should be as much about trying to present a positive image of the company as much as testing the interviewer.

Sorry to hear about the rent situation - I take that worked out OK eventually?
W3C Workshop on Web and Virtual Reality
You need a four martini lunch.
Basically, Rosetta has a highly directional antenna, and there was no chance it would still be pointing towards earth after landing. So they programmed it to switch off the transmitter on landing to avoid causing interference for other missions.

It "crashed" into the comet very slowly, so it was not smashed to pieces. It may be have bounced back and will eventually land somewhere else. We may never know.
Instead of arguing about this ad infinitum, we should just collectively execute

ln -s UTC GMT

and call it a day. It wouldn't break backward compatibility with anyone's usage, would it?
Yes, and to completely destroy my karma here for the 3rd downvoted to the abyss comment:

A lithium-ion battery is potentially lethal. You can have as much regulations, laws and red tape as you like, you can't change the fact that lithium-ion batteries are potentially lethal.

And if you overload a washing maschine by stuffing in a 50% more than it was designed for, you should be aware that you do this to a potentially lethal thing.

And putting a "Don't put a cat into a microwave" sticker on a microwave doesn't change the physics of the microwave, it is potentially lethal to the cat. You can't regulate the physics of microwaves.

Same goes for cars. Potentially lethal. If you drive it beyond it's - or your - capabilities, it will kill you - car manufacturing regulations can't save you. It is potentially lethal. It is potentially lethal even with all the regulations and driving the car within your and it's capabilities, e.g. when a tire explodes. Regulations don't save you. Using potentially lethal thinks is potentially lethal.
Incidentally, as I understand it SafetyNet is intended for verification of device integrity when you use Google Pay - i.e. as a NFC wallet.
Can you explain this picture? What do these percentages mean?
Best thing about JavaScript is the speed of development. Once you master it, all other languages & ecosystems feel verbose, archaic.

Modern JS (ES2015+) combined with a code style (Standard, Airbnb) is beautiful, sometimes more so than Python.

Bad modules isn't a problem inherent to JS. NPM has its faults, but the JS community is the largest, and the fastest moving of all. Everything you need already exists, and it's probably actively maintained, if not accessible for you to submit a PR.

PHP? Lol, no. JS > PHP.
Selenium alternatives for testing automation
I like photos as decoration, but they all have captures, in the same font as the presentation. The captures have quite some information (like the heights of the mountains). The photos are placed where you'd expect presentation images to be as well. But it's all entirely unrelated to the presentation.

All in all it's much more distracting than normal decoration.
The challenge in 2008 with the Lehman collapse and AIG's later struggles is that there was no method to wind down non-bank financial institutions except through the bankruptcy courts.

After the financial crisis regulators were given authority to take over non-bank financial institutions and also created the concept of bail-in where a large bank or financial institution that was in financial trouble could raise equity over night through forced conversion of some of its bonds to equity. This would of course dilute existing shareholders and result in potential losses for bond holders but the bank continues to function which removes the systematic risk. As part of the reform the banks were also required to hold more liquid capital to reduce the risk of runs and to go through stress tests to validate that bail-in capital was adequate.

The politics are that in Italy the banks bonds that would be subject to bail-in are held mostly be retail investors (granny and grandpa) and a bail in would be politically costly and they want to bailout banks using tax-payer funds.

At the end of the day losses due to bad loans have to be allocated. Those losses can be allocated to bank equity and bond holders through bail-in; depositors through bail-in or lower interest rates; tax holders through bail-outs; or to savers through Central Bank inflation and fiscal stimulus. Each one of those scenarios creates winners and losers with vested interests. There is also strong cultural memory with Germany looking back to the hyperinflation of the 30's that gave rise to the Nazi Party and the US looking back to the 30's and the Great Depression when losses were allocated to banks and depositors.

The alternative is extend and pretend which is to ignore bad debt and because in the future "we're all dead." This was used in Japan after its financial crisis and creates and interlocking group of zombie companies and banks which seem to feed on the rising generation.

Pick your poison I guess.
There was this story (which I find an incredible achievement, if true) of a child abuser's fingerprints being taken just from a photo that he had posted online:

http://edition.cnn.com/2016/04/21/us/project-vic-child-abuse...
Sounds interesting, I thought the iris scanner needs to illuminate your iris to make it work and you can't do this from photos, I've head this from you for the first time.

Any source where I can read about fooling iris scanners with photos?
I had 3 greek colleagues that would disagree.
Wouldn't illegally obtained evidence be inadmissible in a court of law?
And that's where parallel construction was born.

https://en.wikipedia.org/wiki/Parallel_construction
Freight Industry is not that simple, though. In some ports, it envolves a huge infrastructure, country laws (inspections from health authorities, customs and even navy sometimes) and so on.

In that case, 20 calls are just the beginning. You can't ship a matchbox without hiring a company to do the (sometimes dirty) job for you. Data culture worth nothing in places like that.
Yes, there are implemenations of hash tables that solve this problem. Hash collisions still ruin your worst case performance, but as long as nobody is asking how long you spend on inserts you can solve that too. As a trivial example, on each insert make the hashtable larger and change the hash function randomly until you found a solution that has O(1) lookup for all elements.

But now we're far outside the realm of "properties of hash tables" and instead inside "properties of my hash table", and any decent interviewer should recognize that.
Why dragons might exist one day
Shameless plug (again): https://github.com/pforemski/dingo
People so shit they can't even despise themselves. Well, I can do it for you, with resources to spare :)
Plex Announces Plex Cloud – A Plex Media Server on Amazon Drive
The Barriers to Innovation
I don't agree with this strategy. A spare PC under a desk might work perfectly for years without any trouble. Alternatively you might spill coffee over it next week and destroy the server - and your business.

If you don't know how you'll need to scale then chuck up a `t2.nano` instance on AWS and use that. In return for a tiny monthly cost you get:
- solid network connectivity
- disk snapshots for backups
- geographically redundant storage (S3) for static resources so you can survive the server hosing itself
- monitoring of CPU load / status / disk usage
- the ability to scale the server up vertically with the click of a mouse and 60 seconds' downtime
- (with a tiny bit more work and cost) automatic scaling so you cope _automatically_ if the server falls over or load increases
Sadly bailouts have not been a money maker in the UK thus far. They may still have been the least worst option though.

"Once the opportunity cost and risks are factored in, the schemes have represented a transfer from taxpayers to the financial sector."

https://www.nao.org.uk/highlights/taxpayer-support-for-uk-ba...
During last 5 years 2 banks have went bankrupt in my country (Lithuania), so I can assure that this insurance works really well here, everything went orderly and individual depositors received their money promptly (in about a week if I remember correctly).
VC++ Packaging Tool
Can people die from code written at Google?
Deep Learning Research Review: Generative Adversarial Nets
These are slides that a developer put together to show off to other developers, i.e: friends. He included a photo journey to go along with all the boring technical stuff, what's your problem?
To the Government, Your Latest Facebook Rant Is Raw Intel
The first one, when they dropped third parties and removed the already-bugged step count under close-by pokémons.

It's purely anecdotic, but after that release, popular spots (with multiple pokestops and arena in one place) usually crowded with more than 50 people playing actively were down to one dude on a bench.

Sure the "loud minority" is not representative of the whole game's community, but they were it's core players. They shaped the game's community (and niantic didn't helped) from the beginning. And it didn't help when those people decided to stop playing.

Back to server's issues, Google CREs did a very good job during these times. They can't be blamed for trying to scale an app that was absolutely not designed to get this high.
> break them as soon as the economy is stable again

How do we decide when that happens?

In a similar vein, we lower interest rates when the economy is in poor shape and raise them again when the economy is doing better. Unless the Fed can't decide that the economy is in good shape. For years.
I made a slightly improved version using <ol> and <li> elements to not have to manually output the numbers within the <span> element: https://jsfiddle.net/r8c2Lsz7/
Scientists identify neurons devoted to social memory
I don't understand how that's not the same. Ok, they are not hiring 5000 new people, but the end result is the same.
Confession: I Don’t Think Uber Is Actually a Great Business (Yet)
Or just don't accept swipe-only cards at pumps(or any machines where there is no human). But that's not going to happen until every person in US upgraded their card to chip-and-pin.
Agreed, the blackout on HN regarding the ICANN transfer is very, very strange.
Icelandic banks were in the business of promising huge returns to foreigners. When those banks failed, the hardest hit were people who didn't live or vote in Iceland. It's pretty much a no brainer that Iceland isn't going to do squat to help them.
Those privacy terms apply only for the included apps. But when you search on Google, your searches get mined just like everybody else ;-)

Just like the parent, I once owned a Google Apps account and moved off it because of the lock-in effect. Now I have a personal account and no longer use Gmail at all. So I don't care about Gmail's privacy terms, because it no longer applies to me.
Please link to a story which you based your original words on so I may try to offer a POV which seems more correct seen from the ground here?
This.

I work in OR, specifically Computational Logistics.

There is plenty of room for operational improvement in all industry, all the time. Articles like this paint us as big and stupid because that's how the "disruption" people see all industry.

Often it is not the optimization that is lacking but the will of disparate companies to co-operate.

An example - the Port of Rotterdam barge system is horribly inefficient for the barge operators because the individual shippers see minor gains. The challenge is getting the shippers to agree and co-operate, not to machine learn the best routing for the barges.
Rhombic dodecahedron
https://en.wikipedia.org/wiki/Rhombic_dodecahedron

surely this could be used to scale any structure from apartments, sea steading to mars and lunar bases.
Does every mention of an Open Source library or project morally require attribution to the original authors or something?
You might not really mind for a week or two. Businesses and people relying on payroll being hit on time certainly do mind, and the longer it gets backed up the greater systemic effects it can have.
The comment wasn't sarcastic at all. It was implying that the US hacks elections and that that is somehow a mitigating factor into how wrong it is for Russia to do it to us.

That's tu quoque. Not sarcasm.
Its a PC AT, which came with a 5.25" drive, but I swapped it for a smaller one for the sake of practicality.

In practise I transfer all software and data to it over FTP.

http://www.brutman.com/mTCP/
Break Free and Release Your Inner Leadership
A real, working, interactive KITT
Spot on. I love ML, I love the potential. But as a former logistics systems manager I would NEVER trust anything that applied "fuzzy" logic to the already frangible processes that are involved in working in (and depending on) international logistics and 3PL.

Customs brokerage is the big thing for me - there is no substitute for a great customs brokerage house - those guys and gals work magic and have contacts at every level in even the most obscure countries in the world.
> p.s. we also take EU people data privacy very seriously.

Hmmm. I find that very hard to believe.

MS is going to have to be _very_ good for a _long_ time to overcome firing the late Caspar Bowden (then MS' chief privacy adviser) for telling regional managers that the NSA can pwn their customers' data. https://twitter.com/casparbowden/status/542588420611379201
If it turns out that a mounting bracket or some other structure used to hold the tub in place has failed, either from corrosion or fatigue, then it should be expected that Samsung take responsibility for the problem.

You design these things to handle the load and stresses seen in an imbalance before the safety mechanism can shut it down.
It's being used in the industry heavily. The term is extremely unsexy. In my mind, I'm an OR analyst. But if people ask me my job, I try to keep a straight face and say I'm a data scientist with an expertise in prescriptive analytics.
Arms dealers are still implicated into the crimes committed with said arms. Both the CIA and KGB/FSB should know that by now.
Neat examples. Still a dearth in statistical aptitude to cross before "data driven" journalism becomes more than nieche market or circus, but every step counts.
See PureScript and Elm. Dart is surely more concise, but not very innovative.
Its really hard to describe. I felt a sense of calm take over me. As if time stopped and life was perfect for a moment. No worries, no problems. Just me and the universe. I do not practice any religion but this was a religious moment. Like meeting your creator. Even thinking about it is calming.
The comparison is a country performing unethical things vs. paying another actor to do unethical things.

It sounds like you are making an "ends justify the means" argument, but I don't think that absolves them of supporting black hat activities.
As with the east coast rail, channel tunnel and royal mail, it's likely the UK government will divest its shares just as RBS etc turn a corner and become relatively profitable (however far in the future that may be). I'm not sure if it's due to incompetence or something more sinister, and tbh I'm not sure which would be worse.
Or competence struggles to shine through bureaucracy. I think every one of us has probably experienced this personally, and it's kind of lame to act like it couldn't happen to our govt (which undoubtedly has at least some smart people).
Video Speed Controller:
https://chrome.google.com/webstore/detail/video-speed-contro...

After installing this, you can adjust the playback speed by 0.1 increments on any HTML5 video element. Works great for lectures and talks. I often watch some videos at 1.5x, 2x, and sometimes even 3x for exceptionally slow speakers.
What are the greatest programming tricks you've learned by years of coding?
Their Android client isn't as great as the native Gmail app, however it's basically a wrapped web interface. And for a web interface, it's great, because it's usable and it means you can have it on any device you want just by going to "fastmail.com".

And btw, on iOS/iPhone Fastmail does push notifications using the native email client: https://blog.fastmail.com/2015/07/17/push-email-now-availabl...
Thank you Mario! But our Chancellor is in another castle.
Not when using the billion-dollar-mistake-fixing `--strictNullChecks` flag. :)
> We’re still pretty much the only company that tries digitalization of an end to end shipment.

They are totally BS'ing there:

Diversified Transportation Services (DTS) has had digital end-to-end shipping since at least 2009. That platform has made them a fortune. (Source: I worked with them for 5+ years and selected them as our preferred 3PL vendor because it was all web-based from end-to-end):

http://www.dtsone.com/our-technology/
Harnessing Nanodegree Power to Solve World Problems
The talk from Simon Sinek is my number one best TED talk, ever. I've watched almost a thousand of them.

I watch this one specifically at least a few times a year to push me back from the "what" of day-to-day engineering to the "why" we sometimes distantiate from.
That argument seems to boil down to “We can’t use any new record types in the DNS ever again because 4-5% of users had problems when we silently tested it”. First, this is defeatism writ large – if we can’t develop anything new, ever, we may all just as well go home and give up. Secondly, these things don’t exist in a vacuum; if a website failed because a user couldn’t access DANE or whatever, this would create pressure on all affected parties to fix the situation. This is how things progress instead of stagnates.
Lithuania nationalized the shares of it's failing banks, which was in effect a bailout.
When Snoras failed your government bought out 100% of it's shares and facilitate the recovery of the deposits.

http://www.baltictimes.com/news/articles/30019/

So this isn't a case where a government let a bank fail, this is the traditional bailout mechanism for failed banks - the government buys them out.

This is what Latvia did with Parex, what the Netherlands did with SNS and Fortis, what portugal did with BPN and the list goes on and on and on.

For the most part no one let a bank fail the same way that the US did with LB, and no one would really want to try that with a commercial high street bank.
Have you considered buying/building a desktop that acts as a server and then using ssh to connect to it from your laptop?
Very interesting reading, as almost always from CJ.

I was impressed by the precision in the data, i.e. being able to tell exactly how many lines of code deal with "fraud detection". Perhaps there's a "frauddetection.py" file, but then there has to be someone importing it and using it, and those lines are harder to count, I'd expect. But perhaps the integrations are small enough to deal with manually.
Note: They are already working on switching to 2048 bits in DNSSEC; they will do it some time this year, if all goes according to plan.
@OP Why not dump the data into postgres rather than code the schema and transactions? I had a similar issue and postgres was a godsend.
That story isn't much different from my interactions with the on premise infrastructure team.
Good catch - I didn't differentiation between n as 'upper limit for primes' and n as 'input length'. The former is more intuitive, which makes your solution more accurate. (Also, I should have played it safe and use O instead of Θ...)
There were already open source projects that tried to do this some paid projects, but they never gained traction. Microsoft also had the hind sight of DART and GWT to help point them in the TypeScript direction.
> Anything else would be completely irresponsible, especially if it's because of pride.

They didn't have that problem when it happened in other countries
Vulners database useful queries examples
The Computer as Extended Phenotype, by Steven Pemberton
I was simply presenting a counter-example to the argument: We don't want to change so we shouldn't change.
Standardizing interfaces across projects with Makefiles
I work in a supermarket (in Japan).

Those EAN13 codes you are printing are US only and probably reserved. I recommend that you change to any one of the in-store codes like 2*. It specifically carries no restrictions.
These are my favorite interviews. I can't just let the interviewers go when I sense some bullshit... I mean if you want to drill people on something it should be expected you know everything about it. No surprise I fail most interviews!

Like the CTO of a famous startup who didn't understand that the order of a multicolumn index has some importance. I died a few minutes later when he told me I should add an index on a boolean (whereas the queries didn't use it) because it would speed up the queries by 2. Best day of my life.