this post was submitted on 09 May 2024
2 points (100.0% liked)

Technology

58061 readers
31 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 4 months ago

Damn am i the only one who uses Connect? Lol

[–] [email protected] 0 points 4 months ago (1 children)

Right now I'm mostly using mlmym (the "old" interface on most instances that support it) because it doesn't require JS for basic viewing.

It's kind of buggy though, unfortunately -- things like user history show up as a complete jumble, for example. :(

One of these days, I'll probably get fed up enough to go write my own interface and set things up exactly how I want them to work... but I've got too many projects already so I'm just living with it for now.

[–] [email protected] 0 points 4 months ago (1 children)

Do you have any examples of the user history being jumbled up? Might be caused by the way the lemmy api returns user activity. If the page size is 10 results, it's going to return 5 comments and 5 posts regardless of how recent they are.

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (1 children)

You can open any profile with multiple pages worth of posts or comments on old.reddthat.com and it's jumbled. Even my own profile is jumbled: https://old.reddthat.com/u/e0qdk

The first page is mostly comments I made two weeks ago plus a thread from today and some very old threads. The second page has comments I made earlier today and during the past week. The third page starts with my most recent comment and then has a bunch of older comments.

The exact order might change after posting this, but my own recent comments mostly being on page two has been pretty consistent for a while.

If I look at a very active user's profile (like MentalEdge's), I see threads from today show up on page three(!) while there are threads from a week or more ago on pages one and two.

I'm not sure what's going on exactly, but it basically makes user profiles pretty useless right now through mlmym.

Edit: I can't even find this comment in my profile, but my other reply (regarding the envelope being fixed in 0.0.43) shows up on page 3.

[–] [email protected] 0 points 4 months ago (1 children)

Looks right here https://old.lemmy.world/u/[email protected]

looks like the default sort for the user history api changed in whatever version of lemmy reddthat is running. Fix in the latest mlmym release 0.0.44 accounts for that now!

[–] [email protected] 0 points 4 months ago (1 children)

Thanks! I'll go ask Tiff about getting reddthat updated later.

BTW, is there a community for discussion of mlmym itself somewhere on lemmy? I can't participate on GitHub, but those aren't the only issues I've found. (e.g. there's also ?format=jpg&thumbnail=96 on non-pictrs links and a text handling issue with angle brackets...)

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (1 children)

no lemmy community for mlmym yet, that's good idea.

do you have an example of that thumbnail issue?

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago) (1 children)

I ran into an example of the thumbnail issue again today -- this time on a post from kbin: https://old.reddthat.com/post/19193476

The thumbnail looks like this in the HTML:

<div class="thumb">
  <a class="url"
     href="https://media.kbin.social/media/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg"
     >
    <div  style="background-image: url(https://media.kbin.social/media/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg?format=jpg&amp;thumbnail=96)"></div>
  </a>
</div>

Note that it's making a request to kbin.social with ?format=jpg&thumbnail=96 parameters in the CSS -- which results in the full image being loaded since kbin doesn't run pictrs.

The versions in use on reddthat (according to the settings page) are:

lemmy: 0.19.4-beta.7

mlmym: 0.0.44

[–] [email protected] 2 points 4 months ago

This kinda looks like an issue between lemmy and kbin. The issue is present on the lemmy ui as well. The ?format=jpg&thumbnail=96 parameter being there doesn't have an effect here. The issue is the thumbnail_url is reported wrong. You can see that here. The thumbnail_url should be: https://kbin.social/media/cache/resolve/entry_thumb/60/a4/60a45b8ff88b1b2e3a0f77b701feb323c5bbfb7ceeb75154ea7df5d6eea15ef8.jpg We could try and use some regex to lookout for kbin images and rewrite the thumbnail_url, but it should probably just be fixed upstream.

Found this github issue which might be related: https://github.com/LemmyNet/lemmy/issues/3775