Difference between revisions of "User talk:Zyx"

From Robowiki
Jump to navigation Jump to search
(Undetectable bullets)
 
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
Greetings! Welcome to the Robowiki Zyx! Feel free to ask any question you might have! Btw, [[Newton]] seems pretty strong, care to tell us about it or [[AntBot|Ant]]. Best wishes in your robocoding adventures! --[[Rednaxela]]
+
{{Navbox small
 +
| title    = Archived Talks
 +
| namespace = User
 +
| page1    = Talk Archive 20090506
 +
| title1    = 2009/05/06
 +
}}
  
Thanks [[Rednaxela]], I was just writing my "story" when you posted, I will expand [[Newton]] and [[AntBot|Ant]] in a couple of minutes. -- [[Zyx]]
+
__TOC__
  
Wow, how did you find [[Stormrider]]? It's been out of action for ages.... If you want a version that is slightly newer, and much stronger, take a look at DrussGT, it's download link is on the RoboRumble/Participants page. Anyways, welcome to the wiki, and good luck with your coding =) If you have any questions feel free to ask. -- [[Skilgannon]]
+
== Wiki Help ==
  
Hehehe [[Stormrider]] was on the new wiki in the [[Bots]] section, and it said it was very competitive so I downloaded it. I was really new to everything at the moment, now I'm more settled, I'm running RoboRumble so I have [[DrussGT]], BTW congrats man, it seems to be very comfortable at the top place :). Thanks for the help and for killing my bot so I'd be interested in learning more. -- [[zyx]]
+
I'm trying to learn how to use the wiki, so probably will be asking more questions. But to start I would like to know how to add those nice ''content tables'' to the pages, I've been going trough the pages that has them and see nothing special in the code :-S. And as a more general second question, is there somewhere I can learn how to write wiki stuff? Particularly this one of course. --[[User:Zyx|zyx]] 01:11, 7 May 2009 (UTC)
  
:(Oh he may be comfortable at the top for now, but I'm determined to topple [[DrussGT]] eventually... Can't have it's reign last as long as Dookious's did... :) --[[Rednaxela]])
+
[[wikipedia:How_to_edit|Here]] is all about mediawiki syntax. MediaWiki automatically add the TOC once the page have more than 4 headers (inclusive) at before the first header. If you want to add the TOC manually, add <nowiki>__TOC__</nowiki> to the page (like this page) &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:22, 7 May 2009 (UTC)
  
:Sounds like a neat goal, good luck at it :-). -- [[zyx]]
+
Another useful link I bookmarked recently is [http://meta.wikimedia.org/wiki/Cheatsheet this MediaWiki cheatsheet]. I tend to check [http://mediawiki.org mediawiki.org], or just Google (eg, ''mediawiki namespaces'') when I'm looking for something specific. There's a lot of good info out there because so many people use MediaWiki. But I've learned a lot of what I know from people like Nat and [[User:AaronR|AaronR]] doing stuff on this wiki. =) --[[User:Voidious|Voidious]] 01:30, 7 May 2009 (UTC)
  
:I've still got a few tricks up my sleeve, I just haven't had time to implement them. Involving both guns and movement. And new types of stats. But come on, I'm studying Mechanical Engineering and you're doing Computer Engineering, surely you should have passed me ages ago? ;-) And I've been hearing that you were working on RougeDC's replacement in little snippets here and there, are you ever going to release that to the rumble? -- [[Skilgannon]]
+
: Hey, you won't believe me that this is the first wiki (beside the old one) I've working on. I learn the thing from what AaronR and [[User:Nfwu|Nfwu]] used to done actually. &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 01:52, 7 May 2009 (UTC)
  
:Haha, RougeDC's younger and stronger brother doesn't have much done yet... but I'll probably make a hard drive to get at least the gun working in winter break... and my hope is that current generation surfers will be in for some hurt... ;) -- [[Rednaxela]]
+
Thanks guys, I'm too dinosaur-ish for web related stuff. This is the first wiki I've been, and have been moderator of two forums, but there I'm just as dumb as I am here :-P. --[[User:Zyx|zyx]] 01:56, 7 May 2009 (UTC)
  
