--- Log opened Sun Nov 28 00:00:18 2010
--- Day changed Sun Nov 28 2010
00:00 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
00:09 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
joined #go-nuts
00:10 -!- tobik [~tobik@p54897F93.dip.t-dialin.net] has quit [Quit: WeeChat 0.3.3]
00:12 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
left #go-nuts []
00:25 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds]
00:25 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
00:32 -!- Slix` [~slix@c-67-173-175-181.hsd1.il.comcast.net] has joined #go-nuts
00:32 < Slix`> Hi o_o
00:34 -!- papna [~mike@python/site-packages/papna] has quit [Read error:
Connection reset by peer]
00:36 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
00:36 -!- ath_ [ath@omega.lambda.fi] has quit [Ping timeout: 245 seconds]
00:37 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 245
seconds]
00:37 -!- Erzwurm [~archwyrm@archwyrm.net] has joined #go-nuts
00:37 -!- djcapeli1 [~djc@capelis.dj] has joined #go-nuts
00:37 -!- djcapeli1 [~djc@capelis.dj] has quit [Changing host]
00:37 -!- djcapeli1 [~djc@blender/coder/DJCapelis] has joined #go-nuts
00:38 -!- Slix`` [~slix@c-67-173-175-181.hsd1.il.comcast.net] has joined #go-nuts
00:38 -!- mpl_ [~mpl@smgl.fr.eu.org] has joined #go-nuts
00:38 -!- ath [ath@omega.lambda.fi] has joined #go-nuts
00:38 -!- devrim1 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Ping
timeout: 245 seconds]
00:38 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
00:38 -!- Slix` [~slix@c-67-173-175-181.hsd1.il.comcast.net] has quit [Read error:
Connection reset by peer]
00:38 < rphillips> is there an epub of the go package docs?
00:38 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Quit:
Leaving.]
00:39 -!- djcapelis [~djc@blender/coder/DJCapelis] has quit [Write error: Broken
pipe]
00:39 -!- willdye [~willdye@fern.dsndata.com] has quit [Write error: Connection
reset by peer]
00:39 -!- mpl [~mpl@smgl.fr.eu.org] has quit [Write error: Connection reset by
peer]
00:39 -!- Archwyrm [~archwyrm@archwyrm.net] has quit [Write error: Broken pipe]
00:39 -!- pjm0616 [~user@110.9.28.120] has quit [Ping timeout: 260 seconds]
00:39 -!- drry [~drry@unaffiliated/drry] has quit [Ping timeout: 260 seconds]
00:39 -!- prip [~foo@host166-123-dynamic.32-79-r.retail.telecomitalia.it] has quit
[Excess Flood]
00:39 -!- pjm0616 [~user@110.9.28.120] has joined #go-nuts
00:39 -!- TheSaint [~thesaint@166.205.10.111] has joined #go-nuts
00:39 -!- prip [~foo@host166-123-dynamic.32-79-r.retail.telecomitalia.it] has
joined #go-nuts
00:39 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
00:39 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts
00:40 -!- devrim2 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
00:46 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
00:53 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Read
error: No route to host]
00:56 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
01:01 -!- drry_ [~drry@unaffiliated/drry] has joined #go-nuts
01:03 -!- drry [~drry@unaffiliated/drry] has quit [Ping timeout: 264 seconds]
01:04 -!- StevenGoNuts
[~StevenGoN@CPE0012170daeec-CM00195ed96da8.cpe.net.cable.rogers.com] has joined
#go-nuts
01:10 -!- BeyBar [~Tommy@217-208-191-156-o871.telia.com] has left #go-nuts []
01:16 -!- SteveMcQwark
[~steven@CPE0012170daeec-CM00195ed96da8.cpe.net.cable.rogers.com] has joined
#go-nuts
01:18 -!- StevenGoNuts
[~StevenGoN@CPE0012170daeec-CM00195ed96da8.cpe.net.cable.rogers.com] has left
#go-nuts []
01:18 -!- SteveMcQwark
[~steven@CPE0012170daeec-CM00195ed96da8.cpe.net.cable.rogers.com] has quit [Client
Quit]
01:22 -!- Project-2501 [~Marvin@82.84.79.101] has quit [Quit: E se abbasso questa
leva che succ...]
01:26 < krutcha> is the slice equivalent of mystr = "" (ie to reset the
slice to 0 size) to do myslice = []type{} ?
01:27 < krutcha> and does that free the underlying array, or leave it at
whatever size it's grown to through various append() calls up to that point?
01:31 < exch> It creates a new slice/array
01:32 < exch> the old one is presumanly marked for garbage collection,
provided it's not used elsewhere
01:32 -!- watr_ [~watr@66.183.100.58] has joined #go-nuts
01:34 < Namegduf> string does the same, roughly
01:34 < exch> If you want to prevent a new allocation and just set the len()
to 0, you can do: myslice = myslice[:0]
01:34 < Namegduf> Actually
01:34 < Namegduf> Why not just set the slice to nil?
01:34 < Namegduf> nil is the equivalent of "", roughly.
01:34 < exch> that makes the pointer nil and marks it for GC as well..
Reusing it afterwards will still do a new allocation
01:35 < Namegduf> Yes, it will.
01:58 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has quit [Ping
timeout: 276 seconds]
01:59 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts
02:00 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has joined #go-nuts
02:05 -!- TheSaint [~thesaint@166.205.10.111] has quit [Quit: Colloquy for iPhone
- http://colloquy.mobi]
02:30 -!- rbraley_ [~rbraley@ip72-222-135-139.ph.ph.cox.net] has joined #go-nuts
02:44 -!- shvntr [~shvntr@116.26.130.118] has joined #go-nuts
02:51 -!- rbraley_ [~rbraley@ip72-222-135-139.ph.ph.cox.net] has quit [Ping
timeout: 240 seconds]
02:52 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has quit [Ping
timeout: 260 seconds]
02:57 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Quit: Leaving.]
02:57 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
03:05 -!- rbraley_ [~rbraley@ip72-222-132-115.ph.ph.cox.net] has joined #go-nuts
03:22 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 265 seconds]
03:25 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has joined
#go-nuts
03:29 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has quit
[Client Quit]
04:04 -!- ios_ [~ios@180.191.95.31] has joined #go-nuts
04:30 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined
#go-nuts
04:31 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:41 -!- devrim2 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
04:44 -!- devrim1 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
04:49 -!- mbohun [~user@ppp115-156.static.internode.on.net] has joined #go-nuts
04:57 -!- devrim1 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Read error:
Connection reset by peer]
04:57 -!- devrim1 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
04:58 -!- devrim1 [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Client
Quit]
04:59 -!- wrtp [~rog@212.183.140.4] has joined #go-nuts
05:14 -!- cco3 [~conley@ip70-187-142-199.oc.oc.cox.net] has joined #go-nuts
05:28 -!- wrtp [~rog@212.183.140.4] has quit [Quit: wrtp]
05:29 -!- noktoborus__ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
05:30 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
05:38 -!- piyushmishra [~piyushmis@117.200.229.81] has joined #go-nuts
05:57 -!- noktoborus__ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
05:59 -!- cco3 [~conley@ip70-187-142-199.oc.oc.cox.net] has quit [Ping timeout:
240 seconds]
05:59 -!- noktoborus__ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
06:47 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
06:51 -!- shvntr [~shvntr@116.26.130.118] has quit [Quit: leaving]
06:53 -!- thebarberian [~maznio@bas2-streetsville39-2925218263.dsl.bell.ca] has
joined #go-nuts
06:54 < thebarberian> What is the best mysql library for go?
06:54 < thebarberian> I mean 1) stable 2) performance 3) features at the
least important
06:56 < thebarberian> has anyone tried all the mysql implementations?
06:57 -!- Slix`` [~slix@c-67-173-175-181.hsd1.il.comcast.net] has quit [Read
error: Connection reset by peer]
07:32 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit
[Remote host closed the connection]
07:34 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined
#go-nuts
07:37 -!- illya77 [~illya77@12-44-133-95.pool.ukrtel.net] has joined #go-nuts
07:39 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
07:48 -!- ios_ [~ios@180.191.95.31] has quit [Quit: Leaving]
07:54 -!- piyushmishra [~piyushmis@117.200.229.81] has quit [Quit: Leaving.]
08:03 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:11 -!- rbraley_ [~rbraley@ip72-222-132-115.ph.ph.cox.net] has quit [Ping
timeout: 255 seconds]
08:21 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
08:21 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:21 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
08:21 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
08:30 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
08:35 -!- awidegreen [~quassel@p5DF1E539.dip.t-dialin.net] has joined #go-nuts
08:43 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
08:58 -!- illya77 [~illya77@12-44-133-95.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
08:58 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:59 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245
seconds]
09:01 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
09:03 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has joined
#go-nuts
09:04 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
09:05 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
09:06 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
09:19 -!- vomjom [~vomjom@99-162-150-88.lightspeed.sntcca.sbcglobal.net] has quit
[Remote host closed the connection]
09:23 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
09:27 -!- thebarberian [~maznio@bas2-streetsville39-2925218263.dsl.bell.ca] has
quit [Quit: Leaving.]
09:27 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 250
seconds]
09:28 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
09:32 -!- suiside [~suiside@unaffiliated/suiside] has quit [Client Quit]
09:35 -!- shvntr [~shvntr@116.26.130.118] has joined #go-nuts
09:39 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
09:53 -!- beneth`_ [~beneth`@ks358244.kimsufi.com] has joined #go-nuts
09:53 -!- Xenith_ [~xenith@2001:470:1:9:8002::1] has joined #go-nuts
09:53 -!- Rennex_ [rennex@giraf.fi] has joined #go-nuts
09:53 -!- Innomina- [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has joined
#go-nuts
09:53 -!- iTonnerre [tonnerre@netbsd/developer/tonnerre] has joined #go-nuts
09:54 -!- moraes_ [~moraes@187.39.149.135] has joined #go-nuts
09:54 -!- Gertm` [~Gertm@d51A45118.access.telenet.be] has joined #go-nuts
09:56 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
09:56 < adu> hi
09:56 -!- beneth` [~beneth`@ks358244.kimsufi.com] has quit [Ping timeout: 240
seconds]
09:56 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has quit [Ping
timeout: 240 seconds]
09:56 -!- Gertm [~Gertm@d51A45118.access.telenet.be] has quit [Ping timeout: 240
seconds]
09:56 -!- moraes [~moraes@187.39.149.135] has quit [Ping timeout: 240 seconds]
09:56 -!- Xenith [~xenith@2001:470:1:9:8002::1] has quit [Ping timeout: 272
seconds]
09:56 -!- Rennex [rennex@giraf.fi] has quit [Ping timeout: 272 seconds]
09:56 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has quit [Ping timeout:
272 seconds]
09:56 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240
seconds]
09:57 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:59 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
10:02 -!- Netsplit *.net <-> *.split quits: napsy
10:02 -!- sauerbraten [~sauerbrat@p508CFDE3.dip.t-dialin.net] has joined #go-nuts
10:02 -!- mbohun [~user@ppp115-156.static.internode.on.net] has quit [Ping
timeout: 240 seconds]
10:03 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 264 seconds]
10:05 -!- DerHorst [~Horst@e176098106.adsl.alicedsl.de] has joined #go-nuts
10:26 -!- Maxdamantus [~Maxdamant@203-97-238-106.cable.telstraclear.net] has quit
[Ping timeout: 252 seconds]
10:26 -!- niekie [quasselcor@CAcert/Assurer/niekie] has joined #go-nuts
10:34 -!- sauerbraten_ [~sauerbrat@p508CFDE3.dip.t-dialin.net] has joined #go-nuts
10:34 -!- sauerbraten_ [~sauerbrat@p508CFDE3.dip.t-dialin.net] has quit [Client
Quit]
10:35 -!- sauerbraten_ [~sauerbrat@p508CFDE3.dip.t-dialin.net] has joined #go-nuts
10:37 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts
10:39 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Operation timed out]
10:49 -!- sauerbraten [~sauerbrat@p508CFDE3.dip.t-dialin.net] has quit [Remote
host closed the connection]
10:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:00 -!- Project_2501 [~Marvin@82.84.79.101] has joined #go-nuts
11:01 -!- shvntr [~shvntr@116.26.130.118] has quit [Quit: leaving]
11:05 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has quit [Quit:
Leaving]
11:06 -!- awidegreen [~quassel@p5DF1E539.dip.t-dialin.net] has quit [Remote host
closed the connection]
11:09 -!- Maxdamantus [~Maxdamant@203.97.238.106] has joined #go-nuts
11:11 -!- yihuang [~yihuang@183.17.174.177] has joined #go-nuts
11:11 -!- yihuang [~yihuang@183.17.174.177] has left #go-nuts []
11:12 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
11:22 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
11:23 -!- wrtp [~rog@212.183.140.4] has joined #go-nuts
11:29 < nsf> http://brendaneich.com/2010/11/paren-free/
11:30 < nsf> javascript creator wants Go syntax :)
11:33 < madari_> yea I read that too
11:33 < madari_> good advertisement :)
11:33 < nsf> yeah
11:34 < nsf> the next step: var i = 0 ===> i := 0
11:34 < nsf> :D
11:35 < nsf> Go's ':=' is amazing as well
11:43 < madari_> agreed
12:01 < Gertm> ugh, I always forget the ideomatic way to convert []byte to
string..  someone help me out?  :)
12:02 < nsf> var bytes []byte
12:02 < nsf> str := string(bytes)
12:02 < Gertm> it's too simple!  that's why I keep forgetting it :D
12:02 < Gertm> thanks nsf
12:03 < nsf> np
12:03 -!- piyushmishra [~piyushmis@117.200.229.11] has joined #go-nuts
12:06 -!- wrtp [~rog@212.183.140.4] has quit [Read error: Connection reset by
peer]
12:16 -!- wrtp [~rog@212.183.140.4] has joined #go-nuts
12:46 -!- wrtp [~rog@212.183.140.4] has quit [Quit: wrtp]
13:04 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Remote host
closed the connection]
13:08 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
13:08 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
13:09 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts
13:15 -!- piyushmishra [~piyushmis@117.200.229.11] has quit [Ping timeout: 260
seconds]
13:23 -!- alc [~arx@222.128.138.218] has joined #go-nuts
14:08 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has joined
#go-nuts
14:12 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit:
adu]
14:14 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined
#go-nuts
14:20 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit:
adu]
14:21 -!- artefon [~thiago@189.59.165.171] has joined #go-nuts
14:25 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 276 seconds]
14:26 -!- noam [noam@77.126.219.215] has joined #go-nuts
14:30 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has quit
[Quit: skelterjohn]
14:32 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Quit:
Leaving.]
14:36 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
14:36 -!- g0bl1n [~g0blin@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
14:45 -!- artefon [~thiago@189.59.165.171] has quit [Remote host closed the
connection]
14:46 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
14:46 -!- noam [noam@77.126.219.215] has joined #go-nuts
14:47 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
14:54 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
14:54 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
14:54 -!- noam [noam@77.126.219.215] has joined #go-nuts
14:57 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:58 -!- g0bl1n [~g0blin@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n]
15:06 -!- SRabbelier [~SRabbelie@188.142.63.148] has quit [Ping timeout: 240
seconds]
15:22 -!- kanru1 [~kanru@61-228-156-180.dynamic.hinet.net] has quit [Ping timeout:
245 seconds]
15:43 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
16:11 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
16:32 -!- alc [~arx@222.128.138.218] has quit [Remote host closed the connection]
16:33 < dho> Gertm: note that if your []byte contains multiple \0s, those
will be part of the string as well.
16:33 < dho> e.g.  "foo", "foo\0" and "foo\0\0
16:33 < dho> " are all different strings
16:41 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 245 seconds]
16:44 < Gertm> dho: yea I specify the slice I know to be correct.  (
bytes[0:n] where n=nr of bytes received)
16:47 < dho> good deal :)
16:48 -!- noam [noam@77.126.219.215] has joined #go-nuts
17:05 -!- tav [~tav@92.7.119.86] has joined #go-nuts
17:05 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
17:10 -!- rbraley [~rbraley@ip72-222-135-139.ph.ph.cox.net] has joined #go-nuts
17:11 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
17:14 -!- photron [~photron@port-92-201-161-244.dynamic.qsc.de] has joined
#go-nuts
17:18 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
17:18 -!- noam [noam@77.126.219.215] has joined #go-nuts
17:19 < fenicks> hello
17:21 < cbeck1> howdy
17:22 < exch> lo
17:23 < KBme> nsf: what did you say caused the memory leaks in gocode?
17:42 -!- gr0gmint [~quassel@87.60.23.38] has quit [Remote host closed the
connection]
17:49 -!- watr_ [~watr@66.183.100.58] has joined #go-nuts
17:51 < nsf> KBme: it weren't memory leaks
17:51 < nsf> just a very bad GC behaviour
17:51 < nsf> it eats up to 400 megs of memory
17:51 < nsf> and most of it is not used
17:52 < Tv> 400MB is nothing, i watch JVMs eat 4GB all the time..
17:52 < nsf> well yeah
17:52 < Tv> (and yes i hope go will never be that bad..)
17:53 < nsf> I hate that
17:53 < nsf> for example what if I want to write some kind of a tiny desktop
app
17:53 < nsf> like a panel
17:53 < nsf> and after few days of work it will eat 100 megs of mem
17:53 < nsf> it isn't acceptable
17:54 < Tv> yeah
17:54 < Tv> not like it wouldn't have ran the gc in those few days
17:54 < nsf> yes
17:54 < Tonnerre> Tv, in fact among the first things a JVM does, even before
parsing its parameters, is to mmap 2GB of RAM
17:54 < Tv> Tonnerre: considering that JVM is unable to mmap more than 2GB,
that's fairly appropriate ;)
17:55 < Tv> but mmap != consumed
17:55 < Tonnerre> Tv, I noticed that because I debugged why it exceeded my
512MB -d rlimit on NetBSD ;)
17:55 < Tv> or my 300GB mmaped varnish installations would be quite a
clusterfuck ;)
17:55 < Tonnerre> Tv, I know
17:56 -!- tvw [~tv@e176005121.adsl.alicedsl.de] has joined #go-nuts
17:58 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
17:58 -!- noam [noam@77.126.219.215] has joined #go-nuts
17:58 < cde> Tonnerre: has Go been ported to NetBSD?
17:59 < skelterjohn> it's been ported to at least one bsd
18:00 < skelterjohn> aren't they all basically the same thing?
18:00 < nsf> the free one
18:00 * skelterjohn opens up a bag of popcorn
18:00 < nsf> no they aren't
18:00 < cbeck1> hehehe
18:01 < Tv> i heard someone use it on OS X, that's a BSD right?
18:01 < Tv> *cough*
18:01 < nsf> :)
18:01 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
18:01 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
18:02 < skelterjohn> oh yeah - i have a mac.  i should put the bsd devil as
my desktop image, to show solidarity with all the other BSD users out there
18:06 < Tv> i just got a new macbook air yesterday -- it runs ubuntu just
fine ;)
18:07 < cbeck1> Rage moment of this quarter: Hearing a CS Junior refer to
ubuntu as ubantoo repeatedly and without sarcasm
18:08 < skelterjohn> some things just aren't worth getting riled over
18:09 < cbeck> Eh, probably not, it was more of a last straw thing
18:09 < skelterjohn> did he also claim that it was obvious that P =!= NP,
since "polynomial is clearly not "not polynomial"?
18:09 < skelterjohn> that's a forehead slapper i sometimes get
18:09 < cbeck> Oye
18:13 < skelterjohn> of coures, it's something i might well have said before
i learned about what was really going on :)
18:29 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 240 seconds]
18:48 -!- napsy [~luka@88.200.96.18] has quit [Read error: Operation timed out]
18:56 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
19:02 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Remote host
closed the connection]
19:03 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
19:03 < KBme> nsf: right, memory is never freed so your memory usage will
end up being the maximum memory usage you've had
19:03 < KBme> that does suck..
19:03 < nsf> exactly
19:04 < nsf> :|
19:09 -!- sauerbraten [~sauerbrat@p508CFDE3.dip.t-dialin.net] has quit [Quit:
Leaving]
19:10 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts
19:12 -!- sauerbraten [~sauerbrat@p508CFDE3.dip.t-dialin.net] has joined #go-nuts
19:17 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
joined #go-nuts
19:19 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit:
Leaving]
19:23 < KBme> anyone know what happens when a channel is full?
19:23 < KBme> everything that tries to send on it is blocked?
19:23 < nsf> it blocks
19:23 < nsf> yeah
19:23 < nsf> but you can use unblocked send
19:23 < nsf> ok := ch <- value
19:23 < KBme> i'm getting throw: too many operations on a closed channel
19:23 < KBme> yeah
19:24 < KBme> but i'm not sure that's my proble
19:24 < KBme> +m
19:24 < nsf> hm..  I don't know then
19:25 < ajstarks> have there been any issues with building gccgo on Mac OS
10.6?
19:25 < KBme> yeah...tough.  i have 10 goroutines going too
19:25 < KBme> it's gonna be hairy to debug..
19:26 < cbeck> Are you explicitly closing the channel anywhere?
19:29 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
19:30 -!- noam [noam@77.126.219.215] has joined #go-nuts
19:30 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:33 < KBme> er
19:35 < KBme> what happens when I close a channel a ticker is ticking on?
19:35 < KBme> what's the usual way to deal with this sort of issu?  since i
can't kill the ticker, i'm guessing it'll panic when the ticker ticks.
19:36 < nsf> what's the ticker?
19:36 < nsf> time.Ticker?
19:36 < nsf> or yours?
19:37 < KBme> no, time.Ticker
19:37 < nsf> you can stop it
19:37 < nsf> it has a method
19:37 < KBme> ah
19:37 < nsf> http://nsf.github.com/go/time.html?m:Ticker.Stop!
19:38 < KBme> still, i don't think that's it since the tick is for 5
seconds, and the app crashes 40 minutes into testing
19:42 < KBme> lemme see again
19:45 < nsf> well, to me it's pretty clear
19:46 < nsf> go's runtime complains about too many operations on a closed
channel
19:46 < nsf> then you're closing a channel while it is being used
19:46 < KBme> and the first goroutine says something about tick.go so it
might be that
19:47 < KBme> I changed the tickers to use the NewTicker and ticker.Stop()
methods, we'll see
19:49 -!- TheMue [~TheMue@p5DDF730F.dip.t-dialin.net] has joined #go-nuts
20:10 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined
#go-nuts
20:15 -!- ShadowIce`
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
20:15 -!- ShadowIce`
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
20:15 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
20:16 -!- Project-2501 [~Marvin@82.84.79.101] has joined #go-nuts
20:16 -!- tvw [~tv@e176005121.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
20:16 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 240 seconds]
20:16 -!- noam [noam@77.126.219.215] has joined #go-nuts
20:17 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Ping
timeout: 245 seconds]
20:17 -!- tav [~tav@92.7.119.86] has quit [Ping timeout: 245 seconds]
20:17 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 245 seconds]
20:17 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
20:17 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Ping
timeout: 245 seconds]
20:17 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 246 seconds]
20:17 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
20:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping
timeout: 246 seconds]
20:18 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
20:20 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Ping timeout: 272 seconds]
20:21 -!- dju [~dju@fsf/member/dju] has joined #go-nuts
20:22 -!- suiside [~suiside@unaffiliated/suiside] has quit [Remote host closed the
connection]
20:22 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
20:25 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
20:25 -!- dju [~dju@fsf/member/dju] has quit [Max SendQ exceeded]
20:26 -!- dju [~dju@fsf/member/dju] has joined #go-nuts
20:27 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
20:27 < zozoR> it would be neat to know what priority the tasks in the
roadmap has :3
20:29 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240
seconds]
20:30 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Quit: "Wait...  what?!"]
20:30 < KBme> there is a roadmap?  :)
20:30 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
20:30 < zozoR> http://golang.org/doc/devel/roadmap.html
20:32 < KBme> ah yes
20:34 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
20:36 < zozoR> someone in here told me that they were gonna work on the
garbage collector soon..  awesomes
20:36 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 245
seconds]
20:37 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts
20:38 < KBme> that would be nice, this memory issue is really a showstopper
20:39 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
20:44 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
20:53 -!- morelli [~chatzilla@pc58-154.kopnet.pl] has joined #go-nuts
20:53 < skelterjohn> what's holding you up, KBme?
20:54 < KBme> oh?  me?  nothing.  I was thinking about smarter people than
me
20:54 < KBme> me, i just play around
20:54 < skelterjohn> what's the memory issue?
20:54 < KBme> → gocode
20:55 < KBme> skelterjohn: memory is never freed so your memory usage will
end up being the maximum memory usage you've had
20:55 < skelterjohn> for gocode?  or in general
20:55 < morelli> hi, how would I parse a file, with data like "int\t"*65
*5000lines in to some arrays?
20:56 < KBme> how do you want it?  you want each array element to have three
elements or something?
20:57 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has joined
#go-nuts
20:57 < morelli> i want 65 ints in an array
20:57 < morelli> and i wan 5000 arrays
20:57 < skelterjohn> the package strings has a function Split
20:57 < KBme> ah
20:57 < KBme> split it, yeah
20:57 < skelterjohn> so, strings.Split(line, "\t")
20:57 < skelterjohn> gives you a []string
20:57 < KBme> read it line by line and split the line
20:57 < KBme> bufio has readstring with which you can read line by line
20:58 < morelli> thank you
20:58 < morelli> I'm just new to this lang ;)
20:59 < KBme> check godoc, it's the most awesome language documentation
21:00 < KBme> it sometimes lacks examples (for me), and it's sometimes not
very exact, but still: most awesome doc evar
21:00 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 245 seconds]
21:11 -!- sauerbraten [~sauerbrat@p508CFDE3.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:18 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has quit [Quit:
Leaving]
21:21 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 240 seconds]
21:22 -!- iant [~iant@216.239.45.130] has joined #go-nuts
21:22 -!- mode/#go-nuts [+v iant] by ChanServ
21:23 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
21:37 -!- TheMue [~TheMue@p5DDF730F.dip.t-dialin.net] has quit [Quit: TheMue]
21:41 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving]
21:43 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
21:52 -!- boscop [~boscop@g225225096.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
21:53 -!- boscop [~boscop@f055098110.adsl.alicedsl.de] has joined #go-nuts
22:04 -!- photron [~photron@port-92-201-161-244.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
22:13 -!- DerHorst [~Horst@e176098106.adsl.alicedsl.de] has quit [Remote host
closed the connection]
22:17 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:28 < plexdev> http://is.gd/hVDBo by [Anschel Schaffer-Cohen] in
go/src/pkg/exp/eval/ -- exp/eval: build fix for parser.ParseFile API change.
22:28 -!- Knarf [~knarfian@c-71-227-108-47.hsd1.mi.comcast.net] has joined
#go-nuts
22:30 -!- gnuvince [~vince@64.235.201.71] has quit [Quit: ""]
22:37 -!- morelli [~chatzilla@pc58-154.kopnet.pl] has quit [Ping timeout: 241
seconds]
22:38 -!- morelli [~chatzilla@pc58-154.kopnet.pl] has joined #go-nuts
22:41 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping
timeout: 255 seconds]
22:42 -!- virtualsue [~chatzilla@nat/cisco/x-loxxsprwgojacrkp] has joined #go-nuts
22:43 -!- virtualsue [~chatzilla@nat/cisco/x-loxxsprwgojacrkp] has quit [Client
Quit]
22:48 -!- Jugalator
[~jugalator@c-bdb2e655.033-183-70697410.cust.bredbandsbolaget.se] has joined
#go-nuts
22:53 -!- Jugalator
[~jugalator@c-bdb2e655.033-183-70697410.cust.bredbandsbolaget.se] has quit [Ping
timeout: 264 seconds]
22:55 -!- Jugalator
[~jugalator@c-bdb2e655.033-183-70697410.cust.bredbandsbolaget.se] has joined
#go-nuts
23:03 -!- powerje [~powerj@adsl-75-60-194-184.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
23:04 -!- Jugalator
[~jugalator@c-bdb2e655.033-183-70697410.cust.bredbandsbolaget.se] has quit [Ping
timeout: 255 seconds]
23:11 -!- Jugalator
[~jugalator@c-bdb2e655.033-183-70697410.cust.bredbandsbolaget.se] has joined
#go-nuts
23:15 -!- kanru1 [~kanru@61-228-156-180.dynamic.hinet.net] has joined #go-nuts
23:21 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
23:24 -!- kanru1 [~kanru@61-228-156-180.dynamic.hinet.net] has quit [Ping timeout:
250 seconds]
23:35 -!- morelli [~chatzilla@pc58-154.kopnet.pl] has quit [Quit: ChatZilla 0.9.86
[Firefox 3.6.12/20101026210630]]
23:50 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
--- Log closed Mon Nov 29 00:00:35 2010