Bash v5.3 Released! New features and syntax in the latest version of the Bash Shell. by You Suck at Programming on YouTube [17:10min]


Watch on SkipVid platform, alternative to YouTube client watching YouTube videos indirectly, but without ads: skipvids.com/?v=-cTsFt-j7rk


I just found this creator who is super excited about the new Bash version. He goes through some aspects of the new changes and features. There is something funny about a guy getting so excited about a new Bash version, that I wanted to share it because of that. 😁

Also its nice to see the changes in action and have an explanation from someone who (seemingly) knows what he is doing.

Video (partial) description:


Source Code: github.com/bahamas10/bash-changes

$ whoami
Yo what's up everyone my name's dave and you suck at programming! Connect with me on my socials below and if you're reading this you're legally required to subscribe to my channel.

$ cat source-code
The source code for my YSAP series (or related videos) is available for free under the MIT License on GitHub:
Source Code → github.com/bahamas10/ysap

in reply to balsoft

If you want to do a Bash like management and programming, that is not dramatically different but fixes some irritations, then Fish is an alternative. Obviously it will not fix all issues, but there is no paradigm shift in handling streams. nushell is dramatically different and at that point, I would rather use a programming language to do the stuff. Speaking of programming language, there is also Xonsh (basically Python+Bash like combination as a system shell).

All these alternatives have a singular big flaw to me: they are not the standard tools on the system, which defeats the purpose of a system shell to me. In the end, without changing the core system that these shells are built on, I don't think its possible to make a really well made language that interoperates on system level like a shell does at the moment.

That's the reason why I got a bit more into Bash to understand some flaws, to understand how to use regexes inside Bash and variable substitutions and a few other concepts that are very useful to know. But man... there are so many traps... like looping over a wildcard for files (such as for file in *.txt) and if the wildcard does not match, then the loop consists of the wildcard as a literal word as if "*.txt" was a filename. What a stupid idea. There is an option to change that, but that's the issue. The language is filled with traps and optional options and you have to know all of them.

Edit: Added example code why default behavior sucks:

$ for file in *.ABCD; do echo "${file}"; done
*.ABCD
shopt -s nullglob
$ for file in *.ABCD; do echo "${file}"; done
This entry was edited (7 hours ago)

Any ideas for transporting variables in chroot bash script?


Hello, iam in the making of artix install script. I start with setting variables in dialog like bootloader="refind" and etc. but when i do artix-chroot into chroot.sh script variables are gone.

right now i have something like this:

cp ${pwd}execution/chroot.sh /mnt/mnt &&
            USER="$USER" USER_PASSWORD1="$USER_PASSWORD1" USER_PASSWORD2="$USER_PASSWORD2"\
            ROOT_PASSWORD1="$ROOT_PASSWORD1" ROOT_PASSWORD2="$ROOT_PASSWORD2"\
            BOOTLOADER="$BOOTLOADER" SUPERUSER="$SUPERUSER" HOSTNAME="$HOSTNAME"\
            LOCALE="$LOCALE" ENCRYPTION="$ENCRYPTION" ROOT="$ROOT" ESP="$ESP"\
            KERNEL="$KERNEL" UCODE="$UCODE"
        artix-chroot /mnt bash -c '/mnt/chroot.sh && execute_root' 

But it does not really work, tried also some things like:
# create array of variables to pass to part 2
var_export=($formfactor $threadsminusone $gpu $boot $disk0 $username $userpassword $timezone $swap $intel_vaapi_driver $res_x $res_y_half)

# initiate part 2
mount --bind /root/artix-install-script /mnt/mnt
artix-chroot /mnt /mnt/chrootInstall.sh "${var_export[@]}"

and then in chroot.sh
# Importing Variables
args=("$@")
formfactor=${args[0]}
threadsminusone=${args[1]}
gpu=${args[2]}
boot=${args[3]}
disk=${args[4]}
username=${args[5]}
userpassword=${args[6]}
timezone=${args[7]}
swap=${args[8]}
intel_vaapi_driver=${args[9]}
res_x=${args[10]}
res_y_half=${args[11]}

still not they best way, kinda messy and buggy.

THANKS FOR HELP!

This entry was edited (9 hours ago)
in reply to DIY KARMA KIT

It would be more secure if the credentials are in an in memory SQLite Database but that would require you to use something other than the shell. You would need to do a hardware key or have the user do a bootstrap password or have an API that uses a public key to authenticate the remote process passing the credentials

don't like this

Introducing Operese(demo)


A Windows-to-Linux “translation” tool for the 200M+ Windows 10 computers not eligible to upgrade to Windows 11, Operese transfers files, settings, and programs from Windows to a brand-new Kubuntu installation. It's still very much a work in progress, but in my biased opinion, it already doesn't look too shabby!

Raspberry Pi alternative? 8-Core, 8GB RAM, OLED, Battery – Runs NixOS Under $100! - YouTube


In this video, I show you how to turn your phone into a mobile typewriter using NixOS, Emacs, Org Roam, and Syncthing — no Google, no distractions.


Not very touch friendly yet, and not sure if anyone has gotten the cellar radios to work with a SIM carrier.

Every Pixel Art Game Has This Problem... - YouTube


How I fixed Pixel Snapping / Jitter in my game using a subpixel camera to achieve smooth pixel perfect movement.


Subsequent related videos:
- Smooth Pixel Art Camera | Godot 4.4 Tutorial
-
- Smooth Pixel Art Parallax
- youtube.com/watch?v=kEr6vKUZXm…

This entry was edited (12 hours ago)

Mahmoud Khalil to Sue Trump Admin for $20 Million Over 'Unconstitutional' Detention | Common Dreams


