skysight-inc/HackerNews huggingface dataset:
In Python 3, a "bytes" type is too much like a string. It's supposed to be an array of [0..255]. But

>>> s = bytes([97,98,99]) # created an array of "bytes" from a list of ints.
>>> type(s)
<class 'bytes'> # it's really a type "bytes"
>>> s
b'abc' # but it prints as a string
>>> s[1] # each element, however, prints as an integer
98

Python 3 thus isn't rigorous about "bytes" as an array of byte values. It's become less rigorous; you can now use regular expressions on "bytes" types. If Python 3 had taken a harder line, that "bytes" is just an array of bytes, the distinction would be clearer.

Actually, Unicode has worked fine in Python since Python 2.6. You just had to write "unicode" and "u'foo'" a lot. In an exercise of sheer obnoxiousness, those were originally disallowed in Python 3, instead of making them null operations.

Strings in Python 3 appear to be arrays of Unicode characters. This is a bit tricky, because Python doesn't have a Unicode character type. Elements of a string are also strings. There's no type like Go's "rune".

Python has successfully hidden the internal structure of UTF-8 strings. Internally, representations can be 1-byte, 2-byte, or 4-byte, plus an optional UTF-8 representation. This means a lot of run-time machinery.

Go and Rust both have a string type that is both internally and visibly UTF-8. They're subscriptable, but at the byte level. An element of a Go or Rust string is not a string, a character, or a rune - it's just a byte out of the middle of something.
The same is true for slices of strings; they are not necessarily valid UTF-8. This is a cause of trouble. You shouldn't be subscripting through UTF-8 byte by byte. In practice, you have to be aware of the UTF-8 representation in Go and Rust, or use a library which is. Here's my grapheme-aware word wrap in Rust.[1] Too much touchy fooling around with byte-level indices into arrays there.

Arguably, if you're going to use UTF-8 as an string representation, subscripts should be of an opaque type, not integers. You should be able to move forward or backwards one grapheme at a time cheaply, and if necessary, create an array of slices which represent all the graphemes in the array. Then programmers could random-address strings without fear, and you don't have multiple internal representations.

[1] https://github.com/John-Nagle/rust-rssclient/blob/master/src...
It does [if you enable it], but in special circumstances (as described in the video/article) the warning is only displayed AFTER your messages have already been delivered to a new phone.
Afrikan Tech Research and Publications
How many Ubuntu 16 User don´t know whats Happening
...Behind Ubuntu 16

//told me about ~ 72433 user ?
I get that the Government's phone does not have Laura's private key. What does Airplane mode have to do with it though? Does this exploit only work when messages are sent unconfirmed/no-network from the sender's phone?
DIY cellphone (2014)
In short, yes, the PC culture is way out of hand. We are teeter tottering over a chasm being pulled by two extremes: free speech as the right to insult whoever and however you please, and curbs on free speech because it can be threatening and scary and hurtful. Unless we find some middle ground the end to this conflict will not be pretty.

Where do we go from here? Respect each other, treat each other kindly, extend grace readily, and individually work to develop thicker skins. We are all too sensitive, and quick to take offense. There will be lots of people who don't agree with us, who say mean, hurtful, scary things to us... We must expect this, and embrace our fortitude. We need to stop seeking safe places, and comfort, and instead seek to grow through the fires of difficulty. I think there's a lot of truth to the phrase: there is no growth in the comfort zone, and no comfort in the growth zone.

If that is true then I fear the new generations drive for safe spaces (etc.) means that they are missing crucial opportunities for growth.

Let's be clear. Out here in the real world it's a dog eat dog place where no one gives a shit about your feelings. Either you are an asset (HR = human "resources"), or you are not, and you are summarily terminated.

