Archive | Development

10 December 2010 ~ 1 Comment

4 ways to use Symbols in Ruby

A typical implementation of a Ruby interpreter maintains a symbol table in which it stores the names of all the classes, methods, and variables it knows about. This also allows such an interpreter to avoid most string comparisons: it refers to a method name by their position in this symbol table. This turns a relatively expensive string operation into a relatively cheap integer operation.

Continue Reading

29 November 2010 ~ 1 Comment

Google’s CDN links

Most of the websites I see, still host their JavaScript Library on their own server (Most, not all). Actually never have I ever seen any Web Development Blog hosting the library on their own server. They always use Google CDN, which is great because it has a number of advantages.

Continue Reading

21 November 2010 ~ 3 Comments

Simple DB

Amazon SimpleDB is a web service for storing, maintaining, and querying structured data sets in real time. All data is stored in Amazon’s web service cloud, making SimpleDB very reliable, scalable, and flexible. I am going to go over all you need to start using Simple DB with Ruby on Rails.

Continue Reading

21 October 2010 ~ 1 Comment

Install Passenger

Passenger makes deploying rails apps as easy as putting the file on the server and starting Apache. I have been using passenger for about 4 years and have used it for some very high scale projects.

Continue Reading

11 October 2010 ~ 4 Comments

Install Postfix

Some dread this step in server setup. It does not have to be a pain, just follow the steps below and I hope you get the same success i did! There are, of course, alternatives to postfix, each with advantages and disadvantages and, without going into the differences, I have chosen Postfix due its relative ease of configuration.

Continue Reading

Tags: ,

03 October 2010 ~ 3 Comments

WoW to Wordboxes

I have added a new feature for all the World of Warcraft players out there. As it stand now you may only share your WoW account feed to Facebook. This feature changes that, by allowing you to now share your WoW boss kills, items and achievements on Wordboxes!

Continue Reading

Tags:

16 September 2010 ~ 1 Comment

Full-Text Search Issue

So i just discovered this issue with MySQL full text search… Full text searches only return anything, if the number of results is less than 50% of the total table size! So i have been racking my brain for a few days over this issue. I have a database with the letters “wow” in it [...]

Continue Reading

Tags:

09 September 2010 ~ Comments Off

Micro Instances EC2!

Yes! i never thought this day would come! Amazon now has an option for a much lower cost server instance, they are calling it “Micro Instances”. This drops the monthly cost to about $.48 a day and about $14 a month! Micro instances provide 613 MB of memory and support 32-bit and 64-bit platforms on [...]

Continue Reading

Tags:

28 August 2010 ~ Comments Off

PHP/MySQL after 2010-005

After applying Security Update 2010-05, some users have reported PHP and MySQL problems, including an inability to connect to MySQL databases. Apple reports that the following procedure resolves the database connection issue: In the Terminal type sudo nano /etc/php.ini (Terminal will ask you for your password) Change: mysql.default_socket = to: mysql.default_socket = /tmp/mysql.sock Press Ctrl-O, [...]

Continue Reading

Tags: ,

22 August 2010 ~ Comments Off

phpArmory for WoW

phpArmory is a PHP class library. It allows php software developers to easily access data from the World of Warcraft Armory website. This is useful because the Armory website contains up-to-date and official details on characters, guilds, and items in World of Warcraft.

Continue Reading

Tags:

19 August 2010 ~ Comments Off

Investment in Open Source is up!

This year could be of critical importance to the open source software industry, with a recent survey showing a majority of businesses and organizations in the U.S. and United Kingdom expecting to increase investment in it this year.

Continue Reading

Tags:

04 August 2010 ~ 3 Comments

Wave goodbye

From the official Google blog. They announced today that they will no longer be supporting Google Wave by the end of the year.

Continue Reading

Tags: ,

04 August 2010 ~ Comments Off

PHP 5.3.3 Backwards incompatible change

Methods with the same name as the last element of a namespaced class name will no longer be treated as constructor. This change doesn’t affect non-namespaced classes. namespace Foo; class Bar { public function Bar() { // treated as constructor in PHP 5.3.0-5.3.2 // treated as regular method in PHP 5.3.3 } } Update from [...]

Continue Reading

Tags:

03 August 2010 ~ 1 Comment

var_export in PHP 5

So var_export(mixed $expression [, bool $return = false ] ) outputs or returns a parsable string representation of a variable.

Continue Reading

Tags:

19 July 2010 ~ Comments Off

OpenStack

Today is a big day for Rackspace Hosting. They announced a new project that Rackspace believes will change the way the cloud is developed and it’s called OpenStack – an open source cloud platform designed to foster the emergence of technology standards and cloud interoperability.

Continue Reading

Tags: