--- Log opened Mon Sep 20 00:00:07 2010
00:00 < theshish> I thought I read explicit conversions didn't exist in go
00:00 < exch> I could have sworn i've done something similar yesterday
00:04 -!- ExtraSpice [~XtraSpice@78-57-168-219.static.zebra.lt] has quit [Ping
timeout: 240 seconds]
00:05 < Tv> theshish: no, but that's what i mean by saying you just gave a
new name to int
00:05 < Tv> theshish: there's no conversion
00:05 < theshish> but you have to say int(v)
00:05 < theshish> and that does no conversion?
00:06 < Tv> oh sorry misread your earlier line
00:06 < exch> hmm.  with types like int it doesn't work.  But with slice
types it does.  -> this runs fine: http://pastebin.com/cxTkkxT6
00:06 < Tv> oh that was exch's sum example
00:07 < Tv> also, if you have type Foo int, you might want to say v.(int)
not int(v)
00:07 < Tv> not sure if there's a difference, but the .(int) syntax
definitely does not convert, it asserts that this is possible
00:07 < theshish> huh
00:08 < Tv> .(type) is mostly used for duck typing in a static language
00:08 < exch> .(int) is a type assertion, not a conversion.  It only works
on interface values
00:08 < Tv> only on interfaces?  ok that's news to me
00:08 < Tv> obviously i haven't explored enough of this ;)
00:09 < theshish> wonder why it works for slices and not int
00:10 < exch> bit confusing.  I'm not sure
00:11 -!- piyushmishra [~piyushmis@117.200.228.111] has quit [Ping timeout: 265
seconds]
00:13 < exch> i'm just guessing here, but perhaps because converting a slice
of one type to a slice of another type is not as trivial as a simple cast.  The
behaviour of allowing implicit conversion of slice types in that particular
situation may be the runtime doing this for you
00:14 < exch> That does contradict the rule of 'no implicit conversions.'
which is not something I see the Go devs doing easily.  So i'm guessing I'm just
missing something else here
00:17 -!- aho [~nya@fuld-4d00d3af.pool.mediaWays.net] has joined #go-nuts
00:19 < exch> the reverse also works apparently.  Passing []int to a
function that takes Foo is fine
00:23 < theshish> hmm
00:23 -!- piyushmishra [~piyushmis@117.200.224.184] has joined #go-nuts
00:26 < theshish> anyone know how goes the development of a debugger?
00:26 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 245 seconds]
00:26 < plexdev> http://is.gd/fiGmZ by [Rob Pike] in go/src/pkg/netchan/ --
netchan: handle closing of channels.
00:26 < plexdev> http://is.gd/fiGn7 by [Nigel Tao] in
go/src/pkg/exp/draw/x11/ -- exp/draw/x11: mouse location is a signed integer.
00:30 < cbeck> Slowly, it looks like, last commit to ogle was beginning of
july
00:30 < theshish> ouch
00:38 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
00:38 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
00:44 -!- mikespook [~mikespook@219.137.72.208] has joined #go-nuts
00:59 -!- aho [~nya@fuld-4d00d3af.pool.mediaWays.net] has quit [Ping timeout: 245
seconds]
01:06 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:09 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
01:11 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has quit
[Ping timeout: 272 seconds]
01:12 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined
#go-nuts
01:17 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has joined
#go-nuts
01:31 -!- aho [~nya@fuld-4d00d0fa.pool.mediaWays.net] has joined #go-nuts
01:31 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
01:52 -!- gnuvince_ [~vince@72.0.215.231] has joined #go-nuts
02:06 -!- piyushmishra [~piyushmis@117.200.224.184] has quit [Read error:
Connection reset by peer]
02:07 -!- tensorpudding [~user@99.23.122.78] has joined #go-nuts
02:12 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
02:12 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
02:14 < plexdev> http://is.gd/fiMvq by [Russ Cox] in 5 subdirs of go/src/ --
6l, 8l: clean up ELF code, fix NaCl
02:27 -!- piyushmishra [~piyushmis@117.200.224.154] has joined #go-nuts
02:28 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Read error: Connection reset by peer]
02:31 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
02:31 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has joined
#go-nuts
02:33 -!- major_majors [~major_maj@173-10-44-57-Michigan.hfc.comcastbusiness.net]
has joined #go-nuts
02:35 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:42 -!- jackman [~jackman@c-71-56-158-131.hsd1.wa.comcast.net] has quit [Quit:
leaving]
03:01 < plexdev> http://is.gd/fiPf7 by [Russ Cox] in go/src/pkg/syscall/ --
nacl: fix zero-length writes
03:01 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:06 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
03:07 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:07 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
03:10 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
03:11 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
03:17 -!- nelson_ [~nelson@84.sub-75-213-20.myvzw.com] has joined #go-nuts
03:17 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
03:17 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
03:19 -!- nelson_ [~nelson@84.sub-75-213-20.myvzw.com] has left #go-nuts []
03:19 -!- ukai [~ukai@nat/google/x-fvjzhksuwohtmvxw] has quit [Ping timeout: 240
seconds]
03:20 -!- Kylarr [Kylarr@122-148-63-115.static.dsl.dodo.com.au] has quit [Read
error: Connection reset by peer]
03:20 -!- ukai [~ukai@nat/google/x-fvtfswlnxcqohakb] has joined #go-nuts
03:23 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
03:23 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
03:26 -!- major_majors [~major_maj@173-10-44-57-Michigan.hfc.comcastbusiness.net]
has quit [Quit: major_majors]
03:30 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
03:33 < plexdev> http://is.gd/fiQO9 by [Russ Cox] in go/src/pkg/runtime/ --
runtime: better panic for send to nil channel
03:33 < plexdev> http://is.gd/fiQOb by [Russ Cox] in go/test/ -- test: fix
NaCl build
03:33 < plexdev> http://is.gd/fiQOv by [Russ Cox] in go/src/pkg/syscall/ --
syscall: fix NaCl
03:33 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Ping
timeout: 272 seconds]
03:34 -!- gid [~gid@220-253-147-183.VIC.netspace.net.au] has joined #go-nuts
03:35 -!- powerje [~powerje@adsl-75-49-12-108.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
03:55 < Tv> ooh nil channels have been my #1 most annoying to debug thing in
go
04:06 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
04:07 -!- powerje [~powerje@adsl-75-49-12-108.dsl.wotnoh.sbcglobal.net] has quit
[Quit: powerje]
04:13 -!- beam [gu@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
04:13 -!- beam [gu@24.238.32.162.res-cmts.segr.ptd.net] has left #go-nuts []
04:14 -!- jdp [gu@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
04:15 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
04:19 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 276 seconds]
04:20 -!- iant [~iant@216.239.45.130] has joined #go-nuts
04:20 -!- mode/#go-nuts [+v iant] by ChanServ
04:47 -!- aho [~nya@fuld-4d00d0fa.pool.mediaWays.net] has quit [Ping timeout: 245
seconds]
04:53 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 265 seconds]
04:55 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Quit: dj2]
05:01 -!- scm [justme@d019083.adsl.hansenet.de] has quit [Ping timeout: 272
seconds]
05:03 -!- scm [justme@d071006.adsl.hansenet.de] has joined #go-nuts
05:17 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
255 seconds]
05:19 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
05:20 < plexdev> http://is.gd/fiWFK by [Alex Brainman] in go/src/ --
Make.inc: make GOOS detection work on windows
05:26 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the
connection]
05:28 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
05:35 -!- Kashia [~Kashia@port-92-200-8-77.dynamic.qsc.de] has quit [Ping timeout:
265 seconds]
05:37 < plexdev> http://is.gd/fiXyp by [Rob Pike] in go/src/pkg/netchan/ --
netchan: provide a method (Importer.Errors()) to recover protocol errors.
05:47 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
05:47 < cbeck> Woo for Importer.Errors(), debugging netchan issues was such
a godawful pain
06:09 -!- eric [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
06:12 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
06:20 -!- Kashia [~Kashia@port-92-200-33-106.dynamic.qsc.de] has joined #go-nuts
06:20 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Quit: Leaving]
06:20 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
06:29 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
06:29 -!- ucasano [~ucasano@95.231.79.71] has joined #go-nuts
06:31 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
06:32 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Read error:
Operation timed out]
06:36 -!- jhh [~jhh@f048168137.adsl.alicedsl.de] has joined #go-nuts
06:59 -!- piyushmishra [~piyushmis@117.200.224.154] has quit [Ping timeout: 255
seconds]
06:59 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has quit [Read error:
Connection reset by peer]
07:00 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 252
seconds]
07:05 -!- ithor [~thor@81.95.228.239] has joined #go-nuts
07:11 -!- piyushmishra [~piyushmis@117.200.225.251] has joined #go-nuts
07:26 < plexdev> http://is.gd/fj4Xt by [Rob Pike] in go/src/pkg/netchan/ --
netchan: fix unimportant typo in test error call.
07:27 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
07:38 -!- ikaros [~ikaros@dslb-084-059-076-021.pools.arcor-ip.net] has joined
#go-nuts
07:39 -!- tvw [~tv@e176003129.adsl.alicedsl.de] has joined #go-nuts
07:40 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
07:41 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
07:46 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
07:51 -!- jdp [gu@24.238.32.162.res-cmts.segr.ptd.net] has quit []
07:51 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
07:52 -!- Gertm [~Gertm@mail.dzine.be] has quit [Ping timeout: 265 seconds]
08:07 -!- Gertm [~Gertm@mail.dzine.be] has joined #go-nuts
08:08 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-172-36.clienti.tiscali.it] has
joined #go-nuts
08:12 -!- atsampson [~ats@94-194-126-16.zone8.bethere.co.uk] has joined #go-nuts
08:20 -!- tsdh [~user@tsdh.uni-koblenz.de] has joined #go-nuts
08:28 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
08:30 -!- Kashia [~Kashia@port-92-200-33-106.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
08:32 < mpl> heya.  I'm piping some text from a program to another.  I
wanted to get that text as input in the second program with fmt.Scan in a for loop
but all I'm getting is zeroes.  what am I doing wrong?
08:34 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 252 seconds]
08:35 < KirkMcDonald> mpl: Hard to say.  Show us some code.
08:35 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
08:37 < mpl> bah, it's nothing more than fun foo() { for ;; { signal, err :=
fmt.Scan() ; if err != nil { log.Exit(err) } print signal } }
08:40 < mpl> fmt.Scan() won't return as long as there's nothing new coming
on Stdin, will it?
08:40 < KirkMcDonald> Are you passing anything to fmt.Scan() in there?
08:40 < mpl> as argument?  no.
08:40 < KirkMcDonald> ...  then it's not going to do much.
08:41 < mpl> what do you mean?  isn't it supposed to read from Stdin?
08:42 < KirkMcDonald> Well, yes.  But what do you expect it to do?
08:43 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has joined
#go-nuts
08:43 < mpl> damn.  ok, I thought it wrote in the int it returned, how silly
of me.
08:43 < mpl> of course I have to give it a slice of bytes or something to
write onto, thx.
08:44 < KirkMcDonald> var signal int; for { n, err := fmt.Scan(&signal) /*
...  */ }
08:44 < mpl> yeah, thanks.
08:44 < mpl> getting tired I guess...
08:45 < KirkMcDonald> And you probably don't need 'n', merely checking
whether err != nil should suffice.
08:45 < mpl> yep
08:50 -!- ExtraSpice [~XtraSpice@78-57-168-219.static.zebra.lt] has joined
#go-nuts
08:51 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
08:58 -!- janm [~jmalonzo@ppp121-44-124-217.lns20.syd6.internode.on.net] has
joined #go-nuts
09:03 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
connection]
09:04 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
09:19 -!- ikaros [~ikaros@dslb-084-059-076-021.pools.arcor-ip.net] has quit [Quit:
Leave the magic to Houdini]
09:22 -!- ikaros [~ikaros@188.107.211.152] has joined #go-nuts
09:23 -!- DerHorst [~Horst@e176103144.adsl.alicedsl.de] has joined #go-nuts
09:26 -!- saschpe [~quassel@mgdb-4d0cf2e5.pool.mediaWays.net] has joined #go-nuts
09:27 -!- ucasano [~ucasano@95.231.79.71] has quit [Read error: Connection reset
by peer]
09:28 -!- ucasano [~ucasano@95.231.79.71] has joined #go-nuts
09:29 -!- xb95 [~weechat@dreamwidth/staff/mark] has quit [Ping timeout: 245
seconds]
09:30 -!- xb95 [~weechat@xb95.com] has joined #go-nuts
09:31 -!- ampleyfly [ampleyfly@free.blinkenshell.org] has joined #go-nuts
09:34 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
09:35 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has joined #go-nuts
09:37 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
09:38 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
09:41 -!- luruke [~luruke@151.53.42.188] has joined #go-nuts
09:41 -!- mikespook [~mikespook@219.137.72.208] has quit [Quit: Leaving.]
09:44 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
09:44 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
09:51 -!- npe [~npe@94-227-43-225.access.telenet.be] has joined #go-nuts
09:56 < tux21b> is it possible to write a function like Add(a, b) which can
be called with all kinds of arguments (e.g.  int + int, int + float, str + str,
...)?
09:58 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-172-36.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
09:58 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has quit
[Ping timeout: 272 seconds]
10:07 < npe> tux21b: yes, using reflection, what are you trying to do?
10:07 -!- virtualsue [~chatzilla@nat/cisco/x-fclahtmepbjpvopi] has joined #go-nuts
10:08 < tux21b> i am trying to write some kind of interpreter.  anyway, i
just found out about http://golang.org/doc/effective_go.html#conversions and i am
reading it now :)
10:16 < npe> tux21b: you know goyacc?
10:16 < npe> go to run, ttyl.
10:18 < tux21b> no, i don't yet, but i might try it later
10:18 < tux21b> currently i have written a simple lexer and lr(1) parser by
hand, which is a boring task but not that hard either ;)
10:20 -!- navigator [~navigator@p548928AB.dip.t-dialin.net] has joined #go-nuts
10:22 -!- wrtp [~rog@92.17.7.103] has joined #go-nuts
10:40 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
10:58 -!- ucasano [~ucasano@95.231.79.71] has quit [Quit: ucasano]
10:59 -!- Guest84970 [~luka@88.200.96.18] has quit [Quit: leaving]
10:59 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
11:15 -!- virtualsue [~chatzilla@nat/cisco/x-fclahtmepbjpvopi] has quit [Ping
timeout: 276 seconds]
11:24 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has joined
#go-nuts
11:31 -!- gid [~gid@220-253-147-183.VIC.netspace.net.au] has quit [Quit: Leaving.]
11:32 -!- piyushmishra [~piyushmis@117.200.225.251] has quit [Ping timeout: 264
seconds]
11:38 -!- artefon [~thiago@189.107.228.36] has joined #go-nuts
11:39 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Ping timeout: 272
seconds]
11:40 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
11:42 -!- luruke [~luruke@151.53.42.188] has quit [Quit: Leaving]
11:44 -!- taruti [taruti@aoi.yi.org] has quit [Quit: reboot]
11:47 -!- DerHorst [~Horst@e176103144.adsl.alicedsl.de] has quit [Remote host
closed the connection]
12:02 -!- tvw [~tv@e176003129.adsl.alicedsl.de] has quit [Ping timeout: 252
seconds]
12:10 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
12:11 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has quit
[Ping timeout: 240 seconds]
12:15 -!- janm [~jmalonzo@ppp121-44-124-217.lns20.syd6.internode.on.net] has quit
[Ping timeout: 245 seconds]
12:20 -!- tasosos [~tasosos@178.128.158.237.dsl.dyn.forthnet.gr] has quit [Remote
host closed the connection]
12:21 -!- virtualsue [~chatzilla@nat/cisco/x-nxgcnjibnkdzzzqs] has joined #go-nuts
12:23 -!- taruti [taruti@aoi.yi.org] has joined #go-nuts
12:29 -!- JohnDoe365 [~JohnDoe36@193.171.58.228] has joined #go-nuts
12:30 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has joined
#go-nuts
12:31 -!- ikaros [~ikaros@188.107.211.152] has quit [Quit: Leave the magic to
Houdini]
12:31 -!- ikaros [~ikaros@2001:41b8:9bf:fe04:d881:bfff:feaf:e6a9] has joined
#go-nuts
12:32 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has joined
#go-nuts
12:35 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
12:37 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
12:39 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
12:39 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 264 seconds]
12:44 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
connection]
12:44 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
12:56 -!- ucasano [~ucasano@95.231.79.71] has joined #go-nuts
12:57 -!- lmoura [~lauromour@187.59.240.56] has joined #go-nuts
12:57 -!- ithor [~thor@81.95.228.239] has left #go-nuts ["bye"]
13:00 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:04 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265
seconds]
13:07 -!- femtoo [~femto@95-89-248-241-dynip.superkabel.de] has joined #go-nuts
13:09 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has joined
#go-nuts
13:11 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has quit
[Client Quit]
13:13 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has joined
#go-nuts
13:14 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts
13:19 -!- major_majors
[~major_maj@70-88-123-176-BusName-Monroe.Mi.hfc.comcastbusiness.net] has joined
#go-nuts
13:21 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
13:22 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
13:25 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Quit: leaving]
13:26 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal]
13:33 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
13:33 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has left
#go-nuts ["ERC Version 5.3 (IRC client for Emacs)"]
13:35 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:46 -!- skelterjohn [~jasmuth@c-76-124-23-156.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:49 -!- ExtraSpice [~XtraSpice@78-57-168-219.static.zebra.lt] has quit [Quit:
Leaving]
13:52 -!- SingAlong [~chatzilla@117.192.204.249] has joined #go-nuts
13:52 < SingAlong> has anyone tried running go with NaCl (Native Client)
14:00 -!- tsdh [~user@tsdh.uni-koblenz.de] has quit [Quit: Goodbye guys!]
14:05 -!- tasosos [~tasosos@178.128.158.237.dsl.dyn.forthnet.gr] has joined
#go-nuts
14:06 -!- thiago__ [~thiago@189.107.213.136] has joined #go-nuts
14:07 -!- artefon [~thiago@189.107.228.36] has quit [Ping timeout: 245 seconds]
14:10 < wrtp> SingAlong: i did try, and it didn't work, but russ cox
suggested a solution which i haven't tried yet.
14:11 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 255
seconds]
14:13 < SingAlong> wrtp: ah you seem to be familiar with NaCl.  Can it
access files(just read dir and list files)?  I'm just watching the Google IO video
and I've setup my comp for nacl dev.
14:13 < wrtp> i don't think so
14:14 < taruti> it is sandboxed
14:14 < wrtp> i think the point is that it's got about the same access to
the outside world as javascript
14:14 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
14:14 < wrtp> BTW, i've just written a go-related blog post.  feedback
appreciated...
http://rogpeppe.wordpress.com/2010/09/20/lenses-and-listeners-in-go/
14:15 < SingAlong> ah!  I was thinking about developing a browser-based
media player (access local file system scrobble music and use the browser storage
to store the music library data)
14:15 < taruti> wrtp: are you familiar with plan9 control(2) for GUIs?
14:15 < SingAlong> an awesome idea smashed in a few hours :(
14:18 < wrtp> taruti: yes, i've looked at it
14:22 < wrtp> taruti: i wanted something a little less rigid.
14:22 * taruti has tinkered about a webcontrol in Go
14:23 < wrtp> server-side?
14:24 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds]
14:24 < taruti> wrtp: frontend in JS, websocket and backend in Go
14:25 < wrtp> ok, that's what i'd thought.  the difficulty is that you don't
necessarily want all logic to go via the server...
14:26 -!- piyushmishra [~piyushmis@117.200.225.251] has joined #go-nuts
14:26 < gmilleramilar> anybody here tried godag?
http://code.google.com/p/godag/
14:29 -!- piyushmishra [~piyushmis@117.200.225.251] has quit [Read error:
Connection reset by peer]
14:29 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
14:32 -!- thiago__ [~thiago@189.107.213.136] has quit [Read error: Operation timed
out]
14:35 < gmilleramilar> guess that's a 'no' :)
14:36 < nsf> it's quite useless
14:37 < gmilleramilar> because you prefer make?
14:38 < nsf> because it only builds go
14:38 < nsf> every more or less bigger than small software needs far more
than that
14:39 < nsf> and adding software dependency for building just go source code
isn't appropriate
14:39 < nsf> I believe Go support in tools like cmake, waf, scons will be a
much better idea
14:39 < nsf> waf has Go support, I've heard that people do something for
scons
14:40 < nsf> cmake..  not really works for Go, but it is still possible to
add tht
14:40 < nsf> that*
14:40 < gmilleramilar> yeah, the scons stuff even has a go component for
dependency management...
14:40 < vsmatck> waf does not support go well enough to be useable.
14:41 < nsf> yeah but it was one of the first build tools that supported go
at least partially
14:41 < vsmatck> Well, no scanning for local packages and determining
dependencies anyways.
14:41 < nsf> yes, that's the problem
14:41 < vsmatck> I already have a bug report filed on that with waf.
14:41 < nsf> although import statement has very simple grammar
14:41 < vsmatck> But it's a low priority.
14:41 < nsf> and it's easy to implement
14:41 < gmilleramilar> nsf: how do you manage dependencies?
14:41 < nsf> I do it manually
14:41 < nsf> my projects aren't that big
14:42 < vsmatck> I was thinking about writing my own build system for
myself.
14:42 < nsf> it's not a problem for me :)
14:42 < exch> automatic dependency resolution is very easy to account for
with go projects
14:42 < nsf> exch: it depends..
14:42 < nsf> sometimes go libraries have rather complex builds
14:42 < nsf> especially cgo ones
14:43 < nsf> for example: import "./termbox" tells me that I need to build
termbox.a somehow, but how exactly is a big question
14:44 < nsf> and here we really need a big fully featured build system that
can handle all scenarios
14:44 < exch> I mean the actual sorting of package order.  of course there's
some tricky steps in difuring out how to build a cgo project
14:44 < nsf> automate simple ones and allow complex ones
14:44 < nsf> exch: building dag for go is not hard, yes
14:44 < vsmatck> There's like 5 or 6 build systems on the community page but
none of them seem complete really.
14:44 < nsf> vsmatck: true
14:44 < exch> I've just my own build tool written in go for a while, but to
be honest it's just not worth the hassle.  Just writing some makefiles works fine
14:44 < nsf> writing a build system from scratch is a bad idea
14:45 < nsf> imho
14:45 < vsmatck> I've been poking around in waf.  Trying to figure out how
to add scanning.  I've never made anything with python tho.
14:45 < nsf> on the other hand
14:45 < vsmatck> If waf fully supported go it could replace make for
building the go compiler and go standard libraries.
14:45 < nsf> there are a lot of build systems and almost all of them have
weird properies
14:46 < nsf> scons is slow as hell, waf has weird internal architecture,
cmake has painful scripting syntax
14:46 < nsf> :)
14:46 < exch> make is pretty much present on every dev's computer.  it's a
safe choice as far as dependencies goes
14:46 < nsf> vsmatck: I don't think so
14:46 < vsmatck> blech ya.  I replaced scons with waf for my C++ project
because of speed.
14:46 < nsf> waf is quite..  I don't know
14:46 < vsmatck> 10s to determine nothing needed to be rebuilt.  Waf takes
0.5s.
14:46 < nsf> unique
14:46 < plexdev> http://is.gd/fjzU3 by [Adam Langley] in 2 subdirs of
go/src/pkg/ -- Fix certificate validation.
14:46 < vsmatck> waf seems super simple to setup.  My favorite build system
so far.
14:47 < nsf> vsmatck: you should try extending it
14:47 < nsf> like adding build steps for your own script, etc.
14:47 < nsf> it's kind of weird to me
14:47 < nsf> I don't know, maybe I'm wrong
14:47 < nsf> also it forces you to specify "configure" step
14:47 < nsf> as far as I rembmer
14:48 < nsf> remember*
14:48 -!- piyushmishra [~piyushmis@117.200.227.234] has joined #go-nuts
14:48 < vsmatck> ya it does.
14:48 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:48 < nsf> also it has issues with building out of the source tree
14:48 < nsf> I hate that it places binary somewhere deep in the hierarchy by
default
14:48 < vsmatck> It uses build directories.  I've never had a problem with
it tho.
14:48 < nsf> I really like cmake in that sense
14:48 < vsmatck> I think it's nicer to not have tons of *.o files
everywhere.
14:49 -!- kanru [~kanru@118-160-164-43.dynamic.hinet.net] has joined #go-nuts
14:49 < nsf> the only problem it has..  its scripting language
14:49 < nsf> vsmatck: yes
14:49 < vsmatck> I just don't like code generators unless there's absolutely
no chance I'll ever need to look at the generated code.
14:49 < nsf> with cmake you can even have multiple build directories
14:49 < nsf> like Debug Release
14:49 < nsf> and you just type 'make' inside
14:49 < nsf> and the binary is here
14:50 < nsf> anyway, we'll see..  probably sooner or later there will be
another new build system
14:50 < nsf> better than others
14:50 < vsmatck> I like what waf does where it's all contained in a 70k
file.
14:51 < nsf> + python distribution
14:51 < nsf> ;)
14:51 < vsmatck> So you always use the same version to build the project.
14:51 < vsmatck> yeah, I'd want to be able to do the same thing with go.
14:52 < vsmatck> Like I could write a build system.  Package it in one file.
Then just do ./build.go
14:52 < vsmatck> bah, I just need to learn enough python to modify waf.
14:53 -!- piyushmishra [~piyushmis@117.200.227.234] has quit [Read error: No route
to host]
14:54 < nsf> hehe, I've contributed actually something to waf regarding Go
14:56 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
14:56 -!- gigatropolis [~chatzilla@c-76-102-52-104.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
14:56 -!- SingAlong [~chatzilla@117.192.204.249] has quit [Ping timeout: 264
seconds]
14:56 < nsf> and never used it since
14:56 < nsf> :D
14:57 < vsmatck> I got Thomas the waf guy to add a hack for me recently for
gopack.  Since gopack can only handle 1 object file.
14:57 < vsmatck> waf has a nice experimental daemon mode that uses inotify
to auto-rebuild too.  I've been using that.  It's quite nice.
14:57 < nsf> yep, that stopped me from doing cmake integration for Go
14:57 < nsf> cmake is really a C/C++ centric build system
14:58 < nsf> and it's not possible to add Go as a first class compiler there
14:58 < bfrank> Hmm, does anyone know what this means?
14:58 < bfrank> Make.inc:29: Extraneous text after `else' directive
14:58 < bfrank> Make.inc:30: Extraneous text after `else' directive
14:58 < bfrank> Make.inc:30: *** only one `else' per conditional.  Stop.
14:58 < bfrank> Did not find Go environment variables.
14:58 < vsmatck> waf is nice like that.  It's really generic.
14:58 < nsf> because it relies on a fact that yoy can build .go -> .o
14:58 < nsf> you*
14:59 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Read error: Connection
reset by peer]
15:00 < nsf> bfrank: strange
15:00 -!- skelterjohn [~jasmuth@dsl092-234-022.phl1.dsl.speakeasy.net] has joined
#go-nuts
15:00 < nsf> are you building with gomake or make?
15:00 < bfrank> I am going to src and running all.bash
15:00 < bfrank> so whatever that is going
15:00 < bfrank> err, doing
15:01 < nsf> are you using the 'release' branch or the just the latest
stuff?
15:01 < nsf> s/the//
15:01 < bfrank> https://go.googlecode.com/hg/
15:01 < bfrank> release
15:01 < nsf> I see
15:01 -!- skelterjohn [~jasmuth@dsl092-234-022.phl1.dsl.speakeasy.net] has quit
[Client Quit]
15:01 < nsf> then it's really strange
15:01 < bfrank> I just am following the steps on the golang site
15:01 < nsf> what OS?
15:02 < bfrank> Linux 2.4.21-60.ELsmp #1 SMP Mon Aug 24 20:17:56 EDT 2009
i686 i686 i386 GNU/Linux
15:03 < nsf> an ancient linux
15:03 < nsf> interesting
15:03 < nsf> most likely you have an incompatible make version or something
15:04 < bfrank> GNU Make version 3.79.1, by Richard Stallman and Roland
McGrath.
15:04 < nsf> hm..
15:04 < nsf> looks like a pretty recent one
15:04 < nsf> mine is 3.81
15:05 < nsf> then I don't know
15:05 -!- virtualsue [~chatzilla@nat/cisco/x-nxgcnjibnkdzzzqs] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.13/20100914122142]]
15:05 < nsf> hehe
15:05 < nsf> or it's that old
15:06 < nsf> looks like 3.79.1 was available in 2003
15:08 < nsf> yes, it is ancient
15:08 < nsf> was released in 2000
15:09 < nsf> bfrank: I don't know what to suggest you
15:09 < nsf> update your system?
15:09 < nsf> it's a bit out-of-date
15:09 < nsf> ;)
15:10 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
15:10 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:10 -!- SingAlong [~chatzilla@117.192.215.188] has joined #go-nuts
15:12 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
15:16 -!- navigator [~navigator@p548928AB.dip.t-dialin.net] has quit [Ping
timeout: 272 seconds]
15:18 -!- yasith [~yasith@112.135.75.24] has joined #go-nuts
15:20 < bfrank> ha
15:21 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
15:21 -!- dho [~devon@onager.omniti.com] has quit [Ping timeout: 252 seconds]
15:22 -!- evildho [~devon@onager.omniti.com] has quit [Ping timeout: 276 seconds]
15:23 -!- rejb [~rejb@unaffiliated/rejb] has quit [Quit: .]
15:25 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
15:27 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
15:28 -!- evildho [~devon@onager.omniti.com] has joined #go-nuts
15:28 -!- dho [~devon@onager.omniti.com] has joined #go-nuts
15:29 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Client Quit]
15:32 -!- SingAlong [~chatzilla@117.192.215.188] has quit [Quit: ChatZilla 0.9.86
[Firefox 3.6.10/20100915180648]]
15:36 -!- JohnDoe365 [~JohnDoe36@193.171.58.228] has quit [Quit: Leaving.]
15:41 -!- ExtraSpice [~XtraSpice@88.118.34.223] has joined #go-nuts
15:42 -!- Guest99575 [~eric@2001:1878:300:a:215:afff:fece:c1fc] has joined
#go-nuts
15:44 -!- jiunec [~cenuij@93.26.149.132] has quit [Remote host closed the
connection]
15:49 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 264 seconds]
15:50 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
15:51 -!- Guest99575 [~eric@2001:1878:300:a:215:afff:fece:c1fc] has quit [Read
error: Operation timed out]
15:52 -!- luruke [~luruke@151.53.42.188] has joined #go-nuts
15:54 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:57 -!- boscop [~boscop@f055165239.adsl.alicedsl.de] has joined #go-nuts
15:57 -!- cenuij [~cenuij@93.26.149.132] has joined #go-nuts
15:57 -!- cenuij [~cenuij@93.26.149.132] has quit [Changing host]
15:57 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
15:57 -!- boscop_ [~boscop@f055020005.adsl.alicedsl.de] has quit [Ping timeout:
240 seconds]
16:01 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
16:01 -!- dj2_ [~dj2@216.16.242.254] has joined #go-nuts
16:02 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
16:02 -!- ukai [~ukai@nat/google/x-fvtfswlnxcqohakb] has quit [Ping timeout: 252
seconds]
16:03 -!- ukai [~ukai@nat/google/x-odqipmqtyzlaokmy] has joined #go-nuts
16:03 -!- xb95 [~weechat@xb95.com] has quit [Changing host]
16:03 -!- xb95 [~weechat@dreamwidth/staff/mark] has joined #go-nuts
16:03 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
16:04 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 240 seconds]
16:08 -!- dj2_ [~dj2@216.16.242.254] has joined #go-nuts
16:09 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 240 seconds]
16:13 -!- artefon [~thiagon@150.164.2.20] has quit [Remote host closed the
connection]
16:16 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 255
seconds]
16:18 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
16:18 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
16:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:18 < plexdev> http://is.gd/fjHCg by [Adam Langley] in 2 subdirs of
go/src/pkg/crypto/ -- crypto/x509, crypto/tls: improve root matching and observe
CA flag.
16:19 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
16:21 -!- femtoo [~femto@95-89-248-241-dynip.superkabel.de] has quit [Quit:
Leaving]
16:27 -!- rejb [~rejb@unaffiliated/rejb] has quit [Quit: .]
16:29 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
16:29 -!- rejb [~rejb@unaffiliated/rejb] has quit [Client Quit]
16:33 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
16:40 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
16:40 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 276
seconds]
16:41 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
16:43 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265
seconds]
16:44 < nickaugust> can I specify a range of keys to be returned from a map?
ie all keys from 'apple' to 'bus'?  or what type of container would be good for
this?  that can be sorted and queried for a range of text based keys?
16:45 < nickaugust> maybe a string vector and then use the iterable package?
16:47 < Tv> nickaugust: i'd expect it to be hash order, so no nice way of
traversing e.g.  alphabetically..  the usual trick to preserve e.g.  insertion
order while using a hash map is to just store the keys in a separate list (in the
case of go, a Vector)..  it really depends on what your access patterns are
16:47 <+iant> maps aren't sorted, so, yeah, you would to use something like
a vector which you can sort, or write your own container which is a binary tree or
something like that
16:48 < nickaugust> Tv: iant: ok thats what i was thinking.  thanks!
16:49 < Tv> nickaugust: if this is a single rare scan every now and then,
you might even make a temporary heap, insert all the keys there, and consume that
16:50 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
16:50 < plexdev> http://is.gd/fjKqY by [Luuk van Dijk] in 3 subdirs of
go/src/cmd/ -- 6l/8l: emit DWARF frame info.
16:55 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 245
seconds]
16:56 < nickaugust> Tv: its a in memory index that will be used frequently
so im deciding between a hash table and a binary tree.  ive got it built as a tree
now but each file thats indexed has multiple nodes in the tree and im having
trouble figuring how to keep track of where all the nodes are for a particular
file.  so when i go to delete all nodes for a file i dont have to iter through the
whole tree to find
16:56 < nickaugust> matches.  i was thinking it might be easier to go to a
hash table of some sort or just manually keep track of each file name and all the
nodes that belong to it in a separate tree
16:56 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
16:56 -!- Kashia [~Kashia@port-92-200-33-106.dynamic.qsc.de] has joined #go-nuts
16:57 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
16:57 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:57 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
16:58 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts
16:58 -!- dj2 [~dj2@216.16.242.254] has quit [Quit: dj2]
16:58 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
17:01 -!- jefferai [~quassel@kde/amarok/mitchell] has joined #go-nuts
17:02 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
17:02 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Ping timeout: 265
seconds]
17:03 -!- jefferai [~quassel@kde/amarok/mitchell] has quit [Remote host closed the
connection]
17:04 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Ping
timeout: 245 seconds]
17:13 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has joined
#go-nuts
17:15 -!- kanru [~kanru@118-160-164-43.dynamic.hinet.net] has quit [Ping timeout:
272 seconds]
17:18 -!- photron [~photron@port-92-201-137-53.dynamic.qsc.de] has joined #go-nuts
17:21 -!- d_m [d6@SDF.ORG] has joined #go-nuts
17:22 -!- powerje [~powerje@adsl-75-49-12-108.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
17:23 -!- powerje [~powerje@adsl-75-49-12-108.dsl.wotnoh.sbcglobal.net] has quit
[Client Quit]
17:25 -!- kanru [~kanru@118-160-164-43.dynamic.hinet.net] has joined #go-nuts
17:31 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
17:39 -!- saschpe [~quassel@mgdb-4d0cf2e5.pool.mediaWays.net] has quit [Read
error: Connection reset by peer]
17:42 -!- tux21b [~christoph@90.146.60.30] has quit [Quit: exit(EXIT_SUCCESS); //
see ⓎⓄⓊ]
17:43 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
17:47 -!- ucasano [~ucasano@95.231.79.71] has quit [Quit: ucasano]
17:52 < plexdev> http://is.gd/fjQjy by [Joe Poirier] in go/doc/ -- doc: fix
typo in go_spec.html
17:58 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
18:02 -!- kanru [~kanru@118-160-164-43.dynamic.hinet.net] has quit [Ping timeout:
252 seconds]
18:04 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
18:05 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has quit
[Quit: derferman]
18:11 -!- fabled [~fabled@letku109.adsl.netsonic.fi] has joined #go-nuts
18:13 -!- araujo [~araujo@190.199.102.96] has joined #go-nuts
18:13 -!- araujo [~araujo@190.199.102.96] has quit [Changing host]
18:13 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
18:24 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Ping timeout: 240
seconds]
18:27 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has joined
#go-nuts
18:28 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
18:34 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
18:35 -!- Moeryn [vKM_Moeryn@78.251.163.92] has joined #go-nuts
18:35 -!- Moeryn [vKM_Moeryn@78.251.163.92] has quit [Client Quit]
18:42 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
18:45 -!- tvw [~tv@e176011212.adsl.alicedsl.de] has joined #go-nuts
18:54 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Read error:
Connection reset by peer]
19:02 -!- tsdh [~user@p54AF008B.dip0.t-ipconnect.de] has joined #go-nuts
19:06 < nickaugust> so if I have a struct Contact can I assign methods to
type []Contact?  I have index which is defined as var index []Contact but I cant
assign the methods nessesary to satisfy sort.Interface.  Is this not how I should
sort my slice of contacts?
19:06 -!- janm [~jmalonzo@ppp121-44-124-217.lns20.syd6.internode.on.net] has
joined #go-nuts
19:09 < skelterjohn> if you can't use []Contact as a receiver type directly
(and I believe indeed you cannot), you can re-type it
19:09 < skelterjohn> type ContactList []Contact
19:09 < skelterjohn> func (cl ContactList) foo() ...
19:09 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
19:10 < nickaugust> skelterjohn: thanks man.  i thought there was a way to
do it.
19:10 < skelterjohn> and then when you pass a []Contact to a function that
needs something to implement sort.Interface, you pass ContactList(mySlice) instead
19:10 < nickaugust> gotcha.  thanks :)
19:10 < skelterjohn> my pleasure
19:11 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Read error:
Connection reset by peer]
19:14 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Quit: leaving]
19:14 < exch> you don't have to cast it to ContactList() explicitely.  Slice
types have some implicit conversion magic for that purpose
19:14 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
19:15 < skelterjohn> oh
19:15 < skelterjohn> that seems bad
19:15 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 272
seconds]
19:15 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
19:16 < skelterjohn> what if you have "type MyList1 []Contact" and "type
MyList2 []Contact"
19:16 < skelterjohn> and they both implement sort.Interface differently
19:16 < exch> good question
19:16 * exch tests
19:17 -!- MaksimBurnin1 [~max@44.188-224-87.telenet.ru] has joined #go-nuts
19:18 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Read error:
Connection reset by peer]
19:19 -!- ikaros [~ikaros@2001:41b8:9bf:fe04:d881:bfff:feaf:e6a9] has quit [Quit:
Leave the magic to Houdini]
19:21 < exch> not a problem it seems.  You can't pass []Contact to
sort.Sort().  You need to pass either MyList1 or MyList2
19:21 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
19:21 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
19:21 -!- ikaros [~ikaros@2001:41b8:9bf:fe04:58a2:61ff:fe6b:1fd3] has joined
#go-nuts
19:21 < exch> which seems to indicate the implicit conversion is only
selective
19:22 -!- MaksimBurnin1 [~max@44.188-224-87.telenet.ru] has quit [Ping timeout:
276 seconds]
19:22 <+iant> Interface conversion only works at the top level, not inside a
slice, or map, or chan
19:23 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Remote host closed the
connection]
19:28 -!- jesusaurus1 [jesusaur@firefly.cat.pdx.edu] has left #go-nuts []
19:28 -!- jesusaurus [jesusaur@firefly.cat.pdx.edu] has joined #go-nuts
19:29 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
19:30 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Read error:
Connection reset by peer]
19:32 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
19:33 -!- jhawk28 [~jhawk28@user-142gfte.cable.mindspring.com] has joined #go-nuts
19:36 -!- exch [~exch@h144170.upc-h.chello.nl] has quit [Ping timeout: 255
seconds]
19:36 -!- exch [~exch@h144170.upc-h.chello.nl] has joined #go-nuts
19:40 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts
19:41 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
19:42 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has quit [Client Quit]
19:42 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts
19:47 -!- tsdh [~user@p54AF008B.dip0.t-ipconnect.de] has quit [Quit: Goodbye
guys!]
19:49 -!- tav [~tav@92.7.77.8] has quit [Ping timeout: 272 seconds]
19:51 -!- jefferai [~quassel@jefferai.org] has joined #go-nuts
19:51 -!- jefferai [~quassel@jefferai.org] has quit [Changing host]
19:51 -!- jefferai [~quassel@kde/amarok/mitchell] has joined #go-nuts
19:51 -!- Tv1 [~tv@gige.bur.digisynd.com] has joined #go-nuts
19:51 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Disconnected by services]
19:53 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has quit
[Quit: derferman]
19:54 -!- jA_cOp_ [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
19:57 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Ping timeout:
272 seconds]
19:57 -!- wjlroe [~will@212.169.34.114] has joined #go-nuts
19:58 -!- luruke [~luruke@151.53.42.188] has quit [Quit: Leaving]
19:59 < wjlroe> in this example:
http://golang.org/doc/go_tutorial.html#tmp_233 it uses Read(buf[:]) - but when I
try that, the compiler complains "missing lower bound in slice expression"
20:00 < cbeck> wjlroe: Pull and rebuild, that's a very recent change
20:00 < wjlroe> cbeck: ah thanks very much !
20:01 -!- jhawk28 [~jhawk28@user-142gfte.cable.mindspring.com] has quit [Ping
timeout: 252 seconds]
20:06 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
20:09 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
20:11 < skelterjohn> has there been any progress with ogle?
20:13 -!- jefferai [~quassel@kde/amarok/mitchell] has quit [Remote host closed the
connection]
20:13 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
20:13 <+iant> skelterjohn: I don't think so
20:14 <+iant> Instead luuk has been getting 6g/8g to generate DWARF, so that
gdb works on 6.out/8.out files
20:15 < skelterjohn> coding for machine learning is pretty tough without a
debugged, heh
20:15 < skelterjohn> but i muddle through, supported by my convictions
20:17 -!- jefferai [~quassel@kde/amarok/mitchell] has joined #go-nuts
20:23 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal]
20:24 -!- tav [~tav@2001:0:53aa:64c:0:3ffa:a3f8:6ff0] has joined #go-nuts
20:28 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds]
20:33 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
20:36 -!- jefferai [~quassel@kde/amarok/mitchell] has quit [Remote host closed the
connection]
20:39 -!- jefferai [~quassel@kde/amarok/mitchell] has joined #go-nuts
20:39 -!- Kashia [~Kashia@port-92-200-33-106.dynamic.qsc.de] has quit [Quit:
Leaving]
20:44 -!- jhh [~jhh@f048168137.adsl.alicedsl.de] has quit [Remote host closed the
connection]
20:44 -!- jhh [~jhh@0-090.vpn.RWTH-Aachen.DE] has joined #go-nuts
20:50 < wjlroe> is there an up-to-date example for how one should write
makefiles for go projects?
20:56 -!- virtualsue [~chatzilla@nat/cisco/x-sknglqwmjxryegjw] has joined #go-nuts
20:58 < skelterjohn>
http://code.google.com/p/gomatrix/source/browse/matrix/Makefile
20:58 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit:
skelterjohn]
21:00 < exch> the first line in that makefile is incorrect
21:00 < exch> '$(GOARCH)
21:00 < exch> should be 'inc'
21:00 -!- fabled [~fabled@letku109.adsl.netsonic.fi] has quit [Ping timeout: 276
seconds]
21:02 < wjlroe> yeah - that was the malfunction I had :)
21:02 < wjlroe> I asked too quickly, before noticing the examples in the src
21:05 -!- jhawk28 [~jhawk28@user-142gfte.cable.mindspring.com] has joined #go-nuts
21:11 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts
21:26 -!- photron [~photron@port-92-201-137-53.dynamic.qsc.de] has quit [Ping
timeout: 272 seconds]
21:26 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has quit [Quit:
Leaving.]
21:27 < plexdev> http://is.gd/fk8aN by [Ken Thompson] in 2 subdirs of
go/src/cmd/ -- loader fix
21:31 -!- wjlroe [~will@212.169.34.114] has quit [Quit: Get MacIrssi -
http://www.sysctl.co.uk/projects/macirssi/]
21:36 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
21:37 -!- jhh_ [~jhh@0-037.vpn.RWTH-Aachen.DE] has joined #go-nuts
21:38 -!- DanC [~dconnolly@user1.kumc.edu] has joined #go-nuts
21:39 -!- wrtp [~rog@92.17.7.103] has quit [Quit: wrtp]
21:39 < DanC> does anybody use go to connect to oracle databases?
21:39 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:39 < DanC> searching for go libraries seems kinda primitive; 'go' is a
cute name, but it's not novel enough to help with google searches
21:40 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Ping timeout: 240
seconds]
21:41 -!- jhh [~jhh@0-090.vpn.RWTH-Aachen.DE] has quit [Ping timeout: 252 seconds]
21:42 < bartbes> it's interesting how google fails to search for one of
google's languages correctly
21:42 < bartbes> ;)
21:43 < Namegduf> Use "golang", not "go".
21:43 < DanC> I get no results at http://golang.org/search?q=oracle
21:43 < Namegduf> Not too surprising.
21:44 < Namegduf> You're searching the core distribution and website.
21:44 < Namegduf> Not everything to do with Go anyone has released.
21:45 < DanC> I don't see a search feature associated with
http://godashboard.appspot.com/package . 'golang' seems to help somewhat...
21:45 < exch> Most user-made stuff can be found at http://go-lang.cat-v.org/
or http://godashboard.appspot.com/package
21:45 < exch> I haven't seen Oracle come by yet though
21:46 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Quit: Leaving.]
21:46 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
21:47 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
21:48 < jhawk28> http://go-lang.cat-v.org/library-bindings
21:48 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:48 < jhawk28> you can possibly use the odbc
21:49 < jhawk28> http://github.com/BenoyRNair/godbc/
21:49 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
21:49 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:50 < DanC> "Download free trial from Easysoft" <- re oracle unixodbc
client :-/
21:50 -!- ikaros [~ikaros@2001:41b8:9bf:fe04:58a2:61ff:fe6b:1fd3] has quit [Quit:
Leave the magic to Houdini]
21:51 < jhawk28> haha
21:51 * DanC is finding more oracle-the-party-to-the-recent-lawsuit hits than
oracle-the-database-engine
21:52 -!- cco3-hampster [~conleyo@nat/google/x-wimxsaivrsgkvzll] has quit [Ping
timeout: 252 seconds]
21:55 -!- virtualsue [~chatzilla@nat/cisco/x-sknglqwmjxryegjw] has quit [Ping
timeout: 240 seconds]
21:56 * DanC finds a DB API discussion
http://groups.google.com/group/golang-nuts/browse_thread/thread/69edcda758fbad29/293486e36308f3d8?#293486e36308f3d8
22:01 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
22:01 * DanC realizes he's running late; dashes off...
22:06 -!- major_majors
[~major_maj@70-88-123-176-BusName-Monroe.Mi.hfc.comcastbusiness.net] has quit
[Quit: major_majors]
22:17 -!- jhh [~jhh@0-037.vpn.RWTH-Aachen.DE] has quit [Quit: jhh]
22:19 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
22:19 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Ping timeout: 240
seconds]
22:24 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
22:27 -!- janm [~jmalonzo@ppp121-44-124-217.lns20.syd6.internode.on.net] has quit
[Ping timeout: 272 seconds]
22:29 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has quit [Ping timeout: 255
seconds]
22:30 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
22:34 -!- peterdn [~peterdn@host81-159-106-59.range81-159.btcentralplus.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2/20100222071121]]
22:37 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
22:39 -!- npe [~npe@94-227-43-225.access.telenet.be] has quit [Quit: npe]
22:44 -!- artefon [~thiago@189.107.174.190] has joined #go-nuts
22:48 -!- cco3-hampster [~conleyo@nat/google/x-nnazefvehthkgrvy] has joined
#go-nuts
22:49 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
22:59 -!- vpit3833 [~user@d110-33-197-106.mas801.nsw.optusnet.com.au] has joined
#go-nuts
23:03 -!- nvictor [~nvictor@pool-71-179-220-31.bltmmd.east.verizon.net] has joined
#go-nuts
23:03 < nvictor> hey all
23:03 < nvictor> what license does go use?
23:07 < jcao219> bsd
23:07 < nvictor> oh bsd
23:07 < nvictor> nvm all
23:07 -!- nvictor [~nvictor@pool-71-179-220-31.bltmmd.east.verizon.net] has left
#go-nuts []
23:10 -!- yasith [~yasith@112.135.75.24] has quit [Ping timeout: 265 seconds]
23:10 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Quit: Leaving.]
23:22 -!- yasith [~yasith@112.135.69.246] has joined #go-nuts
23:25 -!- willdye [~willdye@fern.dsndata.com] has quit [Read error: Connection
reset by peer]
23:26 -!- tvw [~tv@e176011212.adsl.alicedsl.de] has quit [Remote host closed the
connection]
23:27 -!- cbeck [cbeck@firefly.cat.pdx.edu] has quit [Read error: Connection reset
by peer]
23:28 -!- cbeck [cbeck@firefly.cat.pdx.edu] has joined #go-nuts
23:28 -!- Rennex_ [rennex@giraf.fi] has quit [Ping timeout: 264 seconds]
23:28 -!- Guest99575 [~eric@WL-202-181.CINE.HMC.Edu] has joined #go-nuts
23:28 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 255 seconds]
23:28 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
#go-nuts
23:28 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 265 seconds]
23:28 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265
seconds]
23:28 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 264 seconds]
23:28 -!- dho [~devon@onager.omniti.com] has quit [Ping timeout: 240 seconds]
23:29 -!- kanru [~kanru@118-160-164-43.dynamic.hinet.net] has joined #go-nuts
23:29 -!- Rennex [rennex@giraf.fi] has joined #go-nuts
23:30 < plexdev> http://is.gd/fkgIh by [Robert Griesemer] in
go/src/cmd/godoc/ -- godoc: default filter file name should be ""
23:32 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
23:33 -!- jhawk28 [~jhawk28@user-142gfte.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
23:33 -!- jhawk28 [~jhawk28@user-142gfte.cable.mindspring.com] has joined #go-nuts
23:35 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
23:36 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
23:38 -!- dho [~devon@onager.omniti.com] has joined #go-nuts
23:38 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost
terminal]
23:38 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
23:39 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Client Quit]
23:39 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
23:41 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts
23:42 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
23:45 -!- nbjoerg [~joerg@netbsd/developer/joerg] has quit [Ping timeout: 252
seconds]
23:45 -!- nbjoerg [~joerg@netbsd/developer/joerg] has joined #go-nuts
23:46 < MaybeSo> sigh.  stupid install keeps breaking wa12
23:46 < MaybeSo> oops, sorry michan
23:48 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
--- Log closed Tue Sep 21 00:00:07 2010