Yes, we're moving from SVN to Git too
Posted by Michael Wed, 20 Feb 2008 20:45:00 GMT
This is more information on why you’d ever need, but I like to hear Linus talk.
Posted by Michael Wed, 20 Feb 2008 20:45:00 GMT
This is more information on why you’d ever need, but I like to hear Linus talk.
Posted by Michael Thu, 10 Jan 2008 15:52:00 GMT
You’ve got port 3306 (MySQL) firewalled off and you want to use a MySQL GUI every once in a while (or maybe a bunch).
This is a snap with ssh.
On your local Linux/BSD/Mac/Unix machine (works in cygwin too) edit your .ssh/config file and add:
Host somemysqlserver Hostname server.mydomain.com #your mySQL server FQDN or IP User bob #replace with your valid ssh server username LocalForward *:13306 localhost:3306Now do:
ssh -f -N somemysqlserver
You can now connect to your localhost port 13306 and it will forward to your MySQL server’s port 3306.
Plus, it’s free and probably already installed on your systems.
Need help? support@imapenguin.com
Posted by Michael Tue, 27 Nov 2007 20:15:00 GMT
Capistrano 2.0 doesn’t work with those mongrel recipes we all have nowadays. We scratched our head at some hacks before finding a good solution via the blog world.
Thanks to Megablaix, Inc for posting this code. Works great for us, just tack it onto the end of your deploy.rb and go:
namespace :deploy do
namespace :mongrel do
[ :stop, :start, :restart ].each do |t|
desc "#{t.to_s.capitalize} the mongrel appserver"
task t, :roles => :app do
#invoke_command checks the use_sudo
#variable to determine how to run
# the mongrel_rails command
invoke_command "mongrel_rails cluster::#{t.to_s} -C #{mongrel_conf}", :via => run_method
end
end
end
desc "Custom restart task for mongrel cluster"
task :restart, :roles => :app, :except =>
{ :no_release => true } do
deploy.mongrel.restart
end
desc "Custom start task for mongrel cluster"
task :start, :roles => :app do
deploy.mongrel.start
end
desc "Custom stop task for mongrel cluster"
task :stop, :roles => :app do
deploy.mongrel.stop
end
end
Posted by Michael Mon, 12 Nov 2007 16:22:00 GMT
Get it here, while it’s hot off the presses. I know, we’re such nerds…
Here’s an emulator screenshot.

Posted by Michael Mon, 05 Nov 2007 13:28:00 GMT
We penguins have been discussing publicly since we first started developing on mobile back in 2001 that mobile phone apps will continue to largely suck until some major players come up with a reasonably open platform. That was finally announced today:
Posted by Michael Fri, 06 Jul 2007 11:21:25 GMT
It’s not often that computer work makes me smile. I needed to download 6 files today. This is what made me smile:
[1,2,3,4,5,6].each do |number|
system("wget http://mirror.stanford.edu/yum/\
pub/centos/5.0/isos/i386/\
CentOS-5.0-i386-bin-#{number}of6.iso")
end
Ahh. Ruby, where the simple things are simple.
Posted by Michael Thu, 10 May 2007 16:29:00 GMT
Erlang is a really great language for problem areas where a distributed system is involved, but it lacks the huge number of libraries that Ruby has. Wanna have your cake and eat it too? Yep, so do we. Enter Erlectricity, a Ruby to Erlang bridge.
It’s already on rubyforge, install it with:sudo gem install erlectricity
We’re actively prototyping a software solution that would be better in Erlang as it needs to be massively concurrent (think deep packet inspection at 750Mbits). Two libraries we need for aggregation exist in Ruby but not Erlang. Now we can bridge the two and let Erlang do it’s thing and Ruby do what it does best, just not so fast.
Posted by Michael Wed, 14 Mar 2007 17:22:00 GMT
We’ve been doing a bunch of server setups for folks in VPS’s. I figure we’d save you the cost of hiring us by posting a quick rundown on an Ubuntu Edgy Rails setup:
sudo bash apt-get update && apt-get upgrade apt-get remove apache2 apt-get install libssl-dev apt-get install zlib1g-dev dpkg --purge apache apache2 apt-get install build-essential apt-get install libreadline5-dev cd /usr/local/src/ wget http://apache.mirror99.com/httpd/httpd-2.2.4.tar.gz tar -xzvf httpd-2.2.4.tar.gz cd httpd-2.2.4 ./configure --enable-proxy --enable-proxy-balancer\ --enable-proxy-http --enable-rewrite --enable-cache\ --enable-headers --enable-ssl --enable-so make && make install /usr/local/apache2/bin/apachectl start apt-get install mysql-server /etc/init.d/mysql start cd /usr/local/src/ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz wget http://rubyforge.org/frs/download.php/17189/rubygems-0.9.2.zip apt-get install unzip unzip rubygems-0.9.2.zip tar -xzvf ruby-1.8.6.tar.gz cd ruby-1.8.6 ./configure && make && make install cd ../rubygems-0.9.2 ruby setup.rb gem update gem install rails --include-dependencies apt-get install libmysqlclient15-dev gem install mysql --include-dependencies gem install mongrel --include-dependencies gem install mongrel_cluster --include-dependencies
Then you need some optional housecleaning and deploy your app. We’ll assume you know this part. If not, you can flame me via email and I’ll help you.
Posted by Michael Thu, 22 Feb 2007 20:11:43 GMT
If you’re getting:
Updating installed gems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x1380250>
you need to remove your source_cache. Look in ~/.gem and in your site directory. Mine is in:
/usr/local/lib/ruby/
Posted by Michael Wed, 07 Feb 2007 16:02:57 GMT
Dave Benjamin just updated his step by step guide to install Rails on a Mac.
Mongrel + Ruby + Rails + Mac = Yum.