Motorola Admiral Review Follow-Up

Posted in General, Technical on November 16th, 2011 by p14nd4

I wrote my initial review of the Motorola Admiral (my new phone) about three and a half days after getting my hands on it. I’ve been using the phone full-time for almost two weeks now, so wanted to follow up with a few other thoughts. You should definitely read the initial review above to put these additional notes into context.

Read more »

Tags: ,

Mini Review: Motorola Admiral

Posted in General, Technical on November 7th, 2011 by p14nd4

After nearly five years of using my trusty (Palm OS-based) Treo 700p (preceded by over three years with a Palm OS-based Treo 300, preceded by over a year with a Treo 180, etc…), I finally bit the bullet and moved to Android. I actually did pick up a used Samsung Moment (landscape QWERTY slider) off a friend a couple summers ago, but never activated it; pretty much all of my reference point for Android comes from that device, though (running a custom rom, rooted, Android 2.1). I wasn’t especially thrilled with the Moment for a few reasons, which convinced me it was alright to stick with my Treo for a while longer, and keep my eye on the market. A few months ago, there were some leaks about an upcoming portrait QWERTY device from Motorola on Sprint that was supposed to be pretty fancy, and even back then, I had pretty much made up my mind: this would be my next phone.

Details in subsequent leaks changed a little bit, and the rumored release date came and went without additional information, but at long last, the Motorola Admiral was released at the end of October. I was hoping to find some other reviews online right away, but they didn’t come immediately. A few people on forums ordered the devices promptly and answered a few questions, and someone posted a Youtube overview, but there wasn’t exactly a thorough review out. Nevertheless, I decided to pull the trigger, and ordered mine (requiring upgrading my plan to Everything Data) this past Wednesday. I was fairly impressed with Sprint’s customer service that got my plan changed and corporate discount applied over online chat with virtually no pain, and then I ordered the phone, and they had it to my door around noon the next day. Nice work, guys!

Read more »

Tags: , ,

Solved: no iKVM64 in java.library.path on SuperMicro IP KVM

Posted in Technical on September 30th, 2011 by p14nd4

I recently purchased a Super Micro X7SPA-HF-D525 motherboard, and was excited to try out the IP-KVM feature. While I was able to log into the web interface fine, launching the console redirection java webapplet partially proceeded, but eventually failed for me with an error no iKVM64 in java.library.path. I was able to experiment a bit and developed a patch (below) for the launch.jnlp file served for the iKVM applet that enabled this to run on my system (i.e. downloaded the launch.jnlp, patched it, then ran with javaws launch.jnlp). When run without the patch, Java fails to download liblinux_x86_64.jar for me, because it only tries the following two URLs, which don’t contain the relevant file: https://192.168.0.207:443/liblinux_x86_64.jar?version-id=1.0.3 and https://192.168.0.207:443/liblinux_x86_64.jar (while the actual path is something like /liblinux_x86_64__V1.0.3.jar.pack.gz).

Read more »

Tags: ,

[protobuf] Solved: Invalid file descriptor data passed to EncodedDescriptorDatabase::Add()

Posted in Technical on September 23rd, 2011 by p14nd4

I’ll make this brief, but wanted to document my fix to potentially save someone else some aggravation in the future.

I’ve been working on a c++ project utilizing Google protobuf, and at one point ran into an error during application startup (static initialization):

libprotobuf ERROR google/protobuf/descriptor_database.cc:314] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
libprotobuf FATAL google/protobuf/descriptor.cc:862] CHECK failed: generated_database_->Add(encoded_file_descriptor, size):
Abort (core dumped)

Read more »

Tags: , ,

Solved: Debugger:: An unhandled non-continuable exception was thrown during process load “0xc0000022”

Posted in Technical on November 22nd, 2010 by p14nd4

I recently developed a new application on my local machine (in Visual Studio/C++ 2008), and then moved it into our source/revision control system at work, IBM/Rational ClearCase (cc). The new app uses some third-party libraries for which we only have DLLs (no source), so I checked those into ClearCase, too. Unfortunately, the first time I made any changes to the version in cc and tried to step through the app in the debugger, I was immediately presented with an unfriendly error and app termination:

Debugger:: An unhandled non-continuable exception was thrown during process load

along with some return code (0xc0000022).

Read more »

Tags: , ,

WordPress vBulletin Bridge (vbridge) disabling WP Super Cache

Posted in Technical, TechwareLabs on September 7th, 2010 by p14nd4

As mentioned in my previous post, I’ve been playing with WordPress, vBulletin, vBridge, and some other stuff as part of my work for my other site, TechwareLabs. One of the other plugins I utilize on that site is WP Super Cache, which I discovered was an easier way to accomplish basic static caching instead of trying to jump into the deep end of learning mod_cache, memcache, and other sorts of fancy things for an actual elegant solution.

Unfortunately, these are complicated systems, and vbridge in particular seems slightly less polished than some more widely utilized components (though, in fairness, its user base is considerably smaller than most wordpress plugins).

Read more »

Tags: , ,

WordPress vBulletin Bridge & NextGEN Gallery Error

Posted in Technical, TechwareLabs on August 17th, 2010 by p14nd4

