skysight-inc/HackerNews huggingface dataset:
Amazon ads are no better, and for the exact same reason. I'm old enough to remember when Amazon first appeared, everyone was talking about how they were going to be able to make magic suggestions. Turns out, all the magic is just telling you to buy again what you JUST BOUGHT.

Netflix recommendation engine isn't amazing either -- except that, in the case of Netflix, I often like to watch a show a second time.
Show HN: TalkJS – Integrated messaging for web and mobile products
The “sales way” of slide sharing
Hm I don't think overflow will apply. Anything it does in an add will be undone by a subtract?

Except that 2a, that might be trouble.
> I think it's often difficult to appreciate that one's own profession could be replaced by some code

For some reason I had this thought even 15 years back. I used to think once software is written it will continue to run with occasional interference by maintainer. But then people convinced me, look, there is lot of software is to be written so don't worry about losing job.

I now think the kind of software I and many others were writing at typical IT company (CRUDy apps) was very immature and buggy. But over 2 decades people have recognized some patterns and made the software run with much less maintenance work.

I have noticed 5 years back at my workplace where every weekend there will be firefighting with production issues. But now everything seems stable and generally better. No brand new software was written, no stack was replaced. It was things like upgrading to newer versions of software, more logging, more monitoring, more automation, better release process etc.

There used to be ~10 people in team and now there are ~4 people. Everyone who left was supposed to have replacement but no one was hired. The point I am trying to make is, yes, there can be new whizbang features, NoSQL backend with 10 more ppl on team and so on but from business perspective this thing is working fine and just keep it up and running without too many customer issues.
Sonos to boost UK prices by up to 25% because of Brexit
Because, to put it mildly, Europe has always been able to rely on the US bailing it out when it mishandled some internal or external crisis. Now it's worried it may not be able to take that for granted any more, and may have to take responsibility for its own actions.

Frankly, that's terrifying for Europe. Trump has forcibly removed our training wheels.

That said, NATO's not going anywhere. Theresa May's first action was to get the Trump to publicly reaffirm his commitment to NATO. At worst the US is going to demand other member states start paying the 2% of GDP the treaties they're signatory to actually already require.
Sorry, I got better things to do than fixing other people's products. I much rather focus on my work and pay for the product of another company who seems to be getting it right.
Kate Bosworth Is Killing DIY T-Shits
Good questions. Ideally the website would make this clearer upfront.

Our upstream provider of virtual numbers filters out verification codes from services like Google, Facebook, and Twitter.

The advantage of using a physical number is that no messages are filtered out.

They are more expensive because they are more expensive to me. And the typical customer only uses a physical number for one day, where the minimum purchase time for a virtual number is one month, so the effective price to the customer is "only" 4 times as much.

It's better than Twilio because Twilio filter out verification code messages, and because Twilio don't allow anonymous signup or Bitcoin payment.
[Screencast] Decoding and Interacting with Barcodes
Yes they do contain trans fats - just not the same kind -
and recent research shows that they are probably just as damaging as the artificial creations. See my comment to the other poster.
i'm in a position where i'm able to be very happy indeed to make CBP do their jobs and waste as much of their time as possible to prove a point. (white, male, christian background, well educated, "looks like a good guy". might as well exploit those advantages)
Not if laser guns are a part of the race. Then it's just competitive.
If things go wrong, I think the establishment would reassert itself. But there would be a few weeks of chaos. That interval represents a new strategic opening.

It's not enough for a land war in Europe. But a lighting grab for territory? Like Mongolia? Or Taiwan? Or the Baltics or Balkans or a contiguous stretch of the Middle East? If you can secure enough resources to hold strong against non-military retaliations, e.g. sanctions, it might--for the first time in decades--be worth it.
Why sports marketing works
... hosted on Vimeo instead of YouTube, heh.
The game included the ability to shoot the other player with no consequence - it sounds aggressive because "laser beam" but if you called it "tagging" then it would more clearly just be an in-rules option.
any possibility of an Android version?
Possibly bleach, and in some countries, gasoline/petrol (taxes are quite variable).

https://flowingdata.com/2011/03/22/gallons-of-stuff-that-cos...
Well, I was there so it came from my memory.

Some googling did drag up this interview, so presumably I did not dream it: http://articles.latimes.com/1996-03-17/business/fi-47920_1_n...
The full report can be downloaded here as pdf here:
http://report2017.securityconference.de/
React is a view layer. It's not a fully-fledged viewer like Angular. React pretty much renders JavaScript as HTML. That's all it does. Angular offers a LOT more, within the MVC ecosystem. It offers controllers, components, services, singletons, http, dependency injection, and a lot more.

They do not compare because they do not offer the same functionality in anyway.
My father had a '54 chevy with such wipers. He generally only drove it if the whether was nice due to the wipers. The faster he drove, the slower the wipers went.

And on a sidenote, he also had a difficult time finding a mechanic that could work on the car, as many don't know how to work on an engine that old.
Why does NATO still exist? It's existence was supposed to be to counter the Soviet threat. Now the threat is gone and NATO is still around. It shows that the Soviet excuse was just a pretext.
Nearly 200K people told to flee crumbling California dam spillway
Thank you. I've been chewing on this. You're right. I need to learn to see the difference, and maybe be less judgmental.

It's almost inconceivable to me that someone(s) can be both anti-abortion and pro-execution without some deeper, darker, cynical motivator.

Huh. Again, thank you.
While the article is probably correct about a partial withdrawal of the US from the world stage, it is leaving something out: in the USA, the military industrial complex is the largest 'special interest' lobbying the government. We spend almost as much on military as the rest of the world combined.

As a US citizen and taxpayer, I am reluctantly for a multi-polar world. The reluctance comes from what I expect to be some chaos as the world shifts to a multi-polar world.
You really think a NATO ally can be hit? With a land war?

You think the Republican Party would need to reassert, the same party that dragged us into two wars in the last 12 years? I have to respectfully disagree.
(Other co-author here.) We did do that, yes.

(I’m not sure what support or investing would mean in this context.) A Windows programmer could probably port the server side program (which holds the passwords) relatively easily, since it is currently implemented as a normal daemon in Python, and could therefore conceivably be ported or re-written to suit any Internet-connected platform, and the network protocol is fully documented. The client program (which receives the password and uses it to de-crypt the disk), on the other hand, is not so simple to implement. But the problem is not the network protocol; that is relatively simple. The hard part is instead running in the limited environment which exists before the password is available. In Debian, this means writing a program to run in the initramfs system where a kernel is available, but no networking is configured, and no standard system services are available. I have no idea what this would mean in a Windows context. I have toyed with the idea that it might be technically possible to re-write the client to run in the EFI environment, but I have not looked into it – it may or may not be feasible; would one have to write one’s own ZeroConf library? How about a TLS library supporting OpenPGP keys (as per RFC 6091)? How would one even provide a password for unlocking the disk to, for instance, VeraCrypt? Would one have to write the whole thing as a kind of module in VeraCrypt, if such a thing is even supported? I haven’t the foggiest notion of any answers to these questions, and I’m not a Windows nor a macOS programmer, and we implemented it on Debian since that is what we used at the time (and still do). Also, I’m gainfully employed full-time, so I’m not really looking for more work. To sum up, I would not personally be very suited for this kind of work due to inexperience on other platforms, nor could I take it on even if I were, due to personal time constraints. However, I would gladly support (by being available on the Mandos development mailing list) anyone doing this kind of work.
> Does this mean you think that supply is adequate and the only issue is that?

If only I'd written a second sentence directly after the one you quoted which could have answered such questions...

I want lots of housing built too, and I want prices to collapse and stay collapsed, and I want Mark Carney tarred, feathered and run out of town on a rail, but as you say we seem to have become congenitally useless at building houses in this country.

