Docunext


LXC on Ubuntu 11.10 Looks Good 25 December, 2011

I upgraded my Lenovo g555 laptop to Ubuntu Oneric Ocelot on Friday and it was a little rocky, but now its working really well. I have setup…

Gitolite Git encrypt Git annex and Bup 23 December, 2011

I've been working more git lately, covering at least the following items: Gitolite Git enrypt Git annex Bup Here are my notes on each…

Where is usr lib gnome keyring gnome keyring pkcs11.so 23 December, 2011

I've been wrestling with Gnome Keyring during the transition to Gnome 3 on Debian, and Ubuntu 11 (all with Awesome WM). One interesting snag…

gnome keyring daemon 1907 unsupported key algorithm in certificate 1.2.840.10045.2.1 21 December, 2011

Yikes! My dsa public keys stopped working today, and I found this murky error message in /var/log/auth.log: Hmmm... apparently gnome-keyring…

Backups of OpenVZ Containers with bup 20 December, 2011

I'm planning to use bup to make backups of vzdumps. Bup is a backup utility that build on top of git's awesomeness, so in some ways, its…

MediaWiki to Wikee or Ikiwiki or Git Wiki 27 November, 2011

I've been working on Wikee a bunch lately, and today I'm converting the Informed Banking wiki to be in git format (a format that will…

Acceptance Testing in Rails3 with Rspec2 Capybara and Devise 21 November, 2011

I finally figured out how to setup acceptance testing in Rails3 with Rspec2, Capybara, and Devise! It actually wasn't that hard, once I…

Bundler Rubygems and Git Source Problems 31 October, 2011

I'm getting this odd "error" when trying a bundle install: Looks like the problem is related to yaml and psych. There is a related issue on…

Full Bore Ahead with Rails 3.1 Engines 30 October, 2011

Rails 3.1 Engines Are Awesome! I have been having a blast with Rails 3.1 Engines lately. Why? They are intuitive - they just "make sense…

Shapado Failed to connect to a master node at localhost 27017 28 October, 2011

First Attempt to Install Shapado I'm trying to install shapado, a stackoverflow clone running on top of Ruby on Rails. It looks like a very…

Howto Run the Regulate Rails3 CMS engine on GitModel a Rails3 ActiveModel ORM using Git 27 October, 2011

GitModel Rocks! Tonight I've been working on GitModel, an ActiveModel powered ORM that uses Git as its storage mechanism. Serializers It…

Rails 3.1 Engines and Views Inheritance 26 October, 2011

I'm using Engines with Rails 3.1 extensively. Ran into an interesting factor: when isolating the engine namespace, if the engine's…

Rspec 2 Shoulda Rails 3.1 Awesome 26 October, 2011

I've been digging deeper into Rspec, and along the way I've found some truly amazing features enabled by combining Rspec and shoulda from…

Ruby 1.9.3 and Rails 3.1.1 15 October, 2011

Tired of waiting for Rails 3 to start up again and again, I decided to try out Ruby 1.9.3-rc1. To my surprised, Ruby 1.9.3-rc1 works…

Rails 3 and jQuery by Example 15 October, 2011

I'm finally digging into the jQuery setup with Rails 3.1. As you are all likely aware, jQuery is the new default javascript language in…

Quick Overview of the Rails 3.1 Asset Pipeline 14 October, 2011

The Rails 3.1 asset pipeline has had some twists and turns lately. The community seems to me to be a little overdramatic about the state of…

Noteworthy Rails 3 Gems and Engines 08 October, 2011

I went searching for noteworthy Rails 3.1 gems and engines recently and found these to be very interesting: active_reload - am using it now…

Regulate to Deregulate 05 October, 2011

A few months ago I forked the regulate project on github. Its a rails 3 engine that provides git-wiki like editing capabilities of text…

Inherited Resources and Rspec on Rails 3.1 29 September, 2011

I'm trying to use Rspec to test a Rails 3.1 application that uses Inherited Resources, but I keep getting these types of errors with spec…

Removing a Git Submodule 24 September, 2011

I'm noting these instructions on how to remove a git submodule for future reference: Delete the relevant line from the .gitmodules file…

AuthLogic Configuration Options and Examples 22 September, 2011

AuthLogic was the first authentication gem I chose for Rails 3.1. It works, but I have issues with the documentation - its not clear, and…

A Problem with the Rails 3.1 Asset Pipeline... 19 September, 2011

I've run into an error with the Rails 3.1 asset pipeline where one of my controllers happens to be named AssetsController: Hmmm. What to do…

app error closed stream IOError 18 September, 2011

Looks like my Rack middleware is having some trouble with an updated version of rack: Oddly this is only happening when I try to use the…

ActiveModel and ActiveRelation 17 September, 2011

Active Model is a new component of Rails 3+ that abstracts out some generic functionality from ActiveRecord to that a single API can be…

Rails 3.1 Asset Pipeline 17 September, 2011

Rails 3.1 implements a new feature of Rails that has been in the works for quite some time: the Asset Pipeline. In Rails 3.1, it is the…

undefined method write for Syck Emitter 0x97c0d90 NoMethodError 15 September, 2011

A workaround is to use:

can t convert Pathname to String TypeError 13 September, 2011

I'm revamping an old Sinatra app I built and unfortunately I'm running into this odd error: It was occurring due to the octopussy gem, which…

Rails 3 Engines 11 September, 2011

I was curious about using rails and git, specifically with regard to engines. Engines as Gems As gems, they work really well - and I'm…

Remove Zentom System Guard 03 September, 2011

The process of removing Zentom System Guard sucked so badly in my experience. Everything I tried was foiled: Unable to start task manager…

Caching in Rails 3 01 September, 2011

I'm very impressed with the caching capabilities in Rails 3. Not only can it cache pages like any good Rack application can, it can also…

Rendering A Partial HAML Template in Rails 3.1 30 August, 2011

How To Render a Partial HAML Template From a Rake Task in Rails 3.1 Thanks to Klimant Mamykin, I was able to figure out how to render a…

ExecJS RuntimeUnavailable 20 August, 2011

I just started a new Rails 3.1 project, and got the following error: The fix: I bet this has something to do with coffeescript, but I haven…

Rack Perftools Profiler Is Awesome 20 August, 2011

Based upon a suggestion from a co-worker, I tried out rack-perftools_profiler today. It is awesome. One thing I noticed right away is that…

Advanced ActiveRecord Queries with Rails 3.1 Arel joins and merge 18 August, 2011

I've been exploring Rails 3.1 for a couple weeks now and last night I focused on advanced queries with Active Record, utilizing some new…

Memcached and Undefined Modules Classes 14 August, 2011

I ran into this sort-of bug while using Memcached and Rails. By caching an object in memcache, Rails doesn't know how to autoload the file…

Exchange 2007 Outlook Web App Doesn t Work on Droid X 13 August, 2011

While I'm not surprised that the Exchange 2007 Outlook Web App doesn't work on my Droid X, I'm still disappointed. The Outlook Web App is…

Travis CI is Awesome 13 August, 2011

I'm trying out Travis CI for Regdel and it is awesome! I'm also using it for rack-xsl, and I finally got that to pass. It took me thirteen…

Viewpoint Gem for Accessing Exchange 07 August, 2011

https://rubygems.org/gems/viewpoint At work we've upgraded from Microsoft Exchange 2003 to Exchange 2008 and as such we have to stop using…

Apache and NGINX 06 August, 2011

For what its worth, having a bit-buffer-bucket-brigade proxy like NGINX in front of Apache is an excellent idea in almost every situation…

Machinist on the Test Environment Console 03 August, 2011

I am using Machinist 2 beta with Rails 3.1 and its working quite nicely. Though its beta, I've found it to be working quite well. To do some…

Example Enumerable s group by 16 July, 2011

This is an example of Ruby's Enumerable class method group_by: Enumerable is truly an awesome class, actually - its a module! Which really…

Deadlocks and Recursive Locks 10 July, 2011

How do you like these Ruby errors? 1.9.2 1.8.7 D'oh! This all started happening when I copied a bunch of resources from my FathersWork…

Acts as Nested Set for Rails 3 02 July, 2011

A new project I am working on using Rails 2.3.11 introduced me to acts_as_list and acts_as_tree, so I decided to look for those for use with…

Single Table Inheritance Inherited Resources Inherited Views and Rails 3 02 July, 2011

In working on Regdel, an open source bookkeeping system I am writing with Ruby on Rails, I pondered the question about whether to use Single…

NewRelic Ruby Process Management System 29 May, 2011

At my new job as a Ruby on Rails developer, I've been exposed to a very nice application process management service called NewRelic. When I…

A GNU Debian LXC Puppet 22 May, 2011

As a continuation to my post on setting up Rails 3 apps via RVM, CentOS on OpenVZ, Mastered by Puppet, this is an entry about doing…

Another Ruby Install on Debian 21 May, 2011

For reference, an install of Ruby on Debian:

Metaprogramming with Ruby method missing and define method 21 May, 2011

There are many reasons why I love working with Ruby, such as its consistency, its use of natural language, its clean object-oriented…

Spotlight on Packages tmux and atop 08 May, 2011

Today I am writing an article about two packages available for UNIX-like operating systems. tmux Tmux is a terminal multiplexer, similar to…

Major Plans Special Thanks to Debian and Ubuntu 06 May, 2011

Install debian GNU/linux "squeeze" on big, BIG, iron. Refine with a xen kernel and recommended hypervisor tools. Build a virtual machine…

Ubuntu 10.10 Is Terrific WOW 03 May, 2011

As luck would have it, I decided today that I wanted to switch from using the fgrlx proprietary ATI video graphics driver to the preferable…

Ruby and OpenSSL HTTP Response Code 422 03 May, 2011

Here are my Ruby and Ruby on Rails notes for this week! They involve OpenSSL and the 422 HTTP response code. Ruby and OpenSSL I tried using…

Debian Wheezy on an Older Mac Mini Mac Keyboard Needed 29 April, 2011

I'm trying to install Debian Wheezy on one of the earlier Intel based Mac Minis. I first tried pressing "C" a non-Mac keyboard, but that…

Debian Squeeze on a Modern MacMini 23 April, 2011

Its been awhile since I'd built a MacMini with a completely free operating system, but I did so at work this past week. The hardware is a…

DavMail for Exchange 23 April, 2011

I recently switched from Mac OS X to Debian at work, and one of the hurdles was accessing the Microsoft Exchange server. I tried Empathy…

Rails 3 Apps via RVM CentOS on OpenVZ Defined by Puppet 11 April, 2011

I'm looking to build lots of Rails apps, and when I do I would like each one to be in its own OpenVZ container, and each container built and…

Debian Wheezy Rocks Drupal6 02 April, 2011

Drupal6 has been available within Debian for quite some time, and has even had a couple modules available as debian packages, such as drush…

Testing Models with Rails 3 Rspec and Factory Girl 02 April, 2011

This post is an overview of how I am using Rails3, rspec, and factory_girl to test my ActiveRecord models. Its not a complete or thorough…

Rails 3 AuthLogic versus Devise and Mongoid versus MongoMapper 30 March, 2011

I had the opportunity today to research a couple of matters, including the use of MongoDB with Rails 3, as well as the idea of tying in…

How to Organize Logic in Rails 26 March, 2011

When engineering software, there is a straightforward and somewhat obvious strategy for separating functionality from presentation: put as…

Working on Making My Laptop Cooler Still 26 March, 2011

This is a never ending challenge for me. Here's my latest effort:

LiquidWeb cPanel IPs and Subnets 25 March, 2011

I work for a web development company that hosts hundreds of websites on about a dozen dedicated servers. Those servers all have cPanel…

Zimbra Looks Quite Nice 25 March, 2011

Zimbra versus Microsoft Exchange I'm glad to have recently checked out Zimbra, an enterprise level email hosting and serving solution that…

Convert a Rails Ready Select Input Array to a Hash 23 March, 2011

This post explains a simple code snibbet I use convert a Rails-ready select input array into a hash. The Rails-Ready Select Input Array The…

SATA Link Power Management Policy 19 March, 2011

When I try to change the link power management policy of my sata controller, it does not work. What's up with that? Check it out: It always…

The program chromium browse is writing to file data 3 on dev sda1. 18 March, 2011

The main problem I have with Google's chromium browser is how much it writes to disk ALL THE TIME. Seriously, is there any way to reduce…

Debian VMWare and Xen plus OpenVZ 17 March, 2011

I finally got the chance to set up a Debian Xen server today. After wrestling with Xen on a VMWare virtual machine (I know, I know) I found…

Markdown to ODT PDF to Doc 09 March, 2011

This is an interesting challenge - and I love interesting challenges! How can I convert markdown to an openoffice document, or a PDF to a…

Once Again I m Impressed with CentOS on OpenVZ 07 March, 2011

Today I downloaded a pre-built template from OpenVZ.org based upon CentOS. After downloading the archive, I verified the signature, then…

Rails 3 ActiveRecord scope and chainability Helpers 07 March, 2011

The upgrade of Rails 2 to Rails 3 is a bunch of really helpful simplifications, including this one by changing named_scope to scope. Funny…

Rails 3 ActiveRecord Email Validation validates format of 06 March, 2011

In Rails 3, the validates_format_of is deprecated. I sometimes get annoyed with all the deprecation that goes on with Rails (and Ruby, to a…

Dynamic Creation of Instance Methods In Ruby with define method and method missing 28 February, 2011

Dynamic Creation of Instance Methods In Ruby with define_method and method_missing This is really, really cool. What does it do? If you are…

Rails alias method chain 23 February, 2011

Today I wrote a plugin for Redmine and ended up using alias_method_chain. Its a very handy little method! What does do? It allows for…

Rspec Rails 3 and AuthLogic 13 February, 2011

I'm pleased I was able to get Rspec, Rails 3, and AuthLogic working, and to make it easier to do next time, I'm jotting down my notes here…

Altered Beast for Rails 3 12 February, 2011

I'm trying valiantly to update Altered Beast (forums) for Rails 3! Then running rake rails:upgrade:check produces some serious concerns…

Some Example Lua Code 10 February, 2011

Lua is a perfect scripting language for quick and lightweight logic - for proxies, middleware applications, and application level routing. I…

fatal could not create leading directories of ... Permission denied 09 February, 2011

The fix for this error: "fatal: could not create leading directories of '...': Permission denied" was much different than what I thought it…

Git Mergetool 01 February, 2011

Two of my co-workers were actively working on a Rails site today, transferring files to-and-from the demonstration server via FTP, as well…

Using Postfix Transport Maps for Email Address Specific Aliasing 31 January, 2011

Postfix has terrific e-mail gateway capabilities, and yesterday I discovered a configuration option to select a mail transport based upon…

Git Remote Improvements 30 January, 2011

The git remote sub-command has received some improvements recently: Here's output from a recent version of git-core: And the latest version…

Gitosis Keynames Usernames and Public Key Identifiers 29 January, 2011

Somehow when using ssh-keygen on Debian / Ubuntu to create a public / private key pair, and then importing that key into gitosis, the…

SMTP Servers Reverse DNS Server Name Announcement 28 January, 2011

Thanks to our special friend SPAM, SMTP servers have special requirements. If you are setting up an STMP server, such as Exim, Postfix, or…

10 000 Prize No Thanks I m Not Falling For That One 23 January, 2011

Seriously, who is going to call me up and tell me I've won ten thousand dollars? I've seen it on television... you know - when the one…

Ruby and Debian Ubuntu is FINE and DANDY 23 January, 2011

In my humble opinion, the ballyhoo over the state of affairs between the Debian and Ruby communities is unnecessary. Why? Because while…

Vlad versus Rails 3 23 January, 2011

It appears there is some sort of problem that I am having trying to use Vlad with Rails 3. Could it be bundler? I'm also getting this error…

ERROR LoadError Could not open library lib.so lib.so cannot open shared object file No such file or directory 22 January, 2011

I've never seen this one about "could not open library 'lib.so'" before... but I'm sure I'll track down the problem so I'm posting it here…

Countdown to Debian Squeeze 22 January, 2011

Debian is the Universal Operating System How cool is this... Debian Squeeze is on its way towards official release! Debian Squeeze is…

Test Helper for Rails and AuthLogic 16 January, 2011

I'm working on an application that requires a user to be matched with objects, and therefore, to test them, I need to create user fixtures…

Debian Squeeze Networking and Sysv rc 12 January, 2011

I've been running Squeeze for awhile, and like most Debian "testing" systems, it has been running fairly smoothly. However, today I ran into…

Rake Recipe for Vlad to Generate Daemontools Service 11 January, 2011

When writing Ruby web applications, I use Rake to help automate repetative tasks, Vlad for deployment, and daemontools to actually run the…

Creating an OpenVZ Virtual Machine Container from a Physical Machine 08 January, 2011

I'm migrating some machines with problematic hardware to OpenVZ containers (as well as to save on energy). Seems to me that it is much…

tw cli INOPERABLE 08 January, 2011

It seemed like my RAID controller was running a little slow, so I was very concerned when I noticed an "INOPERABLE" message next to one of…

Rails 3 Block Helpers Deprecation Warning 04 January, 2011

When I run rake test for a Rails 3 application I am developing, I receive a deprecation warning about block helpers: Hmmm. When I try to do…

Facebook and Goldman Sachs 03 January, 2011

The media is reporting that Facebook and Goldman Sachs are becoming friends. Why? There are rules about how corporations are structured, and…

Evolution 01 January, 2011

Evolution is the default email client used in Ubuntu. Its not a bad client, but I'm surprised it was chosen over Thunderbird 3.0. I believe…

Mtsend.py 01 January, 2011

I'm using Mysend.py to post messages to Movable Type from the command line. I had to hack up the rpc-xml code within MTOS, but its still…

Manage Large Files with Git Annex by Joey Hess 01 January, 2011

I've been really looking forward to trying out git annex, an extension (is that the right term here?) to Git by Joey Hess. In a nutshell, it…

Ruby and Xapian 01 January, 2011

Today I FINALLY got around to automating the process of updating my Xapian indexes that contain information from the blogs and wikis I…

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022