Skip Navigation
Andries Brouwer on the OOM killer
  • 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.

  • What is the earliest memory that you have?
  • 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.

  • ich_iel
  • Nur noch dieses Monat, dann bin ich zurück in meinem alten 9 bis 17. Echt respekt an alle die das Langfristig machen, habe jetzt nicht mal ein Jahr Schichtdienst gemacht und fühle mich 10 Jahre älter. Habe gedacht ich bin 20, da geht das noch, aber ehrlich, das Geld ist es nicht wert.

  • ich🪟🚫🧠iel
  • Ich benutze Eselspinguin bei dem Weg.

  • EXT4 Has A Very Nice Performance Optimization For Linux 6.11 (Phoronix)
  • 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.

  • GNOME June 2024: C'mon you can do better
  • 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.

  • Switching to OCaml bois
  • 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.

  • Systemd wants to expand to include a sudo replacement
  • 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.

  • When your blinkers stop working, adapt and overcome!
  • BMW badge (because BMW drivers seem to have something against blinking)

  • Help with Openbox menu to run command
  • 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.

  • Taliban Shuts Down 'queer.af' Domain, Breaking Mastodon Instance
  • I doubt my .at domains is going under, and if so I'll have bigger problems to worry about.

  • I need a Fediverse slogan
  • German Umlaute for you to copy paste:

    ä ö ü

  • RPi Alternatives for Self-hosting
  • 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.

  • What Major Social Media Platforms Would You Like To See Federated Alternatives To That Don't Exist Yet?
  • 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.

  • Fitbit Clock Face
  • IIRC it comes with a firmware called InfiniTime preinstalled. So I guess that one.

  • I had no idea you could just do that
  • I think I got everyone. Refelctions are my enemy now but here you go:

    Startet filming in portrait for some reason, tried my best to make the transition make somwhat smooth.

    Anyway my filming is beyond saving (:

  • I had no idea you could just do that
  • I had the absolute pleasure to sit in BOTH of these Panthers at Innsbruck airport last year.

    They even startet the engines and drove out of the hangar with us inside and gave us a little water salute. Absolute pleasure, I felt like a little kid!

    I do have a video of the spray, sadly there were many people around and I don't want to show their faces. Needless to say these things shoot water like a rocket!

  • Bring Karma back from reddit (if you want, no hard feelings pls), but without toxicity (maybe)!
  • 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.

  • This app lets restaurants and coffee shops charge to use the bathroom
  • It's perfect for Sheldon Cooper!

  • What You're acc to your fav language
  • Never worked with nim or godot, but it is able to call c routines? So I guess you would be able to call to gdnative?

    Likely isn't gonna be beatifull, but it should work.

  • Unixporn @lemmy.ml Jears @social.jears.at
    [Swaybar] Cava in swaybar

    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

    3
    jeremias Jears @social.jears.at
    Posts 1
    Comments 34