Category Archives: Uncategorized

Elementary! MySQL did it, in the CPU, with the the leap second!

I awoke to an alert from a small Ubuntu 12.04 server I have on Linode: lots of CPU usage this morning,which is odd since I haven’t logged in for a while. Hmm. Looked at the CPU graph first, and the … Continue reading

Share
Posted in Uncategorized | 2 Comments

Android, Eclipse, XML files and weird error messages

More than once, I’ve gotten the following weird problem when looking at an XML layout for Android in Eclipse: Failed to parse file C:\Eclipse_workspace\ButtonTest2\res\drawable\arrow_1.xml Exception details are logged in Window > Show View > Error Log The error itself isn’t … Continue reading

Share
Posted in Uncategorized | Leave a comment

Building the Android emulator for Windows

Today I’ve been investigating an argument parsing bug in Android’s emulator on Windows (a bug that may affect all platforms). The version I’m seeing the bug was in the Android SDK r12 version of the emulator [Yep, r13′s out – … Continue reading

Share
Posted in Uncategorized | Tagged , , , , , , , | 2 Comments

Windows: hybrid sleep and hibernation

With the latest Windows (Vista and 7) you can select “Hybrid Sleep” as a suspend mode. In essence, it provides the fast restart of your usual sleep mode with the durability of hibernation: it writes the system state to disk … Continue reading

Share
Posted in Uncategorized | Tagged , , , | Leave a comment

Pinging with Python

2011-10-12 update: Brought in more changes from Jens Diemer’s new repository for the Python 2 version of this project. 2011-09-12 update: The version here is for Python 3.x as described below. Jens Diemer posted an updated version of this to … Continue reading

Share
Posted in Uncategorized | Tagged , , , , , , | 6 Comments

New (old?) Twitter password stealer making the rounds…

If you click a Twitter link and it sends you to a Twitter login page, beware… look closely at the address bar and ensure you’re actually at Twitter’s login page and not a thieving imposter’s page! Recently a friend on … Continue reading

Share
Posted in Uncategorized | Tagged , , , | 1 Comment

Moved to a new webhost as well as a new VPS host!

I have two online hosting systems I routinely use: one is a VPS that I use for things like secure proxy (mostly to secure insecure wireless connections) and otherwise keeping my sysadmin skills fresh. The other is a more typical … Continue reading

Share
Posted in Uncategorized | Tagged , , , , , | Leave a comment

Problems updating/installing samba4 in Ubuntu 11.04? Read here!

I recently upgraded my Ubuntu installation from 10.10 to 11.04 and the samba4 package had big problems being updated or installed. I finally found a way to properly install it, so hopefully this will be helpful to others. First, the … Continue reading

Share
Posted in Uncategorized | Tagged , , , , , , , , , | 5 Comments

Worthwhile reading for current or potential 64-bit developers…

I read this CodeProject article today and found it quite enlightening with regard to the pitfalls of 64-bit programing for those used to 32-bit programming. It’s well worth a read if you are a developer who wants to write solid … Continue reading

Share
Posted in Uncategorized | Leave a comment

Process Output Logging in Linux and Windows

As I was updating this Wikia page, I added a section about how to create a simple logfile. I thought it’d be useful to expand upon the subject here. Sometimes you want a raw log of whatever happens during a … Continue reading

Share
Posted in Uncategorized | Tagged , , , , , , , , , , , | 1 Comment

Adventures Building GCC 4.6.0 for Cygwin

I decided I wanted to try out GCC using Cygwin rather than my usual Ubuntu virtual machine. In the course of this adventure I learned how to build GCC 4.6.0 for Cygwin, got my feet wet over on StackOverflow, and … Continue reading

Share
Posted in Uncategorized | Tagged , , , | 3 Comments

Interesting Software Development Resources

Here are some interesting resources I’ve found with regard to software development. [Note that embedded best-practices are also applicable to writing multi-threaded code and coding in other resource-limited environments]: Interesting software dev articles from EE Times: “Top causes of nasty … Continue reading

Share
Posted in Uncategorized | Leave a comment

Photocopiers and privacy – things to ponder

I noticed this article at Lifehacker today about how much data today’s photocopiers retain.  It may seem like sensationalist journalism but it’s actually quite interesting and worrisome.  People are growing accustomed to the idea of securing personal data, not giving … Continue reading

Share
Posted in Uncategorized | Leave a comment

Building ZXing for Android part 3 – Using Eclipse

Several iterations of updates below:

Share
Posted in Uncategorized | Tagged , , , , , , , , , | 22 Comments