Oh, and sorry for cluttering your talk page with rivalry Zyx :) --[[User:Rednaxela|Rednaxela]] 21:39, 26 November 2008 (UTC)
+
== Handle ==
  
:That's what talk pages are for ;) -- [[zyx]]
+
I always realized that your handle was the last 3 letters in the alphabet, but it only just occurred to me that this is like the opposite of "[[User:ABC|ABC]]". I'm curious if that is intentional or just coincidence? (To be clear, I mean if it's inspired by ABC the Robocoder or not.) Kind of funny that two of our PL kings have such similar handles. =) --[[User:Voidious|Voidious]] 18:16, 4 August 2009 (UTC)
  
== Sneak Attack ==
+
: I think it is coincidence, because his email is zyx###@gmail.com (### replace with number, I don't remember which) &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 08:49, 5 August 2009 (UTC)
I just realized there are ways to shoot completely undetected bullets, I tried to make a bot based on that but I can't find an easy way to use the exploit and be competitive at the same time. So I decided to just post how to fire undetectable bullets, I haven't really searched, so maybe this has been said elsewhere.
+
: It is a coincidence, I've been using zyx since nintendo times :). --[[User:Zyx|zyx]] 11:56, 5 August 2009 (UTC)
  
I think most surfers have some way to detect (as good as they can) when their enemy hits a wall so they are not confused by that energy drop. So if you run towards a wall at some speed, let's say full speed (8), and when you are just about to hit the wall you decelerate and a fire a 1 power bullet. Your enemy will calculate your damage as 8 / 2 - 1 = 3, but you were actually going at 6 at the hit time, so you got 6 / 2 - 1 = 2 wall hit damage, but since you shot a 1 powered bullet they won't see anything strange as your energy dropped 3. And even if someone has thought of that, and took the guess that maybe the bot decelerated you can shoot only sometimes, and make him surf bogus waves.
+
== Melee Testing ==
 +
How do you guys test melee bots? Not tool-wise, I know [[Voidious]] patched [[RoboResearch]] which I will probably use to test the melee bot as well soon. But I mean battle-wise, I was testing with the top 6 bots from different authors and 2 ''random'' middle bots, the other two spots were taken by two versions of my bots and ran 100 round battles and compare the results of my two bots to decide which one is better. But I knew that testing wasn't suitable, YersiniaPestis 3.0 can beat [[Shadow]], [[Aleph]] a lot of times (~40% of times beats one of them), [[Portia]] every now and then and [[Fermat]] every time under that circumstances, but I knew that in reality battles don't such a high concentration of top bots so results were kind of irrelevant as rumble performance meant. Thanks. --[[User:Zyx|zyx]] 21:03, 19 August 2009 (UTC)
  
This bot shows how to shoot the invisible bullets, it bounces on and off from the top wall (sometimes the bottom) and shoots head on, so it will lose to almost every(if not all) bots. But I challenge anyone to try and detect accurately when he fires. My bots detect some of them, but is not even close to accurate.
+
: Well, I struggle with this too, but my attitude is to try to emulate the same mixes of bots that you'll face in the rumble. So you'd want the same range of skill levels, some battles with all weak bots, some with mid-range bots, and some with stronger bots. Right now my test bed is 27 bots, split into 6 groups (with each bot appearing twice), and I'll run ~20 seasons. For many versions of [[Diamond]] in a row, this was accurately predicting a rating increase or not. Then I released a version without much testing, its rumble rating went up, but I ran the test afterward and the score went down. :-/ So I'm still figuring it out myself, really. If you're curious about my test bed, it's here: [http://www.dijitari.com/void/robocode/dibed6.rrc dibed6.rrc]. Good luck, and please let us know if you make any Melee test bed breakthroughs. =) --[[User:Voidious|Voidious]] 21:30, 19 August 2009 (UTC)
<pre>
 
package zyx.nano;
 
  
import robocode.AdvancedRobot;
+
: Thanks, I'll check it later. If I do, I will. --[[User:Zyx|zyx]]
import robocode.HitWallEvent;
 
import robocode.ScannedRobotEvent;
 
import robocode.util.Utils;
 
  
public class SneackAttack extends AdvancedRobot {
+
== Google Code Jam ==
  static int direction = 1;
+
I don't know if any of you like programming contests, but I'm actually a devoted contestant of those. Next week the Google Code Jam begins, which is an online contest similar to the ACM-ICPC or TopCoder contests but it has its differences, specially in the format and languages you can use (any language is fine, even BrainF#@k). I'll be participating in it, if anyone is interested in learing more about it go to [http://code.google.com/codejam/ CodeJam 2009]. Hope at least some of you find it interesting so we can meet there. --[[User:Zyx|zyx]] 16:38, 28 August 2009 (UTC)
  private boolean nh;
+
 
  private int t;
+
== Good AI Books ==
  public void run() {
+
 
    while ( true ) {
+
Background: Buying books in Venezuela sucks, they are old, translated(I like to read the original author) and expensive.
      if ( getRadarTurnRemainingRadians() == 0 ) setTurnRadarRightRadians(Double.POSITIVE_INFINITY);
+
 
      execute();
+
My mom is currently visiting my brother in the UK, I always buy some books when she is over there since I love reading scientific or technical books. Currently I'm looking to expand my AI books collection since it is rather poor, and I thought maybe some of you could help me find a good choice. I already have ''Artificial Intelligence: A Modern Approach'' of Norvig and Russell, although it's the first edition and in Spanish so I'm considering the second edition in English. But besides that one which good AI books can you recommend? Also I have a couple of NN books so I would be more interested in something either general or specific to other subjects, but if you have a good NN book to recommend I wouldn't mind hearing and reading about it as well. Thanks in advance. --[[User:Zyx|zyx]] 01:16, 7 September 2009 (UTC)
    }
+
 
  }
+
: I don't have any "general AI" books (could use some recommendations too) but the favourite of the ones I have is "Reinforcement Learning" by Sutton & Barto. As a bonus, it's actually [http://www.cs.ualberta.ca/~sutton/book/the-book.html available online].  [[Leon]] and early versions of [[Pris]] use concepts from this book.  For NN I have "Fundamentals of Neural Networks" by Fausett, but there are many more practical resources scattered about online.  For example, [http://www.ai-junkie.com/ "ai-junkie] has some great tutorials on NN and genetic algorithms. --[[User:Darkcanuck|Darkcanuck]] 06:42, 7 September 2009 (UTC)
  public void onScannedRobot(ScannedRobotEvent event) {
+
 
    double bearing = getHeadingRadians() + event.getBearingRadians();
+
: I don't know if you find it usefull, but at the university I study at we're using ''Artificial Intelligence, structures and strategies for complex problem solving'' by George F. Luger. It's been pretty general so far (I'm at chapter 4, and it has mostly been about treesearching strategies), and it's also nice to read. I'm wondering if I can incoorperate anything in robots...  --[[User:Positive|Positive]] 17:35, 7 September 2009 (UTC)
    setTurnGunRightRadians(Utils.normalRelativeAngle(bearing - getGunHeadingRadians()));
+
 
    setTurnRightRadians(Utils.normalRelativeAngle(-getHeadingRadians()));
+
: For an ''Intro to Machine Learning'' class I took in my last semester of CS, one of the books we used was this: [http://www.inference.phy.cam.ac.uk/mackay/itila/ Information Theory, Inference, and Learning Algorithms, by David MacKay]. The physical version of the book is sold normally, but you can download a PDF of the entire book for free as long as you agree not to print it out. I remember it being pretty "dense", as was the class, but I learned a lot. The only other book I can think of to mention is one that [[User:PEZ|PEZ]] talked about a bit: [http://www.randomhouse.com/features/wisdomofcrowds/ The Wisdom of Crowds, by James Surowiecki]. (PEZ talks about it here: [[oldwiki:CrowdTargeting]].) Good luck - let us know how your search turns out. =) --[[User:Voidious|Voidious]] 17:49, 7 September 2009 (UTC)
    setTurnRadarRightRadians(Utils.normalRelativeAngle(bearing - getRadarHeadingRadians()) * 1.99);
+
 
    double v = getVelocity();
+
Thanks for all your responses, I won't buy the books recommended by [[Darkcanuck]] (the first one) and [[Voidious]] because I can download them and I have to save every penny, in Venezuela we have exchange control right now and we are only allowed to spend $400 on Internet each year :-S. The NN book, well I have some and as he said ai-junkie is a great place. The book [[Positive]] posted is really inexpensive so I was excited at first, but I read a bit on the Amazon preview and it seems fine but rather basic, I already have 3 undergraduate AI courses and I'm actually looking to do some graduate level studies now.
    if ( v < 0 ) v += 2; else if ( v > 0 ) v -= 2;
+
 
    double nx = getX() + Math.sin(getHeadingRadians()) * getVelocity() + Math.sin(getHeadingRadians()) * v;
+
I will buy the second edition of ''A Modern Approach'' of Norvig and Russell as it seems to be the most recommended book all around the world, to have it as a reference rather than reading it in depth again. And just to please my self I will buy the first 2 books from the ''AI Game Programming Wisdom'' series, they seems to be in the same fashion as the Game Programming Gems series which I found to be amazingly interesting when I first read them. Thanks all, and I hope you get something out it as well. My mom comes back next week, I'll let you know then how good or bad the books end up being. --[[User:Zyx|zyx]] 21:36, 7 September 2009 (UTC)
    double ny = getY() + Math.cos(getHeadingRadians()) * getVelocity() + Math.cos(getHeadingRadians()) * v;
+
 
    if ( nh ) {
+
: I forgot to mention ''The Wisdom of Crowds'' is not an AI book, the author is a journalist and not a scientific in any way, I already mentioned some of this once [[Nat]] asked a question about it, but is actually more a psychological on how a crowd of people behaves. I think it had very positive feedback from people who read it for fun and very negative feedback from people who wanted it for scientific reasons, I read a bit of it long time ago and didn't find it very interesting but I myself only like scientific reading. --[[User:Zyx|zyx]] 21:43, 7 September 2009 (UTC)
      if ( Math.random() < 0.8 ) setFire(1);
+
 
      setAhead(0);
+
== Google sites got disabled? ==
    } else {
+
 
      setAhead(100 * direction);
+
Just to let you know, it seems your Google sites account recently got disabled "because of a perceived violation of the Terms of Service". Got all your robots hosted there on the participants lists switched over to the Darkcanuck's mirror. --[[User:Rednaxela|Rednaxela]] 06:11, 30 April 2010 (UTC)
    }
+
: Hi, thanks for this. However, I just checked and seems the Google site is working again, I don't use it for anything else than this robots. Hopefully it still works because I want to try doing some robocoding again. --[[User:Zyx|zyx]] 03:31, 15 October 2010 (UTC)
    nh = false;
+
 
    if ( t == 5 ) direction = -direction;
+
== Codefest Winnings ==
    if ( --t <= 0 && (nx < 19 || ny < 19 || nx > 781 || ny > 581) ) {
+
 
      nh = true;
+
Hey Zyx, have you been contacted by anybody at Codefest about the prize money? I have yet to hear from anyone and am wondering if I'm alone in this situation. --[[User:KID|KID]] 13:33, 25 April 2011 (UTC)
    }
+
: This is probably very late, I received the email like a week ago (around May 4th or 5th), but I saw your prize is marked as dispatching, so I guess you received it too. Sorry for the late reply, been too busy to check robo wiki. --[[User:Zyx|zyx]] 20:58, 10 May 2011 (UTC)
  }
 
  public void onHitWall(HitWallEvent arg0) {
 
    direction = -direction;
 
    t = 20;
 
  }
 
}
 
</pre>
 
Have fun. --[[User:Zyx|zyx]] 07:13, 18 March 2009 (UTC)
 

Latest revision as of 21:58, 10 May 2011

Archived Talks:
2009/05/06

Wiki Help

I'm trying to learn how to use the wiki, so probably will be asking more questions. But to start I would like to know how to add those nice content tables to the pages, I've been going trough the pages that has them and see nothing special in the code :-S. And as a more general second question, is there somewhere I can learn how to write wiki stuff? Particularly this one of course. --zyx 01:11, 7 May 2009 (UTC)

Here is all about mediawiki syntax. MediaWiki automatically add the TOC once the page have more than 4 headers (inclusive) at before the first header. If you want to add the TOC manually, add __TOC__ to the page (like this page) » Nat | Talk » 01:22, 7 May 2009 (UTC)

Another useful link I bookmarked recently is this MediaWiki cheatsheet. I tend to check mediawiki.org, or just Google (eg, mediawiki namespaces) when I'm looking for something specific. There's a lot of good info out there because so many people use MediaWiki. But I've learned a lot of what I know from people like Nat and AaronR doing stuff on this wiki. =) --Voidious 01:30, 7 May 2009 (UTC)

Hey, you won't believe me that this is the first wiki (beside the old one) I've working on. I learn the thing from what AaronR and Nfwu used to done actually. » Nat | Talk » 01:52, 7 May 2009 (UTC)

Thanks guys, I'm too dinosaur-ish for web related stuff. This is the first wiki I've been, and have been moderator of two forums, but there I'm just as dumb as I am here :-P. --zyx 01:56, 7 May 2009 (UTC)

Handle

I always realized that your handle was the last 3 letters in the alphabet, but it only just occurred to me that this is like the opposite of "ABC". I'm curious if that is intentional or just coincidence? (To be clear, I mean if it's inspired by ABC the Robocoder or not.) Kind of funny that two of our PL kings have such similar handles. =) --Voidious 18:16, 4 August 2009 (UTC)

I think it is coincidence, because his email is zyx###@gmail.com (### replace with number, I don't remember which) » Nat | Talk » 08:49, 5 August 2009 (UTC)
It is a coincidence, I've been using zyx since nintendo times :). --zyx 11:56, 5 August 2009 (UTC)

Melee Testing

How do you guys test melee bots? Not tool-wise, I know Voidious patched RoboResearch which I will probably use to test the melee bot as well soon. But I mean battle-wise, I was testing with the top 6 bots from different authors and 2 random middle bots, the other two spots were taken by two versions of my bots and ran 100 round battles and compare the results of my two bots to decide which one is better. But I knew that testing wasn't suitable, YersiniaPestis 3.0 can beat Shadow, Aleph a lot of times (~40% of times beats one of them), Portia every now and then and Fermat every time under that circumstances, but I knew that in reality battles don't such a high concentration of top bots so results were kind of irrelevant as rumble performance meant. Thanks. --zyx 21:03, 19 August 2009 (UTC)

Well, I struggle with this too, but my attitude is to try to emulate the same mixes of bots that you'll face in the rumble. So you'd want the same range of skill levels, some battles with all weak bots, some with mid-range bots, and some with stronger bots. Right now my test bed is 27 bots, split into 6 groups (with each bot appearing twice), and I'll run ~20 seasons. For many versions of Diamond in a row, this was accurately predicting a rating increase or not. Then I released a version without much testing, its rumble rating went up, but I ran the test afterward and the score went down. :-/ So I'm still figuring it out myself, really. If you're curious about my test bed, it's here: dibed6.rrc. Good luck, and please let us know if you make any Melee test bed breakthroughs. =) --Voidious 21:30, 19 August 2009 (UTC)
Thanks, I'll check it later. If I do, I will. --zyx

