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

--- Log opened Thu Dec 23 00:00:01 2010
00:10 -!- Scorchin [~Scorchin@host109-152-121-185.range109-152.btcentralplus.com]
has quit [Quit: Scorchin]
00:10 < kimelto> exec.Run seems to ignore my argv argument
00:11 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
00:16 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:26 -!- photron_ [~photron@port-92-201-69-34.dynamic.qsc.de] has quit [Ping
timeout: 272 seconds]
00:28 < kimelto> Oh! Wait!
00:29 < kimelto> That is sooo useless and non obvious: the first string in
argv must be the name of the bin called.
00:29 -!- iant [~iant@nat/google/x-gtzpmgjitglldxbq] has quit [Ping timeout: 260
seconds]
00:35 -!- iant [~iant@67.218.105.75] has joined #go-nuts
00:35 -!- mode/#go-nuts [+v iant] by ChanServ
00:42 -!- Project-2501 [~Marvin@82.84.76.224] has joined #go-nuts
00:44 < adg> kimelto: it's just symmetrical.  the first argument of argv is
always the name of the binary
00:44 < plexdev> http://is.gd/jgivH by [Eoghan Sherry] in
go/src/pkg/testing/ -- testing: fix error message on invalid regexp
00:45 -!- Project_2501 [~Marvin@82.84.75.236] has quit [Ping timeout: 255 seconds]
00:45 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:49 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
00:51 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
00:55 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
00:58 -!- Project-2501 [~Marvin@82.84.76.224] has quit [Quit: E se abbasso questa
leva che succ...]
00:59 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
00:59 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
01:01 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
01:03 -!- xash [~xash@d045163.adsl.hansenet.de] has quit [Read error: Operation
timed out]
01:04 -!- pothos [~pothos@111-240-229-100.dynamic.hinet.net] has joined #go-nuts
01:10 -!- niemeyer_ [~niemeyer@187.53.253.26] has joined #go-nuts
01:15 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276
seconds]
01:15 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
01:21 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
01:22 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
01:25 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:30 -!- sav [~lsd@jagat.xored.org] has joined #go-nuts
01:30 -!- sav [~lsd@jagat.xored.org] has quit [Excess Flood]
01:37 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
01:39 -!- go-irc-c [~go-irc-ch@195-132-97-104.rev.numericable.fr] has joined
#go-nuts
01:39 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
01:53 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
01:54 -!- iant [~iant@67.218.105.75] has quit [Ping timeout: 265 seconds]
02:14 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Ping
timeout: 245 seconds]
02:26 -!- niemeyer_ [~niemeyer@187.53.253.26] has quit [Ping timeout: 245 seconds]
02:30 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 250 seconds]
02:47 < plexdev> http://is.gd/jgHeP by [Andrew Gerrand] in 2 subdirs of go/
-- release.2010-12-22
02:47 < plexdev> http://is.gd/jgHf2 by [Andrew Gerrand] in go/ -- tag
release.2010-12-22
02:50 -!- ios_ [~ios@180.191.130.201] has joined #go-nuts
02:55 < uriel> adg: yay, thanks!
02:57 -!- ios_ [~ios@180.191.130.201] has quit [Quit: Leaving]
03:07 -!- ios_ [~ios@180.191.130.201] has joined #go-nuts
03:10 -!- ios_ [~ios@180.191.130.201] has left #go-nuts []
03:11 -!- ios_ [~ios@180.191.130.201] has joined #go-nuts
03:11 -!- ios_ [~ios@180.191.130.201] has left #go-nuts []
03:21 -!- ios_ [~ios@180.191.130.201] has joined #go-nuts
03:23 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
03:23 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
03:23 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
03:27 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Client
Quit]
03:30 -!- joatmon54 [~engest@cpe-66-74-195-46.san.res.rr.com] has quit [Quit:
Ex-Chat]
03:31 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
03:31 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
03:31 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
03:33 -!- SoniaK [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has joined
#go-nuts
03:35 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
03:46 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
03:48 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has quit
[Quit: amacleod -> sleep]
03:51 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 240
seconds]
04:01 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
04:10 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 240 seconds]
04:13 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
04:16 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
04:21 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Excess Flood]
04:22 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
04:31 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:31 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has joined
#go-nuts
04:35 -!- ios_ [~ios@180.191.130.201] has quit [Quit: Leaving]
04:38 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has quit
[Quit: rhencke]
04:46 -!- keithcascio [~keithcasc@nat/google/x-ysuuzyjevyncocdb] has quit [Quit:
Leaving]
04:51 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
05:00 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
05:04 -!- jyxent [~jyxent@129.128.191.96] has quit [Ping timeout: 260 seconds]
05:06 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
06:01 -!- jeff2 [~jeff@pool-108-13-140-226.lsanca.fios.verizon.net] has joined
#go-nuts
06:02 < jeff2> what is the best way to do logical XOR in Go?
06:02 < jeff2> I see there is the ^ operator, but it is bitwise
06:02 < cbeck> !=
06:03 < jeff2> ah of course.  thanks!
06:12 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
06:28 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
06:37 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
06:37 -!- mode/#go-nuts [+v iant] by ChanServ
06:42 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
06:44 -!- nettok [~quassel@200.119.184.8] has quit [Ping timeout: 265 seconds]
06:52 -!- jeff2 [~jeff@pool-108-13-140-226.lsanca.fios.verizon.net] has quit
[Quit: Leaving]
06:56 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 272
seconds]
06:58 -!- shvntr [~shvntr@113.84.151.30] has joined #go-nuts
06:58 -!- nettok [~quassel@200.119.184.8] has joined #go-nuts
06:59 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
07:23 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
07:24 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
07:32 -!- SoniaK [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has quit []
07:33 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:47 -!- cirno [~cirno@77.232.15.216] has quit [Quit: Leaving]
07:55 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
08:05 -!- SoniaK [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has joined
#go-nuts
08:14 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:22 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
08:22 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-156.clienti.tiscali.it] has
joined #go-nuts
08:28 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has joined #go-nuts
08:29 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:40 -!- nettok [~quassel@200.119.184.8] has quit [Ping timeout: 250 seconds]
08:55 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
09:03 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
09:03 -!- ubitux [~ubitux@did75-21-88-189-231-41.fbx.proxad.net] has quit [Ping
timeout: 240 seconds]
09:03 -!- ubitux [~ubitux@did75-21-88-189-231-41.fbx.proxad.net] has joined
#go-nuts
09:05 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
09:13 -!- photron_ [~photron@port-92-201-56-48.dynamic.qsc.de] has joined #go-nuts
09:19 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
09:24 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Ping timeout: 255 seconds]
09:25 < hokapoka> I read a post somewhere on how to write tests for go, I
can't find it now anyone got some URLs?
09:26 < hokapoka> found it.
09:26 < hokapoka> http://nf.id.au/tag/screencast
09:38 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
09:40 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has quit []
09:40 -!- SoniaK [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has quit []
09:50 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
09:59 -!- xash [~xash@d141122.adsl.hansenet.de] has joined #go-nuts
10:04 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
10:06 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
10:10 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
10:12 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
10:19 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
10:24 < ptrb> okay, what the fuck -- couchtest.go:4: inconsistent definition
for type bytes.Buffer during import
10:25 < ptrb> I've cleaned and re-made and this shit persists
10:28 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
10:29 < ptrb> oh, clean doesn't blow stuff away.  wonderful.
10:32 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
10:45 < adg> ptrb: 'gomake nuke'
10:46 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
10:46 < ptrb> in the go src tree?
10:50 < ptrb> ah, on my library.  that did it.  somehow.
10:50 < ptrb> I don't suppose this is the place to go for google code tech
support too, is it?  ;)
10:51 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has joined #go-nuts
10:57 -!- serbaut [~joakims@88.80.182.68] has quit [Quit: Leaving.]
11:02 < adg> ptrb: not really :) but many of us use it
11:06 -!- foocraft [~dsc@78.101.124.54] has quit [Ping timeout: 265 seconds]
11:11 < hokapoka> Over the past week or so when create a new package, the
first time a make it there's a long wait while it build.  After the first time
it's super fast.  anyone else get this?
11:11 -!- Scorchin [~Scorchin@host86-145-54-192.range86-145.btcentralplus.com] has
joined #go-nuts
11:14 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 260
seconds]
11:19 -!- foocraft [~dsc@89.211.100.29] has joined #go-nuts
11:22 -!- ios_ [~ios@180.191.130.201] has joined #go-nuts
11:29 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts
11:29 < creack> 4hello
11:30 < creack> anyone know a little about os/signal?
11:30 < creack> I wonder if I can ignore SIGQUIT or at least do not dump all
the runtime bullshit
11:39 < creack> And is it possible to change the handling within th
eprogram?
11:40 < creack> I need to handle signals but at certains point, I need to
use the default behavour
11:40 < creack> So how could I switch between normal/user defined behovour?
11:43 < creack> signal(SIG, user_fct); / signal(SIG, SIG_DFL); in C
11:47 -!- virtualsue [~chatzilla@nat/cisco/x-nxtpzpdwfmxnjbik] has joined #go-nuts
11:47 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
11:56 -!- niemeyer_ [~niemeyer@187.53.253.26] has joined #go-nuts
11:57 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat]
12:05 < adg> hokapoka: can't say i've noticed that; can you post some
timings to the mailing list?
12:11 -!- neur [~neuro@unaffiliated/neurosys/x-283974] has quit [Ping timeout: 260
seconds]
12:12 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
12:12 -!- neur [~neuro@85.100.147.1] has joined #go-nuts
12:32 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
12:33 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
12:44 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
12:51 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has
joined #go-nuts
13:02 -!- kanru [~kanru@61-231-51-112.dynamic.hinet.net] has joined #go-nuts
13:24 -!- artefon [~thiagon@150.164.2.20] has quit [Remote host closed the
connection]
13:28 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
13:30 < aiju> can i have several GOOS/GOARCH combinations with one GOROOT?
13:31 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
13:31 -!- neur [~neuro@85.100.147.1] has quit [Changing host]
13:31 -!- neur [~neuro@unaffiliated/neurosys/x-283974] has joined #go-nuts
13:35 < uriel> GOARCH, I'd hope so
13:36 < uriel> GOOS, I'm not sure
13:37 -!- kanru [~kanru@61-231-51-112.dynamic.hinet.net] has quit [Ping timeout:
265 seconds]
13:39 -!- artefon [~thiagon@150.164.2.20] has quit [Remote host closed the
connection]
13:40 < aiju> the go compilers need proper manpages...
13:48 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
13:48 < aiju> why does 6l have Plan 9 specific code
13:48 < aiju> neither does Go run on Plan 9 nor does Plan 9 support AMD64
13:48 < uriel> Go runs on plan9
13:49 < aiju> oh it does?
13:49 < uriel> as for Plan 9 on amd64, the least said, the better
13:49 < aiju> haha
13:52 -!- yiyus [~124271242@67.202.106.57] has quit [Read error: Operation timed
out]
14:03 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
14:03 -!- DerHorst [~Horst@e176103115.adsl.alicedsl.de] has joined #go-nuts
14:06 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
14:10 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
14:48 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
14:50 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
15:01 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab]
15:10 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:15 -!- gavin_ [71fe962c@gateway/web/freenode/ip.113.254.150.44] has joined
#go-nuts
15:18 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
15:21 < gavin_> hello, how to call a function in package "a" from pack "b"
in assembly???
15:22 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:22 < aiju> i'm not sure, but how about a·bla?
15:23 < gavin_> mm..i try b4, when linking them, it shows undefined a.bla
...
15:24 < aiju> why are you writing assembly after all
15:25 < aiju> it's package·routine
15:25 < gavin_> I am an interrupt handler, which call the function from
other package
15:25 < gavin_> writing
15:28 -!- kanru [~kanru@118-160-162-103.dynamic.hinet.net] has joined #go-nuts
15:30 < aiju> what platform are you writing for?
15:30 < gavin_> tiny
15:44 -!- niemeyer_ [~niemeyer@187.53.253.26] has quit [Ping timeout: 245 seconds]
15:55 -!- shvntr [~shvntr@113.84.151.30] has quit [Ping timeout: 250 seconds]
15:58 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
16:00 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-156.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
16:03 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
peace in teh middle east]
16:05 -!- WonTu [~WonTu@p57B53D77.dip.t-dialin.net] has joined #go-nuts
16:05 -!- WonTu [~WonTu@p57B53D77.dip.t-dialin.net] has left #go-nuts []
16:09 -!- kanru [~kanru@118-160-162-103.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.2]
16:12 -!- DerHorst [~Horst@e176103115.adsl.alicedsl.de] has quit [Remote host
closed the connection]
16:20 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276
seconds]
16:24 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:24 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Changing host]
16:24 -!- tgall_foo [~tgall@linaro/tgall-foo] has joined #go-nuts
16:32 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:43 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
16:43 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:49 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
16:50 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:50 -!- artefon [~thiago@189.115.131.154] has joined #go-nuts
16:55 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
16:56 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
16:57 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:58 -!- sauerbraten [~sauerbrat@p508CC827.dip.t-dialin.net] has joined #go-nuts
17:02 -!- enferex [~enferex@users.757.org] has quit [Ping timeout: 260 seconds]
17:03 -!- enferex [~enferex@users.757.org] has joined #go-nuts
17:04 -!- ronnyy [~quassel@drsd-d9ba8645.pool.mediaWays.net] has joined #go-nuts
17:06 -!- ios_ [~ios@180.191.130.201] has quit [Quit: Leaving]
17:07 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
17:07 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
17:10 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
17:11 -!- ronnyy [~quassel@drsd-d9ba8645.pool.mediaWays.net] has quit [Remote host
closed the connection]
17:15 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Quit:
This computer has gone to sleep]
17:20 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
17:22 -!- deso [~deso@91-64-173-62-dynip.superkabel.de] has joined #go-nuts
17:23 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
17:36 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
17:37 -!- jyxent [~jyxent@129.128.191.96] has quit [Read error: Connection reset
by peer]
17:40 -!- virtualsue [~chatzilla@nat/cisco/x-nxtpzpdwfmxnjbik] has quit [Ping
timeout: 265 seconds]
17:40 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
17:46 -!- cirno [~cirno@77.232.15.216] has joined #go-nuts
17:47 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Quit:
Leaving.]
17:49 -!- gavin_ [71fe962c@gateway/web/freenode/ip.113.254.150.44] has quit [Quit:
Page closed]
17:56 -!- iant [~iant@216.239.45.130] has joined #go-nuts
17:56 -!- mode/#go-nuts [+v iant] by ChanServ
17:57 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-166-207.clienti.tiscali.it] has
joined #go-nuts
18:01 -!- tvw [~tv@212.79.9.150] has quit [Read error: Connection reset by peer]
18:08 -!- xash [~xash@d141122.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
18:12 -!- Soultaker [~Soultaker@infinity.student.utwente.nl] has quit [Ping
timeout: 255 seconds]
18:31 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined
#go-nuts
18:37 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
18:40 -!- deso [~deso@91-64-173-62-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
18:44 < fuzzybyte> how do i split a really statement into two lines?
18:44 < fuzzybyte> really long
18:45 -!- deso [~deso@91-64-173-62-dynip.superkabel.de] has joined #go-nuts
18:46 < fuzzybyte> suddenly, i miss having semicolons
18:47 < bartbes> fuzzybyte: I believe you can use semicolons in your case
18:47 < bartbes> because if I remember correctly the parser automatically
adds semicolons
18:47 < bartbes> and so the compiler itself actually wants semicolons
18:47 < bartbes> but I might be wrong
18:48 < fuzzybyte> bartbes: i tried this.  did no work.
http://dpaste.com/289896/
18:49 < bartbes> oh right
18:49 < bartbes> you are trying to do the inverse of what I thought you were
doing :P
18:49 < bartbes> I misread
18:49 < fuzzybyte> )
18:50 < bartbes> well, effective go comes up with nothing
18:51 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Read error:
Operation timed out]
18:51 < bartbes> it only says that the lexer adds a semicolon if it looks
like the end of a statment
18:51 < bartbes> so I guess you could try putting ( on the first line
18:52 < fuzzybyte> bartbes: uh?  not sure what you mean
18:53 < bartbes> so it says fmt.Println(
18:55 < fuzzybyte> oh yeah, that works.  but what if i have something like
"var myvar int =
foo.bar.baz.alfa.beta.gamma.zoot.harfbarf.mysuperlongfunctioncall()".  how would
you split that up?
18:56 < bartbes> after a period, I guess
18:58 < fuzzybyte> oh okay
18:58 < Namegduf> How would you have that
18:59 < Namegduf> Go packages don't work that way, so the only way you could
have that would be for foo or bar and everything past them to be a member variable
of a struct.
18:59 < Namegduf> (Well, foo or bar to be the struct)
19:01 < fuzzybyte> :)
19:01 < bartbes> I always split after a period
19:01 < bartbes> </horrible_joke>
19:02 < fuzzybyte> lol
19:04 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
19:05 < Eko> ah, one of my favorite parts of Go is that I can have a Client
field that is a (*)Client data type <3
19:05 < Eko> yay for unambiguous syntaxes.
19:09 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has joined #go-nuts
19:12 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X]
19:14 -!- Venom_X [~pjacobs@50.15.18.28] has joined #go-nuts
19:17 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
19:18 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds]
19:18 -!- sauerbraten_ [~sauerbrat@p508CC827.dip.t-dialin.net] has joined #go-nuts
19:19 -!- sauerbraten_ [~sauerbrat@p508CC827.dip.t-dialin.net] has quit [Remote
host closed the connection]
19:19 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts
19:19 -!- sauerbraten [~sauerbrat@p508CC827.dip.t-dialin.net] has quit [Read
error: Connection reset by peer]
19:20 -!- sauerbraten [~sauerbrat@p508CC827.dip.t-dialin.net] has joined #go-nuts
19:25 -!- keithcascio [~keithcasc@nat/google/x-kodlbojywbyddbgv] has joined
#go-nuts
19:34 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:34 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has quit [Ping timeout: 272
seconds]
19:35 -!- Venom_X [~pjacobs@50.15.18.28] has quit [Ping timeout: 265 seconds]
19:37 < uriel> 18:44 < fuzzybyte> how do i split a really statement
into two lines?
19:37 < uriel> fuzzybyte: lets see the statement...
19:38 -!- boscop_ [~boscop@g227116175.adsl.alicedsl.de] has joined #go-nuts
19:38 < uriel> 18:55 < fuzzybyte> oh yeah, that works.  but what if i
have something like "var myvar int =
foo.bar.baz.alfa.beta.gamma.zoot.harfbarf.mysuperlongfunctioncall()".  how would
you split that up?
19:38 < uriel> if you are doing that, you are *doing something wrong
19:38 < aiju> Go is not Java
19:38 < uriel> (first of all, you should use :=)
19:38 < uriel> aiju: exactly
19:40 -!- boscop [~boscop@g230087110.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
19:46 < exch> You can split a call up by making sure the dot is at the end
of the line, not the beginning of the new line.  as in 'foo.\nbar()' At least that
worked last time I tried it, which was a while ago
19:51 < fuzzybyte> uriel: i knoow.  i just made up that quickly.
19:54 < skelterjohn> i think having a \ at the end of a line mght be a good
way to make it happen
19:54 < skelterjohn> that's pretty readable
19:54 < skelterjohn> and has no present meaning outside of a quotation
19:55 < aiju> BTW did you know that Go statements don't have to fit on punch
cards?
19:56 < skelterjohn> i did know that.  but it is nice if they don't require
you to scroll the window to read the whole thing
19:56 < aiju> running a vt100 eh
19:56 < skelterjohn> snark is not the answer for every question
19:58 < Namegduf> I like mine to cut at 80 for some reasonable indent
19:58 < Namegduf> So I can view them at the same time as something else on
the screen
19:58 < Namegduf> I don't mind having to drop indent to do it, but....
20:00 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
20:01 < aiju> imho 80 is a bit too harsh
20:02 < fuzzybyte> more like 120
20:05 < uriel> 19:51 < fuzzybyte> uriel: i knoow.  i just made up that
quickly.
20:06 < uriel> fuzzybyte: well, it is hard to give answers to totally made
up problems that have no equivalent in real code
20:08 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
20:09 < fuzzybyte> btw, if tabs are not used the default 8 spaces wide
indent of gofmt is baaad.  how could you possibly with that kinda indentation to
80 chars.
20:10 < fuzzybyte> possibly fit
20:16 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
20:17 < Namegduf> Tabs are always used.
20:17 < Namegduf> And should be.
20:17 < aiju> bikeshed
20:17 < Namegduf> A bikeshed solved by gofmt.
20:18 < aiju> gofmt solves much bikeshed
20:18 < Namegduf> Also, not with too much difficulty
20:19 -!- deso [~deso@91-64-173-62-dynip.superkabel.de] has quit [Remote host
closed the connection]
20:21 < aiju> it's a bit odd one can't write Plan 9 style with Go
20:26 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
20:27 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
20:35 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
20:37 < uriel> gofmt: pre-packaged-bikeshed-construction-and-painting-kit
20:37 < aiju> haha
20:37 < uriel> or maybe more accurately:
20:38 < uriel> gofmt: bikeshed-bulldozer
20:39 -!- directrixx [~chatzilla@ip68-231-185-150.tc.ph.cox.net] has joined
#go-nuts
20:39 < fuzzybyte> if tabs should always be used, why even have an option to
use them?
20:40 < uriel> fuzzybyte: because gofmt takes care of the problem
20:41 < uriel> and there is no reason to make tabs semantically different
from spaces
20:52 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:03 -!- artefon [~thiago@189.115.131.154] has quit [Quit: bye]
21:10 -!- Venom_X [~pjacobs@50.15.18.28] has joined #go-nuts
21:24 -!- bookses [~John@123.147.201.103] has joined #go-nuts
21:26 -!- Venom_X [~pjacobs@50.15.18.28] has quit [Ping timeout: 240 seconds]
21:27 -!- bookses [~John@123.147.201.103] has left #go-nuts []
21:28 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
21:31 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
21:32 -!- femtoo [~femto@95-89-196-231-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
21:37 -!- dju [dju@fsf/member/dju] has joined #go-nuts
21:43 -!- sjd [~sjd@204-195-89-40.wavecable.com] has joined #go-nuts
21:44 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Ping
timeout: 260 seconds]
21:45 -!- KBme_ [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined
#go-nuts
21:48 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has joined #go-nuts
21:58 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
21:59 < piranha> anybody uses repl here?  If yes, then which one?  :)
21:59 < aiju> i use a repl, i call it "shell" *scnr*
22:00 < piranha> :)
22:02 < kimelto> len() does not work on a buffer channel?
22:10 < plexdev> http://is.gd/jkBni by [Andrew Gerrand] in 3 subdirs of
go/src/cmd/ -- 6l: fix documentation of -L flag
22:11 < adg> kimelto: it should
22:11 < adg> kimelto: it should give you the number of elements in the
buffer
22:12 < adg> kimelto: cap() will give you the buffer length
22:12 -!- foocraft [~dsc@89.211.100.29] has quit [Ping timeout: 265 seconds]
22:15 < kimelto> adg: cap() works but not len()
22:16 < kimelto> actually, never mind ;-)
22:17 < kimelto> knowing that it should work made me re-evaluate my axioms
and something else was wrong.
22:20 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Quit:
This computer has gone to sleep]
22:22 -!- jeff2 [~jeff@pool-108-13-140-226.lsanca.fios.verizon.net] has joined
#go-nuts
22:25 -!- jeff2 [~jeff@pool-108-13-140-226.lsanca.fios.verizon.net] has quit
[Client Quit]
22:27 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
22:27 < plexdev> http://is.gd/jkEGI by [Andrew Gerrand] in go/ -- A+C: Caine
Tighe
22:28 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
22:30 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
22:32 -!- directrixx [~chatzilla@ip68-231-185-150.tc.ph.cox.net] has left #go-nuts
[]
22:36 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
22:41 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-166-207.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:43 -!- Boney [~paul@124-148-146-189.dyn.iinet.net.au] has joined #go-nuts
22:49 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
22:50 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
22:52 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:56 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
22:58 -!- sauerbraten [~sauerbrat@p508CC827.dip.t-dialin.net] has quit [Remote
host closed the connection]
23:08 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has quit
[Quit: Bye Bye]
23:13 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
23:15 -!- photron_ [~photron@port-92-201-56-48.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
23:20 -!- alkavan [~alkavan@87.68.151.176] has joined #go-nuts
23:33 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
23:35 < adg> kimelto: ;)
23:37 -!- espeed [~espeed@63.246.231.57] has quit [Quit: Leaving]
23:37 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
23:43 -!- rlab_ [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
23:45 -!- lmoura [~lauromour@187.59.116.139] has quit [Quit: Leaving]
23:45 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.2, revision: 4740, sources date: 20100627, built on: 2010-10-19
12:51:39 UTC http://www.kvirc.net/]
23:46 -!- mbone [~mwbone@96.24.149.76] has quit [Quit: Leaving]
23:50 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
23:59 -!- lifespective [~espeed@63.246.231.57] has joined #go-nuts
--- Log closed Fri Dec 24 00:00:01 2010