Thursday, December 10, 2009

Just saving random notes...

CVS

Importing a new project into CVS

From within the top level directory of the project you want to import:

cvs import -m 'Initial import into CVS' control control IBIS_20071113

parameters are:

-m {commit message}

Module name

Vendor branch

Vendor tag

It’s probably important to get the –k keyword expansion right too. You need to ensure the CVS server has the right ‘cvswrappers’ settings to identify binary files.

Watch out as the vendor branch becomes the head until you commit changes. A problem with this is you’ll get the vendor branch checked out and that’s what tags and branches will be created from. A workaround for this is to explicitly switch to the 1.1 revision of every file (which is guaranteed to exist, as the first revision number), and branch/tag from there.

Empty directories are not imported.

Checking out into a directory named other than the module name

cvs co -d devtwo control

This needs to be done from the parent directory.

Friday, September 11, 2009

Git is written in a tricky language

Junio C Hamano has blogged a little about his new Git book.

Unfortunately for me the post, and the book I believe, is in Japanese, but thankfully Google translate is to hand...

From the 'Page and the fact that so much' we glean that it features:-
  • Chapter 9. Chasing history
  • Before the index, Linus in You "Preface" to wear in bilingual Eiwa.
  • data representing the SHA-1 and its contents stored in the object name with a hash Trout
  • omitting the second section and said some of Ming
  • This is before "Linus ultimate content tracking you"
  • and remember, just waiting to see happy instead.
Despite all that, the Engl-ish text is surprisingly readable. I think.

I do hope the Hash Trout (recipe?) makes an appearance in any English edition.

Labels:

AIX System Resource Controller - the missing command

A striking omission from the set of mksys, chssys, rmsys, lssrc, startsrc, stopsrc etc is a simple way to see the current configuration of a subsystem (for verification, cloning a setup to another machine etc).

Call it catsys or catsrc or something like that...

#!/bin/ksh
if [ $# != 0 ] ; then
if [ "$1" == "-s" ] ; then
shift
fi
odmget -q subsysname=$1 SRCsubsys
else
echo Usage: `basename $0` [-s] {subsystemname}
fi

Kudos to Leon Towns-von Stauber

Labels:

Tuesday, June 02, 2009

Monday, April 06, 2009

Tactical Voting

If you agree with things the Conservatives are saying while in opposition... Please do everything you can to keep them there. Ta!

Monday, April 28, 2008

There is no such word as

'fillowing' - go on, google it.

Nor, for that matter, is there any such word as 'subsidairy' unless you're describing an inadequately underpinned milk extraction facility.

Wednesday, April 09, 2008

AIX toolbox

Five commands at least from the default install of the AIX toolbox (basically GNU and other open source tools compiled for Linux) fail to work as advertised, or sufficiently compatibly on AIX 5.3:
  • kill - it, um, doesn't kill processes
  • su - it, um, won't let you su
  • uptime - it doesn't report the correct load averages
  • hostname - doesn't support the '-s' switch to "Trim any domain information from the printed name"
  • printf - seems to get confused with escape chars or octal encoding
In each case, if you remove the symlinks from /usr/linux/bin and have this in your path, you can keep the defective binaries in /opt/freeware/bin, and run the default AIX tools.

Luckily, tools such as ls, du and df work well, to give niceties such as directory colouring and file sizes in human readable units (-h).

Wednesday, February 20, 2008

Hi, I'm Microsoft® SQL Server™ 2005 gal!

A toy logo for a toy database!

SQUEE!






Her minge is upside-down as well.

Saturday, November 10, 2007

Todo list for git

Work up my patch series including the 2-orders of magnitude fix for AIX (and possibly other OSes).

Literally git runstatus on my test repo goes from 1m4.3s to 0.697s

This could take the form of a series of performance tests using relative time (rels!), they wouldn't be enabled by default, but a 'make perf' could run all the p*.sh scripts in t/ and spot performance issues, flag up problem builds and find performance regressions.

If there isn't already one, a merge strategy for text files which only get added to, to resolve conflicts where two people have added to the end of a log etc (it would keep all non duplicated lines from both hunks of the conflict).

Slightly further out, git for things it wasn't intended for: as a container format for a video codec based on the delta compression. Think video collaboration and git-torrent.

Thursday, May 17, 2007

Price Harry to go to Iraq after all.

Royal ginger cuckoo Prince Harry will serve in Iraq after all, it was revealed today by a spokesperson for the Ministry of Offence.

The highly valuable spare to Prince Charles' heir will lead a battalion of special forces troops into the badlands of Southern Iraq, in the virtual reality world, Second Life.

"Everyone feels this is the best solution," stated Prime Minister in-waiting Gordon Brown. "It prevents unnecessary royal claret spillage, whilst obviating the need for a terrifyingly embarrassing climb-down. I feel this decision is prudent and quite modern."

The military are believed to have invested in several hundred trillion Linden$-worth of equipment for Harry via a private finance initiative, including a jet-pack, extendible arms and a Lily Allen tattoo.

Thursday, February 01, 2007

I have a question...

Just how many frigging walls does The Guardian think I have?

(I apologise that this is only a shade more original than commenting that one now needs a wallchart depicting all the available wallcharts...)

Wednesday, September 06, 2006

Panasonic ID-TV issues

Just a memo-to-self really, Panasonic digital TV (TX-28DT2) started spontaneously rebooting the digital side last weekend.

This was apparently due to a Sagem OTA upgrade being transmitted which either had a corrupt dsmcc section or was triggering a buffer overflow in the software (v3.38).

See here: http://forum.digitalspy.co.uk/board/showthread.php?t=458176

This was also affecting Topfield PVR owners, but they can upload their own patches (TAPs) for this kind of thing.

At least it was only over the weekend and isn't indicative of the TV going west...