Fri 31 March 2006 12:00 AM
Tales of the Smear
Tales of people shitting themselves shouldn't be this uproarously hilarious. (There's also a smearror.)
Thu 30 March 2006 11:33 PM
Entre Void
Apparently, Monster Magnet did a cover of "Into the Void", too. It was on disc 2 of their Greatest Hits collection. I wonder how many more versions of this song I have on my hard drive, but am unaware of.
Tue 28 March 2006 1:07 PM
False Memories
The false memory case of Paul Ingram reads just like the events that occurred in Salem during the witch trials. Truly bizarre.
Mon 27 March 2006 10:36 AM
adPersistXML
Since at least ADO 2.0 it has been possible to persist an ADODB.Recordset object to a binary format called ADTG (Advanced Data Table Gram) using the .Save method. Starting in ADO 2.1 it became possible to also persist a recordset to XML. If the hits from Google are to be believed this is used primarily for retrieving blocks of data from a remote source and then disconnecting the recordset and allowing local editing of data without having to send packets back to the data source over the network. When all the edits are complete, the recordset reconnects to the data source, and calls .UpdateBatch to save the changes to the data source.
What I wanted to do was not so much use the XML file as a temporary cache, but rather as a long term storage and/or transfer medium that could seed a new empty database at some point potentially far removed from the time when the data was saved. A few tantalizing hints and remarks on the web suggested, this was entirely possible, as long as the new empty data source had the exact same structure as the original data source.
I couldn't get any of the suggested methods to work, though. I fiddled some over the weekend and fiddled a bit more today and finally have a sequence that accomplishes exactly what I wish to do.
The algorithm:
- Connect to the original data source and load the data into a Recordset.
- Save the Recordset to an XML file (using the adPersistXML parameter to the Recordset.Save method).
-
Prior to loading the XML file into a new recordset, make the following
adjustments to the XML contents:
- For each <s:AttributeType /> tag add an rs:basecatalog attribute, if necessary.
- For each <s:AttributeType /> tag, set the value of the rs:basecatalog attribute to the new data source (it may be initialized to the old data source).
- In the rs:data section of the XML file place all the z:row elements inside an insert block by putting an <rs:insert> tag between the rs:data tag and the first z:row element and an </rs:insert> between the last z:row element and the </rs:data> tag.
- Open a Recordset object based on the altered XML file (be sure the CursorLocation is adUseClient and the LockType is adLockBatchOptimistic).
- Update the ActiveConnection for the Recordset to point to the new data source (.ActiveConnection Is Nothing after opening an XML file).
- Use the .UpdateBatch method to execute the insert commands stored in the XML file. NOTE: It may be necessary to SET IDENTITY_INSERT for the table and you may need to make sure that parent foreign key data already exists. It would also be a good idea to wrap the update inside a transaction that you could rollback on an error.
Fri 24 March 2006 9:28 PM
Firefox Memory
It seems to me that using over 512 MB of memory is a tad bit much. Usage died down after I killed a tab that had an Experts-Exchange topic in it.
Wed 22 March 2006 10:53 AM
Forecasting
This is pretty cool. Apparently, you can do some rudimentary forecasting of pending storms based on wind direction and barometric pressure as measured with a barometer. (Details are generally valid for the continental US.)
If the winds pick up and there's a steady fall in barometric pressure, you can deduce that a storm is on the way (duh). What's cool is that the direction the winds are coming from will be offset by about 135° from the direction the storm is coming from. So, winds from the SE or S indicate a storm moving in from the W or NW. The storm center will pass near to or N of your location in 12 to 24 hours and as the storm passes, the winds will shift to the NW by way of S. Conversely, winds out of the E or NE indicate a storm moving in from the S or SW with the center passing near or S of your location in 12 to 24 hours. Again as the storm passes, the winds will shif to the NW, but this time, by way of N.
A storm is a low pressure zone, so the wind is basically going to be moving into the center of the storm. Because of this you can deduce the location of the center.
Mon 20 March 2006 6:46 PM
Hyperduchovny
"Sometimes I think that the dream is reality and life is the simulacrum."
Mon 20 March 2006 12:59 PM
Ranting Gryphon
I love 2. I had lost the MP3s I had downloaded during my last OS re-install, so I was pleased to see he's still online.
" This is like a week ago; I was sitting here using my $2500 Pentium 3 computer to emulate 8-bit Nintendo games like a good wasteful American..."
Sat 18 March 2006 1:42 AM
Ganon's Revenge
You know you're lame when you're not only playing hacked ROMs of games you had when you were 11, but also scouring the internet for maps and tips for said hack. At least, this Zelda hack is fairly interesting. It's certainly harder than the original is for me now (I can complete both quests from the original "Legend of Zelda" in less than 3 hours).
Reminds me of those information starved days before the internet, when I had to sit down with graph paper and draw all my own maps both for the overworld and the labyrinths, killing time waiting eagerly for each month's new issue of the Nintendo Newsletter because there might be a review chock full of tips and tricks for my favorite game. More often than not, though, there wasn't, and I had to be content with a single blurb to spur me on to waste yet more of my young life moving bytes around on a TV screen.
Tue 14 March 2006 8:38 PM
Disthumourous
You caught me Alan, I tried to fuck your sheep.
Tue 14 March 2006 9:50 AM
Hwīt
I had a dream of a pale, all wheat beer last night. Saaz boiling hops with Cascade hops and coriander seed for finishing. Would it be any good?
Sat 11 March 2006 7:48 PM
Learn From My Mistakes
"Speaking from experience, my company standardized on a single language and it went bankrupt in 3 months. Sure, I was the only person in said enterprise, my mom was my only client, and standardizing on DOS batch files may not have been my best idea, but it did save a lot of time when the answer was 'Sorry, this can't be done, ask someone else'."
Thu 9 March 2006 11:02 PM
JesusPets
This reminds me of that delightful song by One Bad Pig for some reason.
Thu 9 March 2006 10:26 PM
Ayds
...helps you control your appetite so you lose weight.
I remember my mother buying these Ayds candies when I was a child. I would steal them out of the box on top of the fridge, thinking they were real candies.
Mon 6 March 2006 9:21 AM
JB Weld to fix stripped threads
http://www.farmallcub.com/HLChauvin.htm#Stripped Carburetor
"Some "J-B Weld" non-believers are going to frown on this fix, but I would never hesitate to try this before buying another carburetor.
First, inspect threads in carburetor for "cleanliness" -- if dirty and full of Teflon tape or stick, pipe dope; buy a new shotgun barrel brass bore brush at Wal-Mart or similar Store, in size of .410 for a 410 shotgun.
Clean stripped carburetor threads thoroughly with brush dipped in lacquer thinner or gasoline, using circular motion, and then clean threads again with lacquer thinner or gasoline on a Q-Tip until Q-Tip becomes white, and wipe dry with Q-tip -- do not touch the stripped threads with your fingers after they are cleaned -- oil from fingers are detrimental to this repair.
(The above cleaning is the part of the work never done well by non-users and non-believers in epoxy repairs -- if epoxies wouldn't work, we wouldn't have any elderly movie stars with nice front teeth -- structural stress on teeth are far more intense than stress on a Cub carburetor gas line).
Next get some J-B Weld & mix thoroughly, two (2)equal lengths of J-B Weld, (about 1" long each), mixed with a round tooth pick on a paper plate or similar items.
Step (1): Carefully and neatly apply J-B Weld to the carburetor stripped threads with a round tooth pick, and carefully and neatly apply J-B Weld to the brass male gas line fitting such that you see two (2) smooth J-B Weld surfaces, one (1) on all of the male threads and one (1) on all of the female stripped threads. (Don't get any in the carburetor screen inside the carburetor).
Step 2: Here's first the hardest part -- "Patience" -- allow the J-B Weld to set for about one (1) hour on both threads, depending on temperature & humidity.
Step 3: Next carefully align male, brass gas line fitting in hole and screw into carburetor -- then carefully unscrew male brass fitting -- then remove all J-B Weld from male brass fitting only.
Here's the second hardest part -- "Patience" -- wait about 24 hours before trying the clean male brass fitting in the new J-B Weld carburetor threads.
When trying the next day, if fitting feels too loose, clean J-B Weld carburetor threads again with Q-tip & repeat Steps 1, 2, & 3 above."
Fri 3 March 2006 12:15 PM
Round Trip
Skeleton ripped to bone in this fucking chain
We've {raped/ripped}(?) the skin and death don't read 'em rain
No outer limits in the sky you'll find this time
So stack the {few/putrid}(?) on the fortune is lime.
you'll find
you don't wanna see
you don't wanna find
you don't wanna be
you don't wanna see
you don't wanna know
you don't wanna show
I scooped to lend a hand and fired at these bones
Down to the marrow you're a pile of those stones
you don't wanna see
you don't wanna find
you don't wanna be
you don't wanna go
you don't wanna find
you don't wanna see
Thu 2 March 2006 12:27 AM
assless chaps
Wed 1 March 2006 3:35 PM
Newbie
Sadly, there's no mention of my preferred variant spelling, nÜb.
