JustTesting

joined 1 year ago
[–] JustTesting@lemmy.hogru.ch 2 points 1 month ago* (last edited 1 month ago) (2 children)

You misunderstand, the first two commands are just one time setup to install a specific python version and then to create an env using that version. After that all you need is `pyenv activate myenv´ to drop you into that env, which will use the correct python version and make sure everything is isolated from other environments you might have.

You can also just create an env with the system python version, but the question was specifically about managing multiple versions of python side by side and this makes that super easy.

You could also combine it with direnv to automatically drop you into the correct environment based on the folder you are in, so you don't have to type anything after the initial setup.

[–] JustTesting@lemmy.hogru.ch 9 points 1 month ago* (last edited 1 month ago) (4 children)

pyenv and pyenv-virtualenv together solves this for me. Virtualenv with specific python versions that work together well with other tools like pip or poetry.

It boils down to something like

$ pyenv install 3.12.7
$ pyenv virtualenv 3.12.7 myenv
$ pyenv activate myenv

and at that point you can do regular python stuff like pip installing etc.

[–] JustTesting@lemmy.hogru.ch 4 points 1 month ago

In addition to all the other comments, pumping warm water into natural bodies of water can also be bad for the environment.

i know of one nuclear powerplant that does this and it's pretty bad for the coral population there.

[–] JustTesting@lemmy.hogru.ch 1 points 1 month ago

You could give helix a try, feature/functionality wise it's almost vim, but with 0 config needed and all commands easily discoverable which is closer to nano.

As someone who really tried to get into modal editors, both emacs and vim, for years, it was the first one where i was reasonably fast after a short time and it was easy to discover the keybindings.

[–] JustTesting@lemmy.hogru.ch 8 points 2 months ago

There was a recent paper that argues 'bullshitting' is the most apt analogy. I.e. telling something to satisfy the other person without caring about the truth content of what you say

[–] JustTesting@lemmy.hogru.ch 31 points 3 months ago (1 children)

Uhm, this came out as part of a law suit against them by the record industry? So they are in the process of being sued.

While not surprising, the admission, which was made as part of court proceedings responding to a massive recording industry lawsuit against the company, shows yet again that many AI tools are trained on, essentially, anything that companies can get their hands on.

[–] JustTesting@lemmy.hogru.ch 6 points 4 months ago

It's not. A single miner often has like 4 GPUs running at 100% load, 24/7 and I doubt someone will build a 100 Megawatt facility with thousands of computers to get fallout tokens.

Though it is the same thing in the sense of running computer to generate worthless digital tokens. The main difference in that sense is that fallout tokens do actually have a use(in game)!

[–] JustTesting@lemmy.hogru.ch 6 points 4 months ago (1 children)

Have you tried Jellyfin? It's a FOSS fork of emby, so pretty much a drop in replacement and it's been working very well for me.

Personally I use jellyfin as a backend, with the web interface and jellyfin app as frontend. Plus Kodi as an additional frontend for my beamer, with the Kodi Jellyfin plugin and Yatse remote to make it feel more like a TV.

[–] JustTesting@lemmy.hogru.ch 2 points 6 months ago

one way to do this from within python itself would be to use the site module with pth files to monkeypatch the code in question. This would amount to patching it each time it gets started, not modifying the python file permanently, and without having to touch the original python code at all.

This write-up goes into more details and also links to this (unmaintained) tool for doing so.

[–] JustTesting@lemmy.hogru.ch 4 points 8 months ago (2 children)

You can get Fusion360 to work okay-ish in Wine. Probably not good enough for professional use but for my hobby use case it works well enough (sometimes a bit laggy but usable). this does most of the heavy lifting in getting it installed.

[–] JustTesting@lemmy.hogru.ch 9 points 9 months ago* (last edited 9 months ago) (5 children)

there's a lot of stuff you can do, and you can end up with something usable, though not great, at least not in my experience. NVidia's drivers are to blame, they don't really work well with opengl and have lots of issues (and also regressions).

The 550 beta driver is ok-ish, steam flickers but I can play games. Drivers before 535 also somewhat worked, though it really depends on your GPU.

But I don't think you will have it working acceptably without some work.

Here's some pointers on stuff to try:

  • check protondb for how other people got games to work, you can filter by your GPU.
  • try running through gamescope or gamemoderun
  • try the modeset=1 (and maybe fbdev) kernel parameters for nvidia drm
  • and there's tons of env vars and other things that can help, I couldn't summarize them all here, but as a pointer: XWAYLAND_NO_GLAMOR=1, WLR_RENDERER=vulkan, LIBVA_DRIVER_NAME=nvidia, GBM_BACKEND=nvidia-drm (for the drm above), __GLX_VENDOR_LIBRARY_NAME=nvidia
  • try the beta drivers, if those are available somehow (I'm on arch so they were easy to install), or just different driver versions in general.

The above is meant more as hints than something to copy paste, so use at your own risk. You can of course always just install a second DE with X11 and log into that for gaming and use your regular DE for everything else

view more: next ›