skysight-inc/HackerNews huggingface dataset:
I just finished my undergrad CS algorithms course, and my professor mentioned this book, but we didn't use it. He essentially said that it contains so much material that it's rather all-encompassing as a reference book, but he definitely discouraged it as a textbook for learning as we would in a course. It sounds like you'd likely want to find something more geared towards teaching.
John Locke answered that question centuries ago, his answer remains valid.
News Curator: Automated Personalized News
Not in the restaurants around me.
If the type of bug is use after free, double free, race condition or uninitiated memory - Rust would have dealt with it.
It also works because you would feel like shooplifting if you pay nothing, specially if its your first time in it.
Justice or revenge. Given German behavior on occupied Poland back then, there is nothing surprising about it.
If you can code there are heaps. They're actually paying devs to holiday here to encourage skilled migration.
be ause it's near guaranteed that someone made a nice profit on making Flint's water leaded
I am against non-citizens being able to vote. I prefer Japan's approach; if you don't like it, naturalize or leave.
A great board game with a train theme is Steam, it's available for iOS and Android and next week for OSX, Windows and Linux as well. The good thing is that you can play it as a boardgame as we, competing with others face to face as to who can lay the tracks and transport goods most efficiently.
http://store.steampowered.com/app/595930/
I think you are asking the wrong question. It should be, have you ever met a CEO who was not a psychopath?

The answer to this question is most definitely Yes, but the question remains the proper one.
And targeting "regular joes" is a terrible way to make money. The vast majority of govt income comes from the wealthy, in particular because wealth distribution is so unbalanced.

That depends a lot on your definition of "wealthy" and "regular joes".

https://taxfoundation.org/summary-latest-federal-income-tax-...

According to that, the top 1% contributes about 37% of income taxes. On the other hand, the bottom 50% contributes only 2.78%.

I guess a lot of people would consider the 1% to be wealthy, but most of the 1% are actually just doctors. I'm guessing that the real wealthy, those whose income is derived from capital rather than their labour, don't contribute much to federal tax income because of the low capital gains tax rate in the US.
> empty rewards, like levels in games or even karma points on Hacker News.

If you're a programmer, you can always brag at work about your four-digit (or whatever) HN account :)
Are we sure it is "had"? If I ever had such a weapon I would not give it up [1].

1. https://en.m.wikipedia.org/wiki/Kinetic_bombardment
I'm a linux user.
Hmm - how does this play with GDPR?
Great vacation at scenic setting in Jamaica
Is it longer or shorter then a quick game of 1830?
I've never been to NZ but I was robbed once. Therefore, the evidence suggests you have greater likelihood of getting robbed if you've never been to NZ, since most who have been there have not been robbed.
Rafting tour
US reporters praise German journalists for questioning Trump
No, Evil Hackers Aren’t After You
Personally, I'd add the use of a trailing full-stop in an rsync command in the wrong directory (e.g. in /home/user) as an alternative qualification to your rule.

I now use full paths for destination as well as source.
Not surprisingly, I would say, since I wouldn't count speech recognition as an AI task.
I choose not to move back there as an adult due to the isolation but if climate changes or wars happen then this isolation becomes a positive.

If things get so bad you need a bolthole, how do you plan to get there?

There was another article on HN recently about billionaire preppers... But if the shit hits the fan and you don't also have a plan to take your Learjet's pilot's family with you, what makes you think he'll wait...
not even close. Just look at the CVE listings for 2016 Chrome vs Edge. Edge: 74 code execution vulnerabilities, Chrome: 2
Good visualizations, thanks!
Functional programming Discord server
Thanks for your suggestion :) I'll check it out. I tend to focus more on books so maybe I should give a course a go.
People who have come into SA work via being C programmers usually figure it out, they make the best SAs because they are mentally equipped to reason about a system from first principles.
I like Sweden's compromise. Only citizens can vote in the national elections, but non-citizen residents can vote in local elections (after they've lived in sweden for 3 years)
A trap for Tom Hayes
Good question. The structure is a B tree. When you traverse it, and arrive to a block, but don't see it in the reference counting base, you know that it is referenced in the tree, so its reference count is at least 1.

Then, if you want to free it, you have to delete all references to it in the tree. Maybe that blog post could have been more verbose about another feature of Sanakirja, the list of free pages.
Many parks in Australia do that.
They're a team from Qihoo360 a large Chinese security company. They do a tonne of this kind of research, so I'd imagine the company are used to it by now.

If you look at pwn2own or similar for the last couple of years you'll see a variety of their teams cropping up...
I only posted this a few weeks ago (check my comment history) but here goes again:

I was a programmer in my first IT job in 1992 for a large retailer in the UK. I was working on some stock related code for the branches, of which they had thousands. They sold a lot of local goods like books which were only sold in a couple of stores each - think autobiographies of local politicians, local charity calendars, that sort of thing.
Problem with a lot of these items was that they were not on the central database. This caused a problem with books especially as you don't pay VAT on books, but if you can't identify the book then the company had to pay it. This makes sense because some books or magazines you DID pay VAT on, because they came with other stuff - think computer magazines with a CD on the front. So my code looked at different databases and historical info to work out the actual VAT portion payable, which was usually nil.

I wrote the code (COBOL, kill me now), the testers tested it, all went OK until when they deployed, on a Friday night. The first I knew was coming in Monday morning. All the ops had been working throughout the weekend as the entire stock status for each branch had been wiped. They had to pull a previous weeks backup from storage, this didn't work as they didn't have the space for both copies to merge so IBM had to motorcycle courier some hardware from Amsterdam, etc etc. As this was a IBM mainframe with batch jobs we also had to stop subsequent jobs in case it made the fuckup worse, so none of the stock/finance stuff could run at all.

The branches were royally fucked on Monday as, without any stock status to know what to order, they got nothing - no newspapers, books, anything. We even made it to the Daily Mail, I think it took at least 3 weeks before ordering was automatic again. Cost the company literally millions in overtime, not being able to sell stuff, consultants and reputational damage - it was big news in the national newspapers.

The root cause? I processed data on a run per-branch. I'd copy the branch data to a separate area, delete the main data, then stream it back. My SQL however deleted the main data for ALL branches. It didn't get picked up in QA as, like me, they only tested with a single branch dataset at a time.
Author here! Thanks! Documentation is quite high on our priority list, actually just after fixing a few security issues on nest.pijul.com.
I replied to the other child post
Your link is broken, leading to http.com - this is the correct one: http://www.deeplearningweekly.com/pages/open_source_deep_lea...
Well, I thought about writing a bot that will play music but no plan to add recording and playback feature.And, one more thing! added support for mouse clicks :)
The Author (Geoff Huston) also presented this thesis in a talk during APRICOT 2017, highly recommended to watch:

https://www.youtube.com/watch?v=FI7rRfNI8u4&t=46m17s
Correct... but there was also a bad joke in there.
Or, before that, just send the dd process SIGINFO to get the same output printed once. `while :; do kill -INFO %1; sleep 1; done` if you want a "progress bar" of sorts.

As an aside: On BSDs (incl. macOS), SIGINFO is also able to be sent interactively by the line driver when you type ^T (like ^C sends SIGINT.) Kind of lame that Linux doesn't follow suit [or even have SIGINFO], or we'd see a lot more programs that build in useful "prod me for an update" hooks, the way they already have "prod me to reload my config" SIGHUP hooks.
I am specifically talking about the situation of trying to verify that a self driving car has a reasonable model of the world, i.e. it won't fail in a spectacular way in a situation a human would handle properly. Right now I don't know how to show this even without complicating it with ZKPs, verifiable computing or homomorphic encryption.

Really cool work, I just don't see how it has anything to do with the safety of the AI.
How about first admitting that you were wrong in crediting Trump for this?
Do you really believe that this team has the skills and knowledge to find these bugs and construct working exploits for them, but then don't understand the exploit market? Or, that they act against their own best economic interests?
> racism is directed at Koreans and Chinese.

I wanted to nitpick about it not being possible for Japanese people to be racism against Koreans/Chinese (unless they expicitly claim that K/C people are of different and inferior race), but I've learned that the term is so blurred now that even Wikipedia defines it as "discrimination and prejudice towards people based on their race or ethnicity. Today, the use of the term 'racism' does not easily fall under a single definition.".

Contrarily, in my home country (Poland) racism still means discrimination based on concept of races and some of them being inferior/superior, and not nationality/ethnicity. Interesting how this term got overloaded in the USA.
Any websites / resources where I can find jobs that accept overseas candidates?
Why Startups are hard
A Rogue AP Radar with Augmented Reality
Thank you :) that's reassuring. What do you recommend?
Not as ridiculous as the costs of rewriting monstrous codebases that thousands of people worked on over many years. Let's not lose our sense of scale.

Businesses love money more than they love C, if rewriting made economic sense, it wouldn't need to be lobbied.
Author here. So I thought when I started the project. But when you think more about it, Rust cannot allocate in an mmapped file, so you're basically on your own, and have to do plain old C-like memory management in the file, except that unlike in C, there is the extra constraint that everything is transactional, pulling the machine's plug needs to "unfree" all freed pages, and "unalloc" all allocated pages.
The other reason for dd existence is that back in the day if you wrote to a block device with a write(2) size of anything other than a multiple of the devices actual block size you'd get a EIO or a EINVAL. So the program you used to make sure the write(2) size was always correct was dd. In the old days some truly weird block devices would accept a write(2) that used only the exact block size, i.e. you could only read and/or write one block at once (if you tried to read more than one block of data you'd get back exactly one block regardless of how big your read buffer was). Old raw CD and WORM drives come to mind. Audio CDs for example had a 2,352 byte block size (after removing the CRC).

EDIT: fixed man section references
Fixed on nest.pijul.com/pijul_org/pijul, thanks for the report.
Employers want you to be physically present at the place of job to give you a job offer, country gives work visa only when employer issues an offer letter. Not sure how that'd work?
Master PHP Programming with Open-Source Books
Ask HN: Python 2 or 3 for Data Science?
Currently looking into data science again. Should I just use python 3, or are there any incompatibilities with major libraries.?

Also, are there any new libraries or resources that you would suggest?
The sample code for those projects are often really cool, but as soon as you get to real world case, you start having problems if you want to be 100% pure.

Imho, for mobile ( ios / android), the problem is that the base sdk aren't thought for reactive style (push vs pull). So all Rx frameworks try to compensate for this mismatch by adding an adaptation layer, and you end up with a really unconvenient code.
AccuWeather Launches Samsung Gear Virtual Reality Application, Powered by Oculus
I'm guessing there is a finite number machine types, and they are well defined and do not change often?

What you could do is generate a different packer configuration for each of those types (guessing you use packer since you mentioned AMIs), which will create​ a different image for each machine type. You can scale each type individually.

Happy to help if you need specific advice.
Does anybody need an AI that passes voice Turing test?
How would you use it if such an AI exists?
Amazing platform. We've recently taken about 6 months to define our entire infrastructure in Terraform. We've been using it since version 0.6 and with version 0.9, the biggest feature to come for us is definitely the remote back-end and the remote locking mechanism (which we use Terragrunt for atm). The remote back-ends mean that the state will not longer be stored on the local machine which is obviously a big plus for security as the state actually contains all of your infrastructure information and even secrets. Anyway, huge project and huge potential, so much so, I've made it the headline in my CV! Thank you Hashicorp, keep it coming!

It's allowed us to do the following for our developers:

Full integration with the CI/CD process.

