Tuesday, July 16, 2019

WAVEing to accessibilty

https://wave.webaim.org/ - WAVE is a useful - and VERY fast - tool, showing possible accessibility issues on the site. You can get a browser plugin for chrome or firefox.

It's a little unfortunate that it doesn't have a sense of relative importance of various transgression - a slight "boy who cried WOLF!" effect is definitely present - but still, it's a great free starting place. (Especially in this age where public companies have a legal responsibility for good a11y, and are at risk for lawsuits when they are out of compliance.)

(Heh, and for one of the first times, I find it easy to empathize with this kind of thing-- my 40-something year old eyes are slowly developing low light contrast issues and losing a bit of the close up focus they used to have...)

Monday, July 15, 2019

not overthinking: block specific AJAX Urls in chrome needs no special tools

Just recording a moment of duh for myself --

at work a page that is broken on my developer box (with an Ajax request failing) pointed out that the way we were displaying Ajax errors might be borked, but I wasn't sure if the error reporting borkage was "my fault" -

I assumed I would need a plugin/extension/app like Postman or Charles "Tamper Chrome or what not to recreate the error state when I was, but actually Chrome's Developer Tools Network tab handles it easily enough - just right click on the specific call and "Block request URL"

Tuesday, July 9, 2019

on blogs

https://kirk.is/2019/07/09/ - a few thoughts on how blogs kind of encapsulate many different types of personal (and public) data recording grew into something sort of interesting. To me. (Which is a pretty low bar to meet)

Sunday, July 7, 2019

run less software

https://www.intercom.com/blog/run-less-software/  as I get older (and so therefore dumber and wiser (hopefully/probably not too much of either) I really appreciate the idea of reducing cognitive load...

Same energy: http://boringtechnology.club/

...see also Joel on Software's old article Fire and Motion, both the parts about how some mornings it's tough to get going, and the importance of not being distracted by Flavor of the Week technologies...

Tuesday, July 2, 2019

note to self: google map's api got expensive and using openlayers as replacement

A while back Google decided it was being too charitable with usage of its Maps API so it cranked up the fees (the most common figure is "by 1400%") to monetize it better.

So I found usage on Porchfest days was costing me a couple hundred bucks for the month. Whoops!

This page has some alternative APIs. Unfortunately, the most obvious candidate to replace it, openlayers doesn't have the friendliest documentation, and gets pretty complex - it's a tool built for serious power-usage, and the examples page is flooded with tons of semi-esoteric things you can do - frustrating when you just want to throw some porch locations on a map and have a little info box pop up when you click one.

The example on https://www.festinosolutions.com/blog/ seems to pretty much cover it (though the way it's the only thing at that URL gives me pause - I posted its working example at https://porchfest.info/temp/festinosolutions/ )

Of course going down this route  will point out the hundred little things I learned to do acceptably well in Google Maps and need to relearn - details like icon sizes and default zoom levels and what not.

FOLLOWUP: Googling a bit more, https://leafletjs.com/ comes up a lot - it seems to cover that "map with marker icons that open informational popups" sweetspot pretty well...

MORE FOLLOWUP: Yeah, Leaflet really is the sweet spot for this kind of thing! The only thing in my usecase that wasn't covered by the first two quick start tutorials is having numbers on the icons... this page on simple numbered markers with leaflet has the solution I like best. I think the only changes might be adding a line-height: 25px; to the CSS - and I might double back and do a 2x icon for it.

Monday, July 1, 2019

jony ive out, and monitoring the monitor situation...

Gruber was one of the first to note that Jony Ives was leaving Apple and his opinions influenced my views.

I agree with him that, that while he has a singular vision (and was interesting seeing his relationship with Jobs as a bit of Lennon/McCartney) to the extent that he was responsible for thinner at all costs including this keyboard mess, it's good to move past that.

The other thing is how I never would have guessed that the "we will still partner together" - but I think I have to play wait and see given the coverage I've seen elsewhere.

When Jason Snell was on Gruber's podcast, they got to talking about the Pro Display XDR and its $5000 price tag and infamous $1000 stand - and for the tiny but prestigious audience Apple is courting, that is probably a good deal.. but they pointed out that there's another market that's underserved right now - there's no good, medium-cost Apple-centric desktop monitor, either for people looking to dock a laptop or for Mini users.

They mentioned Apple stopped that collaboration with LG -  and also disabled the old ability for an iMac to be chained in as an external display (ignoring its own built in computer, so to speak) And that there's a division with what the majority of PC folks want - that gaming generally looks for fewer pixels or at least always greater refresh speed, and what a programmer or designer would be hoping for...