Tags » Code 2

Tues. -Seismic Activity Near Oxy 3 (and then helicorders konk out there) Explained + Big Mexico Quake Sloshes Lake FUBAR

A false alarm story -

This looks fishy. Lots of seismic activity shows on the SE corner of Lake FUBAR, where the new-new berm is sinking and then the helicorders at that area all konk out. 250 more words



This post is an introduction to a library I have written, UnitC++.

UnitC++ is a modern, light weight, header-only c++ library for making unit testing easy. 1,189 more words



So my whiteboard fell off the back of my desk last night. It’s a big, heavy whiteboard too. It fell, like a guillotine, and has basically sliced a plug socket off the wall. 225 more words

Core Graphics - Line Drawing Explained

I had to draw a dotted line today. Wow. It had to be round dots.

I found this snippet on StackOverflow.

CGContextRef context = UIGraphicsGetCurrentContext();
CGFloat lengths[2];
lengths[0] = 0;
lengths[1] = dotDiameter * 2;
CGContextSetLineCap(context, kCGLineCapRound);
CGContextSetLineWidth(context, dotDiameter);
CGContextSetLineDash(context, 0.0f, lengths, 2);
… 157 more words

Multi-site Network Monitoring - making life easier

If you work in a company with multiple data centers, or have any kind of tunnels to your customers, then you should be monitoring connectivity between these endpoints. 893 more words


Getting input from stdin during composer installation

By adding a “post-install-cmd” option to your scripts section of composer.json you can setup commands to run after “composer install”, however, these won’t wait for input if you want to collect something (like a username)┬áin a php script. 36 more words


Leaving .NET is a clueless thing to do

Every so often, someone writes an extensive blog post about why they left the .NET framework for greener pastures.

Invariably, the blog post contains complaints about other .NET devs’ inability to see beyond Microsoft Wonderland. 328 more words