terriko: (Default)
2014-02-16 10:48 pm
Entry tags:

Photogenic Mailbox in Snow

The snow is gone at this point (now it's all "risk of flooding" and "high winds" out here), but I thought I'd share a photo from last weekend:

Photogenic Mailbox in snow

This mailbox has a little spotlight above it (presumably so people don't drive into it or so that the mail carrier can find it), which always amuses me. I personally refer to it as "photogenic mailbox" because of the spotlight. Photogenic mailbox is apparently also photogenic in the snow, not just the dark.

I imagine I'll use photogenic mailbox in a presentation about GNU Mailman, someday!

Note: you can actually see the spotlight, or evidence of it, if you look at the photo carefully. I should have photoshopped that out, but it turns out photoshop was installed on the hard drive that died, so I haven't sorted that out and gotten it re-installed yet.
terriko: (Default)
2014-01-19 10:42 pm

Misc misplaced makeup photos

I imagine I took these before/after shots to showcase some product, but I'm no longer sure what it was:

BeforeAfter

I'm guessing maybe it was the lip colour? It looks like I'm probably wearing some blend made with one of the obsessive compulsive cosmetics lip tar sets from sephora (A discontinued set I got on sale, but here's a superficially similar set with different colours). It's entirely possible that I was trying out the Chella pencil of my previous review, but as I said in that review, the thing is so subtle that it's hard to find in a still photo (which might explain their resorting to photographic trickery rather than a true product demo).

I am a bit concerned about the orange-yellow cast in the second photo: I'm pretty sure it's a light thing, but it's possible that my current tinted moisturizer/sunscreen doesn't match my increasingly paler skin since moving out of the desert. I guess I'll go let makeup experts colour match me sometime when I'm at the mall.

Aaaanyhow, nitpicking aside, I'm posting this to show a before/after that, to the best of my ability, does not use any photo tricks to make me look better in one photo than the other; it's just a change of makeup (and possibly some light, since it's an hour later by the time I got around to doing the 2nd photo and it is sunlight). I do cheat a bit with the smile, I suppose, but I have a few unsmiling ones and it doesn't make that much difference. Do feel free to compare with the before/after I complain about in November's review.
terriko: (Default)
2014-01-17 08:31 am

Birchbox October 2013, revisited

So, remember that "Karuna Clarifying Treatment Mask" that I really really hated? I just found the photos I took and while they're all creepy, this is too hilarious not to share:

20131022-IMG_7792.jpg

I believe that expression fully captures the horror I felt while using this product. MY FACE IS MELTING.

Edit: Since I crafted this much shorter version of the review for a friend on FB, I think I should share it with the class here as well:

The Karuna Clarifying Treatement Mask hurt like burning, dripped everywhere, and was generally awful. It did make my face very soft, but I think that was due to the fact that it may have been slowly eating it. I'm pretty sure it is made of facehugger digestive juices.
terriko: (Default)
2014-01-06 12:43 am
Entry tags:

Portland

Went for a hike today. This was at the top of the hill we climbed:



Definitely a day for "OMG, I can't believe we live here now" moments. I left a cold snap behind in Ottawa, and came to a land of moss and... well, okay, it's still below freezing, but not quite so far below.



Also, look, new year, new camera, new computer to handle processing! I've got a huge backlog but for now, I'm just going to go like I've declared photo bankruptcy and start trying to keep up with the new. Today, however, the setup took long enough that I'll be stopping at 2 photos (for my AAW submissions) so that I actually get some sleep before work tomorrow.
terriko: (Default)
2013-03-25 11:31 pm
Entry tags:

Back from Pycon!

I should write up a proper trip report with pictures and stuff, but as it's nearly midnight and I don't want my sleeping patterns to stay on California time, you get some short highlights:

1. The conference itself was awesome. Recall: I attended the sprints last year but not the main conference, so while I had high hopes I didn't know that the content would be so good. I attended a lot of great talks and no doubt missed quite a few as well. I'll be making heavy use of the conference recordings over the next little while, I expect.

2. I am really excited about my free raspberry pi. While I know lots of folk who frequently get given cool toys and told to go hack them, this is the first time someone has gifted me with such an item/mission, and it feels great. I haven't figured out what I'm going to do yet, but there was this great talk about hooking one up to a $300 CNC machine, and another great one about home automation that could be useful...

3. The sprints were super-productive! You can see our todo/completed/waiting list here if you want the nitty gritty. I'd been joking earlier to anyone who asked that we were totally going to release by Friday, and while we didn't do that, we *are* very close and you should all expect a beta release of postorius + Mailman 3 very soon. I can't wait to show it off!

4. Perhaps later I'll do up the stats on exactly what I was doing to our repository, but I should tell you that not only did I make plenty of my own code commits, but I also got to merge code from new contributors. This was totally my favourite part, seeing new folk get their code accepted and in the main tree. And it wasn't just the people who were physically at the sprints with us: I also merged code from people contributing remotely, most of whom are prospective GSoC students. Way to impress me, students!

5. I got to talk to a bunch of people about GSoC. I do this all the time by email, but it was especially fun to talk to folk in person about what's involved, why it's awesome, how to be good at it, and why they should sign up.

6. And post-con, I got a few days to catch up with friends in the area and visit the Japanese Tea Gardens in Golden Gate Park, which I've wanted to do ever since I read Seanan Mcguire's October Daye books. As I processed a few photos for this week's assignment, you get one here:

1/400s of meditation in a tea garden

And with that, midnight has rung and it's bedtime. I have a long week of catch-up ahead of me at work, but expect some more pycon / mailman / gsoc posts out of me over the next little while as I internalize all the things I've been thinking about this past week.
terriko: Yup, I took this one. The eyes are paper, not photoshop (chair)
2012-09-17 01:03 am
Entry tags:

Still and moving

I'm trying to get back into the swing of doing active photo assignments every week. So here's this week's photos and explanations:

Trail and tram

Trail and tram



Taken for AAW: Still and Moving

The Sandia mountain peak is at 10,378 feet, and the tram is definitely the fastest way there, taking you from 6500ish feet to over ten thousand in around 15 minutes. More about the Sandia tram. However, it is actually possible to hike all the way up there if you have a lot of time and even more stamina... One way is definitely faster than the other.

On the left, you can see the quiet hiking trail that I'm standing on to take the picture (note the complete lack of guard rails as you walk along the edge of the ridge) and on the right you can see the tram, constantly in motion bringing passengers ascending to the peak. (Yup, you can see the passengers if you view this large!)

What it took:
$20 for the tram ride, a short hike along the ridge looking for a nice spot where I could see both trail and tram, and some waiting. I wish I'd thought to do a nice HDR here, but I forgot until the tram was too close to fiddle with camera settings, so this was post-processed to balance out the exposure a bit and bring out some more of the colour the way it looked to my eyes.





Music in motion and stillness

Music in motion and stillness



Taken for AAW: Still and Moving

As a musician, I'm often told to remember that the silences and stillness are as important to a piece as the notes, so when I saw the "Still and moving" assignment I immediately thought of music.

It's hard to show sound in a photo, but it is a little possible with a stringed instrument because you can see the moving strings that produce the sound. In this case, the four right most or lowest strings are being plucked, while the two upper strings remain (mostly) still.

What it took:
Guitar on my lap (played more dobro-style) so I could better manage the lighting and reach the camera shutter without risk of the instrument slipping. I pointed a small warm light at my fingers to get some shine and enough light to brighten the strings so you'd be able to see the motion. Then put the camera on a tripod and set the aperture to 1.4 for soft bokeh around the edges and to amplify any motion of the strings. I think I used the timer for this shot, although I experimented with the remote and with operating the camera directly. I chose a 1/10 exposure so that you'd see the motion blur on the things I was intentionally moving and hopefully not the guitar body (or camera when I was hitting the shutter directly). I tried first with just the strings moving, but it wasn't sufficiently obvious what was going on unless you knew what to look for, and I wanted a picture that was more clear and hopefully satisfying to non-musicians!

All the fiddling happened before the photo was taken, so this is straight out of camera (well, converted to jpg, but close enough)

Another photo idea that didn't make it:
I thought it would have been nice to set up the photo so that you could see the still fingers holding a chord on the neck of the guitar and the moving fingers doing fingerpicking. Unfortunately, I wasn't sure I could manage the lighting and camera without a helper on that one, so I decided to go with the simpler shot. Perhaps another day!
terriko: Adorable icon care of John (bubble bobble)
2012-09-10 02:25 pm

Knitting cables!

And, to offset the griping in my private posts today, here's a pretty picture of something I'm working on:

Knitting big and small

I took this photo for the Active Assignment Weekly flickr group, which gives a weekly photo challenge. I haven't been participating much for a variety of reasons, but this week's challenge was "big and small" and the knitting was right there.

I have to say, though I love the final look of knitted cables, they are the most hand cramping awfulness at that size and my level of experience. The metal needles are new, purchased because I have horribly bent the wooden ones in that size that I was using. Glad I started on the wood, or I'd have given up in despair over dropped stitches on slippery needles, but I'm also glad I switched because it's so much easier now that I've got the hang of it. And I'm glad I didn't give up, 'cause gloves are a nice size to carry around and now that the first one's close to done I'm so darned pleased with myself for managing it! I have clearly leveled up in knitting between this and the chunky lace scarf I've been working on.

Next up: finishing my long-neglected pony for Katie (she has hair now, but I'm rubbish at embroidering cutie marks on crochet...) more crocheted angry birds for people to play with at the Albuquerque mini maker faire, and finishing my set of mane 6 teensy tiny felted crochet ponies. Plus a Top Secret present project that must be done before the end of September.

I am also trying very hard not to get drawn into making an arcade sona dress. I've been playing some more LoL specifically because she was free in the pax swag bag and not only do I like playing support (something I didn't have a char for in LoL) but I also enjoy the cute little video game touches they put on that skin. The DDR attack forces people to dance!



Unfortunately, I'm not interested in spending a day wearing nothing but a bra on top, so it's not likely cosplay for me. But I am obsessed with her skirt right now with the pixels and the rainbows. I have a problem, I know.

Edit: because the Arcade Sona costume idea is in my brain now -- wouldn't it be cool to build her console and have the buttons make the light effects, including the DDR attack? I could totally find a little set of projector lights that would let me do that... Darnit, I'm not talking myself out of this anytime soon, am I?
terriko: I am a serious academic (Twlight Sparkle looking confused) (Serious Academic)
2012-05-26 05:09 pm

Little Violet Pony!

I'm working on a few other projects that are secret 'cause they're presents, but this one's a present that the recipient is expecting, so you get to see her now:

Violet Pony for KatieViolet Pony for KatieViolet Pony for KatieViolet Pony for KatieViolet Pony for Katie

I'm still waiting to hear from Katie to see if she needs any adjustment or whether the colour is what she had in mind, but it's nice to have another pony done!
terriko: Adorable icon care of John (pax)
2012-02-26 12:11 am
Entry tags:

Quelab chocolate and candy hacking night

Quelab had a chocolate-themed hack night tonight, which included a double boiler made from dog dishes, delicious chocolate pearls (I almost typed perl... such a geek), several variations on chocolate mousse, several failed attempts at a chocolate rocket (although the test fuel burned well, the fuse fizzled on the rocket itself). But my favourite part was sitting down with a bunch of fellow geeks and altering conversation hearts to be a little more geeky. We had waaaaaay too much goofing off and geeking out while coming up with things to put on the candy. The best set is probably these themed ones:




I came home craving Doctor Who and devoured a couple of episodes while putting together my crochet Fluttershy. More pictures of the hacklab and the new pony tomorrow, though; I am sleepy now.
terriko: Yup, I took this one. The eyes are paper, not photoshop (chair)
2012-02-06 01:48 am
Entry tags:

Things are looking up

It's been a really long time since I did a photo for this Active Assignment group I'm in on Flickr, but one of my fellow members challenged me to come back so I managed a photo this week. The assignment was "figures of speech" so this is "things are looking up"

Things are looking up

I amuse myself, anyhow. We'll see if it amuses anyone else in the group!
terriko: (Default)
2012-01-15 01:50 pm
Entry tags:

Pretty pretty Ottawa

Sometimes the city of Ottawa just looks like a painting...




(Albuquerque is looking pretty dull after being in Ottawa for the holidays. Processing photos is making me homesick.)
terriko: (Default)
2011-05-23 01:17 pm
Entry tags:

Things that people look at in my flickr photo stream

For some reason, this one little angry bird has been consistently popular. I don't quite know why, as many of the referers are marked as "unknown source" or just come from one of the other birds in the set. I guess he's weird enough that people searching for angry birds click when they see him?

This particular bird was designed and crocheted by my sister as part of our "real life angry birds at PAX east" project.


terriko: (Default)
2011-02-06 12:25 pm
Entry tags:

Crochet kick

Way back when, I commented to [personal profile] maco that I was amazed at how much time she'd managed to find for crochet, and she sensibly pointed out that there's lots of time to be had while you're on the bus or whatever. I figured it wouldn't work for me because I use that time for other things (largely reading, as you might have divined, but also DS games, podcasts, and just plain thinking).

But then I found a pattern for Lemmings that I had to make for my mother, and quickly became hooked (har har) on crocheting during our semi-regular d&d games. And when I'm hanging out at a friends' place chatting. And now I'm finding my hands itching to do something while I'm listening to talks or in meetings at work...




So thanks [personal profile] maco for reminding me that this was totally something I could do if I was willing to look a bit harder for the time.

I've been doing stuff that isn't amigurumi, but I find the little toys incredibly satisfying because they take so little time and are easy to give as tiny little presents if I don't want them for myself.

What I'm most excited about is our Angry Birds. M and I have been trying out patterns and looking for materials and generally laughing ourselves silly over the idea of having a bunch of these to throw around and give away.




I feel a bit guilty about still being excited about PAX given how *terrible* (some of) the PA community has been to any woman they can find this week. But I'm determined not to let those useless folk ruin our vacation -- After the year M's had, I think it's really important that she's got a trip to look forwards to soon that isn't tacked on to a funeral or ends in a hospital stay. So looking forwards to it we are!

I finished one of the larger angry birds from Itsy Bitsy Spider's excellent pattern last night. It's super cute! I'll be finishing and writing up my pattern for smaller ones soon too, esp. since they'll likely be used to make the little blue trio of birds. And I'm probably going to go buy a pile of giant zellers pillows on sale because they're cheaper than buying stuffing!

Incidentally, anyone know where to buy safety eyes in Ottawa? Both the Michaels stores we went to were out of the one size they carry and Fabricland was a bust since they only had button googly eyes. I miss Lewiscraft and White Rose. It's looking like we may have to order them online, but shipping to Canada can be a pain/very slow, so we might just have to do without.
terriko: (Default)
2011-01-25 05:34 pm
Entry tags:

Me, dancing

Apparently I was in the local news today. An old picture of me dancing at Westfest accompanied their story about moving the venue (again) to a larger spot. Since for some reason the site requires JavaScript to let you see the picture, here's a copy:

A crowd (including me) dancing at Westfest. Photograph by: John Major, Ottawa Citizen

Mom tells me that the friend behind me isn't cut off in the version actually in the paper. Woo!

Also, yeay, new larger venue for Westfest! The previous one could get very cramped, so I'm looking forwards to seeing the new setup this summer.
terriko: (Default)
2010-11-02 10:16 pm
Entry tags:

Heros and Villains Halloween Party

My sister and her boyfriend convinced me to go to this halloween party put on by the Comic Book Shoppe. I don't have a single picture of *my* costume (Psylocke from Xmen -- I even dyed my hair purple, though it didn't show in the dim lighting) but I have 70 pictures of other people's costumes!

Some favourites:












Aaaaaand... the rest. There's other good stuff in there, plus a bunch of crowd shots so you can get a sense of how many amazing costumes there were.

Heros and Villains Halloween Party

Heroes and Villains Halloween party (1 of 70)Heroes and Villains Halloween party (2 of 70)Heroes and Villains Halloween party (3 of 70)Heroes and Villains Halloween party (4 of 70)Heroes and Villains Halloween party (5 of 70)Heroes and Villains Halloween party (6 of 70)
Heroes and Villains Halloween party (7 of 70)Heroes and Villains Halloween party (8 of 70)Heroes and Villains Halloween party (9 of 70)Heroes and Villains Halloween party (10 of 70)Heroes and Villains Halloween party (11 of 70)Heroes and Villains Halloween party (12 of 70)
Heroes and Villains Halloween party (13 of 70)Heroes and Villains Halloween party (14 of 70)Heroes and Villains Halloween party (15 of 70)Heroes and Villains Halloween party (16 of 70)Heroes and Villains Halloween party (17 of 70)Heroes and Villains Halloween party (18 of 70)
Heroes and Villains Halloween party (19 of 70)Heroes and Villains Halloween party (20 of 70)Heroes and Villains Halloween party (21 of 70)Heroes and Villains Halloween party (22 of 70)Heroes and Villains Halloween party (23 of 70)Heroes and Villains Halloween party (24 of 70)
Heroes and Villains Halloween party (25 of 70)Heroes and Villains Halloween party (26 of 70)Heroes and Villains Halloween party (27 of 70)Heroes and Villains Halloween party (28 of 70)Heroes and Villains Halloween party (29 of 70)Heroes and Villains Halloween party (30 of 70)
Heroes and Villains Halloween party (31 of 70)Heroes and Villains Halloween party (32 of 70)Heroes and Villains Halloween party (33 of 70)Heroes and Villains Halloween party (34 of 70)Heroes and Villains Halloween party (35 of 70)Heroes and Villains Halloween party (36 of 70)
Heroes and Villains Halloween party (37 of 70)Heroes and Villains Halloween party (38 of 70)Heroes and Villains Halloween party (39 of 70)Heroes and Villains Halloween party (41 of 70)Heroes and Villains Halloween party (40 of 70)Heroes and Villains Halloween party (42 of 70)
Heroes and Villains Halloween party (43 of 70)Heroes and Villains Halloween party (44 of 70)Heroes and Villains Halloween party (45 of 70)Heroes and Villains Halloween party (46 of 70)Heroes and Villains Halloween party (47 of 70)Heroes and Villains Halloween party (48 of 70)
Heroes and Villains Halloween party (49 of 70)Heroes and Villains Halloween party (50 of 70)Heroes and Villains Halloween party (51 of 70)Heroes and Villains Halloween party (52 of 70)Heroes and Villains Halloween party (53 of 70)Heroes and Villains Halloween party (54 of 70)
Heroes and Villains Halloween party (55 of 70)Heroes and Villains Halloween party (56 of 70)Heroes and Villains Halloween party (57 of 70)Heroes and Villains Halloween party (58 of 70)Heroes and Villains Halloween party (59 of 70)Heroes and Villains Halloween party (60 of 70)
Heroes and Villains Halloween party (61 of 70)Heroes and Villains Halloween party (62 of 70)Heroes and Villains Halloween party (63 of 70)Heroes and Villains Halloween party (64 of 70)Heroes and Villains Halloween party (65 of 70)Heroes and Villains Halloween party (66 of 70)
Heroes and Villains Halloween party (67 of 70)Heroes and Villains Halloween party (68 of 70)Heroes and Villains Halloween party (69 of 70)Heroes and Villains Halloween party (70 of 70)
terriko: (Default)
2010-11-01 10:10 pm
Entry tags:

Sugru hack #1: Danger fan!

I have this great fan. I got it at a garage sale. It was originally $10, then marked down to $5, but when the guy tried to sell it to me I pretty much said "that thing's made out of metal and probably weighs a ton -- I don't want to carry it" and he said "two dollars?" at which point my dad said he'd carry it, so the deal was done. Or maybe Dad negotiated him down to one dollar first. My dad is an excellent negotiator of yard sales, and also totally rocks for being willing to carry a big fan for his adult daughter. (It's not the only thing he's carried for me at yard sales, either -- a heavy grill was probably the worst one. I carried the bean bag chair myself, though!)




Anyhow, I love the fan. It's great for airing out the bathroom after a shower, or the kitchen after bits of dinner decide to jump for freedom in the bottom of the oven. It moves lots of air, which seems like it should be standard for fans but apparently isn't standard on modern wimpy fans. My fan is super macho and made of metal with sharp edges. It could eat little plastic fans for lunch.

Unfortunately, it also eats my bare legs for lunch during the summer, because it has sharp metal corners:





I've made some attempts to solve this problem in the past using foam and tape. It has not been overly effective:




So I was really excited when I picked up some sugru. Sugru is kinda like adult project play-doh that dries kinda rubbery and useful instead of hard and crumbly. It seemed like the perfect solution to Danger Fan.





The first problem, though, was that those corners are really gooey and one still has foam on it:




I started with soap and water and a cloth, cursing myself for not having my father's favourite cleaning solution on hand: isopropyl alcohol. But then I remembered that I had a bottle of whiteboard cleaner, which is pretty much just watered down isopropynol. Score! (Lens cleaner fluid would have worked too.) Dad used to clean all sorts of things with isopropyl alcohol, and he says nothing works nearly as well on disgusting tape residue. So a few spritzes, a little waiting, and I was soon rolling the tape goo off without any problem. All clean for my sugru!





I opened up a tiny little pack, and divided it into five -- four for the corners of the fan, plus a little bit extra for another hack that I'll talk about later.




And here's the fan, made safe for bare legs and delicate clothing!







My fan is still totally hardcore, but in a much more considerate and attractive way. Woo!
terriko: (Default)
2010-10-26 06:39 pm
Entry tags:

More pumpkins! More interface hacks!

Another flickr interface hack test:

Pumpkins chez Dan 2010

IMG_1075IMG_1076Glowing vodka skullIMG_1080IMG_1081IMG_1082
IMG_1085IMG_1086IMG_1087IMG_1088IMG_1091IMG_1092
IMG_1093IMG_1094IMG_1095IMG_1096IMG_1097IMG_1098
IMG_1099IMG_1101IMG_1102IMG_1103IMG_1104IMG_1105
IMG_1106IMG_1107IMG_1108IMG_1109IMG_1110IMG_1111
IMG_1112IMG_1113IMG_1114IMG_1117IMG_1119IMG_1123
IMG_1124IMG_1129IMG_1131IMG_1132IMG_1135IMG_1137

This gives me a box with code for entire set of photos as thumbnails in an Nx6 grid. Again, no clue if it's going to break RSS/layouts/feed readers, so please let me know if it does.

Here's the code:


// ==UserScript==
// @name           Blog flickr set
// @namespace      tko-flickr-set
// @description    Make cut and paste code for blogging entire sets of flickr photos as thumbnails
// @include        http://www.flickr.com/photos/*/sets/*
// ==/UserScript==

var thumbsHTML = document.getElementById('setThumbs');

var allImages = thumbsHTML.getElementsByTagName('a');
var title = document.title.replace(/ - a set on Flickr/, '');

var code = '<h2><a href="' + location.href + '">' + title + '</a></h2>';

for (i = 0; i < allImages.length; ++i) {

	code += '<a href="' + allImages[i].href + 
	'" title="' + allImages[i].title + '">' +
	allImages[i].innerHTML + '</a>';

	if (i > 0 && (i+1) % 6 == 0) {

		code += '\n';
	}
}

// Insert after the date
var insertPlace = document.getElementsByClassName('vsDetails')[0];

var newBox = '<h4>Embed Code</h4>' +
	'<textarea name="embedHTML" onFocus="this.select();" rows="5" ' +

	'style="width: 250px;" wrap="virtual">' + code + '</textarea>';

insertPlace.innerHTML = insertPlace.innerHTML + newBox;



terriko: (Default)
2010-10-26 05:14 pm
Entry tags:

Pumpkin photo and my flickr interface hack




I'm testing out my greasemonkey script which generates boxes with the HTML for posting a flickr photo with title/caption, so you all get a picture of a pumpkin. It is the end of October, after all!

The script is still brittle if the interface changes, but it is just a little interface hack so I'm not too concerned about it. I'll just rehack if necessary, after all! What it does is makes a set of 3 boxes down the right hand side of the page containing HTML for cutting and pasting the photo with the title as a caption (the default code Flickr gives you doesn't include a caption, and I find the menus kind of irritating if I'm posting a lot of photos in one day).

Here's the script. You should be able to cut and paste it into greasemonkey if you want to use it yourself. (And here's to hoping that all these font colour, size and layout tricks won't break everyone's feed readers/friends pages/layouts!)


// ==UserScript==
// @name           Flickr Blog HTML
// @author         Terri Oda -- http://terri.zone12.com
// @namespace      tko-flickr
// @description    Adds a box with cut-and-paste code for blogging images
// @include        http://flickr.com/*
// @include        http://www.flickr.com/*
// ==/UserScript==


// Get all that necessary photo info
var img = document.getElementsByClassName('photo-div')[0].getElementsByTagName('img')[0];

var title = document.getElementsByClassName('photo-title')[0].innerHTML;

var url = location.href;
var imgsrc = img.src.replace(/_z\.jpg/, '.jpg'); 
	// we want the smaller of the medium photos for most blogging purposes


// find the username for credit
var userHTML = document.getElementsByClassName('username')[0].getElementsByTagName('a')[0];

var user = userHTML.innerHTML;
var userUrl = userHTML.href;


// Make that cut and paste-able code
var code = '<div style="float: right; margin-left: 10px; margin-bottom: 10px;">' +
	'<a href="' + url + '" title="' + title + '">' +

	'<img src="' + imgsrc + '" alt="' + title + 
	'" style="border: solid 2px #000000;" /></a>' +

	'<br /> <span style="font-size: 0.9em; margin-top: 0px;">' + 
	'\n<a href="' + url + '">' + title + '</a> <br />' + 
	'by <a href="' + userUrl + '">'+ user + 
	'</a>.</span></div><br clear="all" />';

var codeSmall = code.replace(/\.jpg/, '_m.jpg'); 
	// I'm amused how small is _m, but whatever works!

var noExtras ='<a href="' + url + '" title="' + title + '">' +

	'<img src="' + imgsrc + '" alt="' + title + '" /></a>';

// figure out where to put it
// this puts it right after the "this photo belongs to..." so I don't have to scroll much.
var insert = document.getElementsByClassName('secondary-contexts-label')[0];

// Make the actual box
var newBox = '<h4>Embed Code</h4><h5>Medium</h5>' +

	'<textarea name="embedHTML" onFocus="this.select();" rows="5" ' + 
	'style="width: 250px;" wrap="virtual">' + code + '</textarea>' + 
	'<h5>Small</h5>' + 
	'<textarea name="embedHTML" onFocus="this.select();" rows="5" ' +

   'style="width: 250px;" wrap="virtual">' + codeSmall + '</textarea>';
var noExtrasBox = '<h5>No Extras</h5>' +

	'<textarea name="embedHTML" onFocus="this.select();" rows="5" ' +
   'style="width: 250px;" wrap="virtual">' + noExtras + '</textarea>';

// Add it to the page
insert.innerHTML = newBox + noExtrasBox + insert.innerHTML;


terriko: (Default)
2010-09-01 01:43 am
Entry tags:

Pacman ghost cookies for the PAX 10 cookie brigade!

I am pleased with how these turned out. (The cookies, not the blurry photo.)

Pacman Ghost Cookies for PAX10 Cookie Brigade

Hopefully they'll help us raise some money for Child's Play this weekend!
terriko: (Default)
2010-08-18 12:01 pm
Entry tags:

Scott Pilgrim vs cool photography tricks

I was sitting next to Jay when he got all excited about this, and to be fair, it is pretty cool: Bokeh Tricks in Scott Pilgrim. Very subtle but amazing when you notice, and I'm glad he pointed it out to me during the film.

If you haven't seen Scott Pilgrim, you should. It's such an amazingly seamless blend of romantic comedy, video games, and Toronto hipsters. ;) No, seriously, that might make it sound a little ridiculous (eww, Toronto hipsters ;) ), but it's actually incredibly fun and adorable. And Canadian, in a cute sort of way. And the ridiculous comic book effects just *work* instead of being jarring. Amazing what you can do with some text overlays and actors who are willing to really sell their indie comic book roles. The facial expressions alone in this movie told quite the story: none of that nonsense where the actress is supposed to be showing deep emotion and instead looks like she's channelling a cow chewing its cud (I'm looking at you, Jane Eyre.) I was shocked and amazed at how well the books translated into a movie -- it's one of those rare times where I think they really nailed it.

What I'm getting at is that I loved it, and I think you should go see it, because it is fun. :)