Showing posts with label rant. Show all posts
Showing posts with label rant. Show all posts

Wednesday, April 15, 2009

A rant: Buy.com won't let me ... buy

Won't Let Me 'Buy' dot com

So, I'm trying to buy some CyberPower UPSs for my work. I price out various online vendors, and Buy.com happens to have the best pricing when including shipping. So, I try to purchase the UPSs from Buy.com.

Problem: I'm using a personal Discover card which has my home address as a billing address, but I don't want these shipped to my home - I want them shipped to my employer's office.

Now I make similar purchases. All. The. Time. Places like Dell and Amazon and NewEgg let me purchase things with my personal Discover card and ship them to my office just fine, thankyouverymuch. But, when I try to check out, Buy.com refuses to let me do so because my shipping address doesn't match my billing address. I remember back like 9 years ago when a lot of vendors forced you to ship to your billing address, but then they started just asking for that three digit code on the back of your card and the world returned to normal.

So, what to do?

Well, I call up Discover. They let me register my office address with them and say that vendors shouldn't have a problem, so I should talk to Buy.com again.

Well, instead of calling Buy.com since their website flat out won't let me continue (and they don't actually list a phone number on their website, although it's 1-800-800-0800, fyi), I I notice Buy.com does offer to let you use PayPal. So - plan B. I check out with PayPal, which is set up to use my Discover card, and in PayPal I tell them to ship to my office address. Order accepted. Yay.

Buy.com order - accepted!

But - not so fast. I then get an e-mail stating that my order has been rejected, because the shipping address isn't a confirmed address with PayPal. Super.

Buy.com order - denied!

So, now, although for a little while I thought I was sailing smoothly, I'm now actually back to square one. I want to buy these, with my personal Discover card, and ship to my office address.

So I call up Buy.com. I'm on hold about 15 minutes wondering again again why I'm putting myself through this for give them my money and being told over and over that I'm a "valued customer" - which isn't even true on two accounts. They won't let me be a customer (they won't take my money!), and a 15 minute wait means I'm really not valued.

I finally get to talk to someone. Or "talk" to them, because the woman's grasp on English... "naght szo grud." After a first failed attempt she pulls up my (now rejected) order. Then I explain what I'm trying to do.

She basically says their system is utterly unable to accept an order where the billing address is different from the shipping address if you're using Discover. It's ambiguous if I could use a different credit card brand and get better results, but she does try to steer me to some Buy.com "no payments for X days" plan. No, sorry, not interested. I tell her if they're unwilling to make this easy for me, I'm going to their competitors. I try to be semi-polite, but I basically hang up on her.

Now I'm in the process of ordering from Amazon. It's going to cost a little more, but I like Amazon - they let me ship things I'm buying for my company ... to my company. Scratch that - they let me buy things. Unlike Buy.com, which should seriously consider a name change.

Monday, August 11, 2008

Either Pizza Hut Can't Do Math Or...

they are trying to rip people off...

As a rule, I don't buy pizza from Pizza Hut because I don't like giving business to a company which prefers to have their their employees be murdered than Constitutionally defend their lives. But it's my wife's favorite pizza place, so the rule is occasionally broken.

In any event, today, while attempting to order from Pizza Hut using their website they tried to rip me off by $3.00. I wound up calling the store directly and got the correct price, but if I had ordered via their website I would have paid a mysterious three bucks. Observe:

Exhibit A:
Pizza Hut Coupon

Two pizzas, double breadsticks, $24.99.


Exhibit B:


Two pizzas, double breadsticks, $27.99.


Huh?

Friday, August 17, 2007

Of VMWare, OpenSSL, and 64 Bit Linux

This post (rant) is probably only of potential interest to Linux nerds. If you are not such a nerd, perhaps I can recommend something more universally enjoyable.

OK. You are still with me.

