jeffhykin

joined 2 years ago
[โ€“] [email protected] 2 points 2 years ago* (last edited 2 years 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.

[โ€“] [email protected] 7 points 2 years ago (2 children)

Might not look like it, but they're clipped in.

So you'd roll off the ledge, crack your head against the rock face and then bleed out, NOT fall to your death ๐Ÿ‘Œ.

[โ€“] [email protected] 4 points 2 years ago* (last edited 2 years ago)

I know climbers who would absolutely do this and tell no one. Adrenaline can be its own reward.

[โ€“] [email protected] 7 points 2 years ago* (last edited 2 years ago)

Yeah there's no such thing as polticially neutral.

There's bipartisan, there's a political average, there's politically apathetic, there's political abstinence, but not "political and objectively neutral".

[โ€“] [email protected] 1 points 2 years ago* (last edited 2 years ago)

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.

[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago) (2 children)

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.

[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago)

Actually Lazamar's is kind of out of date. Here's the best sites for it:

And I made an interactive Cli tool that let's you search all four of those simultaneously!

[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago)

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.

[โ€“] [email protected] 5 points 2 years ago* (last edited 2 years ago) (3 children)
  • 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.

[โ€“] [email protected] 3 points 2 years ago* (last edited 2 years ago)

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
[โ€“] [email protected] 4 points 2 years ago

It's been a while since I last studied neurology. I couldn't find the paper I was hoping too, but I found a different one that honestly might be more what OP was looking for anyways.

Note: the gambling task is probably the most relevant in terms of distorted logic and decision making.

https://www.sciencedirect.com/science/article/pii/S037687161100425X?casa_token=SgJ9km1fEIMAAAAA:hW-xkMoh9jT7R3Dios70wgMywRnRzXDwPK21xh-ZruBTlGaEc0JKHtQuy4JbBT1e6ZCODOLV

[โ€“] [email protected] 2 points 2 years ago (1 children)

@[email protected]

Commenting to get notifications of new answers

view more: โ€น prev next โ€บ