skysight-inc/HackerNews huggingface dataset:
The "lump of labor fallacy" isn't really relevant here because we're not talking about work going away. We're talking about the usefulness of human labor as a means of production going away. No, not entirely, but enough that our economic system as it currently exists will fail and we'll need a new one of some sort.

You know the old illustration about the buggy-whip makers complaining that automobiles were destroying their jobs and putting them out of work, and how could anyone possibly survive that? Then, oh look, there were tons of new jobs created in automobile factories and everyone was better off than before.

Well, in that story, we're not the buggy-whip makers any more; we're the horses. Horses didn't move on to better and more productive forms of transportation employment. They simply became useless except in a few remaining highly-specialized working roles, or as pets. Or glue.
Configuration-Driven PHP Security Advice Considered Harmful
Are you implying that Jack Ma did not really say that?
It would be funny to redo the icons also. I like how the shortcut bar gives you the option to use only the icons, as if anyone can remember more than zero of them.
> They're producing desirable results—things like better performance at runtime, better memory use, et cetera. So I return to my original point: if those things are desirable, then mention those things

My original, admittedly obscured "point" --- why? All these are obvious to anyone here and we store them under the compressed moniker/variable name "compiler" so every HN reader automagically decompresses this moniker upon encounter into the entire range of benefits. People talking about programming languages naturally see no obstacle in this, in fact usage of umbrella terms (esp. when the usual motivation for usage is "whatever benefits are implied by term X, I want them all anyway") makes for more fluid and rapid conversation in all manner of fields.

He could have said "I want better performance at runtime, better memory use". How insanely generic, every programmer wants this from any language. Then some clever guy comes and asks "better than?", OP answers "than interpreted languages", then flamewar ensues. Not productive either.

Ah well. A curious discussion for sure. =)
Probably a bit of both. I know the team I was on when I worked there was fairly proud of duplicating effort implementing things that other teams had already done. But Twitter does tend to build really good stuff.
It still is because the consequences of losing a job are far worse for an H1B candidate than others. Not to mention those stuck in green card processing limbo who are put in bad spots by employers that can shift them around and reset their process.
Yeah, when I worked for TomTom and suggested that idea, they weren't very enthusiastic about it.

And my other suggestion about a TomTomagotchi that you have to regularly drive around to different places to keep happy didn't go over very well, either. Maybe a petroleum company would be more receptive to that idea, though.
I agree that it's a good idea to start phasing it in, whether or not we still end up having jobs. A basic income would transition society to a more status-driven instead of survival-driven economy. And that sort of society would hopefully offer a lot more opportunities for finding meaning in life to people who are currently lacking them.
Before people start complaining that the article is paywalled, here's how to read the article:

* Click on the "web" link at the top of this page

* It takes you to a google search results page

* Click on the link to the article and you can read it

* If it still does not work, open an incognito/private and repeat, it always works

If you're wondering why this works, it's because Google is is the referrer.
I'm a software tester, but the company I work for gets a lot of third-party data from CSV files, which frequently do not match the requirements set out for those files. Using a CSV validation tool (ideally a web service controlled by the company I work for) would allow our clients to validate the files before they sent them to us.

I'm slowly putting together my own solution for this, but if suitable open-source software already exists I'd be happy to make use of or modify that.
There are still ways to stop people switching.
> anyone who is actually really affected by these esoteric things

They may seem esoteric, but they affect everyone. The amount of CO2 in the atmosphere and the acidity of the oceans also are esoteric.
Is there a way to monitize videos like Youtube has?
Fifty Shades Darker – An upcoming and one of the most popular movies
> The UK will smartly make some concessions that especially punish the districts that made this happen (No one will really talk about this).

The districts that voted for it?
I really wish Google offered some way to indicate that you wanted a strong spatial correlation between two or more words that wasn't just the "I need this phrase verbatim" of quotes and allowed them to still do the smart stuff with synonyms/different forms of the words.
Addressing Consumer Concerns
What is your opinion of bottle.py?
I only want to use open-source code for something that my life depends on. That way it can be open to any one to inspect some can independently determine if the code is behaving as desired.
This did not work for me. Still paywalled.
> But like anything complicated, this isn't a simple black and white move to benefit users.

It is to me. Any page that greets me with large pop-ups and "Download our app" messages can sink into obscurity, for all I care. I'm not going to download just any app and trying to force me by making your site deliberately shitty will only make me angry at you. I realy hope this move from google includes sides that slide in a ("get our app!")-banner after a few seconds, just right so I accidantely click the banner instead of the link I wanted to click.
It has been my experience that those who speak ill of capitalism have never risked it all to launch and run a business after identifying a need or dreaming-up a new product or service. Words like "greed" are then flung about in complete disconnect from reality.

