Adam.KungFooHampster.Com Is Not A Blog. I don't like journals and you
will never find anything out about my life here. ( update: it has been pointed out to me that this has become a blog... but.. i still won't say anything personal on here... dangit )
Adaptec 2400A or Western Digital 120G Hard Drive?
I have been experiencing some strange issues with my machine during high
load times... I posted
to freebsd-questions and got a very
interesting responce. The whole time I had assumed that the problem
was with my raid controller card when in actuallity it may be my Western
Digital Hard Disks.
Pong
I know I said that I wouldn't put journal sorta stuff on here, but I just
couldn't pass this up. I was playing Atari's Pong and
I found a sweet spot! I didn't have to move the paddle!!! It just
scored over and over and over and over and over... I found the sweet spot
right around when I scored 5 points and I just left it there till it got
to 21 and the level stopped. -- time passes -- WOO HOO!!! It left the
paddle where I left it! I was able to do it again from the start and get
60 seconds of proof! The madness!! WOO HOO!!
Hi
I will eat your soul.
What Happened to artwiz??
artwiz (or Youngjin Hahn) is someone whom I consider to be one of the best graphic designers right around the turn of the century (2000), and only in the 8th grade. Living proof that open source applications like GIMP could produce professional quality graphics when driven by a professional quality user. I don't know what exactly happened. Did he burn out? He had mastered the art of detail, simplicity, and a crisp modernness that I had never seen before. This ranged from creating amazing simplistic fonts, window manager themes, and music to some sweet desktops. I came across this interview which seems to be at the end of his ambition. After reading it, what can you say? He sounds burnt out. Then I came across his home page which doesn't even mention "artwiz" at all. Maybe its a way of being humble? But, I would be proud to have beared the alias artwiz. Every now and then, I go to his "downed site" in hopes that it will be rebirthed. Cheers to you, artwiz. ... the best damn graphic artist I've ever seen and I don't even know him.
FreeBSD General
Why is portupgrade so cool?
I personally use portupgrade on my FreeBSD system and have found it to be
invaluable. Another slashdot
post pointing to onlamp.com has a great
run-thru on the power of
portupgrade.
CVS Tags - Which should my FreeBSD system use?
The FreeBSD handbook has a great
page that explains the differences between all of the different
branch tags so that one can decide which version is best for them.
KVim: freebsd configure: error: could not find Qt directory
When compiling on FreeBSD along with instructions on KVim's site, try
--with-qt-dir=/usr/X11R6
FreeBSD Jails
What is Virtual FreeBSD?
This
message explains that 'virtual FreeBSD' is simply jails on a FreeBSD
system. You can find out more about jails by going to the page on onlamp.com that
was discovered on a slashdot
post. Of course, the FreeBSD man page
on jail is a good resource too!
jail start-up script
This assumes you have all the jail stuff(Jailer, Jail Utilities) from this dude(N. Nielsen)'s jail page.
I have come across some intersting guideliness if one is writing an
Apache Module in C and wants to catch directories with their
Sethandler.
( Just imagine a directory as a file of type
httpd/unix-directory or DIR_MAGIC_TYPE. )
SetHandler doesn't affect directories inside a
<Location> or <Directory> directive.
SetHandler does affect all files within those directories
recursively.
mod_mime.c's first few
lines of its "type checker" immediately rule out directories as
r->content_type=DIR_MAGIC_TYPE and returns OK.
mod_autoindex and mod_dir will catch this mime type.
This is why the handler of the module I am working on isn't getting a
chance. The way my module can get a chance is by implementing its own
"type checker". I had it access mod_mime's configuration data and check
to see if its cfg->handler matched the name of my module's
handler. If it checked out then I changed r->handler to equal
the name of my module's handler. I also added another condition to check
if the r->uri's last character was a slash("/"). If it wasn't
a slash then I returned DECLINED so that mod_dir would
redirect it to the appropriate path.
The reason I had to do this is because every module's type checker gets a
shot to change the attributes of a request object. It gets called every
time there is a hit to apache and does not care if you defined a
SetHandler inside a <Location> or
<Directory> directive. I needed to know that the object
being requested was within the bounds of a
SetHandler(cfg->handler) with the same name as my
handler handler. I found this out the hard way when every virtual host on
my site ended up with a blank page because I assumed that my module would
only be called within a SetHandler directive and that I wouldn't have to
verify.
I hope someone out there finds this information useful because I wasted a
lot of time looking in the wrong places to solve my problem.
Samba
Samba / smbspool / smbutil / mount_smbfs through a firewall hints
rule of thumb: know thy ip's - now you don't have to figure out what
ports to keep open (destination to you).. ( works best when dealing with
static ip's )
Client Side XSLT/XML Inernet Explorer & Netscape/Mozilla/Firefox
HOW can I get mozzilla and IE to render xml pages with xsl in similar fashions?
XML's xml:space="preserve" is an attribute
that will tell a tag to preserve whitespace and linefeeds
XSL's <xsl:preserve-space
elements="tag"/> is a xsl tag that will tell the xsl
processor to preserve whitespace and linefeeds for the specified
elements (white seperated list)
XML's second line! <?xml-stylesheet
type="text/xsl" href="template.xsl" alternate="no"?>
XSL's <xsl:stylesheet ... >
omit-xml-declaration="no" -- keeps the
<?xml version="1.0"?> at the top of the
output. -- tells IE to respect
xml:space="preserve" among other things.
indent="no" -- prevents IE from getting
confuzed with whitespace if you have white-space: pre CSS
usage being processed on the outputted HTML.
method="html" -- tells mozilla to process this
output like html (obviously it doesn't do anything intelligent with
media-type, doctype-public, or
doctype-system ... they're just output ... not
instructions like method
media-type="text/xml" -- tells IE to use this
document like an XML document... so that it will respect the
xml:space="preserve"'s
doctype-public="-//W3C//DTD HTML 4.01
Transitional//EN" -- we can't use xhtml because
method="html" doesn't make self ending tags like
<br/>
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
-- we can't use xhtml because method="html" doesn't make
self ending tags like <br/>
note: Please, don't nitpick my spelling and grammar errors... this page is primarily to help me remember things and to possibly help point you in the right direction... the focus is on concepts... not syntax.