skysight-inc/HackerNews huggingface dataset:
> "from 2016 to 2017, the proportion of adults who described themselves as more anxious than the previous year was 36 percent"

Note this is not the same as the real increase in anxiety from 2016 to 2017, nor is there evidence to suggest this is a good proxy for it. In fact the only good evidence cited for an increase in something, is suicide from 1999 to 2017. But clicking through to the study shows a steady increase during that entire 18-year period, which makes the following seem ridiculous:

Right now the first 5 or so "recommended" comments are commenters blaming Trump for the rise in depression. That is simply implausible to me. Sure, he might plausibly be a symptom of such a rise in the past 2 decades, but I don't think average Americans go through their day-to-day worrying about how the actions of their president might negatively affect their lives. A bad manager at work, relationship troubles, financial stress, or any number of "smaller" issues would be much more likely to cause that.
It's not that simple. New versions of Firefox can require a higher minimum version for the Rust compiler, and upgrading that will break the ABI for all crates that don't stick to a pure C ABI, regardless of shared vs. static linking,
> Work, save up, start a business of your own choosing. So many excuses for those unable to achieve this simple formula that our forefathers fought and died for us to have the right to.

That dream is only viable for a very, very small population.

see: Those who have to work multiple jobs to support family, those saddled with crushing loans, those with ailing family while being the sole provider, those who are denied loans because the happen to be born in a zip code a biased algorithm deemed as more risky, etc. etc.

Pulling yourself up by your bootstraps is a great move when your privilege and opportunities align well.
You can't run a whole economy on altruism --- and the more we transfer wealth from the productive to the unproductive, the closer we get to an altruism economy.

Your bio says you're the leader of a 1,000 person startup: would you expect your employees to show up without getting paid? No? Then how can you call pointing out the consequences of a no-pay economy "sociopathic"? Is it wrong not to want to live in a global soup kitchen?
Why are you reading a couple of ifs instead of having the two similar things represented by separate classes with shared functionality in a common class? Or even if you prefer composition to inheritance you could still make it work cleaner without a bunch of if statements.
Out-of-date software and related dependency hell is the breakage that rolling-release/Arch gets me away from.

More UX anecdote; I use Arch (btw) but trying Manjaro just now for something so I grabed an image from osboxes.org; the system update fails after hitting enter on the default options https://i.imgur.com/OTNRMrH.png

'y' for the last would have continued things, but "ugh, I have to think about something" is breakage to some.
Studio Ghibli Announces They’re Working on Two New Films
The researcher is not expressing ideology, but rather making a point about the issues of using productivity to assess public good.

His point is that by buying your tenth car you will contribute to productivity, but the use value of your tenth car is much lower than having those same ten cars (and thus the same productivity) spread across ten people.

It is even more obvious in the extreme case: if a population of N people produced N cars, the total public good of every person having one would (I hope you would agree) be higher than the total public good of one person having all of them for their own use. However, in both cases the productivity is the same.

Thus, whilst productivity is a useful measure, it does not account for everything we might be interested in when considering the effectiveness of our economies.
It seems absolutely within amazon's technical ability to allow you to prepay for usage, and then evaluate your use on a per-hour basis.

I have a side project that uses AWS at the moment, and while stuff like serverless RDS instances are really cool, it scares me that somehow amazon is going to have a bug which empties my checking account. I've read as much of the documentation as I can find and have done everything I seem to be able to to prevent this from happening according to AWSs documentation, but it sill worries me.

In fact here is a banking feature I'd love to see: per merchant daily spending limits. I would love to be able to tell my bank that amazon is allowed access to up to $20/day or something of money until they get rate limited and I have to intervene.

Uh oh I better stop before I start advocating for the blockchain, haha
I can say that for every language on earth. C is the best of the alternatives in a lot of areas. And yes, C++ is almost always a bad alternative to C.
It takes a lot of virality to go over $5/mo for a smaller-side project in Cloud Run. (essentially if you got the point where it would go over, the additional surplus traffic would be well worth it)
thanks, I hope you're right, GCP doesn't appear to be clear on this point, seems to be offering free trial up to May 2020 and then who know. I'm aware of the ability to set it up from open source which is a great fallback!
Not even that, the deaths and injuries are immediate for drivers. Canada implemented this in the worst way possible so that any alert gets the highest alert setting possible (Presidential: what would normally be reserved for an imminent attack) - bypassing silence, do not disturb, and any volume or device setting. So Imagine a truck driver at 3 am being suddenly startled by the blaring alert and then scrambling to shut up the noise.

This will almost certainly be one of those things that future generations will look at us and wonder "wait they did what?".

Unfortunately the current dialog in Canada about this is "why do you hate children?" if you do anything but genuflect towards our AMBER alert system.
Oh man, wish I'd seen this a few days ago - ended up doing something ugly using printf and xargs...
If you’re writing shell scripts you should have https://www.shellcheck.net/ in your editor and pre-commit hooks to catch common footguns.

Even then, my threshold for “this should be Python” has shrunk over the years: I used to say “greater than one screen of code” but now it’s more like “>1 branch point or any non-trivial scalar variable”.
Or a $7 Heroku dyno if you don’t want to manage disks, networking, patching etc. and can afford the extra $2
I'm in retail in the UK at the moment. For doing credit, the main way we use is by drivers license. I plug the details into a form at the till and check the face. It does an online check with the DVLA.
> Profit is not a sin.

What work do shareholders actually do within the confines of the company?

If you gave a poor unemployed person the investment capital that shareholders have, then from the company's perspective, how do you distinguish them from other shareholders?

That was the parent poster's point.

> Tech treats its workers better than practically any other industry, and there's never been an industry with fewer barriers to industry.

Instead of economic or physical barriers, we have hordes toxic personalities that try to gatekeep people. It's not all sunshine and roses.
What a complimentary business strategy :)
And static analysis is not limited to build time so it can provide value even earlier.
I keep hearing stories but am yet to be burned with a fake myself. Perhaps paying attention to the seller and the listing makes a difference after all (I don’t know how others do it), or Amazon US uses different procedures when shipping internationally, or I’m just lucky and haven’t been buying that much (fewer than ten tech items in an average year).

If anyone chooses to order memory cards or the like from Amazon US specifically for whatever reason, I find that at least an hour reading reviews and surveying listings is required for me personally to be reasonably hopeful I will get what I want. Trying to spot dishonest reviews or signs that older reviews are for a different product (swapped listing). I imagine if I were in the US I could simply order multiple product variations from different listings & sellers and then pick the most genuine-looking one, returning the rest, but that would be a major hassle when ordering overseas.
Real answer here.
I don't think this is a very practical approach. People both need and want to fly places. We need to accept that and find ways to make flight greener.
Then don’t get infinitely scaling services and get a Vultr instance, where your costs are fixed.
This is hardly a new revelation. Edward Tufte, whose books about the presentation of data are well known, wrote a thin pamphlet around over 15 years ago that was essentially a rant against the use of PowerPoint presentations. See:

https://www.amazon.com/gp/product/0961392169/ref=dbs_a_def_r...
I didn't know about the one-time-code autocomplete. How do they prevent this from being used to steal one-time passwords sent by other sites?
You also earn extra-stupid points when your employers and peers across decades gently tell you to knock it off and you refuse.
Usually it's in the political context, as a cautionary tale about why you shouldn't fund healthcare/social programs/etc.
Why Physics has made no Progress in 50 Years
> Profit is not a sin.

Agree 100%, but it can certainly be argued that letting members of your community die on the streets is.
> Huh, when does anything break in Ubuntu LTS if you don't do a dist-upgrade?

That's a fist-full of caveats. Arch is willing to upgrade the kernel, maybe you should include a dist-upgrade in the comparison.
The C "boot camp" is called K&R (plus a plain Linux development environment). Plenty of devs have gotten started with just that, and in around the same time.
Agreed, this is mostly unsupported conjecture, but I think people underestimate how far mitigating healthcare costs would go. Since healthcare costs can be unpredictable (a sudden severe injury, or even just the opacity of health insurance) and costly, they force people to maintain more savings, take less risk, and generally constrain freedom as economic actors.

Do away with, or at least reduce, this bogeyman and I wonder how much economic activity we’d unlock.
Heh. Funny sorry:

One time I was on a drug that had to be shipped to me from an out of town pharmacy in a refrigerated vehicle. The delivery guy demanded that my apartment leasing office refrigerate it, which led to them almost losing it.

Next time I had it shipped to a local pharmacy instead for pickup. That pharmacy didn’t refrigerate it at all and insisted that was kosher. (They also almost lost it.)

I called the original pharmacy and they assured me it doesn’t actually need to be refrigerated, as long as it doesn’t reach its melting pint of like 100 F.

The package said it needed to be refrigerated.
My rule of thumb is- if I think I'm going to need to use an array in bash, I'm probably doing something wrong and better just use python.
Checkout privacy.com you can set merchant daily, monthly or yearly spending limits.
The problem is "elective" has a different meaning in doctor-speak than in common usage. "Elective" doesn't mean it's something you can reasonably decide to have or not, in doctor-speak it's the opposite of emergency. If it's put on the schedule rather than done stat it's elective, no matter how serious the procedure.
For personal projects I think App Engine is superior due to the included services like Mail API and Memcache API.

There are also features like Firewall API that's lacking in Cloud Run right now.

One downside of App Engine (due to its 10+years of history) is that one GCP project can only have one App Engine app in a single region, and you can't change the region after it's created. You can have arbitrary number of Cloud Run service in one GCP project, each can be in different region.

It's also harder to take a Infrastructure-as-code approach on App Engine as there's no easy way to diff between the deployed version and the intent (in Cloud Run, you can use the container image hash for that purpose).

Disclaimer: SRE working on App Engine and Cloud Run.
These stories are everywhere. A couple months ago, it hit an associate of mine pretty hard, he moved a small python monitoring and statistics application off a laptop in the office to AWS. A couple weeks later he came back and discovered that it had burned up a few thousand $'s in storage and transfer fees for what normally was a couple hundred MBs of data a day being passed around and a some database updates.

Since it wasn't really worth debugging what went "wrong" it got chalked up as a learning experience and moved back to the laptop where its happily running. If it dies/whatever its no big deal, just a git clone;./runme; and it rebuilds the whole database and creates another web facing interface.

The IaaS guys are masters of marketing. They have convinced everyone that their offerings are less expensive and more reliable, which repeatedly is proven to be false in all but the most dynamic of situations. In this cases its saving $7.99 a month over a unlimited site shared hosting godaddy/whatever plan. Just in case it might need to scale a lot, in which case your going to be paying hundreds if not thousands in surge pricing.

No thanks...
How to be anonymous in the age of surveillance
>Do you think it would be impossible for the perfect uber-individualist to ever make the statement "men play more basketball than women"?

no but there's a really big difference between the trivial observation that more men play basketball or code and the conjecture about why that is the case, in particular when it comes to intellectual pursuits.

Discussions about the 'why' very quickly venture into personal beliefs as it's a hugely complex topic with lots of open questions, and in my opinion teachers who hold a lot of authority and can leave a lasting impression on students should probably avoid dabbling in conjecture when entire groups are involved.

There have been some studies done on testing the math performance of female students when they were told that girls score worse, and that fact alone had a measurable impact on the test performance. The same has been done with low-income groups and so on.

