skysight-inc/HackerNews huggingface dataset:
Anyone who has been China can tell you this is wrong:

"With the exception of the imperial offspring of the Ming dynasty and the dauphins of pre-Revolutionary France, contemporary American kids may represent the most indulged young people in the history of the world."

Affluent kids in China are also very much indulged, mostly by grandparents.

The main factor at work here is not a mystery: the demographic transition that began in the West around 1850. When families have 20 children, the children are under pressure to prove their worth to the family, relative to all the other children. They compete with each other to show their worth. But when a family only has one child, the parents and grandparents compete to win the favor of the child.

There are nuances, that vary from country to country, but the primary force at work here is the demographic transition.
There are websites for caller reputation. (If you can assume that an unknown number is suspicious).
You know the language is screwed beyond any hope when you need an entire book on semantics of 'this'.
Does that government still regulate the systems, ensuring proper service as a priority over profit, or do they simply forgo responsibility as often appears to be the case in the US examples?
Sorry, I meant prevent immigration of muslims.
The house I bought last year came with a cheesy "No Solicitation" sign stuck to the screen door near the handle. I've wanted to remove it, but laziness and the fact that it has some utility has kept it in place.

Oddly, Jehovah's Witnesses have been the only people to ignore it. I've watched Mormons walk up and turn away, though.
Put Yourself in a Dolphin’s Skin
> there's no technical reason why we couldn't support a `split_at_node` function that takes a raw pointer to a list node

How about rust memory management model?

When I split linked list in two, the new list must somehow become the owner of the newly detached elements.

For both unmanaged and garbage-collected languages there’s a heap (garbage collected or not) that’s shared across all threads of the process. List nodes are freed either explicitly with delete/free, or implicitly with GC.

Rust memory managed model forces to transfer the ownership when the list is split. AFAIK that’s exactly what happens inside split_off, and that operation is O(n).

> unsafe code can use raw pointers willy-nilly

If so, why the implementation of LinkedList<T> doesn’t? You know, O(1) and O(n) is a big difference.
True enough - the open nature of the client makes a joke of so many do-called security measures implemented there.
I'm genuinely curious, what's the difference between robots replacing American jobs and foreigners replacing American jobs?

Politicians go to great lengths to protect the sanctity of American jobs by passing strict immigration regulations and instantiating border checkpoints hundreds of miles inside the border. They don't seem to be mirroring their actions for robots.
I get your point, but I thought we had plenty of dynamic range available these days. Judging from the text, they seem to use it rather like an equaliser anyway.
It would be absolutely trivial to enumerate all possible three-letter combinations and hash them. That's no better than storing in plaintext.
No, I don't think so. They specifically talk about adding compression only into their newscast unit. Why would they data compress only one segment?

Also, Compression sounds good. Too much, or badly configured compression sounds bad, obviously. But don't throw it all away. (Not that producers are at any risk of doing so.)
Are they up to yours?

I agree with the spirit of the poster. Nobody's going to lose sleep with anticipation for a cheaper McDonalds (that delivers!).
Please explain how the State had 100% surveillance of attackers'/terrorists' communications before they became electronic, and I'll be "genuinely concerned" about the "crippling" of their work.

Sounds more like we're returning to a state of how things were (suspicions would have to be aroused, and actual police work would have to be done, instead of just retrieving all of the relevant metadata on people the State doesn't like from a database of just about every piece of information transmitted across a wire for 50+ years).
Hi Peter,

I am currently on f1 visa. I was declined for H1B visa by my company in 2015 so I went back to f1. I am currently going to school but I don't want to continue anymore since I want to work and get new experiences.

Can you give me advice on how can I overcome this challenge and make my greencard?

Thank You
And yet, there is a 1.5x higher chance per capita of being in a burglary in the US vs UK, and 4x more likely to be killed. Even though US citizens have much higher gun ownership.

https://dispellingthemythukvsusguns.wordpress.com
FWIW Tradeking no longer do this. Not sure when it changed, but I haven't had any issues using a password manager with them since.
> Firemen get trucks with sirens and lights. There is no need to locate one on every street.

But we'd still save more lives, houses, and heirlooms if we did put one on every street. Every additional kilometer between my house and the fire station increases the level of risk for my house. My point is: it's not binary: you have fire protection or you don't. You have varying degrees of fire protection quality with varying degrees of cost and you have pick the one you want.

> Where are you getting your definition of rational? Are you saying you can assign a fair, total ordering of value to every thing?

No, I certainly hold to the subjective theory of value which rejects the idea that there is an objective fair total ordering of value.

By rational, I mean its a decision that makes sense given your subjective valuation. You aren't going to reduce the risk as much as possible because that would be far too expensive. You are going to choose a level of risk that in your estimation trades off expensive and risk in an acceptable manner. That's subjective, and will vary from person to person, but no matter what your decision is, you will end up having some risk that you could have gotten rid of it, if you were willing to pay for it.
It's insane to me that you refuse to pick up the phone for people whose phone number you don't know. Aren't you anyone's emergency contact?
Poor naming choice

https://github.com/netflix/zuul
> what's the difference between robots replacing American jobs and foreigners replacing American jobs?

Complaining about the latter makes you sound xenophobic.
>My solution is just to let people post stuff that is legal (with existing statues).

That simply doesn't work. Are you familiar with any unmoderated forums? It's fine if you just want anarchy, e.g. 4chan. However if want a place like HN where people can actually discuss reasonably, you have to have some kind of moderation.

Are you aware of the huge amount of moderation that already happens on youtube? A customer of mine got their account put on probation for posting a test video of a firefox session that was mostly static. I'm actually quite glad in a way that they are doing this, as it means they might finally stop all of the "click here to view the full episode/movie" spam that litters youtube today.

>Nip this in the bud? Is this minority report?

I was referring to blocking illegal content before it reaches that point.

If you want a forum where people can post anything, you're welcome to set one up. I'm not sure it will be terribly useful though.
Thanks for that. The reading was a bit thick on the polemics, but I also found it an easy to read and understand overview of ebook watermark functionality for someone like me who's unfamiliar with the field.
There's nothing intrinsically expensive about a robot arm. It's few motors, sensors, metal, plastic, and something like a raspberry pi. With cheaper components and volume production a robot arm could cost less than a Domino's employee makes in a week.
Ok, I missed the phrase, "for example", in your comment causing me to misinterpet. My apologies.
There's still some technical errors- calling 1TB 2^30 bytes for example. (It's 2^40 bytes)
Would be nice if the Google link were on the front page instead of having to waste many seconds dealing with this bullshite (go to page, full text loads, split second later screen flashes and locks down, make it out to HN, look for Google link, almost flag post, wait for discussions to load, find Google/web link, wait,find correct link, reload same content, discover fluff).
The Euro thing is kinda false. Yes, new countries have to adopt Euro but there is no deadline and no penalty. They only have to promise to do it someday. That is why some countries don't have it and will no have for many years.
So if you are a deep pizza nerd, the pitch that you'd have a neo-neapolitan style pizza at your door in short order is a great pitch.

The issue with fulfilling this pitch is that pizzaiolos are expensive, hot ovens are hard to get close to people, etc. etc. Trying to solve all this is probably at one level a 'passion project' for a Valley engineer.

A true 90 second Neapolitan pizza does not age that well, the crust is going to be soft under the tomato sauce, and it will get a bit nasty if it sits long. It's supposed to be oven to plate to mouth very quickly.

On the other hand, could this be a business, not a passion project? Most restaurant gross margin is under 50%, declining the fancier the restaurant. That's before labor and other fixed costs, meaning restaurants are generally a pennies business.

