apt_install_coffee

joined 3 years ago
[–] apt_install_coffee@lemmy.ml 6 points 3 months ago

My cat will attempt to eat anything he thinks is intended to be food, so I have to wrestle him down. Be glad yours only sniffs.

[–] apt_install_coffee@lemmy.ml 3 points 3 months ago (1 children)

The line between what is a hack and what is basic performance optimisation is both subject to taste and use-case. Horses for courses, right?

[–] apt_install_coffee@lemmy.ml 2 points 3 months ago (1 children)

It does, I quite like mimalloc though I prefer to have programs compiled with their custom allocator rather than inserting them via LD_PRELOAD as I've found some issues when using it with programs like Firefox.

[–] apt_install_coffee@lemmy.ml 13 points 3 months ago (6 children)

Saying musl is preferable if speed is important is a bit...loaded. It's not always untrue, but it often is.

As a libc, musl has a much smaller footprint than glibc, so a computer which is short on memory capacity, memory bandwidth, or cache size could absolutely see a performance benefit. The flipside to this is that a lot of the 'bloat' in glibc are performance tricks including lots of architecture specific code.

As others have mentioned, the malloc implementation is less than ideal and can slow down highly threaded & memory intensive applications.

I work on a musl-based embedded distribution for my day-job, and also quite like using it personally for arm boards and my old ThinkPad. I wouldn't really use it for my workstation though.

As far as applications working with musl, it's not uncommon to see glibc-specific code which would need to be patched out of some applications (systemd comes to mind).

[–] apt_install_coffee@lemmy.ml 3 points 4 months ago

Start with a portable hard drive which only has one job "store a copy of your critical data".

  • move the drive as infrequently as possible, especially when it's turned on.
  • only ever write to it when you do your periodic backup.
  • only plug it in when you need to read from or write to it.

It's a paranoid set of rules, but if this data is critical, this is a good idea. Even better is to have an additional copy of that data in cloud storage.

As far as operating system, you absolutely can use a Linux machine, but learning a new system risks you accidentally deleting data so be careful. Linux has ways of reading windows-formatted hard drives, so as much as I prefer Linux, I would say don't try new things on the machine which hold critical data.

[–] apt_install_coffee@lemmy.ml 0 points 4 months ago* (last edited 4 months ago) (1 children)

What are your route & dns settings? I don't remember if tailscale forces all DNS queries to go via it's tunnel, but I remember that the mullvad client uses DNS hijacking to make sure the device uses the wireguard tunnel.

[–] apt_install_coffee@lemmy.ml 2 points 4 months ago* (last edited 4 months ago)

In the short (next couple lifetimes) term, the US will continue receding from different geopolitical arenas, followed by some political jostling to change that region's power balance.

As the empire shrinks, the politics of scarcity will become more pervasive, entrenching clientelism and mistrust in an already fairly low-trust society.

It's not a hot take to say that mask-off fascism is on the menu given how fascism-shaped the US is, but given how autocanibalistic this particular right wing wave is, I have no idea what to expect.

Don't know whether the new boss will be the same as the old boss; while India and China don't seem particularly empire-inclined, few countries do until they're the one with the biggest stick. Both have been drumming up nationalism internally for the last decade, so if they can't defuse it safely they'll point it at each other, to everybody's detriment.

[–] apt_install_coffee@lemmy.ml 2 points 4 months ago

I recommend starting with basic operations, like:

  • putting installed files in the right directory structure.
  • integrity checking.
  • archiving and compressing.

Decide whether your package manager is source-based, or if you're going to make some kind of binary distribution mechanism. Either way, you're going to need a process for configuring, compiling and installing packages from source.

I do recommend looking at how Pacman, & apt approach all this. There are also likely books on this topic.

Also recommend playing around with buildroot; not because it is a comprehensive package manager, but because it's inner workings are very transparent.

[–] apt_install_coffee@lemmy.ml 1 points 4 months ago (1 children)

Regarding the solution: does 1.4 work fine once you're in the OS?

[–] apt_install_coffee@lemmy.ml 4 points 4 months ago

Is this on a fresh install, or have you installed a Wayland DE on an existing distro? If so, you may be missing some packages. What DE are you using for both X and Wayland?

I'm surprised wlr-randr is missing a display that xrandr can see, they should be looking at the same place for the display info. If you hunt through dmesg do you see any errors related to "EDID"?

[–] apt_install_coffee@lemmy.ml 5 points 5 months ago

It's important to remember that the actions of the working class are primarily derived from their class interests, not because individuals are dicks. Humanizing even shitty individuals is an important part of persuading people away from thinking in terms of individual people and more about the dialectics of class.

[–] apt_install_coffee@lemmy.ml 10 points 6 months ago

Buy a second hand laptop or computer. Lots of companies sell off their tech shit after 3 years, and they have at least a good decade of use in them.

Look at what models are super popular second hand like ThinkPads; you'll be able to find replacement parts pretty easily.

view more: next ›