skysight-inc/HackerNews huggingface dataset:
Yeah, it's pretty ridiculous. I hate to bash liberals, because I usually identify as one, but this is definitely one of those places where it seems they can't make up their minds. They bash middle-class Americans for not being well-traveled enough, for not "thinking globally", for being too ignorant of cultures outside the US, etc. And now they're bashing middle-class Americans for touring overseas too much. WTF?
“Killing in the Name” X 1k Musicians (July 7, 2019 – Frankfurt, Germany)
An innocuous "I don't remember it" also works with the rare paperwork handler who insists on filling it out.
Agile Is Eating the World
Ask HN: What would the Mark Zuckerberg of 2019 use in his dorm to build his site
I am your average self-taught web developer, I am using PHP and Mysql for the backend and HTML, CSS and Javascript for the frontend.

How can I step up my technical skills? What would the Mark Zuckerberg of 2019 use in his dorm to build his social network? I guess the answer would be a lot different from the actual tech stack used in 2004.
I think it's because people understand the danger when they're someplace high - they know to take better care of where they step, how they move etc.

But I'm guessing people either weren't expecting the trains, or weren't expecting to be electrocuted by them.

Since the danger was unexpected to the victims it's more likely for them to succumb to them I would wager?
No, what I'm saying is that it used to suck really badly and we survived just fine, so I find all the over-wrought hand wringing about the havoc and burnout caused by Python's flaws hyperbolic.
I always find that weird, people from places way far out claiming Glasgow. We never did that in Paisley, we always said Paisley. I'm almost sure I've heard people from Wishaw, and even Shotts claiming they're from Glasgow. Overspill identity crisis or what.
That's a fantastic way of doing it - I'd imagine you'd put on some old clothes to do the diving anyway.
I wish someone would compile a series of actions that I could take to prevent this from happening.
You shouldn't trust your programs. That's why you test them mercilessly.
Yeah it's tricky because the US is a bit shy about national IDs for vague reasons that seem loosely associated with anti-authoritarian reasons and distrust of government. Sure we can't be forced to 'show us your papers' because they don't physically exist but the government knows who 99% of citizens are if they wanted to work at it even a bit and it's not like states are going to be the bastions of fighting back and they do have IDs pretty much everyone gets.
hmm. it seems cruise / boat travel is even worse than planes. That only leaves trains, in combination with car and ... horses? There is already a campaign against air travel e.g. for conferences, and it will probably become a trend in the next few years. I wonder what is going to fill in the gap that air travel left for aspiring tourists.

There is also the possibility that electric planes will become a thing

There is also the possibility that people will spend half a year working in an exotic place to avoid travelling too much
I'm a know-it-all in Europe, smack in the middle of one of those tourist destinations, where there is no more room for me and mine due to the tourism.

Oh, and the government here is doing just that.
But leaving everyone to raise their kids as they see fit can be unfair to the kids. If public education might let your kids down, learn what it's teaching them. If what they're getting is crap, demand accuracy. They can't hide what they're teaching. If you agitate for science-based education for your kids other kids will get it too and your kids don't have to grow up with neighbors whose parents passively allowed their kids to grow up with a crappy education.
Don't forget a DVD rental card at Blockbuster. Yep, they used to ask for it just to become a member but you could of course not fill it in and they would still accept your membership.

I still remember them asking me for mine. Pure jokes.

Here's an article from almost 15 years ago where one of the Blockbuster locations dumped a bunch of customer forms in the street where most forms had people's SSNs on it: http://legalshred.com/east-side-new-york-blockbuster-dumps-c...

> The trash pile included recent membership applications, each revealing the customer’s birth date, address, phone number, driver’s license number and signature.

More alarming, each application also contained a credit card number and expiration date, and many included a Social Security number.

Talk about a violation of privacy and leaking sensitive information. This is why you can't trust big companies with anything sensitive.
> the behaviour of booking a week (or less!) off work to fly halfway across the world

It’s really an American thing though, you’d never see someone from a Western European country do this.
Had a similar issue with Southwest Airlines a while back. I wound up emailing a VP directly with screenshots and repro steps by looking up other SW email addresses to figure out their work email format, and then getting the VP's name from LinkedIn.

The VP responded pretty quickly, forwarded my email on his people, and I wound up getting some free miles.

I was kinda surprised to learn how easy it is to get most corporate email addresses through this experience.
That's kind of what I was thinking. We don't even need to technically run out of oil. We just need to reach some threshold where life as we know it is no longer feasible and the world is forced to make drastic changes.

People will have to move around closer to their work so they can bike or walk. Possibly take only a monthly trip to gather food and other things from the store. Air travel would be limited to more permanent immigration and probably the ultra wealthy of course.

I wonder how many decades we have left until this point.
Yeah, that was a very terse explanation, and Automator is so user-friendly it's hard to use.

