skysight-inc/HackerNews huggingface dataset:
In languages, this is accepted practice. Was Perl 5 backward compatible with Perl 4? Or C11 with C99? Or even C99 with C89, or K&R C?

If you use reasonable and forward-looking language constructs, it will be runnable – or at least very easy to port to – newer major versions of the language. This is also true for the transition from Python 2 to Python 3. The problem is that a lot of people used (and still use) Python 2 badly.
>>>open(b'test-\xd8\x00.txt', 'w').close()

Is that a C-string? Does it crash if one forgets the null byte?
My impression is that he went to the ChiComs first, they decided his stolen files were too hot for them to handle, so he went to Russia as a backup plan.
Many of those essential services are already in place in Amsterdam. The people receive such jackets are already in an improvement program.

By receiving money via the jacket, supervisors can deduct money for food/shelter services. They can teach them how to handle with money.
Ok, if the "year ago" scenario is far fetched, then I'm not even going to pretend I can remember when I was on this day a month ago,much less where my car was and who was driving it. Like I said, I am not required by law to keep a record of every single person using my car with the times they used it, so how can the law require me to produce said information? If me + 4 other people are insured on a vehicle, that means that possibly, it could be one out of 5 people driving it on a given day. I have no idea which one it was. What then?
Here's my previous comment on an Ask HN wondering why the U.S. didn't get Snowden:

>They could if they wanted to. Do they want to? If they get him to the U.S., they'd have to deal with him.
I don't think they want to get him because it'd dramatically limit their options and possibly set a precedent with far-reaching consequences (is he a traitor? is he a hero? what does it mean to be either? is the public ready? how well would a pardon be received? if they pardon him, who else would they have to pardon? what does it mean to leak sensitive information? what does that mean for cases of espionage?)
Why address the elephant in the room when you shouldn't have brought an elephant in the room in the first place? Just let the elephant where he is.

There are examples of lenient sentencing, though. Former U.S. Chief of Staff to the Vice President, "Scooter" Libby, was not pardoned after he had blown the cover of an intelligence officer (classified information) to a news outlet. He was disbarred, but not forced to exile. He was reinstated a few months ago, ten years after the events.

I think Snowden being in the spotlight cuts both ways: on the one hand he stays relevant, people don't forget about him, and it'd be a complication if anything were to happen to him..