By all means let's work on improving that, but we're probably looking at more decades even in the best case. I think the sentiment and finance and speculative aspects of the problem could be tackled much more quickly if the politics align to allow it.
"Employment Equity" - http://www.labourguide.co.za/employment-equity
Show HN: Testing at Compile-Time
Let's just imagine that a newly-emboldened Putin decides to annex part of another European country, like he got away with over Ukraine. Let's say some Baltic state, like Estonia. Wouldn't you feel safer knowing that country was under the NATO umbrella?
You might like the zeta 2 SBC. It's small and easy to build, and if you combine it with the ParPortProp board, it has all the features you mentioned. It runs CP/M, so you can run your editor, compiler, assembler, etc onboard.
A pretext for what exactly?

I have no issue with the existence of a military cooperation agreement to defend each other in the event of war breaking out, and fail to see how it would be a bad idea.
It's a loaded word in the context of the headline, and the manner in which it was used in the story body, especially when combined with "stress" to create an image of a sort of edgy killing machine.

Actually, it's an interesting word. Dictionary definitions of aggression frequently revolve around emotions - it's a very human word, probably not suitable for AI.
See also previous work in this area: https://news.ycombinator.com/item?id=7127821 "Results of the Grand C++ Error Explosion Competition"
It erodes in normal use.
10 ECommerce Experts Give Their Secrets on Changes to Their Business in (2016)
There doesn't appear to be any shortage of demand for city center accommodation in Bristol, Manchester, Birmingham, etc. either.
The PageRank Citation Ranking: Bringing Order to the Web (HTMLized)
The problem with that is that complex numbers initially emerge as roots of polynomials with real coefficients. Getting to affine transformations from there seems a much bigger leap than asserting there is a square root of -1.
Russia is the Soviet Union's continuation, and it still has a huge arsenal of nuclear weapons and is currently fighting in and occupying a European country. The threat isn't gone at all.
With the IoT, we’re building a world-size robot. How are we going to control it?
> You really think a NATO ally can be hit

No, but the odds don't look as daunting as they used to. It's certainly more bargainable than it ever was. In any case, only the Baltics in my last comment are NATO allies. Lots of American interests aren't covered by Article 5.

> I have to respectfully disagree

My point isn't that confrontation is likely. It's that disrespectful disagreement of the status quo is more likely today than before, in part because of what happened in Crimea and Syria, and in part because we have such an unstable domestic situation with clearly-signaled foreign indeterminism.

Your worst-case for an overreaching autocrat today looks less like Saddam Hussein and more like Assad. That encourages dice rolling.
Alternative hypothesis: political populism is rising to popularity levels which endanger the plutocratic and military rulers. Don't think they won't set the stage for future wars just so they can stay in power.
> > $ git send-email --to=<mailing list> <commit range to send>

> > That was hard.

> So how the hell does that work?

> Like, how does git know how to send e-mail? Do I have to stick smtp creds in somewhere?

git send-email implements SMTP. You can give it your credentials directly using git config, or by using sendmail which quite a few people have set up (I use esmtp which is an implementation of sendmail that is very simplistic and just requires a password, server and username). And it all "just works".

> As far as I can tell, 99% of the ML content I've read is basically a shitty, shitty implementation of a simple forum on a much crapper transport.

Except forums are shit if you want to have different discussions about four somewhat-related patches. How do you handle trees of discussion like that?

> Also, you may use e-mail as a tree, but that's you. I use thunderbird, and you can set it to display as a tree, or you can set it to not, and I personally don't.

I don't use it as a tree when answering normal emails, but if you're Cc'd to three different discussions in the same thread it's much nicer to be able to see WTF the person above was responding to with better granularity than "something said on this mailing list at some point in the past".
How to track misplaced or lost Android smartphone? – SuratNow
@mods

An account with the same username as OP was allegedly spamming r/programming.