Google Code Jam

I don't know if any of you like programming contests, but I'm actually a devoted contestant of those. Next week the Google Code Jam begins, which is an online contest similar to the ACM-ICPC or TopCoder contests but it has its differences, specially in the format and languages you can use (any language is fine, even BrainF#@k). I'll be participating in it, if anyone is interested in learing more about it go to CodeJam 2009. Hope at least some of you find it interesting so we can meet there. --zyx 16:38, 28 August 2009 (UTC)

Good AI Books

Background: Buying books in Venezuela sucks, they are old, translated(I like to read the original author) and expensive.

My mom is currently visiting my brother in the UK, I always buy some books when she is over there since I love reading scientific or technical books. Currently I'm looking to expand my AI books collection since it is rather poor, and I thought maybe some of you could help me find a good choice. I already have Artificial Intelligence: A Modern Approach of Norvig and Russell, although it's the first edition and in Spanish so I'm considering the second edition in English. But besides that one which good AI books can you recommend? Also I have a couple of NN books so I would be more interested in something either general or specific to other subjects, but if you have a good NN book to recommend I wouldn't mind hearing and reading about it as well. Thanks in advance. --zyx 01:16, 7 September 2009 (UTC)

I don't have any "general AI" books (could use some recommendations too) but the favourite of the ones I have is "Reinforcement Learning" by Sutton & Barto. As a bonus, it's actually available online. Leon and early versions of Pris use concepts from this book. For NN I have "Fundamentals of Neural Networks" by Fausett, but there are many more practical resources scattered about online. For example, "ai-junkie has some great tutorials on NN and genetic algorithms. --Darkcanuck 06:42, 7 September 2009 (UTC)
I don't know if you find it usefull, but at the university I study at we're using Artificial Intelligence, structures and strategies for complex problem solving by George F. Luger. It's been pretty general so far (I'm at chapter 4, and it has mostly been about treesearching strategies), and it's also nice to read. I'm wondering if I can incoorperate anything in robots... --Positive 17:35, 7 September 2009 (UTC)
For an Intro to Machine Learning class I took in my last semester of CS, one of the books we used was this: Information Theory, Inference, and Learning Algorithms, by David MacKay. The physical version of the book is sold normally, but you can download a PDF of the entire book for free as long as you agree not to print it out. I remember it being pretty "dense", as was the class, but I learned a lot. The only other book I can think of to mention is one that PEZ talked about a bit: The Wisdom of Crowds, by James Surowiecki. (PEZ talks about it here: oldwiki:CrowdTargeting.) Good luck - let us know how your search turns out. =) --Voidious 17:49, 7 September 2009 (UTC)

