jeremias

joined 1 year ago
[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (2 children)

You will always need some sort of oom killer unless you have endless memory (or swap space, which comes with its own problems in the form of grinding your system to an almost halt). Imagine all memory is in use, then some system critical task (or even the kernel itself) needs memory as well. If the kernel can't kill a less important process to free memory in such a situation you might just crash your system.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago)

Hearing Snow by the Red Hot Chilli Peppers while my mom is folding clothes (thats a very specific one). I have no idea how old I was exactly but I remember it vividly. The funny thing is that I didn't understand a word of the song as german is my native language. Recently I stumbled across the song again and suddenly, as if steuck by lightning, I remembered this weird mundane situation as if it was yesterday. The human mind is so weird.

[–] [email protected] 8 points 3 months ago

and you can afford to lose everything in the case of a power cut

But ext4 is a journaling filesystem, so a power cut shouldn't harm it.

[–] [email protected] 1 points 4 months ago

I have no idea about apple design guidelines and am not a UX designer, but wouldn't a horizontal seperator look better? In gtk i would add one here, gives some extra space and more visual seperation.

[–] [email protected] 6 points 5 months ago

I was the same, but I recently gave zig a try, it's lovely to write.

Managed to segfault the compiler though, so maybe not quite ready yet.

[–] [email protected] 36 points 6 months ago

So I don't even use systemd myself I run OpenRC. Yet honestly I find the idea quite intriguing, having the service manager (PID 1) invoke the command seems like a cool idea to me.

It's not really a sudo alternative as much as it is another way of doing something similar.

[–] [email protected] 50 points 6 months ago* (last edited 6 months ago) (1 children)

BMW badge (because BMW drivers seem to have something against blinking)

[–] [email protected] 1 points 8 months ago

Alternatively you can launch sudo inside a terminal window. For example with xterm: xterm -e sudo [some command] [some arguments] [...] This will pop up a terminal window to type your password in.

Pretty sure almost all terminal emulators have a similar argument.

[–] [email protected] 2 points 8 months ago

I doubt my .at domains is going under, and if so I'll have bigger problems to worry about.

[–] [email protected] 3 points 8 months ago (1 children)

German Umlaute for you to copy paste:

ä ö ü

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (1 children)

I use a quartz64 from pine. Back when it came out it was beefier than the rpi4. With the 5 that has now changed but it still is a great little machine.

My instance runs on it aswell as my other webservices (A Homepage, cgit instance and a small blog). Handles everything really well with the 8GiB of RAM.

Setup is a bit of a pain, especially because I had the urge to run gentoo on it. Compile times are actually acceptable.

It costs 80 bucks, which is really acceptable.

Edit: Forgot to mention energy efficiancy, ARM is unbeaten by x86 in that department. People on here recommend old PCs a lot, which, depending on your local energy prices could quiet quickly void the savings made by buying it. Also it has a SATA port, which requires some tinkering with the Devicetree to get running but allowed me to use an old 1TB SSD i had in the house.

[–] [email protected] 14 points 9 months ago* (last edited 9 months ago) (6 children)

Also tiktok really only makes sense with a big algorithm knowing what users want to see. Even if you were to follow many people, with the average video being only about 30 seconds long you won't have much content to enjoy. The whole short form video thing is kinda built on knowing what your user likes and doesn't. I don't know how you could design such a platform without some privacy concerns.

1
[Swaybar] Cava in swaybar (social.jears.at)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Distro: Gentoo

WM: Sway

Bar: Swaybar

It seems swaybar gets very little love, but it is honestly amazing how easily customizable it is.

I have only been able to find similar things for waybar, so I thought I should probably just code up a solution for spectrum visualization myself.

In the background runs a little selfmade C program that uses cava in binary raw mode, playerctl, pactl and some system functions to gather all the necessary information like the spectrum analyzer, song currently playing, volume and date/time.

Some rudimentary optimization was done to keep swaybar from drawing when the levels haven't changed, so if no audio is playing it takes up basically no computing power.

The source code is pretty hacked together, but if someone wants it, just comment and I'll provide it.

~~A small moving demo of the spectrum analyzer: https://youtu.be/S7IFNHgnybU~~

Edit: turns out YouTube doesn't like weird aspect ratios and stopped processing the video, so here we go again, this time hosted on my server: https://jears.at/pub/swaybar-demo.webm https://jears.at/pub/swaybar-demo.webm

view more: next ›