A mirror of my blog that I host. Mirroring it here just to provide an additional backup. Check out the real deal at http://www.justinandrewfincher.com/
Saturday, December 31, 2011
Friday, December 30, 2011
Setting up my Pertelian LCD on my linux box showing recent tweets
Display pert-lcd { Driver 'Pertelian' Port '/dev/ttyUSB0' Size '20x4' Backlight 1 Icons 1 }Anyhow, I got it so I could do some basic display things through the program so it was on to configure it for my exact application, displaying recent tweets! I don't check Twitter that often, so I thought it would be cool if I could set up my little screen to constantly display recent tweets. Twitter no longer provides an RSS feed for your timeline (all the tweets from people you follow), but with some searching I discovered this post describing using Roomatic to generate an RSS feed for you. Once I got that, I put together a little bash script to parse out the 4 most recent tweets. Then I tried to use the Text layout from lcd4linux along with a readline to read each tweet in. After much digging and frustration, I discovered that readline only reads the first 80 characters. Not too handy for tweets that can be 140 characters! So I resigned to just show the 2 most recent tweets each split across lines and was almost done with that when I remembered a brief example that I saw that concatenated strings. So I revamped my script to split each tweet into two 80 character lines, then concatenated them within my config file. Here's an example:
Widget Twitter1 { class 'Text' expression file::readline('timeline.txt', 1).file::readline('timeline.txt', 2) width 20 align 'M' speed 200 update tick }So everything that is displayed on the screen is done through widgets. Then you have a Layout that tells the screen where to put each widget. In the above widget, I want to display the first tweet in my timeline. Since I parsed it to have half on line one and the other half on line 2, I use the . to concatenate these two strings. I still find it odd that lcd4linux has no issue dealing with strings longer than 80 characters, yet readline has that limit. Anyhoo, I combine the widgets for each tweet into a layout for my screen.
Layout Twitter { Row01.Col1 'Twitter1' Row02.Col1 'Twitter2' Row03.Col1 'Twitter3' Row04.col1 'Twitter4' }In the widget, you see that the align parameter is set to 'M' which means marquee. This is what we want since a tweet can have over 140 characters, yet my screen is only 20 characters wide. So the result is 4 lines, each slowly scrolling through the most recent 4 tweets in my timeline! Luckily, lcd4linux constantly performs the readline operations so I just tossed my timeline parsing script in my crontab to run every 15 minutes and as soon as it is updated the display updates with the current timeline. Success!
Wednesday, December 28, 2011
Harry Potter and the Prisoner of Azkaban by J.K. Rowling
My rating: 5 of 5 stars
As with the other Harry Potter books, I really don't have a lot to write. I don't recall having much preference between the books in the series, and I have thoroughly enjoyed each of them. One thing that was noticeably different about this versus the past two is the divergence from the films. There were numerous times that I was struck by how differently things unfolded in the book than how they were portrayed in the book. I didn't think that they were necessarily bad diversions, but still pretty noticeable. Mark one more (pretty long one) off our reading list!
View all my reviews
Sunday, December 25, 2011
Thursday, December 22, 2011
A Bull of Many Colors
A colorful set of bull figurines that we saw while we were in Sevilla. I would have liked to have the main bull a little more of a central focus (and have the one directly in the foreground a little more out of focus), but it was a fairly quick shot while we were shopping so I didn't put a lot of thought into it. Still a fun little reminder of our time in Spain.
Wednesday, December 21, 2011
What a slacker blogger am I
Monday, December 12, 2011
Breathless by Dean Koontz
My rating: 3 of 5 stars
I am a huge fan of Dean Koontz so I was excited to read another one of his since it had been a while. I love his style of writing and feel like he consistently provides a visceral experience that I really enjoy. As with many of his books, there are several independent stories going on and each chapter switches between the sets of characters. With this style comes short chapters, which I like because it makes it a lot easier to pick up and read a bit when I just have a few spare minutes. All that to say, this is probably one of my least favorite of his books. To me, it felt almost as though he lost interest about 3/4 of the way through and just tried to find a lazy way to tie everything together. I thought it developed some interesting themes and story lines, then each and every one fell pretty flat at the end. Worth the read for a fan of Dean Koontz, but pretty low on the list for anyone looking to experience one of his books for the first time. View all my reviews
Friday, December 2, 2011
Harry Potter and the Chamber of Secrets by J. K. Rowling
My rating: 5 of 5 stars
I don't really know how to review Harry Potter books since everyone is pretty familiar with them. As always, it is an easy read, always entertaining, and always a good story. Only several of them are on our reading list, but I look forward to slowly making it back through the whole series.
View all my reviews
Friday, November 25, 2011
Chasing a little southern ring-necked snake behind the Rahaman house
Thursday, November 24, 2011
Tuesday, November 22, 2011
Time for some Spanish shopping
Taken on a street of shops in Madrid. I like the variety of textures in this picture, especially in black and white.
Saturday, November 19, 2011
Friday, November 18, 2011
The Grave of Columbus in 3D
This is a break from the stuff I normally post here. Less trying to be artistic and more exploring different techniques.
So if you haven't looked at a photo like this, it works just like the magic eye illusions (stare until you see the sailboat!). You basically cross your eyes until the two pictures align in the middle, then pick a point in the photo to focus on (the last part helps it all come into focus for me). Then TaDa! 3-D! Because people move around, the bottom get's wonky, but it is still a cool effect.
Thursday, November 17, 2011
Yay for hanging photography in the living room!
Wednesday, November 16, 2011
Cerveza de España
Enjoying a beer at one of the many tapas eateries in Spain. Nothing too fancy here. I just thought it was a kind of cool shot of one of the man cervezas consumed on the trip!
Monday, November 14, 2011
Vertical Panorama of the Sagrada Familia
On our recent trip to Spain, the Sagrada Familia in Barcelona was definitely one of my favorite sites. It was an amazing building and was made even more interesting by reading about Gaudi's inspiration from nature and then seeing those elements in the basilica.
This shot was stitched together forming a ~22 megapixel vertical view from within the basilica. The bottom is facing a dorr and the top is directly facing the ceiling above. There is some distortion in the closest, large columns, but overall I was pretty pleased with how it turned out.
Stitched together using DoubleTake.
Saturday, November 12, 2011
Thursday, November 10, 2011
An Afternoon Boating
People enjoying a sunny afternoon at the Buen Retiro Park in Madrid. I liked the balance of the couple boating with the large statue in the background.
Thursday, November 3, 2011
Why People Believe Weird Things by Michael Schermer
My rating: 5 of 5 stars
I thoroughly enjoyed this book. It was written by Michael Schermer, who writes one of my favorite columns in Scientific American, Skeptic. It is essentially an exploration of "weird" beliefs that people have and an attempt to understand how those beliefs come about. I think it should be required reading for most everyone because it espouses critical thinking and evaluation. Even if you believe in any of the things he talks about, he approaches it as "here's what supporters present to back up their beliefs and here is the evidence that shows their arguments are flawed." He doesn't approach things as "these people are wrong and here's why" and I like that. The whole idea is to promote thinking more critically about things and understanding the logical mistakes people make. This serves to help readers avoid making those same mistakes and I don't think there is anyone that couldn't benefit from learning to better think critically!
View all my reviews
Monday, October 31, 2011
Spain 2011 / First Anniversary Vacation
After getting thoroughly stuffed we decided to check out Buen Retiro Park as a place to walk off a few of those calories.
One of the cool things that they had was kinda like a playground for adults. There were a bunch of things set up so that anyone could come to the park and get a well-rounded workout. MC decided to take advantage since, other than walking, we hadn't been getting a lot of exercise thus far. This was even more entertaining as she was surrounded by Spaniards very intensely using the surrounding workout equipment. As you can see in the lower middle photo, I preferred to use the bench for my workout.
After the workout, we decided to try the modern art museum again only to get strike three, closed on Tuesdays! After that failure, we stopped by the train station to see if we could make changes to our tickets since we were leaving in the morning and we wanted to try to squeeze in the museum (4th time's a charm, right?) before we left. They were uncooperative, but we figured we may try to figure it out in the morning. We then headed to the Ceverceria de Santa Anna for some paella and drinks then next door to Naturbier, a local microbrewery. (Yep, we find them even in Spain!)
It was similar in style to a lot of bavarian style beers, and the roasted one that I had was pretty good. We then went looking for Casa de Abuello (recommended by Rick Steve) and ended up seeing 3 of them in the span of about a block and a half. We ended up stopping at the El Museo del Jamón (The Museum of Ham) for some dessert-type snacks that ended up being subpar, but we enjoyed people watching in the Plaza del Sol while we ate them. We took the metro, to the express bus, to the airport shuttle and finally to the hotel! Enjoyed some more drinks and internets at the bar then packed it in to be ready for Sevilla in the morning.
Day 4 - Madrid to Sevilla
We woke up early since it was going to be pretty busy morning and headed to the train station. We weren't able to change the ticket because MC got a reduced rate online, but we decided to try to make things work. We dropped our bags off in a locker at the train station then walked over to the art museum, grabbing breakfast on the way. We sat outside for a while until it finally opened then we beelined it to the Salvador Dalí section. Salvador Dalí is one of my favorite artists and it was pretty cool to see some of his work in person, though MC wasn't the biggest fan of some of his weirdest stuff. We also saw one of Picasso's most famous works, Guernica, which was frickin' awesome. Then it was time to head back to the train station. Grabbed our bags, hopped on the train, and we were off to Sevilla! Unfortunately, there were a group of loud Americans and one of the girls had the kind of voice that should be amplified and studied by the government as a form of warfare. Luckily, we made it to Sevilla without killing any of them and caught a cab to our hotel. Walked to a nearby cafe, Camela, for some food, and sitting outside reminded us that we might want an extra layer for walking around since we luckily brought the cloudy/rainy weather with us from Madrid.
Stopped back by the hotel to grab a layer and book our flamenco performance for the night then walked down to the Sevilla Cathedral. Unfortunately, there was some special circumstance so it was closed for the day. We decided to just walk around and explore Sevilla for a bit instead. Picked up some super yummy sweet snack, including a coconut macaroon, from a little stand and noticed how many Spanish women refuse to change what they wear just because they were going to be riding their bike that day.
We moseyed to dinner then it was off to the flamenco show! We got awesome seating near the front, but the chairs were not large and pretty packed in there. An old chubby lady sat next to/squished MC then we discovered that there was a balcony so we opted to move up there and it was much more comfortable.
The flamenco was ridiculously awesome and a ton of fun to watch. If the video below doesn't load, you can check it out here.
After the show we walked back to a main road with lots of shops and eateries. The first place we stopped had some unpleasant orange wine, some beer, and a crazy salty sandwich. Then went to another place and had some paella, sangria, and beer then walked back to the hotel.
Day 5 - Sevilla, then to Barcelona
Woke up in our little hotel room, checked out and left the luggage at the hotel so we could go hit some of the sites. Grabbed some breakfast at Campanario then headed over to the cathedral (3rd largest in Europe!).
We finally arrived at the basilica, which was designed by Antoni Gaudí and is considered his magnum opus. It is still currently under construction, but it was frickin' awesome. It was huge, like many cathedrals in Europe, but it had a much more modern feel to it and he was inspired my many different designs that he found in nature.
[caption id="attachment_911" align="aligncenter" width="300" caption="The main street"][/caption] | [caption id="attachment_912" align="aligncenter" width="300" caption="The fresh market"][/caption] |
I was SUPER excited and it was SUPER awesome! Since it was a day flight I wasn't sleepy so MC and I watched Bridesmaids "together" (at the same time on our respective screens), then I watched X-Men: First Class then followed that with Fast Five. Most of the rest of the flight was spent playing on my computer and such.
After around FOREVER we made it through all the security BS that Atlanta has. Because the geniuses designed it so the international flights funnel back into the concourses, we had to "re-check" our bags and go through security again AFTER we got off the plane. How annoying. Anyhoo, we finally made it and made the 4.5 hour trek back to our townhome. It was a frickin' awesome trip that my wonderful wife did an amazing job as planner and translator for. I couldn't think of a better way to celebrate our anniversary.