Record Your Screen For Free

Here’s a simple way to record your screen using Quicktime Player that comes with your Mac.

Installing FreeImage on Mac OS X Lion

I think you all know that I don’t like Macport nor Homebrew as I prefer to compile everything. I also don’t like the fact that ImageScience requires FreeImage. Well, in order to compile and install FreeImage, you have to go modify Makefile.osx. Below is the content and here’s the link to the gist.

This is for Lion since it’s all 64-bit and the SDK is 10.7. You don’t have to worry about the latest Xcode. Just make and sudo make install. That’s all!

Faster Testing with Parallel Tests

Faster Testing with Parallel Tests from Joon You on Vimeo.

Wanna Learn Testing?

As you know, I bitched about the RSpec book before. Some people pointed out the fact that I didn’t offer anything for those wanting to learn testing. Well, take a look at these videos. There are six videos that teaches you from begging to end.

Efficient Rails Test-Driven Development – by Wolfram Arnold
class 1 of 6
class 2 of 6
class 3 of 6
class 4 of 6
class 5 of 6
class 6 of 6

Learning Rails

If you’re starting out in Rails, take a look at this series of videos from Ruby on Rails Intensive 1-Day Course. No, it’s not Rails 3, but should be a good introduction.

Ruby on Rails – Part 1: Hello World

Ruby on Rails – Part 2: Just Enough Ruby

Ruby on Rails – Part 3: Basic Rails

Ruby on Rails – Part 4: Advanced Active Record

Ruby on Rails – Part 5: AJAX and Testing

Rails 3 Documentation: Generate Your Own

In this screencast, I show you how to generate the api and guides for offline viewing.

Rails 3 Documentation: Generate Your Own from Joon You on Vimeo.

Pomodoro Technique

As long as I can remember, even when I was a kid, I always used 50/10 technique. If you don’t know what that is, it’s focusing intensely and working on a task for 50 minutes and take 10 minute break. I did this unintentionally and when found the “official” technique, it basically confirmed my belief that this is what made me very effective.

I then found another technique, Pomodoro. It’s basically the same as the technique I mentioned, but it’s broken down to 25 minutes and 5 minute break. I was shocked to find that it’s highly effective, and it’s even more enjoyable.

To learn about this, you can read the free book at http://www.pomodorotechnique.com . Listed in posts are the resources I found helpful.

Videos

The Pomodoro Technique: can you focus – really focus – for 25 minutes? – Staffan Nöteberg

Software

  1. On my Mac, I use Pomodoro Desktop and always have it on when my computer starts. It’s simple and free.
  2. On Linux, I just use timer applet and have three presets; pomodoro, short break, and long break. Because I use 64-bit version, I found too many issues with any AIR based apps.

Installing Redis on Mac Snow Leopard

Here’s how I do it.

Step 1 – Get the source and compile it

Step 2 – Place the binaries and configure

  • copy redis-benchmark, redis-server, redis-cli, and redis-stat to /usr/local/bin and set the owner to root.
  • copy redis.conf to /usr/local/etc and change “daemonize” to “yes”
  • if you want it to start when the system boots, create redis.plist in ~/Library/LaunchAgents directory with following content:

    Then use the following command to automatically start when your computer boots:

Step 3 – Test

  • open Redis CLI by entering “redis-cli”
  • open Redis CLI again

Structure and Interpretation of Computer Programs

*** Update ***
Forget curl, just download and install wget => “If you’re using a Mac and don’t have wget installed, then replace wget with curl -O”
***

Now that the videos are fixed, I was watching Jim Weirich’s keynote at this year’s Red Dirt Ruby Conference. He mentioned the book “Structure and Interpretation of Computer Programs” and what he was doing with it. So I got really interested.

Before I go any further, I don’t have a “computer science” background. When I started computing, there weren’t much and I did things without knowing the name. Take TDD for example. I always thought that people programmed that way and as far as I’ve seen, all the “old” people did it that way. What offends me the most is some asshole comes along and puts a label on it and I’m suppose to know what that is.

Ok, back to the subject at hand. You can purchase this book for $68 or view it online for free at HERE. You can also get the video of the course that uses this as the text from MIT’s Opencourceware by running following script I wrote for you. Here’s the link to MIT 6001.

First run the script below.

Then run the following script to clean up the file name.

The primary reason why I go through the beginner’s stuff is that whenever I go into an interview, I get asked basic computer science questions because people interviewing me never worked on any real applications and the only thing they know is what they learned from school.

In any case, this surely is an interesting exercise and I’m enjoying it.

Ruby-Debug19 with Ruby Head

Just in case you didn’t know by now, true to my name, I use HEAD version of Ruby. That’s 1.9.2dev at this time, and I already made a post on how I compile it from the source here.

Ruby-Debug is one of my indispensable tool. I’d be lost without it along with all the testing framework. You see, I really don’t know how to develop without testing and debugging. I’m a devoted Catholic so my faith is unshakeable, but that’s the religion, not the code.

I was going to give up on the latest Ruby because I had a bitch of time trying to install it. Well, it turns out that I was making a stupid mistake and although I feel embarrassed to admit, I’ll post the instruction here.

To install ruby-debug19, do the following:

That’s all! I was keep pointing to a wrong directory. This is a good reason why you shouldn’t remove the source directory after you compile and install Ruby.

Next Page »

Powered by Olark