Photo Credit: Falling For Fall - Moose A Moose and Zee
Learning New Things
Archive Link • Referenced in design and code
I have a PHP/XSL script that is on a cron job and has to open, load other files, and the output is part of the web view so the script and its output is in the HTML root folder. I/O stream errors and/or file path errors were present when attempting to do this.
Enter cURL, a lib of code that manages the process of getting all things from URLs. The aforementioned PHP script now runs effortlessly with one simple line in a cron job.
I do not have to deal with file requests directly within the cron job and the server, that has been removed and replaced with cURL requesting and executing the script.
▶ Relevant: cURL - Home Page
▶ Relevant: cURL - PHP Manual Page
August 12, 2014 | Archive Link • Referenced in culture
Goodbye, "so long and thanks for all the fish". The true measure of a mans life is in his stories and his friends. He had both.
▶ Relevant: Big Fish Movie Trailer - You Tube
August 08, 2014 | Archive Link • Referenced in design and culture
As we rush to redefine the obvious into a client strategy the new definitions impress some and intimidate others. I wanted use the word shim. It seemed perfect in context but according to the programatic definition I would be incorrect. If I was hanging a door however, I would be correct. Like I said, "the obvious".
This anomaly isn't so obvious. There was an issue with an article title. It was 10px more from the hr element than the other titles. After taking title padding and margin to 0px and inspecting the surrounding elements, the 10px gap still persisted. I removed the top entry. (which is just below this entry) This contains two floats and in this unique combination was affecting the CSS properties of the title below the floats. The hr element between articles was unaffected by this anomaly.
The cure was to create a 10px top margin for all titles. I had been using padding but this was a flow issue. When I defined the margin the title below the floats remained unchanged and the other titles now had that same distance from the hr element. This is why handcrafting markup and CSS is still a much needed skill. You can not redefine craftsmanship with frameworks, acronyms, or testing. Maybe a shim is just a shim. Despite the new world.
▶ Relevant: Define shim @ Google
Deela - Shelta Blues
August 05, 2014 | Archive Link • Referenced in music and video
Doing an audit on iOS and Android and just how they respond when width=device-width and/or initial-scale are employed at the meta element. Apparently, memes that surround markup and their relationship with devices scale better than tested application and result. It's the damnedest thing.
Locale And Value
July 28, 2014 | Archive Link • Referenced in culture and diversity
Locale and the things in it are valued by relevant, local standards. The increased flow of information to and from a locale in both velocity and speed does not bring the locale closer to another socially or economically, much less influence local standards that drive both pragmatic and esthetic values for that locale.
While looking for values at a local thrift shop I found an Omega B-22 35mm photo enlarger. It was complete except for a lens and is in mint shape. Its cost in the web marketplace $200 - $300 dollars. (it cost that new in 1975) When paired with a lens about $600. This find cost me just $.99 cents. On a subsequent visit I found a juvenile desk or vanity, circa late 1950s. It was plain in manufacture and in poor condition with scars that more than revealed its age. The asking price, $129 dollars
Right now, in the bay area, someone is enjoying artisanal toast at $4.00 a slice...peanut butter extra. Start your conversation about user experience here.
▶ Relevant: Omega B22 Enlarger
▶ Relevant: DIY Artisanal Toast - A 'how to' from NPR
The Gilded Age Now
June 23, 2014 | Archive Link • Referenced in culture and markup
In the late 1800's business and the economy grew in large part to the technology of the day. People grappled with adaptation then as they do now. Those that could adapt profited and grew. The fallout was that many of the current population and immigrants could not realize a better outcome. Along the way, the social concern was that gilding was an attempt to paint over what was undesirable.
It is important in the development 'new age' that core standards and practice are still first, regardless of CMS, framework, or can of gold paint.
▶ Relevant: Gilded Age - Wikipedia
June 14th, 2014 | Archive Link • Referenced in diversity and culture
Bouncy, if not rocky at times, collaboration brings about a diverse sum for a single experience, building on the strengths of others and bringing out their best. You have a commitment to something greater than yourself.
Had the pleasure of seeing Mr. David Lindley perform at a small (small) venue. He brought along his current kit and did monologue inner spaced with music that had something else besides talent and expertise.
Listening to his virtuoso solo performance and yarns of campaigns past I realized this effort was the sum of years of collaboration.
A real benefit to collaboration is how it transcends you and what you take away from it. For some, the danger is that the relationship will change you and that you will not look at tomorrow as the present. In both cases you can only hope.
▶ Relevant: New Minglewood Blues - Gus Cannon (1930) - You Tube
▶ Relevant: David Lindley CD Catalog
Pedantic - The Movie
June 6th, 2014 | Archive Link • Referenced in design and culture
The premise is simple. Generate a radial gradient as a body background. This would be deployed at resolutions above 1000px and a white background below that size. It was in testing when things got unnecessarily deep. The CSS background properties in iOS Safari are broken. IE6 broken.
Background-attachment: fixed, is not supported in iOS7/Webkit. It defaults to scroll. iOS7/Webkit reverts background-size to cover by default. It is how this pair handles background-size that is confusing and its documentation incomplete. Shouldn't this be simple?
Background scales to cover by default for gradients this is relative to the browser width. There is horizontal distortion, the smaller the width the more pixel density compresses/distorts. It seems to be true of any browser. The iPads tested were further influenced because of their pixel density and color profile.
According to Webkit docs background-size default is measured by the length of any element and width is calculated proportionately which enlarges background-images undesirably. Background-size length and width can be declared. Horizontal compression of pixel density also occurred when an image of a radial gradient was applied suggesting that visual compression of pixels also applies to background images.
Webkit documentation does not cite that above iOS 5.1 the prefix was dropped however for iOS Webkit the behavior remained the same. Such pedantry for a simple background.
I am reminded of two things. Quick fixes and computers usually don't work and in the new age of new terms and new acronyms people who craft HTML and CSS are as valuable as ever. It is a mistake to dismiss the past. It got you here.