Pro-Palestinian student protest leader Mahmoud Khalil on Thursday began the process of suing U.S. President Donald Trump's administration for $20 million in damages for the harm he suffered as a result of the government's "politically motivated plan to unlawfully arrest, detain, and deport" him.

"This is the first step towards accountability," Khalil said in a statement. "Nothing can restore the 104 days stolen from me. The trauma, the separation from my wife, the birth of my first child that I was forced to miss. But let's be clear, the same government that targeted me for speaking out is using taxpayer dollars to fund Israel's ongoing genocide in Gaza."

"There must be accountability for political retaliation and abuse of power," he asserted. "And I won't stop here. I will continue to pursue justice against everyone who contributed to my unlawful detention or spread lies in an attempt to destroy my reputation, including those affiliated with Columbia University. I'm holding the U.S. government accountable not just for myself, but for everyone they try to silence through fear, exile, or detention."

Calibre 8.6 released


New features

  • Content server: Add a checkbox in content server user preferences to prevent a user account from changing its own password via the web interface
  • Restoring database: Improve performance by an order of magnitude
  • Add a tweak to Preferences->Tweaks to permit displaying the sort value for series in the Tag browser
  • Welcome wizard: Change default output format to AZW3 for Kindle as MOBI is obsolete and all Kindles released within the last decade plus support AZW3
  • Add 'Search "not in"' and 'Filter "not in'" buttons to Manage authors and Manage Items

Bug fixes

  • Windows: Fix a regression in the previous release that caused terminal windows to popup momentarily when adding PDF files or converting them
    Closes tickets: 2115246
    • E-book viewer: Fix a regression in 8.4 that broke fading of the background image
      Closes tickets: 2115057
    • Tag browser: Fix clicking on categories to search for books by first letter of series not working correctly for non-English language books
      Closes tickets: 2116006
    • Edit metadata individually: Ensure Next/Previous buttons work even if something re-orders the books in the book list. They will now iterate over the books as they were at the time the dialog is created
      Closes tickets: 2115111
    • Windows: Generate catalog: Workaround for systems where a broken antivirus or similar holds open files in the catalog library causing a permission denied error
      Closes tickets: 2115084


New news sources

  • La Presse by quatorze

Improved news sources

  • Economist
  • 1843
  • Financial Times
  • PC World
  • Muy Interesante Mexico
  • Hindu Business Line
  • Business Standard
  • Hindustan Times
  • The Week
  • Times of India
  • Hindustan
  • Financial Times
  • Reason
in reply to petsoi

Calibre is one of the great pieces of FOSS software, and demonstrates everything good about FOSS: it has regular updates; it's been around for simply ages; it works really, really well; it gets updates and new features and yet has never in my memory had a breaking, non-backwards-compatible release... it's stable; and it resists - in its way - the attempt by publishers to steal our rights and ownerships of our media.

I contribute to Calibre. I hope that Goyal has a successor lined up to take the helm who can continue such an outstanding contribution when he finally retires from the project.

in reply to Davriellelouna

I'm trying to figure out Trump's game here. We've been negotiating on trade and security and we backed off on the DST. What's the benefit of Trump antagonizing us? Is he trying to push Carney to get him to lose his cool?

Carney's response was predictable and measured. One gets the sense that that is what peeves Trump most of all. But Carney is wisely trying to buy Canada as much time as possible to get our shit together with national projects and new trade deals elsewhere.

In my heart, I hope all of this is in anticipation of a massive trade counteroffensive that includes the largest of fuck yous possible as we skid out of the driveway.

in reply to Sunshine (she/her)

I'm no conservative [I'm a LibSoc/Anarchist], but I can see why they wouldn't want to be on Lemmy. It's not the most open-minded group of people. As soon as someone thinks even slightly different in some small way, they're labeled a fascist or some other pejorative as a way to end the discussion and critical thinking process to exclude constructively contemplating what was said. People can't just have reasonable debates anymore. Insults are thrown and groupthink becomes more isolated and heightened within their own dogma. And their communities are brigaded regularly. It happens on their side too. The human race just seems fucked.

Trump's New Go-To Response: 'I Don't Know'


Good thing he doesn't go on You Can't do That on Television.

Donald Trump hasn’t been happy with Vladimir Putin lately, and he took out his frustrations with Russia’s president this week by announcing that the United States would resume sending military aid to Ukraine. When he was asked on Tuesday who ordered the aid to be paused in the first place, Trump delivered what has become one of his go-to responses whenever he’s pressed about the chaos his administration is unleashing on the nation and the world.

“I don’t know,” he said.

The pause on aid to Ukraine was apparently ordered last week by beleaguered Defense Secretary Pete Hegseth, who reportedly neglected to tell the White House about the move, leading to internal scrambling. Trump was asked whether he approved the pause while sitting next to Hegseth during a Cabinet meeting. The president only offered that the U.S. needs to keep sending “defensive weapons” to Ukraine because “Putin is not treating human beings right.” When asked who ordered the pause, Trump said he didn’t know. “Why don’t you tell me?” he added.


This would be far more amusing if he got slimed every time he said that.

Also, what kind of strongman doesn't know what's going on in his loyal junta?

Statement by UNICEF Executive Director Catherine Russell on children killed during a nutrition aid distribution in the Gaza Strip (UNICEF, 2025-07-10)


Statement by UNICEF Executive Director Catherine Russell on children killed during a nutrition aid distribution in the Gaza Strip (UNICEF, 2025-07-10)

unicef.org/press-releases/stat…
———

>> “We are appalled by the reported killing of 15 Palestinians, including nine children and four women, who were waiting in line for nutritional supplies for children in Deir al Balah, the Gaza Strip, this morning. An additional 30 people were reportedly injured, including 19 children.

>> “This assistance was being provided by Project Hope, a #UNICEF partner organization, to families in desperate need. The killing of families trying to access life-saving aid is unconscionable.

