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

--- Log opened Wed Jan 12 00:00:03 2011
00:01 -!- Eko [~eko@198.202.202.21] has quit [Quit: Leaving]
00:01 -!- mikejs [~mike@66-44-33-141.c3-0.129-ubr1.lnh-129.md.cable.rcn.com] has
joined #go-nuts
00:02 -!- soapy_illusions [~alex@modemcable202.70-37-24.mc.videotron.ca] has
joined #go-nuts
00:05 -!- daxt [~daxt@112.135.95.172] has quit [Remote host closed the connection]
00:05 -!- daxt [~daxt@112.135.95.172] has joined #go-nuts
00:10 -!- LuitvD [~me@beigetower/luitvd] has quit [Quit: Leaving]
00:14 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Quit:
Computer has gone to sleep.]
00:16 -!- iant [~iant@nat/google/x-jfcwszpanfjgnykq] has quit [Read error:
Operation timed out]
00:16 -!- daxt [~daxt@112.135.95.172] has quit [Remote host closed the connection]
00:34 -!- kanru [~kanru@114-45-237-190.dynamic.hinet.net] has joined #go-nuts
00:35 -!- iant [~iant@67.218.105.75] has joined #go-nuts
00:35 -!- mode/#go-nuts [+v iant] by ChanServ
00:35 -!- soapy_illusions [~alex@modemcable202.70-37-24.mc.videotron.ca] has quit
[Remote host closed the connection]
00:37 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
00:40 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
00:43 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Client Quit]
01:06 -!- kanru [~kanru@114-45-237-190.dynamic.hinet.net] has quit [Ping timeout:
255 seconds]
01:08 -!- georgekollias [~georgekol@men75-1-81-57-41-176.fbx.proxad.net] has quit
[Ping timeout: 265 seconds]
01:11 -!- binarypie [~binarypie@adsl-99-37-224-209.dsl.pltn13.sbcglobal.net] has
quit [Remote host closed the connection]
01:12 -!- mikespook [~mikespook@183.47.227.8] has joined #go-nuts
01:12 -!- mikespook [~mikespook@183.47.227.8] has quit [Client Quit]
01:18 -!- petar [~petar@84-73-24-182.dclient.hispeed.ch] has quit [Remote host
closed the connection]
01:22 -!- liwei [~liwei@180.110.218.46] has joined #go-nuts
01:25 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240
seconds]
01:26 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
01:36 -!- tvw [~tv@e176008039.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
01:37 -!- reubenbond [~reubenbon@220-253-2-173.VIC.netspace.net.au] has quit [Ping
timeout: 240 seconds]
01:52 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:54 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined
#go-nuts
01:58 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
01:59 < skelterjohn> evening
02:00 -!- cafesofie [~cafesofie@dhcp-140-254-204-170.osuwireless.ohio-state.edu]
has quit [Remote host closed the connection]
02:12 -!- niemeyer [~niemeyer@201-40-141-234.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
02:17 -!- iant [~iant@67.218.105.75] has quit [Quit: Leaving.]
02:25 -!- Electric_Brain [~gerard@73.77.221.87.dynamic.jazztel.es] has quit
[Remote host closed the connection]
02:33 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has joined #go-nuts
02:35 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
joined #go-nuts
02:45 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has
joined #go-nuts
02:45 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
02:47 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Read error:
Operation timed out]
02:47 -!- adg [~nf@2001:470:21:20::4444:61d9] has quit [Read error: Operation
timed out]
02:51 -!- adg [~nf@2001:470:21:20::4444:61d9] has joined #go-nuts
02:51 -!- mode/#go-nuts [+o adg] by ChanServ
02:51 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
02:52 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts
02:57 -!- bmizerany [~bmizerany@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has
quit [Remote host closed the connection]
03:00 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
joined #go-nuts
03:03 -!- liwei [~liwei@180.110.218.46] has left #go-nuts ["Leaving"]
03:07 -!- teejae [~teejae@softbank219185095092.bbtec.net] has joined #go-nuts
03:08 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:09 -!- crazy2be [~justin@d75-152-162-237.abhsia.telus.net] has joined #go-nuts
03:11 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
03:11 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Quit:
Computer has gone to sleep.]
03:20 -!- keithcascio [~keithcasc@nat/google/x-lqttkxjaxstywdmz] has quit [Quit:
Leaving]
03:23 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined
#go-nuts
03:23 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
03:27 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has quit [Quit: Leaving]
03:31 < crazy2be> how can i calculate the Content-Length of a particular
section of a form (the file), given the content-length of the entire request?
03:32 < crazy2be> like is there some way to figure out the length of the
individual parts?
03:38 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
joined #go-nuts
03:55 -!- grouzen [~grouzen@ip23-159.200.109.crimea.com] has joined #go-nuts
04:27 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:27 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
04:30 -!- mikejs [~mike@66-44-33-141.c3-0.129-ubr1.lnh-129.md.cable.rcn.com] has
quit [Quit: Lost terminal]
04:36 -!- zanget [~zanget@zanget-1-pt.tunnel.tserv9.chi1.ipv6.he.net] has joined
#go-nuts
04:51 -!- lmoura_ [~lauromour@186.212.117.111] has quit [Read error: Operation
timed out]
04:53 -!- lmoura_ [~lauromour@186.212.117.111] has joined #go-nuts
04:54 < salty> anyone have experience using newlibc instead of glib?
05:03 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
05:03 -!- mode/#go-nuts [+v iant] by ChanServ
05:04 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Read error: Operation
timed out]
05:10 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
05:12 -!- enferex [~enferex@users.757.org] has quit [Ping timeout: 240 seconds]
05:16 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 264
seconds]
05:18 < vsmatck> Anyone know of a piece of go code that uses one thread to
read a net.Conn, one thread to write the same net.Conn that handles connection
errors and reconnecting and closing the connection?
05:19 < vsmatck> I want to look because I'm having trouble with this.
05:23 < crazy2be> vsmatck: Why?
05:24 < crazy2be> hmm also about my issue i wonder if there is some way to
pass it though an intermeddiate reader
05:24 < crazy2be> that counts bytes
05:25 -!- enferex [~enferex@users.757.org] has joined #go-nuts
05:28 < crazy2be> vsmatck: I might be able to help you with specific issues
05:28 < crazy2be> what are you using it for?
05:29 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 260 seconds]
05:30 -!- iant [~iant@216.239.45.130] has joined #go-nuts
05:30 -!- mode/#go-nuts [+v iant] by ChanServ
05:31 < vsmatck> A client/server protocol where the server allows unbounded
pipelining of requests.
05:32 < vsmatck> There is a channel to send.  When a request is sent a
handler is pushed on another channel which the recv thread uses to interpret the
response.
05:33 < vsmatck> Works decently.  I just am not handling the case where
there is a connection error in either the send thread or recv thread.
05:33 < vsmatck> oh, my program is the client.
05:34 -!- enferex [~enferex@users.757.org] has quit [Ping timeout: 272 seconds]
05:40 < crazy2be> hmm
05:41 < vsmatck> Bah, circumstances require me to sleep now.  Won't see my
IRC for 22 hours.  :-/
05:47 -!- enferex [~enferex@users.757.org] has joined #go-nuts
05:47 < crazy2be> night
05:48 -!- Project_2501 [~Marvin@82.84.77.103] has joined #go-nuts
05:51 -!- teejae [~teejae@softbank219185095092.bbtec.net] has quit [Ping timeout:
246 seconds]
06:08 -!- go^lang [~newblue@113.84.230.47] has joined #go-nuts
06:09 < crazy2be> hmm
06:09 < crazy2be> when i assign mpart to be a pointer to an interface that
implements io.Reader
06:10 < crazy2be> and then assign fileReader = mpart
06:10 < crazy2be> and then assign to mpart
06:10 < crazy2be> what happens to fileReader?
06:10 < crazy2be> i would expect it to stay the same as it was before
06:10 < crazy2be> but it doesn't seem to be
06:17 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
06:17 -!- tgall_out [~tgall@linaro/tgall-foo] has quit [Ping timeout: 250 seconds]
06:21 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
06:27 < crazy2be> meh, had to use a bytes.Buffer
06:27 < crazy2be> hopefully nobody tries to upload a large file...
06:36 -!- Tbb__ [~tbb__@HSI-KBW-109-193-104-005.hsi7.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
06:36 -!- rbrewster [~rbrewster@pool-96-255-165-204.washdc.fios.verizon.net] has
quit [Quit: Leaving]
06:37 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
06:37 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
joined #go-nuts
06:38 -!- teejae [~teejae@220.109.219.245] has joined #go-nuts
06:41 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
06:41 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 240 seconds]
06:42 -!- SRabbelier [~SRabbelie@188.142.63.148] has quit [Read error: Connection
reset by peer]
06:42 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
06:47 -!- SRabbelier [~SRabbelie@188.142.63.148] has joined #go-nuts
07:00 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-180-175.clienti.tiscali.it] has
joined #go-nuts
07:01 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-180-175.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
07:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-170-126.clienti.tiscali.it] has
joined #go-nuts
07:03 -!- Project_2501 [~Marvin@82.84.77.103] has quit [Ping timeout: 255 seconds]
07:10 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
07:23 -!- tgall_out [~tgall@206.9.88.154] has joined #go-nuts
07:24 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has quit
[Quit: buh.  sleep]
07:27 -!- zvrba [~zvrba@anakin.ifi.uio.no] has joined #go-nuts
07:27 -!- scorp007 [~x@ppp118-209-55-62.lns20.mel4.internode.on.net] has joined
#go-nuts
07:27 < zvrba> adu: hello
07:27 < adu> hi
07:27 < adu> so I've been writing my own go compiler
07:27 < zvrba> adu: my biggest objection to Go is actually syntax: it
departs both too much from C (departures w/o any real benefit) and too little from
C (ending up in an inconsistent syntax)
07:28 < jumzi> zvrba: Use C++ then :)
07:28 * jumzi giggles
07:28 < zvrba> jumzi: I am.  also doing a bit of clojure in the little free
time i have
07:28 < adu> I understand to "too much" but what do you mean by "too
little"?
07:29 < zvrba> adu: "too little" as in still being somewhat similar to C.
similar enough to get confused.
07:30 < zvrba> adu: i'd prefer if they had devised a syntax akin to Lua's
eller Pascal's syntax
07:30 < zvrba> s/eller/or/
07:30 < jumzi> omg a swede
07:30 < zvrba> jeez, norwegian is starting to leak into other languages
07:30 < zvrba> jumzi: :)
07:30 < zvrba> jumzi: even worse, croatian moved to norway and speaking
norwegian all the day :P
07:31 < jumzi> do'h!
07:31 < zvrba> it's fun to visit relatives in croatia and order a meal in
norwegian in a restaurant :P
07:31 < adu> lol
07:31 < jumzi> Anyhow how much have you been using go?
07:31 < zvrba> and realize after the fact and from waiter's expression that
something is wrong :P
07:32 < zvrba> jumzi: i haven't.  i've just browsed through tutorials and
code samples.
07:32 < adu> jumzi: I pointed him here to discuss Go
07:32 < jumzi> Oh
07:32 < zvrba> adu: too little from C as in array declaration being []int{
..  } . it's upside-down C
07:32 < zvrba> (for example)
07:32 < jumzi> Yeah, it takes a while to get used to
07:33 < adu> right
07:33 < nsf> zvrba: you don't understand, it's awesome
07:33 < adu> lol
07:33 < jumzi> But it actually allot cleaner in the end...  dunno where they
have the article on it
07:33 < nsf> C is upside-down
07:33 < zvrba> jumzi: yeah.  and that "getting used to" part could have been
avoided.
07:33 < nsf> Go is left-to-right
07:33 < jumzi> zvrba: no
07:33 < jumzi> zvrba: It can't
07:33 < zvrba> jumzi: of course, ever person will in the end find
rationalizations for their stupid choices.
07:33 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:33 < zvrba> (every
07:34 < jumzi> Cmon, C declarations is weird, it had to change
07:34 < jumzi> <- now flame
07:34 < adu> zvrba: how would you read this C type: int[2]*(*myVar)*[3]
07:34 < zvrba> jumzi: i agree that C declarations are weird.  but then they
could have taken Pascal declarations, which are cleaner still!
07:34 < nsf> zvrba: read this: int (*(*ptr)[10])()
07:34 < nsf> and tell me what it means
07:35 < zvrba> adu: i wouldn't.  i would use intermediate typedefs.  the
second is array of 10 elements of pointers to functions returning int and taking
arbitrary arguments
07:35 < jumzi> Well i won't deny that some NIH problems can be sneaked in
everywhere
07:35 < jumzi> Point being, it's not hard enough to learn to whine about
07:35 < zvrba> erm, pointer to an array.  :P
07:35 < nsf> haha, you're good
07:35 < zvrba> nsf: ;)
07:35 < nsf> var ptr *[10]func() int
07:36 < nsf> in Go it's much cleaner though
07:36 < adu> there are 2 things I really wish go didn't have tho
07:36 < zvrba> nsf: ptr is a pointer to array of 10 elements to function
returning int?
07:36 < nsf> yes
07:36 < adu> (1) interfaces (2) 'go'
07:36 < nsf> from left to right..  very simple
07:36 < zvrba> so where's the star denoting function pointer?
07:36 < zvrba> var ptr *[10]*func() int
07:36 < adu> there should be a go-- with those missing
07:36 < nsf> in Go function value is a pointer (sort of)
07:37 < zvrba> *sigh*
07:37 < nsf> in C you can't just use function value
07:37 < zvrba> same mistake as with C arrays
07:37 < zvrba> array is a distinct type, but it's "value" is apointer
07:37 < jumzi> i can't help but feel bikeshed here
07:37 < zvrba> btw, do arrays behave in the same way as in C? ;)
07:37 < nsf> zvrba: it's not a mistake, functions are first-class values in
Go
07:37 -!- creack [~charme_g@163.5.84.215] has quit [Ping timeout: 276 seconds]
07:37 < nsf> no
07:37 < nsf> arrays are values
07:37 < zvrba> nsf: can a function construct a new function at run-time?
are there closures?
07:38 < nsf> yes
07:38 < zvrba> ok
07:38 < nsf> both..  yes
07:38 < zvrba> anyway
07:38 < zvrba> IMHO, in short: the syntax does not bring sufficient benefits
to burden people with getting used to novelties and the author's NIH.
07:39 < adu> authors'
07:39 < jumzi> But programming in go is way diffrent then say ++ or normal
C, it's hard to compaare
07:39 < nsf> the syntax is not new
07:39 < zvrba> nsf: how so?
07:39 < zvrba> jumzi: how is it different?
07:39 < nsf> there were at least two programming languages before Go, that
were a lot like Go
07:39 < adu> called?
07:40 < jumzi> alef?
07:40 < nsf> limbo, newsqueak
07:40 < zvrba> i cannot grok this code, f.ex: (from Go tutorial)
07:40 < zvrba> func (p *dayArray) Swap(i, j int) { p.data[i], p.data[j] =
p.data[j], p.data[i] }
07:40 < zvrba> there's type dayArray before
07:40 < nsf> jumzi: alef is more like C
07:40 < zvrba> why do arrays have to be packed in structs?
07:40 < zvrba> are they first-class values or not?
07:41 < jumzi> nsf: Yeah your right, i just wanted to complain on that
07:41 < zvrba> anyway: the above line of code.
07:41 < adu> ah limbo did have "name: type"
07:41 < zvrba> what is the function's return value?
07:41 < jumzi> zvrba: Read the tutorials then
http://golang.org/doc/effective_go.html
07:41 < jumzi> You should have a good base then
07:42 < zvrba> jumzi: what is the function's return value there above?
07:42 < zvrba> jumzi: and what is the function's name?
07:42 < nsf> zvrba: return value is void
07:42 < nsf> in C's terms
07:43 < zvrba> nsf: ok.  but what is the function's name?
07:43 < nsf> it's not a funtion
07:43 < adu> zvrba: technically it's dayArray.Swap
07:43 < nsf> it's a method
07:43 < zvrba> aha
07:43 < nsf> for type *dayArray
07:43 < nsf> method's name is Swap
07:43 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
07:43 < adu> zvrba: methods are wierd
07:43 < zvrba> hooray for NIH!  :-)
07:43 < nsf> zvrba: I think you're a troll
07:43 < adu> zvrba: methods are like functions where the first parameter is
treated differently
07:43 < jumzi> He is
07:44 < zvrba> jumzi: i came here to talk with adu, primarily :)
07:44 < adu> nsf: no I invited him here, because I didn't want to spend too
much time in ##C evangelizing Go
07:45 < jumzi> Well someone needs to think csp is intressting first to take
a look at go oneself tbh
07:45 < adu> anyways, there are two ways to turn a method into a function
07:45 < adu> Swap is a method
07:45 < adu> dayArray.Swap is a function
07:45 < zvrba> jumzi: efficiently implementing CSP does not require
inventing a new language.
07:46 < zvrba> adu: so how is it called on a dayArray?
07:46 < adu> (*dayArray).Swap is another way of writing that function
07:46 < adu> zvrba: um i dunno
07:46 < zvrba> :)
07:46 < jumzi> Well go aims at being a dynamically styled compiled language
too
07:47 < nsf> zvrba: btw, do you know that current C syntax was invented by
one of Go's authors
07:47 < zvrba> nsf: yes, i do.
07:47 < jumzi> Cause it's so many deficiencies developing on compiled
languages tday, espeacially retyping stupid stuff dependecies etc.
07:47 < nsf> so, you think he has no idea what's he doing?
07:47 < jumzi> and compilers are slow
07:47 < zvrba> jumzi: i am all for type inference.
07:48 < adu> nsf: who?
07:48 < zvrba> nsf: well, yeah, in this case.
07:48 < nsf> adu: ken
07:48 < adu> ah
07:48 < adu> i was thinking Dennis
07:48 < jumzi> There's even more, but you'll have to read up on it yourself,
maybe see the google talks on go
07:48 < zvrba> nsf: it is unknown how many compromises he made with rob
pike.
07:48 < nsf> adu: take a look at B's syntax, that's where C's came from
07:49 < nsf> zvrba: well, there are things that I don't like in Go as well,
but syntax is awesome
07:50 < nsf> I can tell that, because I've written about 20k lines of code
07:50 < nsf> in Go
07:50 < nsf> it's just feels right, easy to type, easy to read
07:50 < zvrba> anyway.  time for me to leave :-)
07:50 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
07:50 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
07:50 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts
07:50 < adu> zvrba: wait!
07:50 < zvrba> adu: oook.
07:51 < adu> zvrba: you haven't seen the dragon in my garage
07:51 < zvrba> here be dragonz!  :D
07:51 < jumzi> It's funny trying to defent a language i never used
07:51 < jumzi> defend*
07:52 < adu> I'm still trying to install gccgo
07:52 < nsf> yeah, before arguing about Go I suggest everyone to use it for
a while
07:52 < adu> I can't nm any of the files made by 6g, so I'm gonna see if
gccgo is any different
07:53 < adu> because my primary use case would be for writing shared
libraries, callable from C
07:53 < nsf> adu: it's not possible in Go's case
07:53 < adu> which just happens to be impossible
07:53 < nsf> Go requires specific runtime
07:53 < zvrba> nsf: sorry, from reading tutorials, the only impression i get
is that Go stinks of NIH.  changing the usual stuff just for the sake of change.
07:54 < nsf> garbage collector, scheduler
07:54 < adu> then I'll write it in Go--
07:54 < zvrba> s/usual stuff/stuff everybody is used to/
07:54 < adu> then write my own compiler
07:54 < nsf> zvrba: you're saying these three letters too much: NIH
07:55 < nsf> you're troll
07:55 < zvrba> :)
07:55 < zvrba> maybe.  maybe i'm not.
07:55 < adu> nsf: I think he's full of constructive critisism
07:55 < jumzi> Tbh, he only complains on the syntax
07:55 < nsf> I think not-invented-here is not a valid term
07:56 < jumzi> Which is ok, i too got confused by it first
07:56 < zvrba> nsf: there's a bunch of people who already know C. Go is
kinda aimed to compete with C. I see no reason to antagonize those people with
unnecessary changes.
07:56 < nsf> they are necessary
07:56 < jumzi> It isn't only targeting a C audience
07:56 < nsf> C has a broken grammar
07:57 < adu> i think Go targets fast ppl
07:57 < zvrba> nsf: *some* changes were necessary, but not to the extent
that has been done in Go. and the only broken thing with C grammar is that it's
context-dependent.
07:57 < nsf> Go targets google, everything else is just a lucky coincidence
07:57 < jumzi> Yeah and ppl that don't wanna go for a coffea all the time
and constantly do GC
07:58 < nsf> zvrba: 'var name Type' syntax aims that as well
07:58 < zvrba> nsf: I'm not complaining about THAT particular bit.
07:58 < nsf> then what are you complaining about?  :)
07:58 < adu> I personally think GC is something that should be library, not
language
07:58 < jumzi> cmon!  You complaining at bikeshed issues!  ITS A TROLL PPL
07:58 < zvrba> i'm complaining about Go being an ugly mixture of pascal and
C
07:59 < nsf> it's not ugly :)
07:59 < adu> bikeshed?
07:59 < zvrba> says you.  i say it's not consistent with either Pascal or C.
07:59 < nsf> ugly is a subjective term..  don't like it - don't use it
07:59 < zvrba> so they can stuff it :P
07:59 < nsf> and what part of pascal's syntax is in Go?
08:00 < zvrba> nsf: "var x : Integer;" is a pascal declaration
08:00 < nsf> well, but you're not complaining about it, ok
08:00 < zvrba> nsf: "var x : array [10] of Integer;"
08:00 < nsf> everything else is C-like :)
08:00 < zvrba> nsf: that's a nice pascal declaration
08:01 < zvrba> nsf: yet in go, it's half-pascal, half-c (half because it's
backwards)
08:01 < nsf> Go's syntax is a C with pascal-like declarations
08:01 -!- ildorn [~ildorn@dslb-188-105-048-176.pools.arcor-ip.net] has joined
#go-nuts
08:01 -!- ildorn [~ildorn@dslb-188-105-048-176.pools.arcor-ip.net] has quit
[Client Quit]
08:02 < nsf> I can't see what's wrong with that
08:02 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
08:02 < zvrba> oh well.  i already told you what I think is wrong with that.
08:02 < adu> zvrba: every language is different
08:03 < nsf> you argument is vague about some kind of consistency
08:03 < nsf> I don't get it
08:03 < nsf> your*
08:03 < adu> zvrba: Go is consistent with itself
08:05 < adu> anyways, I think my evangelism has dried up
08:05 < zvrba> http://en.wikipedia.org/wiki/Cyclone_(programming_language)
08:05 < adu> now that's a nice language
08:05 < nsf> cyclone is horrible
08:05 < adu> so is `C and Apple C
08:05 < zvrba> example of a novel, safe C dialect that departs only as much
as necessary from C
08:06 < nsf> cyclone is a raped C, like C++
08:06 < zvrba> + has more features than go
08:06 < adu> i don't htink so
08:06 < nsf> like Objective-C
08:06 < zvrba> i'm a troll, nsf is a zealot
08:06 < nsf> no, I'm a troll too
08:06 < adu> zvrba: Go has many features Cyclone doesn't
08:06 < zvrba> adu: f.ex.?
08:07 < adu> methods, interfaces, GC, concurrent dispach, typeswitch
08:07 < zvrba> and cyclone has many features go doesn't :P
08:07 < zvrba> (proper generics, f.ex.  :P)
08:07 < adu> yes, like attributed pointers
08:08 < zvrba> anyway.  i used cyclone as an example of how Go's syntax
should have been extended.  imho.
08:08 < zvrba> enough now :-)
08:08 < adu> noted.
08:08 < nsf> zvrba: ok, I got your point
08:08 < adu> I should probably write something in Go
08:08 < nsf> you like C too much, you can't live without it
08:08 < adu> and I like Go too much
08:09 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
08:09 < zvrba> nsf: you got my point?  good!  :-)
08:09 < zvrba> (that was not sarcastic)
08:09 < nsf> but in C you write things like: void set_rect(int x, int y, int
w, int h)
08:09 < nsf> in Go: func setRect(x, y, w, h int)
08:09 < adu> zvrba: actually `C and Apple C are good examples of languages
not being consistent!
08:09 < jumzi> adu: CSP in libraries sux
08:09 < zvrba> adu: i have not used either.
08:10 < nsf> and btw, in original C, the syntax was much better
08:10 < nsf> there were no typedef
08:10 < nsf> and function declarations were different
08:10 < adu> `C represents closures as `{...} and Apple C represents
closures as ^{...}
08:10 < nsf> void set_rect(x,y,w,h) int x, y, w, h; {
08:10 < zvrba> anyway.  i have to go now.
08:11 -!- zvrba [~zvrba@anakin.ifi.uio.no] has left #go-nuts []
08:11 < nsf> :P
08:11 < adu> :)
08:11 < adu> nsf: aren't you glad I invited zvrba?
08:12 < nsf> :| (that smile tells how I feel about that)
08:13 < adu> jumzi: the actor model is isomorphic to CSP
08:13 < adu> and the actor model does not sux
08:14 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:15 < nsf> oh and btw, original C had no const too
08:15 < nsf> it was added after C++ appearance
08:15 < jumzi> hmm I've just used libraries and now what a bitch they are
08:16 < jumzi> know*
08:17 < adu> know or think?
08:18 < jumzi> Have you used libraries that way?  Had to use "aware
functions" and the alike?  then without GC you have to make elobrate ways to clean
up afteryourself
08:26 -!- salty [~kvirc@d24-141-238-88.home.cgocable.net] has quit [Quit: KVIrc
4.0.2 Insomnia http://www.kvirc.net/]
08:28 -!- skejoe_ [~skejoe@188.114.142.162] has joined #go-nuts
08:32 < zozoR> cannot convert k (type [4]uint8) to type uint32
08:32 < zozoR> lol why not
08:32 -!- skejoe [~skejoe@188.114.142.162] has quit [Ping timeout: 276 seconds]
08:33 * zozoR pokes nsf because he is smart
08:33 < nsf> being smart doesn't mean being friendly
08:33 < nsf> use 'encoding/binary'
08:34 < adu> lol
08:34 < nsf> convert you array to io.Reader
08:34 < nsf> via bytes.Buffer
08:34 < nsf> and then use encoding/Binary.Read
08:34 < nsf> oops
08:34 < nsf> binary*
08:35 < nsf> or you can use bit shifts
08:35 < zozoR> bit shifts sounds more like it
08:35 < nsf> or you can use unsafe.Pointer and magic
08:35 < zozoR> it just made so much sense in my head to do that D:
08:35 < nsf> zozoR: encoding/binary does bit shifts
08:35 < zozoR> i mean it is 4 bytes : |
08:36 < nsf> encoding/binary knows about endianness
08:37 < nsf> ok, that's enough info for you..  you choose
08:37 < nsf> ;)
08:37 < zozoR> ok, ill just look at the encoding package then :D
08:37 < zozoR> just seems like a lot of hassle to do something so simple
08:37 < nsf> it depends
08:37 < nsf> maybe it's not that simple
08:40 < zozoR> maybe
08:41 < nsf> well, it is simple, ok, but you have to remember about
endianness
08:41 < nsf> if you don't care about that
08:41 < nsf> it is very simple :)
08:41 < nsf> var k [4]uint8
08:42 < nsf> var i uint32 = *((*uint32)(unsafe.Pointer(&k[0])))
08:42 < nsf> something like that
08:42 < zozoR> :D
08:42 < zozoR> thats more like it :D
08:43 < zozoR> but i suppose that 255 different states are enough for what
im doing
08:44 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:46 -!- go^lang [~newblue@113.84.230.47] has quit [Ping timeout: 276 seconds]
08:52 -!- go^lang [~newblue@113.84.230.47] has joined #go-nuts
08:52 -!- skejoe_ [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
08:53 < uriel> adg: from the roadmap, I think "# Improved CGO including some
mechanism for calling back from C to Go." at least is done
08:53 < uriel> adg: and I think the one about better ARM floating point is
also done
08:53 -!- tvw [~tv@e176004035.adsl.alicedsl.de] has joined #go-nuts
08:54 < nsf> but it's still about Go apps
08:54 < nsf> you can't use Go code from C
08:54 < nsf> maybe I'm wrong though
08:54 < nsf> I don't know
08:54 < uriel> nsf: yes you can
08:54 < uriel> AFAIK that was needed for the SWIG stuff to work
08:55 < uriel> or that is what I understood from some recent posts by iant
08:57 < uriel> adg: also perhaps mentioning te planned rewrites of both
reflect and http packages might be a good idea
08:57 < uriel> s/te/the/
09:00 -!- jkakar [~jkakar@93.158.36.53] has joined #go-nuts
09:02 -!- jkakar [~jkakar@93.158.36.53] has quit [Read error: Connection reset by
peer]
09:04 -!- serbaut1 [~joakims@88.80.182.68] has quit [Read error: Connection reset
by peer]
09:05 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
09:12 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-170-126.clienti.tiscali.it] has
quit [Ping timeout: 276 seconds]
09:14 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.3]
09:20 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit:
adu]
09:28 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined
#go-nuts
09:29 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit
[Client Quit]
09:37 -!- tvw [~tv@e176004035.adsl.alicedsl.de] has quit [Remote host closed the
connection]
09:38 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined
#go-nuts
09:56 -!- wrtp [~rog@92.17.51.127] has joined #go-nuts
09:56 < KBme> does it depends on go how long it takes for a connection to
timeout?
09:57 < KBme> it seems like ipv6 timeouts much faster than ipv4
10:04 < wrtp> KBme: i always thought that timeouts were much too long - an
connection that succeeds and takes longer than a couple of seconds is very rare in
my experience.
10:04 < KBme> yeah, i tend to agree
10:05 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
10:05 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the
connection]
10:05 < KBme> but like now the v4 connection has still not timed out after
15 minutes being disconnected
10:05 < KBme> (this is not a timeout during connection, it's a timeout after
a disconnect)
10:06 < KBme> err, disconnect being a network cable being unplugged then
plugged back 5 minutes later
10:07 < KBme> i'm also writing to the connection, so it should timeout
10:07 -!- scorp007 [~x@ppp118-209-55-62.lns20.mel4.internode.on.net] has left
#go-nuts []
10:08 < KBme> ah, it just timed out after about 20 minutes
10:08 < KBme> ipv6 was much quicker
10:09 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
10:13 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:32 -!- Kashia [~Kashia@port-92-200-125-182.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
10:37 < taruti> I have a length-prefixed buffer (<4 bytes of length>,
<byte data>), and I wish to append byte-data, have functions that manipulate
the byte-data and have the whole thing as one []byte for IO. Looking for a good
abstraction.
10:38 -!- shvntr [~shvntr@116.26.129.172] has joined #go-nuts
10:38 < taruti> If I pass "prefixanddata[4:]" to functions and they wish to
append to that they will lose the prefix, and I'd like to avoid a copy.
10:41 -!- artefon [~thiago@189.59.166.86] has joined #go-nuts
10:45 -!- xash [~xash@p548E604B.dip.t-dialin.net] has joined #go-nuts
10:47 <@adg> taruti: what do you do with the prefixanddata at the end?
10:47 <@adg> taruti: because if you want to grow that slice, ever, you'll
need to copy
10:48 < taruti> adg: I'd like to get it written in one Write with the
byte-data.
10:48 <@adg> why one write?
10:48 < taruti> adg: unless there is enough capacity
10:55 < KBme> taruti: hey
10:55 < taruti> hi :)
10:57 -!- xash [~xash@p548E604B.dip.t-dialin.net] has quit [Ping timeout: 250
seconds]
11:21 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-126.clienti.tiscali.it] has
joined #go-nuts
11:23 < wrtp> taruti: why not just use bytes.Buffer?
11:29 -!- zeroXten [~zeroXten@0x10.co.uk] has quit [Quit: leaving]
11:29 -!- zeroXten [~zeroXten@0x10.co.uk] has joined #go-nuts
11:46 -!- teejae [~teejae@220.109.219.245] has quit [Quit: teejae]
11:49 -!- kimelto [~kimelto@sd-13453.dedibox.fr] has quit [Read error: Connection
reset by peer]
11:49 -!- niemeyer [~niemeyer@201-35-72-156.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
11:49 -!- kimelto [~kimelto@sd-13453.dedibox.fr] has joined #go-nuts
11:56 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
12:02 -!- petar [~petar@84-73-24-182.dclient.hispeed.ch] has joined #go-nuts
12:03 < petar> ehlo again..  i wonder which parts of the go environment will
get installed after i do ``cd go/src; ./all.bash''.  the compiler, linker and
standard library?
12:05 < temoto> Since strings are immutable, are they passed by reference to
functions?
12:05 < temoto> petar, it will compile full environment.
12:05 < temoto> and run tests
12:06 < petar> temoto, what is the full environment?
12:06 < temoto> petar, what you listed: compiler, library, everything needed
for writing programs.
12:06 < petar> ah, ok, thanks
12:07 < temoto> I'm not sure about any "installation".
12:11 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
12:15 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
12:17 < petar> when compiling a go program, does one get a statically linked
binary or something else?
12:23 <@adg> petar: statically linked, yes
12:23 < wrtp> temoto: yes
12:23 <@adg> temoto: yes, the immutability of strings is exploited by the
compiler
12:24 <@adg> temoto: internally they're represented like []bytes
12:24 < wrtp> temoto: strings are represented in the runtime by a pointer
and a length, passed around as a small structure
12:24 < petar> adg, thank you
12:25 < temoto> Thanks you guys.
12:26 <@adg> np
12:32 -!- cafesofie [~cafesofie@rnwifi-164-107-93-174.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
12:38 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
12:39 -!- petar [~petar@84-73-24-182.dclient.hispeed.ch] has quit [Quit: Lost
terminal]
13:03 -!- artefon [~thiago@189.59.166.86] has quit [Quit: bye]
13:08 -!- sauerbraten [~sauerbrat@p508CAE11.dip.t-dialin.net] has joined #go-nuts
13:23 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
13:24 -!- nictuku [~nicutku@unaffiliated/nictuku] has quit [Ping timeout: 240
seconds]
13:28 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
13:28 < taruti> Is it possible to mark some fields as transient for gob or
get custom serialization?
13:32 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts
13:36 -!- teejae [~teejae@softbank219185095092.bbtec.net] has joined #go-nuts
13:40 -!- vegai [vegai@archlinux/developer/vegai] has left #go-nuts []
13:43 -!- artefon [~thiago@189.59.166.86] has joined #go-nuts
13:48 < Mr_Dark> Does Go have support for 2 functions with the same name but
different variables?
13:48 < Mr_Dark> MyFunction(_var string) {}
13:49 < Mr_Dark> MyFunction(_var string, _var2 string) {}
13:54 < taruti> no
13:54 < aiju> luckily not
13:54 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Ping timeout: 260
seconds]
13:55 < Mr_Dark> hehe, k
13:55 < Mr_Dark> any nice way to solve this or just give the other function
a different name?
13:55 < aiju> the latter
13:55 < aiju> why do you think you need that?
13:56 < Mr_Dark> creating code to create a databuffer
13:57 < Mr_Dark> so when creating a new data packet I want to give a default
header with it
13:57 < Mr_Dark> *or not*
13:57 < Mr_Dark> NewPacket() vs NewPacket(_header uint8)
13:58 < aiju> NewPacket() vs NewCustomPacket() or something along that
13:58 < Mr_Dark> yeah
14:03 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
14:06 -!- artefon [~thiago@189.59.166.86] has quit [Read error: Operation timed
out]
14:08 < nsf> NewPacket(DefaultHeader) works too
14:08 < nsf> but a bit more verbose
14:09 < nsf> it depends, if you create non-default packets a lot, then it's
a good choice
14:09 < nsf> otherwise two functions are better
14:10 < taruti> Has anyone hacked together a control(2) clone in Go?
14:19 < wrtp> taruti: not as far as i know.
14:19 < wrtp> it would be good to have a reliable graphics subsystem first
:-)
14:19 < aiju> what's control(2)?
14:19 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit
[Quit: WeeChat 0.3.2]
14:20 < wrtp> http://plan9.bell-labs.com/magic/man2html/2/control
14:20 < aiju> oh plan 9 heh
14:20 < wrtp> taruti: for gob serialisation, it's just changed/changing so
that unexported fields don't get serialised.
14:21 < taruti> wrtp: gob in addition to json?
14:21 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined
#go-nuts
14:23 -!- mikejs [~mike@enki.sunlightfoundation.com] has joined #go-nuts
14:28 -!- Project-2501 [~Marvin@82.84.74.248] has joined #go-nuts
14:31 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 246 seconds]
14:31 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-126.clienti.tiscali.it] has
quit [Ping timeout: 260 seconds]
14:33 -!- virtualsue [~chatzilla@nat/cisco/x-fkyjiyuthqdchuzg] has joined #go-nuts
14:34 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
14:39 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
14:41 < wrtp> taruti: yes
14:43 -!- iant [~iant@67.218.105.75] has joined #go-nuts
14:43 -!- mode/#go-nuts [+v iant] by ChanServ
14:44 < taruti> found it, http://codereview.appspot.com/3889043 :)
14:44 < taruti> now to wait for it to get committed
14:46 -!- virtualsue [~chatzilla@nat/cisco/x-fkyjiyuthqdchuzg] has quit [Ping
timeout: 240 seconds]
14:48 -!- virtualsue [~chatzilla@nat/cisco/x-kwucqvrwovhcpgtc] has joined #go-nuts
14:50 -!- Project-2501 [~Marvin@82.84.74.248] has quit [Quit: E se abbasso questa
leva che succ...]
14:52 -!- aimxhaisse [~mxs@buffout.org] has quit [Quit: leaving]
15:07 -!- Project_2501 [~Marvin@82.84.74.248] has joined #go-nuts
15:08 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
15:08 < wrtp> taruti: it's already submitted
15:09 -!- xash [~xash@d170026.adsl.hansenet.de] has joined #go-nuts
15:15 -!- boscop [~boscop@g227142103.adsl.alicedsl.de] has joined #go-nuts
15:16 -!- artefon [~thiago@dhcp16.usuarios.dcc.ufmg.br] has joined #go-nuts
15:23 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts
15:27 -!- mikejs [~mike@enki.sunlightfoundation.com] has quit [Ping timeout: 255
seconds]
15:28 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:31 -!- nictuku [~nicutku@cetico.org] has joined #go-nuts
15:31 -!- shvntr [~shvntr@116.26.129.172] has quit [Ping timeout: 260 seconds]
15:32 -!- femtoo [~femto@95-89-196-241-dynip.superkabel.de] has joined #go-nuts
15:43 -!- virtualsue_ [~chatzilla@nat/cisco/x-ouorxuvemecudinr] has joined
#go-nuts
15:45 -!- virtualsue [~chatzilla@nat/cisco/x-kwucqvrwovhcpgtc] has quit [Ping
timeout: 240 seconds]
15:52 -!- waqas [~waqas@jaim.at] has joined #go-nuts
15:53 -!- mikejs [~mike@enki.sunlightfoundation.com] has joined #go-nuts
15:56 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
15:57 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
15:57 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
15:57 -!- plainhao [~plainhao@208.75.85.237] has quit [Client Quit]
15:59 -!- jkakar [~jkakar@93.158.36.53] has joined #go-nuts
16:01 -!- jkakar [~jkakar@93.158.36.53] has quit [Read error: Connection reset by
peer]
16:02 -!- iant [~iant@67.218.105.75] has quit [Quit: Leaving.]
16:06 -!- tor8 [~tor@c-ad7471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
16:11 -!- iant [~iant@nat/google/x-ygdemgvucmklpkjc] has joined #go-nuts
16:12 -!- mode/#go-nuts [+v iant] by ChanServ
16:12 -!- waqas [~waqas@jaim.at] has left #go-nuts []
16:14 -!- grouzen_ [~grouzen@ip22-159.200.109.crimea.com] has joined #go-nuts
16:15 -!- georgekollias [~georgekol@nor75-7-81-57-48-111.fbx.proxad.net] has
joined #go-nuts
16:16 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
16:17 -!- grouzen [~grouzen@ip23-159.200.109.crimea.com] has quit [Ping timeout:
272 seconds]
16:20 -!- rusua [~Miranda@host213-123-247-52.in-addr.btopenworld.com] has joined
#go-nuts
16:23 -!- goingnuts [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has joined
#go-nuts
16:24 -!- rusua [~Miranda@host213-123-247-52.in-addr.btopenworld.com] has quit
[Quit: Miranda IM! Smaller, Faster, Easier.  http://miranda-im.org]
16:25 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
16:25 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
16:34 < zozoR> i dont know if its an error in goclipse or en in gocode..
but i get errors about structs not existing
16:35 < zozoR> even though it compiles just fine
16:36 < zozoR> is it possible to make gocode scan a makefile for which files
it should look at?
16:39 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Quit: leaving]
16:42 -!- Venom_X [~pjacobs@75.92.43.21] has joined #go-nuts
16:42 < hokapoka> I'm just cleaning up a bunch of my go files, is there any
concensus on vim folder markers?
16:44 -!- prip [~foo@host14-132-dynamic.35-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 260 seconds]
16:44 < skelterjohn> when you say "error"
16:44 < skelterjohn> where are you seeing the error?
16:44 -!- prip [~foo@host14-132-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
16:44 < skelterjohn> (zozoR)
16:46 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:47 < hokapoka> zozoR: Yes (you can use a Makefile) read
:http://golang.org/doc/code.html#tmp_34
16:50 -!- goingnuts [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has left
#go-nuts []
16:51 < skelterjohn> hokapoka: I'm not so sure that's what he was asking
16:51 < skelterjohn> gocode is a particular tool, i believe
16:51 < skelterjohn> is that nsf's autocomplete?
16:53 < hokapoka> oh
16:54 -!- femtoo [~femto@95-89-196-241-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
17:01 < zozoR> yes it is
17:01 < zozoR> i see the errors at the line numbers
17:04 -!- virtualsue_ [~chatzilla@nat/cisco/x-aceuhipoitfivueb] has joined
#go-nuts
17:06 -!- virtualsue [~chatzilla@nat/cisco/x-ouorxuvemecudinr] has quit [Ping
timeout: 240 seconds]
17:06 -!- Project-2501 [~Marvin@82.84.80.107] has joined #go-nuts
17:09 -!- Project_2501 [~Marvin@82.84.74.248] has quit [Ping timeout: 246 seconds]
17:12 -!- Scorchin [~Scorchin@host109-154-145-63.range109-154.btcentralplus.com]
has joined #go-nuts
17:13 -!- thiago__ [~thiago@dhcp16.usuarios.dcc.ufmg.br] has joined #go-nuts
17:15 -!- artefon [~thiago@dhcp16.usuarios.dcc.ufmg.br] has quit [Read error:
Operation timed out]
17:18 -!- deso_ [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:19 < fzzbt> zozoR: errors?  gocode shouldn't give report any errors.  All
it does is code completion for .go files, nothing else.  Maybe it's a bug in
goclipse?  You could talk with nsf if you think there is really a bug in gocode.
17:21 < fzzbt> goclipse (0.18) was really buggy for me atleast when I last
tried it.  I couldn't even open files or create project without getting errors.
17:21 < aiju> just like eclipse
17:21 -!- virtualsue [~chatzilla@nat/cisco/x-aceuhipoitfivueb] has quit [Remote
host closed the connection]
17:22 < zozoR> ye
17:22 < zozoR> thought so
17:22 -!- virtualsue [~chatzilla@nat/cisco/x-bhdycdmvgieeluqx] has joined #go-nuts
17:22 < zozoR> weird :3
17:22 < fzzbt> zozoR: if you use gedit, you could try my go plugin with
gocode support for it.  I'd love any feedback:
https://bitbucket.org/fuzzybyte/go-gedit-plugin/src
17:22 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
17:23 < zozoR> sounds interesting
17:23 -!- virtualsue [~chatzilla@nat/cisco/x-bhdycdmvgieeluqx] has quit [Remote
host closed the connection]
17:23 < zozoR> im gonna test it tommorow or so ^^
17:23 < fzzbt> :)
17:24 < zozoR> even though i like how the errorss were shown in eclipse
(when it worked :P)
17:25 -!- virtualsue [~chatzilla@nat/cisco/x-dnvddcnbnbnufwdt] has joined #go-nuts
17:25 -!- xash [~xash@d170026.adsl.hansenet.de] has quit [Ping timeout: 276
seconds]
17:44 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:47 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
17:47 -!- goingnuts [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has joined
#go-nuts
17:47 < goingnuts> How do I install the testing package?
17:47 -!- gr0gmint [~quassel@87.60.23.38] has quit [Remote host closed the
connection]
17:48 < KBme> goingnuts: it's in the base distribution
17:49 < goingnuts> Hmm..  it's under src/pkg but not under pkg/darwin_amd64/
17:50 < goingnuts> i.e.  I have the sources for testing but not the built
library
17:50 < KBme> then there was a problem during your installation prcedure
(i.e.  all.bash)
17:54 < skelterjohn> right - you need to install go, not just download it
17:54 < skelterjohn> in the src directory there is all.bash - you need to
run it
17:55 < goingnuts> Because I was behind a proxy and some of the net/ tests
were failing I commented them out
17:55 < goingnuts> before running the all.bash script
17:55 < goingnuts> I suppose uncommenting them will fix the problem
17:56 < KBme> i think if tests fail the libraries don't all build
17:57 < KBme> which sucks
17:57 < KBme> it should build everything regardless of test results
17:57 < KBme> at least i had a similar problem because some resolver test
failed (my dns server doesn't support srv records)
17:58 < skelterjohn> tests only happen once the library is built
17:58 < goingnuts> KBme: How do I inform the go test procedures of my
draconian proxy
17:58 < KBme> skelterjohn: that's not what i'm experiencing
17:58 < skelterjohn> then things have changed, or something else is going on
17:58 < KBme> oh, right
17:58 < KBme> but once a test fails the whole build fails afaik
17:59 < skelterjohn> a test can fail and the distribution will still be
useful
17:59 < skelterjohn> since the libraries will be installed
17:59 < skelterjohn> this used to happen to me
17:59 < KBme> not all of them
17:59 < skelterjohn> there was a darwin64 issue
17:59 < KBme> hmmm
17:59 < skelterjohn> and i could use go just find even though the tests
failed
17:59 < skelterjohn> usually one of the net tests
17:59 < goingnuts> How do I "undo" my changes with hg?
17:59 < KBme> well not for me
17:59 < goingnuts> like git reset --hard
17:59 < KBme> usually when the net test failed i thought everything was fine
17:59 < KBme> but it wasn't
17:59 < skelterjohn> goingnuts: you can check out a previous version from
the repository
18:00 < KBme> hg update
18:00 < goingnuts> please tell me how :)
18:00 < KBme> hg update -r revision
18:00 < KBme> skelterjohn: i saw the problem when my goinstall would start
building normal go src/pkg libraries
18:00 < KBme> which means they weren't installed
18:01 < goingnuts> When I type "hg diff" I can still see my changes to the
Makefile I edited
18:01 < goingnuts> how do I throw them away?
18:01 < goingnuts> reset the worktree to the pristine state?
18:02 < KBme> man, that's my most common issue with mercurial too, i always
forget how to do the git reset --hard
18:03 < goingnuts> OK at least tell me how to checkout that particular file
from the last revision
18:03 < goingnuts> ah
18:04 < goingnuts> hg revert -a == git reset --hard
18:04 < KBme> ah, thanks
18:04 * KBme hopes to remember that for next time
18:04 < goingnuts>
http://wiki.sympy.org/wiki/Git_hg_rosetta_stone#Rosetta%5FStone
18:04 < KBme> sweet
18:05 < KBme> thanks
18:06 < goingnuts> you're welcome
18:07 < goingnuts> OK. I just re-ran all.bash and it fails, expectedly, as
it cannot connect to some server
18:10 -!- goingnuts_ [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has joined
#go-nuts
18:10 < goingnuts_> Sorry, got disconnected.
18:10 < goingnuts_> But not all libraries are being built because the net/
tests failed
18:11 < goingnuts_> http://dpaste.com/310478/
18:11 -!- rusua [~Miranda@host213-123-247-52.in-addr.btopenworld.com] has joined
#go-nuts
18:12 -!- goingnuts [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has quit
[Ping timeout: 265 seconds]
18:12 < goingnuts_> Does the http package have a proxy setting?  Or, how do
I ignore the network dependent tests?
18:15 < goingnuts_> Nevermind.  Read the "CommonProblems".
18:16 < KBme> where is "common problems".
18:16 < KBme> ?
18:17 < goingnuts_> topic?
18:18 < KBme> lol
18:18 < goingnuts_> http://code.google.com/p/go/wiki/CommonProblems
18:18 < KBme> thanks
18:20 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
18:20 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-170-159.clienti.tiscali.it]
has joined #go-nuts
18:22 -!- rusua [~Miranda@host213-123-247-52.in-addr.btopenworld.com] has quit
[Ping timeout: 240 seconds]
18:23 -!- Project-2501 [~Marvin@82.84.80.107] has quit [Ping timeout: 240 seconds]
18:32 < skelterjohn> i guess that particular test happens after everything,
which explains my experience
18:36 -!- rbrewster [~rbrewster@pool-96-255-165-204.washdc.fios.verizon.net] has
joined #go-nuts
18:37 < rbrewster> Is there a nice way to grab just the first result from a
function that returns multiple things?
18:37 < aiju> a, _ = foo()
18:38 < rbrewster> Is that the only way?  I'd like to string the things
together, e.g.  "v := 5*foo()".
18:39 < KBme> i don't think so, when there is a multiple-return you can't
use it like that
18:40 -!- goingnuts_ [cb6ef315@gateway/web/freenode/ip.203.110.243.21] has quit
[Quit: Page closed]
18:46 -!- Kashia [~Kashia@port-92-200-125-182.dynamic.qsc.de] has joined #go-nuts
18:50 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
18:54 -!- smw [~stephen@pool-70-104-128-58.nycmny.fios.verizon.net] has joined
#go-nuts
18:54 < crazy2be> hmm so there's a gedit plugin for gocode...
18:55 < crazy2be> what about a kate plugin?
18:55 -!- nettok [~quassel@200.119.157.31] has joined #go-nuts
18:55 < aiju> why do you need language specific plugins for your editor
18:55 < crazy2be> aiju: It's for autocompletion
18:56 < aiju> yeah, i always forget the order of arguments of Write
18:56 * KBme still doesn't use autocompletion..
18:56 -!- nsf [~nsf@jiss.convex.ru] has quit [Ping timeout: 276 seconds]
18:56 < crazy2be> which kate does decently within-the-file
18:56 < crazy2be> although it's not at all context-aware
18:56 < crazy2be> and doesn't let me autocomplete things from other files
18:56 < Namegduf> Oddly, I can say which is first offhand.
18:57 < Namegduf> But I think I'm just used to it and good at remembering
rules like "always destination first"
18:57 < aiju> Namegduf: also ehm Write has just one argument
18:57 < crazy2be> yeah that's what i was going to say...
18:58 < Namegduf> Ah, yeah.  I was thinking Copy or one of the other things
which do a write
18:58 < Namegduf> I guess I'm better at remembering rules than remembering
the situation, heh.
18:59 -!- femtoo [~femto@95-89-196-241-dynip.superkabel.de] has joined #go-nuts
19:00 < aiju> does anybody happen to know what go does with gs?
19:00 < aiju> are Go internals documented anywhere?
19:01 -!- keithcascio [~keithcasc@nat/google/x-zzyeojezvsnjuqpt] has joined
#go-nuts
19:01 -!- aconran_ [~aconran-o@adsl-67-119-205-150.dsl.pltn13.pacbell.net] has
quit [Quit: aconran_]
19:01 -!- aconran [~aconran-o@adsl-67-119-205-150.dsl.pltn13.pacbell.net] has
joined #go-nuts
19:05 < KBme> aiju: what do you mean gs?  ghostscript?
19:06 < aiju> the register
19:06 < aiju> on amd64
19:07 -!- photron [~photron@port-92-201-109-32.dynamic.qsc.de] has joined #go-nuts
19:07 -!- outworlder [~stephen@189.90.170.251] has joined #go-nuts
19:07 -!- georgekollias [~georgekol@nor75-7-81-57-48-111.fbx.proxad.net] has quit
[Ping timeout: 260 seconds]
19:09 < KBme> oh heh, no clue
19:09 < aiju> segment registers are basically pointless on amd64 anyway
19:13 < aiju> oh, FS and GS are not
19:14 -!- thiago__ [~thiago@dhcp16.usuarios.dcc.ufmg.br] has quit [Ping timeout:
260 seconds]
19:14 <+iant> the gs register points to the TLS data, which is where the Go
runtime stores the m and g pointers
19:14 <+iant> at least that is how it works on GNU/Linux
19:14 -!- bjarneh [~bjarneh@1x-193-157-204-229.uio.no] has joined #go-nuts
19:17 -!- virtualsue [~chatzilla@nat/cisco/x-dnvddcnbnbnufwdt] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.16/20101130074220]]
19:28 -!- TheMue [~TheMue@p5DDF5C6D.dip.t-dialin.net] has joined #go-nuts
19:30 -!- jodaro [~josh@nuevo.divinia.com] has joined #go-nuts
19:43 < rbrewster> Suppose I've got a slice A, and I want to remove the ith
element from A and assign that to B, without changing A.
19:43 < rbrewster> What would be the best way to do that?
19:43 < KBme> you change A if you remove the ith element
19:44 < rbrewster> A = append(A[:i], A[i+1:]...) does that.
19:44 < Namegduf> append(copy(a[:i]), a[i+1:])
19:44 < Namegduf> Adding ...  to the second parameter, on thought.
19:45 < rbrewster> Is copy supposed to take a single argument?
19:45 < Namegduf> Hmm, no.
19:45 < rbrewster> What I ended up doing is
19:45 < KBme> newslice := append(oldslice[:i],oldslice[i+1:]) //no?
19:45 < Namegduf> I thought there was a "make copy of" thing, I guess there
isn't.
19:45 < Namegduf> KBme: No.
19:45 < Namegduf> append mutates its arguments.
19:45 < KBme> oh
19:45 < KBme> ok, copy then
19:46 -!- adu [~ajr@64.134.242.100] has joined #go-nuts
19:46 < KBme> righto :)
19:46 < rbrewster> B := make([]int, i)
19:46 < rbrewster> copy(B, A[:i])
19:46 < rbrewster> B = append(B, A[i+1:])
19:46 < KBme> wait wat?
19:46 < Namegduf> Best you can do is compress that onto a line
19:47 < rbrewster> Ah, well.
19:47 < Namegduf> Without a single parameter copy() there's no real way to
beat it.
19:48 < Namegduf> I wish append took a pointer for its first argument,
really
19:48 < Namegduf> It's clearer when functions mutate instead of returning
when they don't return anything for me.
19:48 < Namegduf> s/instead of/instead of or as well as/
19:49 < rbrewster> It would certainly be clearer.
19:50 < rbrewster> A slice is essentially a pointer, though, isn't it?
19:50 < aiju> yeah
19:50 < aiju> pointer + len (+ cap)
19:51 -!- bmizerany [~bmizerany@204.14.152.118] has joined #go-nuts
19:51 < Namegduf> Yeah, but in this case it might want to change what the
given slice points to.
19:51 < Namegduf> In doing a reallocation.
19:51 < Namegduf> This is why a = append(a, ...) is a common thing.
19:51 < Namegduf> There's few other ways to use it, actually, unless the
first argument is newly allocated.
19:52 < exch> if append modifies the first argument in place, I wonder why
you have to handle the return value of append().  Not doing so yields a compiler
error
19:52 -!- TheMue [~TheMue@p5DDF5C6D.dip.t-dialin.net] has quit [Quit: TheMue]
19:52 < Namegduf> Because it only SOMETIMES does.
19:52 < exch> s1 = append(s1[:3], s1[4:]...) vs just append(s1[:3],
s1[4:]...)
19:52 < Namegduf> Sometimes it has to reallocate it
19:52 < Namegduf> If it took a pointer to it, then it would be able to avoid
returning it.
19:53 < exch> Then why modify the argument at all?
19:53 < Namegduf> Because copying on every append is horribly slow
19:53 < exch> true
19:53 < exch> mm this just feels a little weird
19:53 < Namegduf> It'd make it unsuitable for most places you'd want to use
it.
19:53 < Namegduf> It does feel weird; that's why I think it'd have been
better to take a pointer to a slice.
19:54 < Namegduf> It can then reallocate without having to return it and
have you reassign it.
19:54 < Namegduf> append(&a, ...) looks kinda ugly, but a = append(a, ...)
when append() mutates its arguments feels worse.
19:55 < Namegduf> Maybe that's my little "I think Go is good but I wish"
thing, and if so it's a nicely minor one.
19:56 < Namegduf> I use append() a lot and it feels much nicer than the
alternatives.  It's just kinda weird stuff.
19:56 < Namegduf> *still
19:58 < KirkMcDonald> I know that when I wrote my own append functions
before the built-in's addition, I made them accept pointers.
19:58 -!- femtoo [~femto@95-89-196-241-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
19:58 < Namegduf> "May or may not mutate arguments" just feels weird.
19:58 < Namegduf> I'd say it feels error prone but if the compiler catches
ignoring the return value then there's less threat of that.
19:59 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
19:59 < Namegduf> Reminds me of those wonderful bugs I had when writing
Lisp.
19:59 < aiju> LISP is one huge bug *cough*
20:00 < xb95> Heh.
20:00 < KBme> so i should do s3 := append(s1, s2) instead of s1 = append(s1,
s2) ?
20:00 < jumzi> no, lisp is great
20:00 < jumzi> atleast one of all the implementions
20:00 < jumzi> ...i think
20:00 < aiju> yo dawg i heard you liked parentheses
20:01 < teejae> any chance of Go accepting python style lists w/ trailing
commas?
20:01 < teejae> [a,b,c,]
20:01 < aiju> why should it do that
20:02 < aiju> there are already {} lists
20:02 < teejae> aiju: easy to sort stuff
20:02 < teejae> cut and paste
20:02 < jumzi> Go has iterating classes too!
20:02 < aiju> don't tell me it doesn't support trailing commas
20:02 < teejae> it doesn't support trailing commas
20:03 < KBme> *don't* tell him, now he will have nightmares
20:03 < teejae> seems like an oversight?
20:03 < aiju> works perfectly fine here
20:03 < teejae> given the emphasis on being able to reorder crap
20:03 < teejae> oh?
20:03 < aiju> foo := [5]int{1,2,3,4,5,}
20:03 < teejae> w/ arrays?
20:03 < teejae> oh
20:03 < jumzi> sadly no []
20:04 < teejae> ok
20:04 < teejae> i just did syntax wrong
20:05 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
20:07 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has joined
#go-nuts
20:08 -!- smw [~stephen@pool-70-104-128-58.nycmny.fios.verizon.net] has quit [Ping
timeout: 240 seconds]
20:09 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
20:12 -!- georgekollias [~georgekol@men75-1-81-57-41-176.fbx.proxad.net] has
joined #go-nuts
20:14 -!- gits [~gits@77.94.219.158] has joined #go-nuts
20:19 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
20:21 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
20:22 -!- adu [~ajr@64.134.242.100] has quit [Quit: adu]
20:28 -!- adu [~ajr@64.134.242.100] has joined #go-nuts
20:28 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-170-159.clienti.tiscali.it]
has quit [Read error: Connection reset by peer]
20:30 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:9917:c1f7:d307:6e43] has joined
#go-nuts
20:32 -!- adu [~ajr@64.134.242.100] has quit [Client Quit]
20:33 -!- adu [~ajr@64.134.242.100] has joined #go-nuts
20:36 * wrtp likes the A = append(A[:i], A[i+1:]...) idiom.  rbrewster: nice
20:37 -!- Venom_X [~pjacobs@75.92.43.21] has quit [Ping timeout: 276 seconds]
20:38 < teejae> woohoo, have a codegen for thrift protocol, which generates
compileable output for lots of things :)
20:38 < teejae> https://github.com/teejae/thrift/tree/go_thrift_codegen
20:38 < teejae> i haven't tested it really too much, but it compiles ;)
20:39 -!- TheMue [~TheMue@p5DDF5C6D.dip.t-dialin.net] has joined #go-nuts
20:41 < skelterjohn> what's thrift?
20:41 < teejae> it's a transport protocol, like google's protobuffers, dev'd
by facebook for cassandra
20:42 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
20:42 < teejae> thrift.apache.org
20:44 < teejae> so you can have a single type definition, and have various
languages/services talk to each other using a universal language
20:44 < teejae> with bindings appropriate per language
20:46 < fzzbt> i wish protobuf had standard rpc like thrift
20:46 < teejae> fzzbt: it does
20:46 < fzzbt> well the goprotobuf library does not support it at least
20:46 < teejae> fzzbt: its the reason it's used throughout google
20:47 < teejae> fzzbt: it probably just takes a bit of time to bolt on, and
russ is kinda busy
20:49 < teejae> fzzbt: anyway, i think my thrift impl does rpc right
20:49 < teejae> but again, i haven't tested it completely just
20:49 < fzzbt> it says in goprotobuf README: "There is no support for RPC in
Go using protocol buffers.  It may come once a standard RPC protocol develops for
protobufs."
20:49 < teejae> fzzbt: there's def a standard rpc protocol inside google
20:52 < fzzbt> what good is that for :(
20:53 < teejae> fzzbt: probably just haven't had time to open source it yet
20:54 < teejae> fzzbt: or you could try out the thrift thing i'm working on
20:54 < teejae> :P
20:54 < teejae> wouldn't use it for production work
20:54 < teejae> t
20:54 < teejae> that's for sure
20:56 < fzzbt> teejae: I'll probably try it little later unless something
comes up.  I'm not very familiar with thrift.  It seems to be little harder to
find documentation/tutorials/etc.  for it than protobuf.
20:56 < teejae> fzzbt: understood.  i have never used thrift before.
protobuf i'm familiar w/
20:57 < teejae> fzzbt: it was just a project i chose to learn go w/
20:57 < teejae> just started a few days ago on this
21:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-159.clienti.tiscali.it] has
joined #go-nuts
21:16 -!- alkavan [~alkavan@IGLD-84-228-177-209.inter.net.il] has joined #go-nuts
21:18 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has quit [Read error:
Operation timed out]
21:18 -!- sacho [~sacho@90.154.217.231] has joined #go-nuts
21:21 -!- guest9187 [~computer@c-b21ebe02-74736162.cust.telenor.se] has joined
#go-nuts
21:22 -!- bjarneh [~bjarneh@1x-193-157-204-229.uio.no] has quit [Quit: leaving]
21:26 -!- deso_ [~deso@x0561a.wh30.tu-dresden.de] has quit [Ping timeout: 276
seconds]
21:31 -!- wrtp [~rog@92.17.51.127] has quit [Quit: wrtp]
21:32 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
21:33 < fenicks> hello
21:34 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 264 seconds]
21:34 < inv_arp_> hi
21:34 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has quit
[Ping timeout: 240 seconds]
21:35 -!- crazy2be [~justin@d75-152-162-237.abhsia.telus.net] has quit [Remote
host closed the connection]
21:41 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
21:45 -!- barkmore [~textual@216.243.14.77] has joined #go-nuts
21:48 -!- TheMue [~TheMue@p5DDF5C6D.dip.t-dialin.net] has quit [Quit: TheMue]
21:49 -!- teejae [~teejae@softbank219185095092.bbtec.net] has quit [Quit: teejae]
21:49 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
21:49 -!- sauerbraten [~sauerbrat@p508CAE11.dip.t-dialin.net] has quit [Read
error: Connection reset by peer]
21:50 -!- sauerbraten [~sauerbrat@p508CAE11.dip.t-dialin.net] has joined #go-nuts
21:50 -!- adu [~ajr@64.134.242.100] has quit [Quit: adu]
21:56 -!- sauerbraten [~sauerbrat@p508CAE11.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:59 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:9917:c1f7:d307:6e43] has quit
[Quit: Leaving.]
22:04 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
22:04 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
22:04 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
22:07 -!- outworlder [~stephen@189.90.170.251] has quit [Quit: Leaving.]
22:07 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:08 -!- barkmore [~textual@216.243.14.77] has quit [Remote host closed the
connection]
22:14 -!- Boney [~paul@124-148-146-151.dyn.iinet.net.au] has quit [Ping timeout:
246 seconds]
22:17 -!- cafesofie [~cafesofie@dhcp-140-254-204-94.osuwireless.ohio-state.edu]
has joined #go-nuts
22:17 < skelterjohn> is there any way to set an environmental variable that
adds to the places the compiler and linker will look for packages?  for a makefile
22:17 < skelterjohn> i'd like to do something like
22:18 < skelterjohn> LOOK_HERE_TOO=someplace make
22:20 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
22:27 -!- Boney [~paul@124.168.123.191] has joined #go-nuts
22:31 < KBme> anyone here have experience with go9p?
22:32 < KBme> ah nvm I answered my own question
22:32 -!- Tbb__ [~tbb__@HSI-KBW-109-193-104-005.hsi7.kabel-badenwuerttemberg.de]
has joined #go-nuts
22:34 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
22:36 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276
seconds]
22:41 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:42 -!- rejb [~rejb@unaffiliated/rejb] has quit [Quit: .]
22:43 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
22:47 -!- photron [~photron@port-92-201-109-32.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
22:51 -!- krig [kegie@stalin.acc.umu.se] has quit [Ping timeout: 240 seconds]
22:53 -!- blm [~chatzilla@c-98-211-37-219.hsd1.tn.comcast.net] has joined #go-nuts
22:56 -!- grouzen_ [~grouzen@ip22-159.200.109.crimea.com] has quit [Ping timeout:
246 seconds]
22:58 -!- blm [~chatzilla@c-98-211-37-219.hsd1.tn.comcast.net] has left #go-nuts
[]
22:59 -!- mikejs [~mike@enki.sunlightfoundation.com] has quit [Ping timeout: 260
seconds]
23:01 -!- georgekollias [~georgekol@men75-1-81-57-41-176.fbx.proxad.net] has quit
[Quit: Leaving]
23:04 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined
#go-nuts
23:10 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts
23:10 -!- mikejs [~mike@enki.sunlightfoundation.com] has joined #go-nuts
23:11 -!- mikejs [~mike@enki.sunlightfoundation.com] has quit [Client Quit]
23:12 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-159.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
23:15 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
23:16 < Venom_X> how do you add an element to a slice?
23:18 < skelterjohn> theSlice = append(theSlice, theElement)
23:19 < Venom_X> would: x[len(x)] = y; be terrible?
23:19 < skelterjohn> yes
23:19 < skelterjohn> :)
23:20 < Venom_X> ok
23:20 < Venom_X> just checking
23:20 < skelterjohn> you have no guarantee that x has that spot allocated
23:20 < skelterjohn> append will only allocate if necessary
23:21 < Venom_X> cool, thanks
23:21 < skelterjohn> my pleasure
23:21 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
23:25 -!- manifold [~chatzilla@c-98-211-37-219.hsd1.tn.comcast.net] has joined
#go-nuts
23:27 -!- alkavan [~alkavan@IGLD-84-228-177-209.inter.net.il] has quit [Quit:
Leaving]
23:33 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
23:36 -!- boscop [~boscop@g227142103.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
23:37 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has joined #go-nuts
23:41 -!- exch [~exch@h78233.upc-h.chello.nl] has quit [Read error: Connection
reset by peer]
23:41 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts
23:46 < scyth> hey, is everything fine with repository?  I can't seem to
pull
23:48 < scyth> nevermind, it went through now
23:48 -!- guest9187 [~computer@c-b21ebe02-74736162.cust.telenor.se] has quit
[Remote host closed the connection]
23:53 -!- virtualsue [~chatzilla@nat/cisco/x-texvnicljslyenmz] has joined #go-nuts
--- Log closed Thu Jan 13 00:00:02 2011