Tuesday, October 27, 2009

Scaling Rails

One of the guys on my team (our staff developer) and I went to an event this morning put on by EngineYard and a few of their partners this morning. The content was pretty informative, albeit a little on the salesy side. The content mostly focused on EngineYard's new cloud product and how easy it is to provision servers.

EngineYard's CTO said something which seemed rather poignant: The demo environment they were using during the presentation (which consisted of three Amazon EC2 instances: two app servers and a database server) should be sufficient to host about 99% of all rails applications on the internet at this point.

That's absolutely insane. The hard costs for the infrastructure of a web-based startup are crazy cheap.

Friday, July 10, 2009

Why oh why Microsoft?

Seriously. WTF?

We just set up a Windows Server 2008 virtual machine for deployment of our Catering management application. It wasn't responding when I tried to use Remote Desktop to manage it, so my first inclination was to ping the machine to see if it was up. That didn't work, so I opened up the VMWare Infrastructure console, booted it up and tried pinging it again.

Still no dice.

So, I logged in through VMWare and checked that the IP address of the machine was configured correctly. Check.

Still no ping.

Next, I made sure I could ping out and connect to the rest of the network from that machine. Check.

So I'm now thinking it's that pesky Windows firewall again. However, the imcp / ping settings aren't there either, but there is a little link to windows help. I'm on the right track. Yaaay.

However, the little article isn't horribly descriptive and points me to the "Windows Firewall with Advanced Security" Microsoft Management Console snap-in. Great.

Open that up, look around, still can't find anything about imcp under "Core Network" section.

Hello Google. I am angry. Please help me.

I find this helpful article : http://www.petri.co.il/enable-ping-windows-2008-server.htm

The instructions prove helpful and I now have a server which will respond to a ping, but really? Why the f*** is the ping setting buried in a "File and Print Services" heading? Who thinks to themselves "I want to make a server respond to pings. That means I should think about print services!"

Tuesday, June 9, 2009

Business Email Style Guide (pt 1)

I am a huge fan of using email to get things done. However, the way in which some people use it bugs the crap out of me. It's entirely possible that I'm just more anal than most, but there are some simple rules which I think bear restating:
  • I don't care that you're not writing a formal letter. Using bad grammar, stupid abbreviations (such as "thanx") or incomplete sentences all make you sound like an idiot. I don't want to read your email and will probably discount whatever you have to say in it if I think you sound stupid.
  • Email is a wonderful mode of communication for a few things: quick thoughts or requests, formal communication where it's important to be able to refer back to what was said at a later date and asynchronous communication amongst others.
  • Email is not a good tool when a discussion about something simple drags on for more than two emails in either direction. Did everyone forget about their phones with the advent of crackberries?
  • Make whatever point you're trying to make clearly and quickly. You're not writing a novel. (Or even a short story.)
  • Before you carbon copy anyone, seriously consider whether they need to get whatever it is that you're about to send them. It's one of my pet peeves to get an email which I don't really care to read just because someone thinks they need to "keep me in the loop," or to receive an email with other people cc'd for the same reason.
  • Contrary to what some other folks preach, courtesy thank you and you're welcome emails are just fine.
  • Lastly, please don't ever send anyone an email from your smartphone which serves little to no purpose. My very informal observation is that people tend use such devices to communicate more frequently and faster, but with far less valuable thoughts than they would otherwise.
Call me old fashioned or crabby, but I hate to see the demise of the art of communication because of a collective decline in the standards we hold ourselves to.

Friday, April 3, 2009

Databases

So I'm sitting here, having spent more time than I'd like to admit trying to get at some data in the application we use to manage our catering service sporadically over the course of the past two days. My plan was to simply install an odbc driver, fire up a data transformation services package and to dump everything into a mysql database. However, this has proved not to be quite the trivial task I anticipated.

This brings me back to a question I ask myself fairly regularly: Why oh why on earth does anybody use databases other than the big boys or something open source?

I know that some apps are tied to bad legacy choices, but I still don't get it. This particular application "upgraded" to Sybase's Advantage database server. I say "upgraded" because it seems like a very bad choice to me. Here's why:

  • It probably cost them some money to buy the developer's license and it definitely cost me money as the customer. Mysql is free. Across the board.
  • Although Sybase has odbc drivers, mysql does too. And they work better with everything I screwed with today. (SQL server dts, access - eww, crystal reports - eww.)
  • What's up with this "data dictionary" nonsense? Can't you just give me a host name and credentials to connect to? I don't get that one either.
I could ramble on longer, but it would probably run the risk of making me sound dumber than I have already made myself. Here's my plea: If you're writing an app from the ground up or if you're re-architecting it, use a database which doesn't suck.