• 0 Posts
  • 98 Comments
Joined 2 years ago
cake
Cake day: January 17th, 2022

help-circle

  • utopiah@lemmy.mltoLinux@lemmy.mlLauncher for Everything*
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    7 days ago

    Superficial feedback but I can’t read more than 3 lines without syntax highlighting. Here I believe lines short for the text but makes code even harder to read due to new line. Maybe Codeberg allows for HTML embedding.

    Now for a comment on the content itself, how is that different from aliases in ~/.bashrc? I personally have a bunch of commands that are basically wrapped or shortcuts around existing ones with my default parameters.

    Finally, if the result is visual, like dmenu which I only use a bit in the PinePhone, then please start by sharing a screenshot of the result.

    Anyway, thanks for sharing, always exciting to learn from others how they make THEIR systems theirs!



  • utopiah@lemmy.mltoLinux@lemmy.mlDeduplication tool
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 days ago

    FWIW just did a quick test with rmlint and I would definitely not trust an automated tool to remove on my filesystem, as a user. If it’s for a proper data filesystem, basically a database, sure, but otherwise there are plenty of legitimate duplication, e.g ./node_modules, so the risk of breaking things is relatively high. IMHO it’s better to learn why there are duplicates on case by case basis but again I don’t know your specific use case so maybe it’d fit.

    PS: I imagine it’d be good for a content library, e.g ebooks, ROMs, movies, etc.




  • utopiah@lemmy.mltoLinux@lemmy.mlDeduplication tool
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    8 days ago

    I don’t actually know but I bet that’s relatively costly so I would at least try to be mindful of efficiency, e.g

    • use find to start only with large files, e.g > 1Gb (depends on your own threshold)
    • look for a “cheap” way to find duplicates, e.g exact same size (far from perfect yet I bet is sufficient is most cases)

    then after trying a couple of times

    • find a “better” way to avoid duplicates, e.g SHA1 (quite expensive)
    • lower the threshold to include more files, e.g >.1Gb

    and possibly heuristics e.g

    • directories where all filenames are identical, maybe based on locate/updatedb that is most likely already indexing your entire filesystems

    Why do I suggest all this rather than a tool? Because I be a lot of decisions have to be manually made.











  • utopiah@lemmy.mltoLinux@lemmy.mlHow bad is Microsoft?
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    20 days ago

    As a shareholder (which I’m not), it’s absolutely amazing.

    As a human being though… it’s simple to look at the history of the company, from its inception based on nepotism and locking-down was hitherto the common good, to going from one place of monopoly (OS, app, cloud) to another (extending to whatever is trendy at the moment e.g XR with HoloLens, AI with OpenAI, etc).

    It’s IMHO one of the very worst thing that could have happened to humanity in terms of cognitive empowerment. Apple is not far behind but in terms of locking up an entire ecosystem but Microsoft, sadly, is doing it better.

    To clarify what I mean is that Microsoft is the business embodiment of learned helplessness. Most people would shrug at the quality of software they provide, the price, etc ONLY because they are convinced, wrongfully so, that they are is no legitimate alternative. If users were actually able to chose, not being coerced into but properly chose, by experiencing alternatives, the World would be totally different. Instead of having computer users who feel an adversarial relationship to their devices, we would have a much stronger relation of “this is MY device” the same way a lot (not all) of people have a repair toolbox at home. They know they can try to fix something in THEIR home, even improve it. Most people understand it won’t be easy, they might mess it up, but it’s possible to try. Not in software, and that’s entirely Microsoft “success”. Maybe in an alternative reality others, like Apple, would have made that happen to, but in our reality I blame Microsoft, Bill Gates upbringing from his legal mindset father and well connected mother.

    We could have a world were users own their devices, have a challenging yet empowering relationship to technology, starting with software, and instead we have exploitative learning helplnessness. So yes, Microsoft is that bad.



  • You can check my post history but I’m a dev who also play and had no problem with Linux for years. I don’t play emulation (which is cool, even have a RPi with arcade joystick) but modern games (Elden Ring, Baldur’s Gate 3, Ruiner, and some indies) including VR (Half-life: Alyx, Virtual virtual reality, Eye of the template, Cubism, etc) both on desktop and on the SteamDeck. Well it’s been few years and I can tell you the tinker to play ratio is easily 99.9% in favor of playing. I don’t tinker with drivers or anything of the sort (unless I have to work with CUDA, but still then no problem) but it’s true that before buying a game I check ProtonDB to insure it will actually work.

    Now in terms of distribution I’m not sure it matters much, what I would though highly recommend is that you make few extra partitions, at least /home this way if you do decide to format (because you somehow broke the OS, want to hop distros, etc) then you will keep you data without having to copy anything on another drive or even slower through the network. It makes changing a breeze.

    PS: IMHO as a dev do tinker as much as you need, it’s the best way to learn and see which distro is actually the best for you, just backup your data first then you can go “crazy”, enjoy it’s definitely worth it, even more so as a dev who can at any time say “Oh… that part sucks, I can change it”, it’s literally liberating.