Fuck you, Wikipedia
-
@Gribnit said in Fuck you, Wikipedia:
@dcon said in Fuck you, Wikipedia:
@cvi said in Fuck you, Wikipedia:
@error said in Fuck you, Wikipedia:
@hungrier I figure I'll keep it simple.
!sms --letter1=H --letter2=e --letter3=l --letter4=l -letter5=o --line2 --letter1=w --letter2=o --letter3=r --letter4=l --letter5=d
Worst interface ever.
Should start with --letter0=H.
And it should have a
--letter00=
too.Something to denote a probability other than 1, of just one letter per position, is sorely lacking. For instance, frequently misspelled words.
I was thinking that the letter you requested wouldn't necessarily be the one you got.
-
@boomzilla said in Fuck you, Wikipedia:
@loopback0 said in Fuck you, Wikipedia:
@topspin I can't even remember what problem the DiscoDevs thought they were solving.
The topic about it on their forum no longer exists, natch.I remember saying that just throwing a letter up and centering it with CSS didn't always look quite right, so they had to do something custom to make everything perfect.
Oh right yeah.
If you disable the avatar CDN it generates the images on-demand (at least the first time) on your server, which is the original behaviour.edit:
Discohorse 1.4On top of that, we now serve default Discourse avatars via avatars.discourse.org, a completely free, CDN based hosting service for our default “letter” avatars that further reduces CPU load and disk space on your Discourse server, while adding the benefits of global caching.
Global caching. For letters.
-
@loopback0 said in Fuck you, Wikipedia:
Global caching. For letters.
Rendering letters to images in the first place seems kinda like crossing the river for water.
-
@loopback0 said in Fuck you, Wikipedia:
If you disable the avatar CDN it generates the images on-demand (at least the first time) on your server
Which is exactly the thing to do. Except you do it exactly once on user sign-up instead of on page request, and then treat that image like every other avatar image. But noooo, you need special cases for everything. And CDNs.
-
@topspin There's a mangled copy of the original thread on Wayback Machine...
For scale of the enormity of the current cost, in the last 24 hours we spent 30 minutes of CPU time in the last 24 hours on meta alone, generating these avatars. At our hosting scale it's as though we have single CPU dedicated permanently for letter avatar generation.
-
@loopback0 I’m sure the irony of his user name / blog name is completely lost on him.
-
@loopback0 said in Fuck you, Wikipedia:
we have
single CPU dedicated permanently for letter avatar generation.Microservices architecture
-
1984Jeff Atwood's blog was not supposed to be an instruction manual.
-
@boomzilla said in Fuck you, Wikipedia:
@loopback0 said in Fuck you, Wikipedia:
@topspin I can't even remember what problem the DiscoDevs thought they were solving.
The topic about it on their forum no longer exists, natch.I remember saying that just throwing a letter up and centering it with CSS didn't always look quite right, so they had to do something custom to make everything perfect.
And the mystery remains of why it couldn't be handled like normal picture avatars, except starting from a generated letter picture rather than something user-uploaded
e:
-
@cvi said in Fuck you, Wikipedia:
@loopback0 said in Fuck you, Wikipedia:
Global caching. For letters.
Rendering letters to images in the first place seems kinda like crossing the river for water.
But it would (and apparently does, in some cases, depending on configuration, , per posts ) simplify the code by having every avatar, letter or custom, go through the same code path
-
@hungrier said in Fuck you, Wikipedia:
@cvi said in Fuck you, Wikipedia:
@loopback0 said in Fuck you, Wikipedia:
Global caching. For letters.
Rendering letters to images in the first place seems kinda like crossing the river for water.
But it would (and apparently does, in some cases, depending on configuration, , per posts ) simplify the code by having every avatar, letter or custom, go through the same code path
Sure. It achieves that by complicating everything else, but that's elsewhere, which is neither here nor there, hence nowhere, and it may not be much simplification, but (misinterpreted proverb).
-
@loopback0 said in Fuck you, Wikipedia:
in the last 24 hours we spent 30 minutes of CPU time in the last 24 hours
Over how many hours though?
-
-
@error said in Fuck you, Wikipedia:
@loopback0 said in Fuck you, Wikipedia:
in the last 24 hours we spent 30 minutes of CPU time in the last 24 hours
Over how many hours though?
Half an hour.