:wtf: How can this be so wrong??? (AKA the Discopocalypse thread)
-
No they're not. All but the first one could have been solved in about 45 minutes. And for that one, fuck 'em, they're unsupported. Goodness knows they've said that enough times...
-
Well yeah. If you use IE6, a lot more things than my forum are gonna be broken........
IDK, I try to stay clear of most of that kind of mucking around in low level crap. If I have to, I'll do it, but I try to avoid it if possible.
For the record though - I wouldn't even think about what the Discodevs did
-
-
-
@Lorne_Kates said:
So visiting a usercard compiles all that user's stats-- from scratch-- and will take 13-30 seconds to load on a good day. On most other days it'll crash Discourse.
So, how often do anonymous users access certain users' usercards on meta.d?
How much do you want to bet Discourse doesn't have a sane Robots.txt?
https://what.thedailywtf.com/users/dkf.json?stats=false&include_post_count_for=51117&skip_track_visit=true&_=1449883085849
vs:
Disallow: /users/
I shocked
-
I mean, imagine if say, Git decided calculating the diffs on XML files took kinda long, so every XML file with more than a hundred lines gets sent to xmldiffs.linustorvalds.com where a beefy machine wastes its cycles doing nothing but calculating XML diffs from every single Git instance in the world. That's not just stupid. That's beyond retarded.
It's worse than that. There's only a strictly limited number of images that they could generate given the possible letters (26) and colours (8). This is like Linus deciding that calculating diffs on single-byte files is taking too long, so he'll create that fancy webservice just for that.
Utter insanity.
-
Or... do what NodeBB does and choose a (random?) color, put a HTML letter in front... and... problem solved.
Actually.... it appears to use (used? certainly in 8, might be changed in 9) gravitar as well.
-
Not good
-
It doesn't do that by default in my instance. But I just installed that...
-
As I said, I think they've stopped using it in the more recent versions.
-
-
Actually.... it appears to use (used? certainly in 8, might be changed in 9) gravitar as well.
This forum did the same thing back when we adopted it, so.
-
Option seven: do a Google Images search for the user's nickname, pick a random image from the first 25 results, and set a resized version of that as the user's default avatar.
What could possibly go wrong?
I just did a GIS on "mott555" and the results were surprisingly relevant. There is even one picture of my motorcycle in there. Not just my model of motorcycle, but my actual motorcycle.
-
-
@FrostCat said:
we need a :dischorse: emoji
a : no we don't.
Sure, like the
:arrows:
one, so it's easier to type.
-
When a user's own letter avatar doesn't load, discourse doesn't show any placeholder for it. That means the user's "profile/messages/preferences" menu at the top-right completely disappears, preventing them access to many features.
As usual, Jeff misses the point.
@codinghorror said:
This particular rabbit hole has no bottom. What if the JavaScript fails to load? Or the Font Awesome font?
-
An in case you think he isn't being enough of a dick he goes on to elaborate:
Thanks for the patronizing lecture on how the web works.
I am not sure an alt tag would actually help in this very specific, particular -- and rare -- case.
-
The funny / tragic bits from that post, in case of Jeffing and for emphasis:
There's at least a dozen ways avatars can fail to load.
...
The avatars have an order of magnitude more failure modes.My avatar menu was showing as a broken image for a while on mobile. After a few days I got tired of that and refreshed and then it was back. I always thought that avatars would be the easiest thing about writing forum software. I guess given the rest of discourse, my opinion on that hasn't changed, actually.
-
I always thought that avatars would be the easiest thing about writing forum software.
They should be but it's Discourse.
-
Also...
(any idiot could come up with a better string)
Yeah... like the first letter of the username.
-
There's at least a dozen ways avatars can fail to load.
ESPECIALLY SINCE YOU KEEP THEM ON A FUCKING SEPARATE SERVER FUUUUUUUUCK
-
@boomzilla said:
I always thought that avatars would be the easiest thing about writing forum software.
They should be but it's Discourse.
Easiest != Easy
-
Discourse is just a Heath Robinson/Rube Goldberg contraption designed for
107.5 years from now.
-
Anything going through a web server is in a "shit happens" status. Back when I worked web analytics (and given, we were dealing with slower connections, more modem users, etc.) we found that about 1.5% of HTTP requests failed on average. On all sites we measured, most of which were considered "rock solid" or close to it. (One of our clients was a major online auction site I won't name but its name rhymed with TJ Boaters.)
The long and short of it is, anything working over HTTP has to cope with the fact that 1-2% of requests will fail no matter what. In areas with bad Internet, like poor areas where Internet is only available in cellphone wireless form, it'll be far higher.
http://blog.chriszacharias.com/page-weight-matters <- Kind of related.
-
Also, ROTFLOL @ "this problem occurs for me daily because of CloudFlare CAPTCHAs due to shared public IP.
Discourse...its our way or
a working waythe banhammer.
-
"this problem occurs for me daily because of CloudFlare CAPTCHAs due to shared public IP.
I missed that.
-
Hey, stupid idea, since everything is fixed size anyway maybe... oh, I don't know, put some
min-width
andmin-height
attributes on thatimg
so I can click on something even if it's a "oh noes, image failed to load" icon thing?No?
-
I'm guessing what @boomzilla meant is that since (we need a :dischorse: emoji) Discurse is built of libraries on top of libraries, most of which are either crummy or written in non-performant languages, shit just doesn't run fast, or with low memory usage, etc.
It's not about indexes or indices, it's about them recalculating EVERYTHING on the fly for EVERY request.
Works great for a few hundred posts and etc.
Works like shit once everyone has thousands of posts with tens of thousands of likes.Just liking this post will cause it to recalculate all of the likes on this topic to update the total likes count on the topic's OP (unless they've changed that since I was last around).
-
yay infiniscroll broke because of my reply again.
EVERY
FCKING
TIME.
-
Just liking this post will cause it to recalculate all of the likes on this topic to update the total likes count on the topic's OP (unless they've changed that since I was last around).
I think this has been changed somewhat. I forget how, and it's probably changed more since they changed it that one time.
-
I think this has been changed somewhat. I forget how, and it's probably changed more since they changed it that one time.
Bikeshed all the queries!
-
Presumably it'll change again when big topics are "supported".
-
We're already, like...4 "beta" releases behind.
-
We're that far behind? Think of all the regressions we're missing out on! Some of them might be important!
-
It's not about indexes or indices, it's about them recalculating EVERYTHING on the fly for EVERY request.Works great for a few hundred posts and etc.Works like shit once everyone has thousands of posts with tens of thousands of likes.
Yeah, that's idiotic.
-
I just did a GIS on "mott555" and the results were surprisingly relevant.
Bug killer. Lots and lots of bug killer. (Guess "dcon" == "d-CON") And not a single image pertaining to me...
-
@mott555 said:
I just did a GIS on "mott555" and the results were surprisingly relevant.
Bug killer. Lots and lots of bug killer. (Guess "dcon" == "d-CON") And not a single image pertaining to me...
People. Nothing but people. There was one guy holding a dildo (it wasn't purple), and then there was Khan:
-
: UI problems = NOTABUG. No reason to waste team time trying to fix this, but hey, if some
poor schlubcommunity member wants to contribute, we might get around to merging it, eventually.Assuming you don't get banned first.
-
ZOMG...if I knew, like, Ruby and shit...I'd totally make one that simplified letter avatars by 10,000,000%.
This whole subject reminds me of Liar Liar! where Jim Carrey screams at his client through the phone, "STOP BREAKING THE LAW ASSHOLE!" Except more obvious.
-
hmm... interesting collection of images i get for GISing my username...
including this ont:
-
if some poor schlub community member wants to contribute, we might get around to merging it, eventually.
Well... sam did commit a change to add the ALT text which lasted 2 hours before being reverted.
Apparently he was too busy reverting his own change to bother with the sensible suggestion he had to resolve the issue.but we also should stop using a blank image on failure (we send a blank dot, which in retrospect was not a great idea) and instead send a default avatar image.
-
a default avatar image.
How about this one?
https://what.thedailywtf.com/user_avatar/what.thedailywtf.com/lorne_kates/120/204_1.png
-
Almost perfect. Can we have it gouging its eyes out, too?
-
If discourse allowed it, I'd page @Lorne_Kates for you to answer that.
-
If discourse allowed it, I'd page @Lorne_Kates
for you to answer thatto answer that for youSeriously people. English has feelings too.
-
And I suppose I should pedant myself too.
Seriously, people.
-
Its only fare.
-
This one still rolls on...
Something that didn't get fixed has now "regressed".@codinghorror said:
I'm not sure this was ever fixed TBH
...probably shouldn't have closed it previously then, Jeff.
-
That was posted by the Beige Lantern of Terrible DeviantArt
-
That was posted by the Beige Lantern of Terrible DeviantArt
oh, so you're a fan of their work too! excellent!