It makes me sad to push the Oink article off the front page… but I haven’t updated this in a really long time (~1yr) and I’ve been wanting to post this poem somewhere I would remember it. This seems the prime place to where I can find it, but no one else will : )

——————————————–

Gaily bedight,
A gallant knight
In sunshine and in shadow,
Had journeyed long,
Singing a song,
In search of El Dorado.

But he grew old –
This knight so bold –
And — o’er his heart a shadow
Fell as he found
No spot of ground
That looked like El Dorado.

And, as his strength
Failed him at length,
He met a pilgrim shadow –
“Shadow,” said he,
“Where can it be –
This land of El Dorado?”

“Over the Mountains
Of the Moon,
Down the Valley of the Shadow,
Ride, boldly ride,”
The shade replied –
“If you seek for El Dorado.”

–Edgar Allan Poe, “El Dorado”

I’m saving this for my future reference… and maybe someone else will find it useful.

When using jquery AJAX with IE7, often it appears to not work. I had a situation where a jquery AJAX call retrieved the text from another page (Java servlet) to provide session information without a postback - it just returns a 0 or a 1 to the javascript.

It works fine in Firefox, Safari, Chrome, Opera, and IE6… but not IE7. In IE7, it does the AJAX query, but gets the same value every time (it should be be 0 the first time, and 1 every time afterwards). After much searching, it turns out that IE7 “helpfully” caches pages for you… even if it’s a dynamic page. So, the first time the AJAX runs, it grabs the value. The second time it runs, IE7 says “o, we already have that, here you go!” and gives us the old value again.

The easiest way to fix it? Append a random integer to your AJAX target URL.
IE :
$.ajax({
type: “POST”,
url: “SessionServlet.do?” + Math.floor(Math.random()) + dataString,
dataType: “html”,
success: function(msg){}
});

Hope that helps someone.
-darc

Picked up F.E.A.R. 2 today. I played for 2 to 3 hrs (just got to Interval 3) and so far it’s very good… as good as the original. The game balances action with horror very well. The AI is good, the weapons are good, the environment is pretty damn good, and the story is amazing (as expected).

Overall I’d give it a 9 out of 10 so far… hopefully I’ve got another 10 to 15 hrs of good gameplay left..

-darc

EDIT: So far Alma has been quite helpful… hopefully she’ll stay that way…

I’m sure you can find this elsewhere on the internet (I did) but I figured I’d log my experience. Also, I hate windows, but I figured it’d be safer than trying this in Linux seen more people have. However, I had to hack around to get iTunes to work with Windows XP64 as they have no package specifically for it… this becomes an issue as you’ll see in step #4.

1) Downloaded QuickPWN GUI 1.5.0 RC3 (QuickPwnRC3.exe - http://www.iphone-hacks.com/downloads/file/138)
2) Downloaded iPhone1,2_2.0.2_5C1.Restore.ipsw (note this is for 3G 2.0.2)

3) Backup my iPhone…
3.5) Accidentally “Restore iPhone from backup” while seeing how to choose my restore point (I think it only keeps the most recent backup). This seemed to take forever… after 45min of no progress (at around 75%) I killed it by rebooting the phone.
3.75) Made another backup out of paranoia’s sake.

4) Restore iPhone to factory state…
4.5) “Connect to iTunes” : iPhone asks to be connected to iTunes by showing a USB cable pointing to iTunes icon on the phone even though it’s already connected. Windows reports no drivers found (it worked before the restore).
4.6) Reboot computer, reboot phone, restart apple mobile services, repair iTunes installation, reinstall Apple Mobile driver, reinstall iTunes… no go.
4.75) Give up, install fresh iTunes on wife’s Windows XP 32bit machine.
4.8) iPhone is detected in recovery mode just fine, tell it to restore to factory settings.
4.85) Restore fails with error 6
4.86) Restore fails with error 13
4.87) Restore fails with error 13
4.88) Make sure iPhone is in DFU mode
4.89) Restore fails with error 13
4.899) Restore works for no apparent reason except it gets bored of toying with my emotions.
4.9) Deduce that the 64bit driver works in XP64 in standard iPhone mode (for syncing and such) but that it *requires a different driver for recovery/restoration*that DOES NOT WORK (or exist) for XP64.
4.95) Curse Apple for vehemently for not supporting Windows XP 64 … while we’re at it, curse them for not support Linux since that’s the reason we’re in this mess in the first place : D
4.98) Start using the wife’s WinXP 32bit computer for this exercise.

5) Run QuickPwnRC3.exe
6) Select iPhone 3G
7) Browse for iPhone1,2_2.0.2_5C1.Restore.ipsw, select, and hit next
8) Select all options
9) Follow directions
9.1) Fail due to USB error? (”Your device has connected in the wrong mode”)
9.2) Retry
9.3) Fail due to USB error? (”Your device has connected in the wrong mode”)
9.4) Retry
9.5) Fail due to USB error? (”Your device has connected in the wrong mode”)
10) Give up.
11) Admit defeat.
12) Try to restore to Apple software.
12.2) Fail due to Unknown Error 13
12.3) Retry
12.4) Fail due to Unknown Error 13
12.5) Retry
12.6) Fail due to Unknown Error 13
12.7) Retry

13) Go back to WinXP64 computer.
14) Try to restore
14.1) Installs driver for DFU mode, fails to load driver for regular mode (USB Device)
14.2) Get Unknown Error 1601 due to above.
14.3) Am very sad.
14.4) Apple knowledge base suggests removing all Apple software (iTunes, etc) and reinstalling… god I hate windows.

15) Remove iTunes
16) Remove QuickTime
17) Remove Apple Software Update
18) Remove Apple Mobile Device Support

19) Reboots.

20) install Apple Mobile Device Support
21) install iTunes
22) install QuickTime

23) Still FAIL due to same driver issue.
24) Install old version of Apple Mobile Device Support for giggles (and I think it worked at one time).
25) Still FAIL, no driver for regular iPhone USB device mode.

26) Go back to wife’s WinXP 32bit computer… try again because I’m out of ideas and it worked earlier… one out of three times… for some reason.
27) Try to restore (DFU mode), Fail with Unknown Error 13
28) Try again, Fail with Unknown Error 13
29) Try again, Fail with Unknown Error 13
30) Reboot (it is windows after all)
31) Do the Apple dance
32) Try to restore in Recovery mode (non-DFU)… Fail with Unknown Error 13.
33) Try again in Recovery mode (non-DFU)… Fail with Unknown Error 6 (WTF is it changing?!).
34) Try again in Recovery mode (non-DFU) just because I’m curious what error I will get this time… Fail with Unknown Error 13.
35) Try to restore in DFU mode… Fail with Unknown Error 13.
36) Try to restore in DFU mode… Fail with Unknown Error 13.
37) Try to restore in DFU mode… Fail with Unknown Error 6.

38) Give up
39) Admit failure
40) Go to bed.

41) Wake, go to work
42) Plug in iPhone on work computer and tell it to restore
43) Restore to factory settings works fine, the first time, in recover mode… wtf?!
44) Restore from backup
45) All’s back to normal…

She’s growing steadily. She still likes it in my boggon (as you can see), but she’s getting too fat to fit : )

Went out to Beaverfork Lake (Central Arkansas) after work today with the wife to go swimming and enjoy the nice weather (was in the 70s today instead of the 90s). We ate and swam for about two hours and swam out to the bouy one last time and hung on to it for awhile before we got ready to leave.We swam about half way back to shore (40ft), where we could touch and decided we were headed home. As we were discussing this we saw two guys on the bouy we’d just come from screwing around. Then, as we started heading to shore I heard one of them yell “help!” and I turned and looked, but figured he was being stupid. Then he said it again, and his friend yelled “HELP! He’s really drowning!”

Seeing a life preserver on the beach earlier, I ran/swam to the sign it was hung on… to find that the park ranger had taken it in, I assume so that it wouldn’t get stolen. So, I look around and the only floatation device I see is a kid’s purple foam noodle. So, I grab it and run/swim out to the guy and give it to him… but he’s too heavy (looked like 200+ lbs of solid muscle… his bicep was 3 times the size of mine). So, that won’t keep him above water so I have to tow him towards shore by his arm, while swimming up as well to keep his head above water.After swimming about 20ft (which took forever… I was tired from sprinting to shore and back) I was finally able to touch (barely) so I could support his weight and walk him in … however slowly it was, at least I didn’t have to swim/support him anymore. I was about 8 inches taller than him and the lake gets shallow very gradually so I had to walk him another 15 - 20ft before he could touch.

He said thanks, commented on how much his family was going to make fun of him, then went on his way… and the wife and I headed home. In retrospect, I tore a muscle two weeks ago and strenuous swimming has made it very unhappy… if I wake up tomorrow in extreme pain I’m going to be sad.

Interesting evening…
-darc

EDIT: Knox asked so I’ll add it in : he looked about 20 and was in good shape, like I said - solid muscle. I guess he just didn’t have any stamina at all. I think he just panicked because he floundered for 1 - 2minutes while I ran to shore and swam all the way back out… he had plenty of time to get back to the bouy or maybe close enough to shore to touch.

The new Nine Inch Nails album is out. Reznor has it up for free at :
http://theslip.nin.com.

I’ve listened to most of it and it’s nothing amazing, but it’s decent.
-darc

>+++++++++++[<++++++++>-]<+.>+++++++++++[<++>-]<.>++[<+++>-
]<.>>>++++++++[<++++>-]<.<-----[<++++>-]<.>++++[<++++>-]<+.
> - - - -[<+++>-]<-.>>.<<---------[<++++++>-]<++.>++++++++[<+++
++>-]<+.----.>++++++[<------>-]<-.>>>.<<+++++++[<++++++++>-
]<+.>++++[<+++>-]<..---.>>>.<<+++[<-->-]<.>+++[<+++>-]<.+++
.>>>.<<+++[<-->-]<-.+++.+.>++++[<++>-]<.>++++[<---->-]<++.>
++[<++>-]<+.>++[<---->-]<+.>>>.<<++++++[<------>-]<-.>+++++
+++[<++++++>-]<.>++++[<---->-]<-.>++++[<++>-]<.>++[<++>-]<+
.>++[<---->-]<.>++++[<++++>-]<-.>++++[<---->-]<--.>++[<++++
>-]<.>+++++++++[<-------->-]<--..>+++++[<----->-]<++..

-darc


I picked up my Ball Python yesterday. She’s about 18 inches long and maybe 1.5 lbs (but I’m horrible at estimating weight). Granted I don’t have any experience in Pythons, but I’d guess she’s 2 to 3 months old.
She was very active last night, investigating her enclosure, but has been sleeping all day (Ball Python’s are nocturnal). When she gets up and around later today I’m going to see if I can get her to eat since she hasn’t been fed in 5 days.
-darc

FINALLY!

Didn’t think I was coming back did ya? Well I squeezed in some time and got some stuff done that was way overdue. The changelog is below and I also added a “upcoming” section to give you an idea of some things that are in the works. As usual you can pick it up off SourceForge or the DarC Horizons code repo.

Let me know if you come up with any problems. Sorry this took so long.
-darc

v0.11 - 2008.02.20
———————
* Added password change utility so users can change their own passwords… how did I miss that?
* Removed static paths pointing to webroot/php/. I think I’ve caught and removed all the static paths left over from my poor practices days : )
* Removed use of the $table_name variable. This should prevent accidental breakage.
* Fixed the ability to view meeting minutes (view_minutes.php). I had an unassigned variable that was breaking it.
* Changed link colors to a deep scarlet… pretty, eh? The default blue was making my eyes bleed.
* Formatted all code with PHP-Eclipse’s built-in formatter. Looks much cleaner now.
* Changed “include()” to “include_once()” where necessary.
* Added “Apply for Membership” link to the front page. This has been around forever, just not easily accessible.
* Added “Pledge” to list of statuses.
* Made slight CSS changes on input elements.

Upcoming:
– Add ability for admins to force users to change their password on next login
– Add a system for uploading/viewing class notes, worksheets, and tests

Next Page »