Facebook Embed
17 March 2014
H41-08U: Caravan of Ignorance
Amazing how people like to celebrate their stupidity and parade their ignorance as a virtue.
02 January 2014
colordiff trailing whitespace again
Why do I keep on having to do this?
I think I shall leave this version of the patch right here for future reference.
kthxbai!
I think I shall leave this version of the patch right here for future reference.
--- /usr/bin/colordiff 2010-06-01 12:47:41.000000000 -0700 +++ colordiff 2014-01-02 13:29:03.954751310 -0800 @@ -61,4 +61,5 @@ my $diff_stuff = $colour{magenta}; my $cvs_stuff = $colour{darkyellow}; +my $trailing_whitespace = "\033[0;41m"; # Locations for personal and system-wide colour configurations @@ -311,4 +312,5 @@ foreach (@inputstream) { + my $added_line = 0; if ($diff_type eq 'diff') { if (/^</) { @@ -317,4 +319,5 @@ elsif (/^>/) { print "$file_new"; + $added_line = 1; } elsif (/^[0-9]/) { @@ -337,4 +340,5 @@ elsif (/^\+ /) { print "$file_new"; + $added_line = 1; } elsif (/^\*{4,}/) { @@ -379,4 +383,5 @@ elsif (/^\+/) { print "$file_new"; + $added_line = 1; } elsif (/^\@/) { @@ -406,4 +411,5 @@ elsif ($sepchars eq ' >') { print "$file_new"; + $added_line = 1; } else { @@ -426,4 +432,5 @@ $_ =~ s/(\{\+[^]]*?\+\})/$file_new$1$colour{off}/g; } + s/(\s+)$/$trailing_whitespace$1/ if $added_line; s/$/$colour{off}/; print "$_";
kthxbai!
01 January 2014
Goodbye 2013... Hello 2014.
That was one fast year... Zoom!
When it comes to personal objectives, not a particularly successful year.
Retrospective
As a courtesy, the link to last year's retrospective is right here.As with last year, lets start with the notable flubs:
- Failed to spend enough time to relearn the piano.
- FOSS flubs - failed to get code out there and adopted.
- Continued to fail to maintain fitness... I end this year at 211lbs vs last year's 206lbs.
As +Eric Idle says; always look at the bright side of life. There were a few very minor victories:
- 400KHz I2C on Raspberry Pi to a PIC16 microcontroller slave.
- Managed to test OQGraph3 with TokuDB on MariaDB.
- Reduced by 20% the reading list backlog.
- Did manage to get together for a few meetups with other Blizzard alumni.
Wish list for 2014
Obligatory wish-list for the new year which contains some duplicates from last year. As always, these aren't resolutions but wishy-washy objectives which may or may not be met, blah, blah...
Perhaps a little shorter list than last year.
- Free and Open Source Software projects
- Dedicate some hours to help polish OQGraph by March.
- Split the WL#820 project into lots of separate commits.
- Personal development:
- This time, really do set aside some time to relearn the piano.
- Complete at least one large project (electronics, pi, etc).
- Organise the office, really! It's a dump!
tldr?
2013 was a forgettable year except for time with my daughter.
Subscribe to:
Posts (Atom)