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

--- Log opened Mon May 03 00:00:55 2010
00:05 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
00:11 -!- dju [dju@null.dmz.me] has joined #go-nuts
00:11 -!- Pinkilla [~pinkilla@aether.hipocoon.be] has quit [Read error: Operation
timed out]
00:11 -!- tvw [~tv@e182076092.adsl.alicedsl.de] has quit [Remote host closed the
connection]
00:12 -!- Pinkilla [~pinkilla@aether.hipocoon.be] has joined #go-nuts
00:14 -!- boscop [~boscop@g226254056.adsl.alicedsl.de] has quit []
00:20 -!- OpenSpace [~ja@93.87.165.97] has quit [Ping timeout: 276 seconds]
00:32 -!- rhelmer [~rhelmer@adsl-69-107-71-69.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
00:36 -!- SecretofMana [~mana@142.46.164.30] has quit [Read error: Connection
reset by peer]
00:44 -!- OpenSpace [~ja@93.86.168.109] has joined #go-nuts
00:46 -!- nettok_ [~netto@200.119.154.180] has joined #go-nuts
00:48 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:50 -!- cmarcelo [~cmarcelo@187.59.126.42] has joined #go-nuts
00:50 -!- nettok [~netto@200.119.154.180] has quit [Ping timeout: 248 seconds]
00:50 -!- cmarcelo [~cmarcelo@187.59.126.42] has quit [Changing host]
00:50 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
00:52 -!- nf [~nf@124-171-52-14.dyn.iinet.net.au] has quit [Quit: received
SIGHEIL]
00:53 -!- nf [~nf@124-171-52-14.dyn.iinet.net.au] has joined #go-nuts
00:56 -!- eikenberry [~jae@mail.zhar.net] has joined #go-nuts
00:58 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Read error:
Operation timed out]
00:58 -!- Paradox924X [~Paradox92@98.142.211.46] has joined #go-nuts
01:00 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
01:00 -!- nettok__ [~netto@200.119.154.180] has joined #go-nuts
01:00 < wobsite> Hey - I'm having some trouble with xgb; I'm getting a
BadWindow protocol error with this program: http://pastebin.com/uByjHzb5
01:01 < wobsite> I'm thinking my problem mostly has to do with my
understanding of X.
01:02 -!- micrypt [~micrypt@94-195-127-212.zone9.bethere.co.uk] has quit [Quit:
Leaving.]
01:03 -!- nettok_ [~netto@200.119.154.180] has quit [Ping timeout: 240 seconds]
01:05 -!- micrypt [~micrypt@94-195-127-212.zone9.bethere.co.uk] has joined
#go-nuts
01:08 < wobsite> anyone have any ideas?
01:11 < exch> you need to add a c.CreateWindow() call
01:12 < wobsite> ah!  thought that was in there.  I'm blind apparently
01:13 < wobsite> thanks.  I really should have seen that...
01:22 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
01:27 -!- adu [~ajr@pool-173-66-9-50.washdc.fios.verizon.net] has joined #go-nuts
01:42 -!- wobsite [~wobsite__@68-189-250-56.static.oxfr.ma.charter.com] has quit
[Quit: Leaving]
01:48 -!- eikenberry [~jae@mail.zhar.net] has quit [Quit: End of line.]
01:57 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
02:00 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:04 -!- ccahoon [~ccahoon@resnet-234-204.resnet.UMBC.EDU] has joined #go-nuts
02:08 -!- gospch [~gospch@p5088EE9D.dip.t-dialin.net] has quit [Remote host closed
the connection]
02:09 -!- nettok__ [~netto@200.119.154.180] has quit [Ping timeout: 246 seconds]
02:09 -!- gospch [~gospch@p5088EE9D.dip.t-dialin.net] has joined #go-nuts
02:19 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Quit: tor5]
02:21 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
02:23 < plexdev> http://is.gd/bRDEr by [Andrew Gerrand] in
go/doc/codelab/wiki/ -- codelab/wiki: switch edit/view, as they were backwards
02:24 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Read error: Connection reset by peer]
02:25 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
02:28 -!- nettok__ [~netto@200.119.154.180] has joined #go-nuts
02:29 -!- ccahoon [~ccahoon@resnet-234-204.resnet.UMBC.EDU] has quit [Quit:
ccahoon]
02:32 -!- gospch [~gospch@p5088EE9D.dip.t-dialin.net] has quit [Remote host closed
the connection]
02:34 -!- gospch [~gospch@p5088EE9D.dip.t-dialin.net] has joined #go-nuts
02:42 -!- fhs [~fhs@pool-71-167-84-226.nycmny.east.verizon.net] has quit [Quit:
leaving]
02:53 -!- bcgraham_ [~bcgraham@67.250.13.100] has joined #go-nuts
02:54 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
02:54 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has quit [Ping
timeout: 252 seconds]
02:59 -!- gospch [~gospch@p5088EE9D.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
03:08 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 264 seconds]
03:12 -!- wuehlmaus [~wuehlmaus@p4FCC7A6A.dip.t-dialin.net] has quit [Ping
timeout: 245 seconds]
03:13 -!- wuehlmaus [~wuehlmaus@p4FCC7A6A.dip.t-dialin.net] has joined #go-nuts
03:25 -!- gospch [~gospch@p5088D770.dip.t-dialin.net] has joined #go-nuts
03:32 -!- gospch [~gospch@p5088D770.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
03:33 -!- bcgraham_ [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
03:34 -!- gospch [~gospch@p5088FA92.dip.t-dialin.net] has joined #go-nuts
03:35 -!- bcgraham [~bcgraham@67.250.13.100] has quit [Ping timeout: 248 seconds]
03:38 -!- gospch [~gospch@p5088FA92.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
03:42 -!- gospch [~gospch@p5088D3AA.dip.t-dialin.net] has joined #go-nuts
03:47 -!- gospch [~gospch@p5088D3AA.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
03:54 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
03:59 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has joined #go-nuts
04:03 -!- rmathews [~rm@122.165.6.245] has joined #go-nuts
04:04 -!- rmathews [~rm@122.165.6.245] has left #go-nuts ["Killed buffer"]
04:05 -!- adu [~ajr@pool-173-66-9-50.washdc.fios.verizon.net] has quit [Quit: adu]
04:08 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Quit:
warthurton]
04:14 -!- bcgraham_ [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
04:16 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has quit [Ping
timeout: 264 seconds]
04:20 -!- nettok__ [~netto@200.119.154.180] has quit [Ping timeout: 260 seconds]
04:25 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
04:28 -!- wobsite [~wobsite__@68-189-250-56.static.oxfr.ma.charter.com] has joined
#go-nuts
04:31 < wobsite> Hey everyone, having a bit of trouble figuring out
interfaces; can't figure out what's wrong with this: http://pastebin.com/uRh7bzHq
04:31 < wobsite> any ideas?
04:33 < manveru> wobsite: that doesn't actually compile, does it?
04:35 < wobsite> no
04:36 < manveru> wobsite: so use func TenThings(t Thinger)
04:36 < manveru> pointers can satisfy an interface too
04:37 -!- nettok__ [~netto@200.119.154.180] has joined #go-nuts
04:37 < manveru> wobsite: http://pastr.it/16760
04:38 < manveru> if you cange the Thing method to accept both int and *int,
you can pass both &t and t
04:38 < nf> wobsite: as manveru points out, TenThings should expect a
Thinger, not a *Thinger.  it's *c that is a Thinger, not c
04:40 < wobsite> ok, thanks
04:40 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 246
seconds]
04:41 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
04:43 -!- nettok_ [~netto@200.119.154.180] has joined #go-nuts
04:47 -!- nettok__ [~netto@200.119.154.180] has quit [Ping timeout: 276 seconds]
04:47 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 245
seconds]
04:53 -!- cco31 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
04:53 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Read
error: Operation timed out]
05:00 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
05:04 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has quit [Ping timeout: 276
seconds]
05:13 -!- gospch [~gospch@p5088B60D.dip.t-dialin.net] has joined #go-nuts
05:14 -!- nettok__ [~netto@200.119.154.180] has joined #go-nuts
05:14 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Ping
timeout: 248 seconds]
05:17 -!- gospch [~gospch@p5088B60D.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
05:18 -!- nettok_ [~netto@200.119.154.180] has quit [Ping timeout: 264 seconds]
05:19 -!- gospch [~gospch@p5088E894.dip.t-dialin.net] has joined #go-nuts
05:20 -!- gospch [~gospch@p5088E894.dip.t-dialin.net] has quit [Disconnected by
services]
05:20 -!- gozpch [~gospch@p5088E809.dip.t-dialin.net] has joined #go-nuts
05:20 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
05:24 -!- gozpch [~gospch@p5088E809.dip.t-dialin.net] has quit [Ping timeout: 240
seconds]
05:27 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has joined #go-nuts
05:30 -!- kashia_ [~Kashia@port-92-200-49-132.dynamic.qsc.de] has joined #go-nuts
05:31 -!- wobsite [~wobsite__@68-189-250-56.static.oxfr.ma.charter.com] has quit
[Quit: Leaving]
05:33 -!- Kashia [~Kashia@port-92-200-5-32.dynamic.qsc.de] has quit [Ping timeout:
264 seconds]
05:47 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
05:58 -!- tazjin [~tazjin@tmo-100-32.customers.d1-online.com] has joined #go-nuts
05:58 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
06:05 -!- tazjin [~tazjin@tmo-100-32.customers.d1-online.com] has quit [Read
error: Connection reset by peer]
06:08 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
06:22 -!- tazjin [~tazjin@tmo-100-32.customers.d1-online.com] has joined #go-nuts
06:34 -!- zerd_ [~quassel@rex.zerd.net] has quit [K-Lined]
06:35 -!- adu [~ajr@pool-173-66-9-50.washdc.fios.verizon.net] has joined #go-nuts
06:36 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
06:39 -!- ParthenoGenesis [email@89-180-137-55.net.novis.pt] has left #go-nuts []
06:40 < plexdev> http://is.gd/bRPEs by [Charles L. Dorian] in
go/src/pkg/math/ -- math: fix typo in Cbrt description
06:44 -!- npe [~npe@195.207.5.2] has joined #go-nuts
06:46 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has joined
#go-nuts
06:48 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:58 -!- kashia_ [~Kashia@port-92-200-49-132.dynamic.qsc.de] has quit [Ping
timeout: 264 seconds]
07:01 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
07:12 < plexdev> http://is.gd/bRRQv by [Russ Cox] in go/src/cmd/8l/ -- fix
nacl build
07:15 -!- tvw [~tv@e182075158.adsl.alicedsl.de] has joined #go-nuts
07:16 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
07:19 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Ping
timeout: 240 seconds]
07:20 -!- tazjin [~tazjin@tmo-100-32.customers.d1-online.com] has quit [Quit:
Leaving...]
07:22 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
07:23 -!- tibshoot [~tibshoot@gw-puteaux.linagora.com] has joined #go-nuts
07:28 -!- nettok__ [~netto@200.119.154.180] has quit [Quit: Ex-Chat]
07:28 -!- cco31 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 260 seconds]
07:31 -!- tvw [~tv@e182075158.adsl.alicedsl.de] has quit [Remote host closed the
connection]
07:33 -!- bmm_ [~bram@office.ytec.nl] has joined #go-nuts
07:36 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
07:39 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Ping
timeout: 268 seconds]
07:52 -!- mrd` [~matthew@shinobi.dempsky.org] has quit [Ping timeout: 248 seconds]
07:53 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Remote
host closed the connection]
07:53 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
07:54 -!- mrd` [~matthew@shinobi.dempsky.org] has joined #go-nuts
07:56 -!- Kashia [~Kashia@port-92-200-49-132.dynamic.qsc.de] has joined #go-nuts
08:00 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:02 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
08:04 -!- zcram [~zcram@67.140.191.90.dyn.estpak.ee] has joined #go-nuts
08:10 -!- path[l] [~path@59.162.86.164] has quit [Remote host closed the
connection]
08:10 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:14 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
08:15 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
08:18 -!- bmm_ [~bram@office.ytec.nl] has quit [Ping timeout: 240 seconds]
08:19 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has joined #go-nuts
08:29 < plexdev> http://is.gd/bRVXY by [Giles Lean] in 4 subdirs of
go/src/pkg/runtime/ -- runtime: update godefs usage comment for GOARCH=386
GOOS={darwin,freebsd}
08:39 -!- Kashia [~Kashia@port-92-200-49-132.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
08:41 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
08:41 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Read
error: Operation timed out]
08:42 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
08:44 -!- adu [~ajr@pool-173-66-9-50.washdc.fios.verizon.net] has quit [Quit: adu]
08:45 < plexdev> http://is.gd/bRWQS by [Andrew Gerrand] in
go/misc/dashboard/godashboard/ -- dashboard: fix benchmark json output
08:45 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
08:59 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has joined #go-nuts
09:01 -!- Zoopee [alsbergt@zoopee.org] has left #go-nuts []
09:02 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 252 seconds]
09:18 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
09:18 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 276 seconds]
09:19 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
09:27 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-000-231.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
09:44 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
09:47 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
09:51 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
09:51 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
10:13 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout:
268 seconds]
10:15 -!- SugarBear [~stephen.s@91.86.24.159] has joined #go-nuts
10:16 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Remote
host closed the connection]
10:17 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
10:18 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:21 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
10:23 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
10:25 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
10:33 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Quit:
itrekkie]
10:36 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
10:37 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
10:44 -!- mikedee [~quassel@91.108.122.200] has quit [Remote host closed the
connection]
10:46 -!- snearch [~snearch@e178208176.adsl.alicedsl.de] has joined #go-nuts
10:47 -!- Ikke [~ikkibr@189.58.216.18.dynamic.adsl.gvt.net.br] has joined #go-nuts
10:47 -!- Ikke [~ikkibr@189.58.216.18.dynamic.adsl.gvt.net.br] has quit [Changing
host]
10:47 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
10:50 -!- mikedee [~quassel@91.108.122.200] has joined #go-nuts
10:56 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
10:58 -!- teralaser [~teralaser@unaffiliated/teralaser] has joined #go-nuts
11:07 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
11:14 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:15 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Quit: A cow.  A
trampoline.  Together they fight crime!]
11:18 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
11:18 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Client
Quit]
11:24 -!- SugarBear [~stephen.s@91.86.24.159] has quit []
11:25 -!- mertimor [~mertimor@132.252.243.9] has joined #go-nuts
11:26 -!- mertimor [~mertimor@132.252.243.9] has quit [Client Quit]
11:38 -!- ikaros [~ikaros@guests46.externals.de] has joined #go-nuts
11:38 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
11:42 -!- thiago_ [~thiago@189.107.193.19] has joined #go-nuts
11:42 -!- thiago_ [~thiago@189.107.193.19] has left #go-nuts []
11:43 -!- artefon [~thiago@189.107.193.19] has joined #go-nuts
11:45 -!- teralaser [~teralaser@unaffiliated/teralaser] has left #go-nuts []
11:52 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
11:52 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
11:52 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
11:55 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
12:01 -!- Meidor [~quassel@piggy.cs.ru.nl] has quit [Read error: Connection reset
by peer]
12:02 -!- bortzmeyer [~stephane@2001:67c:64:42:213:e8ff:fe69:590d] has joined
#go-nuts
12:06 -!- BrowserUk [~irc1_20_B@78.147.244.19] has joined #go-nuts
12:19 -!- xenplex [~xenplex@195.46.241.230] has joined #go-nuts
12:20 -!- xenplex [~xenplex@195.46.241.230] has quit [Client Quit]
12:29 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has quit
[Quit: Verlassend]
12:37 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts
12:39 -!- lux` [~lux`@151.95.180.63] has joined #go-nuts
12:40 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-179-135.clienti.tiscali.it] has
joined #go-nuts
12:44 -!- xenplex [~xenplex@195.46.241.230] has joined #go-nuts
12:54 -!- fdb [~fdb@d5152C7E4.static.telenet.be] has joined #go-nuts
12:57 -!- GilJ [~gilles@ip-83-134-178-2.dsl.scarlet.be] has joined #go-nuts
13:00 -!- fdb [~fdb@d5152C7E4.static.telenet.be] has quit [Quit: fdb]
13:04 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
13:05 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
13:11 -!- pjm0616 [~user@61.250.113.98] has quit [Ping timeout: 246 seconds]
13:12 -!- mrd` [~matthew@shinobi.dempsky.org] has quit [Ping timeout: 245 seconds]
13:13 -!- snearch [~snearch@e178208176.adsl.alicedsl.de] has quit [Quit:
Verlassend]
13:13 -!- micrypt [~micrypt@94-195-127-212.zone9.bethere.co.uk] has left #go-nuts
[]
13:13 -!- mrd` [~matthew@70.85.31.66] has joined #go-nuts
13:14 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
13:14 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
13:14 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
13:21 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has quit [Quit: ZNC -
http://znc.sourceforge.net]
13:21 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts
13:21 -!- path[l] [~path@59.162.86.164] has quit [Ping timeout: 276 seconds]
13:22 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has joined #go-nuts
13:35 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 240
seconds]
13:36 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:36 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
13:39 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has quit [Ping timeout:
265 seconds]
13:39 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
13:41 -!- alehorst [~alehorst@189.114.185.111] has quit [Ping timeout: 248
seconds]
13:42 -!- Meidor [~quassel@piggy.cs.ru.nl] has joined #go-nuts
13:45 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:46 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Ping timeout: 252 seconds]
13:52 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has joined #go-nuts
13:53 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
13:54 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
13:54 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts
13:57 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has quit [Ping timeout: 268
seconds]
14:01 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 264
seconds]
14:09 -!- tav [~tav@78.151.158.68] has quit [Quit: Hakuna Matata]
14:10 -!- tav [~tav@78.151.158.68] has joined #go-nuts
14:11 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
14:15 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
14:16 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
14:19 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
14:24 -!- alehorst [~alehorst@189.114.185.111] has joined #go-nuts
14:36 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has joined #go-nuts
14:44 -!- Surma [~surma@91-64-29-245-dynip.superkabel.de] has joined #go-nuts
14:44 -!- GilJ [~gilles@ip-83-134-178-2.dsl.scarlet.be] has quit [Remote host
closed the connection]
14:44 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Remote host closed the connection]
14:45 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
14:49 < tazjin> *sighs* I'm too dumb for Go :/
14:51 < taruti> Are the CLAs supposed to work?  When trying to submit code
it complains that I am not in contributors.  I did a CLA but didn't hear anything
about it.  And on the ML people just tell to submit code...
14:51 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
14:51 -!- bmm_ [~bram@office.ytec.nl] has joined #go-nuts
14:52 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
14:52 -!- bmm_ [~bram@office.ytec.nl] has left #go-nuts []
14:53 -!- bmm [~bram@office.ytec.nl] has joined #go-nuts
14:54 < nf> you create a changeset with 'hg change <files>'
14:54 < nf> then issue 'hg mail <change#>' to mail it to golang-dev
14:55 < nf> then one of the devs will submit it for you when it's approved
14:55 < nf> (only people with commit access to code.google.com/p/go/ can
submit CLs)
14:56 -!- ikaros [~ikaros@guests46.externals.de] has quit [Quit: Leave the magic
to Houdini]
14:56 < taruti> meh.  have to get an external machine for that.  none of the
internal ones allow outgoing mail.
14:56 < taruti> but dooable.
14:56 < taruti> I'll do that :)
14:57 < nf> i'm not sure if the mail is sent from your machine, or from
codereview.appspot.com
14:57 < nf> probably the former
14:58 < nf> hint: if you create a change on one checkout, you can patch it
in to the current one with 'hg clpatch <change#>'
14:58 < taruti> thanks
15:01 < nf> np
15:01 -!- jhh [~jhh@0-160.vpn.RWTH-Aachen.DE] has joined #go-nuts
15:03 -!- artefon [~thiago@189.107.193.19] has quit [Remote host closed the
connection]
15:07 -!- terrex [~terrex@98.39.222.87.dynamic.jazztel.es] has joined #go-nuts
15:08 -!- zcram [~zcram@67.140.191.90.dyn.estpak.ee] has quit [Remote host closed
the connection]
15:19 -!- illya77 [~illya77@233-154-133-95.pool.ukrtel.net] has joined #go-nuts
15:24 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
15:25 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
15:31 -!- gnuvince [~vince@64.235.199.122] has quit [Ping timeout: 264 seconds]
15:34 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has joined #go-nuts
15:36 -!- rhelmer [~rhelmer@adsl-69-107-71-69.dsl.pltn13.pacbell.net] has joined
#go-nuts
15:38 -!- gnuvince [~vince@70.35.170.88] has joined #go-nuts
15:42 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
15:44 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has joined #go-nuts
15:47 -!- TR2N [email@89.180.231.59] has joined #go-nuts
15:53 -!- scm [justme@c133028.adsl.hansenet.de] has joined #go-nuts
15:56 -!- bmm [~bram@office.ytec.nl] has quit [Ping timeout: 260 seconds]
15:59 -!- bortzmeyer [~stephane@2001:67c:64:42:213:e8ff:fe69:590d] has quit [Quit:
Leaving.]
15:59 -!- bmm [~bram@office.ytec.nl] has joined #go-nuts
15:59 -!- jhh_ [~jhh@f048114034.adsl.alicedsl.de] has joined #go-nuts
16:00 -!- jhh [~jhh@0-160.vpn.RWTH-Aachen.DE] has quit [Ping timeout: 246 seconds]
16:04 -!- npe [~npe@195.207.5.2] has quit [Ping timeout: 240 seconds]
16:10 -!- bmm [~bram@office.ytec.nl] has quit [Read error: Operation timed out]
16:16 -!- alehorst [~alehorst@189.114.185.111] has quit [Ping timeout: 248
seconds]
16:17 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
16:31 -!- alehorst [~alehorst@187.112.130.138] has joined #go-nuts
16:32 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined
#go-nuts
16:32 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-000-231.hsi5.kabel-badenwuerttemberg.de] has quit [Ping
timeout: 260 seconds]
16:35 -!- bmm [~bram@office.ytec.nl] has joined #go-nuts
16:40 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit:
Ideal]
16:40 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
16:45 -!- bmm [~bram@office.ytec.nl] has quit [Read error: Operation timed out]
16:46 -!- daed [daed@static-ip-188-138-32-110.inaddr.intergenia.de] has joined
#go-nuts
16:50 -!- SugarBear [~stephen.s@91.86.8.211] has joined #go-nuts
16:50 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 265 seconds]
16:58 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
16:59 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 246 seconds]
17:12 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
17:18 -!- rhelmer [~rhelmer@adsl-69-107-71-69.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
17:21 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
17:23 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:26 -!- tobel [~tobel@pD9E8F423.dip.t-dialin.net] has joined #go-nuts
17:26 -!- tobel [~tobel@pD9E8F423.dip.t-dialin.net] has quit [Client Quit]
17:30 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:32 -!- shasbot [~shasbot@ip70-171-218-55.tc.ph.cox.net] has quit [Quit:
leaving]
17:32 < BrowserUk> jessta: Are you around?
17:38 -!- WalterMundt [~waltermun@twiki/developer/EtherMage] has joined #go-nuts
17:38 -!- WalterMundt [~waltermun@twiki/developer/EtherMage] has left #go-nuts []
17:50 -!- xenplex [~xenplex@195.46.241.230] has quit [Quit: xenplex]
17:59 < plexdev> http://is.gd/bSwio by [Rob Pike] in go/src/pkg/bytes/ --
bytes: Change IndexAny to look for UTF-8 encoded characters.
18:00 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
18:09 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
18:09 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
18:10 -!- tvw [~tv@e182075158.adsl.alicedsl.de] has joined #go-nuts
18:10 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Read error: Connection reset
by peer]
18:10 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
18:12 -!- Zoopee [alsbergt@zoopee.org] has left #go-nuts []
18:13 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Read error: Connection reset
by peer]
18:13 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
18:13 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout:
248 seconds]
18:14 -!- illya77 [~illya77@233-154-133-95.pool.ukrtel.net] has quit [Quit:
illya77]
18:14 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
18:15 -!- ikaros [~ikaros@e179176166.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
18:16 -!- ikaros [~ikaros@f050199111.adsl.alicedsl.de] has joined #go-nuts
18:16 < plexdev> http://is.gd/bSxyn by [Ian Lance Taylor] in go/src/ -- Add
_cgo_export.[ch] targets so that make knows how they are
18:16 < plexdev> http://is.gd/bSxyq by [Russ Cox] in go/src/pkg/syscall/ --
syscall: fix arm build (fix bugs in generator, to add O_LARGEFILE)
18:16 < plexdev> http://is.gd/bSxyR by [Russ Cox] in go/src/ -- nacl:
another attempt at fixing build
18:16 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
18:18 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Ping timeout: 264 seconds]
18:21 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
18:26 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
18:32 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
18:32 -!- ikaros [~ikaros@f050199111.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
18:37 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Ping timeout: 240 seconds]
18:39 -!- bjarneh [~bjarneh@1x-193-157-206-202.uio.no] has joined #go-nuts
18:39 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
18:40 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
18:44 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has joined #go-nuts
18:47 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has quit [Client Quit]
18:49 -!- xenplex [~xenplex@195.46.241.230] has joined #go-nuts
18:57 < plexdev> http://is.gd/bSAsv by [Evan Shaw] in go/src/pkg/big/ --
big: Add bitwise methods for Int
18:57 -!- wobsite [~wobsite__@68-189-250-56.static.oxfr.ma.charter.com] has joined
#go-nuts
19:02 -!- jhh [~jhh@f048114034.adsl.alicedsl.de] has quit [Quit: jhh]
19:03 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
19:05 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
615 seconds]
19:07 -!- nf [~nf@124-171-52-14.dyn.iinet.net.au] has quit [Ping timeout: 246
seconds]
19:07 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Read error: Connection reset by peer]
19:07 -!- rhelmer_ [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
19:08 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
19:10 -!- nf [~nf@203-158-43-227.dyn.iinet.net.au] has joined #go-nuts
19:11 -!- SugarBear [~stephen.s@91.86.8.211] has quit []
19:24 -!- tsuzuki_ [~tsuzuki@i114-185-206-57.s42.a013.ap.plala.or.jp] has joined
#go-nuts
19:25 < wobsite> Hi everyone, I'm having trouble getting the json package to
call the UnmarshalJSON methods of my types.  here's a simple program that shows
the problem: http://pastebin.com/UNhL4uZZ
19:25 < wobsite> ok in main is true, so I think that means I'm implementing
the interface correctly, but the print statement in my routine never seems to get
executed.
19:26 < wobsite> I'm at a bit of a loss, does anyone have any thoughts?
19:27 < manveru> wobsite: you pass a copy, not a pointer, so the method
isn't available
19:27 < manveru> func (j Jtest) UnmarshalJSON (b []uint8) os.Error { }
19:27 < manveru> should work
19:28 < manveru> i'm not familiar with the json package, just my first
thoughts :)
19:29 -!- Agon-laptop
[~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de] has joined
#go-nuts
19:29 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Quit: Leaving]
19:33 -!- nettok [~netto@200.119.155.176] has joined #go-nuts
19:34 < wobsite> manveru: it seems to do the same thing regardless.  prints
true, then zero.  Also shouldn't j be a pointer?  it's generated by new.
19:34 -!- Agon-laptop
[~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de] has quit [Ping
timeout: 245 seconds]
19:35 -!- Agon-laptop
[~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de] has joined
#go-nuts
19:39 -!- megaboz [~none@unaffiliated/megaboz] has quit [Read error: Connection
reset by peer]
19:40 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has joined #go-nuts
19:44 -!- megaboz [~none@189.115.10.214] has joined #go-nuts
19:48 -!- aho [~nya@g227086002.adsl.alicedsl.de] has joined #go-nuts
19:48 -!- SecretofMana [~mana@142.46.164.30] has quit [Quit: Leaving]
19:52 -!- Dr_Who [~tgall@gentoo/developer/dr-who] has quit [Quit: Leaving]
19:58 -!- Demp [~Demp@bzq-79-178-184-11.red.bezeqint.net] has joined #go-nuts
20:04 -!- megaboz [~none@189.115.10.214] has quit [Quit: Lost terminal]
20:04 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
20:05 < fenicks> hello
20:08 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
20:09 -!- cco3-work [~conleyo@nat/google/x-yfnrnvcssvyulkcz] has quit [Quit:
Leaving.]
20:10 -!- nettok [~netto@200.119.155.176] has quit [Quit: Ex-Chat]
20:13 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has joined #go-nuts
20:15 -!- newsham [~chat@thenewsh.com] has joined #go-nuts
20:15 < newsham> hmm..  there's an io.ReadByter but no io.WriteByter.  Is
that an oversight or purposeful?
20:15 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has joined #go-nuts
20:15 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:16 < newsham> also, is there any way to convert a singleton (ie byte)
into a slice (ie.  []byte) ?
20:17 <+iant> given x of type byte, you can get a slice by doing []byte{x}
20:17 < KirkMcDonald> newsham: []byte{x}
20:17 < KirkMcDonald> heh
20:17 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has quit [Client Quit]
20:17 < newsham> sorry, I meant as a reference.
20:17 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
20:17 <+iant> not sure what you mean
20:18 < newsham> I guess I can avoid WriteByter by doing a Write([]byte{x}).
20:18 < newsham> but in general, if I have "x *int" and I want to pass in a
"[]int" is there a conversion for that?
20:18 <+iant> no, not directly
20:18 < newsham> or would I have to pass in []int{val} and then copy back
slice[0] to *x?
20:19 <+iant> interesting idea
20:19 <+iant> yeah
20:20 < newsham> iant: also, wanted to give feedback on something I miss
from C. The ability to handle exceptions ala the "exception monad".  ie: if((err =
func1()) || (err == func2()) || (er == func3())) return err;
20:20 < newsham> oops, "=" not "=="
20:21 < newsham> but as I understand it there's no assignment in conditional
expressions, so the short circuit operators cant be used like that.
20:21 < newsham> the weaker: if(func1() || func2() || func3()) return true;
still works ("maybe monad")
20:21 < KirkMcDonald> In D, that slice thing would be spelled: (&x)[0..1]
20:22 -!- ikaros [~ikaros@e179182075.adsl.alicedsl.de] has joined #go-nuts
20:22 < KirkMcDonald> This is because you can use the slice syntax on
pointers, receiving its equivalent of a slice.
20:22 <+iant> newsham: what you say is correct: no assignments in
conditionals
20:23 < KirkMcDonald> I don't think Go's slice semantics would permit this,
however.
20:23 < KirkMcDonald> (Since there would be no underlying array.)
20:23 <+iant> it actually could work; at runtime a slice is a pointer, a
length and a capacity
20:23 < newsham> in a sense all singletons are an array of size 1.
20:23 <+iant> we could point to the value and set the length and capacity to
1
20:23 < KirkMcDonald> iant: So no actual array is required.
20:23 < newsham> (philosophically, I dont know implementation details)
20:23 < KirkMcDonald> iant: Okay.  So just like D.
20:24 <+iant> the language does require it, but it would not be impossible
to change the language
20:24 < KirkMcDonald> D's equivalent of a slice is called a dynamic array,
and just consists of a pointer and length.
20:24 < KirkMcDonald> And it has no particular limitations on what the
pointer may point to.
20:26 -!- ville- [~ville@a107.ath.cx] has quit [Quit: leaving]
20:28 < newsham> I would love to be able to do a bunch of "err,val = func()"
in a row and somehow use short circuits on the intermediate err's
20:29 < plexdev> http://is.gd/bSGxT by [Russ Cox] in go/test/ -- test: fix
run-arm to count bugs correctly
20:29 < newsham> and be able to return the final err that got captured
20:29 < plexdev> http://is.gd/bSGy1 by [Russ Cox] in go/src/pkg/runtime/arm/
-- runtime/arm: fix build
20:29 < wobsite> So, I'm having trouble getting the json.Unmarshaler
interface working.  The code I'm working with is here :
http://pastebin.com/UNhL4uZZ . It prints out true, then 0.  given the true, I
would expect the message in Jtest.UnmarshalJSON to be printed, but it's not.
20:29 < wobsite> Does anyone know what I'm missing?
20:31 -!- cco3-work [~conleyo@nat/google/x-ebylncusufbwnmfb] has joined #go-nuts
20:31 -!- cco3-work [~conleyo@nat/google/x-ebylncusufbwnmfb] has quit [Client
Quit]
20:31 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Ping
timeout: 240 seconds]
20:31 -!- cco3-hampster [~conleyo@nat/google/x-ifqanzrkdogtsmwa] has joined
#go-nuts
20:32 -!- Kashia [~Kashia@port-92-200-49-132.dynamic.qsc.de] has joined #go-nuts
20:34 -!- Surma [~surma@91-64-29-245-dynip.superkabel.de] has quit [Quit:
Leaving.]
20:38 -!- ender2070 [~ender2070@bas2-brampton13-2925226021.dsl.bell.ca] has joined
#go-nuts
20:39 < wobsite> anyone?
20:52 -!- lux` [~lux`@151.95.180.63] has quit [Remote host closed the connection]
20:52 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
20:53 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
20:56 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
20:58 -!- xenplex [~xenplex@195.46.241.230] has quit [Quit: xenplex]
20:58 -!- taruti [~taruti@aoi.yi.org] has quit [Quit: leaving]
21:04 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
21:13 < ShadowIce> wobsite: "json: cannot unmarshal object into Go value of
type main.Jtest"
21:13 < ShadowIce> that's what json.Unmarshal returns...
21:15 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
21:17 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 264 seconds]
21:20 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 245 seconds]
21:23 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Quit: leaving]
21:24 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
21:26 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
21:30 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
21:31 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping
timeout: 245 seconds]
21:32 < wobsite> ShadowIce: not on my end
21:32 -!- taruti [taruti@aoi.yi.org] has joined #go-nuts
21:32 < ShadowIce> did you check for errors?
21:33 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 268 seconds]
21:33 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has quit []
21:34 < wobsite> ah, nevermind.  that is what I get when I check the error
code.  I don't understand why I'm getting that though.
21:35 < ShadowIce> well...it goes away if you change Jtest to a struct...but
it's still not calling UnmarshalJSON and I don't have a clue why not
21:36 < exch> possibly because int already implements an unmarshaler.  What
happens when you change Jtest to an empty struct?  'type Jtest struct{}'
21:37 < exch> i'm just guessing here though
21:37 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:37 < wobsite> exch : The error goes away, but it still doesn't call
UnmarshalJSON
21:37 < exch> hmm
21:37 < exch> oh right, that's what you meant up there ^
21:39 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
21:40 < ShadowIce> ^^
21:40 < jessta> wobsite: UnmarshalJSON([]byte) os.Error
21:41 < jessta> func (j *Jtest) UnmarshalJSON (b []uint8) os.Error {
21:41 < jessta> one of these things is not like the other
21:41 < wobsite> byte == uint8.  I just tried changing it, no effect.
21:42 < wobsite> unless I'm blind and missing another difference?
21:42 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
21:42 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
21:44 -!- Altercato [~Altercati@ogygia.ethanschoonover.com] has quit [Remote host
closed the connection]
21:44 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
21:44 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit
[Excess Flood]
21:44 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
21:44 < jessta> wobsite: []uint8("{\"obj\":\"val\"}") <-- how does that
become an int?
21:47 < wobsite> it doesn't, really, but it's the UnmarshalJSON method's
responsibility to do the conversion.  My understanding is as long as it's legal
json, I should be able to convert it any way I like.  the problem is the method
isn't being called at all.
21:54 < plexdev> http://is.gd/bSLSI by [Russ Cox] in go/src/pkg/big/ -- big:
fix memory corruption in nat.shr
21:57 -!- a- [~a@97-81-96-92.dhcp.athn.ga.charter.com] has joined #go-nuts
21:59 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:00 -!- bmizera__ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:00 -!- ender2070 [~ender2070@bas2-brampton13-2925226021.dsl.bell.ca] has quit
[Remote host closed the connection]
22:01 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 276 seconds]
22:02 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Read error: Operation timed out]
22:06 -!- bmizera__ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Remote host closed the connection]
22:07 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:08 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-179-135.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:10 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
22:11 < plexdev> http://is.gd/bSMUM by [Russ Cox] in go/src/cmd/gc/ -- gc:
error for nested functions, one semicolon problem
22:15 -!- terrex [~terrex@98.39.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
22:16 -!- aho [~nya@g227086002.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
22:18 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
22:21 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
22:22 < jessta> wobsite: json.Unmarshal([]uint8("{\"obj\":\"val\"}"), &j)
22:28 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:30 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:31 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 240 seconds]
22:33 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:35 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 264 seconds]
22:40 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection
reset by peer]
22:42 -!- aho [~nya@f051137047.adsl.alicedsl.de] has joined #go-nuts
22:42 < plexdev> http://is.gd/bSORx by [Russ Cox] in 4 subdirs of go/ -- gc:
bug267
22:43 -!- tvw [~tv@e182075158.adsl.alicedsl.de] has quit [Remote host closed the
connection]
22:46 -!- bmizeran_ [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:48 -!- bmizerany [~bmizerany@adsl-68-127-170-63.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 260 seconds]
22:50 -!- thiago__ [~thiago@189.107.218.214] has joined #go-nuts
22:56 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
22:58 -!- Agon-laptop
[~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
23:00 < wobsite> jessta: That did the trick, thanks.
23:02 < BrowserUk> jessta: re: Dynamic linking.  Is your statement that
there are currently no plans for go to implement this definitive?  Or is there
room for discussion?
23:02 < jessta> it's one of the annoying things about interface{}
23:03 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
23:03 -!- korfuri [~korfuri@eth0.korfuri.fr] has quit [Ping timeout: 276 seconds]
23:04 -!- tazjin [~tazjin@p5DC831C8.dip.t-dialin.net] has quit [Ping timeout: 264
seconds]
23:04 < jessta> BrowserUk: I'm not a Go-dev, but from what I've read a
number of the devs aren't a fan of dynamic linking
23:04 -!- gospch [~gospch@p5088F4FB.dip.t-dialin.net] has joined #go-nuts
23:05 -!- korfuri [~korfuri@eth0.korfuri.fr] has joined #go-nuts
23:06 -!- rhelmer_ [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer_]
23:06 < taruti> BrowserUk: why would you want dynamic linking?
23:06 * BrowserUk wonders .oO( If I could pursuade jessta, would that have any
affect upon the Go-devs?)
23:07 < taruti> go-binaries are not *that* large
23:08 < sladegen> implementing it may persuade Go-devs...  i think it's just
not their toppish priority.
23:08 < taruti> and for plugins using processes + pipes is better
23:08 < jessta> BrowserUk: nope, pursuading me would have no effect
23:09 < jessta> dynamic linking is great in theory
23:09 < jessta> like inheritance is great in theory
23:09 < BrowserUk> taruti: Because I've been considering implementing an
interpreter in go, and the ability to dynamically load modules to that interpreter
is pretty much a necessity.
23:10 < jessta> BrowserUk: you could use pipes
23:10 < jessta> or netchans
23:11 < BrowserUk> jessta: I'm with you on inheritance; no so DL. I don't
think many of the counter arguments hold much water.  and would like to try and
debunk them.
23:11 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:12 < sladegen> or load compiler and do the jitty...  /me has some more
wilde ideas.
23:13 < BrowserUk> jessta: A client-server, serialised arhcitecture for
extended types, roles etc.?
23:14 < jessta> BrowserUk: get dynamically linked binary from a couple years
ago and try to run it on a recent linux distro
23:15 < jessta> BrowserUk: huh?  netchans?
23:16 < BrowserUk> jessta: Get the sources of an app from a couple of years
ago and try to compile them against the syslibs on a recent distro.
23:17 < BrowserUk> jessta: Looking through the Go docs for netchans; coming
up empty?
23:17 < jessta> http://golang.org/pkg/netchan/
23:18 -!- ikkebr [~ikke@unaffiliated/ikkebr] has joined #go-nuts
23:19 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 240 seconds]
23:19 < BrowserUk> jessat: Thanks.
23:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
23:23 < jessta> BrowserUk:
http://harmful.cat-v.org/software/dynamic-linking/
23:25 < BrowserUk> jessta: Still serialised under the covers:pipes/sockets
are bytes streams; still suffers the "versioning problem":if the importer is built
from a later revision of the go runtime than the exporter, or vice versa; type
safety goes out the window.
23:25 -!- wuehlmaus [~wuehlmaus@p4FCC7A6A.dip.t-dialin.net] has quit [Ping
timeout: 276 seconds]
23:25 -!- wuehlmaus [~wuehlmaus@p4FCC4565.dip.t-dialin.net] has joined #go-nuts
23:26 < exch> there's also the issue of having to build a wrapper binary for
each single go package which exposes the netchan interface
23:26 < exch> might as well just import everything into the interpreter then
:p
23:34 < jessta> BrowserUk: well your problem space will always have
versioning problems if you want to load modules from different places at runtime
23:37 < BrowserUk> jessta: The numbers in that "dynamic linking harmful"
document are very deceptive.  Sure, multiple running instances of the same binary
can share their text seg.  And not all go-built statically-linked binaries need to
carry the whole of the go RT. But any two, non-identical binaries will not be able
to share their text segs, even though they will often, in large part, consist
mostly of (identical) go RT code.
23:37 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
23:39 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
23:39 -!- Dr_Who [~tgall@gentoo/developer/dr-who] has joined #go-nuts
23:39 < jessta> BrowserUk: which is the theoritcal reason dynamic linking is
useful
23:40 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
23:40 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
23:40 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
23:42 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Ping timeout: 276
seconds]
23:44 < BrowserUk> jessta: Yes.  And the numbers in that particular
document--by virtue of their vagueness--do not debunk that.
23:45 < kmeyer> another nicety of dynamic linking is that security updates
don't require rebuilding 'the world'
23:47 < BrowserUk> jessta: But in reality, I'm less concerned with having
the go RT being DL'd.  More interested in being able to create .sos containing go
code, that go built executables can conditionally load at runtime.
23:48 < jessta> kmeyer: you'd only have to rebuild the binaries that call
the effected code
23:49 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
23:49 < BrowserUk> jessta: which could be a few; or if (for example), a vuln
was discovered in go Printf implementation, could mean nearly all of them.
23:49 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
23:51 < kmeyer> jessta: yeah, but that's pretty painful in the average case
23:51 < kmeyer> and what keeps track of what calls what?
23:51 < jessta> source code, package manager etc.
23:51 < kmeyer> pff
23:52 < kmeyer> so on a typical unixy system with some system binaries and
maybe some user-built binaries in their home directories..
23:52 < kmeyer> the package manager might take care of the system ones --
though likely it's easier to just rebuild everything than to check each package
23:52 < kmeyer> but that still leaves the user-built binaries with the
vulnerability
23:56 < jessta> yeah, but at least they will work
23:58 < BrowserUk> I really like most all of the ideas behind go as an
alternative to C. Some things I could argue differently for on the basis of
preference: exceptions (though panic/recover mostly negate that); asserts: (dying
with proper error messages just seems like make-work for many situations, when a
stack trace would take straight to the source of the problem); but the inability
to partition executables is the big stopper at this point.
23:59 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has left #go-nuts
["Konversation terminated!"]
--- Log closed Tue May 04 00:00:29 2010