Top.Mail.Ru
Random thoughts — LiveJournal
? ?

dplass

Recent Entries

You are viewing the most recent 10 entries

March 18th, 2014

12:50 pm: Reverse TDD
I wanted to develop the "checkout flow" for my thingie. I wasn't quite sure what primitives would be needed so I decided to prototype it.

1. Built HTML and handlers, with all logic built into the handlers. Tweak until it the "happy flow" does most of what I want and a few "error flows" work. Manual testing.
2. Move all logic into static methods. More manual testing to make sure it still does the same thing
3. Reorganize logic into classes with proper DI (and defaults). More manual testing

NOW, I can start TDD'ing
4. Write tests using mocks.
5. Come up with a variety of new test cases. Fix code/tests. Go to 4 until bored

Tags:

March 14th, 2011

10:13 am: AT&T SUCKS
AT&T SUCKS.

I just got off the phone with AT&T. Did you know that they REQUIRE a $15 or $30 a month data plan for all smart phones? They can't and won't take it off, even though I removed the data access from the given phone. They're FORCING me to have this data plan even though I don't want it.

Shouldn't this be illegal?

Current Mood: enragedenraged
Tags:

October 14th, 2009

10:17 am: Sinks
Today's pet peeve: sinks.

Why do people wait on line at the MK sink to wash their hands, when they have to walk past the restrooms to get to the cafe? I'd really rather not wash my coffee cup in the restroom, since there's no dish soap or sponge in there. But washing hands in the restroom is a perfectly natural thing to do.

Current Mood: bitchybitchy
Tags:

October 6th, 2009

10:53 pm: log
lunch: 2 pieces (2 half-pieces?) french toast, syrup ,tater tots, honeydew
snack: chocolate raisins 
dinner: some steak, some chicken, small baked potato with margarine, 2-bean salad, some fruit

walked 45 minutes


10:42 am: Feel bad
 When he wasn't in the office and I hadn't heard anything from him, I secretly hoped he was being let go.

Turns out I think his daughter is sick. Now I feel bad.


10:41 am: breakfast
 walked to the office + upstairs
coffee, oatmeal with some granola and raisins. too much oatmeal

October 5th, 2009

10:36 pm: dinner
 pasta primavera, piece of bread, salad, a few grapes

02:32 pm: Today's log
walked to the office + up stairs
coffee and egg whites, some hash browns, tofu scramble
lunch: rice, seitan mole, apple, pineapple
snack: coffee, cheesecake brownie
 


Tags:

August 25th, 2009

09:12 am: Two-for Tuesdays, again
 With 575 tracks in "My Favorites" list, how is it possible that in 20 minutes, it played:
  • The Entertainer, then Only The Good Die Young (Billy Joel)
  • Froggie, then Back Porch (The Presidents of the United States of America), IMMEDIATELY FOLLOWED BY:
  • Fins, then Pencil Thin Mustache (Jimmy Buffett),
Also, an almost two-fer:
  • Private Eyes, (then Promises), then I Can't Go For That, by Hall & Oates
What's going on?!



Current Mood: bouncybouncy
Current Music: Yes
Tags: ,

May 7th, 2009

01:52 pm: Music
 How did my ipod know that I wanted to hear that song at exactly that time? It was like it read my mind. 

Powered by LiveJournal.com
Image