skysight-inc/HackerNews huggingface dataset:
Export $BASH_SILENCE_DEPRECATION_WARNING as described in the Apple web page pointed to by the nag message, or change your shell to your own version of Bash.

See also <https://apple.stackexchange.com/questions/371997/suppressing...>. I went with the "use an updated brewed Bash" approach, which has been working well. Using `sudo chfn` means you don't need to futz around with editing /etc/shells.
The notion of amending the constitution in response to political dysfunction is a bit paradoxical, because dysfunctional politics are upstream of the amendment process. Dysfunctional politics will likely mean a dysfunctional amendment.

Some thoughts on resolving the paradox:

* If the constitution had been easier to amend in the 90s and 00s, perhaps some wise politicians would've seen whispers of the current dysfunction and passed an amendment to preempt it. Maybe there could be a "department of the future" that's trying to figure out how things could go off the rails and what amendments we could pass in advance to help.

* If amendment was done according to an entirely different process (e.g. sortition https://www.sortitionfoundation.org/case_study_america_in_on... -- essentially a citizen's assembly), that could solve the paradox. Especially if the new process was something slower and somehow less prone to dysfunction. It'd be like an additional check & balance. Sadly, we don't have much experience with sortition or other very different processes, and it seems risky to entrust them with something as important as the constitution. Maybe the rule could simply be that the legislature is required to vote on whether to adopt the changes that come out of the sortition process?
No investigation necessary.

The information can be obtained in an automated way.
Very bad and useless title. Tell me what the article talks about and not clickbaity things, which aren't even that much of a bait given he's a pretty well known artist.
Bash extensions are cool to have in the interpreter. I really don't think we need more than the basic POSIX shell for most scripts. I once wrote a tar replacement in it, with a restricted YAML generator and parser and a state machine — don’t judge me, I think I was manic — and the result was weirdly beautiful.
Fearmongering? I believe you are just ignorant. Let me dispell some of that with primary sources:
https://pubmed.ncbi.nlm.nih.gov/34206453/
https://www.yalemedicine.org/news/5-things-to-know-omicron

BA.5 and XBB do lead to more severe disease than BA.1, though still not as many deaths as Delta. There are further even worse developments already getting percentages over BA.5. (BA.4.6 and BQ.7)
Again, not much worse, but still an increment. The worst symptom that's new is extreme fatigue.

It is only a few mutations to return to origin and start wrecking lungs again in addition to being spreadable.

Some researchers brought back a chunk of Delta spike into BA.1 and got 80% kill rate in mice. And it is just a few genes. Since XBB shows that variants can, though not easily, crosslink, someone might become this unlucky patient one generating a deadly cross between Delta and Omicron.
A variant of Delta that gained some of Omicron features by evolution was also quite deadly, but fortunately it did not catch on and become a variant of concern. We're lucky so far.

Flu vaccine is half decent in that when it works, it gives neutralizing immunity. Keyword is when it works. That is, if the variants in the vaccine match well enough to the current wild ones.
It is high efficacy if the guess is right.
When the guess is off, having been vaccinated for a similar variant reduces severity and complications a lot, still.

Current COVID vaccine does not in general give neutralizing immunity even when variants match. It means it cannot stop the virus being passed around to immunocompromised, sick or unvaccinated. It reduces the time it's being spread but that is not sufficient.
It also reduces chance of people ending up in hospital or dead and severity of symptoms. We do not know how much it reduces chances of Long COVID yet.
Because it's not doing much to the spread, people get ill at a similar rate, just milder.

There are developments for mucosal vaccine that can fix this problem.
What I do is have a scripts folder where the names have extensions and which is version controlled and symlink them from `.local/bin`
Stage manager is great if you have the latest MacBook
Use CO2 from building as a fertilizer for rooftop garden
Philips launches two-in-one monitor with LCD and E Ink panels
You could also rewrite this sentence to say that prohibition created organized crime.
I owe my career to World of Warcraft. Started running my own server in 2008 when the burning crusade was released on my ADSL connection for friends, then I started "scripting" shit in C++ (server software is a good framework (CMaNGOS)), so while it was compiled in it wasn't really like writing C++, never had to think about ownership, threading, lifetimes etc...

Eventually I stared messing about more inside the framework, now I work as an SRE for a streaming service. Never pursued software development as I thought I was too stupid, and now pay would be too shite as a junior dev :)

