Linux Kernel Upgrade (with skas3 patch)Sun, 2008 Jan 13, 02:45:
So recently I installed a new SATA dvd burner in my workstation (as both previous optical drives died)
Unfortunately 2.6.18 (my previous kernel) did not support SATA optical drives, so it was time to upgrade. The only unfortunate part is I use UML to allow some tasks to be sandboxed, and to run these with any efficiency I require the skas3 patch. However the newest official patch is for 2.6.20.
However I did eventually seem to have find everything needed thus now both skas3-v8.2 and my SATA drive are both running on a 188.8.131.52 kernel.
To help others out here is what I found/created:
My patch for skas3-v8.2 for linux 184.108.40.206.
Please see the notes for more details.
Note as this is just a update to the original v8.2 patch this only supports 32bit x86 systems.
If you require AMD-64 support please see this thread for more information.
POCKYFri, 2007 May 18, 20:34:
However I did notice something odd on the packaging. Two Nutrition Facts labels. One the standard french/english hybrid. The other English only. (most packaging just uses the hybrid but I have seen double Nutrition Facts labels where one is entirely french, and the other entirely english)
But the real odd part isn't the double label, but that they are not identical!!! The English only version indicates 0g Trans Fatty Acid.. while the hybrid version indicates 0.1g
Unfortunately I don't think this means there is no trans fat due to my speaking english.
Sunflower Seeds?Sat, 2007 May 12, 13:13:
Python in OpenWRTFri, 2006 Dec 15, 22:26:
So I now have a python package for openwrt! The only problem with it: Storage space.
However if you have a USB flash card with ~20MB free it will work!
This means I'm playing with it on a ASUS WL-500g Premium, but not my own WRT54GS
from a ram perspective simple things seem to run in about 1MB, while help/pydoc use 5MB. I have yet to go much beyond that. However given this requirement I doubt it will run well on a WRT with < 32MB of ram
To make reinstallation and removal easier I did package the thing into an ipkg. however this one has some pre-installation steps
- symlink /opt to a location on your external media eg. ln -s /path/to/usb/key /opt
- install the ipkg to the root destination (default): ipkg install python24.ipk
to run you may use /usr/bin/python or /usr/bin/python2.4 both symlink to /opt/local/bin/python2.4 In addition you can find all the python libraries and modules in /opt/local/lib/python2.4
The ipkg described above can be found at here
This is a cross compile of python 2.4.4 from here: http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
No changes outside of modifying the auto-generated make file after configure to use my x86 python to help build the modules (rather than the mips python on an x86)
Also note the ipkg was manually constructed, so my apologies for not having a build script
Microsoft Remote Desktop ConnectionTue, 2006 Dec 05, 13:01:
So on friday Microsoft Remote Desktop Connection was working fine, and this morning it uses 100% CPU w/o doing anything.
And the big thing I think I've done to my computer was to upgrade OSX to the lattest patch.
But I found the problem: corrupted config files!
Removing the following caused the application to work again (even if the server history list was lost)The file (may or may not exist):
No-Off Sliding Puzzle.Tue, 2005 Jul 05, 11:27:
Well I'm happy to say it did not take half the day to solve the thing. The puzzle probably only wasted an hour. My first success took more than 50 moves. However it showed the order I needed the pieces in allowing me to figured out how to finnish in 44 moves (as shown).
Does This Look Like Someone You Know?Tue, 2005 Jul 05, 11:26:
This is serious! Dogs are being picked off one by one by a sniper roaming the U.S. Many dogs have been killed or hurt. Police in several areas have advised all dogs owners to watch their dogs.
Police in Philadelphia have issued a sketch of the alleged sniper. Report this character immediately if spotted by calling local law enforcement.
This came to me in an email (reformatted for this page), as for where the image originally came from I don't know, I did find it on many websites though. Also none of the sites had the above notice text attached to them.
One pages I found contains many funny cat photos.
Mac SleazyTue, 2005 Jul 05, 11:26:
Some of my favorite parts are the Sandwich page, and the Love story. Over all a very silly idea though.
Best Viewed Without IETue, 2005 Jul 05, 11:26:
And now I have a "Best Viewed without IE" icon. The reason for this is the very buggy support for CSS in IE5, and IE6. Almost all of the formating on this page requires on CSS. Anyone wanting to use the icon on there page is welcome to but please mirror the image on your server, and don't link to my copy.
For those looking at this page in IE: I have made sure that the CSS in this page breaks nicely. This means that you are seeing all the content, and most of the formating. Thus while would look better in Mozilla. The site is fully usable in IE.
There are two major flaws in IE, the menu is against the content box (this is not the case in other browsers) and the signature box at the bottom dose not re-center when displaying my email address.
NOTE: Since the posting of this entry, I've reworked some of my CSS so it works in IE.
rellink :: Blosxom PluginTue, 2005 Jul 05, 11:19:
This allows for:
"//" + blog path "/" + site path + relitive to blog entryalso makes '&' to '&' and the ability for custom link types such as 'google' (built in).. this means:
"google:Blosxom"will be a google search for Blosxom.
If you have any problems post a comment
This blog is now operationalTue, 2005 Jul 05, 11:19:
gallerythumbs :: Blosxom pluginTue, 2005 Jul 05, 11:19:
This blosxom plugin is designed to add a thumbnail of an image related to a story to the beginning of an entry.
To use this plugin you just need an image in the same directory, with the same file name (sans the extension) as the story entry. The plugin will create a thumbnail, and display it prior to the story.
This means if you want to write an entry on foo.jpg, all you do is put it in your blog, and add a corresponding foo.txt with the title and any description you want to give the image.
To install the plugin, put it in the plugin directory, edit the maximum size (of the thumbnail) and file type variable at the top of the file. The file type is the type of file the thumbnails should be assuming your content is photos jpeg is probably the best file type. This value is also used as the Content type argument ie. image/<filetype>.
For every flavor that you want the thumbnail visible you need to have a thumbnail.flavor with information about how to display the thumbnail. An example flavor (and actually what I use on my photo gallery) is in the codes documentation, as well as in the link below.
This plugin requires the Image::Magick perl module (know as perlmagick)
While this plugin generates the thumbnails on demand it saves them in the state directory for future viewers. The thumbnail is generated when someone loads a page with the attached story. Anytime after it it generated a request for storyname.tmb will return the image.
To make sure we don't have thumbnails to images that don't exist. When we need to generate a new thumbnail, we check that the original file for all existing thumbnails exists, if not we delete that file.
The code is designed so that when you change the settings, ether the thumbnail size, or filetype. it knows to invalidate (ie. delete) existing thumbnails, and regenerate them on demand.
If you change/edit and image in place on your blog, (ie. has the same file name) the thumbnail will not update.. my recommendation is to move the thumbnail and entry to filename+tmp, load it in your browser, then move it back.
This plugin will only work in dynamic generation, or hybrid mode. The blosxom code must be run to send back the thumbnail. However since this is done during the start function, sending the thumbnail should be relatively fast on even a large blog.
The sample flavor requires both the binary (or clone) and rellink plugins. The binary is used to send the original file with the Full size link. rellink allows the files to be locally defined (you can use blosxom variables to make the links work w/o rellink).
Also remember to name the flavor thumbnail.<flavor> (probably you will want to make two copies of this file, thumbnail.html and thumnail.rss, remember to make a copy for any comments/writeback flavor if needed.
The actual code will also need to be renamed from gallerythumbs-v*.**.code to just gallerythumbs.
If you have any problems please comment on this post.
gallerythumbs - v0.01Tue, 2005 Jul 05, 11:19:
First release of gallerythumbs. I think it works decently well. (makes posting entries based on an image very easy) Now my next step is to install it on this blog, as well as my photo blog. (however to do this I have re arrange my art section)Download
rssurlTue, 2005 Jul 05, 11:19:
rellink - v0.03Tue, 2005 Jul 05, 11:19:
Fixed Support for multi-line tags (was not always matching)
If &'s are already escaped, with make sure its not re-escaped.
Gave a better URL for the google link exampledownload
rellink - v0.02Tue, 2005 Jul 05, 11:19:
allows quotes in side url (allows for tags of the form: <a href='google:"Terrence Ezrol"'>)
rellink - v0.01Tue, 2005 Jul 05, 11:19:
devnull.name subdomainsTue, 2005 Jul 05, 11:19:
These are the current set of sub domains in use:
- www - www.devnull.name and devnull.name point here
CommentsTue, 2005 Jul 05, 11:19:
I'm using the comments plugin. however to get it to do everything I wanted, including: not needing another flavor, ignoring html, and emailing me when someone posts a comment/trackback took a while, and plenty of modifications. I only hope the work was worth it.