@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.

Creating a self-contained binary (www.github.com)

I have a program (fldigi, pointed to by the github link) that uses dozens of shared libraries. I would like to be able to distribute a pre-compiled version of the program for testers. I could require each tester to install the shared libraries and compile the program for themselves, however, this would be extremely difficult for...

hallettj,
@hallettj@leminal.space avatar

I’d go with Nix, but I may be biased by my enthusiasm for Nix

hallettj,
@hallettj@leminal.space avatar

I tried Linux in college because it was a hot thing there. Been hooked ever since.

I’m not a distro hopper. I used Debian Testing for many years. Last year I switched to NixOS because it was a compelling value proposition for me. I’m very happy with it!

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

Oh interesting! I guess that explains the awkward arrangement of two people holding three cups of coffee between them

hallettj,
@hallettj@leminal.space avatar

It’s likely a myth that Rasputin was sleeping with the czarina. (Although there’s no proof either way.) He had a very close relationship with the czar and czarina because their son had hemophilia, and Rasputin’s presence seemed to help his condition. It was a serious illness, and the parents were desperate for anything that could help. But the hemophilia was a secret so nobody outside the family knew why the czar and czarina kept Rasputin so close despite dangerous rumours that Rasputin was the one running Russian policy. The idea that Rasputin was sleeping with the czarina was a popular theory because Rasputin was a well-known horny motherfucker.

hallettj,
@hallettj@leminal.space avatar

Oh yeah - the classic move of saving people from doctors! Everything I know about this is from the Revolutions podcast by Mike Duncan which suggested that Rasputin likely provided an emotionally-calming influence that probably helped.

hallettj,
@hallettj@leminal.space avatar

Looking at the configuration options I think you want this line in configuration.nix:


<span style="color:#323232;">virtualisation.virtualbox.guest.enable = true;
</span>
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

hallettj,
@hallettj@leminal.space avatar

Nice! I got a Tern attachment that will let me tow a bike by attaching the fork if I take the front wheel off. I’ve had enough occasions where it would have been useful that I finally decided to go for it. But I haven’t put it to use yet.

I’ve been fantasizing about a Brompton for a while. Some day!

hallettj,
@hallettj@leminal.space avatar

I’ve been using the newer commands like switch and restore for a while. But I learned a few things here that will indeed make my work easier.

hallettj,
@hallettj@leminal.space avatar

A commit followed by a reset or commit --amend later is one more step than a worktree --add. Plus there have been lots of times when I’ve had some changes staged, and some unstaged debugging or experimental changes that I want to make sure not to commit, and thinking about how to pack all that away neatly so I could get back where I was seemed sufficiently obnoxious that I avoided doing whatever would have required a quick branch switch. Worktree would have let me pick up where I left off without having to think about it.

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, (edited )
@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

Until I read the caption I thought I was looking at giant fingers grabbing the dwarf to stick him in the computer slot

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

Yes, this is what I think of when I think of a “dead man’s switch”. It relates to the concept of a physical device that deactivates or activates if you let go of a switch, like a light saber for example.

I think an interval of weeks would be more convenient than hours to avoid false positives. But I think Patrick Stewart’s character did daily check-ins in the movie Safe House. The dead man’s switch was actually the central plot point in that movie.

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

To clarify, the kids that my kids meet at school who want to play Minecraft with them almost exclusively play Bedrock, often on ipads.

One of these days I may get around to trying running a server with GeyserMC which purportedly extends a Java server to let Bedrock users connect.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines