GravitySpoiled

joined 3 years ago
[–] GravitySpoiled@lemmy.ml 1 points 10 months ago (3 children)

I use nix package manager on fedora silverblue. It's awesome.

[–] GravitySpoiled@lemmy.ml 5 points 10 months ago (5 children)

Have you met nix?

[–] GravitySpoiled@lemmy.ml 3 points 10 months ago (1 children)

I don't own one but I agree, it ist very good. But it's too expensive for what it is nowadays. A second hand one or maybe the next generation might be worth it again

[–] GravitySpoiled@lemmy.ml 3 points 10 months ago

I use an amazon fire tv 4k, I only use it to start jellyfin. It's perfect.

If you don't want it to phone home, put it behind a firewall, and block all but your domains

[–] GravitySpoiled@lemmy.ml 13 points 11 months ago

Even worse. Many apps have google signature instead of the developers. They upload their key and give it to google. Horrible practice. Nowadays, fdroid gravitates towards reproducible builds with the dev's own signature and google is going the other way round. Gravitating towards an unsafe "best practice" ...

[–] GravitySpoiled@lemmy.ml 14 points 11 months ago (5 children)

If that's of your concern, you can't download the play store version either. It is the same app, has the same signature.

[–] GravitySpoiled@lemmy.ml 14 points 11 months ago (9 children)

Thats not a random apk

[–] GravitySpoiled@lemmy.ml 9 points 11 months ago (1 children)

Another intepretation: one uses data to distinguish between popular and crappy stores.

[–] GravitySpoiled@lemmy.ml 5 points 11 months ago (1 children)

I always neglected it because of its name. I thought it's something for rust...

[–] GravitySpoiled@lemmy.ml 8 points 11 months ago

Important tool

[–] GravitySpoiled@lemmy.ml 4 points 11 months ago

Storage is cheap. You suggest combining the images and storing the difference.

You can't separate the images anymore. You have to store them in a container such that you have one common base image. You can then later on decide which image to look at.

You could also take a short video and only display one image.

Avif uses a video compression algorithm, meaning it's basically one frame of a video.

Btw, I wouldn't care about your problem. Storage is cheap. Try saving 10 4k videos and you'll laugh about your image library

 

Which switches can you recommend?

Can you get them in bulk for a cheaper price?

 

What's the advantage of the zigbees? I can get both bulbs, wifi and zigbee for ~5 bucks.

I tried reading a lot of articles/ posts. This is all confusing. Some write zigbee is better with battery because wifi lamps need to stay connected with wifi. But the zigbee lamps need to stay connected with zigbee (however they communicate. must be waves as well) as well, does it consume less power? What's the range of these hubs? Wifi is available everywhere. Do I need multiple hubs?

I want to connect them to home assistant, so arguments like zigbee can be better automated should fall short as well, right? I already have one wifi lamp which is automated enough for my taste. What shall I more automate than turn off at x and turn on at y.

And I haven't even read properly into zwave or matter.

Any advice would be greatly appreciated!

22
submitted 1 year ago* (last edited 1 year ago) by GravitySpoiled@lemmy.ml to c/opensource@lemmy.ml
 

Is there a good open source smart home system? What do you guys use? Which brand to buy?

How is OpenHAB?

I tried home assistant but I can't manage to get it working with my reverse proxy.

 
258
submitted 1 year ago* (last edited 1 year ago) by GravitySpoiled@lemmy.ml to c/piracy@lemmy.dbzer0.com
 

It's an alternative jellyfin + radarr + sonarr (jellyseer) front end. It's in very early stages but it looks and feels so good. I read on the issues that work will progress but there needs to be a lot of planning.

Anyway, it looks good! star it and watch out for the next release

 

I just found this and haven't seen it here before. It's a great dictionary app

 

I want to share this as I wanted this for a long time. Finally, I sat down and wrote it. It merges the listens and star ratings of two accounts USER_ID_OLD and USER_ID_NEW. If you want to use it yourself, you have to replace those values with your values. The upper part is descriptive to explore the database and find the fields.

Use at your own risk. backup first. cp navidrome.db navidrome.db.bu. Found mistakes? Please report. Read all lines prior to executing.

# open database
sqlite3 navidrome.db

# show content
.tables

# show users
SELECT * FROM user;

# delete all playlists
DELETE FROM playlist;

PRAGMA table_info(annotation);

SELECT user_id, item_id, play_count FROM annotation ORDER BY play_count DESC LIMIT 10;

UPDATE annotation AS a
SET play_count = (
    SELECT SUM(play_count) 
    FROM annotation AS b 
    WHERE b.item_id = a.item_id
);

UPDATE annotation AS a
SET rating = (
    SELECT MAX(rating)
    FROM annotation AS b 
    WHERE b.item_id = a.item_id
);

UPDATE annotation AS a
SET starred = (
    SELECT MAX(starred)
    FROM annotation AS b 
    WHERE b.item_id = a.item_id
);

UPDATE annotation AS a
SET play_date = (
    SELECT MAX(play_date)
    FROM annotation AS b 
    WHERE b.item_id = a.item_id
);


DELETE FROM annotation
WHERE ROWID NOT IN (
    SELECT MIN(ROWID)
    FROM annotation
    GROUP BY item_id
);

UPDATE annotation SET user_id='USER_ID_OLD' WHERE user_id='USER_ID_NEW';

SELECT user_id, item_id, play_count FROM annotation ORDER BY play_count DESC LIMIT 10;

.quit

Edit: reading it again, it might only work correctly if there are two users.

 
 

I stumbled upon Troi. Troi can generate music recommendations https://github.com/metabrainz/troi-recommendation-playground

There's also a playlist generator https://listenbrainz.org/explore/lb-radio/ try it with "tag:edm" or "tag:rock".

It needs to be integrated into available services and mature a bit but then it can become a spotify replacement. It needs more users for more scrobbles as well. This is awesome! Imagine having automated playlists in a subsonic server based on public popularity.

Such info was usually only available to companies like spotify. This is amazing.

100
submitted 1 year ago* (last edited 1 year ago) by GravitySpoiled@lemmy.ml to c/linux@lemmy.ml
 

I am moving from docker to podman and selinux because I thought that podman is more secure and hence, the future. I thought the transition will be somewhat seamless. I even prepaired containers but once I migrated I still ran into issues.

minor issue: it's podman-compose instead of podman compose. The hyphen feels like a step back because we moved from docker-compose to docker compose. But thT's not a real issue.

podman does not autostart containers after boot. You have to manually start them, or write a start script. Or create a systemd unit for each of them.

Spinning up fresh services works most of the time but using old services that worked great with docker are a pain. I am wasting minutes after minutes because I struggle with permissions and other weird issues.

podman can't use lower number ports such that you have to map the ports outside of the machine and forward them properly.

Documentation and tutorials are "all" for docker. Github issues are "all" for docker. There isn't a lot of information floating around.

I'm still not done and I really wonder why I should move forward and not go back to docker. Painful experience so far. https://linuxhandbook.com/docker-vs-podman/ and following pages helped me a lot to get rid of my frustration with podman.

view more: ‹ prev next ›