cps-WhatsNew – Newsletter for Calibre-web

Thought I would do a quick post on a new git repo I just put together:  cps-WhatsNew.

Its Python script that puts together a newsletter for the calibre-web repo.  I love the calibre-web repo as an interface to my calibre instance.  For my purposes, I thought it would be cool to send an email newsletter letting users know what new books have been posted.

While I haven’t tested it, I’m sure it would work for most OPDS feeds.  — Maybe with some minor adjustments to the book thumbnail code.

In any event, this was my first official Python script.  I’m sure its over-commentated and over-engineered – just like everything else I do!   I think it turn out well.  I used/learned, besides general Python, templating with jinja2 (without flask), a great emailing package – marrow, in-depth logging.  Also starting using JetBrains PyCharm IDE – Community Edition.  Excellent IDE of which i’m certain I would never use it to its fullest. (good GIT integration!)

I’m pretty impressed with Python.  I can’t believe it’s taken me this long to take the time to start learning the language.

AirPort Express and AT&T U-Verse Pace 5268AC

Very interesting bug I thought I’d document somewhere.  My current home ISP service is AT&T UVerse and I recently Pac 5268AChad it serviced because of some issues.  I ended getting a whole new router – the Pace 5268AC. This was very exciting because all of my other equipment is no faster the N speed — this router gives me wireless AC.  Woot!  Although the router is so much better than what I had, still had some issues with my AirPort Express.

I had setup two v1 AirPort Express devices to some powered speakers. One that I kept outside.  They stop working well over a year ago and I thought it was because of a bad connection to the older router.  Still had the bad connection issue after the new router. So it must be the AirPort Express.  So I figure time for another upgrade.  I jumped on eBay and picked up a used late model AirPort Expess.

It arrived in the mail today and I of course couldn’t wait to set it up.  This is where things get interesting.

If you use the Airport Utility application to configure the Airport Express, you will not be given the option to configure the AirPort Expressdevice as a wireless client on the existing wireless network.  You must first set it up in a new network.  Obviously it is much easier to configure the device if you plug in an Ethernet cable to the Airport Express.  Once the device is back up, you can then configure it to be a wireless client on the existing network.  So I basically named the device, entered my wireless name, etc.

Once the AirPort Express restarted – my computer and most of my network couldn’t not access the Internet.  Somehow, some way, the AirPort was seriously screwing up the routing on the network.  I could access anything that was on the LAN side by using IP addresses.  As I use an external DNS server for DNS, I couldn’t access anything by name.  I also couldn’t access the router’s LAN port to see what issue the router would be reporting.  

In order to get everything back online, I had to unplug theater net cable from the AirPort Express and break the connection between my router and the down stream switch the AirPort was plugged into.  Once I reconnected the switch, we were back online.  

Fortunately, the AirPort Express was still connected. I moved it outside and hooked it up to my speakers and it works like a champ!  It’s going to be a nice relaxing weekend with poolside music.

-JT

New Site Theme

I’ve been playing around with a lot of different themes for this blog lately. The problem with themes is that they still require customization. You can spend hours tweaking someone’s theme and decide that it’s not for your site. I’ve gone through so many of those!

I think I’m finally settling on this theme called Freelancer by GeneratePress. It’s clean, responsive, and free! Also, it’s pretty simple and simple is all I really need for a blog site. Trying not to over engineer everything in my life.

In any event, I hadn’t updated this blog in over a year and I do have a number of articles I was thinking about writing. Now that I’m ‘happy’ with the design/layout of the site, I may actually do some writing!

PowerShell Logging Module

(Edited 11/30/15 – Completely forgot SqlChow’s contributions! Sorry!)

Wow – two blog posts in two days!  A record for me.  So today’s post I wanted to try something new.  I wanted to start sharing some of my code via a download over this WordPress CMS. Well, that’s not the only reason, I do like to share stuff so if this helps someone out, leave a comment, etc.

So the very first download I want to do was a very useful module that I hobbled together that I used in some of my automated PowerShell scripts — a logging module!

Read more