12

In PHP ecosystem there is a tool called Rector. 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.

[-] dragnucs@lemmy.ml 29 points 2 months ago

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.

149
submitted 2 months ago by dragnucs@lemmy.ml to c/selfhosted@lemmy.world

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.

[-] dragnucs@lemmy.ml 31 points 4 months ago

The fourth sign must have fallen. Like carpet your whole house, room, for only $99.

[-] dragnucs@lemmy.ml 29 points 6 months ago

Try SearXNG. SearXNG is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled. Additionally, SearXNG can be used over Tor for online anonymity.

List of available instances.

[-] dragnucs@lemmy.ml 32 points 1 year ago* (last edited 1 year ago)

Those might look like freedom pitfalls but are actually not. On the one hand gitlab dot com is not really bad for freedom as it has at least an open core and is very freedom friendly. Gitlab can be easily circumvented by using got client directly. Maybe a tag could be helpful here.

Any way, just clearing cookies after closing the session is very enough for github.

Cloudflare? Why are you even mentioning this? This is part of projects infrastructure. We need to draw a line somewhere. For example would you visit a website if it was hosted on Windows server? If they use ESXi? Or if user account are managed with Active Directory or firebase?

Sure you are free to be as eclectic as you want, but at the end, those are very minor issues that do not dent FSF credibility. Remember it stand for Free software first.

Edit: typos

[-] dragnucs@lemmy.ml 40 points 1 year ago

So how the daily go?

50
submitted 1 year ago by dragnucs@lemmy.ml to c/android@lemdro.id

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.

[-] dragnucs@lemmy.ml 47 points 1 year ago

You block it by switching to #pixelfed.

[-] dragnucs@lemmy.ml 31 points 1 year ago

Yes it is so caleld body recomposition. You can burn fat and gain muscle at the same time, thus maintaining the same weight. You will look thinner though, the good kind of thinner with a better build.

[-] dragnucs@lemmy.ml 60 points 1 year ago

A higher salary would be of help to cover additional expeses related to coming to the office.

However, we also need a nice office to come to that needs to be as comfy as the one home.

[-] dragnucs@lemmy.ml 36 points 1 year ago

There are anti viruses that run on GNU/Linux like ClamAv and kaspersky but they actually do not target the machine they run on or at least they are not so useful. Their intention is to stop the spread of malware.

In general, you just need to install softwaref uaong the package manager from trusted sources that are usually the defaults of your distribution and not input your password when you are not expecting it.

When copying commands to the terminal, most terminals will warn you if you are copying a command that requires root privileges.

That said for the operating system, apply it to the browser as well by being eclectic on what extensions you install and voila. 99.99% guaranteed malware free.

[-] dragnucs@lemmy.ml 55 points 1 year ago

Generally, the color of the curb indicates where or not you can park a car there and for how much time. It may also indicate if it is reserved for a dedicated veihcile type.

http://guide.saferoutesinfo.org/dropoff_pickup/curb_striping_and_other_pavement_markings.cfm

2101
1751
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
912
That pattern (lemmy.ml)
943
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
448
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
589
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
255
submitted 1 year ago by dragnucs@lemmy.ml to c/antiwork@lemmy.ml
488
Warm sock (lemmy.ml)
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
213
submitted 1 year ago by dragnucs@lemmy.ml to c/memes@lemmy.ml
[-] dragnucs@lemmy.ml 27 points 1 year ago

Birbs are at the very core of the internet. They are the stuff of the deep web.

[-] dragnucs@lemmy.ml 37 points 1 year ago

They know how to live. They need fresh air and a bit of sun.

view more: next ›

dragnucs

joined 3 years ago