skysight-inc/HackerNews huggingface dataset:
As you point out, that protocol is flawed.

Here is a protocol that works (BB84):

Needed:

* A way for Alice to communicate (classically) with Bob that can be read by Eve, but CANNOT be manipulated by Eve.

* A way for Alice to send magic paper (qubits) to Bob, that CAN be intercepted and manpulated by Eve.

Steps:

1. Alice sends a bunch of magic paper to Bob.

1.5 Eve potentially intercepts the shipment and manipulates it.

2. For every piece of paper, Alice randomly decides which digit to check. Bob does the same independently.

3. Alice and Bob tell each other over the classic channel, that Eve cannot intercept, which digits they checked.

4. They discard the papers where they checked different digits, and use the rest to form a One Time Pad.
Somewhat capability based. If you do `cat sys:iostat`, you can see part of what I mean. Most operations happen on a file handle which has the properties of a capability.

We still need to do more work on it though.
What's the best way for an interested prospective solar customer to get informed so as to not get ripped off? This seems to be a situation with significant information asymmetry between the consumer and the seller.
> As someone who aspires to see a viable Smalltalk-like runtime self-modifiable introspective debugger at the OS level

That's an interesting pile of keywords you've got there.

I don't know about Smalltalk (I find Squeak, Pharo, etc utterly incomprehensible - I have no idea what to do with them), but for some time I've been fascinated with the idea of a fundamentally mutable and even self-modifying environment. My favorite optimization would be that, in the case of tight loops with tons of if()s and other types of conditional logic, the language could JIT-_rearrange_ the code to nop the if()s and other logic just before the tight loop was entered - or even better, gather up the parts of code that will be executed and dump all of it somewhere contiguous.

C compilers could probably be made to do this too, but that would break things like W^X and also squarely violate lots of expectations as well.
Show HN: Implementing promises from scratch the TDD way
No one knows what happened to tank man.

More troubling is you don't seem to know what happened in Tiananmen square, are you in China?

https://www.theguardian.com/world/1999/jun/02/china.johngitt...
This was my setup for some time:

Chromebook
https://www.amazon.com/Samsung-Chromebook-Wi-Fi-11-6-Inch-Mo...

Secure Shell
https://chrome.google.com/webstore/detail/secure-shell/pnhec...

DigitalOcean $5 droplet
https://www.digitalocean.com/pricing/

Free GitHub account (swapped back and forth between bitbucket)

For editing, I just became really good at vim. Then, if I was feeling froggy:

https://c9.io/, the free tier if needed.

So in the end, there was the initial cost $212 for the lappy (it's really small and lightweight too, great lappy), then a $5 recurring charge for the droplet that I would tunnel and own projects from there.

If you do think this path will be advantages, just be careful, get a simple DNS (hover.com) record too, things change you might want to move to a different provider.

Total Upfront cost: $222 + $5 + $20 doe DNS. Then recurring monthly is $5. The recurring yearly $20 for DNS.
The first Year you are looking at $55, not including the upfront cost.
Then the second year and going forward you are $60/yr and $20/y

The super nice part of all of this. you can destroy your environment with a vengeance, then start up a new droplet and things will be back to normal

This lappy did its job and is retirement with the significant other doing bills and looking at Facebook. Somedays I still wonder if that lappy misses the days of writing code till late in the morning on the back and only having to run the charger cable once. I would like to think it does.

My personal note, stay out of the cool guy editors at first. Use a minimal setup until you know exactly what you will be working on.
People always quote this for all sorts of causes, but the fact that you're at one stage doesn't mean you're going to move to the next:

- First they ignore you. Nobody ever notices you.

- First they ignore you, then they laugh at you. Nobody takes you seriously.

- First they ignore you, then they laugh at you, then they fight you. You lose.

- First they ignore you, then they laugh at you, then they fight you, then you win. Congratulations! Now who are you ignoring?

ISTM you need to have a plan for crossing each of the three filters, rather than saying "they're fighting us, therefore we'll win".

EDIT: It's even funnier if you realise that the quote is symmetric and using it as an argument also proves its opposite. Activists often sub in government/"the system" as the "they", but activists could be the "they" from the system's perspective. They start by ignoring the system, then mocking it, then fighting it, then the system wins?
> One way to do that would be to collect all actions done in each frame (instead of mutating) and then apply them all to create a new frame in a single step (a "reduce")

This is actually a reliable way to construct most programs; it can aid significantly with reasoning, debugging, and performance. I try to build software this way whenever I can.
Mexico Earthquake 7.1 Magnitude Live Video (2017)
For anyone reading this and thinking "wtf, no barbecues?!?", this is ostensibly some kind of anti-pollution measure to combat the extreme smog in China (though in practice likely just to make people think they are taking the issue super-seriously while refusing to address the actual problem).

http://www.independent.co.uk/news/world/asia/chinas-pollutio...
Now you're thinking like the classist that the elites expect!

It was only that way for most people because of economic status.

The rich have been pandering to and pampering their kids for generations.

None of them are kicked to the curb at 18 or told to mine, smelt and chop down the materials for their guitars.

It's "adulthood" to you because that's what the adults that reared you apparently told you to do. Because that was THEIR experience too. Not because it is some requirement to join "adulthood".

If the outcome is the same, the sense of being more free is an illusion, isn't it? You're just on the same old path, even though the buildings and faces look different.
Could you write default username/password on a release page? :)
Note: I like to read about Rust but don't work with it seriously, and don't follow Swift at all. Corrections welcome. That said, these seemed like the key passages:

"Swift has always considered read/write and write/write races on the same variable to be undefined behavior. It is the programmer's responsibility to avoid such races in their code by using appropriate thread-safe programming techniques."

"The assumptions we want to make about value types depend on having unique access to the variable holding the value; there's no way to make a similar assumption about reference types without knowing that we have a unique reference to the object, which would radically change the programming model of classes and make them unacceptable for the concurrent patterns described above."

Sounds like a system in the vein of rust but more limited, with more runtime checks and no lifetime parameters, falling back to "programmer's responsibility" when things get hard. The last paragraph makes it sound like one of the motivations is in enabling specific categories of optimizations, as opposed to eliminating races at the language level.

One of my biggest questions as a reader is how a language like C handles these cases that Swift can't handle without these guarantees. Is this a move to get faster-than-C performance? Does C do these optimizations unsafely? Is there some other characteristic of Swift that makes this harder than C? Closures get a lot of focus in the article...
Glad you mention your situation, because it's an important distinction and definitely not what I meant at all.

I can see how it could cause an issue with some employers, but I would consider a 42 year old person with only three years experience not to be an issue whatsoever, in fact I've hired people with that profile.

One example was a guy with a degree in Biology who had ended up in technical sales for DNA related products. However, this was when mobile apps were getting hot, and the guy had shown an uncanny ability to learn iOS and build a few small but respectable apps using Objective-C during whatever nights and weekends he could scrape together. Considering many full time devs at the time struggled with Objective-C it was an impressive accomplishment. It was impossible to fake because we could scroll to a random piece of source code and ask him to start explaining it, which besides verifying he did the work, gave valuable insights into his development thought process.

These concrete results, combined with probing discussions of how they came about, proved he was smart, had the ability ramp up on new tech quickly, could make some immediate contributions, and as a bonus that he was full of motivation. He worked out great, and to this day we maintain occasional friendly contact.

Point being "work history" can be looked at in many ways. I'm advocating an emphasis on specific results, contributions, and weighing the value of those, not really generic work history patterns.
Yes. I guesstimate that the China exchange and miner crackdown has been priced in for weeks, if not months.
No, this is pretty expected. All the script kiddies are scanning port 22 and nothing else. Recently I made the mistake of changing a root password (I know, SSH root acc ss, bad idea) to a dictionary word. In 1 minute the system was penetrated.

With a nonstandard port, bots mostly don't even bother to scan you.
How to Install Jenkins Server on CentOS 7 to Automate Your WordPress Tasks
> Is there marketing when it comes to hashing?

Hashing is pretty much a market for lemons - the adopting user is confronted by a complex math they don't understand and there is a definite problem if you drive out with the wrong hash function. And there is no way to tell without actually being miles down the road when you find out whether it was a peach or a lemon.

The choice by a user might come down to the same sort of vague arguments in a used car lot - "I hear Hondas don't break down much".

There's always some "academic influencing" to do more research based off your own papers, which in turn drives more grants to your own branch of research. At least that's what I read off the following quote

> "We feel that the cryptanalysis of more structured designs such as Rijndael/AES or Keccak/SHA-3 leads to publications that provide more insight."
> One of my biggest questions as a reader is how a language like C handles these cases that Swift can't handle without these guarantees.

C doesn't address these issues at all as far as I know.
The lack of CarPlay made the Volt vs Prius Prime a pretty easy choice. That... and the design of the Prime, but I digress.
Why/How has Reddit deteriorated so much?
I've been browsing Reddit for several years. I recently had to quit.

The front page looks like it's either bot-generated clickbait, ads or children making jokes.

How did they get so low? Did they flood their userbase with children? Did they push out the serious users with over-moderation and the flood of agenta/Ads/PR posts? Or did they just bury the good content under a load of clickbait crap?
Germany, the largest economy in Europe, does not do single-payer.
Look into the Impossible Trinity[0] and the history of exchange rate pegs.

[0] https://en.wikipedia.org/wiki/Impossible_trinity
AMP links? Really? Here's the non crapified link:

http://www.telegraph.co.uk/business/2017/08/15/chinas-debt-b...
I don't think the Stack Overflow data is fantastic, but I'm not clear that the BLS stats are any better for the fancy credentials of their collectors.

In either case, the problem is coming up with a reasonably accurate reference class. At least in my case, I'm not well represented by the BLS breakdowns (which underestimate what I can expect to get by a factor of about four.)

