[-] pe1uca@lemmy.pe1uca.dev 2 points 2 hours ago

Maybe FreshRSS with some extensions?
I saw a recent commit to fire an event when saving a favorite, so probably you can get an extension to send the link to something like archivebox for the pages you favorite.

I've just fiddled with an already created extension, but they seem fairly simple to create your own easily.
Of course you can inject JS so you could make it more complex if you want.

[-] pe1uca@lemmy.pe1uca.dev 3 points 21 hours ago

With invidious and in FreshRSS I use the youtube extension to use the embedded video player, you just need update this part of the code https://github.com/FreshRSS/Extensions/blob/master/xExtension-YouTube/extension.php#L153-L163
It easy just to replace for this:

    public function getHtmlContentForLink(FreshRSS_Entry $entry, string $link): string
    {
        $domain = 'www.youtube.com';
        if ($this->useNoCookie) {
            $domain = 'www.youtube-nocookie.com';
        }
        $domain = 'invidious.personal.com';
        $params = 'quality=dash';
        $url = str_replace('//www.youtube.com/watch?v=', '//'.$domain.'/embed/', $link);
        $url = str_replace('http://', 'https://', $url);
        $url = $url . '?' . $params;

        return $this->getHtml($entry, $url);
    }

The only change is to use $domain = 'invidious.personal.com';
And add the parameter quality=dash

Seems there's also this one https://github.com/tunbridgep/freshrss-invidious
but haven't tried it

[-] pe1uca@lemmy.pe1uca.dev 8 points 4 days ago

That's a weird read having in mind I had to move to Wayland because x11 had severe screen tearing. I would have guessed Wayland had better support.

[-] pe1uca@lemmy.pe1uca.dev 5 points 5 days ago

I don't think there are services like that, since usually this means deploying and destructing an instance, which takes a few minutes (if you just turn off the instance you still get billed).
Probably the best option would be to have a snapshot, which costs way less than the actual instance, and create from it each day or so yo run on the images since it was last destroyed.

This is kind of what I do with my media collection, I process it on my main machine with a GPU, and then just serve it from a low-power one with Jellyfin.

[-] pe1uca@lemmy.pe1uca.dev 5 points 6 days ago

IIRC this was already addressed and should be automatic.
There was an issue specifically mentioning GDPR and the devs implemented a way to automatically delete the data of an account within the given time.

It's not a GDPR request in itself, but AFAIK a normal delete account request should be compliant... INAL

29

I'm trying to see how active a project is, but dependabot spam makes it annoying to find actual commits and to know if those commits are relevant.

There's no need for me to know chai was updated from 5.1.1 to 5.1.2, I want to see what were the most recent actual features implemented.

4
submitted 1 month ago* (last edited 1 month ago) by pe1uca@lemmy.pe1uca.dev to c/quebec@lemmy.ca

Savez-vous si il y aura des problèmes avec cette situation?

J'ai juste rejeté l'augmentation du loyer pis la compagnie as envoyé le cas au TAL.
Si je fait une cession de bail, le prochain propriétaire auras des problèmes?
Je me demande au cas où cela pourrait effrayer les candidats possibles ou si j'aurai des problèmes.

Je crois aussi que la compagnie pourrait rejeter ces deux processus parce que les deux département sont à eux, c'est ça?

Que me recommandez-vous?

Mon département est 3 1/2, et le outre est 4 1/2, pour seulement ~$30 plus.

[-] pe1uca@lemmy.pe1uca.dev 65 points 2 months ago

Well, the issue will be developers of other apps would force us to re-google since any build of the app would be useless unless installed from the play store...

40

So, I'm selfhosting immich, the issue is we tend to take a lot of pictures of the same scene/thing to later pick the best, and well, we can have 5~10 photos which are basically duplicates but not quite.
Some duplicate finding programs put those images at 95% or more similarity.

I'm wondering if there's any way, probably at file system level, for the same images to be compressed together.
Maybe deduplication?
Have any of you guys handled a similar situation?

10

I was using SQL_CALC_FOUND_ROWS and SELECT FOUND_ROWS();
But this has been deprecated https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_found-rows

The recommended way now is first to query with limit and then again without it selecting count(*).
My query is a bit complex and joins a couple of tables with a large number of records, which makes each select take up to 4 seconds, so my process now takes double the time compared to as I just keep using found rows.

How can I go back to just running the select a single time and still getting the total number of rows found without the limit?

[-] pe1uca@lemmy.pe1uca.dev 52 points 3 months ago

What?
Well, I can only speak for myself, I'm not here to follow users but communities.
And if someone wants to follow me I'd see it as kind of annoying for them seeing all the different topics I post and comment instead of something focused.

IMO the ability to see Mastodon interactions in Lemmy and vice-versa is quite annoying since they use the same protocol for different experiences.

6

cross-posted from: https://lemmy.pe1uca.dev/post/1512941

I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.

Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.

How can I know what's the data I need to put into the tag to do this?

Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

20

I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.

Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.

How can I know what's the data I need to put into the tag to do this?

Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

43

I'm using https://github.com/rhasspy/piper mostly to create some audiobooks and read some posts/news, but the voices available are not always comfortable to listen to.