Pizza though, pizza has like 90% gross margin. If you could get rid of labor, you'd have a huge advantage economically against competitors.
> But that 52% gives him the moral authority to "do his best" to take the country out of the EU. If he screws up a bit, who can blame him? It's a tough situation anyway

That's not how it works - that 52% is not some uniform body with similar goals and vision beyond Brexit. This is the same challenge facing many popular revolutions - there is little uniting them beyond ousting Gaddafi, or "the 1%" (add Brexit to this list). Once they have "won", suddenly they realize they can't cater to everyone's wants and the whole thing splinters into factions.
One app I've always wanted to write is one that intercepts incoming phone numbers that are not on your contact list and do a quick lookup on those reputation service sites and display it side-by-side with the number. Similar to how iOS has recently added the "Might Be John Doe" based on numbers it has learned about through iMessage or Mail.

Maybe iOS 10 has added enough functionality on the call screen APIs to allow it (I haven't honestly checked), but up until now there hasn't been a way to tie into calls like that without actually writing an entire VoIP backend so you could control the complete call flow.
I've tried fiddler, charles, mitmproxy, burp suite, etc, but the best one I've found is ZAProxy: https://github.com/zaproxy/zaproxy

The point and click scripting it does is pretty neat. Makes it easy to stub out responses if you happen to be a client developer blocked by your server developers.
Yes. I have so much appreciation for their contributions to civil liberties. Yes, we should have a right to not say the pledge of allegiance. No, I won't exercise that right but it is seriously stupid to say we have a "right" to do something if we don't have a right to not do it.

If we have to get up and pray, we do not have freedom to pray. People who refuse to stand up to pray at the beginning of a rodeo are people we have to be grateful for.
I think Domino's pizza is great. I don't think you're the target market for McDonalds but they feed a lot of lower income Americans. If they can reduce costs and help those Americans save a little bit of money, it would be greatly beneficial.
I was thinking of remote newscast, where you might need to fit your data reliably over a cellular link, but now that I think about it, I don't think NPR does much remote newscast.
Entrepreneurship is a fundamental human attribute. We need more of it
Online-Video Viewers Open Wallets in China
Think of it like this: India is a company and you are the CEO. The market is disrupted and you sat on your ass - will the stock holders be happy with you because the stock price went down, but hey - you were still doing the same thing for 100 years with no change, so congrats?

A State is the same as a company, except worse - they have an army and a monopoly on violence. After a war, when a king takes over, they tried to integrate with the new people, marry into them and in this way eventually begin to rule them. That began to change when people’s skin color was drastically different. The term Colonists was invented to convey how race got into the mix. The British were never a Raj (kings), they never ruled over India in the traditional sense of the word. They were colonists - they colonized and decimated the Indian economy.

Forget the economy, they decimated the population:https://en.wikipedia.org/wiki/Famine_in_India#Scholarly_opin...
The gun thing is just crazy. It's one of those subjects where everyone can paint on their own philosophy. So it winds up in every discussion. That makes it a great weapon for those who want to maintain the status quo. They throw the gun debate into the mix in full knowledge that it will shut down any other meaningful discussion, thereby preventing anything from changing. In terms of suicide, guns just make attempts more likely to succeed. I'd rather focus on preventing the attempts from happening in the first place.

Laws against suicide are a little silly imho. Someone willing to kill themselves is operating at a level beyond criminal laws. Nepal probably needs to keep suicide legal for purposes of inheritance, so that surviving families don't suffer. Laws that penalize suicide risk encouraging non-suicide suicides that endanger other people such as "suicide-by-police".
Good catch; thanks.
Noting that different age groups tended to vote differently is not the problem. Nor is trying to understand why they voted how they did. It's the denigration of the people who were older. This article called them "grumpy", but I've seen worse.

I've seen lots of other comments and articles that not only resorted to name-calling, but also tried to use the fact that people were older as prima facie evidence that their reasoning was bad.
Coming from C++/C# and having previously used PHP for my web projects, I absolutely love Golang!

I never really liked dynamically-typed languages ... actually I really dislike PHP, but it was ... easy and familiar.

But after just a few days of playing with Golang it just felt right.
It's a language to get shit done fast and easy ... and that's the most important thing IMHO.

And yes - I don't miss generics ... at all :>

For the last 14 months I've been working on a self-hosted server for building complex CRUD apps using drag-n-drop in the browser and building it with Go was a great decision.
The current pizza box design is horrible for pizza quality. It's one of the worse things to do to a pizza as it will sog the crust. Having it finish the car is a solid idea, and will lead to a much bette finished product. However it seems they are positioning against dominoes and such, which isn't what is want. A high quality pizza would benefit the most from this tech.
This sentence has a plural snapshots where singular makes more sense:
APFS brings a much-desired file system feature: snapshots. A snapshots lets you freeze the state of a file system at a particular moment and continue to use and modify that file system while preserving the old data.

That or rewriting it for the plural.
What's novel is cooking in the vehicle while it's being delivered. With multiple vehicles circling around neighborhoods, that potentially cuts the time from order to delivery to ONLY the cooking time.
"Hank" didn't make the mistake. He's just reading a script. Dr. Ruth Tallman is the writer.
In the linked article a member of NPR discussed how the flavor of their sound is modified based on NPR's perception of their consumers' behaviors.
Ok. I see a lot of platitudes, but what are they doing?

These are the more detailed parts from page links:

https://github.com/HumanOps/HumanOps/blob/master/mantra.rst

https://github.com/HumanOps/HumanOps/blob/master/HumanOps.rs...

I see several high level goals, but nothing implementable or implemented. Am I missing something? Is there a tool or procedural system as an end goal here? The goals and mantra are definitely admirable, but how?
Such simulations don't assume determinism.

A complex dynamic system will have evolutions that follow a probability distribution. The simulation should approximate the p.d., and that is useful information.

We do this with weather, market forecasting, and physical modelling.
The first one lauds giving other people access to books for free, leading to the author not getting compensated. Not even DRM (which watermarking isn't) prevents you from sharing knowledge for free. Just write something on your own containing that knowledge and put it up for free.

The thing with the regime seems a bit constructed, but even then authors can just decide to publish those few books where this applies without watermarks. If your goal is to reach people living in a regime you would want to translate the text from english into the language of the place anyway (I don't know of english speaking regimes)
Cost? Probably very similar. However, should the private fire service be around when your house is on fire, you are in no position to refuse whatever price they ask for (and they will happily pocket the difference).
The beauty of getting a super fresh pie baked in a blisteringly hot oven must be experienced to be understood. The reason for this is that when a pie is fresh out of a super-hot oven, the exterior of the crust is very crispy, while the interior is so moist and light it's like biting through foam. As the pizza sits, heat continues to travel from the exterior to the interior, and moisture travels from the interior to the exterior, resulting in a crust that has a slight leathery character, and an interior that is firm and quite chewy.

Unfortunately, there is no way to prevent this process, heat retaining delivery bag or no. You just have to get it and eat it fast :)
I am reminded of campaign by Paul O'Neill to improve worker safety at Alcoa. O'Neill was the first Treasury Secretary under George W. Bush -- to his credit, he got fired early on. I came across this in Charles Duhigg's book, The Power of Habit. It's summarized here:

http://www.post-gazette.com/business/businessnews/2012/05/13...

In my DevOps experience, I've seen a lot of room for the application of his approach. Unfortunately, what often prevails is hurried workarounds and post-facto ass-covering.

Here's how O'Neill sums up his approach in the article above:

> He saw his safety goal as part of a broader emphasis on creating "habitual excellence."

> "I believe an organization has the potential for greatness if every person can say yes to three questions without reservation," Mr. O'Neill said. "The first is, 'Can I say every day I am treated with dignity and respect by everyone I encounter without respect to my pay grade, or my title, or my race, or ethnicity or religious beliefs or gender?' And you know, there are not a lot of places like that.

> "The second question is, 'Am I given the things I need - education, training, tools, encouragement - so I can make a contribution to this organization that gives meaning to my life?'

> And the third question is, 'Am I recognized for what I do by someone I care about?'

> "Every company I know of says somewhere in its annual report, 'People are our most important resource,' but my observation from all these places I had worked was that there was no evidence it was true."
The same thing that happened to stable boys, bank tellers and farmers. In 1870 53% of the labour force were farmers, by 1970 that was 4.6% (https://www.agclassroom.org/gan/timeline/farmers_land.htm). If you told someone in 1870s that 50% of the labour force will be changing their job, they would have a similar reaction.

Granted the speed with which changes are occurring now is much more rapid; if we consider the largest number of people affected in the smallest period of time, it's probably self-driving cars & trucks that will make the greatest impact.

Driving or making pizza isn't exactly high-skill work (in terms of time taken on training), hopefully the transition happens slow enough for these people to retrain for other work.
> Just disregard the segment of your users who don't use password managers?

No. But, consider that the segment of your users who don't use password managers is also very likely 100% intersecting with the segment of your users who do not ever attempt to paste a password into a password field.

So by blocking paste you have zero effect on the users you wish would improve their password practices, and a 100% negative effect on the set of users who are creating and using secure passwords.
JATO Rocket Car (myth)
Maths discovered or invented?
Yes I am. I know iOS allows someone to dial their emergency contact from a locked phone, so in that case I will receive a call from the person's phone that I know about. Otherwise, they leave a message and I get to it immediately and call them back.

The reality of an emergency situation where someone I know has me listed as an ICE contact and someone else calls on their behalf from an unknown number is that I cannot do much to help them in a situation that a minute or two of phone-tag would introduce. That's what 911 and other emergency services are for. If you are ever in a situation where you come across someone that has just sustained major injury, who are you going to call first? Their children or spouse to let them know of the situation, or medical help via 911? I'd hope you would chose the latter to get them the critical medical help they need before you inform someone else of the situation.
Sat nav in a bicycle bell that crowdsources safe routes
Thanks. That is somewhat reassuring. The likelihood of my doing something stupid/oblivious is higher than it should be, but the likelihood of being stupid twice in a row is quite a bit lower.
> Pizza though, pizza has like 90% gross margin. If you could get rid of labor, you'd have a huge advantage economically against competitors.

That's true, but this company looks like they have a lot more labor than a typical pizza chain. If you ever watch a big chain make pies it is astonishingly fast, way faster than this "robot" version (which is really not robotic at all, there are so many people involved!).
US SSNs used to be that way. The initial prefix was based on where you applied, and the last four were shown like it was nothing (Boeing used my last 4 as part of my UNIX account ID). Instead of 5-9 digits of entropy, you're down to just 2.
I would hope this boils down to "The end of on-call, forever."

Boeing doesn't require an aeronautical engineer in the cockpit of every 787, because they engineer their product to be operable. Have smart people build your infrastructure so that junior people can operate it, or else you wind up with unstable, burned-out, formerly-smart-people.
> prefer Dominos

IDK. I order Dominos a lot because I sometimes work weird hours and literally nothing else that delivers is open. That doesn't mean I prefer Dominos. I definitely don't. But it delivers to a large geographic region almost 24/7.
Sadly the question is boiled down to "In or out of EU" instead of "How to make EU better".

Sometimes, the best way to force change is for one party to walk away from the table and force a reset.

I'm amazed at how the Brexit is being cast as the end of History itself. Life will go on. Trade, travel, immigration, other treaties will come into being - probably much along the same lines as what was working directly with the EU.

Perhaps the EU will undergo some fundamental changes that will make rejoining look more attractive to the UK.