--- Log opened Mon Mar 01 00:00:18 2010 00:02 -!- senera [~jt@74-128-205-145.dhcp.insightbb.com] has quit [Quit: Lost terminal] 00:03 -!- wuehlmaus [~wuehlmaus@p4FCC60A0.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 00:12 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit: Venom_X] 00:18 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has joined #go-nuts 00:25 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has quit [Quit: homiziado] 00:25 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has joined #go-nuts 00:26 -!- reggna [~reggna@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 00:26 -!- reggna [~reggna@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has joined #go-nuts 00:30 -!- hstimer [~hstimer@2002:465a:aa25:0:226:bbff:fe05:dd9b] has joined #go-nuts 00:31 < hstimer> is there a way to dump arbitrary structures with their field names as well as values? 00:38 < fenicks> yep guys, why http.URLEscape transform space " " to "+" and not "%20" ? 00:39 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has quit [Quit: homiziado] 00:40 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 00:44 < meatmanek> that's how URL encoding works? 00:45 -!- sparc [chris@static-71-244-60-125.dllstx.fios.verizon.net] has left #go-nuts [] 00:45 < meatmanek> I believe in any correct implementation, + and %20 are both acceptable representations of space. 00:46 < meatmanek> and hopefully shouldn't have any difference in meaning 00:49 < meatmanek> do boolean slices get optimized to bitwise operations? 00:50 < meatmanek> in 6g 00:53 -!- yatoo [~marcus@host86-160-77-91.range86-160.btcentralplus.com] has quit [Ping timeout: 245 seconds] 00:54 -!- hstimer [~hstimer@2002:465a:aa25:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 00:56 < fenicks> meatmanek: I connect to a service who don't understand "+" like a space, only "%20". bad, bad, bad. For now I'll go to transform at the end "+" to "%20" explicitly. I'll notice the service developer to this problem. But I'have seen anything about that "+" must be the same like "%20" in this rfc : http://tools.ietf.org/html/rfc3986 01:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat 0.3.1.1] 01:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 01:24 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts 01:25 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has joined #go-nuts 01:29 < meatmanek> fenicks, you appear to be correct 01:29 < meatmanek> Perhaps file a bug report? 01:35 -!- AndrewLuecke [~AndrewLue@c122-107-147-56.eburwd5.vic.optusnet.com.au] has joined #go-nuts 01:41 -!- homiziado [~ernestofr@88.210.106.82.rev.optimus.pt] has quit [Quit: homiziado] 01:41 < fenicks> meatmanek: yep 01:48 -!- sakura_ [~sakura@200.82.106.170] has joined #go-nuts 01:52 -!- x-ip [~sakura@unaffiliated/x-ip] has quit [Ping timeout: 248 seconds] 02:05 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has joined #go-nuts 02:20 -!- triplez [~triplez@bb116-14-33-219.singnet.com.sg] has joined #go-nuts 02:27 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has quit [Quit: hstimer] 02:30 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has joined #go-nuts 02:31 -!- AndrewLuecke [~AndrewLue@c122-107-147-56.eburwd5.vic.optusnet.com.au] has quit [Ping timeout: 240 seconds] 02:44 -!- no_mind [~orion@122.162.227.164] has quit [Quit: Leaving] 02:45 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 02:47 -!- AndrewLuecke [~AndrewLue@c122-107-147-56.eburwd5.vic.optusnet.com.au] has joined #go-nuts 02:57 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has quit [Quit: hstimer] 02:59 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined #go-nuts 03:01 -!- geocalc [~geobsd@lns-bzn-60-82-254-235-193.adsl.proxad.net] has quit [Remote host closed the connection] 03:02 -!- Chryson [~Chryson@c-71-60-250-12.hsd1.pa.comcast.net] has joined #go-nuts 03:03 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 03:04 -!- AndrewLuecke [~AndrewLue@c122-107-147-56.eburwd5.vic.optusnet.com.au] has quit [Quit: KVIrc Insomnia 4.0.0, revision: 3900, sources date: 20100125, built on: 2010-01-27 11:44:30 UTC http://www.kvirc.net/] 03:08 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 03:13 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined #go-nuts 03:35 < nf_> the rfc doesn't mention anything about + vs %20 03:35 < nf_> but + has historically been used as + in url escaping 03:35 < nf_> as space, i mean 03:40 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 03:54 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined #go-nuts 04:15 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error: Connection reset by peer] 04:16 -!- kssreeram [~kssreeram@122.174.70.187] has quit [Quit: kssreeram] 04:26 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This computer has gone to sleep] 04:31 -!- Chryson [~Chryson@c-71-60-250-12.hsd1.pa.comcast.net] has quit [Quit: Leaving] 04:40 -!- no_mind [~orion@122.161.35.42] has joined #go-nuts 04:40 < no_mind> how do I check if a given index is in array's range without throwing an error ? 04:47 -!- nettok [~netto@200.119.151.10] has quit [Ping timeout: 265 seconds] 04:50 -!- gnperumal [~8fa6ff41@gateway/web/freenode/x-ykmbjifmzpzskahq] has joined #go-nuts 04:50 < nf_> len(array) 04:51 < nf_> no_mind: http://golang.org/doc/go_spec.html#Length_and_capacity 04:51 < no_mind> nf_, thanks, figured that out 04:57 -!- tedster [~tedster@cpe-067-023-152-198.dhcp.wadsnet.com] has left #go-nuts [] 05:00 -!- path[l] [~path@122.167.245.104] has joined #go-nuts 05:06 -!- path[l]_ [~path@122.167.245.104] has joined #go-nuts 05:06 -!- nettok [~netto@200.119.151.10] has joined #go-nuts 05:08 -!- path[l] [~path@122.167.245.104] has quit [Ping timeout: 248 seconds] 05:24 -!- robot12 [~robot12@robot12.kgts.ru] has joined #go-nuts 05:25 -!- dju [dju@89-158-236-229.rev.dartybox.com] has joined #go-nuts 05:29 -!- mssm [~mssm@ip-95-221-109-16.bb.netbynet.ru] has quit [Ping timeout: 245 seconds] 05:29 -!- robot12 [~robot12@robot12.kgts.ru] has left #go-nuts [] 05:34 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 05:41 -!- Cyprien__ [Cyprien@145-248.76-83.cust.bluewin.ch] has quit [Quit: Quitte] 05:42 -!- hevalbaranov [~hevalbara@88.247.204.219] has joined #go-nuts 05:46 -!- Wiz126 [Wiz126@72.20.220.115] has joined #go-nuts 05:47 < plexdev> http://is.gd/9qIcV by [Andrew Gerrand] in go/src/cmd/gotest/ -- gotest: set $AS to $GOBIN/$AS 05:48 -!- wuehlmaus [~wuehlmaus@p4FCC73DB.dip.t-dialin.net] has joined #go-nuts 05:51 -!- droid001 [~g1@p4FDC9E73.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 05:53 -!- droid001 [~g1@p4FDCBD8D.dip.t-dialin.net] has joined #go-nuts 05:55 -!- syd_ [~sydcogs@180.92.192.92] has joined #go-nuts 05:55 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 05:55 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This computer has gone to sleep] 06:09 -!- gerry__ [~gerry@host86-154-195-227.range86-154.btcentralplus.com] has quit [Remote host closed the connection] 06:11 -!- monty_hall [~sprague_r@adsl-99-40-250-203.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 276 seconds] 06:14 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts 06:16 -!- monty_hall [~sprague_r@adsl-99-40-250-203.dsl.sfldmi.sbcglobal.net] has joined #go-nuts 06:25 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has left #go-nuts [] 06:32 -!- vomjom [~vomjom@99-157-248-71.lightspeed.stlsmo.sbcglobal.net] has quit [Ping timeout: 265 seconds] 06:43 -!- nettok [~netto@200.119.151.10] has quit [Quit: Ex-Chat] 06:45 -!- vomjom [~vomjom@99-157-248-71.lightspeed.stlsmo.sbcglobal.net] has joined #go-nuts 06:50 -!- kssreeram_ [~kssreeram@122.165.6.245] has joined #go-nuts 06:52 -!- kssreeram__ [~kssreeram@122.165.6.245] has joined #go-nuts 06:53 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 06:54 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Ping timeout: 258 seconds] 06:55 -!- kssreeram_ [~kssreeram@122.165.6.245] has quit [Ping timeout: 265 seconds] 06:59 < cbeck> Anyone using latest go-mode.el have an issue with switch? All but the first case get completely unindented. 07:00 -!- hevalbaranov [~hevalbara@88.247.204.219] has quit [Quit: WeeChat 0.2.6.3] 07:02 < anticw> it's a bit naff 07:02 < anticw> M-x gofmt 07:10 < rsaarelm> Since you can call a multi-parameter function with a single multireturn function as parameter, shouldn't you also be able to write multifield struct initializer literals with a multireturn function as the single content expression? 07:11 < rsaarelm> I mean it seems you can't now, but would it make the language more consistent if you could. 07:13 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 07:14 < KirkMcDonald> I would enjoy a more generalized "tuple" concept. 07:15 < rsaarelm> Something like that might be good. 07:15 < KirkMcDonald> Or... well, there are a number of possibilities. 07:16 < anticw> there aren't really tuples though 07:16 < KirkMcDonald> anticw: How do you mean? 07:16 -!- trickie [~trickie@94.100.112.225] has joined #go-nuts 07:17 < anticw> generically there aren't tuples in the way other languages have tuples 07:17 < KirkMcDonald> This depends on which language you are referring to. 07:17 < anticw> Go 07:17 < KirkMcDonald> Which other languages. 07:18 < anticw> this channel is about Go, im not talking about anything else 07:18 < KirkMcDonald> ... 07:18 < anticw> obviously some other languages have wel defined tuples 07:18 < KirkMcDonald> I am saying Go should get some sort of tuple. 07:18 < KirkMcDonald> Of course it does not have them. 07:18 -!- triplez [~triplez@bb116-14-33-219.singnet.com.sg] has quit [Quit: triplez] 07:18 < anticw> well, it has things that look like tuples, in a sense 07:18 < anticw> x,y = y,z 07:18 < anticw> for example should work 07:19 < KirkMcDonald> It has specific support for certain applications of tuples, yes. 07:19 < anticw> gah, i think i found a 6g compiler bug 07:19 < anticw> or something 07:19 < anticw> distilling this down to an easy test case will be painful 07:22 -!- path[l] [~path@122.167.245.104] has quit [Quit: path[l]] 07:24 < anticw> oh, no, it's not that bad, it's simple that it's late and im retarded and i put a race where one couldn't possibly exist :-) 07:27 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts 07:28 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts 07:29 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has joined #go-nuts 07:34 -!- easytiger [~gerrys@gi0-0.cr1.vg1.core.bfs.wombatfs.net] has quit [Remote host closed the connection] 07:40 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 07:43 -!- ollins [~ollins@www.inventage.com] has joined #go-nuts 07:55 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This computer has gone to sleep] 07:56 -!- wrtp [~rog@89.242.205.202] has joined #go-nuts 08:04 -!- mkn [~7c7cdbfa@gateway/web/freenode/x-ngtpemwsxfzapnux] has joined #go-nuts 08:04 -!- mkn [~7c7cdbfa@gateway/web/freenode/x-ngtpemwsxfzapnux] has left #go-nuts [] 08:06 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has quit [Ping timeout: 258 seconds] 08:09 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has joined #go-nuts 08:09 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has quit [Remote host closed the connection] 08:10 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts 08:13 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has joined #go-nuts 08:13 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has joined #go-nuts 08:16 -!- ned [~ned@c-71-233-209-245.hsd1.ma.comcast.net] has quit [Ping timeout: 256 seconds] 08:30 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts 08:34 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has quit [Remote host closed the connection] 08:35 -!- c0nfl|ct [~tiago@83.240.134.68] has joined #go-nuts 08:35 < c0nfl|ct> bom dia 08:52 -!- mssm [~mssm@ip-95-221-109-16.bb.netbynet.ru] has joined #go-nuts 08:52 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has joined #go-nuts 09:23 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Quit: kssreeram] 09:24 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts 09:31 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the connection] 09:35 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 09:36 < meatmanek> container/list's Iter() should still yield elements that are pushed at the end of the list before the channel is exhausted, right? 09:49 < meatmanek> agh 09:49 < meatmanek> import . "./trie/trie" gives me syntax error: unexpected name, expecting literal 10:09 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 10:12 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 258 seconds] 10:18 < meatmanek> somebody want to help me decipher an error message? 10:18 < meatmanek> http://pastebin.com/d3ajePa0 10:20 < meatmanek> does 6l not like spaces in file paths? 10:23 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 246 seconds] 10:32 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 10:33 < dagle> meatmanek: With the code we might be able to help you. 10:37 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...] 10:38 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 245 seconds] 10:44 -!- comboy [~comboy@tesuji.pl] has joined #go-nuts 10:48 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat 0.3.1.1] 10:49 -!- c0nfl|ct [~tiago@83.240.134.68] has quit [Read error: Connection reset by peer] 11:19 -!- nf_ [~nf@124-168-157-23.dyn.iinet.net.au] has quit [Ping timeout: 245 seconds] 11:21 -!- nf [~nf@124-168-128-116.dyn.iinet.net.au] has joined #go-nuts 11:33 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Read error: Connection reset by peer] 11:34 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts 11:34 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally caught me] 11:34 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts 11:36 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 246 seconds] 11:54 -!- jbauer [~jbauer@adsl-99-69-161-43.dsl.lsan03.sbcglobal.net] has quit [Remote host closed the connection] 11:57 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has quit [Remote host closed the connection] 12:01 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Quit: Leaving] 12:03 -!- yatoo [~marcus@host86-160-77-91.range86-160.btcentralplus.com] has joined #go-nuts 12:04 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts 12:10 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-132-222.netcologne.de] has joined #go-nuts 12:12 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has joined #go-nuts 12:14 -!- voxadam [~voxadam@c-24-20-147-228.hsd1.or.comcast.net] has joined #go-nuts 12:15 -!- tiger_ [~chatzilla@118.126.12.54] has quit [Ping timeout: 264 seconds] 12:15 -!- voxadam [~voxadam@c-24-20-147-228.hsd1.or.comcast.net] has left #go-nuts [] 12:24 -!- snearch [~olaf@e179136155.adsl.alicedsl.de] has joined #go-nuts 12:35 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:40 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds] 12:41 -!- path[l] [~path@122.167.245.104] has joined #go-nuts 12:43 -!- mwarning [~mwarning@ip-78-94-206-18.unitymediagroup.de] has joined #go-nuts 12:43 -!- mwarning [~mwarning@ip-78-94-206-18.unitymediagroup.de] has left #go-nuts [] 12:46 -!- GeoBSD [~geobsd@lns-bzn-60-82-254-235-193.adsl.proxad.net] has joined #go-nuts 12:47 -!- suiside [~suiside@unaffiliated/suiside] has quit [Read error: Operation timed out] 12:50 -!- kssreeram_ [~kssreeram@122.165.6.245] has joined #go-nuts 12:50 -!- kssreeram_ [~kssreeram@122.165.6.245] has quit [Client Quit] 12:53 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Ping timeout: 260 seconds] 12:53 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:53 -!- Adys [~Adys@unaffiliated/adys] has quit [Client Quit] 12:54 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:55 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 12:57 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has joined #go-nuts 12:59 -!- xeon [~chatzilla@118.126.12.54] has joined #go-nuts 13:04 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has quit [Remote host closed the connection] 13:06 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts 13:06 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts 13:06 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host] 13:06 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined #go-nuts 13:14 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 13:16 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 13:19 -!- Kedo [~kedo@94-253-39-162.dynvpn.flex.ru] has joined #go-nuts 13:30 -!- tav [~tav@92.24.47.76] has quit [Remote host closed the connection] 13:30 -!- tav [~tav@92.24.47.76] has joined #go-nuts 13:32 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 258 seconds] 13:34 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts 13:35 -!- Kedo [~kedo@94-253-39-162.dynvpn.flex.ru] has quit [Remote host closed the connection] 13:39 -!- sakura_ [~sakura@200.82.106.170] has left #go-nuts [] 13:39 -!- x-ip [~sakura@unaffiliated/x-ip] has joined #go-nuts 13:41 -!- yashi [~yashi@dns1.atmark-techno.com] has quit [Read error: Connection reset by peer] 13:41 -!- snearch [~olaf@e179136155.adsl.alicedsl.de] has quit [Quit: Ex-Chat] 13:41 -!- 5EXAAFZJ9 [~olaf@e179136155.adsl.alicedsl.de] has joined #go-nuts 13:46 -!- yashi [~yashi@dns1.atmark-techno.com] has joined #go-nuts 13:48 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts 13:49 -!- c0nfl|ct [~tiago@83.240.134.68] has joined #go-nuts 13:49 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping timeout: 265 seconds] 14:06 < no_mind> I have declared a map like this : Esmtp map[string] []string . When I try to assign a value to map like this : Esmtp[key] = value , I get a segmentation fault. The value here is an array of string 14:08 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 14:15 < drhodes> temp := make(map[string] []string) 14:16 < drhodes> temp["ASDF"] = []string{"A", "B"} 14:16 < drhodes> no_mind: this works here 14:17 < no_mind> drhodes, I have a function that returns an array of string and assigning it to the map. The example you gave works here too 14:20 -!- 5EXAAFZJ9 [~olaf@e179136155.adsl.alicedsl.de] has quit [Quit: Ex-Chat] 14:21 < drhodes> no_mind: what if you try changing the map to: map[string] *[]string ? 14:21 < no_mind> ok 14:22 < no_mind> drhodes, I am getting this error on using *[]string : "cannot use value (type []string) as type *[]string in assignment" 14:23 < drhodes> no_mind: you'll have to temp["ASDF"] = &yourStringArray 14:24 < no_mind> drhodes, tried that too. Program compiles but segfaults : "SIGSEGV: segmentation violation" 14:25 < drhodes> no_mind: maybe the segfault is happening in the function which returns the []string 14:25 < no_mind> drhodes, the stack trace points to the line where assignment is happening not where the function returns the value 14:26 < drhodes> no_mind: you've tried Printf'ing the []string before assignment? 14:26 < no_mind> drhodes, if I comment the map assignment line, everything works smoothly 14:26 < no_mind> drhodes, yes, it prints 14:27 < drhodes> Printf("%t", yourArray) reports it as a []string too? 14:28 -!- royger [~royger@cisne-cn08.upc.es] has joined #go-nuts 14:30 < drhodes> and if the assignment works for some []string{"declared", "right on the spot"} then I'm stumped too. 14:31 -!- royger [~royger@cisne-cn08.upc.es] has left #go-nuts [] 14:31 -!- royger [~royger@cisne-cn08.upc.es] has joined #go-nuts 14:38 < no_mind> Printf reports [] 14:40 < no_mind> oops 14:40 < no_mind> it reports []string=[] 14:40 < no_mind> or whatever is the value in the array 14:41 < drhodes> ohhh 14:44 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the connection] 14:47 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts 14:48 < drhodes> no_mind: if you want, and can reduce the code down to a paste @ http://dpaste.com/ or wherever, I can try running it here. 14:49 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has joined #go-nuts 14:49 < no_mind> drhodes, it is a package, you will have to compile the package, test client and need an smtp server to run the code 14:49 < no_mind> it is a smtp library 14:51 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has joined #go-nuts 14:56 < no_mind> drhodes, the problem could be that the key I am trying to assign is not present in the map. How do I add new key to a map ? 14:58 -!- royger [~royger@cisne-cn08.upc.es] has quit [Ping timeout: 240 seconds] 15:01 -!- ogh [~ogh@denksoft.iasi.rdsnet.ro] has joined #go-nuts 15:04 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts 15:06 -!- c0n [~tiago@83.240.134.68] has joined #go-nuts 15:06 < drhodes> no_mind: they're added automatically, no need to create a key first 15:07 < no_mind> drhodes, that is not happening :( 15:08 -!- c0nfl|ct [~tiago@83.240.134.68] has quit [Ping timeout: 265 seconds] 15:10 < no_mind> drhodes, fixed the problem 15:13 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts 15:13 -!- c1pher [~cypher@p5DCD3C33.dip.t-dialin.net] has joined #go-nuts 15:14 < drhodes> no_mind: what was it :) ? 15:15 < no_mind> drhodes, the map I had declared was inside a struct. So before assigning keys I have to do conn.Esmtp = make(map[string] []string) 15:16 < drhodes> yeah. 15:16 < no_mind> that solved the problem 15:16 < drhodes> so the map was nil, right? 15:18 -!- tcoppi [~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has joined #go-nuts 15:18 < no_mind> looks like 15:18 < no_mind> but that brings me to another problem, how do I check if a key exists in the map 15:20 < drhodes> I think the way is to val, err := someMap[aKey], and check if there's an error. I could be wrong though 15:20 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-132-222.netcologne.de] has quit [Quit: m1ndwarp] 15:21 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-132-222.netcologne.de] has joined #go-nuts 15:21 < no_mind> drhodes, that throws a runtime error 15:22 < drhodes> no_mind: http://golang.org/doc/effective_go.html#maps, they have an example with timezones 15:23 < drhodes> instead of err, they use ok -- I think it's a bool 15:23 < no_mind> looking at it 15:25 < ogh> hello, is it possible to implement a non-blocking UDP server? the specs of "func (*UDPConn) Read" seem to suggest that a timeout is the only option. sice UDPConn struct does not export anything, is it possible to use select on the file descriptor? 15:25 -!- Wiz126 [Wiz126@72.20.220.115] has quit [] 15:25 < no_mind> drhodes, the problem with this approach is, I will have to declare a variable called val but will never use val. This will prevent the program from compiling 15:25 < drhodes> _, ok := ... 15:26 < drhodes> the underscore is meant for throw away value 15:26 < no_mind> thanks 15:26 < drhodes> you're welcome no_mind 15:28 -!- kunwon1 [~kunwon1@unaffiliated/kunwon1] has joined #go-nuts 15:36 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has quit [Remote host closed the connection] 15:37 -!- prip [~foo@host163-122-dynamic.32-79-r.retail.telecomitalia.it] has quit [Read error: Operation timed out] 15:39 -!- c0n [~tiago@83.240.134.68] has quit [Read error: Connection reset by peer] 15:41 -!- Skorps [~fabien@lal69-3-82-241-209-82.fbx.proxad.net] has joined #go-nuts 15:41 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 15:45 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 268 seconds] 15:50 -!- c1pher [~cypher@p5DCD3C33.dip.t-dialin.net] has left #go-nuts [] 15:53 -!- prip [~foo@host2-132-dynamic.35-79-r.retail.telecomitalia.it] has joined #go-nuts 15:55 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts 15:58 -!- instil__ [~fjfa@213.240.220.34] has joined #go-nuts 16:02 -!- DuckFault [~DuckFault@rrcs-71-43-24-34.se.biz.rr.com] has joined #go-nuts 16:02 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has quit [Ping timeout: 276 seconds] 16:03 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 16:05 -!- DerHorst [~Horst@e176111106.adsl.alicedsl.de] has joined #go-nuts 16:13 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has joined #go-nuts 16:14 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 16:14 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.] 16:23 -!- charlesg3 [~charles@128.30.71.74] has joined #go-nuts 16:23 -!- filler [~filler@rhad.net] has joined #go-nuts 16:24 < charlesg3> is anyone familiar with the lower-level interface between go and the OS? 16:25 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.] 16:25 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has quit [Read error: Connection reset by peer] 16:31 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts 16:32 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has joined #go-nuts 16:35 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host closed the connection] 16:39 -!- Fflam [~Fflam@c-98-244-106-231.hsd1.va.comcast.net] has joined #go-nuts 16:40 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has joined #go-nuts 16:41 -!- hstimer [~hstimer@2002:465a:aa25:0:226:bbff:fe05:dd9b] has joined #go-nuts 16:44 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has quit [Quit: Leaving] 16:46 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 16:47 -!- powerje [~powerje@2002:4cc0:8dca:0:213:e8ff:feaa:ae2b] has quit [Quit: exit] 16:48 -!- Fflam [~Fflam@c-98-244-106-231.hsd1.va.comcast.net] has quit [Quit: WeeChat 0.3.1.1] 16:49 -!- edwin [~edwin@79.114.62.227] has joined #go-nuts 16:49 < edwin> hi 16:49 < edwin> http://paste.debian.net/61994/ 16:50 -!- ollins [~ollins@www.inventage.com] has quit [Remote host closed the connection] 16:50 < edwin> FAIL: http.TestClient Get http://www.google.com/robots.txt: dial tcp www.google.com:http: dial udp 127.0.0.1:53: network is unreachable 16:50 < edwin> and make fails 16:50 < edwin> how do I skip that test? 16:50 < dagle> edwin: is that the latest version? 16:50 -!- it_diver [~it_diver@dslb-084-059-155-193.pools.arcor-ip.net] has joined #go-nuts 16:51 < edwin> yeah just hg cloned 16:51 < edwin> and followed the instructions on the webpage on how to install 16:51 < dagle> Hmm. Well you could go into the src and remove the test. 16:52 < edwin> doh, it tries AF_INET6 16:52 < edwin> of course that fails :) 16:52 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 265 seconds] 16:55 -!- keeto [~keeto@121.54.92.149] has quit [Read error: No route to host] 16:56 -!- keeto [~keeto@121.54.92.149] has joined #go-nuts 16:58 -!- keeto [~keeto@121.54.92.149] has left #go-nuts [] 17:00 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 17:01 -!- Kashia [~Kashia@port-92-200-215-246.dynamic.qsc.de] has joined #go-nuts 17:04 -!- instil__ [~fjfa@213.240.220.34] has left #go-nuts [] 17:14 -!- Fish-Work [~Fish@86.65.182.194] has quit [Remote host closed the connection] 17:17 -!- chrismurf [~chrismurf@c-65-96-149-93.hsd1.ma.comcast.net] has joined #go-nuts 17:18 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 260 seconds] 17:27 -!- alouca [~alouca@ina044000061.lancs.ac.uk] has joined #go-nuts 17:29 -!- alouca [~alouca@ina044000061.lancs.ac.uk] has quit [Client Quit] 17:31 -!- alouca [~alouca@ina044000061.lancs.ac.uk] has joined #go-nuts 17:33 -!- hstimer [~hstimer@2002:465a:aa25:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 17:33 < alouca> hello 17:34 < alouca> is there a way to dynamically load Go user-created libraries? 17:34 < alouca> (like dlcn.h in C) 17:39 -!- willwh [~quassel@unaffiliated/willskills] has joined #go-nuts 17:46 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 17:48 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has joined #go-nuts 17:50 -!- mbarkhau [~koloss@dslb-084-059-152-067.pools.arcor-ip.net] has joined #go-nuts 17:51 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts 17:51 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has left #go-nuts [] 17:52 -!- Skorps [~fabien@lal69-3-82-241-209-82.fbx.proxad.net] has quit [Remote host closed the connection] 17:52 -!- alouca [~alouca@ina044000061.lancs.ac.uk] has quit [Quit: Leaving] 17:53 -!- chrismurf [~chrismurf@c-65-96-149-93.hsd1.ma.comcast.net] has quit [Quit: Leaving] 17:54 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error: Connection reset by peer] 17:55 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined #go-nuts 17:55 -!- wrtp [~rog@89.242.205.202] has quit [Quit: wrtp] 18:04 -!- kssreeram [~kssreeram@122.174.70.187] has joined #go-nuts 18:07 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has joined #go-nuts 18:14 -!- OpenSpace [~ja@93.86.129.198] has joined #go-nuts 18:18 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-132-222.netcologne.de] has quit [Read error: Connection reset by peer] 18:23 -!- Demp_ [~Demp@bzq-79-178-27-189.red.bezeqint.net] has joined #go-nuts 18:26 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-135-218.netcologne.de] has joined #go-nuts 18:26 -!- Demp [~Demp@bzq-79-178-27-216.red.bezeqint.net] has quit [Ping timeout: 245 seconds] 18:27 -!- Demp [~Demp@bzq-79-176-42-3.red.bezeqint.net] has joined #go-nuts 18:28 -!- Demp_ [~Demp@bzq-79-178-27-189.red.bezeqint.net] has quit [Ping timeout: 265 seconds] 18:29 < dagle> "The programming language aims to combine the speed of Python with the robustness of C++" When was this clame done? 18:29 -!- fusion44 [~quassel@p5B283572.dip.t-dialin.net] has joined #go-nuts 18:29 < dagle> Or is it just random jibberish by a news site? 18:31 <+iant> I don't think any of the Go team said anything like "the robustness of C++", whatever that means 18:31 < sladegen> dagle: i think if at all it's the other way around... 18:32 < sladegen> someone must have been confabulating his own prejuidices. 18:32 < dagle> I think they are not talking about running speed, they mean programming speed. 18:33 < anticw> that's hard to measure 18:33 < dagle> ofc. 18:33 < sladegen> hah, touche. 18:33 < anticw> i did some work here for some people and python and go in parallel ... go is maybe 20% to 50% large in LOC that python in a few contrived cases 18:34 < anticw> but the code wasn't really any harder to write or debug, though clearly it was more transcribing at some level 18:35 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 18:36 < sladegen> edwin: you can also do what first comment here says: http://code.google.com/p/go/issues/detail?id=20 18:37 < edwin> sladegen: yeah I ended up putting http and net into NOTEST 18:39 < anticw> does mhoise lurk here? 18:39 < no_mind> can I add a value to an array without mentioning the array index ? 18:40 <+iant> no_mind: no, but you can with the Vector type in container/vector 18:40 < no_mind> ok 18:40 -!- newsham [~chat@thenewsh.com] has joined #go-nuts 18:41 < newsham> where would I find docs on a foreign function interface? 18:41 <+iant> newsham: see files under misc/cgo 18:41 < anticw> look at cgo 18:41 < newsham> ty 18:42 < anticw> iant: btw, is deleting elements from a map safe when under iteration? 18:42 < anticw> i test it and it seems to work, but nothing seems to guarantee this is the case 18:42 < no_mind> iant, I am facing a problem, I declared a map like this : Esmtp map[string] []string . I need to store keys and some keys might have values associated with them. THe problem is when there is no value associated with a key, the map doesnt store the key. I want some thing like Esmtp['STARTTLS'] = [] 18:43 <+iant> anticw: the language spec sort of implies it is safe, but it is not really clearly stated 18:43 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has joined #go-nuts 18:43 <+iant> "If map entries that have not yet been processed are deleted during iteration, they will not be processed." 18:43 < no_mind> ok 18:44 <+iant> no_mind: you can write Esmtp['STARTTLS'] = make([]string, 1) 18:44 <+iant> then you compare Esmtp[x] with nil 18:44 <+iant> to see if there is anything there 18:45 < anticw> for k,v := range somemap { if foo(v) { somemap[k] = nil, false } } 18:50 < anticw> iant: btw, chan send/readability is always true for closed channels 18:50 < anticw> that's fine (ie. will-not-block semantics) but i can't find in the spec where this is explicit 18:52 <+iant> I think the spec says it pretty clearly for receive, but I don't see anything there about send 18:52 <+iant> Please feel free to open issues about these, um, issues 18:52 < anticw> for RX is makes sense ill argue 18:52 < no_mind> iant, the problem is, when I check the values immediately after assignment, I get a response. When I return the map to a function and try to access the key, it throws a runtime error 18:52 < anticw> TX im not sure about, someone posted at least one issue with that here already 18:52 < newsham> anyone here familiar with the hector chu repo for go on win? 18:52 <+iant> no_mind: that seems odd.... 18:53 <+iant> newsham: I *think* those changes have all been folded into the main repository at this point 18:53 < newsham> ok.. so I just use the main repo? are there any special build instructions or just the stock stuff? 18:53 <+iant> newsham: I don't really know the state, sorry 18:53 < no_mind> where can I find details about container/vector. Dont see anything in http://golang.org/doc/go_spec.html 18:54 -!- xeon [~chatzilla@118.126.12.54] has quit [Read error: Connection reset by peer] 18:54 <+iant> no_mind: http://golang.org/pkg/container/vector/ 18:54 < no_mind> ah 18:55 < no_mind> iant, any plans to start a cookbook for GO! ? We need short examples to have a quicker start at the language 18:55 < meatmanek> is there anything wrong with for blah := linkedList.Iter()? 18:55 -!- trickie [~trickie@94.100.112.225] has quit [Ping timeout: 276 seconds] 18:55 <+iant> no_mind: that is what Effective Go is meant to be but we know that we need more examples 18:55 < KirkMcDonald> meatmanek: Do you need a 'range' in there? 18:55 < meatmanek> yeah that 18:55 < meatmanek> is there anything wrong with for blah := range linkedList.Iter()? 18:56 <+iant> I think that Andrew is going to work on that a bit 18:56 < no_mind> iant, so how can community contribute back the examples to Effective GO ? 18:56 <+iant> no_mind: you can contribute a change just like any other change to Go 18:56 <+iant> it's in doc/effective_go.html 18:56 < no_mind> ok 18:56 <+iant> meatmanek: you can only use range in a for statement 18:57 < meatmanek> right 18:57 < meatmanek> for blah := range linkedList.Iter() 18:57 <+iant> yes, that should be fine 19:01 -!- Rint__ [john@static-71-244-60-125.dllstx.fios.verizon.net] has quit [Ping timeout: 240 seconds] 19:02 -!- Rint__ [john@static-71-244-60-125.dllstx.fios.verizon.net] has joined #go-nuts 19:07 -!- carllerche [~carllerch@99.13.242.166] has joined #go-nuts 19:10 < newsham> *** No rule to make target `install-mingw32_nt-5.1', needed by `install'. 19:10 < newsham> up to that point things seem to go smoothly. 19:11 -!- xeon [~chatzilla@118.126.12.54] has joined #go-nuts 19:17 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts 19:20 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] 19:21 -!- carllerche [~carllerch@99.13.242.166] has quit [Quit: carllerche] 19:24 -!- x2180 [~mike@cpe-66-25-36-120.tx.res.rr.com] has joined #go-nuts 19:28 -!- newsham [~chat@thenewsh.com] has left #go-nuts [] 19:30 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the connection] 19:34 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts 19:35 -!- it_diver [~it_diver@dslb-084-059-155-193.pools.arcor-ip.net] has left #go-nuts [] 19:38 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has joined #go-nuts 19:43 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Ping timeout: 258 seconds] 19:44 -!- afurlan [~afurlan@200.160.16.60] has joined #go-nuts 19:49 < leonod> Are there any examples on the net package anywhere? 19:49 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined #go-nuts 20:01 -!- GeoBSD [~geobsd@lns-bzn-60-82-254-235-193.adsl.proxad.net] has quit [Ping timeout: 246 seconds] 20:01 -!- geocalc [~geobsd@lns-bzn-37-82-253-18-73.adsl.proxad.net] has joined #go-nuts 20:02 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts 20:02 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Excess Flood] 20:02 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 20:04 < uriel> leonod: examples of using the net package? well, the tests are a good start, but if you want something more complex, there are quite a few programs that use it here: 20:04 < uriel> http://go-lang.cat-v.org/go-code 20:06 < leonod> uriel: Yes I rememered that go has its own module tests so I found some good examples. Thanks! 20:07 -!- charlesg3 [~charles@128.30.71.74] has quit [Quit: Leaving] 20:07 -!- gr1b [~gr1b@c-71-58-106-62.hsd1.pa.comcast.net] has joined #go-nuts 20:10 -!- scandal [~me@unaffiliated/scandal] has joined #go-nuts 20:32 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts 20:46 -!- yaroslav [~yaroslav@ppp91-78-103-157.pppoe.mtu-net.ru] has joined #go-nuts 20:50 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has quit [Quit: Leaving] 20:54 -!- fusion44 [~quassel@p5B283572.dip.t-dialin.net] has quit [Remote host closed the connection] 20:54 -!- wrtp [~rog@89.242.205.202] has joined #go-nuts 20:58 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has quit [Quit: Fui embora] 21:01 -!- jamil_1 [~6f4467a4@gateway/web/freenode/x-busbshgwvpiulibc] has joined #go-nuts 21:01 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:3c6d:bec7:60e:7b08] has joined #go-nuts 21:05 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 21:06 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 258 seconds] 21:10 -!- jamil_1 [~6f4467a4@gateway/web/freenode/x-busbshgwvpiulibc] has quit [Ping timeout: 252 seconds] 21:12 -!- afurlan_ [~afurlan@scorpion.mps.com.br] has joined #go-nuts 21:13 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts 21:15 -!- afurlan_ [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the connection] 21:15 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has quit [Remote host closed the connection] 21:16 -!- afurlan [~afurlan@200.160.16.60] has quit [Ping timeout: 264 seconds] 21:20 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Read error: Connection reset by peer] 21:22 -!- stalled [~411@unaffiliated/stalled] has quit [Excess Flood] 21:24 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts 21:29 -!- diabolix [~jsoyke@206.210.81.55] has joined #go-nuts 21:32 -!- mbarkhau [~koloss@dslb-084-059-152-067.pools.arcor-ip.net] has quit [Quit: Leaving.] 21:34 -!- jacksinn [~jacksinn@c-76-125-28-37.hsd1.ga.comcast.net] has joined #go-nuts 21:35 -!- dobie_gillis [~nnyby@accweb.evergreen.edu] has joined #go-nuts 21:40 -!- kizzo [~kizzo@67.188.70.105] has joined #go-nuts 21:41 -!- kizzo [~kizzo@67.188.70.105] has left #go-nuts [] 21:41 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts 21:43 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 245 seconds] 21:43 -!- DerHorst [~Horst@e176111106.adsl.alicedsl.de] has quit [Quit: Verlassend] 21:44 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-135-218.netcologne.de] has quit [Quit: m1ndwarp] 21:44 -!- OpenSpace [~ja@93.86.129.198] has quit [Quit: Leaving] 21:44 -!- OpenSpace [~ja@93.86.129.198] has joined #go-nuts 21:46 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has joined #go-nuts 21:47 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit: skelterjohn] 21:48 -!- jacksinn [~jacksinn@c-76-125-28-37.hsd1.ga.comcast.net] has left #go-nuts [] 21:50 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Read error: Connection reset by peer] 21:55 -!- anders__ [~anders.br@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 21:57 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts 21:57 -!- d3xter [~sinz@62-47-234-90.adsl.highway.telekom.at] has joined #go-nuts 21:58 -!- d3xter [~sinz@62-47-234-90.adsl.highway.telekom.at] has left #go-nuts [] 21:58 -!- eliteSchaf [~sinz@62-47-234-90.adsl.highway.telekom.at] has joined #go-nuts 21:58 < eliteSchaf> hey guys 21:59 < dagle> Hi. 22:00 < eliteSchaf> how can i create a slice in var ( )? 22:00 < eliteSchaf> and fill it with values 22:01 < dagle> huh? 22:02 < dagle> var slice []int = &[3]int; 22:02 < dagle> ? 22:02 < Kashia> var foo []int = make([]int, 20); for i := range foo { foo[i] = i } 22:02 < eliteSchaf> well, you can describe variables, which will be initialized at startup :) 22:03 < eliteSchaf> Kashia, is there no way to do it like "foo []int = {1, 2, 3}"? 22:03 < Kashia> var foo = []int{1,2,3} 22:03 < eliteSchaf> Kashia, thanks :D 22:03 < Kashia> np 22:09 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 22:09 < leonod> night guys 22:10 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has quit [Quit: Leaving] 22:13 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 264 seconds] 22:15 -!- edwin [~edwin@79.114.62.227] has left #go-nuts ["Leaving."] 22:15 -!- scm [justme@c210135.adsl.hansenet.de] has quit [Ping timeout: 268 seconds] 22:16 -!- scm [justme@d019140.adsl.hansenet.de] has joined #go-nuts 22:18 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:3c6d:bec7:60e:7b08] has quit [Quit: Leaving.] 22:20 -!- wrtp [~rog@89.242.205.202] has quit [Quit: wrtp] 22:24 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:30 -!- difekta [~clays@75.101.111.19] has joined #go-nuts 22:31 -!- anders__ [~anders.br@c83-253-2-206.bredband.comhem.se] has quit [] 22:33 -!- difekta [~clays@75.101.111.19] has quit [Client Quit] 22:39 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu] 22:46 -!- diabolix [~jsoyke@206.210.81.55] has quit [Quit: Leaving] 22:50 -!- dagle1 [~dagle@host162-104.bornet.net] has joined #go-nuts 22:50 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts 22:52 -!- grahame [~grahame@billy.angrygoats.net] has quit [Ping timeout: 256 seconds] 22:53 -!- grahame [~grahame@billy.angrygoats.net] has joined #go-nuts 22:53 -!- prip [~foo@host2-132-dynamic.35-79-r.retail.telecomitalia.it] has quit [Ping timeout: 256 seconds] 22:53 -!- dagle [~dagle@host162-104.bornet.net] has quit [Ping timeout: 256 seconds] 22:53 -!- Cyprien_ [Cyprien@9-44.79-83.cust.bluewin.ch] has joined #go-nuts 22:54 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit: hstimer] 22:56 -!- ericvh [~ericvh@32.97.110.63] has left #go-nuts [] 22:58 -!- Cyprien_ [Cyprien@9-44.79-83.cust.bluewin.ch] has quit [Ping timeout: 240 seconds] 23:05 -!- prip [~foo@host2-132-dynamic.35-79-r.retail.telecomitalia.it] has joined #go-nuts 23:07 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit: leaving] 23:11 -!- yaroslav [~yaroslav@ppp91-78-103-157.pppoe.mtu-net.ru] has quit [Quit: yaroslav] 23:23 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the connection] 23:33 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined #go-nuts 23:33 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has quit [Remote host closed the connection] 23:34 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error: Connection reset by peer] 23:36 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the connection] 23:44 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 23:44 < eliteSchaf> whats the easiest way to convert []byte back to a string? when i convert it back with a bytes.Buffer, then sometimes i get completly wrong characters 23:45 -!- Sapient [~patrickp@wesnoth/developer/sapient] has joined #go-nuts 23:46 -!- dagle1 [~dagle@host162-104.bornet.net] has left #go-nuts [] 23:47 -!- dagle [~dagle@host162-104.bornet.net] has joined #go-nuts 23:47 < dagle> Try to use []int instead of []byte . 23:56 -!- eliteSchaf [~sinz@62-47-234-90.adsl.highway.telekom.at] has quit [Quit: Ex-Chat] 23:57 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has joined #go-nuts 23:58 -!- tux21b [~christoph@90.146.60.30] has quit [Quit: Ex-Chat] 23:58 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit [Quit: rhelmer] --- Log closed Tue Mar 02 00:00:18 2010