In PHP ecosystem there is a tool called [Rector](https://getrector.com). It helps a lot in automated refactoring. It helps a lot in updating from a bad design pattern to another, update code to match a given framework updates, etc. Maybe we could create a similar tool for client side Javascript to migrate away from jQuery to vanilla Javascript. Websites youmightnotneedjquery.com have a good collections of vanilla JS alternatives to jQuery. While one could do it manually, on larger code bases, it is extremely tedious. Maybe such tool exists and I am unaware of it? At first, I thought about having such transformation as an optimization step in the bundler, but this is unnecessarily redundant and might cause a lot of troubles.

12
7
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDE
Announcing Deno 2
deno.com
2
0
Have new distro releases become meaningless?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    1w ago 100%

    There are 2 kinds of distributions. Ones that are on customization side and those on stability side.

    For example Debian, Fedora, and arguably Arch are on stability side. They are intended for people that want things to work predictably and software to be packaged and shipped as the developer intended it. Customization or lack of it is up to the user.

    Distributions like Manjaro, Zorin OS, Elementary OS, LMDE or even Linux XP are have a given goal to a particular customization. Either a set of tweaks, a particular look or even their own desktop environment or set of software they develop themselves.

    This means that the first kind would have the most boring update, as they just ship new and correctly integrated software. While the second kind would provide very nice customisations or patching of their own to their environment.

    9
  • How do I use Istagram as private as possible?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    3w ago 30%

    You don't create an account. And do not save coookiies for it. Only use a web browser. This would severy limit your usage as Instagram would constantly nag you to login and deteriorate your experience. But worth it. This is how I use it.

    You don't have to go to Instagram frequently but only when someone shares a link with you.

    -5
  • linux
    Linux 2mo ago
    Jump
    Is Linux As Good As We Think It Is?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    2mo ago 100%

    My logitech mx master 3 works instantly on fedora with all it's features. I also have various wired and worless keyboards and mouses that work instantly on Fedora.

    For same mouse on windows, I need to wait for it to download and install outs drivers.

    Maybe you got things confused or are using LinuxFromScratch or something.

    1
  • linux
    Linux 2mo ago
    Jump
    Is Linux As Good As We Think It Is?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    2mo ago 91%

    Generally, when things work on windows, it is the effort of whomever made the device or software. Microsoft generally does not develop drivers. However, when things work on GNU/Linux it is the effort of GNU, Linux, or the community. The manufacturer probably did nothing. This simply explains why we are generally relaxed or "give Linux too much benefit of the doubt relative to the “things that just work”".

    So fairly comparing a Linux distro to raw windows, Linux is better. When you install a distro, things just work, when you install windows, most stuff do not work and you need to complete setup. Unless you use tools provided by the manufacturer, but then again, it is same story.

    30
  • Why is GrapheneOS against GNU?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    2mo ago 100%

    Not really weired. For example, a keyboard has a firmware. 99% of keyboards have no way of it being updated or changed. It is part of its electronics. So not a big deal. But, if a keyboard has a way to update the firmware or install another one, then it should be FOSS.

    1
  • If lemmy.world became the biggest in the fediverse with a user base that could rival Reddit. Would it become monetized?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    2mo ago 66%

    It could be monetized by showing regular ads next to content a and disguised adds as content. Also, if using the federated API, they could push some sponsored content desgized as such.

    This cannoy be applied to the whole fediverse but only to instances whose owners a want monetization.

    I am sure that if implemented, someone would make it work on mobile apps and others while showing a setting to "disable ads". And there would be forks that block adds by default etc.

    Maybe have a look. At what Threads are doing.

    2
  • Full open source and private camera monitoring system
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    dragnucs
    2mo ago 100%

    It would be best if I don't have to create an account or install a proprietary app to perform the initial setup.

    I still haven't found any AMCrest camera being sold near me. I found some Hikvison.

    2
  • I want to setup a camera monitoring for my house and some rooms. I need to bee able to view the cameras remotely and and also do recording if possible. I could find some camera brands like dahua cams but having briefly tested them they. Seem to rely on acwmtralized cloud and proprietary visualization software. What are you recommendation? This is not a professional setup I would at max have 3 cameras.

    147
    49

    For all my needs of temporary android devices, I use a temporary VM instead. where I install android-x86. Now I am looking for alternatives to this distro. It is a bit slow to use and now dated. Still on android 9. Any recommendation that are FLOSS? A guide how to install Lineage OS on QEmu or KVM is also a good alternative.

    52
    16
    1.8K
    56
    memes
    Memes dragnucs 1y ago 97%
    Cats these days
    596
    7
    memes
    Memes dragnucs 1y ago 96%
    Warm sock
    487
    17
    memes
    Memes dragnucs 1y ago 96%
    Enlightenment
    309
    2
    memes
    Memes dragnucs 1y ago 96%
    I post memes
    289
    10
    137
    9