Fixing apache2 on Ubuntu 10.04 with virtual network interfaces

Everything went well after upgrading my Ubuntu LTS installation to 10.04 LTS until I noticed that apache and lighttpd won't come up after a system reboot.

I thought it might be a small hickup with the upstart-migration.

Well, turns out it wasn't: In /var/log/boot.log i have found

Cannot assign requested address: make_sock: could not bind to address

Yep. Ubuntu wouldn't bring up my virtual network interfaces on time…
Gladfully someone else had this problem before.

Filed under  //   linux   sysadmin   ubuntu  

The MIT Hacker Ethic

Steve Levy, author of Hackers: Heroes of the Computer Revolution," outlined the hacker ideal at MIT as consisting of the following principles:

  • Sharing
  • Openness
  • Decentralization
  • Free access to computers
  • World Improvement

Filed under  //   ethics   hacking   mit  

Slicehost Articles: Ubuntu Lucid Setup - Part 2

If the code doesn't match what it should be for the localization you would like to use for your slice (or if it uses a generic locale like 'POSIX'), run something like the following commands:

sudo /usr/sbin/locale-gen en_US.UTF-8
sudo /usr/sbin/update-locale LANG=en_US.UTF-8

I should get these two lines tattooed somewhere, as I always end up on google, when setting up some new lucid boxes…

Filed under  //   l10n   locales   setup   ubuntu  

fguillen/simplecov-rcov - GitHub

SimpleCov Rcov Formatter gem

Is a Rcov style formatter for the ruby 1.9+ coverage gem: SimpleCov.

The target of this formatter is to cheat on Hudson so I can use the Ruby metrics plugin with SimpleCov.

So if you are looking some kind of workaround to integrate SimpleCov with your Hudson + Ruby metrics plugin this is a beginning.

Filed under  //   ci   hudson   jenkins   rcov   ruby  

tmux settings for screen + vim fans

If you don't mind, I'd share my tmux config with you. I have mapped the control key to <ctrl> + <a> because I also got some boxes with GNU Screen flying around and I just can't remap my fingers… 

The pane movements are adapted from the standard VIM movements. 

setw -g window-status-current-attr underscore
setw -g mode-keys vi
set -g status-keys vi
set -g prefix C-a

 

set-window-option -g utf8 on
set-window-option -g mode-keys vi
set-option -g mouse-select-pane on
set-option -g status on

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

bind C-d detach

 

Filed under  //   linux   screen   tools   vim  

Fuzz Box: Resign Patterns

2.5 Fromage
The Fromage Pattern is often full of holes. Fromage consists of cheesy little software tricks that make portability impossible. The older this pattern gets, the riper it smells.

Filed under  //   design   development   patterns  

Installing the ruby-filemagic gem via bundler on OSX

If you're running into trouble when installing the ruby-filemagic gem on Mac OS X:

Installing ruby-filemagic (0.4.2) with native extensions /Users/bascht
/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions':
ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/bascht/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb checking for magic_open() in -lmagic... no ***
ERROR: missing required library to compile this module

You might wanna hand over the path to your macports installation of file.

--with-magic-dir=/opt/local

Kudos to @Xylakant who stumbled over the correct way how to do this with bundler:

bundle config build.ruby-filemagic --with-magic-dir=/opt/local

Filed under  //   bundler   file   gem   magic   osx   ruby  

- Joel on Software

By the way, it's because of this phenomenon—the fact that many of the great people are never on the job market—that we are so aggressive about hiring summer interns. This may be the last time these kids ever show up on the open market. In fact we hunt down the smart CS students and individually beg them to apply for an internship with us, because if you wait around to see who sends you a resume, you're already missing out.

Filed under  //   hiring   hr  

An interview with Andrew Plotkin : The Setup

Because if your typing doesn't sound like a hailstorm on a tin roof, you're not typing.

Quiet amusing usesthis Interview with Andrew Plotkin.

Hudson's future | Hudson Labs

Second, out of respect for Oracle's trademark claim on Hudson, we will move our infrastructure off of Oracle-owned and hosted servers, and we will rename existing independent components of the infrastructure to no longer use "Hudson" - i.e., mailing lists, Github repos, etc. This would be a gradual process, obviously.

About

Steht doch schon alles hier.

TwitterLaconi.ca/Identi.ca