Delay In Screencast
Ok, I said I wasn’t going to edit the screencasts. But after viewing the first two, I now want to prepare and edit the screencasts; the raw format wasn’t as refreshing as I thought. I also will not record when I’m that tired and exhausted. I took today off completely to get some rest and will continue tomorrow after the mass. Stay tuned and I apologize for the delay.
Google APIs Are Available
Google released APIs for email, calendar, spreadsheet, gadgets, talk, and others. I didn’t get a chance to really drill them down in details, but they seem to offer a nice set of APIs to really extend any applications to utilize Google services. Integrating these APIs to your application is relatively simple. Just take a look at their document, it’s very straight forward.
Here’s what I don’t like about this. Although it’s not alot of money, features such as single sign-on, provisioning APIs, and email gateway interface require their premium service for $50/user account/year. But if you’re writing an app that uses such features, then why not?
Episode 2 - Setting Up
This is the first day of MyDrugs development where I create a Subversion repository for the project, check out initial documents, create a Rails app, remove index.html, create index controller, and check in the code. You can download the video by right-clicking on the link and do “save as” or whatever your browser says.
I may just finish the app tomorrow, so stay tuned.
Episode 1 - MyDrugs, Introduction
In this episode, I introduce my intentions and describe what MyDrugs is. There’s no code of any kind here. I don’t expect anyone to actually download this due to its content. You can view this here as I posted this to MotionBox.com, a YouTube competitor with better features.
I also recorded the second episode and it will be posted in few minutes. I had a long day today and I’m extremely tired as I had to crack open my Macbook Pro twice today. I hope I sound better tomorrow.
Setting Up The Screencast
As I was preparing for the screencast, I realized I completely forgot about the distribution. Considering the size of the files, I just don’t feel safe hosting on this server since I have other critical stuff running on it. I also don’t want to host it on my home servers although I have a plenty of bandwidth. Can you imagine if I pissed off Verizon and I have to give up my fiber connection?
I decided to sign up for Libsyn account. I always noticed when I download podcasts how fast they were from lybsyn.com. What I didn’t know was how cheap and hassle-free it was. This was an easy decision since it made sense even if I decide not to publish on regular basis.
Now, I have to get back to creating the content. Sorry about the delay.
Remedy For Slow Server Side Scripts
DHH posted an excellent point about outsourcing the performance-intensive functions last year. Here’s the link to his blog post.
I agree with DHH that we should not force ourselves to confine of Rails or Ruby, but take advantage of all the tools at our disposal. I get disgusted when someone labels themselves as a Java or C# developer. We should be just developers, period. As a CTO, I’ve seen too many uglyness that could’ve been done better if a developer was willing to expand beyond his/her chosen language or platform.
You can use File object to get a listing of a directory, but I think it’s lot better to simply system(’ls’). Of course this is not always appropriate, but you get my point. To test this, simply open irb and type system(’ls’) and see what you get.
If you have a server script that isn’t so nice with Ruby, then by all means, go beyond Ruby. Not only are you speeding up your app, you may boldly go where no Ruby developer has gone before.
Screencasts Coming
I was asked to demonstrate my ability to write Rails code today, and I thought it would be a perfect opportunity to record a series of screencasts where I create a simple app from start to finish. I’ll start recording this tomorrow and post it. Just a few caveats:
1. I’m not editing the videos. It will be very raw, but I think it’s rather refreshing.
2. I may skip a day or two since my wife started morning sickness. I personally don’t know why it’s called a morning sickness since she’s sick all day. It’s not easy being a geek with a job and a family.
3. It’s a simple app and I’m not going to write a commercial grade app with all the exception handling other than the obvious.
So, stay tuned.