Here capitalism and free markets become evil as they are "watched" from the outside. Little do they know just how hard it is. Little do they know what degree of effort, dedication and tolerance for risk it requires.

They look at entrepreneurs and companies and eventually see evil from their flawed frame of reference while neglecting to notice all they have thanks to precisely the people they vilify. Nothing funnier than an anti-capitalist using a computer, and iphone, a car or enjoying the benefits of modern medicine. Even wearing a pair of socks manufactured through modern means while criticizing capitalism is nothing less than hypocritical.

Will capitalism survive the robot revolution?

Of course it will.

What will create the robot revolution in the first place? It certainly won't be people not chasing dreams or taking risks. It will be people willing to put it all on the line to chase their passions and ideas and, yes, to make a profit while doing so. Profit is the feedback that says you are doing something people want. It's the result of a voluntary relationship between producer and consumer. It's a good thing.

Capitalism doesn't require advanced technology. It has nothing whatsoever to do with it. Robots, horse-drawn carriages, cookies or light bulbs, it makes no difference.
Still wondering why AWS does not provide a solid PaaS solution like Heroku does (they are on AWS, though) - or am I just overlooking it? I would like to host a few node.js/Clojure apps but I don't want to have the hassle with virtual machines/IaaS.
Quasi capitalism with some kind of cap how big a business can grow might be another step.

Yes, it'd be difficult to implement and run. But it'd have the good parts of capitalism - incentive and free market. While without the big corporations that eventually seem to limit both incentive and free market. Yes, free market with a cap is not totally free. But big company capitalism as we see today is far from really free market too.
I should reword my comment a bit. I don't mean to say there are no strings but sometimes it is presented as H1-B's have no freedom to leave or power to get higher wages.
I think it's pattern matching and intuition. If I see y = k/x, I can immediately process what that looks like. Further, I can take advantage of tons of conventions that make it read differently from a = b/c or even y = z/x. The conventions take some getting used to, but after a while writing out dependentVariable = divideBy(constant, independentVariable) would get super tedious and it's absolutely not instantly pattern matchable. Especially when you're working out some manipulation where you have to write the same variable a zillion times, and maybe even depending on your brain's pattern matching and inspiration to kick in. Hell, at this point I even use a shorthand for cos and sin for those reasons.
That's definitely a habit you've formed, that you can grow out of. Given no choice, you'd quickly figure out optimized way to do the same things without a personal car.

Given proper public transportation, I did. Not owning a car is not only a lot cheaper, it's also quite liberating:
- I don't fear I'll wreck it, or worse, I'll badly injure someone in a car accident
- I don't have to drive and be angry about other people on the road, like a lot of drivers
- I'm not owned by my car, that requires maintenance and cost beyond just running it.
- Not fighting for parking spots!
Ask HN: What makes a good recruiter email/advert?
I suspect most here experience the same thing. On a daily basis you'll receive numerous emails or adverts from a variety of channels.

My question is simple: What makes a good one? Or what makes a bad one?

The vast majority are simply copy/paste templates where your name is replaced. The sender clearly doesn't know you. Instead I'm looking for data if targeted adverts would be better. For example, an advert quoting your recent OSS contributions, StackOverflow questions and blog posts that in turn links back to the job description. This is in contrast to the mass blanket approach traditionally taken.

I don't believe standard recruitment companies could perform this research step but my belief is that such adverts would increase engagement, even if nothing comes from the lead directly.
Is that an Android thing? I have never experienced this on iOS. I didn't even know browsers could trigger vibration on mobile.
Ultimate Linux on the Desktop
I don't think you're aware of the abuses that happen.
The syntax is atrocious, but there isn't much C can do about it.
I edited my comment, open a private window and repeat.
It's a bird, it's a plane, it's radar interference (2016)
Broken window fallacy?
<i>It's a one way transaction where money accumulate to the capitalists while the population is depleted. Money should circulate, like water in nature. It should not be captured in some lake (offshore account) from where it goes no further.</i>

Well, that's what he have since Reaganomics, isn't it?
Do these people ever consider that they might have their causation backwards?
Elastic Beanstalk and now Lightsail.
Or: pursuing high upside, low-risk situations.
ElasticBeanstalk is their PAAS-like solution. I still tend to build out things with Heroku as the central point and slot in AWS services as they make sense.
> At around a billion records, you start getting into distributed/scale-out systems, and distributed indexes are performance death whether for OLTP or analytics. Even before you cross into distributed query processing, the random access nature of indexes levies a heavy tax.