So even speculating from a position of authority can have a tremendous impact, I'm not sure it's the job of a CS teacher to publicly speculate about the motivation of entire groups of students.
We had a bad side effect here in Ontario (Canada) not so long ago. The LCBO (liquor store) was using plant-based "plastic" biodegradable bags. Then our crack- and alcohol- addicted mayor (Rob Ford) passed a bylaw in Toronto so stores had to charge 5 cents per plastic bag. That sounds like a good idea, except that the biodegradable plant-based bags were still considered plastic. So, the liquor store stopped using them entirely, and opted to stick to standard brown paper bags, which haven't nearly the strength of the plant-based bags.

Eventually that law was given up because it was hugely unsuccessful - people didn't even slow their usage of plastic bags, and so a lot of resentment developed since no environmental impact was to be found, and stores were clearly happy to profit off of using super-cheap low-quality plastic bags they still charge 5 cents for.

Several years later, still nobody is providing or using the biodegradable plant-based bags. People seem happier, or at least numbed to the idea of paying extra for plastic bags, than either carrying their own bags, or turning to other solutions.

BTW: The lcbo bags were made out of the same plant-based material as used in bio-degradable cutlery, which likewise has pretty much failed to replace single-use plastic ones. For no reason, since there is clearly no shortage of plant-based material from which to manufacture them.

I believe there to be a serious marketing problem when it comes to already existing solutions.
> Your own trash is very unlikely to end up in the ocean.

Except if you live in Asia or a developing country, which is a large percentage of the world population. After traveling through that region I can honestly say that I am not surprised to see so much plastic in the oceans. People dump trash in the water, throw plastic bottles on the ground, waste and recycling infrastructure is largely non-existent. Even in richer middle tier countries like China people just toss their plastic into the rivers.
I think each one of us has a different idea what a "bullshit job" is. My favorite definition is this:

> When it comes to garbage collectors, though, it’s different. Any way you look at it, they do a job we can’t do without. And the harsh truth is that an increasing number of people do jobs that we can do just fine without. Were they to suddenly stop working the world wouldn’t get any poorer, uglier, or in any way worse. Take the slick Wall Street traders who line their pockets at the expense of another retirement fund. Take the shrewd lawyers who can draw a corporate lawsuit out until the end of days. Or take the brilliant ad writer who pens the slogan of the year and puts the competition right out of business.

> Instead of creating wealth, these jobs mostly just shift it around.

(the article itself[0] tells about how banks in Ireland went on strike for 6 months, but the strike was shrugged off as there was no impact)

[0]: https://evonomics.com/why-garbage-men-should-earn-more-than-...
Oh I didn’t notice that. Then I agree this is silly. No you should not heat your Zantac to 266 F haha.
I think isolation is great if you have everything going great in your life: great job, great apartment both close to a city center where you can go out to have fun and meet other people, and have great health.

The problem is that when economy or your health gets worse, you start to depend on your family and friends more. In a culture where isolation is norm, I can imagine that it takes lot of time and effort to reverse the trend.
Even coding in Erlang/Elixir (inside the BEAM VM in general) where parallelism/concurrency is a 99% solved problem and works as you expect, people still manage to fuck it up with trying their damnest to invent mutable data structures, or inadvertently make 1000 tasks wait on one green thread (when they absolutely shouldn't and there are much better solutions).

It's quite comical and sad to watch at the same time.

I agree with the article's title: we really need a new breed of programmers.
Where do you think the "unproductive" shareholders got the money they used to invest? Sure, some of them had wealthy families and they are using that, but at root all wealth came from someone who was productive at some point.
I have used it for work-related reasons and indeed the service is quite nice. But I don't use Google Cloud Run for personal projects for two reasons:

- No way of limiting the expenses AFAIK. I don't want the possibility of having a huge bill on my name that I cannot pay. This unfortunately applies to other clouds.

- The risk of being locked out. For many, many reasons (including the above), you can get locked out of the whole ecosystem. I depend on Google for both Gmail and Android, so being locked out would be a disaster. To use Google Cloud, I'd basically need to migrate out of Google in other places, which is a huge initial cost.

Both of those are basically risks. I'd much rather overpay $20-50/month than having a small risk of having to pay $100k or being locked out of Gmail/my phone. I cannot have a $100k bill to pay, it'd destroy everything I have.

Also I haven't needed it so far. I've had a Node.js project on the front page of HN, with 100k+ visits, and the Heroku hobby server used 30% of the CPU with peaks at 50%. Trying to do the software decently does pay off.
If they're not being cleaned adequately report it to the medical board.
I suppose I had a more forgiving day, the other day, and told someone the threshold was hundred lines. Anyway, some value.

It just challenged my colleague to make the code denser, to stay within the given limit. Sigh.
often you won't get hired if you've had more then 8-10 months of unemployment without reasonable explanation.

I do a lot of hiring. You are correct and further - literally any gap at all is viewed as suspicious. And there aren't many reasonable explanations that help the situation.
Yeah, it's an arms race.
lol by that logic, there is a non-insignificant death toll every time someone farts
Well I'm just a regular joe user, but jails were a PITA and still is even with iocage. Sure getting a jail up and running with nothing in it is simple, but anything useful will need networking and then it's not so fun anymore.

With Docker even a Windows schmuck like me could get a networked container up and running in a few minutes.
I've created a Jupyter notebook here: http://ec2-52-15-66-200.us-east-2.compute.amazonaws.com:6677...

that demos my ongoing progress with Sylvester and I'd love your feedback. It's also available on NuGet: https://www.nuget.org/packages/Sylvester.tf/0.2.3.4 with a native TF 2 package: https://www.nuget.org/packages/Sylvester.tf.Native.Win/.

It's still WIP but coming along pretty well.
We could achieve 100% unemployment by putting anyone without a job in work camps. Living with a bunch of friends who are still struggling, everyone is aware that opportunity isn’t easy even in this “ideal” conditions. And frankly the number of employers who will abuse the hell out of you is somewhere around 30-60%.
Do I get you correctly? You are looking for Nix[OS] being able to work with FreeBSD?
This is a great comment, but I just want to point out:

> Bcrypt is not a KDF and not a hash function

This is true, but it's also a good example of what I was saying in my other comment. bcrypt is an example of a password hashing function which is not itself a KDF, but which can be used to construct a KDF.

All password hashing functions can be used to construct key derivation functions or simply are key derivation functions. But not all password hashing functions are key derivation functions. Whether or not it would be advisable to use a given password hashing function as a KDF depends, of course. In bcrypt's case you can construct a reasonable KDF. For example: https://github.com/pyca/bcrypt/blob/master/README.rst
Plenty of people sell themselves into slavery to pay off debt. People choosing to do this has been an institution for millennia.
Sounds quite similar to Azure Container Instances, except ACI seems to be cheaper (at a glance). ACI is also not HTTP-only like this seems to be, but you do need to combine it with a Function App (Azure's serverless offering) if you want to trigger containers using HTTP.
> a whole bunch of terrible things.

Actually, those statements appear to be largely true and should be studied more to learn why.

The first quote is basically the definition of affirmative action.

The second quote is supported by the numbers of Nobel Prize laureates, the question is why most winners are still male.

The third quote is supported by the rise of expensive non-teaching administrative overhead at colleges, and can be quantified.

The problem with SJWs is that their superficial rhetoric prevents addressing actual issues in America.

I'm from Detroit, and what I see (reality) has nothing in common with what SJWs say. Disadvantaged minorities are not helped by rhetoric, they're helped by school nutrition and tutoring programs, and yes, efforts to enroll them in college.

> Has he discriminated in his classrooms against them?

I don't know, since the onus is on you to prove your accusation.
It's 2020. Friends don't let friends write shell scripts.
This doesn't really follow. The original post seems to be about how the author is a hypocrite - now it is simply about him not having the right sensitivity levels for his statements.
JavaScript: Chain Predicate Functions for Combined Error Validation
"The level-up engineering" podcast had some really valuable insights on engineering management