skysight-inc/HackerNews huggingface dataset:
My main criticism of Python 3's changes to strings is that it has become much more specific about strings.

In Python 2, if you have a series of bytes -or- a "string", the language has no opinion about the encoding. It just passes around the bytes. If that set of bytes enters and exits Python without being changed, its format is of no concern. Interactions do not force you to define an encoding. This is not correct, but it is often functional.

Python 3, on the other hand, if you ever treat bytes as a string, forces you to have an opinion about the encoding. Same goes for if you convert back to bytes. For uncommon or unexpected encodings, the chance of this going wrong in a casual, accidental way is much higher. Of course, the approach is more correct, but it doesn't feel more correct to the programmer.
and still advertise that the underlying encoding is UTF-8

You can, but I'd avoid it. If you want to offer multiple levels of abstraction, you'll want to offer a code point abstraction in between graphemes and bytes. And for several reasons you'll probably want to either have, or have the ability to emit, fixed-width units.

Python does this internally (3.3 and newer): the internal storage of a string is chosen at runtime, based on the widest code point in the string, and uses whichever fixed-width encoding (latin-1, UCS-2 or UCS-4) will accommodate that. This dodges problems like accidental leakage of the low-level storage into the high-level abstraction (prior to 3.3 Python, like a number of languages, would "leak" the internal implementation detail of surrogate pairs into the high-level string abstraction).
Why can't web browsers render basic markdown natively (no plugins)? Wouldn't that be a much simpler and more secure parser than HTML?

A Markdown Web would look like the early Web.
NCH VideoPad Video Editor Pro 6.22 Patch and Serial Final
>Global auction sales at Christie’s, Sotheby’s and Phillips jumped 21.6% in the first half of 2018, according to the latest report by ArtTactic.

- Salvator Mundi sold last year for $430 million.

I imagine the art business will go on a while. Even if Hirst is having a down turn.
Pretty obvious, it was uploading your personal data to the state.
Not this, but either BSD's auth_userokay() or libpam functionality in Linux would give you access to the cleartext password, which you could compare to whatever hashed history you wanted.
It's definitely not a can't.

Why don't they? Coordination is costly.
Markdown isn't part of the HTML spec any more than BBCode, and is therefore not "native" as far as browsers are concerned.

So they could but... why should they?

> Wouldn't that be a much simpler and more secure parser than HTML?

No, because Markdown allows for raw HTML, so a compliant Markdown parser must also include a complete HTML parser.
Not solely maybe, but I agree with you. Some of them are more in-between-tree-houses.

Still nice to see what people come up with!
The Facebook Pixel Will Add a First-Party Cookie Option
https://tools.ietf.org/html/rfc7763
The 5th and 4th have a rather weird status at border crossings. You can be denied entry to the country if you refuse to share passwords, for instance. Or have your equipment be confiscated. Some of this has even been upheld in court.
Banksy is an artist that mocks the art world. He or she kinda makes fun of it. The art is decent, and its fun (sometimes undervalued in art circles). Banksy said in the forward of one of his book collections : art is controlled by just one group, the museum curators and rails against that.

Who else would set up a pop up shop outside the MET museum in NYC and sell original pieces and then report that they've sold only 6?

http://gothamist.com/2013/10/13/video_banksy_set_up_a_pop_up...

"The street prank gave Gothamist graffiti guru Jake Dobkin lots to mull over:
Who's the joke about here, though? Is it that Banksy's work kind of sucks, from an empirical point, in that no one would buy it unless they knew who it was by? Or is the joke on everyone for not being smart enough to be there and recognize how valuable the stuff on sale was? As with all Banksy, there's kind of an edge to it that makes you feel a little annoyed—like he's having a joke at your expense.

"
Unix filenames don't pretend to be something they aren't. Windows filenames like to present a convincing façade of being UTF-16 right up until they aren't.
Has anyone been able to find video of the shredding happen? Finding videos on youtube is such a crapshoot nowadays with people uploading/copying the same videos or some lame commentary over static images.
> What's the deal with Haskell strings?

I think the linked article laid the case fairly well. Basically, Haskell has a bunch of string types you need to understand and fret about, and the one named "String" is the one you almost never want, but it's also the only one with decent ergonomics unless you know to install a compiler extension.

I think it's a fair criticism. The "Lots of different string types" thing isn't (IMO) such a big deal coming from a language of Haskell's vintage. Given what Python's "decade-plus spent with a giant breaking change right in the middle of the platform hanging over our heads" wild ride has been like, I can't blame anyone for not wanting to replicate the adventure.

But, for newcomers, the whole thing where you need to know to

{-# LANGUAGE Support, Twenty, First, Century #-}

is a pretty big stumbling block.
Suddenly and totally banning tobacco products would have "scientific integrity" sure, but is practically impossible due to how human beings work.

However, tobacco is actually being gradually phased out across Europe. Compare smoking prevalence in a city now vs 20 years ago. Extrapolate out another 20 years.
I like it a lot, both concept and execution. Little nitpicking:

> Create a webpage by just writing markdown, nothing else!

The „nothing else” bit looks inaccurate, there’s a script tag at the very beginning.
I enjoyed listening to Tim and others talking about systems like Solid at the 2016 Decentralized Web Conference.

I liken projects like Solid to be similar to permissioned blockchain where small groups (people or organizations) use a private platform with lighter weight consensus algorithms than proof of work. Success can be had for small focused communities if there is enough value for users.

After trying to get friends and family to use a private Apache Wave instance for shared communication, and failed due to lack of interest on their part, I now don’t underestimate how difficult it is to move people off of centralized platforms.
Yes, well, I'm extremely suspicious of the "better tasting" claim in the
article- and the use of the over-the-top terminology is not doing much to
reassure me ("super" tomatoes! Rrriiight).

To begin with, there is no need to edit wild varieties to produce tasty
tomatoes. The varities we have already are actually pretty damn good already.
It's the production and distribution methods that suck out all the taste and
purpose out of their miserable, sour existence.

For example, when I'm back home in Greece for the summer, I eat tomatoes that
taste of tomato and smell of tomato. They are usually grown by people,
normally grocers, in their gardens, in small numbers (though not necessarily
using organic means, if you were wondering). The grocers who grow them then
sell them in their stores, so you can find maybe a kilo of home-grown fruit in
a grocery store every other week or so, and often only in the summer (because
the grocers seldom have greenhouses). Note that this is only true in the
countryside- in the cities, like Athens, the quality is much more bland.

Like in Athens, the tomatoes I eat in the UK, where I live and work, are
boring, tasteless and miserable and they leave behind a lingering sensation of
disappointment and nostalgia of a faraway sunny land. As I understand it,
these commercial varieties are actually grown in Southern Europe (including
Greece) in vast greenhouses, from where they are picked when they're still
green and then allowed to "mature" (basically, slowly they rot) during
transportation in fridge trucks. These tomatoes have been abused to the point
of PTSD and it shows when you put them in your mouth: they are empty and
devoid of all taste, fragrance and meaning and can drive a sane eater to
depression.

So forget about mass-producing and mass-distributing decent-tasting tomatoes.
You can mass-produce tomatoes that satisfy the farmers, with characteristics
that make them profitable to sell; and you can mass-produce tomatoes that the
majority of consumers will accept, mournfully, but only because they seldom
have the chance to buy and eat good ones, and have probably even forgotten
what tomatoes actualy taste like.

But you can't mass-produce good tomatoes.
How I Invented the Vector Space Model
The question being how to parse character escapes (backslash sequences) in Python.

To be honest, you could write a custom character-by-character parser easily or even use the regex module.
For an "anti-capitalist", he sure has a lot of books for sale on Amazon.
Don’t use Sublime Text.
My take on this is because Microsoft cannot match google's monetize scheme, and afaik this is the reason wphone can't be cheaper than android. Furthermore there already iphone on premium level that replace blackberry at that time.

They need to target for specific market segment (lets say phones for corporate and office, or phone for developer) that has minimum apps (whatsapp, etc) and easy to port from other platform (ex: from xamarin / android app). Of course they need to rethink the monetization scheme to match android's price.
`doveadm sync` is also a nice option if the server supports it: combined with a custom `sendmail` command, one can both send and receive/synchronize messages over SSH, avoiding additional authentication.
That’s just restating my point: Unix filenames are bytes (on most filesystems, anyway). The fact that many people were able to conflate them with text strings was a convenient fiction. Python no longer allows you to maintain that pretense but it’s easy to deal with by treating them as opaque blobs, attempt to decode and handle errors, or perform manipulations as bytes.
> 1. it has proper, validated unicode strings (though the stdlib is not grapheme-aware so manipulating these strings is not ideal)

Sigh, I hoped newer languages would avoid D's mistake. Auto-decoding is slow, unnecessary in most cases, and still only gives you partial correctness, depending on what you're trying to do. It also means that even the simplest string operations may fail, which has consequences on the complexity of the API.
A neat party trick, but what actual use-case is there that isn't better served by server-side Markdown to HTML conversion?
Learn and act. Doing something real with what you learnt and you will grow while you are building it. Also keep refreshing yourself with the new technologies and trends.
Let's be honest, the real mess is with UNIX filenames. I dare you to come up with a legitimate use case for allowing newlines and other control characters in a file name.
Why don't you think removing genders will make the language easier? I studied German in college and memorizing these was my only complaint.
iphone keyboard fail. As note, when properly spelled it means causing mutation or more specifically developmental abnormalities. From the greek meaning study of monsters.
[Markdeep](https://casual-effects.com/markdeep/features.md.html) has waaay more features than this.
Thanks @posamari for the feedback, I was a bit generous with the title. I have updated HN title and GitHub Readme.
Windows filenames "like to present a convincing façade of being UTF-16" in the exact same way unix filenames "like to present a convincing façade of being UTF-8". Both are common assumptions neither is actually true, and all of that is well-documented.
IOS uses positioning based on cell towers and Wi-Fi access points, so if your phone has its location services active Apple can tell that a device with a specific ID is near a certain location. This ID is rotated periodically and not linked to your device or to you but you can’t turn this off.

AGPS means the phone downloads the GPS almanac, the dynamic dataset you need for using GPS, from the internet as opposed to watching the satellites for about 30 minutes to download it. That would be stupid and would not have any positive impact on your privacy.
>I can guarantee you, that your sample of Austrian natives is not representative of the majority of native speakers. Not even remotely.

Agreed. I find it hard to imagine how something can possibly sound old fashioned when there is no more modern alternative.

My German may not be perfect, but I have never heard anyone fudge definite articles in a way that makes them indistinguishable from each other (or drop them altogether).
I may be missing something, but the net effect of this kind of breach is seemingly not that (like the case of a data breach of a "single" company user database) of having "reserved" data (that only the company had and that was given to it with an expectation in good faith by the user to keep it safe) in the hands of someone else, it is more like having data that was already available to anyone for a fee in the hands of someone that didn't pay that fee.
Nitpicking more: raw html (including script tags) is valid markdown! So it technically is markdown and nothing else.
I can assure you that Protobufs and Thrift are used in the real world.
I remember using the MIT course when I was in college. It's pretty good. Link: https://www.youtube.com/watch?v=PxCxlsl_YwY&list=PL4C4C8A7D0...
Actually I have used this method for cross-country migration of vms to a new datacenter. You have to exclude /dev and /proc at a minimum, then run rsync twice or more. Downtime was less than a minute, the time spent to reboot the vm and ensure it came up properly.
"Name brand" is the key thing, isn't it? If you already independently have name recognition, no problem. If you're a nobody it's hard to break through.
Some other languages handle Unicode just fine. Rust and Julia are fine. IMO you need to build unicode understanding into string handling from the start for it to happen. Every function and detail needs to make UTF-8 sense, not just some some unicode handling library.
How I judge the quality of a judgment: if its maker boasts how little time they spent making the judgment, it’s probably pretty uninformed.
haha. thanks @boffinism
You should charge more. If you have low availability and people are asking you to do work that’s not paying enough you should try doubling your rates for new customers. If you’re worried about it tell your old customers that they have six months to lock in any work they want done at the old rate and then they’ll get charged the new higher rate too.

You’re busy. You can afford to be less busy and make more money. If it doesn’t work you can reduce your rates a bit.

You should have an accountant.
Exploiting AT commands in Android devices
Totally. This is why the 0.000001% of mobile phone users who want to run node.js whilst simultaneously sniffing 802.11 traffic at DefCon use something else.
I got my current job because I posted on here. So did the other senior person in engineering.
Good grief.

GoF was wildly successful.

Design Patterns was of a time. We were just learning how to talk about design, the design of design. Now that methodologies, heuristics, frameworks, architecture and so forth have become "democratic", it's hard to appreciate the original efforts out of context.

Concretely:

To Norvig's point, GoF style Design Patterns are just a rung in the programming language maturity ladder. Something like: patterns > idioms > libraries > syntax.

Cynically:

Design pattern implementations just add another layer of indirection. On the notion that you can, may, or should defer an architectural decision. (Opinions differ. I lean towards YAGNI.)

Metaphysically:

Mastery is like becoming a jazz musician. First you have to learn the rules before you know how to break them.

--

I started a design pattern study group in the 90s, still going strong today.

It always kinda goes like this:

First reading, mind blown.

Second reading, aha, now I see how this could be useful.

Third reading, meh, it's obvious, why we still talking about this?

Happily, progress marches forward, and there's always something new (or new again) to argue about. Rinse, lather, repeat.

--

The sole legitimate criticism is the exploitation of the design pattern zeitgeist. Here's a relevant documentary on that phenomenon. "Exit Through the Gift Shop" https://www.imdb.com/title/tt1587707

Weaponization, misuse, misappropriation of an idea happens every where. I worked for a guy who called everything a Decorator. One of the architects for the Kuali Foundation student project. Took me way too long to figure out he didn't know what a Decorator was. Those conversations were so confusing.
Hello! It’s been a long time since playing slime volleyball on translucent iMacs.
Really agree with you. Usually I tried to do some side projects/weekend projects if I want to try out something new. For example, when I learned PHP, I build a website with it. Later when I learned AngularJS, I build another website with it(https://pxlet.com). Now I am interested in VueJS, maybe I will start to build a new one with it. This really helps you understand something in deep.
Many things you state are factually incorrect. The rest has alternatives and does not bother the majority of the user base.
I think this comment has little to do with the article. You say patterns are X and X is useful therefore patterns didn’t fail, whereas the article says that patterns are meant to be Y and X is not as useful as Y so patterns failed. I think what you call a pattern is what the article would call a building block and the article does not talk much about whether or not building blocks are useful.
The rhetoric here implies that the poster believes there is no middle ground and also poverty is caused by individual, personal flaws (a reasonably close approximation to argue that a rich man is more moral than a poor man inherently because being wealthy is morally good).
Brave Browser Beta
You keep using that word, I do not think it means what you think it means.
Blurb Blast Updated 6 October 2018 Using Monkey Sort Algorithm
> Balloon Girl is a 2002 mural by graffiti artist Banksy depicting a young girl letting go of a red heart-shaped balloon.

It's a 2006 copy of a 2002 mural[0]. There is no mention of where the copy originated from though, nor any indication that the frame was part of the 2006 piece.

[0] https://en.wikipedia.org/wiki/Balloon_Girl
wait... you are on freenode irc network too or just attending the freenode.live event?
It read to me as not learning how things worked and then blaming the language when an upgrade revealed that misunderstanding rather than taking the time to learn how things actually work.
Sometimes I just want to get some information out there on the internet, and rather than sharing a Evernote page or having to create a webpage I can just write markdown.

Main use-case is when I want to share a markdown doc in a private GitHub repo, with a public url e.g http://oscarmorrison.com/md-page/oimasdoijasdmadeupurl-01231...
In Germany, there is a second part of copyright law. The actual copyright can be sold as usual, but the Urheberpersönlichkeitsrecht (creator's personal right) cannot. It gives the creator the right to forbid public presentations of his work that misrepresent his artistic vision.

The architect of Berlin Main Station (Norman Foster, if I'm not mistaken) used this law to (successfully) sue Deutsche Bahn (the German national railway company) for reparations when they changed the plans and used a cheaper ceiling construction than he designed.
I like the art booth set up outside the MET museum in NYC

http://gothamist.com/2013/10/13/video_banksy_set_up_a_pop_up...

For someone who will create some some street art and literally have the owners remove the wall to sell it..

http://gothamist.com/2013/12/04/banksy_red_hook_wall_now_beh...
I am aware of the common meaning of the term and also that using it in this narrow fashion disguises the fact that selective breeding is also a mechanism for modifying the genes of the plant or animal. There are a large range of techniques that can be used to perform genetic modification and in most cases the fear that most people have is simply due to their ignorance and susceptibility to clever propaganda.
ah right, sorry!
I really like that this oven has a camera, as well as temperature probes, and that it’s all integrated into the oven’s experience through a app on the phone. Do they have any competitors doing this stuff, or are they alone in doing this right now? I am impressed - they’ve decomposed the idea of what an oven experience usually is (stationary waiting and checking) and shifted it to what it could be (check on it from a distance, data driven shutoff from measurements). Very compelling use of simple features. That’s exciting design!

This enables “Put a turkey in the oven, and run to the store and pick up the frozen green beans you forgot to buy - you always know how the turkey is doing.”
Human-sized robots for hackers
Scientists Identify Role of the Brain in Laziness
I understand you now. Sorry, it wasn't clear to me before. Looks like we're actually completely on the same page. I got completely twisted in the logic.

Ignoring ra1n85 (it seems the 3 of us are probably on the same page), my original question for you was how would you make China pay the bill. You say that the US could use this as leverage to force China to give up something else. I'm not confident that's great leverage by itself, but I just thought of something that may answer my own question.

IF China had the gall to plant a fake story, I would imagine it would be a sign of weakness. There's no reason to plant a fake story if their bargaining position is strong, so a fake story plant would be only the craziest of Hail Mary options, a poison pill that acknowledges, "hey, we're gonna lose, how can we cause the most damage we can before we go down completely?"

So if the US was able to confirm a fake story plant by China, they'd have more confidence in going full court press and getting everything they want because their bargaining position would just be that strong (discounting actual war).

I suppose discussing all the hypotheticals for what happens if China plants a fake story is getting out of hand and not worth all the typing....
What are the benefits of using Brave instead of Firefox?
This is partly a consequence of these languages using the alphabet that was designed to serve a different language. (Another striking example is Vietnamese.)
How long has the particular variety of wheat that is in your bread been tested in humans? Five years, maybe ten? I am quite certain that it did not exist when your parents were born, so how do you know it is safe?
With Iraqs WMDs stories the officials, not the reporters, lied. Also there were quite a few stories, backed by anonymous sources from the intelligence apparatus who were very critical about the official line and the pressure that they were put under to produce corroborating evidence.
I've done it myself, and have the process pretty well memorized now. As you say if you want to rsync "/" you need to exclude /proc, /sys, & /dev.

Then on the new install you want to remove references to MAC address of any NIC that udev might have saved, update the hostname, IP, and similar static details.

Finally ensure that your bootloader is correct, and that you don't refer to outdated fileystem UIDs, by either updating them or using device-names instead.
Is it? E.g., I haven't found any information on how difficult it is to swap between multiple eSIMs?
"This guy has legendary skills in investing world.."

No way. I don't know anyone that thinks that. What is your basis for thinking that?

And BTW, he's not that good at excel either.

And his ethics...