jeremias

joined 1 year ago
[–] jeremias@social.jears.at 5 points 2 weeks ago* (last edited 2 weeks 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.

[–] jeremias@social.jears.at 5 points 4 weeks ago* (last edited 4 weeks 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.

[–] jeremias@social.jears.at 8 points 1 month 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.

[–] jeremias@social.jears.at 1 points 2 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.

[–] jeremias@social.jears.at 6 points 3 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.

[–] jeremias@social.jears.at 34 points 6 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.

 
[–] jeremias@social.jears.at 3 points 6 months ago (1 children)

German Umlaute for you to copy paste:

ä ö ü

[–] jeremias@social.jears.at 2 points 6 months ago* (last edited 6 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.

[–] jeremias@social.jears.at 11 points 7 months ago* (last edited 7 months ago) (4 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.

[–] jeremias@social.jears.at 9 points 7 months ago (3 children)

IIRC it comes with a firmware called InfiniTime preinstalled. So I guess that one.

[–] jeremias@social.jears.at 33 points 8 months ago* (last edited 8 months ago) (2 children)

Karma inherently breeds monotony and circlejerking. When people "farm" for fake internet pointe by appealing to the oppinions of everyone else it leads to people just expressing one "right" (popular) oppinion.

I think we are fine without a karma system, but if you like it go ahead and use the extension. I'm happy I don't have to worry about karma, and worst of all, karma minimums on communities here.

[–] jeremias@social.jears.at 2 points 8 months ago

It's perfect for Sheldon Cooper!

38
[Swaybar] Cava in swaybar (social.jears.at)
submitted 8 months ago* (last edited 8 months ago) by jeremias@social.jears.at to c/unixporn@lemmy.ml
 

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 ›