"Our plans are on hold" - archive bug?
- Manhattan Glutton
- Niemöller
- Posts: 1530
- Joined: Tue Feb 15, 2005 12:10 pm
- Instruments: Angst
- Recording Method: REAPER
- Location: Madison, WI
- Contact:
"Our plans are on hold" - archive bug?
http://www.songfight.org/songpage.php?k ... re_on_hold
Problem: "winner: The Wankers" should be "winner: glennny"
The win also isn't showing up on glennny's artist page. I would venture that this is due to the common typo of forgetting the third n in glennny.
Problem: "winner: The Wankers" should be "winner: glennny"
The win also isn't showing up on glennny's artist page. I would venture that this is due to the common typo of forgetting the third n in glennny.
If I had a dollar for every one of my songs j$ has called a 90s pastiche, I'd have $1 for every song I've written.
Nur Ein Archives | The New Ugly Podcast
Nur Ein Archives | The New Ugly Podcast
- Lunkhead
- Rosselli
- Posts: 8404
- Joined: Sat Sep 25, 2004 12:14 pm
- Instruments: many
- Recording Method: cubase/mac/tascam4x4
- Submitting as: Berkeley Social Scene
- Pronouns: he/him
- Location: Central Oregon
- Contact:
Re: "Our plans are on hold" - archive bug?
My guess is it's a copy/paste error as The Wankers were the winners of the previous fight. Could be the previous fight's archive data was copied, pasted, and modified, to create the "Our Plans Are On Hold" data, and the winning artist name was not updated from what was copied and pasted.
- Spud
- Roosevelt
- Posts: 4781
- Joined: Fri Sep 24, 2004 10:25 am
- Instruments: Bass, Keyboards, eHorn
- Submitting as: Octothorpe
- Pronouns: he/him
- Location: Seattle
- Contact:
Re: "Our plans are on hold" - archive bug?
Well, no idea how it happened, but it is fixed.
SPUD
SPUD
- Spud
- Roosevelt
- Posts: 4781
- Joined: Fri Sep 24, 2004 10:25 am
- Instruments: Bass, Keyboards, eHorn
- Submitting as: Octothorpe
- Pronouns: he/him
- Location: Seattle
- Contact:
Re: "Our plans are on hold" - archive bug?
Whatever it was, it wasn't that.Manhattan Glutton wrote: I would venture that this is due to the common typo of forgetting the third n in glennny.
- Spud
- Roosevelt
- Posts: 4781
- Joined: Fri Sep 24, 2004 10:25 am
- Instruments: Bass, Keyboards, eHorn
- Submitting as: Octothorpe
- Pronouns: he/him
- Location: Seattle
- Contact:
Re: "Our plans are on hold" - archive bug?
It probably wasn't that, either, as that part of the process is completely automated. No cutting and pasting involved. In fact, I NEVER type the artist's name at any point during the process, unless they neglect to send it to me in the body of their submission email.Lunkhead wrote:My guess is it's a copy/paste error as The Wankers were the winners of the previous fight. Could be the previous fight's archive data was copied, pasted, and modified, to create the "Are Plans Are On Hold" data, and the winning artist name was not updated from what was copied and pasted.
- Manhattan Glutton
- Niemöller
- Posts: 1530
- Joined: Tue Feb 15, 2005 12:10 pm
- Instruments: Angst
- Recording Method: REAPER
- Location: Madison, WI
- Contact:
Re: "Our plans are on hold" - archive bug?
Strangely enough, the SFJukebox wasn't affected. That reads directly from the text file, right Sam?
Do both songfight.org and jukebox calculate the winner from the archive text the same way? Is the winner its own dedicated piece of data, or does it look to the vote total?
Do both songfight.org and jukebox calculate the winner from the archive text the same way? Is the winner its own dedicated piece of data, or does it look to the vote total?
If I had a dollar for every one of my songs j$ has called a 90s pastiche, I'd have $1 for every song I've written.
Nur Ein Archives | The New Ugly Podcast
Nur Ein Archives | The New Ugly Podcast
- Lunkhead
- Rosselli
- Posts: 8404
- Joined: Sat Sep 25, 2004 12:14 pm
- Instruments: many
- Recording Method: cubase/mac/tascam4x4
- Submitting as: Berkeley Social Scene
- Pronouns: he/him
- Location: Central Oregon
- Contact:
Re: "Our plans are on hold" - archive bug?
I noticed the Jukebox wasn't effected, which was surprising to me. It does read straight from the secret text file "database". The winning artist name is split out into its own line in the text file, after the fightmaster's summary line. I think I have some janky stuff in my code that may be getting the winner from somewhere else while the fight is still "current" though (e.g. not in the archive yet). I don't have the code handy so I don't remember right now.
By the way, I have my code in BitBucket and could share it with you if you want to sign up (BitBucket is like GitHub only with free unlimited private repos, if you haven't heard of it). Not that I think you're that interested but I feel like more eyes on it could definitely help with its quality.
Just looked at the code, I'm really not sure how the Jukebox didn't get effected. I parse out the line with the winning artist name and when I get to the song with that artist's name I mark the song as a winning song. So I would think if the data had been wrong all along the Jukebox would have wound up with no winning song for the fight. Maybe the data was right initially then got broken? Weird.
By the way, I have my code in BitBucket and could share it with you if you want to sign up (BitBucket is like GitHub only with free unlimited private repos, if you haven't heard of it). Not that I think you're that interested but I feel like more eyes on it could definitely help with its quality.

Just looked at the code, I'm really not sure how the Jukebox didn't get effected. I parse out the line with the winning artist name and when I get to the song with that artist's name I mark the song as a winning song. So I would think if the data had been wrong all along the Jukebox would have wound up with no winning song for the fight. Maybe the data was right initially then got broken? Weird.
- Manhattan Glutton
- Niemöller
- Posts: 1530
- Joined: Tue Feb 15, 2005 12:10 pm
- Instruments: Angst
- Recording Method: REAPER
- Location: Madison, WI
- Contact:
Re: "Our plans are on hold" - archive bug?
I actually am kind of interested since I've got my own project of bringing Nur Ein into a SQL database, so I'll have to sign up for that someday...
Back to the topic at hand, perhaps the songfight.org page generation got confused?
Back to the topic at hand, perhaps the songfight.org page generation got confused?
If I had a dollar for every one of my songs j$ has called a 90s pastiche, I'd have $1 for every song I've written.
Nur Ein Archives | The New Ugly Podcast
Nur Ein Archives | The New Ugly Podcast
- Spud
- Roosevelt
- Posts: 4781
- Joined: Fri Sep 24, 2004 10:25 am
- Instruments: Bass, Keyboards, eHorn
- Submitting as: Octothorpe
- Pronouns: he/him
- Location: Seattle
- Contact:
Re: "Our plans are on hold" - archive bug?
You may be on to something there, Sam.Lunkhead wrote:Maybe the data was right initially then got broken?
- Manhattan Glutton
- Niemöller
- Posts: 1530
- Joined: Tue Feb 15, 2005 12:10 pm
- Instruments: Angst
- Recording Method: REAPER
- Location: Madison, WI
- Contact:
Re: "Our plans are on hold" - archive bug?
Well, whatever happened, thanks for fixing it spud! I'm sure glennny's especially happy.
If I had a dollar for every one of my songs j$ has called a 90s pastiche, I'd have $1 for every song I've written.
Nur Ein Archives | The New Ugly Podcast
Nur Ein Archives | The New Ugly Podcast