Jeff Malterre

accessible web programmer, SEO specialist, e-commerce professional

3 books I'd like to read

VIM is probably one of the most powerful text editors I’ve ever come across. I can’t even begin to tell you what it’s capabilities are. This book is probably a little advanced for me, but I’ll still be able to learn from it.

Java is always something I wanted to learn. Also, I enjoy reading books published by Apress.

MooTools is a light, modular JavaScript framework that makes adding Ajax, animations, and interactive elements to your site a breeze. This would help a lot with web animation, and avoiding building applications in Flash.

Thinkpad x61 with Ubuntu: Getting the 3rd mouse button to work.

There are two different methods I found, which work for different version of Ubuntu.

Read the rest of this entry »

X61 Wireless: Fixed

Ok the subject is a little misleading, I didn’t actually fix anything, because nothing was broke to begin with.  I have verified that the problem is not hardware related.  I have a strong belief the culprit was the AccessConnections software.  When I last used the ThinkVantage software updater, it upgraded my AccessConnections software.  After this update, the integrated network adapter just completely stopped working.

Read the rest of this entry »

America's Most Wanted's John Walsh – CASE SOLVED TODAY

I’m in complete awe, 27 years later this case is finally solved.

If you didn’t know, “America’s Most Wanted” TV host John Walsh’s son went missing on July 27, 1981.  Today this case was finally solved.

My deepest condolences to the Walsh family.

Read more here:
Fla. police close books on ’81 Walsh killing

Great gift idea for Superbad fans!

I happened to stumble upon this at Spencers.  This is a picture book of penis cartoons from the movie Superbad.  Great gift for anyone who is a fan of the movie.

More on the x61 wireless problem.

I’m seeing more and more people getting this problem.  I think we all need to make at least stick to the same board, I see too many topics on too many different boards.

Please, if you’re having an issue using your integrated Intel wireless adapter on a ThinkPad x61, I urge you to support this thread and make a post:
http://forums.lenovo.com/lnv/board/message?board.id=X_Series_Tablet_ThinkPads&thread.id=754

Symptoms

  1. I noticed an inconsistency with the device before it started waiving the white flag.  I used my x61 on a docking station at work, and when I brought it home to connect to my wireless network, I noticed that sometimes I would not be able to see any available wireless networks to connect to.  Sometimes I would have to use Vista to repair the network connection.  It would tell me that I had to “click this button to turn on my wireless device,” even though the light was on, even though my switch was on, and even though the device was working properly.  It seems like switching back and forth from a wired to wireless network connection may have played a part.
  2. One day, it decides to just completely stop working.  The light for the device won’t come on, even though the light for the Bluetooth device still comes on (the switch to turn on/off wireless controls both the wireless adapter and Bluetooth adapter.)
  3. Vista sees the device, says it’s working properly, but I can’t access it in the Network Connections dialog.

What I’ve tried so far

  1. Updating software via Vista updater.
  2. Updating software via ThinkVantage updater.
  3. Uninstalling/Reinstalling drivers for the Intel wireless adapter.
  4. Disabling/Enabling the Wireless LAN setting in BIOS.
  5. Reset all default settings in BIOS (don’t do this unless you know what you’re doing.)
  6. Installing another operating system (Debian, stable.)

Dealing with the problem in Linux

I’m no Linux guru, but I needed to confirm that this wasn’t another one of those “Vista is screwing with my hardware,” problems.  I’ve installed Linux on the x61 before, wireless worked out of the box, this time it didn’t.  I brought my machine over to the LUG/IP HW-SIG meeting to see if I could get any expert help with this issue. Vinko helped me me out as much as he could with the time left in the meeting.  I noticed that the operating system at least saw the device, and knew information about the device, but it wasn’t working.  I asked Vinko if that meant if this would rule out a hardware failure, it doesn’t.  Vinko manually installed the module/drivers for the device, and that’s where we left it off at.  This will be continued when more information is gathered.

My hypothesis

I read many of times about how people are complaining about the heat generated from this card.  That spot where your right palm/wrist sits, is basically where the wireless network adapter is located.  It either generates an abnormal amount of heat, or we are just feeling a all the heat that we shouldn’t be feeling because of a poor case design… Who knows.  I couldn’t tell you how much heat this device is supposed to generate, nor could I tell you how much heat my device is actually generating.  I barely noticed it, because I use external peripherals (wireless mouse/keyboard.)  Could this device malfunctioned due to overheating?  I don’t really know for sure, I’m not a hardware expert anymore, but I don’t think it’s something to completely rule out.  Could my operating system still see a working device, even though the device might have a hardware failure?  I believe so, it depends on what happened really.

Delicious for WordPress Plugin – W3C Validation Error: Fixed

I keep almost all my bookmarks at Delicious (formerly del.icio.us.)  So I noticed there is a WordPress plugin to display your Delicious bookmarks.  One of the things I do after I add a new plugin to WordPress, is to validate a page using The W3C Markup Validate Service.  I noticed that my markup was now invalid, but it wasn’t really because of the plugin itself.  The errors were caused because some of my Delicious bookmarks have predefined ampersand characters, and the plugin did not replace these with HTML entities.  I first tried replacing my bookmark titles in Delicious, but that just screwed up my titles (I always go for the easy way first.)  So it’s time to start editing sources again…

What we need to do to fix this is really quite simple, find the string that stores our bookmark title, and replace the predefined characters with HTML entities.  While looking for the best method to do this using PHP, I found a function that I never knew about before.  There’s actually a nice PHP function to do this: htmlspecialchars()

Certain characters have special significance in HTML, and should be represented by HTML entities if they are to preserve their meanings. This function returns a string with some of these conversions made; the translations made are those most useful for everyday web programming. If you require all HTML character entities to be translated, use htmlentities() instead.

This function is useful in preventing user-supplied text from containing HTML markup, such as in a message board or guest book application.

Perfect, this is what we’re going to use.  So let’s find that string now…

Open delicious.php and go to line 74:

73
74
75
76
77
foreach ( $bookmarks->items as $bookmark ) {
$msg = $bookmark['title'];
if($encode_utf8) utf8_encode($msg);
$link = $bookmark['link'];
$desc = $bookmark['description'];

So we’re going to take line 74 and change it to this:

73
74
75
76
77
foreach ( $bookmarks->items as $bookmark ) {
$msg = htmlspecialchars($bookmark['title']);
if($encode_utf8) utf8_encode($msg);
$link = $bookmark['link'];
$desc = $bookmark['description'];

Quite simple, now we’re back on the right track :)

FSC – Fire Safe Cigarettes

If you didn’t already know, our cigarettes are changing (most have already changed.)  Take a look at your pack of cigarettes, find the UPC bar code on it and check to see if it has “FSC” written over it.  If it does, you have just bought yourself a pack of Firesafe cigarettes.  Most of the cigarettes in the U.S. are already changed, and there’s pretty much nothing you can do about it.  They are to prevent fires (go figure) by the cigarette self-extinguishing if it is not being smoked.  Basically, if you don’t smoke it, it will go out.  I think the idea is good, however the method, in my honest opinion, sucks.  There are a few differences I’ve noticed over the past 6 months.

Fire starting cigarette

That’s right, this thing starts fires.  I’m sure all you dedicated cancer stick loving fiends know that when you go to tap on your cigarette, that if you tap too hard the lit end (cherry) will pop off.  Well, this happens a lot more often with these new cigarettes.  For some reason it burns funny when exposed to wind, causing either the paper to burn before the tobacco, or vice-versa.

Scenario:  Your driving along, smokin’ a stick with the windows cracked about an inch.  You go to tap out your cig in the ash-tray and guess what happens?  The lit end pops off.  Where does it go?  Maybe if you’re lucky it will land straight into the ash-tray, maybe not (several times now has the lit end of my cigarette popped off onto myself, and my car floor.)  Will the cherry go out?  No, sorry.  It’s just the paper on the cigarette that has those bands to extinguish the cigarette, not the actual tobacco.  So your screwed, you try to put the cherry out before your car turns into a flaming ball from hell, causing you to crash, and die.

Can this happen?  I think it’s likely to happen.  Like I said I’ve already had close encounters dealing with a cherry popping off, it’s only a matter of time.

Taste

Who the hell do you think you are screwing with my cigarettes?  Where do you get off?  If I’m smoking cigarettes, I’m probably more likely to die from cancer than passing out, dropping a lit cigarette (starting a fire), and then burning in that fire (or inhaling too much of the ‘bad’ smoke), and die.  You’ve changed the taste of my cigarette, and don’t even try to deny it.  New Jersey switched over before Pennsylvania (PA is now FSC), and I had my share of both.  Damn right they taste different.  So let’s be honest, there’s a little more than 3 little bands in my cigarette.  I taste the different from start to finish, don’t play us for fools.

Toxins

Are they more harmful?  Do I care?  In all honesty, if you’re already smoking cigarettes you probably don’t give a shit whether a firesafe cigarette is going to do more harm to your body than a pre-FSC would.  To answer my question, no, I don’t care if they are more harmful.

Solution

There’s only one possible solution I could think of, choice.  Give us the choice to buy a fire safe cigarette.

References

Want to read more about how are our cigarettes are now a pain to smoke?  Sure…

Coalation for Fire-Safe Cigarettes

The Petition

del.icio.us

  • No bookmarks avaliable.