GTX0 AnnouncementsFeedbackHelp | SandboxNewest Posts | Replies | Hottest
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


Feedback


Feed the back.
Xhin is listening.
There are Ants in the Woords
Posted: Posted August 7th by Moonray

antwoord: type,name; items; iid = 44; ;
antwoord: type,name; items; iid = 9; ;
antwoord: type,name; items; iid = 45; ;
antwoord: type,name; items; iid = 23; ;
antwoord: type,name; items; iid = 3; ;
antwoord: type,name; items; iid = 46; ;
antwoord: type,name; items; iid = 48; ;
antwoord: type,name; items; iid = 41; ;
antwoord: type,name; items; iid = 4; ;
antwoord: type,name; items; iid = 47; ;
antwoord: type,name; items; iid = 42; ;
antwoord: type,name; items; iid = 54; ;
antwoord: type,name; items; iid = 15; ;
antwoord: type,name; items; iid = 43; ;
antwoord: type,name; items; iid = 2; ;
antwoord: type,name; items; iid = 5; ;
antwoord: type,name; items; iid = 6; ;
antwoord: type,name; items; iid = 7; ;
antwoord: type,name; items; iid = 8; ;
antwoord: type,name; items; iid = 10; ;
antwoord: type,name; items; iid = 11; ;
antwoord: type,name; items; iid = 12; ;
antwoord: type,name; items; iid = 13; ;
antwoord: type,name; items; iid = 14; ;
antwoord: type,name; items; iid = 24; ;
antwoord: type,name; items; iid = 25; ;
antwoord: type,name; items; iid = 26; ;
antwoord: type,name; items; iid = 27; ;
antwoord: type,name; items; iid = 49; ;
antwoord: type,name; items; iid = 50; ;
antwoord: type,name; items; iid = 51; ;
antwoord: type,name; items; iid = 52; ;
antwoord: type,name; items; iid = 53; ;
antwoord: type,name; items; iid = 28; ;
antwoord: type,name; items; iid = 29; ;
antwoord: type,name; items; iid = 58; ;
antwoord: type,name; items; iid = 60; ;


Please call pest control! (Also the error varies from place to place but it always starts antwoord)

settingsOptions
There are 5 Replies

Oh you fixed it, nvm :)

Posted August 7th by Moonray
Moonray
 

So, a couple of interesting stories here.

I was tracking down a bug weid noticed where a post he made would whitescreen, no error messages, nothing. It ended up being in a very unlikely place -- the part of the site's heart that decides whether or not to kill the script completely depending on a setting in the admin panel. I figured that's what was whitescreening it, and found a fix for it.

However I then realized that that script will actually give an error message, so I decided to dig even deeper. It ended up going into one of my very low-level database-access functions, which is really bizarre, because that should be 8-years battle-tested by now. To test that, with no way of knowing what I was looking for I had to go halfway in the script and try and print something out -- if it worked, then I'd go halfway between that and the next point, if it didn't then I'd go halfway between that and the previous point. I did this to try to track down which specific line or block of code was whitescreening specifically.

I used the phrase "antwoord" to help frame things, because I was also printing out variables and other things. More on why I chose that woord (heh) in the next story.

Anyway at one point I had to briefly compare the data in that function for that post to another post to see what the discrepancy was. When I did that the entire site flashed with the antwoord thing, and there would have been an even briefer moment where the entire site whitescreened as I narrowed that down a bit. You must've come online during that time.

In the end, the bug was that the post title had the word "union" in it. A very very very old security fix (from like 2010 old) made it so that anyone accessing the database with the word "union" from anywhere would get a white screen, because that word allows you to access arbitrary tables. Things were pretty tight as far as database access goes (they're even tighter now) but I threw that in there as a just-in-case kind of thing.

In the past, anything that hit the database directly was a number so it didn't matter and anything that hits the database with text would probably be on the new system so this problem just never happened. However, when making the switch over to more friendly URL's I never updated the kill script to not look at the newer urls so the kill script would query the database for the URL title, which in this particular case had the word "union" in it and killed everything.

So very interesting. I added an error code to this, so that if it happens again for any reason you'll get an actual error code and it'll be easier to fix. Who knows how many mysterious glitches of the past may in some way be traceable back to it.

Anyway, onto the second story...

Posted August 7th by Xhin
Xhin
Fractal icious

Wait... So are you telling me no one has made a post with "union" in the title until weid the other day?

Posted August 7th by Moonray
Moonray
 



A long time ago, poptart! gave me a link to reddit's fifthworldproblems subreddit. This is a bizarre subreddit where members talk about metaphysical and alien problems they're having. Somewhere in there was a picture of Die Antwoord, who I had to check out because the image was really really bizarre.

Die Antwoord is a south african band. Kind of a rap/rave hybrid you can listen to here:



They also have some really really bizarre artwork, which is probably why the name stuck in my head for so long.

PHP has a die() function that basically kills everything. You can enter a message, like die('Error Code #714'). At work I was bored with this, and inserted humorous things instead, such as die('another day') and die('hard'). I also used die('antwoord') and I liked typing that word so much that I now use it in generic messages as well (something about typing two o's and an r like that is just neat).

Posted August 7th by Xhin
Xhin
Fractal icious

@Moonray: not since the URL update.

Posted August 7th by Xhin
Xhin
Fractal icious
Reply to: There are Ants in the Woords
Enter your message here

Site Rules | Complaints Process | Register Complaint Facebook Page
GTX0 © 2009-2017 Xhin GameTalk © 1999-2008 lives on