I’m the webmaster (and co-founder) of TechwareLabs, which gives me opportunities to play with some technology, software, and code that I otherwise likely wouldn’t have the motivation (or occasion) to pursue on my own. (This isn’t the main point of the post, but one of the coolest in recent history was using Xdebug profiling in PHP with KCachegrind to debug a performance problem on the live site. Flipped the profiler on for a few seconds, sent a few requests to the server, disabled the profiler, and loaded the output in KCachegrind to immediately get an awesome graphical overview of all the calls made to render the page, and how long they took. I don’t get to use fancy software like that at my day job, so this was very cool to use, and even cooler that it actually helped solve my problem so quickly.)

Anyway, back to the main point of this post! We’re currently working on an integration between the site backend (WordPress) and our forum software (vBulletin). I found a slick plugin for WordPress that’s supposed to accomplish most of this: Complete WordPress/Vbulletin Bridge and a guide explaining that vBulletin’s own utility, ImpEx, already has the ability to import users from WordPress. (Side note: ImpEx is available only to current vBulletin license holders, and can be downloaded from the same page where you can download vBulletin, after logging into the members area on their site. This wasn’t immediately apparent to me from reading that guide.) Woo! I can follow instructions!

Things went pretty smoothly, other than the hiccup I had trying to use the WordPress or WordPress CMS importers in vBulletin ImpEx. I eventually realized I had to click some start over link to get ImpEx to clear my session before I could continue with the BBpress importer, as the guide mentioned above recommended. Things seemed to be working pretty well in my testing, aside from a few pesky PHP errors about headers already being sent on some pages in the WordPress admin control panel, and a few slightly more concerning vBulletin-generated emails about insufficient database connections (yet to be resolved).

The bad news came when someone actually tried to publish a live article, and discovered that the Add media button for uploading images wasn’t working, and was instead presenting an error:

Are you sure you want to do this?

Please try again.

I poked around in media-upload.php, and first noticed that $_GET[‘inline’] wasn’t being defined, so I thought this was the problem. Not so fast! I guess the staff’s been using the NextGEN Gallery Plugin for WordPress, so this does something fancy for the media upload links, so that wasn’t the problem. My google-fu was apparently a little weak, since although I found other people reporting the issue immediately, I had to read through about twenty pages of the plugin thread before I found a solution (which, in retrospect, I wish I would’ve thought to check, myself, earlier).

User ‘skariko’ posted a [possible?] solution for folks having a problem with the WordPress flash-based image uploader, and while this wasn’t exactly what I needed, it was the Eureka! moment I needed to solve it, myself with a few keystrokes of modification. He suggested modifying the following line in vbbridge.php:
[code lang=”php”]#if (basename($_SERVER[‘SCRIPT_NAME’]) == ‘upload.php’) { return; }[/code]
to
[code lang=”php”]if (basename($_SERVER[‘SCRIPT_NAME’]) == ‘async-upload.php’) { return; }[/code]
I’m guessing that async-upload.php is the file that the flash uploader posts to, and for whatever reason needs to be unaffected by the vbbridge code. Anyway, I wasn’t even getting that far, so I just changed it to
[code lang=”php”]if (basename($_SERVER[‘SCRIPT_NAME’]) == ‘media-upload.php’) { return; }[/code]
and everything magically worked!

It turns out that someone else posted this exact same solution on another page of the thread, but I wanted to share it here, too, so maybe someone else in the future can have better luck googling for a solution (or in case I forget how I fixed it, and have to fix it again :-p).

Tags: ,

Late Summer / Fall 2008

Posted in General, Personal on April 1st, 2010 by p14nd4

In addition to hanging out a ton with existing friends, I also started meeting some new people. I joined OKCupid, at the recommendation of a friend, so met some folks that way (yes, it’s a dating site, and I did go on some dates, but didn’t really have the spark and excitement with any of those people that I need to date someone. I am happy to report that I am still friends with at least a couple people from there, though. Additionally, the fact that I was hanging out with everyone I knew meant that I met friends’ friends, too, including a few particularly noteworthy people: John K (met via high school classmate John B), Marta D (met via college friend Matt E), Rachael T (met via high school friend Courtney S), and Mary P (met via college friend Naomi K).

Read more »

Spring 2007 – Summer 2008

Posted in General, Personal, Travel on November 3rd, 2009 by p14nd4

Alright! I concede! I am never going to get this blog up to date at the rate I’m going / in the depth that I typically provide, so this is my compromise. I’m going to forgo looking back on email records, facebook messages, and photos, and just recap some of the major highlights that stick out in my memory, hazy though it may be. (Give me a break; this post starts with events that occurred over two years ago.)

Read more »

Of Motorcycles, Thunderstorms, and Eukaryotes

Posted in General on August 3rd, 2009 by p14nd4

Introduction

Well, I’m on one of my weekly conference calls with some of our engineers in India, and don’t need to completely pay attention all the time, so I decided to start writing a little. But, rather than writing something substantial (like the very necessary continuance of my life update since I left off in spring 2007, I think), this entry is going to basically be a hodgepodge of a few things that are, or have recently been, on my mind.

Read more »

Tags: