skysight-inc/HackerNews huggingface dataset:
There are different ways to measure how much people value their lives. Some of the most interesting involve "revealed preferences", ie. what people actually do, not what they say.

For example, how much higher wages do people demand for riskier work, controlling for other factors? Or, how much extra do they pay for, say, a car with a better safety record?

I just checked the Wikipedia article on the "value of a statistical life", and apparently most current US estimates are around $9 million. This is up from around $7 million a decade ago.

https://en.wikipedia.org/wiki/Value_of_life
Automation of end-to-end testing – is it real?
Not just TF: pytorch, keras,mxnet,..
Like I said: We won't be the #1 framework data scientists use.
There's a ton of churn in that space yet.

Granted, a ton of it is TF. Google is doing an amazing job now.

We're trying to be a moderate middle ground.

TF and pytorch and anything in python tends to be an interface.

Core logic still operates in C/C++.

That's great when you want speed, but you end up missing the benefits of the JVM (the tooling is great for monitoring and things folks need at scale).

So we do everything via JNI where we push down the math one block with minimal overhead if any.

That and if you want to write production code, you don't need to push logic down to c. You can do something JVM based instead, which gives you kotlin,scala,clojure,..
To be fair, a compiler contains all the infrastructure you'd want in a linter. I don't mind compilers having lint-like warnings: I just want them to very clear about the differences between these warnings and warnings that reflect functional problems with high probability.
Ask HN: Droping yarn in favor npm5
Yeah, it's like trying to work in an open office, with people repeatedly stopping by with problems, and springing surprise meetings, and... well, maybe not quite that bad? :)
>High performance microarchitecture costs hundreds of millions of dollars to develop. Someone may develop competitive RISC-V CPU someday but it will not have open microarchitecture. AMD and Nvidia are examples of fabless companies who develop and sell proprietary microarchitectures. Thinking that someone develops open platform that competes with them is not realistic.

I am sure that they same argument should have worked for OSes 30 years ago. I think it will go the same way as it was with linux but much faster. There're a lot of small and not so small players who aren't able to develop microarchitecture themselves but quite eager to take their part in open source project.
My understanding is that even with the two year $99 Applecare+ for your phone, you have to pay them an additional $79 if your iPhone needs replacement.
I think there's some truth the the 'freedom signifier' thing, but I don't see an inherent link to dominance. I mean, of course it can be a dominance game, in the way that dominance games can be played with pretty much any mechanism you can imagine. But swearing isn't wrestling.
Control the Operating System, Control the Future
How are people going to get better at English if we remove all the parts of the language that make it colorful and expressive?
> Sorry, but I think that's really bad advice [...] If all you learn is to do things that are "pointless" (like learning hjkl),

I agree. For navigation I rather use f, w, e, {,}, ctrl-l, ctrl-u, /, o. I think hjkl are overrated.
Huh? What special case? When n is zero, we copy no bytes. That's the opposite of a special case: it's a general rule!
I'm not talking about hash chains. I'm talking about systems like Corda, Quorum, or Hyperledger that use BFT to provide mostly-trustless consensus without POW.
Here's a crazy idea - can't you smelt aluminium using a giant magnifying glass?
I wonder what the mechanism is for non-concussed people with Parkinson's and Alzheimer's? Is it related to the dura?
Good luck living in your comfortable bubble!
Actually you could argue by analogy and say that:

Weapons modifications should be legal just like modifying programs.

And of course: hacking someone elses server isn't allowed even if you are allowed to do the same thing at your own machine.

Now keep in mind I don’t like those devices. I hear most shooting ranges ban them and I think that is reasonable.

I'm just trying to take a principled stand here and say that mechanical tinkering by default should be protected just like software tinkering.
I have that kind of money and I can tell you: there is nothing up here worth losing your life over. I certainly would not risk my life to keep my present lifestyle vs. the one I had in my early twenties when I made and had much less.
Actually you could argue by analogy and say that:

