skysight-inc/HackerNews huggingface dataset:
> It is no different than the requirements to provide newer builds updated to specific Android target versions, or being 64 bit only that Google keeps forcing devs to move forward.

That is basically saying that this is a big work for everyone involved (developers, Google, OEMs). This is exactly my point.

> Any application that depends on syscalls isn't portable across Android devices anyway.

The application does not necessary call a syscall directly, the problem is that the NDK calls a syscall as an implementation detail (for example, for lock primitives eventually the NDK must call the Linux lock primitives too, there is no way out).

So if Google needs to change Android kernel, they need to implement the same quirks of the current syscalls, or the slightly change in behavior will break random applications.

My point was never calling syscall directly, however for sure some applications call syscall directly too.
This is not Bash specific, this is basic POSIX shell:

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...

Bash also incorporates the POSIX shell, but has extensions. This is fine if you are using it, but if you are writing a script which may need to run on another system, its better to keep it to POSIX.

(edit: URL - thanks userbinator)
Then just keep tracing it back up the hierarchy to a single common ancestor, declare that without that ancestor, none of the productivity would have been possible, and by the transitivity of worth that you've described, where one is indefinitely ascribed benefit of his or her acestors, everyone should have equal right to the output.
I tried out Azure Container Instances a while back, and the startup times were also what killed it for me - they were all over the shop. It was 1-2 years ago, so I don't recall exactly and things may well have improved now, but I seem to recall they ranged from 1-5m.
I like powershell, but it has its own arsenal of footguns for you to use. Things like non-terminating errors and the sometimes confounding behaviour of automatic variables comes to mind.
It's surprising to me that this comment is so highly upvoted, given how fundamentally it misunderstands unemployment.

What you are implying is that "low unemployment" means people who didn't want to work are being forced to. But that is not what the usually-quoted (and quoted here) unenmployment number means. When people quote "unemployment" they usually mean U3, which is the number of people who are actively looking for a job.

If what you describe were happening, that dire economic conditions were forcing more people to look for work, the "unenmployment rate" would go up, not down.

The unemployment rate is not the labor force participation rate. And even the labor force participation rate is deeply misleading, because it encodes demographic statistics in a way that has complex effects that are hard to account for.
By having a planet where only Apple products are available and the inhabitants are a part of their cargo cult, maybe? hah
+1 nice find.
Show HN: R Bindings for Blake3
On Microsoft SQL server theres a tool in SQL Server Data Tools called "Database Projects". This lets you have the whole database schema in a file tree that can be compiled into a binary object that the SqlPackage.exe executable can diff or publish migrations against a running database.

This provides compile-time analysis of your whole SQL schema.

It's a goddamned buggy disaster and the usability is basically zero, but the concept is cool.
The efficiency (output per hours of input) of the economy has stagnated because manual labor has become so cheap that automation isn’t worth it.
The only time you should use $* is inside a debug message like "unable to open $* ($!)". If you’re passing around arguments, always use "$@".

If you know enough bash to disagree, you know enough bash to use the third case safely :)
Oil [1] supports all of this old syntax to run existing shell scripts, but has new syntax which is more convenient.

- You can write @ARGV instead of "$@".

- You can write @myarray instead of "${myarray[@]}"