>> “These were mothers seeking a lifeline for their children after months of hunger and desperation…

>> “We call on Israel to urgently review its rules of engagement to ensure full compliance with international humanitarian law, notably the protection of civilians, …

#ProjectHope @palestine@a.gup.pe @israel

[The Hague Group] Spain and Ireland to join more than 20 states to declare ‘concrete measures’ against Israel (Middle East Eye, 2025-07-10)


[The Hague Group] Spain and Ireland to join more than 20 states to declare ‘concrete measures’ against Israel (Middle East Eye, 2025-07-10)

middleeasteye.net/news/spain-a…
———

>> More than 20 countries are convening in Bogota next week to declare “concrete measures against Israel’s violations of international law”, diplomats told Middle East Eye.

>> The “emergency summit” is due to be held on 15-16 July, co-hosted by the governments of Colombia and South Africa as co-chairs of The Hague Group, to coordinate diplomatic and legal action to counter what they describe as “a climate of impunity” enabled by Israel and its powerful allies.

cf. >thehaguegroup.org/
#TheHagueGroup

#InternationalLaw #StopIsrael @palestine@a.gup.pe @israel

[The Hague Group] Spain and Ireland to join more than 20 states to declare ‘concrete measures’ against Israel (Middle East Eye, 2025-07-10)


[The Hague Group] Spain and Ireland to join more than 20 states to declare ‘concrete measures’ against Israel (Middle East Eye, 2025-07-10)

middleeasteye.net/news/spain-a…
———

>> More than 20 countries are convening in Bogota next week to declare “concrete measures against Israel’s violations of international law”, diplomats told Middle East Eye.

>> The “emergency summit” is due to be held on 15-16 July, co-hosted by the governments of Colombia and South Africa as co-chairs of The Hague Group, to coordinate diplomatic and legal action to counter what they describe as “a climate of impunity” enabled by Israel and its powerful allies.

cf. >thehaguegroup.org/
#TheHagueGroup

#InternationalLaw #StopIsrael @palestine@a.gup.pe @israel

Canvas 2025 in 24 hours!


July 12th, 2025 @ 4am UTC


SPREAD THE WORD 🔥


Related posts:



what is Canvas?


Canvas is a collaborative pixel canvas that includes everyone apart of the Fediverse! Any fediverse platform that supports direct messages is able to login and participate for this 48 hour live event

socials


Alberta bans school library books it deems sexually explicit


Explicit sexual content, defined by the province as detailed and clear depictions of sexual acts, including masturbation, penetration and ejaculation, will not be accessible to students in any grade.


also

Religious texts, such as the Bible, will be allowed on the shelves.


I'm shocked... really, like, i 100% knew that was going to be in there article. So actually, I'm not shocked. Fuck you Alberta.

reshared this

Trump threatening 35% tariffs on Canadian goods across the board


Getting tired of this bullshit.

Text of the article at the time of posting:

Trump threatening 35% tariffs on Canadian goods across the board


Trump and PM Carney have been locked in negotiations to reach a trade agreement by July 21

Darren Major · CBC News · Posted: Jul 10, 2025 5:46 PM PDT | Last Updated: 15 minutes ago

U.S. President Donald Trump is threatening to slap a 35 per cent tariff on all Canadian goods as the two countries have been engaged in negotiations to reach some sort of trade agreement.

Trump's latest threat came in a letter to Prime Minister Mark Carney that the president posted to his social media site, Truth Social, on Thursday evening.

"There will be no tariff if Canada, or companies within your country, decide to manufacture product within the United States," the letter reads.

Trump said the tariffs will take effect on Aug. 1, and wrote that he will increase the levies if Canada retaliates.

Trump and Carney have been locked in negotiations to come to some sort of trade resolution by July 21. CBC News has reached out to the Prime Minister's Office for comment.

In his letter, Trump again cited fentanyl "pouring" into the U.S. from Canada — even though data continues to show that minimal amounts of the drug are crossing the Canada-U.S. border compared to the U.S.'s southern border.

Trump has been complaining about fentanyl crossing the northern border since he was re-elected in November, and after taking office he imposed tariffs he said are designed to punish Canada for not doing enough to crack down on the fentanyl drug trade.

Now, the president seems to be taking the border-related tariffs a step further by promising a 35 per cent levy. The U.S. is currently imposing a 25 per cent tariff on all non-CUSMA compliant goods coming from Canada and a lower 10 per cent rate on energy and potash as part of a border-related tariffs regime.

Ottawa announced a $1.3-billion investment in border security and named a fentanyl czar to address the fentanyl concerns coming from the White House.

The U.S. has also hit Canadian steel, aluminum and autos with an import levy, which have been particularly damaging to the Canadian economy, leading to job losses and a drop in exports.

Trump has also been promising to slap a 50 per cent tariff on copper coming into the U.S. According to federal data, Canada exported some $9.3 billion worth of copper and copper-based products in 2023, with a majority of that — 52 per cent — going to the U.S. China and Japan followed, with 17 and 12 per cent of Canadian exports, respectively.

Documenting ICE Agents’ Brutal Use of Force in LA Immigration Raids


Jonah Valdez
July 7 2025, 6:00 a.m.

"Agents have aimed firearms and sprayed chemical irritants at onlookers and protesters. They have launched tear gas and flash bang grenades into crowds. They have beaten the people they detain, struck them with batons, and restrained them face down in a prone position, pressing them into the pavement and restricting their abilities to breathe.

Agents often deployed these violent tactics against the targets of immigration raids — people they presumed to be undocumented immigrants. In the majority of cases reviewed for this story, federal agents used force against U.S. citizens who were attempting to document raids or intervene by putting their bodies between the agents and their neighbors. "

DHS Tells Police That Common Protest Activities Are ‘Violent Tactics’


