Howto: Fix MySQL Server dependency problems on Ubuntu LTS

Have you encountered this error? An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. Or maybe seen this? Errors were encountered while processing: mysql-server-5.5 mysql-server Or this? dpkg: error processing package […]

Read more
Implementing security in pre-investment startups

Today, I and Liz Dahlstrom had a great experience speaking at SOURCE Conference: Seattle. Run by Jamie Fullerton of SERENE Security, our audience was a group of security pros and executives. Our talk, “Implementing Security In A Pre-Investment Startup,” was well-received. Unfortunately, there was an A/V issue, and the talk was not recorded properly, so […]

Read more
How to read from the Assets folder in an Eclipse Android application

Seeing errors like these? java.io.FileNotFoundException at android.content.res.AssetManager.openAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:315) at android.content.res.AssetManager.open(AssetManager.java:289) The problem is that Eclipse isn’t finding your file, because you may not be using AssetManager to retrieve plain-text files from the assets folder. Here’s how to fix this: Note that there is no file extension on text. When I pasted ‘text.txt’ into […]

Read more
HOWTO: Always know your home computer’s IP address from anywhere using Dropbox

To always know what your home machine’s IP address is (and while I’ll assume that you’re running Kubuntu, this can be adapted using the following bash script to any machine). Apt-get ‘kcron’. Open Task Scheduler and set the following bash script to run every five minutes: #!/bin/bash J=`wget http://checkip.dyndns.org/ -qO – | grep -Eo ‘\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>’` […]

Read more