In a sense Blizzard entertainment just happened to "save my life" (I'm certain I would have a dogshit life without this, many reasons).

I think more games should embrace modding like Blizzard games do/did with maps, workshops (while not being minecraft).
Who Are Xi’s Enemies?
Ctrl-Shift-Cmd-F? Are you forking kidding me? I know sometimes you can press Option to show secret menu items (which I bet <10% of Mac users know) but Ctrl and Shift too? So now you have to press 7 different combinations of modifier keys just to discover what menu commands are available. Just wow.

Thank you for showing me that menu command! That'll be a lifesaver going forward. Usability achieved despite Apple design, not because of it.
The nightly build of Brave will automatically manage the banners for you.
I can only agree with this. In my experience, everybody coming from a lifetime with windows has to learn that a "working directory" has a very real and everyday meaning in Linux.
Windows software just isn't designed that way because it usually has GUIs and "Open file" dialogs and doesn't use the cwd mostly. Most shortcuts even execute software in their installation directory (because it's most compatible with developers using relative paths for their assets and ignoring the existence of the cwd mechanic altogether, I guess?).

So for somebody just coming from Windows, this isn't just the wrong mindset for shell scripts, more dangerously it's a mindset they find appealing, because it matches their prior experience on Windows better.
Try reading an eBook with rm2. Or a PDF (latex generated best, like some scientific article). Then you know what eye hurt is.

Very faint, greyish text. In not so nicely lit rooms an absolute horrific reading sensation. Nothing like paper.
Funny, all I see is an authentication prompt every 17 minutes because Azure AD can't get its shit together.
Two things strike me with this.
These expenses for R&D for just this field are HUGE.
In my opinion with very little to show for it until now.

Second, how are they generating $1,7 billion dollars in revenue from the Metaverse?
Oh, I hadn't noticed that links are not highlighted as such (unless already visited).

Fixed, thanks!
I know you can specify these predicates; the problem is the absolutely terrible choice of default behaviour.
What I am curious about whether it would have been possible to deactivate the spoilers, at least in roll-assistance?
From the MH-370 discussions here I had the impression that the pilot can shut-off every system.
Every time I see a graphics demo involving metaballs I read it as meatballs. Every. Time.
As much as I love ZSH in my daily life, in sripting I HATE it for not having the "==" operator! >:((
Indeed. When the Supreme Court rules that 6 MJ plants, grown and consumed on a homeowner’s property, falls under the power to regulate inter-state commerce, I think some of plot has been lost.

https://en.m.wikipedia.org/wiki/Gonzales_v._Raich
Disregarding others generates controversy.
> Well, would you consider yourself to be a heavily augmented fish?

Among other things, yes. There are enormous amounts of biochemical machinery we are still running today originating from the dawn of life. Although I believe intentionally designed augmentations would be (and in a way: already are) a complete game changer, in at least as much as the advent of higher reasoning and shared culture was the game changer that gave birth to us. So there may well be an insurmountable wall of separation between us and our successors.

From my admittedly biased perspective I think the most important aspects worth porting over to a new species are not even necessarily biological, but cultural and emotional. I personally think there is a potential for experiential richness that I would love to see explored in a human-like but highly advanced lifeform. To be clear, I wouldn't object to personally being that lifeform, either, but alas I was born too early.
Perhaps our electromagnetic communication would seem as advanced as cave paintings, and we have no means to identify more advanced communication.
Extension or not, .sh or .bash: definitely subjective.

That was the intention of my comment. Because the rest of the post (or most of it for sure) is not subjective.
I close my browser regularly to delete cookies on close, but i also run ccleaner regularly. Nothing worse than being logged into gmail...open youtube...already logged in. Not cool if i want to check put a video anonymously (ie not linked to my login).
I also change my spoof user aget and change vpn exit, too.
Regularly annoying, but i do enjoy the thought that somebody is not getting from me what they thought they might.
Crazy funny video. Thanks.
That searches the _contents_ of the files in the current folder. I just want to search the names (the way Cmd-F works in, you know, every other application: it searches what you see in the window).
We already do this, it's called being hired as a full-stack developer. :)
But is that a UK thing or not? I worked for a fintech company in London and was earning on the order of £250,000/yr. We had quite a few eng who were earning between £100k-£150k. Admittedly it was a UK/US company - the founders were American and the eng team was almost all in London. But it's not like your salary says something deeply fundamental about the UK, no more than salaries in Mountain View tell you something about the whole of the US.
I'd strongly recommend using /tmp/* temp dirs to save your SSD and speed up things.
I very much doubt they where talking about this, and where instead referring to their hosting costs.
I wonder if they are still underestimating renewables like they have done consistently in the past -

https://climatenexus.org/climate-change-news/iea-historicall...

^ There are versions of this article that come out every year or two.
Many of those games have sequels, doesn’t that mean they have been developed further?
The solutions for the most of the issues you are describing comes with great usability costs. It is already hard to make non-tech people to switch from WhatsApp.
Not the most search engine friendly acronym.

Those El Salvador success stories aren't exactly honest either. The country adopted Bitcoin, but it didn't do them any good. When Bitcoin was introduced 9 out of 10 people had no idea what it is, and 70% disagreed with the decision to adopt it. By the middle of 2022 only 3% of the business felt Bitcoin was valuable. The government spent 4% of the national reserve on Bitcoin, which since have halved in value. The village featured here received $100,000 worth of Bitcoin to adopt an economy based on Bitcoin, but Bitcoin failed to disrupt the country's tourist or remittance industry.
> i can't stop marveling at paper as a medium -- it got so many things right. it certainly wasn't the first try by humans. we tried clay plates and sheep skin and bamboo chips, until we hit upon paper. but nonetheless it's amazing that paper is still not surpassed after more than a thousand years.

Does paper have any advantage over vellum ("sheep skin") other than being cheaper?

Most of the media you mention are superior to paper in various ways, but either logistically difficult (clay) or expensive (vellum). Paper is the "my car's turn signal stopped working, so I bought a new car" of recording media. It is cheap to manufacture, it rots quickly, it is easily destroyed, and it's cheap to replace.
And this rule has been followed the majority(if not all) interpreted and scripting languages. The likes of Ruby, python and JS have multiple examples. Whatever executable is in your $PATH it won’t have an extension.

Not sure if this convention is actually documented anywhere.

Random examples:

- https://github.com/PyCQA/isort/blob/main/pyproject.toml#L100

- https://github.com/pypa/pip/blob/main/setup.py#L78

- https://github.com/11ty/eleventy/blob/master/package.json#L1...
Do you guys think that Shell scripting will still be around in 20 years?
It's not in the bibliography at the bottom, so I thought I'd give a shout out to Crafting Interpreters, which is a very accessible tome on language design and development:

https://craftinginterpreters.com/
A friend of mine used the rm2 for a year and created a nice review on YT [0]

[0] https://www.youtube.com/watch?v=uZyWD7-39XM
The report analyzes 3 futures...

> [paraphrased] Stated Policies Scenario (STEPS) shows the future assuming governments follow their published energy plans. The Announced Pledges Scenario (APS) assumes that all aspirational targets announced by governments are met on time and in full. The Net Zero Emissions by 2050 (NZE) Scenario maps out a way to limit global warming to 1.5 °C.

The 3 scenarios are wildly different... And whats worrying is that I suspect the reality probably won't even be as good as the STEPS future, because expensive environmental policies tend to be the first thing to get dropped when a country is struggling for economic growth.

If I could purchase shorts on the polar bear population, I think it would be a pretty safe bet...
Very easily obtained, though: just call +46856485160 and ask for it. They also reply to questions like "okay, so did this person have any siblings and what were their parents' names?" and "who else lives at that address?" and so on.

I have needed to provide information for a visa application including family history on dead half-relatives from a branch of the family tree I have very little contact with. It was a breeze. Names at birth, later marriages, dates of death and everything that I had no idea was given without delay (as stipulated by law).
Shell has been around for 40 years, so another 20 will be easy.
Chinese authorities ask: Dear newlywed, when's the baby arriving?
This cookie malarkey is about a breakdown of protocol. If two
entities no longer intend to cooperate and honour each others signals,
all bets are off for building reliable economies on that
technology. What's holding "web" together right now is the monopoly of
a few browsers that more or less force users to accept insecure
settings against their interests in order to keep them talking to
hostile services.
What it’s like to act in a Call of Duty game
I play with Pharo from time to time. How do you think the available tutorials lack behind what you're finding on your use cases?

What about the books available from Pharo's website?
El Certificado UL es una marca con la que se indica que el cuadro eléctrico industrial ha sido sometido a rigurosas pruebas de seguridad y que han aprobado el estudio.
AWK is just fine for data manipulation. And unlike python, you don't need to worry about whether it's installed and in what version.
And which office proposes said candidates? And how does that office get elected? It’s not crazy for the OP to mention a national majority
(I missed that one, thanks)
It's a non profit so it can receive donations, but the developer is a LLC that's run for profit. It's a similar story in almost all software companies that market themselves as non-profit foundations (Mozilla too btw)

https://en.m.wikipedia.org/wiki/Signal_Foundation#Signal_Mes...
I think it would have to be machine language, assembly language, and C used to program machines at the hardware level. This was on an Atari 8-bit except C being cross compiling to M86k. In all cases I was programming to hardware interfaces video games and laser printer firmware. What it taught me was as sense of 'you can understand it all down to the metal'. That hardly seems valuable now, but what that means is that I've always had the curiosity and desire to know how things work which leads to deeper understanding in our field.

Learning recursive programming was an eye-opener because it clearly illustrated the correspondence of programming and math (proof by induction). [Dynamic programming was meh when I learned it--memoization seems a more fitting term--as I expected to be learning metaprogramming.]

The thing I wish I'd been taught or learned much earlier is functional programming. And maybe data-oriented design if that's a name of the thing that prioritizes data schema and layers operations on them. I'm always surprised by coding-first developers not able to put fields at the appropriate place considering cardinalities, or never even think that it's important to get this right.
I'm still sad Epic abandoned UT4 for Fortnite. UT is such a better game.
Some good ones in here. Especially the ones to "set" stuff.
Personally I'm longing for a slight variation on the default page, where I could freely arrange the shortcuts how I see fit—instead of having them in a 6×2 table (or 8×2, can't remember at the phone). It's like Windows vs Mac again: MS loves coercing everything into tables, because that's easy for programmers—while Apple understands that people want to navigate with some visual guides and reference points.
Nice. Lost me at subscription.

(Edit, to clarify - not because of what it offers, but because the very existence of a subscription tends to create wrong incentives for the company so to try and push people onto them. Maybe not now, but this will happen. Guaranteed.)

Also, I don't see a properly supported way to actually get docs to/from the device without a cloud service, theirs or someone else's.

For example, [1] says

Transferring files using a USB cable

NB: This functionality is currently experimental,
as we haven't fully implemented it yet.

1. Connect the reMarkable with a USB cable to your computer.
2. ...
3. ...
4. Open a browser window on your computer and enter the address 10.11.99.1.

What the heck. They report their tablet as a network interface? And then use their app to configure it? Meaning that I can't get anything in or out the tablet if their app's not installed.

If they will go bankrupt, the app will stop launching and you'll end up with a pretty precise-engineered dud. Worse yet, they'll get acquired and you'll be forced into a subsciption. No bueno.

This thing needs proper support for being accessible as a mass storage device. The rest is secondary.

[1] https://support.remarkable.com/s/article/Transferring-files-...
how do you make sure your scripts are SH compatible?
See Slay The Spire.
All you found was essentially me guessing from weak signals with no confirmation. As for my financial interest in Gitea ... I was never involved with the newly formed company. If you mean that I raised over 100,000€ for the benefit of the Gitea project in the past year, this is a different matter. You can read about it at https://discourse.gitea.io/t/nlnet-grant-for-federation-conc...
a) if pushd fails you are doing things not in the target directory, and when you call popd you are now in a totally wrong place. set -o errexit should handle this, but there could be situations (at least theoretically) when you disable it or didn't enable it in the first place

b) you need to mentally keep the stack in your head when you write the script. And anyone else who would be reading your script. (Edit: including yourself a couple of months/years later)

c) pushd $script_invocation_path is easier to understand and remember.

