Deviant Login Shop  Join deviantART for FREE Take the Tour
×

:icondt: More from dt


More from deviantART



Details

Submitted on
August 12, 2013
Link
Thumb

Stats

Views
87,496 (32 today)
Favourites
38 (who?)
Comments
94
×
Developers can be angry people sometimes. This is actually quite the understatement and dt is no exception to that assessment. With web development in particular, there are several moments during the day where we are astounded, perplexed, and irritated by why something works the way it does--often over things beyond our control like lack of uniform web standards. Abe Stanway, the creator of Commit Logs from Last Night, actually gives a pretty compelling, and serious, Ignite talk on the functionality of profanity for developers here:



(It has several cool histograms and visualizations of how developers use profanity and which languages it's most prevalent in--surprise ending: Javascript generates the most profanity)

Last week, we received a very interesting, if not amusing, bug report:

"I just wanted to let you know that the reason why deviantART's CSS isn't loading properly for some people is because one of your CSS files has f*** in a stylesheet comment."

That's right. The almighty F-word was breaking how some stylesheets were loading for deviants who were accessing the site from computers with overly sensitive system-wide profanity filters installed. These users' browsers likely stopped parsing the stylesheet entirely upon reaching the word in the stylesheet, leading to a fairly ugly and/or broken page.



The irony here is that we didn't have to do anything to fix this bug (well, we did have to rename an image file that had a vulgar name!).

Why didn't we have to do anything?

Last week, we made a pretty big switch in how we build stylesheets on deviantART. We started using LESS with the CSS rollup files that we build (deviantART has hundreds of stylesheets--we combine these into single rollup files to reduce the number of requests your browser has to make).  One of the outcomes of this switch was that we no longer serve stylesheets with developer comments left in.

Oops. We're sorry, everyone. We can't promise we'll never swear again. But we can promise if you're browsing deviantART at the public library, our swearing won't stop you from using the site. :)

Add a Comment:
 
:iconeigthuan:
eigthuan Featured By Owner Dec 9, 2013  Professional Interface Designer
3.times do
  print "Ha"
end
Reply
:iconhormesis:
Hormesis Featured By Owner Nov 11, 2013
Lovely. Now let's see if we can get the "your browser is not a *-nightly" warning to go away.


Love, an Opera user on Ubuntu (yeah, there's newer Blink-based Operas out there but I still haven't found what doesn't work on DA on Opera. So to access the top menu without constantly closing the thing, I had to write my own rule in the browser's user stylesheet).


Hah, I'm no fan of LESS but it certainly is an advantage that I can swear more in development knowing someone won't see those comments when accessing the .css file via the website.

Reply
:iconlablayers:
LabLayers Featured By Owner Sep 22, 2013  Student Interface Designer
Confession: it was me who complained, because I couldn't access deviantART from school. Thanks for the epic follow-up! :C

 
Reply
:iconfartprincess:
fartprincess Featured By Owner Sep 24, 2013  Professional Writer
:)
Reply
:iconprojectstarspirit:
ProjectStarspirit Featured By Owner Sep 18, 2013  Hobbyist General Artist
/me rolls on the floor laughing crazily

I used to do web development... I feel you guys. Totally. XDDD
Reply
:iconprojectstarspirit:
ProjectStarspirit Featured By Owner Sep 18, 2013  Hobbyist General Artist
p.s.: And I used to have some of the most insane comments in my code occasionally. Or writing comments in haiku form... *rolls eyes*
Reply
:iconnoidexe:
NoidEXE Featured By Owner Sep 10, 2013  Professional Filmographer
Reply
:iconknightar:
KnightAR Featured By Owner Sep 5, 2013  Professional Artist
I only just now realized that the CSS is also now minifyed ... I love how it has saved almost 100KB in just 4 CSS files on the main page, It's truly nice. Should help out with the mobile side of things too. :)
Reply
:iconaklp:
AKLP Featured By Owner Aug 30, 2013  Professional Interface Designer
Why wouldn't you minify your css files anyway?
That's rather ridiculous coming from a huge website like da
Reply
:iconknightar:
KnightAR Featured By Owner Sep 5, 2013  Professional Artist
I don't know why, but it was just never done. (Speaking as a ex-web developer at dA) I don't know why we never put the effort into changing that but I do know it wasn't just a simple "ok lets turn this on" sort of change. I do know there was talk multiple times to change it but it just never happened.
Reply
Add a Comment: