Kilroy 3.0
A long time back blogspot removed the feature that enabled publishing to an external domain. Using a little perl-fu, I created a simple markup-to-html processor and went independent. Well, that code was shoestringy and so it's finally time to EOL it.
I decided to have fun with the
new gallery (multiple image thumbnail) design. Then it quickly became unfun. I ended up with a couple hundred lines of agony, owing primarily to the combination of trying to introduce suboptimality and randomness into a knapsack problem (images/cells) and secondarily to the way that rowspan and colspan work. But I think every permutation of it works.
Another improvement is that gallery and full size
images are now scaled a priori, rather than using html/css scaling. In-browser scaling is a little nicer on my storage quota, but slower to load.
The old method of cropping thumbnails was a fixed value, somewhere around the first third of the image. Sort of a middle-of-the-road approach. Now that I'm
doing some automated image processing, I applied a pretty basic heuristic to try to find better croppings. Simply put, I scan some lines left-to-right and top-to-bottom and score the possible croppings by their contrast value over several pixels. The contrast means there will be something interesting in that area of the image, the pixel window hopefully means the algorithm will select something close to the focal plane.
I've retrofitted 2014, 2013 has some shenanigans that has to be accounted for separately. Once that's been taken care of I can re-process all the way back to 2010.07.
The one feature that was lost with the blogspot move was
tags. Specifically, clicking '
kafka' and seeing a concatenated list of posts about the grey dog. I would like to bring these back, but it's a bit more work. Plus there is potential cleverness like displaying only titles or relevant portions of a post.
At present, the tags will autopopulate a
search (also I added search at the bottom). I elected to use duckduckgo for reasons of internet hippiedom, of course search takes you to their domain. Either because my two hits per day (thanks
Mom!) site doesn't get indexed much or because ddg is still a shitty search engine, the results aren't great (yet).
And maybe a slideshow view that presents just images.
Fantasy wrapup
The
2014 fantasy season came to an end. The championship game in Password is Taco was a bit of a disappointment, I needed a makeable 40 from Peyton and AJ but the way the game played out hope died quickly. Medieval Gridiron was mired by Loangate and Votegate, but at least I won out in the consolation ladder.
Games!
A little while ago a bought an
hdmi media capture card for a pc that didn't have sufficient pci-x slots. Now that I have a decent media setup in the study, I installed the card in my main desktop. I think I might have some fun with it.
|
Yo, my buddy Keith had his car drop in a lake off a bridge just like this one here... Yeah, see, he was driving over it late at night and there in the middle of the bridge was what looked like, In Keith's estimation, like a dead bear, so Keith gets out his car to find a stick to poke at it right? Well, it turns out it's just some lady's fur coat that musta fallen out her car, so, hey, free coat, right? Now, owls won't normally attack a man, but in this case, they were hungry, and that made them reckless, man. Keith reckons that they musta been there for hours watchin' what they thought was a bear carcass, 'cause as soon as he picked it up, them owls had claws in him inch deep. Well, Keith figures his best bet is to jump in a lake, 'cause owls can't swim. Well, them owls could. He fought them for like 20 minutes treading water, and during that time, a boat came, bridge went up and down went Keith's car. Man, sometimes nature's just tryin' to teach us, if we'd only listen. |
? |
Some posts from this site with similar content.
(and some select mainstream web). I haven't personally looked at them or checked them for quality, decency, or sanity. None of these links are promoted, sponsored, or affiliated with this site. For more information, see
.