Demigodrick

@Demigodrick@lemmy.zip

Lemmy.zip admin
Contact me via hello@lemmy.zip


  • Elsewhere: me.lemmy.zip - See my accounts across the internet

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Demigodrick,

I totally agree with what you’ve put, Xbox game pass has been so successful on Xbox and PC I can see why they’d move away from Xbox exclusives to game pass exclusives instead. It doesn’t really matter what the console is anymore, it matters where you can get the games.

I don’t think they’d ever completely pull out of the hardware market, but I can see them moving towards streaming units that require less hardware in them. The sale of physical media has been dying for a long time but game pass will be the nail in the coffin for it.

The impact this has on the PC market though is a different story. Valve already making a push away from Windows with their investment into Linux before Microsoft attempts to lock their OS down to game pass games only.

Demigodrick,

Looks like its saved correctly :) should redirect to lemmy.zip after completion, did it try to do something else?

Demigodrick,

Hey no worries - moderating a community and getting people involved is never easy - the more I can do as an admin to help out the mods the better!

Demigodrick, (edited )

The specifics are here: git.asonix.dog/asonix/pict-rs/releases#user-conte…

My understanding is the base media remains, but the generated things like thumbnails are cleaned up and can be regenerated if needed

Demigodrick,

Understandable - I didn’t explain it very well!

Demigodrick,

So at the moment we’re doing some compression on the images by turning them into webp format, but some communities don’t benefit from that. Would be nice to have tools to be able to set different uploads limits in different places but at the moment its just one setting.

Demigodrick,

Storage on backblaze is really cheap - as long as that remains the case, I dont want to prune anything. On-server storage (posts, comments) is just text and takes up very little space. No worries with storage in the long term right now.

Demigodrick,

+1 for pop, used it for 2 years with very few issues on an nvidia gpu

What are some games you wouldn't play without mods?

The game that stands out to me is Fallout 4. The new dialogue system only hinted at what the protagonist was going to say with vague choices like “sarcastic” and that led me to reload saves frequently to either check out other options or because the protagonist came off as way too intense an railroaded me down a conversation...

Demigodrick,

Man yeah I need to get back into Rimworld. So many mods.

Demigodrick,

And to prove it works: legolas

Demigodrick,

While the legolas bot is a joke/proof of concept, mods can use a bot like this to support users with various things, respond automatically to key words (especially negative key words).

If you don’t like it, block it and move on.

Demigodrick,

It’s in json format so in reality it’s very little data. There’s no way (that I know of) to grab only “new” comments - I don’t think the lemmy api has anything like that.

Even if you put seen comments in a db you’ve still got to pull them to check if they’ve been seen or not which defeats the object.

25 every 5 seconds might be a touch overkill too but it does stop the bot missing any comments. I can certainly move them to variables that can be set in the env file/docker.

Edit to add: if it is locked down to one community then yes its way overkill, so will add them as variables and update docs to reflect.

Demigodrick,

I could entirely be wrong, but I dont see anything obvious in the api that indicates this is a function of the api. You could potentially use markPostAsRead after scanning each comment, but I don’t see a way of pulling only new unread comments after that. Would love to be proven wrong though :)

Demigodrick,

Thanks, this doesn’t pull only unread comments - if I pull the latest 5 comments and then mark those overarching posts as read, I get this:


<span style="color:#323232;">2024-02-02 09:52:11,278 - INFO - Requesting API Request.GET /comment/list
</span><span style="color:#323232;">2024-02-02 09:52:11,507 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9335073
</span><span style="color:#323232;">Comment ID = 6915381
</span><span style="color:#323232;">2024-02-02 09:52:11,629 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9007864
</span><span style="color:#323232;">Comment ID = 6915380
</span><span style="color:#323232;">2024-02-02 09:52:11,742 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9319139
</span><span style="color:#323232;">Comment ID = 6915382
</span><span style="color:#323232;">2024-02-02 09:52:11,916 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9334778
</span><span style="color:#323232;">Comment ID = 6915379
</span><span style="color:#323232;">2024-02-02 09:52:12,100 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9283396
</span><span style="color:#323232;">Comment ID = 6915378
</span>

If I then pull the 5 latest comments again:


<span style="color:#323232;">2024-02-02 09:52:12,238 - INFO - Requesting API Request.GET /comment/list
</span><span style="color:#323232;">2024-02-02 09:52:12,380 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9335073
</span><span style="color:#323232;">Comment ID = 6915381
</span><span style="color:#323232;">2024-02-02 09:52:12,521 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9007864
</span><span style="color:#323232;">Comment ID = 6915380
</span><span style="color:#323232;">2024-02-02 09:52:12,673 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9319139
</span><span style="color:#323232;">Comment ID = 6915382
</span><span style="color:#323232;">2024-02-02 09:52:12,835 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9334778
</span><span style="color:#323232;">Comment ID = 6915379
</span><span style="color:#323232;">2024-02-02 09:52:12,977 - INFO - Requesting API Request.POST /post/mark_as_read
</span><span style="color:#323232;">Post ID = 9283396
</span><span style="color:#323232;">Comment ID = 6915378
</span>

Which is the same 5 comments - so what I’m looking for is a way to pull only previously “unseen” comments - that would reduce the amount of data returned from the api each time i check the list if there was only 1 or 2 comments rather than returning all 25.

Apps can indicate that there are new unread comments on a post, but I assume they’re not doing this via the api and its a UI thing to do with caching?

I may not have explained myself clearly here, though!

Demigodrick,

Nice solution, thank you :)

Demigodrick, (edited )

Sorry, having real issues with the latest version of pictrs (the software lemmy uses to show images) needing way too much ram and breaking, not sure what the solution is at the moment but trying to get the server to be stable is quite a challenge. Will likely need to change server or something.

Edit: always breaks when I’m asleep too

Demigodrick,

I’ve not had this been reported to me before but if it does affect anyone else please let me know.

Are you using a mobile app or the web interface? All I can think right now is try signing out, deleting cookies and signing back in.

Demigodrick,

Might be worth deleting all site data from the browser too - I’ve seen comments on github that browser caching can make it appear you’re logged out when if you refresh the browser it will show you logged in.

Demigodrick,

It is :)

Just can’t be beaten for price/quality at this scale

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • DreamBathrooms
  • modclub
  • tacticalgear
  • GTA5RPClips
  • magazineikmin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • rosin
  • slotface
  • everett
  • kavyap
  • provamag3
  • cubers
  • ngwrru68w68
  • normalnudes
  • cisconetworking
  • Durango
  • khanakhh
  • Leos
  • ethstaker
  • tester
  • anitta
  • osvaldo12
  • megavids
  • lostlight
  • All magazines