skysight-inc/HackerNews huggingface dataset:
> I don't see why I should give up my hard won comfort -- won collectively by my ancestors, neighbors, compatriots, myself -- to strangers. It's natural to accord special status to yourself, then to some close kin, ..., then to fellow citizens, then to the rest of humanity.

This reminds me of a conversation I had with a colleague once. Basically he was making the argument that people work hard to pass on something to their kids, and we shouldn't discourage that. Also that generations of people were working for their own nearest, why should that be wrecked in favour of a new regime?

There probably is something natural about helping your closest first. But nature is not in itself a reason for thinking something is right.

The problem for me is we are talking about excluding people from voluntary agreements. If some guy from a foreign country comes to my country and manages to agree a deal with some employer, why on earth do I have any right to stop that?

Any consequences of that agreement on my wellbeing are indirect. The arguments always go via the market, speaking to the effect of changing supply and demand. It's like when the "wrong kind of people" move into a neighbourhood, lowering house prices. What reasonable complaint does one have, other than if those people in themselves do something unreasonable like littering?

There's lots of things people can do voluntarily that might hurt me indirectly. Suppose everyone decided to speak Esperanto instead of the local language. Do I have a right to stop them? No. Would it have an enormous cost to me? Yes. Would it be convenient for me to use the law to force them? Sure.

So while I can understand that people are worried about immigration, I've yet to hear a reasonable argument to restrict it.
And then others get paid to Sybil attack voting systems on various platforms in order to promote that useless content.

Twitter/Facebook/Instagram/Reddit likes are good value from a marketing perspective.

It's the circle of life.
"When pensioners or just any adult prefers jail to freedom, it makes you think we failed something as a society."

I don't see any reason to take people like myself accountable for the current state of society I inherited from the now pensioner generation, so let me rephrase the last part: "it makes you think they failed something as a society."
Taiwan had a strong incentive to differentiate culturally to justify that they should be an independent country.

Take Singapore which is mostly Chinese and the authoritarian model applies like in China (of course in different degrees but direction wise they are more authoritarian than most western countries).
Now you have households with both working and they can't afford to have kids

This strikes me as ridiculous as a broad-brush, general statement. It's not that Americans can't afford to have kids, it's that they incentivize different things than they did in the past. I don't deny that real wages haven't risen because of the supply of workers and dual-income families, but c'mon. There's been an increase in professional married people that want it all, and these DINKs refuse to sacrifice anything materially to have children. They have lots of adult toys and other conveniences, but somehow can't find the money to raise a child.
I can be really hard to find "hot singles in your area" nowadays.
R: How Fast Is FastR?
Partech is doubling the size of its African venture fund to $143M
It boils down to preferences. So it is a smart move if it is in line with your preferences.

In simple terms saying people having children are not that intelligent, is like saying people preferring pizza over pasta (or other way) are dumb.

(And yes, I do think that those who think the is–ought distinction is bullshit are not that intelligent...;)
They really need to calm down on the FUD and scaremongering...
Don't think so. Selfish, "dishonest by default" tend to be attracted into business rather then having large families. Having children costs you practically. Moreover it makes harder to keep stable partner. There might be larger population of impulsive people having kids or people who never had much chance to be fulfilled by job, but "dishonest by default" I would expect more among high management and those have less kids.
>Does someone have an agenda against Facebook on HN?

Shouldn't everybody have one?
Sigh, another Techcrunch article. Another "Before you continue... TechCrunch is now part of the Oath family" interstitial page and no way to actually turn off tracking, just links to numerous privacy policies. No thanks.

I haven't read a Techcrunch article in months.
Firstly, political systems must also compete. Marxism competes with free-market democracies, and in order for that competition to occur, movement must be restrained. Failing political systems explode with refugees that bring unworkable mindsets with them.

