skysight-inc/HackerNews huggingface dataset:
> There have been several coups or other undemocratic assumptions of power recently: Saudi Arabia, Lebanon, China (Xi seems to have made himself dictator-for-life), Turkey, and to a degree in Japan, in at least one Eastern European country, and even in France (which AFAIK now has an indefinite state of emergency curtailing rights of citizens).

Saudi Arabia and China have not had coups, and are not democratic countries, so any change is "undemocratic", but that's not a chance and means little. Xi's actions are hardly different that Deng's or, before him, Mao's. Lumping them in with Turkey, which is experiencing a slow motion coup, is bizarre.

Conversely, Japan and France have neither had coups nor an "undemocratic assumption of power", so clearly don't belong in the same list as Turkey. Lebanon I'm not really familiar with, and I don't even know what Eastern European country you're talking about, so I can't comment on them, but the rest of your list makes no sense. Nor does Zimbabwe fit on your list; the coup is a best neutral in terms of democracy, and could be a step towards greater democracy.

> I wonder how much and in what way they are related to the U.S. changing its long-standing policy from being the guarantor of international order, and from being an advocate for democracy as a universal right

Unless you're talking about the second President Bush's much maligned (and mostly unsuccessful) foreign policy, I have no idea what you're talking about. The US has not traditionally advocated for democracy as a universal right, and it spent much of the Cold War backing dictators and, in some cases, overthrowing elected governments.

> That trend, away from democracy,

By which you mean "Turkey"? (And maybe Lebanon; again I'm unfamiliar with the situation there.) I see no trend.
I like this explanatory comment by Manishearth, a Servo dev, in the thread over on /r/rust:

"This blog post brought to you by the 'how many times can you say 'fearless concurrency' and keep a straight face' cabal.

"Seriously though, I now appreciate that term a lot more. One thing that cropped up in the review of this post was that I didn't have examples of bugs Rust prevented. Because I couldn't think of any concrete ones. Because Rust's safety doesn't work that way, it prevents your concurrency bugs before you realize you had them, by making sure you don't paint yourself into a corner. 'Fearless concurrency' really is the best way of putting this; the benefit was not that it prevented concrete bugs, but that it let us fearlessly and aggressively write code knowing that it would be concurrency bug free."

https://www.reddit.com/r/rust/comments/7cwpbq/fearless_concu...
What I meant is that military intervention backed by the UN is more likely when the US wants said military intervention.
A Guide to Natural Language Processing
It might be a tad annoying, but the rest of Tensorflow uses Bazel so it makes sense that Tensorflow Lite also uses it. It also probably matches the internal Google workflow better since Google uses Blaze internally.
Inato raises €1.3M to lower drug prices with better clinical trial recruitment
Could everyone working at a company with more that 30,000 where there's clear measurable and transparent progression expectations and no-one has ever grumbled about not getting promoted please stand up.
American antitrust legislation is completely different from European competition law. It's by no means given that the result will be the same in the US or that the fines would be similar.

Also, I doubt that most Missourian voters care nearly as much about fighting Google as they care about jailing local criminals.
Tensorflow has supported quantization for a long time (and is recommended for mobile devices) so it very likely is.
With money, a lot of that struggle can be mitigated. He still probably doesn't have that much to spend with them.
I agree. They are also missing the conflictions with top leadership first being responsible for making money. I think the points made here are fine and good, but not exactly helpful.
It seems it's under the MPL, so the contributors could certainly do that.
Part of the question for me is this:

There's a reasonable amount of tracking required to pass these tokens around (and I'm a little confused as to how you avoid 'double spending' of tokens). This is treated as cheaper than doing the transactions at the bank level.

Why are the bank level transactions expensive? What is it that means that moving tickets around is near free but electronic references to money not?
"Tons of great people, and, disproportionately, women and minorities, can perform less well at technical interviews but be great in role."

You lost all your credibility with one sentence. Congratulations.
They trialled (and kept) lockout laws in Newcastle, 2nd biggest city. Killed our nightlife too.
> everyday is some new incident or outrage

Welcome to the age of social media. It's a two-edged sword. Your company can use it to get some viral sharing of your great new concept car, coverage of how many pre-orders you sold, or it could be used to organize boycotts or spread word of "a hostile work environment" (whether true or not).

And now the class-action attorneys can find their plaintiffs faster than ever before.

> This kind of stuff is such a distraction from the business and the goal

I bet if you ask Travis K if he would rather have hired full time "sensitivity trainers" or still be CEO, the answer would be easy. You seem to be arguing that there should be a third option, but that's a counterfactual world where civil liability is different than it is today in the USA.
I suppose I should have put the amount in my headline. Let's say someone with the same amount to donate - $300K in this case - donated to Obama, because he wanted to support a candidate that would introduce legislation that would allow him to get health insurance despite several pre-existing conditions. Would you view that as wrong? You may, but it's certainly not illegal, and it's no different than what happened here.

Again, people shop for and donate to candidates that will serve their interests. If you want that to be illegal, write your representatives.
I think they mean, could you inline the first 10%, and then lazy-load the other 90% (taking advantage of the FLIF decoder's progressive rendering). Which I would have to imagine is a "no" (you would have to swap your 10% placeholder with a whole 100% remote version).
That's the thing, any time we raise eyebrows at the size of Twitter's dev team we're met with "well YOU try to operate a business at the scale of Twitter then!". I am, like you, genuinely curious what kind of work these people are doing all day. If they're prototyping new products, optimising poorly performing DB queries and API calls, building out frameworks (like Bootstrap), maintaining some internal admin UI etc.

I've read bits and pieces, heard rumours and it'd just be nice to see what's going on. Unless I see something like this I'm just gonna think "BOY that's a lot of developers" whenever I remember Twitter's headcount ...
ahhahah
> You lost all your credibility with one sentence. Congratulations.

Can you explain the basis for that opinion?
Rayon is pretty cool. It's about as powerful as OpenMP, and a bit easier to use.

The fearless concurrency really is ass-saving. For example, my most recent non-bug: I launched two parallel tasks where one would free a shared resource when done. In C that would be intermittent use-after-free. In Rust it was a compile-time error.
Greed per se is not the problem, it is greed above all else. The number one problem in Zimbabwe is corruption. Only once there is a strong body, be that courts, a corruption commission, or similar, that has the power to hold those in power to account then little will change. Zimbabwe badly need an effective rule of law that provides justice to all.
And considering Intel is positioning these as an exclusive enterprise product, RAM is probably going to be competitively priced, even in terms of storage space.
Not really. You can still extract facial features from normal video (Snapchat does it too). Maybe not as exact, but still usable to animate some emojii.. I guess.
A dynamic ViewPager with NavigationBar component based on Swift
A pile of matchboxes that can learn [video]
I've built now several concurrent services with Rust. The language definitely gives confidence to try several things with different approaches to concurrency. None of my services crash (except once per 3-4 months when I deployed something "that will never crash" using `.unwrap()`). The crashes are always my own laziness, but if I follow the pattern of checking return values and unwraping only when the input is static and visible a few lines before, the resulting programs are fast, have a small footprint and basically never crash.

Oh and the tooling! I hope other projects take a serious example how cargo works. It's very hard to use any other build system.
Zomato Launches Subscription Program Zomato Gold
"This is the real reason for a maximum of 2 or 3 terms. Power corrupts."

It's still easy to be gamed, see Putin-Medvedev-Putin switch.
SourceMaps as specified are an interop format for devtools on the client side.

On the server side, you can store a lot more information since it doesn't need to be transmitted to the client. Closure Compiler stores maps for all variables, all properties, all functions, all renamed strings, all idGenerators, etc. You can store these if you want.

Google's servers store these maps and when user feedback or exceptions are logged, they are used to deobfuscate them. SourceMaps + functionMaps + propertyMaps + the others I mentioned as used to deobfuscate.

This doesn't solve the problem of deobfuscating locals or heap objects. That needs an extension.
How I Take Notes
Here in my home office, I have three laptops within 10 feet or so of me: a late-2015 MacBook Pro, a ThinkPad T420, and a ThinkPad W530.

95% of the time I'm using the workstation on my desk but when I'm not I almost always reach for the W530. I've probably only touched the MBP three or four times in the last year or so (since I built the workstation).

I absolutely love the W530! I've had it for, I think, about 4.5 years but it still has twice as much RAM as the MBP (32 vs. 16) and a pair of Samsung 850 PRO SSDs in a ZFS mirror. It is a beast of a laptop (considering its age) and it takes a beating riding around in the saddlebag of a Harley-Davidson.
How Deep Learning Makes Fashion Smarter
Our Advice for Startups: What We Wished We Knew
.NET is excellent in my opinion. You have C# striking a great balance between features, performance, type safety and flexibility.

Definitely microservice friendly. Azure is reasonably priced with various serverless offerings.

And you can just run .NET Core if you want to target Linux and pick a dirt cheap host.
Agreed:

Dustin Moskovitz and his wife Cari Tuna gave $20 million to boost Clinton and other Democratic campaigns.

Reid Hoffman gave 40,000 to Democrats in 2016.

Sheryl Sandberg of contributed over $200,000 to Democratic electoral campaigns in 2016.

Marc Benioff has previously put more than $100,000 toward Democratic election funds.

Airbnb CEO Brian Chesky has spent more than $10,000 to support the Democratic ticket in 2016.

Elon Musk has also contributed to Democratic campaign funds — which was vital as much of his business depends on government contracting, subsidy and tax credits.

John Doerr of Kleiner Perkins Caufield & Byers had donated more than $600,000 to Clinton-related super PACs, and Brook Byers of the same firm has donated more than $100,000 to Democrat campaign funds.

So WHY IS THIS A STORY? Because apparently Peter Thiel prefers to support causes he prefers which aren’t necessarily the causes that Bloomberg et al support. Peter was acting perfectly legally. We can debate the merits of the system, but Thiel didn’t do anything particularly noteworthy here.
New Technologies Are Coming to Trucking, and Truckers Are Nowhere Near Ready
Love this study, thanks for reminding me that there are no randomised controlled trials of people using parachutes when they jump out of planes. I guess everyone should stop using parachutes then...
Please can Chrome put images on the clipboard in a consistent manner?
"We interview people who fit the basic criteria, and for less than one hour (sometimes 15 minutes!). If the person seems capable and there aren’t major red flags, we hire them (we use an extremely coarse grained filter). If we have five applicants, sometimes we’ll hire all five. They’re then on a 90 day probationary period to see if they work out…”

Not sure how that would fly outside of the US. In France we have probationary periods but I have never heard of a company hiring multiple people for a full time role (CDI) and then laying off the ones that aren’t the best fit after a couple of months. That sounds to me like a way to get in a bit of trouble - legally, socially, with unions - in the employment context here.

Would be interested in learning whether there’s a French company that does anything like this - maybe a half dozen CDD’s with the express commitment to hire one of the six on a CDI after three months? But who is leaving a CDI on that sort of bet?
Ask HN: Anyone else hear sounds when they see an animation?
For some animations on the web where it is repetitive, I hear a sound to accompany it (hear in the sense like you have a song stuck in your head). Kind of freaky and a bit annoying makes me want to scroll away.
This has bitten me on QNX. I was porting UQM for fun, and it was failing when entering a dialogue,

Turns out, on QNX you can't pass short int into variadic function, which is expected behavior as far as C is concerned (you should only pass int or full size types), but it worked on every other arch so it took me a while.
I've found simply talking to prospective employees (be it software or anything else) about how they work, challenges they've encountered and how they overcame them and figuring out their attitudes has never failed me in hiring.

The bullshit feeling that everyone has to live and breathe coding is the biggest nonsense thing I encounter in this field (software development). A good job with a good work environment is more than enough to get productivity and results from your coworkers.

99.9% of the issues I encounter in companies as a consultant or employee revolve around poor management. They don't have budgets. They don't have plans. They don't have people that understand IT. Their IT doesn't understand how their products affect the bottom line. Add in about 1000 other "management doesn't get it" items and you might be close to the realistic picture.

It's quite depressing in practice.
I've always seen the difference as this:

- In statically-typed languages, variables are containers, which allow only objects of a certain type to be contained within.

- In dynamically-typed languages, variables are more like labels which can be attached to different objects, which can be of different types.

Each of these approaches have its merits, which is obvious when you look at all the lengths languages of one type go to to emulate the features of the other: interfaces and generics in statically-typed languages, or type hints and statical checkers in dynamic ones. But I have yet to see a language that would offer both types of variables...

As a Python developer, I can easily imagine a PEP that would introduce some kind of "container variables" that would accept only properly typed objects and throw a syntax error if a violation occurs at compile time. But I'm not holding my breath, with a language which ironically doesn't even have an implementation for constants.
Probably things like bailouts, the Fed insuring things it has no business insuring, etc. Basically he seems to be espousing libertarian economics - prevent people from actively harming me, but don't try to otherwise actively participate in the financial system.
It should be made clear that Hydroelectric has made an order of magnitude more land uninhabitable for human habitation than has nuclear.

Coal has made _three_ orders of magnitude more land uninhabitable for human habitation than has nuclear.

And whereas fish may thrive behind a dam, nothing humans can eat will grow in a coal strip mine, ash flow, or other coal-related topography change. Whereas in nuclear exclusion zones, wildlife flourishes.
Is there a way to get copy of twitter entire dataset?
I see the desire to move most extensions. One hope I have is that the next release will roll back some restrictions once active extensions have been ported.

However even if the WebExtensions had an "escape hatch" to browser internals it would still require significant porting effort and the promise of being marked as "Full Browser Access" and "Likely to Break" would probably convince everyone who can to port anyways.
https://news.ycombinator.com/item?id=15696713
Just updated, arch linux, great experience.
Really really fast, the new dark theme is great.
Thanks to the developers.
Are you saying James was being an an odious prick? Have you read what he wrote? Or heard that he was encouraged to give feed back?
At the moment it is because the only performant visual output is the canvas.

They are adding native DOM access, which changes things.
> While the US often acts reprehensibly, such as in the case of Chile, Iraq, and so on, the overwhelming majority of the international influence the US exerts is positive. (Citation Needed)

Please see: https://en.wikipedia.org/wiki/United_States_involvement_in_r...
The new Firefox is actually faster.
(2005) Dabblers and Blowhards: A Response to Graham's “Programming and Painting”
Done: http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm
It's not "anti-Trump", it's anti-incompetent-buffoon-who-is-likely-to-destroy-international-relations-for-decades-and-plunge-us-into-nuclear-war.
I'm an American living in Berlin, and I think the problem here would be more of a cultural one than a legal one. Germans just have an expectation that once hired they will be given every chance to succeed, to the point that firings seem to come across as a shock or an implication of major wrong-doing.

"Hire fast, fire fast" is already ingrained in American startups, so I think the policy outlined in this article would be easier to adopt in the US. Americans in general view jobs as more transient than Europeans do.
Just because somebody asked to post it standalone: https://news.ycombinator.com/item?id=15682954
This is just plain wrong.

It's a terrible idea to assume that other humans don't make mistakes. When encountering a bug, start at the top, and work your way down when you conclude that the current level is correct. There is no level of development that is immune.

Sometimes you are to blame. Others, it might be a library. It might be the standard library, or the compiler. A faulty optimization, perhaps. Could also be the OS kernel, or even the hardware (CPU, USB controller, network card, ...). It's all chock-full of bugs.

I've hit a handful of miscompilations while writing boring JavaScript web apps, some only when the JIT kicks in for extra fun. I have a handful of outstanding Linux kernel bugs, one of which cause memory corruptions, has existed at least since 2.6 and is dead simple to reproduce. I have a significant GCC performance degradation bug, triggered by calling "pthread_exit(3)" after an infinite loop. I've had what seemed to be software problems turn out to be PCIe problems.

You might think that, as a developer, you're building a card-house on a solid foundation. But no, it's card-houses all the way down.
Groundbreaking of Zaha Hadid Architects’ Tallest Residential Tower
>You may, but it's certainly not illegal, and it's no different than what happened here.

No one is arguing that it is illegal (not even the article). It is a bad system.
Does anyone know a window manager/desktop environment available for gnu/linux that has this tab-stacking feature?
IMHO failing to avoid engaging in bickering and name-calling is a professional blunder. Just being around and catching the wind means you didn't call yourself out in time. In this case - where nothing sanctionable really happened - a "retraining" that isn't really a warning, just a "gentle reminder", is fair.
The training set contains errors. The に row is especially messy: it's full of 小, ふ, and み.
I think it's mostly a societal thing in the U.S. These words are so bad that we won't use them even when explaining what someone else said. They are so offensive that we can't even bear to repeat them!

I kinda get it. No "reasonable person" likes to use or even hear others use words like these. I think it's just "political correctness" that keeps us from using them under any circumstances whatsoever (although, personally, I think that is taking things a bit too far) -- such as in news articles.
How to make a profitable indie app
As an Aussie, a very confronting read. You're kind of aware of various problems brewing on the horizon, that China's demand for iron ore is low, that our housing costs are too high, and therefore mortgages / household debt are too high, all of this. But then when you weigh it all up the feeling of being in trouble is very real, and we've had 6 years of flaky leadership that's too worried about political maneuvers to worry about these structural problems.

There are some things that give me hope though. We've built a number of great marketplace startups, including Freelancer (where the author works), Envato, 99 designs etc. So that's a strength, and the tech scene in general has grown massively in the last 5 years. Our mining industry might be in the slumps but we pioneered some pretty great drone tech, self-driving tech, and remote operations stuff. And if you get creative with remote work and global teams, the timezones we're in can be seen as strategic assets.

There are smart people here. But like most other liberal democracies, we're really divided and have a large voting block that just wants to keep the status quo and isn't being honest about the challenges. But hey, we just voted yes to marriage equality so the electorate has some hope left.
>No one is arguing that it is illegal (not even the article)

Yes and no. The article is trying to imply that he paid off a politician to carry out his vendetta against Google, which is illegal. They don't come out and say it directly, because they know he'd sue them into oblivion. But that is what they are implying. They're saying "there's smoke here...must be a fire somewhere!"
Show HN: Running stuff when needed
It's not vapourware: It may be a lie, but it's not a promise of greatness in some future version. They're saying "we have carried out an attack", not "we will attack oh-so-well".

Regarding the four-hour limit, the attacker have to either cheat and start making the mask in advance, or practise making masks quickly. Neither seems impossible. But of course, Apple could (and IMO would) improve the defense. I'm sure Apple would think of ways to counter any publicly known attack.
Update on Stock Options/RSUs Vesting Issue
Most of my issues were solved with 5.3.0 as of 8e979bf80. [0]

>= 5.0 && < 5.3.0 were really messy and causing lots of problems for my dependencies with peer dependencies. And on top of that there were the issues with the lock file causing incomplete installs.

Since 5.3.0 it's been reliable for me. I've stopped using yarn altogether after it just because it's yet another installation to manage. Although the build times are much better still with yarn, but npm is making some progress with every release.

[0] https://github.com/npm/npm/commit/8e979bf80fb93233f19db003f0...