tag:blogger.com,1999:blog-10955909115314061022024-03-06T15:25:30.429-05:00Buck Up ChinnyThreadless Ramblings<br>Software, Engineering, Books, Life, and Projects that I'll Never Finish.
<p align="right">
<a href="http://english-137922757548.spampoison.com"><img src="http://pics4.inxhost.com/images/sticker.gif" border="0" width="80" height="15"></a></p>lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.comBlogger56125tag:blogger.com,1999:blog-1095590911531406102.post-70336233525389246562019-02-02T15:57:00.000-05:002019-02-02T16:00:22.729-05:00ESP32 with OLED and maybe LoRaI've bought a few too many ESP8266 boards over the years. Done a couple projects but most are sitting looking lonely in a box of good intentions. So in order to fix the wrong, I've decided I'm going to buy too many ESP32 boards.
I have a few of these:
ESP32
0.96" OLED SSD1306
About $8
And a couple of these:
ESP32
0.96" OLED SSD1306
18650 Battery Holder
About $10
And seriously lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-23109271814228561402011-01-30T22:01:00.000-05:002011-01-30T22:01:58.980-05:00Apache ActiveMQ Startup ExceptionI don't use ActiveMQ a lot but when I get back to a project where I was using it, I seem to get startup exceptions pretty often. The stack trace is really long and ugly.
java.io.EOFException: Chunk stream does not exist at page: 0
At first I wasn't sure what was going on, just deleted the activemq folder, unzipped the distro, and back running in minutes. The next time it happened,lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-38007705096222183062011-01-30T17:56:00.002-05:002011-12-14T21:39:53.840-05:00Android SMS XML ParsingUsing XML with SMS sounds kinda dumb. After all an SMS text is only 140 characters (or less ...) and XML is horribly bloated. But if the originating application is using XML and SMS is the convenient transport, then nothing's too stupid.
There's plenty of articles that describe the various Android options for parsing XML. SAX, DOM, and XML Pull. Actually, I'd prefer to lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-61705440696426645912011-01-28T22:38:00.004-05:002011-02-11T22:41:01.734-05:00HTC G1 adb "No Permissions"Update: After I wrote this post, I had the No permissions and a device name of ???????? all over again. After spending yet more time on this, I found that the key is to kill and restart the server as root (sudo). See commands at end of this post.
--------------------------------------------------------
I bought a used HTC G1 from eBay so I could prototype a droid interface to alizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-61377315484700859532010-12-18T22:37:00.001-05:002010-12-19T09:26:05.080-05:00Can't SSH to Amazon Elastic Compute Cloud (EC2) InstanceI've decided that I'm going to learn about Amazon Elastic Compute Cloud (EC2) over this Holiday break. I've read a few articles, listened to a few podcasts so I have an idea what it's about, just haven't actually gone thru the motions myself.
What am I going to do with a virtual machine (VM) in the cloud? Not much quite yet. I have some ideas but first need to figure out how lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-65456230186073719222010-11-29T00:12:00.001-05:002011-07-17T21:05:10.128-04:00Working with the 90 Character Limit of TwitterWhat? Twitter has a 90 character limit? No, it's 140. Everyone knows that.
Mr Wikipedia says this about SMS length:
"... resources in the system could be used to transport messages at minimal cost. However, it was necessary to limit the length of the messages to 128 bytes (later improved to 140 bytes, or 160 seven-bit characters) so that the messages could fit into the lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-61803630119183492592010-11-27T21:33:00.001-05:002010-11-29T21:25:28.935-05:00Send SMS Text Message from Java/Groovy - via TwitterWriting code to send an SMS text message is fairly easy on a smart phone like an Android. But from a desktop, sending texts is still a mess, not always free, and/or requires a phone connected to your server.
I simply want to send a message to my phone when my app receives some data. I don't need a complex library with lots of setup nor do I want to sign up for a pay service.
Now lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-75495700687592729252010-11-27T19:43:00.000-05:002010-11-27T19:43:06.046-05:00Send a Direct Message Tweet with GroovyAlright. Using the Twitter4J library and Groovy, I've beaten down the OAuth beast and have a simple example app to send a "update status" tweet.
Now instead of sending a message to my own account, let's do a real easy mod to send a Direct Message to a specific user Using the same app as before, the only changes needed are:
import DirectMessage
change from twitter.updateStatus(lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-21633247635801837492010-11-27T15:55:00.005-05:002011-12-14T21:14:04.544-05:00Sending a Simple Tweet with OAuth and Java/GroovyCome on, man! What used to a be a simple task to send a tweet is now a OAuth nightmare.
A year or so ago, I built that tweet-a-w/e thing that sniffed XBee chirps and sent them to a twitter account that kindly routed them to my cell phone.
I have a need now to receive an XML stream, parse out a few tidbits and then send the results out as a SMS text message. Remembering that lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-69586594056363186972010-08-13T17:45:00.002-04:002011-12-14T21:50:10.703-05:00Sad Day for the Great White BoxsterAfter a little more than a year of ownership and the main reason that I haven't been updating my blog, I sold my Boxster (the Great White). She was a good car but after buying a 911 in early Spring, I just wasn't driving her much.
My family is much sadder than me though cause they liked the Boxster better than the 911.
I really love the mid-engine Boxster and will probably buy a Cayman S in lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-52742142536503063682010-08-09T21:56:00.001-04:002010-11-28T18:29:11.054-05:00Sanyo DP26648 White Screen of Death Santa brought my game player son a Sanyo SP2664 26-inch Widescreen LCD HD Television last Christmas. A few months into the year, the TV started getting occasional white lines diagonally across the screen, the greens looked weird, and then the audio went in/out. I could've/should've hauled it back to Wally Mart but grumbled about it and did nothing.
We came home from our July lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-6142578754174257222009-12-25T15:29:00.049-05:002011-03-18T22:36:26.134-04:00LG Washer LE ErrorUPDATE: I've had quite a few hits on this posting and received lots of great comments - thanks very much.
This post explains how to replace the hall sensor on your LG washer. Before you decide that you have to replace your hall sensor, please try unplugging your washer for 5-10 minutes and see if it will reset all on its own.
Also, even after replacing the sensor, sometimes these lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com104tag:blogger.com,1999:blog-1095590911531406102.post-4496221183832480332009-05-15T00:49:00.004-04:002011-02-07T01:07:31.924-05:00Porsche Boxster CabrioletSometimes you just have to give in. I tried to be strong but night after night. Day after day. All I heard was "buy me, buy me". How much is a man expected to take? We can only be so strong before we all break down.
It was hard, but I relented and came home with a Boxster. It's my combo birthday present and mid-life crisis consolation prize.
As my old age time bomb has been approaching overlizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com3tag:blogger.com,1999:blog-1095590911531406102.post-85024478147650249582009-05-02T23:39:00.020-04:002009-05-05T21:46:19.499-04:00Greasemonkey Index of /imagesAfter I posted the Yahoo Baseball Greasemonkey script, I remembered another script that I have that's worth sharing. Not my Yahoo Football Greasemonkey script which does the same as the baseball (shows in-game stats on tab title) but another more useless useful script.Have you ever been searching for an image or been Stumbling around and came across a page like the one to the left?I see them lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-25567246676192359802009-05-02T21:31:00.021-04:002009-05-05T21:47:23.321-04:00Baseball Better - Yahoo Greasemonkey ScriptI love baseball. But you gotta admit that it can be boring "watching" a game on the web. If not watching it in person or on tv, it's kinda slow. I'm sorta ADD when cruising the web. I usually have 6 or more Firefox tabs open at once. I'm reading something, writing something, searching for something all at the same time. It's a wonder that I get anything done at all, but amazingly it works lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-85236220654655588742009-04-08T23:25:00.017-04:002009-05-05T21:48:06.007-04:00XBee Series 2 - Reading Data in API ModeAfter I finally got a ZNET 2.5 Coordinator AT associated with a ZNET 2.5 ROUTER / END DEVICE by figuring out that the default JV Channel Verification parameter was key, I stumbled again.I can send character data from end device to coordinator and see it come out of the UART.But when I have an end device with the ADC enabled (ATD1=2) and the IO Sampling Rate (ATIR=4E20) set to 20 seconds, I see lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com6tag:blogger.com,1999:blog-1095590911531406102.post-67754999145959702942009-04-08T00:22:00.014-04:002009-04-08T22:13:14.156-04:00XBee Series 2 - JV Channel VerificationDamn it. Why do the simplest things always take hours to complete? I'm using XBee Series 2 cause I really didn't know what I was buying. Series 1 or Series 2? To a newb, sounds like 2 is the shiny. Why buy an out-dated series 1? Nobody wants last year's model.If I would've done my homework, the series 1 (also called 802.15.4) are the most reliable, easiest to use. So of course, I'm using lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com4tag:blogger.com,1999:blog-1095590911531406102.post-61126538225952305972009-03-28T15:05:00.024-04:002009-04-01T21:32:15.330-04:00XBee Adapter Kit PDQJust got done building an XBee Adapter and tested it in 34 minutes. That's right, 2040 seconds. Or 0.566666667 hours. Either way, it's PDQ.I'm a soldering novice. I've been burning my finger tips for some years now but in limited batches so I'm in no way claiming any skill. (Actually, I'm claiming a lack of skill) And I wasn't speeding, I was in no rush to build this thing.I opened the lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-84147887945768971042009-03-22T23:26:00.023-04:002011-12-14T21:29:16.153-05:00tweet-a-whatever (tweet-a-w/e) foundationMy explanation of the tweet-a-w/e ran pretty long in my last post. I took an Asus wl-520gu wireless router, installed OpenWrt, Python, and an Xbee to build the foundation of a tweet-a-whatever (tweet-a-w/e). My 13 year-old texting obsessed daughter choose that name BTW. The last post ran so long that I cut it off after I talked about how to read the serial port with pySerial.
This time, I'll lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com2tag:blogger.com,1999:blog-1095590911531406102.post-57192142769864276352009-03-21T18:58:00.011-04:002014-03-22T21:41:26.722-04:00tweet-a-w/e using Asus wl-520gu and XbeeUpdate: Newegg no longer stocks the Asus WL-520GU router but this is still a cool project. You can find these routers for $10-20 (or more) on eBay. Also someone sent me a comment that the Linksys WRT54G routers have serial ports that could be used in a similar manner. I haven't tried this yet but if a cheap Linksys router comes my way, I'll try and attempt to blog about it.
-----------------lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com15tag:blogger.com,1999:blog-1095590911531406102.post-10243831384564072462009-03-21T12:50:00.005-04:002009-03-21T13:17:28.702-04:00Format USB Flash Drive with ext3Using Ubuntu 8.04 Hardy Heron, I figured it would be easy to format a thumb drive to ext3. Seems for me that nutin is easy. My plans for the USB stick is to use it with an embedded Linux box that could expectantly shutdown.Wikipedia says this about ext3: The ext3 or third extended filesystem is a journaled file system that is commonly used by the Linux kernel. It is the default file system for lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-3138247240982316552009-03-21T00:21:00.013-04:002009-07-31T21:54:54.096-04:00No module named _md5 - Missing OpenSSL?I'm working a Python project on an embedded Linux device. As usual, I've had my struggles but yesterday I ran into one a tough one. I was afraid that I was going to have to dump Python and go to another language, ruining a week+ of effort.I'm using OpenWrt kamikaze 8.09 and have been making excellent progress until I slammed into the wall when attempting to import md5. This spins off an odd lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com7tag:blogger.com,1999:blog-1095590911531406102.post-86072840516727686922009-02-14T16:42:00.034-05:002009-09-30T20:35:23.147-04:002009 Running Goal - 12 RacesYears back, I was a decent runner. Then we had kids and life got busy. I also got old. Last year on vacation in Orlando, the whole family ran the Winter Park Watermelon 5K which re-started the racing bug again.Especially with my wife. Years back, she wanted nothing to do with running. Now she's very competitive and pushes me to train with her.My Stats:All time 5k PR : 20:06 1995, Some lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com1tag:blogger.com,1999:blog-1095590911531406102.post-60043527295303725492009-01-31T15:22:00.018-05:002009-02-03T19:54:02.973-05:00Grid Computing with GridGainSimilar to the famous "one word - Plastics" scene in "The Graduate", a senior engineer took me aside on the weekend of the Columbia explosion and said "Grid Computing". We were working long hours for a proposal that was insane at best. At the time, I had heard of SETI@home but never really had spent any time on the subject. Tim was pretty excited about the topic. He had just read an article lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com0tag:blogger.com,1999:blog-1095590911531406102.post-7459023885087105322009-01-24T01:51:00.009-05:002009-02-01T18:26:18.262-05:00Seven-Segment Vacuum Fluorescent Display (VFD)Do you ever go to surplus electronic stores just to wander the aisles? Years back, I used to go to Skycraft Electronics in Winter Park. It's still there. On pilgrimages back to the homeland, I occasionally will stop by but it's not the same. Back then I'd go alone or with a fellow geek and be able to spend hours digging around. Now days I have a wife and/or kids in tow that have zero lizard43http://www.blogger.com/profile/11805967539744350906noreply@blogger.com2