john: Various candles, in multicoloured jars, under trees in the evening (nz:evening)
John ([personal profile] john) wrote in [site community profile] dw_dev2010-12-02 09:20 pm
Entry tags:

Code tour: 2010-11-26 to 2010-12-01

(To the tune of "Good Morning, Baltimore") Good evening, Wellington! ...wait, nothing rhymes with Wellington. This is a crap song. (Perhaps "Duke Ellington" rhymes? Hmm.)

ANYWAY. It is a gloriously sunny December evening here in the capital of New Zealand. I've just moved here from the UK, and since it's already tomorrow here, I thought I should take you through yesterday's code tour. (Which is today, for those of you to my west. I hate temporal mechanics.)

By the way, all of these patches are HOT LIVE NOW on Dreamwidth, since yesterday's code push. If you have any concerns, or if anything is broken, please feel free to use the usual channels. (Darlings, I have no idea what the usual channels are, but I'm sure they're fabulous. Just comment here if you don't know and I'm sure somebody who knows what they're doing will be right on top of you like jam on a scone at the Ritz. More champagne? I don't mind if I do!)

Bug 2684: Segfault in Unicode::CheckUTF8, if we pass in a non-string to LJ::is_utf8
Category: Misc Backend
Patch by: [personal profile] exor674
Description: So the first bug on the code tour? I have absolutely no idea about. [staff profile] denise tells me that it...actually, I have no idea what she just told me. It has something to do with UTF-8 encoding, which I think is Writing In Foreign, not crashing. Or something. And she's a lovely person, and she has a really hot and clever wife, and she's just bought a house, so why wouldn't you believe her?

Bug 3249: holiday bonus promo
Category: Site Administration
Patch by: [personal profile] fu
Description: 10% extra on all orders made in the month of December! Champagne and caviar all round. Mine's a Bolly, the 2000 if you have any left.

Bug 3152: create Keywords.pm for interest-related code
Category: Misc Backend
Patch by: [personal profile] kareila
Description: Well, this is another one that I have no idea about. [staff profile] denise tells me that this is a cleanup of the subroutine things that deal with interests, bringing them all together to make life easier for devs. I don't know, aren't they all in the EPS conduits in the Jefferies Tubes?

Bug 3284: Funky Circles: remove superfluous !important
Category: Style System
Patch by: [personal profile] ninetydegrees
Description: Are you using the fabulous Funky Circles? I am! This one removes superfluous !important from it. No, darlings, I have no idea what that does, but the bug tells me that superfluous !importants are "bad, bad, bad". So, hurrah for the fix. More Bollinger, please?

Bug 3268: Include navigation options after adding an interest
Category: Site Layout/Navigation
Suggested by: [personal profile] tree
Patch by: [personal profile] ninetydegrees
Description: Oh, this is very clever! After adding an interest, you now have additional options for doing things next. But there doesn't seem to be an option for "pour me another glass of Chateau Lafitte, please". How does one go about raising a bug for that?

Bug 3253: Wrap links in email notifications with spaces
Category: Inbox/Notifications
Suggested by: [personal profile] azurelunatic
Patch by: [personal profile] ninetydegrees
Description: Oh, the Divine Miss Lunatic! Darling, it has been too long, but we will always have the Rocky Horror Picture Show in Pacific Heights. This bug helpfully fixes a horrid little problem where parentheses after a link were turned into part of the link by some email clients. Ghastly. The fix (as with all of these) should be live now, so hopefully that's all done and dusted.

Bug 3265: Link back to support from support notifications page
Category: Site Layout/Navigation
Suggested by: [personal profile] cesy
Patch by: [personal profile] ninetydegrees
Description: Smashing idea! This creates a link back to the support page from the success page after you've changed your support notifications. So, if you do that, this sounds terribly helpful. Chapeau, darlings.

Bug 3312: Timeformat setting showed to communities, where it doesn't actually make sense.
Category: Misc UI/Frontend
Patch by: [personal profile] ninetydegrees
Description: So, this very sensibly stops showing timeformats to communities. I know I hate when that happens. It's like somebody passing the port to the right at a dinner table. Simply ghastly. (The real reason, according to [staff profile] denise, is that your and my individual time settings always override whatever the community's timeformat is when we read. So it's entirely superfluous.) Hurrah!

Bug 3307: remove Beta Helper page
Category: Payments
Patch by: [personal profile] kareila
Description: "Beta Helper" sounds useful, doesn't it, darlings? Alas, it's less helpful than a kazoo attachment for a scuba mask. This is a relic of the olden days when men were men and sheep were scared, before the Dreamwidth payment system was finished, and it let the devs set themselves as paid accounts to test those features. Since we now have a proper, honest-to-goodness, heavens-to-murgatroyd, twenty-four-hours-to-tulsa payment system, this won't work properly, so away it goes.

Bug 3311: unknown8bit entries cannot be edited, and break /editjournal if they exist in the range.
Category: Journal contents
Patch by: [personal profile] exor674
Description: Ah, marvellous! If you, darlings, or your old client or Del.icio.us autoposter or whatnot, were foolish enough to declare the wrong character set, you wouldn't have been able to edit the entry. (Well, I do declare!) This marvellous fix lets you do just that. Although you'll need to fix the characters that display as ?. (Gosh, that sentence sounds Australian? At least it does to me? Feesh and cheeps, innywan?)

