SSL sucks

I swear every time I start going down the SSL path I get similar errors and never remember what they mean. Trying to get my app talking to qpid broker using the JMS client.

Caused by: Received fatal alert: bad_certificate
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[na:1.7.0_55]
at ~[qpid-common-0.22.jar:na]
... 3 common frames omitted

Phone scam

Just received a call from 1-202-456-7890 (notice the increasing numbers) telling me that I’ve been selected by the “government” for a $9,000 grant. It is only given to those citizens that pay their taxes on time, no bankruptcies, etc. Apparently I can use this money for whatever I want home repair, buy a new car, etc. EXCEPT for gambling. I can receive this money in one of two ways either a bank account (savings, checking, money market) or a “plastic account” that is credit card, debit card, etc. I asked if this money was subject to income tax, they said NO (yeah right), then I asked to have a certified check mailed to a PO Box. They said it can only be sent via bank or plastic account. The “government” has not authorized payment via check.

At this point I grew tired of his bulls**t and said that I’m going to report them to the FTC, FBI and FCC. Do not call my number anymore. After I hung up I called the number to see if it was indeed a fake one, and sure enough “you’ve reached a non-working number”.

So if you get a Washington, DC or any call asking for information, don’t give it to them. It is fun playing along though :)

The FTC already has this scam in various forms:

Eclipse you suck!

I’ve spent several hours trying to get the Android Developer Toolkit version of eclipse to run on Fedora 20. It’s constantly keeps dying with a segfault and libsoup.

[13899.331278] java[15520]: segfault at 0 ip 0000003929c70061 sp 00007fb66bd4df40 error 4 in[3929c00000+a8000]

I’ve tried all the workarounds on the net which suggest to make it use mozilla, so far no luck.


I even deleted my $HOME/.eclipse, that didn’t work. I switched to a new workspace specifically for ADT. Again didn’t help, still constantly dies.

UGH! Piece of Garbage. And to Ajay, no IntelliJ comments :)

tmux window name

Here’s how I got my tmux windows to be named ‘short hostname:working directory’.

Create a bash function in your $HOME/.bashrc.

settitle ()
    # only run this in tmux
    case "$TERM" in
            # get hostname without FQDN
            H=`hostname -s`
            # get current directory without the full path
            D=`basename $PWD`
            # set title of tmux/screen window
            printf "33k$H:$D33\\"

Then call settitle from your PS1 prompt variable:

PS1="...(settitle)\$ "

Here is my current prompt:

PS1="[\u@\h \W\$(git branch 2> /dev/null | grep -e '\* ' | sed 's/^..\(.*\)/{\1}/')]\$(settitle)\$ "