- Grey backpack
- White/Pink Bag
- Three shirts
- Five pairs underwear
- Five pairs socks
# This list was generated by running `history | sort | cut -d ' ' -f 4 | sort | uniq -c | sort -r | head -n 50` from my ohmyzsh prompt. It can also be gotten by using `history | sort | cut -d ' ' -f 3 | sort | uniq -c | sort -r | head -n 50` in bash. | |
3603 git | |
947 rspec | |
914 | |
443 $GEM_HOME/bin/bundle | |
314 subl | |
206 cd | |
184 bundle | |
101 rake | |
99 script/delayed_job |
grading_period = nil | |
@context.courses.each do |course| | |
break if grading_period = GradingPeriod.context_find(course, params[:grading_period_id]) | |
end |
This morning my dog was pacing around thirty minutes before my alarm went off, so I pulled her into bed so I woldn't have the clacking of her nails keeping me awake while I squeezed out the last few drops of conciousness. When my alarm went off I took her up to the roof so she could do her business, came downstairs and made myself a cup of coffee, went into the bathroom to discover she had pooped in front of the toilet. I can't really blame her for pooping indoors, as she had the forethought to do it where cleanup would be easy. I tossed it into the toilet and decided to do a quick sweep and mop of the bathroom.
This weekend I've been focusing on getting the Open Source and Feelings website looking acceptable using Bootstrap. I think it had been two years since I added Bootstrap to something, and it's not hard, but the examples feel like this:
Which, if you want to dra
Last night I went and saw Ex Machina a scifi thriller that both Wryly and I enjoyed thoroughly. It was chilly and drizzly and I'm glad that we have a moment or two before summer is really here. The sun was still out when we got out of the movie, making the sky a glowing indigo for its last few moments.
During the day yesterday I spent most of my time restructuring a hundred-line procedure (parse!
) into seven smaller methods. Interestingly, about half of these methods already had a comment indicating what they did when I extracted them.
I also discovered a PORO with specs that wasn't connected to anything else in our codebase. It felt good to make a commit getting rid of it. A bin commit.
I'm a little uncertain about this approach of putting refactoring upfront… I feel like I should be fixing the problem and then doing cleanup. However, I now understand parse!
significantly better than I did before, and now that I've got a map, I might be able to extract into collaborator objects.
Writing these dai
It's Wednesday and I need to consider what it is I am doing with my life again. Maybe I will herd goats. I…
I got distracted reading Facebook. I have five minutes to type a little hello to the world, say where I am and what is going on with me, and instead I poked Facebook to see what's going on with babies and tattoos.
At work I have decided to build regular refactorings into my bug fixes, which is a reasonable use of time when I'm stuck on how to make the bug go away.
I think I've decided to sell my personal laptop and just use the work laptop for both personal and work stuff, just cause it's an awful disappointment to open one laptop and wish you had the file you had open on the other one, plus maintaining two dev environments is an awfully big hassle with no benefit.
I'm not feeling to angsty about computering this morning, looking forward to diving in.
Mondays always start off a but weird, I have no standup, instead there is an afternoon planning meeting. It's a time to do a bit of code review, ramp up, wake up, refocus.
This weekend I drank with friends, worked on building my static site generator some, and celebrated mother's day with Wryly's mom. It went by too quickly.
Friday afternoon after reviewing open and pressing issues and finding them all to be some form of inactionable I began extracting out a piece of duplicated functionality from the model level into a concern, which was a bit of fun and rather relieving to me. I'm realizing that a lot of the challenges I'm facing on a project of this scale are clutter and dischord.
The codebase itself is never as direct as I want it to be, nothing is as organized as it could be, and this is the clutter. It's an after effect of the dischord. I've been advocating for styleguide adoption, as we have a five-year Rails app, and nothing was ever done consistently for long. The code takes a huge
Today I'm feeling less worried than I have all week. After work I indulged–binge watched the remaining episodes of Halt and Catch Fire. Played a game of Magic with Wryly. Had some pasta and andouille sausage. Thought about doing something on a computer but other than considering buying a .club domain (there was a sale) didn't do much worth noting.
Yesterday afternoon I got out of the house and went to a cafe. I don't know that my work improved any while I was there, in fact I think that the late afternoon caffeine made it harder for me to focus, but with work from home a change of scenery is really helpful in maintaining a bit of focus. I'm working on bugs that involve time and date math logic, which is an especially obnoxious form of torture, because despite looking alike dates and datetimes don't behave in predictable ways and I find there's a lot of coercing from one form to another. It's like having to confirm that when you convert from a euro to a dollar that you get a 1.12. But the market keeps fluct
This afternoon my friend Z tweeted:
Can we all just agree on these for years of professional experience required for seniority?
Jr: <~2 yrs.
Mid: 2~8
Sr: ~8+ >
Last night I was feeling a bit annoyed by the time my work day ended, I'd been grinding on a bug for hours, had a most of the way there solution, only to discover I'd overlooked a comment on the ticket saying, hold off until XYZ happens.
There's a bias to feature-driven work which is to just continue building, but at some point you need to stop and figure out what abstrations are useful to extract, and that is hard to do at a system level. It gets harder to do when you are working on a system that hasn't had this refactoring work applied to it, it's like a car sliding out on black ice, but the car is also as heavy as the Titanic. What I'm trying to say is, if you let it, an app will spin out of control, just like the metaphor in that last sentence.
I walked the dog and decompressed, and got to the point where I wasn't mad about computers for a second. I got home, ate a fantastic dinner made by my partner Wryly, then scanned over open issues on the Ruby Style Guide. Saw one that had just been created that ju