(Related: Thirteen Incorrect Ways and Two Awkward Ways to Use Arrays https://www.oilshell.org/blog/2016/11/06.html )

Example:

oil$ var myarray = @('has spaces' foo)
oil$ var s = $'has\ttabs'

# function to print an array element on each line
oil$ lines() { for x in @ARGV; do echo $x; done }

# pass 3 args -- 2 from myarray and 1 from s
oil$ lines @myarray $s
has spaces
foo
has tabs

[1] https://www.oilshell.org/
Not everything is about efficiency. A good interview or a more produced podcast is often a more natural way to consume certain types of content than reading. As others have said, it's probably not the best way to adsorb complex/unfamiliar material though. (And, for myself, it is mostly when I'm driving that I listen to podcasts, i.e. what lots of people have historically used radio for.
Right wing groups and Islamic terrorists have killed millions. Comparing incels to them is frankly idiotic and ridiculous. That's like saying my one server search engine can compete with Google's search infrastructure. The words "terrorism" and "terrorist" are already almost meaningless. Let's not make them completely meaningless. Not every crime is terrorism. These are not organized groups perpetrating violence for a stated purpose, but fucked up individuals randomly killing people. If this is terrorism, every shooting is terrorism and the word becomes meaningless. Worse, it normalized actual terrorism, like that perpetrated by right wing extremists, and makes that indistinguishable from other crimes.
Another reference is found in the epitaph, which quotes from Percy Shelley’s poem Ozymandias, the title and theme of the AMC series’ antepenultimate episode.

Maybe I'm just being dense, but I don't see an epitaph in any of those photos.
How I manage my e-books
It is an unfortunately hard problem that would take agreement by thousands to fix. Thus containers.

In pre-history this tool worked ok for some things, I don't believe it still functions on modern systems.

http://statifier.sourceforge.net/
Link below is to the very striking photo in the article of a stag with a fishing net tangled in its antlers. Looks like he’s wearing a Loyal Order of Water Buffaloes hat (Order No. ... anyone?) and one huge orange pearl earring. A horror.

https://ichef.bbci.co.uk/news/375/cpsprodpb/129C5/production...
My next paycheck.

The less motivated I am, the bigger that paycheck needs to be.
I highly recommend this site. It’s very nitpicky, and that’s the only way to write somewhat robust shell scripts.
https://mywiki.wooledge.org/BashGuide
I definitely see things differently.

1. Plato doesn't get things wrong because the nature of his rhetoric is presenting provocative dialogue for thinking with. The questions he raises are still relevant: what is good, what is virtue, what is beauty. I'm of the opinion (it's disputable) that the purpose of Philosophy isn't finding "the truth" but in living better.

2. Standing on the shoulders of 21st century philosophers... Well, there have been some good ones. But consider this list -- wouldn't you be standing taller on Plato's shoulders than on any of these?
https://bigthink.com/scotty-hendricks/10-living-philosophers...

3. Neuroscience can't validate what is good, what is virtue, what is beauty. As a neuroscientist, I find an incredible amount of value in reading the original texts of the oldest philosophers, particularly the Pythagoreans (all is number; Harmonious soul in a harmonious cosmos). Understanding cognition in terms of harmonization processes is, for me, of great value. It is actually an excellent framework for understanding phase-amplitude coupling and other neural dynamics. The notion of harmony passed from Pythagoras to Plato to Plotinus to Ficino to Kepler to Newton... And then largely died. Why? It was the tacit agreement between the church and the scientific establishment to clearly separate science and spirituality.

Today, some seek to deny the existence of science, some the existence of spirituality. The alternative to that rejection is an integration of the two. Yet, modern science simply isn't interested in that task-- and neither is modern philosophy. So, if one cares about that integration (and I'm not the only one), there is a lot of benefit in going back in time to when there wasn't a difference between the two fields. And that's why I love the Pythagorean - Platonic tradition: an empirical investigation of the spiritual mysteries of a mathematical universe. Good luck finding a modern philosopher to take that on!

If you are intrigued, try reading "mathematics useful for understanding Plato" by Theon of Smyrna (c. 100AD)
Drug contamination is very real and overseas generic drug manufacturers have a long history of contaminating the drugs they sell to the US.

https://www.nakedcapitalism.com/2020/01/big-pharma-wont-let-...

It’s not just Zantac. It’s blood pressure medication and now diabetes 2 medication to lower blood glucose. If you read the Bloomberg article linked in the post, it’s even more scary. Basically they don’t test the drugs which is why They are being discovered one by one.

If you’re on any sort of generic medication, it’s probably manufactured in India/China and it’s probably contaminated. And if it’s not contaminated it might not even fit to specifications, ie too much of the drug or too little per pill. It’s happening all the time and the FDA is reactive not proactive. There’s a quote in the Bloomberg article about a judge not wanting to peel the onion because it could be too bad.
I'm guessing also high COL areas.
Go didn't discover anything. Java's runtime and checked exceptions are already the direct consequence of errors being of two kinds: recoverable and non recoverable.

Go's approach is inferior to Java's in all ways.
Is there any real difference between SD, SDHC and SDXC, aside "SD uses FAT, SDHC uses FAT32, SDXC uses ExFat"? These cards does not have filesystem controller on it, it's not "FTP over wire", it's block-based storage device. If I format ancient SD from early 2000s with exFat, will it become SDXC?

From Wikipedia (marked with "Citation needed"):

> The SDHC format, announced in January 2006, brought improvements such as 32 GB storage capacity and mandatory support for FAT32 filesystems.

How dumb storage device can refuse to support FAT32?

Fun fact: SD cards support SPI interface and can be easily connected to cheap microcontrollers.
The reason why America is so depressed can be summed up with one word: Capitalism

Capitalism and greed is baked into our culture. It's everyone for themselves, and everyone is trying to get their own slice of the pie.

You know what really sucks? You spend your whole life busting your butt in a 9-5 job, saving every penny you can for retirement. You finally retire at the age of 65, only to realize that you are no longer healthy enough to do all the things you wanted to do (travel the world, etc).

I'm so so so tired of working all the time just to get by. I honestly feel like America has just replaced slavery with indentured servitude, and corporations are the new masters.
Why not just make another Google Account just for this project?

It’s what I do since year, basically for every customer I work, I create a new account and even share the credentials with the customer (if he wants it).
I might say that allowing spaces (newlines, quotes, asterisk , and various other "control" characters) in the filenames is the real bug. Sure its cool that you can put anything you want in a filename, but do you really need them? Particularly on a command line oriented OS? If the entire OS's experience was windows explorer style interactions or C binary strings like manipulation then fine.

This causes nothing but problems, all to avoid a simple character filter..

https://www.tecmint.com/manage-linux-filenames-with-special-...

See how many "errors" you can find in that article. There are a bunch, consider the touch *, example if your using rm...
Self-hosted WP is what I use for https://codedirty.com/
Would you say you are free of untreated emotional problems and poor mindsets?
HoCs
Might be a mindset thing but if my side project needed scale I would not think of it as a side project.
It just seems that the shell semantics (and to an extend those of other Unix tools) are specifically designed to strip off a level of quoting/escaping and perform word splitting the moment you lose your focus for a bit if you're even aware of all the arcane rules in the first place.
> The whole idea of “bullshit jobs” is ignorant. You’ve got armies of managers and bean counters trying to squeeze nickels out of processes, and yet we are supposed to believe that we’re keeping all of these people employed for no reason?

Yes, at least in a sense. Coordination failures are a thing. (See e.g. https://equilibriabook.com/toc/ for a readable introduction to the issue.)
No.

> Oddly, this wasn't true for every flu vaccine. Some vaccines contain chemicals that enhance the immune system's memory, promoting the formation of a long-term response to pathogens (called adjuvants). When a vaccine containing one of these chemicals was used, the immune system wasn't stimulated to limit the tumors' growth.

I didn’t have a change of heart. It says that in the article, near the bottom. People downvote weird shit here.
So to me, deep learning means learning very complex functions from data.

Sometimes those functions work as classifiers, but other times they are just peculiar functions between two domains (imagine style transfer models or GANs).

Is Bayesian Deep Learning worth looking into if I don't have much interest in statistical applications but much more just using deep learning as general purpose functions? For that matter, what about causal inference?
It's not just bash, this is true for all POSIX shells (including dash, bash, ksh, and so on).

If you're doing a lot of complex calculations, shells are the wrong tool for the job. But if it's a relatively small program whose primary task is invoking other programs on a Unix-like system, shells are still a decent choice. The biggest problems with shells are handled by using shellcheck, so if you're writing shell scripts, use shellcheck.
Why not bash? It’s in most places, even if POSIX is even more general. And it does add some nice scripting features.

I use zsh for interactive and bash for scripts for the same reasons as you, though.
Medium or dev.to don't allow you to use your own domain, so neither of them.
I believe your diatribe is misplaced.

There are quite a few pitfalls in shell scripting. You can considerably reduce them by limiting yourself to only being compatible with modern versions of bash and settings things like pipefail, nounset, etc etc.

I do agree that in general a good programming language will be a better option.

> anything is more sensible, including C, Perl, brainfuck and Basic

I do disagree with that however. A 5 line bash script may be 500 lines of C, will take a hundred times longer to write, and may contain memory safety issues (which the bash script at least wouldn't).

I know brainfuck is hyperbolic so I won't argue against that. Something with no filesystem or process forking abilities obviously can't be used for any real task.

I think perl and basic have just as bad syntax as bash though, if not worse. Basic's penchant for "GOTO" is awful, perl's syntax as a whole is just as peculiar as bash's in many places.

I guess my overall point is that bash is usually not a good option compared to modern languages, but it's a darn sight better than you give it credit for. I think it still has its place for 5 or 10 liners that are easy to express and read in bash and don't need any abstractions beyond what coreutils provide.
Consensus in the West, by historians not trying to score a political point about current world affairs.

Lend-lease, while critical help, is often overplayed in the West as a way to diminish the Soviet contribution to the war -- this is in itself the legacy of historical views shaped by the Cold War and (unsurprisingly) by ex Wehrmacht officers who collaborared with the West after WW2. There's no credible mainstream analysis that has Germany winning against the Soviet Union. In fact, it is often argued that by starting Barbarossa, Hitler effectively lost the war. Germany didn't have the manpower, logistics capabilities or equipment to take on the Soviet Union.

That's not to say it wouldn't have cost the Soviets a lot more time, effort and bloodshed to defeat the Nazi war machine without the help of the Western Allies.

I'm not Russian and I'm completely uninterested in how current Russia and Putin are spinning this, by the way.
Show HN: A hiring platform that makes you passive income using referral trees
> Instead of economic or physical barriers, we have hordes toxic personalities that try to gatekeep people. It's not all sunshine and roses.

I’m skeptical that these are uniquely tech problems; I suspect they occur in relatively even proportion in other industries, but other industries have bigger problems that tech largely doesn’t have, and so they aren’t preoccupied with “toxic personalities”. In particular, the “tech is terrible” proponents need to explain why tech selects for toxic people more than other industries, and so far all such explanations depend on (toxic) stereotypes of whites, Asians, men, and people interested in technology (“nerds”).
Using Okta and Auth0 mostly
> Further advancements in AI and automations will make more and more jobs obsolete.

In 1000BC men and women did flour of wheat manually. They do no more, these jobs are obsolete.

In 1000AD men and women did butter of milk manually. They do no more, these jobs are obsolete.

In 1500AD men and women did threads of fur manually. They do no more, these jobs are obsolete.

In 1940s women did manual calculations and typing for military, science departments, newspapers. They do no more, these jobs are obsolete.

The whole history of humanity was full of obsolete jobs. Could people in 1000BC ever thing that women would write programs in Python instead of beating wheat? No, they could fancy neither Python nor computer.

People will simply explore other possibilities being free from obsolete jobs, making more services available, more possibilities open.

Two hundred years ago a massage would be totally unavailable for an avg peasant. Today you could have a massage any day because automation let more people do it getting the price down, as well as overall welfare up.

Future is pretty bright exactly because automation, technology would make some jobs obsolete, so more people could navigate spaceships or do other stuff we couldn't even fancy yet.
(I meant carbon, not CO2)
Where's the best place to read through the collected works of Jim Berger? (Thanks!)
Yeah don't get me wrong the bashisms are useful, but I'm hopping between OpenBSD, FreeBSD and Linux (and perhaps sharing scripts with my macOS-using colleagues) and although bash is available on all those platforms and more, POSIX shell will work out of the box without any further configuration.
people seem to forget the usage accrued via the devs themselves..
If the AI is generating content using a corpus which 1) has copyright attached (say Matt Levine's content for Bloomberg) and 2) isn't owned by the person/corporation that developed the AI, then you're absolutely right and waters are muddied. An argument could be made that the end-product is transformative enough to be its own things, eligible for copyright, but use and, presumably, copying of the original content into a corpus would seem a violation of that copyright.

On the other hand, if Tencent owned the corpus, that isn't really an issue. Similarly, there have been automated finance articles for more than a decade using knowledge extraction algorithms against things like earnings reports, and copyright of those reports has not been an issue. Admittedly, that may only be because those releasing the reports do so in part to get the word out, and so they want reporting to be done on them. Even if they had a copyright claim that it wasn't fair use, they may not have the incentive to enforce it.

Regardless, this all opens up some fascinating discussions of the agency of AI, what constitutes true AI vs. a simple program or algorithm, assignment of who actually would own the copyrights of computer generated content... I think it's going to take some time for the law to catch up to technology on these topics.
Bug #915: Please help
Testing Strategy over Time
Taco Bell has just started experimenting with $100k salaries for their store managers (a raise from about $70k) because low unemployment has tightened the pool of workers available.

We're headed in the right direction. With low unemployment, rising blue collar wages, and strong equity markets it would be absolute foolishness to make a big change in any direction.
Also python with pint installed can be a handy calculator similar to this.
Many people have python installed, but don't use it as a quick calculator.
From what I’ve read (the FDA website is fantastic), it’s an issue, but not a huge one.

Valisure said “these levels are too high”, the FDA came back with “you’re testing it wrong”, so the FDA retested and determined a few of the drugs has higher than allowed NDMA, but we’re talking 10-50% too high (of a very small limit), not the 20,000% too high that Valisure claimed.

My guess is the FDA will institute new guidelines on testing, manufacturers will change their processes and ranitidine will come back in a year or so.
> For whatever reason it seems like taxing robots is more socially acceptable than taxing the wealthy.

But these two often overlap. If any actual revolutionising automation by robots is coming, only the wealthiest corporations/people can and will afford it. As your parent poster said, robot tax is just trying to make sure that they won't hold on to their money under the mattress until the end of time. Redistribution of wealth is critically important.
Walmart has security at the door. However you pay will not change if they will ask you for your bill. Things like eye-contact encourage that.
Creator here. As a software engineer in the Bay Area, I've become increasingly aware that my network is tremendously valuable, but that value only materializes under rare, ad hoc circumstances: one-off referrals, founding, and funding. With that in mind, I decided to develop a product that realizes the value of your network in a consistent and material way.

I built a hiring platform for software engineers where we’ll not only pay you a percentage of our recruiting fee when someone you refer gets a job, but we’ll also keep paying you when the person you refer, refers others who get hired. Your referral tree is infinite, so by referring just a few people, you can generate a significant amount of passive income.

The referral model is relatively straightforward, and you can check out the algorithm here: https://repl.it/repls/WrithingReflectingTrigger. We've allocated a fixed percentage of our recruiting fee to referrers of any degree. A first-degree referral earns 13.33% of our recruiting fee, and each subsequent degree of separation earns half the amount of the prior degree (e.g., 2nd degree = 6.67% of recruiting fee, 3rd degree = 3.33% of recruiting fee, and so on).

You can learn more on our site (https://earncarrots.com?ref=WjS0yb -- query string because it's invite-only) and play around with our calculator to see how much income you can make! I’m posting here hoping to get feedback from the community, so please let me know what you think and what you’d like to see to make it better.
All Killa No Feminism. A crossover episode between The Guilty Feminist and All Killa No Filla (crime podcast): http://guiltyfeminist.libsyn.com/the-guilty-feminist-crossov... - Hilarious and eye opening.

I think that one was the episode that really drove home some of what women go through daily. I'd known before, but somehow that particular episode managed to highlight things in a way that really clicked with me.
bash is ubiquitous, and for me who grew up pre-python, which I probably should start learning for bash like tasks.
It's funny that an article questioning literary vocation contains such poor grammar.