chessgames.com
 
Chessgames.com User Profile Chessforum
ganstaman
Member since Jan-18-06 · Last seen Feb-08-10
Welcome! Discuss anything here -- really, I'll take any visitors I can get!

<><><><><><><><><><><><><><><><><><><><><><><>

For anyone wondering about the scary looking avatar: http://www.pbs.org/wgbh/pages/front... . See, just a harmless painting...

I'm a 24 year old med school student in New Jersey, USA. I majored in computer science for my undergrad. I just hope my 4 years of learning about computers aren't wasted.

My grandfather taught me chess when I was young (can't remember when). I've been playing progressively more seriously over the past 6 years or so. I seem to only be playing on gameknot now (same name there and here -- http://gameknot.com/stats.pl?gansta...). I'm currently 1538 USCF after 20 games at local tournaments (all G/30, I blame my losses on the clock and bad luck...).

And now, some pages here I want bookmarked (you should check them out too!):

In case I get back into playing the Bird, I should know some From's Gambit (1. f4 e5) stuff: T Taylor vs J Becerra-Rivero, 2005

Just because it's my favorite Bird (how could it not be -- it's exactly what white wants to get when playing it): Lasker vs J Bauer, 1889

A few game collections for learning better defense:

1) Game Collection: The Art Of Defense In Chess

2) Game Collection: Defense by COUNTERATTACK

3) Game Collection: Defensive Gems

4) Game Collection: Hard fought defend!

And finally Fischer playing the Benoni: http://www.chessgames.com/perl/ches...

and Tal: http://www.chessgames.com/perl/ches...

and Botvinnik on the Pirc: http://www.chessgames.com/perl/ches...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chessgames Challenge: Battle of the Brains 3, 2009

>> Click here to see ganstaman's game collections.

Chessgames.com Full Member

   ganstaman has kibitzed 4152 times to chessgames   [more...]
   Feb-07-10 Dutch, Stonewall (A95) (replies)
 
ganstaman: <sastm> You're a premium member. Use the opening explorer to get the position you're looking for and it will give you the games you want. I'm not entirely sure of what moves you're looking for. If you have trouble figuring out the Opening Explorer, post the moves you mean ...
 
   Jan-15-10 Battle of the Brains 3, 2009 (replies)
   Jan-10-10 ganstaman chessforum
 
ganstaman: <chessmoron>, <Open Defence>, and <chancho>: sorry for the long delay. I always forget to check my forum for messages, and it was worse over my winter break as I only had my blackberry for checking this site, and then scrolling down the forum would have taken too
 
   Dec-19-09 A Ac vs P Kastler, 2000 (replies)
 
ganstaman: <jeeky1996> I disagree. 26. Qc8+ is winning much more easily. What was really played left white up a rook, but black had his queen (and those pesky pieces can turn some otherwise won positions into perpetual-checking draws, or at the least make maneuvering more difficult). ...
 
   Nov-14-09 E Cobo Arteaga vs Ivkov, 1963 (replies)
 
ganstaman: <Jimfromprovidence> That was my second thought, but the computer didn't like it as much. Can you improve on this line? 21. Qe2 Qc5 22. Bh3 d3+ 23. Qe3 Qxe3+ 24. Kxe3 Re4+ 25. Kf2 Re2+ 26. Kf1 Rxc2 coming in at -0.21, which is only a small advantage for black. Oh, wait, ...
 
   Oct-12-09 Kibitzer's Café (replies)
 
ganstaman: My short story has been found! http://wargamerscott.tripod.com/swo... Thanks for the attempts, though. Seems I led you astray by mentioning Asimov as the author. As it turns out, the story was not written by him, but appeared in "Isaac Asimov's Science Fiction Magazine, First ...
 
   Sep-20-09 chessgames.com chessforum (replies)
 
ganstaman: <chessgames.com> I'm having a problem logging in to this site. Right now, I'm loggin in through firefox, which I otherwise never use. Normally, I'm on IE7, which has given me no problems before (at least not with this site...). Then, out of the blue, I'm getting the cookie ...
 
   Sep-19-09 Open Defence chessforum (replies)
 
ganstaman: Hi, concerning our game on gameknot, I purposefully ran down my clock to make you think you were going to win it, and then when I really moved you'd be in such shock that you'd fall into my mate-in-1 trap. But you're seemingly too clever for that, so now I have to work on another ...
 
   Sep-15-09 M Umansky vs The World, 2009 (replies)
 
