Storypost | 2015.01.19

Cheesy stock art back end front end
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.

Fantay football scoreboard Fantay football scoreboard
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.

thumbnail Borderlands TPS second wind Saint thumbnail L4D2 dual pistols night thumbnail L4D2 dual pistols trees thumbnail L4D2 pistol reload
thumbnail L4D2 dual pistols molotov


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.

?





2015.01.01

New *

An office and OS reorg, sand and snow for the doggo.
2015.01.27

Clean sets

Clean waves in Del Mar and a monster attacks SimCity.


Related / internal

Some posts from this site with similar content.

Post
2019.05.23

Thumbnailing

On a whim I decided to update my thumbnail algorithm. In short, the previous iteration would look for areas of sharp contrast from a few preconfigured areas of the image. Intuitively, this had the twofold benefit of finding high contrast areas (someti...
Post
2022.12.05

Elden Lord

Finishing Elden Ring and fighting a normal-sized skeleton in Wonderlands.
Post
2015.03.22

HTTP

Looking at site traffic for the first time and writing a naive classifier.

Related / external

Risky click advisory: these links are produced algorithmically from a crawl of the subsurface web (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 this post.

cdevroe.com

Making Tuff improvements Colin Devroe

My approach to building Tuff, my static site generator that I began working on last November, was to jump in as quickly as possible by publishing my personal website publicly very early in the development
Has a preview image link and yet 404 :/
bhagpuss.blogspot.com

Inventory Full: Do I Not Like This?

Has a preview image link and yet 404 :/
illtron.net

Rebuilding this old website | Chris Coleman

I wrote about what went into rebuilding this old blog as a high-performing, modern static site. Buckle up, this one's a real journey.

Created 2024.10 from an index of 431,220 pages.