2014-03-06T16:46:41Z via Puma To: Public
Mind blown: a method retries up to five times, RSpec lets me should_receive.and_return failure 4 times and success 1 time.
2014-03-06T16:43:36Z via Puma To: Public
And lo, in time, RSpec giveth and RSpec taketh away…
2014-03-05T21:21:22Z via Puma To: Public
Ha! The year I end my CAMRA membership (not my agreement with their principles, just paying the fee) is the year they pick Liverpool for the national AGM.
(Not that I'd particularly like to go, it just seems well timed.)
2014-03-05T20:57:06Z via Puma To: Public
2014-03-03T21:29:17Z via Puma To: Public
Kinder Eggs: the sludge left in the bottom of a bottle of Kin. #UED
2014-03-02T16:01:00Z via Puma To: Public
To further my eBook saga…
I now have a shell script(and some notes) that does what every other software package I've tried does, which is:
- crop scanned pages (I manually remove any graphics)
- wrap paragraphs in
- cleans up non-HTML entities (long dashes, curvy quotes)
- puts the HTML-ish body between a head and tail, to make a full HTML page.
All that is left is to correct any mistakes (few, thankfully the page is good quality), manually format the body (lists, headings) and put the images in. The vast majority of the text is okay though, so the process is worth doing instead of manually typing everything out.
2014-03-01T17:02:30Z via Puma To: Public
OCRFeeder seems to crash after a number of simple actions, like saving a text file, but it hangs instead of visibly crashing. Nothing gets printed to a terminal either; I don't know if it's still busy or not, though Top tells me it's sleeping so I suspect not.
2014-03-01T13:39:54Z via Puma To: Public
I'm looking for ways to select rectangular regions of images and send them to Tesseract for OCR. Ideally I would run a quick, low resolution 'preview' scan of a page and then select paragraphs A & B, then image C, then paragraph D; the software would OCR the text and make images of the other bits so I can manually concatenate them into an eBook.
2014-03-01T13:18:23Z via Puma To: Public
New glasses purchased. Ladies, and men I suppose, of Liverpool, you have seven days to prepare for The Face.
2014-02-27T12:09:44Z via Puma To: Public
A colleague has just shown me pictures of what is apparently a new iPhone. It looks like an iPhone.
2014-02-27T11:42:50Z via Puma To: Public
shit, how do you do an 'if' statement, again?
2014-02-25T22:22:12Z via Puma To: Public
Found some notes for a Git 101 that I was planning on presenting to Chester LUG. The couple of OOP programming ones I did before Christmas were voted higher and well received, so I wonder if attendees would be interested in a hands-on Git walkthrough.
It's still a draft, but working using reveal.js and up on our Github organisation to which I hope to get more demos and notes pushed.