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

--- Log opened Tue Feb 02 00:00:05 2010
--- Day changed Tue Feb 02 2010
00:00 <+iant> smw: I think it is in everywhere, yes
00:00 < smw> iant: cool :-)
00:02 < anticw> i was impressed how quickly that went from idea -> spec
-> implementation
00:02 < KirkMcDonald> "...  T"?
00:02 < KirkMcDonald> Type-safe variadics?
00:02 < smw> KirkMcDonald: yep
00:02 < KirkMcDonald> Very cool.
00:03 < KirkMcDonald> Can you pass a []T to the function?
00:03 < smw> not sure
00:03 <+iant> KirkMcDonald: no
00:04 <+iant> it's confusing to know whether the []T should be passed as
itself or whether it should be wrapped up in as [][]T
00:04 <+iant> it's an obvious idea, though, if it can be made to work
cleanly
00:08 < KirkMcDonald> How is it confusing?  Isn't the type of the parameter
known statically?
00:10 <+iant> sure, but what is the right thing to do if the type of the
function is ...  interface{} and []T matches that interface?
00:10 < KirkMcDonald> Ah.
00:10 <+iant> do we make a new slice, or pass the existing slice down
unchanged?
00:10 < KirkMcDonald> I see.
00:11 <+iant> it would be a nice feature if somebody thinks of the right
approach, it be like a combined printf and vprintf
00:11 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-113-248.adsl.proxad.net] has quit
[Ping timeout: 252 seconds]
00:11 -!- hevalbaranov [~hevalbara@95.15.44.129] has quit [Ping timeout: 260
seconds]
00:12 < KirkMcDonald> The ability to build the argument list as a slice at
run-time could be valuable.
00:12 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 252 seconds]
00:12 < KirkMcDonald> I hate to suggest it, but what about special syntax to
"apply" the slice to the function?
00:13 <+iant> I think somebody might have suggested that on golang-dev and
Rob didn't like it much
00:14 < KirkMcDonald> I suppose it would actually be possible to write such
an "apply" function using the reflection interface.
00:14 <+iant> yes, I think so
00:16 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
00:16 -!- GeoBSD [~geobsd@lns-bzn-35-82-250-253-52.adsl.proxad.net] has joined
#go-nuts
00:19 -!- emelpy [~cmadd@w143-041.wireless.uvic.ca] has quit [Quit: emelpy]
00:22 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
00:25 < plexdev> http://is.gd/7vUAb by [Robert Griesemer] in
go/src/cmd/godoc/ -- don't report a couple of meaningless errors in command-line
mode
00:25 < plexdev> http://is.gd/7vUAk by [Robert Griesemer] in
go/src/pkg/bignum/ -- Corrected broken assertion.
00:25 < plexdev> http://is.gd/7vUAY by [Russ Cox] in 2 subdirs of go/ -- gc:
final ...T bug for the day
00:25 < plexdev> http://is.gd/7vUBw by [Ian Lance Taylor] in
go/test/fixedbugs/bug248.dir/ -- Match gccgo error messages.
00:25 < plexdev> http://is.gd/7vUCH by [Ian Lance Taylor] in
go/test/fixedbugs/bug248.dir/ -- Fix for gccgo, which uses a package prefix.
00:28 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
00:29 -!- stalled [~411@unaffiliated/stalled] has quit [Excess Flood]
00:29 -!- p0g0__ [~pogo@unaffiliated/p0g0] has quit [Ping timeout: 252 seconds]
00:36 < smw> are .6 and .a files the same?
00:38 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
00:38 -!- JSharpe [~jamie@5ad1d7d2.bb.sky.com] has quit [Ping timeout: 240
seconds]
00:39 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Quit: Lost
terminal]
00:39 < donpdonp> i believe .6 are like .o files
00:40 < donpdonp> .6 files get linked into an executable
00:40 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
00:40 < smw> donpdonp: but is it like a .a file...
00:41 < plexdev> http://is.gd/7vXqZ by [Ian Lance Taylor] in go/ -- Ignore
the temporary files used for improved error messages.
00:41 < plexdev> http://is.gd/7vXrc by [Ian Lance Taylor] in go/test/ --
Match gccgo error messages.
00:45 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
00:46 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Client
Quit]
00:48 < donpdonp> smw: no.  .a is an "archive" file or a collection of .o or
in this case .6 files
00:48 < donpdonp> a .a file is a library, like libc.a
00:49 < smw> donpdonp: how can I turn a pkg into a .a using gc?
00:49 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
00:50 -!- p0g0__ [~pogo@unaffiliated/p0g0] has joined #go-nuts
00:51 < smw> donpdonp: I am playing around with modifying the go packages
and I want to be able to replace a package without doing ./all.make
00:52 < donpdonp> smw: im in unfamiliar territory but i would expect the 6l
linker to take the .6 files and build a .a
00:52 < smw> ok
00:52 < donpdonp> but thats just extrapolation based on what i know of .c
and .o files
00:52 < smw> ok
00:57 < plexdev> http://is.gd/7w0CI by [Rob Pike] in go/src/pkg/xml/ --
allow any scalar type in xml.Unmarshal.
00:59 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:00 -!- wuehlmaus [~wuehlmaus@p4FCC705F.dip.t-dialin.net] has quit [Ping
timeout: 264 seconds]
01:00 < smw> yay (in go/src/pkg/xml/ -- allow any scalar type in
xml.Unmarshal.)
01:04 -!- p0g0__ [~pogo@unaffiliated/p0g0] has quit [Ping timeout: 264 seconds]
01:06 -!- meatmanek [~meatmanek@mesingw.student.cwru.edu] has joined #go-nuts
01:06 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
01:09 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
01:11 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
01:12 -!- p0g0__ [~pogo@unaffiliated/p0g0] has joined #go-nuts
01:13 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Client Quit]
01:17 -!- GeoBSD [~geobsd@lns-bzn-35-82-250-253-52.adsl.proxad.net] has quit
[Remote host closed the connection]
01:20 -!- hevalbaranov [~hevalbara@95.15.44.129] has joined #go-nuts
01:22 -!- ikke [~ikke@unaffiliated/ikkebr] has quit []
01:22 -!- cai__ [~cai@124.207.47.194] has joined #go-nuts
01:24 < hevalbaranov> Hi all.  I need a function which returns type of given
object, is it possible?
01:24 -!- triplez [~triplez@cm107.sigma224.maxonline.com.sg] has quit [Quit:
triplez]
01:24 < KirkMcDonald> hevalbaranov: See the reflect package, perhaps.
01:25 < smw> hevalbaranov: you could take an interface{} and return an
interface{}
01:25 < KirkMcDonald> hevalbaranov: Perhaps with more context, we could give
a more helpful answer.
01:25 -!- cai__ [~cai@124.207.47.194] has quit [Client Quit]
01:25 < hevalbaranov> KirkMcDonald, smw: thanks
01:27 < meatmanek> if I want a map that holds two values (say, an int and a
string) for each key, I'd have to put these in a struct?
01:27 -!- _2010_ [~cai@124.207.47.194] has joined #go-nuts
01:27 < smw> meatmanek: yep
01:27 < meatmanek> map [keyType] struct { n int, s string } ?
01:28 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Quit: Lost
terminal]
01:29 < KirkMcDonald> That works.
01:29 < KirkMcDonald> Or you might make it a named type.
01:29 < meatmanek> went with the named type
01:34 -!- carllerche_ [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit
[Quit: carllerche_]
01:37 < meatmanek> if I want a map of pointers, but sometimes the pointers
point to one type, and sometimes they point to another type, what's a good way of
implementing that?
01:37 < smw> meatmanek: reflect
01:38 < meatmanek> interesting
01:38 < meatmanek> so package unsafe?
01:39 < KirkMcDonald> meatmanek: An interface.
01:39 < KirkMcDonald> meatmanek: I would not involve reflect.
01:39 < smw> ok
01:39 -!- mssm [~mssm@ip-95-221-82-66.bb.netbynet.ru] has quit [Ping timeout: 246
seconds]
01:39 * smw realizes he is not good at helping :-X
01:40 < KirkMcDonald> heh
01:40 -!- gnuvince [~vince@64.235.207.199] has quit [Remote host closed the
connection]
01:40 < KirkMcDonald> meatmanek: What is the difference between the types
which you might put in the dict?
01:40 -!- gnuvince [~vince@64.235.204.78] has joined #go-nuts
01:41 < meatmanek> one is an internal node for this tree I'm trying to
implement
01:41 < meatmanek> the other is a leaf
01:42 < smw> meatmanek: in that case, you can use interface and then convert
it to whatever type it really is with a type switch.
01:44 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally
caught me]
01:44 < plexdev> http://is.gd/7w8cv by [Russ Cox] in go/src/pkg/io/ -- io:
revised Pipe implementation
01:44 -!- ivan` [~ivan@adsl-71-142-225-118.dsl.scrm01.pacbell.net] has joined
#go-nuts
01:44 -!- ivan` [~ivan@adsl-71-142-225-118.dsl.scrm01.pacbell.net] has quit
[Changing host]
01:44 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
01:45 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 240 seconds]
01:48 -!- triplez [~triplez@bb116-14-30-58.singnet.com.sg] has joined #go-nuts
01:54 < meatmanek> so you don't have to declare that something implements an
interface?
01:55 < meatmanek> you just implement all the methods the interface
specifies?
01:56 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
01:57 -!- meatmanek_ [~meatmanek@192.5.109.49] has joined #go-nuts
01:58 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
01:58 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Client
Quit]
01:59 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
02:00 < plexdev> http://is.gd/7wbmW by [Robert Griesemer] in 2 subdirs of
go/src/pkg/go/printer/ -- update printer tests to use new syntax
02:05 < meatmanek_> if anyone said anything to me before I joined with this
nick, could you repeat?
02:16 < KirkMcDonald> meatmanek: That's right.  A type implements an
interface simply by implementing the interface.
02:19 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has quit [Ping timeout: 264
seconds]
02:29 -!- amacleod [~amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
02:31 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has joined #go-nuts
02:39 -!- achillescoder [~sidharthj@203.110.84.68] has joined #go-nuts
02:40 < achillescoder> hi all!  can somebody provide me a link or whatever
to build go on mac
02:40 -!- b00m_chef [~watr@128.189.93.10] has joined #go-nuts
02:41 -!- fwiffo [~fwiffo@187.23.177.211] has joined #go-nuts
02:47 -!- fgb [~fgb@190.246.85.45] has quit [Read error: Connection reset by peer]
02:47 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
02:54 < smw> achillescoder: I think if you set the goos to darwin it will
work on mac
02:54 < smw> achillescoder: all the other instructions are the same
02:58 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
03:02 < plexdev> http://is.gd/7wlKE by [Rob Pike] in go/doc/ -- ...T is now
implemented
03:15 -!- fwiffo [~fwiffo@187.23.177.211] has quit [Quit: Lost terminal]
03:24 -!- Will_D [~Will@c-24-17-243-6.hsd1.wa.comcast.net] has joined #go-nuts
03:25 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has quit [Quit:
emelpy]
03:35 -!- moraes [~moraes@187.39.158.51] has quit [Quit: Ex-Chat]
03:48 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
04:14 -!- ct [~ct@plutonium.ct.id.au] has quit [Changing host]
04:14 -!- ct [~ct@fsf/member/ct] has joined #go-nuts
04:15 -!- meatmanek [~meatmanek@mesingw.student.cwru.edu] has quit [Quit: Leaving]
04:15 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Remote host closed
the connection]
04:20 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
04:28 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
04:35 -!- tav [~tav@89.243.40.145] has quit [Ping timeout: 256 seconds]
04:41 -!- tav [~tav@89.241.155.169] has joined #go-nuts
04:44 -!- shawn [~shawn@208-78-98-92.slicehost.net] has quit [Remote host closed
the connection]
04:54 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: I'm outta heee-eere]
04:55 -!- amacleod [~amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Quit:
Bye Bye]
04:56 -!- gnuvince_ [~vince@64.235.200.69] has joined #go-nuts
04:58 -!- gnuvince [~vince@64.235.204.78] has quit [Ping timeout: 260 seconds]
05:02 -!- ni|_ [~james@dontpanic.union.edu] has joined #go-nuts
05:04 -!- ni| [~james@dontpanic.union.edu] has quit [Ping timeout: 256 seconds]
05:07 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
05:08 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has quit [Ping timeout:
240 seconds]
05:09 -!- achillescoder [~sidharthj@203.110.84.68] has quit [Ping timeout: 240
seconds]
05:17 -!- achillescoder [~sidharthj@203.110.84.68] has joined #go-nuts
05:20 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has joined #go-nuts
05:23 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has quit [Ping
timeout: 240 seconds]
05:24 -!- b00m_chef [~watr@128.189.93.10] has quit [Ping timeout: 258 seconds]
05:24 -!- meatmanek_ [~meatmanek@192.5.109.49] has quit [Read error: Connection
reset by peer]
05:54 -!- droid0011 [~g1@p4FDCA6D1.dip.t-dialin.net] has joined #go-nuts
05:56 -!- droid001 [~g1@p4FDC9B87.dip.t-dialin.net] has quit [Ping timeout: 256
seconds]
06:07 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts
06:11 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
06:13 -!- achillescoder [~sidharthj@203.110.84.68] has quit [Quit: leaving]
06:14 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
06:15 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has quit [Ping timeout:
240 seconds]
06:17 -!- robot12 [~root@robot12.kgts.ru] has joined #go-nuts
06:19 -!- lotrpy [~lotrpy@202.120.36.170] has quit []
06:20 < plexdev> http://is.gd/7wPNq by [Russ Cox] in 4 subdirs of go/ -- gc:
bug242
06:20 < plexdev> http://is.gd/7wPND by [Charles L. Dorian] in
go/src/pkg/math/ -- math: add functions; update tests and special cases
06:31 -!- tomestla [~tom@AToulouse-151-1-58-41.w81-250.abo.wanadoo.fr] has joined
#go-nuts
06:52 < plexdev> http://is.gd/7wUgV by [Russ Cox] in go/src/pkg/math/ --
math: change Cosh test to close, not veryclose (needed on some x86 chips)
06:56 -!- Will_D [~Will@c-24-17-243-6.hsd1.wa.comcast.net] has quit [Ping timeout:
240 seconds]
07:00 < hevalbaranov> hi all.  I need a naming suggestion for a type that
creates a single callback for multiple events.  What name is comfortable for this?
07:02 -!- jvogel [~jonathan@friedpancakes.com] has quit [Read error: Connection
reset by peer]
07:02 -!- jvogel [~jonathan@friedpancakes.com] has joined #go-nuts
07:08 < plexdev> http://is.gd/7wWEw by [Russ Cox] in 4 subdirs of go/ -- gc:
bug246
07:10 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
07:14 -!- ayo [~nya@g228021156.adsl.alicedsl.de] has joined #go-nuts
07:14 -!- fgb [~fgb@190.246.85.45] has quit [Ping timeout: 265 seconds]
07:16 -!- tomestla [~tom@AToulouse-151-1-58-41.w81-250.abo.wanadoo.fr] has quit
[Ping timeout: 248 seconds]
07:16 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
07:17 -!- aho [~nya@f050242201.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
07:21 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
07:22 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
07:22 -!- metapandava [~metapanda@c-98-203-232-197.hsd1.wa.comcast.net] has joined
#go-nuts
07:25 -!- fgb1 [~fgb@190.246.85.45] has joined #go-nuts
07:26 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
07:27 -!- fgb [~fgb@190.246.85.45] has quit [Ping timeout: 265 seconds]
07:30 -!- mkindahl [~mats@c-5e40e253.69-2-64736c10.cust.bredbandsbolaget.se] has
joined #go-nuts
07:39 < plexdev> http://is.gd/7x19g by [Ian Lance Taylor] in
go/test/fixedbugs/ -- Match gccgo error messages.
07:39 < plexdev> http://is.gd/7x19v by [Nigel Tao] in go/src/pkg/image/ --
New image.A type, to represent anti-aliased font glyphs.
07:42 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
07:44 -!- trickie [~trickie@94.100.112.225] has joined #go-nuts
07:48 -!- ashaw [~ashaw@58.108.161.163] has joined #go-nuts
07:54 -!- idea_squirrel [~ct2rips@77-22-21-247-dynip.superkabel.de] has joined
#go-nuts
07:56 < plexdev> http://is.gd/7x3vc by [Russ Cox] in 2 subdirs of go/ -- gc:
bug250, bug251 - recursive interface types
07:59 -!- scm [justme@c190198.adsl.hansenet.de] has quit [Ping timeout: 246
seconds]
08:01 -!- scm [justme@c190146.adsl.hansenet.de] has joined #go-nuts
08:01 -!- wuehlmaus [~wuehlmaus@p4FCC7010.dip.t-dialin.net] has joined #go-nuts
08:03 -!- ollins [~ollins@www.inventage.com] has joined #go-nuts
08:05 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
08:05 -!- path[l] [~path@122.182.0.38] has quit [Client Quit]
08:09 -!- dnn [~dnn@79.112.90.220] has joined #go-nuts
08:10 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:12 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
08:15 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
08:19 -!- dnn [~dnn@79.112.90.220] has quit [Quit: Try HydraIRC ->
http://www.hydrairc.com <-]
08:21 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
08:24 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has joined #go-nuts
08:24 -!- nighty__ [~nighty@210.188.173.245] has joined #go-nuts
08:26 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:41 -!- murodes1 [~James@203-59-92-213.dyn.iinet.net.au] has joined #go-nuts
08:42 -!- murodese [~James@203-59-92-213.dyn.iinet.net.au] has quit [Ping timeout:
256 seconds]
08:44 -!- p0g0__ [~pogo@unaffiliated/p0g0] has quit [Ping timeout: 260 seconds]
08:48 -!- keeto_ [~keeto@121.54.92.149] has joined #go-nuts
08:48 -!- keeto [~keeto@121.54.92.149] has quit [Read error: No route to host]
08:51 -!- tanamo [~tanamo@125.252.70.230] has quit [Ping timeout: 248 seconds]
08:52 -!- keeto [~keeto@121.54.92.149] has quit [Read error: Connection reset by
peer]
08:57 -!- p0g0__ [~pogo@unaffiliated/p0g0] has joined #go-nuts
08:58 -!- moraes [~moraes@187.39.158.51] has joined #go-nuts
09:03 -!- metapandava [~metapanda@c-98-203-232-197.hsd1.wa.comcast.net] has quit
[Quit: metapandava]
09:09 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
09:12 -!- p4p4 [~P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
09:12 -!- keeto [~keeto@121.54.92.149] has joined #go-nuts
09:18 -!- sea-gull [digcon9@friedman.ivoltaire.org] has quit [Quit: leaving]
09:20 -!- sea-gull [digcon9@friedman.ivoltaire.org] has joined #go-nuts
09:23 -!- tanamo [~tanamo@125.252.70.230] has joined #go-nuts
09:24 -!- lambo4jos [~chatzilla@c-76-126-250-10.hsd1.ca.comcast.net] has joined
#go-nuts
09:25 -!- wrtp [~rog@92.28.31.39] has joined #go-nuts
09:29 -!- _2010_ [~cai@124.207.47.194] has quit [Remote host closed the
connection]
09:40 -!- iswhite [~iswhite@121.166.225.37] has quit [Ping timeout: 265 seconds]
09:40 -!- TenOfTen [~TenOfTen@c-fd25e555.04-18-73746f10.cust.bredbandsbolaget.se]
has quit [Ping timeout: 256 seconds]
09:45 -!- LuitvD [~luitvd@beigetower/luitvd] has joined #go-nuts
09:48 -!- Kashia [~Kashia@port-92-200-202-95.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:50 -!- fgb1 [~fgb@190.246.85.45] has quit [Read error: Connection reset by
peer]
09:52 -!- triplez [~triplez@bb116-14-30-58.singnet.com.sg] has quit [Quit:
triplez]
10:02 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
10:02 -!- Demp [~Demp@bzq-79-183-23-1.red.bezeqint.net] has quit [Read error:
Connection reset by peer]
10:02 -!- Demp [~Demp@bzq-79-183-23-1.red.bezeqint.net] has joined #go-nuts
10:06 -!- callidus [~quassel@80.194.247.74] has joined #go-nuts
10:08 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
10:10 -!- ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
10:16 -!- rbancroft [~rumble@S01060014bf54b5eb.cg.shawcable.net] has quit [Ping
timeout: 256 seconds]
10:25 -!- rbancroft [~rumble@S01060014bf54b5eb.cg.shawcable.net] has joined
#go-nuts
10:26 -!- LuitvD [~luitvd@beigetower/luitvd] has quit [Ping timeout: 272 seconds]
10:28 -!- res [~res@unaffiliated/res] has quit [Ping timeout: 256 seconds]
10:31 -!- LuitvD [~luitvd@beigetower/luitvd] has joined #go-nuts
10:33 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has quit [Ping
timeout: 276 seconds]
10:40 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
10:42 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has joined #go-nuts
10:47 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
10:49 -!- tricky [~Knave@dsl-240-131-190.telkomadsl.co.za] has joined #go-nuts
11:01 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts
11:04 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
11:09 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.1.1]
11:14 -!- triplez [~triplez@124.155.195.6] has joined #go-nuts
11:15 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined
#go-nuts
11:16 -!- tricky [~Knave@dsl-240-131-190.telkomadsl.co.za] has quit []
11:17 -!- lambo4jos [~chatzilla@c-76-126-250-10.hsd1.ca.comcast.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]]
11:18 -!- nighty__ [~nighty@210.188.173.245] has quit [Ping timeout: 245 seconds]
11:18 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 265 seconds]
11:32 -!- ashaw [~ashaw@58.108.161.163] has quit [Ping timeout: 240 seconds]
11:44 -!- hevalbaranov [~hevalbara@95.15.44.129] has quit [Quit: WeeChat 0.2.6.3]
11:47 -!- grizzlysmit [~grizzlysm@123-243-91-241.tpgi.com.au] has joined #go-nuts
11:48 -!- grizzlysmit [~grizzlysm@123-243-91-241.tpgi.com.au] has left #go-nuts []
11:52 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
12:05 -!- Guest23767 [~nuada@h144170.upc-h.chello.nl] has quit [Read error:
Connection reset by peer]
12:06 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
12:07 -!- ZHOU_Xiaobo [~chatzilla@123.114.172.24] has joined #go-nuts
12:10 -!- GeoBSD [~geobsd@lns-bzn-35-82-250-253-52.adsl.proxad.net] has joined
#go-nuts
12:15 -!- mssm [~mssm@ip-95-221-82-66.bb.netbynet.ru] has joined #go-nuts
12:27 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:39 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
12:40 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts
12:43 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:46 -!- alkavan [~alkavan@77.124.233.93] has joined #go-nuts
12:57 -!- vdrab [~vdrab@cap015-018.kcn.ne.jp] has joined #go-nuts
12:58 -!- triplez [~triplez@124.155.195.6] has quit [Ping timeout: 252 seconds]
13:07 -!- ollins [~ollins@www.inventage.com] has quit [Remote host closed the
connection]
13:17 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: Connection reset by peer]
13:18 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
13:18 -!- mode/#go-nuts [+v iant] by ChanServ
13:37 -!- aho [~nya@e179054250.adsl.alicedsl.de] has joined #go-nuts
13:38 -!- ayo [~nya@g228021156.adsl.alicedsl.de] has quit [Ping timeout: 272
seconds]
13:51 -!- hevalbaranov [~hevalbara@95.15.44.129] has joined #go-nuts
13:52 -!- Kibiz0r [~Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
13:54 -!- rndbot [~bot@wikipedia/Gracenotes] has quit [Ping timeout: 240 seconds]
13:55 -!- robot12 [~root@robot12.kgts.ru] has quit [Quit: Ухожу я от вас (xchat
2.4.5 или старше)]
14:00 -!- KillerX [~anant@145.116.234.40] has joined #go-nuts
14:00 -!- KillerX [~anant@145.116.234.40] has quit [Changing host]
14:00 -!- KillerX [~anant@gentoo/developer/KillerX] has joined #go-nuts
14:03 -!- amacleod [~amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
14:11 -!- korboz [~fwiffo@187.23.177.211] has joined #go-nuts
14:15 -!- Wiz126 [Wiz126@72.20.222.54] has quit [Ping timeout: 240 seconds]
14:17 -!- mkindahl [~mats@c-5e40e253.69-2-64736c10.cust.bredbandsbolaget.se] has
quit [Ping timeout: 240 seconds]
14:22 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
14:24 -!- hevalbaranov [~hevalbara@95.15.44.129] has quit [Quit: WeeChat 0.2.6.3]
14:25 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
14:25 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 248 seconds]
14:26 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:34 -!- kanru [~kanru@61-228-167-165.dynamic.hinet.net] has joined #go-nuts
14:38 -!- LuitvD [~luitvd@beigetower/luitvd] has quit [Ping timeout: 272 seconds]
14:43 -!- LuitvD [~luitvd@beigetower/luitvd] has joined #go-nuts
14:45 -!- triplez [~triplez@cm107.sigma224.maxonline.com.sg] has joined #go-nuts
14:47 -!- ZHOU_Xiaobo [~chatzilla@123.114.172.24] has quit [Ping timeout: 265
seconds]
14:58 -!- iant [~iant@67.218.106.168] has joined #go-nuts
14:58 -!- mode/#go-nuts [+v iant] by ChanServ
15:03 -!- vdrab [~vdrab@cap015-018.kcn.ne.jp] has quit [Quit: vdrab]
15:04 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Remote host
closed the connection]
15:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
15:10 -!- nanoo [~nano@95-89-196-41-dynip.superkabel.de] has joined #go-nuts
15:32 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
15:35 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts
15:38 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has joined #go-nuts
15:40 -!- kanru [~kanru@61-228-167-165.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.1.1]
15:42 -!- trickie [~trickie@94.100.112.225] has left #go-nuts []
15:42 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
16:00 -!- akheron [~akheron@130.232.253.19] has quit [Ping timeout: 260 seconds]
16:02 -!- akheron [~akheron@lilja.asteriski.fi] has joined #go-nuts
16:07 -!- chickamade [~chickamad@123.16.74.118] has joined #go-nuts
16:07 -!- triplez [~triplez@cm107.sigma224.maxonline.com.sg] has quit [Ping
timeout: 246 seconds]
16:08 -!- triplez [~triplez@cm107.sigma224.maxonline.com.sg] has joined #go-nuts
16:10 -!- iant [~iant@67.218.106.168] has quit [Ping timeout: 240 seconds]
16:10 -!- rdf [~rdf@dhcp-58-89.media.mit.edu] has joined #go-nuts
16:15 -!- emelpy [~cmadd@S010600226b803196.gv.shawcable.net] has quit [Quit:
emelpy]
16:22 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:27 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Ping timeout: 260
seconds]
16:28 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:29 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
16:34 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
16:37 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
16:42 -!- nanoo [~nano@95-89-196-41-dynip.superkabel.de] has quit [Quit: Leaving]
16:44 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has
joined #go-nuts
16:52 -!- ni|_ [~james@dontpanic.union.edu] has left #go-nuts []
16:53 -!- Kibiz0r [~Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit [Quit:
Leaving.]
16:53 -!- ni| [~james@dontpanic.union.edu] has joined #go-nuts
16:57 -!- carllerche_ [~carllerch@99.22.229.11] has joined #go-nuts
16:59 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
16:59 -!- chickamade [~chickamad@123.16.74.118] has quit [Ping timeout: 240
seconds]
17:01 -!- Wiz126 [Wiz126@72.20.224.235] has joined #go-nuts
17:02 -!- emelpy [~cmadd@w215-042.wireless.uvic.ca] has joined #go-nuts
17:05 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
17:05 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
17:12 -!- chickamade [~chickamad@113.190.191.85] has joined #go-nuts
17:18 -!- callidus [~quassel@80.194.247.74] has quit [Remote host closed the
connection]
17:21 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
17:23 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
17:24 < rsaarelm> Looks like I can't use pointers to C types imported by cgo
as method receivers in the latest hg version any more.
17:24 < rsaarelm> Is this intentional?
17:27 -!- Wiz126 [Wiz126@72.20.224.235] has quit [Ping timeout: 240 seconds]
17:30 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 245
seconds]
17:34 -!- codedread [~88b6021a@gateway/web/freenode/x-wjrrbeuupcjmmwvi] has joined
#go-nuts
17:39 -!- emelpy [~cmadd@w215-042.wireless.uvic.ca] has quit [Quit: emelpy]
17:41 -!- chickamade [~chickamad@113.190.191.85] has quit [Quit: Leaving]
17:42 -!- iant [~iant@2620:0:1000:1601:1dc4:aa16:2fcd:675b] has joined #go-nuts
17:42 -!- mode/#go-nuts [+v iant] by ChanServ
17:44 -!- carllerche_ [~carllerch@99.22.229.11] has quit [Quit: carllerche_]
17:51 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
17:52 < rsaarelm> Looks like they've become invalid at the current tip
commit 4c468c07d05c.
17:58 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
17:58 < rsaarelm> The commit doesn't say anything about disabling C types as
receivers, so I filed an issue report.
17:59 -!- sjbrown_ [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has joined
#go-nuts
18:00 -!- JSharpe [~jamie@5ad1d7d2.bb.sky.com] has joined #go-nuts
18:01 -!- johnfsse [~johnfsse@h177n1.opennet.ias.bredband.telia.com] has joined
#go-nuts
18:03 -!- carllerche_ [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
18:05 -!- nf [~nf@124-171-26-179.dyn.iinet.net.au] has quit [Ping timeout: 260
seconds]
18:05 -!- nf [~nf@124-168-130-177.dyn.iinet.net.au] has joined #go-nuts
18:06 -!- flyfish [~flyfish@pixout.appriss.com] has joined #go-nuts
18:11 < flyfish> Hello, can someone please give me an example of how to
create / initialize a StringVector?
18:12 < skelterjohn> a StringVector is just a typed []string
18:13 < skelterjohn> so maybe
18:13 < skelterjohn> var sv StringVector = []string{}
18:13 < LuitvD> a := new(StringVector)
18:13 < LuitvD> lol
18:14 < flyfish> oh, i see
18:14 < flyfish> trying it out now
18:20 -!- codedread [~88b6021a@gateway/web/freenode/x-wjrrbeuupcjmmwvi] has quit
[Quit: Page closed]
18:20 -!- callidus [~quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has joined #go-nuts
18:22 < flyfish> great, all working now, ty
18:24 -!- adu [~ajr@pool-173-66-61-164.washdc.fios.verizon.net] has joined
#go-nuts
18:24 < adu> wtf
18:25 < adu> what's this I hear about init() breaking the whole idea of
identifiers meaning exactly one thing at a time?
18:25 < skelterjohn> context?
18:26 < adu> http://golang.org/doc/go_spec.html#Program_execution
18:26 < skelterjohn> oh i misparsed your sentence
18:27 < skelterjohn> i thought it was breaking an identifier's meaning,
exactly one thing at a time
18:27 < adu> it is
18:27 < adu> init() is not a function in the traditional sense
18:27 < skelterjohn> the "exactly one thing at a time" part was what
confused me
18:27 -!- aho [~nya@e179054250.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
18:27 < adu> so why would it use function syntax?
18:28 < adu> x = 0
18:28 < adu> x = 1
18:28 < adu> at one point in time x is 0, at another point in time x is 1
18:28 < adu> but if "x" is replaced with init(), then it is both 0 and 1
18:28 < adu> according to the go spec
18:28 < adu> that is silly
18:28 < skelterjohn> what i meant was i thought you were saying, "one by
one, init is breaking identifier's meaning"
18:29 < adu> oh, no that's not what I meant
18:29 < skelterjohn> right
18:29 < skelterjohn> it was a silly misparsing
18:29 < adu> init() is an abomination
18:29 < skelterjohn> your complaint is about the ability to have multiple
init()s?
18:29 < adu> yes
18:30 < skelterjohn> i don't see how that could get in my way, so i don't
think i could get worked up about that
18:30 < adu> what about function lookups?
18:31 < adu> like ctags/etags
18:31 < adu> it would have to say init() is on line {33, 92, 151}
18:31 < skelterjohn> you're not allowed to call init
18:31 < adu> or it would have to say if funcName != init, then add to
funclist
18:31 < adu> either way, it requires special processing
18:32 < skelterjohn> or reference it from code
18:32 -!- r2p2 [~billy@v32671.1blu.de] has joined #go-nuts
18:32 < adu> right, but what if you want to write an IDE that helps you find
functions in code
18:32 < skelterjohn> i don't see a good reason to have more than one init,
so i'm more or less on your side
18:33 < skelterjohn> just a whole lot less emphatic about it :)
18:33 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
18:33 < adu> if it doesn't act anything like a function, then it shouldn't
use function syntax, it should be a keyword, like "init {...}" not "func init()
{...}"
18:33 < skelterjohn> right, you've made that clear
18:33 < skelterjohn> maybe make a ML opst about it?
18:33 < adu> what's that?
18:33 < skelterjohn> perhaps one of the designers could let you in on their
thought process
18:33 < skelterjohn> mailing list
18:33 < adu> oh
18:33 < skelterjohn> http://groups.google.com/group/golang-nuts
18:33 < adu> good idea
18:34 < skelterjohn> it's possible that, since there are only a handful of
designers, some things get into the language that aren't super consistent
18:34 < skelterjohn> on the other hand, they might have something deeper in
mind
18:37 -!- KillerX [~anant@gentoo/developer/KillerX] has quit [Quit: Leaving.]
18:41 -!- adu [~ajr@pool-173-66-61-164.washdc.fios.verizon.net] has quit [Quit:
adu]
18:45 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
18:48 -!- LuitvD [~luitvd@beigetower/luitvd] has quit [Ping timeout: 246 seconds]
18:51 -!- rthc [~rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
18:54 -!- idea_squirrel [~ct2rips@77-22-21-247-dynip.superkabel.de] has quit
[Quit: what would a pirate do?]
18:55 -!- LuitvD [~luitvd@beigetower/luitvd] has joined #go-nuts
18:55 -!- Wiz126 [Wiz126@72.20.225.62] has joined #go-nuts
19:02 -!- alkavan [~alkavan@77.124.233.93] has quit [Read error: Connection reset
by peer]
19:03 -!- alkavan [~alkavan@77.124.233.93] has joined #go-nuts
19:05 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
19:11 -!- moraes_ [~moraes@187.39.158.51] has joined #go-nuts
19:12 -!- moraes_ [~moraes@187.39.158.51] has quit [Client Quit]
19:14 -!- moraes [~moraes@187.39.158.51] has quit [Ping timeout: 248 seconds]
19:17 -!- sjbrown__ [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has joined
#go-nuts
19:18 -!- tomestla [~tom@AToulouse-151-1-58-43.w81-250.abo.wanadoo.fr] has joined
#go-nuts
19:20 -!- sjbrown_ [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
19:22 -!- MissPiggy [~quantum@unaffiliated/fax] has joined #go-nuts
19:22 -!- moraes [~moraes@187.39.158.51] has joined #go-nuts
19:30 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:782d:6ef2:e8b9:e865] has joined
#go-nuts
19:36 -!- rdf_ [~rdf@dhcp-18-111-72-232.dyn.mit.edu] has joined #go-nuts
19:37 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
19:38 -!- rdf [~rdf@dhcp-58-89.media.mit.edu] has quit [Ping timeout: 245 seconds]
19:39 -!- johnfsse [~johnfsse@h177n1.opennet.ias.bredband.telia.com] has left
#go-nuts []
19:42 -!- rdf_ [~rdf@dhcp-18-111-72-232.dyn.mit.edu] has quit [Quit: rdf_]
19:48 -!- Kashia [~Kashia@port-92-200-64-128.dynamic.qsc.de] has joined #go-nuts
19:48 -!- jalmeida [~jalmeida@c9340a2e.virtua.com.br] has quit [Quit: Fui embora]
19:51 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Quit: Leaving]
19:52 -!- wrtp [~rog@92.28.31.39] has quit [Quit: wrtp]
19:54 -!- itrekkie [~itrekkie@uawifi-nat-210-16.arizona.edu] has joined #go-nuts
19:57 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:04 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has quit [Remote host closed the
connection]
20:07 -!- sjbrown__ [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has quit
[Quit: Leaving]
20:08 -!- prip [~foo@host168-121-dynamic.42-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 256 seconds]
20:13 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
20:17 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
20:17 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Excess Flood]
20:18 -!- MissPiggy [~quantum@unaffiliated/fax] has quit [Ping timeout: 245
seconds]
20:21 -!- prip [~foo@host175-122-dynamic.47-79-r.retail.telecomitalia.it] has
joined #go-nuts
20:21 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
20:30 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]
20:32 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
20:34 -!- itrekkie [~itrekkie@uawifi-nat-210-16.arizona.edu] has quit [Quit:
itrekkie]
20:42 < korboz> is switch x := val {...} supposed to work?
20:43 < dho> if it evaluates to boolean I guess.
20:44 -!- itrekkie [~itrekkie@uawifi-nat-210-24.arizona.edu] has joined #go-nuts
20:44 -!- ikke [~ikkibr@unaffiliated/ikkebr] has quit []
20:45 -!- ericvh [~ericvh@32.97.110.63] has quit [Quit: ericvh]
20:45 < KirkMcDonald> korboz: Not according to the grammar in the spec.
20:45 <+iant> korboz: you can write switch x := val; x { ...  }
20:45 <+iant> like with an if statement
20:45 -!- franksalim [~frank@adsl-75-61-86-190.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
20:45 < korboz> i see
20:46 < korboz> i was asking because in
http://golang.org/doc/go_spec.html#Switch_statements, they use the construct i :=
x.(type) {
20:46 < KirkMcDonald> That's a type switch.
20:46 < korboz> switch i := x.(type) {...}, sorry
20:46 < KirkMcDonald> Which is different from other kinds of switches.
20:47 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
20:51 < korboz> any reason why this shouldn't work for the other kinds of
switches?
20:53 < KirkMcDonald> Type switches assign a particular meaning to that
form.
20:55 -!- ugo123 [~chatzilla@host12-40-dynamic.60-82-r.retail.telecomitalia.it]
has joined #go-nuts
20:56 < LuitvD> is the type switch new, or have I just been ignoring it?
20:56 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
20:57 < dagle> LuitvD: You mean switch i := x.(type) ?
20:57 < LuitvD> yeah
20:57 < dagle> No.
20:57 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
20:57 * LuitvD should really read the full docs sometime soon...
20:57 -!- kashia_ [~Kashia@port-92-200-127-37.dynamic.qsc.de] has joined #go-nuts
20:57 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
20:58 < dagle> LuitvD: Look at reflect package.
20:58 -!- Kashia [~Kashia@port-92-200-64-128.dynamic.qsc.de] has quit [Ping
timeout: 258 seconds]
21:01 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
21:01 -!- homiziado [~ernestofr@78.130.76.139.rev.optimus.pt] has joined #go-nuts
21:03 -!- ashaw [~ashaw@58.108.161.163] has joined #go-nuts
21:07 -!- gnuvince [~vince@70.35.164.135] has joined #go-nuts
21:09 -!- gnuvince_ [~vince@64.235.200.69] has quit [Ping timeout: 265 seconds]
21:13 -!- moraes [~moraes@187.39.158.51] has quit [Quit: Ex-Chat]
21:15 < LuitvD> is it normal to send a SIGQUIT to a program, or is SIGQUIT
normally only received from one?
21:15 < LuitvD> (ergo: is it "normal" to `kill -SIGQUIT ...` or is that
never used?)
21:20 -!- ashaw [~ashaw@58.108.161.163] has quit [Ping timeout: 240 seconds]
21:20 < antarus> LuitvD: SIGQUIT should cause a process to dump core and
exit; I would not say kill -SIGQUIT is normal, but if you really want a
coredump...
21:20 <+iant> typically pressing ^-\ will send a SIGQUIT
21:21 < LuitvD> right
21:21 < LuitvD> I wasn't sure if the coredump I got was normal
21:21 < LuitvD> but I didn't even need to ask :)
21:21 -!- hstimer [~hans@70.90.170.37] has joined #go-nuts
21:22 -!- gnuvince [~vince@70.35.164.135] has quit [Quit: routeur chie, m'a voler
la connexion de mon voisin.  brb]
21:23 < hstimer> is there a client websocket lib in go yet?
21:23 -!- gnuvince [~vince@ip-117.43.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
21:24 < LuitvD> additionally (although not really related here...) why have
QUIT, ABRT and TRAP?  don't they do the same?
21:36 -!- ericvh [~ericvh@cpe-70-113-78-14.austin.res.rr.com] has joined #go-nuts
21:38 -!- amacleod [~amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Quit:
Bye Bye]
21:46 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:782d:6ef2:e8b9:e865] has quit
[Quit: Leaving.]
21:48 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has joined #go-nuts
21:54 -!- ugo123 [~chatzilla@host12-40-dynamic.60-82-r.retail.telecomitalia.it]
has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20100106054534]]
22:00 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has quit []
22:01 -!- jackman [~jackman@75-169-136-229.slkc.qwest.net] has joined #go-nuts
22:07 -!- itrekkie [~itrekkie@uawifi-nat-210-24.arizona.edu] has quit [Quit:
itrekkie]
22:09 < dagle> LuitvD: I think coredump is disabled by default.
22:10 < LuitvD> dagle: not with SIGQUIT
22:16 < dagle> Nvm.  ulimit just control the size of it.
22:17 -!- itrekkie [~itrekkie@uawifi-nat-210-16.arizona.edu] has joined #go-nuts
22:19 -!- kashia__ [~Kashia@port-92-200-127-37.dynamic.qsc.de] has joined #go-nuts
22:19 -!- kashia_ [~Kashia@port-92-200-127-37.dynamic.qsc.de] has quit [Read
error: Connection reset by peer]
22:23 -!- donpdonp [donp@donk.personaltelco.net] has left #go-nuts []
22:24 -!- d3xter [~3e2fedd0@gateway/web/freenode/x-gkruvnkuahotyxup] has joined
#go-nuts
22:27 -!- itrekkie [~itrekkie@uawifi-nat-210-16.arizona.edu] has quit [Quit:
itrekkie]
22:28 -!- flyfish [~flyfish@pixout.appriss.com] has quit [Quit: flyfish]
22:29 -!- tomestla [~tom@AToulouse-151-1-58-43.w81-250.abo.wanadoo.fr] has quit
[Ping timeout: 240 seconds]
22:31 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
22:35 -!- res [~res@unaffiliated/res] has joined #go-nuts
22:40 -!- homiziado [~ernestofr@78.130.76.139.rev.optimus.pt] has quit [Ping
timeout: 252 seconds]
22:40 -!- Venom_X_ [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
22:40 -!- d3xter [~3e2fedd0@gateway/web/freenode/x-gkruvnkuahotyxup] has quit
[Quit: Page closed]
22:41 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
22:41 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Killed (NickServ (GHOST
command used by Venom_X_!~pjacobs@cpe-67-9-131-167.austin.res.rr.com))]
22:42 -!- jcb_ [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
22:43 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 276
seconds]
22:44 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
22:45 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 252
seconds]
22:48 -!- r2p2 [~billy@v32671.1blu.de] has left #go-nuts []
22:53 -!- iswhite [~iswhite@121.166.225.37] has joined #go-nuts
22:56 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
22:56 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:58 -!- emelpy [~cmadd@w142-065.wireless.uvic.ca] has joined #go-nuts
23:00 -!- LuitvD [~luitvd@beigetower/luitvd] has quit [Ping timeout: 272 seconds]
23:01 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
23:02 < plexdev> http://is.gd/7A0il by [Russ Cox] in 2 subdirs of go/ --
bug252: make ...  vs ...T crossing an error, at least for now
23:03 -!- analogue [~analogue@toulouse.jfg-networks.net] has quit [Ping timeout:
245 seconds]
23:03 -!- analogue [~analogue@toulouse.jfg-networks.net] has joined #go-nuts
23:04 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
23:10 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has quit
[Ping timeout: 260 seconds]
23:13 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:15 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:16 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
23:18 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 245 seconds]
23:22 -!- p4p4 [~P4p4@24.106.113.82.net.de.o2.com] has quit [Quit: ChatZilla
0.9.84 [SeaMonkey 2.0a3/20090223135443]]
23:22 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: I'm outta heee-eere]
23:25 -!- Wiz126 [Wiz126@72.20.225.62] has quit [Ping timeout: 252 seconds]
23:25 -!- korboz [~fwiffo@187.23.177.211] has quit [Quit: Lost terminal]
23:29 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
23:31 -!- GeoBSD [~geobsd@lns-bzn-35-82-250-253-52.adsl.proxad.net] has quit
[Remote host closed the connection]
23:32 -!- Wiz126 [Wiz126@72.20.225.62] has joined #go-nuts
23:33 -!- tonyg [~tonyg@ip202-27-211-2.dsl.kci.net.nz] has joined #go-nuts
23:37 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
23:38 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
23:40 -!- tonyg [~tonyg@ip202-27-211-2.dsl.kci.net.nz] has quit [Ping timeout: 240
seconds]
23:49 -!- callidus [~quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has quit [Ping timeout: 272 seconds]
23:50 -!- JSharpe [~jamie@5ad1d7d2.bb.sky.com] has quit [Quit: ( www.nnscript.com
:: NoNameScript 4.22 :: www.esnation.com )]
23:50 -!- emelpy [~cmadd@w142-065.wireless.uvic.ca] has quit [Ping timeout: 276
seconds]
23:52 -!- Wiz126 [Wiz126@72.20.225.62] has quit [Ping timeout: 252 seconds]
23:54 -!- itrekkie [~itrekkie@ip72-211-128-139.tc.ph.cox.net] has joined #go-nuts
--- Log closed Wed Feb 03 00:00:53 2010