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

--- Log opened Fri Jun 03 00:00:52 2011
00:01 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 276
seconds]
00:03 -!- pvarga [~pvarga@pool-71-172-108-117.nwrknj.east.verizon.net] has quit
[Ping timeout: 260 seconds]
00:07 -!- robteix [~robteix@host40.201-253-152.telecom.net.ar] has joined #go-nuts
00:12 < str1ngs> adg: but seems I was the only one that noticed :P
00:12 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Ping timeout:
258 seconds]
00:14 <@adg> str1ngs: a nice, direct message ;)
00:14 < str1ngs> hehe, not a big deal was just a though
00:14 < str1ngs> thought*
00:16 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
00:19 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined
#go-nuts
00:24 -!- tncardoso [~thiago@189.115.128.14] has joined #go-nuts
00:29 -!- pvarga_ [~pvarga@pool-71-172-108-117.nwrknj.east.verizon.net] has quit
[Quit: pvarga_]
00:40 -!- jarsen [~jarsen@76.8.206.66] has joined #go-nuts
00:44 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
01:00 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Ping timeout: 250
seconds]
01:04 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
01:10 -!- bmizerany [~bmizerany@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has
quit [Remote host closed the connection]
01:16 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
01:21 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts
01:26 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping
timeout: 252 seconds]
01:28 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit:
wallerdev]
01:29 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts
01:39 -!- jarsen [~jarsen@76.8.206.66] has quit [Remote host closed the
connection]
01:55 < kevlar> adg: I just noticed that I'm getting odd "warning: unhandled
connect event" and "warning: unhandled close event" in dev_appserver; any idea
what that means?
01:58 -!- jarsen [~jarsen@76.8.206.66] has joined #go-nuts
02:02 -!- jarsen [~jarsen@76.8.206.66] has quit [Remote host closed the
connection]
02:20 -!- robteix [~robteix@host40.201-253-152.telecom.net.ar] has quit [Quit:
Leaving...]
02:25 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
02:30 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit:
rputikar]
02:34 -!- jarsen [~jarsen@76.8.206.66] has joined #go-nuts
02:34 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the
connection]
02:34 <@adg> kevlar: you can ignore it
02:34 -!- jarsen [~jarsen@76.8.206.66] has quit [Remote host closed the
connection]
02:45 -!- boscop_ [~boscop@g226232181.adsl.alicedsl.de] has joined #go-nuts
02:46 -!- boscop [~boscop@f055094054.adsl.alicedsl.de] has quit [Ping timeout: 250
seconds]
02:48 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 252 seconds]
02:50 -!- keithcascio [~keithcasc@nat/google/x-ixnywbxvglrtfiwn] has quit [Quit:
Leaving]
02:50 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
02:52 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
02:55 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
02:55 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined
#go-nuts
02:55 -!- brett [~brett@rdnzl.net] has joined #go-nuts
02:56 -!- neerajsingh [~neerajsin@astound-64-85-250-58.ca.astound.net] has joined
#go-nuts
02:57 -!- rputikar [~240182H@134.7.206.247] has joined #go-nuts
02:58 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit [Read
error: Operation timed out]
02:58 -!- adg [~nf@2001:470:21:20::4444:61d9] has quit [Read error: Operation
timed out]
02:58 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined
#go-nuts
02:59 -!- neerajsingh [~neerajsin@astound-64-85-250-58.ca.astound.net] has left
#go-nuts []
03:00 -!- adg [~nf@2001:470:21:20::4444:61d9] has joined #go-nuts
03:00 -!- mode/#go-nuts [+o adg] by ChanServ
03:06 -!- tncardoso [~thiago@189.115.128.14] has quit [Ping timeout: 250 seconds]
03:07 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
03:07 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
[Ping timeout: 244 seconds]
03:09 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has joined
#go-nuts
03:12 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
03:31 -!- bill_h [~bill_h@c-66-177-105-100.hsd1.fl.comcast.net] has quit [Quit:
leaving]
03:32 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
03:33 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 276 seconds]
03:33 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
03:40 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
03:43 -!- brtk [~brtk@c83-248-35-158.bredband.comhem.se] has quit [Ping timeout:
246 seconds]
03:44 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts
03:45 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
03:51 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 276 seconds]
03:57 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
04:00 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Ping
timeout: 250 seconds]
04:11 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services]
04:12 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
04:12 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
04:13 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
04:22 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
04:22 -!- sacho [~sacho@46.10.4.19] has quit [Read error: Operation timed out]
04:27 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
04:29 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer
has gone to sleep.]
04:29 -!- sjbrown [~sjbrown@c-98-210-195-242.hsd1.ca.comcast.net] has joined
#go-nuts
04:30 -!- jarsen [~jarsen@76.8.206.66] has joined #go-nuts
04:32 -!- benjack [~benjack@bb121-7-153-145.singnet.com.sg] has joined #go-nuts
04:33 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
04:35 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
04:39 -!- sacho [~sacho@46.10.4.19] has joined #go-nuts
04:43 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 240 seconds]
04:44 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
04:44 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
04:48 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts
04:49 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 240 seconds]
04:50 -!- Project_2501 [~Marvin@82.84.82.244] has joined #go-nuts
04:51 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
04:51 -!- Narren96c [~skald@narren.la.net.ua] has joined #go-nuts
04:53 -!- Narren [~skald@narren.la.net.ua] has quit [Ping timeout: 246 seconds]
04:59 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:00 -!- fabled [~fabled@83.145.235.194] has quit [Client Quit]
05:04 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
05:05 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:12 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has joined #go-nuts
05:12 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
05:13 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts
05:14 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has quit [Excess Flood]
05:14 -!- boscop_ [~boscop@g226232181.adsl.alicedsl.de] has quit [Ping timeout:
250 seconds]
05:15 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has joined #go-nuts
05:18 -!- rputikar [~240182H@134.7.206.247] has quit [Quit: rputikar]
05:19 -!- rputikar [~240182H@134.7.206.247] has joined #go-nuts
05:20 -!- rputikar [~240182H@134.7.206.247] has quit [Client Quit]
05:22 -!- jarsen [~jarsen@76.8.206.66] has quit [Remote host closed the
connection]
05:22 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
05:23 -!- photron [~photron@port-92-201-203-177.dynamic.qsc.de] has joined
#go-nuts
05:25 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
05:31 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
05:31 -!- mode/#go-nuts [+v iant] by ChanServ
05:32 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote
host closed the connection]
05:42 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
05:47 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 252 seconds]
05:51 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has quit [Ping timeout:
250 seconds]
05:55 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
05:56 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-161-83.clienti.tiscali.it] has
joined #go-nuts
05:59 -!- Project_2501 [~Marvin@82.84.82.244] has quit [Ping timeout: 240 seconds]
06:00 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has joined #go-nuts
06:02 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has left #go-nuts
[]
06:08 -!- sjbrown [~sjbrown@c-98-210-195-242.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
06:10 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
06:10 < Tv> how do you guys manage auxiliary data files in your go projects?
06:10 < Tv> e.g.  web templates
06:11 < Tv> e.g.  in python, i can access the source location with __file__,
and assume the file is next to that
06:11 < KirkMcDonald> In Python, you normally compile the template to a
Python module and import it.
06:12 < Tv> now, if i do that with a custom Makefile, goinstall stops
working...
06:13 < Tv> (goinstall straight from the repo, that is)
06:14 < str1ngs> Tv: wow Tv I just read your git for computer scientist blog
today
06:14 < Tv> hehe
06:14 < str1ngs> thats strange
06:15 < str1ngs> anyways hello
06:15 < Tv> hi
06:16 -!- skald33 [~skald@narren.la.net.ua] has joined #go-nuts
06:17 < str1ngs> goinstall will not handle none *.go files are far as I know
06:17 < str1ngs> as far*
06:18 -!- osmosis [~osmosis@c-67-171-179-254.hsd1.or.comcast.net] has joined
#go-nuts
06:18 < str1ngs> but it should clone the repo into GOROOT
06:18 -!- Narren96c [~skald@narren.la.net.ua] has quit [Ping timeout: 248 seconds]
06:19 < str1ngs> local installs I'm not sure
06:19 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 258 seconds]
06:19 -!- iant [~iant@216.239.45.130] has joined #go-nuts
06:19 -!- mode/#go-nuts [+v iant] by ChanServ
06:20 < Tv> str1ngs: afaik goinstall will basically ignore non-*.go files
06:21 < Tv> unless you're saying access $GOPATH/src/...  directly
06:21 < Tv> which won't work if compiling in-place
06:21 < str1ngs> right and some of the GOPATH is new.  well new to me.  so
I'm not sure how that works quite yet
06:22 < Tv> but even then, doing "make && ./foo" would fail
06:22 < Tv> or even worse, use files from the last installed version, etc
06:22 < Tv> lots of confusion potential
06:22 < Tv> writing a .go generator now..  sucky but least horrible i guess
06:23 < str1ngs> I was going to mention that you mean like an escaped `` or
computer generated templates?
06:24 < Tv> `` for now
06:24 < Tv> probably []byte if i need binary files
06:24 < str1ngs> or just go the git clone make install route?
06:24 < str1ngs> I guess I an assume you use git?  :(
06:24 < str1ngs> :P
06:24 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 240 seconds]
06:25 < Tv> actually, my go stuff doesn't have makefiles at all, and i've
been enjoying that
06:25 < Tv> so i'm just writing a standalone thingie right now
06:26 < str1ngs> ah, I use the go templates.  which I are handy
06:26 < Tv> oh this will take no stand on what you use for templating
06:26 < Tv> just embed a raw file inside a .go
06:26 < str1ngs> I can put silly things like test: with extra goodies but
has no baring on goinstall
06:27 < Tv> oh you go makefile templates, duh
06:27 < str1ngs> ya the problem with embedding is well you need to recompile
06:27 < Tv> yeah i got bored having one in every dir and editing the target
file list
06:27 < Tv> that's just silly, i want all my *.go to be compiled, always
06:27 < Tv> gb is pretty darn sweet (even if the implementation makes me
cringe)
06:28 < str1ngs> you can add *.go to the target file list :P
06:28 < str1ngs> but I'm not going to push Makefiles on you
06:28 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Read error:
Connection reset by peer]
06:30 < str1ngs> what I mean was I use go Makefile templates
06:31 < str1ngs> not to confuse with web templates
06:32 < str1ngs> be either way best bet is probably to embed them for now.
and maybe ask on the ML
06:34 -!- brtk_ [~brtk@c83-248-35-158.bredband.comhem.se] has joined #go-nuts
06:35 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has joined
#go-nuts
06:36 < Tv> i'm doing great evil with go.ast and import paths ;)
06:37 < str1ngs> hehe
06:37 -!- napsy [~luka@88.200.96.18] has quit [Read error: Operation timed out]
06:38 < str1ngs> I really need to look at the new goinstall changes.
06:39 -!- mkb_ [~mkb@pool-71-174-16-245.bstnma.east.verizon.net] has quit [Ping
timeout: 240 seconds]
06:45 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
06:54 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
06:54 -!- napsy [~luka@193.2.66.6] has joined #go-nuts
06:57 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts
06:57 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Remote
host closed the connection]
06:57 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts
07:04 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has joined #go-nuts
07:13 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has joined
#go-nuts
07:16 < nsf> new weekly
07:16 < nsf> hm..
07:17 < nsf> cool, all tests are ok for gocode
07:17 < nsf> Go's getting stable :)
07:18 < nsf> second weekly release and nothing dies
07:18 * str1ngs files issue on github
07:18 < str1ngs> :P
07:18 < str1ngs> j/k
07:19 < nsf> what issue?
07:19 < nsf> :\
07:19 < str1ngs> none, just thought you need work
07:19 < nsf> oh no, I have a lot of work to do
07:19 < nsf> I've just finished rewriting type system for crawl (my lang)
07:20 < nsf> now it's far from Go and more like C, but safer
07:20 < str1ngs> hows that going?
07:20 < nsf> quite well I guess
07:20 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
07:20 < nsf> parser is here, semantic analysis is here, C importer is here
(imports C headers directly), LLVM backend is here
07:20 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:21 < nsf> of course there is a ton of things to do
07:21 < nsf> but something works :)
07:21 < str1ngs> nice
07:21 < nsf> SDL gradient example works
07:21 < nsf> http://pastie.org/2012487
07:21 < nsf> that's how it looks like
07:21 < str1ngs> the import is intresting.  I assume you mean for say C
bindings?
07:22 < nsf> see example
07:22 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has joined #go-nuts
07:22 < nsf> you just write: import "SDL/SDL.h"; and use C stuff :)
07:22 < str1ngs> oh not even bindings
07:22 < nsf> importer can even handles things like that:
07:22 < nsf> #define CONSTANT_X (1 << 5)
07:23 < nsf> handle*
07:23 < nsf> basically it checks all defines and tries to parse them as
constant expressions
07:23 -!- boscop__ [~boscop@g226232181.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
07:24 < str1ngs> hmm how do you handle your own stdlib imports?
07:25 < nsf> crawl lacks stdlib and libs in general
07:25 < str1ngs> ah so you just piggy back of C for now?
07:25 < nsf> libs were working on C backend, but I haven't implemented them
on LLVM backend yet
07:25 < nsf> yeah
07:25 < str1ngs> well that makes sense for bootstraping
07:25 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
07:25 < str1ngs> actually probably makes bootstraping easier
07:26 < nsf> and I'm writing it solo, just have no time for everything :)
07:26 < nsf> I don't mind having some sort of stdlib, but currently I'm
focused on the language itself
07:26 < str1ngs> this is miles ahead of anything I could do.
07:26 < nsf> :)
07:27 < str1ngs> you opted for ; still?
07:27 < str1ngs> or it can handle both ?
07:27 < nsf> I explaind it many times
07:27 < nsf> compiler is in C++
07:27 < nsf> I don't want to do switching all the time
07:27 < nsf> for now
07:28 < nsf> and frankly I don't think ';'s are such a disaster
07:28 < nsf> we're writing them 30 years
07:28 < nsf> no one died :)
07:28 < str1ngs> ah ok
07:28 < nsf> but later, maybe..  I'll introduce autosemi insertion
07:28 < nsf> it's not a big problem
07:28 < str1ngs> I'm not one to fight over stuff like that.
07:28 < str1ngs> I just accept it
07:29 < nsf> you see I write compiler in C++ and write some bits of code to
test it, having semicolons in both languages helps
07:29 < str1ngs> I like that go has it but its not like game breaking
07:29 < nsf> I actually started to write semicolons even in Go code
07:29 < nsf> :D
07:29 < str1ngs> I have that happen to
07:29 < str1ngs> not that I write alot of C
07:30 < str1ngs> same with ()
07:30 < nsf> yeah, that happens to me too
07:31 < str1ngs> actually I was wondering why for ;; was not working the
other day
07:31 -!- eimantas [~eimantas@62.212.204.156] has joined #go-nuts
07:31 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping
timeout: 260 seconds]
07:33 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 250
seconds]
07:36 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 250
seconds]
07:38 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
07:44 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 276
seconds]
07:46 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
07:46 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
07:56 -!- B33p [~mgray@li226-224.members.linode.com] has joined #go-nuts
07:57 < eimantas> can array types implement interfaces?
07:57 < nsf> eimantas: of course
07:58 < nsf> type Pair [2]int
07:58 < nsf> func (p *Pair) String() string { ...  }
07:58 < nsf> done, implemented Stringer interface
08:00 * nsf hopes it compiles
08:00 < nsf> :D
08:00 < eimantas> hmm
08:01 < eimantas> so how would function that accepts any type implementing
certain interface look like?
08:01 < eimantas> func Foo(anyType *Interfaced) {...}
08:01 < eimantas> ?
08:01 < nsf> no
08:02 < eimantas> thought so .
08:02 < eimantas> .))
08:02 < nsf> interface is kind of a reference type on its own
08:02 < nsf> func Foo(s Stringer) {...}
08:02 < nsf> you don't need a * here
08:02 < nsf> well, actually it's a value type
08:02 < nsf> but if you cast a pointer to an interface
08:02 < nsf> it's a value type and it's value is a pointer
08:02 < nsf> which makes it a reference type :)
08:03 < nsf> :D
08:03 < nsf> I hope it's not confusing
08:03 < aiju> nsf is confuse-a-programmer ltd.
08:03 < nsf> a bit, yeah
08:03 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has joined #go-nuts
08:03 < eimantas> I think it's easier if I'll explain what I'm trying to
achieve
08:03 < nsf> sure
08:03 < eimantas> so there's this thing called tagged net strings
(http://tnetstrings.org)
08:03 -!- virtualsue [~chatzilla@nat/cisco/x-ciguswvmdiliswqy] has joined #go-nuts
08:04 < eimantas> and I'm trying to write a simple package for parsing and
dumping them
08:04 < eimantas> now i'm stuck at dumping an array of values which
implement tnetstrings interface
08:04 < eimantas> here's how function header looks like: func Dump(netstring
TNetString) (result string) {
08:05 < nsf> ah, I see
08:05 < eimantas> TNetString is: type TNetString interface { TNetString()
string }
08:05 < nsf> but can't you check out json package source code?
08:05 < eimantas> I have working type assertions for everything except
arrays and maps
08:05 < nsf> I mean it most likely does something that you're looking for
08:05 -!- nannto [~nanto@pee5b70.tokyff01.ap.so-net.ne.jp] has quit [Quit:
Leaving...]
08:06 < eimantas> hmm
08:06 < eimantas> true
08:06 < eimantas> I probably can
08:06 < eimantas> Marshal/Umarshal, AFAIK
08:06 < nsf> although it uses reflect
08:06 < nsf> and I'm sure it's a way to go
08:06 < nsf> because most likely you won't implement what you want just
using type switches
08:07 < eimantas> ah, right
08:07 < eimantas> so reflect first json second
08:08 < nsf> reflect just allows you to figure out that certain interface is
a slice and what's its type, etc.
08:08 < nsf> yeah, take a look at these packages
08:08 < nsf> they are small
08:08 < nsf> but I would say
08:08 < nsf> json first, then reflect
08:09 < eimantas> seems just like what I need
08:11 -!- nannto [~nanto@pee5b70.tokyff01.ap.so-net.ne.jp] has joined #go-nuts
08:15 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
08:18 -!- skald33 [~skald@narren.la.net.ua] has quit [Quit: Leaving]
08:22 -!- eimantas [~eimantas@62.212.204.156] has quit [Quit: eimantas]
08:32 -!- B33p [~mgray@li226-224.members.linode.com] has quit [Quit: Lost
terminal]
08:47 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:55 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has quit [Read error:
Connection reset by peer]
09:05 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Read
error: Connection reset by peer]
09:08 -!- tvw [~tv@e176003076.adsl.alicedsl.de] has joined #go-nuts
09:17 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts
09:51 -!- marko_ [~marko@host36-206-dynamic.36-79-r.retail.telecomitalia.it] has
joined #go-nuts
09:52 < KBme>
http://www.pbfcomics.com/archive_b/PBF050-An_End_to_Gopher_Trouble.gif
10:00 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
joined #go-nuts
10:03 -!- osmosis [~osmosis@c-67-171-179-254.hsd1.or.comcast.net] has quit [Ping
timeout: 248 seconds]
10:05 -!- benjack [~benjack@bb121-7-153-145.singnet.com.sg] has quit [Quit:
Leaving.]
10:23 -!- tux21b [~christoph@chello213047047175.3.graz.surfer.at] has joined
#go-nuts
10:25 -!- tux21b [~christoph@chello213047047175.3.graz.surfer.at] has left
#go-nuts []
10:25 -!- tux21b [~christoph@chello213047047175.3.graz.surfer.at] has joined
#go-nuts
10:25 -!- tux21b [~christoph@chello213047047175.3.graz.surfer.at] has left
#go-nuts []
10:26 -!- tux21b [~christoph@chello213047047175.3.graz.surfer.at] has joined
#go-nuts
10:26 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
10:29 -!- shvntr [~shvntr@113.84.14.13] has joined #go-nuts
10:32 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has joined #go-nuts
10:32 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote
host closed the connection]
10:35 -!- tvw [~tv@e176003076.adsl.alicedsl.de] has quit [Remote host closed the
connection]
10:42 -!- GilJ [~GilJ@zeus.ugent.be] has quit [Read error: Operation timed out]
10:47 -!- Ekspluati [5b9c4606@gateway/web/freenode/ip.91.156.70.6] has joined
#go-nuts
10:54 -!- adlan [~adlan@175.138.30.205] has joined #go-nuts
10:56 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has quit [Quit:
This computer has gone to sleep]
10:56 -!- Paul_s [~paul@58-6-92-141.dyn.iinet.net.au] has joined #go-nuts
10:57 -!- alehorst [~alehorst@189.58.29.116.dynamic.adsl.gvt.net.br] has joined
#go-nuts
10:58 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
11:08 -!- Paul_s [~paul@58-6-92-141.dyn.iinet.net.au] has quit [Quit: Leaving]
11:09 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
11:11 -!- brad_ [~brad@cpe-071-070-223-193.nc.res.rr.com] has quit [Ping timeout:
240 seconds]
11:11 -!- jemeshsu [~jemeshsu@bb119-74-88-105.singnet.com.sg] has quit [Quit:
jemeshsu]
11:15 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has quit [Quit: leaving]
11:16 -!- brtk_ [~brtk@c83-248-35-158.bredband.comhem.se] has quit [Quit: Lost
terminal]
11:18 -!- adlan [~adlan@175.138.30.205] has quit [Remote host closed the
connection]
11:21 -!- COBOL2121 [~Null@usr018.bb160-01.udk.im.wakwak.ne.jp] has joined
#go-nuts
11:24 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 246 seconds]
11:25 -!- tvw [~tv@e176003076.adsl.alicedsl.de] has joined #go-nuts
11:35 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has left
#go-nuts []
11:35 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has joined
#go-nuts
11:41 -!- COBOL2121 [~Null@usr018.bb160-01.udk.im.wakwak.ne.jp] has quit [Remote
host closed the connection]
11:51 -!- brad_ [~brad@cpe-071-070-223-193.nc.res.rr.com] has joined #go-nuts
11:54 -!- user010101 [~username@usr018.bb160-01.udk.im.wakwak.ne.jp] has joined
#go-nuts
12:04 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts
12:04 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
12:07 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
12:12 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined
#go-nuts
12:14 -!- eimantas [~eimantas@88.118.210.9] has joined #go-nuts
12:17 -!- cobol2121 [~username@usr018.bb160-01.udk.im.wakwak.ne.jp] has quit
[Remote host closed the connection]
12:24 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
joined #go-nuts
12:27 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
quit [Client Quit]
12:27 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:32 -!- eimantas [~eimantas@88.118.210.9] has quit [Quit: eimantas]
12:36 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 252 seconds]
12:41 -!- ijknacho [48be4003@gateway/web/freenode/ip.72.190.64.3] has joined
#go-nuts
12:41 -!- xyproto [~alexander@77.40.159.131] has quit [Read error: Operation timed
out]
12:45 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
12:50 -!- fudanchii [~adie@121.58.190.118] has joined #go-nuts
12:50 < exch> http://news.ycombinator.com/item?id=2615096
12:53 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
12:53 -!- xyproto [~alexander@77.40.159.131] has joined #go-nuts
12:57 -!- fudanchii1 [~adie@121.58.190.118] has joined #go-nuts
12:57 -!- fudanchii [~adie@121.58.190.118] has quit [Read error: Connection reset
by peer]
12:57 -!- fudanchii1 [~adie@121.58.190.118] has left #go-nuts []
12:57 -!- fudanchii1 [~adie@121.58.190.118] has joined #go-nuts
12:57 -!- fudanchii1 [~adie@121.58.190.118] has quit [Client Quit]
13:02 <+iant> Robert never told us he was going to publish that paper
externally, or we might have actually tried to optimize the Go code
13:05 < exch> it mentions a 'pro version of the Go code which is supposedly
optimized :o
13:05 < exch> there are other things wrong with those benchmarks though
13:05 <+iant> yeah, I spent an hour straightening out his use of Go
13:06 <+iant> I didn't try to actually optimize it or make it into a real Go
program
13:10 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 248 seconds]
13:14 -!- mkb_ [~mkb218@lion-o.dreamhost.com] has joined #go-nuts
13:25 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
13:27 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
13:27 -!- marko_ [~marko@host36-206-dynamic.36-79-r.retail.telecomitalia.it] has
quit [Ping timeout: 240 seconds]
13:28 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
13:32 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
13:33 -!- sunfmin [~sunfmin@115.197.43.253] has quit [Quit: sunfmin]
13:36 -!- foocraft [~ewanas@78.100.198.150] has joined #go-nuts
13:37 -!- niemeyer [~niemeyer@201-40-174-53.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
13:38 -!- iant1 [~iant@67.218.110.215] has joined #go-nuts
13:40 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
13:40 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has joined #go-nuts
13:47 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has
joined #go-nuts
13:50 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts
13:52 -!- tvw [~tv@e176003076.adsl.alicedsl.de] has quit [Remote host closed the
connection]
13:57 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has joined #go-nuts
14:04 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
14:09 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
14:11 -!- bartbes [~bartbes@love/developer/bartbes] has quit [Ping timeout: 276
seconds]
14:14 -!- jarsen [~jarsen@76.8.206.66] has joined #go-nuts
14:16 -!- ijknacho [48be4003@gateway/web/freenode/ip.72.190.64.3] has quit [Ping
timeout: 252 seconds]
14:22 -!- jarsen [~jarsen@76.8.206.66] has quit [Remote host closed the
connection]
14:24 -!- bartbes [~bartbes@love/developer/bartbes] has joined #go-nuts
14:28 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
14:32 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
14:34 -!- marko_ [~marko@2a00:1620:c0:50:66b9:e8ff:feca:1812] has joined #go-nuts
14:40 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-167-34.clienti.tiscali.it]
has joined #go-nuts
14:43 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-161-83.clienti.tiscali.it] has
quit [Read error: Operation timed out]
14:43 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
14:44 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
14:46 -!- skelterjohn|work [~skelterjo@dice.rutgers.edu] has joined #go-nuts
14:46 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
14:49 < skelterjohn|work> morning
14:55 -!- iant1 [~iant@67.218.110.215] has quit [Quit: Leaving.]
14:57 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts
15:00 -!- adlan [~adlan@175.138.36.29] has joined #go-nuts
15:00 < chomp> howdy
15:01 < skelterjohn|work> hi
15:04 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
15:06 -!- iant [~iant@nat/google/x-juxnmekjxzxlbpkf] has joined #go-nuts
15:06 -!- mode/#go-nuts [+v iant] by ChanServ
15:10 -!- foocraft [~ewanas@78.100.198.150] has quit [Ping timeout: 250 seconds]
15:10 -!- foocraft_ [~ewanas@78.101.125.51] has joined #go-nuts
15:14 -!- shvntr [~shvntr@113.84.14.13] has quit [Ping timeout: 252 seconds]
15:21 -!- GilJ [~GilJ@zeus.ugent.be] has joined #go-nuts
15:24 -!- bartbes [~bartbes@love/developer/bartbes] has quit [Ping timeout: 250
seconds]
15:28 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Quit:
Computer has gone to sleep.]
15:31 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has joined #go-nuts
15:36 < wjlroe> If you have a list of things (that have String() methods),
is there a way to print the array - getting it to call each String() method?
15:37 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has quit [Quit: leaving]
15:37 < skelterjohn|work> you can print almost anything using
fmt.Printf("%v", theThing)
15:37 < skelterjohn|work> and i believe if it is a slice of Stringers, that
will work as expected
15:38 < wjlroe> ah - so it's the %v that is significant?
15:38 < skelterjohn|work> i know that if you give it fmt.Printf("%v",
[]int{1,2,3}) it will print "[1,2,3]"
15:38 < skelterjohn|work> %v is value - tells fmt to use reflect to know
what it's printing
15:39 < skelterjohn|work> you can always replace %d or %f, etc with %v, but
it will be slower
15:39 < aiju> and you have less control on formatting
15:39 < aiju> or does %.10v work?
15:39 < skelterjohn|work> no idea
15:39 < skelterjohn|work> wouldn't be surprised either wya
15:39 < skelterjohn|work> way
15:41 < wjlroe> it's not working for me - fmt.Printf("%v", objs) - where
objs is a slice of structs that have String() methods
15:41 < wjlroe> it just prints a struct as it normally would
15:42 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-169-9.clienti.tiscali.it] has
joined #go-nuts
15:43 < skelterjohn|work> hmm
15:43 < wjlroe> There doesn't appear to be an example of this in the fmt
docs
15:44 < wjlroe> like maybe a formatter for slices
15:44 < skelterjohn|work> http://pastebin.com/eHnZe7tX
15:45 < skelterjohn|work> perhaps the error is elsewhere in your code
15:45 < mkb218> i wonder if objs itself needs to fulfill the Stringer
interface
15:45 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-167-34.clienti.tiscali.it]
has quit [Ping timeout: 240 seconds]
15:45 < skelterjohn|work> maybe you gave *TheType a String() instead of
TheType?
15:46 < skelterjohn|work> if i change the receiver from (x X) to (x *X), it
prints [{} {} {} {}] instead
15:46 < skelterjohn|work> so i bet that's the problem
15:48 -!- bartbes_ [~bartbes@love/developer/bartbes] has joined #go-nuts
15:48 -!- mkb218 [~mkb218@lion-o.dreamhost.com] has quit [Quit: leaving]
15:49 < wjlroe> skelterjohn|work: yep that was it - cheers
15:49 < wjlroe> That stuff makes no sense to me
15:49 < skelterjohn|work> well, you have a slice of TheType, not a slice of
*TheType
15:49 < skelterjohn|work> so it looks for a String() on TheType, which
didn't exist
15:49 < skelterjohn|work> so it used the default
15:50 < skelterjohn|work> now...if you have a var s []TheType, and you say
s[0].String()
15:50 -!- iant [~iant@nat/google/x-juxnmekjxzxlbpkf] has quit [Quit: Leaving.]
15:50 < skelterjohn|work> that will work even if you only have a func (t
*TheType) String() string
15:50 < skelterjohn|work> so this tells me that the language looks up the
String() method differently than fmt does for %v
15:51 < skelterjohn|work> might want to file an issue about it, i don't know
15:51 < skelterjohn|work> i'd have to think about it a little more
15:51 < wjlroe> Oh Go, you so crazy
15:51 < skelterjohn|work> it's not go - it's the fmt package
15:52 < wjlroe> yeah
15:53 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-163-145.clienti.tiscali.it] has
joined #go-nuts
15:56 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-169-9.clienti.tiscali.it] has
quit [Ping timeout: 250 seconds]
15:57 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
15:57 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
15:57 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
15:59 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-175-220.clienti.tiscali.it] has
joined #go-nuts
16:00 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-175-220.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
16:02 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-174-55.clienti.tiscali.it] has
joined #go-nuts
16:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-163-145.clienti.tiscali.it] has
quit [Ping timeout: 260 seconds]
16:08 -!- Project-2501 [~Marvin@82.84.76.170] has joined #go-nuts
16:11 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-174-55.clienti.tiscali.it] has
quit [Ping timeout: 260 seconds]
16:12 -!- Tv_ [~Tv_@ip-66-33-206-8.dreamhost.com] has joined #go-nuts
16:16 -!- PortatoreSanoDiI [~Marvin@82.84.92.109] has joined #go-nuts
16:18 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
16:19 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
16:19 -!- Project-2501 [~Marvin@82.84.76.170] has quit [Ping timeout: 252 seconds]
16:21 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
16:24 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
16:26 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Read error: Connection
reset by peer]
16:37 -!- alehorst [~alehorst@189.58.29.116.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 250 seconds]
16:41 -!- virtualsue [~chatzilla@nat/cisco/x-ciguswvmdiliswqy] has quit [Ping
timeout: 244 seconds]
16:42 -!- alehorst [~alehorst@189.58.28.232.dynamic.adsl.gvt.net.br] has joined
#go-nuts
16:44 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-222.clienti.tiscali.it] has
joined #go-nuts
16:47 -!- PortatoreSanoDiI [~Marvin@82.84.92.109] has quit [Ping timeout: 248
seconds]
16:47 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
joined #go-nuts
16:50 -!- Project-2501 [~Marvin@82.84.67.163] has joined #go-nuts
16:52 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit:
rputikar]
16:53 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-222.clienti.tiscali.it] has
quit [Ping timeout: 250 seconds]
16:56 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-172-177.clienti.tiscali.it] has
joined #go-nuts
16:56 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts
16:57 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has joined #go-nuts
16:59 -!- pjacobs [~pjacobs@66.54.185.130] has joined #go-nuts
16:59 -!- Project-2501 [~Marvin@82.84.67.163] has quit [Ping timeout: 276 seconds]
17:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-171-123.clienti.tiscali.it] has
joined #go-nuts
17:02 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Ping timeout: 250 seconds]
17:05 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-172-177.clienti.tiscali.it] has
quit [Ping timeout: 246 seconds]
17:05 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
quit [Ping timeout: 250 seconds]
17:08 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-179-239.clienti.tiscali.it] has
joined #go-nuts
17:11 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-171-123.clienti.tiscali.it] has
quit [Ping timeout: 240 seconds]
17:11 -!- virtualsue [~chatzilla@nat/cisco/x-ialcguazqhodcpwv] has joined #go-nuts
17:14 -!- Project-2501 [~Marvin@82.84.78.237] has joined #go-nuts
17:18 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-179-239.clienti.tiscali.it] has
quit [Ping timeout: 276 seconds]
17:20 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-178-202.clienti.tiscali.it]
has joined #go-nuts
17:23 -!- Project-2501 [~Marvin@82.84.78.237] has quit [Ping timeout: 240 seconds]
17:26 -!- iant [~iant@nat/google/x-wgzmgkdcebqoksuq] has joined #go-nuts
17:26 -!- mode/#go-nuts [+v iant] by ChanServ
17:26 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-183-36.clienti.tiscali.it] has
joined #go-nuts
17:27 -!- i_see_dead_ppl [~i_see_dea@ip178-242.telenet.dn.ua] has joined #go-nuts
17:28 -!- i_see_dead_ppl [~i_see_dea@ip178-242.telenet.dn.ua] has quit [Client
Quit]
17:29 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-178-202.clienti.tiscali.it]
has quit [Ping timeout: 246 seconds]
17:32 -!- Project-2501 [~Marvin@82.84.95.54] has joined #go-nuts
17:35 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-183-36.clienti.tiscali.it] has
quit [Ping timeout: 252 seconds]
17:39 -!- MattCampbell [~matt@ppp-70-130-43-133.dsl.wchtks.swbell.net] has joined
#go-nuts
17:41 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
17:41 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has quit
[Client Quit]
17:42 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-166-184.clienti.tiscali.it]
has joined #go-nuts
17:43 -!- TheMue [~TheMue@p5DDF592B.dip.t-dialin.net] has joined #go-nuts
17:45 -!- Project-2501 [~Marvin@82.84.95.54] has quit [Ping timeout: 276 seconds]
17:46 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
17:46 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
17:50 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
17:52 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 258 seconds]
17:53 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
17:57 -!- iant1 [~iant@nat/google/x-ueofvcyrdpqxbcuk] has joined #go-nuts
17:58 -!- iant [~iant@nat/google/x-wgzmgkdcebqoksuq] has quit [Ping timeout: 248
seconds]
18:02 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts
18:04 -!- marko_ [~marko@2a00:1620:c0:50:66b9:e8ff:feca:1812] has quit [Ping
timeout: 255 seconds]
18:09 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined
#go-nuts
18:11 -!- [muttox] [~dheppell@93.135.70.115.static.exetel.com.au] has quit [Ping
timeout: 246 seconds]
18:11 -!- [muttox] [~dheppell@93.135.70.115.static.exetel.com.au] has joined
#go-nuts
18:14 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
18:15 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
18:16 -!- Fish- [~Fish@9fans.fr] has quit [Client Quit]
18:22 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
18:26 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-166-184.clienti.tiscali.it]
has quit [Quit: E se abbasso questa leva che succ...]
18:31 -!- iant1 [~iant@nat/google/x-ueofvcyrdpqxbcuk] has quit [Read error:
Operation timed out]
18:33 < ptrb> was there some site with graphs of historical benchmark
results in the go core?
18:43 -!- dfr|mac [~dfr|work@nat/google/x-qkwghbtydftmetgi] has joined #go-nuts
18:44 -!- dfr|mac [~dfr|work@nat/google/x-qkwghbtydftmetgi] has quit [Remote host
closed the connection]
18:44 -!- iant [~iant@nat/google/x-sfzicwnfcmpnwoqv] has joined #go-nuts
18:44 -!- mode/#go-nuts [+v iant] by ChanServ
18:44 -!- dfr|mac [~dfr|work@nat/google/x-kcaikfkzfaszwvnq] has joined #go-nuts
18:46 -!- dfr|mac_ [~dfr|work@nat/google/x-jfxadlmejplgcvsx] has joined #go-nuts
18:47 -!- dfr|mac [~dfr|work@nat/google/x-kcaikfkzfaszwvnq] has quit [Read error:
Connection reset by peer]
18:51 -!- dj2_ [~dj2@216.16.242.254] has joined #go-nuts
18:52 -!- brett [~brett@rdnzl.net] has left #go-nuts []
18:54 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 260 seconds]
19:05 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts
19:07 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit
[Quit: Leaving]
19:07 -!- moraes [~moraes@189.103.188.201] has quit [Remote host closed the
connection]
19:14 -!- KingPhilroy [~kingphilr@68-116-192-86.dhcp.oxfr.ma.charter.com] has quit
[Quit: Sleeping with the fishes...]
19:15 -!- MattCampbell [~matt@ppp-70-130-43-133.dsl.wchtks.swbell.net] has quit
[Ping timeout: 260 seconds]
19:17 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
19:17 -!- dj2_ [~dj2@216.16.242.254] has quit [Read error: Connection reset by
peer]
19:20 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-166-184.clienti.tiscali.it] has
joined #go-nuts
19:20 -!- huin [~huin@91.85.171.238] has joined #go-nuts
19:22 -!- Ekspluati [5b9c4606@gateway/web/freenode/ip.91.156.70.6] has quit [Ping
timeout: 252 seconds]
19:22 -!- jamesr [~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net] has joined
#go-nuts
19:23 -!- jamesr [~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net] has left
#go-nuts []
19:25 -!- dfr|mac_ [~dfr|work@nat/google/x-jfxadlmejplgcvsx] has quit [Read error:
Operation timed out]
19:44 < prudhvi> what are the ideal situations to justify usage of a pointer
to a channel?
19:46 < TheMue> none?
19:46 < fvbommel> A channel value is essentially already a pointer, so very
few.
19:46 < fvbommel> Only if you need to replace it with a new channel
altogether I suppose.
19:47 < prudhvi> looks like there are no real uses for a pointer to a
channel.
19:48 < prudhvi> atleast in 99.9% of the cases.
19:48 < fvbommel> Pretty much, yeah.
19:48 < fvbommel> Why do you ask?
19:49 < prudhvi> i was trying channels out.  So, figured my program works
even with pointers to channels.  But, i wondered why i even used them.
19:52 < skelterjohn|work> the only reason to use a pointer to a channel
would be if you wanted to send it to somewhere that could put a new channel in the
pointer
19:53 < skelterjohn|work> as an "out" parameter sort of thing
19:53 < skelterjohn|work> same thing with pointers to interfaces
19:53 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-166-184.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
19:54 < prudhvi> yes
19:55 < skelterjohn|work> any windows/mingw experts, here?  i'm trying to
get opengl up and running
19:55 < fvbommel> But since you then probably need to synchronize on
something to make sure other goroutines don't try to use it while it's being
written to, it might be easier to just send the new value back over another
channel instead :).
19:55 < skelterjohn|work> for use with banthar's opengl and exch's glfw
ports
19:56 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:58 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
20:03 -!- firwen [~firwen@ANancy-554-1-25-126.w90-40.abo.wanadoo.fr] has joined
#go-nuts
20:07 -!- firwen [~firwen@ANancy-554-1-25-126.w90-40.abo.wanadoo.fr] has quit
[Ping timeout: 260 seconds]
20:08 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
20:18 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts
20:21 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:25 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Quit:
Leaving.]
20:26 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts
20:28 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
20:31 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection]
20:32 -!- virtualsue [~chatzilla@nat/cisco/x-ialcguazqhodcpwv] has quit [Ping
timeout: 244 seconds]
20:34 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Quit:
Leaving.]
20:37 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts
20:43 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
20:51 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit:
rputikar]
20:51 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
20:52 -!- alehorst [~alehorst@189.58.28.232.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
20:52 -!- huin [~huin@91.85.171.238] has quit [Quit: leaving]
20:53 -!- jbooth1 [~jay@209.249.216.2] has left #go-nuts []
20:55 -!- adlan [~adlan@175.138.36.29] has quit [Remote host closed the
connection]
20:57 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 246
seconds]
21:01 -!- bmizerany [~bmizerany@204.14.152.118] has joined #go-nuts
21:07 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
joined #go-nuts
21:10 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
21:12 -!- keithcascio [~keithcasc@nat/google/x-wlwrjbyvnrqsbqvo] has joined
#go-nuts
21:21 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
21:22 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
21:23 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Ping timeout: 240 seconds]
21:26 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 250
seconds]
21:32 -!- cco3 [~conleyo@nat/google/x-wmgbnviifvfzdlby] has quit [Remote host
closed the connection]
21:32 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:34 -!- TheMue [~TheMue@p5DDF592B.dip.t-dialin.net] has quit [Quit: TheMue]
21:36 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
21:36 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Excess Flood]
21:38 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts
21:42 -!- cco3 [~conleyo@nat/google/x-kcxkfuywdbgigths] has joined #go-nuts
21:42 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
joined #go-nuts
21:49 < elimisteve> Anyone checked out Mark Summerfield's "Programming in
Go"?  Is it any good?  Right now it's available as a Rough Cut from Safari Online
(from O'Reilly).
21:51 < elimisteve> I could upgrade my account to get access to it...  or
not
21:51 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Quit: Bye!]
21:53 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
21:54 -!- rcp [~ryan@go.skipfin.com] has joined #go-nuts
21:56 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Ping
timeout: 240 seconds]
21:57 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has quit [Quit: leaving]
22:03 < exch> considering it was written while Go is still rapidely
changing, Parts of it may be outdated and incompatiblewith the current Go state
22:03 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
22:04 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
quit [Ping timeout: 250 seconds]
22:09 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
joined #go-nuts
22:13 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:16 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts
22:24 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
22:27 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has
quit [Ping timeout: 250 seconds]
22:28 -!- keithcascio [~keithcasc@nat/google/x-wlwrjbyvnrqsbqvo] has quit [Quit:
Leaving]
22:29 -!- angasule [~angasule@190.2.33.49] has quit [Read error: Operation timed
out]
22:33 -!- r_linux [~r_linux@189.38.220.35] has quit [Quit: Lost terminal]
22:34 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Ping timeout: 250
seconds]
22:41 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
22:48 -!- meling [~meling@cse-dhcp-10-91.ucsd.edu] has joined #go-nuts
22:57 -!- coderendezvous [~coderende@adsl-98-66-2-41.mem.bellsouth.net] has joined
#go-nuts
22:58 -!- hargettp [~hargettp@pool-71-184-177-169.bstnma.east.verizon.net] has
joined #go-nuts
22:58 -!- rcp [~ryan@go.skipfin.com] has quit [Read error: Connection reset by
peer]
23:00 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
23:01 -!- bartbes [~bartbes@love/developer/bartbes] has quit [Ping timeout: 258
seconds]
23:02 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping
timeout: 250 seconds]
23:07 -!- coderendezvous [~coderende@adsl-98-66-2-41.mem.bellsouth.net] has quit
[Quit: Leaving]
23:15 -!- Tv_ [~Tv_@ip-66-33-206-8.dreamhost.com] has quit [Ping timeout: 250
seconds]
23:16 -!- KingPhilroy [~kingphilr@68-116-192-86.dhcp.oxfr.ma.charter.com] has
joined #go-nuts
23:17 -!- photron [~photron@port-92-201-203-177.dynamic.qsc.de] has quit [Read
error: Operation timed out]
23:22 -!- iant [~iant@nat/google/x-sfzicwnfcmpnwoqv] has quit [Quit: Leaving.]
23:36 -!- Tv_ [~Tv_@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
23:51 < skelterjohn> exch: glfw built fine
23:51 < skelterjohn> it's the linking bit i'm having trouble with
23:51 < skelterjohn> an entirely mingw issue
23:52 < skelterjohn> though i did have to replace the pkg-config stuff
23:52 < skelterjohn> since...i don't have pkg-config
23:52 < skelterjohn> but i'm planning on just putting linux on this computer
23:52 < skelterjohn> so much easier that way
23:52 < exch> heh indeed
23:52 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
--- Log closed Sat Jun 04 00:00:53 2011