[T]he guidance urges officers to consider a range of nonviolent behavior and common protest gear—like masks, flashlights, and cameras—as potential precursors to violence, telling officers to prepare “from the point of view of an adversary.”

Protesters on bicycles, skateboards, or even “on foot” are framed as potential “scouts” conducting reconnaissance or searching for “items to be used as weapons.” Livestreaming is listed alongside “doxxing” as a “tactic” for “threatening” police. Online posters are cast as ideological recruiters—or as participants in “surveillance sharing.”

One list of “violent tactics” shared by the Los Angeles–based Joint Regional Intelligence Center—part of a post-9/11 fusion network—includes both protesters’ attempts to avoid identification and efforts to identify police. The memo also alleges that face recognition, normally a tool of law enforcement, was used against officers.

Vera Eidelman, a senior staff attorney with the American Civil Liberties Union, says the government has no business treating constitutionally protected activities—like observing or documenting police—as threats.

DHS did not respond to a request for comment.

“Exercising those rights shouldn't be justification for adverse action or suspicion by the government,” Eidelman says. Labeling something as harmless as skateboarding at a protest as a violent threat is “disturbing and dangerous,” she adds, and could “easily lead to excessive force against people who are simply exercising their First Amendment rights.”

“The DHS report repeatedly conflates basic protest, organizing, and journalism with terroristic violence, thereby justifying ever more authoritarian measures by law enforcement,” says Ryan Shapiro, executive director of Property of the People. “It should be sobering, if unsurprising, that the Trump regime’s response to mass criticism of its police state tactics is to escalate those tactics.”

The openSUSE Project is seeking community input to determine whether it should continue supporting 32-bit ARM architectures


Installing Yggdrasil Linux - a 1995 Vintage Retro Linux installation VHS (Lost Media)


Thought this was a pretty interesting piece of Linux history, and unintentionally quite funny as well 😛
This entry was edited (20 hours ago)
in reply to ikidd

I appreciate rust as much as the next dev. But you can define your own types in C just as well? And with the proper warnings and errors -Wall -Werror in place, any warning is an error, and implicit conversions should probably be a warning right?

ETA: Just tried with the following C code and could not get it to fail with gcc.

typedef int t_0;
typedef long t_1;

t_0 test() {
  t_1 foo = 1;
  return foo;
}

Tried with gcc -Wall -Wextra -Wpedantic -Werror and it compiled just fine.
This entry was edited (13 hours ago)

Bash v5.3 Released! New features and syntax in the latest version of the Bash Shell. by You Suck at Programming on YouTube [17:10min]


Watch on SkipVid platform, alternative to YouTube client watching YouTube videos indirectly, but without ads: skipvids.com/?v=-cTsFt-j7rk

I just found this creator who is super excited about the new Bash version. He goes through some aspects of the new changes and features. There is something funny about a guy getting so excited about a new Bash version, that I wanted to share it because of that. 😁

Also its nice to see the changes in action and have an explanation from someone who (seemingly) knows what he is doing.

Video (partial) description:


Source Code: github.com/bahamas10/bash-changes

$ whoami
Yo what's up everyone my name's dave and you suck at programming! Connect with me on my socials below and if you're reading this you're legally required to subscribe to my channel.

$ cat source-code
The source code for my YSAP series (or related videos) is available for free under the MIT License on GitHub:
Source Code → github.com/bahamas10/ysap

don't like this

Freed from ICE detention, Mahmoud Khalil files $20 million claim against Trump administration


NEW YORK (AP) — On a recent afternoon, Mahmoud Khalil sat in his Manhattan apartment, cradling his 10-week-old son as he thought back to the pre-dawn hours spent pacing a frigid immigration jail in Louisiana, awaiting news of the child’s birth in New York.

For a moment, the outspoken Palestinian activist found himself uncharacteristically speechless.

“I cannot describe the pain of that night,” Khalil said finally, gazing down as the baby, Deen, cooed in his arms. “This is something I will never forgive.”

https://apnews.com/article/mahmoud-khalil-ice-release-trump-columbia-protests-570f7af32010c16b1a00dd7e78f4c687

Top Reform UK councillor was 'pen friend' of Al Qaeda 9/11 'architect'


A man who became "pen friends" with a top terrorist responsible for 9/11 has been given a senior role by Reform UK, the Express can reveal. Rory Green, who was elected as a Reform UK county councillor in May, made national headlines in 2014 when he began corresponding with Khalid Sheikh Mohammed, the “architect” of the terror attacks that killed 3,000 people.

Mr Green has now been appointed as the council cabinet member responsible for children and families on Nottinghamshire County Council. At the time, Mr Green said he wrote to Mr Mohammed because he “had this compassion for him” as a result of his Christian faith. He told the media: “He is obviously an educated individual, an intellectual. It must be so lonely in that prison. I just had this compassion for him."

The Reform councillor received a 27-page handwritten reply from the top Al Qaeda organiser, who has been in captivity at Guantanamo Bay since 2006.

How To Install and Configure the Galene Video Meeting Server in FreeBSD


just_another_person doesn't like this.

Is it possible to boot a disk image in DOSbox from the host OS terminal, or by double-clicking the disk image?


I'd like to just casually boot straight into a game sometimes, or at least a mounted floppy. I don't want to type commands is DOSbox for casual situations like this.

I'm focussing on games that can run straight from the floppy drive. Thanks!

Edit: I tried variations of this command in the macOS terminal:

/Applications/DOSBox\ Staging.app/Contents/MacOS/dosbox -c "imgmount a '/Users/io/Downloads/Prince.img' -t floppy" -c "a:" -c "dir /p"