I assume you mean once process/aggregate a billion records. Having a billion records in a single table on a single, non-distributed system is not an issue at all.
This implies that making money can only come from the kind of jobs that are at risk of automation. But I think when robots take over our current jobs, we are freed to pursue other things which may have a different value premium and thus earn money
SO-B1-001 Limiting Current Type Sensor Oxygen Sensors – SO-B1-001
.NET Core Image Processing
Ask HN: What free/paid app marketing strategy has worked best?
I've tried Facebook ads, Google Adwords Install ads, Fiverr gigs, etc.

It seems almost impossible to post on communities without being annoying. I would write a blog post, but without any regular subscribers, my posts won't be read at all.

I wouldn't mind spending money for REAL users, but it seems hard to get quality users.

Regardless of the type of apps, what has worked the best for your app?
Unfortunately, capital/corporations don't need humans to have an economy. Let's say 1% of the population owns the capital. Then all capital (resources, automation, etc) can be used to serve the 1%. As their wealth grows, and their capital capabilities grow, so may their demand for thing such as space craft or other ridiculously expensive things.

The result would be an economy with fewer and fewer people, and yet the economy is "healthy" in that both production and consumption continue to grow.

Now add in machines capable of a survival imperative, competing with each other to open up new resources to enhance their long term survival. Now an economy grows without any people.

This is the default we are heading toward.

I don't know what the best answer is for humans, except to view all humans as retirees, and give future machines the benefit of retiring in the future too, so that both humans and machines are aligned in the desire to subsidize themselves eventually as they become obsolete.
.gov, .mil, and .edu predate the existence of country-code TLDs. They're a legacy of when the Internet was a US government funded research project.

You could argue that since the Internet has become a global commercial network, the US should no longer have these special, exclusive TLDs. But switching over would be a ton of work, and there really aren't enough downsides to the US having these domains to justify a change.

It's worth noting that .fed.us exists, although hardly any government sites us it. State/city governments often use .[state].us domains since .gov was originally restricted to the federal government, but that restriction was lifted and it's common to see .gov used for state/local governments now as well.
service discovery is not yet in kubernetes. the proposal is here - https://github.com/kubernetes/community/blob/master/contribu... and https://github.com/kubernetes/community/blob/a1d8453e184dfd8...

secret storage is not done - this is the bug tracking the Hashicorp Vault proposal https://github.com/kubernetes/kubernetes/issues/10439

The configuration scheme is not fixed yet - https://github.com/kubernetes/kubernetes/issues/10439

The game is still up in the air. While I'm bullish on Kubernetes, its still not the superior choice.
Sorry, I didn't realize that access to DAZN is that limited. I'm from Germany and as a huge football fan a Sky subscription is a given - I need it for Bundesliga and Champions League. There's no way that I'll deal with shitty, ad-ridden illegal streaming sites in video quality. Sky used to show Premier League in Germany for years, but this season the rights to DAZN. It's a huge blow for Sky, particularly since they lost La Liga a few years ago as well.
I have no intention of installing the dependencies for wine, notably the lib32 stuff.

Secondly, if they treat Linux as second class I'll treat them second class.

Lastpass even has a cli client for Linux in addition to working on all the browsers, I see no reason why 1password is doing it even remotely better.
I built custom storage for Twitter back in the 2010-12 period. There wasn't much off the shelf in those days that worked out-of-the-box at scale besides Cassandra, and Twitter had a well-documented attempt at using Cassandra for primary workloads that failed due to the amount of variance in IO and latency for high-volume workloads.

Most of the time, we were building custom distribution layers on top of open source storage (e.g. memcached/mysql/redis/etc). I think blobstore was the first thing twitter put in production that was mostly custom, followed a year or two later by manhattan. I'm not sure if there's even now good open-source competitors for those projects, largely because any reasonable smaller company uses s3 or dynamo.

There's plenty of open-source things twitter created, or nurtured out of the existing ecosystem, from mesos to memcached to some of the hadoop/scalding/parquet stuff.
Optimize for more than immediate profits. Don't consider themselves detached from common population, and act in the interest of the greater good. It's a case of game theory - we need to cooperate even at the cost of a personal loss for the greater good, otherwise we all lose.
Anything limited will be scarce since life and technology optimize the use of all resources.

At some point, water needs to be used for one thing, and not another. That necessary choice is what is meant by scarcity. Choices must be made, recycling water won't avoid the need to choose what to do with the water.
I looked at ElasticBeanstalk back then, and - frankly - to me it sounds like an overcomplicated PaaS product. If I understood it correctly, they basically "just" tie together a bunch of services for you. I was expecting something as simple as Heroku, actually.
What do physicists believe are the benefits of studying string theory?
You can, and the reply would remain. The tree then looks like this:

comment1
[deleted]
comment3

However, you can delete comments only until a certain amount of time. If you wait too long, you can't delete anymore (and this is what happened here).
I see how the EU can control EUR derivatives within the EU, but I fail to see what kind of legislation the EU can pass that will have an effect in the U.K.

What would the legislation involve? A derivative is just a contract between two parties saying EUR must be paid upon a list of conditions. How is the EU going to stop this?

I'm arguing that if they did pass a law that just bans foreign derivatives trade outright, the trade would simply move to a country less friendly to the EU than the UK. And the EU knows this, so they're backing off with the legislation, since they consider themselves better off with the middle-way of at least containing it in London.
PrimeNG 2.0.RC1 Released
Lightsail isn't really a PaaS, it's a 'simplified' rebranding of EC2.
I'm a programmer at one of the big web companies.
Did you land the opportunity yourself or how did it come about? I see one of the biggest issues being that people always hire contractors for their area of expertise. It is thus difficult to convince people that you can do a new technology without having done it before for a client.
Honestly, I see this as an antipattern, not because it generates extra layers, but because a Dockerfile isn't the right place to write a provisioning script.

When building apps, I keep a small number of shell scripts that live in a `bin` directory, that perform essential operational tasks.

One script installs all the dependencies required to either run or develop the app; another runs all tests and exits with either success or failure; and the final script just runs the app.

Docker then just runs those scripts, which are written deliberately to be easily read, and thus function as living documentation for the project.

These same scripts get used, both by developers on a daily basis, as well as by our CI/CD system when prepping containers.

This also makes onboarding a snap: you run `bin/setup`, and your Mac or Linux box is good to go. And, because that script gets used every time the CI system spins up a build, it will never go out of sync with reality.
You are mixing capitalism with markets.
What's an upsert?
While those can work well in some situations, I think one of the key problems is thinking in terms of whole ideologies. Capitalism has some good features and it's a great system if and only if its prerequisites are met. The same it true for every other system.

Use capitalism (or variant) if a proper market exists. When a natural monopoly contraindicates market-dependent methods, use a cooperative or publicly managed service or whatever is more appropriate for that specific situation. A pragmatic approach should use all of the available tools. Pretending that one ideology is "better" without first considering the local context is the political equivalent of seeing every problem as a nail because you only use hammers.

Replacing capitalism with another system that has a different set of problems isn't the solution. The core problem starts with the consolidation of power and resources, amplified by the unbounded risk created by rapidly increasing complexity. In software we (try to) manage complexity with various types of modularity. Separating the problem into manageable pieces limits risk and prevents some forms of common mode failure.

Thus, a good "alternative to capitalism" is probably capitalism with a strict upper limit to the size of business and other organizations. if your business grows to more than N employees, it must be divided into pieces smaller than N.
It does, it's a lighter VM than VirtualBox which is what docker machine used, but still a VM nonetheless.
I don't know enough information to know either way. I was told by someone to read the book "Not Even Wrong" which goes into the history of the scientific community and string theory.

I've read the first chapter or two and it seems worth checking out.
When my company can accomplish everything it needs to more cheaply without human labor, using automation for both physical and informational and even creative work, there will be a fundamental change in the economy from the perspective of humans.

I assume you realize that lost of things have gone obsolete. We are talking about humans becoming obsolete. How can that not radically impact humans?

Your argument comes down to saying, the past didn't have this problem, therefore the future won't. But that is not a good argument.
Notification with a possible opt-out is not always sufficient, some countries require consent / opt-in.
I'm not saying the EU politicians don't want to control the derivatives trade, I'm saying they're essentially incapable of doing so, because anyone can write up a contract that's settled in EUR. No one can prevent that, although the EU might be able to force the UK to ban it, they know it would just move elsewhere due to its nature.

Controlling EUR is one thing; the EU has complete control here with the ECB. Controlling EUR-denominated contracts is something completely different, because EU-legislation has little efffect outside the EU (unless you're a friendly neighbor like the UK).

The EU doesn't want to see EUR derivatives trading move to Panama or the Cayman Islands, so they've become content with leaving it in the UK, I believe.
New jobs always arise when technology makes old job categories disappear. When agriculture became mechanized, farm jobs evaporated, but in exchange we got supermarket cashiers and insurance agents. The same thing will happen now. Job categories will disappear and others will get created, that we can't imagine yet. The transition will be rough, but capitalism will survive.
This article reminds me this reflexion at the end of a paper I wrote a few monts ago in http://epsilonwiki.free.fr/lambdaway/?view=lambda_calculus :

« Church numbers could be seen as tiny CPUs, small primitive engines ready to iterate. Not dead datas stored in a memory and sequentially given to some CPU iterating on them, but an arborescent structure of CPUs interacting in a de facto parallel process. Maybe it's how Google's data centers work. Maybe it's how our brain works, full of Church neurons. Why not ? [...]. »

Don't blame me if it is out the topic, but I wonder what some smart person could think about that? Thanks.