Always do rm -rf “${var:?}/” so that the script aborts if the variable is empty. Or better yet rm -rf “./${var:?}/”.
Edited to add quotes. Always quote a path: it might have spaces in it, without quotes that will become multiple paths! Which would also have avoided the particular bug in question.
The country’s top court has declined to hear the appeal of a private Calgary school that was found to have discriminated against two Muslim students who were denied prayer space on campus....
Most people don’t know that an appeal to a higher court is an exercise in “did the lower court follow procedure” rather than I want to re-litigate the case.
Israel has historically been a top receiver of Canadian arms exports, with CAN$21 million worth of military materiel exported to Israel in 2022, according to Radio Canada, following CAN$26 million in shipments in 2021. That places Israel among the top 10 recipients of Canadian arms exports.
Since nvidia drivers do not properly implement implicit sync, this protocol not existing is the root cause of flickering with nvidia graphics on Wayland. This MR being merged means that Wayland might finally be usable with nvidia graphics with the next driver release....
I have 2x PCIe X16 and 1x PCIe 1x slots that are not being used. Given that Linux has extensive hardware support, there are probably users with interesting PCI card usages...
antibigotry noticethis post does not support or normalize misgendering nonbinary people. wakko generally seems to canonically accept he/him pronouns, but if that weren’t the case the behavior exhibited in this post would be unacceptable, harmful, and vehemently condemned, and would be showcased here only as an example of and...
My hypothesis is that almost all men are incapable of acknowledging there might be something wrong with their dick… and react quite poorly when it’s suggested.
Now I’m curious how that list looks if one counts extra-judicial executions. I.e. when the police kill someone.
From what news I get, total gut feeling here, there’s gotta be way more than 30 deaths from police action per year in the US, but I’ve no idea what the equivalent rates would be in those other countries.
Why are store bought whole pickled beets so much smaller than the beets you’d buy or harvest fresh? Are they picking them when small? Whittling big ones down to one-bite size?...
Hi all, I’ve installed Debian in 2 (mdadm RAID 1 formtted with Btrfs) NVMe drives installed into 2 PCIe adapters. The motherboard doesn’t support booting from those drives, so I’ve installed Debian into a USB stick (and it works) and I wanted to add into grub the RAID NVMe drives....
I do this, except with Ubuntu and a btrfs volume for root.
My motherboard supports UEFI, so it doesn’t care where the EFI partition is. It’s on a USB stick.
The way I did it was by installing to a SATA SSD and then moving the EFI partition to the usb stick and then substituting the SATA SSD with the NVMe SSD using btrfs.
I think I also needed to use reEFInd temporarily to give me an UEFI shell to do some debugging.
Oh! I also setup systemd-boot so I could trivially boot the kernel directly from UEFI, stored on the EFI partition and avoided grub altogether.
After a long battle, Paris’s beloved bouquinistes will be staying put this summer. The decision, announced on 13 February by the French government, came after considerable public backlash to the police prefecture’s original plan to move part of the iconic Seine booksellers elsewhere for the inauguration of the Olympics Games...
Cook was an explorer and worthy of respect. It’s not like it’s a casual jaunt to the other side of the world, it was an arduous task and a remarkable feat.
Unfortunately Cook’s arrival heralded that age’s colonialism, itself a mixed blessing.
It’s only now, with the wealth of the world’s history at our fingertips and an objective view of the past up to the present that lets us judge the effects of past events.
Oh, I get that aspect. It’s just an objectively better experience without the artifacts of the technical limitls of a physical camera and lens.
It’s as if it’s driven by an idiot that thinks if it looks like there are lens flares, abberation, vignette, etc. that it was look cinematographic, completely ignoring the actual art of composition, framing, lighting, depth of field, etc… the actual arts of cinematography.
Though, given that I’m the one controlling the vital camera with my mouse or controller, apparently it should suck as much as a real camera.
Avoiding flares, aberration etc makes an image objectively better. You might subjectively prefer either the objectively better or objectively worse image.
A Linux user's nightmare: the machine was wiped clean with one click (www.mikrobitti.fi)
google translate
Donald Trump Should Probably File for Bankruptcy, but Likely Won’t Because He’s Worried It Would Make Him Look Like a Loser: Report (www.vanityfair.com)
Supreme Court won't hear appeal of private school that wouldn't let Muslim students pray (www.cbc.ca)
The country’s top court has declined to hear the appeal of a private Calgary school that was found to have discriminated against two Muslim students who were denied prayer space on campus....
Canada stops arms shipments to Israel (www.lemonde.fr)
Israel has historically been a top receiver of Canadian arms exports, with CAN$21 million worth of military materiel exported to Israel in 2022, according to Radio Canada, following CAN$26 million in shipments in 2021. That places Israel among the top 10 recipients of Canadian arms exports.
China is building its military on a 'scale not seen since WWII' and is on track to be able to invade Taiwan by 2027: US admiral (www.businessinsider.com)
US Adm. John Aquilino said China’s military is building up at a rate not seen since World War II....
Explicit sync Wayland protocol has finally been merged! (gitlab.freedesktop.org)
Since nvidia drivers do not properly implement implicit sync, this protocol not existing is the root cause of flickering with nvidia graphics on Wayland. This MR being merged means that Wayland might finally be usable with nvidia graphics with the next driver release....
Court document rule (jlai.lu)
What PCI cards do you use ?
I have 2x PCIe X16 and 1x PCIe 1x slots that are not being used. Given that Linux has extensive hardware support, there are probably users with interesting PCI card usages...
Easy Anti-Cheat: We have investigated recent reports of a potential RCE issue within EAC. At this time - we are confident that there is no RCE vulnerability within EAC being exploited. (twitter.com)
https://sh.itjust.works/pictrs/image/9633f178-e6e7-441e-8ba7-89da9cb1c708.png
Putin ‘wins’ rigged Russian election with 88% of the vote, early results show (www.politico.eu)
rule (lemmy.cafe)
antibigotry noticethis post does not support or normalize misgendering nonbinary people. wakko generally seems to canonically accept he/him pronouns, but if that weren’t the case the behavior exhibited in this post would be unacceptable, harmful, and vehemently condemned, and would be showcased here only as an example of and...
Dramatic rise in women and girls being cut, new FGM data reveals (www.theguardian.com)
Progress to prevent female genital mutilation needs to be ‘27 times faster’, says UN...
What the Cursor? - An introduction to the new hyprcursor format (blog.vaxry.net)
Saudi Arabia Joins Afghanistan And Iran As One of World's Leading Executioners (www.ibtimes.co.uk)
5 children killed in humanitarian aid airdrop, Hamas-run Gaza Ministry of Health says (abc13.com)
Internet cables cut in the Red Sea in 'exceptionally rare' incident, disrupting much of Asia, Europe, and the Middle East (fortune.com)
Pickled Beets Question (beehaw.org)
Why are store bought whole pickled beets so much smaller than the beets you’d buy or harvest fresh? Are they picking them when small? Whittling big ones down to one-bite size?...
Boot into NVMe drives from USB
Hi all, I’ve installed Debian in 2 (mdadm RAID 1 formtted with Btrfs) NVMe drives installed into 2 PCIe adapters. The motherboard doesn’t support booting from those drives, so I’ve installed Debian into a USB stick (and it works) and I wanted to add into grub the RAID NVMe drives....
Games rule (lemmy.world)
sacré bleu (lemmy.ca)
Does hosting the Olympics, the World Cup or other major sports events really pay off? (phys.org)
After a long battle, Paris’s beloved bouquinistes will be staying put this summer. The decision, announced on 13 February by the French government, came after considerable public backlash to the police prefecture’s original plan to move part of the iconic Seine booksellers elsewhere for the inauguration of the Olympics Games...
Great question Michael (jlai.lu)
Hindu nationalists go to court over lion named after Muslim emperor in India (www.theguardian.com)
Ministers confirm plan to ban use of mobile phones in schools in England (www.theguardian.com)
Fully Automated Pansexual Communism (midwest.social)
Anticolonirule (slrpnk.net)
fixed rule (lemmy.blahaj.zone)
original: lemmy.blahaj.zone/post/8572031
Mongolian. Like the barbecue. (startrek.website)
Dark universe King Of The Hill (lemmus.org)
The most controversial Assassin's Creed Mirage graphical setting is being removed for all players (www.pcgamesn.com)
So, Microsoft now owns Activision Blizzard. How will this affect the rest of the industry? (www.gamesindustry.biz)