[-] [email protected] 8 points 7 months ago* (last edited 7 months ago)

A couple of options in my opinion, as I just did this myself:

You can use the CLI tool to "upload" them. You can even do this from the server itself. So upload times would be as fast as your network card can process or however fast your server is, whichever is slower. It does require that you create an API key for the user in question though.

Otherwise you can create an external library and link that to your account. Now Immich will still index this library but it won't move or manage the actual files. I'm not sure though if it looks at those files for duplicates (i.e. if you try and upload the same photo from your phone to the server). This external library will also prevent deleting photos as well, FYI.

There might be other options that I'm not aware of, as I've only been using Immich for about a month now.

Edit: link to the CLI documentation: https://immich.app/docs/features/command-line-interface/

[-] [email protected] 8 points 1 year ago

Yep that's the new idea. The sad part is that with this method there's no way to get historical data. Only new posts. So if a server goes down, gets DDOSd etc... I'll lose posts forever.

Also building an ActivityPub implementation from scratch isn't trivial either. So that'll take some time.

I've got a few other ideas I'm playing with as well. Like just assuming that internal post IDs are all sequential and literally fetching them one by one. Or maybe some combination of both?

[-] [email protected] 7 points 1 year ago

Tap the everything label at the top

[-] [email protected] 8 points 1 year ago

I'm guessing Samsung. Google seems to show a handful of posts online about Samsung users asking about it. Or at least asking what is it, and how to uninstall it.

Pixel doesn't seems to have it pre-installed anyway.

I can't say anything about other manufacturers though.

[-] [email protected] 8 points 1 year ago

I just got a PR merged today that might help with this. I'll start experimenting with it more over the next week or so.

Basic theory is that I can detect at least lemmy posts in the comment bodies and then rewrite those to your local instance. Primarily question is going to be performance, as remote network calls will be necessary.

[-] [email protected] 7 points 1 year ago

I'm also running Ubuntu as my main machine at home. (I have a Mac and do Android development for my day job).

But at home, I do a lot of website and backend dev.

  1. Code in VSCode
  2. Build using docker buildx
  3. Test using a local container on my machine
  4. Upload the tested code to a feature brach on git (self hosted server)
  5. Download that same feature branch on a RaspberryPi for QA testing.
  6. Merge that same code to develop 6a. That kicks off a CI build that deploys a set of docker images to DockerHub.
  7. Merge that to main/master.
  8. That kicks off another CI build.
  9. SSH into my prod machine and run docker compose up -d
[-] [email protected] 8 points 1 year ago
  1. Yes most trackers have something on their website to let you know what your ratio is, what you're downloading and how long you've been seeding those files.
  2. With the trackers I'm familiar with yes -- seeding for 9d 23h 59m and 59s is the same as seeding for 0s. You'll still get tagged with a HnR (Hit and Run)
  3. You can shutdown as much as you like. But, again the trackers that I'm familiar with have a cap on the number of HnRs you can have on your account. So you might have action taken against you if you're seeding 5 different torrents and decide to shutdown.
  4. Don't know.
  5. The rest don't appear to be questions so not sure how to respond.
[-] [email protected] 8 points 1 year ago

Not at the moment but there is an open bug report for this: https://github.com/LemmyNet/lemmy/issues/3259

[-] [email protected] 7 points 1 year ago* (last edited 1 year ago)

But the API is instance specific.

The only ways I see this working is one of:

  1. You'd have to type in your instance name upon tapping the button
  2. You could have a settings page that lets you set your instance name and then twitch (or whatever service you're using would store that along side your other user data)
  3. It just assumes one of the most popular instances.

But without some central registry there's no way to know what is your home instance.

Edit: something like what Android does for Activities could work as well. But not sure how to handle that on a PC. ... In Android they could just start a generic Intent to view Lemmy and it could then launch whichever app you have installed to handle that intent.

[-] [email protected] 8 points 1 year ago

See one of my other replies. But that was a thought originally. Just hook into the original database instead of crawling using the APIs. Problem is, the table structure required to search is much different than that of a community form. At least if you want to do searches quickly. It takes me almost 5-10 seconds just to process 50 posts at the moment, and I'm doing those in batches... but ya maybe in the future I can talk to the Lemmy devs and see about merging these two projects?

[-] [email protected] 8 points 1 year ago

For the initial release the search is still fairly basic, but A LOT better than the built in search here.

Right now I just look for IF the individual words match ANY of the words in the post title or body and then rank based on the number of upvotes that the post has.

Future versions may look at using elastic search, etc... But for MVP it just looks for the number of hits + the score of the post as I assume the higher the score the more trustworthy the post, and obviously the more matches that to your query the more relevant the post is.

view more: ‹ prev next ›

marsara9

joined 1 year ago