Open a branch, commit it to GitHub, add a special label and you will get a completely new setup, just to test your branch. New application name in the service discovery tool (Consul/Eureka), new RDS instances, new network, etc, etc. Once happy, the developers can merge into dev and the branched version of the infrastructure is destroyed.
Oh yes. I used to work with one who wouldn't let the programmers print anything. He once stormed into the programming room after someone called and asked to leave a message for one of the programmers. "In my next company," he yelled, "there will be no phone system!" He also bragged about taking a whole year to pay a bill. Creative accounting was used to calculate my wages, something I didn't realise until after I had left as there were no payslips.
The cropping of that graph seems quite lurid to me. On the first sight, it looks like tourism is twice as big as predicted, which is not even close.
'Healthiest hearts in the world' found
Sounds all pretty good to me, what's not to like? Emptying the dishwasher and going to trade-shows can contribute to keeping everyone "grounded", wearing many hats is cross-fertilizing all ones skills better and reduces tunnel-eye vision.. I wish more startups were still like that, in fact I see the bulk of them today having super-defined tiny dedicated roles and that's offputting. Dev-ops? CD/CI "engineer"? Really? Back in the day we had coders and admins, with admins doing a fair bit of plumbing coding and devs doing a fair bit of administering sub-systems of an architecture or server farm. And mostly wiring together some scripts, services, and some command-line acrobatics weren't the defining portion of the "engineer" role :D

Ah well, all is fair with changing times.
"They also live in small communities, life is very social and they maintain a positive outlook."

Quote from one of the researchers.
Author here! I did start Sanakirja in Finland, but I'm not a Finn, so I thought I was allowed to break that rule.

Also, getting traction for Sanakirja has never really been a goal, at least not as much as getting something that we could use in Pijul.
That was a good reply!
Do you know how much memory this stack consumes? If I had a microcontroller with 150k of RAM, could I use this?
Has anyone other than fictiv built one?
How do other decentralized currencies differ from bitcoin?
To add some anecdotes to the above (plural of anecdote is of course data):

- fengari: Dunno, nice logo & name though :) Not done yet?

- lua.vm.js: Pretty good, but as you say in your README:
"Next step is to iterate on the Lua <=> JS interoperability. Clever solutions to the lack of finalisers in Javascript are being searched for." (-> leak mem if passing stuff to JS in certain situations)

- Moonshinejs: paulcuth/gamesys' previous effort. It's a Lua VM written in JS, that accepts just Lua 5.1 bytecode. Works in IE6+. Very small. Nice 'DOMAPI' plugin; nice in the sense it mostly just works, and when it doesn't, the plugin is so small & simple you can hack it yourself.

One thing to note is when getting strings back from the DOM using DOMAPI, I've run into situations where the strings when accessed Lua-side are in fact 0-indexed not 1-indexed. (the_string .. "") is a working normalization technique.

Coroutines work very well here.

Also, do not overlook the in-browser debugger addon. It's a seriously nice piece of work, that more than makes up for the lack of source map support.

It deals with the lack of finaliers in Javascript by providing explicit .retain() and .release() mechanisms.

- Paulcuth/Starlight: As you say, transpiler, no coroutine support though.

How to get coroutines: ... I was looking into this, and you need something like using kripken's Relooper algorithm or a more general version of Facebook's Regenerator. Scary stuff.

Note about both moonshinejs & starlight, with respect to the string library: It implements Lua patterns by turning them into JS RegExp. The implementation isn't good enough as it stands; it's easy to get the wrong results, as the escaping logic is wrong. Damned if I know where though. I tried to fix it and just broke a different class of patterns...

- Brozula: Dunno

- Lua5.1.js: Dunno. Would be nice to have a better API for interaction than the Lua C API. No commits since 2013, like Brozula.

- Lua.js (lua2js): Dunno. Several open issues about e.g. '<' operator not working. No commits since 2013. And:

_lua_coroutine["resume"] = _lua_coroutine["running"] = _lua_coroutine["status"] = _lua_coroutine["wrap"] = _lua_coroutine["yield"] = _lua_coroutine["create"] = function () { not_supported(); };
"Bob Hoover, a famous test pilot and frequent performer at air shows, was returning to his home in Los Angeles from an air show in San Diego. As described in the magazine Flight Operations, at three hundred feet in the air, both engines suddenly stopped. By deft maneuvering he managed to land the plane, but it was badly damaged although nobody was hurt. Hoover’s first act after the emergency landing was to inspect the airplane’s fuel. Just as he suspected, the World War II propeller plane he had been flying had been fueled with jet fuel rather than gasoline. Upon returning to the airport, he asked to see the mechanic who had serviced his airplane. The young man was sick with the agony of his mistake. Tears streamed down his face as Hoover approached. He had just caused the loss of a very expensive plane and could have caused the loss of three lives as well. You can imagine Hoover’s anger. One could anticipate the tongue-lashing that this proud and precise pilot would unleash for that carelessness. But Hoover didn’t scold the mechanic; he didn’t even criticize him. Instead, he put his big arm around the man’s shoulder and said, “To show you I’m sure that you’ll never do this again, I want you to service my F-51 tomorrow.”
NICE Conference &amp; Expo 2017 Call for Proposals: Open Now
What are the dietary needs of patients with chronic nephritis
Yeah, it's just that Linux doesn't even define SIGINFO
McDonalds India is leaking 2.2M users data
Sure, if you think the idea is worth it
Well that's not syntax…
Why should I, or anyone else, care?
Announcing Hanami v1.0.0.beta3
see also blockfinder:

https://github.com/ioerror/blockfinder
How to Add “Read More” to Blogger Blog – Onenaija Blog
Instagram might come knocking.
Then can any black hole exist in such a universe?
> Explain why you would like an invite

On one hand I'm trying different colors for my buttons and split testing headlines to increase my CTA by 1% and then there is this.. where you need to explain why I need to buy your product. No list of benefits, No social proof, just a very long form.

Maybe I'm missing something (this site has a cult following or something) but this isn't how you sell products online.
There is also Rex that let you write Perl and use any Perl library anywhere.
I'm not sure it's psychopathy. Maybe the guy can function properly around his family and friends, and just has this idea of business world being "dog eat dog". Some of the worst German war criminals during WWII seemed to have a decent family life etc. - they were just great at compartmentalizing.
CoC|TH8 PUSHING GUIDE TO CHAMPIONS
That makes a lot of sense actually. Thanks for sharing
I'm curious if this software could benefit from what was discussed here: [1].

[1] https://news.ycombinator.com/item?id=13890011
Consumers pattern
Requiring Node.js modules from ClojureScript (with Dead-code elimination)
Umm.. I have nothing against gensim or the author, but aren't you assuming that JDC hasn't. He has been working in consulting and probably under a lot of NDA contract clauses and has not been able to publish? I don't know his work, just like his blog.
Moving Deliveroo from a monolith to a Distributed System (without microservices)
True, I'm really hoping we'll get a new Metroid game on Switch. That said, for many people the control scheme of the original put them off, so being able to play it using the (easier) Wii controls, higher resolution, and getting the whole trilogy for about 20 bucks is a pretty nice plus of having a WiiU.

Unless you hate these types of backtracking games, of course :).
Flint is the symbol of mid-West's de-industrialization. Since this administration has vowed to give these people's jobs back, you can be sure that they're going to make sure Flint is better off in 4 years than it is now. So giving them federal money to fix their water pipes is a great way to be the good guys. They're going to be able to hire a bunch of people to fix it, and solve a health problem at the same time.

I'd be more worried about my water quality if I lived in a region with a lot of shale oil drilling...
Ah, I wasn't terribly clear. Each node is actually the same machine type. It's something like Voldemort with partition-aware routing at the client[0]. Essentially, there's a small amount of configuration to determine which partitions a specific node should serve.

Do people usually just build k AMIs if they have k partition groups that they want to serve?

For a sort of simplistic version of the problem, imagine the data was splittable into 6 partitions and you hashmod the partitions across 3 groups. So instances in group 1 will serve partitions 0,4; instances in group 2 will server partitions 1,5; and so on. Does one build an AMI for group 1, one for group 2, and one for group 3? Does one provide configuration informing which group a specific node should serve through other means? Or does one stick that in a Terraform definition?

0: https://www.project-voldemort.com/voldemort/design.html
While crafting the exploit may seem like the hard part I can imagine trying to market it and get paid can be very difficult too.
Did you just doxx Jessica Livingston?