Friday, August 29, 2008

On Ruby: RubyInline, Making Making Things Faster Easier

On Ruby: RubyInline, Making Making Things Faster Easier
Optimize what you need to (and only what you need to), profile find out what that is (it may be slow, but profiling is your friend), and use the right tools (rewriting a bit of code with RubyInline is way better than rewriting the whole app in C).

Another Ruby on Rails PSR article

Ruby on Rails Development: Justify Your Choice of Ruby on Rails: Articles and Links
The top two concerns are usually performance and scalability: "Ruby is slow" or "Interpreted languages are slow" seem to be the most common. Here are some excellent articles on the subject (the overall summary being: Rails provides a great advantage in getting your product to market, there are reasonable and inexpensive ways of addressing any performance bottlenecks, and scalability is not a problem):

Ruby on Rails Scalability - Is it a Problem?

Ruby on Rails Scalability - Is it a Problem?
the cost per request is plummeting, but the cost of programming is not. Thus, we have to find ways to trade efficiency in the runtime for efficiency in the “thought time” in order to make the development of applications cheaper. I believed we’ve long since entered an age where simplicity of development and maintenance is where the real value lies.

DNS in Windows XP Tip!

DNS in Windows XP Tip!
Prevent DNS problems with this tip for Windows XP...

Thursday, August 28, 2008

how to identify H.264 profile

[Sip-implementors] H.264 in SIP - question about profile-level-id

1. hexdump -C test.mp4 | less
2. search for profile-level-id=4dE01E

You should refer to ITU-T H.264 standard

From the document
Baseline profile: profile_id 66 = 0x42
Main profile: profile_id 77 = 0x4D
Extended profile: profile_id 88 = 0x58

Tuesday, August 26, 2008

Making djbdns and dnscache play with Ubuntu

Aaron Brady - insom.me.uk - Making djbdns and dnscache play with Ubuntu
Now that djbdns is public domain it can be included in Debian-based distributions. Gerrit Pape has done the hard work of packaging everything up and submitting to the ftpmasters at Debian, and it looks to have been accepted into sid.

I, however, run Ubuntu, which hasn't imported this package yet. Ideally, I'd also like to avoid running daemontools, as upstart does a similar job and already comes with Ubuntu.

Friday, August 22, 2008

Geographic IP Address Locater

IP Address Locator - Enter an IP address to find its location - Lookup Country Region City etc

IP Address Locator Tool

This IP Address Map lookup service is provided for FREE by Geobytes, inc to assist you in locating the geographical location of an IP Address. Click here to checkout our other FREE localization services.

Thursday, August 21, 2008

How To Use SSH in Unix or Linux shell script

How To Use SSH in Unix or Linux shell script
SSH general syntax

ssh user@hostname command

Keyless ssh / ssh-keygen: setup and gotchas

Keyless ssh / ssh-keygen: setup and gotchas
If you ssh into a server a lot, you'll get tired of typing in your
password over and over again pretty quickly. Fortunately, you can
generate a set of public and private keys on your local client machine,
place the public key on the server, and ssh without having to enter a
password. Here's how.