May 2008
M T W T F S S
« Apr «-»  
 1234
567891011
12131415161718
19202122232425
262728293031  
 

jrsmith.net

jrsmith.net is home to JR Smith, a rambling mess of a person who occasionally produces creative things that humans like, and quite often produces horrible things that humans dislike.

The magic that is the internet will allow you to read more about him and the history of this site, if you feel so inclined, or venture into the duldrums. For the less curious, there are galleries containing art and web design (still being stocked).

If, after all that, you actually wish to speak with this poor creature, a number of communication mediums are at your disposal, but use them at your own risk.

Removing the hinge cover on an Acer AL2216W 22″ Widescreen LCD Monitor

1 year, 1 month old

A few tech-related tidbits:


First: I nearly destroyed my spiffy new 22" widescreen LCD last a week or two ago. I became obsessed with the idea that mounting it on the wall above my desk was an awesome idea. I picked up an overpriced wall-mount kit at Best Buy and began pestering my father to come install it for me, since I have no business using tools. He claimed to be washing all of his undergarments at that exact moment, and, thus, could not drive to Virginia Beach to assist, being sans drawers.

Fine. I'll install it myself.

Finding a stud became a topic of much debate. He wanted me to rap upon the wall with a knuckle and discern the difference between thuds. I tried. I tried hard. However, my ears proved to be more concerned with producing wax than with scrying subtle differences in resonance from one inch of drywall to the next. Fortunately I found an old stud finder that I'd bought during a similar adventure years ago, located a stud forthwith, and set about screwing the long screws into the stud by hand.

That's right. By hand. I am devoid of a working electric drill. I own one, actually, but I lost the charger and the battery has been dead for years. Now that I think about it, I bought it and the stud finder for the same purpose.

Anyway, long story short, I got it mounted and it's mostly level. But then the hard part began; I could not remove the monitor's stand. It was attached via a heavy metal hinge, seemingly embedded underneath the monitor's plastic case. I unscrewed everything I saw that was unscrewable. I even began to crack open the case. Fortunately, my lack of balls and patience prevented me from following through.

I eventually found a PDF for another model of Acer monitor that showed the following:

A swift pull with a pair of pliers later, the hinge cover was off, the hinge was unscrewed, and the monitor was in place. It only took 3 hours.

I'm posting this because during my searching for help, everything I read for this particular model said that removing the stand was impossible. When Google picks this up, I'll be famous for accomplishing the impossible, and the dough will start rolling in.


Second: Twitter. Twitter is an interesting service. It's basically a "What am I doing right now?" service. It has SMS and IM interfaces, so it's easy to use, but sort of pointless. It's enjoying some typical web 2.0 hype right now, so, of course, I've been using it. The problem, though, is that its increasing popularity has seemingly destroyed its servers. I had a little javascript "badge" going on the sidebar here. It killed the shoutbox in IE, but I don't care about IE users or their problems. It's been stalling the pageloads anywhere from 15-30 seconds lately, though, and that's not good.

Today I dropped by eightface and noticed they'd made a quick and dirty twitter RSS plugin. I was actually going to whip one up myself this weekend, but St. Patrick's Day disagreed with that plan.

It avoids the slow javascript issues that currently plague twitter. On the down side, it's not very user friendly right now (all configuration is done in the PHP file itself), and relies on Wordpress's RSS functions which update every hour, so if you're a heavy twitter user, it might not suit your needs. For me, it's great.

Side note: I had to temporarily override the default Magpie timeout to get it to read the twitter RSS feed. It's 2 seconds by default, which seems terribly short to me. Since the twitter site is excruciatingly slow right now, it was timing out. This may have to be a permanent change if the slowness continues to be a problem, which kind of defeats the purpose of using the RSS feed instead of the javascript badge. The only advantage is that the page doesn't hang when loading... The code to change in /wp-includes/rss-functions.php is

PHP:
  1. if ( !defined('MAGPIE_FETCH_TIME_OUT') ) {
  2.         define('MAGPIE_FETCH_TIME_OUT', 2)// 2 second timeout
  3.     }

Change it to:

PHP:
  1. //  if ( !defined('MAGPIE_FETCH_TIME_OUT') ) {
  2.         define('MAGPIE_FETCH_TIME_OUT', 300);   // 5 minute timeout
  3. //  }

Update: I've updated the twitterRSS plugin to show the date and wrap the description and date in the same span tags that the javascript version produced, so that any CSS definitions for the javascript version would still work. I'm using a plugin called Dunstan's Time Since to handle the delta calculation between the current date and the twitter date. If that plugin isn't present, it just shows the date time string as it appears in the RSS feed. Here are the changes:

PHP:
  1. $rss_url = 'http://twitter.com/statuses/user_timeline/5155.rss';
  2.     $username = "Dave Kellam";
  3.     $num_items = 5;
  4.     $before = "<li>";
  5.     $after = "</li>";
  6.     $hide_links = "true";
  7.     $hide_username = "false";

becomes

PHP:
  1. $rss_url = 'http://twitter.com/statuses/user_timeline/117733.rss';
  2.     $username = "JR";
  3.     $num_items = 1;
  4.     $twitter_before = '<span id="my_twitter_status">';
  5.     $twitter_after = "</span>";
  6.     $date_before = '<span id="my_twitter_status_time">';
  7.     $date_after = "</span>";
  8.     $hide_links = true;
  9.     $hide_username = true;
  10.     $hide_dates = false;

and

PHP:
  1. foreach ( $items as $item ) {
  2.            $description = $item['description'];
  3.      
  4.            if ($hide_username) {
  5.             $twitter = str_replace($username,'', $description);
  6.             }
  7.            
  8.            $twitter = htmlspecialchars(stripslashes($twitter));
  9.           
  10.            if (!$hide_links) { $url = $item['link']; print $before . "<a href=\"$url\" title=\"Permanent link\">$twitters</a>" . $after; }
  11.            else { print $before . $twitter . $after; }
  12.         } // end foreach

becomes

PHP:
  1. foreach ( $items as $item ) {
  2.  
  3.             $description = $item['description'];
  4.             $date = $item['pubdate'];
  5.        
  6.             if ($hide_username) {
  7.                 $twitter = str_replace($username,'', $description);
  8.             }
  9.        
  10.             $twitter = htmlspecialchars(stripslashes($twitter));
  11.    
  12.             if (!$hide_links) {
  13.                 $url = $item['link'];
  14.                 $twitter = "<a href=\"$url\" title=\"Permanent link\">$twitter</a>";
  15.             }
  16.  
  17.             print $twitter_before . $twitter . $twitter_after;
  18.            
  19.             if (!$hide_dates) {
  20.                
  21.                 date_default_timezone_set('UTC');
  22.  
  23.                 if (function_exists('time_since')) {
  24.                     $date = time_since(abs(strtotime($date)),abs(time())).' ago';
  25.                 }
  26.                
  27.                 print $date_before.$date.$date_after;
  28.             }
  29.            
  30.         } // end foreach


Third: This isn't tech-related. St. Patrick's Day. I was supposed to go to Matt Burchfield's house and play some drunken Wii tennis, but that didn't quite happen. I feel kind of guilty about that. As for what actually did happen, well, all I can really say is...

...yeah. It was that kind of night.

    1 Comment

  1. Gravatar Rick 1 year, 1 month later

    Just a quick note to say thanks - I took the hinge off my AL2216W today (to mount a better, desktop stand - one that rotates) and reading this gave me confidence that it was possible.

Respond to this post

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>