One nice thing about road trips is you get to press "refresh" on everything in your head. I've had something bugging me for some time now, and that is the responsiveness of the code I'm creating. That's a phrase all web developers have known for a long time and most have developed their own standards for dealing with it. It simply means, make it look as good on a phone as it looks on your personal hi-res monitor in a freaking state-of-the-art browser.
I don't own a cellphone and as such I never run my code on one, but I do have tools to emulate how it looks on one. I try my best to support the phone but sometimes I get lazy and say screw it, let them run it on a real computer, and that's a cop out.
Today, back at my office after a disappointing road trip (nothings open but gas stations, fast food and sometimes a rest area), I tackled my most recent app: OMJzp and made it responsive. I think it turned out great and I urge my phone owning friends to try it out.
Melissa also gave me some great feedback on OMJim and I think I improved that also. Now I'll dive into some older stuff and see what I can do.
I'm hunkered down in a rest area a couple miles south of the Kentucky border on I75 and it's raining. Wierd out here, a lot of stuff is closed, breezed right through Chattanooga and Knoxville and somehow ended up here. Oh well, a great drive and the gas prices are sick, averaging 200 miles for 10 bucks.
The rest area actually has wifi and it's pretty decent. I'm content. Just checking in, no idea where I'm going to end up tomorrow and I don't really care.
I just came across this photo of my great-grandfather Joseph Simpson. Considering that I'm a great-grandfather, what is his relation to them? And the fact that a photo actually exists, considering that he died more than a hundred years ago, is pretty damned cool.
I'm getting ready for a short road trip just to shake the cobwebs from my old head and my old truck. I thought about East, over to Chattanooga then up to Knoxville, two places I've never been to, and then I looked at my heatmap. I wrote this app just for this purpose, to show the state of the covid world using the most current data, and I didn't like what I saw.
I'm at the X, planned destination to the right. What would you do? I'll just sit here for a bit and wait for an answer, oh wait, I didn't implement comments on this blog, guess I have to figure it out for myself...
Comment from Paul: Just slip out the back, Jack. Make a new plan, Stan. You don't need to be coy, Roy, just get yourself free. Hop on the bus, Gus. You don't need to discuss much. Just drop off the key, Lee, and get yourself free.
Ok, thanks Paul, I've decided: Chattanooga, TN via Huntsville, AL along scenic route 72. On the way back, Georgia, down through Fort Oglethorpe, Chickamauga, Rising Fawn, over to Flat Rock and Pisgah Alabama and then back through Huntsville. Road trip baby!
I am happy. The virus ain't got me and I'm alive, I haven't lost or gained any net worth, or weight, more animals are alive instead of being slaughtered to feed humans, travel sanctions are loosening up and I'm road-tripping shortly, I finally did my laundry, and my code is solid. Thank you god.
One of the most sought after datasets in the world is Cities in the U.S. with polygons. I've been looking hard because I want to be able to click on a City name and present an outline of the City on a map. I finally gave up because it ain't out there, and created my own!
The current cool magic number is 36,654, which is how many Cities I've added to my database. Every Zip Code city has a city record with a polygon. It's better than the government's DB and the implications are immense.
In July of 2014 I was visiting my boy in Kent, WA and attending my favorite street fair event, Cornucopia. On Sunday we were at the parade and I filmed the Dancing Horses which at the time I thought were very cool so I put the video up on YouTube for my blog.
Through the years the video has been viewed over 30,000 times, been up-voted 139 times, down-voted 20 times and has 19 comments. A lot of folks have very strong opinions about the mistreatment of the horses as a means to make them perform. As a result I eventually formed the opinion that what I witnessed that day was perhaps animal cruelty, until this morning when Barrel Racing Liston left a long and very thoughtful comment defending the practice.
Here's the video:
Here's the comment:
I understand people have their different opinions on these type of things , but yes. Their is cruel people who unfortunately train their horses in a cruel way. But their is also those who care and are patient on training their horses. Also just because the people in this video are mexican, dont go and hate on mexican people who have dancing horses. More of the dancing horse industry, treats their horses well. I own a horse that is a 6 yr old andalusian stallion, I've owned him his whole life. He started dancing when he was around 2, he started moving by himself in the round pen when we turned on music. Now most of the time he hears music, he starts to dance. He loves dancing. Now to the bits and spurs. Bits arent necessary but not all horses can be ridden without them. Not all horses behave the best without a bit, it gives more command and direction. Also, not all bits are horrible. As a matter of fact, the bits us mexican use are very light and we have a scroll thing on them that the horses can play with when it's in their mouth. Also, using bits depends on the hands of the rider and the horses mouth. Spurs; not necessary but useful for direction and an extension of the foot. Now luckily, these people arent jabbing the spurs on the horses side. Barrel racers usually use spurs kick a lot so they are causing the horse more pain. Think about other sports and such that also use spurs and bits before you hate on horse dancing. :'))
Here's the Original Post from my BusDriverJim blog.
My creativity runs amuck and sometimes I blow my own mind. I woke up this morning at 0300 envisioning a new website with the name OMJzp. I saw it in bold letters on the back of my closed eyelids and it woke me up. I then crawled out of bed and created it.
First I had to secure the domain name. Done. Chalk up another sweet little five letter domain to add to my OMJ collection. Then I ported over the table processing code from my Covid Analysis app and used it as a template. I combined it with my new Zip Code analysis code and a new website was born.
Please allow me to introduce to the world, created in one day with love, inspiration, and no drugs, omjzp.com, the OldManJim Zip Playground! Click on the question mark for help...
I've made some dramatic progress with my Zip Code data. Yea I know, when is the old fool going to stop babbling on about crap like Zip Codes, Counties, FIPS and all that other nonsense? Sorry, it's what's keeping me sane right now and if you want to tune out, bye!
Still here? Ok, the thing about Zip Code data maintained by the government is that they never associate a State much less a City to the Zip for some reason. It's just a number with geographical boundaries which happen to intersect with a City inside a State. So I did some research and found an API that provides that missing info and completely rebuilt my Zip Code database.
152 Zips from my initial dataset were determined to be invalid for various reasons and I now have 32,992 verified Zip Codes, each with a City and a State. This means I can write tools that query the data in a variety of ways, like show me all the Zips in Seattle, or all the Zips in Tennessee, or all the Zips in Utah Cities that start with "Ce". You get the drift...
Now I'll go write some code. (Update: Try this and click on a State or two.)
I whipped up a cool Map today using my 3,233 U.S. County polygons that plots all of the Counties for a single State when you click on it. Then, click on an individual County for info about that County, or move on to another State.
Page 7 of 12