PSA: Lemmy 0.18 is rolling out in produciton, lemmy.ml has already been upgraded to BE: 0.18.0-rc.6 - the "websocket webapp" removal

3 years ago by RoundSparrow to c/lemmy

underisk 56 points 3 years ago

Already noticing some major improvements in both UI and functionality. So nice to see devs that prioritize improving the platform instead of goofing around with dumbass money making schemes.

path: 0 446302, hotness: undefined, score: 56, children: 1
Senseibu 2 points 3 years ago

Yeah it’s much more eye pleasing now

path: 0 446302 459366, hotness: undefined, score: 2, children: 0
CalcProgrammer1 35 points 3 years ago

Liking the new functionality so far! The spinner when clicking the upvote button is a huge improvement and lets you know that your upvote was actually received. I have noticed that some posts on my homepage show as expanded by default which is annoying (full size image/video instead of thumbnail) and this wasn't happening before.

path: 0 446871, hotness: undefined, score: 35, children: 0
dudeami0 21 points 3 years ago

Upgraded my instance, switched the docker images to 0.18.0-rc.6 and it started right up. Appears to have no issues for me thus far, so hopefully a full release will be right around the corner.

path: 0 446295, hotness: undefined, score: 21, children: 1
RoundSparrow 11 points 3 years ago

Thank you for sharing.

path: 0 446295 446346, hotness: undefined, score: 11, children: 0
Wander 21 points 3 years ago

I'll wait a few days until it's no longer a rc.

path: 0 445963, hotness: undefined, score: 21, children: 1
Re4mstr 9 points 3 years ago

Same; I'm more of a stable guy :P

path: 0 445963 448224, hotness: undefined, score: 9, children: 0
UrbenLegend 20 points 3 years ago

Already seeing a positive difference on lemmy.ml. Better feed content and no more posts being added constantly to the top when you browse All

path: 0 446420, hotness: undefined, score: 20, children: 0
master 15 points 3 years ago

This is so good!. Haven't even updated yet, and I already see a lot more posts from lemmy.ml on my instance, and no more "Subscribe Pending"

path: 0 448047, hotness: undefined, score: 15, children: 1
RoundSparrow 3 points 3 years ago

I've been testing for hours, and "Subscribe Pending" went away for the first hour or so after the restart of lemmy.ml - but now I'm getting them again. The underlying issue still seems there.

path: 0 448047 461745, hotness: undefined, score: 3, children: 0
Martineski 9 points 3 years ago

Where can I see the list of changes?

path: 0 446120, hotness: undefined, score: 9, children: 3
slashzero 3 points 3 years ago

You can load the project directly in GitHub and do a diff between 0.17.4 and 0.18.x.

path: 0 446120 446360, hotness: undefined, score: 3, children: 2
rr7 2 points 3 years ago

Can you link it for a non techie?

path: 0 446120 446360 466700, hotness: undefined, score: 2, children: 1
slashzero 2 points 3 years ago path: 0 446120 446360 466700 482343, hotness: undefined, score: 2, children: 0
bdonvr 9 points 3 years ago

I'm curious why especially lemmy.ml wouldn't wait for full release - surely after 6 RCs the full release is imminent?

Or of course, they're stress testing it. Makes sense enough.

Wonder if I can finally sub to lemmy.ml communities...

path: 0 447638, hotness: undefined, score: 9, children: 7
monobot 19 points 3 years ago

I'm curious why especially lemmy.ml wouldn't wait for full release - surely after 6 RCs the full release is imminent?

lemmy.ml is official developer instance, makes moste sense to test it out here after dev servers.

path: 0 447638 448121, hotness: undefined, score: 19, children: 0
underisk 10 points 3 years ago

It's probably a combination of testing at scale on a server they control and wanting to get these features out so they can be iterated before a bunch of new users show up.

path: 0 447638 447639, hotness: undefined, score: 10, children: 0
RoundSparrow 4 points 3 years ago

Wonder if I can finally sub to lemmy.ml communities…

From my remote instance, I've been subbing to lemmy.ml communuites about every 2 or 3 minutes, and it just now started to jam up. I'm speculating that the server restart fixed the problem for the first hour or so, but now it's back. Open GitHub Issue: https://github.com/LemmyNet/lemmy/issues/3101

path: 0 447638 447731, hotness: undefined, score: 4, children: 4
bdonvr 2 points 3 years ago

It's just so odd that only lemmy.ml communities seem to cause this. Lemmy.world is around as big or bigger and no issue there.

path: 0 447638 447731 448196, hotness: undefined, score: 2, children: 2
RoundSparrow 4 points 3 years ago

I think lemmy.ml has more posts, comments, likes in the database due to historic reasons - and the backend is timing out, PostgreSQL not keeping up to application timeout. I have seen the problem on Beehaw, Lemmy.world when they are busy and throwing nginx 500 errors on their front page.

path: 0 447638 447731 448196 448197, hotness: undefined, score: 4, children: 0
UrbenLegend 2 points 3 years ago

I've also been seeing issues with subbing to lemmy.world communities from lemmy.ml, so I am not sure if it's limited to just lemmy.ml communities.

path: 0 447638 447731 448196 451842, hotness: undefined, score: 2, children: 0
xtremeownage 1 point 3 years ago

I can confirm that.

Not long after you upgraded, I upgraded, and was able to successfully subscribe to things here.

But..... not now. /sadface.

