Al Hoang\
Just another weblog

Archive for the 'stupid' Category

On the irritation of trying to run GPG on a remote headless server

Monday, July 14th, 2008

My short, short suggestion is… don’t: This blog post explains it much better than I can although I definitely have been the victim of trying to generate a GPG key on a headless server to no avail:

While trying to generate a gpg keypair on a remote server, I discovered I lack entropy. Eventually I [...]

Happy half-a-decade blog

Wednesday, June 18th, 2008

Yeesh, I just looked at the date of my first post and it’s been a whole 5 years since I started blogging here.
What have I learned? People who blog multiple times a day must either have some kick-ass tools to do it quickly or way too much time. I seem to have neither [...]

Why does RTFM with GNU manpages just suck

Tuesday, May 13th, 2008

After looking at a seriously useful tip for cleaning out a clogged postfix queue I puzzled over the -r option in xargs. I’m not an xargs master but I figure if I need it I can always RTFM.
Well man xargs on my Ubuntu box provides the typical GNU fair and I spend the next [...]

What the fork are you doing Pidgin devs?

Saturday, May 3rd, 2008

After glancing at the Slashdot post on the forking of pidgin and wasting far too much time slogging through the ticket that caused a bit of strife, I’m pretty sure I will move away from Pidgin until the developers stop being dorks (highly unlikely since they seem to develop only for themselves).
Quick quick summary of [...]

One way to clean out a gazillion files in a directory without causing the server to hang on IO

Wednesday, April 30th, 2008

Had a case where I had some rails app that was using files for its session store and had been running like that for months. While it was a careless (and dumb) thing to run it that way, we had to do something about it since it was eating up close to 85% of [...]

OS X 10.4.11 update, you suck

Monday, April 14th, 2008

After a long time of not updating my trusty old iLamp iMac, I finally updated it to 10.4.11 over the weekend and let it lie. Later on I hear a report that Safari won’t start up.
That’s odd, I’ve never heard of Safari having launch problems before. I check the log and I [...]

Fixing that really irritating perl: warning: Setting locale failed. on OS X leopard

Thursday, April 10th, 2008

Anytime I’ve been running a perl based script on my leopard box I got this really irritating output with whatever else I was expecting:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = “En_US”,
LANG = (unset)
are supported and installed on your system.
perl: [...]

Meraki, how not to work with your customer base

Saturday, April 5th, 2008

Virishi tells a story of Meraki (an off-shoot of MIT Roof-Net) changing their tune.

Today I learn that my failure is due to the fact that Meraki has automatically updated the software on all of the units (including legacy, such as ours) so that you cannot install a different firmware on it, at all.

Not cool
Read more

Being stupid on numrows() versus getting the actual result in LuaSQL

Friday, March 21st, 2008

I’m dumb. I had a bug in a checker script that I wrote and only noticed it recently when I bothered to RTFM. Can you spot the error? Probably most programmers will.
Non-working version

require “luasql.mysql”

env = luasql.mysql()
mysqlconn = env:connect(”somedb”, “someuser”)
curs = mysqlconn:execute(”
SELECT COUNT(*) FROM some_table WHERE col1 = ”foo”)
print(”Number of rows in $dlq [...]

The Industry Standard commentators need to do the math on 99.999%

Friday, March 7th, 2008

The Industry Standard comments on Why don’t we accept less than 99.999% to which I say… are you willing to really pay for it?
For many things, I’m not. Demanding without paying is basically asking for a freebie. This smells of rant without a basis in my book.

The Paradox of the 9s
Five nines.. chasing [...]

HApps.org not happening. Not a good advertisement on high availability

Tuesday, February 26th, 2008

So I decided to take a peak at the up and coming web framework for Haskell called HApps however the web site seems down.
Normally, I wouldn’t care too much downtime however they have been down for OVER a day and a half from the time of this post. I find it hard to take [...]

Getting screwed by an upgrade (libtidy in Ubuntu 8.04 not ready for real work)

Wednesday, February 20th, 2008

On my workstation at work I’ve been running Ubuntu 8.04 to test out something I’ll post on later. However, one thing that was driving me nuts was that tidy was blowing up with a very unhelpful message like so:

/usr/lib/ruby/1.8/tidy/tidybuf.rb:39: [BUG] Segmentation fault

At first I thought it was some incompatibility with the gem installed version [...]

Soltek Qbic EQ390 and SATA non-goodness. 3.0Gb/s incompatibility

Saturday, February 16th, 2008

One of the problems with DIY PC builder-types is the joy of finding out the pieces that you try to assemble together have incompatibilities with each other. Sometimes it affects you at the hardware level, the OS level, or the application level. Either way it’s always a time sink isolating the exact [...]

The Irony about trying to read an article on how M$ runs their website is…

Saturday, December 15th, 2007

As of Dec 15, 2007 22:58 JST the blog link
http://blogs.technet.com/jeffa36/archive/2007/12/13/microsoft-com-what-s-the-story.aspx is so completely hosed (Thanks Slashdot) that I have to use a Google cached version to read about it.
Although in general, it’s merely a listing of stats without too much details although it’s more details than I’ve ever heard.
I do give kudos to M$ for [...]

Latest rev of Macbooks and keyboard conking out after sleep

Sunday, December 2nd, 2007

So I’ve been slowly re-initiating myself into the Church of Mac with a new Macbook however not all is well in Mac-land…
It seems the Macbook can have an unresponsive keyboard if you sleep it and wake it up (Also here).
Needless to say I find this bug extremely irritating and it really hurts the one of [...]

Protected by AkismetBlog with WordPress