My wife and I are now in Naples, Fl. We are staying in a very nice hotel. It's a Comfort Inn, but like everything I've seen of Naples, it's very beautiful. It's the nicest Comfort Inn I've ever stayed in. I took a few photos of the hotel room, I'll post those tommorrow. I want to photograph the view from the window in the daylight. There are some photos on our family blog, http://www.themoritzfamily.com
July archive
-
Greetings from Naples,Fl
Posted by on July 30, 2005
Tags: news
-
Django Ajax and Dojo?
The other day in the #django channel I was msg'd by Alex, a developer for the Dojo Javascript toolkit. (Have anyone noticed that javascript toolkits are popping up like crazy?). Well, Alex asked my, "Why are you using prototype.js for Django Ajax". I told him that I used it for some other projects and it's simple. He told my to take a look at his project.
At first glance I thought, "Man, Dojo is much more than what Django Ajax needs." It looked over complicated and I just didn't want to get into figuring out how this thing works. (It was probably late at night). All I thought that Django Ajax needed was a simple ajax library. I told Alex, "Dojo looks like overkill for my needs." He responded by saying, "This maybe true, but people are going to want this." I thought he was just trying to push his project. Man was I wrong...
Today I took a second look at Dojo because MochiKit was released and it had a reference to Dojo on their site. The other day I looked at this page, Fast Widget Authoring, but I didn't really read it because it didn't think it pertained to DjAj's needs. Today I actually took the time to the page and... Damn... This is cool shit!. The first thing I thought was, "This looks a lot like how Django does things...". Dojo IS for Javascript, what Django is for Python web development. This is going to be big.
If you read the article, you will see what Dojo does. Basically it allows you to create packaged javascript components using html and css. No more, innerHTML-String Splicing crap, no more DOM appendChild, blah, blah, blah, well not as much anyhow.
I'm going to be playing with Dojo a little and most likely integrate Django Ajax with it. Happy Hacking...
Posted by on July 29, 2005
Tags: django, javascript, news
-
For the Gamer Dorks out there...
Posted by on July 29, 2005
-
Django, Dreamhost and FCGI
There have been quite a few people in #django trying to get Django to work with Dreamhost. Thanks to the work that Hugo has done and the folks in the channel hacking away at the problem, the work has been posted on the Dreamhost wiki. Maybe now I can get Site5 to get django up and running on my server.
Posted by on July 28, 2005
Tags: news
-
Stupid Windows Keymap
I've been using the standard windows keyboard layout switcher to remap my keyboard to dvorak. Unfortunately when I log into a machine through remote desktop, the keymap of the machine is used and not my local keymap settings. This is really dumb because I annoy all my non-djorak coworkers because when they log into the same machine, I usually forget to switch the mapping back to qwerty and they get aoeu instead of asdf...
I used a program called keytweak to remap my caplocks key to control, which is very helpful because I use control much more than I use capslock. I thought, "Hey, I can use keytweak to avoid annoying my coworkers" it took some doing but I managed to remap all the keys. I just feel sorry for the poor fellow that uses this computer if I ever leave :)
Another cool utility for emacs users is the XKeymacs program that sets emacs keybindings for stuff like moving the cursor and copy and paste (kill and yank).
Posted by on July 27, 2005
-
Funny Spam
I was going through my junk folder and I found some humorous subject lines:
Subject: Bujy cials-tabs at Unbelievable Prices; From:Carrie Grant
Apparently Carrie Grant, from beyond the grave, is very concerned about my erectile disfunction. Ever see Touch of Pink? Funny movie if you are open minded enough. Jimi Mistry, is one funny Indian :)Subject: Excuse me Sir Eric, world wide shipping pharmacy
When did I get knighted? Cool!This all reminds me of the website Spamusement, where people make cartoons based off of spam subject lines.
Posted by on July 27, 2005
Tags: avant-garde
-
Django, lighttpd and FCGI, take two
In case no one reads comments on my site, Hugo posted a comment about his second way of getting Django to work with lighttpd and fcgi (you mean people actually read my blog?) You can find that article here.
Posted by on July 27, 2005
-
Example Django Ajax app
I created an example django ajax application in the svn repos. If anyone is interested, the README.html should help you get that up and running.
Still on the agenda is template tags to ease the use of django ajax for those Javascript impaired
Posted by on July 27, 2005
-
Running Django with FCGI and lighttpd
Hugo's house of weblog horror has an article on how to get Django running with fcgi and lighttp. There are many in the #django IRC that are waiting for someone to do this so I'm linking him in case they missed his article.
Posted by on July 26, 2005
-
Django RSS
From what I can tell, turning on RSS is very easy. Basically you setup a urlpattern like in http://code.djangoproject.com/svn/djangoproject.com/django_website/settings/urls/main.py and then make a module that is the same name as your settings module that ends in _rss, like so: http://code.djangoproject.com/svn/djangoproject.com/django_website/settings/main_rss.py
Happy hacking!
Posted by on July 26, 2005
-
django_ajax update
From the reaction of the folks in the django irc channel, it seems that my Django_Ajax library is a little advanced, everyone wants the power of Ajax without having to write Javascript. I made the false assumption that anyone messing with Ajax would know Javascript.
After taking a look at what Ruby on Rails does with their ajax api, I'm going to be writting, with the help of some of the folks in #django, a templatetag library to rival ROR's ajax helper functions. It should shape up nicely this coming week.
Posted by on July 26, 2005
-
django_ajax is in svn
I found a svn host that allows me to host django_ajax. You can access the svn repos at http://opensvn.csie.org/django_ajax/trunk the trac link is at https://opensvn.csie.org/traccgi/django_ajax
Those that really want to see django_ajax and play with it now can get it from there. Readme.html will help a little in setting it up, although it's about 90% finished. Happy Hacking!Posted by on July 25, 2005
-
Javascript Name Clobbering
I was working with two different javascript libraries today and ran into the issue that brought about namespaces in other languages.
Jsval has a class called Field. I wanted to use prototype.js and openrico so... guess what, prototype.js, has the class Field also... So, they stepped on each other toes. I renamed all the Field references is Jsval (because prototype.js is a dependancy for many libraries) and then wrote this http://en.wikipedia.org/wiki/Javascript_Namespaces out of frustration. Maybe someone will listen to me and use javascript namespaces.
Posted by on July 22, 2005
Tags: javascript, news
-
Pay no attention to the man behind the curtain..
If anyone saw the django_ajax article that I accidentally posted to my blog. Pay no attention to it. It does not exist (cue Jedi Mind Trick)
Posted by on July 20, 2005
-
This is exactly what a blog should not be used for...
Ack,... I ran out of sugar at work today. It's black coffee for me this morning.
Posted by on July 20, 2005
Tags: news
-
Django, Django, Django...
This framework is so freakin' awesome.... They just enough documentation on the site that you can actually get things running without much effort.. I have to say, this is the coolest thing to come out in a long time. You have a object-relational mapping system, obsessive SEO support, a templating system and the coolest thing ever, automatic administive interface! Oh not to mention it's freakin python! The best scripting language ever. Go to here and check it out. NOW!
Posted by on July 18, 2005
-
Django - Python on the web matures
For a long time people have been wanting to use Python in web development. Today is the day that Python will rival Ruby on Rails for it's throne. Today was the day that Django was reveiled in beta form. It looks promising.
I have been working with the folks on the project testing out their installation scripts and I must say that this thing is great. I've never seen something so easy. Even in it's infancy Django is mature. The only thing that they are working on is making the installation and configuration easier. By the end of today I'm sure they'll have everything documented and everyone will be able to play.
For now I've managed to figure out what exactly gets Django and Apache to work together. Please keep in mind that this is how I got it to work. My experience with mod_python is not that great so bare with me.
First I'd like to point out that I'm working from the point after their first tutorial. I'm using the same exact classes that they are using. Complete that tutorial and then you can follow along with me. After that, you are on your own.
After the tutorial I wanted to get the system talking to the web, so what I did was create a folder in my webroot (/var/www/html) called /var/www/html/dj this acts as a stub for the django system. There isn't any files in the folder except my .htaccess file that tells apache to call up Django when someone accesses this folder from a browser. You can very well configure mod_python for your whole server but I have so many other things in subfolders of my server that I went this route. So I'll start with how I configured Apache and what is in my .htaccess file, if you want to do it another way, you'll have to figure it out yourself. I hope this will help nonetheless.
Apache Config
# For dev purposes, this makes apache reload mod_python for each request, good for development, bad for production
KeepAlive off
MaxRequestsPerChild 1#Load tho module
LoadModule python_module modules/mod_python.so# Tell apache to allow my dj folder to use .htaccess
<directory "/var/www/html/dj">
AllowOverride FileInfo
</directory>.htaccess
SetHandler python-program
PythonHandler django.core.handler
SetEnv DJANGO_SETTINGS_MODULE myproject.settings.main
PythonPath sys.path+['/var/www/pyapps']
PythonDebug OnI have to point out one thing. When my created the myproject Django project, we put it in a folder. On my system, I put it in /var/www/pyapps You will have to change the path to were you put you myproject.
Now I thought, lets set up the url mappings like they say in all the docs on their site. I edited the file: myproject/apps/polls/urls/polls.py and made it look like this:
from django.conf.urls.defaults import *
urlpatterns = patterns('myproject.apps.polls.views.polls',
(r'polls/questions/(?P<question_id>\d*)/$', 'view_one'),
)I pointed my browser to http://localhost/dj/polls/questions/1/ and got:
Mod_python error: "PythonHandler django.core.handler"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)File "/usr/lib/python2.4/site-packages/django/core/handler.py", line 157, in handler
return CoreHandler()(req)File "/usr/lib/python2.4/site-packages/django/core/handler.py", line 31, in __call__
response = self.get_response(req.uri, request)File "/usr/lib/python2.4/site-packages/django/core/handler.py", line 87, in get_response
from django.conf.settings import DEBUG, INTERNAL_IPS, ROOT_URLCONFImportError: cannot import name ROOT_URLCONF
What the hell is ROOT_URLCONF? After investigation (i.e. looking at http://code.djangoproject.com/svn/djangoproject.com/django_website/settings/main.py),
ROOT_URLCONF is the main module used to get for the urlpatterns variable.So I copied the pattern that they have for their settings.urls module in http://code.djangoproject.com/svn/djangoproject.com/django_website/settings/
For myproject.settings.urls.main I now have this:
myproject.settings.urls.main
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'polls/', include('myproject.apps.polls.urls.polls')),
)and for myproject.apps.polls.urls.polls
from django.conf.urls.defaults import *
urlpatterns = patterns('myproject.apps.polls.views.polls',
(r'questions/(?P<question_id>\d*)/$', 'view_one'),
(r'questions/(?P<question_id>\d*)/vote/$', 'vote'),
)I then created a view in myproject.apps.polls.views.polls
myproject.apps.polls.views.polls
try:
from django.models.polls import polls, choices
from django.utils.httpwrappers import HttpResponse,HttpResponseRedirect
from django.core import template_loader
from django.core.template import *
except Exception, e:
raise str(e)def view_one(request,question_id):
try:
p = polls.get_object(id__exact=question_id)
except PollDoesNotExist:
raise Http404t = template_loader.get_template('polls/question_detail')
c = Context({'poll' : p})
content = t.render(c)
return HttpResponse(content)def vote(request,question_id):
try:
p = polls.get_object(id__exact=question_id)
except PollDoesNotExist:
raise Http404if(request["choice"]):
choice_id = request["choice"]
c = choices.get_object(id__exact=choice_id)
c.votes = c.votes + 1
c.save()
return HttpResponse(str(c) + ' has ' + str(c.votes) + ' votes')For my templates, I have two:
Place those in a folder and set TEMPLATE_DIRS myproject.settings.main, mine looks like
TEMPLATE_DIRS = (
# Put strings here, like '/home/html/django_templates'.
'/var/www/html/dj/templates',
)Posted by on July 17, 2005
-
The Sushi Room
We we just came back from the Sushi Room for the second time. This place is great. I never really liked sushi before. I'm also a vegetarian so I don't eat fish. I usually just get something tofu. The Sushi Room, however, has a decent selection of vegetarian items and it makes me have to think about what I want as apposed to saying, "Well, there's only one thing I can get, so that's what I'm getting."The last time we went to The Sushi Room, Gina started with their vegetable miso soup. The presentation was great. They bring out a bowl with the vegetables nicely arranged. The broth is stored in a tea kettle which you pour over the vegetables. Gina allowed me to taste the miso soup. Every miso soup I've tasted had an overpowering tofu taste but The Sushi Room's miso is pleasent. The broth is very tasty.
So tasty that my ban on miso soup ended and ordered it to start tonight.
Previously I ordered the vegetable crunchy roll. The crunchy rolls are tampora rolls and are very good (Tampora means lightly fried for us Occidentals) I really enjoyed the vegetable roll last time and this time I wanted to stay with the crunchy roll theme so I got the shitaki mushroom crunchy roll. Again this was a good choice, I'm starting to think that you can not make a bad choice at this place.They give you three sauces to dip the rolls into. They give you a regular low sodium soy sauce, a wonderful passion fruit soy sauce that is their own creation and a citrus vinagerette. My favorite is the passion fruit soy sause, it goes wonderfully with the crunchy rolls.
The last time we went, they served us a passion fruit ice tea that is very good. However tonight they served us regular ice tea. I don't know why, you may have to ask for it. If you go, ask for it.
Gina ordered a volcano roll that she said was the best she ever had. I'm guessing that means it was good.
The last time we went, we got the banana tampora for dessert because I'm a sucker for fried banana. Whenever I go to a Thai restaurant I get either the banana tampora or Thai donuts. Their banana tampora wasn't bad but it wasn't the best I've had.
This time it was Gina's choice for dessert. We took our waiter's advice and got their chocolate vesuvius. Dear god, this was amazing. It was three layers of chocolate bliss. On top was chocolate mousse. In the middle, chocolate cake. On the bottom, regular cheese cake and chocolate cheese cake. For an extra touch they give you slices of strawberries, the best berry for chocolate. The next time we eat at Sushi Room we are going to try our waiter's other recommendation and try the cheesecake tempora.
Speaking of our waiter, we were waited on by a great waiter named Brad. He was the waiter we had first and we requested him again because he was so great. He is not unique either, from what I've observed, the waitstaff is spectacular. Don't worry though, you can't go wrong with Brad.
The greatest thing about this place has to be the prices. The first time we went, we spent a total of $27. That was a miso soup, one order of six crunchy rolls, a tuna sashimi salad that contained large pieces of tuna and the banana tampora for dessert. Tonight we ordered a bit more, two miso soups, two orders of crunchy rolls, the volcano roll and the chocolate vesusius for $43. For a wonderful enviroment, wonderful service and the best Japanese food I've ever had, I would of ended up paying $80 somewhere else.So if you want sushi and you want good sushi. Go here. There is no reason to go anywhere else. They are located on Young Circle in Hollywood, east ajacent to Mama Mias. If for some reason you want Italian, they will bring you a menu from Mama Mias and fetch it for you (why, I don't know). They also serve sake (It's on their sign, they must have good sake) I don't drink so I don't know anything about how that is though.
Posted by on July 16, 2005
Tags: news
-
<lang_en>Silent Bob uses Wordpress.</lang_en><lang_eo>Silent Bob uzas "Wordpress"-on</lang_eo>
Kevin Smith (aka Silent Bob) uses Wordpress for his blog, My Boring Ass Life, tre bone! Kevin Smith (aka Silent Bob) uzas "Wordpress"-on por lia blogo, My Boring Ass Life, tre bone! Posted by on July 15, 2005
Tags: news
-
Page Numbers for queries in Cold Fusion
For a long time, I've been recreating the wheel with this kind of functionality. I finally created a small library to handle page numbering in Coldfusion.
This is how you use it:Parameters
- query
- This is the query the is going to be paged
- index
- This is the column that the query uses to break the pages.
- maxrows
- This is the total number of rows on a page
- current_page
- This is the current page
Returned Value
The function returns the following struct:
- count
- The number of pages
- current
- The current page
- current_index
- The current index. This is used by your filtering query
- indexes
- The is an array of each page's index. Although your view template does not need to know what each page's index value you is, it is provided in case you need it.
- items
- The total number of items in the original query
- maxrows
- The total number of rows. This is the same as the parameter that you used in the function call. It is returned in the struct for convienence and encapulation.
Example
Here is an example of it's use.
<cfquery name="original_query">
select * from products order by id
</cfquery><cfset pages = paging(original_query,"id", 10, 1)>
<cfquery name="paged_query" maxrows="#pages.maxrows#" dbtype="query">
select * from original_query where id >= <cfqueryparam value="#pages.current_index#">
</cfquery><div class="page-numbers">
<cfoutput>
<cfloop from="1" to="#arraylen(pages.indexes)#" index="page">
<cfif page neq pages.current>
<a href="#get_page_url(page)#">#page#</a><cfelse>
#page#
</cfif>
</cfloop>
</cfoutput>
</div>Ne esperanta versio. Posted by on July 15, 2005
Tags: coldfusion
-
<lang_en>Windows is easier than linux?</lang_en><lang_eo>Vindozo estas pli facila pli Linukso?</lang
Who said that Windows is easier than Linux? Today I tried to
plug in my SD Card reader into my work computer. At first it didn't
show up. I had to remove my network drive mappings in order for them to
show up. How stupid.When I plug in the card reader into my linux box, it appears instantly.
I didn't have to do anything. To think, I was afraid that it wasn't
going to work in Linux. SheshKiu diris ke Vindozo estas pli facila pli Linukso? Hodiaux mi
penis uzi mia SD memorkarton en mia komputilo labora. Komence, gxi ne
laboris. Mi havis fortiri mia retodurdiskojn por la memorkarto labori.
Tre muta.Kiam mi uzas la memorkarton kun Linukso, gxi laboras
senprokraste. Mi ne havas fari neniajxo. Pensi, mi timis ke gxi ne estis ironta
labori en Linukso. sxisx.Posted by on July 13, 2005
Tags: news
-
<lang_en>Happy Birthday to me</lang_en><lang_eo>Felicxan Naskigxtagon por min</lang_eo>
Happy Birthday to me. Happy Unbirthday to all of you (except Jordon, Felicxan NaskiÄÂtagon por lin). Felicxan Naskigxtagon por min. Felicxan MalNaskigxtagon por vi. Posted by on July 13, 2005
Tags: news
-
GPG Public Key
A added my GPG Public Key to the bottom of this page if anyone wants to send encrypted/signed messages to me.
Posted by on July 13, 2005
Tags: news
-
The Uncyclopedia
Fans of Wikipedia will love this site, Uncyclopedia. It is like a bizzaro-pedia, where everything on the wiki is wrong. It's a delightful waste of time.
Posted by on July 13, 2005
Tags: avant-garde
-
Finally a decent Nintendo DS game
Well I traded in Batman Begins because I beat it and there wasn't much more to do with it. I looked around the Gamestop and I didn't really see any XBox games that really interested me. I want to tryout Paper Mario for the Gamecube but it was $10 more than the store credit I had for Batman.
While I was looking for a game, Gina was playing a game on the Nintendo DS demos. I couldn't really find anything. I went over to see what Gina was playing and it was "Kirby Canvas Curse". I thought, "Oh great, another 'Yoshi's Touch and Go' (A really bad game)". After that we got the clerk to help us find something.
The clerk was helpful in helping me find some XBox games. He recomended some first person shooters but frankly I've been playing FPSes since the first Wolfenstein and I'm a little bored with that genre. Although XIII was an awesome FPS. I recomend grabbing that if you haven't played it yet. He then recommended one of the Mech series games and Buffy the Vampire Slayer. I was willing to finally give a Mech game a try since they have some hardcore fans and must be a something to that. The clerk recommended Buffy, which is a third person action game, he said that it was surpisingly a good game and he doesn't care for Buffy. So I said what the hell (Maybe there is a Willow naked cheat j/k).
While we were waiting in line, I thought I'd try out Kirby's Canvas Curse to see if it was anything good. I played it for about two minutes and then I put the other games back and grabbed a copy of Kirby.
Kirby's Canvas Curse (KCC) is a very cool game. It's just like the other Kirby games except the you don't control Kirby with the keypads, you direct them with the stylus. At first it's seems like a really annoying way the control the character, especially if you played Yoshi's Touch and Go. However, this game got it right.
Gameplay is like this. Kirby is a ball and he continuously moving. You can draw lines and he will roll on the line in the direction that you draw the line. It sounds simply but its really isn't, you have to maneuver Kirby around all kinds of obsticles, block laser beems with you lines, block those pesky cannon balls, etc. It makes it extremly entertaining. Perhaps Yoshi's Touch and Go might of been this much fun if it was longer and more inventive, however it was so short that it was really nothing more than a puzzle game masked as a platformer.
Oh course the usual Kirby abilities are in this game. It wouldn't be Kirby without the cool ass power-ups. The Boss Levels aren't like the other Kirby games where you just tediously battle it out with them. They take the form of mini-games (A NDS specialty).
There are three bosses that I'm aware of. The first is that annoying Cloud guy that shoots lightning. He's a little more tame in this game, however the mini game is the fun part. It's a Kirby version of Breakout. instead of a paddle on the bottom, you draw you paddle to direct Kirby. The object of the minigame is to clear each board of the enemies by directing Kirby into them.
The second is a race against the King Penguin guy, I can't remember his name. You steer kirby by dragging his cart with the stylus and if you steer him into food, his gets a boost. I don't really care for this one.
The third boss is the Painter guy. What you have to do is recreate the drawings he does before kirby walks from the left side of the screen to the left.
In the end, I think that this game is a great adaptation of the 2d Kirby series to the NDS.
Posted by on July 10, 2005
Tags: gaming
-
Some Buddhist Links
I was writing a friend of mine about some good Buddhist links and I thought I might share them with whoever is reading this Blog.
http://www.tubtenkunga.org This is the website of the Buddhist Center that I goto.
http://www.thubtenchodron.org/ This is the website of a western nun that writes a number of good books. Her site has a lot of resources
http://www.lamayeshe.org/ This site has many free ebooks that you can download.
http://www.lamrim.com/ This website has a lot of great Buddhis teachings by some the great Tibetan teachers and Western monks and nuns. Some good Western teachers there are: Ven Sarah Thresher, Ven Thubten Chodron, and Ven Robina Courtin (I really like her). Generally the people who look Western would be the easiest to understand because they put thinks in a Western context.
Posted by on July 10, 2005
Tags: buddhism
-
Batman Begins The Video Game
We saw Batman Begins in the theaters the day it came out and we both thought it was the best batman movie ever. I don't know if my wife thinks the movie was good because of the quality of the fact that her boyfriend Christian Bale was batman. My only beef with the movie is the Mr Bale's "Batman Voice" sounded really goofy.
Anyhow, while I traded in some games at gamestop yesturday and saw "Batman Begins". I suspended my ban on movie games and picked it up. I must say it was a good choice. The game is amazing. It was fun to play and the graphics were simply amazing. The game wasn't hard but it wasn't to easy that it was boring. I thought it was just plain fun.
The game plays off the concept of fear. You have a fear meter that you can increase by doing scary things. For instance you can hang from a light fixture and throw one of those HF emitters that summon bats to scare the snot out of your enemies.
I beat it in about 4 hours or so. It's is not a long game, so I'd recommend that you rent it. Gina even enjoyed watching me play it.
So, if you are in the mood for a fun game, pick up this one.
Posted by on July 10, 2005
Tags: gaming
-
Astronomy Software
I found two really cool astronomy software available to install from Fedora Core's package manager. So I thought I might get back into amatuer astronomy again. The first is a sofisticated desktop planetarium for Linux,OSX, and Windows called Stellarium.
My Meade telescope came with planetarium software however it was only for Windows and not Linux so it was nearly unusable. Stellarium is cross-platform and chock full of really cool features. I really like the rendering of the atmosphere.The second application is called Celestia. While Celestia is not very helpful with amatuer astronomy. It is good for nights when you need your astronomy fix and it's raining outside. What Celestia does is very cool.
Where Stellarium and other planetarium software keeps your feet planted on the ground, Celestia puts you in a virtual spaceship and allows you to span the known universe in real time. It is pretty spetacular. You can see what the Earth looks like at night. You can see what a solar eclipse looks like from space. Travel to Mars and see a martian sunrise.
If you go to the supplemental archive of addons at Celestia Motherlode, you can download extra models like Columbia and Atlantis. You can even add fictional spacecraft from Star Wars and Star Trek if you want.
Keep Looking up! - Jack Horkheimer
Posted by on July 9, 2005
-
I have bronchitis
Last night the wife and I had to go to the hospital because we both got sick. We went to Memorial Pembroke(don't go there) and sat for four hours. We ended up leaving and going to Memorial West(go there). We were admitted immediatly.
At about 6am the doctor saw me. He diagnosed me with bronchitis. So, I'm stuck at home again.
Posted by on July 7, 2005
Tags: news
-
One reason I love Dvorak
One reason why I love the Dvorak keyboard is that I can be sick as a dog, sit in my chair like Steven Hawkings and still be able to type without much effort.
Posted by on July 7, 2005
Tags: avant-garde
-
I'm sick :(
Well at the BBQ we went to there was a pool. I got a lot of sun and ended up getting sunburnt. Unfortunately for me, I'm fair skinned. Fair Skinned people are fair skinned because it increases the bodies ability to create Vitamin D via the sun. That's why people in Norway are fair skinned due to the lack of UV.
Well because of my increased ability to create Vitamin D, I got what is called "Sun Poisoning", which is basically an overdose of Vitamin D. The symtoms include fever, chills, sensitivity to tempatures, fatigue and overall crappy feeling.Last night I had worried the hell out of my wife because a had a horrible fever. My body only had two tempature level, either freezing or hot as hell, both states had nothing to do with the room tempature.
Overall, I'm feeling better today but I still am feeling relatively crappy.
Posted by on July 6, 2005
Tags: news
-
Kids... Don't try this at home...
Well, the 4th of July for us was eventful. We went to a bbq at a friends house in the afternoon. We swam, got crispy in the sun. It was fun.

After the bbq, we went to my wife's parents house to light off fireworks. We had the regular arsenal of fireworks. Roman Candles, Bottle Rockets, Blackcats(firecrackers). We were in for a good time.We started off tame lighting bottle rockets from the bottle. When we got bored of that we lit them while holding the bottle. When we got bored of that we get a pipe and aimed them at trees.
When we got bored of that we brought out the roman candles. First we shot them up in the air. Then we shot them at a soda can. Next about 10 packs of firecrackers. Then we played Roman Candle Harry Potter....
The point of Roman Candle Harry Potter is to act like wizards and shoot 2d8 fireballs at each other.
Tell me, would you let this man shoot fireballs at you:

At first it was fun. I shot one over his head. He shot one over mine. He shot one to the left of me. I shot one to the left of him... Just not that far left of him. Then he shot one very close to me. I dodged. Then another, and another, oh the horror.... Then one hit my stomach.
This is wait happens when you play Roman Candle Harry Potter:

Kids-- Don't play Roman Candle Harry Potter.
Posted by on July 5, 2005
Tags: news
-
"Oh Crap, my steering wheel fell off"

While I was in the middle of typing my previous post I heard a knock on my door. When I answered the door, my friend Chris who lives across the street from me asked, "Do you have a tap and die set?" For those that don't know, A tap and die set is for making new threads on bolts and nuts when they are stripped. Of course I didn't have one so I told him, "No, I don't have one. Why what is stripped?". He told me that his steering wheel had fallen off his car and the stud that holds the wheel on is completely stripped off. I went over to look at the stud and it was completely stripped, there were no threads on it at all. I told him, sure lets go to the store.
When I was getting ready, I remembered that my dad had a tap and die set in his garage. I called my dad an asked if I could borrow the set. He was reluctant and suggested what we could do. Most of his suggestion required getting the car to my dad's house to work on the car. We had no idea how to get it over there aside from towing it.

I had to go to the bank first so we went there first. On the way to the bank we were joking around trying to think of ways to hold the wheel on the stud to get it to my dads. I suggested duct tape. He suggested welding. I told him, you know you could most likely hold the wheel on the stud to get it there. The crazy bastard thought that was a great idea.

The problem is that my parents live on the other side of town about 9 miles from where we live. 9 miles isn't far when you have a working steering wheel but it's very long without one. So, we had to break the news to his girlfriend that this might be the last day she will every see him. She started freaking out, "You're going to die", "You're crazy", "You better use your seat belt!". Then we were off.
I told him that we need to drive around the block to make sure he can drive it. He takes off and I fallow behind him. We go around the corner and he starts to swerve. He lost his steering wheel! He recovers and continues around the block. I pull up beside him and he says, "Yeah, I'm comfortable driving it.", crazy bastard...
We goes off, I drive infront of him and he's behind me. We drive down our main street and he's ok. That's good, but we are not on I95 yet. We get on I95. I'm constantly looking in my rear view every two minutes to make sure he didn't lose it and drive off the road. A few times he swerves a little and I think he's a gonner but he recovers and we make it to my parents.
He gets the car into my parents garage and about twenty minutes later, he's done.
Posted by on July 3, 2005
Tags: news
-
www.themoritzfamily.com
I finally got our family website finished in terms of design and software.
Last night I finalized the design. I wanted to give it a homely feel. So I made it look like this as oppossed to my original design.
The cool thing is that I took note of how the CSS Zen Garden does their xhtml code. If you look at the xhtml of my two designs they are almost identitical. The only change I had to make for the "Home Sweet Home" template was to put my header's h1 in a div wrapper in order to use two backgrounds.
Take notice of the header, it looks like one big 780x100 image but it's actually made up of only two small images. The blue crosshatch is a 9 x 7, 2 color gif taking up only 71 bytes. The little "The Moritz Family" logo is the largest image on the whole page, taking up just under 10k. There are only two other images on the page and that is the sage crosshatch background and the grey crosshatch in the footer. Those two images are also around 71 bytes each. The total page size only 26k, that's means the page loads in 5.56 seconds on a 56k modem! My grandparents are still on a modem so they will enjoy the small page size.
This is a full report of the page sizes
As well as the small page size, I made it so that the layout of the site is flexible when font sizes are increased. If you increase the text size, the design stays about the same. That was decision was made because my mother's eyes are not perfect and sometimes she needs to increase the font size to see a webpage. Although the site was designed for a 800x600 moniter, it was designed with elasticity in mind so that the page expands when the window expands (unlike this site, whose design is the default wordpress template).
I'm going over to my parents house later today to scan in a few pictures for the photo album. The photos will be of our wedding and our honeymoon and also a few ultrasounds of Adin Jacob.
Posted by on July 3, 2005
Tags: news
-
Deep Impact
This is amazing, Nasa is smashing one of their space craft into the comet Tempel 1 in hopes to see what is inside it.
I heard this on NPR this afternoon. They were interviewing a reporter from Sky and Telescope. Apparently if you live west of the Mississippi River you will be able to see the impact on July 3rd at around 10:53pm with your naked eye.
It's a shame I'm on the east coast :'( the comet will be under the horizon when impact is to occur. It would of been a damn good excuse to dust off my ol' Meade ETX-70.
All is not lost for us eastside geeks, however. The reporter at Sky and Telescope said that we will be able to see the aftermath of the impact on the Forth of July... yeah, ok, sure bud...
All sarcasm aside, the Article at Sky and Telescope gives westsiders directions on how to locate the comet. For the eastside? There are also links to several webcasts of the event at the end of the article.
Posted by on July 2, 2005
Tags: science
-
My Host
In my previous post, I told you about my family's website. I forgot
to mention the hosting company that I'm using. The hosting company is
Site 5.A coworker of mine told me about them, I've used them for a couple days
now and I am very impressed with the sophistication of the control panel
they are using. If you want web site hosting, their features are
amazing for the price. Check them out.Posted by on July 2, 2005
Tags: news
-
Just another blog
Just another blog, nothing to see here...
Ok, well this is my adventure into the blogosphere. I'm not sure where I'm going with this blog, but after creating my new family's website I was given unlimited subdomains and the ability to use Fantastico so I had just had to create a personal blog.
My friend Jordon at The World of Stuff, a fellow Esperantist (Saluton Gxordono!) and Dvorak keyboad user, uses the blog software Word Press. I clicked a button in Fantasico and a moment later, I had a blog!
Generally the blog will be my forum for showcasing stuff that I find interesting. Stuff about My wife, Computers, Linux, Programming, Buddhism, Jazz, Chess, Punk/Ska (alright, I thinks that's enough keywords to make the search engine robots happy :) )
Well I hope you will enjoy my blog. I hope I enjoy it too :)
Posted by on July 1, 2005
Tags: news