Go Language Resources Go, golang, go... NOTE: This page ceased updating in October, 2012

--- Log opened Thu May 13 00:00:30 2010
--- Day changed Thu May 13 2010
00:00 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
00:03 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
00:06 -!- mertimor [~mertimor@p4FE7584A.dip.t-dialin.net] has quit [Quit:
mertimor]
00:09 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
00:13 -!- carllerche [~carllerch@99.13.242.166] has quit [Quit: carllerche]
00:18 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
00:27 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
00:29 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
00:32 -!- ThunderChicken [~bofh@kernel-panic/member/ThunderChicken] has quit
[Quit: This computer has gone to sleep]
00:34 -!- tvw [~tv@e176003032.adsl.alicedsl.de] has quit [Remote host closed the
connection]
00:38 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Quit: Venom_X]
00:40 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:42 -!- Amaranth_ [~travis@ubuntu/member/Amaranth] has joined #go-nuts
00:43 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 245
seconds]
00:48 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Quit: (
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )]
01:00 -!- jacob_ [~jacob@d171-159-tercero-infillb.ucdavis.edu] has quit [Quit:
Leaving]
01:01 -!- jacob_ [~jacob@d171-159-tercero-infillb.ucdavis.edu] has joined #go-nuts
01:01 -!- zyichi [~zyichi@124.205.180.154] has joined #go-nuts
01:05 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
01:26 -!- barismetin [~barismeti@kde/developer/baris] has joined #go-nuts
01:42 -!- richardr [~richard@124-169-205-151.dyn.iinet.net.au] has joined #go-nuts
01:53 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
01:56 < richardr> Hey I've got a library that is using strings.Bytes(var)
which doesn't seem to exist.  What should I replace that with?
02:09 -!- gospch [~gospch@unaffiliated/gospch] has quit [Disconnected by services]
02:25 -!- felipe [~felipe@my.nada.kth.se] has quit [Quit: felipe]
02:27 -!- barismet_ [~barismeti@pool-72-73-238-165.cmdnnj.fios.verizon.net] has
joined #go-nuts
02:27 -!- barismetin [~barismeti@kde/developer/baris] has quit [Ping timeout: 265
seconds]
02:30 < jessta> richardr: []byte("hello")
02:33 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
02:34 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Ping timeout: 276 seconds]
02:35 -!- barismet_ [~barismeti@pool-72-73-238-165.cmdnnj.fios.verizon.net] has
quit [Ping timeout: 245 seconds]
02:36 -!- barismetin [~barismeti@kde/developer/baris] has joined #go-nuts
02:41 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
02:47 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
02:58 -!- aho [~nya@f050203007.adsl.alicedsl.de] has joined #go-nuts
02:58 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:59 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:59 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Remote
host closed the connection]
03:00 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
03:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
03:11 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 252
seconds]
03:14 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
03:14 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Quit:
itrekkie]
03:15 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
03:18 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Client
Quit]
03:19 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
03:21 -!- barismetin [~barismeti@kde/developer/baris] has quit [Quit: Leaving...]
03:21 -!- [vertex] [~Alexandre@201.78.254.253] has quit [Ping timeout: 264
seconds]
03:50 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
03:51 -!- gisikw [~gisikw@137.28.246.34] has joined #go-nuts
03:52 -!- scriptdevil [~scriptdev@122.174.114.196] has joined #go-nuts
03:52 -!- scriptdevil [~scriptdev@122.174.114.196] has quit [Client Quit]
04:11 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
04:25 -!- apphacker [~apphacker@c-24-5-192-234.hsd1.ca.comcast.net] has joined
#go-nuts
04:27 -!- apphacker [~apphacker@c-24-5-192-234.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
04:27 -!- apphacker [~apphacker@c-24-5-192-234.hsd1.ca.comcast.net] has joined
#go-nuts
04:40 -!- adu [~ajr@pool-173-66-16-26.washdc.fios.verizon.net] has joined #go-nuts
04:41 -!- adu [~ajr@pool-173-66-16-26.washdc.fios.verizon.net] has quit [Client
Quit]
04:41 -!- tcoppi
[~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has quit [Ping
timeout: 264 seconds]
04:41 -!- apphacker [~apphacker@c-24-5-192-234.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
04:44 -!- eikenberry [~jae@mail.zhar.net] has quit [Ping timeout: 264 seconds]
04:45 -!- tcoppi
[~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has joined
#go-nuts
04:45 -!- gospch [~gorspch@unaffiliated/gospch] has joined #go-nuts
04:52 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
04:55 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche]
05:02 -!- scm [justme@d134010.adsl.hansenet.de] has quit [Ping timeout: 260
seconds]
05:04 -!- scm [justme@d038188.adsl.hansenet.de] has joined #go-nuts
05:07 -!- slashus2 [~slashus2@74-141-108-109.dhcp.insightbb.com] has joined
#go-nuts
05:09 -!- kanade [~rohan@59.96.89.239] has joined #go-nuts
05:11 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
05:14 -!- felipe [~felipe@my.nada.kth.se] has joined #go-nuts
05:21 -!- ThunderChicken [~bofh@dsl093-032-217.snd1.dsl.speakeasy.net] has joined
#go-nuts
05:25 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
05:25 -!- slashus2 [~slashus2@74-141-108-109.dhcp.insightbb.com] has quit [Quit:
slashus2]
05:39 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:04 -!- prithvi_ [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has joined
#go-nuts
06:04 -!- prithvi_ [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has left #go-nuts
[]
06:04 -!- prithvi [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has joined #go-nuts
06:04 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Quit:
itrekkie]
06:07 -!- tumdum [~tumdum@atw103.neoplus.adsl.tpnet.pl] has joined #go-nuts
06:07 -!- tumdum [~tumdum@atw103.neoplus.adsl.tpnet.pl] has quit [Changing host]
06:07 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
06:16 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:17 -!- OpenSpace [~ja@109.93.99.159] has quit [Ping timeout: 245 seconds]
06:20 -!- prithvi [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has quit [Quit:
Ex-Chat]
06:20 -!- prithvi_ [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has joined
#go-nuts
06:22 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
06:23 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
06:30 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
06:38 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts
06:50 -!- Lucas_Arbiza [~Arbiza@201-10-61-202.smace701.dsl.brasiltelecom.net.br]
has joined #go-nuts
06:55 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Quit: Leaving]
06:56 -!- Lucas_Arbiza [~Arbiza@201-10-61-202.smace701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 265 seconds]
07:05 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
07:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
07:10 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
07:13 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 276 seconds]
07:15 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
07:15 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
07:15 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
07:20 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout:
246 seconds]
07:32 -!- jacob_ [~jacob@d171-159-tercero-infillb.ucdavis.edu] has quit [Quit:
Leaving]
07:35 -!- aho [~nya@f050203007.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
07:53 -!- prithvi_ [~prithvi@cpe-76-171-5-232.socal.res.rr.com] has quit [Quit:
Ex-Chat]
07:56 -!- LennethEX [~LennethEX@S010600119502636d.wp.shawcable.net] has joined
#go-nuts
08:03 -!- OpenSpace [~ja@109.93.65.55] has joined #go-nuts
08:03 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
08:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
08:10 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
08:59 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
09:04 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
09:27 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
09:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
09:41 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
09:57 -!- lux` [lucs@151.95.180.63] has joined #go-nuts
10:02 -!- madari [madari@AM.irc.fi] has joined #go-nuts
10:06 < madari> hello
10:08 < kanade> hi
10:17 -!- ikaros [~ikaros@f051010039.adsl.alicedsl.de] has joined #go-nuts
10:21 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
10:24 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
10:27 -!- kanade [~rohan@59.96.89.239] has quit [Quit: Leaving]
10:30 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
10:36 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
10:36 -!- gmurphy [~gmurphy@203.217.43.13] has joined #go-nuts
10:37 -!- gmurphy [~gmurphy@203.217.43.13] has quit [Client Quit]
10:37 < Tonnerre> So, golang package built for centos5
10:37 -!- gmurphy [~gmurphy@203.217.43.13] has joined #go-nuts
10:42 < wrtp> Tonnerre: have you tried it?
10:43 < wrtp> i don't know about centos5, but looking at the web page it
seems that it should be 100% binary compatible
10:43 < wrtp> which means you could just use existing linux port
10:44 -!- LennethEX_ [~LennethEX@S010600119502636d.wp.shawcable.net] has joined
#go-nuts
11:00 -!- LennethEX_ [~LennethEX@S010600119502636d.wp.shawcable.net] has quit
[Quit: Leaving]
11:06 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
11:12 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
11:15 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
11:16 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
11:16 -!- gmurphy [~gmurphy@203.217.43.13] has left #go-nuts []
11:32 -!- stalled [~stalled@unaffiliated/stalled] has quit [Read error: Connection
reset by peer]
11:35 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
11:41 < Tonnerre> wrtp, I built RPMs for it
11:41 < wrtp> have you tried just installing it with hg and running
src/all.bash?
11:42 < Tonnerre> wrtp, as I said, I built RPMs for it so people can get
golang with package management
11:43 < wrtp> ok.  sorry, i thought your original remark was a question!
11:44 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
11:44 -!- thiago__ [~thiago@189.107.163.51] has joined #go-nuts
11:51 -!- XeonPaul [~chatzilla@222.73.189.44] has joined #go-nuts
11:51 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 246
seconds]
11:51 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts
11:58 -!- zyichi [~zyichi@124.205.180.154] has quit [Quit: zyichi]
11:58 -!- eikenberry [~jae@mail.zhar.net] has joined #go-nuts
12:02 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
12:06 -!- path[l] [~path@59.162.86.164] has quit [Ping timeout: 248 seconds]
12:15 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
12:36 -!- [vertex] [~Alexandre@201.78.254.253] has joined #go-nuts
12:37 < manveru> could someone tell me how i can obtain a function from a
struct?
12:38 < manveru> for passing around, that is
12:39 -!- thiago__ [~thiago@189.107.163.51] has quit [Quit: bye]
12:40 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
12:41 < exch> I found a parsing inconsistency between gofmt and 6g.  I'll
update to latest TIP to see if it's still there.  If so i'll post a bugreport
12:41 < manveru> like, i have this method: 'func (x *X) A() {}', and i'd
like to pass it to another function: 'Foo((*X).A)'
12:43 < manveru> oh...  i think i have it
12:44 -!- LennethEX [~LennethEX@S010600119502636d.wp.shawcable.net] has quit
[Quit: Leaving]
12:45 < manveru> i accidentially used an instance...
12:51 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
12:51 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
12:51 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
12:53 < exch> yup.  still goes for newest release.  I founds me a genuin bug
\o/
12:55 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Operation
timed out]
12:56 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
12:57 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
12:59 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
12:59 -!- tazjin [~tazjin@p5DC83D7B.dip.t-dialin.net] has joined #go-nuts
13:02 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
13:03 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
13:14 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:15 -!- dju [dju@null.dmz.me] has quit [Ping timeout: 240 seconds]
13:17 -!- dju [dju@null.dmz.me] has joined #go-nuts
13:20 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
13:22 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
13:25 -!- ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
13:30 -!- bthomson [~bthomson@c-69-255-188-5.hsd1.va.comcast.net] has quit [Quit:
WeeChat 0.3.1.1]
13:32 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
13:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
13:48 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has joined #go-nuts
13:48 -!- alehorst1 [~alehorst@189.58.135.201] has joined #go-nuts
13:51 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
13:55 -!- barismetin [~barismeti@kde/developer/baris] has joined #go-nuts
13:59 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
14:05 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
14:06 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
14:09 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
14:12 -!- rhelmer [~rhelmer@adsl-69-107-94-119.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
14:21 -!- [vertex] [~Alexandre@201.78.254.253] has quit [Quit: Saindo]
14:24 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
14:33 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Ping timeout: 258
seconds]
14:34 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
14:35 -!- TenOfTen [~TenOfTen@c-fd25e555.04-18-73746f10.cust.bredbandsbolaget.se]
has joined #go-nuts
14:40 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
14:41 -!- xenplex [~xenplex@195.46.241.226] has joined #go-nuts
14:48 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
14:59 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
15:05 -!- manveru_ [kailan@make-world.info] has joined #go-nuts
15:06 -!- manveru [kailan@make-world.info] has quit [Read error: Operation timed
out]
15:06 -!- tsuzuki_ [~tsuzuki@i114-185-206-57.s42.a013.ap.plala.or.jp] has quit
[Read error: Operation timed out]
15:07 -!- tsuzuki_ [~tsuzuki@i114-185-206-57.s42.a013.ap.plala.or.jp] has joined
#go-nuts
15:11 -!- ikke [~ikkibr@unaffiliated/ikkebr] has quit []
15:14 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
15:29 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
15:33 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
15:36 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
15:40 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
15:49 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche]
15:50 -!- tumdum [~tumdum@atw103.neoplus.adsl.tpnet.pl] has joined #go-nuts
15:50 -!- tumdum [~tumdum@atw103.neoplus.adsl.tpnet.pl] has quit [Changing host]
15:50 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
16:02 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
16:06 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 248
seconds]
16:10 -!- ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
16:11 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
16:13 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
16:19 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
16:19 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp]
16:23 -!- carllerche [~carllerch@99.22.229.14] has joined #go-nuts
16:41 -!- mertimor [~mertimor@p578ED673.dip.t-dialin.net] has joined #go-nuts
16:58 -!- Squarism [~asdf@194-237-183-250.customer.telia.com] has joined #go-nuts
16:58 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
17:01 -!- alehorst1 [~alehorst@189.58.135.201] has quit [Quit: Leaving.]
17:04 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 246 seconds]
17:06 -!- carllerche [~carllerch@99.22.229.14] has quit [Quit: carllerche]
17:09 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Ping timeout: 260 seconds]
17:10 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
17:14 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-141.clienti.tiscali.it] has
joined #go-nuts
17:19 -!- alehorst [~alehorst@189.58.135.201] has joined #go-nuts
17:28 -!- kashia_ [~Kashia@port-92-200-53-157.dynamic.qsc.de] has quit [Quit:
Leaving]
17:30 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
17:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
17:34 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
17:43 -!- iant [~iant@nat/google/x-jvohnfzcdykvprwp] has joined #go-nuts
17:43 -!- mode/#go-nuts [+v iant] by ChanServ
17:45 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has left
#go-nuts []
17:45 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
18:04 -!- ikaros [~ikaros@f051010039.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
18:17 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
18:18 -!- Venom_X [~pjacobs@adsl-99-20-147-171.dsl.aus2tx.sbcglobal.net] has
joined #go-nuts
18:19 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
18:21 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts
18:30 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
18:33 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
18:34 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
18:35 -!- kel [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has joined #go-nuts
18:48 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
18:50 -!- xenplex [~xenplex@195.46.241.226] has quit [Quit: xenplex]
18:55 -!- sti11e [st1lle@gateway/shell/bshellz.net/x-uuewurjqzoszlwpm] has joined
#go-nuts
19:01 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 265
seconds]
19:02 < plexdev> http://is.gd/c7MK7 by [Robert Griesemer] in 2 subdirs of
go/test/ -- bug274: test case for issue 777
19:02 < plexdev> http://is.gd/c7MK9 by [Andrew Gerrand] in 2 subdirs of
go/doc/ -- rename 'gordon' to 'gopher'
19:03 -!- alehorst [~alehorst@189.58.135.201] has quit [Quit: Leaving.]
19:10 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
19:13 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
19:13 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:17 -!- alehorst [~alehorst@189.58.135.201] has joined #go-nuts
19:19 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
19:23 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
19:33 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined
#go-nuts
19:34 -!- barismetin [~barismeti@kde/developer/baris] has quit [Remote host closed
the connection]
19:34 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
19:45 -!- aho [~nya@g228026005.adsl.alicedsl.de] has joined #go-nuts
19:50 -!- lux` [lucs@151.95.180.63] has quit [Ping timeout: 265 seconds]
19:58 -!- Archwyrm [~archwyrm@66.249.8.146] has quit [Ping timeout: 246 seconds]
19:59 -!- Archwyrm [~archwyrm@66.249.8.146] has joined #go-nuts
20:00 -!- lux` [~lux`@151.95.180.63] has joined #go-nuts
20:01 -!- megaboz [~none@unaffiliated/megaboz] has quit [Quit: Lost terminal]
20:01 -!- allengeorge [~allengeor@74.12.151.31] has quit [Read error: Connection
reset by peer]
20:04 < plexdev> http://is.gd/c7QC1 by [Roger Peppe] in go/src/pkg/fmt/ --
Prevent Printf crashing when giving an extra nil argument.
20:07 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
20:08 -!- sti11e [st1lle@gateway/shell/bshellz.net/x-uuewurjqzoszlwpm] has left
#go-nuts []
20:08 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
20:17 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:23 < fenicks> hello
20:25 -!- barismetin [~barismeti@kde/developer/baris] has joined #go-nuts
20:29 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
20:37 -!- Kashia [~Kashia@port-92-200-53-157.dynamic.qsc.de] has joined #go-nuts
20:40 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
20:41 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client
Quit]
20:42 -!- terrex [~terrex@69.38.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
20:43 -!- kel_ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has joined #go-nuts
20:46 -!- kel [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has quit [Ping
timeout: 245 seconds]
20:46 -!- dju [dju@null.dmz.me] has quit [Changing host]
20:46 -!- dju [dju@fsf/member/dju] has joined #go-nuts
20:53 -!- thomas_b [~thomasb@cm-84.215.37.40.getinternet.no] has quit [Quit:
leaving]
20:54 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
20:55 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte]
20:55 -!- dju [dju@fsf/member/dju] has joined #go-nuts
20:56 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded]
20:57 -!- dju [dju@fsf/member/dju] has joined #go-nuts
20:58 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
20:59 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
20:59 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Client Quit]
21:03 -!- allengeorge [~allengeor@74.12.151.31] has joined #go-nuts
21:03 -!- lux` [~lux`@151.95.180.63] has quit [Remote host closed the connection]
21:04 -!- kel_ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has quit [Ping
timeout: 245 seconds]
21:05 < Soultaker> so if I read the language guide correctly, you can accept
arbitrary parameters in two ways:
21:05 < Soultaker> func(...)
21:05 < Soultaker> or func(...interface{})
21:05 < Soultaker> in the former case you get a structure as an argument
(which you have to decompose using reflection)
21:06 < Soultaker> in the second case you get a []interface{} which you can
process without reflection
21:06 < Soultaker> for the calling side the two are equivalent I assume?
21:06 < Soultaker> if so, what's the use case for/advantage of the first
way?
21:13 < wrtp> Soultaker: the first way is a hangover from an earlier version
of the language
21:13 < wrtp> i think it'll probably be deprecated
21:14 < wrtp> or else changed so it's synonymous with func(...  interface{})
21:14 < wrtp> i don't think it has any advantages
21:14 < Soultaker> ah, ok.  I couldn't spot any either, so I wondered if I
misunderstood something.
21:15 < Soultaker> the combination of a for loop and a type switch to
process variable arguments looks quite nice.
21:20 < wrtp> yeah, i don't think it could be much better.  it's nice that
you don't have to use the reflect package any more
21:21 < wrtp> and you don't have to type switch if all your arguments are of
the same type
21:24 < Soultaker> yes, the fact that you can take a variable number of
arguments but still enforce a type is a nice touch.
21:28 < wrtp> the only wrinkle is that it's not easy to convert an array
into a list of arguments
21:28 < wrtp> it's possible but a bit awkward
21:29 < Soultaker> how is it possible?  with an unsafe operation?
21:29 < Soultaker> (I guess it would not be hard to introduce syntax for
passing a list of variable arguments verbatim)
21:34 -!- mertimor [~mertimor@p578ED673.dip.t-dialin.net] has quit [Quit:
mertimor]
21:34 < wrtp> no, it's not an unsafe operation
21:34 < wrtp> the key is that you can assign to the identifer that
represents the variable arguments
21:35 < Soultaker> I'm not sure I follow...
21:35 < wrtp> so you could do: func MyPrint(a []interface{}) {func(b ...
interface{}) {b = a; Print(b)}()}
21:36 < wrtp> s/Print(b)/fmt.Print(b)/
21:36 < Soultaker> ah, I see.  that's a nice trick, but I guess that doesn't
work for arbitrary functions that are not nested lexically inside your scope?
21:37 < wrtp> sure it does
21:37 < wrtp> fmt.Print isn't nested inside that scope
21:37 < Soultaker> oh, right
21:37 < wrtp> any time you want to pass an array to a vararg function, you
can use the above idiom
21:38 < Soultaker> so the assignment turns a from an array of {}interface
objects into a 'variable argument list' variable?
21:38 < Soultaker> (for which there is no 'real' type I guess)
21:38 < wrtp> yup.
21:38 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 265 seconds]
21:38 < Soultaker> I'd expect there to be syntax like Foo(x, y, ...z) or
something for that
21:40 < wrtp> there's an issue for it:
http://code.google.com/p/go/issues/detail?id=640
21:43 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
21:45 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 246 seconds]
21:48 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts
21:48 < XniX23> are there any web frameworks for go?
21:49 -!- ikke [~ikkibr@unaffiliated/ikkebr] has quit []
21:53 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has quit [Ping timeout:
248 seconds]
21:55 -!- SugarBear [~stephen.s@91.86.20.133] has joined #go-nuts
21:58 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
22:03 -!- SugarBear [~stephen.s@91.86.20.133] has quit []
22:08 -!- Archwyrm [~archwyrm@66.249.8.146] has quit [Ping timeout: 246 seconds]
22:09 -!- barismetin [~barismeti@kde/developer/baris] has quit [Remote host closed
the connection]
22:12 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
22:15 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:18 < Soultaker> are there any particular performance considerations when
using closures?
22:19 < Soultaker> for example, is there any performance overhead associated
with accessing variables from an outside scope compared to (say) sticking those in
a struct and passing that as an argument to a function?
22:21 -!- jingzuo [~brandon@192.173.34.14] has joined #go-nuts
22:23 < Soultaker> A different question: is it possible to use function
types when defining functions?
22:23 <+iant> A closure probably has a bit more overhead
22:23 < Soultaker> for example, I can do: f := func() int { return 123 }
22:24 < Soultaker> but it seems I can't do: type T func() int; f := T {
return 123 }
22:24 <+iant> the syntax requires the func keyword, you can't use a typedef
there
22:24 < Soultaker> so not even something like func T { ..  } ?
22:24 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Remote
host closed the connection]
22:24 <+iant> no
22:25 < Soultaker> it's unfortunate because if I have a complex function
type definition and I define a function that returns a function of that type, then
it gets weird:
22:25 < Soultaker> func foo() T { return func(int,float,string) struct{etc
etc etc} { ..  } }
22:25 <+iant> you can say func () T { }
22:26 < Soultaker> hmm, isn't that a func returning T though?
22:26 <+iant> yeah, I see what you mean
22:26 < Soultaker> I mean, if I have "func foo() T" and T is an int or a
struct,
22:26 < Soultaker> I can do return T(1) or return T{1,2,3}
22:26 < Soultaker> so there is symmetry between the declared return type and
the value I'm returning
22:27 < Soultaker> apparently that's not possible when returning a function
(even though the values must still have the same type?)
22:27 <+iant> right
22:27 < Soultaker> ah, ok.  just checking if I missed anything.
22:27 < Soultaker> Re: closures: is the (rough, high-level) implementation
described somewhere?  where does the overhead you mention come from?
22:28 <+iant> when a closure refers to a variable in an enclosing scope, the
closure itself gets allocated on the heap; it's not a simple function pointer
22:28 <+iant> that is necessary because the closure has to include
references to the variables which it closes over
22:29 <+iant> actually, it may be that 6g always allocates closures on the
heap, in which case there isn't much performance difference
22:29 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit:
Ideal]
22:29 < Soultaker> but does that incur a performance overhead while
executing the closure?
22:29 <+iant> no, just when creating the closure
22:29 -!- jingzuo [~brandon@192.173.34.14] has left #go-nuts []
22:30 -!- allengeorge [~allengeor@74.12.151.31] has quit [Read error: Connection
reset by peer]
22:31 < Soultaker> but refering to variables outside your own function scope
involves at least some indirection, right?
22:31 < wrtp> 6g always allocates closures on the heap, but it doesn't have
to
22:31 < wrtp> Soultaker: one level of indirection, same as referring to a
member of a structure on the heap
22:32 < Soultaker> ok.  that makes sense and doesn't seem too expensive.
22:33 < wrtp> i thought recently that it would be nice if the compiler
worked out which closures were not passed outside the function, and allocated them
on the stack.
22:33 < wrtp> it could speed up defer (for instance) quite a bit
22:33 -!- alehorst [~alehorst@189.58.135.201] has quit [Quit: Leaving.]
22:34 <+iant> there are several other similar optimizations that the
compiler could do
22:34 < wrtp> but it would involve putting executable instructions on the
stack which might be frowned on
22:34 <+iant> e.g., if you take the address of a variable, and pass it to a
function, but that function doesn't save the address, you can allocate the
variable on the stack
22:34 -!- alehorst [~alehorst@189.58.135.201] has joined #go-nuts
22:35 < Soultaker> wrtp: do you mean the actual *code* for a closure is
generated dynamically?!
22:35 < wrtp> yeah, but you can do the above optimisation without getting
interprocedural...
22:35 < wrtp> Soultaker: yeah.  just a stub
22:37 -!- Venom_X [~pjacobs@adsl-99-20-147-171.dsl.aus2tx.sbcglobal.net] has quit
[Quit: Venom_X]
22:37 < wrtp> Soultaker: see http://golang.org/src/pkg/runtime/386/closure.c
22:39 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp]
22:41 -!- Discoloda [~vincent@adsl-75-37-71-165.dsl.frs2ca.sbcglobal.net] has
joined #go-nuts
23:00 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
23:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-141.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
23:06 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
23:13 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
23:26 -!- iant [~iant@nat/google/x-jvohnfzcdykvprwp] has quit [Ping timeout: 260
seconds]
23:31 -!- wuehlmaus [~wuehlmaus@p4FCC78D1.dip.t-dialin.net] has quit [Ping
timeout: 264 seconds]
23:31 -!- wuehlmaus [~wuehlmaus@p4FCC787C.dip.t-dialin.net] has joined #go-nuts
23:51 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit
[Quit: carllerche]
23:54 -!- iant [~iant@67.218.104.180] has joined #go-nuts
23:54 -!- mode/#go-nuts [+v iant] by ChanServ
23:58 -!- kjk [~Adium@67.215.69.69] has quit [Quit: Leaving.]
--- Log closed Fri May 14 00:00:29 2010