@hallettj@leminal.space avatar

hallettj

@hallettj@leminal.space

Just a basic programmer living in California

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hallettj,
@hallettj@leminal.space avatar

Probably not directly helpful, but Nix packages for Chromium and Electron apps are set up so that you can switch to native Wayland mode globally by setting an environment variable, NIXOS_OZONE_WL=1

I don’t know of any global setting that isn’t distro-specific.

How easy is it to switch back to windows?

I’m considering switching to linux but I’m not a computer savvy person, so I wanted to have the option to switch back to windows if unforeseen complications (I only have 1 pc). Is it just a download on usb and install? And what ways can I get the product key or “cleaner” debloated versions.

hallettj,
@hallettj@leminal.space avatar

This seems like the right answer to me. Whether or not you decide to dual boot, make one of these USB keys so you can recover if something goes wrong.

If you fail to pull Gale through the portal, can you recruit him later?

I failed the strength check despite being a paladin and using inspiration. I never saw him again even after getting through nearly all of act 2. I’ve asked this before, maybe even in this community, but no one gave a concrete answer, likely because the game was still new.

hallettj,
@hallettj@leminal.space avatar

Only tangentially related, but if you choose to ignore the portal you can come back later to get Gale. I was in a role-playing mood on my first playthrough. When I encountered a strange portal, and was given only the choices of ignoring it or sticking my hand in I thought, “How about no.”

hallettj,
@hallettj@leminal.space avatar

When I was using Debian I found I could generally get the latest version of software I wanted from Nix if it wasn’t in the main Debian repos, or was outdated. Nix works quite well on any Linux distro - it doesn’t interfere with the rest of the system.

hallettj,
@hallettj@leminal.space avatar

That comic really came out with a banger on day 1

hallettj,
@hallettj@leminal.space avatar

All I can tell you is that this is done differently for each shell. So decide whether you want completions for bash, zsh, fish, all of the above, or whatever, and look at the docs for the relevant shells.

hallettj,
@hallettj@leminal.space avatar

This is why I switched to labelling USB sticks with two-character codes, and I keep a file that lists the current content of each stick.

hallettj,
@hallettj@leminal.space avatar

I’ve often thought that the people working on herpes treatments probably don’t get the credit they deserve

hallettj,
@hallettj@leminal.space avatar

Anyone else read these newsletter titles in Pixlriff’s voice? “This week, in Hermitcraft Gnome!”

hallettj,
@hallettj@leminal.space avatar

Just the best identity reveal I’ve ever seen

hallettj,
@hallettj@leminal.space avatar

That’s a good one, and also the first thing I thought of.

There’s also a remake that’s not bad that features Hugh Laurie using his native accent.

hallettj,
@hallettj@leminal.space avatar

My guess is they had fun making these episodes, and that’s why they kept going

Using passkeys on Linux & Android

Passkeys seem like a great idea, and we are at a point where, although things are still very much in flux, software passkeys managed by password managers are starting to be usable. I thought I’d share the workflow that’s working for me on Linux with some sites, and ask the community for more tips & tricks....

hallettj,
@hallettj@leminal.space avatar

I forgot to mention that to use a passkey manager on Android in addition to setting that Chrome feature flag you also need to set the app as your passkey manager. That’s done at the system level in Settings > Passwords & accounts > Passwords, passkeys, and data services

hallettj,
@hallettj@leminal.space avatar

Nice! I may take a look. I’ve been happy with Enpass except that I recently switched to a window manager that doesn’t implement xwayland, and Enpass is one of only two apps that I haven’t gotten working in native wayland mode, or found a substitute for. So I’ve been running Enpass in a rootful xwayland window running a nested i3 session. The IPC connection to the browser extension still works so it’s not too bad, but I’m a little tempted to try alternatives.

hallettj,
@hallettj@leminal.space avatar

iOS also supports third-party passkey managers so that’s an alternative to Android for helping to fill gaps creating passkeys.

hallettj,
@hallettj@leminal.space avatar

I’m also on season 2 of my DS9 re-watch - it’s even better than I remembered!

hallettj,
@hallettj@leminal.space avatar

FYI I’ve been running Steam and Wine games in Gamescope because I’m using a window manager that doesn’t implement XWayland. I don’t know if that would help with Nvidia, but might be worth a try. It works ok; Gamescope has a Steam integration switch that helps.

I think Electron apps mostly switch to native Wayland mode if you set an environment variable, ELECTRON_OZONE_PLATFORM_HINT=wayland. The one I don’t have working in Wayland mode is Discord. See wiki.archlinux.org/title/wayland#Electron