Weapons modifications should be legal just like modifying programs.

And of course: hacking someone elses server isn't allowed even if you are allowed to do the same thing at your own machine.

Now keep in mind I don’t like those devices. I hear many
(most?) shooting ranges ban them and I think that is reasonable.

I'm just trying to take a principled stand here and say that mechanical tinkering by default should be protected just like software tinkering.
Google translate is... iffy. Here's an example from this morning, where I asked a colleague about how the mooncakes were at last night's mid-Autumn festival:

were the mooncakes good last night? -> google translate -> 月饼好吗昨晚好吗？

月饼好吗昨晚好吗？ -> google translate -> Would you like me last night?

I ended up forming my own question, which was slightly wrong - my colleague asked 你是要说好吃吗? ("did you mean to say 'tasty'?") which I threw into el goog for a laugh, and got in return: "Are you going to be delicious?"

So either google translate is a bit iffy (still amazing, but iffy) or mooncakes are some sort of aphrodisiac and I'm not understanding that :)

> It's hard to see the financial incentive to provide unlimited translations to anyone in the world for free.

More communication = more trade, more market penetration = more money floating around. It's not a direct incentive, but it's there.
please can we stop making addictive code?
That definitely does look promising. On their website under "Convergent:"

> Anbox scales across different form factors similar like Android does. It works on a laptop and a mobile phone.

