--- Log opened Sun May 23 00:00:25 2010 --- Day changed Sun May 23 2010 00:00 < Soultaker> sounds interesting :) 00:00 < Abablabab> thanks, that's the idea, lol 00:01 -!- bmizerany [~bmizerany@adsl-68-127-166-2.dsl.pltn13.pacbell.net] has joined #go-nuts 00:04 < Abablabab> not at all sure how it can be managed without serialisation lol 00:10 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has quit [Ping timeout: 248 seconds] 00:11 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has joined #go-nuts 00:15 < Null-A> Abablabab: why not use go? 00:16 -!- kanru [~kanru@61-228-148-78.dynamic.hinet.net] has joined #go-nuts 00:16 < Abablabab> Null-A: I want to, I dont think it can do what i want 00:16 < Null-A> what can't it do? 00:16 < Abablabab> goroutine serialisation 00:16 < Null-A> you want strict ordering on goroutine execution? 00:17 < Abablabab> nope, portability / saving of running processes 00:17 * Null-A thinking 00:18 < Null-A> You don't want to serialize everything on the stack in a go routine, that's very inefficient 00:19 < Abablabab> im not sure how else to save a state of a given process 00:19 < Null-A> you execute state machines with idempotent operations 00:20 < Null-A> serialize the state, when you recover, you just execute the state machine where it last left off (approximately) 00:20 < Abablabab> sounds like a plan, where can i learn about this, hehe 00:20 < Null-A> dunno, try looking at papers by david cheriton 00:20 < Null-A> some courses at stanford on it 00:20 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has quit [Ping timeout: 260 seconds] 00:22 < Abablabab> thanks a lot, im looking in to it now 00:22 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has joined #go-nuts 00:22 < Null-A> *nods* 00:25 -!- photron [~photron@port-92-201-144-172.dynamic.qsc.de] has joined #go-nuts 00:26 -!- rhelmer [~rhelmer@adsl-69-107-89-5.dsl.pltn13.pacbell.net] has joined #go-nuts 00:27 < Null-A> Abablabab: this company is using this technique: http://www.aristanetworks.com/media/system/pdf/EOSWhitepaper.pdf 00:28 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 00:29 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 00:29 < Abablabab> very interesting 00:29 < Abablabab> im gonna need to get hold of some people much smater than i am lol 00:30 < Null-A> =) 00:34 -!- mertimor [~mertimor@p4FE752C4.dip.t-dialin.net] has quit [Quit: mertimor] 00:35 < Abablabab> thanks for pointing me in the right direction Null-A 00:35 < Null-A> Abablabab: glad I could help 00:36 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 00:37 -!- jimi_hendrix [~jimi@unaffiliated/jimihendrix] has quit [Ping timeout: 265 seconds] 00:40 -!- aho [~nya@f052037238.adsl.alicedsl.de] has joined #go-nuts 00:43 -!- marsu [~marsu@16.109.202-77.rev.gaoland.net] has quit [Quit: Leaving] 00:45 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has quit [Ping timeout: 248 seconds] 00:47 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has joined #go-nuts 00:47 -!- jimi_hendrix [~jimi@unaffiliated/jimihendrix] has joined #go-nuts 00:51 < emiel_> hmm, it appears obj.Func().Chain(obj.Len()) evaluates obj.Len() _before_ obj.Func() - is this normal behavior? 01:01 -!- Xurix [~Luixsia@AToulouse-254-1-10-182.w83-203.abo.wanadoo.fr] has joined #go-nuts 01:03 < jimi_hendrix> has anyone here used gocurses? 01:04 -!- pct [~pct@deep.tw] has joined #go-nuts 01:05 < jimi_hendrix> because the code won compile 01:06 < Abablabab> sorry jimi, I haven't 01:06 < Abablabab> g'night go'ers (2AM) 01:07 < exch> jimi_hendrix: if it hasn't been updated in a while there are likely recent changes in the Go compiler/API that breka it. 01:07 < exch> try running it through gofmt first and fix any remaining stuff manually 01:08 < exch> unfortunately that's one of the disadvantages of building libraries before a language is finished :) 01:10 < jimi_hendrix> exch, i keep getting: curses.cgo1.go:161: cannot pass v (type interface { }) as a ... interface { } (... mismatch) 01:10 < jimi_hendrix> i mean i will patch it, but i do not know why a generated file is not compiling 01:11 < emiel_> hmm, when trying to reproduce in a test-case, the chaining thing obviously does the right thing 01:11 < emiel_> but the code generated in my app is definitely wrong, any compiler wizards here :)? 01:11 -!- scm [justme@80.171.71.228] has joined #go-nuts 01:11 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit [Quit: Svarthandske] 01:12 < exch> jimi_hendrix: sounds like an old issue where the ... usage was changed 01:14 < jimi_hendrix> exch, any clue how i can fix this without making my own port? 01:14 < jimi_hendrix> which i would do, but i bet fixing it takes less time 01:14 < exch> got a link to the sourcefile on github or somewhere? 01:15 < jimi_hendrix> http://github.com/jabb/gocurse 01:15 < exch> k sec 01:16 < exch> the Addstr function's signature should be changed to ' v ...interface{}' 01:17 -!- photron [~photron@port-92-201-144-172.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 01:17 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has quit [Read error: Connection reset by peer] 01:18 < jimi_hendrix> k, i will see if i can contact the maintainer...unless theres someway to branch his project myself 01:18 < jimi_hendrix> (i am not a github wizard) 01:18 < exch> you can hit the 'fork' button up in the top somewhere 01:19 < jimi_hendrix> ok 01:20 < jimi_hendrix> so what exactly is the output of the make process for a go module like this? a .go file? or a file that got put somewhere in $GOROOT 01:22 < exch> a compiled package (.a file). If you then rune make install, it gets copied to the pkg directory in the Go root, so you can do 'import "foo"' in your code 01:22 < exch> *run 01:23 < jimi_hendrix> i see 01:30 < jimi_hendrix> oh where can i find the .vim file for go? 01:30 < exch> should be somewhere in the docs bit of your go root 01:31 < Abablabab> i think it's under misc? 01:31 < jimi_hendrix> thanks 01:31 < exch> $GOROOT/misc/vim/ 01:32 -!- bmizeran_ [~bmizerany@adsl-68-127-166-2.dsl.pltn13.pacbell.net] has joined #go-nuts 01:34 -!- bmizerany [~bmizerany@adsl-68-127-166-2.dsl.pltn13.pacbell.net] has quit [Ping timeout: 252 seconds] 01:34 < jimi_hendrix> i just throw that in ~/.vim/plugin right? (last stupid question for the night) 01:37 < exch> dunno. I don't use vim 01:38 * jimi_hendrix does more googling 01:41 < napsy> it should be in the source tree 01:43 < jimi_hendrix> i got it 01:43 < emiel_> pff, wtf, can someone tell me why this http://gist.github.com/410556 is not compiling? 01:47 -!- pct [~pct@deep.tw] has quit [Quit: leaving] 01:48 < exch> possibly because Len() is defined on *Test and not Test. So 'Test' can not be resolved to Iface. try using: t.(*Test).a 01:49 < exch> not sure about this, i'd have to try, but i'm guessing this is the issue 01:52 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 252 seconds] 01:54 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 01:56 < emiel_> ah of course, you are right, the stuff is getting to me by now :) thanks! 02:00 < napsy> can I quickly determine what type is packaged in the giben interface? 02:00 < napsy> given* 02:01 -!- meatmanek [~meatmanek@c-76-21-205-249.hsd1.va.comcast.net] has joined #go-nuts 02:04 < Soultaker> napsy: if you know what type to expect, then a type switch is what you're looking for 02:04 < napsy> oh there's a type switch 02:05 < jimi_hendrix> the one thing i hate about go is the curley brace style 02:05 < Soultaker> I think you should be able to write a parser that parses Go like Python ;) 02:18 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 02:36 -!- wkharold [~wkharold@cpe-173-174-49-77.austin.res.rr.com] has joined #go-nuts 02:42 -!- bmizeran_ [~bmizerany@adsl-68-127-166-2.dsl.pltn13.pacbell.net] has quit [Remote host closed the connection] 02:42 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts 02:57 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 276 seconds] 03:01 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp] 03:04 -!- wkharold [~wkharold@cpe-173-174-49-77.austin.res.rr.com] has left #go-nuts [] 03:20 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 03:20 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 03:31 < exch> Is there any way to update a struct field using reflection? I can get the field, change it's value, but the change is not reflected in the original struct. There is also no provision to replace an existing struct field with a new one it seems. 03:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 03:34 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 03:38 < exch> nvm 03:38 < exch> should have used a struct pointer 03:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 03:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 03:53 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 03:59 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 04:02 -!- mk64ftw__ [~mk64ftw@stillraging.xen.prgmr.com] has quit [Quit: leaving] 04:14 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [] 04:21 -!- OpenSpace [~ja@93.86.233.190] has quit [Ping timeout: 245 seconds] 04:34 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Read error: Connection reset by peer] 04:35 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 04:37 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Read error: Connection reset by peer] 04:59 -!- abunner [~abunner@c-71-198-231-134.hsd1.ca.comcast.net] has quit [Quit: abunner] 05:01 -!- scm [justme@80.171.71.228] has quit [Ping timeout: 265 seconds] 05:02 -!- scm [justme@80.171.71.133] has joined #go-nuts 05:06 -!- alus [~gah@64.13.131.178] has left #go-nuts [] 05:26 -!- path[l] [UPP@120.138.102.34] has quit [Ping timeout: 258 seconds] 05:32 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts 05:44 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 05:46 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 05:47 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 05:55 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds] 05:55 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 05:57 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 276 seconds] 05:58 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has joined #go-nuts 06:03 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 276 seconds] 06:05 -!- eikenberry [~jae@mail.zhar.net] has quit [Ping timeout: 265 seconds] 06:07 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 06:23 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 06:24 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 06:38 < exch> wahey. scripting support for my go programs is finally coming along \o/ 06:53 -!- TR2N [email@89-180-148-21.net.novis.pt] has left #go-nuts [] 06:57 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 245 seconds] 07:02 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout: 248 seconds] 07:06 -!- BrowserUk [~irc1_20_B@92.15.74.184] has joined #go-nuts 07:15 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 07:16 -!- cbeck [~cbeck@c-67-170-181-181.hsd1.or.comcast.net] has quit [Read error: Operation timed out] 07:17 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has joined #go-nuts 07:17 -!- cbeck [~cbeck@c-67-170-181-181.hsd1.or.comcast.net] has joined #go-nuts 07:21 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has quit [Client Quit] 07:21 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 07:25 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has left #go-nuts [] 07:31 -!- xenplex [~xenplex@195.46.241.226] has joined #go-nuts 07:31 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 260 seconds] 07:31 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 07:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 07:52 -!- Boney_ [~paul@124-168-70-209.dyn.iinet.net.au] has joined #go-nuts 07:52 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 07:53 -!- Boney [~paul@203-217-87-237.dyn.iinet.net.au] has quit [Ping timeout: 240 seconds] 07:55 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 08:07 -!- surma [~surma@91-64-31-242-dynip.superkabel.de] has joined #go-nuts 08:15 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined #go-nuts 08:31 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts 08:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 08:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 08:37 -!- Ideal_ [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined #go-nuts 08:42 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 08:46 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has joined #go-nuts 08:49 -!- photron [~photron@port-92-201-4-198.dynamic.qsc.de] has joined #go-nuts 08:53 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts 08:55 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 265 seconds] 09:17 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 09:20 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 09:27 -!- prip [~foo@host37-220-dynamic.45-79-r.retail.telecomitalia.it] has quit [Quit: Leaving] 09:30 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 09:31 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 09:31 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 09:33 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 09:33 -!- prip [~foo@host37-220-dynamic.45-79-r.retail.telecomitalia.it] has joined #go-nuts 09:33 -!- arunkumar413 [~arun@117.254.173.242] has joined #go-nuts 09:36 -!- marsu [~marsu@184.87.202-77.rev.gaoland.net] has joined #go-nuts 09:49 -!- idr [~idr@g225023179.adsl.alicedsl.de] has joined #go-nuts 09:52 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 09:52 -!- surma [~surma@91-64-31-242-dynip.superkabel.de] has quit [Quit: Leaving.] 09:57 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping timeout: 248 seconds] 10:20 -!- arunkumar413 [~arun@117.254.173.242] has quit [Quit: Leaving] 10:31 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 10:40 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 10:45 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping timeout: 265 seconds] 10:47 -!- OpenSpace [~ja@93.86.64.44] has joined #go-nuts 10:52 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 10:54 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has quit [Ping timeout: 265 seconds] 10:54 -!- ikaros [~ikaros@e179179103.adsl.alicedsl.de] has joined #go-nuts 10:56 -!- LeoD [~LeoD@eta-ori.net] has joined #go-nuts 10:57 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has joined #go-nuts 11:04 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 11:05 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp] 11:13 -!- pshahmumbai [~prashant@58.146.97.159] has joined #go-nuts 11:13 -!- pshahmumbai [~prashant@58.146.97.159] has quit [Read error: Connection reset by peer] 11:14 -!- pshahmumbai [~prashant@58.146.97.159] has joined #go-nuts 11:14 -!- pshahmumbai [~prashant@58.146.97.159] has quit [Client Quit] 11:14 -!- pshahmumbai [~prashant@58.146.97.159] has joined #go-nuts 11:19 -!- Project_2501 [~Marvin@82.84.74.54] has joined #go-nuts 11:24 -!- marchdown [~marchdown@91.79.37.140] has quit [Quit: marchdown] 11:26 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 11:27 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined #go-nuts 11:30 -!- pshahmumbai [~prashant@58.146.97.159] has quit [Quit: Ex-Chat] 11:30 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 248 seconds] 11:33 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:35 < napsy> Why doesn't this statement work: 11:35 < napsy> return PrintTree(node.left) + " " + ((p < 0) ? string(node.value + '0') : string(ops_set[node.p])) + " " + PrintTree(node.right) 11:36 < napsy> I get "drevo.go:18: syntax error: unexpected ?, expecting ) 11:36 < exch> Go doesn't have the ?: bit 11:36 < napsy> oh 11:48 < jessta> napsy: and that's horrible 11:48 < jessta> don't do that 11:49 < napsy> I know 11:52 -!- mrd` [~matthew@shinobi.dempsky.org] has quit [Ping timeout: 240 seconds] 11:58 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 11:58 -!- xenplex [~xenplex@195.46.241.226] has quit [Quit: xenplex] 12:00 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has joined #go-nuts 12:21 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 12:23 < BrowserUk> What does error: "t3.go:11 not a function" mean? The line of code: "func a( k int, x1, x2, x3, x4, x5 func() int ) int {" 12:23 -!- kel__ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has joined #go-nuts 12:26 < exch> looks like it should be valid 12:27 -!- LeoD [~LeoD@eta-ori.net] has left #go-nuts [] 12:27 < BrowserUk> Sorry, forget it. The compiler is 8g not 8c.... 12:28 < jessta> yeah, 8c is a c compiler 12:34 < BrowserUk> I'm switching back and forth between languages 12:36 < jessta> BrowserUk: what are you making? that's a lot of funcs 12:36 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 12:37 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 12:38 < BrowserUk> I went looking for something that would consume a lot of cpu and remembered Knuth's Man or boy - http://rosettacode.org/wiki/Man_or_boy_test#Go 12:38 < BrowserUk> UNfortunately, go runs it in teh blink of an eye :) 12:40 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has quit [Quit: mertimor] 12:41 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has joined #go-nuts 12:42 < BrowserUk> Now I'm thinking Ackermann http://en.wikipedia.org/wiki/Ackermann_function 12:42 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has joined #go-nuts 12:42 < jessta> BrowserUk: can't you just increase k? 12:46 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: peace in teh middle east] 12:47 -!- mrd` [~matthew@shinobi.dempsky.org] has joined #go-nuts 12:50 < BrowserUk> jessta:trouble is k=22 completes in a coupe of seconds; k=23 pushes me into swapping. 12:50 < BrowserUk> *couple 12:51 < BrowserUk> Ackermann doesn't have the exponential stack growth. 12:51 < jessta> ah, I see 12:53 -!- atsampso1 [~ats@94-193-50-45.zone7.bethere.co.uk] has quit [Ping timeout: 258 seconds] 13:12 -!- xenplex [~xenplex@195.46.241.226] has joined #go-nuts 13:19 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts 13:22 -!- ikaros [~ikaros@e179179103.adsl.alicedsl.de] has quit [Quit: Leave the magic to Houdini] 13:24 < exch> shameless plug: Hows this for an obscure scripting language :) I wrote the compiler/runtime in Go. This particular script is the first plugin for an irc bot. http://github.com/jteeuwen/calculon/blob/master/modules/modAdmin.tsc 13:25 < exch> runtime/compiler package: http://github.com/jteeuwen/Tinyscript And more example scripts in the doc/scripts folder 13:25 < exch> Note that if you hate RPN code, it's polly best to stay far away from it ;) It's syntax borrows heavily from postscript 13:26 < exch> it has an easy to use runtime interface. Allows binding of go functions. so you can call go code form within a script. And vice versa. It can execute an entire script, or individual routines independantly 13:27 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 13:29 < jimi_hendrix> is there a way to convert an int to an int16 13:30 < exch> int16(1234) should do the trick. You'll lose data if your int's value is larger than what int16 can hold of course 13:33 < jimi_hendrix> shouldnt be a problem 13:34 -!- idr [~idr@g225023179.adsl.alicedsl.de] has left #go-nuts [] 13:37 < emiel_> hmm, when range'ing over a map, is the order guaranteed to be the insert-order? if yes, is there a way to iterate reversely? 13:39 < jessta> emiel_: maps aren't ordered 13:39 < jessta> atleast you shouldn't relie on any order 13:42 < emiel_> ok, so the only way to accomplish this (i really need the map and the order) is to also keep track of the items in a slice, which has to be implemented with growing magic? 13:42 < jessta> emiel_: keep track of the keys 13:43 < emiel_> yes, exactly 13:43 < jessta> in a vector 13:43 < emiel_> but a map auto-grows, as i understood 13:43 < emiel_> ahh 13:43 < emiel_> vector 13:43 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 13:49 -!- kashia_ [~Kashia@p4FEB52BA.dip.t-dialin.net] has joined #go-nuts 13:51 -!- Kashia [~Kashia@p4FEB40E7.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 13:59 -!- idr [~idr@g225103205.adsl.alicedsl.de] has joined #go-nuts 14:03 -!- surma [~surma@91-64-31-242-dynip.superkabel.de] has joined #go-nuts 14:05 < jessta> exch: oh, so you're jteeuwen? 14:05 -!- idr [~idr@g225103205.adsl.alicedsl.de] has left #go-nuts [] 14:06 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds] 14:07 -!- g0bl1n [~anonymous@a213-22-77-195.cpe.netcabo.pt] has joined #go-nuts 14:08 < exch> yes 14:08 -!- eikenberry [~jae@mail.zhar.net] has joined #go-nuts 14:08 * exch tries to implement the Man or Boy thing in his script lang 14:08 < exch> Keeping track of the stack in my head with that confuses my brain O_o 14:09 < jimi_hendrix> man or boy thing? 14:10 < exch> http://rosettacode.org/wiki/Man_or_boy_test#Go 14:11 < jessta> exch: feed.go:94 in go-pkg-rss should be ioutil.ReadAll 14:11 < exch> ah you are the guy that forked to project? :) 14:11 < exch> i'll fix it 14:11 < jessta> yeah 14:11 < exch> think i'll go through the rest of my packages to update em 14:12 < jessta> it also doesn't seem to work very well with goinstall 14:12 < BrowserUk> exch: Don't feel bad about being confused by the Man&boy thing. Even Knuth conjectured the result worngly. 14:14 < exch> hehe fair enough. I think the fact that my script has no routine-local variables makes it even more difficult. I need to keep everything on the stack and juggle it around in my head 14:14 < BrowserUk> The only way to get the result (a result) of a goroutine as to pass it back through a channel? 14:14 < Namegduf> Yes. 14:15 * BrowserUk wouldn't even try: I never could deal with RPN. 14:17 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has quit [Quit: mertimor] 14:19 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 14:19 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 14:20 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Client Quit] 14:23 < jimi_hendrix> odd, in gocurses, the guy defines an init() for a bunch of the variables, but it is never called in his API nor is it exported 14:24 < exch> init() is called automatically by the go runtime 14:25 < exch> you can have as many of em as you want in a single source file and all over your app. Usually handy to initialize stuff before anything else is run 14:25 < jimi_hendrix> oh i see 14:26 -!- g0bl1n [~anonymous@a213-22-77-195.cpe.netcabo.pt] has quit [Quit: g0bl1n] 14:28 -!- allengeorge [~allengeor@74.12.152.111] has joined #go-nuts 14:38 < yebyen> exch: you can define init as many times as you want? 14:38 < yebyen> thats neat 14:41 -!- abunner [~abunner@c-71-198-231-134.hsd1.ca.comcast.net] has joined #go-nuts 14:41 < jimi_hendrix> exch, the vars he sets though are still defined to their default value though... 14:43 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Read error: Operation timed out] 14:44 < exch> you can check if the init()'s are being run by putting a println() in there 14:47 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 14:49 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Read error: Connection reset by peer] 14:51 -!- kanru [~kanru@61-228-148-78.dynamic.hinet.net] has quit [Quit: WeeChat 0.3.2] 14:54 * BrowserUk is looking for a neat idiom to easily convert return f( f(n,m), f(p,q) ) such that the inner two recursions run in parallel. var c1, c2 chan; go f(n,m,c1); go f(p,q,c2); f( <-c1, <-c2, c ); ... var c chan; go f( a, b ); result <-c; seems a bit clumsy? 14:54 < BrowserUk> *go f(a,b,c) 15:03 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 15:03 < jimi_hendrix> ya its getting called exch 15:04 < jimi_hendrix> can i Printf a nil? 15:06 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 15:06 < jessta> BrowserUk: you can wrap f() in a func() that creates the channel and the go routine and then returns 15:06 < jessta> so you don't have to modifiy f() 15:08 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has joined #go-nuts 15:08 -!- Ideal_ [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit: Ideal_] 15:08 < BrowserUk> jessta: yes, I sort of getting there...I'll paste what I'm looking at......... 15:08 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined #go-nuts 15:08 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 258 seconds] 15:08 -!- drry [~drry@unaffiliated/drry] has quit [Quit: Tiarra 0.1+svn-37679M: SIGTERM received; exit] 15:09 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts 15:09 < BrowserUk> http://pastebin.com/8zkBZ1eQ 15:09 < BrowserUk> S;only pseudo code. 15:11 < BrowserUk> To really work, it should immediately return a func(), that closes over the internal channel and retrieves the result....and I'm still baffled by how to implement generics in go 15:11 -!- atsampson [~ats@94-193-50-45.zone7.bethere.co.uk] has joined #go-nuts 15:12 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Client Quit] 15:12 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined #go-nuts 15:14 < BrowserUk> Something more like http://pastebin.com/A93y3eCj 15:14 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 15:15 < BrowserUk> Needs (lotsa) work. May not even be possible? 15:15 < jessta> BrowserUk: generics, you use interface{} and check the type at runtime 15:17 < madari> BrowserUk: also you can drop all those ';':s 15:19 < jessta> BrowserUk: what is that code for? 15:19 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 15:19 -!- kashia_ [~Kashia@p4FEB52BA.dip.t-dialin.net] has quit [Quit: Leaving] 15:21 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 15:32 -!- idr [~idr@g225103205.adsl.alicedsl.de] has joined #go-nuts 15:39 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 15:43 < BrowserUk> madari: That'll take me a while to get used to. I use serveral other languages regularly (and much more frequently than go) that require them. Typing them is as automatic as CR. 15:48 < BrowserUk> jessta: Still trying to inline go routines/emulate promises http://en.wikipedia.org/wiki/Promise_(programming) 15:50 < BrowserUk> I guess if the wrapper returned the channel, I could get to f( <-af( f ), af( f ) ); ? 15:50 < BrowserUk> f( <-af( f ), <-af( f ) ); ? 15:51 < BrowserUk> f( <-af( f, m, n ), <-af( f, p, q ) ); ? 15:52 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has joined #go-nuts 15:52 -!- idr [~idr@g225103205.adsl.alicedsl.de] has left #go-nuts [] 15:54 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has joined #go-nuts 15:57 -!- BrowserUk [~irc1_20_B@92.15.74.184] has quit [Ping timeout: 245 seconds] 15:59 -!- BrowserUk [~irc1_20_B@92.15.74.184] has joined #go-nuts 16:01 < BrowserUk> jessta: Does that make any sense (to you)? 16:10 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 16:11 -!- marsu [~marsu@184.87.202-77.rev.gaoland.net] has quit [Ping timeout: 252 seconds] 16:21 < BrowserUk> Does go do varargs? 16:22 < Soultaker> yes. 16:27 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has quit [Quit: Null-A] 16:29 -!- xenplex [~xenplex@195.46.241.226] has quit [Quit: xenplex] 16:29 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has joined #go-nuts 16:31 -!- ikaros [~ikaros@e179179103.adsl.alicedsl.de] has joined #go-nuts 16:31 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has joined #go-nuts 16:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 16:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 16:33 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 276 seconds] 16:35 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has joined #go-nuts 16:36 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 16:40 < emiel_> just look at Printf :) 16:42 < BrowserUk> I'd been looking right past the section "Passing arguments to ... parameters"...which didn't scream varargs at me. 16:44 < BrowserUk> Shame there's no example of the body of a var args call in there...I guess you're meant to stumble around i the sources to find exaples. 16:44 < BrowserUk> *examples 16:44 -!- wkharold [~wkharold@cpe-173-174-49-77.austin.res.rr.com] has joined #go-nuts 16:44 < Soultaker> it's fairly intuitive, though there are two different mechanisms right now 16:45 < taruti> Which signal did Go want to print a stack trace? 16:45 < taruti> I am having a busy-loop before main and wondering how to debug that 16:46 < Soultaker> this is a short example from some code I wrote: http://pastie.org/973474 16:46 < Soultaker> (re: varargs) 16:46 < Soultaker> taruti: you can just break in gdb and obtain a fairly usable backtrace 16:47 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has joined #go-nuts 16:48 -!- Xurix [~Luixsia@AToulouse-254-1-10-182.w83-203.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 16:48 < taruti> Soultaker: not really :( 16:48 < taruti> 0x00000000004442e8 in ?? () 16:48 < Soultaker> that's the only thing? 16:48 < taruti> etc is what gdb produces for me 16:48 < Soultaker> hmm, then I don't know, sorry. 16:48 < Soultaker> maybe you need to switch to a different thread? 16:49 < Soultaker> or are you running with a single thread? 16:49 < taruti> http://pastebin.com/Zbx9MbQg 16:49 < taruti> that is before main 16:50 < taruti> so it should be single-threaded 16:51 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 16:52 < BrowserUk> Soultaker: Many thanks. (Could you paste the definition of Scanner.) 16:52 -!- skelterjohn [~jasmuth@c-76-99-92-14.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 16:53 < taruti> ah, 6prof worked. 16:53 < Soultaker> if you want the complete code, download my CodeJam submissions from here: http://code.google.com/codejam/contest/scoreboard?c=635101#sp=201 16:53 < Soultaker> (that's what I wrote the scanner for, because byte buffer I/O is annoying) 16:58 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 16:59 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 16:59 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 17:03 < BrowserUk> Soultaker: Thanks. 17:05 -!- Xurix [~Luixsia@AToulouse-254-1-27-90.w81-250.abo.wanadoo.fr] has joined #go-nuts 17:18 -!- Project_2501 [~Marvin@82.84.74.54] has quit [Quit: E se abbasso questa leva che succ...] 17:23 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 17:30 -!- ako [~nya@g227084090.adsl.alicedsl.de] has joined #go-nuts 17:32 -!- aho [~nya@f052037238.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 17:39 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has quit [Ping timeout: 265 seconds] 17:39 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 260 seconds] 17:40 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has joined #go-nuts 17:49 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 17:59 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has joined #go-nuts 18:05 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 18:07 -!- Kashia [~Kashia@p4FEB6E3F.dip.t-dialin.net] has joined #go-nuts 18:10 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 18:20 < plexdev> http://is.gd/cm47B by [Nigel Tao] in go/src/pkg/image/ -- When making images, allocate one big buffer instead of many small ones. 18:29 -!- tcoppi [~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has quit [Ping timeout: 252 seconds] 18:29 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 265 seconds] 18:30 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 260 seconds] 18:31 -!- marsu [~marsu@184.87.202-77.rev.gaoland.net] has joined #go-nuts 18:33 -!- tcoppi [~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has joined #go-nuts 18:37 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds] 18:37 < plexdev> http://is.gd/cm560 by [Evan Shaw] in go/doc/ -- spec: Fix a code tag 18:42 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 18:42 < BrowserUk> Can I define a func that takes *any* func as an argument? 18:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 18:46 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 18:48 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 18:49 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 18:52 -!- wkharold [~wkharold@cpe-173-174-49-77.austin.res.rr.com] has quit [Ping timeout: 276 seconds] 18:53 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Ping timeout: 240 seconds] 18:55 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 19:05 -!- illya77 [~illya77@234-170-178-94.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 19:09 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has quit [Ping timeout: 248 seconds] 19:11 < madari> BrowserUk: yeah, I find my self occasionally also writing those ;, but then again I usually run gofmt -w *.go often which takes care of those habits 19:12 < madari> BrowserUk: but anyway, it's ones personal preference to use them or not - I'm not here to judge 19:13 < BrowserUk> Why does the second block of code in main produce no output? http://pastie.org/973634 19:17 < madari> you surely need to initialize the channel? var c chan uint64 19:17 < madari> c := make(chan uint64) 19:17 < BrowserUk> madari: When I start sharing my code with others, I'll use gofmt; till then, the ;s don't bother me. 19:18 < madari> I understand 19:18 < BrowserUk> madari: Thankyou! 19:18 < madari> np, it worked? 19:18 < madari> btw, when I compiled your program, it threw a nice panic that pointed that out 19:19 < madari> (6g) 19:19 < madari> s/compiled/ran/ 19:20 < BrowserUk> Yes it works, and no *g on win doesn't make(aSqueak) :) 19:20 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 19:20 < madari> ok 19:21 < BrowserUk> It's running a little behind the *nix versions in several areas. 19:21 < madari> yeah that's what I've heard 19:22 < BrowserUk> Not that it quite does what I want it to...but that's just (more) user error. 19:22 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 264 seconds] 19:23 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276 seconds] 19:44 -!- ktr_ [~idr@g225103205.adsl.alicedsl.de] has joined #go-nuts 19:48 -!- ktr_ [~idr@g225103205.adsl.alicedsl.de] has quit [Remote host closed the connection] 19:52 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 265 seconds] 20:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 20:02 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts 20:02 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined #go-nuts 20:02 -!- homiziado [~ernestofr@88.210.81.37.rev.optimus.pt] has joined #go-nuts 20:05 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 20:05 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 20:06 -!- homiziado [~ernestofr@88.210.81.37.rev.optimus.pt] has left #go-nuts [] 20:06 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 20:09 -!- surma [~surma@91-64-31-242-dynip.superkabel.de] has left #go-nuts [] 20:15 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 20:18 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has quit [Ping timeout: 245 seconds] 20:54 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined #go-nuts 20:58 -!- andrewh_ [~andrewh@94-194-56-42.zone8.bethere.co.uk] has joined #go-nuts 21:02 -!- g0bl1n [~anonymous@a213-22-77-195.cpe.netcabo.pt] has joined #go-nuts 21:03 -!- g0bl1n [~anonymous@a213-22-77-195.cpe.netcabo.pt] has quit [Client Quit] 21:04 -!- noam__ [~noam@77.127.205.252] has quit [Read error: Connection reset by peer] 21:05 -!- noam__ [~noam@77.127.205.252] has joined #go-nuts 21:06 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 21:09 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 21:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 21:11 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 260 seconds] 21:16 -!- adu [~ajr@pool-173-66-16-74.washdc.fios.verizon.net] has joined #go-nuts 21:28 -!- kel__ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has quit [Ping timeout: 265 seconds] 21:35 -!- homiziado [~ernestofr@78.130.3.50.rev.optimus.pt] has joined #go-nuts 21:36 -!- homiziado [~ernestofr@78.130.3.50.rev.optimus.pt] has left #go-nuts [] 21:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 21:40 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 21:42 -!- ikkebr [~ikke@201-66-201-169.smace700.dsl.brasiltelecom.net.br] has joined #go-nuts 21:42 -!- ikkebr [~ikke@201-66-201-169.smace700.dsl.brasiltelecom.net.br] has quit [Changing host] 21:42 -!- ikkebr [~ikke@unaffiliated/ikkebr] has joined #go-nuts 21:42 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 265 seconds] 21:42 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 21:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 21:43 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp] 21:45 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has joined #go-nuts 21:48 -!- g0bl1n [~pr0kter@a213-22-77-195.cpe.netcabo.pt] has joined #go-nuts 21:50 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection] 22:02 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection reset by peer] 22:02 -!- alhoang [~ahoang@cpe-72-225-158-204.nj.res.rr.com] has joined #go-nuts 22:02 < BrowserUk> With func any( args ... interface {} ) { for arg := range args { switch ... I get "cannot type switch on non-interface value arg (type int)"; with func any( args ... interface {} ) { for i, arg := range args { switch ... I get " i declared and not used"; I have to add func any( args ... interface {} ) { for i, arg := range args { i++; switch ... ; Is there a better way to bypass the unused i, if I'm not using it? 22:03 < BrowserUk> . 22:04 -!- mertimor [~mertimor@p4FE75348.dip.t-dialin.net] has quit [Quit: mertimor] 22:04 < plexdev> http://is.gd/cmgua by [Evan Shaw] in go/misc/kate/ -- kate: convert isn't a built in function 22:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 22:07 -!- BrowserUk [~irc1_20_B@92.15.74.184] has quit [Ping timeout: 245 seconds] 22:13 -!- BrowserUk [~irc1_20_B@92.15.74.184] has joined #go-nuts 22:14 -!- Boney [~paul@124-168-39-93.dyn.iinet.net.au] has joined #go-nuts 22:16 -!- Boney_ [~paul@124-168-70-209.dyn.iinet.net.au] has quit [Ping timeout: 265 seconds] 22:18 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears in a puff of smoke] 22:27 -!- g0bl1n [~pr0kter@a213-22-77-195.cpe.netcabo.pt] has quit [Quit: Leaving] 22:34 < jessta> BrowserUk: for _,arg :=range args{ 22:38 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation timed out] 22:38 -!- wkharold [~wkharold@cpe-173-174-49-77.austin.res.rr.com] has joined #go-nuts 22:38 -!- mxweas [~max@c-76-103-73-248.hsd1.ca.comcast.net] has joined #go-nuts 22:40 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:41 -!- thaorius [~thaorius@190.247.193.207] has quit [Quit: Leaving] 22:42 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts 22:42 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 22:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 22:44 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined #go-nuts 22:44 -!- mxweas [~max@c-76-103-73-248.hsd1.ca.comcast.net] has quit [Quit: Mac has gone to sleep] 22:47 -!- mxweas [~max@c-76-103-73-248.hsd1.ca.comcast.net] has joined #go-nuts 22:47 -!- mxweas_ [~max@c-76-103-73-248.hsd1.ca.comcast.net] has joined #go-nuts 22:49 < BrowserUk> thanks jessta. 22:52 -!- mxweas [~max@c-76-103-73-248.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 22:53 -!- adu [~ajr@pool-173-66-16-74.washdc.fios.verizon.net] has quit [Quit: adu] 23:03 -!- TR2N [email@89.180.157.246] has joined #go-nuts 23:07 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 23:10 -!- rhelmer [~rhelmer@adsl-69-107-89-5.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 23:11 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 23:19 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit: Ideal] 23:20 -!- rhelmer [~rhelmer@adsl-69-107-89-5.dsl.pltn13.pacbell.net] has joined #go-nuts 23:20 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts 23:33 -!- ako [~nya@f052122045.adsl.alicedsl.de] has joined #go-nuts 23:36 -!- aho [~nya@g227084090.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 23:40 -!- marsu [~marsu@184.87.202-77.rev.gaoland.net] has quit [Quit: Leaving] 23:41 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.] 23:46 -!- Eko [~eko@adsl-76-252-29-235.dsl.ipltin.sbcglobal.net] has joined #go-nuts 23:47 -!- photron [~photron@port-92-201-4-198.dynamic.qsc.de] has quit [Read error: Operation timed out] 23:53 -!- ikkebr [~ikke@unaffiliated/ikkebr] has quit [] 23:57 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 23:58 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] --- Log closed Mon May 24 00:00:59 2010