Apr 16 2009

Leave to Hello

So I’m getting ready to begin the start of my prepping for my departure to Texarkana tomorrow. I would already be all packed and loaded, but this coffee won’t drink itself. Besides, it’s my life, it’s my time.

Not really. It’s work, coffee, Ruby on Rails. Sleep. Rinse and repeat.

I really should’ve had this Ruby on Rails project finished long before now. It’s supposed to be simple with RoR. Shit simple. But I keep making it difficult. Keep adding stuff like “secure database queries” and “input validation”…and I’m not even started on the Posts models yet! One of these days, I’ll do a proper writeup of my RoR experiences, but there’s no time for that, what with my staring dumbfaced at code and drifting off to play minesweeper for 3 hours before bed.

I need a break. Really, I need a break. I guess part of my fascination with the latest U2 album is that the band sequestered themselves to a villa in Fez, Morocco while they wrote the album. It’s the idea of being someplace else for a while and finding my voice again that appeals to me. I don’t travel, and I typically don’t make plans to leave town for the weekend. So I end up being here, doing the same ol’, for months on end, with little variations in the pattern. It’s no wonder I’ve grown old and inflexible.

I feel like leaving for a while, but going to Texarkana this weekend for 48 hours will have to do, I guess. I won’t have the time, energy, or space to throw myself to the muses; trips home aren’t for that. Travel isn’t for me; that’s my feeling. Travel is for people who have accrued vacation time and have managerial approval to spend it. Travel is for the unemployed who have friends in distant cities. Travel is for people who don’t have to worry about supporting themselves or paying rent on a place to store their stuff. Working stiff contractors like me can’t travel. Time worked is time paid, and I am running broke.

Maybe I should just sell all my stuff and roam. Eh, I’m too old for that. At my age, that kind of behavior is just two steps away from being a homeless bum. I dunno, maybe it’ll be therapeutic, or maybe if I throw myself at the bottom hard enough I’ll bounce up higher than I am now. Maybe I actually flourish in the face of change. Who’s to know?


Feb 23 2009

Repairing the Dripping Faucet of the Time Sink

So, I’ve been negligent to this journal in the past month. Not unusual, but so much has happened and I haven’t shared. I know I should document at least some of the exciting and mundane things just to keep you people coming back. So negligent. For that, I’m sorry…but not that sorry.

Eh, five or six weeks back I quit IRC for good. I’m done. When I think of all the time I’ve wasted on that chat medium, I weep. That’s time I will never get back. Well, it wasn’t a total waste; there are some really awesome people on there. I mean IRC is just a tool for communication and nothing more, but the ratio of awesome people to absolute dicks (who are dicks just for the joy of it) makes the medium not worth the effort. I met some good people, and I really miss them. But the rest of the people, fuck ‘em.

I now have a lot of quality time available. I don’t have to expend so much mental energy constantly defending myself with wit and face-saving antics that I’m too fatigued and demoralized to be productive. Now I feel better about myself. It’s like turning up the squelch control on a noisy receiver; click, and it’s no more noise. It’s amazing. And oddly enough, I don’t feel lonely anymore since I’m now paying attention to the here-and-now. I’ve always felt like I was staring at the horizon on a long, dark, starless night trying to communicate with people just beyond, but now I’m looking at the campfire in front of me and finally connecting with the people who’ve been sitting next to me for so many years.

Case in point: I met a girl. Ok, actually, it’s more complicated than that. We’ve known each other for eight years back when she was in a shitty marriage. Saw each other for the first time in a while at a coffeeshop and decided to chat face-to-face; that evening, my laptop stayed in its bag. We’ve been hanging out quite a bit, nothing serious. Just good times and lots of laughs. Bringing some levity and sanity to things. People need more of that. IRC never gave me any of that.

And now, something that isn’t related to IRC: a month ago I noticed my eyeglasses were starting to break and it was only a matter of time before the whole thing came apart, so I went to the optometrist. Got a wild hare and decided to get contacts; it’d been ’93 since I wore them last, so I wanted to try again. Well, after the first 10 days, my eyes were so dry and irritated I had to stop wearing the contacts. Eyes got seriously bloodshot; looked as if I had pinkeye. Had to start wearing my new glasses.

Well, two nights ago I decided to try the contacts again; my eyes were finally clear, no redness. I put them on before going out for the evening; returned home four hours later and promptly removed them. Eyes were so dry that I scratched them while removing the contacts…I’m so out of practice. Woke up Saturday morning to the brightest red eyes I’d ever seen this side of the movies. They’re still embarrassingly red two days later. That’s all the evidence I need to tell me that I can’t wear contacts, which is a shitty realization considering how much I’d invested in those fuckers. I’m not sure if the contacts themselves are carrying a bacterial load or if their surface is rough from wearing them or if I’m allergic to the cleaning solution or whatever. All I know is that I can’t wear them, and I should probably consult my optodoc before trying anything else. Hmph.

In other news, my job lately is quite stressful. I don’t want to dwell too much on it considering this is Sunday night, the calm before the storm. My workload has been building up on me faster than I can process it, and I feel I’m on the verge of collapse. It’s not worth the 10% pay reduction I got (everybody got a paycut, thanks to the economy…whatever). It’s a job, and it supports the lifestyle to which I have grown accustomed, but the Depression-era rearing I had beaten into me tells me to not knock it because “I could be flipping burgers”. But c’mon. I’m getting new assignments and “side projects” every time I receive an email. And everybody wants their numbers in the early part of this week. Well I’m here to say that shit ain’t happening.

I went in for a few hours today (a Sunday!) to get a head start on the week. Hopefully I got the last part of the data collection for one of the tasks; spent three hours on it in the lab by myself with no distractions. I’ll crunch the numbers tomorrow after I kick off some benchmark runs for another task. Hopefully everything will have been for good. At the least, I got three of my required 40 hours done; everybody (on top of the paycuts) also has time limits if they’re hourly. Yeah, awesome. My checks are shitty; everybody’s is. Probably why my workload’s building up: nobody else has time left to do them. Feh.

Dammit. I’ve dwelt too much. Moving on.

The Ruby On Rails project I’m building for my site is progressing well. I have basic user functionality written and now I’m moving along into file uploads, doing all the groundwork for everything that stacks on top of it. Once I had my user and login admin code mostly finished, I decided — just for fun — to write a test harness to check it (I can’t check everything by clicking in a browser). Wouldn’t you know it, there were holes and flaws and errors and problems aplenty in my code. Who the hell put those there? I am so damned glad I worked up the testcases. Rails has a pretty powerful facility for writing tests. Now, since I’m starting work on the file upload feature, I think I’ll follow this programming methodology (some call it “extreme programming”) by sketching out an idea of what I want to the software to do, composing the tests to check for that functionality, and then writing the project code to make those tests pass. It’s a goal-oriented approach, and thankfully it’s keeping me on track.

And all this because of the free time I have available after I ditched IRC. Can you believe that? I certainly can.


May 15 2008

Jetsom See

I’m antsy tonight. Feel like my legs are being held and my feet are sticking to the carpet. It’s like walking in waist-deep water. I want to do something. I want to create. I want to scream. And I’m slogged down by logic, expectations, frameworks, structures, plans, designs. Tired of all that. Tired of distractions. When I sit down to program, or write music, or think of something poetic, it’s like being in the wide part of the river where the eddy currents spin, swirl, toss me around like flotsam. I’m sorta moving forward, but not by my own propulsion. And not in a straight line.

I’ve been spending either not enough time or too much time working on my Ruby on Rails CMS for my site. Same old story, same old shit. My editor is open, I’m looking at code I’ve written, and then my mind wanders all over the place onto possibilities, what-ifs, things I need to incorporate, and then the vision I had at the outset becomes a blur of fragments, pieces, stained glass. Quixotic beams of sunlight reflected off the water.

Distractions. Flies in my eyes.

I’ve kinda taken a break from it; I feel like I need one, but I also feel this stupid compulsion that tells me that time not spent on writing the CMS is time wasted, because really all I have is time nowadays. What’s with that? Why do I feel guilty when I’m not working on it in my free time? Why did I railroad myself into one-dimensionality by forgoing all the other hobbies I had? Why am I pushing my plow into the hard earth without a mule, a whip, and a bag of seed? It’s going nowhere, and it’s in that state of being stuck that I can’t see the bigger picture. The clear vision is clouded. The inner sight is gone.

I was thinking this morning that I’d be a load more productive if I had a deadline, if I had a fixed point to work for. I’ve been screwing with this for far too long, and that’s because I only have myself to work for. I’m my own worst contractor and my own worst client. Self-imposition doesn’t seem to help, because I always shrug it off. It’s the same effect as trying to outsmart yourself by setting your alarm clock 10 minutes before real time: you sleep 10 minutes later because you remember what you did.

I need to plan this out in so much detail that the program almost writes itself. No, I need to write it as fast as possible so I can hold more of the pieces in my head. No. And now maybe you can see what goes on inside my head. Contrarian viewpoints, and I’m still stuck to the floor with a text editor and no working product. What the hell.


Sep 21 2007

Too Much Life

Sometimes I just want to click off. Existential angst of late. I’ve had the desire to formulate some kind of journal entry, but as things are going, it takes too much work and energy to do so. I’ve had so much Life coming at me at once, there’s not enough energy or will to put the words together. Hence my usual silence. Seriously. Too much of Life.

Big fires to put out, little fires to put out. So scattered, all over the place, bunched up in little notes and to-do lists. So concerned with forgetting to do something that I write it down, make a note, and then I fail to remember. Sometimes I fail to actually attempt to do what’s on the list.

To-Do lists are the tool of the devil. Make a note of that.

I’m looking for another car. It’s that season again, and now that I commute 25+ miles a day my Mirage is failing sadly. The increased smoke is drawing attention, and there’s an aweful lot of cops on the road. Was looking at a Honda Civic: 2002, 130k miles, EX trim package with power everything and a sunroof, stickshift, 4-door. Everything I wanted in a car for $7,000. I didn’t move soon enough; the dealer jacked the price up another thousand. Fuck that. My search passively continues.

I am currently digesting the first season of Battlestar Gallactica (the remake). I wish I had been old enough to follow the plot of the original, but I was in 2nd grade; all I cared about was the kid and his creepy robot monkeydog. I will tell you this much about the new show: I am hooked. Damn you all to hell, I am hooked. This is the most I’ve ever seen Edward James Olmos speak, and he’s perfect for the part.

You should know what kinds of assholes I share my apartment complex with. Monday night, the jackasses downstairs decided to crank their music loud enough that my floor was vibrating. So, I did what any angry neighbor would do: I kicked the floor. Expectedly, they turned it down…and then proceeded to agressively slam their ceiling with whatever they had. I fully expected them to start fucking with me; I don’t care so much about breaking and entering now that Texas has the Castle Law, I’m worried about them doing something stupid to my car, to the plants in front of my apartment. People can be that trivial.

I hate apartments. Keep thinking about moving out.

Found out there’s a hiring freeze at my job which is expected to last a while. Even the permanent employees are required to burn off some of their vacation time over the holidays; mandatory closure as a cost-cutting measure. Last time I saw that was 2001, during the dotcom crash; I was contracting at Motorola and after the layoffs of unimportant staff, they had each department take one week off. Shortly afterwards, Motorola sold its Austin campuses to its spinoff company Freescale. I don’t see much logic in mandatory closure; I guess it saves energy and infrastructure costs and requires employees (most of them salary, mind you) to spend their vacation hours instead of acrue them. But you lose so much time during the ramp down and ramp up periods after the closure. How to Shoot Yourself in the Foot, 2.0.

Ruby On Rails made me her bitch tonight. She spanked my ass hard with an important lesson. I’ve had this mind-crushing problem with trying to build a test harness for one of my model classes. I set the record attribute, try to save, and my missing-attribute validation kicks in. I know I fucking set that attribute, so why’s it not passing validation? Here’s the lesson: ActiveRecord uses automatically-created accessor methods to set/get the values of a database record. What was I doing? I was trying to use an ActiveRecord instance as a hash with special powers. That’s wrong, wrong, wrong. When I go “person[:password] = ‘secretpass’”, I’m setting something in a hash somewhere that AR is not paying attention to. I’m really supposed to go: “person.password = ‘secretpass’”. What a dumbass. So two weeks of frustrated freetime were spent debugging an issue that was all my own fault.

- I should call my mother some time. It’s been a while.
- I need to take a shower before bed.
- I should go into work early tomorrow.
- I need to start using my bicycle more; I paid so much for it, and I’m so out of shape.
- I need to pick up some antacids.
- I have a dentist appointment next month.
- I now have 1.5Gigs of ram in my laptop. I can play games again, but I need to make space.
- I have so much more to do with my Rails project, it’s unreal.
- I need new shoes
- I should get a haircut some time soon
- I’ve got to put all this on my to-do list


Dec 17 2006

Change of Plans

I’m seriously wondering if there will ever be a future for me in technology. My current project, developing a storefront site for a friend of mine, is moving really, really slowly, and it’s all my fault. You see, computers are my hobby; most of my non-work, non-sleeping time is spent at a computer doing god knows what. Sometimes, I even write program code. But when I mix money and heavy expectations in with my love for tech, what I get is cold disdain for the stuff and me not wanting to do much of anything.

The project itself is changing. Previously, we had set forth to write the shopping and catalog system from the ground up. I was planning the database, creating the models, thinking of workflow and interface design, doing what I could to get something usable. But I was moving not fast enough for my client. And there is the rift. What accounts for lead development time is too long for the customer who needs things operational now.

So I’ve completely scrapped the original plans to use Ruby on Rails to build a storefront. Instead, I’m going with an opensource PHP alternative, ZenCart. I know squat about PHP, but what I’m seeing is easy enough to understand somewhat. Nevertheless, the entire solution is prebuilt and usable from the get-go with a little configuration, which is exactly what the customer wants and needs. My plan is to set it up, allow her to add products and categories to her catalog and begin taking orders while I learn the templating system and make changes to the design.

For the paltry price I quoted, I should’ve gone with a prebuilt solution from the start. Now, that’s exactly what I’m going to do. I’ve gotten rid of the prideful righteousness that goes with saying “I completely wrote this”; such mindedness serves me no purpose and does a disservice to my client. Seems I’m finally understanding what the Industry considers a standard dictum: prebuilt is cheap, custom-crafted costs money.