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

--- Log opened Tue Apr 19 00:00:50 2011
00:01 < plexdev> http://is.gd/mv2RS3 by [Russ Cox] in 3 subdirs of go/src/
-- reflect: allow Slice of arrays
00:05 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Quit: JusticeFries]
00:09 -!- krutcha [~krutcha@remote.icron.com] has quit [Quit: Leaving]
00:12 -!- Adys_ [~Adys@unaffiliated/adys] has joined #go-nuts
00:12 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
00:18 -!- jsc [~jsc@140-182-239-40.dhcp-bl.indiana.edu] has joined #go-nuts
00:28 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the
connection]
00:30 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
00:30 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
00:50 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
01:03 < plexdev> http://is.gd/kkBw1K by [Nigel Tao] in 2 subdirs of
go/src/pkg/ -- image/jpeg: add an encoder.
01:04 -!- mikespook [~mikespook@219.137.252.101] has joined #go-nuts
01:08 -!- saturnfive [~saturnfiv@210.74.155.131] has joined #go-nuts
01:27 -!- artefon [~thiago@187.59.187.85] has quit [Quit: bye]
01:35 -!- jsc [~jsc@140-182-239-40.dhcp-bl.indiana.edu] has quit [Ping timeout:
258 seconds]
01:57 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
01:59 -!- jsc [~jsc@adsl-99-57-1-8.dsl.bltnin.sbcglobal.net] has joined #go-nuts
02:04 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
02:34 -!- kevlar [~kevlar@70.90.168.189] has joined #go-nuts
02:34 -!- kevlar [~kevlar@70.90.168.189] has quit [Changing host]
02:34 -!- kevlar [~kevlar@unaffiliated/eko] has joined #go-nuts
02:34 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts
02:35 -!- m4dh4tt3r [~Adium@147.sub-69-99-148.myvzw.com] has joined #go-nuts
02:38 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
02:46 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
02:49 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
02:54 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
03:05 < venk> blist
03:07 < kevlar> was closed(chan) removed recently?
03:07 < kevlar> file.go:24: undefined: closed
03:07 < kevlar> it's still in the docs...
03:08 -!- vsayer [~vivek@2001:470:1f04:1a6b:21a:6bff:fe35:d2a5] has quit [Read
error: Operation timed out]
03:10 < skelterjohn> it was removed a while ago
03:16 < kevlar> woah, apparently my repo is on the other side of that change
as golang.org
03:17 -!- fmoo [~Adium@66.220.144.74] has quit [Quit: Leaving.]
03:17 * kevlar tries to remember to use his local godoc
03:17 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
03:22 < kevlar> wait, so now there's no way to distinguish between a zero
receive and then a close and just a close??
03:23 < kevlar> oh, nevermind, it's not val,closed := <-chan; it's
val,open := <-chan
03:25 -!- wchicken [~chicken@24.7.112.207] has joined #go-nuts
03:25 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Quit: This computer has gone
to sleep]
03:26 -!- nickbp [~eqoaq@216.93.241.7.askonline.net] has left #go-nuts
["(*^.^)/~~"]
03:29 -!- aconran__ [~aconran-o@38.104.129.126] has quit [Remote host closed the
connection]
03:30 -!- aconran__ [~aconran-o@38.104.129.126] has joined #go-nuts
03:30 -!- fluf^arr [~camelid@s.pl0rt.org] has joined #go-nuts
03:32 -!- fluffle [~camelid@s.pl0rt.org] has quit [Ping timeout: 255 seconds]
03:32 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has joined #go-nuts
03:37 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts
03:43 -!- jsc [~jsc@adsl-99-57-1-8.dsl.bltnin.sbcglobal.net] has quit [Remote host
closed the connection]
03:44 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Quit:
leaving]
03:44 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined
#go-nuts
03:45 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has quit [Ping timeout:
276 seconds]
03:48 -!- kr [~Keith@204.14.152.118] has quit [Quit: WeeChat 0.3.2]
03:50 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts
03:51 -!- ako [~nya@fuld-590c6f9d.pool.mediaWays.net] has joined #go-nuts
03:52 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
03:52 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has joined #go-nuts
03:54 -!- aho [~nya@fuld-590c62a8.pool.mediaWays.net] has quit [Ping timeout: 246
seconds]
03:55 -!- pphalen [~pphalen@66.92.11.149] has joined #go-nuts
04:02 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Quit: ZNC -
http://znc.sourceforge.net]
04:08 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
04:13 -!- Fish- [~Fish@coss6.exosec.net] has quit [Ping timeout: 246 seconds]
04:14 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Remote host closed
the connection]
04:17 -!- Fish- [~Fish@213.41.240.142] has joined #go-nuts
04:18 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
04:20 -!- zozoR [~Morten@90.185.81.29] has quit [Ping timeout: 246 seconds]
04:21 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 246 seconds]
04:22 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:28 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has joined #go-nuts
04:40 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error:
Connection reset by peer]
04:41 -!- photron [~photron@port-92-201-122-127.dynamic.qsc.de] has joined
#go-nuts
04:50 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error:
Connection reset by peer]
04:57 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
05:04 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts
05:04 -!- mikespook [~mikespook@219.137.252.101] has quit [Ping timeout: 246
seconds]
05:04 -!- mikespook [~mikespook@116.21.153.235] has joined #go-nuts
05:07 -!- m4dh4tt3r [~Adium@147.sub-69-99-148.myvzw.com] has quit [Ping timeout:
258 seconds]
05:26 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:26 -!- ExtraSpice [XtraSpice@88.118.35.153] has joined #go-nuts
05:34 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Ping timeout: 260
seconds]
05:39 -!- pphalen [~pphalen@66.92.11.149] has left #go-nuts []
05:39 -!- edsrzf [~chickench@122-61-221-144.jetstream.xtra.co.nz] has joined
#go-nuts
05:39 -!- keithcascio [~keithcasc@nat/google/x-hxklwtlhmkprirov] has quit [Quit:
Leaving]
05:41 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
05:43 -!- mikespook [~mikespook@116.21.153.235] has quit [Ping timeout: 276
seconds]
05:48 < pTonnerre> --- FAIL: http.TestRedirect
05:48 < pTonnerre> Get(http://codesearch.google.com/) got status 200 at
http://codesearch.google.com/, want 200 at http://www.google.com/codesearch
05:48 < pTonnerre> FAIL
05:48 < pTonnerre> Why do we rely on stuff like that?!
05:49 < kevlar> pTonnerre: to be fair, redirects at Google are alot more
within the realm of control than any other domain.
05:49 < pTonnerre> kevlar: we could start up a small local Go httpd ;)
06:06 -!- sebastia1 [~sebastian@188.114.142.217] has joined #go-nuts
06:11 -!- aho [~nya@fuld-590c6f9d.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
06:13 -!- tvw [~tv@e176007014.adsl.alicedsl.de] has joined #go-nuts
06:16 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts
06:19 -!- tvw [~tv@e176007014.adsl.alicedsl.de] has quit [Remote host closed the
connection]
06:29 -!- Scorchin [~Scorchin@host86-145-16-211.range86-145.btcentralplus.com] has
joined #go-nuts
06:34 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
06:35 -!- wrtp [~rog@92.17.70.99] has joined #go-nuts
06:39 -!- zozoR [~Morten@90.185.81.29] has quit [Ping timeout: 246 seconds]
06:47 -!- sebastia1 [~sebastian@188.114.142.217] has quit [Quit: Lost terminal]
06:47 -!- firwen [~firwen@adevlaptop.cern.ch] has joined #go-nuts
06:55 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts
06:57 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
07:06 -!- danijel [~danijeltm@46.33.214.223] has joined #go-nuts
07:07 -!- danijel [~danijeltm@46.33.214.223] has quit [Client Quit]
07:11 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts
07:16 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw]
07:17 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
07:31 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:33 -!- photron_ [~photron@port-92-201-122-127.dynamic.qsc.de] has joined
#go-nuts
07:33 -!- kimelto_ [~kimelto@sd-13453.dedibox.fr] has joined #go-nuts
07:36 -!- madveru [~manveru@b08s28ur.corenetworks.net] has joined #go-nuts
07:41 -!- Netsplit *.net <-> *.split quits: manveru, kimelto, photron, prip,
chressie
07:42 -!- rlab [~Miranda@178.95.104.80] has joined #go-nuts
07:45 -!- dchest [~dchest@109.228.79.14] has quit [Ping timeout: 276 seconds]
07:47 -!- firwen [~firwen@adevlaptop.cern.ch] has quit [Quit: Geek insinde®]
07:48 -!- Netsplit over, joins: chressie
07:48 -!- Netsplit over, joins: prip
08:07 -!- virtualsue [~chatzilla@host81-148-106-229.in-addr.btopenworld.com] has
joined #go-nuts
08:07 -!- dave [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts
08:07 -!- dave [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Client
Quit]
08:08 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
08:08 -!- Scorchin [~Scorchin@host86-145-16-211.range86-145.btcentralplus.com] has
quit [Quit: Scorchin]
08:09 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping
timeout: 246 seconds]
08:12 -!- Scorchin [~Scorchin@host86-145-18-9.range86-145.btcentralplus.com] has
joined #go-nuts
08:18 -!- virtualsue [~chatzilla@host81-148-106-229.in-addr.btopenworld.com] has
quit [Read error: Connection reset by peer]
08:18 -!- xyproto [~alexander@cm-84.208.177.43.getinternet.no] has joined #go-nuts
08:19 -!- virtualsue [~chatzilla@nat/cisco/session] has joined #go-nuts
08:20 -!- virtualsue [~chatzilla@nat/cisco/session] has quit [Changing host]
08:20 -!- virtualsue [~chatzilla@nat/cisco/x-sspolybfamnttvnn] has joined #go-nuts
08:33 -!- rlab [~Miranda@178.95.104.80] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
08:40 -!- tvw [~tv@e176007014.adsl.alicedsl.de] has joined #go-nuts
08:44 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts
08:58 -!- sebastia1 [~sebastian@188.114.142.217] has joined #go-nuts
08:59 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
09:08 -!- virtualsue [~chatzilla@nat/cisco/x-sspolybfamnttvnn] has quit [Ping
timeout: 240 seconds]
09:08 -!- Project_2501 [~Marvin@82.84.86.178] has joined #go-nuts
09:10 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
09:10 -!- mikespook [~mikespook@219.137.49.53] has joined #go-nuts
09:15 -!- virtualsue [~chatzilla@nat/cisco/x-mkxnhicltiacvrqt] has joined #go-nuts
09:27 -!- zimsim [~simon@87.72.77.195] has joined #go-nuts
09:31 -!- mikespook [~mikespook@219.137.49.53] has quit [Quit: Leaving.]
09:34 -!- edsrzf [~chickench@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote
host closed the connection]
09:37 -!- virtualsue [~chatzilla@nat/cisco/x-mkxnhicltiacvrqt] has quit [Read
error: Operation timed out]
09:41 -!- virtualsue [~chatzilla@nat/cisco/x-vvwsgadxkkurstii] has joined #go-nuts
09:56 -!- sebastia2 [~sebastian@188.114.142.217] has joined #go-nuts
09:59 -!- sebastia1 [~sebastian@188.114.142.217] has quit [Ping timeout: 240
seconds]
10:01 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
10:01 -!- sebastia1 [~sebastian@188.114.142.217] has joined #go-nuts
10:02 -!- boscop_ [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
10:02 -!- shvntr [~shvntr@116.26.131.59] has joined #go-nuts
10:03 -!- sebastia2 [~sebastian@188.114.142.217] has quit [Ping timeout: 250
seconds]
10:03 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
10:04 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
10:04 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
10:05 -!- tgall_foo [~tgall@206.9.88.154] has quit [Ping timeout: 258 seconds]
10:07 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping
timeout: 246 seconds]
10:14 -!- ewolf [70c131a8@gateway/web/freenode/ip.112.193.49.168] has joined
#go-nuts
10:15 -!- ewolf [70c131a8@gateway/web/freenode/ip.112.193.49.168] has quit [Client
Quit]
10:16 -!- crodjer [~rohanjain@203.110.240.205] has quit [Quit: Leaving]
10:18 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts
10:25 -!- saturnfive [~saturnfiv@210.74.155.131] has quit [Read error: Connection
reset by peer]
10:29 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has quit [Quit:
adu]
10:38 -!- ww [~ww@river.styx.org] has joined #go-nuts
10:39 < ww> 'morning all
10:44 -!- alkavan [~alkavan@IGLD-84-228-66-18.inter.net.il] has joined #go-nuts
10:53 < ww> what is the best way to write xml with go?  templates?  or?
anyone have experience with xmlm?
10:53 < taruti> ww: have you looked at the xml package?
10:53 < ww> taruti: yes, that's just for reading
10:54 < ww> unfortunately...  i need to write too :(
10:54 -!- photron_ [~photron@port-92-201-122-127.dynamic.qsc.de] has quit [Read
error: Operation timed out]
10:56 < ww> and relatedly...  is libxslt still the best C library for xslt?
i'm going to have to make some bindings...
11:10 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts
11:15 -!- gaxxx [~woo@219.143.166.16] has quit [Quit: Leaving.]
11:18 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
11:18 -!- shvntr [~shvntr@116.26.131.59] has quit [Ping timeout: 260 seconds]
11:19 -!- shvntr [~shvntr@116.26.131.59] has joined #go-nuts
11:26 -!- sebastia1 [~sebastian@188.114.142.217] has quit [Quit: Lost terminal]
11:37 -!- shvntr [~shvntr@116.26.131.59] has quit [Ping timeout: 264 seconds]
11:38 -!- shvntr [~shvntr@116.26.131.59] has joined #go-nuts
11:44 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
11:45 -!- dfc [~dfc@202.81.69.153] has joined #go-nuts
11:50 -!- Netsplit *.net <-> *.split quits: ivan`, djcapelis, hypertux,
KingPhilroy, ampleyfly, TheSeeker, pTonnerre
11:51 -!- Netsplit over, joins: hypertux
11:53 -!- dfc [~dfc@202.81.69.153] has quit [Read error: Connection reset by peer]
11:53 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts
11:54 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
11:56 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has joined
#go-nuts
11:56 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-hfpflqnaccrqkwvj]
has joined #go-nuts
11:56 -!- djcapelis [~djc@blender/coder/DJCapelis] has joined #go-nuts
11:56 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
11:56 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
11:56 -!- pTonnerre [~tonnerre@ec2-79-125-90-109.eu-west-1.compute.amazonaws.com]
has joined #go-nuts
11:59 -!- artefon [~thiago@dhcp55.usuarios.dcc.ufmg.br] has joined #go-nuts
12:00 -!- dfc [~dfc@202.81.69.153] has joined #go-nuts
12:02 -!- dfc [~dfc@202.81.69.153] has quit [Client Quit]
12:04 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts
12:15 -!- TheMue [~TheMue@p5DDF7BD0.dip.t-dialin.net] has joined #go-nuts
12:16 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
12:26 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
12:26 -!- boscop_ [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout:
246 seconds]
12:32 -!- boscop_ [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
12:36 -!- boscop__ [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
12:36 -!- boscop_ [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout:
250 seconds]
12:39 -!- boscop__ [~boscop@g227132084.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
12:41 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit
[Quit: JusticeFries]
12:41 -!- boscop__ [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
12:46 -!- boscop__ [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout:
250 seconds]
12:49 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
12:56 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
13:02 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw]
13:03 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
13:06 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
13:07 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost
terminal]
13:09 -!- j2a [~j2a@pppoe105.net109-24.omkc.ru] has joined #go-nuts
13:11 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Quit: WeeChat 0.3.4]
13:13 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
13:14 < j2a> Hi. I'm looking for person (from Europe preferable) who wants
to make talk about Go. I'm organizing some kind of conference about new and
emerging languages.  Estimate date — 25 of Jun.  Does anybody want to make a trip
to Siberia?  :)
13:17 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
13:21 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 250 seconds]
13:21 < aiju> nsf: don't you live in russia?  ;P
13:21 -!- gtaylor [~gtaylor@99-126-136-139.lightspeed.gnvlsc.sbcglobal.net] has
joined #go-nuts
13:21 < nsf> aiju: I do, but giving talks is the least thing I'm interested
in
13:21 < aiju> haha
13:22 < exch> are there actually people in siberia?
13:22 < aiju> i symphathize
13:22 < aiju> exch: no, just mooses
13:22 < hopso> That sounds interesting
13:22 < exch> ah well I guess moose can be interested in Go to :p
13:23 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
13:24 < ww> yacgob (yet another cgo binding) :
https://bitbucket.org/ww/libxml
13:25 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
13:25 < j2a> hopso: you're welcome (if my words sounds interesting for you
:))
13:27 < ww> actually i've a collegue in novosibirsk...  but you're likely to
get a talk about bibliographic citation data from him, not go
13:28 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 260 seconds]
13:30 -!- Glasswalker
[~Glasswalk@CPE002369b3cd1a-CM00222d53f155.cpe.net.cable.rogers.com] has quit
[Ping timeout: 240 seconds]
13:30 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has quit [Quit: hopso]
13:31 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts
13:32 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has quit [Remote
host closed the connection]
13:33 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts
13:37 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
13:39 -!- iant [~iant@66.109.104.109] has joined #go-nuts
13:39 -!- mode/#go-nuts [+v iant] by ChanServ
13:40 -!- zozoR [~Morten@90.185.81.29] has quit [Ping timeout: 240 seconds]
13:41 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has joined #go-nuts
13:45 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
13:46 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
13:47 < j2a> ww: there is no harm to ask him, I guess :) Could you give his
contacts?
13:48 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
13:48 < ww> j2a: well, really, it's not his field -
http://openlib.org/home/krichel/
13:49 < j2a> ah, I see
13:49 < ww> was just proving to exch that people do indeed live in siberia
13:49 < exch> :p
13:50 -!- Glasswalker
[~Glasswalk@CPE005056ad47df-CM001225e00d58.cpe.net.cable.rogers.com] has joined
#go-nuts
13:53 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
13:56 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
14:00 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:00 -!- alkavan [~alkavan@IGLD-84-228-66-18.inter.net.il] has quit [Quit:
Leaving]
14:04 -!- xyproto [~alexander@cm-84.208.177.43.getinternet.no] has quit [Quit:
WeeChat 0.3.5-dev]
14:09 < skelterjohn> morning
14:09 < skelterjohn> kevlar: i think the problem is probably that the godoc
wasn't updated to reflect the removal of closed - the godoc on golang.org is the
last release and (i think) it has the change to closed.
14:10 -!- djcapeli1 [~djc@capelis.dj] has joined #go-nuts
14:10 -!- ampleyfl1 [ampleyfly@gateway/shell/blinkenshell.org/x-avphpnvekoxpmpvb]
has joined #go-nuts
14:10 -!- djcapeli1 [~djc@capelis.dj] has quit [Changing host]
14:10 -!- djcapeli1 [~djc@blender/coder/DJCapelis] has joined #go-nuts
14:12 < plexdev> http://is.gd/wUTPai by [Adam Langley] in 2 subdirs of
go/src/pkg/crypto/ -- crypto: move certificate verification into x509.
14:12 < plexdev> http://is.gd/plJpub by [Adam Langley] in
go/src/pkg/crypto/x509/ -- crypto/x509: fix build
14:12 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-hfpflqnaccrqkwvj]
has quit [Ping timeout: 240 seconds]
14:12 -!- djcapelis [~djc@blender/coder/DJCapelis] has quit [Ping timeout: 240
seconds]
14:12 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Ping timeout: 240
seconds]
14:12 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[Ping timeout: 240 seconds]
14:12 -!- pTonnerre [~tonnerre@ec2-79-125-90-109.eu-west-1.compute.amazonaws.com]
has quit [Ping timeout: 240 seconds]
14:13 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
14:15 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has
joined #go-nuts
14:17 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
14:18 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
14:19 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
14:25 -!- zerosanity [~josh@8.20.178.82] has joined #go-nuts
14:35 -!- TheMue [~TheMue@p5DDF7BD0.dip.t-dialin.net] has quit [Quit: TheMue]
14:45 -!- zerosanity [~josh@8.20.178.82] has quit [Read error: Connection reset by
peer]
14:51 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
14:59 < plexdev> http://is.gd/ZJ2DI0 by [Adam Langley] in 2 subdirs of
go/src/pkg/crypto/openpgp/ -- crypto/openpgp: better handling of keyrings.
14:59 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
15:00 -!- iant [~iant@66.109.104.109] has quit [Quit: Leaving.]
15:00 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
15:01 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
15:05 -!- tvw [~tv@e176007014.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
15:12 -!- j2a [~j2a@pppoe105.net109-24.omkc.ru] has quit [Read error: No route to
host]
15:13 -!- zimsim [~simon@87.72.77.195] has quit [Ping timeout: 240 seconds]
15:15 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 264 seconds]
15:16 < plexdev> http://is.gd/sorQOY by [Russ Cox] in go/ -- CONTRIBUTORS:
add David Crawshaw (Google CLA)
15:20 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
15:21 -!- j2a [~j2a@pppoe105.net109-24.omkc.ru] has joined #go-nuts
15:28 -!- zimsim [~simon@87.72.77.195] has joined #go-nuts
15:28 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Quit:
Computer has gone to sleep.]
15:38 -!- shvntr [~shvntr@116.26.131.59] has quit [Quit: leaving]
15:44 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
15:46 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
15:48 -!- arun [~arun@unaffiliated/sindian] has quit [Quit: Leaving]
15:48 -!- arun [~arun@unaffiliated/sindian] has joined #go-nuts
15:52 -!- TheMue [~TheMue@p5DDF7BD0.dip.t-dialin.net] has joined #go-nuts
15:55 -!- niemeyer_lunch
[~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br] has quit [Quit:
Leaving]
15:56 -!- niemeyer_lunch
[~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts
15:56 < delinka> Are there any IDEs that support Go?
15:57 < hopso> There's Goclipse plugin for Eclipse
15:57 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
15:57 < ww> emacs has go-mode
15:58 -!- skelterjohn_ [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
15:58 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Read error:
Connection reset by peer]
16:06 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
16:07 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has quit [Quit:
itrekkie]
16:07 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
16:08 -!- zimsim [~simon@87.72.77.195] has quit [Remote host closed the
connection]
16:08 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
16:11 -!- iant [~iant@nat/google/x-ufcyvjtjoexqyvjf] has joined #go-nuts
16:11 -!- mode/#go-nuts [+v iant] by ChanServ
16:12 -!- pTonnerre [~tonnerre@ec2-79-125-90-109.eu-west-1.compute.amazonaws.com]
has joined #go-nuts
16:12 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 250
seconds]
16:13 -!- bortzmeyer [~stephane@lan31-2-82-224-72-72.fbx.proxad.net] has joined
#go-nuts
16:15 -!- rutkowski [~adrian@178235051197.walbrzych.vectranet.pl] has joined
#go-nuts
16:15 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has quit [Quit:
adu]
16:15 -!- xyproto [~alexander@cm-84.208.177.43.getinternet.no] has joined #go-nuts
16:22 -!- j2a [~j2a@pppoe105.net109-24.omkc.ru] has quit [Quit: j2a]
16:23 < uriel> delinka: see http://go-lang.cat-v.org/text-editors/
16:25 < exch> gah.  my compiler has a bug that I just can't pin down
>< What's worst is that it only seems to occur under some strange conditions
16:28 -!- awidegreen [~quassel@c-cfc5e555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
16:28 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
16:31 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has joined #go-nuts
16:33 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
16:33 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
16:33 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:36 < xyproto> exch: are there any available edge-cases you can try out?
16:37 < exch> I've been trying to find a suitable one for the past hour.
Splitting the offending code up into smaller tests hasn't shown the error so far
though
16:37 < exch> that's mainly what is annoying me :p
16:38 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has joined #go-nuts
16:39 -!- firwen [~firwen@gex01-1-78-234-55-225.fbx.proxad.net] has joined
#go-nuts
16:39 < hopso> What kind of compiler are you working on?
16:40 < exch> It compiles a subset of Factor into bytecode which can then be
run on a VM
16:40 < exch> https://github.com/jteeuwen/kitten
16:41 < xyproto> exch: do you have a way to verify what's happening, in
smaller steps?  printf?  assert?
16:41 < exch> yea.  I do know where the error is occurring
16:41 < exch> Just haven't found the solution yet
16:41 -!- brett [~brett@rdnzl.net] has left #go-nuts []
16:41 < xyproto> exch: good luck :]
16:41 < exch> it's in this function
https://github.com/jteeuwen/kitten/blob/master/compiler/compiler.go#L227
16:42 < exch> this function merges multiple identical instrucitons into one.
eg: push [1], push [2], push [3] -> push [1, 2, 3]
16:42 < exch> It's the last step the compiler goes through before the
program is finished
16:42 < exch> when I comment it out, the program is correct.  So it's
clearly in there some where
16:43 < exch> It's a bit tricky as the vectorization is selective (only for
certain types of instructions) and it has to take into accuont that branching
instructions can branch into a range that should be collapsed
16:44 < exch> so the range has to be slpit up at the branch target
16:44 * ww meow
16:46 -!- firwen [~firwen@gex01-1-78-234-55-225.fbx.proxad.net] has quit [Remote
host closed the connection]
16:46 < exch> this code works fine for all test cases.  there is just 1
particular tets script which causes some rather peculiar output from this function
16:46 < str1ngs> ww: I'm going to checkout your blog soon.  I have a dual
core A9
16:46 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts
16:47 < exch> :o
16:48 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
16:48 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client
Quit]
16:50 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
16:50 -!- mattn_jp [~mattn@112-68-74-106f1.hyg1.eonet.ne.jp] has joined #go-nuts
16:51 -!- xyproto [~alexander@cm-84.208.177.43.getinternet.no] has quit [Quit:
WeeChat 0.3.5-dev]
16:59 < ww> str1ngs: i have a blog?
17:01 < str1ngs> ww: you do now
17:02 < ww> news to me...  i guess http://river.styx.org/ww is kind of
blog-like
17:02 -!- franksalim [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Read error: Connection reset by peer]
17:02 < ww> is it still a blog if there is no comment feature?
17:03 -!- franksalim [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
17:03 < ww> or are you talking about the stuff with protovis?
17:04 < ww> the valuable data is the machine readable bit, the javascript is
just eye candy
17:04 -!- Hyper-Core [~lol@h174.117.31.71.dynamic.ip.windstream.net] has joined
#go-nuts
17:05 < ww> but that's definitely not a blog
17:06 < str1ngs> naw the arm stuff
17:06 < str1ngs> blog might be wrong term then
17:07 < ww> oh i remember - from when i was trying to get go working on the
android
17:08 < ww> i though you were saying protovis is too cpu intensive and
you'll look at the fancy pictures now that you have shiny new hardware
17:08 < ww> ...  for which i wouldn't blame you
17:10 < str1ngs> nope just android hacking stuff :P
17:11 -!- Hyper-Core [~lol@h174.117.31.71.dynamic.ip.windstream.net] has left
#go-nuts []
17:11 -!- aconran__ [~aconran-o@38.104.129.126] has quit [Quit: aconran__]
17:13 < ww> well i'll be interested to see where you get with it
17:14 < str1ngs> big hurdle is deciding to root it.  but imo I probably I
cant help myself
17:14 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:16 -!- adu [~ajr@pool-173-66-18-71.washdc.fios.verizon.net] has quit [Quit:
adu]
17:21 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-158-68.clienti.tiscali.it] has
joined #go-nuts
17:24 -!- rutkowski [~adrian@178235051197.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
17:24 -!- Project_2501 [~Marvin@82.84.86.178] has quit [Ping timeout: 246 seconds]
17:28 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts
17:28 -!- KBme [~KBme@2001:470:1f13:94::3] has quit [Read error: Operation timed
out]
17:34 -!- KBme [~KBme@2001:470:1f13:94::3] has joined #go-nuts
17:36 < delinka> if someone publishes a binary-only package, since there are
no header files where would a code-completion IDE find function names?  will it
need to parse the .a?
17:37 < skelterjohn> there is a binary importer either in the works or
available in go/types
17:38 < skelterjohn> go/types . GcImporter
17:38 < skelterjohn> that will get the information you want
17:38 < skelterjohn> is there any reason to prefer os.StartProcess to
exec.Run?
17:39 < ww> skelterjohn: i've actually used syscall.ForkExec() myself...
probably shouldn't though
17:41 < skelterjohn> exec.Run calls os.StartProcess
17:41 < rm445> skelterjohn: connect to arbitrary file descriptors?
17:41 < skelterjohn> i've done that with exec.Run
17:42 < skelterjohn> os.StartProcess appears to just rearrange parameters
17:42 < skelterjohn> and handle some stuff that didn't occur to me that
probably should have
17:42 < rm445> How do yuo do it with exec.Run?
17:42 -!- tvw [~tv@89.204.137.144] has joined #go-nuts
17:42 < skelterjohn> err, exec.Run does this, I mean
17:43 < skelterjohn>
https://github.com/skelterjohn/go-gb/blob/master/gb/runext.go#L92
17:44 < skelterjohn> in retrospect calling a function RunExternalDump is a
bit off-putting
17:44 < nsf> http://ompldr.org/vOGM1dw/2011-04-19-234854_876x718_scrot.png
17:44 < nsf> :P
17:44 < nsf> first more or less complete program compiled by crawl :)
17:46 < rm445> skelterjohn: nice, I suppose, though it doesn't seem quite
what I have in mind.
17:46 < skelterjohn> what were you thinking about?
17:47 < rm445> not sure, well, connecting the standard streams to actual
open files rather than squirting data through pipes.
17:47 < rm445> Anyway, isn't the real answer that StartProcess is a
Windows-ism that someone threw in, while the exec module is someone else's bright
idea?
17:47 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:48 < skelterjohn> well, i like that os.StartProcess collects parameters
in a struct rather than just having a long signature
17:48 < plexdev> http://is.gd/etDmpp by [Rob Pike] in go/src/pkg/gob/ --
gob: fix trivial bug in map marshaling.
17:49 -!- hypertux [~hypertux@vps1.joelegasse.com] has quit [Quit: leaving]
17:52 -!- m4dh4tt3r [~Adium@69.181.223.245] has joined #go-nuts
17:54 -!- keithcascio [~keithcasc@nat/google/x-gckhmogadsbiyxmu] has joined
#go-nuts
17:57 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Quit: leaving]
17:59 -!- huin [~huin@91.84.99.134] has joined #go-nuts
18:00 -!- m4dh4tt3r [~Adium@69.181.223.245] has quit [Quit: Leaving.]
18:02 -!- virtualsue [~chatzilla@nat/cisco/x-vvwsgadxkkurstii] has quit [Ping
timeout: 276 seconds]
18:03 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
18:16 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has joined #go-nuts
18:16 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
18:17 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Quit: This computer has gone
to sleep]
18:19 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has joined
#go-nuts
18:19 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
18:20 -!- ampleyfl1 [ampleyfly@gateway/shell/blinkenshell.org/x-avphpnvekoxpmpvb]
has quit [Read error: Operation timed out]
18:20 -!- franksalim [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Ping timeout: 246 seconds]
18:20 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
18:21 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Client Quit]
18:22 -!- m4dh4tt3r [~Adium@55.sub-75-208-23.myvzw.com] has joined #go-nuts
18:23 -!- artefon [~thiago@dhcp55.usuarios.dcc.ufmg.br] has quit [Ping timeout:
260 seconds]
18:23 -!- boscop [~boscop@g227132084.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
18:23 -!- rlab [~Miranda@14-138-95-178.pool.ukrtel.net] has joined #go-nuts
18:24 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Ping timeout: 240 seconds]
18:25 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-lnyorbccbikywdqh]
has joined #go-nuts
18:31 < hopso> Does bytes.Buffer.WriteTo(net.Conn) write the buffer's
content to the connection?
18:31 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Read error:
Connection reset by peer]
18:32 < skelterjohn> yes
18:32 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-158-68.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
18:32 < skelterjohn> that's what the WriteTo functions are for, anyway
18:33 < hopso> Those confuse me a bit.  Probably just takes a while to get
used to.
18:34 < hopso> Writes and Reads and WriteTos and ReadFroms everywhere.  It's
nice to have same methods in multiple packages though.
18:34 -!- foocraft [~dsc@78.100.206.29] has joined #go-nuts
18:36 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 246 seconds]
18:36 -!- artefon [~thiago@bananal.lbd.dcc.ufmg.br] has joined #go-nuts
18:36 < skelterjohn> in general, i feel like you should try to make things
read like an english sentence
18:36 < aiju> skelterjohn: you should program COBOL
18:36 < skelterjohn> x.WriteTo(y) is clear
18:37 < skelterjohn> x.Write(z) is a bit less like a sentence, but still
reasonably clear
18:37 < hopso> skelterjohn: I just noticed that :D
18:38 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
18:38 < skelterjohn> i've never seen COBOL code, so I don't get the
joke/insight
18:38 < aiju> MULTIPLY X BY 100
18:38 < aiju> IF X > 10 THEN ADD 20 TO Z
18:38 < hopso> I've seen only a bit and it looks annoying.
18:39 < skelterjohn> one can have the flow of english without having to
write actual english
18:41 -!- virtualsue [~chatzilla@nat/cisco/x-otacmrsmrpznhlnt] has joined #go-nuts
18:41 < cbeck> Better than ReadOut and WriteIn
18:41 < aiju> i don't quite get the point of WriteTo() though
18:41 < skelterjohn> what is there to get?
18:42 < hopso> Is there much difference in reading data little at time from
net.Conn and reading more to buffer at time and then little at time from the
buffer?
18:42 < aiju> skelterjohn: why the fuck does it exist
18:42 < skelterjohn> so people can use them
18:42 < aiju> can't you just read and write somewhere else?
18:42 -!- wrtp [~rog@92.17.70.99] has quit [Quit: wrtp]
18:43 < skelterjohn> sometimes there are sets of instructions people want to
execute more than once
18:43 < skelterjohn> what we do is collect them into smaller segments and
call them "functions"
18:43 < hopso> aiju: I'd rather write "buf.WriteTo(conn)" than "var b
[10]byte; buf.Read(b[:]); conn.Write(b[:])"
18:43 < skelterjohn> this allows easy re-use of code
18:44 < skelterjohn> hopso: you could also do io.Copy(buf, conn)
18:44 < aiju> exactly
18:44 < hopso> Oh right :D
18:44 < skelterjohn> though it would copy things to an intermediate buffer
18:45 < skelterjohn> WriteTo (along with error checking and other nonsense)
just does "w.Write(b.buf[b.off:])"
18:46 < skelterjohn> so it's the same as doing w.Write(thebuffer.Bytes())
except it empties the buffer
18:48 < hopso> So many ways to do the same thing
18:49 < skelterjohn> but...it doesn't do the same thing :)
18:49 < skelterjohn> WriteTo clears the buffer
18:49 -!- arun_ [~arun@unaffiliated/sindian] has joined #go-nuts
18:50 < hopso> Yush, that's the reason I use it.
18:55 < huin> what's the native endianness of the utf16 package?
18:56 < hopso> How can I read n bytes from net.Conn to bytes.Buffer?
ReadFrom() seems to read continuously.
18:57 -!- aho [~nya@fuld-590c771b.pool.mediaWays.net] has joined #go-nuts
18:58 < huin> ah.  silly question from me
18:58 < huin> i see how it works
18:59 -!- crodjer [~rohanjain@203.110.240.205] has quit [Remote host closed the
connection]
19:00 < skelterjohn> hopso: ReadFrom will read until EOF
19:00 < skelterjohn> if you want to read exactly n bytes, call conn.Read()
with a byte slice of length n
19:00 -!- m4dh4tt3r1
[~Adium@75.144.24.109-BusName-walnutcreek.ca.hfc.comcastbusiness.net] has joined
#go-nuts
19:01 -!- m4dh4tt3r [~Adium@55.sub-75-208-23.myvzw.com] has quit [Ping timeout:
258 seconds]
19:01 < hopso> Doesn't net.Conn give EOF only on disconnect?
19:01 < skelterjohn> probably
19:01 < skelterjohn> :)
19:02 < skelterjohn> means ReadFrom is probably not your solution
19:02 < skelterjohn> or, well
19:02 < skelterjohn> no, nvm
19:02 < skelterjohn> what purpose does the bytes.Buffer serve, in your case?
19:02 < hopso> I use it as the base for my Stream type
19:02 -!- jyxent [~jyxent@129.128.191.96] has quit [Read error: Operation timed
out]
19:03 < skelterjohn> not exactly what i meant
19:04 < hopso> And I use the Stream type to easily get values like
s.ReadUint16() or send them like s.WriteUint64(23)
19:04 < skelterjohn> i see
19:04 < skelterjohn> do you really need a buffer in between for that?
19:04 < skelterjohn> could you just read two bytes from the conn to do
s.ReadUint16()?
19:05 < skelterjohn> i have some code that does the same thing, i use a
buffer too
19:05 < hopso> Probably yes
19:05 < skelterjohn> but i wrote it so long ago that i don't remember why
19:05 < skelterjohn> i think because i was porting it from another language,
and the other code (written by someone else) had a buffer
19:06 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
19:06 < skelterjohn>
http://code.google.com/p/go-glue/source/browse/rlglue/network.go
19:10 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Read error: Operation timed out]
19:10 < huin> how do i convert from UTF16 to UTF8 string in Go?
19:10 -!- jyxent [~jyxent@129.128.191.96] has quit [Client Quit]
19:10 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
19:10 < skelterjohn> maybe the unicode, utf16 and utf8 packages can help
19:11 < huin> ah, didn't notice the unicode one
19:11 < huin> ah.  no, doesn't help, sadly :(
19:12 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
19:12 < skelterjohn> if you have a utf16.String
19:12 < skelterjohn> you could do utf16.NewString(s.String()) ?
19:13 < skelterjohn> i don't know if that loses anything in the conversion
to string and back
19:13 < skelterjohn> i know very little about unicode
19:13 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
19:13 < huin> there's no utf16.String in my godoc
19:13 < skelterjohn> oh
19:13 < skelterjohn> mine neither
19:13 < skelterjohn> i assumed it would mirror utf8
19:13 < huin> sadly not
19:14 -!- FluffySauce [~FluffySau@c-24-126-60-239.hsd1.md.comcast.net] has joined
#go-nuts
19:14 < huin> it looks like i need to construct an encoder from what's in
utf8
19:14 -!- artefon [~thiago@bananal.lbd.dcc.ufmg.br] has quit [Quit: bye]
19:15 < skelterjohn> maybe you could update the utf16 package and submit it
to the distribution :)
19:15 < huin> hm...  maybe.  although i'm a bit lost as to what the intent
of their unicode libraries is
19:15 < skelterjohn> i certainly have no idea
19:16 < skelterjohn> it would make sense to post in golang-dev first
19:16 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
19:16 < huin> i would.  but i'm finding myself rather buried :(
19:17 -!- KBme [~KBme@2001:470:1f13:94::3] has quit [Remote host closed the
connection]
19:18 < huin> writing a minecraft server...  and notch just changed the text
encoding from utf-8 to utf-16 >_<
19:18 < aiju> haha
19:18 < aiju> notch is a total idiot
19:18 < huin> i presume it's closer to java's internal char type
19:19 < huin> puts more data on the wire, tho :(
19:19 < aiju> and it sucks, that's the worst thing
19:19 < huin> i'm not terribly fussed on UTF-16, i have to say
19:19 < huin> i.e i don't like it much
19:20 < aiju> nobody sane does
19:20 -!- KBme [~KBme@2001:470:1f13:94::3] has joined #go-nuts
19:27 < huin> hm.  godoc is still unhappy :(
19:28 < skelterjohn> in what way
19:35 < huin> crashes on me a lot
19:35 < huin> malloc/free deadlock
19:35 -!- virtualsue [~chatzilla@nat/cisco/x-otacmrsmrpznhlnt] has quit [Quit:
ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]]
19:35 < huin> known bug last i heard.  hoped they'd fixed it, but i guess
not in the last weekly
19:40 < skelterjohn> hmm.  never had that problem
19:41 < skelterjohn> but i don't run godoc a lot
19:41 < skelterjohn> i use gortfm
19:45 -!- boscop [~boscop@f055206059.adsl.alicedsl.de] has joined #go-nuts
19:45 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
19:47 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Read error: Connection reset by peer]
19:48 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
19:48 < skelterjohn> nsf: is there a way to make gortfm generate docs for
$GOROOT/src/pkg *and* other places?
19:48 < nsf> no
19:48 < nsf> :D
19:49 < nsf> it's really a small tool
19:49 < nsf> the main purpose was: generate doc for a single package
19:49 < nsf> I did it for go lib unintentionally in a hacky way
19:49 < nsf> so..
19:49 < nsf> source are here, good luck :D
19:50 < nsf> sources*
19:50 < skelterjohn> :\
19:51 < skelterjohn> could it be something as simple as calling
"filepath.Walk(goroot, dirVisitor(outdir), nil)" except on different directories,
in stdlib()?
19:51 < nsf> stdlib in gortfm-util calls gortfm app many times
19:51 < nsf> you can write a ruby wrapper for example
19:52 < nsf> to do that as well
19:52 < skelterjohn> is that a no?
19:52 < nsf> (gortfm-util was written in ruby initially, but for the sake of
removing a dependency I've rewritten it)
19:52 < nsf> it is yes more likely
19:52 < nsf> but keep in mind that stdlib also generates index
19:52 < nsf> gortfm itself can't do that
19:54 < nsf> skelterjohn: the biggest problem: gortfm-util extracts
information about .go files using make
19:54 -!- mattn_jp [~mattn@112-68-74-106f1.hyg1.eonet.ne.jp] has quit [Quit:
Ex-Chat]
19:55 < skelterjohn> forked
19:55 < nsf> it does that like that: cp Makefile /tmp/tmpmake; echo
'printgofiles:\n\techo $GOFILES' >> /tmp/tmpmake
19:55 < nsf> somewhat like that
19:55 < nsf> I just add a rule to the makefile that prints $GOFILES
19:55 < nsf> gortfm tool expects the full list of package files as arguments
19:55 < nsf> and it dumps out a documentation for a single package, always
19:56 < nsf> so, you can easily make a wrapper that does all gortfm-util can
do
19:56 < nsf> and I would use ruby for that
19:56 < nsf> gortfm-util is in Go and it's ugly
19:56 < aiju> and expect everyone to have ruby installed
19:56 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
19:57 < nsf> well, that's why I did it in Go
19:57 < nsf> for aiju
19:57 < nsf> :)
19:57 < aiju> haha
19:57 < nsf> but if skelterjohn just needs something that works, ruby is a
perfect choice
19:57 < skelterjohn> no
19:57 < skelterjohn> it isn't
19:57 < nsf> for a wrapper
19:57 < skelterjohn> nope
19:57 < nsf> which basically a shell script
19:57 < skelterjohn> still no
19:57 < nsf> whatever
19:58 < skelterjohn> :) because i don't have ruby installed
19:58 < nsf> python then
19:58 < skelterjohn> alternatively: your face
19:58 < nsf> I really don't care, but I'm just trying to be helpful
19:58 < skelterjohn> hehe
20:01 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Ping timeout: 246 seconds]
20:02 -!- Nitro` [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined
#go-nuts
20:07 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
20:07 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
20:08 < skelterjohn> nsf: i found what causes that -n to appear
20:09 < nsf> and this is?
20:09 < skelterjohn> your rule gofiles is "@echo -n "$(TARG):$(GOFILES)""
20:09 < skelterjohn> -n must be getting absorbed into some kind of meaning
for your platform
20:09 < skelterjohn> and for mine it's just getting echoed
20:09 < nsf> I see
20:09 < nsf> -n means without newline
20:09 < skelterjohn> what is -n supposed to do?
20:09 < skelterjohn> when i run echo -n in a terminal it works like you say
20:10 < nsf> :\
20:10 < nsf> interesting
20:11 < skelterjohn> what if i trim the data returned by run()
20:11 < skelterjohn> would that mess anything up?
20:11 < nsf> I don't know
20:11 < nsf> :)
20:12 -!- clockworks [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has joined
#go-nuts
20:12 < nsf> I'm interested why this -n gets into the output
20:12 < nsf> it really shouldn't
20:12 < skelterjohn> *shrug*
20:12 < nsf> and note
20:12 < nsf> it gets into the output on some packages
20:12 < nsf> not everyone
20:13 < nsf> or it is on every package?
20:13 < nsf> is it*
20:13 -!- nixness [~dsc@78.100.206.29] has joined #go-nuts
20:14 < skelterjohn> it's every package
20:14 < skelterjohn> i made a pull request
20:15 < nsf> hm..
20:15 < nsf> oh, I will take a look at it tomorrow
20:15 < nsf> it's late here, I don't want to break anything :)
20:20 -!- boscop [~boscop@f055206059.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
20:23 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
20:29 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
20:39 -!- kr [~Keith@204.14.152.118] has joined #go-nuts
20:42 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts
20:43 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Ping timeout: 240 seconds]
20:48 < hopso> Is there a difference between "b := make([]uint8, 4)" and
"var b [4]uint8"?
20:49 < nsf> yes
20:49 < exch> yes
20:49 < nsf> but not that much
20:49 < exch> first is a slice.  second is a fixed size array
20:49 < nsf> and if you'll take a slice of that array you have a first 'b'
20:50 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
20:50 < nsf> :)
20:50 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
20:50 < hopso> So it doesn't matter which I use if I use only the 4 first
elements?
20:50 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Read error: Connection reset by peer]
20:50 < nsf> it depends
20:51 < nsf> on how you use it
20:51 < nsf> just use slice, it will work for sure
20:51 < KirkMcDonald> Arrays and slices are a little different.
20:53 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
20:53 < hopso> I use it like "b := make([]uint8, 4); s.Read(b[:]); return
binary.BigEndian.Uint32(b[:])"
20:53 < nsf> you don't have to do [:]
20:53 < nsf> with slice
20:53 < nsf> it is required for an array
20:53 < nsf> the thing is, in theory compiler can allocate array on the
stack
20:53 < nsf> and save one allocation for you
20:54 < nsf> which most likely won't change the weather anyway
20:54 < nsf> but since it doesn't do that for now
20:54 < nsf> it doesn't matter what you use
20:54 < nsf> array or slice
20:54 < nsf> it will move array to the heap when you're passing a slice of
it to a function
20:54 < hopso> Okies, so I'll just use the make method.  Looks nicer to me.
20:56 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net]
has quit [Ping timeout: 241 seconds]
20:57 < yiyus> niemeyer: are you around?
20:57 < niemeyer> yiyus: Yep
20:58 < yiyus> i think i did not understand you well
20:58 -!- rlab [~Miranda@14-138-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
20:59 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
20:59 < yiyus> so, your idea is that package authors have to always use
weekly.* and release.* tags in their projects, independently of go releases?
21:01 < niemeyer> yiyus: I'm fleshing out a more clearly written proposal
now
21:01 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts
21:01 < niemeyer> yiyus: But basically, yes, it would get a dated tag, and
the tag used by goinstall would be the one <= to the tag from the running
compiler
21:01 < yiyus> ok, i will wait to read that proposal
21:03 < yiyus> i don't think impossing so much is necessary, but maybe i'm
just missing somethig...
21:03 * nsf hates conventions
21:04 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
21:04 < niemeyer> nsf: I hate convention haters
21:05 < nsf> :)
21:05 < niemeyer> nsf: But only on odd days..  on even days it's alright
21:05 < nsf> I hate convention hater haters on even days
21:05 < nsf> lol
21:06 < TheMue> Maybe it's the right time to hate convention hater haters.
21:06 < niemeyer> TheMue: Oh, I love those
21:07 < TheMue> niemeyer: Hehe
21:08 -!- pothos_ [~pothos@111-240-169-22.dynamic.hinet.net] has joined #go-nuts
21:09 -!- tvw [~tv@89.204.137.144] has quit [Remote host closed the connection]
21:09 -!- pothos [~pothos@111-240-167-237.dynamic.hinet.net] has quit [Ping
timeout: 240 seconds]
21:09 < jnwhiteh> hrm
21:09 < jnwhiteh> could we have a convention for convention hater haters?
21:09 < jnwhiteh> or would that be taking things too far?  =)
21:10 -!- Glasswalker
[~Glasswalk@CPE005056ad47df-CM001225e00d58.cpe.net.cable.rogers.com] has quit
[Ping timeout: 252 seconds]
21:10 < nsf> jnwhiteh: we could, they don't hate conventions, so..
everything seems right
21:10 < nsf> :D
21:10 < jnwhiteh> I vote for Europe :P
21:11 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
21:11 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
21:11 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 276 seconds]
21:12 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Client
Quit]
21:13 < TheMue> jnwhiteh: +1 LIKE
21:13 -!- artefon [~thiago@187.59.187.85] has joined #go-nuts
21:13 < aiju> fuck conventions
21:13 < aiju> write code instead
21:14 < TheMue> aiju: Have good conventions (with a nice evening program)
and write good code too.
21:17 -!- awidegreen [~quassel@c-cfc5e555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
21:21 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
21:22 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Remote host closed the connection]
21:22 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
21:22 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
21:24 < niemeyer> yiyus:
http://groups.google.com/group/golang-dev/t/2b8bd6cf25d87a95#
21:24 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined
#go-nuts
21:25 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection]
21:32 < yiyus> niemeyer: the problem i see what your proposal is that it
doesn't consider packages upgrades independent from go releases
21:32 < niemeyer> yiyus: What's the issue there?
21:32 < yiyus> if the author of package B adds a new feature, he will have
to retag
21:33 -!- TheMue [~TheMue@p5DDF7BD0.dip.t-dialin.net] has quit [Quit: TheMue]
21:33 < niemeyer> yiyus: Yes, that is the case today as well, and will
always be the case no matter what
21:34 < yiyus> if he makes 10 commits between 05-01 and 05-08 (bugfixes, new
features, whatever) he will have to tag every commit
21:34 < yiyus> no, you could just install the last one available
21:34 -!- dfc [~dfc@124-168-144-226.dyn.iinet.net.au] has joined #go-nuts
21:35 < yiyus> in your example, if go release is 05-01 you would install the
last commit before the one tagged 05-08
21:36 -!- reds [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote
host closed the connection]
21:36 -!- bortzmeyer [~stephane@lan31-2-82-224-72-72.fbx.proxad.net] has quit
[Ping timeout: 240 seconds]
21:36 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Remote host
closed the connection]
21:38 < niemeyer> yiyus: That's not what tags are used for..  tags don't
mean "install whatever is after that point but before the next point"
21:38 < niemeyer> yiyus: So yes, people have to do it now, and they will
still have to do it
21:39 < yiyus> you could install only tags
21:39 < yiyus> but i don't think requiring everybody to tag their projects
as go releases is a nice thing to do
21:40 < yiyus> neither are tags an indication of the version of the language
that software was written for
21:40 < niemeyer> yiyus: Tags indicate something about that specific
revision, yes
21:41 < niemeyer> yiyus: In the convention being proposed they indicate
compatibility with a release of Go
21:41 < niemeyer> yiyus: So there's nothing strange in that camp, at least
21:41 < yiyus> what if i'm using more than a language in my project
21:42 < yiyus> should i tag every release of my software for every language
21:42 < yiyus> ?
21:42 < niemeyer> yiyus: You can do whatever you want with your tags
21:42 < niemeyer> yiyus: I'm proposing a convention which goinstall will
look for, specifically
21:42 < pTonnerre> Yes, one release for Go, one for C, one for Java, ...
21:42 < yiyus> yes, but a programming language should imposse as few as
possible on how i use them
21:43 < niemeyer> yiyus: The programming language isn't imposing anything at
all
21:43 < niemeyer> yiyus: This is a convention being suggested for the
goinstall tool specifically
21:43 -!- KBme [~KBme@2001:470:1f13:94::3] has quit [Remote host closed the
connection]
21:44 < niemeyer> yiyus: and if you don't care about having users able to
use your packages in a more stable way, you don't even have to follow that one
21:44 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Read error:
Operation timed out]
21:44 < yiyus> who said i don't care?
21:44 -!- huin [~huin@91.84.99.134] has quit [Quit: time for bed, said zebedee]
21:45 < yiyus> i don't see what's the problem with what i proposed, except
that you don't consider that the canonical use of tags
21:47 < yiyus> you can start looking for the right tag from the begining, as
you propose, or from the end, as i do
21:48 < yiyus> it doesn't make anything more inestable or unconventional
21:49 -!- KBme [~KBme@2001:470:1f13:94::3] has joined #go-nuts
21:52 < plexdev> http://is.gd/ZoyY7i by [Robert Griesemer] in go/doc/ -- go
spec: attempt at clarifying language for "append"
21:56 -!- gtaylor [~gtaylor@99-126-136-139.lightspeed.gnvlsc.sbcglobal.net] has
quit [Quit: gtaylor]
21:58 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts
22:00 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has quit [Quit:
Leaving.]
22:00 < niemeyer> yiyus: A tag says something about the tagged version.
Hardly anyone will disagree with that.
22:02 -!- dfc [~dfc@124-168-144-226.dyn.iinet.net.au] has quit [Quit: dfc]
22:06 < yiyus> niemeyer: ok, so?
22:06 -!- boscop [~boscop@f055206059.adsl.alicedsl.de] has joined #go-nuts
22:06 < yiyus> cannot it mean "from here on we are using go version ..."?
22:06 < yiyus> instead, in your scheme, it means: "until here, we have used
go version ..."
22:07 < niemeyer> yiyus: No, it can't, because there's no correct definition
of "on"
22:07 < jnwhiteh> there is no chronology to tags...
22:07 < jnwhiteh> so it doesn't mean either of those
22:07 < niemeyer> yiyus: No, it doesn't..  in my scheme, it means *this
tagged version is compatible with Go 2011-03-15"
22:07 < niemeyer> yiyus: It won't pick anything in between tags and guess
it's meaning
22:08 < niemeyer> s/it's/its/
22:08 -!- ExtraSpice [XtraSpice@88.118.35.153] has quit [Remote host closed the
connection]
22:08 < jnwhiteh> niemeyer: good, I'm glad we understand each other =)
22:09 < yiyus> tags have a very well defined order in hg, don't they in
other version control systems?
22:09 < niemeyer> jnwhiteh: Yeah, I won't suggest reinventing branches on
top of tags, don't worry ;-)
22:10 < jnwhiteh> yiyus: a tag is named pointer to a given commit in both hg
and git
22:10 < jnwhiteh> the *commits* may have an order
22:10 < jnwhiteh> but that doesn't mean the tags do
22:10 < jnwhiteh> and either way, that isn't relevant to what niemeyer is
suggesting, as I understand it.
22:11 < niemeyer> Right
22:11 < jnwhiteh> all this does is use the name of the tag as metadata to
indicate which version of Go the package is compatible with
22:13 < yiyus> my point is that if you can order tags, you don't need to add
metadata to all of them
22:13 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
22:14 < yiyus> but now is not clear to me i fyou can order them or not
22:14 < jnwhiteh> with diverging branches, you can't order them with any
meaning =)
22:15 < jnwhiteh> in a simple linear project, you can
22:18 < yiyus> i'd prefer impossing simple linear projects that retagging
everything to the go version, but both solutions are really bad from my point of
view
22:18 < jnwhiteh> there's no 're-tagging'
22:18 < jnwhiteh> I'm not sure why you keep saying that
22:19 < yiyus> every bugfix or release of my package will have to be tagged
"go.bla-bla-bla" to be goinstallable
22:19 < jnwhiteh> no
22:19 < jnwhiteh> that's just patently false
22:19 < yiyus> uhm?
22:19 < pTonnerre> BTW, did someone fix the codesearch.google.com unit test?
22:19 < yiyus> how do you do it then?
22:20 < jnwhiteh> I'm not saying the proposed system is perfect, but it
degrades fine.  If you don't opt in, you keep the current behaviour which is
basically 'crap doesn't work'.  If you do choose to tag your release versions, as
you move forward, then you'll enable users with different versions of Go to
install your packages.
22:20 < jnwhiteh> Did you even read the post?
22:20 < yiyus> yes, i did
22:20 < jnwhiteh> okay, then I'm confused
22:21 < jnwhiteh> (that was not aggressive, I wanted to make sure we were on
the same page)
22:21 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:22 < yiyus> if it does not have a tag of the form go.current it will
fallback to a version tagged go.previous, iiuc
22:22 < yiyus> so, once i tag a commit as go.whatever, i have to keep doing
it or that is the version that will be installed
22:23 < jnwhiteh> That's not entirely clear to me but I think that's
correct.  I'm not sure that's the right behaviour for the tool.
22:23 < jnwhiteh> its not an easy problem =)
22:24 < yiyus> no, it is not easy at all
22:24 < jnwhiteh> the goal is to be able to hg update <tag> for Go and
then be able to goinstall packages
22:24 < niemeyer> yiyus: Yes, in the same way that when you create a tarball
for your project, people will continue using the tarball until you release another
one saying "Here, that's good for you now."
22:24 < jnwhiteh> and I'm not sure of the best way to do that
22:24 < jnwhiteh> niemeyer: but there's no option to say 'use HEAD"
22:24 < jnwhiteh> other than manually
22:24 < jnwhiteh> that's the bit that's missing for me =/
22:25 < niemeyer> jnwhiteh: If you're using the tip of Go, these tags should
be ignored
22:25 < yiyus> niemeyer: my problem is i cannot chose the name of that
tarball, i have to name it go.bla-bla-bla, and i think that is a too strong
requirement
22:26 < jnwhiteh> i.e.  if I have a package, tagged against two weeklies ago
then any changes I make in HEAD won't be visible to any of my users other than
those who are using a version PRIOR to when I started tagging that way..  which
seems quite confusing to me =)
22:26 < yiyus> which i'm discovering could be needed, but i don't think you
can expect it to be followed
22:26 < jnwhiteh> ah, it wasn't clear that they were ignored when using tip
22:27 < jnwhiteh> Rob's point is real tho =)
22:27 < jnwhiteh> and if I can have the freedom to name my own tags and
still provide the metadata, I would consider that a major win.
22:28 < niemeyer> yiyus: Yeah, you can't choose the name of the tarball
because it has semantic meaning in the system.
22:28 < jnwhiteh> does hg have annotated tags?
22:29 < jnwhiteh> ah that doesn't help..  blarg.
22:29 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
22:30 < jnwhiteh> I was thinking a .goinstall file with mappings (in HEAD)
could work..  but that means dirtying your main history with mapping commits on
top of the tagging =
22:30 < str1ngs> I rather goinstall be more branch aware then even more tag
aware.  There should be less work into promoting weekly.  the end prize should be
release.
22:30 < niemeyer> str1ngs: The problem is exactly the same in both
situations
22:30 < str1ngs> not really
22:30 < niemeyer> str1ngs: One happens every week, the other every month or
so
22:31 < str1ngs> not every one wants to mantain weekly tags.  and I don't
blame them
22:31 < yiyus> i think in the long term there will be more time between
releases, and they will be less agressive changes
22:32 < str1ngs> and if they do I rather have a weekly branch then tags
galour
22:34 < str1ngs> goinstall -branch=devel is more useful then making sure
users can install things based on there current checkout.  they should be atleast
using release, or encouraged to use it.
22:41 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
22:53 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has quit [Remote host
closed the connection]
22:53 -!- fmoo [~Adium@66.220.144.74] has quit [Read error: Connection reset by
peer]
22:55 -!- dchest [~dchest@78.155.49.42] has joined #go-nuts
22:55 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts
22:57 < dchest> There needs to be math.Min and math.Max -->
http://golang.org/search?q=min
22:59 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
23:05 -!- prip [~foo@host188-121-dynamic.42-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 240 seconds]
23:06 -!- fmoo [~Adium@66.220.144.74] has quit [Quit: Leaving.]
23:08 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
23:10 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts
23:12 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
23:17 -!- prip [~foo@host188-121-dynamic.42-79-r.retail.telecomitalia.it] has
joined #go-nuts
23:22 -!- m4dh4tt3r1
[~Adium@75.144.24.109-BusName-walnutcreek.ca.hfc.comcastbusiness.net] has quit
[Quit: Leaving.]
23:24 -!- venk [~user@203.111.33.203] has quit [Remote host closed the connection]
23:24 -!- iant [~iant@nat/google/x-ufcyvjtjoexqyvjf] has quit [Read error:
Connection reset by peer]
23:24 -!- Pie`` [pie@kjal.demon.co.uk] has quit [Ping timeout: 264 seconds]
23:25 -!- vpit3833 [~user@203.111.33.203] has joined #go-nuts
23:28 -!- Scorchin [~Scorchin@host86-145-18-9.range86-145.btcentralplus.com] has
quit [Quit: Scorchin]
23:32 -!- iant [~iant@nat/google/x-bzomspwovkqmhpyn] has joined #go-nuts
23:32 -!- mode/#go-nuts [+v iant] by ChanServ
23:33 -!- iant1 [~iant@66.109.105.216] has joined #go-nuts
23:34 -!- m4dh4tt3r [~Adium@157.sub-75-210-182.myvzw.com] has joined #go-nuts
23:37 -!- iant [~iant@nat/google/x-bzomspwovkqmhpyn] has quit [Ping timeout: 260
seconds]
23:38 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Quit: JusticeFries]
23:41 -!- mode/#go-nuts [+v iant] by ChanServ
23:47 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 258 seconds]
23:52 -!- kr [~Keith@204.14.152.118] has quit [Read error: Connection reset by
peer]
23:53 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
23:53 -!- kr [~Keith@204.14.152.118] has joined #go-nuts
23:56 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has joined
#go-nuts
23:57 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
23:57 -!- FluffySauce [~FluffySau@c-24-126-60-239.hsd1.md.comcast.net] has quit
[Quit: FluffySauce]
--- Log closed Wed Apr 20 00:00:50 2011