Too much to do!

I’ve got to much to do to continue my work on my ultra top secret mephisto based blogging platform, and I would really like something more general at the root of this site, so sometime before too long, the blog will be at http://blog.l4m3.com and there will be a more project oriented site here. 

On that note, I really, really dig tumblr. It would seem to me that most traditional blogging platforms are really setup well for what they’re for — writing traditional “article” type posts. 

After talking with a friend of mine, it would seem more prudent to me at least to have something where I dump things I’m doing and then organize them later. I do wish that tumblr had a “code” option, but alas, it’s not there. Perhaps when I find time I’ll get to work on something similar.

Atheros Wifi for EEE PC in Intrepid Ibex

This one was quick and painless. Enable the backports repo under System/Admin/Software Sources. Then install linux-backports-modules-intrepid. Boom. Wireless. Yay!

Skype in Ubuntu Intrepid Ibex (8.10)

It took me a while to figure out, but like in the past, I had to manually configure the inputs to unmute them and choose the right mic input (the built in mic) to get things working. However, it wasn’t all sunshine and cupcakes.

Running alsamixer gives you the Pulseaudio default mixer. That didn’t help me much, but running alsamixer -c 0 (which picks the Intel sound on my laptop) allowed me to select the “front” mic, unmute it, and correct the volume.

Once in skype, I used the first hw input for input, and the pulseaudio for ringing and output. Test call worked like a charm.

I’m running low on battery, maybe I’ll explain the hows and whys in depth later, but I think I have about 30 seconds left.

Another screen clip made of Awesome

So I was thinking to myself, “self, Microsoft talks all the talk about how great their software is and spends a ton of money on marketing that fact, so let’s go to microsoft’s website and see what they have to offer me.”

I get to microsoft’s website (which I went to the other day for another reason and got the same message) and got a small hint that if I have Silverlight, their website become all that much better. Silverlight is cross platform and ok, right?

Well, sorta. And no. And screw me for trying. 

Sun T5440 Server - Goes way past 11.

when the dom goes horribly wrong

Thoughts on Ruby on Rails: Opportunity in a Financial Downturn

After reading Ruby on Rails: Opportunity in a Financial Downturn, I’ve got some notes and observations. 

The article and comments cover both ends of the spectrum of the argument. Does the fact that someone is developing with a particular platform matter? Is it irrelevant?

I read a lot of developer and Rails blogs and there’s a few things that always blow my mind about the short sighted-ness of the views of those blogging rails and contract work. Here’s a list of things to keep in mind when looking for propositions for work and thinking about projects in general, and especially in an economic downturn:

1.) Screw the CIO. IT departments are the last place to look for something interesting going on in a company. In most companies, IT/IS came out as a function of the accounting department. My wife is an accountant, and I tell ya, there is nothing more boring than accounting, and what could be more boring than the accidental child of an accounting department?

The real problem here is that yes, when budget cuts come around, IT/IS departments are going to have extra projects slashed. That’s why you don’t target them. You don’t have anything to sell them anyway. If budget cuts are on the way to departments, why not come up with a time cutting app to help out? It’s all about ROI and your mindset. Developers aren’t paid to write software, they’re paid to solve problems. Rails developers aren’t paid to solve problems, they’re paid to provide intelligent, well designed, well documented, business solutions that just happen to rely on a software framework that fits those mindsets. 

2.) Rails and a SCM framework give you everything you need to be a rock star now, for support, and for future projects. How many times have you inherited some awful collection of perl scripts, horrible monolithic PHP app, or worse… god forbid… some sort of hydra of a monster meant for mod_cgi? 

MVC + a good SCM is just the start though. Using them well is key. Moderately skilled staff should be able to read through your commit messages and understand exactly how the changes made in the base framework equal your app. No one really needs to learn Rails or Ruby via your commits, but be transparent about your processes, make sure they’re understood. It makes people feel more confident in the knowledge of the business processes, every aspect of your deployment and support is made easier, you learn something, they learn something, everyone wins. 

3.) SaaS is a bogus model now. So many questions arise when someone puts their data in a cloud. You can give every assurance known to man, your platform could be 100x more secure than theirs, but it doesn’t work. It’s like being 10 and given a savings bond backed in Zimbabwe dollars for Christmas — there’s no real deliverable and there’s no guarantee that it’ll be worth jack down the road (especially without investing more). The only guarantee is that the recipient of the Zimbabwean savings bond will really hate you.

In addition SaaS scales poorly for their pocketbooks and as bad for you (if you weren’t forward thinking enough to charge exponentially for scaling). Yes, maintenance charges are included in budgets, so give someone something. Have a deliverable, even if it’s a burned DVD. Make sure you followed guideline #2 and it’s well documented. Giving someone something tangible for their money is a really good thing. If I gave you the option of paying $10 for a CD or $10 to stream the same files from a site, what would you decide?

Just some thoughts. Remember who your best customers are, and what they need, not what Web 2.0 promises.

Spreadsheets and Reporting in Ruby

I’ve recently been doing a lot of reporting work… pulling spreadsheets in, manipulation, etc. With the wide availablility of reporting tools for Ruby, it’s probably worth the time of anyone who spends more than 10 minutes a day working with spreadsheets to check out these gems. Perhaps if I get the time, which is not likely, I’ll run a tutorial through using some of these:

Ruports - Actually a collection of gems that works with reporting. There’s also a good book available on this at Ruport Book.

spreadsheet/parseexcel - This reads and writes excel spreadsheets on any platform, without the need for excel. It’s used by the next gem…

roo - I haven’t actually used this yet, but at first glance, some features remind me of the simplicity and bliss that is programming ruby, but there are some definate oddities that don’t seem very ruby-like. I may end up forking this, but who knows. Reads and writes all sorts of spreadsheet types.

MySQL gem on Leopard (10.5)

why, oh why is this not more straight forward

sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

Shoooooes

I’ve been digging on Shoes for a while for lightweight GUI’s for ruby apps. This isn’t in the book, so I thought I’d post it here, mostly so I remember:

Clearing Up The Whole Shoes And RubyGems Deal

Which has some hints for including ruby gems that don’t come with shoes within shoe apps. However, it looks like the reason I need some gems is complicated by there being no OpenSSL support with the current Shoes build in some cases.

update: This is as of build 925

at

I would like to at this time thank some wizards somewhere for “at”. You know why you are special.