Do you guys have any recommendation for a voice changer to process these audio files?
Preferably it'll have a CLI so I can include it in my pipeline to process RSS feeds, but I don't mind having to work through an UI.
Bonus points if it can process the audio streams.

4
submitted 3 months ago by pe1uca@lemmy.pe1uca.dev to c/google@lemmy.world

cross-posted from: https://lemmy.pe1uca.dev/post/1434359

I was trying to debug an issue I have connecting to a NAS, so I was checking the logs of UFW and found out there are a lot of connections being blocked from my chromecast HD (AndroidTV) on different ports via the local IP.

Sometimes I use jellyfin, but that's over tailscale, so there shouldn't be any traffic over local IP, just over tailscale's IP.
But shouldn't have traffic right now since I wasn't using it and didn't have tailscale on.

The ports seem random, just sometimes they are tried two times back to back, but afterwards another random port is tried to be accessed.

After seeing this I enabled UFW in my daily machine and the same type of logs showed up.

So, do you guys know what could be happening here?
Why is chromecast trying to access random ports on devices in the same network?

0
submitted 3 months ago by pe1uca@lemmy.pe1uca.dev to c/google@lemdro.id

cross-posted from: https://lemmy.pe1uca.dev/post/1434359

I was trying to debug an issue I have connecting to a NAS, so I was checking the logs of UFW and found out there are a lot of connections being blocked from my chromecast HD (AndroidTV) on different ports via the local IP.

Sometimes I use jellyfin, but that's over tailscale, so there shouldn't be any traffic over local IP, just over tailscale's IP.
But shouldn't have traffic right now since I wasn't using it and didn't have tailscale on.

The ports seem random, just sometimes they are tried two times back to back, but afterwards another random port is tried to be accessed.

After seeing this I enabled UFW in my daily machine and the same type of logs showed up.

So, do you guys know what could be happening here?
Why is chromecast trying to access random ports on devices in the same network?

43
submitted 3 months ago by pe1uca@lemmy.pe1uca.dev to c/linux@lemmy.ml

I've only used ufw and just now I had to run this command to fix an issue with docker.
sudo iptables -I INPUT -i docker0 -j ACCEPT
I don't know why I had to run this to make curl work.

So, what did I exactly just do?
This is behind my house router which already has reject input from wan, so I'm guessing it's fine, right?

I'm asking since the image I'm running at home I was previously running it in a VPS which has a public IP and this makes me wonder if I have something open there without knowing :/

ufw is configured to deny all incoming, but I learnt docker by passes this if you configure the ports like 8080:8080 instead of 127.0.0.1:8080:8080. And I confirmed it by accessing the ip and port.

58

I mean, the price of the product is the same, I'm taking a loan for the duration of the credit but paying no interest?
What's the catch?
I can keep my money making a bit of interest instead of giving it right away and without increasing the price of what I was already planning to buy. When or why wouldn't I choose 0% credits?

22

I'm looking at my library and I'm wondering if I should process some of it to reduce the size of some files.

There are some movies in 720p that are 1.6~1.9GB each. And then there are some at the same resolution but are 2.5GB.
I even have some in 1080p which are just 2GB.
I only have two movies in 4k, one is 3.4GB and the other is 36.2GB (can't really tell the detail difference since I don't have 4k displays)

And then there's an anime I have twice at the same resolution, one set of files are around 669~671MB, the other set 191 each (although in this the quality is kind of noticeable while playing them, as opposed to the other files I extract some frames)

What would you do? what's your target size for movies and series? What bitrate do you go for in which codec?

Not sure if it's kind of blasphemy in here talking about trying to compromise quality for size, hehe, but I don't know where to ask this. I was planning on using these settings in ffmpeg, what do you think?
I tried it in an anime at 1080p, from 670MB to 570MB, and I wasn't able to tell the difference in quality extracting a frame form the input and the output.
ffmpeg -y -threads 4 -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -i './01.mp4' -c:v h264_nvenc -preset:v p7 -profile:v main -level:v 4.0 -vf "hwupload_cuda,scale_cuda=format=yuv420p" -rc:v vbr -cq:v 26 -rc-lookahead:v 32 -b:v 0

[-] pe1uca@lemmy.pe1uca.dev 60 points 6 months ago

It's just a matter of time until all your messages on Discord, Twitter etc. are scraped, fed into a model and sold back to you

As if it didn't happen already

[-] pe1uca@lemmy.pe1uca.dev 49 points 1 year ago

It's funny they think 5 seconds of no content is worst of 10~30 seconds of ads.

[-] pe1uca@lemmy.pe1uca.dev 47 points 1 year ago

Windows: you're going to use wsl, right?

[-] pe1uca@lemmy.pe1uca.dev 114 points 1 year ago

I never understood this, it's your selfhosted server but you kind of don't own it and depend on them, so you just have an application which depends on a their service which means plex isn't 100% selfhostable, correct?

[-] pe1uca@lemmy.pe1uca.dev 55 points 1 year ago

I just started using rss for the communities I still want to know about.
You only need to add the reddit name of the community and .rss at the end in your reader.
For example https://www.reddit.com/r/technology/hot.rss

view more: next ›

pe1uca

joined 1 year ago