May 7th, 2003
by Jim Reverend.
After my funny math in Python demonstration, Matt decided to do it in Java and then again with even more types. So… I decided to try it in PHP.
Here's the code:
print("Let's do some math!\n");
$One = 1;
$Ten = 10;
$Pointone = 0.1;
print("loose: 1/10 = " . $One/$Ten . "\n");
$intOne = (int) 1;
$intTen = (int) 10;
$intPointone = (int) [...]
May 7th, 2003
by Jim Reverend.
Math within a computer will never be perfect. Python, as Matt points out, trys to do the best that it can with what it has. By default, it assumes all numbers are integers and computation using them should only be as accurate as an integer can be. Hence:
>>> 1/10
0
We all know that one divided by [...]
May 6th, 2003
by Jim Reverend.
Jess and I are in. Anyone else?
I don't particularly enjoy Polka, nor do I particularly enjoy Brave Combo. However, if they're playing in Keller, it's got to be worth something.
May 6th, 2003
by Jim Reverend.
I think some of my MovableType problems have to do with my webhosting provider. There are two Apache modules installed on my server that I can't seem to find information on. The first is mod_log_bytes. This seems harmless. The second is mod_bwlimited. Just the name of it makes it seem like, in someway, it [...]
May 6th, 2003
by Jim Reverend.
I've been learning Python. What initially was simply a quest to make some small alterations to Pyrite BlogAuthor, has become an all out quest to learn Python. I've already seen lots of things that I like. I've also seen lots of things that I don't like, and lots of things that could really get me [...]
May 5th, 2003
by Jim Reverend.
I installed a new CD-RW drive this evening. It only took me 1.5 hours worth of trouble shooting to determine that, even though it looked perfectly fine and normal, the ribbon cable that came with the drive is bad.
I guess that just goes to show that, regardless of how absurd it sounds, you should never [...]
May 5th, 2003
by Jim Reverend.
First of all, the reason that Pyrite BlogAuthor didn't ping the trackbacks associated with the Categories had nothing to do with Pyrite BlogAuthor. It was MovableType's fault.
After digging through MovableType code for an hour or so (and seriously considering scooping my eyes out with a spoon as an alternative) I found the problem. publishPost, the [...]
May 5th, 2003
by Jim Reverend.
All of the guests at our wedding, except one (thank you Amanda), didn't include their address when they signed our guest book. If you attended the wedding, please email me (or Jess) your address.
Thank you.
May 5th, 2003
by Jim Reverend.
While Pyrite BlogAuthor does indeed manage to Post to my MovableType powered weblog, it seems like it either doesn't send Category pings, or adds the Categories AFTER it requests the entry pings to be sent. Therefore, category based TrackBack pings don't occur unless you edit the item and then save again. This is not desireable.
Aside [...]
May 5th, 2003
by Jim Reverend.
This post is being written using Pyrite BlogAuthor, a full-featured python based weblog client supporting MovableType, Nucleus, Blogger v1, and others.
I currently use a custom built, GPG enabled mail to blog gateway when I want to post without using the MovableType web-based interface. If this application works properly, it's flexibility and feature set would be [...]