Sunday, August 26, 2007

Busy getting life straightened out

Finished all my classes and everything. Just waiting on my grades...

While I'm waiting for that, let's roll out some more quotes!

Hikaru fever:

Cy: It's embarrassing to play someone with a name from Hikaru no Go
Nyanjilla: just think how much more embarassing it must be to _be_ someone with a name from Hikaru no Go
maladroit: Why Cy?
Cy: I just can't take them seriously
GrandYan: Er, you better.
GrandYan: IMagine how embarassing it would be to _lose_ against someone with a name from Hikaru No Go.

Dreaming of Hu:
GameFAQs: Woah, I had a dream I had Hu's cell phone number and kept calling him up and chatting with him.
GameFAQs: Also, he was listed as "Super Hu".
Pwnage: i had a dream where Hu died horrible deaths

Making fire:
GOMASTER08: nobody is accepting my matches
Javaness: Please do not play with matches
dsaun: i hope javaness realizes there is an account of a player "Matches" :)
Lighter: yeah
Lighter: you can play with me instead

Sunday, July 29, 2007

Buffer overflow

Nothing related to programming... just my buffer of quotes has been filled up. Let's empty that out right now!

That's heavy:

stoner [2d]: that's a pretty heavy looking shape for w
holynec [?]: tell me the weight please
Ksero [11k]: google says that six stones = 38.1017591 kilograms

Poker meets go:
Igomind [4k]: in poker this is called all win
Onsakamaru [10k]: igomind, you mean "all in"?
craig [4k]: in poker this is pot committed
almost [6d]: in poker this is called dead
flyingfox [6d]: in poker this is called drawing dead
MXHero [3d]: i like just dead more =D

