Articles on current page (1-7 of 7)

March 2015

city smog

☑ An Unhealthy Environment

Recently I’ve been writing code to spawn child processes that had to deal with the POSIX functions for querying and manipulating environment variables. I’ve only just realised how truly awful this interface is in the context of modern multi-threaded applications, and this post is simply me sharing the pain.

Read article ( 4 minutes )

25 Mar 2015 at 7:28AM in Software
 | 
Photo by Alex Gindin on Unsplash
 | 

August 2013

penguin herd

☑ Process groups and sessions

I finally took a little time to get my head around POSIX process groups and sessions.

Read article ( 12 minutes )

21 Aug 2013 at 9:26PM in Software
 |  | 

June 2013

two penguins

☑ Just like old

If you have the luxury of migrating your Linux installation to a new hard disk before the old one packs up entirely, it’s quite easily done with standard tools.

Read article ( 9 minutes )

5 Jun 2013 at 6:02PM in Software
 | 
Photo by Cara Fuller
 | 

March 2013

mixing desk

☑ File Capabilities In Linux

File capabilities offer a secure alternative to SUID executables, but can be a little confusing at first.

Read article ( 5 minutes )

11 Mar 2013 at 12:07PM in Software
 |  | 

January 2013

share tomatoes

☑ Sharing pthreads locks between processes

How to share pthreads primitives across processes.

Read article ( 1 minute )

31 Jan 2013 at 1:02PM in Software
 |  | 
port storm

☑ apport in a storm

Ubuntu’s apport service is less then helpful for developers — learn how to disable it.

Read article ( 2 minutes )

29 Jan 2013 at 1:16PM in Software
 |  | 
inflatable flamingo

☑ Bash expansion weirdness

Expanding a substring of “$*” in bash seems to magically add command-line parameter zero.

Read article ( 0 seconds )

25 Jan 2013 at 11:12AM in Software
 | 
Photo by Vicko Mozara
 |