Thursday, May 24, 2007

What am I doing here again?

We have a contractor at work. He's actually very nice, but I don't find him that competent. The questions that he's asked me so far have seemed like questions he should be answering himself...as in, Isn't this your job??

I'll try to explain the question he asked me in the non-geekiest terms possible. He is helping us set up an identity management (IDM) solution. In layman's terms, that means that someday, our users will not have to log in to every single application they use...once for Windows, once for email, once for each database, once for this application, once for that application, etc. They'll just log in to Windows, and everything else will "know" who they are. So anyway, he is setting up a connection between our current database of user information and the IDM solution. He has to call something to create a user, kind of like this (bear with me, you're going to see some pseudocode here!):

String firstName = "Heather";
String lastName = "Lott";
String password = "myPassword";
Statement statement = "insert into user(?, ?, ?)";
statement.setPlaceholder(firstName);
statement.setPlaceholder(lastName);
statement.setPlaceholder(encrypt(password));


Pretty simple, right? Everything's in a variable, and the password is encrypted before it's set (that's what the "encrypt()" around the password variable does). So he comes to my desk because the sample code I gave him (above), once he's modified it to use the connector stuff, is throwing an error, and he thinks the error is coming from my method (the encrypt()). The error is

Error near string [PASSWORD]

Now, he's getting the name and password out of a Map rather than setting them in variables (don't freak out, non-techies!! A Map is just a way to refer to things by their name! It's like going to the library and saying, "I want the book labeled 'First Name'"...then you are given the book and can see what information is inside.) Here's how he modified the code:

Statement statement = "insert into user(?, ?, ?)";
statement.setPlaceholder(myMap.get("FIRST_NAME"));
statement.setPlaceholder(myMap.get("LAST_NAME"));
statement.setPlaceholder(encrypt(PASSWORD));


Stay with me, non-geekies...anytime you have a String, it's in double-quotes. Anything NOT in double-quotes is assumed to be a variable.

Now, anyone see why he might get an error near PASSWORD??? There's no variable named PASSWORD!!! Hel-LO! Please turn on your brain! Or have some protein!! Do you even know how to program??

For the non-geeky, that last line should be

statement.setPlaceholder(encrypt(myMap.get("PASSWORD")));

Did any non-geekies understand me??? =)

Wednesday, May 23, 2007

Limp-through

Last night we had another walk-through of the new place. I took some new pictures, which I hope to post tomorrow...but tomorrow's going to be a busy day, so it may be Friday. Yesterday was kind of miserable...we were supposed to meet the architects at 6:30. I didn't leave work 'til about 5:45, picked DH up at 6, and we didn't get home until almost 7. We ran in the loft and trucked over to the new place, me still in my black linen pants from work (a fabulous outfit for a walk-through in a drywall-dust-covered venue). We didn't finish until 9:30 (which is when we ate dinner...I was nearly dead by then).

Things still are beautiful, but it's hard to tell because they're still covered in filth. I almost fell over when one of the architects told us they were planning on "broom cleaning" the place before they handed it over to us. That's going to have to be one killer broom!

The good: The deck is sealed and gorgeous, the new tile we got for the laundry closet/downstairs closet is in and looks great, the kitchen counter has been finished and is fabulous, the bathroom vessels sinks no longer wobble, our bedroom fan is like a hurricane, the pocket door hardware rocks (none of those annoying flippy latches like I had growing up) and the "window seats" are the coolest thing ever. The bad: A bunch of stuff was "extra" that I didn't think would be (like painting brick vs. sealing it??), still lotttttts of stuff to repaint, and I would guess maybe 1/4 of the punch list was done and a new punch list was created that has 2/3 more things on it. Also, no good solution on the stairs (the good news is that the architect thinks that the price of replacing our "homemade" stairs with real stair parts is about 10 times less than what DH thought). The ugly: There's still plastic over some third-floor windows, there's nasty scratches on my pretty bamboo floors, and the kitchen floor sticks out over the stairs coming up to the second floor. I seem to be the only human on earth who thinks this is ugly, though.

Tonight we get to put little sticky notes by all the scratches on the bamboo floors (and, I am going to sticky all the stairs that are chipped/splintering). Hopefully I can get some exterior shots while it's still light out!

Tuesday, May 22, 2007

May Memories, week 3

Even less got done this week...I'm so frustrated with She Maketh Fine Linen...I hate picky little projects where I'm changing threads every five stitches. I'm going to switch to Blackwork Band Sampler, even though I did not meet my goal of finishing the stitching on the thimble keep. It seems like a chore every time I think of working on it, and stitching shouldn't be like that.

Of course, the real reason that I didn't get that much done is that we've been playing the Halo 3 Beta every chance we get. And the one movie we sat down to watch, Curse of the Golden Flower, was subtitled...impossible to stitch and watch!

Friday, May 18, 2007

Choo choo

Today we're looking to the left of the kitchen (that's on the right side, in case you don't recognize the faucet) at the entertainment center, bookshelves, a window that looks over the tracks (6 sets behind our place) and the pantry (which has not been painted in this picture).
trackWindows
We have another walk-through on Monday night. Hopefully more pictures then!! They want to close quickly, because I think their construction loan is coming due. But we want them to be DONE before we close...so it should be interesting. Anyway, here's one more pic, looking out the door to the (rainy) deck atop the third floor, where I'd rather be sitting right now. =)
deckView

Knit list

Meme from Thermalgal...

Bold for stuff you've done, italics for stuff you plan to do one day, and normal for stuff you're not planning on doing.

Afghan
I-cord
Garter stitch
Knitting with metal wire
Shawl
Stockinette stitch
Socks: top-down
Socks: toe-up
Knitting with camel yarn (Heather says: Schwunh??)
Mittens: Cuff-up
Mittens: Tip-down
Hat
Knitting with silk
Moebius band knitting
Participating in a KAL
Sweater (in progress...)
Drop stitch patterns
Knitting with recycled/secondhand yarn
Slip stitch patterns
Knitting with bananafiber yarn (Heather says: Double Schwunh??)
Domino knitting (=modular knitting)
Twisted stitch patterns
Knitting with bamboo yarn
Two end knitting (Heather says: I have no idea what this is...)
Charity knitting
Knitting with soy yarn (Heather says: in progress...thanks to my friend Jean!)
Cardigan
Toy/doll clothing
Knitting with circular needles
Baby items
Knitting with your own handspun yarn
Slippers
Graffitti knitting (knitting items on, or to be left on the street) (Heather says: Triple Schwunh???)
Continental knitting
Designing knitted garments (Heather says: nope, but I did design a purse)
Cable stitch patterns (incl. Aran)
Lace patterns
Publishing a knitting book (Heather says: bwahahahah...)
Scarf
Teaching a child to knit
American/English knitting (as opposed to continental)
Knitting to make money (Heather says: double bwahahahah...)
Knitting with alpaca
Fair Isle knitting
Norwegian knitting
Dyeing with plant colours
Knitting items for a wedding (Heather says: In the South? Are you NUTS?)
Household items (dishcloths, washcloths, tea cosies...)
Knitting socks (or other small tubular items)on two circulars
Olympic knitting!
Knitting with someone elses handspun yarn
Knitting with dpns
Holiday related knitting
Teaching a male how to knit
Bobbles
Knitting for a living (Heather says: Triple bwahahahah...)
Knitting with cotton
Knitting smocking
Dyeing yarn
Steeks (Heather says: tooo scary...)
Knitting art
Knitting two socks (or other small tubular items) on two circulars simultaneously
Fulling/felting
Knitting with wool
Textured knitting (Heather says: what's that mean??)
Kitchener BO
Purses/bags
Knitting with beads
Swatching (Heather says: sort of...)
Long Tail CO
Entrelac Knitting and purling backwards
Machine knitting
Knitting with selfpatterning/selfstriping/variegating yarn
Stuffed toys
Knitting with cashmere
Darning
Jewelry
Knitting with synthetic yarn
Writing a pattern
Gloves
Intarsia
Knitting with linen
Knitting for preemies
Tubular CO (Heather says: don't know what this is, either)
Freeform knitting
Short rows
Cuffs/fingerless mits/armwarmers
Pillows
Knitting a pattern from an online knitting magazine (Heather says: I think they all may be in progress...)
Rug
Knitting on a loom
Thrummed knitting (Heather says: not sure what this is...)
Knitting a gift
Knitting for pets
Shrug/bolero/poncho (Heather says: I crocheted one...not sure if that counts...)
Knitting with dog/cat hair
Hair accessories
Knitting in public
Button holes

Old Geek-outs