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

--- Log opened Sat Jul 17 00:00:12 2010
00:04 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
00:11 < Ginto8_> wow...
00:11 < Ginto8_> that was a major net split
00:12 < Tonnerre> Welcome to splitnode
00:15 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
00:17 -!- Ginto8_ [~smitty@c-174-57-137-174.hsd1.nj.comcast.net] has quit [Quit:
Leaving]
00:22 -!- marsu [~marsu@77.202.62.218] has quit [Quit: Leaving]
00:45 -!- Alex___ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
00:48 -!- Alex___ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has quit
[Quit: Colloquy for iPod touch - http://colloquy.mobi]
00:51 -!- Guest97107 [~thiago@189.107.194.112] has quit [Quit: bye]
00:55 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
00:55 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
00:57 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has quit
[Client Quit]
00:58 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 276 seconds]
00:58 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
01:01 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has quit
[Client Quit]
01:02 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
01:05 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has quit
[Client Quit]
01:05 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
01:07 -!- Alex__ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has quit
[Client Quit]
01:08 -!- alkavan [~alkavan@87.68.19.114.cable.012.net.il] has quit [Quit:
Leaving]
01:10 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 246 seconds]
01:19 -!- mikespook [~mikespook@219.137.49.89] has joined #go-nuts
01:30 -!- ako [~nya@fuld-4d00d161.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
01:31 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
01:35 -!- WH0RE [debian-tor@gateway/tor-sasl/unspecified] has joined #go-nuts
01:52 -!- Alex_ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has joined
#go-nuts
01:56 < plexdev> http://is.gd/dv7eS by [Russ Cox] in go/lib/codereview/ --
codereview: make 'hg submit' work with Mercurial 1.6
02:13 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit: Mac
has gone to sleep]
02:17 -!- Alex_ [~alex@pool-108-0-180-37.lsanca.fios.verizon.net] has left
#go-nuts []
02:27 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Ping
timeout: 265 seconds]
02:37 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2]
02:46 -!- willdye [~willdye@162.40.127.30] has joined #go-nuts
02:48 -!- WH0RE [debian-tor@gateway/tor-sasl/unspecified] has quit [Killed (LoRez
(:complete your registration))]
02:56 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has joined
#go-nuts
02:59 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:07 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:13 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has joined
#go-nuts
03:13 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has quit
[Client Quit]
03:14 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
03:27 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has joined
#go-nuts
03:36 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Read error: Connection
reset by peer]
03:36 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
03:37 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:37 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
04:00 -!- mikespook [~mikespook@219.137.49.89] has quit [Quit: Leaving.]
04:00 -!- meanburr1to920 [~john@76-217-6-100.lightspeed.irvnca.sbcglobal.net] has
joined #go-nuts
04:05 -!- gid [~gid@220.253-225-62.VIC.netspace.net.au] has joined #go-nuts
04:08 -!- meanburr1to920 [~john@76-217-6-100.lightspeed.irvnca.sbcglobal.net] has
quit [Quit: leaving]
04:20 -!- kanru [~kanru@61-228-161-2.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.2]
04:39 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit:
Reconnecting]
04:39 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
04:45 < plexdev> http://is.gd/dviUz by [Russ Cox] in go/src/cmd/gc/ -- gc:
print error detail about failure to open import
04:49 < MizardX> That was one small change.  4 added characters.
04:59 -!- scm [justme@d070098.adsl.hansenet.de] has quit [Ping timeout: 246
seconds]
05:01 -!- scm [justme@d019224.adsl.hansenet.de] has joined #go-nuts
05:25 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
05:29 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
05:36 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
05:38 -!- byrongibson [~byrongibs@cpe-98-155-138-202.hawaii.res.rr.com] has left
#go-nuts []
05:39 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
05:47 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
05:49 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 252 seconds]
06:07 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit: Lost
terminal]
06:08 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
06:26 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has joined #go-nuts
06:26 -!- mode/#go-nuts [+v iant] by ChanServ
06:32 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:35 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has quit [Quit: Leaving.]
06:36 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has joined
#go-nuts
06:36 -!- zozoR2 [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has joined
#go-nuts
06:36 -!- zozoR2 [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has quit [Client
Quit]
06:42 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has joined #go-nuts
06:52 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
06:57 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:01 -!- waterwalker [~tar@dsl-hkibrasgw3-fe75fb00-7.dhcp.inet.fi] has quit
[Quit: leaving]
07:03 -!- fan [~fan@bb220-255-138-204.singnet.com.sg] has joined #go-nuts
07:04 -!- fan [~fan@bb220-255-138-204.singnet.com.sg] has left #go-nuts []
07:05 -!- fango [~fan@220.255.138.204] has joined #go-nuts
07:06 -!- fango [~fan@220.255.138.204] has left #go-nuts []
07:08 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:31 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Ping timeout:
260 seconds]
07:32 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
07:33 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has joined
#go-nuts
07:34 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
07:53 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 265 seconds]
07:53 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-173-233.clienti.tiscali.it] has
joined #go-nuts
07:56 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Ping timeout: 260
seconds]
08:02 -!- Paradox924X [~Paradox92@178.119.188.72.cfl.res.rr.com] has joined
#go-nuts
08:08 -!- TR2N [email@89-180-233-222.net.novis.pt] has left #go-nuts []
08:08 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has joined #go-nuts
08:46 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
08:51 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
09:04 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has joined #go-nuts
09:05 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit: Mac
has gone to sleep]
09:10 -!- photron [~photron@port-92-201-250-154.dynamic.qsc.de] has joined
#go-nuts
09:13 < sauerbraten> chressie: i do upload the source, but for users that
don't want to install go just to be able to use my prog, it's much easier if they
can just download the binaries, isn't it?
09:14 < sauerbraten> str1ngs: they can not if they don't have go installed
09:14 < sauerbraten> temoto: why not?
09:15 < sauerbraten> btw: the three answers were related to my bitbucket
account ;)
09:17 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has joined #go-nuts
09:34 -!- wrtp [~rog@92.17.4.25] has joined #go-nuts
10:00 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
joined #go-nuts
10:03 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
10:03 -!- duraffourg [~duraffour@157.159.46.13] has quit [Quit: leaving]
10:07 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has quit [Quit:
Morten.  Desu~]
10:18 -!- kanru [~kanru@61-228-157-81.dynamic.hinet.net] has joined #go-nuts
10:28 -!- GeoBSD [~geobsd@lns-bzn-56-82-255-247-37.adsl.proxad.net] has joined
#go-nuts
10:37 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
10:39 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has joined
#go-nuts
10:41 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has quit [Client
Quit]
11:01 -!- wrtp [~rog@92.17.4.25] has quit [Quit: wrtp]
11:14 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Ping timeout: 276 seconds]
11:16 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has quit [Ping timeout: 246
seconds]
11:20 -!- DavidJones [~DavidJone@dslb-084-057-125-139.pools.arcor-ip.net] has
joined #go-nuts
11:24 -!- sauerbraten_ [~sauerbrat@p508CFE1B.dip.t-dialin.net] has joined #go-nuts
11:24 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has quit [Read
error: Connection reset by peer]
11:25 -!- sauerbraten_ [~sauerbrat@p508CFE1B.dip.t-dialin.net] has quit [Client
Quit]
11:26 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has joined #go-nuts
11:31 -!- XenoPhoenix [~Xeno@94.171.244.40] has joined #go-nuts
11:34 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
11:36 -!- dark [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 240
seconds]
11:42 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has quit [Quit:
Leaving]
11:44 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
11:53 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
11:55 -!- dark [~dark@unaffiliated/eliasamaral] has joined #go-nuts
12:12 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
260 seconds]
12:36 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
12:36 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-173-233.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
12:38 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has quit
[Ping timeout: 260 seconds]
12:39 -!- fango_ [~fan@bb220-255-138-204.singnet.com.sg] has joined #go-nuts
12:40 -!- fango_ [~fan@bb220-255-138-204.singnet.com.sg] has left #go-nuts []
12:40 -!- wrtp [~rog@92.17.4.25] has joined #go-nuts
12:44 -!- wrtp [~rog@92.17.4.25] has quit [Client Quit]
12:48 -!- geocalc [~geobsd@dispo-82-248-165-110.adsl.proxad.net] has joined
#go-nuts
12:50 -!- GeoBSD [~geobsd@lns-bzn-56-82-255-247-37.adsl.proxad.net] has quit [Ping
timeout: 248 seconds]
12:52 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 248 seconds]
12:54 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
12:58 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
13:11 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
13:13 -!- DavidJones [~DavidJone@dslb-084-057-125-139.pools.arcor-ip.net] has quit
[Ping timeout: 265 seconds]
13:19 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Ping
timeout: 245 seconds]
13:30 -!- Guest88229 [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping
timeout: 240 seconds]
13:31 -!- napsy_ [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
13:39 -!- sebi_` [~nil@unaffiliated/stuhlbein] has joined #go-nuts
13:50 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
13:53 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
13:56 -!- rauq [~rauq@p2183-ipbf703sapodori.hokkaido.ocn.ne.jp] has quit [Remote
host closed the connection]
14:01 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined
#go-nuts
14:05 -!- Boney [~paul@210-84-63-248.dyn.iinet.net.au] has quit [Remote host
closed the connection]
14:10 -!- ukai [~ukai@220.109.219.244] has quit [Ping timeout: 265 seconds]
14:13 -!- niemeyer [~niemeyer@201-11-213-235.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 258 seconds]
14:19 -!- napsy_ [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
265 seconds]
14:21 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
14:24 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 245
seconds]
14:25 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has joined #go-nuts
14:42 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has joined
#go-nuts
14:45 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:49 -!- aho [~nya@fuld-4d00d17e.pool.mediaWays.net] has joined #go-nuts
14:50 -!- dark [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 276
seconds]
14:57 -!- Guest40049 [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit:
leaving]
14:59 -!- thiago [~thiago@189.107.186.28] has joined #go-nuts
15:10 -!- dark [~dark@unaffiliated/eliasamaral] has joined #go-nuts
15:15 < str1ngs> c chan os.Error . how can I access c.String()?  or can I
even?
15:16 < Namegduf> You can't, that isn't how it works.
15:16 < Namegduf> You read from the channel into a variable, then access
that.
15:17 < str1ngs> ah ok that makes sense now
15:17 < str1ngs> also how do I wait for goroutine is that what process is
for?
15:21 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:21 < str1ngs> Receivers always block until there is data to receive.
think that answers my question
15:22 < str1ngs> so as long as I use <-c somewhere it will block there?
15:22 < Ginto8> yes
15:23 < str1ngs> ha ok nice thank you
15:23 < Ginto8> but you want one channel per 2 synced goroutines
15:23 < Ginto8> or at least that's idiomatic
15:23 < Ginto8> you can make it so that the function starting the routine
either returns a channel or takes it as a parameter
15:23 < Ginto8> returning is what's common
15:24 < str1ngs> its only on goroutine actually I probably dont even need
it.  but I thougt I would atleast learn how they work
15:25 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit [Remote
host closed the connection]
15:30 < nsf> http://omploader.org/vNHltYg/gocode-emacs.png
15:30 < nsf> trying gocode in emacs :D
15:30 * nsf is a total emacs noob :(
15:32 < nsf> I guess I should remove complete type signature from the
summary line and move it to the doc
15:32 < nsf> looks ugly
15:33 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
15:34 * nsf is in the painful process of switching from vim to emacs
15:34 < nsf> >_<
15:35 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
15:35 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 276 seconds]
15:35 * exch hates both
15:38 < mpl> nsf: why?
15:40 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has joined
#go-nuts
15:40 < nsf> mpl: tired of vim
15:40 < mpl> have you considered acme?
15:41 < nsf> yes, I've tried it
15:41 < mpl> ok
15:41 < MaybeSo> clearly you should be using wylbur.  :D
15:41 < nsf> well, frank
15:41 < nsf> frankly*
15:42 < nsf> I can't use vim now with my new keyboard
15:42 < nsf> that's why I'm switching to emacs :D
15:42 < str1ngs> let me guess devorak keyboard?
15:42 < Tonnerre> Or maybe neo
15:42 < nsf> nope, the layout is almost the same, it's the "mini" one, like
on notebooks
15:43 < nsf> and in vim I've never used hjkl
15:43 < mpl> dvorak is fine in vim anyway.
15:43 < Tonnerre> hjkl is great
15:43 < nsf> and always used things like home end pgup pgdn arrows
15:43 < mpl> jk are right next to each other
15:43 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has quit [Quit:
Leaving.]
15:43 < mpl> and hl pretty easy to reach as well.
15:43 < nsf> so..  now I'm totally changing all the habits
15:44 < nsf> and I think it's a good reason to switch to emacs :D
15:44 * Tonnerre thinks there is no good reason ever to switch to emacs but well
15:44 < Tonnerre> At least that's true for GNU/emacs
15:44 < Tonnerre> Not so much for LispOS emacs
15:44 < str1ngs> dont you need 4 thumbs for emacs?  :P
15:45 < Tonnerre> str1ngs, two left hands and all 10 fingers being thumbs
15:45 < str1ngs> hehe
15:45 < Tonnerre> Well, LispOS emacs was great
15:46 < nsf> emacs is not that bad :)
15:46 * exch prefers to keep it simple.  Good old fashioned nano or gedit will do
me fine
15:46 < Tonnerre> exch, I use nvi
15:46 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
15:46 < str1ngs> actually I alwasy make fun of emacs.  but honestly w/e
works for you is all good.
15:47 < Tonnerre> I heard some people use eclipse
15:47 < Tonnerre> Which is even larger than emacs
15:47 < Tonnerre> So… Whatever suits people
15:47 < nsf> yep, the major thought here is that you can write code with any
editor, even on a piece of paper with a pencil, it's just a matter of speed
15:47 < nsf> and the writing speed itself is not a really big deal
15:47 < nsf> imho
15:52 < nsf> I should write my own editor :D
15:52 < nsf> :P~~
15:52 < str1ngs> in go!  :P
15:52 < nsf> of course
15:52 < str1ngs> gomacs?
15:53 < nsf> mb
15:55 < jessta> I'm sure someone will start a port of Acme to Go
15:55 < nsf> i don't like acme :)
15:55 < dark> nsf, it's also, secretly, a matter of pleasure.  you can write
your own editor, but will it be more enjoyable than your current one?  if not this
may be pointless
15:56 < nsf> dark: life is meaningless, don't worry about it
15:56 < dark> that's exactly why people look for such little things, nsf ^^
15:56 < nsf> and it was a joke, I'm not even considering writing an editor..
yet
15:57 < nsf> I'm more conserned about my gocode project
15:57 < nsf> which is autocompletion daemon for Go
15:58 < nsf> maybe it will eventually be a part of some kind of a text
editor or IDE
15:58 < nsf> who knows :D
16:03 -!- boscop_ [~boscop@f055054070.adsl.alicedsl.de] has joined #go-nuts
16:04 -!- boscop [~boscop@f055108214.adsl.alicedsl.de] has quit [Ping timeout: 276
seconds]
16:05 < mpl> jessta: yeah it's my back up project when I run out of
interesting things to do in Go (which is not likely to happen soon ;) )
16:06 -!- skelterjohn [~jasmuth@c-69-142-61-115.hsd1.nj.comcast.net] has quit
[Ping timeout: 265 seconds]
16:06 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-173-233.clienti.tiscali.it] has
joined #go-nuts
16:08 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
16:10 < str1ngs> ok I think I understand goroutines and channels.  <-c
waits for a signal and in my goroutine I need to signale the channel ie c <- 1
?
16:12 < exch> ya
16:12 -!- skelterjohn [~jasmuth@c-76-116-181-252.hsd1.nj.comcast.net] has joined
#go-nuts
16:13 < str1ngs> still not sure about the handle server ie 2 goroutines.
but I atleast understand a loop
16:14 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has joined #go-nuts
16:14 -!- mode/#go-nuts [+v iant] by ChanServ
16:14 < exch> If you don't need to know which goroutine returns, but just
want to make sure they all return, then keep a counter of some kind updated
everytime c receives a signal
16:15 < exch> If you do need to know which one returns, then you can pass
each goroutine a different channel which you can all poll individually
16:15 < exch> with a select {} statement, you can poll multiple channels
simultaneously
16:17 < str1ngs> ah ok the 2 channel bit makes more sense
16:19 -!- mertimor [~mertimor@la-pool-91-204-5-236.free.de] has joined #go-nuts
16:19 < str1ngs> dur and I can send a single to the say server routine.  so
really its not like I have to block it even
16:19 < str1ngs> signal*
16:20 < str1ngs> so really I start the goroutine.  when I want the its data
that when it stops
16:21 -!- mertimor [~mertimor@la-pool-91-204-5-236.free.de] has quit [Client Quit]
16:27 < str1ngs> ya think my original statement works better.  as long as I
wait for the signal at some point and the goroutine sends a signal when its done.
then I sould be fine.
16:27 < exch> If that's all you need, then yes
16:28 < exch> Even works if your goroutine returns some form of data that
you need.  Passing it back through the signal channel allows for it to work
asynchronously
16:29 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has quit [Ping timeout:
240 seconds]
16:34 < str1ngs> ok so I can do either or.  I'll probably keep it simple for
now
16:34 < str1ngs> but I can see how good this can be down the road.
16:38 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has joined #go-nuts
16:44 -!- iant [~iant@74.125.121.49] has joined #go-nuts
16:44 -!- mode/#go-nuts [+v iant] by ChanServ
16:49 < skelterjohn> instead of making n channels, make an int channel along
which you send one of n identifiers
16:55 -!- waterwalker [~tar@dsl-hkibrasgw3-fe75fb00-7.dhcp.inet.fi] has joined
#go-nuts
16:59 < str1ngs> ah so in away I can identify the goroutine.  and do stuff
like if channel is > 0 we still have goroutines running
17:22 < skelterjohn> for instance, yeah
17:22 < skelterjohn> as long as you start counting goroutines at 1
17:23 < Namegduf> Nah
17:24 < Namegduf> for i := 0; i < goroutines; i++ { <-channel }
17:25 < Namegduf> That'll return when they're alls topped.
17:25 < Namegduf> Unless I misunderstand what you're trying to do.
17:25 -!- path[l] [UPP@120.138.102.50] has quit [Read error: Connection reset by
peer]
17:25 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
17:28 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
17:31 < araujo> buf[1:9] , gets me the elements between 1 and 9 right?
17:31 < Namegduf> It gets 1, 2, 3, 4, 5, 6, 7, 8
17:32 < Namegduf> This is so that buf[0:len(buf)] does what is obvious
17:32 < araujo> nice, thanks Namegduf
17:33 < Tonnerre> So mathematically that would be buf[x,y) ?
17:34 -!- gnuvince [~vince@70.35.169.252] has quit [Ping timeout: 276 seconds]
17:36 < str1ngs> Namegduf: all I need is <-channel for now but I guess I
was trying to understand using more then one goroutine
17:37 < str1ngs> actually I probably not evne need <-channel but I should
I guess use one to check for an error.
17:40 -!- snearch [~snearch@f053001144.adsl.alicedsl.de] has joined #go-nuts
17:47 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
17:49 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has joined #go-nuts
17:51 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 260 seconds]
17:54 -!- exch [~exch@h144170.upc-h.chello.nl] has quit [Read error: Connection
reset by peer]
17:55 -!- exch [~exch@h144170.upc-h.chello.nl] has joined #go-nuts
17:55 -!- exch [~exch@h144170.upc-h.chello.nl] has quit [Read error: Connection
reset by peer]
17:57 -!- Kylarr [Kyle@122-148-63-115.static.dsl.dodo.com.au] has quit []
18:00 -!- gnuvince [~vince@72.0.215.203] has joined #go-nuts
18:00 -!- ExtraSpice [~ExtraSpic@88.118.32.225] has joined #go-nuts
18:01 -!- exch [~exch@h144170.upc-h.chello.nl] has joined #go-nuts
18:08 -!- snearch [~snearch@f053001144.adsl.alicedsl.de] has quit [Quit:
Verlassend]
18:10 -!- gnuvince_ [~vince@72.0.215.203] has joined #go-nuts
18:15 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
quit [Ping timeout: 265 seconds]
18:21 -!- dark [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 276
seconds]
18:23 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
18:28 -!- skelterjohn [~jasmuth@c-76-116-181-252.hsd1.nj.comcast.net] has quit
[Ping timeout: 245 seconds]
18:41 -!- EliasAmaral [~dark@unaffiliated/eliasamaral] has joined #go-nuts
18:54 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
18:57 -!- boscop_ [~boscop@f055054070.adsl.alicedsl.de] has left #go-nuts []
18:57 -!- boscop [~boscop@f055054070.adsl.alicedsl.de] has joined #go-nuts
18:58 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
18:59 -!- awidegreen [~quassel@62.176.237.78] has quit [Quit: No Ping reply in 180
seconds.]
19:00 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
19:11 -!- skelterjohn [~jasmuth@c-68-32-232-19.hsd1.nj.comcast.net] has joined
#go-nuts
19:14 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
joined #go-nuts
19:14 < mpl> is there a way to "undeclare" a var?  ie I want to reuse a var
name which was previously used for another type.
19:19 < impl> do you have some fascination with making code unusually
confusing?  :<
19:21 < mpl> yes :)
19:21 -!- dju_ [dju@fsf/member/dju] has quit [Read error: Connection reset by
peer]
19:21 < mpl> but I agree I shouldn't have to do that.  was just curious.
19:22 -!- dju_ [dju@fsf/member/dju] has joined #go-nuts
19:25 -!- rogue780 [~rogue780@96.244.55.47] has joined #go-nuts
19:49 < araujo> I keep getting a:
19:49 < Eko> mpl: I've never tried it, but you might be able to create a
scoping block (e.g.  {...})
19:49 < araujo> syntax error: unexpected comma
19:50 < Eko> araujo: Can you nopaste the offending code and compile output?
19:50 < araujo> in my code, though I have checked/re-checked the syntax and
see no problem, anybody knows if there exist a known issue about this?
19:50 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
19:50 < araujo> ok, hold, doign it from other device
19:54 < araujo> Eko, nvm, nil != [] , kind of had that messed up :P
19:57 < napsy> Is garbage collection implemented implemented in gccgo?
20:01 -!- rogue780 [~rogue780@96.244.55.47] has quit [Ping timeout: 265 seconds]
20:02 < sauerbraten> napsy: http://is.gd/dw4Jr first post...
20:03 < napsy> thanks
20:11 < napsy> interresting thread
20:12 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has quit [Ping
timeout: 265 seconds]
20:21 -!- skelterjohn [~jasmuth@c-68-32-232-19.hsd1.nj.comcast.net] has quit [Read
error: Connection reset by peer]
20:29 -!- anticw [~anticw@c-67-169-41-113.hsd1.ca.comcast.net] has quit [Ping
timeout: 252 seconds]
20:30 -!- skelterjohn [~jasmuth@c-76-116-177-78.hsd1.nj.comcast.net] has joined
#go-nuts
20:34 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
20:42 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has joined #go-nuts
20:44 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
20:45 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error:
Operation timed out]
20:47 < sauerbraten> check out: http://bitbucket.org/axle/gots what do you
think of it?  any suggestions / bugs?
20:49 -!- Guest2610 [~thiago@189.107.186.28] has quit [Quit: bye]
20:57 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-173-233.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
20:58 < exch> A few cosmetic remarks perhaps
20:58 < exch> 'func getTS(query string, method string, limit string)' you
can do: func getTS(query, method, limit string)
20:59 < exch> also the error values you define in getTS..  why define 2
separate variables (g_err and r_err)?  One variable should work in both cases.
21:00 < sauerbraten> oh right...  btw: i called it queryTS now, is more
readable...
21:00 < sauerbraten> ok i'll change the errors, too
21:00 < exch> It's generally also good practise to return any error you
receive up the callchain, but that depends on what you are doing with the return
values I suppose
21:01 -!- anticw [~anticw@c-67-169-41-113.hsd1.ca.comcast.net] has joined #go-nuts
21:07 -!- jchico [~jchico@cpe-98-14-12-209.nyc.res.rr.com] has joined #go-nuts
21:09 -!- sauerbraten [~sauerbrat@p508CFE1B.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:11 -!- rogue780 [~rogue780@96.244.55.47] has joined #go-nuts
21:19 -!- EliasAmaral [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 245
seconds]
21:26 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:33 -!- skelterjohn [~jasmuth@c-76-116-177-78.hsd1.nj.comcast.net] has quit
[Ping timeout: 265 seconds]
21:34 -!- iwx [~nfulton@99-188-28-46.lightspeed.stlsmo.sbcglobal.net] has joined
#go-nuts
21:36 -!- iant [~iant@74.125.121.49] has quit [Ping timeout: 246 seconds]
21:39 -!- EliasAmaral [~dark@unaffiliated/eliasamaral] has joined #go-nuts
21:48 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has quit [Read error:
Operation timed out]
21:54 -!- rogue780 [~rogue780@96.244.55.47] has quit [Ping timeout: 265 seconds]
21:58 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
22:08 -!- skelterjohn [~jasmuth@c-76-99-93-151.hsd1.nj.comcast.net] has joined
#go-nuts
22:22 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host
closed the connection]
22:23 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
260 seconds]
22:27 -!- geocalc [~geobsd@dispo-82-248-165-110.adsl.proxad.net] has quit [Quit:
Lost terminal]
22:31 -!- ExtraSpice [~ExtraSpic@88.118.32.225] has quit [Ping timeout: 240
seconds]
22:34 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
22:55 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has quit [Quit:
Leaving.]
22:57 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
22:59 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
23:00 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
23:40 < plexdev> http://is.gd/dwfgl by [Ken Thompson] in go/src/cmd/gc/ --
1.  got 29 (Mpscale) more bits of precision
23:42 -!- skelterjohn [~jasmuth@c-76-99-93-151.hsd1.nj.comcast.net] has quit [Ping
timeout: 265 seconds]
23:52 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
23:57 < plexdev> http://is.gd/dwg5m by [Peter Mundy] in go/src/pkg/utf16/ --
utf16: fix cyclic dependency when testing on Windows
23:57 < plexdev> http://is.gd/dwg5r by [Russ Cox] in 4 subdirs of go/src/ --
linux/386: use Xen-friendly ELF TLS instruction sequence
23:57 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
--- Log closed Sun Jul 18 00:00:12 2010