Skip Navigation

Posts
1
Comments
32
Joined
2 yr. ago

  • Plot twist: The handed fishes are highly contained with inorganic arsenic, and they're trying to kill humans with more sophisticated methods.

  • jmpd(jump directory): fuzzy finds and opens directory with fzf

     bash
        
    # fish shell
    function jmpd
        set _selection $(fzf --walker=dir);
        if test -n "$_selection"
            cd "$_selection";
        end
    end
    
      
  • The worst part is, international laws and conventions are basically means nothing at this point. US actions simply incentivizes more countries to get mass-destruction weapons.

    • Does US call you as 51. state? Get a nuke.
    • Does US want to invade your island? Get a nuke.
    • Does US want to airstrike your country? Get a nuke.
    • Does US government officials breach your constitutional rights? Maybe consider owning a mini-nuke.

    Thanks to these maniacs, Kim Jong Un now seems to be wisest person on the earth...

  • Biggest one: Aldnoah Zero

    Some potential contenders are: The Detective Is Already Dead, Akame ga Kill, and Shield Hero.

  • Whenever I see the name of Aldnoah Zero, certain part of my unconscious memory unlocks and I get angry because of the season 2.

  • UPS input load

    Jump
  • I don't think its rpi or network switch, unless you've overclocked rpi with liquid nitrogen 😅. So, I assume its TrueNas device.

    If it were a significant power difference, say 20-30 watts, you could easily find the process using htop/iotop. However, 6 watt difference is a relatively small value for a device with ~25 watts of idle power . It might be a process using just 1% system resources. That's why I would look for systemd timers, cronjobs etc. to find scheduled tasks on specific times. Another possibility is automated S.M.A.R.T. self-tests. Those tests don't show up in htop or iotop.

  • LinkedIn.

    Imagine Twitter and Facebook teaming up for a Dragon Ball style fusion, turning into this cringe fake business guru with a Ghibli style profile picture, spitting out AI generated posts and running impression based non-sense polls.

  • UPS input load

    Jump
  • UPS devices normally uses wall (input) power, and switches to battery when input voltage is out of the target thresholds. So, input.load should represent the percentage of current wall power (in VA) relative to UPS's max rated input power (VA). If your devices uses more power, input power from wall should increase as well.

    If it's peaking in certain times, it could be due some scheduled job temporarily increase CPU frequency, or automated tasks like file system snapshot might power-up/spin drives longer than regular usage.

    • 2x18k - mirrored ZFS pool.
    • 1x47k - 2.5" drive from an old laptop used for torrents, temp data, non-critical pod volumes, application logs etc.
    • 1x32k - automated backups from ZFS pool. It's kinda partial mirror of the main pool.
    • 1x18k - (NVME) OS drive, cache volumes for pods.

    Instead of single pool, I simply split my drives into tiers: cache, storage, and trash due to limited drive counts. Most R/W goes to the cheap trash and cache disks instead of relatively new and expensive NAS drives.

  • I think it's not PIxel only issue. Some Samsung S series devices also suffer from the same screen green tint issue.

  • I'm currently using InfluxDB + Telegraf + Grafana combination to monitor Linux systems and k3s pods. It's basically same as Prometheus, but InfluxDB uses push model, which makes it easier to develop tools for collecting custom time series data.

    For alerts and dashboards, I think Grafana is the simplest and most hassle free solution available at the moment.

  • I have a APC Back-UPS 1600VA. It powers two desktop PC/Server, a monitor, and router. So far, it gets the job done.

    The biggest downside is; battery is not user replaceable, at least it's not straight forward like the other models. If possible, prefer a UPS with the easy battery replacement option.

  • Road to success (2024 AI Hype Edition):

    1. Clone VSCode.
    2. Rename it as LSCode, squash all history, and create some random commits with --author="Linus Torvalds <torvalds@linux-foundation.org>".
    3. Add a character AI that calls your code garbage.
    4. Profit.
  • 'Soon' is a questionable claim from a CEO who sells AI services and GPU instances. A single faulty update caused worldwide down time recently. Now, imagine all infrastructure is written with today's LLMs - which are sometimes hallucinate so bad, they claim 'C' in CRC-32C stands for 'Cool'.

    I wish we could also add a "Do not hallucinate" prompt to some CEOs.

  • DuckDuckGo also uses Bing under the hood.

  • I was a backend developer for a startup company where:

    • Windows servers without any firewall and security hardening.
    • Docker swarm without WSL. We had to use 4 GB Windows base images for 50MB web apps.
    • MSSQL without any replication and backups.
    • Redis installed on Windows via 3rd-party tool that looked like a 2010 era keygen generator.
    • A malware exploited the Redis * what a surprise * and kept killing processes to mine crypto on CPU...
    • VPS provider forgot to activate new Windows Server on production and it kept restart for every 30 minutes until I checked the logs and notified them about the missing license.

    I left there after 6 months.

  • GitHub constantly becomes more bloated, clunky and privacy/license concerning AI BS. It almost feels like using 2010 TFS server with git flavor. Unfortunately, It has a huge user base and it's hard to incentivize people to use other platforms.

    It's easier for well-established projects to host their own git infrastructure. But for new projects and solo developer, it harder to get interaction on other platforms. I think that's why even Gitea team uses GitHub as a main location for development. Similarly, I still mirror my public repositories to GitHub for the same reasons even though I prefer using my own Gitea server.

  • Biggest difference is being able to execute INSTCMD commands, at least that was the main reason why I developed my own tool. Another less important differences are: older ARM support and since it's written in Rust, it's much more efficient in terms of resource usage. TBH, being that efficient only makes sense for very low-power devices.

    Besides that, I don't think you can go wrong with either project.

  • Selfhosted @lemmy.world

    nut_webgui v0.3.1, Light-weight NUT web GUI