|
|
|
Hey Jer,
If you are sick of being a programmer and are looking for a new job, I think I've found the perfect one for you. The Nationals are hiring for their on field T-shirt throwing, hot dog shooting, all singing, all dancing crew. Send your resume along. http://washington.nationals.mlb.com/NASApp/mlb/mlb/help/jobs.jsp?c_id=was Seriously though, you totally have enough on your resume for it, all you need to do is walk into the interview and say "I was Shamu..." then rub your stomach like you are hungry and you are totally in. Maybe you could even replace their Furby looking mascot guy in the eagle screech suit. |
|
 |
Bull's long lost brother??
[reply]
|
04/28/05 11:16 AM EST posted by alex email |
|
|
So Doug 2 and I went to the National's game last night against the Phillies and we sat right beside the Nat's BULLpen. A few days ago they called up the 6'11" Jon Rauch, and I saw him pitch on TV. But it wasn't until we were at the game and I saw him in the dugout that I realized just how much he looks like Bull. These two could easily be long lost brothers. Just check out the comparison photo below (sorry for lack of photoshopping on this one, don't have time). I mean, Rauch is just Bull plus 5 inches... heh heh heh...

|
|
|
|
|
| George Lucas has announced that he's planning a live action Star Wars TV series, in the spirit of The Young Indiana Jones Chronicles. So essentially, it's going to mix the magic of Star Wars with the teen drama of Saved By The Bell. I'm getting my Tivo prepped for the episode where Yoda kills Darth Screech. |
|
|
|
|
In this AP photo, I'm assuming that George W. Bush is holding hands with Saudi Arabia's Prince Abdullah because hand-holding is a Saudi Arabian or Muslim custom. But isn't it also a custom that Muslims wipe their butts with the left hand? So while it may be a nice gesture for Bush to offer his hand to the Prince, I would think Abdullah would be mortified that Bush offered his poop hand for their little stroll... |
|
|
|
|
A small herd of 10 buffalo were roaming the highway near Pikesville, MD and were finally captured at a suburban tennis court a few hours ago. An eyewitness first reported seeing a hideous beast wandering the streets in nearby Baltimore, but police failed to respond to the call, assuming it was either Art Modell or Peter Angelos. |
|
 |
SQL Insert Trigger...GO!!!
[reply]
|
04/26/05 08:12 AM EST posted by nate web |
|
|
So I'm enough of a manager now that I don't get to code often. Blah blah blah. I don't like it but that's the way it works for now. When I do get a chance to write some code I'd like to make the most of it. So I've got a problem where I'm parsing XML reports and then inserting a subset of the data into a SQL table for record keeping and the like. The insert appears to be approximately 1223 records of which there are only 372 distinct pages. Rather than have non-unique URLs in the table I figured I'd get rid of the dupes on insert with a trigger. That works great. I don't know about the efficiency, but at least I can still write a trigger.
Now what I'd like to do is have the trigger update a count field in the table in addition to preventing the duplicate item from inserting. This is where my trigger fails. The trigger is syntactically valid and when inserting the 1223 records, only the 372 unique URLs are actually inserted. However, the count column is not being incremented. Has anyone ever tried to do this or know for a fact that it's not allowed?
Here's the SQL: CREATE TRIGGER DistinctURL_Insert ON dbo.T_PolicyURL FOR INSERT AS
DECLARE @TheURL VARCHAR(255)
IF (SELECT COUNT(*) FROM T_PolicyURL p, INSERTED i WHERE p.URL = i.URL) > 1
BEGIN SELECT @TheURL = URL FROM INSERTED ROLLBACK TRANSACTION UPDATE T_PolicyURL SET FormCount = FormCount + 1 WHERE URL = @TheURL END |
|
 |
Leaky Albums
[reply]
|
04/14/05 08:00 AM EST posted by JER email web |
|
|
In the digital age, new albums often "leak" onto the internet about 1 month before they're released. This typically happens when a journalists burns his/her promo CD and releases it to a file share network or mp3 website. simplemp3s.com is a good example of a site that always has stuff weeks before its due out. Since leaking is becoming so common, I've often wondered why music companies don't watermark their files. They only release a limited number of promo copies, so it seems it would be easy enough to run the album through a few filters prior to each burn that would give each track a "signature." It would have to be audible, since various file formats remove high/low frequencies, and it would have to be subtle enough not to ruin the song. But once this is done, it would be simple enough to trace it back to the user they first shipped it to.
I'm not the only one with this idea, it seems, as Sony has finally gotten their act together in time for the release of Oasis's new album, Don't Believe The Truth. Good news for artists, bad news for me -- but way past due.
In another counter-piracy move, I remember that No Doubt released Rocksteady early with 30 second clips mixed into 3-4 minute songs to prevent pirating. Instead, it prevented me from buying the album because I thought it was complete $&*#$. And when John Bliss told me that he'd bought Rocksteady and it was great, I thought he was either insane or had very low standards. It wasn't until their second single was released on the radio that I realized I'd been duped. |
|
|
|
|
Disney just announced they're re-releasing The Blunchblack of Blotre Blame on DVD to coincide with the 50th anniversary of their animated masterpieces Blackula, Blackenstein and The Creature from the Black Lagoon.
|
|
|
|
|
So I just wrote a handy utility in C# that decrypts your Windows product key (serial number) and your Microsoft Office product key(s). I haven't really found a good example of anyone else doing this, especially in C#. Anyone think it's legal to redistribute this code? I notice that this guy offers the exe as freeware but provides a link for donations. He doesn't offer the source, of course, just the exe. And his office key finder is actually incorrect since it doesn't take into account an office 2003 install on XP, it just gets the XP office serial.
Are there digital copyright issues involved here? It's not like this is a key generator, which has no legal purpose. I legitimately needed to recover my product key on my home PC before doing a reinstall since all I have is the disc. |
|
|
|
|
Why not just use the Bloglines API?
|
|
|
|
|
So what do you think "woot" stands for? I always thought it was "a jubilant expression of joy," like "woo hoo" or "hooray."
Acronym Finder lists 5 definitions. Oddly enough, the one that I thought was MOST common ("We Own the other team") is the one they list as "less common" :
WOOT - Want One of Those WOOT - Waste of Our Time WOOT - Way Out of Topic (online forums) WOOT - We Owned the Other Team (gaming term; less common) WOOT - Wonderful Loot (Everquest gaming slang; also seen as W00T)
http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=woot
Microsoft's computer slang reference backs up my "other team" definition. However, UrbanDictionary.com has 48 definitions, many of which go with my first thought: it's something nerds say when they're excited. I'm thinking that even if w00t did originally mean something weird in haxor, it has become equivalent to "yay!" |
|
|
|
|
|
|
It's scary how much Ashton Kutcher resembles Bull in this promo photo for his upcoming film A Lot Like Love. They seem to be about the same age -- maybe they were separated at birth...
Other striking similarities:
- They both go by their middle name (Ashton/Nick)
- At 6'2 1/2", Ashton is a tall drink of water
- Ashton was once so poor, he donated his blood for money, Bull donated his ...
- Ashton's fraternal twin has a heart defect, Bull has two hearts for penis blood.
- Ashton has two webbed toes.
|
|
|
|
|
|
FYI, pictures from our wonderful honeymoon to Fiji are available at http://www.negrelli.org/! Highlights include a coconut tree climbing contest, Easter Sunday at a Fijian church, native dances & lots more coconut-related activities. |
|
|
|
|
Google is causing quite a stir with its rich javascript/XML over HTTP apps. These have become so popular, in fact, that a new term has been coined ("AJAX") to describe the methodology. This has led to a great deal of debate as to where/when this technology was FIRST used, mostly from Microsoft employees bitching that the MSDN deep nav isn't getting the street cred it deserves as the pioneer of the technology.
I think "AJAX" rocks, though I cringe when I hear the acronym, but I'm annoyed that this is another Microsoft "innovation" that was simply thrust into our faces by IE. Since it used this proprietary approach, MSDN's nav didn't even work in Firefox for a time. Similarly, the Shiny Donkey voting system got lots of flak from annoyed Firefox users.
As far as I know, the W3C hasn't even accepted this as a standard yet, but it seems its here to stay.
A post on "AJAX" that caused quite a stir: http://www.adaptivepath.com/publications/essays/archives/000385.php
An MSDN blog post complaining about the naming convention: http://blogs.msdn.com/dareobasanjo/archive/2005/03/22/400372.aspx |
|
|
|
|
| I just noticed that the Beard-Off poll that was just posted already has 245 votes. Wow Jer, have you seen a recent serious spike in traffic? |
|
|
|
|
 |
| I guess I should have known better, but I assumed that the musical personality "Wing" who appeared on South Park 2 weeks ago was totally bogus. Judging by the catalogue of NINE CDs on her website, though, it's looking more & more likely that she's a real performer who just happens to be really, really bad. Or at least that some dude is really committed to making fake crappy music in a high pitched voice.
http://www.wingmusic.co.nz/ |
|
|
|
|
|
| Mark, this is Mr. "You bring the gay, I'll bring the lube" we're talking about here. |
|
|
|
|
| UPDATE: Shiny Donkey is back up to #5 on Google ... but for how long???? |
|