During HappyGuy's game:
uppsala [?]: i wonder if w is still happy
EiNaRi [?]: i was wondering the same :)
tianren122 [4k?]: he might be sad:(
kigwsg [?]: someone said that he couln't be happy with his face :/
yukimura11 [3k]: according to se he is happy
lightning [?]: perhaps he wants to lose

Define 'too greedy':
tiffiny [1k]: interesting game. The lesson is "Don't be toooo greedy".
imanoob [?]: "Be greedy but not too greedy" ?
MacronDiet [5k?]: that's right, if u find 50 dollars on the floor, just take 20 and leave the rest behind. It's not good to be too greedy
Timjami [3d]: meh.. don't really think taking 20 dollars out of 50 is greedy
Timjami [3d]: taking the 50 is greedy, taking the 50 and looking for more is too greedy :P

Saturday, July 21, 2007

bot progress

I decided I'll call the bot engine goosetrapr.

You can break it down into Go, OS and an anagram of reptar. Hopefully it'll be able to trap geese by the time it's finished.

I ended up procrastinating, but the last couple nights have been great. It now supports enough of the go text protocol to be able to play on KGS. Took me a while to plan out how that was written. I'm going for elegance, and I gotta say the code's real purdy with them templates and such. I'm also writing in a language I've never, before Tuesday, even heard of. The language is fairly new, but really clean.

I'm going to work on it some more before I start running it on KGS. Right now it's just a random bot like SimpleBot used to be. I'll be adding at least scoring capabilities before I put it on KGS. Threading should be really simple with the way I planned everything out, so Monte Carlo shouldn't be too far away.

Monday, July 16, 2007

Manego with 6 Chinese Handicaps

Six (6) months ago, I played a game with Carcer (whose blog is now linked to on the right) with six Chinese handicaps to show that manego (or mirror-go) cannot be beaten. A lot of things were tried in that game, including sacrificing a whole ton of stones to play under them. Nothing worked. A few hours after that game, I found out I was wrong. It's been a while, but I recently recalled the solution and here it is:

Looks intimidating, doesn't it?


Here's the proposed 'cannot be beaten' manego.

Still looks intimidating, doesn't it?


What we'll do is take advantage of Black's existing stones. Anything that turns out differently for both sides playing mirrored moves is a step towards breaking mirror go. In this case, we force Black to capture a stone with just three (3) moves.

Giving a second stone? Really?


Same thing here. We force Black to capture another stone with just three moves. Where are we going with this?

Aha! It's broken! ...


Yes! We have what we want! Black cannot play another move to keep a mirrored board! ... or so we think...

Ah zut! (darn in French)


Black has yet to play the traditional tengen which starts the manego, so he can play it now. What to do?

Try and try again


If it worked before, it'll work again. This time we let Black capture two (2) stones with four (4) moves, while White captures one (1) stone with the same moves. We'll repeat this process again in the next diagram:

Finally broken!


Yes, this time it is finally broken. Other than a pass, which I consider illegal in a real unfinished game of go, Black has no move to keep the board mirrored. Black will have to think for himself.

Aftermath


Analysis? It's not as pretty for White as breaking less than six stones manego. He doesn't get to capture tengen. So I'd say Black's mirror go certainly paid off. White must do this sequence early in the game because it does take this many moves to break it. (As far as I can tell.) Considering this is a six handicap game, White might be able to come back, because this isn't a lopsided board. These moves are forced, and that's nearly a sixth (1/6) of the game already played, so Black should feel good; he's managed to keep ahead. In most 6hc games, Black will lose a lot of his advantage in the opening. Black ends here in sente, covering the center of two thirds (2/3) the board. Where would I play from here? One of the star points on the sides, not the corner. This helps get into White's side and marks out a huge portion of territory for himself on the sides. The corner is really not that big now with that mass in the middle.

White's battle is tough, but he can do it if the difference in strengths really is six stones.

Note that this solution works for eight (8) Chinese handicaps of similar configuration. In that case, Black would instantly lose two stones because he'd end up with the same result as these six handicaps.

btw: five (5) and seven (7).

Update: I just had to look... sensei's has a better solution. Look all the way at the bottom for the 6hcp example. In the solution, you kill the six handicap stones too!

Sunday, July 08, 2007

reptarbot theDinobot

I hate bots with a passion. For trying to improve your game, I mean. Nothing wrong with a bot trying to improve though. It seems there was a recent boom in the go bot programming industry. I see a lot of new original bots popping up.

I've ran a bot on KGS before. It was called reptarbot theDinobot. It was just a modification of GNUGo. Lately I've been putting a lot of thought into the design of a bot, so I think I might just start writing one from scratch.

I'll probably start with a random bot, just so I can get the gtp (and kgs-gtp) protocol implemented properly. I'll probably keep the randomness and start off with a Monte Carlo implementation. They're very popular these days. Mogo and CrazyStone are based on MC and they seem to be performing better than the knowledge-based GNUGo. MC should be very simple to implement -- at least that's what I've read.

Once I get a reasonable bot, I'll probably write an interface for it, just to get the hang of Cocoa. They will be separate programs, so that the bot itself can be distributed to non-mac os x platforms. I probably won't use the gtp protocol between the bot and the interface, because I want to be able to see a little more than what the protocol allows.

Anyway, after that I'll develop multi-threading so it can take advantage of multi-core processors... or I might start off with a multi-threaded bot.

The main thing I want to do with the bot is to make it learn on its own from the rules I program in. I don't want to give hints, I want it to find patterns on its own. This is the part I'm putting the most thought into at the moment.

Should be fun. If I don't procrastinate, I expect the random bot to be up by next week.

Few more oldies

Yes, he did say that! (encore):

Li [-]: I'm a murderer

Should have used the 50/50:
Move 225
gullon443 [15k]: white won so far
Move 247
gullon443 [15k]: white lost
Game Over
googlebear [2k]: w won 10 pts
Timotei [4d]: lol, pronouncing the wrong side won 6 moves before the finish = priceless

Empty triangle:
Kscnoko123 [5k]: bad shape
Timotei [4d]: best shape
Timotei [4d]: guo juan: "empty triangle is often the right answer."
Kscnoko123 [5k]: Some players, even though empty triangel is the best move, would not play it because it looks bad.
Timotei [4d]: must be kyu player :)
Knotwilg [1d]: but many many players play it even though it's a bad move
Game Over
Kscnoko123 [5k]: empty triangle wins the game

Exclaim!:
GoHappy: Go to the Challenge game room everybody!!!!!!!!!!!!!!!!!!!!!
NateC: What's in it for me?
idigo: an exclamation point

Saturday, July 07, 2007

Getting through the SR MBP teething phase

I do like the new macbook pro and the whole mac os x thing (I wrote a small cocoa application already!), but there are some issues with it. The caps lock key dies every once in a while. The key itself doesn't work at all. It doesn't worry me because I never use caps lock for anything but as an extra key I can bind to in a game. I can imagine uses for it though, so it bothers me a bit. Funny thing is that it does come back every once in a while. Seems like when the mbp runs hot, the key seems to work. Not sure why that is...

Another issue is the keyboard sometimes needs to warm up before it decides to take my key press... meaning the first key press sometimes gets lost when switching from mouse input to keyboard input. I don't know if this is specific to this mbp or whether it's normal mac os x behaviour. This is the behaviour more often than not, but sometimes it does take my first key press...

The final issue is the wireless signal just dropping. I just noticed it tonight, but I don't know if it's happened before. It's happening very frequently now. I have to turn the airport off and on again to get it back. It seems a lot of people have the same issue with the santa rosa mbps, which is what I have. A discussion post is here. I don't actually get kernal panics like some of the people posting on that thread, but I think it's the same problem. The signal display indicates full strength, but I can't communicate with the router at all.

The wireless is really the only serious problem. It's clearly not a hardware defect since there are so many people with the same problem (some of those people have had their mbp replaced four times and still have the same problem). Hopefully Apple will release a patch sometime in the near future. The other problems I'll try to get resolved when I have time to take it to a genius bar. My friend advised me to get the AppleCare Protection Plan, which extends support to three years. So I'll get it fixed sometime in that timeframe.

Update (July 10, 2007): I think I fixed the wireless problem by switching the DTIM value in the router from 1 to 99. A good explanation of DTIM is here. So far the wireless hasn't dropped once since switching it last night. 99 does seem noticeably high, so I guess I'll keep tinkering with it.

Thursday, July 05, 2007

Today's quotes are dedicated to NathanW

How it all began:

Shenron [1d]: yeah, he is around 1-2d
NathanW [-]: Who is 1 or 2 d?
Shenron [1d]: violence
NathanW [-]: O the guy with the big mouth
NathanW [-]: You will always have guys like that on kgs that think they are everything

Who's the big mouth?:
Move 122
svgo [4k]: alive
Move 123 (B plays K4)
Move 125
NathanW [-]: You wish

svgo [4k]: he could have been
Cogitatio [7k]: b h9 was live
svgo [4k]: but he played k4
NathanW [-]: So now black had to make a n impossible kill

Finale!:
Muttley [2k]: well, that keshed some ahi
NathanW [-]: you mean that costed some aji?
Prologue [-]: destroyed some aji that could have been used later.
NathanW [-]: See that makes more sense
Violence [?]: keshi is what he meant
Violence [?]: means erase in Japanese.
NathanW [-]: Ahh mister big talk is here. Yes I know what it means Violence
NathanW [-]: I studied japans for 3 years. So it would be bad if I did not know. but muttley just wrote it down wrong
Violence [?]: Haha, naraba ore no se da ne, Nathan. Tsugi ni ore ga damaru.
NathanW [-]: Violence I would reply to that. But its 3 am so I was called by my wife to go to bed.
Cormano: heh
Violence [?]: Haha
Cormano: nathan dont know japanese
Violence [?]: And all I said was "Then it's my fault. Next time, I'll shut up."

Friday, June 29, 2007

ping pong rawr

I've been playing ping pong daily for a few weeks now. It's fun and if you've never played, I suggest you go out and get a ping pong table along with all the necessary accessories. It's nearly as addictive as go.

Monday, June 25, 2007

New Hardware

I got a Nintendo Wii in May; an iPod nano a couple weeks ago; and a new MacBook Pro last week.

A year or two ago I think I wrote that I hated Apple. Ever since I learned of Boot Camp and seeing my coworkers use it, I started liking the idea of owning one myself. When I heard of the iPhone, I was immediately sold. I really like the idea of the iPhone. It's shifting the focus to software. If you're a programmer, you no longer have to worry about whether the phone has such and such buttons at such and such locations; you can just create buttons... Or at least that's the direction I imagine the iPhone will take: tremendous flexibility. I could be wrong though; you might never be able to do more with it than what Apple allows (I think at the moment that is creating apps for safari).

So I've been interested in investing in a Mac, but never had the opportunity or the need to get a new computer. With the back-to-school special (free iPod nano 4gb) and the release of the new Santa Rosa chipset, along with the school discount ($200) I only get before I graduate in August, I decided it was as good a time as any to get one. I'll just pay for Leopard when it comes out (with the savings I've mentioned).

I even got a new multifunctional printer to boot. A nice office-quality Canon PIXMA MP600. I really like it so far. Currently $100 off when buying with a Mac.

So I've spent a good bit of the weekend getting used to Mac OS X. Read about 500 tips from macosxhints.com. I think I've finally got most of what I need on here. I'm still learning all the shortcut keys and such. I really like the OS. Far more than Windows.

Oh, I forgot to mention that I also got high-speed internet in May. I'm living in cottage country now and high-speed hasn't been available here when I first came here a few years back. Now that I'm living here full-time, Rogers decides to offer an Outdoor Modem (which is like satellite but receiving the signal from a tower). What perfect timing. It's as fast as cable most times, but with severe weather, it degrades to dial-up speeds and sometimes loss of connectivity. Oh well, I'll settle with getting a ping of 60 in Team Fortress Classic most of the time.

Haven't played go in forever, so I guess I better make up for lost time.

Sunday, June 17, 2007

KGS admins do a great job

I was watching a game between a couple 6 dans when a [6d?] started making stupid comments. Checked his profile and saw he had played just one game against a fellow German client user who was [1k]. Checked out the game and it's fishy. I instantly figured rank booster...

Anyway, I log in again a few hours later and check the status... This time he has won a ranked game against another fellow German client user [2d?] and is now [9d?]. Wouldn't ya know it, the [2d?] guy hasn't played a rank game since he played one against the aforementioned [1k] a month ago.

In fact, when I was checking out his account, he was rank boosting another account up to [9d?]. I hate rank boosters with a passion. They're worse than sandbaggers and even escapers. Sandbaggers at least is giving free lessons to weaker players. When someone escapes, you know you've won. Way better than those who keep playing on either trying to win by time or your lack of concentration (of course some escapers do this first). Plus, escapers eventually escape one too many and you get the win anyway. Rank boosters on the other hand are worthless to everyone. They're basically trying to get a free lesson from higher ranks (if they have the courage to play any) or they're messing around on kibitz misleading weaker players.

I go to tell a Super Admin about it, opening up a private chat tab, but glue's already looking at the [1k] vs [6d?] game! A few minutes later, all 4 accounts are either [?] or [-]. Great to see an admin doing a fine job on KGS.

Wednesday, April 11, 2007

Leafs miss playoffs again

They've been out of playoff contention since Sunday, so why am I posting about it now? I dunno, just frustrated I guess. They're now out for the second season in a row, I've only got Ferguson to blame. We should get Colangelo from the Raptors, I bet he'd do a better job.

Right now, the Leafs' game plan seems to be shoot the puck, get lucky and get the puck back, shoot again. Unless it's a clear break-away you won't see a Leaf make a pretty move splitting defensemen to put the puck in the net or on another stick that can.

This is because the Leafs have no good stick handlers with explosive speed. Someone who can take the puck through a crowd and set up some good plays. Wellwood can stick handle and he's smart, but he doesn't seem to have that speed, and he's also got his faults which I'll get to later. Sundin can hold the puck, but it seems he can only do it from behind the net (more due to the defense he has to go against).

The lack of stick handlers causes the game to be boring; it's the same every time. All their power plays look the same, their umbrella formation set up exactly the same way every single time. Get the puck to Kaberle, pass it between defenders and shoot every once in a while. If the opposing team learns how to break up the formation, then that's it! It's over. 0 for whatever on their power play. Even if they do score, it's because of poor defense or because of lucky bounces like they admit at the end of the game.

Look at Pittsburgh. They've got play-makers like Crosby who can drive through the defense with no set destination. Very exciting power plays. They command the power play. Luck plays a factor, but they command it.

For this, Maurice should be blamed. He can't let his players go wild like it seems every other team seems to do, but even so, he should try and draw up some more plays, even if they're all set in stone. Just make sure to think up transitions between them. Don't rely on lucky bounces to win hockey games.

McCabe is the most overrated player in the NHL. He should have been let go in the off-season. Even last year, his defense was noted as not stellar. Why sign a defenseman for his offense? The Leafs defense was what was lacking in the previous season, not a lack of offense. Why sign a defenseman for $29mil for 5 years for just his offense? Now that the season is over I can ask, why sign anyone for $29mil for 5 years for NOTHING? Hell, I've seen him turn over more pucks, take more dumb penalties, not hold the blue line more times than see him make any good defensive play or make any good offensive play. I feel bad for Kaberle, the all-star who signed a contract for less in the same off-season as McCabe.

You might think Raycroft's to blame for the high goals against. He's not as stellar as he should have been, but he's not all to blame. He did let in a lot of softies against Montreal on Saturday, and he does that more often than he should. However, he cannot be blamed for the majority of goals against him. I agree with what Don Cherry has said in the past. Raycroft will be the guy who takes the Leafs to the playoffs, if they get there at all.

Wellwood is a witty player with "magic" hands. But this guy does not know how to play in his own end. Maurice should only play him when the puck's at least in the neutral zone. Watching him defend is painful.

Sundin had 20 points in the last 20 games (compare that to 21 points by Crosby in the same period), so even if he only had 1 goal in those 20 games, I think he's played a captain's role. It would be absurd to think of trading someone like him who has said he'd like to end his career as a Leaf. Sundin deserves to be the captain here. However, I think he should be paired with people who are not just Sundin-wannabes, which is just what Ponikarovsky and Antropov seem to be. Yes, he will always be against their top checkers, but he can handle himself without two towers beside him. No one matches Sundin's persistence behind the net in the NHL and there's no one he can't handle. He can afford to have someone like Pohl or Battaglia who can weave through as his winger. This should give Sundin more room to score his goals.

I would really like to see some better matched lines next season, and I hope the Leafs will be gifted with more stick-handlers to make this happen.

beck on much

First it was Kelly Osbourne going to Japan, now it's Mongolian chop squad on muchmusic (a Canadian music channel).

A real classy move by much. The anime was a success in Japan. I'm not too sure how it will be received by Canadians. The plot takes a while to get going and there are many awkward pauses so it might be a real turn off for people who're used to watching music videos.

The dubbing is pretty good, they've even redone the songs with proper English. As with all dubs, there are problems though. The extras, as usual, are terribly not believable.

Chiba's voice is a little too low in my opinion and it doesn't flow as well in some of his songs.

Koyuki's main song in the anime, Face, sounds terrible. It won't fit in with the story. His vocals are supposed to be so great that when a famous band hears this song, they select him to rock with them. His vocals are rather scratchy like a kid at his age with no vocal training.

Hopefully Canadians will stick with it, because it's a great story.

Monday, April 09, 2007

louis ck is funny

What would you do with $85 billion? I bet you won't think of anything better than this guy.

I also recommend you watch his HBO special.

Oh yeah, virgin ears should steer clear.

Tuesday, February 06, 2007

Break from KGS

You won't see me on it for (if I can control myself) at least 2 months. I need to focus on my toughest term I'll ever have here; I'm already behind on a couple courses.

See you sometime in April.

Friday, January 26, 2007

More KGS quotes

Great Name:

NeverAtari [?]: B should atari

More SE Love:
kevinwm [5k]: SE says w+113.5, and it's wrong - w is winning by MORE than that!

Yes, he did say that!:
Li: I'm a teacher

Typo to typo:
govy [17k?]: ah
govy [17k?]: ow*
govy [17k?]: Oh*

Shush Hu:
tt21: blitz, anyone?
Hu: Use your Custom Game buttojn, tt21.
Hu: You are not special.
selah: Hu, some players announce for the sake of announcing, not on the base of being special
tourniquet: nothing wrong with asking for a game here
Hu: Somebody else thinks they are special.
infil: you?