def is_even(n: int) -> bool:
if n < 0:
return is_even(-n)
r = True
for _ in range(n):
r = not r
return r
- 2 Posts
- 25 Comments
redxef@feddit.orgto Technology@lemmy.world•Unless users take action, Android will let Gemini access third-party appsEnglish5·18 days agoGoogle: Laughs in “Everybody else you communicate with who has that shit enabled”
Did you waive your rights to the code anywhere? If not then it’s still your code and they used it without obtaining the rights to using it - depending on your jurisdiction ofc.
Good to know! I didn’t see a link in your about page.
Hi, nice project. Why would I use your project over similar (open-source) projects like sharry and lufi?
I personally would prefer to use those alternatives because their source is available and can be reviewed, I didn’t see any reference to your source code - which is fine, but a no-go for me personally.
redxef@feddit.orgto Selfhosted@lemmy.world•Your help needed: PhD research on why people choose to self-hostEnglish3·2 months agoI have a feeling for that to be effective they should be spread-out and not appear one after another though.
redxef@feddit.orgto Selfhosted@lemmy.world•Your help needed: PhD research on why people choose to self-hostEnglish13·2 months agoHmm. The first section about cloud service providers is a bit weird to me. There are providers which “keep my best interests in mind” as part of their business model, backblaze would be one. Their whole idea is to provide a good backup services. Encrypting my data before transit also doesn’t make me worried that it will be accessed by them or any of their employees because they will only get some garbled mess.
Compare that to google, another cloud service provider. Their business model is to make money by selling me ads (foremost), they do that by gathering as much data as possible. Here all my answers would be negative.
This puts me in an awkward spot where I nearly every time answer with “Neither agree nor disagree”, because there is more to it and not because I don’t have an opinion.
The whole deployment is done via ansible, so the ansible source is my documentation.
There are good April’s fools and there is this. Some things you just don’t joke about.
It’s really only downloading the executable and java, starting it and opening the required port. See the official documentation for instructions.
If you want to get more involved there are some convenient docker containers which automate some stuff:
Well, I was hoping they would take care of that themselves
Looks good, I use a lot of the stuff you plan to host.
Don’t forget about enabling infrastructure. Nearly everything needs a database, so get that figured out early on. An LDAP server is also helpful, even though you can just use the file backend of Authelia. Decide if you want to enable access from outside and choose a suitable reverse proxy with a solution for certificates, if you did not already do that.
Hosting Grafana on the same host as all other services will give you no benefit if the host goes offline. If you plan to monitor that too.
I’d get the LDAP server, the database and the reverse proxy running first. Afterwards configure Authelia and and try to implement authentication for the first project. Gitea/Forgejo is a good first one, you can setup OIDC or Remote-User authentication with it. If you’ve got this down, the other projects are a breeze to set up.
Best of luck with your migration.
redxef@feddit.orgto DeGoogle Yourself@lemmy.ml•[Help] Free Pixel 4a battery replacement?English2·6 months agoI already did that. It doesn’t change the fact, that a normal user will not do that and google will just not tell you straight up.
redxef@feddit.orgto DeGoogle Yourself@lemmy.ml•[Help] Free Pixel 4a battery replacement?English3·6 months agoI have used the page linked to in the comments. But that just said that they received my request - no indication if I had an affected device or not. Also for my jurisdiction I cannot get the free battery replacement, just the money or store credit.
I still have to hear back from them.
Something like that should do it:
i = ~((~i + 1) + ~0) + 1
Not yet, though thats a feature worth looking at. I’m thinking that it should be collections instead of playlists. If you add 3 shows to a playlist only the episodes will appear there, while the collection will only show the tv show (or season, whatever you added).
Ah, should probably make that more clear. Everything can be done in the settings of the plugin.
It just manages a native jellyfin playlist, so that should work just fine.
I’m using a SBC and put LibreELEC on it. That boots to Kodi. I then installed the Jellyfin plugin and am mostly happy with it. Sync and subtitle selection is sometimes weird.