skysight-inc/HackerNews huggingface dataset:
Many of these crazy corner cases are the reason why I switched to fish. Eg, in fish all variables are arrays, so arguments are passed in the $argv array, and number of elements in the array is "count $argv" (in bash the number of arguments is passed in $#, but the hieroglyphic required to count the number of elements in an array is ${#var[@]} )

$PATH is just an array where each path is an element, so removing or adding a path equals to adding/removing an element from the array which is trivial.

Iterating over files names with spaces works exactly as expected and no IFS tweaking is needed (fun thing, in bash, doing for i in * .foobar; do echo $i; done; in a directory with no files with that extension will return the string "*.foobar"). No "[" craziness, nicer syntax, etc.

Unfortunately fish still lacks other important features (eg. no set -e equivalent).

There is an space for sane Unix shells but everybody has settled on bash and changing the status quo is difficult.
Lol, we just made a bash function using this.

// echo_and_run() { echo "$*" ; "$@" ; }

Logs the cmd before running.
Ask HN: Products You Wish Existed
This post Products I Wish Existed - had many reactions so I taught that HN folks have better or funnier ideas.

Also if we can do this monthly, that's will create many opportunities.
I’ve heard about Google correlating these accounts (through billing methods, contact methods, access patterns) and banning them together when one infringes on something. I’m not sure it’s the protection you think it is.
Instead of dropping bombs they should have just dropped cigarettes, whiskey, magazines, food, clothing and a variety of American consumer goods.
Global Smartphone Ecosystem Sales (Infographic)
> No one will care when an Explorer gets 20-25 mpg and gas is still under $2.50/gallon.

I was curious if their fuel efficiency is really that low. I've only been interested in smaller SUVs (I've got a Honda CR-V) which are up to around 28 mpg city, 34 highway for current models.

So I went to Ford's site to check. On the page for the Explorer [1] I can't find fuel efficiency info! Searching for "mpg" on the page (or on the pages for specific models) shows hits but Firefox does not actually show them. Disabling styles and doing again finds that those mentions are just in standard disclaimer footnotes.

Even more interesting is this page [2], which lists all Ford SUVs and crossovers. All of the gas powered ones (Ecosport, Escape, Edge, Expedition, and Flex) except for Explorer list their fuel efficiency right there.

Ford seems to be specifically avoiding listing Explorer gas mileage. Expedition is 17/24 city/highway and Flex is 16/23, so it's not like they are unwilling to list low numbers. So what is going on with Explorer?

[1] https://www.ford.com/suvs/explorer/

[2] https://www.ford.com/new-suvs-crossovers/
You're employing precisely the stereotypes that weberc2 mentions in his comment. You've presented no evidence. You've only invited readers to indulge their animus against your disfavored groups. This kind of rhetoric is unacceptable in other areas of society and it ought to be unacceptable here.
>This study also ignores that competent individuals can be highly socially mobile in modern Western societies, even from vastly unequal starting conditions.

How can I get competent if I am poor? It is possible but I need some luck and a lot more work then someone with more money. In my case around 20 years ago in Romania my family did not had money for things like private teaching lessons, books or a computer where my colleagues that were not rich just middle class had those and had more opportunities. At least we had free higher education and I could study math and later go into computers.
Sorry for being so dumb. Your answer just confused me. Is this standard for data something that is unique to social science? Or is this the same standard?
It's not. But the cost difference between servers and serverless is maybe exponential. As traffic gets really high, serverless is going to be extremely expensive compared to a dedicated box.
I didn’t take your position to be one of ideology (although your position certainly isn’t based on science); I’m pointing out that you responded to the parent’s concerns about meeting everyone’s needs (I.e., “running an economy”) with some stuff about human motivation and the caveat that human motivation will only do the job if basic needs are already met.
I actually have this bookmarked somewhere but forgot about it. Thanks!
Writing Dependency-Free JavaScript
It's incredibly delusional and illogical to think that everyone can start and run successfully their own business, and especially so to claim that this was the founding fathers' vision. If that was the case, where would the workers come from? The founding fathers had slaves. Where do I sign up to receive the slaves for my business? Because anyone can build a business on slavery and any society can be successful on the back of slaves.

What about the slaves themselves? What did the founding fathers say about them? Obviously, they cannot start their own business as that would be illegal. What do you suggest for them in your great wisdom? They are not allowed by law to start a business, yet according to you, that's just an "excuse."

What you're advocating also wasn't possible for women until the last few decades. Or Chinese. Or Mexicans. Etc. So why should they work to compete with the established businesses/family wealth that had hundreds of years to grow and slaves to work. All of a sudden, everyone should just compete with them and somehow be on equal footing despite them getting hundreds of years of head start, capital, and free labor?

