www.omgubuntu.co.uk

cross-posted from: https://lemmy.ml/post/13934384 > Linux Mint 22 Adopts PipeWire, New Linux Kernel Cadence - OMG! Ubuntu

40
7
How common is it to code review like this?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 100%

    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.

    3
  • 🎄 - 2023 DAY 1 SOLUTIONS -🎄
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 100%

    Looks very elegant! I'm having trouble understanding how this finds digit "words" from the end of the line though, as they should be spelled backwards IIRC? I.e. eno, owt, eerht

    3
  • nvidia-utils breaks nvidia (pacman upgrade issue)
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 100%

    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?

    1
  • The case for nushell
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 100%

    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

    2
  • What are your programming hot takes?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 83%

    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.

    8
  • What helps people get comfortable on the command line?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    fhoekstra
    Now 100%

    Not OP, but I very recently switched from bash. Autocomplete with suggestions is a way better exeperience on zsh than bash. The way you can choose between options of the autocomplete/suggest interactively feels way better than bash. I set it up to be case-insensitive, so I can type cd dow and it will become cd Downloads. Gettig autocomplete for both kubectl and its alias k is seamless in zshrc but requires an extra line with a weird dunder function in bashrc.

    This is just what I found in a few days of using it. There was no learning curve at all, everything just felt easier.

    4
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFH
    Now
    1 11

    fhoekstra

    programming.dev