1. Start Automator.

2. In the "Choose a type..." sheet, choose "Quick Action".

3. Set these:

Workflow recieves "current text" in "any application".
Input is "entire selection". [X] Output replaces text.

4. Add "Run shell script" and select your preferred shell.

jq .

(Note that Automator is handling your stdin / stdout.)

5. File / Save.

You can now find your workflow by command-clicking the document name in the window's titlebar. It should be in /Users/You/Library/Services

Now, fire up TextEdit, enter some JSON. Right-click, select Services and your service should be present. It's also in the TextEdit menu under Services.
You can Now Place any sponsored post on. and it gets indexed on Google
An empty list (length zero) is "None" and a single element list is "Some" or "Just" whatever the lone element in the list is.

And of course the list is constrained to not contain more than a single entry.
The fact that people in the US still use Amazon despite all of this evidence of the shady business practices that happen on the platform is very confusing to me as a European. Is this still a rare occurrence or is it more commonplace?
One is a cheap high protein food wildly available produced by well paid workers, the other is a very expensive geographically protected cheese product.

You may not like US beef, and you don't have to eat it, and you're probably well off enough that you get to make that choice. Protecting a domestic cheese production probably doesn't increase food availability for the poor - nor is that domestic cheese production some health food.
He means that the type `Optional a` is isomorphic to the type `ListOfLengthAtMostOne a`. This is because we can pair their values up perfectly: Nothing ~ [] and Just a ~ [a].
The basic EU street legal setup is a cheaper magnetic sensor that just sees if the pedals are rotating and toggles the motor on/off. Torque sensor gets you continuously variable motor power, depending on how hard you pedal.

https://www.juicedbikes.com/pages/torque-vs-cadence-sensors
how so? they do that every summer
Sorry, I think I'm not communicating myself well.

My concern is that class stagnation, where one cannot be anything more than the class they were born to, is a bad thing that we must work hard to prevent from happening. Keeping poor people out of nice schools? That is a thing that causes class stagnation.

> We moved to the most expensive neighborhood we could afford after that.

Right, and what if that neighbourhood had raised prices, locking you out of that option? What if that neighbourhood re-zoned it's school district to ensure no one with less than $K/year income could possibly afford to go there? That's what class stagnation is all about, locking you and your daughter into where you are so that you cannot become anything more than you were born.

Affordable housing means poverty is not isolated in a single, dense community. It gives those born into families with lower incomes the option to go to better schools- as you have with your daughter.

You made it- wouldn't it be good if more people could? Or are you the type to say "Got mine, fuck the rest of you"?
But surely some amount of money from each ticket has to go to the distributor of the movie? I don't think charging 'nothing' for the ticket is just a huge loop hole in the system.
Sarah Silverman says blackface sketch got her fired from movie
What’s the saying? Idle hands clear the path to enlightenment? Uhhh. From idle hands idyl lands?
Indeed. No one cries foul on a passport or driver's license, but a national ID card is so draconian /s

Maybe if you converted passports to smartcards, and then slowly turned it into a national ID you could make this work.
Not related but does someone know some good sales books ?
Doesn't futures 0.3-alpha bring its own executor? I haven't followed Tokio too closely recently, but my understanding was that, going forward, futures provides the executor and Tokio provides the reactor. At least, that would be a division that would make sense to me.
Well Airbnb may have merged some % of the "residential" and "hotel" zones, but until tourists decide to sleep in tents they still have some way of approximately controlling the number of people in the city.
Easy. They should have traveled the world 5-10 years ago when it was a Good Thing, and now they should stop. /s
Yeah, as I live in France but when I come back to my country of origin I also see the other side of this mess.

I am no economist but I think that the low cost of transport is one of the factors that could be somehow influenced. We keep trucking stuff thousands of kilometers whereas it could grow and be processed just next-door.
A really advanced Star Trek interface would use holo/replicator tech to materialize physical knobs, switches, and sliders in a user-defined configuration as they activated the console.
Discover tips to build a web app that users love. And improve
If your local means of production means either forcing other people to buy it, or keeping the price of food artificially inflated, maybe your local means of production isn't real great.

This isn't the mafia killing a shop owner for not buying them. This is your customer leaving because they don't like your prices.

You don't get to force people to do business with you.
I'm now wondering if there's even a Snow Crash exploit from throwing random data in through the lens.
On a more basic level, if you like free stuff there's an awful lot of "present voucher to receive free x for signing up to our mailing list" promotions that assume people don't have access to more than one email address (or even prevent you entering multiple name+1@domain.com variants). Always amusing when this is pointed out to you by the guy that actually built the app...
Personally I wouldn't consider tourism to theme park style destinations as experiencing other cultures.
You wouldn't be pissed for too long though :)
>>> you are still talking about a final optimization problem of 4^1,000,000,000.