But yeah, so many excuses for being unable to achieve this almost unachievable formula. Slavery. Oppression. Racism. Violence. Etc. Not to mention the sheer insanity of expecting everyone to be a business owner and therefore none to be a worker. Yup. So simple. Only people deserving of death through destitution couldn't follow such a simple formula.
They are not both totally valid.

You almost always want "$@".

If you're using $* , you're not supporting arguments that contain spaces, and you'll break if arguments contain wildcards. If you're using "$*" , you're treating multiple arguments as a single argument.

https://unix.stackexchange.com/a/41595/3169
> Most of these suggestions seem to rely on the notion that undergraduates are delicate. While I agree that we must be careful to ensure that all students feel welcome and respected, we should be helping our students to become antifragile. So I will continue to use the BMI example, I will maintain high standards for grading, and I will continue to pursue cheating cases vigorously. I will continue to say “you guys” and to make occasional cultural references. In the case of pronouns, I have always made an effort to accommodate requests from transgender students, but I refuse to use words that are not part of the English language.

What really stands out to me is how he addressed the honestly pretty tame feedback he got on his class. A whole committee was put together and came back with recommendations on some pretty minor things he could do to better foster a sense of inclusivity and his response was nah I'd rather not. I'm not at all surprised at the result. Regardless of what his article said, the reaction to it, or his actual credentials as an instructor he showed the administration very clearly with his actions that he has literally no interest in trying to make the department an inclusive environment. And that's ultimately the entire point. They are trying to make CS as accessible as possible and this guy is fighting them tooth and nail at every step because what...?

I mean the last sentence is just a ridiculous take as a teacher. A) Yeet is now a word in the english dictionary. New words are created all the time and the definitions of existing ones change to match the context in which they are used in modern times. B) Making the pretty minimal effort, of referring to someone in the way in which they'd like to be addressed is literally such a low bar, that refusing to do so quite frankly makes you an asshole. C) He uses the word antifragile, which is not a universally recognized english word. It's a term coined by a professor in a book in 2012.
> ...all wealth came from someone who was productive at some point.

While this is technically true, this doesn't require that the beneficiary was the productive person. The textbook example of this would be those that accumulate wealth from the increasing value of unimproved land.
larry wall (wrote perl): hold my beer
I had a very nice experience when trying rust with a couple of friends. I just wrote rust much like I would write scheme and, after using immutable.rs, I wrote pretty efficient code without actually fighting the borrow checker at all.

My friends, coming from hopelessly mutable languages like python, could hardly get any work done at all.

This was back in late 2017, and things might have gotten better since.
That's great. But you are always just one unfortunate bug or mis-configuration away from having it happen.

Sure, to most people it will never happen. But the risk is always there. Reminds me of https://en.wikipedia.org/wiki/Survivorship_bias
Oh no, it's Hossenfelder again.

What about superconductivity at progressively higher temps through the decades ?

What about 2D, like graphene ?

What about Weyl semimetals and topological insulators

https://phys.org/news/2019-03-chirality-yields-colossal-phot...
And I thought this was about integrated circuits without a power budget.
> WhatsApp moved away from FreeBSD to Linux.

I'm a former WhatsApp server engineer[1]. WhatsApp primarily moved from bare metal hosting running FreeBSD to Facebook's owned and operating containerized management system which incidentally runs Linux.

We did not make a technical choice to abandon FreeBSD in favor or something else, we made an organizational choice to abandon external hosting in favor of owned and operated hosting which required a lot of technical changes, one of which was switching operating systems.

About half of the server engineering team pre-acquisition was former Yahoo employees, and we had seen what happens when an acquired company does not assimilate the acquirer's basic tech stack --- every issue with hardware or software first has to go through the triage step of is it broken because you're not running the company's OS and the company's package manager and the company's monitoring service and whatever else. That's not a great position to be in when you're trying to run a reliable service, so we decided it would be better to accept Facebook's foundational tech stack and hope the benefits outweighed the costs.

[1] As such, I usually recuse myself from discussions of WhatsApp and Facebook, I'm certainly not authorized to speak on behalf of either; my opinions are my own, etc.
Thanks.

Were you trying to link a specific video? Your link just points to the entire playlist.
Just finished a wonderful(ly long) biography on Julius Caesar (Caesar: Politician and Statesman). Caesar was innovative in thinking of Rome as not just a city state but the beginnings of what would become an empire. Not an inherently new phenomena but one that has lasting influence to this day.

In the same way our world is now flat. While there is much we do not understand we do know this: business (Due to the proliferation of the internet) knows no borders. And the goal of modern businesses that rely on scale is to do just that.

So, look for businesses to become much more powerful than countries and to one day become greater than even the greatest of nations.
From the article:

> The service will create more and more instances of your application up to the limit you defined

