--- Log opened Sun Dec 20 00:00:14 2009 --- Day changed Sun Dec 20 2009 00:00 -!- jhh [n=jhh@f049072103.adsl.alicedsl.de] has joined #go-nuts 00:01 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the connection] 00:02 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 00:05 -!- viirya [n=viirya@140.112.29.179] has quit [Remote closed the connection] 00:05 -!- jhh [n=jhh@f049072103.adsl.alicedsl.de] has quit [] 00:05 -!- viirya [n=viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 00:09 -!- rog [n=rog@78.149.73.24] has quit [] 00:12 -!- ThePok [n=fufuuuer@p5DD6B199.dip.t-dialin.net] has joined #go-nuts 00:12 < ThePok> haha 00:12 < ThePok> go is haha 00:13 -!- napsy [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has quit [Read error: 110 (Connection timed out)] 00:19 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has left #go-nuts [] 00:26 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 00:29 -!- lux` [n=lux@151.95.188.65] has joined #go-nuts 00:30 -!- cpr420 [n=cpr420@c-67-165-199-143.hsd1.co.comcast.net] has quit ["Vision[0.9.7-H-090423]: i've been blurred!"] 00:32 -!- napsy [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has joined #go-nuts 00:36 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Read error: 104 (Connection reset by peer)] 00:36 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined #go-nuts 00:36 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the connection] 00:46 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts 00:46 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 00:49 -!- xerox [n=xerox@151.61.160.246] has joined #go-nuts 00:49 -!- xerox [n=xerox@unaffiliated/xerox] has left #go-nuts [] 00:56 -!- lux` [n=lux@151.95.188.65] has quit [Read error: 110 (Connection timed out)] 00:59 -!- lux` [n=lux@151.95.188.65] has joined #go-nuts 01:05 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined #go-nuts 01:07 -!- XniX23 [n=XniX23@89-212-10-29.dynamic.dsl.t-2.net] has quit [Remote closed the connection] 01:07 -!- napsy_ [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has joined #go-nuts 01:13 -!- napsy [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has quit [Read error: 110 (Connection timed out)] 01:15 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 01:18 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has quit [] 01:40 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 01:55 < skelterjohn> my state just had snow dumped on it, what fun! 01:57 -!- AmirMoha1mad [n=amir@213.207.243.252] has joined #go-nuts 01:59 -!- AmirMohammad [n=amir@unaffiliated/gluegadget] has quit [Read error: 110 (Connection timed out)] 02:00 -!- stdio [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined #go-nuts 02:01 -!- stdio [n=sroracle@unaffiliated/sroracle] has quit [Read error: 104 (Connection reset by peer)] 02:02 -!- Guest859 [n=elmar@dslb-188-097-078-040.pools.arcor-ip.net] has quit ["Leaving"] 02:03 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [] 02:08 -!- rares_ [n=rares@c-69-143-38-77.hsd1.va.comcast.net] has joined #go-nuts 02:11 -!- stdio [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined #go-nuts 02:12 -!- stdio [n=sroracle@unaffiliated/sroracle] has quit [Remote closed the connection] 02:13 -!- napsy_ [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has quit [Read error: 110 (Connection timed out)] 02:13 -!- stdio [n=sroracle@unaffiliated/sroracle] has joined #go-nuts 02:14 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit ["<sresp.co.cc>"] 02:14 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has quit [] 02:22 -!- smcq_ [n=smcq@70-12-65-127.pools.spcsdns.net] has joined #go-nuts 02:24 -!- AmirMoha1mad [n=amir@213.207.243.252] has quit [Read error: 110 (Connection timed out)] 02:30 -!- kanru [n=kanru@61-228-144-54.dynamic.hinet.net] has joined #go-nuts 02:38 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit ["to the batcave?"] 02:39 -!- rares_ [n=rares@c-69-143-38-77.hsd1.va.comcast.net] has quit ["Leaving..."] 02:45 -!- raichoo [n=raichoo@i577BBAB3.versanet.de] has quit [Read error: 104 (Connection reset by peer)] 02:45 -!- raichoo [n=raichoo@i577BBAB3.versanet.de] has joined #go-nuts 02:53 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 03:00 -!- Lixivial [n=Lixi@71-10-86-62.dhcp.roch.mn.charter.com] has joined #go-nuts 03:04 -!- inittab [n=dlbeer@ip-118-90-107-176.xdsl.xnet.co.nz] has left #go-nuts [] 03:06 -!- smcq_ [n=smcq@70-12-65-127.pools.spcsdns.net] has quit [Read error: 104 (Connection reset by peer)] 03:08 -!- fejes [n=fejes@S010600173117d936.vc.shawcable.net] has joined #go-nuts 03:09 < fejes> can anyone help me out and explain why "for err != os.EOF {" doesn't work? 03:10 < fejes> obviously, err comes from: "line, err := bufReader.ReadString('\n');" 03:11 -!- ThePok [n=fufuuuer@p5DD6B199.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 03:11 < jessta> bufReader.ReadString returns a string and an os.Error 03:12 < fejes> yes... so why can't i use the error to test for EOF? 03:13 < fejes> I can obviously do a for { line, err = br.ReadString('\n'); if err == os.EOF { break }} 03:13 < fejes> but why can't I test in the for? 03:19 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 03:22 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined #go-nuts 03:28 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has joined #go-nuts 03:37 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["*bork bork*"] 03:39 < anticw> fejes: that code above could return a line as well as EOF 03:39 < anticw> so you could in theory not see the last line 03:40 < fejes> that is true, 03:40 < fejes> but I can't get the for loop to break on err == os.EOF 03:41 < anticw> foo, err := ... 03:41 < anticw> you're creating new variables in a difference scope 03:41 < anticw> foo, err = ... 03:41 < anticw> no colon 03:42 < anticw> this is a common issue, i think we should consider making the compiler warn about such shadowing cases 03:42 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 03:42 < fejes> ah 03:43 < jessta> oh, yeah 03:44 -!- goplexian [n=goplexia@d154-20-0-9.bchsia.telus.net] has joined #go-nuts 03:44 < fejes> yes, that works, 03:44 < fejes> I just had to define line above 03:44 -!- raichoo [n=raichoo@i577BBAB3.versanet.de] has quit ["http://raichoo.blogspot.com"] 03:44 < jessta> it kind of makes it difficult to keep one err variable and also define a variable for the result 03:45 < fejes> I assumed that it would not create a second "err" variable, as I had one defined above 03:45 < fejes> good to know that := will create a second variable of the same name. 03:46 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 03:47 < dho> := will work as long as a new variable is being created 03:47 < dho> so newVar, oldErr := pkg.SomeCall() will work 03:47 < dho> but oldVar, oldErr obviously wont 03:47 * dho -> bed 03:51 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit [] 03:56 < goplexian> does every package need to have a main func in order to compile? I'm getting undefined: main init, undefined: main main 03:57 < jessta> goplexian: nope 03:57 < jessta> but at least one package of the packages you're linking does 03:58 < goplexian> yes, func main() is in package main, and my other package has no main, but it complains when I try to compile 04:07 < goplexian> gc compiles the package, but the linker says mainstart: undefined: main init/mainstart: undefined: main main 04:07 < goplexian> package name is not main, and it does not contain func main :P 04:08 < goplexian> do I just need to compile, but not link then? 04:10 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has quit ["Leaving."] 04:15 < jessta> perhaps gopaste your code 04:15 < goplexian> thanks, i may in a moment, I'm just going to try to whip together a basic example and see if it works 04:25 < goplexian> jessta: ok this is something like what I want to compile and then import, but it is clearly missing something or I am giving the wrong command to compile http://gopaste.org/view/Kj29i 04:30 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [] 04:30 < jessta> that looks fine to me 04:31 < jessta> but you'd need to link that with a package that had a func main() to get a program you can run 04:34 < goplexian> that must be what I'm not doing right then, do I compile that package first, then compile package main, or do I compile them at the same time somehow? I guess a make file would be best but I'd like to understand it before relying on make 04:35 < anticw> import that into something else 04:36 < goplexian> I need to compile it first, it wont compile it complains that there is no main 04:37 < jessta> goplexian: I think you're trying to link it 04:38 < jessta> goplexian: what command are you using to compile? 04:38 < goplexian> 6g Xpak.go && 6l -o Xpak Xpak.6 04:39 < jessta> 6g Xpak.go is compiling 04:40 < anticw> there is no main.main ... create something else, that is main.main and import Xpak into that 04:40 < jessta> 6l -o Xpak Xpak.6 is linking 04:40 < jessta> Xpak.6 is the compiled package 04:40 < goplexian> ah, ok i thought it wasn't finished until you linked it 04:41 < jessta> nah, you compile packages and then link them together 04:42 < goplexian> ah it is working now, thanks 04:44 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 04:45 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has joined #go-nuts 04:48 -!- rhc [n=matt@qnan.org] has quit [Read error: 104 (Connection reset by peer)] 04:51 -!- delsvr [n=delsvr@96.57.124.162] has quit [Remote closed the connection] 04:52 -!- delsvr [n=delsvr@96.57.124.162] has joined #go-nuts 04:54 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 04:59 -!- stdio [n=sroracle@unaffiliated/sroracle] has quit ["Good night"] 05:18 -!- mc1 [n=quassel@DN4441a30d.Stanford.EDU] has joined #go-nuts 05:32 -!- Kibiz0r1 [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has joined #go-nuts 05:46 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has quit ["Leaving."] 05:48 -!- osmosis [n=steven@m5a0e36d0.tmodns.net] has joined #go-nuts 05:54 -!- Kibiz0r1 [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit ["Leaving."] 05:57 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 06:01 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has joined #go-nuts 06:02 -!- tokuhirom [n=tokuhiro@s230.GtokyoFL21.vectant.ne.jp] has quit ["Tiarra 0.1: SIGTERM received; exit"] 06:05 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has quit ["Lost terminal"] 06:08 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts 06:09 -!- yashi [n=yashi@dns1.atmark-techno.com] has left #go-nuts [] 06:10 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit ["( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )"] 06:17 -!- delsvr [n=delsvr@96.57.124.162] has quit [Remote closed the connection] 06:18 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 06:30 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 06:40 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has quit [] 06:41 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has joined #go-nuts 06:41 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 06:41 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Connection timed out] 06:46 -!- fejes [n=fejes@S010600173117d936.vc.shawcable.net] has quit [Remote closed the connection] 06:47 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 07:00 -!- zen [i=zen@anapnea.net] has joined #go-nuts 07:03 < kleinchris> go is so amazing my head will be reading more and more about it 07:06 -!- keeto [n=keeto@121.54.92.149] has quit [Read error: 104 (Connection reset by peer)] 07:08 -!- keeto [n=keeto@121.54.92.149] has joined #go-nuts 07:10 -!- fbparis [n=fbparis@pdpc/supporter/active/fbparis] has joined #go-nuts 07:14 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined #go-nuts 07:17 -!- prip [n=_prip@host37-196-dynamic.17-79-r.retail.telecomitalia.it] has quit [Connection timed out] 07:17 -!- prip_ [n=_prip@host203-126-dynamic.36-79-r.retail.telecomitalia.it] has joined #go-nuts 07:22 -!- smcq_ [n=smcq@173-143-184-56.pools.spcsdns.net] has joined #go-nuts 07:28 -!- fbparis [n=fbparis@pdpc/supporter/active/fbparis] has left #go-nuts ["Leaving"] 07:29 -!- tokuhiro_ [n=tokuhiro@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts 07:36 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit [] 07:37 -!- smcq_ [n=smcq@173-143-184-56.pools.spcsdns.net] has quit [Read error: 60 (Operation timed out)] 07:45 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has joined #go-nuts 07:45 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts 07:56 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has joined #go-nuts 08:06 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has quit [] 08:07 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has joined #go-nuts 08:20 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-180-2.adsl.proxad.net] has joined #go-nuts 08:29 -!- elmar [n=elmar@dslb-188-097-072-181.pools.arcor-ip.net] has joined #go-nuts 08:38 -!- geocalc [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has joined #go-nuts 08:55 -!- napsy_ [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has joined #go-nuts 08:55 -!- dju [i=dju@89-158-203-122.rev.dartybox.com] has joined #go-nuts 08:56 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-180-2.adsl.proxad.net] has quit [Read error: 110 (Connection timed out)] 09:02 -!- alc [n=alc@222.128.153.160] has joined #go-nuts 09:09 -!- viirya [n=viirya@cml506-25.csie.ntu.edu.tw] has quit [Read error: 60 (Operation timed out)] 09:13 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has joined #go-nuts 09:17 -!- rog [n=rog@78.144.97.232] has joined #go-nuts 09:18 -!- rog_ [n=rog@78.144.97.232] has joined #go-nuts 09:18 -!- rog [n=rog@78.144.97.232] has quit [Read error: 104 (Connection reset by peer)] 09:21 -!- osmosis [n=steven@m5a0e36d0.tmodns.net] has quit [Connection timed out] 09:22 -!- osmosis [n=steven@m5a0e36d0.tmodns.net] has joined #go-nuts 09:30 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts 09:31 -!- napsy_ [n=luka@93-103-201-54.dynamic.dsl.t-2.net] has quit ["Lost terminal"] 09:36 -!- rog [n=rog@78.144.97.232] has quit [] 09:40 -!- tanamo [n=tanamo@125.252.70.230] has quit [Read error: 110 (Connection timed out)] 09:40 -!- rog [n=rog@78.144.97.232] has joined #go-nuts 09:44 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 09:49 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has joined #go-nuts 09:51 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 09:52 -!- tomestla [n=tom@87.100.115.221] has joined #go-nuts 09:54 -!- plainhao [n=plainhao@mail.xbiotica.com] has quit [Remote closed the connection] 09:58 -!- JSharpe2 [n=jamie@5ad93961.bb.sky.com] has quit [Read error: 104 (Connection reset by peer)] 09:59 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the connection] 10:00 -!- stalled [n=411@unaffiliated/stalled] has quit [Read error: 110 (Connection timed out)] 10:02 -!- JSharpe2 [n=jamie@5ad673c3.bb.sky.com] has joined #go-nuts 10:09 -!- osmosis [n=steven@m5a0e36d0.tmodns.net] has quit [Connection timed out] 10:10 -!- osmosis [n=steven@m1a0e36d0.tmodns.net] has joined #go-nuts 10:11 -!- rog [n=rog@78.144.97.232] has quit [] 10:15 -!- jhh [n=jhh@f048235169.adsl.alicedsl.de] has joined #go-nuts 10:17 -!- delsvr [n=delsvr@96.57.124.162] has joined #go-nuts 10:19 -!- Cyanure [n=cyanure@AMontsouris-151-1-89-176.w90-2.abo.wanadoo.fr] has joined #go-nuts 10:20 -!- Cyanure [n=cyanure@AMontsouris-151-1-89-176.w90-2.abo.wanadoo.fr] has quit [Remote closed the connection] 10:23 -!- Cyanure [n=cyanure@AMontsouris-151-1-30-124.w82-123.abo.wanadoo.fr] has joined #go-nuts 10:23 -!- no_mind [n=orion@122.163.222.249] has quit [Read error: 104 (Connection reset by peer)] 10:27 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has quit [Read error: 113 (No route to host)] 10:31 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has quit [] 10:34 -!- delsvr [n=delsvr@96.57.124.162] has quit [Read error: 110 (Connection timed out)] 10:37 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has joined #go-nuts 10:41 -!- no_mind [n=orion@122.163.255.240] has joined #go-nuts 10:44 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has quit [Read error: 104 (Connection reset by peer)] 10:46 -!- Cyanure [n=cyanure@AMontsouris-151-1-30-124.w82-123.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 10:47 -!- Cyanure [n=cyanure@AMontsouris-151-1-84-214.w90-2.abo.wanadoo.fr] has joined #go-nuts 10:49 -!- tomestla [n=tom@87.100.115.221] has quit ["Leaving."] 10:54 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has joined #go-nuts 10:56 -!- lux` [n=lux@151.95.188.65] has quit [Remote closed the connection] 11:03 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the connection] 11:03 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts 11:06 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has quit ["leaving"] 11:07 -!- ThePok [n=fufuuuer@p5DD6B199.dip.t-dialin.net] has joined #go-nuts 11:09 -!- Cyanure [n=cyanure@AMontsouris-151-1-84-214.w90-2.abo.wanadoo.fr] has quit [Connection timed out] 11:10 -!- Cyanure [n=cyanure@AMontsouris-151-1-14-245.w82-123.abo.wanadoo.fr] has joined #go-nuts 11:13 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has quit ["Leaving"] 11:14 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["Computer has gone to sleep"] 11:16 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 11:16 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Client Quit] 11:17 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 11:18 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 11:22 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has quit [Remote closed the connection] 11:27 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has joined #go-nuts 11:32 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts 11:33 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts 11:36 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 11:46 -!- Lixivial [n=Lixi@71-10-86-62.dhcp.roch.mn.charter.com] has quit [Read error: 110 (Connection timed out)] 12:10 -!- alc [n=alc@222.128.153.160] has quit ["Leaving..."] 12:11 -!- Guest72726 [n=elmar@dslb-188-097-072-181.pools.arcor-ip.net] has quit [Remote closed the connection] 12:37 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 12:38 -!- nf [n=nf@124-168-152-7.dyn.iinet.net.au] has quit ["received SIGHEIL"] 12:45 -!- nf [n=nf@124-168-153-30.dyn.iinet.net.au] has joined #go-nuts 12:46 -!- JSharpe [n=jamie@5ad673c3.bb.sky.com] has joined #go-nuts 12:47 -!- tor7_ [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 12:47 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Read error: 54 (Connection reset by peer)] 12:51 -!- viirya [n=viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 12:52 -!- hiromtz [n=hiromtz@p4004-ipbf1304akatuka.ibaraki.ocn.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 12:52 -!- hiromtz [n=hiromtz@p4004-ipbf1304akatuka.ibaraki.ocn.ne.jp] has joined #go-nuts 12:53 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has quit ["Leaving"] 13:00 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has joined #go-nuts 13:05 -!- JSharpe2 [n=jamie@5ad673c3.bb.sky.com] has quit [Read error: 110 (Connection timed out)] 13:10 -!- raichoo [n=raichoo@i577ADF7A.versanet.de] has joined #go-nuts 13:11 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 104 (Connection reset by peer)] 13:11 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 13:27 < uriel> tor7: where in .se are you located? 13:33 < tor7> uriel: lund 13:33 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined #go-nuts 13:39 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined #go-nuts 13:42 -!- sw4 [n=sw@193.126.212.28] has quit [Read error: 104 (Connection reset by peer)] 13:47 -!- debhian [n=kvirc@99.211.69-86.rev.gaoland.net] has joined #go-nuts 13:47 -!- scm_ [i=justme@c210170.adsl.hansenet.de] has joined #go-nuts 13:56 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has joined #go-nuts 13:59 -!- scm [i=justme@c155192.adsl.hansenet.de] has quit [Read error: 110 (Connection timed out)] 14:01 -!- debhian [n=kvirc@99.211.69-86.rev.gaoland.net] has quit ["When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net"] 14:02 -!- GeoBSD [n=geocalc@lns-bzn-37-82-253-18-222.adsl.proxad.net] has joined #go-nuts 14:11 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit [] 14:14 < uriel> tor7: oh, I'm in stockholm, was thinking of organizing some Go users group or something... 14:14 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined #go-nuts 14:16 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has left #go-nuts [] 14:18 < uriel> tor7: anyway, if you come by stockholm, let me know, we can get together for some tea or whatever 14:21 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has quit [] 14:30 -!- elmar [n=elmar@dslb-188-097-072-181.pools.arcor-ip.net] has joined #go-nuts 14:34 -!- JSharpe [n=jamie@5ad673c3.bb.sky.com] has quit [Connection timed out] 14:46 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [] 14:54 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined #go-nuts 14:55 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 15:03 -!- alc [n=alc@114.245.255.69] has joined #go-nuts 15:07 -!- Cyanure [n=cyanure@AMontsouris-151-1-14-245.w82-123.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 15:08 -!- Cyanure [n=cyanure@AMontsouris-151-1-72-177.w83-202.abo.wanadoo.fr] has joined #go-nuts 15:09 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has quit [] 15:13 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Success] 15:17 -!- lux` [n=lux@151.95.188.65] has joined #go-nuts 15:19 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 110 (Connection timed out)] 15:31 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 15:33 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts 15:35 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 15:35 -!- iwikiwi [n=iwikiwi@202.3.77.128] has joined #go-nuts 15:37 -!- mbarkhau [n=koloss@p54A7E5D7.dip.t-dialin.net] has joined #go-nuts 15:39 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 15:42 -!- Cyanure [n=cyanure@AMontsouris-151-1-72-177.w83-202.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 15:43 -!- Cyanure [n=cyanure@AMontsouris-151-1-59-60.w82-123.abo.wanadoo.fr] has joined #go-nuts 15:45 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 15:52 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit ["Leaving."] 15:52 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Read error: 110 (Connection timed out)] 16:02 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 110 (Connection timed out)] 16:04 -!- bjorn` [i=bjorn@archlinux.no] has left #go-nuts [] 16:05 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Connection timed out] 16:12 -!- Cyanure [n=cyanure@AMontsouris-151-1-59-60.w82-123.abo.wanadoo.fr] has quit [Success] 16:13 -!- Cyanure [n=cyanure@AMontsouris-151-1-68-249.w83-202.abo.wanadoo.fr] has joined #go-nuts 16:16 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 16:18 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Read error: 104 (Connection reset by peer)] 16:18 -!- delsvr [n=delsvr@96.57.124.162] has joined #go-nuts 16:20 -!- sheepz [n=niggergu@145.100.191.90.dyn.estpak.ee] has joined #go-nuts 16:20 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has joined #go-nuts 16:24 -!- jhh [n=jhh@f048235169.adsl.alicedsl.de] has quit [Read error: 104 (Connection reset by peer)] 16:24 -!- sheepz [n=niggergu@145.100.191.90.dyn.estpak.ee] has left #go-nuts [] 16:24 -!- jhh [n=jhh@f048235168.adsl.alicedsl.de] has joined #go-nuts 16:28 < exch> uriel: I think you swapped the descriptions for the ngaro and brainf*ck links on http://go-lang.cat-v.org/go-code 16:29 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection reset by peer)] 16:36 -!- delsvr [n=delsvr@96.57.124.162] has quit [Read error: 110 (Connection timed out)] 16:37 -!- alc [n=alc@114.245.255.69] has quit [] 16:39 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 16:40 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has quit [Remote closed the connection] 16:44 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined #go-nuts 16:48 -!- Cyanure [n=cyanure@AMontsouris-151-1-68-249.w83-202.abo.wanadoo.fr] has quit [Connection timed out] 16:49 -!- Cyanure [n=cyanure@AMontsouris-151-1-38-166.w82-123.abo.wanadoo.fr] has joined #go-nuts 16:52 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.14/2009090900]"] 16:52 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has joined #go-nuts 16:53 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error: 104 (Connection reset by peer)] 17:01 -!- delsvr [n=delsvr@96.57.124.162] has joined #go-nuts 17:02 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has joined #go-nuts 17:03 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 17:09 -!- lux` [n=lux@151.95.188.65] has quit [Read error: 104 (Connection reset by peer)] 17:13 -!- keeto [n=keeto@121.54.92.149] has quit [] 17:16 -!- no_mind [n=orion@122.163.255.240] has quit [Read error: 60 (Operation timed out)] 17:16 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has quit ["Leaving."] 17:17 -!- [[sroracle]] [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined #go-nuts 17:24 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has joined #go-nuts 17:24 -!- XniX23 [n=XniX23@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts 17:24 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 17:24 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has joined #go-nuts 17:26 -!- rhatta [n=rhatta@TE0039lan1.rev.em-net.ne.jp] has quit [Client Quit] 17:29 < jhh> what does defer do? 17:30 -!- no_mind [n=orion@122.163.222.136] has joined #go-nuts 17:30 < skelterjohn> defer foo() executes foo right as the function returns 17:31 < skelterjohn> for instance, if you do (for some mutex) "m.Lock(); defer m.Unlock()", it will unlock a mutex whenever the function returns, even if you return from multiple places 17:31 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has joined #go-nuts 17:43 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has joined #go-nuts 17:47 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 17:49 -!- Sungem_ [i=ss@118-160-160-208.dynamic.hinet.net] has quit [Client Quit] 17:49 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined #go-nuts 17:50 < uriel> exch: good catch, fixed it 17:52 -!- Wiz126 [n=Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Client Quit] 17:54 -!- Cyanure [n=cyanure@AMontsouris-151-1-38-166.w82-123.abo.wanadoo.fr] has quit ["Quitte"] 17:58 -!- neynenmo [n=neynenmo@p5083436D.dip.t-dialin.net] has joined #go-nuts 18:00 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 18:00 -!- mitchellh [n=mitchell@c-24-9-124-156.hsd1.co.comcast.net] has quit ["Leaving."] 18:05 -!- neynenmo [n=neynenmo@p5083436D.dip.t-dialin.net] has quit ["Leaving..."] 18:06 -!- goplexian [n=goplexia@d154-20-0-9.bchsia.telus.net] has quit [Remote closed the connection] 18:11 -!- tomestla [n=tom@87.100.115.221] has joined #go-nuts 18:14 -!- itorres [n=itorres@gandi.bedynamic.net] has quit [Read error: 104 (Connection reset by peer)] 18:16 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has left #go-nuts [] 18:25 -!- Chile [n=chile@corn22.Stanford.EDU] has joined #go-nuts 18:26 -!- mat_ [n=mat@mx3.absolight.net] has quit [Read error: 113 (No route to host)] 18:30 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has quit ["Computer has gone to sleep"] 18:33 -!- iwikiwi [n=iwikiwi@202.3.77.128] has quit ["I ascend to reality!"] 18:40 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 18:50 -!- Fish [n=Fish@78.238.225.114] has joined #go-nuts 18:52 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit ["Leaving"] 18:53 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has joined #go-nuts 18:54 -!- gnuvince_ [n=vince@64.235.207.253] has joined #go-nuts 18:56 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has quit [Client Quit] 19:01 -!- gnuvince [n=vince@72.0.219.18] has quit [Read error: 113 (No route to host)] 19:01 -!- deso [n=deso@77-21-80-251-dynip.superkabel.de] has joined #go-nuts 19:05 -!- Sungem [i=ss@118-168-232-88.dynamic.hinet.net] has joined #go-nuts 19:05 -!- Sungem [i=ss@118-168-232-88.dynamic.hinet.net] has quit [Read error: 104 (Connection reset by peer)] 19:06 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error: 104 (Connection reset by peer)] 19:06 -!- Ortzinator [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined #go-nuts 19:13 -!- licensed [n=licensed@187.59.122.184] has joined #go-nuts 19:13 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 19:14 -!- sw4 [n=sw@193.126.212.28] has joined #go-nuts 19:14 -!- Fish [n=Fish@78.238.225.114] has quit [Read error: 60 (Operation timed out)] 19:14 -!- Sungem [i=ss@118-168-236-122.dynamic.hinet.net] has joined #go-nuts 19:22 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 19:31 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 19:31 -!- kleinchris [n=kleinchr@project-ajax.de] has quit [Remote closed the connection] 19:32 -!- Fish [n=Fish@78.238.225.114] has joined #go-nuts 19:35 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has joined #go-nuts 19:39 -!- itorres [n=itorres@gandi.bedynamic.net] has joined #go-nuts 19:46 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts 19:57 -!- Fish [n=Fish@78.238.225.114] has quit [Read error: 104 (Connection reset by peer)] 20:10 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts 20:12 -!- kleinchris [n=kleinchr@project-ajax.de] has joined #go-nuts 20:13 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined #go-nuts 20:18 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit ["Leaving"] 20:19 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined #go-nuts 20:27 < dagle> Hmm. I can't import x11. Get "can't find import: exp/draw/x11" 20:30 -!- Floft [n=garrett@pool-71-112-235-46.sttlwa.dsl-w.verizon.net] has joined #go-nuts 20:30 < skelterjohn> pastebin? 20:30 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit ["Leaving"] 20:31 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined #go-nuts 20:34 < dagle> skelterjohn: package main , import "exp/draw/x11"; 20:36 < skelterjohn> hmm, i haven't got that package either 20:37 < dagle> I just updated and the package do exist in go/src/package/exp/draw/x11 20:39 -!- Floft [n=garrett@pool-71-112-235-46.sttlwa.dsl-w.verizon.net] has left #go-nuts ["Leaving."] 20:40 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has left #go-nuts ["Leaving"] 20:41 < XniX23> maybe its not compiled by default 20:41 < skelterjohn> yeah i have the src, but not the compiled package 20:42 < dagle> XniX23: Thx. 20:45 < zen> http://sites.google.com/site/gopatterns/home 20:46 -!- Demp [n=Demp@bzq-79-180-116-125.red.bezeqint.net] has joined #go-nuts 20:46 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has joined #go-nuts 20:47 -!- endusr [n=endusr@unaffiliated/endusr] has joined #go-nuts 20:50 -!- Vova [i=Vova@80.178.2.141.adsl.012.net.il] has joined #go-nuts 20:53 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 20:53 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit ["ChatZilla 0.9.84 [SeaMonkey 2.0a3/20090223135443]"] 20:57 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.85-rdmsoft [XULRunner 1.9.0.14/2009090900]"] 21:02 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 21:05 -!- licensed [n=licensed@187.59.122.184] has quit ["em terra de olho quem tem um sego errei.."] 21:09 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has quit ["Leaving."] 21:17 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 110 (Connection timed out)] 21:18 -!- itorres_ [n=itorres@gandi.bedynamic.net] has joined #go-nuts 21:18 -!- itorres [n=itorres@gandi.bedynamic.net] has quit [Read error: 104 (Connection reset by peer)] 21:18 -!- e1f` [n=user@141.117.1.155] has joined #go-nuts 21:19 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has joined #go-nuts 21:20 -!- e1f [n=user@natcho.ee.ryerson.ca] has quit [Remote closed the connection] 21:22 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has joined #go-nuts 21:23 -!- JSharpe [n=jamie@5ad673c3.bb.sky.com] has joined #go-nuts 21:25 < endusr> Go is a language good for a beginner? 21:25 < endusr> (It's poorly documented and has very few libs) 21:25 < endusr> so.. 21:26 < Chile> I probably wouldn't use a very new language as a first language. 21:26 < Chile> you could learn python and let Go mature for a few years 21:26 < exch> not while it's still being developed anyways 21:27 < endusr> *shrug* 21:27 < endusr> I heard it was good for a first language by someone, so I decided to ask. 21:27 < endusr> ok, thanks. 21:28 < Chile> it probably will be, at some point :) 21:28 -!- XniX23 [n=XniX23@89-212-10-29.dynamic.dsl.t-2.net] has quit [Remote closed the connection] 21:28 < exch> endusr: the language is still changing.. if you are learning programming, you are learning the fundamentals of programming in general, a new language and in Go's case also have to deal with continuous changes.. that'll only make things more difficult 21:28 < endusr> yeah, you're right 21:29 < endusr> I'll deal :) 21:29 < exch> stick to something more established.. Once you get the fundamentals down, it'll be a lot easier to switch to another languages anyways 21:29 < endusr> like what other than python 21:30 -!- stefanc [n=stefanc@188.25.6.133] has joined #go-nuts 21:30 < Chile> doesn't really matter what 21:31 < Chile> C++, Java, Python, Ruby, C#, some lean more towards OO or imperative or functional, but you'll learn the same foundation in any of them 21:31 < exch> there's plenty to choose from. I personally don't like python much, but that's a matter of taste. I started out with C# and some obscure basic version back in 2001. Worked for me, but may not be what you are comfortable with 21:31 < exch> just try some out and see if you like em :) 21:31 < Chile> I'd probably stay away from something like haskell or lisp as a first language, unless you have someone very patient with you or are very mathematically inclined 21:31 -!- endusr [n=endusr@unaffiliated/endusr] has quit ["Leaving"] 21:32 < zen> C 21:32 < exch> As a beginner, it's the programming fundamentals which are important. Not the language you are using. So pick something that feels easy to read/understand to begin with 21:33 < Chile> he already /parted 21:33 < exch> meh. That's what I get for ignoring all join/part messages 21:36 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has joined #go-nuts 21:37 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has quit [Success] 21:37 -!- Ryan_ [n=ryan@h178.22.30.71.dynamic.ip.windstream.net] has joined #go-nuts 21:46 < fluffle> is it just me, or is using a lot of goroutines/channels prone to race problems ? 21:48 < fluffle> not through any fault of go, i might add 21:49 < fluffle> just that keeping sync is quite a challenge and appears to require calls to closed() in a fair few places 21:49 < taruti> fluffle: maybe you are doing it wrong(tm) 21:49 < fluffle> taruti: this is what i'm beginning to suspect 21:50 < fluffle> i've not ever done much parallel programmingbefore 21:51 < fluffle> hold on, i'll stick what i've been messing with for most of the afternoon on github 21:52 -!- stalled [n=411@unaffiliated/stalled] has quit [Read error: 104 (Connection reset by peer)] 21:56 < fluffle> http://github.com/fluffle/mazes/ 21:57 < fluffle> see also git@github.com:fluffle/mazes.git 21:58 < fluffle> gah mispaste fail 21:58 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined #go-nuts 21:58 < fluffle> http://brycekerley.net/blog/2009/06/trivia300.html 21:58 -!- osmosis_ [n=steven@m110e36d0.tmodns.net] has joined #go-nuts 21:58 -!- path[l] [n=path@115.240.57.75] has joined #go-nuts 22:00 < fluffle> go gives a nice alternative to the two methods bryce suggested-- try *all* the paths in concurrent goroutines, and see who gets there first 22:02 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has quit [Read error: 113 (No route to host)] 22:03 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 22:04 < fluffle> interestingly at the moment i'm getting an explosion in a very weird place 22:04 < fluffle> http://gopaste.org/view/Av60i 22:07 -!- Ryan_ [n=ryan@h178.22.30.71.dynamic.ip.windstream.net] has quit ["Colloquy for iPhone - http://colloquy.mobi"] 22:10 < fluffle> oh, hold on. should i acquire a lock around the shared w.visited[] map before trying to potentially write to it from multiple goroutines at once? 22:11 -!- iwikiwi [n=iwikiwi@202.3.77.128] has joined #go-nuts 22:11 -!- snearch [n=olaf@92.225.50.210] has joined #go-nuts 22:13 -!- snearch [n=olaf@92.225.50.210] has quit [Client Quit] 22:15 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"] 22:15 -!- osmosis [n=steven@m1a0e36d0.tmodns.net] has quit [Read error: 110 (Connection timed out)] 22:27 -!- delsvr [n=delsvr@96.57.124.162] has quit ["Leaving..."] 22:28 -!- fynn [n=fynn@unaffiliated/fynn] has joined #go-nuts 22:29 < fynn> Hey. Quick question: I know Go has support for automatic garbage collection. can I turn that off and manage memory myself, the way I did in C? 22:29 -!- froggey [n=froggey@unaffiliated/froggey] has quit [Nick collision from services.] 22:29 -!- froggey__ [n=froggey@cpc2-rdng4-0-0-cust839.winn.cable.ntl.com] has joined #go-nuts 22:30 -!- froggey__ [n=froggey@cpc2-rdng4-0-0-cust839.winn.cable.ntl.com] has quit [Client Quit] 22:33 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has joined #go-nuts 22:39 -!- tomestla [n=tom@87.100.115.221] has quit ["Leaving."] 22:41 -!- mitchellh [n=mitchell@97-118-158-109.hlrn.qwest.net] has quit ["Leaving."] 22:44 -!- vizzord [n=exn@195.49.206.202] has quit ["see you later"] 22:44 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts 22:45 -!- fission6 [n=zach@nyc01.limewire.com] has quit [Nick collision from services.] 22:45 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 22:46 -!- stefanc [n=stefanc@188.25.6.133] has quit ["Leaving"] 22:46 -!- fission61 [n=zach@nyc01.limewire.com] has joined #go-nuts 22:52 -!- mat_ [n=mat@mx3.absolight.net] has joined #go-nuts 22:55 -!- p0g0 [n=pogo@unaffiliated/p0g0] has joined #go-nuts 23:05 -!- osmosis__ [n=steven@m180e36d0.tmodns.net] has joined #go-nuts 23:05 -!- osmosis__ [n=steven@m180e36d0.tmodns.net] has quit [Read error: 104 (Connection reset by peer)] 23:06 -!- nanooo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Client Quit] 23:07 < fluffle> *sob* any go authors around tonight? i think i've found a bug in runtime/hashmap when runtime.GOMAXPROCS > 1 23:11 -!- mat_ [n=mat@mx3.absolight.net] has quit ["Lost terminal"] 23:12 -!- mat_ [n=mat@mx3.absolight.net] has joined #go-nuts 23:14 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has quit [Remote closed the connection] 23:15 < Vova> can i do some cast from bytes to string or something? 23:15 < dagle> go-openoffice !? Openoffice written in go? :D 23:15 < dagle> ;) 23:15 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit ["<sresp.co.cc>"] 23:17 < Ycros> Vova: string(someBytes) 23:17 < Vova> thats not a cast right ? like if i change the bytes the string wont change 23:17 < Ycros> it won't change, no. 23:18 < Vova> ok 23:21 < skelterjohn> fluffle: a thread-safety issue? 23:22 -!- L29Ah [n=L29Ah@jabber.spbu.ru] has left #go-nuts [] 23:23 < fluffle> skelterjohn: yes, it appears so 23:23 -!- osmosis_ [n=steven@m110e36d0.tmodns.net] has quit [Read error: 104 (Connection reset by peer)] 23:23 < fluffle> well, that's what is triggering the biug 23:23 < fluffle> sec, am putting together a vaguely testable example 23:24 < skelterjohn> can you point me at the issue? 23:24 -!- fynn [n=fynn@unaffiliated/fynn] has left #go-nuts ["Leaving"] 23:24 -!- fejes [n=fejes@S010600173117d936.vc.shawcable.net] has joined #go-nuts 23:24 -!- jhh [n=jhh@f048235168.adsl.alicedsl.de] has quit [] 23:25 -!- L29Ah [n=L29Ah@jabber.spbu.ru] has joined #go-nuts 23:25 < fluffle> skelterjohn: http://github.com/fluffle/mazes 23:26 -!- fredmorcos [n=fred@41.178.115.233] has joined #go-nuts 23:27 -!- jhh [n=jhh@f048235168.adsl.alicedsl.de] has joined #go-nuts 23:28 -!- fredmorcos [n=fred@41.178.115.233] has quit [Client Quit] 23:31 < fluffle> skelterjohn: do you reckon it's worth putting it into the bug tracker? 23:31 < skelterjohn> ah, give me a minute 23:32 < skelterjohn> a lot of code to absorb 23:32 < fejes> sorry, another simple question - I'd like to do a Println() with two strings, a and b. What's the best way to concatenate them to send them to the Println()? 23:33 < fejes> technically, it's a WriteString 23:33 < skelterjohn> fmt.Printf 23:33 < fluffle> skelterjohn: there's very little difference between the working and non-working versions, it's literally the call to runtime.GOMAXPROCS() 23:33 < skelterjohn> fluffle: map lookup operations should be thread-safe 23:34 < fluffle> skelterjohn: it's the map assignment that's causing the explosion 23:34 < skelterjohn> i didn't look closely enough to tell if your program tried it from multiple threads 23:34 < skelterjohn> line 197: ok := w.visited[n.n] 23:35 < fluffle> oh 23:35 < fluffle> shit 23:35 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts 23:35 < skelterjohn> :) 23:35 < fluffle> sec 23:35 < fluffle> no 23:35 < fluffle> that error message is old,m i must have deleted a couple lines of code 23:35 < fluffle> it's the assignment on 195 23:35 < fluffle> that causes the explosion 23:35 < fluffle> apologies 23:38 < fejes> sorry, I asked earlier, what's the best way to concatenate two strings before sending them to a file.WriteString()? 23:39 < fejes> was that fmt.Printf supposed to be helpful? 23:39 < fluffle> file.WriteString(a+b) ? 23:39 < fejes> I tried that - it didn't like it. 23:39 < fejes> hrm. 23:40 < fejes> one sec - I'll see if I screwed something else up. 23:40 < fejes> I may be looking at the wrong line. 23:40 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the connection] 23:41 < fejes> yep - it works after I abstract to a string. 23:41 < fejes> thanks. 23:41 < fluffle> skelterjohn: pushed an updated README with a correct error, but i suggest you run the tests yourself 23:42 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has joined #go-nuts 23:43 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit ["Leaving."] 23:45 -!- deso [n=deso@77-21-80-251-dynip.superkabel.de] has quit [Read error: 104 (Connection reset by peer)] 23:50 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has quit [] 23:51 -!- hiromtz [n=hiromtz@p4004-ipbf1304akatuka.ibaraki.ocn.ne.jp] has quit [Read error: 60 (Operation timed out)] 23:56 -!- pshahmumbai [n=prashant@59.164.24.199] has joined #go-nuts 23:57 -!- eazel7 [i=eazel7@186.13.35.39] has joined #go-nuts --- Log closed Mon Dec 21 00:00:34 2009