The idea is that it would open DOSbox in the A: location, run dir /p. I should see prince.exe listed. Unfortunately what actually happens is I'm given a listing of Z: instead. When I try to switch to A:, I'm told that it needs to be mounted first. But I thought my terminal command takes care of that.
This entry was edited (22 hours ago)
in reply to FarraigePlaisteaċ

For totally generic games that boot straight off the floppy disk, the default config tends to work just fine. Like I said in my other comment though, I used a temporary config file, based on the default config, but I would append the boot image filename/path to the [AUTOEXEC] section at the end of the temporary dosbox.conf file.

It might be easier for you for now to make individual config files for each game, but it should be possible like I said to make a generic script to boot basically any PC floppy disk image directly.

I'll see later whatever I have around.

in reply to cygnus

My brother just had a similar bill for his dog... A mysterious infection that made her leg swell and took multiple rounds of antibiotics and IV/overnight stays to clear up. Then they realized the cause of the infection was a torn tendon on her leg which they had to repair through surgery. Incidentally through all these tests they were doing for the infection they discovered a highly treatable cancer which resulted in further surgery to remove a softball sized tumour. Dog is 8 so she's likely to still have a few years in her if all goes well...

How come I've got my NVIDIA GPU to work for every game except Hogwarts Legacy? (More details in post body)


So, I have this new laptop I got which has an NVIDIA RTX 4090M GPU, and also an integrated Intel GPU. Obviously, I only want to use the Intel GPU for less intensive apps, and to use the NVIDIA GPU for games or other intensive applications, such as AI.

Through trial, error, and lucky searches on the internet, I figured out some things that do and don't work.

  • Plugging in the laptop makes the NVIDIA GPU run much faster
  • The default Fedora NVIDIA drivers work fine, I don't need to install any alternatives
  • To make a normal app use the GPU, all I have to do is right click the icon and click 'Launch with discrete GPU' (on GNOME), or to make it open with discrete GPU by default (and launching with the integrated GPU would be an option in the context menu), I have to copy the desktop file to ~/.local/share/applications, and edit the .desktop file so it contains the line PrefersNonDefaultGPU=true
  • For Steam apps, the previous method doesn't work (for some reason - maybe it uses a custom launch process?), but after trying many different ways, I was able to get most Steam apps to use the correct GPU (GPU 0) by adding the custom launch option PROTON_USE_WINED3D=0 %command%
  • For some reason, this doesn't work for Hogwarts Legacy. It, of all games, really wants to use the Intel graphics - even with the custom launch command, PrefersNonDefaultGPU=true, and in game setting the preferred GPU to my NVIDIA one - yes, it is listed and recognised in game - I can tell both from the Resources app and the abysmal performance that my NVIDIA GPU is not being used and my Intel GPU is
  • Other apps like Portal RTX, The Witcher 3, ComfyUI (running through Krita AI Diffusion), Blender, and Civilisation 6 are running great with the NVIDIA GPU
  • I do not have prime-run installed and do not need it

My laptop model is MEDION Beast X40.

I'm honestly at my wits end.

Any suggestions?

Dessalines, .ml admin, head Lemmy dev: "Calling out our propa- NEWS‽ That's bigotry! Removed and BAN!"


Source: lemmy.dbzer0.com/comment/19989…

Modlog: photon.lemmy.world/modlog?=&us…

Join the lemmy.ml boycott today and help foster a better Lemmy-verse! No more posts, comments (except to counter their propaganda ofc!) or upvotes on any comms on the Lemmy.ml instance!

And consider donating to individual instances instead

@Hansae@lemmy.dbzer0.com

Dessalines, .ml admin, head Lemmy dev: "And I took that personally, BAN!"


Source: lemmy.ml/comment/19765848

Modlog: photon.lemmy.world/modlog?=&us…

Join the lemmy.ml boycott today and help foster a better Lemmy-verse! No more posts, comments (except to counter their propaganda ofc!) or upvotes on any comms on the Lemmy.ml instance!

And consider donating to individual instances instead

@ctrl_alt_esc@lemmy.ml

Laggy performance on fedora linux


Hello all. I've recently installed Fedora 42 on my laptop, it's a microsoft surface laptop studio so it's running with the custom surface kernel. The feature matrix on their github page says that everything should be supported for my laptop and that's pretty much been my experience so far but I've been having issues when testing out games.

The laptop has a 3050TI and is more than capable of running most of the games that I usually play on windows, and I've almost gotten it working on Fedora. They'll launch and run just fine, everything even looks pretty decent graphically, but it just has really bad stuttery input lag, even in more lightweight games that I've tested such as balatro and stardew valley.

I'm not sure what would be causing this, as far as I'm aware I'm running the right gpu driver, I've double checked that they're using the dedicated gpu rather than the integrated one with nvidia-smi, but honestly that's about the extent of my knowledge. Does anyone have any thoughts / suggestions? It would be much appreciated.

in reply to ayyo

Two things:
- What input device(s) are you using? Are you using the built-in laptop keyboard, or a gamepad of sorts. (By Balatro, I'd assume it might even be happening with mouse.)
- Are you running these games on a platform like Steam, or are you running another way? (I'm assuming the answer is yes to Steam, by Balatro and Stardew.)

For Steam, try messing around with Steam input settings and see what happens.

in reply to Canconda

No. That would be doing things. He doesn't do things. Except one time he drove two hours to visit our friends for the weekend. Except he was actually just crashing at their place so he could see Jordan Peterson live. He didn't tell them that until he was there. He's been super cagey about his politics. I got hints over the years but I figured he was starting to mellow out after the pandemic settled. Turns out he just learned not to talk politics around his friends. In January I finally confronted him about his beliefs on specific issues, hoping that I was over-extrapolating and actually he just had a few mixed views. Nope, full on fascist. We used to talk on the phone every couple of weeks. I've completely cut contact since. Sorry for venting.
in reply to cm0002

Until 2021 when I got my new PC, I still had a bluray/cd/dvd burner, although I don't recall ever using it for burning anything. I guess that era is finally getting laid to rest.
Also, way back when it was a requirement to burn CD's and DVD's in order to install operating systems like linux, I don't ever recall using a CD-RW disc. I guess I thought of them a bit like potions in skyrim where by the end of the game I end up with hundreds of them and then never using them when I really needed to.

Poilievre worried there won’t be enough government left for him to cut


in reply to NoneOfUrBusiness

Because he hasn't actually slashed anything yet. It's all guesswork based on some promised spending on the military and some tax cuts. But he can always do deficit spending and it would actually make sense if the mil spending goes domestic instead of in the US MIC.

But we should be very suspicious still. I'm not saying oh let's coddle him because he hasn't harmed us. Critique the fucker and be surprised if he actually delivers.

This entry was edited (19 hours ago)
in reply to AverageGoob

Not quite, but there has been some con action so far. Some diff between standard con are:
- Does not deny climate change
- Does not want to harm LGBTQ pop
- Has read Marx and agrees with some of his analysis
- Does not believe the free market is the best solution for every problem

My bet is that he's gonna go for deficit spending when shit hits the fan because unlike the standard con he understands public debt isn't like family debt and that austerity in bad times is a bad idea. We'll see in the fall.

This entry was edited (19 hours ago)

Federated Social Media with Topic-Based Following and Blocking?


I'm looking for a federated social media platform that allows for easy topic-based following and blocking, similar to how you can follow or block hashtags on Twitter. On Lemmy, you can follow communities, but there are so many that it becomes overwhelming. I want a platform where I can see or block everything related to a specific tag, and also view only the most popular posts about that topic, similar to how Lemmy communities work. Mastodon, for example, only shows the latest posts, which isn't ideal for trending content. I don't want a chat-like experience; I want to quickly see what's trending about a topic or what's trending in general, while being able to block a few specific topics. Ideally, I wouldn't have to spend hours curating a list of communities or followed users. Does anyone know of a platform that fits these criteria?
in reply to PumpkinDrama

On Lemmy, you might find it overwhelming by looking at the all communities feed and then blocking those you don't like. Instead subscribe to the ones you want and then just view the subscribe feed.

Personally, I use all to find more content and block communities I don't want. I then just jumpnjnto subscribed occasionally of there is too much junk.

It's a shame that there aren't finer controls, like to ramp up and down communities rather than just block or subscribe. Some communities, I wouldn't mind seeing their popular posts but I don't want to say the hordes of junk posts. Only option is to block.

Could someone help me setup local file sharing? [Fixed]


So I have things working for me at this point. I was never able to get Samba worling properly. My initial issue was not having a / at the end of my folder path in the Samba config file. After fixing that issue I was able to see the shared folder but was prompted to log in each time, which was an issue in my use case. I ended up abandoning Samba and setting up Jellyfin which has been a much smoother experience, but also is providing many more features. So, if you are looking to share media on your local network, my recommendation would be Jellyfin!

Thank you so much to everyone that commented and helped me a long. I hope I get to return the favor in some way.

Hello, I've been working towards fully migrating to linux, but this is one issue I'm having a hard time with. I have a couple of folders on a storage drive that I share on my local network to stream movies and TV, but I can't figure out how to do it in my Linux install. I'm running Linux Mint 22, have installed Samba, and have tried a few different walkthroughs with no success. Can anyone point me in the right direction to get this set up?

Thanks for your time!

This entry was edited (1 hour ago)

Manitoba again declares provincewide state of emergency due to wildfires


Manitoba has declared another provincewide state of emergency as wildfires continue to threaten communities.

Garden Hill Anisininew Nation is being evacuated Thursday after a wildfire entered the First Nation, leadership said Thursday morning. Snow Lake, about 590 kilometres northwest of Winnipeg, issued a mandatory evacuation order on Wednesday, with people ordered out by noon Thursday.

More than 4,000 people are expected to leave Garden Hill alone, the premier said. Snow Lake has a population of more than 1,000 people.

The Canadian Armed Forces has been assisting with the evacuation from that community. Hercules and commercial flights are slated to help bring residents out on Thursday, Kinew said.

Spain, Ireland and China to join more than 20 states to declare ‘concrete measures’ against Israel


More than 20 countries are convening in Bogota next week to declare “concrete measures against Israel’s violations of international law”, diplomats told Middle East Eye.

The “emergency summit” is due to be held on 15-16 July, co-hosted by the governments of Colombia and South Africa as co-chairs of The Hague Group, to coordinate diplomatic and legal action to counter what they describe as “a climate of impunity” enabled by Israel and its powerful allies.

The founding members of the group included Bolivia, Colombia, Cuba, Honduras, Malaysia, Namibia, Senegal and South Africa.

States due to take part in the summit include Algeria, Bangladesh, Bolivia, Brazil, Chile, China, Cuba, Djibouti, Honduras, Indonesia, Ireland, Lebanon, Malaysia, Namibia, Nicaragua, Oman, Portugal, Spain, Qatar, Turkey, Saint Vincent and the Grenadines, Uruguay, and Palestine.

US warns ICC member states to drop proceedings against Israel


The warning was direct, blunt and left no room for doubt. "We expect all ICC actions against the United States and our ally Israel – that is, all investigations and all arrest warrants – to be terminated," said Reed Rubinstein, legal adviser at the US State Department, before delegates of the 125 member states of the International Criminal Court (ICC) on Tuesday, July 8, at a meeting at United Nations headquarters in New York from July 7 to 9.

If the ICC arrest warrants for crimes against humanity and war crimes issued against Israeli Prime Minister Benjamin Netanyahu and former defense minister Yoav Gallant on November 21, 2024, as well as ongoing investigations into crimes committed in the Gaza Strip and the settlement of Palestinian territory, are not dropped, "all options remain on the table," he declared.

Vancouver council lowers speed limit to 30km/h on local streets to reduce collisions


Avoid Paywall
in reply to MightBeFluffy

I think a lot of peope understandably misunderstand this post because it doesn't really explain the situation. After reading OP's comments I gather that OP put a new server online (not on AWS) and was immediately port scanned by a host that is on AWS. Since OP did not consent to being port scanned, they filled out an abuse complaint with AWS, the hoster the scan came from, out of principle, knowing that it probably won't do much. Which is totally fine if that is how you want to spend your time.

I think what most commenters thought is that OP was hosting with AWS and complained to them that someone else scanned their server. This does not seem to be the case.

This entry was edited (1 day ago)
in reply to uzay

Absolutely not — the issue here is OP knowingly submitting false abuse reports.

Port scans of public hosts are not considered abuse per the CFAA or Amazon’s AUP without other accompanying signs of malicious intent.

aws.amazon.com/aup/

Amazon may take action against egregious mass-scanning offenders per the “…to violate the security, integrity, or availability of any user, network…” verbiage of the AUP, especially if they’re fingerprinting services or engaging in more sophisticated recon, but OP’s complaints are nowhere near meeting that threshold.

This entry was edited (1 day ago)

Need Advice - Linux gaming - Mint


Hi. I've been using Linux for decades on my work machines, but most of my knowledge is pretty rusty. However for gaming I've always used a Windows machine. I'm thinking of getting rid of microsoft entirely, since I've been hearing such good things about steam & proton lately.

I was going to just install Mint on my gaming computer, but since there are a ton of experts here, I figured I should check in to see if there is any reason not to use Mint for this? And if there is any other considerations or setup I should be aware of to keep my games running well?

in reply to Levi

Mint is fine, as the others have said, and there isn't going to be a WILD performance difference between any distros (+/- 5%, you can check Phoronix for benchmarks), so just pick whatever feels okay for you.

To expand on the general difference between distros: if you want something that is running the most up-to-date kernel versions and Mesa drivers, you'll want something that does rolling releases like Fedora, CachyOS (Arch-based), or Tumbleweed.

If you want something that is more generally stable and unchanged over time, and doesn't upgrade the kernel or drivers, stick with Mint LTSbor Ubuntu LTS.

Social media can support or undermine democracy — it comes down to how it’s designed


It is a design choice to offer a news feed that combines verified news sources with conspiracy blogs — interspersed with photos of a family picnic — with no distinction between these very different types of information. It is a design choice to use algorithms that find the most emotional or outrageous content to show users, hoping it keeps them online. And it is a design choice to send bright red notifications, keeping people in a state of expectation for the next photo or juicy piece of gossip.

Platform design is a silent pilot steering human behavior.

https://www.niemanlab.org/2025/07/social-media-can-support-or-undermine-democracy-it-comes-down-to-how-its-designed/

in reply to technocrit

No, it cannot.

They are confronting what is obvious, effective tools to undermine democracy with some weird experiment that is at best a niche effort to do online social engineering much more than it is social media.

Social media is a destructive force. By nature. Yes, Fedi as well.

You learn to manage in society, maybe. Like you do addiction and cancer and crime. The techno-optimism stuff is borderline delusional at this point.

Fluffy Kitty Cat doesn't like this.

in reply to FireRetardant

Home owners/capitalists do appreciate scarcity. More/denser housing units is more city property taxes, more retail availability and income taxes/revenue, and more jobs, also more tax revenue. All of that supports more housing demand and higher property prices too. If you were the only one left in Toronto, I guess you wouldn't need/have any services. But property value would go down from $200/sq foot rental value to $1.
This entry was edited (18 minutes ago)

Immigration caps are contributing to lower asking rents in Canada, CMHC says


The article has a loooooong list of rent decreases in major metros across the country. Generally, we're seeing decreases that seem to erase the increase from the same period in 2024.

Over the past year, the average asking monthly rent fell between 2 per cent and 8 per cent in condos and rental-only apartments – also known as purpose-built rentals – said the report released Tuesday by Canada Mortgage and Housing Corp (CMHC).

The drop was due to a surge in new condos and apartment buildings hitting the market along with limits on temporary foreign residents such as students and new permanent residents.


...

“It is quite evident on the demand side that there have been signs of weakening,” said Tania Bourassa-Ochoa, CMHC’s deputy chief economist, adding that there were stronger rental declines in regions with slower population growth.


archive.is/wosmf

in reply to Kevin Russell

Immigration is a policy. Noting the effect of the policy is not racist.

The feds/provinces failed to factor population changes into policy, meaning we don't have enough housing, medical professionals, teachers, classrooms, etc.

The ideal scenario is that we build enough houses (possibly using the immigration system to invite more construction workers to become citizens of our country), train enough healthcare professionals (possibly by inviting existing professionals in, or training during foreign students who stay), and ensure workers that we invite into the country receive the same benefits Canadians do.

in reply to sbv

Liberals stopped building houses, as they had for decades. That is what happened. Billy fell off his bicycle. Sarah bought an ice cream cone. Planes flew overhead, and Liberals stopped building residential units.

Conservatives also built no housing, but they didn't "stop"- just kept serving the rich.

Immigration increases economic activity far beyond its costs.

So racists have to lie about its economic effect, because using racism is very exposing.

#canada #cdnpoli #racisn #cmhc

This entry was edited (1 day ago)

Europe is slowly ditching Microsoft: why it's happening & why it could fail.


in reply to cm0002

Um, why are you linking this from another instance? Here's the link to the original instance: tilvids.com/w/v4wYzqLEpaURCg6W…


Europe is slowly ditching Microsoft: why it's happening & why it could fail.


Head to squarespace.com/thelinuxexperi… to save 10% off your first purchase of a website or domain using code thelinuxexperiment

Grab a brand new laptop or desktop running Linux: tuxedocomputers.com/en#

👏 SUPPORT THE CHANNEL:
Get access to:
- a Daily Linux News show
- a weekly patroncast for more thoughts
- your name in the credits

YouTube: youtube.com/@thelinuxexp/join
Patreon: patreon.com/thelinuxexperiment

Or, you can donate whatever you want:
paypal.me/thelinuxexp
Liberapay: liberapay.com/TheLinuxExperime…

👕 GET TLE MERCH
Support the channel AND get cool new gear: the-linux-experiment.creator-s…

Timestamps:
00:00 Intro
00:51 Sponsor: Squarespace
02:09 EU ditching MS products
04:42 Counter example: Munich
05:28 Digital Sovereignty
08:32 The Cost argument
10:57 Why this move is good
14:04 It's still very fragile
17:07 Sponsor: Tuxedo Computers


in reply to yessikg

Hi, the OP this was crossposted from here. The answer is simple: I am using PeerTube Companion, a Firefox add-on that automatically redirects me to my home instance when loading any PeerTube video - so I can easily comment and like and subscribe. So when using the "share" button or copy-pasting the link from the address bar, I will default to posting a link to my instance - in essence, it is the same video, loaded from the same source, federation being what it is.

[theoretical] What would the real impacts of FOSS software becoming more prevalent in all segments of society?


Thumbing through the feed, the news on how this or that organization letting go of commercial options for day to day operations are mounting.

This led me to wonder what would be the impact if FOSS, be it on the OS front, productivity front or whatever, was to become truly a relevant option.

I'm painfully aware of the difficulties I've faced trying to take a few online courses to be faced with borderline desdain for not using Windows/Office/Etc and opting for FOSS solutions.

Paying/supporting a FOSS solution does not offend me. I'm happier when giving money directly to a developer or project than to an opaque company. But I'm just one.

But what could happen if the ones became millions, actively contributing with a few coins per year to projects we use daily?

What could/would happen in the short term (under a year), medium-long (one to three years) and the long term (over ten years)?

in reply to qyron

The scalability problem with FOSS is monetary and motivation.

The successful products need longterm financial security in order to plan and support their peoduct(s) - so, do we start seeing more subscriptions as corp. sponsorship fades away?

And, just like XKCD 2347, FOSS needs to step up and support the components they rely on

That's going to need some more maturity from the developers too: it's a great feeling doing something new and interesting, but - like having a pet - you can't just abandon something when you're bored of it, or too busy, without rehoming your project(s)...

That's where I see the industry needs to improve before they're really ready for the big time.

in reply to qyron

One huge impact mass FOSS adoption would have is that there would be a lot less software and hardware churn. Commercial nature of proprietary technology is the main driver for constant upgrade cycles we see. Companies need to constantly sell products to stay in business, and this means you have to deprecate old software and hardware in order to sell new versions of the product.

Windows 11 roll out is a perfect example. Vast majority of Windows 10 users are perfectly happy with the way their computer works currently, they're not demanding any new features, they just want their computer to continue to work the way it does currently. However, Microsoft is ending support for Windows 10 and now they're forced to buy a new computer to keep doing what they've been doing.

This problem goes away entirely with open source because there is no commercial incentive at play. If a piece of software works, and there is a community of users using it, then it can keep working the way it does indefinitely. Furthermore, in cases where a software project goes in a directions some users don't like, such as the case with Gnome, then software can be forked by users who want to go in a different direction or preserve original functionality. This is how Cinnamon and Mate projects came about.

Another aspect of the open source dynamic is that there's an incentive to optimize software. So, you can get continuous performance improvements without having to constantly upgrade your hardware. For most commercial software, there's little incentive to do that since that costs company money. It's easier to just expect users to upgrade their hardware if they want better performance.

I would argue that non technical software users would be far better off if they had the option to fund open source software instead of buying commercial versions. Even having to pay equal amounts, the availability of the source puts more power in the hands of the users. For example, building on the example of Gnome, users of an existing software project could also pull funds together to pay developers to add features to the software or change functionality in a particular way.

This is precisely what makes licenses like GPL so valuable in my opinion. It's a license that ensure the source stays open, and in this way inherently gives more power to the users.

Mr. Robertson, tell Toronto a deal is a deal


The housing crisis is screwing generations of Canadians. Toronto City council is enabling it.

The feds need to call out Toronto's bad faith negotiations and withdraw the promised funds.

(The feds also need to change tax laws to definancialize housing, enforce money laundering laws, build affordable housing, etc - but I digress)

In 2023, Toronto city council voted in support of an agreement signed with Ottawa, pledging a variety of policy changes that included allowing buildings with six housing units on a single lot anywhere in the city. Federal money allocated from the Housing Accelerator Fund started to flow in return and then, during a debate last month, a lot of councillors got cold feet.

Instead of voting to allow the sixplexes they had pledged to permit everywhere, council watered down the proposal. In fact, they took a fire hose to it. These buildings will be allowed in only nine wards, which together make up less than one-quarter of the city’s area. Councillors for the other 16 wards can opt in later, as if they are mayors of their own area.


archive.is/DoPVJ

🔒 Setting Up Headscale & Tailscale on NixOS: A Zero-Trust Networking Guide for ❄️ NixOS - YouTube


Cross-posted from: programming.dev/post/33674513

Any general suggestions when getting started with headscale?


🔒 Setting Up Headscale & Tailscale on NixOS: A Zero-Trust Networking Guide for ❄️ NixOS - YouTube


Sascha Koenig looks to have some quality deep guides around NixOS!