Eg:

$global:MainScriptRoot = $PSScriptRoot
$global:configPath = Join-Path $PSScriptRoot config
$global:dataPath = Join-Path $PSScriptRoot data

$dirsToProcess = gci -Path $PSScriptRoot -Directory | ? Name -Match '\d+-\w+' | Sort-Object Name
foreach ($thisDir in $dirsToProcess) {
foreach ($thisFile in $moduleFiles) {
. $thisFile.FullName
}
}

It's PowerShell, but the same idea. I use it in a couple of scripts, which call other scripts.
Those scripts are exactly the ones where I don't want to be in the script's directory. Something like this is more like what I use:

project=$(git rev-parse --show-toplevel 2>/dev/null || pwd)

ie, find the top of the git project, if there isn't one, use the current dir. My scripts live in ~/bin or similar and aren't where I want them to run.
Very interesting... Simple loop (0 -> 320000000) and add 1 to a variable.

I couldn't reproduce 100x (no optimization flags, otherwise it won't do anything)

Apple clang version 14.0.0 (clang-1400.0.29.102) -> 0m0.347s
ruby 3.1.2p20 -> 0m11.314s
Python 3.8.12 -> 0m19.662s

So ruby is almost 60% faster, but the C version is "only" 32x faster than ruby. 55x python.

I thought the differences would be smaller these days
Firefox with native Tab Groups (like Chrome) request
One thing I try to do is retrieve information from the system instead of hardcoding it.

For example, instead of

USER=mail
UID=8

use

USER=mail
UID=$(id -u $USER)

It improves portability and removes potential sources of errors.

Also note that this is something that should be done in any programming language, not just shell scripts.
SA being on a 30 minute offset comes up at the start of many conference calls
The Senate composition can be amended legally. It does require the consent of any state which would lose proportional representation, placing a strong practical hurdle but there is no absolute legal barring of that amendment.
It's not three-way as in comparing three strings; here they're comparing two strings, with a "three-way" result: a<b, a==b, a>b
It may not be unique, but it may still create false standards in your monkey brain that wasn't built for this.

I know a few people that seem extremely picky when it comes to looks, let's say much more than their own looks allow, destroying potential happy relationships, because they have impossible standards.
I'd create a laptop for power users and a new OS to go along with it.
POSIX sucks when shells aren't implementing it correctly. POSIX says that PS1 expansion needs to support at least the bang ('!') expansion and the regular parameter expansion ('$' and '${'), but i found that several kinds of almquist shells don't support that even when they are explicitly POSIX-compliant, dash included.

Bash in --posix mode does that perfectly.
There's a bug in his template.

He suggests to `set -eu`, which is a good idea, but then immediately does this:

if [[ "$1" =~ ^-*h(elp)?$ ]]; ...

If the script is given no arguments, this will exit with an unbound variable error. Instead, you want something like this:

if [[ "${1-}" =~ ^-*h(elp)?$ ]]; then
Google doesn’t have their own supply chain and only relatively recently begin making their own phones. And due to their licensing model the hardware and software are not nearly as optimized for one another as iOS and iPhones
It’s a democratic republic. I have a distaste for conservative arguments to begin with but the wheedling pedantry of this one they always trout out to ignore the word “democratic” in the description to justify anti democratic measures always manages to annoy me just a little bit harder