ganstaman: <ontocaustic: You guys are kidding yourselves about the strength of the world. You think just because a team ha many member it makes it stronger? Kasparov defeated Karpov time and time again; Short is terrible but we would be no match for Kasparov. He would win easily in 34 ...
 
   Sep-13-09 Kenneth Rogoff (replies)
 
ganstaman: <OhioChessFan: <ganstaman: I hope you aren't actually planning on arguing against evolution. I don't understand how you can think such a theory is false when it has been validated by the scientific method. > Really? When did that happen?> Go to your local high school
 
(replies) indicates a reply to the comment.

Kibitzer's Corner
< Earlier Kibitzing  · PAGE 12 OF 12 ·  Later Kibitzing >
Sep-01-09
Premium Chessgames Member
  WannaBe: Else, print out the expected value of your @pairs, you can do it, by access the individual value of the array, if you expect the array to have 3 values, print them out by

print $pairs[0], $pairs[1], $pairs[2]

Sep-01-09
Premium Chessgames Member
  WannaBe: I'll check back later (an hour or so) see if you need any more help with the issue. =)
Sep-01-09
Premium Chessgames Member
  ganstaman: <WannaBe> Thanks. I don't think anyone's a perl programmer except that one guy that put together the site I'm working on. At least nobody should be. And they refuse to install PHP on the server, which would be so much nicer.

Anyway, your suggestion of $pairs causes the thing to crash. So I printed out the values of several variable:

$data is nothing. $pairs[0] is nothing (which makes sense since $data holds nothing to be split). It would seem then that I'm not actually reading in the data as every website tells me I should be able to.

Thanks for the suggestions, though, and any other ideas you may have.

Sep-01-09
Premium Chessgames Member
  WannaBe: See if this tutorial is helpful...

http://www.tutorialspoint.com/perl/...

Sep-01-09
Premium Chessgames Member
  ganstaman: <WannaBe> Eh, it's just disheartening. I went to the section <Passing Radio Button Data to CGI Program> and copied the code onto the server. It doesn't work for me (same problem as I was having before).

I guess that could be expected given that it has the same 'read' line for getting the post data. So I'm wondering now if this is actually a problem with the code instead of a problem with the website/server stuff in some way. But I don't know what sort of problem that could be.

Sep-01-09
Premium Chessgames Member
  WannaBe: <ganstaman> It shouldn't be that aggrevating... =)

Do it in steps....

From what I gathered, you are using 2 .pl files, and the second one is the one taking care of the data...

1) Comment out every line, or save/rename the existing files in a different place.

2) Start fresh, only copy the section of code that read in the value, and only have the second file print out that value. <NOTHING ELSE>!!!

3) Make sure you can get the value that you 'think' you are getting from the first file to the second file. Display that value.

4) Then try to split them up print out the values. <NOTHING ELSE, LEAVE THE <SPLIT> CODE OUT>!!!

5) And do what you need do.

Sep-01-09
Premium Chessgames Member
  WannaBe: <ganstaman> Why radio? You are expecting a string as input right? You are then splitting it?
Sep-01-09
Premium Chessgames Member
  ganstaman: Ok, so I'm not even splitting it anymore. Just reading in the $data variable and printing it out. If I use GET, then $data = $ENV<'QUERY_STRING'> (where <> is really curly brackets) and that works out fine ($data is "asdf=2").

If I use POST and $data = read(STDIN, $data, $ENV<'CONTENT_LENGTH'>) then $data is an empty variable, and CONTENT_LENGTH is 6.

I just can't use GET for the actual webpage because there's too much data to fit into the url (about 340 radio button's worth of info).

So maybe it would seem that the data isn't being sent to STDIN. But then where is it? What other options do I have? To google I go...!

Sep-01-09
Premium Chessgames Member
  ganstaman: <WannaBe: <ganstaman> Why radio? You are expecting a string as input right? You are then splitting it?>

The first html page is a bunch of radio buttons to select yes or no to a bunch of questions. That is then being sent to the second page where the perl code should be able to read it (so, for example, radio button named "first_stu4526" has the value of "1", so the string being read would contain ...&first_stu4526=1&...).

Sep-01-09
Premium Chessgames Member
  ganstaman: Some related entertainment: http://xkcd.com/519/
Sep-01-09
Premium Chessgames Member
  WannaBe: Hmmmm... Using post, the CONTENT_LENGTH is correct, asdf=2 is length of 6... but why is it not showing up?? =(
Sep-03-09
Premium Chessgames Member
  OhioChessFan: <Anyway, your suggestion of $pairs causes the thing to crash. >

You get what you pay for!

Sep-07-09
Premium Chessgames Member
  WannaBe: <ganstaman> You were able to collect all the info with <GET> instead of <POST> ??
Sep-07-09
Premium Chessgames Member
  ganstaman: <WannaBe: <ganstaman> You were able to collect all the info with <GET> instead of <POST> ??>

Yes, GET works great. Though I did have to cut down on the amount of data I wanted to send at once (apparently, I think I saw that URLs have length limits, and I wanted to send about 340 sets of ...&abcdefg=y&...).

Sep-07-09
Premium Chessgames Member
  WannaBe: Let me know if you ever solve why POST doesn't work... Nice info to have and hold in my little brain for future references. =)
Sep-16-09
Premium Chessgames Member
  Open Defence: Hi, your time is down to about 2 hours in our gameknot game!!
Sep-17-09
Premium Chessgames Member
  Open Defence: great!, for a moment I thought you might miss move time!!
Sep-24-09
Premium Chessgames Member
  Open Defence: hi you are probably aware, but I thought I would remind you anyway, your time is down to 16 hours in our gameknot game..
Sep-25-09
Premium Chessgames Member
  OhioChessFan: Be sure to stop by my forum for the Pearl Spring Moves Prediction Conteset. Pairings to be announced Sunday? OhioChessFan chessforum
Oct-02-09   chessmoron: <ganstaman> Are you familiar with html? http://processing.org . Send you an e-mail, hope you have free time helping me.
Nov-04-09
Premium Chessgames Member
  OhioChessFan: Be sure to check out my forum for the Tal Memorial Moves Prediction Contest starting tomorrow. Click on Elvis for details.
Dec-24-09   chessmoron: <ganstaman> Season's Greeting. Thanks for everything that made my contest a success.
Dec-25-09
Premium Chessgames Member
  Open Defence: Merry Christmas!!!
Dec-25-09
Premium Chessgames Member
  chancho: Merry Christmas ganstah!
Jan-10-10
Premium Chessgames Member
  ganstaman: <chessmoron>, <Open Defence>, and <chancho>: sorry for the long delay. I always forget to check my forum for messages, and it was worse over my winter break as I only had my blackberry for checking this site, and then scrolling down the forum would have taken too long.

But thanks for the well wishes, hope all went well for you guys over the holidays.

I just hope you guys read this, but I don't want to otherwise post this same message in 3 different places.

Jump directly to page #    (enter number from 1 to 12)
< Earlier Kibitzing  · PAGE 12 OF 12 ·  Later Kibitzing >

Save 20% on New in Chess Magazine
NOTE: You need to pick a username and password to post a reply. Getting your account takes less than a minute, totally anonymous, and 100% free--plus, it entitles you to features otherwise unavailable. Pick your username now and join the chessgames community!
If you already have an account, you should login now.
Please observe our posting guidelines:
  1. No obscene, racist, sexist, or profane language.
  2. No spamming, advertising, or duplicating posts.
  3. No personal attacks against other users.
  4. Nothing in violation of United States law.
Blow the Whistle See something which violates our rules? Blow the whistle and inform an administrator.


NOTE: Keep all discussion on the topic of this page. This forum is for this specific user and nothing else. If you want to discuss chess in general, or this site, you might try the Kibitzer's Café.
Messages posted by Chessgames members do not necessarily represent the views of Chessgames.com, its employees, or sponsors.

You are not logged in to chessgames.com.
If you need an account, register now;
it's quick, anonymous, and free!
If you already have an account, click here to sign-in.

View another user profile:
  


home | about | login | logout | F.A.Q. | your profile | preferences | Premium Membership | Kibitzer's Café | new kibitzing | chessforums | new games | Player Directory | World Chess Championships | Opening Explorer | Guess the Move | Game Collections | ChessBookie Game | Chessgames Challenge | Little ChessPartner | privacy notice | contact us
Copyright 2001-2009, Chessgames.com
Web design & database development by 20/20 Technologies