So, at work, we recently received three new Dell desktops. Specifically, three new Inspiron 530 desktops. They were cheap (like $725 each, including a 20" flat panel display) and perhaps best of all, we could buy them with FreeDOS to avoid the "Windows Tax". (They are/were also available with Ubuntu pre-installed; for some reason it made more sense to order them w/ FreeDOS and install Ubuntu ourselves though.)

So, this week I've been working to get them set up. The process has been frustrating. Hence, this rant.

To begin, the Ubuntu install went pretty smoothly. Except, "out of the box," the network card isn't recognized. (This despite the fact that Dell sells this machine, with Ubuntu (!?)).

With the aid of the internet, that wasn't too hard to get around. Just download and install the Intel provided driver for the network card. Yay Ubuntu Forums and the Blogosphere for getting me past "issue #1".

Although we wanted to use Ubuntu as the host OS for these new machines, we're a practical bunch, and recognized we'd need to put on Windows as well. We have a ton of old unused Windows 2000 Professional licenses, so the plan was to throw up a Windows 2000 virtual machine on the desktop using VMWare Server.

In a typical scenario this all works out pretty nicely. We have one caveat that makes it a nightmare. We recently set up an LDAP server for centralized user account management and want to use that LDAP server to manage the users and groups for this machine.

Here is where the problems start.

Getting the machine generally to authenticate against LDAP went smoothly. Change the appropriate files in /etc/pam.d/ and you are all set. And I was tempted to think that because everything else that uses PAM for authentication was so easily set up this way, we could take care of VMWare's authentication settings (getting it to hit LDAP as well) by just changing /etc/pam.d/vmware-authd. How wrong I was.

Here's the problem. Our desktops are 64-bit systems. So, /lib/security/pam_ldap.so is 64-bit. But the VMWare binaries are 32-bit. So, when VMWare tries to load the 64-bit pam_ldap.so, that bombs out.

That's all fairly reasonable and understandable. Apple worked out universal binaries that load under both PowerPC and Intel architectures, so it would be nice if you could have shared libraries that worked with both 64- and 32-bit programs (it would be very nice) but I don't find this "can't load 64-bit libraries in 32-programs" restriction unreasonable.

What I do find somewhat unreasonable is that VMWare isn't shipping a 64-bit version of their Server product yet. OK, they have 64-bit drivers and extensions and things ... and they can even run virtual machines with 64-bit guest operating systems ... but look, this is 2007 - VMWare's core binaries should be available as 64-bit. I have to guess that a good majority, if not a super-majority, of machines that run VMWare Server, are 64-bit machines running 64-bit operating systems. Why VMWare is still providing 32-bit binaries to run on the 64-bit machines really doesn't make sense to me. (And it would help me get past part of my problem with loading pam_ldap.so so VMWare Server will play nice with our LDAP authentication scheme.)

So, anyway, the answer looks to be with compiling a 32-bit version of pam_ldap.so that VMWare's binaries will be happy to interact with. I've tried this, but it didn't work.

It's gets even more complicated though. And this is where the third item in my post's title, OpenSSL, enters the picture.

VMWare's binaries link to OpenSSL. And, for whatever reason, the good people that have given their time to develop OpenSSL have developed it such that it's shared libary's SONAME includes the version number. So, this causes a mess because VMWare links to (and provides in it's /usr/lib/vmware/lib directory) OpenSSL 0.9.7. But, recent Linux distributions ship with 0.9.8.

So, to get around that whole mess, you basically have to compile your own OpenSSL version 0.9.7. Then, compile OpenLDAP, linking to the OpenSSL you just compiled. And then compile pam_ldap linking to that OpenLDAP you just compile. And, you don't want to make any of these things are compiling available system wide, because they are probably different versions from what your OS's package manager has installed, so when it comes time to do make install for each, be careful. Ugh. What a hassle.

And if you have a 64-bit machine running a 64-bit OS, you need to do all of those compilations targeting 32-bits. Ugh (again).

And the above series of compilations is exactly what I tried to do, but for whatever reason things still aren't working for me. VMWare is now starting to load my specially compiled pam_ldap.so, but it bombs out doing so because it can't find libldap-2.3.so.0, despite that in my /etc/xintetd.d/vmware-authd file I have:
env = LD_LIBRARY_PATH=/usr/lib/vmware/lib/libldap-2.3.so.0:/usr/lib/vmware/lib/liblber-2.3.so.0

specified (and I have my specially compiled libldap-2.3.so.0 living at that file path).

Having tried this way too many times, I'm now giving up on this whole approach and trowing in the towel and making these new desktops authenticate locally instead of against the LDAP server. What a shame.

I'll also note a couple related things though, should someone want to take up trying to get this work for themselves.

First, for users that authenticate via LDAP, here's what happens when they try to launch vmware-server-console without all the library and pam_ldap stuff set up correctly:


$ vmware-server-console
Cannot get temporary directory for log file.

VMware Server Console Error:
VMware Server Console unrecoverable error: (vmui)
Cannot get temporary directory for log file.
Please request support.
To collect files to submit to VMware support, run vm-support.
We will respond on the basis of your support entitlement.


