fhoekstra

joined 1 year ago
 

cross-posted from: https://lemmy.ml/post/13934384

Linux Mint 22 Adopts PipeWire, New Linux Kernel Cadence - OMG! Ubuntu

[–] fhoekstra@programming.dev 1 points 8 months ago

Still, for those very hard bugs that everyone just hovers around and procrastinates, this is perfect advice!

[–] fhoekstra@programming.dev 3 points 8 months ago (4 children)

This should be much more wide-spread. The hardest part of programming is reading someone else's code.

More people should learn to do git rebase -i, it's a simple way to re-organise your commits to make sure that they tell a story to someone going through the PR commit by commit. It only takes a minute and can save your colleagues so much time and increase the quality of the review process.

[–] fhoekstra@programming.dev 2 points 11 months ago* (last edited 11 months ago)

https://learngitbranching.js.org Is a very accessible browser game that I found useful on my Git journey to start to grasp the underlying structures and operations such as rebase.

[–] fhoekstra@programming.dev 1 points 1 year ago (1 children)

I know my Pop!_OS install pulls Nvidia drivers and modules using flatpak. I don't know the pros and cons of this method, but I've assumed it's more robust due to decoupling of dependencies.

What is your opinion on flatpak vs pacman for proprietary Nvidia drivers?

[–] fhoekstra@programming.dev 1 points 1 year ago (1 children)

This looks incredibly powerful and cool.. but also like the kind of thing that may be a bit too niche or experimental for me to learn after just 2 years of the occasional casual Bash scripting and 4 weeks of having used zsh as my terminal.

I am trying to resist

[–] fhoekstra@programming.dev 9 points 1 year ago* (last edited 1 year ago) (3 children)

Larger projects in Python (like homeassistant) tend to use type-hints and enforce them through linters. Essentially, these linters (with a well-setup IDE) turn programming in large Python projects into a very similar experience to programming a statically typed language, except that Python does not need to be compiled (and type-checked) to run it. So you can still run it before you have satisfied the linters, you just can't commit or push or whatever (depending on project setup).

And yes, these linters and the Python type system are obviously not as good as something like a Go or Rust compiler. But then again, Python is a generalist language: it can do everything, but excels at nothing.

[–] fhoekstra@programming.dev 2 points 1 year ago

Thanks for sharing, this is incredibly useful: sounds like the kind of thing you'd almost expect to be built in