Bug 2792: regexp cleanup
Category: Misc Backend
Patch by: [personal profile] kareila
Description: [staff profile] denise tells me that this rewrites our backend code to be faster and more efficient. (Apparently, this week is unusually backend-heavy. Just how I like 'em, hurr hurr. *winning smile*)

Bug 3319: Setting a color to transparent in the layout layer prevents detection of unset variables
Category: S2 Backend
Patch by: [personal profile] fu
Description: Ooh, setting colours to transparent in the layout layer. I don't mind saying that there are some people whose layout layers I'd like to change to transparent, if you know what I mean. Tom Hardy, I'm looking at you. This fixes a reported bug with the code push, where some bits of styles were being set to transparent when they shouldn't have. And if Tom Hardy is reading this, please get in contact so I can set your style to transparent. Thank you.

Well, this has been this week's code tour. Please return your seatbacks to the upright position and lower your armrests. Those of you in our first class cabin should put away the champers now. Yes, sir, that means you. Yes, you in the "I <3 Kittens" shirt. I can see you from here. Well, sir, it could be worse, we could be Qantas.
dreamatdrew: (Ragabash)

[personal profile] dreamatdrew 2010-12-02 09:36 am (UTC)(link)
John, I <3 you, you silly tribble.
sid: (pretty Champagne)

[personal profile] sid 2010-12-02 09:49 am (UTC)(link)
:-D This was very informative! *makes note to pass the port to the left*
toby: (Default)

[personal profile] toby 2010-12-02 11:29 am (UTC)(link)
:))))

<33333
the_shoshanna: autumnal glass of wine (autumn wine)

[personal profile] the_shoshanna 2010-12-02 12:35 pm (UTC)(link)
Wow, was this ever the wrong code tour to read on the morning after the night before. And yet -- hee!
Edited (Night before. Morning after. Word choice is hard.) 2010-12-02 12:36 (UTC)
sporky_rat: Antique travel poster for Star Wars planets. Text: TATOOINE (Tatooine)

[personal profile] sporky_rat 2010-12-02 02:10 pm (UTC)(link)
I vote [personal profile] john does the Code Tour at least once a year. We NEED information like this.
sara: S (Default)

[personal profile] sara 2010-12-02 05:28 pm (UTC)(link)
*cackles* Jesus fuck, John, I still have no idea what the code does but you've certainly filled me with enthusiasm for referring to the Tedious Doing More Graphic Design portion of my morning.

Okay, not really, mostly you've made me want a drink but it's 9:28 a.m. and the sun is quite clearly not over the yardarm (indeed, this being December, it will be roughly four months until we see the sun again, but hey.)
porta_niveus: (no user pic violet)

[personal profile] porta_niveus 2010-12-02 05:33 pm (UTC)(link)
i vote john does the code tour ALWAYS!
sky: Thera from Danger Gang (jrock - thera salute)

[personal profile] sky 2010-12-02 05:37 pm (UTC)(link)
This is officially my favorite code tour.
holyschist: Image of a medieval crocodile from Herodotus, eating a person, with the caption "om nom nom" (Default)

[personal profile] holyschist 2010-12-02 05:54 pm (UTC)(link)
This may be the best code tour ever.
chris: (kittens)

[personal profile] chris 2010-12-02 06:47 pm (UTC)(link)
Yes, you in the "I <3 Kittens" shirt.

moop?
dorothy1901: OTW hugo (Default)

[personal profile] dorothy1901 2010-12-02 10:27 pm (UTC)(link)
Bug 3253: Wrap links in email notifications with spaces

Yay! It's been fixed!

Fabulous tour, BTW.
delight: (Default)

[personal profile] delight 2010-12-03 03:52 am (UTC)(link)
This code tour is MARVELOUS.
catchmyfancy: Picture of Robert Downey Jr as Tony Stark holding a drink with the text "I used to jog but the ice kept falling out of m (drinking problem)

[personal profile] catchmyfancy 2010-12-03 10:54 am (UTC)(link)
\O/

Yay: alcomocol and Fabulous Geek Rant: one adored this, sweetie darling sweetie (and by the way my knowledge of code and similar is along the lines of "he said 'back end' fnar fnar fnar", so I'm all o_O that you made me snarfle my way through this).

AND it made me want to break out the alcomohol almost as much as when I drag out the "Bad Santa" DVD for its yearly viewing.

When you come to Melbun and I will take you to the Gin Palace. Or Vodka Borscht & Tears.
cesy: "Cesy" - An old-fashioned quill and ink (Default)

[personal profile] cesy 2010-12-03 12:25 pm (UTC)(link)
I love this code tour.
baggyeyes: Bugs Bunny and the Bull (Default)

[personal profile] baggyeyes 2010-12-03 03:42 pm (UTC)(link)
♥♥♥
musyc: Stock photo of wine goblet decorate with small purple flowers (Vibe: Goblet)

[personal profile] musyc 2010-12-03 07:38 pm (UTC)(link)
I don't think I've ever enjoyed a code tour more. Hip hip huzzah for [personal profile] john! :D
azurelunatic: Vivid pink Alaskan wild rose. (Default)

[personal profile] azurelunatic 2010-12-04 06:21 am (UTC)(link)
So we shall, my dear, so we shall!

Did I mention that after our party went its separate ways, that I chanced upon a giggle of virgins? And that they, poor things, were planning to ride home on BART? At 3am? On a weekend? The very day that BART's weekend service went from early to 8am? The last I saw of them, they'd decided to head for a diner to wait for transit to wake up.
frandroid: A key enters the map of Palestine (Default)

[personal profile] frandroid 2011-01-08 03:28 pm (UTC)(link)
This was fun!