There is no final optimization step that analyze the 4^1,000,000,000 possibilities. We are not the best possible human-like creature with 1,000,000,000 pairs of bases.

> method of gradient descent

Do you know the method of gradient descent? Nice. It is easier to explain the problem if you know it. In the method of gradient descent you don't analyze all the possible configurations and there is no guaranty that it finds the absolute minimum. It usually finds a local minimum and you get trapped there.

For this method you need to calculate the derivatives, analytically or numerically. And looking at the derivatives at a initial point, you select the direction to move for the next iteration.

An alternative method is to pick e few (10? 100?) random points nearby your initial point, calculate the function in each of them and select the one with the minimum value for the next iteration. It's not as efficient as method of gradient descent, but just by chance half of the random points should get a smaller value (unless you are to close to the minimum, or the function has something strange.)
So just this randomized method should find also the "nearest" local minimum.

The problem with the DNA is that it is a discrete problem, and the function is weird, a small change can be fatal of irrelevant. So it has no smooth function where you can apply the method of gradient descent, but you can still try picking random points and selecting one with a smaller value.

There is no simulation that picks the random points and calculate the fitness function. The real process in the offspring, the copies of the DNA have mutations and some mutations made kill the individual, some make nothing and some increase the chance to survive and reproduce.
I'm actually not complaining about C in the '90s, it was amazing compared to Fortran in the '80s.

Funny story, my first co-op job (Fortran IV), my boss made me fix a bug using punch cards so I'd appreciate why the codebase wasn't as nice as it might be. THAT was prespective.
> No pointless shuffling of user interface features in the name of UX "innovation"

The stock Ubuntu has a very nasty habit of doing this. And it's trying very hard to make all the mistakes already made elsewhere including commercials for businesses baked into the core operating system and other nonsense.
>I am a huge Rust fan, but couldn't really articulate why async/await seemed so complicated.

Perhaps because you hadn't had the displeasure to work with callbacks, or promises? Which async/await greatly simplifies.
I have thought for a long time now that the national postal system was particularly well suited to take up this task.

I'm Canadian though, so it's quite possible that this would be reasonable here and not in the U.S.
having gone to the same kind of school, I'm inclined to agree. years of deferred socialization...

that said, some people seem to feel very strongly about having at least some same-gendered spaces for children to be in. I'm not entirely sure how to reconcile that with the growing understanding that not everyone is straight, fits into a binary gender, etc., but to leave at least a couple "boy spaces" and "girl spaces" doesn't seem too harmful.
One week (or maybe 10 days) in Thailand or in Egypt is a perfectly regular trip for a German vacationer.
I bet they were quite pissed off all the way to the morgue too.. but this is the risk you assume when you hang around with impulsive idiots.
> The category theory language around it is off-putting to working programmers

Off-putting to some working programmers. I am a mathematically-minded working programmer who prefers mathematical and type theoretical explanations quite strongly since they just click for me.
This is something which has been trending up for the past 5 to 10 years, and gaining more momentum. Large European fund managers (e.g. pension plans) have been at the forefront of responsible investing and it is developing quickly amongst their peers in North America.

Simply put there are 3 dimensions which corporates have to consider:

1. Their contribution to greenhouse gas emissions and other environmental pollutants.
2. Their own exposure to physical climate risk (can they quantify it?)
3. Their compliance to reporting standards and regulations regarding climate change and other environmental issues.

Large investors increasingly want to know (a) how they contribute to climate change via their investments and (b) their risk exposure to climate change risk, via the businesses they are invested in.

Corporations have to realize that their large, institutional, investors are way beyond debating climate change and are taking action. Like it or not.
Well, my comment was partly in jest (though I do think it's by no means clear that 5 is a local optimum, thus it's quite possible that 4 or 6 would be better, and twice either would give us a better base for counting), but I'm amazed that there's actual scientific discussion of the issue. I wish to quote the most pertinent part of the article though:

> Is there really any good evidence that five, rather than, say, four or six, digits was biomechanically preferable for the common ancestor of modern tetrapods? The answer has to be "No,"
Tourism is not about the visiting landmarks (although it's also nice to have). Tourism is more about understanding that the world is small, the people around you are still people and that essentially we are all connected to each other.
Right, but all of those are historical, not innate, which makes your comment wildly misleading.

If the Python ecosystem weren't c-based, it wouldn't matter. But it is. But that has nothing to do with python the language in a vacuum, and everything to do with choices some guy made 25 years ago.
You can't preempt it.

You could destroy your credit yourself, that should make it less likely.
>I predict that long, slow, possibly "eco" trips will become fashionable as a new way to signal wealth (much in the way that travel to far-flung corners of the Earth used to).

This is already kind of a thing. See gap years, find yourself trips, etc.
Is there any harm in choosing random number as your Social Security number? Since it is supposed to be secret how can anyone verify it? Apart from special situations like filling taxes where one would use the real SSN.
I am not a US citizen and I have no idea what is the real life use of SSN.
You stopped "owning" your device the monent you accepted locked bootloader and no root. It is weird that it is the battery replacement that triggered that feeling.
Ah, no when I ran my own company I decreed it was a Clojure shop.
Threaded IO is a low level thing there because of overhead caused by OS threads and Rust is a low level language with abstractions to deal with such low level interfaces. Async/await is better than callback passing - looks like normal call flow - but you need to know what's happening underneath. Zero cost abstractions. If you understand the implementation details it makes perfect sense - otherwise you can just keep doing the old way (callback pyramids or blocking IO)
woah, who is to decide what is right and wrong if not the system we designed to formalise the rights and wrongs of the countries we are in?

I'm all for GMO as its the only way we realistically have a chance to feed all these damn children people keep having.
In bulk cost, it comes out to something like 2.3c per large code.
Were the private financial data you were able to poke around at also not patched up? Since that seems to be in their selfish interest to fix.
I highly recommend Temporary Containers for Firefox. It can be set up so that every time you open a new tab, that is a new context, new logins, new cookies.

No reason to block sites that set cookies, since in a few minutes they will be deleted anyway.
I deleted Bloomberg cookies and the paywall went away. I think you get three articles.
There's no need to reinvent the concept of natural law. The idea traces at least as far back as Ancient Greece.
>We already see that happening in the south of europe, which is becoming a convenient cheap tourist destination while the brain drain to the north continues.

There's really nothing stopping places like that from changing themselves to make themselves more attractive to industry and business to stop the brain drain. The people are leaving because those places haven't bothered making themselves nice places to stay and live and work in high-paying professions.
Then add instant torque (from a >200hp electric engine), no engine noise, and you got the EV version. It's super responsive in sports mode. And easily does 500 km on a charge on Norwegian roads during summer if you need it to.

Build quality and quality control is decent, my impression is that there are way less factory issues compared to Tesla.

Only downsides for this car in my book is:

- Lacking a bit of room for the back seats if you're transporting grown ups.

- Cargo space could be better.

- There's a bit of road noise (you notice that when you don't have any engine noise), I've had mine soundproofed to deal with this.

- The default summer tires are shitty (they're low consumption though, but noisy.) Replaced mine with Nokian tires.

- They could easily have added a frunk in the EV version, there's enough room under the hood. You can DIY this.

- Front distance sensors doesn't automatically turn on when driving at low speed. You have to manually activate them or hit reverse first. (US version doesn't come with front sensors I believe).

- Lane following assistant will disable itself if you don't touch the wheel for 2 minutes, ACC however will stay on. The correct safe way to do this would be to keep LFA on, but set ACC to 0. Stay in the lane, but slow to a stand still.
I buy cheap Motorola phones, put LineageOS on them, and pick the security patches as they come along. This is a better way to go about it as it's unlikely any of these standalone units will get firmware updates.

Two benefits:

1. I get many security holes patched.

2. I get a hotspot on a phone plan, which is usually cheaper and can be used as a second phone.
Insurance companies may request it for verification of the identity of patient.
>Looking at the example I gave, how is `async function` any more clear than saying `co(function`? It covers the exact same use cases with equivalent clarity.

It skips the generator part and extra wrapper. That's a simpler syntax (and thus more clarity) for what people do 99% of the time.

Clarity is not necessarily "I can see the underlying mechanism".

Generators hide their underlying implementation (in C++) too, after all.
1. You can't
I see you've never been to Reddit.
On Average, You’re Using the Wrong Average: Geometric and Harmonic Means
All of South America?
That's kind of a straw man. The type of tourism that would warrant congestion pricing isn't the one where people really get to "meet different people and cultures, live outside one's comfort zone, and broaden one's horizons" anyway.
Not everything scales. If you have 7 billion people that take two two week package holidays per year the planet will collapse. Now, we're not quite there yet but the strain is showing in many places and if we don't stop this then there won't be any tourist destinations left to visit.

Note that the number of people that make meaningful connections with the locals compared to the number of tourists is vanishingly small. You just can't do that when you fly in on Sunday evening and leave again a few days later. All you get to do is to rush from one photogenic site to another, maybe visit a museum and eat at the local versions of the chain stores from somewhere else.
What you're effectively arguing is that the US does not require nearly as large a number of software engineers as it currently has. It could exclude more than half the software engineers in its largest tech hub, and still fill all the open positions. I find that a bit implausible, especially given how intensely software companies already compete with one another to attract workers. They're not only doing that out of the goodness of their hearts.