Additionally in the README.md on their Github page (https://github.com/anbox/anbox):

> Anbox ... can be used on mobile operating systems like Ubuntu Touch, Sailfish OS or Lune OS too.

So conceivably something like this could be a great start.
When fourth-party collection becomes attribution hell [pdf]
Mass Killings: An Evolutionary Perspective
If you are on H1B, and lose status and leave the country, and don't intend to come back, do you really need to pay car or house loans? Be nice and mail in the keys, but how are they going to collect anything else? I assume someone in that situation would cash out their us accounts as they're leaving.

Education debt may be different, there's a good chance that was incurred in the country of origin, so it's likely the lender has recourse.
> The existence of Apple at all today is exactly because people perceive a value greater than the sum of the cost of parts.

yes and Apple loves that and that's why it makes its phones notoriously hard to repair or upgrade. that's why there are no SD card slots. that's why you have to buy an overpriced Apple exclusive lightning earphones or connector or whatever.

everyone is acting like the price of the phone must go up so much if it has higher storage, like there is no other engineering option.
It's amazing how many new features and even new complete products Keybase has been able to build on top of their core in such a short span of time. Even more so considering that a large part of that core is "just" a much better UX for a technology (GPG) that has existed for decades.
Huh, there’s a bug on the site, the article is dated “Oct 14 2017”, and I did a double take and checked the date on my phone.
Displaying data necessarily means copying data. Once data is copied and transmitted you have lost control of it. There isn’t a technical solution to stopping data from being copied and potentially stolen. You can mitigate the risk that it will be stolen with technical solutions, you can put processes in place that mitigate the risk, and you can deter by punishing thieves and negligent data processors. But ultimately it is risk mitigation and not elimination. Unfortunately there are no perfect solutions.

The bulk of the risk is created by the outdated credit system itself and it’s reliance on easily obtained personal information as keys to the kingdom.

Solve for x where x is “why can’t I just post my social security number on Facebook?”
I mapped capslock to Control and use Control-c instead of escape. It's much easier on my pinky.
We use on-prem Oracle stuff but had to evaluate the Oracle Cloud versions recently. I can't speak for how they stack up against AWS. But they couldn't even compare with the on-prem versions. Cloud versions were very different and nearly alien to the users of the on-prem versions. Not to mention the huge downtimes, they wanted nearly 12 hours every alternate weekend. The cost difference was lower for cloud but finally the company opted for on-prem versions.

That said, as an investor, I doubt someone would look this as negative as "we can no longer compete on any remotely level playing field and need the law to prop us up." Given my limited knowledge of Oracle and Larry Ellison's marketing tactic, this would just be in a long line of marketing speak trying to portray everything non-Oracle in bad light.
If White House follows up on the marketing speak, they get a lot of government contracts and makes a lot of money. This is good for me as a shareholder.

What would concern me, again with limited knowledge of Ellison and Oracle, is if they just rolled over and played dead and pretended that OSS and SV were not a threat to their business. That as an investor would send the alarm bells ringing.
Very underwhelming.

The camera solution they adopted is technologically inferior to the (much more common) dual wide/tele lens solution, since the former offers only some of the advantages of the latter (e.g. bokeh: yes, 2X optical zoom: no).

And they gave that guy who retrofitted a headphone jack in the iPhone 7 a reason to come out with a new video.
Had a Moto X 2013. Bought it because it was supported by Verizon (the only connectivity, some places I went/go), and with the Google purchase of Moto, was supposed to get timely updates on an ongoing basis. Well, not so much...

Switched to a Nexus 5x. After 1.3 years of rather gentle use, it bootlooped. I would attempt to get Google to deal with it, but it bootlooped days after I took pictures of flood damage (not mine, fortunately), and I hadn't gotten those pictures off the phone. Then, I got busy. Still hope one of the rescue approaches will let me get the pictures off, before I try to maybe get a replacement. Fuck the warranty, 1.3 years of use -- cut short by a known product defect -- is simply not acceptable.

I bought a cheap Moto G5 Plus to tide me over; figured I could dink around with it after I switched to maybe a Pixel 2.

At this point, and at those prices, I can't bring myself to give Google a premium price for that product.

Maybe if I find a cheap Pixel 1, I'll give Android one more go. Otherwise, it's Apple.

Even if Apple is pricey, I'll expect decent support and to amortize that cost over more than a year, two at the outside.

P.S. The Moto G5+ was widely heralded as "the" budget Android choice. And while the camera is definitely not top tier, it takes mostly ok pictures, and the phone otherwise functions decently. Even its IPS screen is no slouch.

It was already a bit behind, on Android 7.0 and not 7.1 . This caused me some concern, but I wasn't going to plop down e.g. full price for a Pixel 1 with the Pixel 2 just weeks away.

But now we have the Bluetooth... I forget the catchy name. The Bluemageddon. And I'm back to plugging in the speaker to listen to podcasts (fortunately, old enough to have a jack). The older FM adapter in the car, that has a jack; its replacement is Bluetooth only. (And I'm sorry, but my older car is in fine shape and I don't really need to replace it, nor to I wan to rip apart its rather nice integrated and apparently rather well-tunend stereo system.)

Anyway, at least the G5+ has an audio out jack. Because I don't know when the hell Lenovo is going to get around to shipping the Bluetooth fix to it.

So, basically, Google, if you happen to be reading this: Fuck all this.

I've also started to encounter interesting posts from developers who say that this kind of outlay for an Android device on which they can adequately test, is getting outside the realm of the reasonable. Not my bailiwick.

But if you're a small-time developer, and your iPhone bites it, seems you may actually get some support from Apple.
Love letters rely more on emotion, allegory, and subtext than the news, especially modern-era news.
It's problematic that there's nothing clearly classifying such videos as speculative fiction. Sure, it's obvious to intelligent people, but what about the more gullible among us?

In the past there was a combination of latency in the press and the barriers of access to publishing. Today there's neither, yet the informational impacts of this unmoderated noise are as real as ever.

It's concerning, but maybe sites like YouTube could do a better job of highlighting such channels with a record of spreading propaganda without resorting to censorship, rather than simply displaying popularity (subscriber) stats. How about an accuracy rating?
To learn Vim you have to use it everyday. Question is if most have the opportunity to use it full-time for development from day one. I started with Vim using it just as a todo list manager on a remote server. Wrote here and there some macros to add or mark todos and that was my gateway drug. Used it everyday and at some point it felt more natural than any other editor. So I fully switched.

Besides, I use Neovim for 1-2 years now.
It never made it as a story.
What does an Apple have to do with electronics?

Would you say that Apple's marketing department leaves much to be desired?
> What if you just don't have meaningful things to do for that enum value?

Then you use:

default: break;

It's a small price to pay for the consistency checks elsewhere when you don't have a default.
Filmulator-gui – an open-source RAW photo developer that aims to emulate film
This whole credit tracking industry is so unconstitutional it's crazy. I hope that this awakens people to the fact that their identities and personal data _should_ be theirs, and that they should fight tooth and nail to grant access to it. Centralizing information such as this is a "single-point-of-failure", or it is in spirit.

I wish I had suggestions, but feel the something like a blockchain or other ledger is a step in the right direction. This Ted talk on the subject is interesting https://www.ted.com/talks/don_tapscott_how_the_blockchain_is...
> the OEMs Google paid to manufacture their devices

I'm not 100% sure, but I don't think that's how it was. LG's Nexus devices were manufactured by LG for LG, etc. The "Google" part of a Nexus phone is the software and some collaboration in the design.
They went down thanks to major labor laws.

Even now, average working hours in developed nations are above the "legal norm".

Though the automation definitely helped to make it more feasible to work less, there is still a political fight to be had to push the hours down even more.
George Sandu Costea
GST in India
Samsung-galaxy-s8-Microsoft-edition-features
did you delete the unencrypted repo from github? actually even if you did, a version of it might still be lurking in some corner. Maybe time to create a new set of private keys?
Honestly wireless earbuds, specifically the AirPods, have probably been the best purchase I've made in a while and probably my favorite Apple product since my MacBook Air (2013).

The problem is that all the reasons why I feel this way would not have meant much to me while I was still using wired headphones. It feels a bit like retina displays, or my first experience with a sleep mode that actually works (my first, white MacBook): the advantages don't seem all that obvious or amazing right until you're forced to go back to the 'old way'.

I would suggest you first make sure they fit your ears though. I was always confused about people complaining about the EarPods/AirPods falling out of their ears because that never happens to me or most people that I know. Then I actually met one of those mythical people and it became immediately obvious to me how unusable these things are for them (without foam or perhaps some superglue).
Did I miss the privileged ISA specification passing?
This is the choice quote:

> "This simply is not a company that deserves to be trusted with Americans' personal data," said Sen. Sherrod Brown, D-Ohio,

Obviously this quote leaves out a lot of nuance, but I like
it and I like what Senator Brown has said in general. What Equifax has let happen is very bad, and I think moral judgments and perhaps even shame (which is how a society can enforce morality) should be brought onto its leaders individually.

I hate how businesses and business persons have been making horrible, destructive decisions for decades (not that humans in all fields weren’t beforehand) and have been escaping any kind of shame. Indeed they’ve been praised in many cases.

If you look at the top-level pages on Wikipedia (there are about 11 of them), one of them is for “Society”. About a third way down you’ll see “Business” listed under Society. I think this is a good reminder that business is a part of and functions for society, not the other way around.

https://en.wikipedia.org/wiki/Portal:Contents/Society_and_so...
Today's announcement is cloud-only. We also support an older algorithm for offline use that's less computationally intensive.
it might help you rethink who you spend your time with before its too late to change it.
> I think you're reading too much into a couple sentences typed during my coffee break.

Fair point. I impute a lot of selfish motives when I hear what I consider to be ambiguous pro-euthanasia arguments.

> The details of determining the individual's mental state (i.e. the method of testing their sanity), documenting that, and preventing abuse of the law.

I appreciate you trying to corner this argument with some specifics. I can't convince you, but my contention is that mutable laws and under-manned/inept/corrupt officials can never provide the type of sustained protections for the helpless that I think you're envisioning. Just knowing how loop-holey and unjust so much of American law is, I urge caution.
I doubt more people are cooking, it's just that the largest chain restaurants have gradually let themselves go to shit and left themselves in a position with no demand.

There are more options than ever for good, casual food. And there are as many options as we've always had for not-so-good cheap food, like McDonald's.

The problem Friday's has isn't that everyone suddenly loves to cook. It's that they suck, everyone now knows they suck, the prices are unreasonable for how much they suck, and there are obvious choices that suck less.
And the attitude is seriously misguided. I really can't swear in Norwegian, but my native English? Sure thing. And it really limits my expression in Norwegian.

The truth is that it takes some skill and knowledge to properly swear. And it has its place: Using other words simply don't get the point across nearly as well and folks can easily misinterpret your meaning (Example: Angry verses creatively displeased or disgusted). Using alternatives (in English things like "fudge") are equally powerful and equally difficult to place in the right context.
I agree, the examples in the article look terribly confusing. And they're inconsistent with Swift's own for loop syntax: https://developer.apple.com/library/content/documentation/Sw...

for item in groceries { print item.department }

versus:

Dictionary(grouping: groceries by: { item in item.department })

The people who chose this syntax probably said "hey, it's VARIABLE in EXPRESSION, same thing right?". But the semantics are completely different!

In the for loop it's "for PRODUCT in SOURCE": the expression is evaluated first, and the variable is assigned with each of its items in turn. In the lambda or whatever it is, it's "{ SOURCE in PRODUCT }": first the variable is assigned, then the expression is evaluated based on it. The data flow is the opposite!

This is just objectively bad language design.
Is that before or after the same senators awarded Equifax a $7.5M no-bid IRS contract? <grin>
I think the lack of children working along side adults is a great shame. Not that I'm a fan of child labour but I think there is something that adds to a child's self esteem when they take on responsibilities along side adults. I know they complain and don't often like the labour, but I think it brings a sense of purpose and belonging that many young people seem to lack.
Assuming you're serious, get on that my dude! All the best developers I know have a solid mind for ops; operation of your application should inform its design.
Seriously stop bashing Americans. We owe them quite a lot.

And if you are pointing at the election: It seems they feel they had two bad choices.
Where are you getting "unconstitutional"? A private organization remembers credit related events and reports them to lenders.

I can understand pragmatic reasons to regulate exactly how they can go about that, but I don't see the connection to the Constitution.
I think you guys are missing something in my perplexed state at this construct. I'm not saying it out of lack of experience or because I disbelieve in the "going out of my way to make things more maintainable though verbosity" aspect. It's just that many times in practice I have rarely seen an honest switch statement that really needs case labels for all possible values. Much more common in my experience, 1 or more cases are no-ops. I think it's pointless to list out the no-ops, but I've seen people advocate just that.

There are exceptions to this "some cases are no-ops" thing. But I think it's the minority of switches I've seen.

From that perspective it does seem like the coding police angle. It's reminiscent of certain things in Java, like making a bunch of implicit conversions into errors, or C#, which forbids implicit fall-through on a switch. Those too are for safety and maintainability. They also make a lot of constructs more ugly. My question is: is it worth it? In this case (unintended pun) I don't think so.
>Wong is open about his Christian faith and how it catalyzed his activism against Beijing’s tightening control over Hong Kong.

Christianity's role in Chinese society is interesting.

There are something like 100 million christians in China, and based off of stories from friends, a lot of cults in that space as well. A lot of organizations play off of that. For example multi-level marketing stuff talk a lot about being children of God in their sessions in China.

Considering how Christianity affects decision-making in the west, I wonder if this will in fact drive major change politically in China as well.
Not an answer, just wondering if anyone is using Apache Spark for ETL?

Is this approach viable or if it is just marketing:

https://databricks.com/blog/2017/01/19/real-time-streaming-e...
Vim supports the cursor keys, even in insert mode.

Assuming the new Vim user already knows how those work, telling them that they instead need to go `Esc -> hjkl -> i` and ending things there... that's going to leave them worse off in Vim than saying nothing.