The docs confirm an instance maximum can be set and the price per instance can be less than $5/month.
The first quote is absolutely not the definition of affirmative action. It's the definition of a lie told about affirmative actions by opponents thereof.

Affirmative action was (and largely is) defined as: given multiple candidates for a position who are equal when considered in aggregate of all matters that exclude race, and therefore an arbitrary choice is required in order to select one of them, choose one whose presence in the relevant population will bring it closer to broader demographics.

It means that when you have a black male and a white woman who are equally qualified for the job, you will inevitably have to use some criteria other than their qualifications in order to pick one of them. AA implies considering the impact on racial demographics as one of the criteria to use given that qualifications cannot be used (because they are equivalent).
I believe you could accomplish this with Brex using virtual cards and per-card spending limits.
As someone who likes small fonts and big screens, for me a screen is often a lot more than 100 lines.
Yeah, language is dynamic and shaped by use everywhere, especially the global English these days.
So that they can start their own dead-end business?
> “You Won’t Get Rich Renting Out Your Time”

This meme is pretty popular among certain circles, but it bears some examination. For a lot of people, "rich" means "financially independent". And depending on your particular lifestyle choices, you can certainly become financially independent by working for a tech BigCo or as a quant, and that path has enormously lower risk than entrepreneurship.
The article is about how to improve a UI/UX using lesser known HTML properties. The article does a great job: these tags are helpful and not everyone reads the spec for fun.

The article is NOT about the merits of 2FA across SMS: that discussion is happening in about 10,000 other threads on Hacker News. Please go talk about it there.
From the article:

> The service will create more and more instances of your application up to the limit you defined

The Cloud Run docs confirm an instance maximum can be set and the price per instance can be less than $5/month.
They have only two flight computers - either of which are capable of crashing the plane. With only two its not always possible to know which is incorrect.

Regardless of how much you go over it you can’t fix a fundamentally broken design.
The bit with the names of businesses, looks like it may be stuck over something else, it doesn't match the rest. Maybe that's covering it.
That's not what the article states, though it's not very explicit about why you shouldn't do what you suggest.
Not at all.

Or rather, Who knows? Maybe. But certainly, at least today, a SoTA model generating a quality encyclopedia certainly is not doing what human writers do, and is certainly effectively copy/pasting.

Maybe in 50 years -- or 10 years with a major breakthrough on the level of general relativity -- that statement might be true. but it's certainly not true of today's deep NLP systems.
This is copyright, not patent or registered mark. Copyright, by definition, restricts redistribution and copying, not independent recreation.
This brings up the interesting (to discuss) idea that if a UBI is implemented, there should no longer be a minimum wage as the UBI places a floor on income. In many ways the minimum wage doesn't offer benefit in an economy where the self-employed will participate out of their free will in income generation through service such as Uber, DoorDash, Etsy. Often those self-income sources generate less on a per-hour basis than minimum wage, however, since the income earner is free to stop and start at will the presence of a floor of hourly wage has no impact.
I wouldn't trust it as proof, I'm just saying, there wasn't anything stopping people from taking away incriminating evidence before the FBI had a chance to get a warrant.
On Composition
I really enjoyed Chapo Trap House's interview of Bernie Sanders.
> The risk of being locked out

For me, this is the main reason I try not to use any Google products, except for Gmail and Android. For mail, I started to migrate away from Google to reduce risk of being locked out.
As a noob I have a question as to what advantages I have using docker compared to just a service like Heroku where I just push the application to them... and I don't bother with docker?

To me with my limited understanding this seems like just another step.

Now granted when it comes to work, I'm using docker with specifics that I know why I would want / can specify with docker ... but for personal projects this ever comes up for me.

But otherwise for personal projects it just never comes up.

Yet on the other hand when it comes to various examples I see more and more that involve docker where, I'm not sure it needs to / what the advantage is.

Obviously there must be some strategic choices / advantages I'm missing.
What You Need to Know About Testing in Production
We get a lot of research projects that feel like they’re testing out new breakthrough theories, to find some consequence of a pathway that has never been seen before.

This one is at least trying to explain anomalous results that have already been reported. I’m not sure if that will end better but at least seems like a better place to start.
> as far as I can tell mean the same as gender neutral "they".

Sometimes I forget that in English we don't allow multiple. words with the same meaning. /s

If someone asks you to use a nickname, you use it (despite it meaning the same thing as their legal name). A pronoun is no different and no more complex.
"was productive" is doing a hilarious amount of work in that sentence.

i don't really understand attempts like these to back-propagate some narrative that there was an epic, fair struggle between some set of individuals and one came out on top, ergo that justifies their estate all the way until the modern day owning some ridiculous share of the world's wealth

seems way more likely that once particular individuals amassed slight advantages in power, they just leveraged it into gaining even more ungodly amounts of power, often times using the state itself as a weapon to manifest that outcome