https://www.reddit.com/r/programming/comments/5t7akn/50_byte...
That stroller isn't attempting to prevent traumatic brain injury, however. I have a feeling an effective, safe helmet, even one for a scooter, is going to require a certain level of bulk.
Pure beauty.
I largely agree with what you've said. Statements from the article such as "U.S. ineffectiveness as a pillar of security" causes me to question the author's understanding of modern American foreign policy. It does not seek to make the entire world stable (See Africa), it simply seeks to make resources of American interest stable.

To your point regarding Russian and Chinese relations, I don't see how in the current frame this is possible. Russia will become more heavily reliant to China in the future, as western Europe modernizes its energy sources. Energy is a major driver in the Russian economy [1].

To your last paragraph, the same logic could have been used after the Russian excursions into Afghanistan, which I believe indicates it is a historically weak argument by itself.

[1] http://www.ibtimes.com/vladimir-putin-meet-russian-oil-chief...
FWIW, I think that complex military alliances are a major reason why WWI was so expansive.
They vote, yes, but do they buy? Do they significantly contribute to a company's economy (even potentially)?

If they do, companies will be happy to spend time and resources in serving lighter versions of their content. But if they don't, there's no reason, from the POV of a company, to employ resources in something that doesn't generate revenue.

If there's money, there's will.
Russia and Europe itself.

The US basically has access to the command control infrastructure of the NATO allies. Our officers know their officers. We know their capability.
You should email the mods (at the address in the guidelines) because they don't see every post and tagging mods doesn't work.
> The US and all of its allies are still allies.

This may be true but the actions of the Trump administration have many allies questioning how reliable the US is. That's not "stirring the pot" - it's potentially a significant shift in the world order and a decrease in how effective our foreign relations are.

The public allegations and concern expressed by our allies and own intelligence agencies should give everyone some concern regardless of one's political leanings.
There is absolutely no doubt in my mind that any country in the NATO umbrella being hit would lead to the United States retaliating decisively.

President trump would be advised by the generals he knows more than that he has to go in front of the American people and let them know why he has to take the actions he is taking. Sending US troops into Europe.

Believe me, there is zero doubt, if NATO is hit its game over. Why does Putin cry about NATO so much?
In real life, the game rules are whatever is physically possible, taking into account the risk of getting caught and the corresponding fine.

It is all good fun and laser tag until the AI manages the interests of your bank, your insurer, the stock market, everyone, and you desperately need a liberal government to enforce serious penalties for increasingly complex loopholes that the AI finds in a few seconds.
Judging by how Trump is behaving, there are two more possibilities:

(1) no strategy is involved at all, populists being known to do that, either because of incompetence or because stirring the pot gives the illusion of progress (it's after all why he was voted), or

(2) his strategy is aligned with his businesses, which is not that far fetched, given how he hasn't banned immigrants from Muslim countries in which he has business interests.
Cool demo! I like that you can see all the events in real-time. I built a similar demo (https://os.alfajango.com/websockets-demo/ and https://github.com/JangoSteve/websockets-demo) a while ago to showcase using websockets with a node app for a presentation I was giving at a JavaScript user group (https://os.alfajango.com/websockets-slides/).

The presentation goes through a bit of the history and lead-up to websockets for context.

One of my favorite things about the demo for the presentation was that everyone in the room (probably about 50 people) was able to connect to the live demo in real-time and some people started finding XSS vulnerabilities in it right away, and using the app to send emojis and pictures to others in the room in real-time (all harmless stuff). It was crazy though how many events you could see streaming through the app just running from my laptop with so many people connected and interacting at once (including x,y coordinates for mouse movements a few times per second per user as well).

The presentation goes through alternatives as well, including long-polling, short-polling, and server-side events (the slides are laid out in two dimensions, so pay attention to when you can hit the "down" arrow instead of the "right" arrow for more slides). It also delves a bit into the actual websocket spec. It was a while ago though, so it doesn't go into anything HTTP2-related.
I don't have any beef with PHP, although I switched from learning PHP to Python.

For web development, no other language will get you producing dynamic websites and deploying them as easily as PHP. Compare deployment of Python or Ruby web apps - messier and not simple.

What don't I like about PHP? The language itself. Its piecemeal, adhoc development is laid bare in its unattractive syntax (this is always subjective I know).

On the positive side, my impression is that the PHP community are open to criticism - they have to be given the amount of negative comments thrown their way.

This is in contrast to other language communities that have far too much zeal and sensitivity to criticism.

That criticism against PHP is also taken on board at times in the implementation of PHP's language features or best practices. I've been impressed by PHP's huge speed up in PHP 7. I wish other scripting languages would also address speed and memory usage with the same priority.

Finally, it's worth stating the obvious: if you're looking for a CMS, a message board, a blogging platform etc, PHP gives you enormous choice. And yes, some of these solutions do follow modern, secure coding practices. Look at the other popular scripting languages for web development and you'll find the variety of solutions far more spartan.
Then you really aren't trying hard enough.
The AWS Deep Learning AMI, Now with Ubuntu
That makes sense, in which case someone who's already had some experience thinking about liars-and-truthtellers puzzles gets nothing out new of it, and those are probably the overwhelming majority anyway.
It exists for reasons such as 9/11, which was the only time article 5 was invoked, and European military was sent to aid US military actions.
Am I alone in feeling that the present drama with Trump is doing wonders at educating people broadly about geo-politics, the inter-dependence of global powers and national agendas? I feel it's been an education.
>It can't be controlled for if there is no variation in the population.

You think there are no Tibetans who don't exercise much and don't eat much vegetables either?
So, what should happen so "the threat" is gone?
And Medium doesn't charge anything to let you put a domain over your writing. Automattic's services are a poor deal for everyone except the very few people who make significant money through their writing and need a lot of customization, but don't want the headache of running their own WordPress.org install.
Java Rest API best practices and guideliness
There is a reason why Ukraine is not in NATO, which is because putting everyone under NATO does not necessarily mean everyone is safer.
This is a classic trick, and as you write could be used for performance benefits in the old day.

However, the semantics differ from just using a temporary variable in that if a and b are in the same memory location then the result will be zero.

This was used in an entry for the underhanded C contest [1] if I remember correctly where for an implementation of RC4 the author defined the following macro.

#define SWAP(x, y) do { x^=y; y^=x; x^=y; }

And used it for swapping the values in the substitution table for the cipher, e.g. SWAP(S[i], S[j]). The weakness was that since sometimes the indices are the same in RC4 the substitution table would be gradually replaced with zeroes.

[1] http://www.underhanded-c.org/_page_id_16.html
Are you asking why it's a con for me or why these exclusions are there in the first place?

Without getting into politics, due to South Africa's past, businesses are under pressure to appoint employment equity candidates (as defined in http://www.labour.gov.za/DOL/legislation/acts/employment-equ... ) to address the inequities of the past. The short interpretation of this is that white candidates aren't eligible. I understand the reasons, but being white myself, seeing such a statement in an ad is very discouraging. The general concensus is that a company under pressure to correct their numbers would rather not appoint at all rather than appoint a non-EE candidate.
I've had a lot of practice being stubbornly bright and chipper and polite at bureaucrats. I am happy to be obnoxiously polite for days at a time, if need be.
A "traditional" war? No. A destabilisation? Absolutely. Why bother to send in your own forces when you can get people to fight their neighbours? To be effective, it must be deniable, like the MH17 shootdown.

This is more or less what's happened in eastern Ukraine (not part of NATO, but supposedly recieving some safety guarantees when it gave up its nuclear weapons).

When the intelligence agencies are openly briefing that the President is compromised to the Russians, things are going to get very strange. http://www.politicususa.com/2017/02/12/senior-pentagon-offic...