I got a Pebble smartwatch a little over a week ago. I've been asked how I liked it a number of times, so I decided I should probably just write an actual review down.
For anyone unaware of what the Pebble is, it is a watch that connects to your phone via Bluetooth. An app runs on the phone and can enable the watch to have enhanced functions beyond what a normal watch would.
The main advantages of this is, for one, the watch face can be completely customizable. Also, notifications on your phone can display on your watch. No longer do you need to pull your phone out of your pocket every time someone sends you a text.
When using PHP, one issue I've had for a while is figuring out a way to map API input parameters to methods in my code.
For instance, I have an API for John VanOrange that allows anyone to access most of the site's functionality. The public API methods all map to classes and functions inside those classes. Each of these methods allow for various parameters to be passed into them.
As it was snowing the other day, I was thinking about how random the formation of snow is. It made me wonder if science could predict snow if it wasn't already so obvious. I have a feeling that our current level knowledge, we couldn't.
Made the mistake of trying to order something from Walmart.com. They cancelled my order twice saying there were problems with the payment security checks. Yet, both orders were using two different payment methods. On top of that, it took three days for their customer service to get back to me, and they just said they couldn't tell me what the issue was. Seems I am simply not allowed to shop there anymore. Not sure what type of business strategy they are going with.
I think I have a misplaced distrust of modern medicine. I've been avoiding going to the doctor even though my back has been having a lot of issues for the last couple weeks and I've had trouble walking due to it. Went there yesterday, got a shot, and now I'm back to normal.
My last post was back in April and was about some work I was doing renaming tons of random images. That was part of some work I was doing in building a website that hosts tons of random funny images. Thought I should share that link now that the site is at a nicely mature point in it's development.
I had a large directory of images that were all randomly named. None of them had file extensions or anything. So, I wrote up some lines of bash that uses ImageMagick to figure out what type of images these were, and then give them a random filename based on the MD5 hash of the current name. This way everything was at least normalized.
I've always been morally divided on using Kiva, since the service is great, but they require paying with PayPal. I wrote them a while back and asked if they had any intentions on offering other payment methods, but they said that had no plans to offer additional methods. Today, I decided that I am going to stop using Kiva until they offer other ways to pay. I sent them this message to let them know why.