Free online book on the subject
Open Source, Ruby, Ruby On Rails, PHP, CakePHP, Mysql, Linux, PCBSD, Emacs, Ubuntu, CENTOS, ArchLinux, Slackware, Opera, Sabah, Malaysia
Why do so many namespaces start with com
Why we keep seeing namespaces such as com.Apple or org.clojure
This is to maintain uniqueness among namespaces such as described by Oracle.
Companies use their reversed Internet domain name to begin their package names—for example, com.example.mypackage for a package named mypackage created by a programmer at example.com.
Name collisions that occur within a single company need to be handled by convention within that company, perhaps by including the region or the project name after the company name (for example, com.example.region.mypackage).
Packages in the Java language itself begin with java. or javax.
Convert Ruby 1.8 to 1.9 hash syntax
In vim, for an entire file:
In the shell, for an entire project:
perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' **/*.rb
Now, instead of those old-school hashes like this:
get '/', :agent => MOBILE_BROWSERS do
You’ll have new-school hashes like this:
get '/', agent: MOBILE_BROWSERS do
How to charge your clients?
If you’re a web developer, content writer, graphic designer or anything related to freelancing this question always pops out.
- Charge per hour basis
- Charge flat fee
There’s no way to say which is right or which is wrong. A little bit experimentation is the way to test demands in your market. What is right in US might not work in Asia or vice versa.
Here are some resources I find helpful.
- Flat Fee Versus Hourly Rates – How to Charge for Your Web Design or Graphic Design Services - A great article on hourly rates vs flat fee. His heavily inclined towards flat fees. Read this before you decide to charge hourly rates for your next work or projects.
- How to Price Your Web Design Work - The knol provides some calculations for web designers in pricing their job. Worth reading.
- Don’t just roll the dice - A free book on pricing your service (geared towards SAAS). Highly recommended.
- Pricing Strategy - Marketing pricing strategy, not really related to design work per se.
Update (Sep 5th):
Another good article regarding software price: