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

--- Log opened Tue Jun 29 00:00:12 2010
00:06 -!- artefon [~thiago@189.107.211.68] has quit [Ping timeout: 260 seconds]
00:08 -!- scm [justme@d071002.adsl.hansenet.de] has quit [Ping timeout: 265
seconds]
00:11 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
00:16 < plexdev> http://is.gd/d8gL3 by [Rob Pike] in go/src/pkg/gob/ -- gob:
add DecodeValue and EncodeValue
00:16 < plexdev> http://is.gd/d8gLe by [Rob Pike] in go/src/pkg/netchan/ --
netchan: use gob DecodeValue to eliminate the need for a pointer value
00:16 < plexdev> http://is.gd/d8gLv by [Ian Lance Taylor] in 11 subdirs of
go/src/pkg/runtime/ -- Only catch all signals if os/signal package imported.
00:17 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
00:19 -!- artefon [~thiago@189.107.203.170] has joined #go-nuts
00:22 -!- nighty^ [~nighty@210.188.173.245] has joined #go-nuts
00:23 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
00:29 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
00:41 -!- mikespook [~mikespook@219.137.73.82] has joined #go-nuts
00:42 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
00:42 -!- aho [~nya@g226200017.adsl.alicedsl.de] has joined #go-nuts
00:44 -!- ako [~nya@g228006115.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
00:47 -!- Guest29617 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has left
#go-nuts []
00:47 -!- Ginto8_ [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
00:49 -!- photron [~photron@port-92-201-185-239.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
01:03 < plexdev> http://is.gd/d8j5T by [Nigel Tao] in
go/src/pkg/exp/draw/x11/ -- exp/draw/x11: implement the mapping from keycodes to
keysyms.
01:04 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Remote host closed the
connection]
01:06 -!- dforsyth [~dforsyth@pool-96-231-155-8.washdc.fios.verizon.net] has
joined #go-nuts
01:30 -!- Xurix [~Luixsia@AToulouse-254-1-27-175.w81-250.abo.wanadoo.fr] has
joined #go-nuts
01:30 -!- duncan [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has joined #go-nuts
01:31 -!- artefon [~thiago@189.107.203.170] has quit [Ping timeout: 245 seconds]
01:34 -!- KinOfCain [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has quit [Ping
timeout: 260 seconds]
01:35 -!- duncan [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has quit [Ping
timeout: 264 seconds]
01:42 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
01:51 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has quit
[Ping timeout: 265 seconds]
01:55 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has joined
#go-nuts
02:01 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 264
seconds]
02:06 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has quit [Quit: bjarneh]
02:11 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has joined
#go-nuts
02:13 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Remote
host closed the connection]
02:19 -!- scm [justme@d038092.adsl.hansenet.de] has joined #go-nuts
02:25 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
02:25 -!- scm [justme@d038092.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
02:35 -!- KinOfCain [~KinOfCain@cpe-76-170-26-1.socal.res.rr.com] has joined
#go-nuts
02:35 -!- KinOfCain [~KinOfCain@cpe-76-170-26-1.socal.res.rr.com] has quit [Remote
host closed the connection]
02:40 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
02:49 -!- scm [justme@d056121.adsl.hansenet.de] has joined #go-nuts
02:55 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
02:59 -!- anschelsc [~anschel@pool-98-116-141-175.nwrknj.fios.verizon.net] has
joined #go-nuts
03:00 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 260 seconds]
03:01 < anschelsc> I've been having a problem with cov
03:01 < jessta> problem?
03:01 < anschelsc> when I run it on my code (on Linux x86) it pauses for a
long time and then comes up with this error message:
03:02 < anschelsc> /home/anschel/bin/6cov: cannot read pc: can't translate
address 90
03:03 < anschelsc> the "code" in question here is just 25 lines
03:03 < anschelsc> I'm just trying to learn how cov works, and I have no
idea what this means
03:07 < anschelsc> has anyone else seen a problem like this?
03:08 < Ginto8> well you're saying x86 but you're using something with a 6
prefix
03:08 < Ginto8> maybe you want 8cov
03:09 < jessta> Ginto8: apparantly they are the same thing
03:09 < jessta> "For reasons of disambiguation it is installed as 6cov
although it also serves as an 8cov and a 5cov."
03:10 < Ginto8> yeah I just saw that
03:14 < KirkMcDonald> Man, I'd completely forgotten about that code
review...
03:25 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has joined #go-nuts
03:30 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
03:35 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
03:38 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has quit
[Remote host closed the connection]
03:40 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit
[Remote host closed the connection]
03:41 -!- nettok_ [~quassel@200.119.161.131] has left #go-nuts
["http://quassel-irc.org - Chat comfortably.  Anywhere."]
03:45 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
240 seconds]
03:47 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 240 seconds]
03:48 -!- monteslu [~monteslu@ip68-109-175-168.ph.ph.cox.net] has quit [Ping
timeout: 245 seconds]
03:49 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
03:50 -!- monteslu [~monteslu@ip68-109-175-168.ph.ph.cox.net] has joined #go-nuts
03:51 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has quit [Quit:
gpolo]
03:57 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has quit [Quit:
adu]
04:02 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has joined
#go-nuts
04:09 -!- aho [~nya@g226200017.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
04:11 -!- aho [~nya@e176226089.adsl.alicedsl.de] has joined #go-nuts
04:15 -!- niemeyer [~niemeyer@201-11-242-47.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 245 seconds]
04:21 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
04:22 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
04:23 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
04:28 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:30 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 260
seconds]
04:36 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 240
seconds]
04:36 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
04:40 -!- anschelsc [~anschel@pool-98-116-141-175.nwrknj.fios.verizon.net] has
quit [Quit: And on the seventh day God created etaoin.  And then he changed his
mind.]
04:41 -!- emmanuel_oga [~emmanuelo@190.247.41.202] has quit [Ping timeout: 265
seconds]
04:48 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 260 seconds]
04:57 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
04:58 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
05:00 -!- scm [justme@d056121.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
05:02 -!- scm [justme@d071201.adsl.hansenet.de] has joined #go-nuts
05:02 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
05:09 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 260 seconds]
05:09 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
05:10 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
05:10 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
05:13 -!- iLeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
05:14 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Disconnected by services]
05:20 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
05:24 -!- iLeNsTR [~lenstr@unaffiliated/lenstr] has quit [Ping timeout: 276
seconds]
05:25 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
05:40 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 245 seconds]
05:41 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
05:42 -!- Kashia [~Kashia@port-92-200-61-23.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
05:47 -!- Kashia [~Kashia@port-92-200-191-221.dynamic.qsc.de] has joined #go-nuts
05:49 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
05:53 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has left #go-nuts []
06:01 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
06:20 -!- redberry [~reddy@151.58.0.157] has joined #go-nuts
06:22 -!- napsy [~luka@88.200.96.14] has quit [Read error: Operation timed out]
06:24 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
06:25 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
06:28 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 265 seconds]
06:34 -!- ikaros [~ikaros@g228068158.adsl.alicedsl.de] has joined #go-nuts
06:37 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:c8b9:a0af:605a:af66] has joined
#go-nuts
06:39 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
06:44 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
06:50 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
06:50 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 260 seconds]
06:56 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode]
06:58 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
07:01 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
07:07 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:c8b9:a0af:605a:af66] has quit
[Quit: Leaving.]
07:09 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has joined
#go-nuts
07:18 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
07:25 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
07:49 -!- mbarkhau [~koloss@dslb-084-059-163-201.pools.arcor-ip.net] has joined
#go-nuts
07:49 -!- Project_2501 [~Marvin@82.84.94.195] has joined #go-nuts
07:53 -!- aho [~nya@e176226089.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
07:54 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
07:56 -!- MariusKarthaus [~quassel@s5593c029.adsl.wanadoo.nl] has joined #go-nuts
07:59 -!- jdp [~gu@24.238.32.162.res-cmts.segr.ptd.net] has quit [Ping timeout:
276 seconds]
08:01 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
08:05 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit:
mxweas]
08:10 -!- emmanuel_oga [~emmanuelo@190.247.41.202] has joined #go-nuts
08:15 -!- MariusKarthaus [~quassel@s5593c029.adsl.wanadoo.nl] has quit [Remote
host closed the connection]
08:16 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
08:21 -!- dforsyth [~dforsyth@pool-96-231-155-8.washdc.fios.verizon.net] has quit
[Quit: leaving]
08:23 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
08:24 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
08:29 -!- lux` [~lux@151.95.174.16] has joined #go-nuts
08:34 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
08:37 -!- wrtp [~rog@92.17.5.126] has joined #go-nuts
08:43 -!- photron [~photron@port-92-201-141-254.dynamic.qsc.de] has joined
#go-nuts
08:47 -!- emmanueloga [~emmanuelo@190.247.41.202] has joined #go-nuts
08:49 -!- emmanuel_oga [~emmanuelo@190.247.41.202] has quit [Ping timeout: 264
seconds]
09:03 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
619 seconds]
09:11 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
09:11 -!- kevinwat1 [kevin@59-125-147-75.HINET-IP.hinet.net] has left #go-nuts []
09:11 -!- kevinwatt [kevin@59-125-147-75.HINET-IP.hinet.net] has joined #go-nuts
09:14 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
09:19 -!- Kashia [~Kashia@port-92-200-191-221.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:31 -!- mikespook [~mikespook@219.137.73.82] has quit [Quit: Leaving.]
09:34 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
09:42 -!- njw_ [~nick@cswt5769.admin.susx.ac.uk] has joined #go-nuts
09:48 -!- lux` [~lux@151.95.174.16] has quit [Remote host closed the connection]
09:59 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
09:59 -!- nighty^ [~nighty@210.188.173.245] has quit [Quit: Disappears in a puff
of smoke]
10:06 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
10:33 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Quit:
Leaving]
10:46 -!- njw_ [~nick@cswt5769.admin.susx.ac.uk] has left #go-nuts []
10:51 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
10:54 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
10:57 -!- njw_ [~nick@cswt5769.admin.susx.ac.uk] has joined #go-nuts
11:01 -!- tav [~tav@89.242.39.46] has quit [Read error: Connection reset by peer]
11:14 -!- redberry [~reddy@151.58.0.157] has quit [Ping timeout: 240 seconds]
11:16 -!- wrtp [~rog@92.17.5.126] has quit [Ping timeout: 260 seconds]
11:17 -!- abiosoft [~abiosoft@41.155.83.199] has joined #go-nuts
11:20 -!- wrtp [~rog@92.17.8.117] has joined #go-nuts
11:26 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
11:29 -!- redberry [~reddy@151.58.0.157] has joined #go-nuts
11:30 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
11:31 -!- abiosoft [~abiosoft@41.155.83.199] has quit [Ping timeout: 245 seconds]
11:33 -!- artefon [~thiago@189.107.193.75] has joined #go-nuts
11:34 -!- Fish-Work [~Fish@86.65.182.207] has quit [Read error: Connection reset
by peer]
11:36 -!- ikaros_ [~ikaros@g228090091.adsl.alicedsl.de] has joined #go-nuts
11:40 -!- ikaros [~ikaros@g228068158.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
11:56 -!- tav [~tav@2001:0:53aa:64c:0:3ffb:a60d:de8c] has joined #go-nuts
12:06 < nf> KirkMcDonald: :)
12:24 -!- Ideal [~Ideal@109.232.115.68] has joined #go-nuts
12:25 < Ideal> Hi, i'm wondering is it writes everything correctly in this
code:
12:25 < Ideal> fmt.Printf("%s", strings.Split("test/another/last", "/",
1)[0])
12:26 < Ideal> it writes the whole string test/another/last, while i
personally expected just "test"
12:26 < Ideal> ?
12:29 < Ideal> at least in python it behaves that similar way, just for
test:
12:29 -!- Kashia [~Kashia@port-92-200-191-221.dynamic.qsc.de] has joined #go-nuts
12:29 < Ideal> 'test/another/last'.split('/', 1)
12:29 < Ideal> results in ['test', 'another/last']
12:30 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
12:30 < vrtical> Ideal: I could be wrong (huge noob) but is the 1 in the
Split call breaking it into _one_ substring (i.e.  no change)?
12:31 < vrtical> => try it with 2?
12:32 < Ideal> vrtical: yea, with 2 it works as with i personally would
expect with 1..  if to strictly read docs "If n > 0, Split splits s into at
most n substrings" - this can be understood as it will do actual split anyway,
even with 1, but it doesn't..
12:33 < bartbes> it later says the rest is in the last one
12:33 < bartbes> if there is only 1 that is the last one
12:33 < Ideal> yea, but still that quote above has it's own meaning - split
should be done anyway
12:34 -!- BlunderBuss [~BlunderBu@12.54.221.118] has joined #go-nuts
12:34 < Ideal> or at least it sounds a bit tricky then regarding actual
results..
12:35 < jessta> 10-06-29 22:27 <monkeyzee> was she hawt?  a woman, you
say?
12:35 < jessta> oh my!
12:35 < jessta> that's not good
12:36 < jessta> sorry chaps, the cat jumped on my mouse
12:36 -!- Tiger_ [~chatzilla@222.73.189.44] has joined #go-nuts
12:37 < vrtical> Ideal: I did exactly the same thing the first time I tried
to use it.  I think it's confusing but there are probably arguments either way.
12:38 < jessta> well, you have to return the reminder of the string in the
string array
12:38 < jessta> and it would be really weird to ask for a string array with
one element and get 2
12:39 < Ideal> jessta: well, as for me what you ask is - how much splits you
want, not about array lenght..
12:40 < jessta> split this in to 1 piece
12:40 < jessta> sounds reasonable
12:41 < Ideal> like that..  and it interprets n seems like the way you said
about array length..
12:41 -!- niemeyer [~niemeyer@201-11-242-47.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
12:41 < Ideal> vrtical: yea..  looking to strings package tests seems like
its intentional this way..
12:42 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:42 < jessta> Ideal: no, it splits the string in to one piece
12:42 < jessta> i.e the original string
12:43 < jessta> cut this pizza in to 1 pieces
12:43 < Ideal> jessta: well, as for me original string != splitted to one
piece string
12:43 < Ideal> no actual splitting was done
12:43 < bartbes> I think jessta's example is spot on
12:43 < bartbes> you don't ask it to split 1 time, you ask it to split into
1 string
12:43 < Ideal> dunno, for example python way/example above thinks about it
differently
12:44 < Ideal> so actual splitting done
12:44 < bartbes> python is never an argument :P
12:44 < bartbes> (was a joke, for all python fans..)
12:44 < Ideal> dunno, looking that Go is quite much inspired by python
12:45 < Ideal> okay, in the end seems like you just have to live with the
way it is, just a Go's specific..
12:45 < bartbes> well, but jessta also mentioned array size, which is
important in a statically typed language
12:45 < Ideal> maybe..
12:45 < bartbes> in python you don't have to worry about the array size, so
who cares if there's one extra
12:46 < jessta> bartbes: no so much, since it's actually a slice
12:46 < jessta> *not
12:46 < bartbes> but those still have bounds
12:46 < jessta> but not statically
12:47 < Ideal> thanks for discussion guys :)
12:48 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
12:50 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
12:59 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has quit [Quit:
adu]
13:03 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has joined
#go-nuts
13:03 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:04 -!- Xurix [~Luixsia@AToulouse-254-1-27-175.w81-250.abo.wanadoo.fr] has quit
[Ping timeout: 248 seconds]
13:05 -!- trustin [~trustin@redhat/jboss/trustin] has joined #go-nuts
13:09 -!- Xurix [~Luixsia@AToulouse-254-1-12-44.w83-203.abo.wanadoo.fr] has joined
#go-nuts
13:20 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit: Mac
has gone to sleep]
13:25 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Read error: Connection
reset by peer]
13:27 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
13:28 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
13:28 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
13:28 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
13:41 -!- Fish-Work [~Fish@86.65.182.207] has joined #go-nuts
13:47 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
13:49 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:55 < Ideal> is there a simple way to check whether array has a specific
value, like "var in array" ?
13:56 < Ginto8> contains a specific value?
13:56 < Ginto8> yes
13:56 < nsf> as far as I know - there is no such way
13:56 < Ginto8> well actually
13:56 < Ideal> :)
13:57 < Ginto8> not unless you do your own loop
13:57 < nsf> Go is not a python
13:57 < jessta> ...and wrap that loop in a function
13:57 < Ideal> i see..  okay, thank you
13:57 < Ginto8> for _,v := range array { if v == blarg { found = true; break
} }
13:57 < Ginto8> jessta, but it would have to be templated =/
13:58 < jessta> Ginto8: for the standard library, yes
13:58 < Ideal> Ginto8: maybe you know already about it, i already seen a
package for templates..
13:58 < nsf> you don't need templates in Go
13:58 < nsf> even if you think you do
13:58 < nsf> :)
13:59 < Ideal> well, if someone already wrote a package for that..
13:59 < Ginto8> nsf, I know that
13:59 < nsf> probably because he was doing the same thing as you do
13:59 < nsf> trying to write in Go like in other language (e.g.  python)
13:59 < Kashia> well, Go people just do the code-copying it manually....  if
you look at the vector code
13:59 < Ginto8> but it would have to be a []interface{} rather than a []T
13:59 < Ginto8> Kashia, they just did that for optimization of more common
types
14:00 < Kashia> which doesn't make it less true :P
14:00 < nsf> templates don't solve any real problem except that one that
forces you to type more
14:00 < nsf> but you know..  C++ just compiles too long (using that time you
could actually make more code)
14:00 < jessta> they solve a lot of problems
14:00 < Ginto8> nsf, you're right on
14:01 < nsf> jessta: no
14:01 < jessta> C++ just does it wrong
14:01 < Ginto8> they remove a lot of tedium
14:01 < Ginto8> but aside from that
14:01 < Ginto8> they don't do much
14:01 < nsf> well show me the lang that does it right: java, C#, D?
14:02 < jessta> it's difficult to get right
14:02 < Ginto8> D did it BETTER
14:02 < Ginto8> still did it bad
14:02 < nsf> the thing is, that actually you need one template in a
language..  and it's std::vector (as GCC codebase shows us)
14:03 < nsf> but in Go we have built-in arrays and slices
14:03 < nsf> and even maps
14:03 < Ginto8> yeah
14:03 < Ginto8> go has most of the stuff you'd need a template for builtin
and easy to use
14:03 < nsf> and it's like the need of 80% of code that otherwise requires
templates
14:04 < jessta> the loss of compile time type safety isn't ideal
14:04 < nsf> other 20%, well..  you can write a code generator in python or
something
14:04 < nsf> or use 'got'
14:04 < nsf> http://github.com/droundy/gotgo
14:04 < jessta> gotgo does it pretty good
14:04 < Ginto8> yeah
14:05 < Ginto8> gotgo is pretty nice with that
14:05 < jessta> I like how they use the import
14:05 < jessta> import "list(int)"
14:06 < nsf> gotgo is a way it supposed to be in C++ imho, e.g.  a type safe
preprocessor, the problem is that you can't easily parse C/C++ code and make a
tool like that
14:06 < nsf> Go has none of these problems
14:06 < nsf> what I mean basically is that template is not a part of the
language
14:07 < nsf> is a tool that generates more code
14:07 < Ginto8> yep
14:07 < jessta> if enough code gets written that requires that tool then it
becames part of the language
14:07 < nsf> getting it to the language would be a mistake
14:07 < Ginto8> the issue with C++ templating is that C++ syntax is such a
bitch to parse
14:08 < Ginto8> if it wasn't, it would probably have been a lot more like
gotgo, methinks
14:08 < nsf> jessta: the language also matters a lot not just as a pile of
different concepts, but as a composition of them, templates are garbage in that
sense
14:09 < nsf> D has failed in that way
14:09 < nsf> (for example) :)
14:09 < Ginto8> D has failed in a lot more than just templating, but that's
a different issue =P
14:10 < nsf> it matters because language affect the way you think and making
your programs..  take a look at all those C++ template zealots (like boost library
a good example of that), they just can't stop doing it..
14:11 < Ginto8> yeah
14:11 < Ginto8> it's like goroutines
14:11 < nsf> and interfaces :)
14:11 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has joined
#go-nuts
14:12 < Ginto8> yep
14:12 < nsf> interfaces are good, no doubts..  but I think they are overused
sometimes
14:12 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 260
seconds]
14:12 < Ginto8> though for the most part the core concepts of programming
are the same, the nearly-core concepts are what really affect your designs
14:12 < Ginto8> nsf, there are times when overuse isn't actually a bad thing
14:13 < Ginto8> it's still overuse, but it isn't all bad
14:13 < nsf> well I won't judge that, I don't know the 100% answer :) (e.g.
a silver bullet to software design)
14:13 < nsf> I'm telling only things that "feels" right :)
14:14 < Ideal> Ginto8: i'd say balance and enough are "normal", all the rest
is well, well..  :) in any field, not just in programming..
14:14 < Ginto8> interfaces do allow a way to deal with one of go's little
annoyances
14:15 < Ginto8> you can't copy structs that have private fields outside of
the package they're from, so interfaces are the best way to pass em around
14:15 < Ginto8> Ideal, yes, but unfortunately overuse is very vaguely
defined
14:15 < nsf> what's wrong with struct pointers?
14:15 < plexdev> http://is.gd/d8RiX by [Alex Brainman] in
go/src/pkg/runtime/windows/386/ -- runtime: fix windows build
14:16 < Ginto8> nsf, nothing, but if you don't want it on the heap...
14:16 < nsf> if you use interface it is on the heap
14:16 < nsf> a lot of things in Go are on the heap
14:17 < Ginto8> ah well
14:17 < nsf> but it's just a matter of performance, I'm talking mostly about
design decisions anyway
14:17 * Ginto8 wishes there were better ways to keep stuff on the stack
14:17 < nsf> when you define one interface and one implementation for it
14:17 < nsf> you're doing something wrong
14:18 < nsf> (most likely)
14:18 < Ideal> Ginto8: as for me subjective estimation quite okay, at least
in this case
14:18 < Ginto8> nsf, it depends.  Sometimes that is simply a way of allowing
extensibility
14:20 < nsf> Ginto8: it's a wrong way of designing things..  it should be
always that way: 1.  you're doing concrete things, 2.  if there are similar enough
two concrete things you're considering making an abstraction that connects them
14:20 < nsf> not 1.  define abstraction, 2.  define implementation
14:20 < nsf> it's a typical mistake of all modern OO bullshit :)
14:20 < Ginto8> hmm good point
14:20 * Ginto8 goes to change some of his design
14:20 < jessta> Ginto8: better escape analysis will likely make the stack
stuff better
14:22 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
14:22 < jessta> it's something you can fix much later
14:24 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
14:24 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
14:24 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
14:24 < Ginto8> hm ok
14:25 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
14:42 -!- artefon [~thiago@189.107.193.75] has quit [Ping timeout: 245 seconds]
14:45 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
14:48 -!- abiosoft [~abiosoft@41.155.71.178] has joined #go-nuts
14:50 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
14:52 -!- Ideal [~Ideal@109.232.115.68] has quit [Quit: Ideal]
14:53 < nsf> hehe, I've just noticed that the bug I found affects all cgo
calls too
14:53 < nsf> not just the case when runtime.LockOSThread() involved
14:53 < nsf> because cgo calls use the same locking mechanics as
LockOSThread
14:54 < nsf> and actually they share the bug
14:55 < nsf> on the other hand cgo isn't supposed to use mcache, so it's a
questionable statement
14:58 < wrtp> nsf: if you use an interface it's only on the heap if the data
size is > word size
14:59 < nsf> wrtp: well, we were talking about structs..  so I was assuming
that it is most likely on the heap
14:59 < wrtp> small structs aren't that uncommon, i guess.
15:00 < nsf> the fact that interface doesn't have "*" in it's type doesn't
make it a non pointer..  interface is a reference value in general
15:00 < nsf> wrtp: maybe
15:01 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit:
mxweas]
15:03 < wrtp> that's a bit of an over-generalisation :-) depends what you
mean by reference value, i guess
15:05 < wrtp> if you've got func()(i int){func(){i = 99}(); return}, would
you count i as a reference value?
15:05 < nsf> nope
15:06 < nsf> what I mean by ref value is that if you're taking interface
from a struct pointer and then copy it to another interface
15:06 < nsf> they both pointing at the same struct
15:07 < wrtp> only if size of the struct is greater than the size of a
word...
15:07 < nsf> but well, yep, I'm using a struct pointer here :)
15:07 < nsf> oh..
15:07 < nsf> ok, then I was a bit wrong
15:07 < wrtp> for instance, on a 64 bit machine, draw.Point fits neatly into
an interface, cos it's just two ints
15:08 < wrtp> it's easy to verify, using unsafe and printing out the actual
bytes in the interface
15:08 < nsf> imho it actually shows that you should not use interface a lot
:)
15:08 < nsf> especially in case of simple types
15:09 < wrtp> i dunno.  it's pretty cheap to copy around two words
15:09 < wrtp> and nothing compared to the number of arguments that you see
being passed in many microsoft functions...
15:09 < nsf> there are things like generic containers which use interface{}
and they expect an interface to be a reference value
15:10 < nsf> in your case they won't work
15:10 < wrtp> have you got an example?
15:10 < nsf> well, it's just about the similar behaviour, when I use
interface{} I consider it as void* + type info
15:11 < nsf> but as you've pointed out it's not exactly like that
15:11 < nsf> well it is, but it may store that actual value in a pointer :)
15:11 < nsf> the*
15:12 < wrtp> it's really struct{union{uchar data[Wordsize]; void *v} u;
Type *type}
15:12 < nsf> yep
15:12 < wrtp> but what do you mean when you talk about generic containers
expecting an interface to be a reference value?
15:13 < nsf> I think it was me expecting an interface to be a ref value :)
15:13 < wrtp> ah
15:13 < nsf> so I was wrong again
15:13 < nsf> sorry
15:13 < wrtp> np.  in general it shouldn't matter.
15:13 < wrtp> the real issue is comparability
15:14 < wrtp> because if type T is comparable, then struct{T} is not, which
means that encapsulation doesn't work in general
15:15 < nsf> I see
15:17 -!- gnuvince [~vince@205.153-ppp.3menatwork.com] has quit [Ping timeout: 260
seconds]
15:17 -!- kanru [~kanru@118-168-235-45.dynamic.hinet.net] has joined #go-nuts
15:19 -!- gnuvince [~vince@70.35.169.23] has joined #go-nuts
15:20 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
15:22 < Ginto8> wrtp, but it's possible to compare
15:22 < Ginto8> var x T
15:22 < Ginto8> var y struct{T}
15:22 < Ginto8> x == y.T would be valid
15:24 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 264 seconds]
15:27 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
15:29 -!- redberry [~reddy@151.58.0.157] has quit [Quit: redberry flies...and go
away....]
15:30 < wrtp> Ginto8: yes, but the important point is that.  interface{}(y)
== interface{}(y) is invalid, even though x == x is valid
15:31 < Ginto8> are there even any definite comparisons of interface types?
15:31 < wrtp> yes
15:31 < wrtp> you can compare any two interface types that have the same
*static* interface type and have comparable dynamic types
15:32 < Ginto8> oh ok
15:32 < wrtp> they compare true if the dynamic types are the same and equal
15:32 < Ginto8> but interface{}(y) == interface{}(y) would be invalid?
15:32 < wrtp> it's a useful property
15:32 < Ginto8> or did you mean interface{}(x) == interface{}(y)
15:32 < wrtp> Ginto8: no, i meant the former
15:32 < Ginto8> hm
15:32 < Ginto8> I don't get it =/
15:32 < skelterjohn> i'm not sure, but i think that interface comparisons
compare the pointer value?
15:32 < wrtp> it would be invalid because (y == y) is invalid
15:33 < wrtp> because you can't compare structs by value
15:33 < Ginto8> oh yeah
15:33 < Ginto8> struct comparisons
15:33 < Ginto8> duh
15:33 < Ginto8> sorry
15:34 -!- KinOfCain [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has joined
#go-nuts
15:45 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
15:50 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
15:51 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
15:59 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has joined
#go-nuts
16:05 -!- njw_ [~nick@cswt5769.admin.susx.ac.uk] has left #go-nuts []
16:20 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
16:23 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:25 -!- Venom_X [~pjacobs@71.21.124.111] has joined #go-nuts
16:31 -!- kanru [~kanru@118-168-235-45.dynamic.hinet.net] has quit [Read error:
Operation timed out]
16:31 -!- boscop_ [~boscop@g225226221.adsl.alicedsl.de] has joined #go-nuts
16:32 -!- boscop [~boscop@f055019112.adsl.alicedsl.de] has quit [Ping timeout: 276
seconds]
16:33 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:49 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
16:54 -!- abiosoft [~abiosoft@41.155.71.178] has left #go-nuts []
16:55 -!- Venom_X [~pjacobs@71.21.124.111] has quit [Quit: Venom_X]
16:57 -!- iant [~iant@nat/google/x-uubswbwykxbafomq] has joined #go-nuts
16:57 -!- mode/#go-nuts [+v iant] by ChanServ
16:58 -!- wrtp [~rog@92.17.8.117] has quit [Ping timeout: 245 seconds]
16:59 -!- Venom_X [~pjacobs@71.21.124.111] has joined #go-nuts
16:59 -!- EthGramon [~ethan@sourcemage/guru/eekee] has joined #go-nuts
16:59 -!- EthanG [~EthanG@sourcemage/guru/eekee] has quit [Quit: I never quit.]
17:03 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
17:03 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
17:04 -!- wrtp [~rog@92.17.24.205] has joined #go-nuts
17:11 -!- wrtp [~rog@92.17.24.205] has quit [Ping timeout: 245 seconds]
17:17 -!- wrtp [~rog@92.17.86.26] has joined #go-nuts
17:18 -!- TR2N [email@89.180.165.150] has joined #go-nuts
17:18 < plexdev> http://is.gd/d8ZSW by [Rob Pike] in go/src/pkg/gob/ -- gob:
a couple of tiny simplifications using Kind()
17:20 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has joined
#go-nuts
17:23 -!- wrtp [~rog@92.17.86.26] has quit [Ping timeout: 240 seconds]
17:23 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:3c64:2742:59a:3d30] has joined
#go-nuts
17:25 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:26 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has quit
[Read error: Operation timed out]
17:28 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
17:28 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
17:30 -!- wrtp [~rog@92.17.81.46] has joined #go-nuts
17:30 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has joined
#go-nuts
17:34 -!- lux` [~lux@151.95.174.16] has joined #go-nuts
17:34 -!- wrtp [~rog@92.17.81.46] has quit [Ping timeout: 240 seconds]
17:35 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
17:39 -!- dforsyth [~dforsyth@pool-96-231-155-8.washdc.fios.verizon.net] has
joined #go-nuts
17:41 -!- carrus85 [~carrus85@64.0.193.15] has joined #go-nuts
17:44 -!- wrtp [~rog@92.17.2.15] has joined #go-nuts
17:48 -!- wrtp [~rog@92.17.2.15] has quit [Ping timeout: 245 seconds]
17:50 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
17:51 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
17:54 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has joined
#go-nuts
18:04 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout:
245 seconds]
18:09 -!- njw_ [~njw@79-74-171-163.dynamic.dsl.as9105.com] has joined #go-nuts
18:11 -!- njw_ [~njw@79-74-171-163.dynamic.dsl.as9105.com] has quit [Client Quit]
18:15 -!- rhelmer [~rhelmer@adsl-69-107-67-74.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
18:16 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
18:18 -!- tvw [~tv@e176007068.adsl.alicedsl.de] has joined #go-nuts
18:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
18:23 -!- napsy [~luka@88.200.96.14] has quit [Read error: Connection reset by
peer]
18:25 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:29 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 260 seconds]
18:31 -!- wrtp [~rog@92.16.125.235] has joined #go-nuts
18:35 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
18:36 -!- marsu [~marsu@93.12.55.203] has joined #go-nuts
18:38 -!- tux21b [~christoph@90.146.60.30] has quit [Read error: Connection reset
by peer]
18:38 -!- wrtp [~rog@92.16.125.235] has quit [Ping timeout: 276 seconds]
18:38 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
18:41 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Remote
host closed the connection]
18:44 -!- wrtp [~rog@92.17.96.106] has joined #go-nuts
18:47 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
18:48 -!- wrtp [~rog@92.17.96.106] has quit [Ping timeout: 260 seconds]
18:54 -!- wrtp [~rog@92.17.13.186] has joined #go-nuts
18:55 -!- ShadowIce
[pyoro@HSI-KBW-078-042-180-167.hsi3.kabel-badenwuerttemberg.de] has joined
#go-nuts
18:55 -!- ShadowIce
[pyoro@HSI-KBW-078-042-180-167.hsi3.kabel-badenwuerttemberg.de] has quit [Changing
host]
18:55 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
18:59 -!- wrtp [~rog@92.17.13.186] has quit [Ping timeout: 276 seconds]
19:05 < plexdev> http://is.gd/d95Bp by [Vinu Rajashekhar] in go/src/pkg/net/
-- Move the function Run() back into fd.go.
19:06 -!- wrtp [~rog@92.17.40.20] has joined #go-nuts
19:09 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
19:14 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
19:15 -!- Venom_X [~pjacobs@71.21.124.111] has quit [Ping timeout: 248 seconds]
19:19 -!- wrtp [~rog@92.17.40.20] has quit [Quit: wrtp]
19:24 -!- OpenSpace [~ja@79.101.177.116] has quit [Ping timeout: 240 seconds]
19:32 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Quit:
Leaving]
19:32 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
19:34 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
19:36 -!- Xurix [~Luixsia@AToulouse-254-1-12-44.w83-203.abo.wanadoo.fr] has quit
[Quit: Leaving]
19:37 -!- OpenSpace [~ja@109.92.227.172] has joined #go-nuts
19:49 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 252 seconds]
19:51 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has joined #go-nuts
19:54 < plexdev> http://is.gd/d983v by [Ken Thompson] in 3 subdirs of
go/src/cmd/ -- code gen bug in len(nil) and cap(nil)
19:56 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined
#go-nuts
19:58 -!- dforsyth [~dforsyth@pool-96-231-155-8.washdc.fios.verizon.net] has quit
[Quit: leaving]
20:03 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
20:08 -!- dforsyth [~dforsyth@pool-71-241-227-107.washdc.fios.verizon.net] has
joined #go-nuts
20:12 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has quit [Quit:
gpolo]
20:29 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte]
20:35 -!- ampleyfly [~ampleyfly@h-148-139.A163.priv.bahnhof.se] has quit [Ping
timeout: 245 seconds]
20:35 -!- ampleyfly [~ampleyfly@h-148-139.A163.priv.bahnhof.se] has joined
#go-nuts
20:36 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has quit [Ping timeout:
264 seconds]
20:39 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
20:43 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 260 seconds]
20:50 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
20:52 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
20:55 < nsf> yay, I've finished new tiling render in gomandel..  now I need
to wait for a bug fix and then it's done
21:01 < nsf> "throw: mark - world not stopped"
21:01 * nsf is tired seeing that
21:04 -!- carrus85 [~carrus85@64.0.193.15] has quit [Quit: Leaving]
21:06 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
21:07 -!- boscop_ [~boscop@g225226221.adsl.alicedsl.de] has quit []
21:10 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2]
21:17 < skelterjohn> i give the first lecture for a 2nd year discrete math
course tonight.  3 hours.  think i can slip some go in there?
21:20 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:3c64:2742:59a:3d30] has quit
[Quit: Leaving.]
21:23 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit:
skelterjohn]
21:26 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Quit: Shyde]
21:32 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
21:35 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:48 -!- dju [dju@fsf/member/dju] has joined #go-nuts
21:50 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded]
21:50 -!- dju [dju@fsf/member/dju] has joined #go-nuts
21:52 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
21:54 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
21:56 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:56 -!- EthanG [~ethan@sourcemage/guru/eekee] has quit [Quit: I never quit.]
21:57 -!- EthanG [~ethan@sourcemage/guru/eekee] has joined #go-nuts
22:01 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has quit [Quit:
adu]
22:02 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:07 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
22:11 -!- carrus85 [~carrus85@64.0.193.15] has joined #go-nuts
22:16 -!- Namegduf [~namegduf@eu.beshir.org] has quit [Ping timeout: 264 seconds]
22:20 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Remote
host closed the connection]
22:21 -!- Guest26221 [~irc@209.17.191.58] has quit [Quit: leaving]
22:22 -!- irc [~irc@209.17.191.58] has joined #go-nuts
22:23 -!- kevinwatt [kevin@59-125-147-75.HINET-IP.hinet.net] has quit [Ping
timeout: 264 seconds]
22:29 -!- mbarkhau [~koloss@dslb-084-059-163-201.pools.arcor-ip.net] has quit
[Quit: Leaving.]
22:30 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
22:30 -!- trustin [~trustin@redhat/jboss/trustin] has quit [Quit: Leaving]
22:33 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
22:33 -!- kevinwatt [kevin@59-125-147-75.HINET-IP.hinet.net] has joined #go-nuts
22:37 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
22:39 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 264 seconds]
22:41 -!- Namegduf [~namegduf@eu.beshir.org] has joined #go-nuts
22:49 * Project_2501 quits o.o/
22:49 -!- ikaros_ [~ikaros@g228090091.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
22:50 -!- Project_2501 [~Marvin@82.84.94.195] has quit [Quit: E se abbasso questa
leva che succ...]
22:51 -!- photron [~photron@port-92-201-141-254.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
22:59 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
22:59 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
23:02 -!- trustin [~trustin@redhat/jboss/trustin] has joined #go-nuts
23:03 -!- kanru [~kanru@118-168-235-45.dynamic.hinet.net] has joined #go-nuts
23:14 -!- tvw [~tv@e176007068.adsl.alicedsl.de] has quit [Remote host closed the
connection]
23:14 -!- dju [dju@fsf/member/dju] has quit [Read error: Connection reset by peer]
23:15 -!- kanru [~kanru@118-168-235-45.dynamic.hinet.net] has quit [Ping timeout:
265 seconds]
23:15 -!- dforsyth [~dforsyth@pool-71-241-227-107.washdc.fios.verizon.net] has
quit [Quit: leaving]
23:15 -!- yashi [~yashi@dns1.atmark-techno.com] has quit [Ping timeout: 264
seconds]
23:16 -!- dju [dju@fsf/member/dju] has joined #go-nuts
23:20 -!- kanru [~kanru@118-168-235-45.dynamic.hinet.net] has joined #go-nuts
23:21 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
23:21 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
23:22 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has joined #go-nuts
23:23 -!- artefon [~thiago@189.107.204.241] has joined #go-nuts
23:25 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
23:26 -!- iant [~iant@nat/google/x-uubswbwykxbafomq] has quit [Read error:
Operation timed out]
23:31 -!- iant [~iant@67.218.106.174] has joined #go-nuts
23:31 -!- mode/#go-nuts [+v iant] by ChanServ
23:31 -!- marsu [~marsu@93.12.55.203] has quit [Quit: Leaving]
23:33 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has quit [Quit:
gpolo]
23:39 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
23:40 -!- niemeyer [~niemeyer@201-11-242-47.pltce701.dsl.brasiltelecom.net.br] has
quit [Remote host closed the connection]
23:41 < plexdev> http://is.gd/d9jKT by [Rob Pike] in go/src/pkg/strconv/ --
strconv: fix %.2g, 40
23:45 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
23:51 -!- travisbrady [~tbrady@67-207-96-194.static.wiline.com] has joined
#go-nuts
23:52 < travisbrady> Does go provide map type in its distribution?
Something like std::map in C++ or TreeMap in Java?
23:56 < KirkMcDonald> travisbrady: maps are a built-in type.
23:56 < KirkMcDonald> travisbrady: Mind, they are hash tables, and not trees
like the examples you gave.
23:56 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Read error: No route to host]
23:56 < travisbrady> KirkMcDonald: but aren't they built atop hash tables
and therefore not ordered?
23:56 < KirkMcDonald> Correct.
23:56 < travisbrady> Right, I'm looking for an ordered map
23:56 < KirkMcDonald> Sorted, do you mean?
23:57 < KirkMcDonald> But, no, Go doesn't have any red-black trees or the
like.
23:58 < plexdev> http://is.gd/d9kty by [Rob Pike] in go/src/pkg/strconv/ --
strconv: fix %.1f, 0.09
23:58 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has left
#go-nuts []
23:58 < KirkMcDonald> Not in the standard library, at least.
23:58 < KirkMcDonald> It's possible someone has written one, I suppose.
23:59 -!- gpolo [~gpolo@189.58.34.225.dynamic.adsl.gvt.net.br] has joined #go-nuts
--- Log closed Wed Jun 30 00:00:12 2010