@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

This is how I sometimes take my dog on my bike for short trips:

dog sitting in a tub secured on the rear rack of a cargo bike

But the best way to transport dogs is using a trailer. That tub takes the place of the rear seat; so to transport kids and the dog at the same time I’d need a trailer.

Can Milky Way and Andromeda collision reconcile with an Expanding Universe with galaxies spreading away from each other like "raisins in a loaf"?

I understand that our local galaxy group is considered “gravitationally bound” and therefore exempt from the expansion from each other (((, but we don’t seem to have other galaxies collected into their own “local groups” of gravitationally bound clusters, so are we saying we’re somehow unique? Is there a trick of...

hallettj,
@hallettj@leminal.space avatar

There are other galaxy clusters. Gravitational binding is not unique to the local cluster. From Wikipedia,

Notable galaxy clusters in the relatively nearby Universe include the Virgo Cluster, Fornax Cluster, Hercules Cluster, and the Coma Cluster.

The expansion of the universe is very tricky to explain. Oversimplifying can lead to an explanation that seems to be contradictory.

hallettj,
@hallettj@leminal.space avatar

By using one rail they can get two-way traffic on one set of tracks. These early units have an anti-tipping safety device that extends to the second rail, but they plan to get rid of that later.

hallettj,
@hallettj@leminal.space avatar

I think you want to remove the c because that means “create” an archive, and you’re missing a z which applies gzip decompression/compression

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

Blank red videos in game running in Wine?

I installed StarCraft: Mass Recall which is an impressive project that recreates the original StarCraft and Brood War campaigns in StarCraft 2. Everything works except that the cinematics and some of the game assets are flat, blank red. For example some of the video portraits in the briefing rooms display correctly, but Mengsk...

hallettj,
@hallettj@leminal.space avatar

Thanks for the reply! Yes I have been trying WineGE. I didn’t realize it had special media support, that’s good to know.

hallettj,
@hallettj@leminal.space avatar

Seems like a good idea!

Does it relate to stylix or ThemeNix? Does it do something different? (I haven’t tried any of these so I’m not clear on how they compare.)

hallettj,
@hallettj@leminal.space avatar

Good to know! I’ll put the Ibis and fruit bat on my Australia bucket list, along with a Huntsman. Although the latter are so widespread that I’ve probably already seen some living in America. But I’m guessing the Australian Huntsmen are a bit different from the North American ones.

hallettj,
@hallettj@leminal.space avatar

Sourcehut is already federated! The workflows use a combination of email (which is federated), and git clones (which are decentralized)

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

It’s great that the system is so efficient. But things do come up. I once worked with an LSP server that was so hungry that I had to upgrade from 32 to 64gb to stop the OOM crashes. (Tbf I only ran out of memory when running the LSP server and compiler at the same time - but hey, I have work to do!) But now since I’m working in a different area I’m just way over-RAMed.

hallettj,
@hallettj@leminal.space avatar

I don’t know anything about the treatment. But to be hereditary the genome changes would have to affect gametes. If genes are only changed in other targeted tissue then the changes wouldn’t be inherited.

hallettj,
@hallettj@leminal.space avatar

Just the best identity reveal I’ve ever seen

Integration Tests - What's New?

Nearly a decade back I wrote a lot of browser CI tests with headless chrome as well as browser stack. I loved the idea, but they just didn’t handle things being a bit outside of perfect IRL, like taking a moment longer to load etc. They ended up having a lot of waits in them, taking a long time to write and were prone to being...

hallettj,
@hallettj@leminal.space avatar

Modern frameworks like Playwright do a good job of avoiding those waits. So the tests are less flaky, and are faster.

[solved] nix shell and nix profile not using the branch defined in flake.nix?

Yes I know that there are workarounds for them to set to use the flake inputs but still… I have set nixpkgs version to 23.11 stable release and that’s good, but if I try to use nix shell, nix profile or even nix-env, they all seem to use the latest master/unstable branch to install the packages by default....

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

It’s possible (and I think advisable) to set your flake nixos config to set the system flake registry to point to the same nixpkgs revision that your flake uses. The nixos-starter-configs standard template has two lines that do this:


<span style="color:#323232;"># Opinionated: make flake registry and nix path match flake inputs
</span><span style="color:#323232;">registry = lib.mapAttrs (_: flake: {inherit flake;}) flakeInputs;
</span><span style="color:#323232;">nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
</span>

That actually adds all of your flake inputs to the system flake registry. So for example if in addition to your nixpkgs input you also have an input you named nixpkgs-unstable then can also reference that with stuff like nix shell. For example:


<span style="color:#323232;">nix shell nixpkgs#hello nixpkgs-unstable#cowsay
</span>
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

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

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

Thanks! This is my blog. I might have some more Nix content coming up relating to Rust and docker-compose because that’s what I’ve been working with.

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