path: 0 447638 447731 457867, hotness: undefined, score: 1, children: 0
xtremeownage 9 points 3 years ago

Also- be aware enabling the new 2FA option.... It didn't work too well for me.

Knock on wood, I tested it in an incognito window before logging out- and was able to disable it when it didn't work.

path: 0 457842, hotness: undefined, score: 9, children: 0
meldrik 7 points 3 years ago

Awesome news! Looking forward to the finished release.

path: 0 446728, hotness: undefined, score: 7, children: 0
edward 5 points 3 years ago

Can we please not have a default avatar? I specifically want no avatar.

path: 0 447019, hotness: undefined, score: 5, children: 1
SkyNTP 12 points 3 years ago

Hard disagree, and in fact this was one of my early complaints, and a pretty serious usability issue: because some accounts had an avatar and some didnt, the justification was all over the place, making the scanning of usernames and community names a real chore and tiresome.

Wether you like the default picture or not, well I guess that's a matter of personal preference. You could always upload a black box for yourself (or even a transparent PNG?).

But that aside this is objectively better UX.

The good news is, there are so many front ends in development, we'll all quickly find a UX tailored to our needs.

path: 0 447019 447753, hotness: undefined, score: 12, children: 0
death916 4 points 3 years ago

This update removes the captcha option still?

path: 0 457599, hotness: undefined, score: 4, children: 3
RoundSparrow 2 points 3 years ago path: 0 457599 457849, hotness: undefined, score: 2, children: 2
themoonisacheese 2 points 3 years ago

Unfortunately the PR doesn't appear to have been merged. All the commits have been made only to the branch pertaining to the PR, unless someone manually copied the code to main (why?)

path: 0 457599 457849 466358, hotness: undefined, score: 2, children: 0
death916 2 points 3 years ago

cool shoulda thought to check that thanks

path: 0 457599 457849 457887, hotness: undefined, score: 2, children: 0
infamousbelgian 3 points 3 years ago

I'm getting a lot of syntax errors at the bottom of the page since well... recently.

SyntaxError: JSON Parse error: Unrecognized token '<'

path: 0 451860, hotness: undefined, score: 3, children: 2
Senseibu 1 point 3 years ago

I get this too on safari on ios

path: 0 451860 459355, hotness: undefined, score: 1, children: 1
infamousbelgian 1 point 3 years ago

I'm on Safari Mac. If that helps anyone...

path: 0 451860 459355 467126, hotness: undefined, score: 1, children: 0
slashzero 3 points 3 years ago

Awesome! Thank you for posting this. I will be updating my instance as soon as I can.

path: 0 446330, hotness: undefined, score: 3, children: 0
purahna 2 points 3 years ago

Can anyone explain why lemmy decided to remove websockets, what they decided to adopt instead of websockets, and to what extent websockets are being removed? I still feel like I don't understand this move (but I'm sure there's a good reason)

path: 0 451852, hotness: undefined, score: 2, children: 2
RoundSparrow 4 points 3 years ago

The primary reason I suspect is that it was buggy code. You would be reading a post and the votes and even the title and body of a post would just change in front of you to the wrong post. The server wasn't keeping the index of clients correct or something. It was a very uncommon way to build a webapp

path: 0 451852 451853, hotness: undefined, score: 4, children: 1
ace 4 points 3 years ago

Websockets really don't integrate well with the entire rest of the HTTP stack, instead just repurposing the socket as a free-standing two-way communication pipe.

You can definitely use websockets for requests like regular HTTP, but you have to reimplement things like cookies/session handling, request resumption/retry, duplicated request detection, request timeouts, authentication, etc yourself if you want to use it that way.

I personally much prefer regular HTTP requests for queries/RPC, and HTTP SSE for notification streams, since those are well developed technologies in the web space - and work much better if there's a middleware in between.

path: 0 451852 451853 464315, hotness: undefined, score: 4, children: 0
tubbadu 1 point 3 years ago

What new feature and bug fixes are going to land with this new version?

path: 0 445808, hotness: undefined, score: 1, children: 0
Faresh -1 points 3 years ago

Is the top bar supposed to not be using the entirety of the available horizontal screen space?

path: 0 466989, hotness: undefined, score: -1, children: 0
gylotip -12 points 3 years ago
path: 0 446808, hotness: undefined, score: -12, children: 5
Hedup 29 points 3 years ago

What? The first one looks so wrong, no website does it like that.

path: 0 446808 447693, hotness: undefined, score: 29, children: 0
xtremeownage 11 points 3 years ago

Might be uglier... but, it follows normal web standards now.

path: 0 446808 457895, hotness: undefined, score: 11, children: 0
Die4Ever 10 points 3 years ago

maybe uglier but the 2nd way means the order doesn't matter, it's a bit more lenient for manually editing

path: 0 446808 451873, hotness: undefined, score: 10, children: 1
andrew 2 points 3 years ago

I mean, you can parse a URL path and query string however the heck you want. You can make the former order independent, but it's probably better supported in libraries as the latter and definitely more common and obvious for users.

path: 0 446808 451873 455901, hotness: undefined, score: 2, children: 0
drcobaltjedi 7 points 3 years ago

Thats literally how most websites handle http GET parameters

path: 0 446808 451876, hotness: undefined, score: 7, children: 0
lemmy
lemmy

@lemmy.ml

login for more options
14708
1352
62

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

go to feed...