This is old content! The graveyard is a snapshot of content created from 2002-2005. For new stuff, visit Maniacal Rage.
 

Safari/MT Bug Workarounds

4 comments (closed), posted on october 31, 2003, tags: software

Here are a few things you can do to save yourself from the Safari/MT bug I wrote about the other day:

Download Safari Enhancer, which allows you to turn off Safari's caching. The app also allows change some other hidden settings (like removing link underlines and dis/enabling the debug menu) and is Panther compatible.

Or, Replace the Safari cache folder with a null file, so that Safari doesn't actually cache anything. You can do that by opening Terminal (Utilities) and typing the following (all one line, no breaks): touch ~/Library/caches/safari (via macosxhints). Note that using the Safari menu item "Empty Cache..." will remove what you've just done, so after doing this don't use that menu item (you won't need to, there's no cache being created).

Of course, the simple solution is to only delete MT comments via the Edit Entry page (by checking them and then hitting delete).

Hopefully, even if this issue isn't solved in Safari any time soon, Movable Type itself could be changed to circumvent this bug. As far as I can tell, simply changing the Edit Comment's textarea name from "text" (which matches the Edit Entry content textarea) to something different would eliminate this problem.

Apologies to Anil for trackbacking this to his non-MT website, but I just thought he should be aware of the bug.

I Love Myself

posted on october 30, 2003, tags: site

In an effort to blow my own horn and/or entertain you, I've compiled a list of my favourite entries here at ManiacalRage from the past year. As you would expect, most of them are comedic entries, but also populating the list are some MT tutorials and some technology-related digressions. I've listed them in random order by their nature.

Technology
     The [New 15GB] iPod Review
     Why I Bought a G5 (Saturday)
     Free WiFi Not Crazy After All

Humour
     Homeless Man "Not a Doctor"
     More 'Pulling a Jackie Chan'
     Ticker Tape
     In Other News...
     Fast Food, Slow Minds
     Write For the Movies
     Neutered
     Cats Love Lasers
     Today's Ticker Tape
     À La Craig's 'Missed Connections'
     Babelfish, You Bastard
     Some Common Misconceptions

Movable Type, etc
     Sanitize Usage
     Easy Friend Links
     Infrastructure Tutorial
     Graphical Date Tutorial
     Custom Blogshares Portfolio

Safari/MT Bug Reduction

18 comments (closed), posted on october 29, 2003, tags: software

As promised, I looked into the Safari/MT bug I reported earlier, and I think I've found the problem. It seems to be due to Safari's over-caching, which several people have complained about in the recent past.

Here's what happens:

Movable Type uses the same name for its textarea on both the Edit Comment page and the Edit Entry page. Both are named "text." When you view the Edit Comment page to delete a comment, Safari caches the text inside that textarea. Then, immediately after clicking the Delete button, MT forwards you to the comment's related entry.

This is where the problem starts. Safari loads the cached comment text into the "text" textarea on the Edit Entry page. How do I know this? Here's a visual example:

Safari Bug

You'll notice that the text in that box does not match the text from the same page's source. That's because the cached text appears in the box, even though Safari clearly gets the correct text (I mean, it's in the source for god's sake!). But even though it's in the source, if you hit save, you'll post the text in the actual box to your server, and overwrite your entry.

So the problem is Safari. And it's a cache problem. I've reported a bug to Apple, posted about this on the MT support forums, and trackbacked this (and the last) entry to Dave Hyatt, so hopefully at least someone will fix this in the long run. In the meantime, just be careful if you're a Safari/MT user.

Update: You can find some workarounds for this bug in another entry, Safari/MT Bug Workarounds.

Safari/MT Bug

posted on october 29, 2003, tags: software

A long time ago I noticed a bug in Safari when using Movable Type. Today, Todd Dominey was a victim of the bug, so I figured I would write up a quick description so you can avoid it.

Unfortunately, due to the fact that I am away from home right now, I cannot do reduction in Safari (on a PC here). I will do this later tonight to see if I can pin down exactly what's causing it:

After deleting a comment from Movable Type, MT redirects you to the Edit Entry page for the entry associated with said comment.

In Safari (1.0/1.1), this often causes comment text to replace the Entry Body textarea of the edit page. If you then accidentally or intentionally hit the Save button, your entry will be replaced with that comment text.

To avoid this, do not hit Save. Instead, use the Rebuild Site link on the left side of the page.

I'm not sure if this is specifically a Safari bug, but I would assume it is because this does not happen in any other browser. Expect reduction this evening.

Big, Bright, Horrible!

2 comments (closed), posted on october 28, 2003, tags: new york

Regal Cinemas 14 in Union Square is sending a message to people who think Manhattan doesn't need any more bright, huge signs: Yes it does.

Regal Cinemas 14's New Sign

I know it's hard to see from the crappy picture taken with my cell phone, but let me describe: it's a high sign that wraps around the whole corner of the theater building (the 13th and Broadway corner), with 5-foot-tall lighted letters spelling out "REGAL CINEMAS 14" across the top, and a 5-foot-tall electronic marquee underneath. Flanking the left and right of the marquee are two more, smaller lighted signs that only say "REGAL."

Regal Cinemas 14's New Sign

While I can understand wanting to advertise your theater to the crowds in Union Square, I just think this is a waste of time (and power), since the sign is hard to see from most places in the Square. In fact, because the theater is on the corner a block south of the park, you can't see the sign unless you're on that street, or within 20-30 feet west or east of the street in the park.

I think maybe instead of paying for that sign, Regal Cinemas 14 should spend a little more money getting big movies when they open—after not having The Matrix Reloaded and several other big films recently, who cares about that damned sign? If there are no good films it means nothing. Oh, except it's huge and bright and horrible.

Why I Bought a G5 (Saturday)

5 comments (closed), posted on october 27, 2003, tags: tech

Okay, let me start off by acknowledging the irony of writing a post entitled "Why I Can't Buy a G5 (Yet)" and then buying a G5 a day later. I know. It will be hard to convince you of this now, I'm sure, but I am not some out-of-control crazy person who cannot stop spending money. I promise. Yes, I know, I bought three Apple computers in a year. There are good reasons, which I'll share with you now.

The Cycle

Like anything technology related, when you buy a computer, you always assume the risk of future innovation. By that I mean buying a computer today for $1,500.00, which is near top-of-the-line (hereafter referred to as TOTL), could easily be rendered outdated and old (and expensive) in a short period of time. Nearly everyone knows this. I call this "the cycle."

The cycle is as such: technology moves in a never-ending path toward Back to the Future, Part II, Minority Report and Star Trek: The Next Generation. Along that path is your computer. In front of it are countless more, each one faster and (probably) cheaper than yours. Behind it lies 20 years of computers, each one slower and more expensive. But don't think of the line as a simple row of computers, think of it as groups of computers, organized by technology milestone. For instance, Pentium II computers would be grouped together. Power Mac G4 machines as well.

When you think of computers that way, a pattern emerges. Learning from that pattern, you can devise two coping strategies:

1. Continue buying non-TOTL machines every time the speed increase is "noticeable" (meaning day-to-day use is noticeably faster).

This will keep your computer up-to-date technology-wise, but will cost you quite a bit of money (trust me, I know). This strategy is like moving forward on the technology line, but only within each major group. An example would be buying a 733MHz G4, then a 1GHz G4. While the speed difference is great, the jump is not very large, so to stay up to date, other small jumps will have to be made in the future. And, at the rate technology evolves, you might have to start jumping every few months.

2. Purchase a "leaps-and-bounds" machine.

This is where you beat the cycle, at least for an extended period of time. Instead of moving up the line inter-group, you completely skip to the front of the line and purchase the latest technology and speed. This is especially effective when said machine is a leap-and-bound ahead of its predecessor (enter the Power Mac G5). While this isn't a permanent end to the cycle (there is no end, obviously), this will put you in a pretty great position for a comfortable amount of time (comfortable being, at this point, about 3 years).

So, why did I buy three Apple computers in one year? Because I started my cycle with Apple products using the first strategy.

» Continue reading Why I Bought a G5 (Saturday)

Why I Can't Buy a G5 (Yet)

3 comments (closed), posted on october 24, 2003, tags: tech

Ah, the Power Mac G5. After years and years of the Mac community crying and whispering false rumors and begging and praying, the gigantic metal box is unleashed to the world and I, as always, want one. I want everything new that comes out. Hell, I bought the 12" PowerBook I'm typing this on two weeks after it came out, and that only 5 months after having bought a 12" iBook (which was my first Mac computer save the Macintosh "Fat Mac" 512k that we got from a family friend back in 1994).

