Posts

The Work of Hope

The Work of Hope This is a personal reflection on how I process despair in current events and focus on hope, actively. Some mornings, it’s hard for me to open the news without feeling nauseous. The scale of cruelty, the casual disregard for truth, the normalization of violence, it’s a lot to carry. Lately, I keep seeing videos of children in Gaza, begging for help, their faces covered in dust, and I can’t make peace with it. I keep trying to hold onto hope myself, searching for something that feels honest. I want a hope I can inhabit. It is a hope that insists on engagement and demands movement. It is a hope that does not retreat, isolate, or ignore. If I’m going to hope, it has to start with seeing things as they are. Despair isn’t failure When I feel despair, it doesn’t mean I’ve given up. It means I’m awake. We often treat sadness, anger, and fear like failures, something to get rid of. But sometimes those emotions are the most honest and valid response available. When I s...

3D Photo Viewer for Looking Glass

Image
The Looking Glass I created my first Chrome extension, which is now live on the Chrome Web Store ! It's built for the Looking Glass , a holographic display that let's you view three-dimensional objects without glasses. I've also opened the source to the extension on GitHub. The Chrome extension allows you to view Facebook's "3D Photos", a feature they added in 2018 for displaying photos that include a depth map like those from phones with dual cameras, such as Apple's "Portrait Mode". Getting Started To use the extension, connect your Looking Glass to your computer, navigate to Facebook and open the viewer from the extension's popup menu. This will open a browser window on the Looking Glass display's screen in fullscreen mode. Opening the Viewer Once the viewer is open, the extension watches for any 3D Photo files being downloaded, so browse around Facebook looking for 3D Photos.  I recommend some of the Facebook groups de...

My Journey to Fitness, a 5K, and my first Triathlon

Image
At the finish line My name is Brian and Sunday I became a triathlete. My journey started ten months ago when I decided to get back into shape after 15 years of being obese and out-of-shape with some yo-yo dieting in the middle. What changed? I'll get to that. This weekend I competed in the first ever Rocketman Florida Triathlon which took place on the grounds of Kennedy Space Center at Cape Canaveral. In preparation I lost 50 lbs and 12 inches from my waist. But I'm getting ahead of myself. I'm a huge space buff. As a kid I wanted to become an astronaut. I went to Space Camp in Titusville when I was 10. Before that, I saw my first shuttle launch at 7 while on vacation. It was the final launch of the Challenger. I've written about that experience . I've seen three other launches since then including John Glenn's famous return to space as well as the final launch that ended the U.S. Shuttle Program. The idea of biking on the restricted grounds ...

Paperless

I've been slowly going paperless over the past decade. The first step on my journey started in 2000 when I signed up to use a payment service, PayTrust , to receive my incoming bills, scan them, and put them online for me to pay. The next major step was probably when I got a digital camera to replace my traditional film cameras. It might not be considered a "paperless" use case, but it has lead to very little hardcopies over the years as monitors and HDTV with screensavers and AppleTV s have become so beautiful.  Back to the paperless office, my next big step was eFileing my taxes but that didn't come until about 5 years later. Then suddenly about two years ago, I hit a real shift in my desire to go completely paperless when I got my iPad and installed Evernote . digital notes... If you aren't familiar with Evernote its an excellent app, available on all the major desktop and mobile OSes, that makes note-taking and organizing really simple. The killer fe...

Riddle: When isn't free space free?

So tonight I discovered my hard drive was slowly being choked by some mysterious process writing gigs and gigs to it. So I moved 75GB of files to an external drive only to come back a few hours later and discover my free space was back down to 23 GB. Where did 50 GB of files come from in just a few hours!? Idea #1 Rogue process downloading large files...*cough*iTunes*cough* I had NetUse Traffic Monitor running and it clearly showed that there was definitely not 50 GB of downloads in that time period. Idea #2 Rogue process writing lots of log files In my investigation of what to move to the external drive I used GrandPerspective to get a visualization and catalog of what was on my drive. Thankfully I hadn't closed that window so I could rescan and compare what had changed.  Here's the next head scratcher, it showed only a 4 GB total difference in used space between the two scans. Idea #3 It was something on my wife's side which GrandPerspective couldn't see sin...

For that rant you read...

Yesterday, I saw a stranger ranting about how my local town doesn't consistently use their call system to notify people of snow delays. He then went on to list at least four other alternative sources he could choose from and was finally "forced" to find out from the local TV station. His rant was amusing because it reminded me of the comic Louis CK's bit about how everything is amazing, yet nobody's happy. It got me thinking that I wish someone had created a landing page that I could link a ranter like this guy to. Something in a similar tone to http://dearrecruiters.com and http://lmgtfy.com . So that's what I did last night, I created http://yourenothappy.com

A year like no other

Today is a significant marker in my life, the first anniversary of the passing of my mother-in-law. Her death was sudden and I was unprepared for it. While shocked and sad, after the week of mourning was over, I expected life to return to normal quickly. In many ways it did, but in retrospect I'm amazed at how much flux there was throughout the following year. In hindsight, I now see how depressed I was for several months after her death. It feels silly to say that, since I'm generally a happy person. The idea of me being depressed for a day let alone a month feels very out of character. But I was and it affected the decisions I made and blurred my focus, both personally and professionally. I've been searching during most of the past twelve months and it took a while to find myself again, as my wife has so patiently endured. My productivity at work took a nose dive for a while, partially because I became extremely disinterested in what I was working on. My disinterest ...