Best article about XZ backdoor?

Hey, I’ve been hearing a LOT about the xz backdoor. Crazy story, but rather than reading 10 different articles about it from 3 days ago when the story was quite new, does anybody know a high quality write-up that has all the juicy details and facts? I really like in-depth guides that cover every aspect of the story....

hallettj,
@hallettj@leminal.space avatar

I read a few articles. I think Andres Freund’s announcement gave me the best context for the exploit itself. www.openwall.com/lists/oss-security/2024/03/29/4

The most helpful source I saw on which systems are affected was this Lemmy post, beehaw.org/post/12813772

hallettj,
@hallettj@leminal.space avatar

I work on a remote team with three Australians who live in three different states. I’m sure they’ll appreciate this! Especially the Ausalabaman guy!

hallettj,
@hallettj@leminal.space avatar

Although the imagery is spot on the date should be more like 1200 BCE. The Trojan war was a Bronze Age affair which was a long time before the Classical Greek period, which is where 350 BCE falls.

Are there any CPUs that work well with Linux that aren't made by Intel or another company on the BDS list/that supports Israel?

I have a Ryzen 3 1300X at the moment and it’s always had this soft lock freezing bug on Linux. I used to dual-boot Windows on this machine and Windows never had the same problem, so I think it is an issue with the Linux kernel (I’ve also replaced nearly every bit of hardware that I originally built the PC with, except for...

hallettj,
@hallettj@leminal.space avatar

I have a Ryzen 7 5800X and I’ve had no problems

hallettj,
@hallettj@leminal.space avatar

I’m thinking more of the transplant problem: is it ethical to kill one person to harvest their organs to save five people who need various transplants to survive? It was a follow-up to the trolley problem to explore how something more active than flipping a switch affects people’s answers. Plus there’s a tie-in with the Vidiians.

Random aside: have you seen this video where Michael from Vsauce notes that no one had ever done a blind trial of the trolley problem, and goes about rectifying that? It’s kinda wild

hallettj,
@hallettj@leminal.space avatar

I would install a systemd user service with the setting Restart=always. If your window manager is started with systemd, or defines a systemd target you can configure the waybar service to start and stop automatically with the window manager.

hallettj,
@hallettj@leminal.space avatar

Yeah, the first thing I do when I log in is restore my Firefox session, which includes several windows with quite a lot of tabs. I also use the Auto Tab Discard extension so I can keep lots of tabs in my workspace without having all of them loaded all the time.

hallettj,
@hallettj@leminal.space avatar

Ooh - thanks for the tip!

hallettj,
@hallettj@leminal.space avatar

Yeah, I stopped using display scaling and switched to this text scaling setting to get a similar result in a cleaner way,


<span style="color:#323232;">$ gsettings set org.gnome.desktop.interface text-scaling-factor 1.25
</span>
hallettj,
@hallettj@leminal.space avatar

Is that why the characters are offended? Not because they’re being told they can’t elope?

hallettj, (edited )
@hallettj@leminal.space avatar

When niri runs applications it will now put them into transient systemd scopes. One concrete benefit is that when an application uses too much RAM and systemd-oomd kills it, niri won’t go down alongside the app, so the rest of your session will stay intact.

Does Gnome do this? I’ve certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!

I think it’s time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I’ll start there.

Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.

hallettj,
@hallettj@leminal.space avatar

That’s great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell’s type checker does a lot more than other mainstream languages’ which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.

hallettj,
@hallettj@leminal.space avatar

Kitty does use GPU acceleration

hallettj,
@hallettj@leminal.space avatar

Well I’ll throw in my endorsement for kitty. I like the ligature support, the fact that it can be configured to hide all UI, and it uses text files for configuration that I can put in my dot files repo.

There are some particular features that I use constantly:

I can yank a file path to the prompt from previous output by pressing ctrl+shift+p then f then a 1-character label. I can do the same with a git hash (or other hash) by pressing h instead of f.

I can scroll back and search previous output using only the keyboard with ctrl+shift+h which puts the terminal history in a pager.

I can get the output of only the previous command in a pager with ctrl+shift+g. Or jump to previous prompts with ctrl+shift+x and ctrl+shift+z.

I use kitty-scrollback.nvim which replaces that pager with neovim so I can use all of my editor features to search history, copy what I want, etc.

hallettj,
@hallettj@leminal.space avatar

Those look nice!

Have you considered a Creative Commons license, maybe with the BY-SA (Attribution-ShareAlike) terms?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fightinggames
  • All magazines