On the other hand, it makes it much, much, harder to pardon him and to regain his former life. (It would be easier if it were done discreetly, but discretion is out of the question now.

Finally: this could also be one hell of an intelligence operation, placing Snowden just right inside a country that is clearly on the rise and representing a challenge for the U.S..

Heads: China. Tails: Russia. Of all the countries in the world. This would be an operation for the books.
Python 'got itself into this mess' by having a broken string handling design. Python 3 fixes it - the incompatibility is not there for the sake of incompatibility.
Cashiers do not haggle with customers, but the whole on-sale process is more about engaging price sensitive consumers than you might suspect. Forming a rough analogue to a stereotypical in-person negotiation.

They also have a reputation for playing hardball in negotiations with their suppliers. Which has a lot to do with those low prices, and seems wrong to leave out.
I do not find this to be the case. Right now I'm looking at the journal and observing the existence of _SYSTEMD_UNIT fields for messages that have been written to a process's standard error stream.
> It still performs quite poorly for many other things, like compiling, physics calculations, network tweening in multiplayer games, and all the things you can do with your computer outside of the basics. Thats not e-penis, thats real work/applications that still suffer quite badly, even with an I7 extreme edition.

The market share associated with those use cases is between very slim and practically nonexistent.

Then, you've isolated the market segment which is willing to pay a premium for performance, and then argue that cost is a factor.

> Thats not e-penis, thats real work/applications that still suffer quite badly, even with an I7 extreme edition.

Quite frankly, those who care for performance and are bound to a budget are also not waiting for new product releases. They are in fact paying attention to the used parts market, where nowadays it's possible to buy dozens of server processors for chump change.

As an example, nowadays it's possible to buy on ebay dozens of bulldozer-based Opteron processors for the same amount of cash that a brand new i7 processor is sold for, and whoever is interested in computational power can easily setup a 4-socket Opteron server for less than €1000.
I'm pretty sure that's why they wanted him stranded there.

Letting himself get associated with Russia is one of his few mistakes, although he didn't have many options.
Ordered to try, thanks!
A History of Carpets: How Fabric Flooring Went Wall-To-Wall
I think the rule template is:

What happens in %REMOTE_PLACE%, stays in %REMOTE_PLACE%.
I don't think it was so much about the parking ticket but proving a point about the gross violations of power that the city was committing. Ultimately the person responsible should pay the fine, but it's unacceptable that a city picks and chooses parts of the law that it wants to follow. It's even crazier that there appears to be some contractual arrangement with a private company to issue some quota of speeding fines!
> The only problem with Python 3’s str is that you don’t grok it

Sadly this quote shows a fundamental lack of understanding of the problems with the Python 3 string type.
As a Laravel developer that listens frequently to Taylor Otwell on the Laravel podcast[1]: yes, it is. I heard Taylor say multiple times that one or more parts of Laravel are inspired by RoR.

[1]: http://www.laravelpodcast.com/
Ah yes, the 5200 hours bug. That was fun to read about only a few days after plugging in my Crucial M4.
> Was Perl 5 backward compatible with Perl 4? Or C11 with C99? Or even C99 with C89, or K&R C?

Yes.
> I then asked the question one is taught never to ask on cross—the last one. “So, you signed an affidavit under the pains and penalties of perjury alleging probable cause to believe that Adam MacLeod committed a violation of traffic laws without any evidence that was so?”

As a layman, can anyone explain why they are taught not to ask this?
And doesn't happen only on dialup either, but tethered and mobile connections while commuting - when most people are using their mobile devices to browse around.
Tangential: the number of anonymous viewers (hovering around 50) is an amusing juxtaposition with the small "Proprietary" in the bottom-right corner of all the slides.
Is this a comment on the article or just its title?
This specific example would not work, since NUL bytes are not allowed in file names.

open(b'test-\xd8\x01.txt', 'w').close()

Makes the same point.

Note that

b'test-\xd8\x00.txt'

is totally valid. You just can't use that as a file name.
My first programming class employed Pascal. It hasn't held me back. Let them learn Ruby... one day they'll tell it to their grandchildren and everyone will have a laugh.
My scale also does this.
Just add a delay of ~5min for automating resending? Tada, problem solved?
He signed a piece of paper, stipulating someone committed a crime without evidence. In order for officers to arrest you, they need probable cause. Without evidence, he has no probable cause. He lied under penalty of perjury, saying he had evidence of a crime committed by Adam.
I think part of the problem is that many online discussion places (e.g. twitter, facebook, reddit, HN) implicitly reward people who 'react quickly' and who 'lead' (make 'root comments') over those that 'participate' (make a 'third-level comment', just for a random example).

On reacting quickly: in my experience, if you're among the first few to either make a 'root comment' to some post (on a medium like reddit or HN) you're much more likely to receive a large number of votes, positive or negative. And if you have even a slight preference for social validation, you'll play to the crowd by posting an agreeable meme or some variation. And the same goes for those who can quickly post the popular counter-meme as a second-level comment if all the first-level slots are taken. And bam, same old meme-based conversation plays out for the millionth time.

On participating: If you nest any further down than second-level comments, you tend to receive no reaction. No votes and often no replies, so it feels like you're talking to no-one (and you've just wasted a bunch of effort). And it's not that you care about chasing imaginary internet points; you care about receiving feedback that your comment has at least been read by a large audience. I suspect people who don't care about the latter are more likely to write in their diary. Consequently, the discussion can often lack depth.

So: rewards for 'quick reactors' + no incentive to add depth == shallow, pandering to the crowd comments.