it's almost like you need to have access to capital to really make it big

hmm, that sounds strangely like what's going on in 2020... probably a coincidence though
All those accounts are "related". Made from the same PC, used from the same phone, etc.
Does GCP have an equivalent for Aurora Serverless? If so, would choosing that over CloudSQL been cheaper?

If you're familiar with AWS, would using AWS Batch exclusively with Spot pricing [0] (or Fargate with Spot pricing) and Aurora Serverless [1] been cheaper than Cloud Run + CloudSQL?

[0] Say, the service runs for 5 mins every hour for 30 days. The respectable a1.large instance would cost $0.50 per month, the cheapest t3.nano would cost around $0.19 per month.

[1] Say, the service stores rolling 10 GiB/Month ($1.00) and does about 1000 calls per 5 minutes every hour ($0.20) using 2 ACUs ($3.60). This would cost $4.80 per month.
Yes, exactly!

The NYT is deeply in a funk, obviously. But some of us (who hold more conservative values) are pretty much the opposite. It's wrong of the NYT to try to speak for everyone.
This whole personal computer business was a result of a collectivist utopia. People made and shared and we ended up getting open source / linux. The industry wouldn't exist without it. This productivity mantra is recent.
Philosophy Success Stories (2017)
Here's an easy way to see how this works. Run this script:

echo dollar-star:
for i in $; do echo $i; done
echo dollar-at:
for i in $@; do echo $i; done
echo quoted-dollar-star:
for i in "$"; do echo $i; done
echo quoted-dollar-at:
for i in "$@"; do echo $i; done

./x.sh a "b c" d
dollar-star:
a
b
c
d
dollar-at:
a
b
c
d
quoted-dollar-star:
a b c d
quoted-dollar-at:
a
b c
d
I'm also worried this will add to NIMBY re: nuclear power.

Not a good look for the entire province to be momentarily scared shitless about a potential incoming meltdown completely unnecessarily.

I'm in Ontario, and my first half asleep thought after being jarringly woken by this was "grab the kids and start driving south". Then I remembered I'm like 100km+ away.
Please please please clarify that it's exclusively the problem of Amazon US. As far as I'm aware no other Amazon branch does this.
I went to see a movie, and instead I saw the future
aws lightsale and digital ocean are great alternatives for personal projects
Two hours and no one mentioned Lex Fridmans podcast on AGI? Interesting.

Hard to pinpoint a specific episode, here is last weeks episode [0] with Stephen Kotkin, on "Stalin, Putin, and the nature of power".

Fridman has a lineup of one-of-a-kind guests, each providing an individual perspective on -to me- interesting topics, mostly in the scope of artificial general intelligence.
I'm looking forward to check the other references here!

https://www.youtube.com/watch?v=oCkkjnpS2f8
Children grow up very fast.

Every phase, be it nice or stressful, is very short.
> I do NOT think it would be useful to for the government to tax my litter-bot-company's robots and then somehow redistribute that to... whom, exactly?

As much as I think a robot tax looks to be one of very few possible ways to improve current situation, I also agree with you that the whole thing isn't well-explained or argued for. It does sound like this: "government vacuums even more money but 10 years later, people still live under bridges or in slums". Sadly, knowing the average politician's thought process, the odds of us ending with an economic inequality shifted from corporations to governments is extremely likely. We the people are greedy no matter what positions we occupy...

> "Let the robots do the work and we'll take their pay."

I like that a lot, actually. It's a much better idea. Robot goes to work in my name sake, I get money wired in my account and I get the final say in what does the robot do and when. The reliability of the transaction hinges on economical interest (I want the robot to work with a stable schedule N hours a day because that makes me money).

Really neat idea.
Honestly we dont know if something is going on behind the scenes. What was someone trying to do by creating and sending this alert in early morning? :o
I'm trying to say something like: When your caterpillar morphs into a butterfly, harping on how your butterfly is "failing to thrive according to standard, well-established caterpillar metrics used globally for the past thousand years and certified as super duper accurate for caterpillars by many respected institutions." is basically gibberish that says damn near nothing about the state of the butterfly's actual health for which we have zero established metrics, having never seen one before.
How does one prove independent recreation? It seems virtually impossible.
Applescript takes the cake there. Instead of standard indexing/dereferencing rules in the object hierarchy you instead have this nested mess of "tell X .... end tell"
Toxic waste sites were ubiquitous too, but we put in the effort to clean them up.
I keep posting this, but my favorite rule of thumb came from a Google dev infra engineer who said that "every Python script over 100 lines should be rewritten in bash, because at least then you won't fool yourself into thinking it's production quality"
Incels aren't simply people who have trouble dating.

Most people who have trouble dating don't turn in to bitter, hateful trolls who glorify in violence against the people they desire.