Secondly, all people are equal before the law, which is an invention of the U.S. constitution. All people are certainly not equal. This is codified in religion in various forms ("As you did unto the least of these, you did unto me," karma/samsara, kafir, etc.). It is self-evident that equality is not reflected in wealth, social standing, influence, and power. It is also patently obvious that biology presents impediments to equality. You should not confuse a U.S. legal construct of equality with a generalization of equality.
Those figures are definitely out of date - a quick back of the envelope calculation gives me over HK$1.5m for ESF P1-P13 schooling.

https://www.esf.edu.hk/school-fees/ - and it only goes up from there for the international schools.
It doesn't send that granular enough of a usage pattern though, they have a group of people making sure that they data they collect cannot be used to identify someone.
Of course not, as always, the problem would be to decide who gets to decide that certain people are idiots. History tells us that we're not very good at chosing the right ones for the job. :)
Hooligan X
Employee Data Compromised in Airbus Breach
Pariculary Farm Work (edited for clarity):
Source: https://en.wikipedia.org/wiki/Agriculture_in_the_United_Stat...

In 2012, there were 3.2 million farmers,[19] ranchers and other agricultural managers and an estimated 757,900 agricultural workers were legally employed in the US. Animal breeders accounted for 11,500 of those workers with the rest categorized as miscellaneous agricultural workers. The median pay was $9.12 per hour or $18,970 per year.[20]

From 1999–2009, roughly 50% of hired crop farmworkers in the U.S. were noncitizens working without legal authorization.[23] Large farms rely on new immigrants (such as Chinese, Japanese, Indian, Pakistani, and Mexican) that do not have many other options to work for extremely low wages. The legal status of the worker has been shown to impact the wage received for a job. An agricultural worker with no documentation earns an average of 15% less than one with amnesty or green card.
Previous generations lived with the threat of war, famine, infectious disease.

Now we live with the threat of server climate change, that many people believe is likely to lead to war, famine, and infectious disease.
Hi, I didn't see anything on the page about "intended audience" - would you say this is appropriate for someone who has done the basic classes of statistics in uni but is now pretty rusty or would you need a more solid foundation to be able to grasp the content fully?
>That's a quite a bit weaker of a claim than "philosophers don't understand Gödel's theorem"

That's because we're having a casual conversation, and the reader is supposed to pick up on context. This is not a proof or a paper.
> It is the goal of every competent software developer to create designs that tolerate change [...] Code without tests is bad code. It doesn’t matter how well written it is; it doesn’t matter how pretty or object-oriented or well-encapsulated it is. With tests, we can change the behavior of our code quickly and verifiably. Without them, we really don’t know if our code is getting better or worse.

I agree that testing is a valuable tool for making good software, but I think the idea that all code categorically requires testing to be considered good is overzealous.

I think the most ardent TDD proponents underestimate the costs of testing. Tests are also code which can have bugs and has to be maintained, and having a well-developed test-suite can act as a type of inertia which makes it harder for an organization to make necessary architectural changes.

Don't get me wrong - I think testing is important, but it is just one tool which has to be balanced against a number of other factors.
Aircraft accidents aren't binary at all. Many crashes have few or some casualties, e.g. landing gear failure, running off the runway or hitting another aircraft on the ground. Ditto with in-flight failures that don't impact the flight (there's only one major thing that fails, picked up by the redundancies), engine failures that lead to emergency landings, extreme unexpected turbulence or ditchings etc. that might cause injuries and in some cases deaths. It's only the worst crashes (termed "air disasters" or similar) that lead to everybody on board dying. Of course, these get the most attention. I blame the news.
Perhaps the link should be updated to [1] as the primary source, since it was stated at the bottom that:

> This first appeared in WarIsBoring

[1] https://warisboring.com/the-kgb-shipped-a-sidewinder-missile...
I've seen it happen here actually. Occasionally a thread will come up on Reddit of people looking for alternatives and HN inevitably gets mentioned. Then there's a flood of people posting idiotic comments and memes on the posts here.

Thankfully due to the efforts of the longer-standing community this stuff ends up languishing at the bottom of the comment threads but it seems like it's only a matter of time. It's certainly become a lot more prevalent over the course of the 5 years that I've been here.
> because it would be a buyer's market for tech companies, they could pick and choose the most talented for pennies

Not exactly too much of a price drop would negate the point of them wanting to come in the first place.
Wrapped Bitcoin Project Debuts on Ethereum Network
For the first load of the page, sure. But if you're embedding HTML and CSS, then you can't cache it separately, which means having to fetch it all on every request where anything has changed, in addition to the decoding etc on every request.
> All of that is paid for by the top 25% of income earners.

How exactly is that worked out? Income taxes ($1.6t) and payroll taxes ($1.2t) are a similar level, and rich people tend not to pay payroll taxes as they aren't on a payroll.

Payroll taxes cover social security payments ($1t), so that leaves income taxes paying for things like Defence ($1.2t for military and veteran affairs), which wealthy people disproportionately benefit from.

Medicare and medicaid are the unusual ones, for the cost of those two alone ($1t, or $3000 per head) you could afford universal healthcare in other western countries.
Nice,even their sample apps are only built in native instead of,you know,also adding their own crossplatform offering Xamarin?although i supposed their windows sample can be adapted. i wonder if Xamarin has been abandoned internally
1 or 2 old people? You must be kidding. In a normal sized city where most people live you have at least 10 people in the waiting line every single day of the week and saturday too. Clinics and hospitals and Japan are completely inadequate and doctors mostly spend just 5 mins per patient which is ridiculous.
I lost my data trying to back it up
I get the feeling from your other comments here that you should spend less time watching Jordan Peterson videos on YouTube
Now I want to try the same.
That paper discussed in Science Magazine is very interesting. Here's part of the abstract from 'The Effects of High-Skilled Immigration Policy on Firms: Evidence from Visa Lotteries' (2016) - https://gspp.berkeley.edu/assets/uploads/research/pdf/h1b.pd...

"We compare winning and losing firms in the Fiscal Year 2006 and 2007 lotteries for H-1B visas, matching administrative data on these lotteries to administrative tax data on U.S. firms, and to approved U.S. patents. Winning additional H-1B visas causes at most a moderate increase in firms’ overall employment, and these H-1Bs therefore substantially crowd out firms’ employment of other workers. Additional H-1Bs generally have insignificant and at most modest effects on firms’ patenting and use of the research and experimentation tax credit. There is some evidence that additional H-1Bs lead to lower average employee earnings and higher firm profits."
Probably to try and prevent bots
Its not in free clinics, its Day Care where old people go to in Japan to spend time with planned activities.
A lot of the time it's hard to see any other "spirit" to those "loopholes". The "oil depletion allowance" in the article is described as "Meant to give incentives to drill for oil" - isn't that exactly what it did? If I do the things that the government offers tax incentives for, so as to reduce my tax payments, isn't that exactly the point of those tax incentives?

I have a tax-advantaged pension, tax-advantaged life insurance, and commute on a tax-advantaged bicycle. I believe all those things are in the spirit of my country's tax law - isn't the whole purpose of tax breaks on pension contributions to encourage people like me to put more money into their pensions?

Similarly I have no idea what the spirit of a rule giving capital gains different tax treatment from regular income could be, if it isn't to encourage people to form companies and take dividend payments instead of getting paid normally. Why on earth that's something Congress would want to encourage, I can't imagine, but presumably they passed that law for a reason.
Retirement planning on $1200 SS: Go to jail for half of the time, plead guilty so no lawyer expenses, and when out, live on $2400 :)

Sad way, but it's a way of doing it. Can't blame the newer generation as they can barely manage for themselves. Add mental illness that starts in a lot of older people and professional care is needed.
In my reading of the TFA, it's not. It's the idea that less aggressive individual were naturally selected, partly via sexual selection of the males by the females, partly by pruning of the most violent individuals by the whole group.

Nothing to do with the domestication of one group by another.
You might be interested in Dancing With The Gods by Eric S. Raymond:

http://www.catb.org/esr/writings/dancing.html
> You do realize there hasn't been a raise in real wages since the 70s when you account for inflation right

This also coincides with the end of the gold standard ('68) and subsequently cheaper interest rates and (thereby) access to much more and cheaper capital for those who already have enough capital to begin with.

Also, lower interest rates beget higher inflation.
I remember seeing a piece of code on dwitter where someone was trying to see if they can inject any code in the page. And it was working. So yeah, I'd very much rather avoid that website. Trying to allow users to put their own code on a page someone else is seeing is perfectly ripe for exploitation. Sure, it might be fun initially, for most people, but not anymore when someone uses that power to harm your website and other users.

And I agree you could work hard to try and somehow verify their code, but I doubt it's possible to let them do something useful and at the same time prevent any possible attack.
Aside from a plane dropping out of the sky onto the direct road ahead, would a sufficiently well implemented self driving car ever end up in such a scenario?

The most basic rule of driving is to adjust your distance & speed to the surroundings/conditions. You should always be able to come to a complete stop without hitting anything. Obviously we humans suck at taking everything into account, but would the same hold true for self driving cars?
Someone I know was at a big 4 consultancy was taking the internal class on "Design Thinking".

At one point a lady turned whispered to the rest of the class:

"Design Thinking is just thinking!"

And actually this is simply the case. How did "having a think about things" get its own proper noun?
How I lost my data trying to back it up
> Japan is in the grip of an elderly crime wave - the proportion of crimes committed by people over the age of 65 has been steadily increasing for 20 years

Journalist does not get stats. Its increasing in absolute numbers because the population over 65 is exploding as baby boomers come in that range. In relative proportion its not increasing at all.
That can also be an advantage, if the connection has a high throughput but a high latency (e.g. cellular networks, still), you'd much rather fetch everything in a single request. There's a slight inefficiency in the inability to independently cache assets, but even that's not necessarily a big issue: you'd mostly inline small assets.
The number of functions (or rather programs) is countable though, as we can think of them as Turing machine. A Turing machine is a set of the form (states, transitions). Given that a Turing machine has finite number states and transitions, there are countably many such machines.

So indeed, we reach a contradiction, but the hypothesis was :

> To make things even easier, we can just throw out programs that loop infinitely or don’t return a 1 or a 0

so the contradiction tells us that \bar f is not in this set. More specifically, \bar f may loop infinitely at some point, I guess it does loop when you feed \bar f to itself.
Write a Simple Toy Database in Python Within Minutes
Google needs to monetize their next thing, Maps.

Then they'll fill it with ads so if you search for McDonalds on Maps, they'll be forced to buy ads for their own name or Burger King will.
Let's be fair though, kids ran into that stuff all the time in the past and they turned out mostly fine. I don't see this as big of s problem as the people that get outraged make it sound.
He "sold another house" yet showed no such activity in that year's tax return?
Thing is, if you want to hire foreign, experienced, high-skilled workers, by definition they won't hold a US degree.

The current system favors immigrants that can afford a Master's degree at low-tier for-profit universities (see what happened to the Silicon Valley University). The change will take this even further.

Canada has a non-trivial but straightforward path to permanent residency that tries to be fair to both domestic students and experienced immigrants. It's not really comparable.
Regardless of all the arguments for and against tests, it's important to remember your purpose as an IT professional: Your job is to solve the customer's problem. That's it.

HOW you solve their problems is entirely up to you, and some solutions will work better than others.

The only thing about customers guaranteed to be consistent is that they will request changes. Some will be good changes. Some will be bad changes. Some will be unavoidable changes. Your job here is to guide them through the best possible change process, with the ultimate goal of solving their problems.

Testing is a useful tool for (1) making sure the system matches the customer's expectations, and (2) making sure new changes don't break old things.

How you implement tests is entirely up to you, but once again, some solutions work better than others depending on the situation. Manual testing only scales up to a point before the cost of the manual testing is greater than the cost of implementing and maintaining automated tests. You need to become good at estimation here, but for 90% of projects, automated testing is the most efficient long term strategy.

WHERE you test is also important. Generally, it's best to test components at the edge of their interfaces. When you input X, Y should come out, ideally every time. This is where immutable data and idempotent APIs are VERY helpful for maintaining a reliable codebase. The more you need to cut into a component's innards to test it, the more you should be asking yourself why.

Testing is very much about architecture. Make clear boundaries between components and outside interfaces, use immutable data and idempotent APIs, and tests become a lot easier to write, and more resilient to change.
I'll take a shot and give you 4:

1. you propagate your genes

2. you likely have a backup kidney and liver for your old age

3. you have a human being that is legally required to help you out financially upon coming of age,

4. you have another person in your life that oxytocin makes you fall in love with deeply and unconditionally, and if you don't fuck it up, that love is reciprocated.

Then again, it is a lot of work, stress and there are no guarantees, but it's still as stupid as to join/found a startup (lots of work, stress, no guarantees, it basically changes you) - the main trade-off being is that your child is more likely to grow up well than your startup will become a unicorn, but you can't sell your child for a billion currency units (and i can assure you, if you're not a sociopath or mentally ill, you will not want to). So there's that.
If you want to try modelling some stuff with petri nets, or rather more advanced abstractions, there's the FLOSS tool called "Renew" (Reference Net Workshop) from the university of Hamburg. The UX could be better but it's an interesting tool. It uses reference nets (which are more powerful than petri nets because you can have subnets and modularize your simulations quite nicely). It's in Java and you can execute Java-code from the models (if a transaction fires) which is pretty interesting. The last update to the site was in 2016 but the tool is stable and can be used. They also have a nice User Guide as PDF on the site:

http://www.renew.de/
There is also tons of good stuff at https://neocities.org/browse

NeoCities is an attempt to revive the GeoCities days
I have two anecdotes about testing. First one was where I decided to refactor a function which had something like a 10-way cascading branch each of which had a compound test. Normally I wouldn't bother but, on this occasion, I wrote something like 60 unit tests in preparation for the exercise and one of those tests exposed a misplaced closing parenthesis in my solution.

The second case was where an in-house quotes engine was to be migrated to a SOAP service and some calculations needed to be ported. We didn't have access to the source so we created a small set of the most complex scenarios we could come up with and used those to generate calculator requests. I think we had 26 or 27 test cases and they each required non-trivial setup before the calculator could be invoked. Those cases exercised code which took the developer about 3 months to refine into a working solution.

So what does this reveal? I don't know. On the one hand, we had just under 60 unit tests which picked up 1 bug whilst, on the other, we had less than half that number of end to end tests which were sufficient to build a major piece of business functionality.

My gut feeling is that end to end testing is a better long term investment and unit testing is perfect for refactoring but inefficient for anything else.
No, we don't do it for PDFs and videos. HN itself adds those tags. Which don't count against the character limit. Your tag would.

I'm not terribly into the publication year in parentheses, but I have accepted that. Even though it's a real nuisance when submitting lots of "historical" stuff.

But I'm strongly against anything making submissions more cumbersome.
Dupe: https://news.ycombinator.com/item?id=19039799
I had a job interview for a position at a company called Web Applications UK
Map of countries officially not using the metric system
Just like from “Back to the Future” – Puma presents its self-lacing shoe
Global Police Take Down Notorious Online Marketplace
We don't allow poor people to sell one of their kidneys for cash.

I know this is not the same as privacy, but consider it when saying "is consent not enough anymore"