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 9 points 1 month ago (1 children)

It's the most common communication tool for friends and family in much of europe

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

And keep the old pieces, in the end assemble them back together and see what the differences are

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

'Programming from the ground up' the main idea of this one is to teach programming in a bottom up way, so very low level.

it's mostly about teaching (linux) assembly to beginners, so in a way it is just learning a new language. But it's mainly about understanding low level how a computer works, like registers, kernel calls, how function calls are handled, all for beginners. It's really easy to pick up.

Knowing those fundamentals can go a long way in understanding other computing concepts.

Others that come to mind are :

  • Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
  • A Philosophy of Software Design
  • Software Architecture: The Hard Parts"
[–] JustTesting@lemmy.hogru.ch 5 points 1 month ago

I love my Glove80, had it for about a year now and couldn't be happier.

For anyone interested in alt layouts, https://getreuer.info/posts/keyboards/alt-layouts/index.html is one of the best introductions out there. Also https://lemmy.world/c/ergomechkeyboards is a nice resource on fancy keyboards.

[–] 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 44 points 2 months ago (1 children)

Adding a copilot button to a laptop, 10 years jail

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

Well, cars are certainly important everywhere in the world and still too important in Switzerland. But relatively speaking compared to other countries they're really not that important.

Right now there's a vote coming up to build more highways, it'll be interesting to see how that turns out.

To put some numbers on things, we spend 4-5 billion per year on rail, we spend 8.8billion over the next 3 years on road maintenance plus total another 11 billion until 2030 for new road infrastructure. I wouldn't call that 'barely investing', it seems roughly equal to me.

[–] 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.

view more: next ›