Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JE
Posts
13
Comments
343
Joined
2 yr. ago

  • I was lucky for a while too, since you can also get lucky with dynamically linked libraries. Sometimes they find the new version of the .so (from other packages) and it works, but sometimes it finds a system .so and works until there is a system update. Which ruins the whole reproducability thing, although using the sandbox options of nix can help with this.

    Nixpkgs is better about patching the RPATH now, but that's the thing; using old versions is like going back in time. We'd need to go back in the git history and also patch the super old version.

    There are tools like nix-ld which can help, but they need to be setup and they've got edgecases too.

  • It has random side effects that break cli tools (tools that are not even installed with ASDF)

    The more versions you add, the slower it gets. And it can get really slow (that issue was opened in 2018, and it is fixable).

    It's got many "well it works on my machine" problems. And the author said that's a "wontfix" design choice. That's fine for the author, it's FOSS. But it means my workflow is going to randomly break and I just can't have that when it's my job.

    Pkgx, Devbox and nix avoid all these things.

  • It definitely still is. I use nix on the daily and specialize in old versions seach; Just because it's very possible doesn't mean people don't find it to be a pain point.

    With the right tools (which are not easily found in the docs or on Google) finding one old version is fine. Running one old version is flawless. But mixing that old version with newer versions of other packages causes problems because of the nix LD_LIBRARY_PATH issue.

  • Use this! nvs --install ruby@2 (I'd attach the gif but lemm.ee doesn't support images)

    I had your exact complaint. And it only took me 3 years and hundreds of hours of learning nix to make that tool 😅

    Btw, while it solves version search, fair warning you're going to immediately run into other usability problems. I use nix every day but I don't gaslight people into thinking it's usable.

    • Pkgx (formerly Tea) from the creator of homebrew
      • it's adsf but professional instead of crappy (yes, shots fired, I've used asdf for a long time)
    • devbox for better reproduciblity than Pkgx
    • And yes Nix (obligatory; BTW I use nix btw btw). Nix is supposed to be exactly what you're asking for and has unbeatable reproducability. But it's simply not ergonomic enough yet. I've been deep diving into it for 3 years and it's still painful to setup a project with it. Devbox uses nix under the hood but kinda of abuses nix. So it looses some of the guarantees but gains being usable/ergonomic today.

    Full disclosure, I use nix (not devbox) for all my stuff cause I care about hardcore reproduciblity.

  • I'd say 3 things

    1. To establish a routine, I had to let go of everything else. Like, the checklist for the whole day was just the routine and it stayed that way for weeks. Sounds like you're in a good position to do this which is great to hear.
    2. Shape the environment to enforce a routine.

    Alarms are annoying. They can tell you something but not make you want to do it. We can do better. For example in the morning, using a sunlight alarm clock and a space heater will actually make you want to get out of bed. (Use a timer socket with the space heater to have it auto turn on)

    • It is incredible how effective this the combination is. You can go to bed at 1am and get up at 5am and still wake up in a decent mood, never pressing snoose, never dealing with a noise-maker. When it's hot and bright, your whole body just tries to be awake instead of trying to keep you asleep.

    Doing the exact opposite night also helps; use the thermostat clock to make it cold and have lights auto-turn off using timer sockets. It's difficult to keep working when it's really cold.

    I find treating the weekend the same as weekdays is helpful. E.g. don't take a break on the weekend.

    1. Then, if you can, get some external enforcement. Ideally this would be something like a class or a short job that requires showing up at the same time each day. It can be as simple as getting a plant that you need to water a bit every day, or a pet. Although be careful with a pet and make sure you can actually take care of them.

    Recommended Books:

    • Order from Chaos
  • Fair warning, I was only taking Hon's word for it in my original comment.

    That said, the magic term that will get you a flood of journal articles is "induced pluripotent stem cells ( iPSCs)" and this article a good overview/context to the work.

    I'll edit my comment to include the link

  • We can revert normal human bloodcells into stem cells and then into specialized cells like neurons. It was an incredible breakthrough several years ago that nobody seems to know. There's been recent developments too

    I only found out about it when I was talking to Hon (the lead on this project), and asked him where he got the neurons for playing pong, and he said "I got them from myself".