Defense Secretary Hegseth requires new 'pledge' for reporters at the Pentagon
The Pentagon will drastically change its rules for journalists who cover the Department of Defense, two U.S. officials who are not authorized to speak publicly confirmed to NPR Friday. The move drew sharp criticism from news organizations, who said it violated the bedrock of a free press.
Going forward, journalists must sign a pledge not to gather any information, including unclassified reports, that hasn't been authorized for release.
copymyjalopy likes this.
I must have died and gone to heaven [nushell]
I've been trying nushell and words fail me. It's like it was made for actual humans to use! 🤯 🤯 🤯
It even repeats the column headers at the end of the table if the output takes more than your screen...
Trying to think of how to do the same thing with awk/grep/sort/whatever is giving me a headache. Actually just thinking about awk is giving me a headache. I think I might be allergic.
I'm really curious, what's your favorite shell? Have you tried other shells than your distro's default one? Are you an awk wizard or do you run away very fast whenever it's mentioned?
like this
[Solved] Can I upgrade my server directly from Debian 11 to 13 without problems?
Or should I go 11 > 12 > 13?
Edit: Thanks for all the replies. I asked this out of laziness and apparently trying this is not a lazy thing to do. I'm not Bilbo Baggins seeking an adventure. Will go with 11 > 12 > 13 way, though might stay at 12 for a while at this point. You know, lazy. 😀
Edit 2: Updated to 12. Haven't checked all the configs yet but so far so good, at least every function I expect works. If I finish this checking sequence, I might go for 13 soon too.
Edit 3: Updated to 13 as well. It actually took shorter than updating from 11 to 12. Though for some reason Jellyfin is marked as obsolete, however it works and I couldn't care less. My things are working and hopefully I won't see problems. If I do, I'll check them one by one at this point since it's a small home server.
Gotta add this: I had 325 packages on Debian 11, and now I have 450 packages on Debian 13. Some of them are marked as obsolete but must review them one by one. I feel like this upgrade process brake my minimalism and introduced some bloat but gotta care about that later.
like this
Spain’s PM calls for Israel to be banned from sports events after Vuelta race abandoned
The final stage of the 2025 Vuelta, a España in Madrid, had to be abandoned after huge pro-Palestinian protests over 100,000 people reportedly took to the streets. The demonstrators targeted the Israel-Premier Tech cycling team, accusing Israel of committing atrocities in Gaza. Things got tense, with clashes between protesters and police, and the race couldn’t continue.
Spanish Prime Minister Pedro Sánchez expressed admiration for the protesters and even suggested that Israel should be excluded from international sporting events until its actions in Gaza change. That statement hasn’t gone over. Well, opposition leaders in Spain have slammed him for encouraging unrest and risking the country’s image. Israel responded by barring two Spanish ministers from entering.
Beyond the politics, this raises big questions about safety at sporting events and whether cycling teams might boycott races involving Israel-Premier Tech in the future. Sports and politics are colliding in a way that could have long-lasting effects on international competitions.
Spain’s PM calls for Israel sports ban as rocket-launcher contract reportedly cancelled
Pedro Sánchez speaks after Gaza protesters forced cycle race’s early end, while €700m deal with Israeli defence firm said to be offSam Jones (The Guardian)
Ukraine expects $3.5 billion fund for US weapons to sustain fight against Russia, Zelenskyy says
KYIV, Ukraine (AP) — Ukraine expects there will be around $3.5 billion by next month in a fund to buy weapons from the United States and help sustain its more than three-year fight against Russia’s all-out invasion, Ukrainian President Volodymyr Zelenskyy said Wednesday.
The financial arrangement known as the Prioritized Ukraine Requirements List, or PURL, pools contributions from NATO members, except the United States, to purchase American weapons, munitions and equipment.
“We received more than $2 billion from our partners specifically for the PURL program,” Zelenskyy said at a joint news conference in Kyiv with visiting European Parliament President Roberta Metsola. “We will receive additional money in October. I think we will have somewhere around $3.5-3.6 billion.”
Zelenskyy declined to provide details of what weapons the first shipments would include, but said that they would definitely contain missiles for Patriot air defense missile systems and munitions for the High Mobility Artillery Rocket Systems, or HIMARS.
An end to the war appears no closer, despite months of U.S.-led peace efforts.
https://apnews.com/article/russia-ukraine-war-us-weapons-minerals-86894a9ce6c86cede42d1adca8569d5e
like this
An end to the war appears no closer, despite months of U.S.-led peace efforts.
Is that what was going on?
The financial arrangement known as the Prioritized Ukraine Requirements List, or PURL, pools contributions from NATO members, except the United States, to purchase American weapons, munitions and equipment.
I know there's an argument to be made here for the rest of NATO to manufacture more weaponry, but as it stands right now there isn't much choice and this is a gigantic rip-off, totally on brand for this mad administration.
Korea’s major US investment projects halted as detained LG Energy workers set for release - KED Global
Samsung’s $17 billion new chip plant in Taylor aims to rein in TSMC
ELLABELL, Georgia – The South Korean government has secured the release of about 300 nationals detained following a raid by US authorities on an eleSang-eun Lucia Lee and In-Yeop Kim (KED Global)
like this
like this
From Telegram to trenches: The Russian page luring Jordanians into war
On 11 July 2025, Ahmed Saleem* boarded a flight from Jordan to Russia. He was chasing what looked like a dream job.
A man in his fifties, Saleem had received an offer on Telegram that promised non-combat work with the Russian Ministry of Defence.
The recruiter - a Russian woman named Polina Alexandrovna - offered him a monthly salary of 200,000 roubles (around $2,000), Russian citizenship, and work under a private company.
But when he landed in the Russian city of Bryansk, the reality hit.
He wasn’t hired for catering or logistics. Instead, Saleem was forced into the “International elite battalion”, a foreign mercenary unit fighting on the frontlines of Russia’s war against Ukraine.
Saleem’s wife, Muna*, said he was told he had no choice but to sign military contracts written in Russian once he arrived there, without a translator, internet or legal advice.
“He was driven for hours, then forced to sign 21 documents. He had no idea what they said,” she told MEE. “He was threatened with losing his financial rights if he refused.”
The papers, it turned out, signed him up as a frontline fighter. Not support staff. Not logistics. Combat.
From Telegram to trenches: The Russian page luring Jordanians into war
On 11 July 2025, Ahmed Saleem* boarded a flight from Jordan to Russia. He was chasing what looked like a dream job. A man in his fifties, Saleem had received an offer on Telegram that promised non-combat work with the Russian Ministry of Defence.Mohammad Ersan (Middle East Eye)
like this
Global Samud Flotilla Boat Tracker
An interactive map of the progress of the flotilla fleet headed to Gaza to challenge the unlawful Israeli siege on aid to Gaza.
Their safety and success relies on public pressure and alertness. Demand from your country that your citizens be protected and that those around you are made aware. We must break Israel’s policy of systematic starvation.
like this
China is sending its world-beating auto industry into a tailspin
Government policies that prioritize production targets over market demand have led to overinvestment by carmakers. The resulting glut of vehicles has created lose-lose transactions throughout the sales chain, and spawned a variety of unusual practices.
CHENGDU, China - On the outskirts of this city of 21 million, a showroom in a shopping mall offers extraordinary deals on new cars.
Visitors can choose from some 5,000 vehicles. Locally made Audis are 50% off. A seven-seater SUV from China’s FAW is about $22,300, more than 60% below its sticker price.
These deals – offered by a company called Zcar, which says it buys in bulk from automakers and dealerships – are only possible because China has too many cars.
Years of subsidies and other government policies have aimed to make China a global automotive power and the world’s electric-vehicle leader. Domestic automakers have achieved those goals and more – and that’s the problem.
China has more domestic brands making more cars than the world’s biggest car market can absorb because the industry is striving to hit production targets influenced by government policy, instead of consumer demand, a Reuters examination has found. That makes turning a profit nearly impossible for almost all automakers here, industry executives say. Chinese electric vehicles start at less than $10,000; in the U.S., automakers offer just a few under $35,000.
Most Chinese dealers can’t make money, either, according to an industry survey published last month, because their lots are jammed with excess inventory. Dealers have responded by slashing prices. Some retailers register and insure unsold cars in bulk, a maneuver that allows automakers to record them as sold while helping dealers to qualify for factory rebates and bonuses from manufacturers.
Unwanted vehicles get dumped onto gray-market traders like Zcar. Some surface on TikTok-style social-media sites in fire sales. Others are rebranded as "used" – even though their odometers show no mileage – and shipped overseas. Some wind up abandoned in weedy car graveyards.
Workers at Brazil's Embraer begin indefinite strike
SAO PAULO, Sept 17 (Reuters) - Metalworkers at Brazilian planemaker Embraer went on strike on Wednesday for an indefinite time, demanding wage increases and the signing of a collective labor agreement, the Metal Workers Union from Sao Jose dos Campos said in a statement.
Embraer did not immediately respond to a request for comment.
Denmark leads large military exercise in Greenland, without US
NUUK, Sept 17 (Reuters) - Denmark did not invite the U.S. military to take part in Arctic Light 2025, the largest military exercise in Greenland's modern history, as NATO allies step up defence cooperation in the Arctic amid U.S. interest in the island.
Denmark's Arctic commander, Soren Andersen, confirmed that, while U.S. Defense Secretary Pete Hegseth had been invited, no U.S. military units were asked to participate.
like this
Unification Church leader questioned in ex-South Korea first lady investigation
- Han Hak-ja questioned over bribery allegations involving former First Lady Kim Keon Hee
- Lawmaker detained over evidence destruction concerns, denies bribery
- Unification Church denies involvement, calls for prayer
SEOUL, Sept 17 (Reuters) - The leader of the Unification Church, Han Hak-ja, appeared for questioning by prosecutors on Wednesday over alleged involvement in bribing the wife of ousted South Korean President Yoon Suk Yeol as part of a criminal probe into the former first couple.
After more than 9 hours, Han left the prosecutor's office in a wheelchair, passing through a media scrum. She denied the allegations, and responded strongly "No!" when asked if she ordered bribery.
Exclusive: Trump administration clears first Ukraine arms aid paid for by allies, sources say
cross-posted from: lemmy.world/post/36060419
WASHINGTON, Sept 16 (Reuters) - The Trump administration's first U.S. weapons aid packages for Ukraine have been approved and could soon ship as Washington resumes sending arms to Kyiv - this time under a new financial agreement with allies - two sources familiar with the situation told Reuters.This is the first use of a new mechanism developed by the U.S. and allies to supply Ukraine with weapons from U.S. stocks using funds from NATO countries.
US wins release of Wells Fargo banker barred from leaving China, sources say
cross-posted from: lemmy.world/post/36060171
- Mao's exit ban lifted after U.S.-China negotiations
- China had cited criminal case for Mao's exit ban
- Mao leads Wells Fargo's international factoring and cross-border strategies
- Wells Fargo's China presence smaller than Wall Street peers
- Foreign executives' exit bans in China raise business concerns
BEIJING, Sept 17 (Reuters) - A Wells Fargo (WFC.N), opens new tab banker, Chenyue Mao, who had been barred from leaving China for several months, has been allowed to return to the United States following negotiations between U.S. and Chinese officials, according to two people with knowledge of the case.
As the world recognizes a Palestinian state, Israel’s E1 plan moves to bury it
https://www.972mag.com/palestinian-state-israel-e1-plan-west-bank/
like this
like this
Any plans to support Piefed?
Peter Thiel Antichrist lecture: We asked guests what the hell it is
cross-posted from: sh.itjust.works/post/46219073
Lecture attendees started trickling out around 8:30 p.m., carrying mousses, cookies, and various other desserts to their awaiting Ubers. Most of the audience members were hesitant to provide their thoughts on the record, for fear of being disinvited from future events, but a few shared their opinions on condition of anonymity.The consensus was that the talk largely repeated the points Thiel had made in previous interviews on the subject — namely, that the Antichrist would use the threat of Armageddon, or some looming crisis, in order to consolidate control and create a “one-world government.”
One attendee recalled Thiel specifying that this figure could not be a state figurehead like Chinese President Xi Jinping, because it needs to be more global. He couldn’t recall if Thiel suggested Thunberg would make the cut.
One attendee recalled that Thiel’s discussion of the Antichrist was more about a scenario than an individual. Thiel’s Antichrist scenario is one in which a unified government suppresses technology to impose order, or armageddon, wherein AI takes over and ushers in the end of the world.
"We’ll either have the one government that destroys technology and takes over, or you have the AI that destroys everything,” he said.
Another guest, when asked about the talk, shot back a single word: “Mid.”
A group of three French men, all living in SF and working in tech, gave the talk a 7 out of 10 because of its repetitiveness. But they did appreciate some of Thiel’s jokes — including, apparently, saying it would be a travesty for Elon Musk to go to therapy because it would make him less productive.
"He was really anti-introspection,” one recalled. “[He said] we are very selfish and we care a lot about ourselves as individuals, and that therapy and yoga and stuff like that is not good for the world. We should not care so much about ourselves and care more about the world.”
Another attendee said the talk revealed a less well-known, more scholarly side of Thiel. He noted that Thiel is different from his expectations of a tech investor, pointing to the billionaire’s “cynical” view of technology’s impact on the world.
What the hell happened at Peter Thiel’s Antichrist talk? We asked the guests
We didn’t get a ticket, but we did speak with attendees — and protesters.Garrett Leahy (The San Francisco Standard)
like this
Thiel’s Antichrist scenario is one in which a unified government suppresses technology to impose order, or armageddon, wherein AI takes over and ushers in the end of the world.Another attendee said the talk revealed a less well-known, more scholarly side of Thiel.
Scholarly, lol. What is it that makes people think that billionaires are more intelligent than they really are, while those billionaires are actually going off the deep end?
Isn't the first part what's going on in the US? I assume the AI part isn't part of the government here.
Also isn't Vance funded by Theil?
Now comic books are kinda out of date, they used to assume you couldn't be that evil and say you are while no one stops you from your plan while you talk about it non stop.
Now comic books are kinda out of date, they used to assume you couldn’t be that evil and say you are while no one stops you from your plan while you talk about it non stop.
I don't have an answer for your first two questions, but I hear you on your comic book take.
How trustworthy is Hostinger?
Private company - but can they be trusted to maintain user privacy?
Hostinger is a (German?) company that provides web hosting, vps and other services.
Hostinger - Bring Your Idea Online With a Website
Choose Hostinger and make the perfect site. From Shared Hosting and Domains to VPS and Cloud plans. We have all you need for online success.Hostinger
That really depends on what you mean by privacy. They probably won‘t sell your data or even look at the stuff you‘re doing with your server, if you‘re not disrupting their service. But they definitely will cooperate with law enforcement if your server is used for illegal stuff and someone reports it.
In the end, you’ll always have to trust your server host to some degree. Some other hosts, like Hetzner, allow you to install your own operating systems on their dedicated servers, so you can set up full disk encryption. But even though this is definitely better than unencrypted disks, it‘s still not a reliable way of preventing access while your server is running.
So if you’re just wondering if you can host a Nextcloud instance at hostinger without your files being sold by them: Almost certainly, yes.
If you, on the other hand, plan to host manuals for building bombs or, even worse, offer downloads of old Nintendo games, they‘re probably not going to respect your privacy for long.
If you, on the other hand, plan to host manuals for building bombs or, even worse, offer downloads of old Nintendo games
Ha. Damn, was really hoping to rip off Nintendo.
DOJ ended probe of 'border czar' Tom Homan for allegedly accepting $50K in FBI sting: Sources
DOJ ended probe of 'border czar' Tom Homan for allegedly accepting $50K in FBI sting: Sources
The Justice Dept. said there was "no credible evidence" of criminal wrongdoing.Katherine Faulders (ABC News)
copymyjalopy likes this.
A GooD but BoooriNG AlternaTive to BeReal
Good because:
1) Can click images with both cameras
2) Daily notifications
3) Privacy focussed
3) If you want any new feature in the app, just email the devs and they will build and ship it in 15days or less
4) FREE, No Ads even
5) Can write long Journal entries
Boring bcoz:
1) Cant chat with friends
2) cant create gifs (videos)
3) cant see friends pics. Which is a deal breaker for me
So i have currently started using DD-DigitalDiary and clicking pics with DD-DigitalDiary everytime i get a BeReal notification.
Also i have kept BeReal in order to chat with girls & stuff. And see their pics since thats the only way you can see and catch up with their daily life's
I mostly post black bereals. Downloaded all my 2yr old BeReal pics and put it in my HardDisk
(i suggest you guys to do the same btw)
Have any of you guys switched from BeReal to DD-DigitalDiary or any other such application?
Is there any other better alternatives (than DD-DigitalDiary)?
NOTE: I use Android but for the community link ios, mac, linux alternatives as well if a better is available
I know many of u wont even know about DD-DigitalDiary coz it only has like 500 downloads or something, so here goes the link. DD-DigitalDiary
DD-DigitalDiary: Photo Journal - Apps on Google Play
Click 1 Image Everyday To REMEMBER your LIFE Foreverplay.google.com
Israel kills displaced Palestinians in strike on car fleeing Gaza City
An Israeli air strike hit a car carrying displaced civilians fleeing Gaza City on Tuesday, killing at least five Palestinians and wounding several others.
The strike hit the vehicle near al-Katiba Mosque in the Old City, west of Gaza, leaving it engulfed in flames.
Footage from the scene shows plumes of smoke rising from the car as civilians scream and rush to help the victims.
Several people lie motionless on the ground, bloodied and wounded from the blast, while others scramble to extinguish the fire.
In another video, bystanders gather around the smouldering remains of the vehicle, reduced to charred metal in the aftermath of the strike.
like this
It's okay because it's not terrorism in the eyes of the West.
That means Israel has paid into the MIC.
Israel is committing genocide
The ones who want this genocide spent decades ensuring they had the unwavering support of the Israeli and American governments to do so. Congratulations to them, they're now able to mass murder mostly children without anyone being able to stop them. I truly hope there is a hell so they can spend an eternity reaping the fruits of their labor
European Commission proposes ending preferential treatment for Israeli trade
cross-posted from: feddit.org/post/18956969
The proposal would suspend the central plank of a decades-old free trade deal that removed tariffs on imports of goods between Europe and Israel.However, suspension of the agreement requires the backing of a weighted majority of EU capitals, meaning Germany or Italy would first need to lift their opposition to the 27-state union sanctioning Israel.
European Commission proposes ending preferential treatment for Israeli trade
If approved, EU move would represent major economic and diplomatic blow for IsraelJack Power (The Irish Times)
like this
Gold worth $700,000 stolen from Paris's Natural History Museum amid string of similar heists
Thieves have broken into Paris's Natural History Museum, making off with gold samples worth $700,000 in the latest of a worrying series of robberies from cultural institutions, according to the museum.
Famed for its dinosaur skeletons and stuffed animals, the National Natural History Museum in the chic 5th district of the French capital also houses a geology and mineralogy gallery.
A break-in was detected on Tuesday morning, with the intruders reportedly using an angle grinder and a blow torch to force their way into the river-side complex that is popular with Parisians and tourists.
Gold worth $700,000 stolen from Paris' Natural History Museum amid string of similar heists
A break-in was detected on Tuesday, with the intruders reportedly using an angle grinder and a blow torch to force their way into the river-side complex.CBS News
like this
Update: I did it! Old: Help! Installing Linux with no external media.
Edit: holy shit, I did it! The install media is booting off a little SSD partition! It was ultimately quite simple. Will update with instructions once done, for posterity.
Edit 2: I did it...and you can too! Here's what I did to install Linux from a disk partition on a gen 1 Surface Go with no functioning USB ports. I don't know if it's the ideal process, but it worked for me. Suggestions for refinements are gratefully accepted.
Prep Step: Make enough room for your partition and empty space for Linux by shrinking your Windows system partition. I made a 6 GB partition and left 30 GB free for Linux. If diskmgmt is being an asshole about it, turn off your page file and hibernate, then reboot to clear both files. Windows is now struggling along with a ~22 GB partition, 4 GB of free space, all visual enhancements turned off, and no page file. Tough shit, Windows: you exist to install Linux now.
Hot tip: you may have rebooted Windows a bajillion times already. If you're logged into a microsoft account, those jackanapes will lock your system down for two hours for excessive booting. It happened to me twice. Just select "forgot my password/pin", reset it, and you should get back in. Fuck you, Bill Gates!
- Download the install ISO for your desired Linux (or whatever, you're an adult) distro.
- Create a FAT32 partition with enough size for the contents of your install media.
2.1 Optional: Name it something silly to blow off steam. - Copy contents of ISO to new partition.
- Turn off secure boot in UEFI settngs since Grub2Win is NOT "secure" in the eyes of UEFI.
- Download and install Grub2Win.
- In Grub2Win, click "view partition list". Save the UUID of the partition you made for the install files for later use. It'll say it's not a legitimate EFI. Just ignore it - you don't need its validation.
- Click "Manage Boot Menu", then add a boot entry. I selected the template for Linux Mint, the distro I was installing, and used the example code to start. Don't save it yet, you need to fill in more info.
- Examine the boot.cfg file present in the distro install media for required parameters, then find the location of the linux kernel (vmlinuz) and initial ramdisk image (often initrd.lz or initrd.img) files. I literally just copied the "linux /casper/vmlinuz..." line to get my parameters.
- Update your code in the boot entry. Here's what mine ended up looking like:
set rootuuid=9889-99F1
getpartition uuid $rootuuid root
g2wsetprefix
linux /casper/vmlinuz root=UUID=$rootuuid persistent boot=casper username=mint hostname=mint iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
if [ $? -ne 0 ] ; then g2werror Linux load error ; fi- Save the boot entry. Reboot your system, then select your shiny new boot entry. Linux should start. Be patient, it's slow AF. Select the installation shortcut to get started. Everything proceeded smoothly for me.
Note: I left my Windows install as ANY perturbations to UEFI settings end up with it reverting to the Windows boot manager, which points at the Windows install only. If I didn't have Windows to run Grub2Win, I'd be out of luck. - After installation, I found the boot manager went back to the default Windows one and updating through Grub2Win did exactly nothing. I ended up uninstalling, then reinstalling Grub2Win, then it was fixed. Mostly. It still didn't have a Linux boot entry.
- Manually add your Linux boot entry. Similar to the install media, you need to tack on some paramaters. Here's what I ended up with, with the UUID being that of the new Linux install partition:
set rootuuid=4d23295b-03db-49d4-858b-e7403d983269
getpartition uuid $rootuuid root
g2wsetprefix
echo Boot disk address is $root
echo The boot mode is Partition UUID
linux $pathprefix/vmlinuz root=UUID=$rootuuid verbose
initrd $pathprefix/initrd.img
if [ $? -ne 0 ] ; then g2werror Linux load error ; fiAnd that should do it! Secure boot remains off as Win2Grub's EFI isn't signed by Microsoft, so turning it back on will revert the system to the Windows boot manager. Just to tie things up: Fuck you, Bill Gates!
Hope that helps, and good luck!
Original:
This is a weird one. My partner was gifted a Surface Go model 1824 (gen 1) by their best friend, who unexpectedly died a couple of weeks back. It's nearing the Windows 10 end of support date, so my plan was to install Mint, but there's a hitch: the only goddamned USB port on the system is shot. It's the USB controller, which I've given up on trying to fix as it looks like a hardware issue.
I still want to install Linux because this thing now has super sentimental value. I've freed up 16 gb on the SSD, so I have some space to work with. There's a micro SD slot that still functions, but the stupid system doesn't support booting from it (although a Reddit post suggested you can still do so if you set it up in Grub, which I don't know how to do properly at all). The only thing I can think of is installing something on a partition or partitions that acts as install media, but I have no idea how to do that.
Ive tried using Grub2Win's ISOboot function with the Mint install ISO and I can get it to start, but it stalls out waiting ad nauseum for DHCP. I think it thinks it's a PXE install. Maybe my parameters are set wrong? Actual PXE is a no-go because no network adapter. I tried intently staring at the Mint ISO, then staring at the tablet; no data was transferred, but I did develop a headache.
I'm so, so stumped. Any ideas, anyone?___*___**___*-
like this
Yeah, this thing is super inaccessible. Damn you, Gates!
You nailed it: I inspected the grub.cfg on the install media, which gave me the required parameters to get my hacked together install partition working. After that, it was really easy!
Ukraine seeks $150b for 2026 defence as war drags on
Ukraine seeks $150b for 2026 defence as war drags on
Ukraine now spends more than 31 per cent of its gross domestic product on its army. Read more at straitstimes.com.ST
The US town that pays every pregnant woman $1,500: ‘We’re not OK with our babies being born into poverty’
The US town that pays every pregnant woman $1,500: ‘We’re not OK with our babies being born into poverty’
Infants in Rx Kids in Flint, Michigan, saw lower rates of prematurity and other issues, saving millions in NICU visitsCecilia Nowell (The Guardian)
who Really is Canada's new leader? (an unnecessarily deep dive)
- YouTube
Profitez des vidéos et de la musique que vous aimez, mettez en ligne des contenus originaux, et partagez-les avec vos amis, vos proches et le monde entier.www.youtube.com
Using USB Headphones on Linux
Hi! I have an Audeze Maxwell. My wireless USB adapter broke. I tried bluetooth, but it only works well with my phone. I tried both a PCI-E bluetooth/wifi adapter and a USB bluetooth/wifi adapter on my desktop, and neither give a good connection. It's ok for listening to music, but like they share on Audeze's website -- although it may kind of work, the quality will be unpleasant.
I'm trying to instead plug a USB cable from my headphones to my computer, and I'm not sure how to get my ARCH LINUX install to recognize the USB.
When I plug in the computer, I got a couple popups. One saying
"USB Device Connected MediaTek Inc. MT6227 phone has been plugged in."
Then another notification that says
"USB Device Removed MediaTek Inc. MT6227 phone has been unplugged."
More than 140 environmental defenders killed in 2024
like this
Israel is executing its final solution to the Palestinian problem right now.
Israel is executing its final solution to the Palestinian problem right now.
and the world is holding a conference about it.Deaglan O'Mulrooney (the spectacle)
Big Tech Walkout 2025
In case anyone is interested in a digital exodus:
mastodon.social/@patrickleavy/…
ETA a link with more details: rebeltechalliance.org/collecti…
Patrick Leavy (@patrickleavy@mastodon.social)
@watchfulcitizen@goingdark.social @Em0nM4stodon@infosec.exchange a small resistance step you can take is to starve #bigtech of data.Patrick Leavy (Mastodon)
Hi there, fair enough that's true for now, but we tried to future proof it by putting Freemium based on what they say here
simplex.chat/faq/#how-are-you-…
"What will be the business model?
We are focusing on product-market fit, and as such the business model is still a work in progress. However, the app will have a freemium model with extra features or capabilities for paid users (taking into consideration a potential formula like 5% paying $5/month is $3/user/year - ~90% gross profit margin)."
I'm afraid that the crowd that cares about BigTech meddling in our world has already done all of those. It's the other majority that we somehow need to convince
Personally, I'm done with preaching. I just use the better services when I can, so when the eyes open, I will be ready to be a guide
BTW, wasn't Signal so-so? I don't remember what the critique was but I remember making mental note that it's also not a solution
But Signal is a solution (if you can't self-host nor convince your friends to use something whatsapp-y).
funded by three-letter agencies
That for sure can feel iffy but if the code is sound and the keys are stored on client only, that does not have to mean they can snoop. Leveraging access might be a vector, though.
The agencies do need something that is a. really secure and b. present in global population, so it's not a dead giveaway "that guy is a spy"
using your phone number
They haven't dropped that yet?
Europe's New Gilded Cage
Europe's New Gilded Cage
The war in Ukraine has dramatically reshaped Europe's security landscape, creating a military dependency on the United States not seen since the Cold War.Dialectical Dispatches
Romania becomes second Nato country to report Russian drone in its airspace
Romania says a Russian drone has breached its airspace - the second Nato country to report such an incursion.
Romanian fighter jets were in the air monitoring a Russian attack in Ukraine on Saturday and were able to track the drone near Ukraine's southern border, the defence ministry said in a statement.
Ukrainian President Volodymyr Zelensky said the incursion could not be a mistake - it was "an obvious expansion of the war by Russia". Moscow has not commented on the Romanian claims.
Romania becomes second Nato country to report Russian drones in airspace
Ukraine's President Zelensky called the incursion "an obvious expansion of the war by Russia".Ian Casey (BBC News)
like this
Ukrainian President Volodymyr Zelensky said the incursion could not be a mistake - it was "an obvious expansion of the war by Russia". Moscow has not commented on the Romanian claims.
Poland I can believe, as a one time Russian mistake or guidance error, but Romania on the other side of Ukraine, not next to Russia or Belarus. I'm now supposed to believe that these decoy drones are suddenly just flying across Ukraine to Romania?
It's fucking Ukraine who is sending these. This is the Russian s-300 missile kills polish farmers of 2022 all over again. Remember when that was totally the case that Russia killed poles and Zelensky said this is a mark of Russian aggression and Nato would need to intervene. Then it was pretty quickly stated S-300 didn't have the range to fly from Russian AA battery across Ukraine and into Poland and then they discovered that the missile was an model that only Ukraine had anymore. So everybody went hush hush and it was written down as an tragic accident.
en.wikipedia.org/wiki/2022_mis…
Ukraine is the one who is losing and needs Nato intervention to not lose totally or have to settle for peace that Kiev doesn't want. Or am I just going to have to believe that out of the blue for 4 year of war Russia suddenly starts pelting neighboring countries with not scout drones, not drones with warheads, but with a decoy drones that have been falling over Ukraine almost nightly air raids for years now, since unless they are shot down as they are supposed to they just fall down on the ground with very little harm to the drone. Why? Russia preparing for an attack, sending a message? It's Ukraine who is doing this. They want a no fly zone, boots on the ground, and Nato AA in Ukraine, because Kiev are dry regarding AA and will lose the war otherwise if they don't get Europeans to die for them too.
Andrzej Duda o rakiecie w Przewodowie: Zełenski chciał nas wciągnąć w wojnę
Andrzej Duda przyznaje, że Wołodymyr Zełenski próbował wciągnąć Polskę do wojny z Rosją. – Oni od początku próbują wciągnąć wszystkich w wojnę – stwierdził.Jan Fiedorczuk (DoRzeczy.pl)
Russia is still a bigger military, Europe didn't pick a fight with them. Russia is definitely fucking up as usual and just throwing men and equipment at it with no particular logic involved.
They're already involved in a way they just haven't accepted it. No country wants to get involved but I'm sorry eventually they have to.
bastion
in reply to phantomwise • • •I like nushell, but I love xonsh. Xonsh is the bastard love child of Python and Bash.
it can be thought of as:
* try this statement in Python
* if there's an exception, try it in bash.
Now, that's not a very accurate description, because the reality is more nuanced, but it allows for things like:
Now, there are things in there I wouldn't bother with normally - like, rather than using
mv, I'd just usefile.rename(), but the snippet shows a couple of the tools for interaction between xonsh and sh.But, either a line is treated in a pyhony way, or in a shelly way - and if a line is shelly, you can reference Python variables or expressions via @(), and if it's Pythony, you can execute shell code with !() or $(), returning the lines or the exact value, respectively.
Granted, I love python and like shell well enough, and chimeras are my jam, so go figure.
MonkCanatella
in reply to bastion • • •bastion
in reply to MonkCanatella • • •It's a superset of python, so valid python should run fine. Imports into your shell are doable, too -- for example, I import
path.Pathin my xonshrc, so it's always available when I hit the shell. I don't often have to usePath, because regular shell commands are often more straightforward. But when I do, it's nice to have it already loaded. Granted, that could get kooky, depending on what you import and execute.You can associate/shebang Xonsh with .xsh files, or run "xonsh foo.xsh" - and that works like "bash foo.sh" would, except using xonsh syntax, of course.
It's not Bash compatible - copypasta of scripts may not work out. But it's a good shell with some typical shell semantics.
there are some great plugins, too - like autovox, which allows you to create python venvs associated with specific subfolders. so,
cd myprojectdoes the equivalent ofcd myproject; . path/to/venv/bin/activate.overall, there definitely is some jank, but it's a great tool and I love it.
MonkCanatella
in reply to bastion • • •Hm. That sounds delightful. I do think once your script hits a not one liner level of complexity, python is a logical next step.
Does it provide any useful stuff to Python itself? Would I like, derive any benefit to writing a script in xonsh over pure python?
bastion
in reply to MonkCanatella • • •Succinctness, mainly. but honestly, that succinctness ~~call~~ can also be mostly acquired using
sh.py, which is what I normally use if I'm using python as a sort of shell scripting - mostly becausesh.pyis a very minimal requirement, whereas Xonsh has quite a few dependencies.addendum: I'd say, if you're already using Xonsh, and aren't really looking to share your script with anyone other than Xonsh users or your own systems, you'd probably like to use .xsh scripts. But if you're looking to share your script, use
sh.py.MonkCanatella
in reply to bastion • • •bastion
in reply to MonkCanatella • • •priapus
in reply to bastion • • •bastion
in reply to priapus • • •MonkderVierte
in reply to phantomwise • • •ls(and what to do instead)?Why *not* parse `ls` (and what to do instead)?
Unix & Linux Stack Exchangephantomwise
in reply to MonkderVierte • • •MonkderVierte
in reply to phantomwise • • •like this
Aatube likes this.
Oinks
in reply to MonkderVierte • • •There's an argument to be made that system software like filesystems and kernels shouldn't get too smart about validating or transforming strings, because once you start caring about a strings meaning, you can no longer treat it as just a byte sequence and instead need to worry about all the complexities of Unicode code points. "Is this character printable" seems like a simple question but it really isn't.
Now if I were to develop a filesystem from scratch, would I go for the 80% solution of just banning the ASCII newline specifically? Honestly yes, I don't see a downside. But regardless of how much effort is put into it, there will always be edge cases – either filenames that break stuff, or filenames that aren't allowed even though they should be.
MonkderVierte
in reply to Oinks • • •thetaT [none/use name]
in reply to MonkderVierte • • •lsoutput in the first placecommunism
in reply to phantomwise • • •Aatube
in reply to communism • • •communism
in reply to Aatube • • •!/bin/shshebangs./bin/shis a symlink, in my case to zsh. I like using one language.ReversalHatchery
in reply to communism • • •like this
Sickday likes this.
Aatube
in reply to ReversalHatchery • • •command line interpreter for operating systems
Contributors to Wikimedia projects (Wikimedia Foundation, Inc.)Aatube
in reply to communism • • •MonkCanatella
in reply to communism • • •phantomwise
in reply to communism • • •4am
in reply to phantomwise • • •If I can shebang nutshell (assuming all the builtins from bash or even sh work) and pass a flag to remove all the fancy UI-for-humans formatting so that piped commands int eh scripts work, then I think this is incredible.
Yeah having this installed along side other more “standard” shells is fine I guess, but it looks like maybe it has some neat functionality that is more difficult in other shells? I guess I’d need to read up on it more but having a non-interactive mode for machines to read more easily would be a huge plus for it overall. I suppose that depends on what it offers/what it’s trying to accomplish.
Aatube
in reply to 4am • • •Mr. Beedell, Roke JL
in reply to Aatube • • •Aatube
in reply to Mr. Beedell, Roke JL • • •exactly
some claim that was the inspiration for nushell: powershell but less verbose and more bashy
nimpnin
in reply to communism • • •elmicha
in reply to nimpnin • • •nimpnin
in reply to elmicha • • •elmicha
in reply to nimpnin • • •nimpnin
in reply to elmicha • • •Ok?
Ferk
in reply to nimpnin • • •nimpnin
in reply to Ferk • • •I mean if all your scripts are fully general purpose. That just seems really weird to me. I don't need to run my yt-dlp scripts on the computational clusters I work on.
Moreover, none of this applies to the interactive use of the shell.
Ferk
in reply to nimpnin • • •It's not only clusters.. I have my shell configuration even in my Android phone, where I often connect to by ssh. And also in my Kobo, and in my small portable console running Knulli.
In my case, my shell configuration is structured in some folders where I can add config specific to each location while still sharing the same base.
Maybe not everything is general, but the things that are general and useful become ingrained in a way that it becomes annoying when you don't have them. Like specific shortcuts for backwards history search, or even some readline movement shortcuts that apparently are not standard everywhere.. or jumping to most 'frecent' directory based on a pattern like z does.
If you don't mind that those scripts not always work and you have the time to maintain 2 separate sets of configuration and initialization scripts, and aliases, etc. then it's fine.
GitHub - rupa/z: z - jump around
GitHubnimpnin
in reply to Ferk • • •This feels like ragebait. I have multiple devices, use fish whenever that can be installed and zsh/bash when not, and have none of these issues.
EDIT:
Manually downloading the same shell scripts on every machine is just doing what the package manager is supposed to do for you. I did this once to get some rust utils like eza to get them to work without sudo. It's terrible.
Ferk
in reply to nimpnin • • •If you have a package manager available, and what you need is available there, sure. My Synology NAS, my Knulli, my cygwin installs in Windows, my Android device.. they are not so easy to have custom shells in (does fish even have a Windows port?).
I rarely have to manually copy, in many of those environments you can at least
git clone, or use existing syncing mechanisms. In the ones that don't even have that.. well, at least copying the config works, I just scp it, not a big deal, it's not like I have to do that so often.. I could even script it to make it automatic if it ever became a problem.Also, note that I do not just use things like
zstraight away.. my custom configuration automatically callszas a fallback when I mistype a directory withcd(or when I intentionally usecdwhile in a far/wrong location just so I can reach faster/easier).. I have a lot of things customized, the package install would only be the first step.nimpnin
in reply to Ferk • • •So you're willing to do a lot of manual package managing, in general put a lot of work into optimizing your workflow, adjusting to different package availability, adjusting to different operating systems...
...but not writing two different configs?
That is your prerogative but you're not convincing me. Though I don't think I'll be convincing you either.
I have separate configs/aliases/etc for most of my machines just because, well, they are different machines with different hardware, software, data, operating systems and purposes. Even for those (most) that I can easily install fish on.
Ferk
in reply to nimpnin • • •It's actually the lazy way. I only work once, then copy that work everywhere. The copying/syncing is surprisingly easy. If that's what you call "package management" then I guess doing "package management" saves a lot of work.
If I had to re-configure my devices to my liking every time I would waste time in repetition, not in an actual improvement. I configured it the way I liked it once already, so I want to be able to simply copy it over easily instead of re-writing it every time for different systems. It's the same reason why I've been reusing my entire /home partition for ages in my desktop, I preserve all my setup even after testing out multiple distros.
If someone does not customize their defaults much or does not mind re-configuring things all the time, I'm sure for them it would be ok to have different setup on each device.. but I prefer working only once and copying it.
And I didn't say that bash is the only config I have. Coincidentally, my config does include a config.fish I wrote ages ago (14 years ago apparently). I just don't use it because most devices don't have fish so it cannot replace POSIX/Bash.. as a result it naturally was left very barebones (probably outdated too) and it's not as well crafted/featureful as the POSIX/bash one which gets used much more.
nimpnin
in reply to Ferk • • •Good that works for you. If only my needs were so simple that the configs could be same on each machine.
::: spoiler paljastus
I know that's an insufferable way to put it but holy shit have you been like that too.
:::
Obin
in reply to phantomwise • • •Emacs eshell+eat
It essentially reverses the terminal/shell relationship. Here, it's the shell that starts a terminal session for every command. Eshell is also tightly integrated with Emacs and has access to all the extended functionality. You can use Lisp in one-liners, you can pipe output directly to an emacs buffer, you can write custom commands as lisp functions, full shortcut customization not limited to terminal keys, history search via the completion framework (i.e. consult-history), easy prompt customization, etc.
There's also Tramp, which lets you transparently
cdinto remote hosts via ssh, docker containers, SMB/NFS-shares, archive files, and work with them as if they were normal directories (obviously with limited functionality in some cases, like archives).And probably a lot of stuff I'm missing right now.
esa
in reply to phantomwise • • •I've been using fish (with starship for prompt) for like a year I think, after having had a self-built zsh setup for … I don't know how long.
I'm capable of using
awkbut in a very simple way; I generally prefer being able to usejq. IMO both awk and perl are sort of remnants of the age before JSON became the standard text-based structured data format. We used to have to write a lot of dinky little regex-based parsers in Perl to extract data. These days we likely get JSON and can operate on actual data structures.I tried
nuvery briefly but I'm just too used to POSIX-ish shells to bother switching to another model. For scripting I'll use#!/bin/bashwithset -eou pipefailbut very quickly switch to Python if it looks like it's going to have any sort of serious logic.My impression is that there's likely more of us that'd like a less wibbly-wobbly, better shell language for scripting purposes, but that efforts into designing such a language very quickly goes in the direction of nu and oil and whatnot.
phantomwise
in reply to esa • • •That's interesting I hadn't thought about the JSON angle! Do you mean that you can actually use
jqon regular command outputs likels -l?Oil is an interesting project and the backward compatibility with bash is very neat! I don't see myself using it though, since it's syntax is very close to bash on purpose I'd probably get oil syntax and bash syntax all mixed up in my head and forget which is which... So I went with nushell because it doesn't look anything like bash.
If you know python what do you think about xonsh? I
esa
in reply to phantomwise • • •No, you need to be using a tool which has json output as an option. These are becoming more common, but I think still rare among the GNU coreutils.
lsoutput especially is unparseable, as in, there are tons of resources telling people not to do it because it's pretty much guaranteed to break.elmicha
in reply to esa • • •GitHub - kellyjonbrazil/jc: CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts
GitHubcyrl
in reply to elmicha • • •LaggyKar
in reply to phantomwise • • •phantomwise
in reply to LaggyKar • • •sunbeam60
in reply to phantomwise • • •That was the foundational concept in powershell; everything is an object. They then went a ruined it with insane syntax and a somewhat logical, but entirely ~~in practice~~impractical verb-noun command structure.
Nushell is powershell for humans. And helps that it runs across all systems. It’s one of the first things I install.
black_flag
in reply to phantomwise • • •Overspark
in reply to black_flag • • •GitHub - carapace-sh/carapace: A multi-shell completion library.
GitHubblack_flag
in reply to Overspark • • •Dessalines
in reply to Overspark • • •Fontasia
in reply to phantomwise • • •underscores
in reply to Fontasia • • •brianary
in reply to underscores • • •What awful syntax?
Ffs bash uses
echo "${filename%.*}"andsubstring=${string:0:5}andlower="${var,,}"andtitle="${var^}"&c. It doesn't use$for assignment, only in expressions.ronigami
in reply to phantomwise • • •bastion
in reply to phantomwise • • •KSP Atlas
in reply to phantomwise • • •I've used nushell for several months, and it really is an amazing shell
It feels more like an actual language than arcane runes, and I can easily makes chains and pipelines and things that would be difficult in bash
Additionally, it makes a pretty good scripting language
beeng
in reply to phantomwise • • •So you drive daily with nushell and then script in bash for portability?
Sounds not bad actually...
priapus
in reply to phantomwise • • •I love Nushell, it's so much more pleasant for writing scripts IMO. I know some people say they'd just use Python if they need more than what a POSIX shell offers, but I think Nushell is a perfect option in between.
With a Nushell scripts you get types, structured data, and useful commands for working with them, while still being able to easily execute and pipe external commands. I've only ever had two very minor gripes with Nushell, the inability to detach a process, and the lack of a
-lflag forcp. Now that uutils supports the-lflag, Nushell support is a WIP, and I realized systemd-run is a better option than just detaching processes when SSHd into a server.I know another criticism is that it doesn't work well with external cli tools, but I've honestly never had an issue with any. A ton of CLI tools support JSON output, which can be piped into
from jsonto make working with it in Nushell very easy. Simpler tools often just output a basic table, which can be piped intodetect columnsto automatically turn it into a Nushell table. Sometimes strange formatting will make this a little weird, but fixing that formatting with some string manipulation (which Nushell also makes very easy) is usually still easier than trying to parse it in Bash.apt_install_coffee
in reply to phantomwise • • •I used nushell for a good 6 months, it was nice having structured data, but the syntax difference to bash which I use for my day job was just too jarring to stick with.
Fish was (for me) the right balance of nice syntactic sugar and being able to reasonably expect a bash idiom will work.
h4x0r
in reply to phantomwise • • •h4x0r
in reply to phantomwise • • •ls -ltc | grep '>'.GooseFinger
in reply to phantomwise • • •UltraGiGaGigantic
in reply to GooseFinger • • •Matt
in reply to phantomwise • • •Magnum, P.I.
in reply to Matt • • •Dessalines
in reply to Magnum, P.I. • • •JackbyDev
in reply to phantomwise • • •brax
in reply to JackbyDev • • •import-csvandexport-csvare too dang powerful. Doing batch processing in PS is so cool.djehuti
in reply to JackbyDev • • •JackbyDev
in reply to djehuti • • •