[-] anzo@programming.dev 1 points 2 days ago

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..!

[-] anzo@programming.dev 1 points 2 days ago

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..!

[-] anzo@programming.dev 1 points 3 days ago

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.

[-] anzo@programming.dev 2 points 3 days ago

Etesync maybe?

[-] anzo@programming.dev 1 points 3 days ago

Locking, since it's a duplicate from last week... https://programming.dev/post/16349345

[-] anzo@programming.dev 1 points 3 days ago

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!

[-] anzo@programming.dev 5 points 4 days ago

IMDb is biased towards production of their owners (Amazon). I prefer tmdb.org

[-] anzo@programming.dev 4 points 4 days ago

The risk is having a high frequency of partners and anal sex (passive or active) without condoms. That can very well be the case of an heterosexual male. A lucky one, by the way.

[-] anzo@programming.dev 3 points 4 days ago

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..!

[-] anzo@programming.dev 9 points 6 days ago

Very informative nonetheless! Thanks for your comment. Today I learnt more about these generations classification that seems to be everywhere.

[-] anzo@programming.dev 5 points 6 days ago

Ah. I was speaking of planet earth, the world is big. Americans may have their trends. Similarly, between the different states you might see trends that are masked over when taking numbers "globally".

[-] anzo@programming.dev 15 points 6 days ago

I never understood the generation's gap. Are there people of a certain age more frequent? Instead, I believe humans reproduce more or less at a yearly constant rate. I understand that having the categories are meaningful for many but to me it's a 'double-dipping' statistical flaw.

86

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

Heh

58

cross-posted from: https://lemm.ee/post/33840999

YAMS: Download music from Qobuz, Tidal, Spotify, Apple Music, Deezer, Youtube.

39

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

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

116

cross-posted from: https://lemmy.dbzer0.com/post/21328454

PGSub - A Giant Archive of Subtitles For Everyone

I've been working on this subtitle archive project for some time. It is a Postgres database along with a CLI and API application allowing you to easily extract the subs you want. It is primarily intended for encoders or people with large libraries, but anyone can use it!

PGSub is composed from three dumps:

  • opensubtitles.org.Actually.Open.Edition.2022.07.25
  • Subscene V2 (prior to shutdown)
  • Gnome's Hut of Subs (as of 2024-04)

As such, it is a good resource for films and series up to around 2022.

Some stats (copied from README):

  • Out of 9,503,730 files originally obtained from dumps, 9,500,355 (99.96%) were inserted into the database.
  • Out of the 9,500,355 inserted, 8,389,369 (88.31%) are matched with a film or series.
  • There are 154,737 unique films or series represented, though note the lines get a bit hazy when considering TV movies, specials, and so forth. 133,780 are films, 20,957 are series.
  • 93 languages are represented, with a special '00' language indicating a .mks file with multiple languages present.
  • 55% of matched items have a FPS value present.

Once imported, the recommended way to access it is via the CLI application. The CLI and API can be compiled on Windows and Linux (and maybe Mac), and there also pre-built binaries available.

The database dump is distributed via torrent (if it doesn't work for you, let me know), which you can find in the repo. It is ~243 GiB compressed, and uses a little under 300 GiB of table space once imported.

For a limited time I will devote some resources to bug-fixing the applications, or perhaps adding some small QoL improvements. But, of course, you can always fork them or make or own if they don't suit you.

28

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

Deceleration: Notes on anarchism and degrowth

31

cross-posted from: https://lemmy.ml/post/15808940

Tribler *arr integration

Hey selfhosters!

I recently discovered Tribler - anonymity focus torrent client. It made some rounds on hackernews and I'd never heard of it before.

I installed gui and was not impressed - it ran terribly on macos. However, I was able to test download and its anonymity features - it uses TOR inspired onion routing. I saw they had API available - and thought it would be perfect for my selfhosted *arr stack usage. However, *arr apps did not integrate tribler API (understandably, it's a niche client)

I dug in a bit and thought it would not be so difficult to create a shim that pretends to be some better integrated torrent client.

I picked qbittorrent.

You can check the link. I run it in docker. Add it to sonarr / radarr as qbittorrent client (username and password is irrelevant, as tribler shim integrates with tribler through API key) It's not the most secure approach - but managing torrents wihout authentication in my home network is an acceptable risk.

I was not able to download anything with more than 1 hops in between - ie it does hide your real IP address, but only uses one relay in between. It's not perfect, but seems to work as designed. I run my services mostly in Kubernetes, so there's likely something in my networking that. I will poke around more to see what could be the issue.

For now, the torrent management works through arr apps using the shim, however, the category is not implemented. Therefore, you can only use one category for both sonarr and radarr for example, and you will see downloads of both of those.

170
Best ship ever! (lemmy.world)

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

Aarrr

4 panel comic by War and Peas. 1. Panel shows two pirates, the first pirate speaks "Captain, our rivals have been calling us names again." 2. Panel: The pirate continues, "They said we were a bunch of handicaps." 3. Panel: The captain himself says, "That's ableism! And we don't tolerate that kind of talk here". 4.Panel: The ship in full from afar waving a bunch of flags, such as the pride flag, the pirate skull-and-crossbones, the human rights flag, the trans flag and more.

16
submitted 1 month ago by anzo@programming.dev to c/foss@beehaw.org
232

cross-posted from: https://lemmy.ml/post/15676759

Chinese doctors treated an end-stage type 2 diabetic patient by implanting islet tissue derived in vitro from his own endoderm stem cells. The patient has been insulin-independent for 33 months.

12

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

18

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

150
Pdf partee (mander.xyz)

cross-posted from: https://mander.xyz/post/12815136

Pdf partee

view more: ‹ prev next ›

anzo

joined 1 year ago
MODERATOR OF