Blog

  • Invoices Suck

    Writing technical blog entries has the requirement of something relevant, can be digested in one or two readings, and is well thought out & proofread. I currently have tons of relevant stuff that can easily be digested by the community, but no time to collect my data & write them. I’ve been so overwhelmed with work, that taking the time, even with a gallivant into the South Caroline mountains to stave off burnout, has been hard to find. Thus, I figured I’d report on my current and past situations in an effort to provide corroboration for others in similar situations for the mere sake of relating, or going, “Damn, I’ve got it good.”

    I’ve been contracting with a new company for 3 weeks now, and have officially entered my first Enterprise project. I was under the impression I had in the past, but a few key ingredients were missing, namely more than 1 client developer, and a code-base older than 6 months. I’ve also met my first, successful purist developer, my boss. More on him later, but suffice it to say, he’s apparently successful and follows best coding practices at the same time which is the first time I’ve seen it actually in a real person. He enforces them with a heavy, but well tact hand upon my fellow developers, me included. This is a big deal because I always figured OOP, MVC, design patterns, coding & commenting standards, etc. were just ivory tower concepts that you attempted to implement to help stave off the insanity that software usually is.

    Yet, I’ve spent everyday for the past 3 weeks “cleaning” my code in some way, even if it’s no more than 30 seconds worth. I’ve done more re-factoring & encapsulation in the last 3 weeks than I’ve done in 4 months on most projects. My inference on the logic of such aggressive following of best practices, aside from what I’ve been told & discussed is that of confirming my own experiences. For example, it took me about 5 years to really feel like I knew wtf I was doing in regards to programming. Yeah, you always learn, but there comes a point when all of the stuff you’ve researched and learned finally reaches a point where you don’t hate your code at the end of the day… only after a year. That’s still a great improvement and wonderful pinnacle (plateau?) to reach. In that time, I’ve learned how valuable OOP, MVC, and Frameworks are to fighting off scope creep, reducing the amount of code you have to write, and making things easier to maintain over time. This has NOT been the case with code-formatting & naming standards, nor with commenting rules.

    Since the scope of Enterprise projects is soo much larger, my guess is… bigger Godzilla, bigger artillery.

    However, I’m still in like… month 3 of 5 years when it comes to managing business stuff. Take invoices for example. I still have 1 outstanding, and it’s taken me a month just to get 4 out of the door. And, #4 of 5 yesterday accidentally had a factor of 8 hour days instead of hourly on it… but I put hours on it. This was like almost 5k extra I was charging the client. Thirty minutes go by, and when doing something time related (I’ve been doing a crap-load of time tracking lately as well), I suddenly realized the invoice I did was based on a different time scale and immediately called the client, explained the error, and re-sent them a new one. Oops… what an f’n crackhead.

    In reading the Pragmmatic Programmer, and realizing every Flash Game programmer that is good uses emacs. As such, I’ve been trying my damndest to get lower level, to use command line and other automation tools that have been around forever. The goal is to further expedite my development and work to make me more efficient.

    …therefore, I’m wondering wtf people do for my invoices. I had a weeklong drama talking to my dad about secretaries, and what they entail, etc. He uses Quicken to do most of his paper work, but it didn’t do his service work sheets, so he’s actually buying a custom product to help run that + expenses + keep track of his service work.

    For me, it’s merely I did X in Y time, please pay this amount, thank you, your project was fun, hope it makes you bling, have a nice day all in Excel. Writing these things and keeping track of them as well as who I sent them too, and who sent a check is… well, it sucks. I’d rather be coding vs. running the mundane business details via Excel & Outlook. What do people usually use? The same method? Do they have a Administrative Assistant do it? Or, should I shut the $)%* up and bite the bullet?

  • FABridge: Flex AJAX Bridge

    Adobe has just released “FABridge”, the Flex AJAX Bridge on Adobe Labs which exposes Flex apps to the browser.

    This should also interest web developers if you want to utilize Flex 2 components / mini-apps in your AJAX & DHTML applications, have limited Flex/Flash resources on staff, and/or don’t feel like coding all of the bridge code… Adobe just coded it for you.

    Check it out.

  • JXL on “Teh Patch”

    Neurofuzzy had a good write up about his experience with the IE Eolas patch Microsoft is distributing, so I figured I’d write up on mine too. I also had wrote up about 4 paragraphs in the past hour whining about how I hate it, but suffice it to say, all of my existing Flash & Flex content, while playable, requires an extra click to “get it to work”. The banner at the top of my site, my comments app to this blog post, and even my little “Copy to Clipboard” trackback link movie at the end of this post all no longer work like they should in IE. They display just fine, you can see them, but when you go to click in a field to write something or click a button in IE… you have to click twice.

    That’s sad… for me because all of my Flex & Flash content is now broken user experience wise, and for users who have to deal with all of the sites NOT fixed by using the JavaScript workarounds such as Microsoft’s solutions, FlashObject, or Adobe’s hotfix for Flex 1.5. Do you think Eolas would pay the invoices I send to them for having to add code to my personal & professional projects? I think out of spite I’ll bill them for my time.

    I applaud Microsoft for battling this patent, for implementing this change vs. the former one, and for using this as a line in the sand early. Eolas, however, has left a scar on the Internet, and the ingenuity of programmers has managed to dramatically reduce the casulaties. Go JavaScript.

    Still, I’m sad. I use Firefox, but most of my clients don’t, nor do millions of users. As the script implementations increase, so to will the damage’s visbility disappear so there is a silver lining. History will hopefully view this as the US patent system gone horribly wrong with implications to have gone even worse and learn from it.

  • Flash Clipboard Utility

    Blogging tools are getting smarter. I upgraded to MoveableType to 3.2 over the weekend. While their internal spam controls doesn’t hold a candle to my French Canadian comments SWF + 3 lines of Perl code, the trackback auto-discovery is pretty cool. It’s not new, it just came turned on by default so I just found out about it. Basically, if my blog entry links to another blog with a trackback URL, MoveableType will automatically ping it when you post. Pimp!

    However, for those who manually copy trackback URL’s, they are still unweidly. You can’t link to them because they are meant for blogging tools, not a web browser. As hyperlinks are unbroken text, they don’t always wrap correctly; I put mine in a scrolling div. You therefore have to highlight and select it. Not an overtly hard task mind you, but requires more than your average amount of hand-eye coordination merely for the sake of citing someone elses discussion.

    So, I immediately thought of a Flash solution. Then, I immediately felt bad for bashing AJAX the other day (12305848’th time in 2 days), so I went looking for a JavaScript solution instead. It turns out the first 10 results for google are sites that think IE is the only browser in the world that matters, a blog that wrote 2 entries on how insecure IE’s ability is to read your clipboard is, and a security company’s report on the exploit. There are 2 ways, one for IE4 and one for IE5… never went to page 2 in search of a Moz way. While I managed to get the IE code to work for her majesty (her work is IE5, hardcore), I realized, in the time spent I could of been done with my Flash idea. Still, I owe it to myself to get out of my comfort zone.

    …and of course upon returning to said comfort zone, I actually, you know, accomplished something. Imagine that.

    I created a text hyperlink in Flash that uses the same CSS as my site. When you click it, it copies the trackback URL to your clipboard. Small, but helpful I think. Secure, and so far works on IE6 & Firefox 1.5 for PC, and Safari on Mac. The trackback URL is passed to the SWF via flashvars, and the SWF merely goes System.setClipboard(trackback_url) when you click it. It’s at the bottom of this entry, “Copy to Clipboard”.