The problem with loving a company like Apple is that you're bound to be disappointed or mad at them when they release something new, and you're always going to want something more. When I bought my iBook, the next week they released new iBooks that were a little faster and a little cheaper. When I bought my PowerBook, it wasn't quite as bad—two months later they dropped the price by $200—but last month they released a faster, better version. But still, you can't buy anything from Apple these days without feeling remorse shortly after. I know that sounds horrible, but it's not—it's a good thing.

Imagine if the iBook I bought a year ago was still top-of-the-line today. Wouldn't that be depressing? Constant releases, upgrades and new technologies are exactly what you want in a computer company. Apple has been steadily releasing new machines and new technology in the past year and a half. And, on top of that, they've also been steadily releasing new versions of their operating system, OS X. Everyone knows Apple is a hardware company (if you didn't know—they are), but imagine how difficult it would be to sell new 17" PowerBooks or G5s if we were still using OS 9 and there was no movement in OS development.

So yes, I want the G5. I love my PowerBook, and I've been using it as a primary machine since I bought it, but I crave the raw power of two 2GHz G5 processors. Why not just buy it, you ask? Because, for the first time in my life I have the money to do so but I'm pacing myself. That's right—I'm forcing myself to wait. I always jump the gun, I always want to buy, buy, buy. But come on, three new machines in a year? That's ridiculous. The way I figure it, I can wait until next March (then it will have been one year after buying my PowerBook), and I'm gonna.

The downside? I'm going to have to wait another 5 or 6 months to get my hands on the machine. 5 to 6 months before I can replace my PowerBook as the primary machine. The upside? In 5 to 6 months, there will probably be at least a slightly faster G5 for the same price. Another upside? Waiting 5 to 6 months means only putting $500 a month aside for the machine, which is far less daunting than spending $3,000 all at once.

And so I wait. Sure, it's hard to wait to spend money. But at least in the meantime I can buy an Apple 20" Cinema Display, completely justified. I've needed a new monitor for a very long time, and since the ACD plays perfectly with my PowerBook and works with my P4 (and in the future, the G5), there's no reason to stay CRT from this point on. Oh, and there's Panther. I get to buy Panther. See, I've got plenty of things to buy before the G5. And then, in a few months, I'll get the G5. If you're waiting to buy one too, I think you should probably wait to buy it until after I do—with my history Apple will release both a faster and cheaper machine directly after I buy.

Home and Work

1 comment (closed), posted on october 23, 2003, tags: me

It's been so long since I wrote an entry, I almost considered waiting even longer. But then, I guess, the eventual problem is that waiting longer turns into waiting longer, until eventually five years go by and all of a sudden I write a new entry—and the only people reading it are me and the guy who got here by searching for "drink piss." That's not a good outlook.

Anyway, last time I wrote I had just left my last job. The past several weeks have been spent doing freelance work. It's been great, but busier than I imagined. I've been working nearly 7 hours a day here at home, which is pretty substantial considering that I have a television, bed, refrigerator and cats here to distract me. I had four projects to finish, of which I've completed 3 so far. The last one is the largest, and I'm working on finishing that as soon as I can, since I also just got another job.

Yes, that's right—I left one job a month ago, and as of Monday I am employed again. It's astounding really. And, get this—I applied for the job on Monster.com. Unbelievable. I'm not lying, I promise... I got the job from Monster.com. Yes, I know, Monster.com never works. I know. I know because I believe that, because I've experienced it too. Every time I've tried to use it, nothing has ever happened. Until this time. Monster.com. Crazy.

I start the new job Monday, which leaves me only one more day of home working. I'll miss it, but I love money and having a regular income of it.

New & Different

4 comments (closed), posted on october 9, 2003, tags: web

I thought it might be worth mentioning that Textism, one of my favorite weblogs, as been redesigned for the first time in forever. I was surprised this morning when I got to Textism's tab in Safari, at first glance thinking I had opened the wrong page.

The new design is simple and 100% fixed-width font. It's like reading a screenplay now, which isn't at all awkward since the content can often feel that way anyway. It's not like Dean Allen needs any additional traffic sent to his site, but what the hell.

Update: Unfortunately, Dean has switched his fonts back to Verdana. He says it's due to everyone complaining about Courier, which is understandable, even though I liked it.

Weird Safari Bug

2 comments (closed), posted on october 7, 2003, tags: software

While working today I found a very strange Safari bug. On an order form I was creating, a user must keep a checkbox checked, otherwise they can't submit the order. To facilitate this, I used a simple line of JavaScript. In the onclick attribute of the checkbox, I call a JS function called ableButton() that looks like this:

function ableButton() {
     if (document.order.go_order.checked==true) {
          document.order.submit.disabled = false;
     } else {
          document.order.submit.disabled = true;
     }
}

Now, that works fine (in all modern browsers), and, if the browser supports it (most do), grays out the submit button. This works just fine in Safari. The bug is something else: if you click on the disabled submit button, it does nothing. As it should. But! If you double-click the button, it submits!

It's almost as if Safari believes disabling means, "don't let them use it, unless they seem like they really want to." I tested this in all the other browsers I have, and Safari was the only one that it worked in. Strange.

Why I Will Keep My $200

5 comments (closed), posted on october 3, 2003, tags: software

I've been a Dreamweaver user since the release of Dreamweaver MX. I used UltraDev occasionally before then when I worked at a company who refused to let its coders use anything else, but for the most part, up until the release of MX, DW stunk.

Version 3 and version 4 were full of poor interface design issues, they were clunky and slow, and worst of all—they wrote terrible code. When DW MX came out, I was expecting to see a slightly less clunky version of Dreamweaver, but was surprised to find that Macromedia had actually done something right with the program. Better interface, faster, and it actually wrote decent code. Granted, I still only let DW write a very little amount of code for me anyway, but that little bit was actually usable without a lot of changes.

Since then, I've used a combination of Dreamweaver MX and EditPlus on my PC, and Dreamweaver MX and BBEdit on my Mac. Over time, I've generally phased out BBEdit due to it's extremely limited syntax-highlighting and lack of features. And, since I do just about 100% of my development on my PowerBook now, it's basically been DW MX for the last year.

It's comfortable (a bit slow) and it works. Now here comes Dreamweaver MX 2004, all raring to go, promising to make my life even easier. Well, it hasn't. In fact, I'm far more comfortable with good ol' MX. I'll tell you why.

» Continue reading Why I Will Keep My $200

My Dock

1 comment (closed), posted on october 1, 2003, tags: software

As usual, I'm hopping on the latest-craze-bandwagon and posting a picture of my OS X dock as of current. This on my 12" PowerBook, and contains (from left to right):

Finder, Safari, Camino, Mozilla, Mozilla Firebird, Mail, Kung-Log, BBEdit, Dreamweaver MX, Dreamweaver MX 2004 (demo, trying to decide whether or not to buy the upgrade... so far, I've decided no (read more)), Flash MX, Photoshop, Illustrator, Transmit, Address Book, iCal, Proteus (used to use this all the time as my IM app), iChat (now use this all the time because I got an iSight (more later)), MSN Messenger, Final Draft, Word, iTunes, Kung-Tunes, iPhoto, Project Builder, Interface Builder, Terminal, Toast, Airport Admin Utility, Mount.

Then after the separator there's an alias to my home directory and of course the trash can. Click the image to see all of it.

My OS X Dock

See Also

View the archive

Original iPod Introduction
How far we've come in just a few short years. Here's where it all started.

Front Row on Non-iMacs
Going to try this tonight!

WriAShorStorWe!
DY starts a one-week short story writing event for people to lazy to enty NaNoWriMo. VerCooIdea.

Lost Rhapsody
Funny Flash movie using Weird Al music and Lost stuff. Lyrics make a surprising amount of sense!

Jed's Other Poem
Unsolicited music video made on an Apple ][. Fantastic!

Printers Output Secret Barcode
The government is keeping tabs on what you print, with the help of major printer companies.

Dreamhost Promo Codes
DH already has very cheap, very good hosting—this just sweetens the deal.

Photos of the new iPod
Just received my new iPod and I put a few photos up.

PEZ MP3 Player
Funny idea that actually looks kind of neat. I like that it comes pre-loaded with "indie" music.

HD Easter Egg
"My Name is Earl" on NBC gives viewers with HD TVs a little easter egg. Cute, but weird.