• 1 Post
  • 26 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?







  • 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.

  • I could switch tomorrow if I could do my current setup:

    • Tiling Window manager (sway?)
    • simple status bar to output text from a script with clickable applet icons (waybar?)
    • the way to show/hide windows on a button press - I have a script that I use to quickly toggle 3 dropdown terminal windows

    Last time I tried Wayland in December, I had issues with waybar not supporting clicking tray applet icons. Also I’ve ported my dropdown terminals script to support sway - and it worked half the time, like, literally every second key press was ignored.

    On one hand I have X session that currently has no downsides for me, on other - wayland that has no upsides. Tell me, why would I switch?




  • janAkali@lemmy.onetoMicroblog Memes@lemmy.worldScript kiddies
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    9 months ago

    Github is not a software distribution platform, it was never meant to be one. It’s a developer platform for code distribution and collaboration. And UI is designed around that.

    A lot of projects use it as a distribution platform, but they’re wrong - it’s always better to have a web page with simple download button for casual “ordinary” people.

    But, this case is special: this mostly harmless tool is designed and almost exclusively used to stalk / doxx / hack people =|. So, it’s not in developers interest to make it widely available and easy to install.



  • For one - the error handling. Every codebase is filled with messy, hard to type:

    if err != nil {
        ...
    }
    

    And it doesn’t even give you a stack trace to debug the problem when an error happens, apparently.

    Second reason - it lacks many features that are generally available in most other languages. Generics is the big one, but thankfully they added them in last half a year or so. In general Golang’s design principle is to implement only the required minimum.

    And probably most important - Go is owned by Google, aka the “all seeing eye of Sauron”. There was recently a big controversy with them proposing adding an on-by-default telemetry to the compiler. And with the recent trend of enshittification, I wouldn’t trust google or any other mega-corporation.


  • janAkali@lemmy.onetoLinux@lemmy.mlFlatpak can look daunting...
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    11 months ago

    I have all apps I use daily in the appimage format. Yesterday I decided to try btrfs for my root partition and did my annual Linux reinstall. All my apps were already there and ready for work from the start.
    I also have a usb flashdrive always on me with the same appimages. Just in case I’d wipe a hard drive by accident and wouldn’t have an internet connection or something like that (in case of emergencies). You can’t do this with flatpaks or snaps.





  • janAkali@lemmy.onetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Flatpaks and Snaps become more efficient in terms of storage usage the more you use them…

    I’m not disagreeing with that, but how many apps an average user requires that he can’t find in the distro’s repository? And how many snaps he should have installed, so it’d be more space-efficient than appimages, 10? 20? 30?

    hint: for me - one is too many.

    Flatpak and Snap share dependencies while Appimage doublicates all of them…

    On the other hand, appimage only includes the libraries actually required by an app. Where Snap/Flatpack install big fat runtimes.
    I’ve recently made a very simple gtk4 app and packaged it with all dependencies into a 10mb appimage you can just download and run. The very same app would rely on 250+ mb gtk4 runtime with snap.
    And I could be fine with that; but no, it’s not that simple, you’ll have x3 gtk4 runtimes on your system. Because snap keeps 3 last versions of every snap pkg and it’s dependencies. I don’t know what flatpack installs, but it’s not efficient in that regard either.

    2-3 gigs of libraries a program might not even need. It’s just wasted space for an average linux user. And if I was fine with that, I would be using Windows right now.