skysight-inc/HackerNews huggingface dataset:
Imported typically means it was sold in a foreign market first before the U.S. Not the case here with Tesla. People know them as an American company, just like Apple is an American company that imports products made in China.
> I do know the history, despite your suggestions to the contrary -- which to be honest are a bit patronizing.

What's funny is that the response you saw was edited for politeness.

> You're right that a dictionary isn't the place to look to find out where to draw the line, but the line certainly has to be drawn somewhere. I'd say most people would agree that a society where people are systematically disenfranchised based on race, property and gender is not democratic.

I think I see what's going on here. There are two different issues, the meaning of the word "democracy" and the norms of democracy at any given time.

I think the accurate thing to say with regard to both of these, and hopefully you'll agree, is that the word, its meaning, and the ideal it defines have been pretty constant over time and the degree to which democracies adhere to the ideal of democracy has changed.

(it seems to me a more interesting question is whether America in 1900 would qualify as an "illiberal democracy" under today's emerging definition)

> A country of 1 million where 1 person has the vote isn't a democracy.

More useful examples abound, with all the countries that did not achieve universal suffrage until the 20th century. I think you're staking out a very strange linguistic position if you think those countries, which self-identified as democracies both before and after the change, and which everyone referred to as democracies both before and after the change, could only correctly be referred to as "democracies" after they enacted universal suffrage. It seems a lot more useful to say that those democracies were functioning closer to the ideal of democracy than they had been previously.

A tangent: there's a satirical Asimov story called Franchise about a country where only one guy has the vote. I don't remember much about it except that it was great, like most Asimov stories.
Show HN: A single pass, self-hosting compiler for the Oberon-07 language (JVM)
A lot of the code schools are struggling due to the expense of desirable real estate, I could see how WeWork and a bootcamp may have a combined advantage here.
Well, that kinda makes sense. But you really should render the dates also based in user's browser locale.
GGP stated "the rate of progress was pretty much identical", so are there two x values?
Multi-columns work if you don't have to scroll to read the info as well. If you can get to the bottom of the column without scrolling (like on a printed page) it's fine. If you have to scroll they're horrid. You wouldn't print a book with a multi-column layout where each column continues through to the end of the chapter, and then you have to turn back to the start to read the next column. Yet people do it with digital documents all the damn time.
AddressSanitizer is another approach to detect memory-related (including stack overflow) errors in C and C++ programs. See https://github.com/google/sanitizers/wiki/AddressSanitizer
New York to Replace MetroCard with Modern Way to Pay Transit Fares
Not a problem most of us have in 2017. I wonder what the use case is for having a bunch of DOS machines.
> But if we're talking about obscure applications being preserved for posterity, they're not going to get built.

Well, they don't really need to be, that's the point.

> Really I was talking about the other direction though: a way to confirm that a given program is written using only ANSI C. There's no testsuite for that, all you can do is test with the compilers that exist - and then sometimes your program suddenly stops working in the next version of the compiler.

See --std=c89 or -ansi flags on GCC or Clang. One other way to prevent other sources of rot is to avoid UB that is frequently subject to change. Most UB is defined, at worst, by the constraints of real ISAs (i.e. the behaviour of idiv when dividing INT_MIN by -1 is an exception on x86, but the ARMv7 equivalent simply produces a number), and most UB-altering characteristics are standard across popular ISAs, and new (general purpose) ISAs tend to go with the status quo when in doubt.

And if all else fails, you can still run your code in an ISA simulator, and compile it with an old compiler, to figure out exactly what it meant in the past.
NYC is (very slowly) getting a more high-tech way to pay for subway rides
Just watch how I get down voted here. Tells you a lot about the culture here.
Autolayout in iOS and Mac OS (https://developer.apple.com/library/content/documentation/Us...) uses the Cassowary constraint solver (https://en.wikipedia.org/wiki/Cassowary_(software) ) to layout GUI elements.
From the article:

"ProtonMail can also support sending/receiving end-to-end encrypted messages with recipients who are not using ProtonMail."
I don't know anything about Google's internals, but, like, there's some data. It gets to your screen. There's code written by Google employees that makes that happen. That code gets modified on a regular basis by Google employees. If enough Google employees get together, they can modify that code to do whatever they want.

I expect that any single Google employee does not have access, in the sense that they've locked themselves out of making changes to their systems without a computer seeing multiple human approvals. But there is a point at which someone can fix that computer.

But yes, my point was that the threat model here isn't "one Google employee goes rogue," it's "multiple Google employees with extremely privileged access to Gmail and/or their code deployment servers all decide that they want to read your email without telling you, and nobody blows any whistles," which seems much more far-fetched.
True, although as someone else points out (contrary to what I thought) only the last runnable action is done.

If that wasn't the case, then swapping things around to be something more like "move_next_turn" would be clearer I think.
Note that this point:

>You can’t run a fully simulated Lambda environment on your local machine.

... is now partially solved via SAM Local: http://docs.aws.amazon.com/lambda/latest/dg/test-sam-local.h...
I doubt Tesla will give up on their U.S. factory, unless the company ever enters dire financial trouble. There have been (and still are) major auto makers with factories in the U.S. It is to their advantage to operate more than one factory if ever there are labor issues, governmental issues, or even natural disasters that could stop production.
After Issacson's botched Steve Job's biography, I have a difficult time trusting him for any historical figure. Issacson had unprecedented access to Steve Jobs, yet the biography really didn't provide any new insight into what made him who he was.
Apple Pay now in 20 markets, 90% of contactless transactions where active
Don’t stop it
Either they give it up or they can get a new job. We have a lot more government than we need and we get a lot less than we pay for.
Mail client support is coming soon. They pushed out a beta to paid users a few days ago.
What's the characteristc of the text and how do you identify it?

Again, search, paragraph and sentence navigation, and word nav are intrinsic to vim, and fast. If you know what you're looking for, "/<pattern>" and you're there. With incremental search ("set ic" in your ~/.vimrc) thats often a very few keystrokes.
Uncle Sam can root your machine. If Uncle Sam is the threat vector you're better off using pen and paper.
> In either case we need to call hideLoadingSpinner(). Until now, we had no choice but to duplicate this call in both the then() and the catch() block.

I always chain a `then` after `catch` in these situations.

fetch(...)
.then( response => data.response = response )
.catch( error => data.error = error )
.then( () => closeThatLoader() )
Nope, they kept it because there weren't better alternatives.
If you read the page, it simply states that you can tweak the parameters of the existing scheduler, not replace it entirely.
I think it really depends on what you really, really want out of life.

My best friends and roommates all think I work too much, to the point that they've started calling me a "robot." But I tried going off the advice of my therapist to be more "balanced", and I found that all it did was make me dissatisfied with my progress.

I find a lot of joy waking up early, going to the gym, working until an hour before bed, and then reading a book until I fall asleep. I allow myself time to veg with Netflix for an hour or two a couple of nights a week, but no more than that. Ultimately, I find myself a lot happier being productive. I know it doesn't work for everyone, but I know that this is the way that I'm built.
It kind of drives me nuts that this wasn't there to begin with. It seems like it was a standard part of most promises before they were standardized, but now all promise code will either need to ship with a finally shim or avoid finally for the next X years.
Using my Nest thermostat as a combination lock
It's probably because you're calling him snow dog.
I usually get into the airport a few minutes before boarding. My emplacement process is usually ~20-25 minutes with no wait.
I am somewhat curious which game you will be latching on to when SC2 is also thoroughly beaten in a year (or whenever).
Ask HN: What is your favorite crypto coin and why?
I was (am ?) huge fan of bitcoin in 2012. Somehow lost touch and forgot about it. Now in 2017, there are many crypto coins promising revolutionary change in the world. Which one you trust has the potential? Which one excites you?
If you have this mindset, may I suggest that you could be significantly underestimating the role of luck and being in the right spot/having the right network?

If I was to review my career (which is by no means exceptional, but still), the times I've taken giant steps it has been either because of luck (I joined a company at a good growing point) or a mix of skill, luck and a network of people that help put me in opportunities to be exceptional. I have the skills to be great, but I need the opportunities to be great as well, and opportunities are not necessarily only created by skill.

Skill is a necessary component, but it is not the only component. There are a lot of things a lot of people can do, and the determining factor in who ends of doing them is usually not skill. There is such a thing as skilled enough, which is hard to get to, but if you're opting between getting 1% better at something and getting 20% better at something else, often taking the 20% thing will pay off more, whether that be in networking, finding more opportunities, or whatever.
How is this a Walmart problem though? This is a totally natural result of free-market competition. When two competing pizza restaurants can no longer squeeze a lower price by reducing quality or working staff harder, they move the production offshore to countries with lower costs (usually looks like slavery). If we want to stop this natural phenomenon we would need new trade agreements to provide a financial incentive to keep the production within USA.
I'm not a fan of Walmart but this is not at all a fair criticism of their business practices.
Mapping media freedom
24h clock is very common in France, and other European countries as well
For reference, the work is done at https://github.com/PowerShell/openssh-portable even though the wiki, issues, etc happen there.

I will say, from my limited experience w/ MS's fork, they take a bit of a hacky approach. For instance, I just wanted standalone sshd, but they really want you to run it as a service and install/uninstall with PowerShell scripts [0].

In general though, the open SSH fork seems to support pluggable shells and has decent pty support (it fires up a separate shellhost.exe process per client)

0 - https://github.com/PowerShell/Win32-OpenSSH/issues/909#issue...
I disagree - yes, it's a simple project and probably not something I'd use, but it's also somewhat inspirational. It's a clean interface that does exactly what it's designed to do with minimal fuss. This is what hobby development is all about IMO.
That costs Uncle Sam resources at scale.
He is speaking in the context of once you set a goal then don't quit. Eg: I have to get a job in one month.
Now, once you define a goal that is measurable and is important to you. Will you be able to watch netflix if you are consumed by your goal day and night?
If your thoughts are fooling you,then you will get discouraged by every small failure. I think it helps to be less emotional and mechanical in the pursuit of a goal.
Affected products by Infineon RSA vulnerability
That sounds to me like a very small attack surface.

Updating a hypervisor is far easier than e.g. updating hundreds of statically compiled executables.
You can use a public key in the dns record and also activate dnssec.

But dnssec isn't really that secure so...
I might be kind of pissed that supposed supply chain geniuses missed out on billions in potential sales because of entirely foreseeable and avoidable difficulties.

Anyone who is willing to spend $1000 on an iPhone X, probably really wants an iPhone. They aren't going to shrug their shoulders and go buy an Android phone. They are going to wait until it's available.

The only people that care about delayed revenue are short term investors. It's not like Apple doesn't have enough money in the bank to meet payroll while supply catches up with demand.
It's okay, we're all adults. You can say Brainfuck :)
Unreleased Super NES Game to Come Packed with Every Analogue Super Nt
Retro computing is a bit of a hobby for some of us. I'll find the program very useful personally.
As a Director of a coding bootcamp operating out of a co-working facility, this looks exciting for WeWork. We had considered WeWork for a campus now that there are two planned in Houston. It's still an option for us moving forward (heh, or maybe not with this news?) but cost and timing has stopped us from pulling the trigger up until now.

TBH, a vast majority of our students find their employment with companies outside of the co-working space. It's value to our students and school has had more to do with offering a collaborative and exciting environment to the students as well as affording our school more flexibility regarding classroom spaces/sizes and basically allowing us to keep costs down versus building out our own space. The service layer of a co-working building (cleaning, kitchen, IT, and so on) are invaluable for smaller organizations like ours.

It will be interesting to see if WeWork uses this as an added service for it's members - in which case, it will need to be very flexible in it's curriculum to match it's course to the needs of members across a huge number of facilities. Or, if it keep more of the Flatiron approach and attracts students outside of WeWork - and how that works with things like fees, parking costs, membership, and if they meet member hiring needs.
Good argument. To me the reason for not speeding due to it being a net benefit to society is just a specific case of speeding due to it being the right thing to do. One point I got from your argument (though not directly stated) is that it's often important to clarify why the thing you are saying is the right thing to do is in fact right.

I feel your understanding of altruism seems to coincide with a utilitarianism standpoint of it is the right thing if it creates the greatest sum total happiness for society. I feel Utilitarianism is close to defining what is right, but if you have ever studied it Utilitarianism has some flaws (when I say this I don't mean to attack your personal standpoint on altruism/right only Utilitarianism in general.) Often these flaws can be fixed with a more rule based approach to Utilitarianism. I personally like Utilitarianism's approach, but probably take a more Aeristotelian approach which is more along the lines of it is the right thing if it makes me act in a more virtuous manner. Aeristotle believes those of truly virtuous characters wouldn't desire to do wrong things in the first place.
They use SRP for authentication, and yes, your private key is encrypted with a key derived from your passphrase.

https://protonmail.com/blog/encrypted_email_authentication/
> Keyboards are cool. Mice are cool. Can we all just get along?

Agreed.

I'm a vim fanboy - and I use the mouse.
Google Has Most of My Email Because It Has All of Yours
wasm and JavaScript are complimentary, not at odds. Google and Mozilla are also investing heavily in the future of JavaScript as well as their work on wasm.
From the page: 'For years, I was using LapLink to transfer files between my various "retro" computers.'
Yes, trying to understand what the point of .finally is when a subsequent .then after .catch seems to achieve the same thing. What am I missing?
All your emails are stored encrypted with your public key when on ProtonMail's servers. And they do support end-to-end encryption with other email providers (with a user-specified passphrase).
I assume your 2nd paragraph is at least a little tongue in cheek.

Otherwise, I think your trying to characterized things in clear public-private terms, the language of particular political and economic philosophies. What I was saying is that I think that terminology is flawed.

The public-private dichotomy is never a clean break. Corporations are a part of the governmental system, and this is not limited to influencing laws and their enforcement. That is, they are the deciders (often) of what does and doesn't happen, and how.
What about reviews in Turkish language and what about shipping to Turkey? Amazon is mostly for English speaking world.

On the other hand Google, Apple, Microsoft has no language barrier. Amazon is 4th among them.
Allowing a bug to hijack the control flow of the program is much worse. To a limited extent you can do this even with pure data manipulation (function pointers, if statement inputs etc) but it is much more constrained.

FWIW Web Assembly doesn't mix the control and data stacks.
The lack of code signing in web apps and the added attack surface of having your web and application server (which are in control of the code that users run) exposed to the internet matter a lot in this context.

Attacks on build systems of native applications aren't unheard of (CCleaner, that Ukrainian tax software, etc.), but it's far more involved and more likely to be detected, whereas web app backdoors can easily be delivered exclusively to the target and only for as long as needed to pull off the attack.
The bolt is an all electric car not a hybrid.
Off the top of my head I think the number 1 "threat" that Google doesn't protect you from is privacy. They are actively watching your email with algorithms to use for advertising purposes.

On the other hand, they have more resources than anyone else to protect against things like DDOS, nation-state hacking/phishing, and physical disasters. They also have a legion of lawyers to protect against improper legal requests, however they will roll right over for a government if it's legal.

Protonmail is on point with the privacy, but their security engineering team is probably less than 1/10th that of Google's.
While unprofitable, losing $3.9m on $79.9m in 2016 doesn't seem that bad. I'm sure they've been working hard to get that in the green.
I think busting public sector unions would be a good start, making the public employees at-will would be even better. And citizens should have a feedback mechanism - surly DMV clerks and permit granters who don't follow up should hit the streets.

We have to incentivize service much more than we currently are.
Around 100 people have root @ Google. They get a tshirt with it on.

With months of effort researching tripwires and auditing systems, any of them could read your mail.

There's a pretty good chance they'd get caught by some auditing or alerting system they were unaware of though. Many of those systems are kept secret from employees for obvious reasons.

Any two employees collude to much more easily read your mail. There's probably ~1000 people in that position (not only the gmail team, but anyone who writes any kind of library code used by any of the databases, datastores, or application servers). They would leave audit records though, although they might go unnoticed.
How do we solve the issue of trust? This is the fundamental issue I think is at stake here.

It reminds me of the two generals problem
https://en.wikipedia.org/wiki/Two_Generals%27_Problem
If your code is a mess of "this user has this feature on", "all users in this state have this other feature off", etc it's hard to revert. Especially when that mess is everywhere from years of changes. Reverting otherwise working features upsets customers. So now you have to write a rules engine to be able to replace all those hard coded use cases. Except that's not in the budget. Continuing to layer on workarounds also becomes more tricky. If you have to test as 1000 different users to hit all he edge cases, you're going to end up not testing, which results in more bugs which begets more hacks. It's a slippery slope
If it helps, I don't have Spotify.
Not to mention that it will help your well-being in the long run. If you're always "on", that's extra stress that will lead to premature exhaustion and have you stroking out in your 40s or 50s.

The more short term effects are better work management. If you're not constantly worried about what's going on at home, because you've had time to take care of said problems or projects, then you can more readily focus on what's happening at your job.
And you say you’re an ally? WTF
You can totally search email contents with ProtonMail -- it just does it clientside. I just tested with my 125MB of emails and it was fast (under 1s) but maybe if you have more emails it could be slower.
Another upside of the proposal is that if you need to reuse the fetch promise somewhere else it will retain the reject status if the promise fails. The proposal is more akin to:

fetch(...)
.then(response => {
closeThatLoader();
return success(response);
})
.catch(error => {
closeThatLoader();
throw error;
});
Someone from our office just died over the weekend, we all found out about an hour ago. They were the type of person that essentially spent their waking hours working for this company. Crack of dawn up, and last to leave, working after hours, and on weekends.

I'm betting in their final hour they didn't wish they were still at work, or got more hours in. Busting your ass working IS a waste of life. You can be passionate about your work, but don't be ridiculous. You're only here once.
Unlikely because you can't use a noun as a verb :)

Someday though we may be able to breathe on Mars
Humans Have an Essential (Though Small) Role in Markets
Splunk Acquires SignalSense
Uncle Sam can't root everyone's machines at once. If Uncle Sam wants mass surveillance it's going be through the provider.
Vagrant High Sierra Workaround
I have not. I will ponder the implications. I kind of want to see what it does without my prompting it.
My dream is having an actually working/accurate to the character consumer-grade eye tracker that people can glue onto their screen. Then to move around in vim, look at where you want to go and just press a key.

I think this alone would allow for a jump in effectiveness almost as great as the jump from notepad to vim.
This comment seems to conflate resistance to mass surveillance with resistance to targeted surveillance. It's almost as if the fact that I'll never be able to resist a targeted attack means that I shouldn't attempt to have any privacy at all, but surely that's not right.

Encrypted messaging apps and services like ProtonMail have never been primarily to help people with Snowden's threat model. They're for people like you and me to reclaim a semblance of privacy, and they work even with "Uncle Sam" as the threat model in a limited, dragnet surveillance sense.