Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AN
adr1an @programming.dev
Posts 58
Comments 407
Nginx 502, ssh not working.
  • 502 means the app is broken. For example, if it were Flask python, it would be raising an exception (e.g. divide by zero). If this is happening to many services or apps simultaneously, it is concerning. Turning it off sounds wise at this point.

  • What we learned about social transformations to sustainability from a decade of transdisciplinary research
  • I couldn't find 1 mention to a community, or a project. So much text in the web or the PDFs for what? I'd have loved to see anything, like a device to measure contamination in water. Anyway, I guess that's how it is with blind science powered by savior complex. Sorry to be flaming this post, it angries me. Can anyone mention one such example of enriching or addressed needs for a community?

  • There's no escape I guess, I'm aware of why I'm miserable... but still sucks.
  • Do you work? Or, do you have any hobbies? Any activities AFK and/ or putting you in relation to other people might stop the isolation downward spiral... Force yourself, it can be anything, start with few hours per week. Life won't change for you if you never leave your room. Of course, you can still spend some time there as you wish with any entertainment. Good luck.

  • www.theguardian.com ‘Frog saunas’ could save species from deadly fungal disease, study finds

    Australian scientists create brick refuges in greenhouses to help green and golden bell frogs survive infection

    ‘Frog saunas’ could save species from deadly fungal disease, study finds

    cross-posted from: https://sh.itjust.works/post/22143150

    3

    Troublemakers

    cross-posted from: https://slrpnk.net/post/11336865

    13
    [Weekly thread] GNU+Linux help: ask anything!
  • Oh. If you have systemd, you have udev. Then, you want to do the opposite to https://wiki.archlinux.org/title/Udev#Waking_from_suspend_with_USB_device (see last block in the section, tells you to add that content to the rule 50-*, switches to "enabled" simply put "disabled" instead). Sorry for linking to advanced docs. Hope you can make it and it really work out! Another option would be trying to install powertop, it has many switches but it's graphical and iirc had something to turn USB off... This approach would be more of a last resort, it's a bit of a hack to address your needs. Dunno if it would really work..!

  • [Weekly thread] GNU+Linux help: ask anything!
  • Interesting! After a search, I can say that apparently you need to config the "file" /proc/acpi/wakeup. However, some claimed the change wouldn't persist (makes sense to me). I wonder if there's a distro specific setting for this... Else, you'd need to write some script for init.d or systemd..!

  • Is it worth upgrading my PC for running LLMs?
  • Have you tried ollama ? Some (if not all) models would do inference just fine with your current specs. Of course, it all depends on how many queries per unit of time you need. And if you wanted to load a huge codebase and pass it as input. Anyway, go try out.

  • The Code
  • Oh, government email domain would scare anyone off. It's as bad as a "fbi.com" address. I doubt the permission is really there as the post says, what I have seen is the contrary. Anyway, try with a regular email address. If you want, as background story, say you're a student in a third-world country. That's how I lived before Sci-Hub (via VPN) and it worked out most of the time (e.g. ~75% success rate).

  • SSDs with 1000-layer memory chips expected in 2027: ultra-fast 20TB NVMe drives for $250
  • AFAIK power consumption increases with size on SSDs. And that's not the case with spinning disks. That's what I tried to point out, from the perspective of hoarding data (idle disks) bigger sizes are not something to be pursued. Then of course there's the use case of needing a high volume fast storage (e.g. zfs cache), for which use case these are great!

  • TMDB — The Movie Database

    www.themoviedb.org About TMDB — The Movie Database (TMDB)

    The Movie Database (TMDB) is a popular, user editable database for movies and TV shows.

    It just crossed my mind that some people may not know it. It's a great resource (imho). Other platforms have fake reviews or ratings because of rea$ons ;) this one, so far, seems exempt of such biases (thankfully!)

    4
    tup - open source self-hosted tunnel proxy
  • Providing links like this on a forum sounds like a trap, it's sad that you got so many downvotes for the lack of explanation (as given in comments).

    A few more questions remain... Why did you program this? As in, how is this different or better than the alternatives?

    There are so many! IMHO that's a problem, as a user I don't know how to decide..!

  • Studie: Unlautere hochrangige Beamte in China verdienen die acht- bis vierzehnfache Summe ihres regulären Gehalts durch Korruption
  • schau uns an, wie die beiden Spidermans, die im Meme aufeinander zeigen. Um ehrlich zu sein, da hast du mich erwischt. Ich wollte die chinesische Regierung nicht entschuldigen. Ich hatte jedoch das Gefühl, dass der Artikel reine Propaganda ist. In den Artikeln, die ich über Korruption in der EU gesehen habe, ging es um Aufträge in Millionenhöhe. Natürlich wurden sie in einigen Fällen von chinesischen oder russischen Spionen bezahlt. Aber es gab auch Araber, die Ölbohranlagen und dergleichen besaßen. Ich war also aufrichtig neugierig.

  • This may be my favorite CLI tool ever - TypeCraft
  • I like the interactive mode. The repo's readme lists other differences. And, you can have a drop-in replacement, simply add a bash script file named fzf in $PATH, write /usr/bin/sk "$@" and it works for any downstream tools that require fzf (e.g. a vim plugin)

  • Open Source Housing

    cross-posted from: https://lemmy.world/post/17369469

    > Derek Sherrell shows a low cost, open source house that he built in 90 days. He is giving away the plans for free for anyone who wants to build their own. > > Open source is a wonderful concept that should be applied to everything, not just software.

    1

    Get the BBS Scene Vibes back with Neon Modem Overdrive (lemmy client)

    xn--gckvb8fzb.com Get the BBS Scene Vibes back with Neon Modem Overdrive

    Miss the internet from the 80s? Want to (re-)experience BBS scene vibes but still participate in today’s conversations? Then Neon Modem Overdrive is for you!

    Get the BBS Scene Vibes back with Neon Modem Overdrive

    cross-posted from: https://lemmy.world/post/17127944

    0
    hard-drive.net Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

    STOCKHOLM — An internet hero was finally awarded for their work this week as the Swedish Academy has announced they will be giving the Nobel…

    Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

    cross-posted from: https://sopuli.xyz/post/14056585

    10

    And that's why I love linux, to keep using old hardware

    cross-posted from: https://floss.social/users/be4foss/statuses/112638603664718053

    > MacBook Air owner? > > MacBook Air owner? > > 2018/2019 models are losing #Apple support. > > https://arstechnica.com/gadgets/2024/06/the-case-for-and-against-macos-15-sequoia-being-the-final-release-for-intel-macs/ > > \#OptGreen with #GNU/#Linux to keep your device in use! These machines will run beautifully for many years to come. > > Not only wallet friendly, #upcycling keeps CO2 emissions out of the atmosphere. Ca. 75% of Apple's emissions comes from production alone (details in alt text). > > Sustainable, independent #FreeSoftware: Better for users, best for the #environment. > > @kde > > \#KDE #KDEEco #FOSS #OpenSource #MacBook

    3

    Do you take the train to travel to other countries? (By Night)

    back-on-track.eu Night Train Map 2024 – Back on Track Europe

    We bring the night trains back on track! Plan your next trip with our comprehensive night train map.

    Night Train Map 2024 – Back on Track Europe

    The other post made me remember this website that I found interesting, specially for those needing to cut costs ;)

    20

    (Physics meme but oh well)

    cross-posted from: https://sh.itjust.works/post/8578075

    > Heh

    3

    Mutual Aid: A Factor of Evolution by Pëtr Kropotkin

    theanarchistlibrary.org Mutual Aid

    Pëtr Kropotkin Mutual Aid A Factor of Evolution 1902

    Mutual Aid

    cross-posted from: https://slrpnk.net/post/10182171

    > Mutual Aid: A Factor of Evolution by Pëtr Kropotkin

    1

    Deceleration: Notes on anarchism and degrowth

    freedomnews.org.uk Deceleration: Notes on anarchism and degrowth - Freedom News

    Capital is tearing at its seams and new insurrectional and revolutionary waves are emerging; it is now that anarchism can find a powerful ally in certain sectors of degrowth

    Deceleration: Notes on anarchism and degrowth - Freedom News

    cross-posted from: https://lemmy.blahaj.zone/post/12660948

    > Deceleration: Notes on anarchism and degrowth

    1

    Cockpit shows some PCP metrics but Grafana is nicer and better suited for time-series data.

    1
    klarasystems.com ZFS High Availability with Asynchronous Replication and zrep

    Explore how the 'zfs send' and 'receive' commands enable efficient data synchronization for high-availability storage services, ensuring quick, reliable failovers between replica systems with up-to-date incremental changes.

    ZFS High Availability with Asynchronous Replication and zrep

    Describes the zrep script that uses zfs send and receive over network to keep a read-only copy of snapshots up-to-date.

    6

    This is clever. But in a way, it's also shifting the environmental impact from these bottle caps. I can't imagine under which conditions the birds' may be a problem (e.g. getting too much food). Maybe someone with better knowledge on these species can tell if there could be a downside (no matter how improbable, just the risk of X). Such risk may include the interaction through second or third organisms (e.g. lack of seed spread, abundance of parasitic prokaryotr, etc.)

    Biological question aside, anyway... This is so cool! I'd like to try building one myself ;)

    12
    meshtastic.org Meshtastic

    An open source, off-grid, decentralized, mesh network built to run on affordable, low-power devices

    Meshtastic
    6

    Handling large bursts of POST requests to your ActivityPub inbox, using a buffer in Nginx

    join.piefed.social Handling large bursts of POST requests to your ActivityPub inbox, using a buffer in Nginx - PieFed

    Fediverse traffic is pretty bursty and sometimes there will be a large backlog of Activities to send to your server, each of which involves a POST. This can hammer your instance and overwhelm the backend’s ability to keep up. Nginx provides a rate-limiting function which can accept POSTs at full spe...

    cross-posted from: https://piefed.social/post/89462

    > Handling large bursts of POST requests to your ActivityPub inbox, using a buffer in Nginx > > Fediverse traffic is pretty bursty and sometimes there will be a large backlog of Activities to send to your server, each of which involves a POST. This can hammer your instance and overwhelm the backend’s ability to keep up. Nginx provides a rate-limiting function which can accept POSTs at full speed and proxy them slowly through to your backend at whatever rate you specify.

    2