Thanks for all your responses, I won't buy the books recommended by Darkcanuck (the first one) and Voidious because I can download them and I have to save every penny, in Venezuela we have exchange control right now and we are only allowed to spend $400 on Internet each year :-S. The NN book, well I have some and as he said ai-junkie is a great place. The book Positive posted is really inexpensive so I was excited at first, but I read a bit on the Amazon preview and it seems fine but rather basic, I already have 3 undergraduate AI courses and I'm actually looking to do some graduate level studies now.

I will buy the second edition of A Modern Approach of Norvig and Russell as it seems to be the most recommended book all around the world, to have it as a reference rather than reading it in depth again. And just to please my self I will buy the first 2 books from the AI Game Programming Wisdom series, they seems to be in the same fashion as the Game Programming Gems series which I found to be amazingly interesting when I first read them. Thanks all, and I hope you get something out it as well. My mom comes back next week, I'll let you know then how good or bad the books end up being. --zyx 21:36, 7 September 2009 (UTC)

I forgot to mention The Wisdom of Crowds is not an AI book, the author is a journalist and not a scientific in any way, I already mentioned some of this once Nat asked a question about it, but is actually more a psychological on how a crowd of people behaves. I think it had very positive feedback from people who read it for fun and very negative feedback from people who wanted it for scientific reasons, I read a bit of it long time ago and didn't find it very interesting but I myself only like scientific reading. --zyx 21:43, 7 September 2009 (UTC)

Google sites got disabled?

Just to let you know, it seems your Google sites account recently got disabled "because of a perceived violation of the Terms of Service". Got all your robots hosted there on the participants lists switched over to the Darkcanuck's mirror. --Rednaxela 06:11, 30 April 2010 (UTC)

Hi, thanks for this. However, I just checked and seems the Google site is working again, I don't use it for anything else than this robots. Hopefully it still works because I want to try doing some robocoding again. --zyx 03:31, 15 October 2010 (UTC)

Codefest Winnings

Hey Zyx, have you been contacted by anybody at Codefest about the prize money? I have yet to hear from anyone and am wondering if I'm alone in this situation. --KID 13:33, 25 April 2011 (UTC)

This is probably very late, I received the email like a week ago (around May 4th or 5th), but I saw your prize is marked as dispatching, so I guess you received it too. Sorry for the late reply, been too busy to check robo wiki. --zyx 20:58, 10 May 2011 (UTC)