avidamoeba

joined 1 year ago
[–] [email protected] 1 points 2 days ago

I see. Makes sense.

[–] [email protected] 1 points 2 days ago (2 children)

If you need to serve only one user at the time, ollama +Webui works great. If you need multiple users at the same time, check out vLLM.

Why can't it serve multiple users? Open Web UI seems to support multiple users.

[–] [email protected] 115 points 2 days ago* (last edited 2 days ago) (2 children)

This is the right way to optimize performance. Write everything in a decent higher level language, to achieve good maintainability. Then profile for hotspots, separate them in well defined modules and optimize the shit out of them, even if it takes assembly inlining. The ugly stays its own box and you don't spend time optimizing stuff that doesn't need optimization.

[–] [email protected] 9 points 1 week ago* (last edited 1 week ago)

While not entirely wrong, I'd take anything out of free market fundamentalists mouths like the ones at Mises with a gain of salt.

[–] [email protected] 7 points 1 week ago

They're separate. You can treat them as alternative subs.

When I read, I subscribe to all alternatives on a topic I care about - e.g. Android. Then browsing the Subscribed fees would show me posts from all of them.

When I post, I check their user/month count in order to decide which one to post to. If I'm posting something important, I'd cross post it to the others, just like people do to similar alternative subreddits.

[–] [email protected] 8 points 1 week ago

Not noticeable with always-on Tailscale with the default split-tunnel mode. That is when Tailscale is only used to access Tailscale machines and everything else is routed via the default route.

[–] [email protected] 3 points 1 week ago

Google's fine. They're using ARM cores that are built on Samsung's shittier manufacturing process. Next year they're going TSMC which should improve power consumption dramatically. The lauded Dimensity 4000 also uses ARM cores, just newer and built on TSMC's process. By the same token, newer Google SoCs should experience similar performance as they update the cores and manufacturing.

[–] [email protected] 4 points 1 week ago

The parent asked how do you define at all. What I wrote is just the dumbest way which demonstrates how it can be done. This dumb solution holds up even in your scenario because new media doesn't gain significant user base every other year. If the list is outdated, containing Facebook and Instagram alone, that would still capture a huge part of the problem already. You can probably figure a slightly less dumb alternative that wouldn't require amendments just to add another platform. Folks talking about the impossibility of defining something or implementing something in law often ignore obvious solutions, existing working processes, and present this false dichotomy of a perfect solution vs impossible to solve. Sometimes it's a matter of ignorance, other times it's driven by (conscious or subconscious) libertarian beliefs.

[–] [email protected] 8 points 2 weeks ago (2 children)

Here's one way to do it. The legislators define a list. Products in the list are social media. The list is referenced in the law.

[–] [email protected] 39 points 2 weeks ago

Alternative Title: "Bluesky happy to use the standard playbook so long as there's still bozos willing to contribute free labor for their profit."

TFTFY

[–] [email protected] 1 points 2 weeks ago

That's funny but I'm not gonna argue on it. It's easier to give another example. If you want to get informed try finding laws that depend on firm size and be convinced if you do.

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Wrong as in not sound. An argument can be valid assuming its assumptions are true. The argument is the model, which really is a set of arguments. Its assumptions which are taken axiomatically are as you say impossible, therefore they are not true (which I called wrong). So the argument is not sound. I'm not saying anything different than what you said really, just used informal language. ☺️

 

It's fairly obvious why stopping a service while backing it up makes sense. Imagine backing up Immich while it's running. You start the backup, db is backed up, now image assets are being copied. That could take an hour. While the assets are being backed up, a new image is uploaded. The live database knows about it but the one you've backed up doesn't. Then your backup process reaches the new image asset and it copies it. If you restore this backup, Immich will contain an asset that isn't known by the database. In order to avoid scenarios like this, you'd stop Immich while the backup is running.

Now consider a system that can do instant snapshots like ZFS or LVM. Immich is running, you stop it, take a snapshot, then restart it. Then you backup Immich from the snapshot while Immich is running. This should reduce the downtime needed to the time it takes to do the snapshot. The state of Immich data in the snapshot should be equivalent to backing up a stopped Immich instance.

Now consider a case like above without stopping Immich while taking the snapshot. In theory the data you're backing up should represent the complete state of Immich at a point in time eliminating the possibility of divergent data between databases and assets. It would however represent the state of a live Immich instance. E.g. lock files, etc. Wouldn't restoring from such a backup be equivalent to kill -9 or pulling the cable and restarting the service? If a service can recover from a cable pull, is it reasonable to consider it should recover from restoring from a snapshot taken while live? If so, is there much point to stopping services during snapshots?

90
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Have some new old stock SATA drives vomiting at you?

[  234.811385] ata1.00: status: { DRDY }
[  234.811392] ata1: hard resetting link
[  240.139340] ata1: link is slow to respond, please be patient (ready=0)
[  244.855349] ata1: COMRESET failed (errno=-16)
[  244.855375] ata1: hard resetting link
[  250.199443] ata1: link is slow to respond, please be patient (ready=0)
[  254.875508] ata1: COMRESET failed (errno=-16)
[  254.875533] ata1: hard resetting link
[  260.211562] ata1: link is slow to respond, please be patient (ready=0)
[  289.919779] ata1: COMRESET failed (errno=-16)
[  289.919810] ata1: limiting SATA link speed to 3.0 Gbps
[  289.919816] ata1: hard resetting link
[  294.963876] ata1: COMRESET failed (errno=-16)
[  294.963904] ata1: reset failed, giving up
[  294.963909] ata1.00: disable device

Grab your contact cleaner and clean their SATA connectors!

I just bought a new 1TB Crucial MX500 made in god knows what year and installed it in a virgin SATA port of a M710q made in 2016 and I got the vomit you see above every time I loaded the drive. Reseated all the connectors. More vomit. Scratched my head a couple of times reaching for the trash bin and I had a brainwave that there might be oxidation from sitting naked with the elements. Took out the DeoxIt Gold, dabbed all the connectors on the SATA path, cycled them a few times, powered on and loaded the drive. No more vomit.

 

Since a few folks seem unaware of this, I'm posting anew for visibility.

24
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

The backup doc from Immich states that one should use Postgres' dump functionality to backup the database, as well as copy the upload location.

Is there any counter indication to doing this instead:

  • Create a dir immich with subdirs db and library
  • Mount the db dir as a volume for the database
  • Mount the library dir as a volume for the upload location
  • Backup the whole immich dir without dumping the Postgres db. (Stop Immich while before doing this)
51
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

I'm trying to decide how to import my Google Photos Takeout backup. I see two general ways:

  • Import it by uploading it to Immich (immich-go, etc.)
  • Add it as an External library

Has anyone done it one way or the other? Any recommendation, pros/cons or gotchas?

 

I can't believe some of the points Linus made against the Fairphone, especially given he's onboard with the same compromises for the Framework laptop. 🤭

20
Second hand disks? (www.ebay.ca)
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

What do you think about buying second hand disks and using higher redundancy?

For example 4x 16TB in RAIDz2? Is anyone using something like that? How's it performing, reliability-wise?

E: Thanks all for the opinions and information!

55
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Is there an open source package that the Internet Archive runs? What is it? I assume sites like archive.is run the same. I'd like to know if I can also run it for self-hosted archiving.

 

cross-posted from: https://flipboard.video/videos/watch/b04f64e0-79a5-491a-876f-85e4eca19ab6

There was a time where people couldn’t email each other unless they were using the same email client. That changed when developers came up with a protocol that made it so it didn’t matter if you were using AOL, CompuServe or Prodigy — it just worked. > > The same analogy explains how things work in the Fediverse, an open-source system of interconnected, interoperable social networks. The Fediverse is powered by a protocol called ActivityPub, which provides an API for creating, updating and deleting content across several platforms. > > What does ActivityPub unlock for product builders and tech entrepreneurs? How will social networks without walled gardens change our relationship to content and to each other? Why does any of this matter? > > All that’s covered in this episode of Dot Social, a podcast about the world of decentralized social media, aka the Fediverse. Each episode, host (and Flipboard co-founder and CEO) Mike McCue talks to a leader in this movement; someone who sees the Fediverse’s tremendous potential and understands that this could be the internet’s next wave. Mike is a true believer in the open social web and what it will unlock for how we connect, communicate and innovate online. > > In this episode, Mike talks to Evan Prodromou, one of the co-authors of ActivityPub. Evan is a long-time entrepreneur, technologist and advocate of open source software. He’s also the Director of Open Technology at the Open Earth Foundation.

 

cross-posted from: https://flipboard.video/videos/watch/b04f64e0-79a5-491a-876f-85e4eca19ab6

There was a time where people couldn’t email each other unless they were using the same email client. That changed when developers came up with a protocol that made it so it didn’t matter if you were using AOL, CompuServe or Prodigy — it just worked. > > The same analogy explains how things work in the Fediverse, an open-source system of interconnected, interoperable social networks. The Fediverse is powered by a protocol called ActivityPub, which provides an API for creating, updating and deleting content across several platforms. > > What does ActivityPub unlock for product builders and tech entrepreneurs? How will social networks without walled gardens change our relationship to content and to each other? Why does any of this matter? > > All that’s covered in this episode of Dot Social, a podcast about the world of decentralized social media, aka the Fediverse. Each episode, host (and Flipboard co-founder and CEO) Mike McCue talks to a leader in this movement; someone who sees the Fediverse’s tremendous potential and understands that this could be the internet’s next wave. Mike is a true believer in the open social web and what it will unlock for how we connect, communicate and innovate online. > > In this episode, Mike talks to Evan Prodromou, one of the co-authors of ActivityPub. Evan is a long-time entrepreneur, technologist and advocate of open source software. He’s also the Director of Open Technology at the Open Earth Foundation.

view more: next ›