I think it's something to do with the time-sensitive nature of these forms of discussion. Perhaps one solution would be to somehow mess with the interval between hitting the 'reply' button and when that reply actually appears.
As much as these speed improvements to Node are awesome, and the team have been doing a great job...

How is only a 1.2x speed regression acceptable? For... Syntactic sugar? [0]

[0] https://docs.google.com/presentation/d/1wiiZeRQp8-sXDB9xXBUA...
I wasn't trying to suggest that C++ was the cause of the compiler issues, just that Swift wasn't.
To be fair, broken string handling is extremely abundant.
> Fitness didn't come true with the Wii

The question is 'why'? There's no denying playing a Wii game involved burning calories so the only explanation is that people stopped playing it.

So the question is really about whether or not people will do the same with VR and currently the majority of users seem to think otherwise.

Personal note. I had a Wii and never used it. I bought a Vive 6 weeks ago and have used it every day.
It currently happening in multiple states including the district of Columbia.
Biggest lifehack I've discovered for ameliorating this problem: close your eyes before putting on or taking off the headset. Really helps.
I'm curious what proportion of sites you were confident you were visiting over HTTPS.
Released: Mycroft Plasmoid for KDE Plasma 5
Running that gave:

>>> open(b'test-\xd8\x00.txt', 'w').close()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: embedded NUL character

So yeah, TypeError

Edit: Formatting
There's a good chance Snowden will be extradited by Russia soon, to bolster Trump in his standoff with U.S. intelligence. Then the whole pardon debate is moot.
I mean, what Aaron had noble goals. But he did break into networks and physical locations he had no right to be in. He knowingly broke laws, to do what he did.

And I'm not sure what "being rich" and losing his money matters. He knew the potential consequence of his actions. He got caught, and was likely facing in reality, a year in prison for his actions if he didn't take a plea. But he committed crimes knowingly for the purpose of what he saw as a noble act. That's admirable. But the narrative that he was a martyr maybe goes a bit far.
Right, that's what the officer did wrong.

But MacLeod implies he asked a question during cross that they teach law students not to ask. Presumably because it's kind of a slam-dunk (and he got a slam-dunk response). But I'm curious as to why it's a bad idea to ask.
It's awfully difficult to copy something that doesn't exist.

"Android, Inc. was founded in Palo Alto, California in October 2003 by Andy Rubin"

https://en.wikipedia.org/wiki/Android_(operating_system)
I have a question.

> For two years, Sarah Nahm was the only woman at Lever, the company she co-founded and now runs as CEO... has roughly 100 employees... has a roughly 50–50

In any company, the first X hires are likely doers - e.g. for different companies, all software developers, all plumbers, all landscapers, all accountants, all lawyers. Then the roles you hire for start to change. Lets say hire say 5 is a sales person, 6 is an accountant, 7 a marketer. Then a company starts to hire lower-skilled support staff like personal assistants / people to answer phones, a gopher maybe, then say cleaners. These lower skilled jobs are easily filled with either gender, but pay a lot less.

So my question, in a company with a female founder, and a proud 50-50 gender ratio, this seems the best chance to hit pay parity, and I wonder, has that happened? Is the ratio of pay $1-$1, or does Lever have the classic $0.77 on the dollar pay gap?
Though not a believer in the Christian sense, this sounds awfully like we're heading towards the number of the beast here. I'm not about to stockpile gold and coins, but if electronic currency is forced upon me, the less I'd want to use it.

On one fortunate side, at least for now, in the US there are enough people far more vocal than I am about this if removing physical currency were ever genuinely proposed/pushed.
The problem is that in Python 2, "str" is a bytestring and "unicode" is a Unicode string, whereas in Python 3 "str" is a Unicode string and "bytes" is a bytestring.

In my experience this is the main reason why Python 2 users get confused. I can understand why the renaming might have been a good idea (to avoid changing the semantic meaning of an expression while leaving the syntax intact), but I can understand why people don't "grok it" immediately, though it is rather simple if you know it.
Isn't Signal in the same boat?

They are a US company and they control what version of the app is in the play/apple store. They could be force to push a version of a flaw and no one could verify it. The source looks good but the app that has been distributed is not.
No, it is not a C-string. Python remembers string length regardless of null bytes.
The Coin? Gold. Its ‘Real Value’? Lady Liberty Is Black
Need for Speed Deluxe Edition Free Download Leatest Version
The Cure for the Modern Man Malaise (2011)
Actually, no.

There are many differences between K&R/UNIX C and C89. For example, in K&R string constants could be modified, and repitions of the same constant would be different strings. This is not the case in C89. Variadic functions are different. Octal numbers were changed. Arithmetic works differently. And so on.

I can't comment on Perl 4 vs 5 vs 6.
So, for example what is The Py3k Right Way to fetch an URL with text content into a string? The example https://docs.python.org/3/library/urllib.request.html#exampl... just says "it's complicated, we just know it's utf-8", and even that would bomb out if there's a character spanning the 100 byte boundary.

To me it looks like by insisting on lossy byte/string conversion of all I/O the language painted itself into a corner, with funny
"a bytes is not a string" chanting sideshow.
It's perfectly possible to buy glasses that only minimal obstruct your field of view, and let you look at things out of the corner of your eye.
> But I am not required by law to keep the record of every single person driving that car, am I?

No, but if you do not it's on your head, you are personally responsible for the use of your motor vehicle.
I've personally never read the leaked documents from Chelsea Manning, but from what I understand, it exposed a lot of what was going on at Guantanamo Bay, also including videos of truly horrifying air strikes in Iraq and Afghanistan.

I don't know if you would classify this as merely 'somewhat interesting' confidential information, but personally I am glad it was released and I think the public has a right to know about these things.
It isn't just shift scheduling, it's email hosting, online office and other services (the mentioned staffhub)... They're undercutting Google Docs, and offering more services.

As interesting to me is email-only seems to be $2/user/month, which is really competitive to stand alone email providers.
I let my wife, who has zero interest in games outside of Candy Crush, try on Google Cardboard (minimal immersion) on an iPhone (horrible display for VR) with the demo apps (can't even call them games really) and she was so engaged she ended up walking into one of our shoji/paper doors tearing a hole in it.

Once Vive-level VR comes down to wireless/portable size and down in cost to the $300 range it's going to be MASSIVE. Maybe the first generation ("until we get 16K 120fps headsets") will not appeal to productivity or hardcore gaming buffs, but 100 million Wiis were sold, and there was nothing technically impressive about that thing.
> Is that a C-string?

It's a Python bytestring.

> Does it crash if one forgets the null byte?

No. But in that case it will crash when you use it as CPython (and most FS APIs, and most FS) don't allow NUL in filenames.
I'm getting way out of my depth here. My understanding has been, and seems to be corroborated by the Wikipedia article above, that the fifth amendments no-self-incrimination clause is usually interpreted in the context of an inquisitorial system - specifically the way the inquisitorial method was applied at Star Chamber.

IANAL, but the way I understand it is something like: You are a court, and you're trying to determine how the 5th amendment applies in some tricky case. The text itself might be ambiguous or unspecific in your case.

One way to approach that ambiguity is to look at the history of the amendment - why was it written, and given that, what is the most likely intended way to read it?

For the 5th amendment, the context is that the Court of Star Chamber used the inquisitive method, combining the search for truth with the force a court is able to apply to a defendant. In doing so, the Court of Star Chamber highlighted a flaw in the inquisitive method: Combining the right to apply force to its subjects with the job of determining truth created incentive for extensive abuse, as the court forced false testimonies out of its subjects.

Hence, the 5th amendments no-self-incrimination clause can be interpreted to exist to weaken the inquisitorial method in US courts, reinforcing the US commitment to an adversarial system instead.
Hmm. It's probably great advice for the individual, but perhaps worse for society. I noticed that the smart are fearful and full of doubt but the stupid are cocksure and confident. Because of this the stupid voices outnumber the smart. So I put up a youtube advertising the benefits of smart people speaking up and spreading their ideas.

So in the case Balaji's net benefit to the world is greater through what he builds, than what he says on twitter, we win. It must be said that communication exists to change behaviors, so if you want better behaviors, you need better communication. It is possible that your total gain to society is higher influencing others into better behaviors than by building alone, and they're not mutually exclusive.
The product is bundled with other Office 365 services and software (email, online office, yammer, etc).
> Dealing with a aggressive negotiator is a signal of a pain in the ass to me, better to cut bait.

"Please stop the yelling Bob, that's not helping your argument. You come back with an offer from another company and I'll see what I can do."

Negotiations going aggressive is a sign of immature negotiations. Speak calm and slow. Keep it short, the longest it goes, the more chance it has to go wonky.
I was actually perplexed, after reading about signal, that I couldn't just download an APK.

Are play services required for signal? If so, can I even install signal on a cyanogenmod phone? Can you do so by rebuilding it yourself? Does the build match the shipped binary on the play store?

To me, Signal does look exactly in the same boat as whatsapp. The fact that WhisperSystems didn't cooperate harder to ship Signal in F-Droid is also a major let-down.

Is any other app sharing the same protocol?
The Dumb “Smart” Gear That'll Get Hacked in 2017
The fact that Python 2 is so permissive when mixing bytes and strings I think is the fundamental reason why people think Python 3 strings are broken.

In practice what happens is that Python 3 won't allow you to mix bytes and strings at all, and it will force you decode and encode properly. Python 2 will happily try to implicitly convert to and from ascii when needed. Now, this might seem simpler at the beginning because in Python 2 you require less boilerplate code, but then later, when you have to deal with a different encoding or when you use non ascii characters, you get really weird, hard to debug problems that cause real pain. Python 3's strictness is helping you preventing these kind of cases.
From the comments, and even looking at the splash page it's pretty obvious MS really failed to point out that this is an additional service on top of what Office 365 (K1 level) offers... hosted email, online office, yammer, etc... and now the StaffHub (however that works in practice).

It's an interesting idea, and the $4 pricing is definitely competing with Google Doc's $5 pricing that I've seen in some bundling. I think the $2/user/mo email only hosting is pretty interesting as well.
Docker 0-Day Stopped Cold by SELinux
I am curious what he would have done if the officer had answered "no." He never addresses that. Possibly the principle he refers is "never ask a question that will turn into a dead end (nowhere to go in the examination) if the witness answers in the unfavorable way" (i.e. "no").
Rituals of Shaming in the Software Industry
How Jasonette Went from an Esoteric App to a Radical New Way to Make Native Apps
Speaking from personal experience, I completely agree with your comment. Also, I've seen people move from regular opiate use to not even caring about opiates, on account of (what I assume was) their transition from emotional instability to emotional stability. I think that a large part of prescription drug abuse is due to using them, as you said, as an instant gratification anti-depressant.
I can't tell how that works in UK, but here (another EU country), such law is avoided by a different status of the traffic offenses. The full protections of the legal are awarded to the criminal punishments, but traffic/parking tickets aren't subject to some of the legal protections (like a trial, required witnesses). This allows them to have inverted burden of proof (we've seen your car do the traffic offence, so now you have to pay the fine or point at the actual driver at that time).
Why can't the national health be handled as infrastructure?

I mean, we pay taxes for streets, so people can get everywhere. We pay taxes for schools, so people learn everything. Why not pay taxes, so people are kept healthy?

The whole public healthcare stuff doesn't even work like a real insurance, so why not throw this stuff away, make a health tax everyone pays, call it exactly that, and be done with it?
Apple ][

Or as we called it in Germany: Apple üä

(Switching to German characters changed the ] and [ to ü and ä.)
Wire uses the signal protocol. [1] I am not sure if they require google play services but I thought saw something a while back on their github regarding a fallback if google services was not installed and battery consumption.

[1] https://wire.com/download/
Probably it is not a backdoor but still insecure. End to end encryption is not what they offer but they make you think you are safe. They should clearly state that in a big splash message.