Compose your Software Development Practices
Lately, I have been doing some reading on Software Development practices and came across a software development methodology called SEMAT, which stands for Software Engineering Method and Theory....
View ArticleDaemonize A Ruby Process
Neat separation of responsibilities between fork/process stuff and actual app <code> #!/usr/bin/ruby daemonize do worker = Resque::Worker.new(*queues) worker.work end def daemonize &block...
View ArticleSearch For Running Processes
Search for all running processes using a regular expression pattern and return PIDs for all processes matching it ... Quick version ... there is probably a better way to do this ... <code>...
View ArticleCheck Whether A Process Is Alive
Check whether a process is running (actually, present and alive) on a particular machine and/or system using its PID ... Quick version ... <code> module Process class << self def...
View ArticleProcess, Agile, and Projecting: Your Way Isn't the Only Way
I remember a topic my childhood pastor would revisit from time to time: "gift projection". Without going deep into the subject, it's the tendency of people to assume that whatever giftings or callings...
View ArticleInterview: Alan Shalloway on Lean Agile Software Development, Part One
Today I'm privileged to share with you the first portion of an interview that I conducted with Alan Shalloway (part two will run on Thursday). I first encountered Alan while searching for podcasts on...
View ArticleWeb performance in seven steps
More and more Internet users buy in web shops these days. Research shows that the part of European Internet users that buys on-line has grown from 40% in 2004 to 84% in 2008. Additionally, the large...
View ArticleLaunch Parallel Shell Process
Bash in not specially well suited to run background jobs, but it can be accomplish. This is a simple parallel process launcher:<code> #!/bin/bash # Echo to stderr # debug() { echo "$@"...
View ArticleJava System Call Platform Independant
One class to copy-paste and run in Java 6, to execute any system command ('dir' or 'ls' or...) in the OS underlying shell. Use and Abstract Factory design-pattern to builds the right shell, or to...
View ArticleExperiment To See Whether Child Processes Die When The Parent Does
<code> /* * Program to demonstrate how grandchild processes are cleaned up (killed) * or not when a process with children is killed on UNIX systems. */ #include <errno.h> #include...
View ArticleAgile Development: why it rocks, who it helps, and why it's failing
The Agile method was the best thing that happened to me in my career as a developer. Before I came across Agile, one of my biggest frustrations was the difficulty I had with getting large assignments...
View ArticleLean Software Development
While working in London for TrafficBroker I had the opportunity to try out Fred George's Lean process. To date, it's absolutely my favorite way to deliver software.Stories
View ArticleThread Process //Pascal Class
A thread class to open processes on windows and retrieve its output (input isn't supported but it's easy to add).<code> unit Process; interface uses SysUtils, Windows, Classes, TLHelp32; const...
View ArticleRunas - Run A Program Under A Specific User / Group (poor Man's Suexec)
<code>#!/usr/bin/env ruby # runas - Run another program under the privileges of a specified user and group. # This is necessary because sudo demands a password, as we need it to be hands off. # A...
View ArticleCreating An Agile Culture
My mission in this article - to get rid of the illusion that your Software Development Process determines if your company is ‘agile’ or not. It’s down to the culture, the mindset.Legacy Article Type:...
View ArticleDaemonize A Ruby Process
// description of your code here from : http://scie.nti.st/2006/12/15/daemonize-a-ruby-process Here's a neat thing I found. I needed a small bit of Ruby code to run continuously in the background, but...
View ArticleDaemonize A Ruby Process
Here's a neat thing I found. I needed a small bit of Ruby code to run continuously in the background, but because of how Capistrano can't seem to work well with "nohup" and "&" (background job),...
View Article#post Method In Tests With A Different Controller
I wanted a #login method in test_helper that would allow me to easily login from any of my functional tests. However, the #post method won't allow you to set a different controller than the one in the...
View ArticleSearch With Grep In Linux
Searching files grep (r - recursive, s - no messages, n -line number, i - case insensitve, H -with filename) <code> grep -rsniH your_string</code> match lines containing the string "I am a...
View Article