Bottom line: all of us need to become more tough, stronger. And that only happens by challenging ourselves, being uncomfortable, interacting with those who disagree. I personally embrace opportunities to learn from those who have, for example, different political beliefs, because I believe it enriches and challenges me...And therefore makes me a more whole and well rounded person.
It now is a lot more clear what's going on here. The discoverer of this issue is basing his argument on the fact that when you verify a fingerprint, you are now confident that your end-to-end encryption won't transparently send your encrypted data to someone with a different keypair. The other side of the argument is that if WhatsApp actually did what you expect, data would be lost when a person switched phones in the middle of someone sending them a message. As a person who doesn't switch phones very often, I would prefer an end-to-end encryption to never send data to a different public key than the one I've used before. I would rather lose data than divulge it to a third party who has the ability to spoof the recipient's phone. This would only come up whenever someone switched their phone when I was sending them a message, so it's pretty rare.

To me the trade off is a no brainer, and apparently to Facebook and Whisper Systems the trade off is a no brainer in the opposite direction.
So much of our iSeries code has (c) 1979 in the header. Nearly 40 years.
From eyeballing exhibits 2 and 3 in the paper, it looks like pain medication doses dropped 5-10%. That seems like a lot in only a couple of years.
"Never assume you know best" well I'm sorry but I'm not trying to make a school that caters to every single person's personal issues. I'm trying to create a leading silicon valley / silicon beach code school where the best of the best go. Being blind has lots of limitations I'm afraid. I would tell my own son this if he was blind too. And I do know the best about _this_ issue. I've taught 100's of people coding and trying to do it on a Mac is much more efficient. I have not had a single blind student yet.
I think you misunderstood me entirely.

