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 2 months ago* (last edited 2 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 struck 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] 0 points 8 months ago (1 children)

Hey LKW fahrer hier, mach gerade meine 45 Minuten Pause (-;

LKWs haben zwar tote Winkel Spiegel und ich muss sagen dass ich darin eigentlich bis jetzt immer alles sehen konnte (fahre erst seit ein paar Wochen), aber rechts habe ich 4 Spiegel, da geht schnell mal was unter oder man wird (leider) faul, so wie manche PKW Fahrer keinen Schulterblick machen. Habe bei meinen Einschulungsfahrten Fahrer gesehen, die garnicht erst in die Spiegel geschaut haben beim abbiegen. Der Warner in den LKWs meiner Firma piepst automatisch wenn er bei eingeschlagenem Lenkrad oder Blinker was erkennt, so ist man zumindest aufmerksam wenn doch mal etwas rechts neben dem Auto ist.

Tote Winkel gibt es aber zumindest auf jeden fall direkt hinter dem LKW, da gibts auch keine Spiegel für. Wundert mich manchmal selbst wenn aus dem nichts ein Auto zum überholen ansetzt das ich hinter mir garnicht kommen sehen konnte.

Sonst ist eigentlich alles gut durch Spiegel abgedeckt. Trotzdem bitte vorsicht rechts neben und direkt vorm LKW. Kein Fahrer fährt euch gerne an.

[–] [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] 0 points 8 months ago* (last edited 8 months ago)

In München könnt i ma wahrscheinlich ned mal an Karton am Straßenrand leistn ;)

[–] [email protected] 0 points 8 months ago (2 children)

Normalerweis trink i Augustiner, kriegts in Österreich aber nur in den großen Geschäften. Zipfer is von den Brauunion Bieren mMn. eh noch eines der besseren.

1
ich🍺🍨iel (social.jears.at)
 
[–] [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.

0
[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 ›