kevincox

joined 4 years ago
MODERATOR OF
[–] kevincox@lemmy.ml 3 points 1 year ago

Yeah, I've thought that in addition to regular keystrokes operating systems should provide logical events. If I press Ctrl+c don't send Ctrl+c to the application, send Copy (Maybe also with the original keystroke in case it needs to be interpreted "raw" like when using remote desktop software). We sort of have this for keyboard, there are special keys like Mute and Web Browser, but I think we should extend this system for common actions that are basically universal.

[–] kevincox@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Yet I love this feature, it is how I browse the web.

This is why keybindings should be user customizable.

[–] kevincox@lemmy.ml 10 points 1 year ago* (last edited 1 year ago)

For desktop apps Flatpak is almost certainly a better option than Docker. Flatpak uses the same core concepts as Docker but Flatpak is more suited for distributing graphical apps.

  1. Built in support for sharing graphics drivers, display server connections, fonts and themes.
  2. Most Flatpaks use common base images. Not only will this save disk space if you have lots of, for example GNOME, applications as they will share the same base but it also means that you can ship security updates for common libraries separately from application updates. (Although locked insecure libraries is still a problem in general, it is just improved over the docker case.)
  3. Better desktop integration via the use of "portals" that allow requesting specific things (screenshot, open file, save file, ...) without full access to the user's system.
  4. Configuration UIs that are optimized for the desktop usecase. Graphically tools for install, uninstall, manage permissions, ...

Generally I would still default to my distro's packages where possible, but if they are unsuitable for whatever reason (not available, too old, ...) then a Flatpak is a great option.

[–] kevincox@lemmy.ml 1 points 1 year ago

If you are Canadian Kawartha Dairy has very good mint chocolate chip that is reasonably priced. It isn't quite the best I've ever had but at not much more than the price of the cheap stuff at the grocery store it is perfect to have in the freezer for an "every-day" treat.

[–] kevincox@lemmy.ml 27 points 1 year ago (2 children)

I don't think we need to set a global minimum date, but the manufacturer should have to put a date on the box. If they don't support the device up to that date (including security updates and maintaining any required cloud services) then the consumer gets a full refund with possibly additional damages.

I think of it like the digital version of a nutrition facts table.

[–] kevincox@lemmy.ml 33 points 1 year ago* (last edited 1 year ago) (4 children)

I feel that a lot of people here are missing the point. Docker is popular for selfhosted services for a few main reasons:

  1. It is one package that can be used on any distribution (or even OS with a Linux VM).
  2. The package contains all dependencies required to run the software so it is pretty reliable.
  3. It provides some basic sandboxing against non-malicious services. Basically the service can't scribble all over your filesystem. It can only write to specific directories that you have given it access to (via volumes) other than by exploiting security vulnerabilities.
  4. The volume system also makes it very obvious what data is important and needs to be backed up or similar, you have a short list.

Docker also has lots of downsides. I would generally say that if your distribution packages software I would prefer the distribution's package over the docker image. A good distribution package will also solve all of these problems. The main issue you will see with distribution packages is a longer delay before new versions are made available.

What Docker completely dominates was previous cross-distribution packaging options which typically took one of the previous strategies.

  1. Self-contained compiled tarball. Run the program inside as your user. It probably puts its data in the extracted directory, maybe. How do you upgrade? Extract and copy a data directory? Self-update? Code is mutable and mixed with data, gross.
  2. Install script. Probably runs as root. Makes who-knows what changes to your system. Where is the data, is the service running? Will it auto-start on boot. Hope that install script supports your distro.
  3. Source tarball. Figure out the dependencies. Hope they don't conflict with the versions your distro has. Set up users and setup scripts yourself. Hope the build doesn't take too long.
[–] kevincox@lemmy.ml 6 points 1 year ago

While you are technically right there is very little logical difference between containers and VMs. Really the only fundamental difference is that containers use the same kernel while VMs run their own. (let's not even worry about para-virtualization right now).

In practice I would say the biggest difference is that there is better memory sharing so total memory usage will often be less. But honestly this mostly comes down to the fact that the average container bundles less software than the average VM image. Easier management of volumes is also nice because typically you will just bind-mount a host directory, but it also isn't hard to mount a block device on a Linux host.

[–] kevincox@lemmy.ml 11 points 1 year ago

Timely question, I just wrote a blog-post on this My Favourite Feeds

[–] kevincox@lemmy.ml 5 points 1 year ago (1 children)

IIRC didn't a recent prime minister (probably Trudeau) say that we would do it if the US also did it? I agree that DST is a mistake but I think doing it without coordination of the US would be cause fare more pain than benefits.

The EU also recommended member states to stop doing DST if I recall correctly. So it seems like if the US can be convinced the world would pretty quickly move away from DST.

On the other hand aren't the health concerns mostly bunk? I remember seeing a lot of studies that noted an uptick of various issues during a DST transition but closer inspection revealed that the vast majority of this effect was time-shifting of issues that were going to happen anyways. Basically if you were going to have a heart attack in the next week you will have it during the jump, but if you look at the week or month overall there was no statically significant change. I do admit that I am behind on research here though. Are there any well reviewed meta-analysis that are showing significant results?

[–] kevincox@lemmy.ml 62 points 1 year ago

if staying outside EU

I'm pretty sure this is explicitly not allowed because most of the EU laws apply to EU citizens and residents. So if an EU citizen stays outside the EU they aren't allowed to stop following the EU rules.

[–] kevincox@lemmy.ml 20 points 1 year ago (2 children)

Maybe we should just consider banning ads in public places. It would make our cities so much nicer to live in.

[–] kevincox@lemmy.ml 2 points 1 year ago (1 children)

You should look into DNS or maybe mDNS or even local DNS aliases.

view more: ‹ prev next ›