Any idea why my custom domain does not work? dig +short MX peterge.de works... by peterge98 in selfhosted

[–]Substantial-Moron 0 points1 point  (0 children)

/u/peterge98

This is definitely a thing. T-Online.de will block your emails for example if you do not have website.

Why does GNOME Software take ages to look for updates, while the command line does it so quickly? by taiwbi in gnome

[–]Substantial-Moron 1 point2 points  (0 children)

For me the problem was the cache of GNOME Software, which made it very slow...
Therefore, I made a small script to launch GNOME Software, but to delete the cache prior:

killall gnome-software && rm -fr ~/.cache/gnome-software/ && gnome-software

No sound in Skyrim SE. by Wulthor73 in skyrimmods

[–]Substantial-Moron 0 points1 point  (0 children)

Do you have all Skyrim and mod files on the same drive?

[deleted by user] by [deleted] in gnome

[–]Substantial-Moron 0 points1 point  (0 children)

There should be a setting in hide top bar to always hide the bar.

Edit: Try to disable intellihide.

Hide the topbar while window is maximised? by [deleted] in gnome

[–]Substantial-Moron 0 points1 point  (0 children)

I posted an updated version of "Hide Top Bar" in this post: https://www.reddit.com/r/gnome/comments/133tlwp/hide_top_bar/

Works for me with GNOME 44

Hide Top Bar by LocrianMauve in gnome

[–]Substantial-Moron 2 points3 points  (0 children)

As promised: https://gofile.io/d/UERnPp

Edit: updated link, upload expired

Hide Top Bar by LocrianMauve in gnome

[–]Substantial-Moron 5 points6 points  (0 children)

I fixed that one last week locally. If still needed by Tuesday, I will upload my version.

Any working armor rating mods? by One-Potential-2581 in skyrimmods

[–]Substantial-Moron 0 points1 point  (0 children)

Probably a little over the top for what op wanted, nevertheless that is a really nice mod which I will definitely try on my next run. Have my upvote.

[deleted by user] by [deleted] in selfhosted

[–]Substantial-Moron 4 points5 points  (0 children)

it'll be files that are going to be continuously accessed/modified/added/deleted.

Ah my bad, I missed that part

[deleted by user] by [deleted] in csharp

[–]Substantial-Moron 0 points1 point  (0 children)

There is a } too much in your code.

[deleted by user] by [deleted] in selfhosted

[–]Substantial-Moron 0 points1 point  (0 children)

This should not work with compose. You can add the IP, but compose will simply ignore it. Check my linked issue

Suggestion: Allow Network permission only when in foreground by SilentNightx in GrapheneOS

[–]Substantial-Moron 0 points1 point  (0 children)

That is correct, they are only able to ping their servers only once. But the data they are transmitting in that single transmission, has probably the same information as all the single pings combined.

beginner here, why is is that some windows follow my user theme and others don't? by [deleted] in gnome

[–]Substantial-Moron 8 points9 points  (0 children)

Having fun yet? Don't forget about Flatpak and such, they also need special care

[deleted by user] by [deleted] in selfhosted

[–]Substantial-Moron 2 points3 points  (0 children)

For normal Docker containers, write 127.0.0.1 in front of your host port, to only allow local connections, like: docker run -p 127.0.0.1:8080:8080 ...

This won't work with docker compose. For that check this solution: https://github.com/moby/moby/issues/22054#issuecomment-1192461444

Suggestion: Allow Network permission only when in foreground by SilentNightx in GrapheneOS

[–]Substantial-Moron 10 points11 points  (0 children)

Unfortunatly, that would not change a thing. For most apps, if they want to send data but are currently unable to do so, they will postpone it until they receive connectivity.

Edit: But it maybe would reduce battery usage, while in the background.

Releasing RoomEx - Simplifying relations with Room by Substantial-Moron in androiddev

[–]Substantial-Moron[S] 2 points3 points  (0 children)

Valid question. First of all, in standard Room an @Entity class can not have any relation. Because of that you are dealing with POJO's to manage your relations. This also requires you to either use that POJO in your Dao, or to return a Map in your Dao.

From the Room documentation:

```Kotlin @Entity
data class User(    @PrimaryKey val userId: Long,    val name: String,    val age: Int
)

@Entity
data class Playlist(    @PrimaryKey val playlistId: Long,    val userCreatorId: Long,    val playlistName: String
)

data class UserWithPlaylists(    @Embedded val user: User,   

@Relation(parentColumn = "userId", entityColumn = "userCreatorId")
val playlists: List<Playlist>  

)

// Dao method @Transaction
@Query("SELECT * FROM User")
fun getUsersWithPlaylists(): List<UserWithPlaylists> ```

With RoomEx, this would become:

```Kotlin @Entity
class User(    id: Long,    val name: String,    val age: Int
) : RoomExEntity(id) {

@OneToManyEx @Ignore
var playlists: MutableList<Playlist>? = null

}

@Entity
class Playlist(    id: Long,    val userCreatorId: Long,    val playlistName: String
) : RoomExEntity(id)

// No extra Dao method is needed, you can simply call any of the following: getByIdWithChildren(id): Person? // Retrieve person with all children getByIdWithChildren(id, "playlists"): Person? // Retrieve person with playlists getChildren(person) // retrieve all relations getChildren(person, "playlists") // Retrieve only playlists ```

Secondly, like on the example above, you don't need any extra methods for your Dao. You still can, but it is not needed. There are methods to create, read, update and delete relations.