Simplifying logging with Maven and SLF4J (Part 2)

So in my  previous post  I explained how to simplify your logging with Maven and SLF4J. If you haven't read it yet, please do before reading more.  Since then I've discovered an easier and cleaner way to remove the secondary frameworks from your Maven dependency tree. Here's a revised overview of the steps: Decided which logging framework will be your primary, aka who will actually write to your log file. Define the dependency scope of all the secondary frameworks to be ' provided '. Configure your project to depend on drop-in replacements of each secondary framework from SLF4J. Define secondary frameworks as provided Use the dependencyManagement section for this. Its used when you might have a dependency transitively. Add dependency on SLF4J Add the following to your pom.xml Conclusion So now in only 3 steps you can redirect all your logging to your primary logging framework without changing a line of code!

Newly open source

Well its about 10 years too late for some of this stuff but I figured I'd open the source to my dead projects I have lying around. Some are pretty raw, like my flocking applet from a college course, while others are completely functional and dare I say beautiful code, like my X10 Java library. FlockingApplet - a graphical applet that simulates the flocking behavior of birds. handlecheck - a web app that searches the web to see if your favorite username is taken. gwt-common-widgets - a collection of Google Web Toolkit widgets x10-java - a Java library for home automation.

Parental Controls - The V-chip of 2011

I've done something that I swore I'd never do, I've set ratings limits on my TV. As a kid/teen/young adult I swore I'd never use the V-chip on my kids. My thought was, how can you not be around to see what your kids are watching that you need to lock down your TV!? Now with the wisdom of 5 years as a parent, I can't watch my kids every second of the day, and for that 30 seconds I leave them to go to the bathroom, they somehow always turn on Wanted or 300 or Zombieland or _____(fill in the blank with a rated R movie I own). My 20 year old self would be very disappointed, but my 33 year old self says "You don't know what you're talking about." (P.S. He'd totally be geeking out our setup at my house though with our iMac-based home media server with 150 GB of movies played via a settop box (AppleTV) on an HDTV. 1998 Brian thinks that's AWESOME!)

Tonight's project: Motor shield, assembled! Sadly no motors yet, but it makes the servo easier to use!

Image
Taken at The Jacksons'

Tonight's project: Color LCD shield, assembled!

Image
Taken at The Jacksons'

My first Arduino shield, assembled! The Protoshield

Image
Taken at The Jacksons'

Buffalo Pretzel Chips, the greatest snack ever and they sell them at the Cafe. Dangerous...

Image
Taken at ESPN Building 4

Go-Kart Racing in Mt Kisco!

Self-explanatory....

Best Practices with Maven: Versioning your Artifacts

Image
I realized today that I had made this nice flowchart about two years ago of how I decide when to add qualifiers and increment version numbers, but I never shared it anywhere very useful. This is heavily based on the version numbering scheme that Maven inherently understands. You should also checkout the excellent versions plugin for Maven that include some great utilities for upgrading your plugins and dependencies.

TeamCity build triggering by GitHub

Image
So I started using GitHub for a side project and discovered their very cool feature of service hooks. A service hook allows a repository administrator to setup a callback to another service when a commit is made to the repository. For example it can send an email, or chat a message via Jabber. Now continuous integration servers, like TeamCity , can poll source control systems every few minutes to see if any changes have been committed. But wouldn't it be more efficient to use a service hook to trigger a build? Looking at GitHub's service hooks, there wasn't one already available to callback a TeamCity server, but right on that same page was a link to the open source repository for GitHub Service Hooks . They "eat their own dogfood" so to speak and make it very easy to contribute new service hooks back to them. So I took an evening, did my first Ruby coding in a while which included more time getting Ruby setup and working on my Macbook than actually coding....

25 Years, A Moment in Time

Image
"Daddy, what happened?" "It blew up, honey." My sister was five and she was the first to speak. I was seven and knew I was going to be an astronaut. We were in Florida on vacation and the shuttle was supposed to launch while we were there. My awesome parents drove us from our condo in North Palm Beach to the Cape, not once, not twice but three days in a row as the launch continued to get scrubbed due to cold weather. I remember the instant the shuttle blew up, watching it from the side of a nearby roadway, and I knew exactly what happened. I remember the crowd gasp. And I remember my sister pulling at my father's arm and being the first in the crowd to say anything. I remember being annoyed, as most typical seven-year old brothers tend to get, when she asked a question I knew the answer to. I remember the look on my parents' face. I remember feeling sad. But most importantly, I remember how proud I felt and how much more I wanted to be an astronaut...

Trends of Vulger Phrases

Image
Of course my mind first goes to typing vulgar phrases into Google's new N-gram Viewer but the results were pretty neat.

Simplifying logging with Maven and SLF4J

UPDATE: Ceki commented below which prompted me to rewrite the third paragraph. UPDATE 2: I have a better way of configuring Maven and SLF4J now. The mismatch between logging frameworks always seems to come up in projects I've developed over the years. Little-by-little I've learned and relearned how to navigate the nest of runtime logging that occurs in non-trivial applications. With my latest project I think I finally converged on a solution that I'll carry forward to future projects. So what am I really talking about? Have you ever been stumped, even for a short time, about where a certain log message is going and why it might not appear in your log? Often this happens when you are trying to debug an issue with a third-party library that's using a different logging implementation them your application. If you are nodding from familiarity, skip the next paragraph. Let's start from the beginning. There are several logging implementations available for Java, th...