• 2 Posts
  • 129 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle


  • I believe for many companies, developers work on giant codebases with many hundred thousands or even millions of lines of code.

    With such large codebase you have no control over any system. Because control is split between groups of devs.

    If you want to refactor a single subsystem it would take coordination of all groups working on that part and will halt development, probably for months. But first you have to convince all the management people, that refactor is needed, that on itself could take eternity.

    So instead you patch it on your end and call it a day.






  • Ubuntu: 😮why?

    For a lot of people Ubuntu is the linux. Canonical is just good at marketing. For all it worth, Ubuntu is not the bad choice for average user who’s not into ricing and not bothered by bloat.

    Manjaro: haven’t you managed to kill it yet?

    I’ve been using Arch and Manjaro for couple years each and in my experience they both break regularly. But, for some weird reason, Arch Linux is praised, when Manjaro is shamed upon.

    Mint: ex windows guy?

    Aren’t we all?






  • I was stupid enough to use one wire and not two, or I wouldn’t be here typing this

    Well, I was smarter, but, thankfully, still here.
    I was maybe 5 years old when one day I decided for some reason that I have to know how the electricity works “first hand”. So I took an electrical plug with a wire from dad’s tool box. It had two exposed copper ends. I plugged it in the outlet and while trying to inspect the “electricity” flow I, most likely accidentaly, have completed the circuit with my hand.

    Interesting how the experience wasn’t painful it’s just muscles in your body get tense and you literally can’t drop the wire or move at all. Thank god my Dad was around and maybe 10 seconds after I got shocked he pulled the plug. I had no serious injuries: just burns, a bit of shock and a lifelong lesson.

    P.S. It was a 220V outlet too. But I’m not sure if it’s more dangerous than the US ones.


  • Zip is fine (I prefer 7z), until you want to preserve attributes like ownership and read/write/execute rights.

    Some zip programs support saving unix attributes, other - do not. So when you download a zip file from the internet - it’s always a gamble.
    Tar + gzip/bz2/xz is more Linux-friendly in that regard.

    Also, zip compresses each file separately and then collects all of them in one archive.
    Tar collects all the files first, then you compress the tarball into an archive, which is more efficient and produces smaller size.









  • Ok, because of this post - I decided to bite the bullet and try wayland again. And it was much better experience this time:

    I’ve installed sway “pattern” on OpenSuse-Tumbleweed and:

    • Previous time I had some issues with lightdm not supporting sway, now - it just works.
    • I still use xdotool and i3-msg in my custom scratchpad script and yet everything is working.

    waybar absolutely supports clicking tray icons.

    I confused it with swaybar, that’s installed with sway by default and should be an i3bar-compatible. Waybar doesn’t seem to support i3bar protocol, but anyway, after I configured it - it’s like 95% there from what I want.

    • I had to force xcb platform for appimage of nekoray (qt VPN gui), because it’s complaining about missing wayland-egl plugin. But it’s a small problem with straightforward fix, so not that bad.