No way this is real. But it would be really cool if it were.
Just the thought of it, all those bouncing bowling balls.
Mostly about my amusement
No way this is real. But it would be really cool if it were.
Just the thought of it, all those bouncing bowling balls.
My Netgear WNR834B v2 has been showing it’s age and giving me grief lately. After a few hours of network usage, my Netgear would suddenly start rebooting itself and keep doing that every few minutes.
The only thing that would bring it back to life would be to pull the plug, wait a few seconds, and put the plug back in. The last firmware for my device is version 2.1.13 dated May 16th, 2oo8. This doesn’t fill me with confidence that the vendor can solve my problem. I don’t blame Netgear for that; they make money on the sale of hardware and not support.
I use a pair of these WNR834Bs to connect my second floor to my ISP in the basement. It’s strictly for bridging a gap where I am not easily able to run a wire.
So I went to the dd-wrt website and picked out the firmware using their router database tool and put in my model. This lead me to their wiki page to read some instructions, and in less than an hour of playing with settings I had dd-wrt running.
The speed difference is pronounced. It’s not just my imagination, web pages are loading more quickly than before. I don’t think that means the Netgear firmware was defective, I do think that tuning additional options in dd-wrt helped improve the situation.
This is a low cost solution to extending the life of some hardware and keeps me from running cable. So far so good and I’ll just see how it goes.
Something looks different, did Danny learn a new move?
The new additions are a great touch. Can you imagine if George Lucas had a platoon of Dance Troopers in the background while Obi-Wan and Darth Vader slugged it out?
Twitter announced their own Tweet Button and have provided a page for creating a button on your web site. You enter some info and you get the HTML code to add.
Extending WordPress has always been easy. You can add what you want via a plugin, or you can put the functionality into your theme’s function.php file.
I wanted to play around with adding this to my blog, so I went to their page and created my button. I then used the generated code as a template for what I wanted to do.
There is no way I’m savvy enough to write a plugin, but adding a filter to my theme’s function.php file is within my reach.
This is from an idea I got when I read WP Beginner’s post on how to add post thumbnails to your RSS feed. I used his code to do this.
function tweet_button($content) { global $post; // Your Twitter ID goes here $twitterid = 'jan_dembowski'; $tweetbutton = '<div class="tweet-button">'; $tweetbutton = $tweetbutton . '<a href="http://twitter.com/share" class="twitter-share-button" data-url="' . get_permalink() .'" data-text="' . get_the_title() .'" data-count="horizontal" data-via="' . $twitterid . '">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>'; $tweetbutton = $tweetbutton . '</div>'; // $content = $content . $tweetbutton; $content = $tweetbutton . $content; return $content; } add_filter('the_content', 'tweet_button');
You can download the code via this text file link.
It’s not exactly user friendly, but it gets the job done. I wrapped it in a <div> so I can style it later. If you want the button at the end instead of the beginning, then comment out line 9 and un-comment out line 8.
It’s a fun hack for me and I am sure that soon there will be a plugin to do this. If you do decide to do this then make sure you backup your theme’s function.php file. Any typo’s or mistakes will make your WordPress blog stop working.
Have I mentioned how easy it is to use WordPress child themes? I can’t stress it enough, never modify a WordPress theme. Create a child theme instead.
I just converted a blog from an old outdated Cutline theme to a SVN copy of Coraline. This is the WordPress.COM replacement for the Cutline theme. The old theme bugged me for a few reasons, mainly it was the lack of basic features such as Gravatar support. I had meant to clean it up but never got around to it.
It took me less than an hour to make the switch. I retrieved a copy of Coraline like so
$ cd wp-content/themes $ svn co http://svn.automattic.com/wpcom-themes/coraline coraline
This keeps an unmodified copy of the Coraline theme. Once it’s in the WordPress.ORG website, I’ll replace it with that copy.
All I had to do was create a separate directory and create a style.css file with the following:
/** * Theme Name: Coraline for Stefan's Stuff * Description: Jan Dembowski's Coraline Child Theme * Version: 1.0 * Template: coraline */ @import url("../coraline/style.css"); /* =Asides ---------------- */ .home #content .aside { border-left: 1px solid red; }
The old asides had a slightly different styling. I made copies of the header.php and footer.php files into my child theme directory and added an archives.php template. I modified one line in each of the copies.
I tossed in a rotate.php script and copies of the random banner images and I was all set. I did need to resize the old banner images from a width of 970 to 990 but that was it.
Child Themes are cool and once again I can keep the parent theme up to date without worrying about my changes.
Do I get an Android phone or an iPhone 4? I’m in no rush to get a new phone but I do periodically suffer from phone envy.
I am a fan of easy-to-use technology. I currently own an iPhone 3G with iOS 4.0.1 installed. My phone has been jailbroken not because I have a “SOFTWARE MUST BE FREE!!!1!” itch, but because I wanted to tweek my phone in ways that Apple doesn’t support for my hardware.
One of my favorite apps on my iPhone is Camera+. It lets me take photos, make adjustments, and share those photos online. All within the app and very easily.
The Camera+ developers came up with the idea of modifying the volume up button to be used as a shutter button. This re-mapping of the button would only be done while the user is in the app. It’s a great idea and makes using Camera+ easier. But the idea was rejected by the app store, so the developers created a back door to enable that setting.
That’s a sensible work around because the app store was apparently afraid that re-mapping the volume up key while in the Camera+ app would create confusion. Since the end-user would have to access a specific application URL, they would have to know what they were doing.
But as expected the Camera+ app has been removed from the app store. Rules are rules, especially when they are arbitrary, imaginary, mostly made up, and not published.
Do I really want to continue using a product that fosters an environment like this? I know that the Android Market Place has it’s pitfalls too but the Apple App store is driven by incompetence.
I know two people who have Android phones from Verizon. The first phone I’ve seen is the HTC Incredible. The UI is easy to use and makes the experience fun.
The other phone is the Droid X. The display portion alone feels like it’s bigger than my iPhone 3G. It’s not a small phone in comparison but the display is fantastic. It’s not as slick as an HTC phone but it is close.
I’ve also seen the iPhone 4. The display is phenomenal but it’s essentially a better iPhone 3GS. It’s more resolution, more memory, faster CPU. But it’s still an iPhone and I already have an inferior version right now.
Why just get a better version of the iPhone 3G? Why not get a new phone and try out the other guys? If Camera+ existed for the Android phone, that would go a long way to hastening my decision.
Within days of my putting on iOS 4.0.1 onto my iPhone 3G, the phone started to crawl. Playing music was painful and using applications became a joke. For example doing anything with Camera+ (a very cool photo app BTW) would take minutes when it used to take seconds. Downgrading to 3.1.3 caused my apps to become responsive.
Last Wednesday I installed iOS 4.0.1 and did not restore my backup. I factory defaulted the phone and when it was plugged into my PC, I treated it like a new phone. This meant I had to copy my song library, apps, etc. from scratch. I recovered my contacts easily enough because I use Google Sync.
Next up I went into my iPhone’s settings app and turned off all Spotlight searches. If I could disable Spotlight 100% I would do it; this is one feature that Apple should have left on design table.
I also jailbreak’ed my iPhone and made the following changes:
Why not? I ended up turning off multitasking because while everything ran acceptably, when you are out of memory, apps would not start properly. The background image is not as fast as a 3GS but still usable and makes the phone more attractive.
To make my modifications, I installed iPhone Explorer on my PC to copy and modify a .plist file manually. This is not not the safest way to do it. In the Cydia app store is an application called Features (for iPhone 3G) that installs in WinterBoard.
So far the performance has been alright. If/when I get an iPhone 4 the display and speed will probably startle me.
The tune is catchy at least.
I’ve never heard of this band but flamethrower versus fire extinguisher looks like real Mythbuster material.
This is probably a case of my not reading the manual.
I use W3 Total Cache not because I get a ton of hits. I run it because it’s cool and interesting. With the current 0.9.1 version it suggests that you add to your .htaccess file a section to handle 404 for missing static files. So non-existent txt, css, jpg, etc. will just get the web server’s 404 page and save on CPU processing via WordPress PHP.
Sensible, but robots.txt is an imaginary file for my WordPress blog. Requests to that file get sent to index.php and the output is dynamically created. Without the exclusion, that file URL always gets 404’ed.
Easy to fix. Right above the W3TC lines just add these lines to your .htaccess file.
<IfModule mod_rewrite.c> RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^robots.txt index.php [L] </IfModule>
The ReWriteCond is not really needed, I’m just putting it in to be complete. If a request comes in for robots.txt it will be sent to WordPress for handling.
Reading the NY Times Editorial this morning made me shake my head.
China, which has abetted its neighbor’s excesses for too long, needs to ensure that the North’s bluster is only bluster. And it needs to tone down its own.
The North Korean government has successfully turned the carrot and stick idea on its head. Kim Jong-Il has successfully become the James Bond villain and knows that he’ll get more food, more fuel, or just more money.
While the Chinese government may be embarrassed by their neighbor’s behavior, there is not much reason for them to flex their muscle. Stability in the region is important but while it is the U.S. interests that does not translate into the interests of the Chinese government.
I do agree that the Chinese government could get involved differently, I just don’t believe they’ll do so because the west wants them to.