The Stack Overflow approach, using industry-specific features (developer-friendly keywords/job titles/languages) is definitely smarter, though still wildly insufficient. (It's only off by a factor of about three.)
NodeMC: How Open Source Can Crash and Burn into Something Beautiful
I found out my car's infotainment system can run HTML/Js/CSS apps. The performance guidelines give you a great hint about the hardware (or lack thereof), they discourage using percentages for example. And have strict versions of Angular 1 and jQuery you're allowed to use
I have added it. The username is `user` with an empty password, or `root` with a password of `password`.

The only way to change this at the moment is to edit `/etc/passwd`, where they are stored after being encrypted using argon2.
Well, for a country that doesn't want capital flight, anyway. I mean, you want those capitalist rats to know that they'll go down with the ship, after all.
How does my iPhone know which PC I've plugged it into then? Even when iTunes isn't installed (so no "Apple Mobile Device" drivers) it seems to remember my privacy preferences on a per-host basis.

I'll concede that may be a feature of the allocation protocol running on top of USB (PictBridge?) but that still means that mutual identification over USB is still possible. I'm pretty sure it's in the USB HID spec that the Xbox controllers implement.
Oh god, not Jean Twenge.

People, please, please read the Strauss and Howe book (Generations), not Jean Twenge. She makes overly-cranky observations about generations (especially younger ones, like Millennials and Homelanders) without the context of the rest of generational theory. The things I have read from her before seem to show a very basic understanding of the topic of generations compared to others who came before her.

I mean, Strauss and Howe wrote about (predicted, you might say) that the youth would clean itself up as this current cycle progressed by way of exacting Boomer expectations (in hypocritical contrast of the Boomer's own behavior during the late 60's and 70's). To anyone who has read the book, this is news article is probably coming as no surprise.
Most of the northern states don't have much sunlight and have cheap enough power to make it not worth it.
Serious question. React has been around for a while. Companies like Airbnb and Wix, for example, have been using React for a while. If Facebook were going to leverage this the way people are scared of, wouldn’t there be some example of them using it the way people are scared of? You know, on a company doing something it’s proven that they could make major money on? It’s not like this is a new provision, it’s been around for a while, and they’ve not used it to backhand a single company that I’ve come across (please, correct me if I’m wrong on this). So can’t this be boiled down to a conspiracy theory? There are massively successful, profitable companies who they haven’t tried to leverage these provisions on, so I’m honestly trying to figure out, what’s the basis for this fear?
Ford supports both Android auto and apple carplay with the latest generation of sync. The interface is extremely responsive to boot. I'm not sure I'd call that horrible.
>No new words are needed.
Probably true. In fact watching the film Avatar where the Na'vi can connect with their environment is perhaps the best example of consciousness in action switching its focus from one part of the body to another, where their environment is their body, and the Na'vi is consciousness itself.

Our bodies are largely autonomous with cells communicating via a variety of methods either pumping in/out chemicals to the cell itself or the immune system placing protein markers for other parts of the body (immune cells) to deal with bearing in mind that every cell in the body has a complete copy of the DNA.

One thing I have learnt about the body, is there is alot of redundancy built in for it's survival, every cell has a complete copy of the DNA which can be altered leading to cells not functioning properly, and there are a variety of means in which the consciousness can be alerted to problems which need addressing like hormone's or nerve messages.

Simply dropping 500Mg of niacin (the non flush variety) on an empty stomach demonstrates how quickly the prostaglandlins can be stimulated into action in many different parts of the body, not just the skin but internal organs like the lungs & liver. How aware you your consciousness is about these changes and effects is perhaps also an indicator of your consciousness, just like some people are more aware of their food cravings.

When considering food craving's & how pregnant women can suddenly start craving things like coal when they perhaps have never eaten it before also indicates some sort of memory that may have been passed on by their parents, or maybe there is some other subconscious mechanism which perhaps through the nose enables the body to identify a substance which contains chemicals which the body needs.

The fact our taste and enjoyment of food and drink is altered simply by light also indicates our consciousness is easily swayed over the logic or remembered/imagined experience.

Ultimately its hard to define what consciousness is exactly because when considering the blood brain barrier and how hard it is for some chemicals to reach the brain but not other's, is our consciousness largely just a collection of learned experiences where nature has utilised cholesterol into a storage medium and consciousness itself is just a memory of chemical & electrical responses in a variety of cells which certain feedback mechanisms like nerves, immune system cells and hormones the brain is able to remember and influence its behaviour as a result?
"Khosla could face fines of $11,250 a day, or more than $4 million a year, for every violation of the state’s Coastal Act"

For someone worth over $1 billion that's a pittance. He'll makes more than that simply by putting his money in short term CDs. (Or the 7% returns from the S&P 500.)

Could he also be jailed for violating a court order? That would get his attention.
Came here to say this, only to discover that someone beat me to the punch.

Cool!
So React is damned for including a PATENTS license and GraphQL is damned for not including a PATENTS license? Facebook can't win for losing. Geez, wish they would just re-license under Apache 2.0.
Here you go: Have you ever heard of capital flight from Russia? Oligarchs sell oil then then purchase houses in London or Manhattan. The country is gradually hollowed out. China, OTOH, is trying to keep the money at home.
When, besides emergencies, do you go in to the doctor and come out with a surgery in the same day in the US or even the same week? My only real surgery was emergency or reconstructive right after the swelling went down. All of my oral surgeries were at least 2 weeks and could easily have been a few months out. Wifes major oral surgery was months in advanced.
Infotainment system developer here, A number of people have mentioned preferring/wanting Android Auto/CarPlay in their infotainment systems, and that it would be preferable to many of the systems that exist in current vehicles. I have a couple of thoughts.

The Infotainment system is one of the most user-facing components of the vehicle. It's something that can reflect the brand identity of the vehicle, and most OEMs are not eager to cede that space to Apple or Google. Google and (especially) Apple certainly aren't interested in mixing their branding with a manufacturers.

The utilization of AGL doesn't necessarily mean CarPlay or Android Auto are out. AGL is a system, and CP/AA are applications.

While I certainly believe there are a lot of terrible systems out there, I also think there are a lot of systems that people don't like because they never took the time to figure out how to use them. Cars aren't like phones. When you're in them, you're most likely driving and you don't have the bandwidth to figure out how to do something as well as drive. A while back I saw a study that concluded if you didn't learn something about your infotainment system in the first 3 days, you never do.

I encourage you to actually identify the things you find confusing/frustrating/difficult about your vehicle and write a letter to the manufacturer. Customer input makes a big difference. And no, "It's not CarPlay" doesn't help. That's kind of like sitting down to Windows and complaining to Microsoft that they didn't give you macOS.

(Thoughts are my own, of course)
There was some democracy in the late 1800s to early 1900s. But it didn't gel with the Confucian ethos. Stephenson's Diamond Age is actually pretty informative.
Azure works with plenty of open source technologies. Just because a stack is hosted in Azure, doesn't mean it's inherently a .NET stack
I dont follow. More medical procedures done should reduce cost, unless you are constrained by the supply of doctors. Is that what you are saying?
Most interesting aspect to me is the deflationary aspect. Savers in today's society get punished. If you don't want to buy lot's of stuff and instead want to achieve financial freedom, then Bitcoin can be a viable alternative.

Additionally I work abroad, once I realized how much is was going to cost me to send my salary back home using the traditional banking system, I quickly became a bitcoin enthusiast
Gas lines were not extant continuously from 1973 - 1982. They existed, briefly, at the height of both the original Arab Oil Embargo induced oil shock, and after the Iranian Revolution when Iranian exports to the US were curtailed.

A number of factors, including US-Saudi relations (cemented after 1973), and the on-lining of both North Sea and Alaskan North Slope oil, brought down global oil prices, which would not be responsive to just US actions. See the BP Annual Statisical Review of Energy for any recent year for a global price history of oil dating to 1859 in both real and nominal terms.
Sure. You should just open the project in Android Studio and it will download all the dependencies it needs. After that it's more fun to compile from the command line, you just need to create a key and then make sure local.properties and signing.properties are filled in correctly[0] and then run `./gradlew aR` to build a signed release build with your own key.

[0] https://gist.github.com/alanorth/a755abbe21f5fdde2281771edae...
A few days ago someone posted this in a comment.. I can't find the comment, and the whole thing is worth watching, but since apparently a lot of people share this sentiment, maybe they too can have some of their faith restored a bit by this rant; and it's why the idea of "integrity first" was floating in my head: https://www.youtube.com/watch?v=bNfAAQUQ_54&t=42m43s
Sowell's version of economics is exceptionally ideological and partisan. As would be pretty much any other author associated with the Cato Institution (as is Sowell), or the broader Mont Pelerin movement, including Milton Friedman and Howard Hazlett.

Their treatments are popular, amongst a certain set. This deosn't make them accurate.
Logging in to HN for the first time in several years to say thank you for your swift and responsible action.
I have not been able to figure it out (or any other language translation for that matter). Or Google translates this in-house with no possibility for outside contributions?
That's not such a strong distinction, I think. I mean, "legally" and "illegally" are defined by the State. And there's plenty opportunity for selective/surprise enforcement.
I noticed this too. Was waiting for the big problems and they never surfaced. I expected him to talk about ignoring warnings from low-level people or disregarding PCI-compliance reports... It's easy to dismiss the music major thing as "fake news" or whatever you want to call it. What did this multi-million dollar organization miss? Surely they have outside PCI checks for common security issues, right? Maybe she ignored middle managers. Did they fail to renew some contract (like the NHS did to pay for extended Windows XP support) and updates stopped? What was it?