Press "Enter" to continue...


Helpful, huh!?.

(Based on what I've found on the VMWare Forums, it looks like vmware-server-console tries to look up the current user's name via PAM and since the user comes from LDAP, that fails, and vmware-server-console can't do the look up so it's fails.)

There are some good forum threads and blog entries concerning the whole old-version-of-OpenSSL-dependency thing that are worth referencing:


Best of luck to anyone who is trying to get a similar set up to what I tried to work. If anyone does have success, I'd love to hear about it!

Update: Per the suggestion of a friend (which I wish had been as obvious to me as it was to him), I made a second attempt at this, but starting with the 32-bit version of Ubuntu 7.04. There's really no particularly compelling reason to use the 64-bit version on these workstations. When I made my initial choice my thought process just sort of when "they have 64-bit processors, I'll go with the 64-bit version of the OS."

After starting with the 32-bit version of the OS, everything went smoothly. I did have to specially compile OpenLDAP so that VMWare would use pam_ldap correctly. Following the steps referenced above as provided by "darkness" ("Using pam_ldap with VMware Server on Fedora Core 5") worked great. In terms of a bash command history, here's what that winded up looking like:

mkdir -p ~/tmp/root/usr
wget http://www.openssl.org/source/openssl-0.9.7m.tar.gz
wget ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.3.38.tgz
tar xzvf openssl-0.9.7m.tar.gz
tar xzvf openldap-2.3.38.tgz
cd openssl-0.9.7m/
./config --shared --prefix=~/tmp/root/usr
MAKEFLAGS=-j8 make && make install
cd ..
ls -al root/usr/lib/libssl.so # just to check it exists
ls -al ~/tmp/root/usr/lib/libssl.so # just to check it exists
cd openldap-2.3.38/
CPPFLAGS=-I$HOME/tmp/root/usr/include LDFLAGS=-L$HOME/tmp/root/usr/lib \
LD_LIBRARY_PATH=$HOME/tmp/root/usr/lib ./configure --prefix=/usr \
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --disable-slapd \
--disable-slurpd --disable-backends --disable-overlays --with-threads=posix \
--disable-static -enable-shared --enable-dynamic --enable-local --with-tls
make depend && MAKEFLAGS=-j8 make
make install DESTDIR=$HOME/tmp/root
ls -al ~/tmp/root/usr/lib/libldap.so # just to check it exists
cd ~/tmp/root/
sudo install -o 0 -g 0 -m 755 -d /usr/lib/vmware/lib/libldap-2.3.so.0
sudo install -o 0 -g 0 -m 444 usr/lib/libldap-2.3.so.0.2.26 \
/usr/lib/vmware/lib/libldap-2.3.so.0/
sudo ln -s libldap-2.3.so.0.2.26 \
/usr/lib/vmware/lib/libldap-2.3.so.0/libldap-2.3.so.0
ls -la /usr/lib/vmware/lib/libldap-2.3.so.0/libldap-2.3.so.0 # just to check
sudo install -o 0 -g 0 -m 755 -d /usr/lib/vmware/lib/liblber-2.3.so.0
sudo install -o 0 -g 0 -m 444 usr/lib/liblber-2.3.so.0.2.26 \
/usr/lib/vmware/lib/liblber-2.3.so.0/
sudo ln -s liblber-2.3.so.0.2.26 \
/usr/lib/vmware/lib/liblber-2.3.so.0/liblber-2.3.so.0
ls -la /usr/lib/vmware/lib/liblber-2.3.so.0/liblber-2.3.so.0 # just to check
ls -la /usr/lib/vmware/lib/libldap-2.3.so.0 # just to check
ls -la /usr/lib/vmware/lib/liblber-2.3.so.0 # just to check


Then, edit /etc/xinetd.d/vmware-authd to be:
# default: on
# description: The VMware remote access authentification daemon
service vmware-authd
{
disable = no
port = 902
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/vmware-authd
type = unlisted
env = LD_LIBRARY_PATH=/usr/lib/vmware/lib/libldap-2.3.so.0:/usr/lib/vmware/lib/liblber-2.3.so.0
}


And finally, edit /etc/pam.d/vmware-authd to the following:

#%PAM-1.0

#ORIG CONFIG
#auth sufficient /lib/security/pam_unix2.so shadow nullok
#auth required /lib/security/pam_unix_auth.so shadow nullok
#account sufficient /lib/security/pam_unix2.so
#account required /lib/security/pam_unix_acct.so

# Changes to enable LDAP

auth sufficient pam_ldap.so
auth sufficient /lib/security/pam_unix2.so shadow nullok
auth required /lib/security/pam_unix_auth.so shadow nullok

account sufficient pam_ldap.so
account sufficient /lib/security/pam_unix2.so
account required /lib/security/pam_unix_acct.so

Thursday, December 14, 2006

Help Save the Children!

Most of my spam these days is "stock tips". This one made me take notice though. Spamming to help save the children!. Creative, I guess. No how, no way, am I ever giving money to a spammer though, and I hope someone investigates these people 'cause I have serious misgivings about the notion that the money they recieve actually goes to "the children".



And now I leave you with some of this spam's words to live by:


Figures because claim, theyve gotten started year says tens. Up dogs mention poodles qually. [...] Walt disney group earthlink gator cnet?


Indeed: Walt disney group earthlink gator cnet? The world may never know!

Sunday, November 26, 2006

I Heart Podcasts, But Only When My iPod Doesn't Crash

I love podcasts. A lot. At last count, I was subscribed to around 70 of them. Each morning for the duration of my 30 minute commute, I plug my iPod into the auxiliary jack of my Civic SI and get to listen people talk about topics I care about. Mostly world news, religion, TV commentary, and politics.

Well, everything was peachy until iTunes 7.0. *Sigh*.

iTunes 7 brought with it an iPod firmware update. Which added some cool features. Like, now, my iPod can support the latest video format the iTunes Music Store uses. And it keeps track of when I skip songs, which is handy for creating Smart Playlists to figure out what music I actually like.

More importantly though, it now makes my iPod crash when it encounters various MP3 files it doesn't like. And, conveniently enough, a lot of the MP3s from the podcasts I listen on a daily basis fall in to this "not-liked" category. So, I'm driving to work, listening away, and then suddenly my iPod's screen turns black followed by the Apple logo showing it's "booting up". How annoying.

Now the thing I love (loved?) about my iPod was that it "just worked". You plug it in and go. Things work as you think they should. As Joel of Joel on Software comments:


That beautiful thumbwheel with its little clicky sounds ... Apple spent extra money putting a speaker in the iPod itself so that the thumbwheel clicky sounds would come from the thumbwheel. They could have saved pennies ... pennies! by playing the clicky sounds through the headphones. But the thumbwheel makes you feel like you're in control. People like to feel in control. It makes people happy to feel in control. The fact that the thumbwheel responds smoothly, fluently, and audibly to your commands makes you happy.


Well, nothing makes me feel more out of control and unhappy than when I'm listening to my podcasts and out of nowhere, reboot. My iPod loses all of it's context about what podcast I was listening to, how far along I was into that podcast, what playlist I was listening to that brought me to that podcast, etc etc. So, I have to wait about 20 seconds for my iPod to reboot, then navigate back to my playlist, scroll through and find where it left off playing, skip the podcast the crashed my iPod, pick the next one and hope for the best. And, when it crashes again, repeat.

And, all these 30-45 second interruptions really start taking a toll on the enjoyment factor of a 30 minute commute.

Now, this bug is already pretty well documented out in the interweb. But I mention it now because a.) I need more content for my blog; and b.) today the crashing just really got to me:

Today I was returning from a trip to Pittsburgh, PA to visit my family for Thanksgiving. On the way down, it was smooth sailing: low traffic density and numerous podcasts enjoyed without a hitch. On the way back, it was a completely different story. Traffic was awful. It's not my number one pet-peeve, but coming to a full stop on a highway is high on the list. And, as though my iPod could read my mind and say "this would be an excellent time to really tick you off!" *poof* - it crashed. Trying the next podcast I want to listen to, crash again. For a little while I even gave up and turned to John Tesh DJ-ing Christmas music on the radio. (Christmas music = good; John Tesh = not my favorite; it was certainly no comparison to the "hand picked talk radio" experience my iPod should have been providing!)

What really gets me though, is that Apple released this broken firmware update back in September. Apple doesn't have a perfect record for releasing bug-free software upgrades. But they do have a good record for releasing patches quickly to fix any bugs that crop up in those non-bug-free software upgrades. Why they still haven't released "iPod Firmware 1.2.1" yet is beyond me. Having my iPod crash is getting really annoying though.