I wasn't saying it was in someone's control. I was discussing analysis of the system as it is.
E2 is explicitly a non immigration visa. In fact you need to demonstrate your intent to NOT immigrate during your interview process.
Ask HN: How do you back up your NAS/home server?
I backup my NAS to an external drive but I have no remote backups. On my personal machines I use Backblaze but they don't offer a linux client. How do you back up your NAS or home server?
This is a giant scam to screw the public out of more money. Call your congressperson, make a petition, make a big deal publicly out of it, go to the press, dig up as much dirt as you can; if the people don't make the authorities do their job right, they'll continue to use us as exploitation resources.
all of these are my go-to tools. I also edit inputrc to make pgup and pgdn history search - something I picked up from SuSE version 15 years ago, and stuck.
I came here to write exactly this! Just mentioned in passing, like it's the most natural thing in the world – amazing!
Yep, this is almost certainly part of it; but I'm not sure technological determinism tells the entire story. Consider that in the latter half of the 19th century, for instance, the American magazine market was driven by titles that used new technologies like daguerrotypy and then photography to present big, striking images -- titles like the National Police Gazette (https://en.wikipedia.org/wiki/National_Police_Gazette), Frank Leslie's Illustrated Newspaper (https://en.wikipedia.org/wiki/Frank_Leslie's_Illustrated_New...), and Godey's Lady's Book (https://en.wikipedia.org/wiki/Godey%27s_Lady%27s_Book).

The advertising and poster art of the same period, though, is much more text-oriented. Look at Wikimedia's collections of ads from the 1870s (https://commons.wikimedia.org/wiki/Category:1870_advertiseme...) and 1880s (https://commons.wikimedia.org/wiki/Category:1880s_advertisem...) and you'll see what I mean -- though if you go through them chronologically you can also see them getting simpler and more streamlined as time goes on, so it was definitely a field in transition.

I wonder how much of the lag is just because of the way advertising as a business works. No ad, after all, gets run unless it first gets approved by a client; and the clients are usually more conservative and risk-averse than their ad-makers are. So advertising's slowness in following the culture could just come down to the fact that a campaign has to appeal to the sensibilities of stodgy old business dudes if the public is ever going to see it at all.
I'm not making any argument except pointing out that for many people with pre-existing conditions, buying health insurance pre-ACA was indeed actually impossible.
I have a bachelor's degree in communications, so I guess you could say that :-D
Personally I found "Learn Enough Command Line to Be Dangerous" to be really helpful to get started with actually using the command line at all.

https://www.learnenough.com/command-line-tutorial
We must continue to offend
People usually convert themselves to H1B at some point in the process.
Pinta is a clone of Paint.NET for Linux and Mac.

It's mostly quite good and has very high feature parity. Although it can't resize a selected image portion and so i still use paint.net.
anyone who gets VC funding from a major Silicon Valley fund, uses linux and mysql, and no ms sql server or IIS or any of that _legacy_ stuff. I want to teach people coding so they are ready to go for work major Silicon Valley companies, not legacy it departments.
tyingq lists Hooper at 50MW/320 acres, or 156kW/acre. The Paluel nuclear plant is 5200MW (4x1300MWe reactors) over 400 acres ("160 hectares" according to https://www.edf.fr/groupe-edf/producteur-industriel/carte-de...), or 1300kW/acre, so it's within an order of magnitude yes.

As long as we only consider nameplate capacity and ignore capacity factor of course, which greatly favours solar as it has a much lower capacity factor than nuclear. If you factor that in the difference grows by ~4x (PV in dry southern US states has a capacity factor of ~20%, US nuclear plants are around 90%).
Yes. It only works when the original recipient is offline (when they come back online it can be detected).
Sincerity of course. There's so much work to do on GIMP, especially with GEGL integration and non-destructive editing, and too few hands to work on it. It would actually deserve 5-10 full-time developers given the project size, but 1 for the moment is good enough.

If you ever tried slipping a few line of code for a side-project or a free/open source one, you know how hard it is to focus when you have such limited time and energy.
Pretty much anywhere with a sensible idea of what liability means. When the car is gone, you're not liable for it.

This year a car I used to drive was involved in a serious accident. I sold the car 7 years ago, the owner was just driving it illegally without registration. A few minutes on the phone with the police officer and it was cleared up.
On my version of zsh I was not able to do the following which is available on bash:

http://unix.stackexchange.com/a/203075
I can't promise you that, if you make the jump, you'll land someplace where your skills and efforts will be fully appreciated. Politics pops up wherever human beings are involved. You will probably still have to exert some effort to make sure people know what good work you're doing. But broadly, I think you are right: software is much better about rewarding actual contributions than the situation you describe (which sounds frankly hellish to me -- I can't imagine working in a place like that).
Sorry, perhaps my comment was unclear. I meant "breaking" in a positive way (hence "best") - the UI crossed the line in a very significant and impossible-not-to-notice way.

Still searching for a screenshot unfortunately... may just re-install it and take one myself.
I'm not sure what life issues you are referring to, but I sometimes find that when things are crazy in my working life, it helps to just switch it all off and do the laundry and clean the house.

Standing out in the yard, pegging my shorts to the clothes line, surrounded by leafy trees and chirping bird can be nice.
The thing I've come to realize after being alive for a while is, the world you want to live in is pure fantasy.

The idea that we'd do away with a democratic state and replace it with all-volunteer contracts and shit, it has absolutely no resemblance to reality at all. It's an even bigger fiction than a communist paradise, from each according to his ability and all that.

BUT...my ideal world (for simplicity's sake, star trek--post-scarcity, people can explore and make art, etc) is also fiction. I get that. I don't think we're there, of course, though I'd like to see us get closer.

The difference between our aspirational fictional worlds is, whenever people take steps toward yours (think America in the late 1800s, which is probably the best proxy for the libertarian paradise we could look at in the West), lots of people suffer. Private charity simply didn't--and wouldn't--work the way libertarians think it would/should. Life is hard for a lot of people, and shitty, and we've moved beyond that because it doesn't have to be a cruel world like that.

But when people take steps toward my ideal post-scarcity world (think, broadly speaking, Scandinavia, or even anywhere with universal health care, like Canada), it actually kinda works. Health care systems get funded, people can be artists without starving. People suffer less.

Maybe you prioritize the libertarian ideal of personal freedom (which is not what I'd even consider freedom in any way) over the suffering of a bunch of people, and hey, that's your prerogative.

But looking at the outcomes of one or the other, man I know where I throw in.
The strange Asian island where monkeys and marsupials meet
Well played! This is the same setup we used in early 00s for performing remote maintenance on our commercial hosting environments when we needed SSH or Symantec remote desktop access to Linux and Windows NT/2000 servers.

Folks don't know how terrible (#firstworldproblems) it used to be.
Or when the original recipient is not offline, but has been targeted for an attack so their delivery reports are getting blocked.
PoEA. "Philippine Overseas Employment Administration"?

http://www.poea.gov.ph/
anyone who gets VC funding from a major Silicon Valley fund, uses linux and mysql, and no ms sql server or IIS or any of that _legacy_ stuff. I want to teach people coding so they are ready to go for work major Silicon Valley companies, not legacy it departments. it makes it ok because this is what students needs to be taught to the right jobs. I cannot tell a student it's a good idea to learn C# or MS SQL Server when I fundamentally don't believe it is.
> the baby isn't big on streaming.

I read 'screaming'.
Regarding the last git command you listed, I actually find it better to do

:r !git status -v

And at the to of the result, type my formatted git commit message, visually highlight the message I just typed, and then use the following vim command

:r !git commit -F -

Which reads the commit message from standard input.
It is a mixed bag. Some places have the issues you describe from union shops.

The good news is that the industry is young, California has a giant pool of VC money, and also doesn't have non-competes.

It is relatively easy to put companies that reward incompetence out of business: They aren't going to innovate enough to hold market share for long, and they also won't retain the talent competitors need to poach from them. This means that, on average, you'll walk into a pretty good situation (Put another way, companies with bad environments have shorter half lives than in other industries).
>if WhatsApp actually did what you expect, data would be lost when a person switched phones in the middle of someone sending them a message

Only temporarily lost. WhatsApp could ask you: "do you want to resend the message(s) to the contact's new phone?".
An easy solution and it could be optional, even off by default.
IoT- Analyzing time series sensor data with Elasticsearch
Are thorium plants not viable? I remember hearing so much about them, but nothing ever happened, it seems.
It is interesting how the (monetary) price for blood is basically $0, while for plasma it's > $0. Know nothing about blood or plasma, but I'd imagine this is because donating plasma takes longer and is more painful. Wouldn't be surprised if it was trickier to store/transport/use or if you generally got less plasma fluid out of a person vs blood, or people could donate less often or something.

Also note while the monetary price for blood is $0, that's probably not the full price -- just ask anyone who has reluctantly donated blood because they didn't want to be the only person in their school or office not donating during a blood drive. There's often a social cost to NOT donating too.

Also, even with these differences/caveats the lack of a price system for blood does lead to some mismatches between supply and demand. There's currently a big blood shortage as we speak (google it), leading some hospitals to cancel elective surgery.
"In principle it's the government's job to take care of society's needs, not the charities'."

I disagree strongly. Concentrating responsibility concentrates power, which is dangerous. Governments should share power internally, share between levels (federal, state, local), and leave a lot of the power with the people (who may use it for private enterprises, NGOs, etc.).
I think every organization is different but most companies that don't sell software don't even view their software departments as first class areas.
This reminded me to submit a PR to add Nim to the gc-latency-experiment repo[1]. The numbers achieved by Nim's GC are very good (~88 microseconds on my MBP).

1 - https://gitlab.com/gasche/gc-latency-experiment/merge_reques...
While for the individual, this may seem true in the short term, fostering a perpetually desperate underclass tends to have quite negative long term consequences for everyone's health and safety. From what I've seen of California, the well-off are fine with this tilt towards Central American-style stratification. But at some point, this trajectory comes at the cost at allying themselves with some grotesque form of thuggery (corrupt police state, rule by organized crime, etc). Maybe that's what we're inching towards.
This is an interesting case where security and design are in direct collision. From a security perspective you'd want the demarcation between the application itself and the untrusted content area to be as clear and obvious as possible, which would mean drawing big borders between them so thick nobody could possibly miss them. But contemporary design is all about being "clean," part of which involves making borders razor thin and so lightly colored you can barely see them.

The example given of Chrome's line-of-death-crossing chevron is a good illustration of this tension. Say what you want to about it security-wise, but you can't say it's not clean!
For anyone who is interested in funding Professional quality OSS graphics software that meets the requirements of current standards and expectations I strongly suggest to donated to the Krita, Natron or Blender project instead of Gimp.

The Gimp project has been quite abrasive to the graphics research and software development communities for many years. The Gimp team 'knows better' then the highly qualified and experienced graphics programmers who offered to help the project bring there code base into the current standards for graphics.

There has been a lot of goodwill that has been squandered by the Gimp developers to the point that I seriously doubt that anyone with the skills or the time to work on OSS graphics is willing to invest any time in the project.

Any further development of Gimp will more then likely be an upgrade to the latest version of the GTK+ toolkit slapped on top of the same outdated 8bit early 1990's architecture fallowed by praise by people who have little experience or interest in graphics at any serious level.
Most languages have these type of functions, once you've read the file into an array its just array/list manipulation. I haven't compile checked this but here's the same as a C# one liner:

List<string> lines = File.ReadAllLines("/file.txt").Distinct().ToList().Select(l => l.Trim()).Sort();
Stop making up your own definition of "fake news." You're not some authority, you're just a random Internet user like everyone else.
requests was indeed asked to join the stdlib. However, the schedule required for distribution would have made it more difficult for them to innovate in their current way. [0]

[0] https://github.com/kennethreitz/requests/issues/2424
Isn't

undetected, as long as he permanently cuts off the recipient's phone

a bit of a contradiction?
But isn't the blob in the Pi just that, for the GPU? It's the GPU that boots and then the CPU, not the other way around. Or does the blob contain both GPU code and CPU code? And how is this different from UEFI or BIOS, or option ROMs in video cards? AFAIK you have plenty of Broadcom chips that don't need a blob to boot, those in most routers for example. Sure. there are routers with redboot, u-boot, CFE etc. but they are not much different from a BIOS firmware in a PC.
Wouldn't substantial presence test determine tax payer status? I've been paying US income tax the past few years without even being there on a visa, simply by meeting substantial presence test while on visa waiver and not claiming a closer relation to any other country. [I travel a lot and spend more time in the US than anywhere else [roughly 5 months out of the year], but don't technically live anywhere]
I remember there being an Reddit AMA from someone that was going to winter in Antarctica and that's where I got that from. So maybe that's the 'official word' or people doing different jobs have different amounts of care for that "rule." I dunno. It seemed to make sense to me that getting involved with each other could have fallout when it comes to getting actual things done if there are hard feelings, etc.
>Next, we’ll just start saying bipolar people have a side personality.

...
The article seems to end with this passage:

> “Here, try this,” Moran said, appearing by my side with a hand lens so that I might look a little closer.

There's nothing after that, and no indication that there's another page, but it seems like an awfully abrupt ending. Is that really it?
Flagged this, site has a bad SSL cert.
In that case I agree, it's certainly possible to analyze it, and market forces (number of firms collecting donatations etc) probably has a lot to do with the price, along with laws, alternative opportunities for doners, technology, how much it hurts, etc.
Same with hedge funds. Government 'protects' the average investor by only letting qualified rich people invest in hedge funds (and get richer). I love how the government asserts that it knows what's best for me and protects me from myself. Such a free nation we live in.
http://schubiserv.de/images/opera-benutzerauthentifizierung....
To me, because texts get encoded into strings (or strings encode texts) they are not the same thing. For example, Base 64 encodes data into a string, but the source is not necessarily a text. That's a separate issue from the way 'string' often gets used in the context of programming...a context in which even the otherwise pedantic seem to lose the faith ('regular expressions' is another one that is closely related).

Whether or not Z̴̛̺͉͙͚̰̔̏ͧͅ is a character (in terms of computer science) is a matter of whether or not it is part of the input language which some machine accepts. Which is to say it is no different than whether or not 'HashMap' is part of the input language to a compiler (yes for Java, no for Python).