--- Log opened Tue Nov 09 00:00:15 2010 00:01 < gzmask> i know this is off topic but... would it be faster if I just use json files to store my game player info instead of mysql? 00:02 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 00:04 < kimelto> gzmask: if it is one player and on the user machine its a good idea imho 00:05 < kimelto> if there are a lot of different players, etc, let this job to the rdbms 00:06 < gzmask> isn't using RDBMS would give up my rights to control when the information is gonna be in memory and when it's gonna on disk? will that slow down the access time? 00:08 < kimelto> it's the job of the rdbms to deal with that :) 00:08 < kimelto> but as long as you commited your transaction the data should be on disk (or it is a b0rken rdbms) 00:10 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 240 seconds] 00:11 -!- awidegreen_ [~quassel@p5DF1EE68.dip.t-dialin.net] has quit [Remote host closed the connection] 00:14 < gzmask> thanks, I guess I'll have to do some tests 00:17 -!- gzmask [~ray@corwin.cat.uregina.ca] has quit [Quit: gzmask] 00:19 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 00:23 -!- Makoryu` [~bloodgog@pool-71-174-191-10.bstnma.fios.verizon.net] has joined #go-nuts 00:24 -!- sk [~simon@cpc2-aztw22-2-0-cust358.aztw.cable.virginmedia.com] has left #go-nuts [] 00:30 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 00:35 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping timeout: 260 seconds] 00:45 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 00:48 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection reset by peer] 00:48 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 250 seconds] 00:53 -!- sl [~stanleyli@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has quit [Quit: leaving] 00:55 -!- sl [~stanleyli@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has joined #go-nuts 00:56 -!- reportingsjr [~Jon@pysoy/developer/JonNeal] has left #go-nuts [] 00:57 -!- Scorchin [~Scorchin@host86-186-244-232.range86-186.btcentralplus.com] has joined #go-nuts 01:00 -!- mikespook [~mikespook@58.62.4.22] has joined #go-nuts 01:14 -!- kanru [~kanru@114-45-231-36.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 01:17 -!- tvw [~tv@e176000183.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 01:18 -!- Scorchin [~Scorchin@host86-186-244-232.range86-186.btcentralplus.com] has quit [Quit: Scorchin] 01:19 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has quit [Quit: derferman] 01:23 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Quit: Leaving.] 01:28 -!- coderweasel [~user@114.247.10.123] has joined #go-nuts 01:31 < Makoryu> A regular here once tried to convince me that built-in types like functions and arrays have no place being generics 01:31 < Makoryu> I don't remember who it was though 01:31 < Makoryu> I am curious if that guy is still around 01:33 < Soultaker> no place in what sense? 01:33 < Soultaker> (it wasn't me btw :P) 01:39 < plexdev> http://is.gd/gQPlb by [Evan Shaw] in go/src/pkg/bytes/ -- bytes: SSE for bytes.IndexByte on amd64 01:39 -!- sg_mmx [~scott@c-24-91-240-117.hsd1.ma.comcast.net] has joined #go-nuts 01:49 < Makoryu> Soultaker: In the sense that generics are only useful for implementing user-defined data structures, which obviously functions and arrays are not 01:49 -!- sg_mmx [~scott@c-24-91-240-117.hsd1.ma.comcast.net] has quit [Quit: Leaving] 01:49 < Makoryu> Soultaker: That was his argument, anyway 01:51 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 01:52 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 01:54 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has joined #go-nuts 01:55 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 02:00 < Soultaker> hmm ok.. don't know what to make of that. 02:08 < Makoryu> Soultaker: It reminded me of the bafflement of career Java programmers at the suggestion that primitive types (int, bool, etc.) belong in the same type hierarchy as objects 02:10 < Soultaker> well Java is weird anyway. (I don't think Java supports primitives as type arguments either) 02:10 < Soultaker> IIRC there were a lot of weird hacks in C++ to properly support primitive types as template arguments (but I don't really know the details) 02:15 < Makoryu> Yeah, adding parametric polymorphism to a type system after the fact is generally a disaster and requires lots of hacks 02:15 < Makoryu> Which is why so many people are angsty about the decision to leave it out of Go for the time being 02:20 < Soultaker> I think somebody had a prototype that added generics to Go 02:20 < Soultaker> not sure how well that integrated though 02:21 < Soultaker> at least Go seems to make less of a distinction between primitive and object types than some other languages 02:21 < Soultaker> e.g. I can add methods to an int or a char* just fine. 02:21 < Makoryu> I've seen at least three prototypes 02:21 < Makoryu> And yeah, that does help a lot 02:22 < Makoryu> Still doesn't make it ML or Haskell, though ;) 02:22 < Soultaker> I always thought Go's type system was a lot like ML's 02:22 < Soultaker> because of the lack of a type hierarchy 02:23 < Soultaker> IIRC ML's functions are really generic functions, different from C++ parameterized functions 02:23 < Makoryu> Well a lot of people have compared the "interfaces instead of inheritance" thing to Haskell's use of typeclasses 02:23 < Makoryu> In some dialects, yes 02:23 < Soultaker> not sure if that matters from a theoretic point of view... 02:24 < Makoryu> I think OCaml is one such dialect 02:24 < Soultaker> yeah, OCaml is probably what I used 02:24 -!- niemeyer [~niemeyer@189.73.144.110] has quit [Ping timeout: 245 seconds] 02:24 < Soultaker> there, min x y = if x < y then x else y (or whatever the syntax was) 02:24 < Soultaker> would execute much slower as a generic function than compared to when you forced it to be of (e.g.) type int -> int -> int 02:25 < Makoryu> Ah, but in OCaml (IIRC) the < operator is not generic 02:25 < Soultaker> from a practical point of view, I disliked that. and I imagine the Go developers would dislike that too. 02:25 < Makoryu> Yeah 02:25 < Soultaker> you mean < operates only on ints anyway? 02:25 < Soultaker> then probably that was a bad example on my part :) 02:25 < Makoryu> I don't remember very well, honestly 02:26 < Makoryu> I wasn't into OCaml for very long 02:26 < Soultaker> yeah, I think you're right. 02:26 < Makoryu> But I think the comparison operators are among those where you add a dot for the float version 02:26 < Soultaker> but I'm pretty sure that you could define functions which could work generically or be instantiated for one particular type, and the generic version had a lot of runtime overhead. 02:27 < Makoryu> Well it depends what you're doing 02:27 < Soultaker> it's probably more of an implementation issue, but still. 02:27 < Soultaker> the alernative (specializing functions as you need them) leads to the problem of the source code (or some preprocessed version) being available at compile time, which is what C++ suffers from. 02:28 < Makoryu> But the reason that was a problem in C++ is that the implementation was massively complicated by preexisting constraints 02:29 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined #go-nuts 02:30 < Soultaker> true I suppose. 02:30 < Soultaker> but I imagine it's hard if you want to design it from scratch too. 02:31 < Makoryu> (That, and short-sighted compiler implementers used inefficient algorithms in the link model early on, and then couldn't change it because it would break binary compatibility) 02:31 < Makoryu> (I'm looking at you, GCC...) 02:31 < Makoryu> The Haskell folks seem to get away with it 02:31 < Makoryu> I don't remember what they do though 02:32 < Soultaker> (I think the GCC limitations are partially influenced by free-software politics) 02:32 < Soultaker> I assumed they incurred the overhead of genericity too, like with Ocaml 02:32 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping timeout: 255 seconds] 02:32 < Soultaker> but maybe not. I know very little about its implementation. 02:33 < Makoryu> Well I know the compiler is able to specialize aggressively across module boundaries, with optional help from user annotations 02:34 < Soultaker> ah ok 02:34 < Makoryu> Actually, some of the more confusing rules in the language (eg. the monomorphism restriction) are for the sake of allowing more aggressive specialization 02:36 < Soultaker> ah, I didn't know that. 02:38 < Soultaker> Oversimplifying the debate somewhat: Those in favour tend to be those who have written Haskell Implementations and those against tend to be those who have written complex combinator libraries (and hence have hit their collective heads against the restriction all too often). It often boils down to the fact that programmers want to avoid legalese, and language implementors want to avoid cruft. 02:39 < Soultaker> (quoting from the haskell wiki btw) :P 02:39 < Soultaker> guess I never ran into that by not writing *that* complex stuff in Haskell, combined with writing type declarations wherever I can. 02:39 < Makoryu> About the MMR? :p 02:39 < Soultaker> yes. 02:42 < Makoryu> Well so long as you write type annotations for most of your declarations, you'll hardly ever encounter it 02:54 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 02:59 -!- devrim [~Adium@160.79.7.234] has quit [Ping timeout: 265 seconds] 03:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 03:04 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 03:08 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 03:13 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 03:30 -!- crazy1be [~justin@S0106001ac401d400.cg.shawcable.net] has joined #go-nuts 03:31 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined #go-nuts 03:34 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 03:35 < crazy2be> hmm so 03:35 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 03:41 -!- Chopinnn [~Chopin@ti0018a380-dhcp2647.bb.online.no] has quit [Ping timeout: 255 seconds] 03:46 < crazy2be> the go http library seems to want to be nice to me 03:47 -!- gzmask [~gzmask@204-83-255-63.regn.hsdb.sasknet.sk.ca] has joined #go-nuts 03:47 < crazy2be> and handle making a Content-length header all by itself 03:47 < crazy2be> trouble is 03:47 < crazy2be> i've had to hack it apart to do what i want it to do in my code 03:47 < crazy2be> that is, copy sections of it into my code and modify them 03:47 < crazy2be> so i'm not really using it how it was intended 03:48 < crazy2be> because it wasn't working with setting the requesy body as a io.Reader 03:48 < crazy2be> so i copy that into the request manually 03:48 < crazy2be> which would mean that the http library either augth to use my set value for the content-length, set it to 0, or not set it at all 03:49 < crazy2be> and, incedentally, it seems to do all 3 03:49 < crazy2be> alternatingly 03:49 < crazy2be> in so set order 03:49 -!- gzmask [~gzmask@204-83-255-63.regn.hsdb.sasknet.sk.ca] has quit [Client Quit] 03:49 < crazy2be> *no 03:49 < crazy2be> it's bizzare 03:49 < crazy2be> i can't figure it out 03:53 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote host closed the connection] 03:54 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 265 seconds] 03:55 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 03:58 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 04:07 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 04:13 -!- coderweasel [~user@114.247.10.123] has left #go-nuts ["ERC Version 5.3 (IRC client for Emacs)"] 04:13 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 04:17 -!- Makoryu [~bloodgog@pool-71-174-191-10.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 04:18 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 04:21 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has joined #go-nuts 04:22 < morrildl_> O HAI 04:28 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 04:33 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 240 seconds] 04:34 < crazy2be> so my solution is to just cut out the http library entirely 04:34 < crazy2be> seems to be working 04:39 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping timeout: 265 seconds] 04:59 -!- emmanueloga [~emmanuelo@190.244.15.163] has quit [Quit: WeeChat 0.3.3] 05:03 < crazy2be> ngith all 05:03 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has quit [Remote host closed the connection] 05:13 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 05:13 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 05:27 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 05:28 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit [Quit: derferman] 05:33 -!- lmoura [~lauromour@186.212.109.42] has quit [Read error: Connection reset by peer] 05:34 -!- lmoura [~lauromour@187.58.103.253] has joined #go-nuts 05:51 -!- ronnyyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 05:54 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 265 seconds] 06:14 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 06:22 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 06:29 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 06:31 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has quit [Quit: liron] 06:34 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has joined #go-nuts 06:57 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined #go-nuts 07:01 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 07:06 -!- niemeyer [~niemeyer@189.73.144.110] has joined #go-nuts 07:09 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 260 seconds] 07:20 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 07:24 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 265 seconds] 07:24 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit [Quit: derferman] 07:28 -!- awidegreen [~quassel@p5DF1EE68.dip.t-dialin.net] has joined #go-nuts 07:40 -!- mpl [~mpl@smgl.fr.eu.org] has quit [Ping timeout: 265 seconds] 07:40 -!- mpl [~mpl@smgl.fr.eu.org] has joined #go-nuts 07:41 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 07:42 -!- wrtp [~rog@92.17.50.1] has joined #go-nuts 07:49 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has quit [Quit: liron] 07:54 -!- zcram [~zcram@77-233-84-254.cdma.dyn.kou.ee] has joined #go-nuts 08:05 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 08:15 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 08:26 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 08:35 -!- photron [~photron@port-92-201-106-43.dynamic.qsc.de] has joined #go-nuts 08:40 -!- zerd [~quassel@rex.zerd.net] has left #go-nuts ["Phing Phong"] 08:42 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 08:43 -!- virtualsue [~chatzilla@nat/cisco/x-rdebbyrtyvmiuheu] has joined #go-nuts 08:50 -!- niemeyer [~niemeyer@189.73.144.110] has quit [Ping timeout: 252 seconds] 09:15 -!- tvw [~tv@e176003125.adsl.alicedsl.de] has joined #go-nuts 09:20 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 09:28 -!- napsy [~luka@88.200.96.18] has quit [Read error: Operation timed out] 09:32 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 09:37 -!- madari [madari@AM.irc.fi] has joined #go-nuts 09:37 -!- fuzzybyt1 [~fuzzybyte@77.79.7.8] has joined #go-nuts 09:38 -!- tsung_ [~jon@112.104.53.151] has joined #go-nuts 09:41 -!- Paradox924X_ [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has joined #go-nuts 09:42 -!- Netsplit *.net <-> *.split quits: ivan`, Paradox924X, danslo, madari_, tsung, fuzzybyte 09:44 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has quit [Changing host] 09:44 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts 09:44 -!- Netsplit over, joins: danslo 09:46 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts 09:51 -!- zcram [~zcram@77-233-84-254.cdma.dyn.kou.ee] has quit [Quit: Leaving] 09:58 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 10:07 < wrtp> anyone managed to get gdb working on go binaries under mac os? 10:12 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Quit: leaving] 10:23 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has joined #go-nuts 10:30 -!- tteras_ [~fabled@mail.fi.jw.org] has joined #go-nuts 10:33 -!- mikespook [~mikespook@58.62.4.22] has quit [Quit: Leaving.] 10:33 -!- fabled [~fabled@83.145.235.194] has quit [Ping timeout: 272 seconds] 10:36 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 10:41 -!- artefon [~thiago@189.59.165.222] has joined #go-nuts 10:59 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 11:08 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 250 seconds] 11:23 -!- artefon [~thiago@189.59.165.222] has quit [Read error: Connection reset by peer] 11:24 -!- zcram [~zcram@77-233-84-254.cdma.dyn.kou.ee] has joined #go-nuts 11:24 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 11:24 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 11:32 -!- tvw [~tv@e176003125.adsl.alicedsl.de] has quit [Remote host closed the connection] 11:33 -!- Fish [~Fish@86.65.182.207] has quit [Ping timeout: 245 seconds] 11:36 -!- artefon [~thiago@189.59.165.222] has joined #go-nuts 11:44 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Quit: leaving] 11:44 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 12:04 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 12:04 -!- zcram [~zcram@77-233-84-254.cdma.dyn.kou.ee] has quit [Quit: Leaving] 12:23 -!- niemeyer [~niemeyer@189.73.144.110] has joined #go-nuts 12:27 -!- smw [~smw@pool-70-104-128-58.nycmny.fios.verizon.net] has quit [Ping timeout: 252 seconds] 12:27 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined #go-nuts 12:28 -!- virtualsue [~chatzilla@nat/cisco/x-rdebbyrtyvmiuheu] has quit [Ping timeout: 264 seconds] 12:29 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote host closed the connection] 12:34 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 12:43 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 12:51 -!- Yuioup [~chatzilla@D57D5132.static.ziggozakelijk.nl] has joined #go-nuts 12:59 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 13:00 -!- creack [~charme_g@163.5.84.215] has quit [Ping timeout: 240 seconds] 13:03 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 13:04 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 13:07 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts 13:14 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined #go-nuts 13:15 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has joined #go-nuts 13:19 -!- fumblebee [~kgay@137.149.218.41] has quit [Quit: Leaving.] 13:19 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 13:21 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts 13:26 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 13:29 -!- g0bl1n_ [~g0blin@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 13:41 -!- niemeyer [~niemeyer@189.73.144.110] has quit [Ping timeout: 252 seconds] 13:50 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 264 seconds] 13:50 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 13:54 -!- fumblebee [~kgay@137.149.218.41] has quit [Read error: Connection reset by peer] 13:55 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 13:56 -!- Yuioup [~chatzilla@D57D5132.static.ziggozakelijk.nl] has left #go-nuts [] 13:56 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 14:05 -!- virtualsue [~chatzilla@nat/cisco/x-qxcdpnxglhibjeds] has joined #go-nuts 14:16 -!- chickamade [~chickamad@116.118.20.224] has joined #go-nuts 14:19 -!- artefon [~thiago@189.59.165.222] has quit [Quit: bye] 14:25 -!- emmanueloga [~emmanuelo@190.244.15.163] has joined #go-nuts 14:27 -!- liron [~liron@c-98-216-107-64.hsd1.ma.comcast.net] has quit [Quit: liron] 14:29 -!- res99 [~anonymous@201.237.130.70] has quit [Remote host closed the connection] 14:30 -!- iant [~iant@nat/google/x-uhcumitegolleapw] has quit [Ping timeout: 240 seconds] 14:32 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 14:35 -!- skelterjohn [~jasmuth@128.6.168.245] has joined #go-nuts 14:35 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 14:37 -!- iant [~iant@67.218.104.238] has joined #go-nuts 14:37 -!- mode/#go-nuts [+v iant] by ChanServ 14:37 -!- nigelkerr [~nigelkerr@jstormichfw.jstor.org] has joined #go-nuts 14:42 -!- Fish [~Fish@86.65.182.207] has quit [Read error: Connection reset by peer] 14:43 -!- chickamade [~chickamad@116.118.20.224] has quit [Quit: Leaving] 14:45 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 276 seconds] 14:53 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 14:56 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 15:05 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 15:05 -!- sauerbraten [~sauerbrat@p508CAF0A.dip.t-dialin.net] has joined #go-nuts 15:06 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 15:07 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 15:07 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has quit [Quit: Leaving.] 15:12 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has joined #go-nuts 15:12 -!- Venom_X [~pjacobs@adsl-99-3-159-249.dsl.hstntx.sbcglobal.net] has joined #go-nuts 15:14 -!- Venom_X [~pjacobs@adsl-99-3-159-249.dsl.hstntx.sbcglobal.net] has quit [Client Quit] 15:15 -!- gzmask [~ray@corwin.cat.uregina.ca] has joined #go-nuts 15:15 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 15:21 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts 15:22 < KBme> aynone know what "127.0.0.0:0" means for an net.Listener? 15:22 < KBme> i don't understand the 0 port there 15:23 -!- Fish [~Fish@86.65.182.207] has quit [Quit: WeeChat 0.3.2] 15:23 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 245 seconds] 15:23 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 15:24 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 15:27 -!- fumblebee [~kgay@137.149.218.41] has quit [Client Quit] 15:27 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 15:29 -!- tteras [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat] 15:30 -!- awidegreen [~quassel@p5DF1EE68.dip.t-dialin.net] has quit [Remote host closed the connection] 15:39 -!- niemeyer [~niemeyer@189.96.252.109] has joined #go-nuts 15:47 < wrtp> KBme: it means listen on some arbitrary port. 15:47 < KBme> ahh thanks 15:48 < KBme> (could be added to the documentation, it can be useful for tests) 15:48 < wrtp> you can find out what port it has chosen by calling Addr() 15:48 < wrtp> yeah, netchan uses it for testing, for example 15:49 < wrtp> it's also good if you already have a connection and want to create a back-channel - you can send the port number to the other end 15:49 < KBme> it's exactly in the netchan tests that i bumped into it 15:49 < KBme> ☺ 15:49 < KBme> thanks wrtp 15:51 < KBme> wrtp: do you by any chance know of an application that uses netchans? i'm having a hard time understanding it 15:53 < wrtp> i don't know of an app that uses it, sorry. 15:53 < wrtp> it's somewhat experimental at this point, i'd say. 15:53 < KBme> oh? 15:53 < KBme> dammit 15:53 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has joined #go-nuts 15:53 < wrtp> what sort of thing do you want to do with it? 15:54 < wrtp> "experimental" doesn't mean it doesn't work... 15:54 < KBme> so there is no way to run an external "plugin" and communicate with it? :-/ 15:54 < wrtp> sure you can do that. 15:54 < KBme> just launch an external program based on configuration and communicate with it 15:54 < wrtp> yeah 15:54 < KBme> stdin-stdout? 15:55 < wrtp> not with netchan currently 15:55 < wrtp> you have to use network addresses 15:55 < wrtp> i think that will change. 15:55 < KBme> well i can parametrise the external program to accept an address, that's no biggie 15:55 < wrtp> yeah, that's the idea 15:56 < wrtp> if you export one channel for each plugin, then you should have no problems 15:56 < KBme> but the netchan doesn't use the same idioms as normal channels 15:56 < wrtp> channels shared between listeners have some problems. 15:56 < wrtp> how do you mean? 15:56 < KBme> then i fail to see it's use 15:56 < KBme> well you can't do netchan <- "mydata" 15:56 < wrtp> sure you can 15:57 < KBme> oih? 15:57 < KBme> oh? 15:57 < KBme> so, i really need an example :D 15:57 * KBme goes back to reading the netchan tests 15:57 < wrtp> that's the idea :-) 15:57 < wrtp> what you can't do (currently) is send a channel as a value. 15:58 < KBme> aha! 15:58 < wrtp> which loses a lot of the power of channels 15:58 < KBme> yep 15:58 < KBme> damn.. 15:58 < wrtp> i believe rob has plans to enable that 15:58 < KBme> what if I use rpc and send channels over rpc? 15:58 < KBme> will that break? 15:58 < wrtp> how would you send a channel over rpc? 15:59 -!- Fish [~Fish@86.65.182.207] has quit [Quit: WeeChat 0.3.2] 15:59 < KBme> as a parameter to a rpc.Call? 15:59 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 15:59 < wrtp> then it would have to be encoded as (e.g.) json. how would you encode a channel as a textual value like that? 16:00 < KBme> right :D 16:00 < wrtp> a channel is just an address in memory. 16:00 -!- Fish [~Fish@86.65.182.207] has quit [Client Quit] 16:00 < KBme> yep 16:00 < wrtp> it has no meaning to any other process. 16:00 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 16:00 < KBme> hmmmm that's no good 16:00 < wrtp> but... you could probably do quite well with two netchan Listeners 16:01 < KBme> so netchan is the only way but it's still limping 16:01 < KBme> ok back to reading the tests source 16:01 < wrtp> then if you want to send a channel, you Export it, and send a reference to the other side, which Imports it. 16:01 -!- Fish [~Fish@86.65.182.207] has quit [Client Quit] 16:01 < wrtp> that might work ok actually. 16:01 < KBme> yeah i guess 16:02 < KBme> ok gotta understand how netchans work. thanks again wrtp 16:02 < wrtp> np 16:04 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 16:05 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 16:10 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 16:10 -!- Fish [~Fish@86.65.182.207] has quit [Client Quit] 16:15 -!- iant [~iant@67.218.104.238] has quit [Quit: Leaving.] 16:17 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 16:18 -!- Zoopee [alsbergt@192.117.108.58] has quit [Quit: Ejected] 16:18 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts 16:26 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 16:26 -!- Fish [~Fish@86.65.182.207] has joined #go-nuts 16:27 -!- iant [~iant@nat/google/x-fdhcbnigcrogghug] has joined #go-nuts 16:27 -!- mode/#go-nuts [+v iant] by ChanServ 16:28 -!- morrildl_ [~morrildl@nat/google/x-vmbdurqvyienvtrd] has joined #go-nuts 16:29 -!- Fish [~Fish@86.65.182.207] has quit [Client Quit] 16:34 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 16:35 < hallas> Does anyone of a mailing list, or irc channel where I can ask a few questions regarding cross compiling a C program for Windows (with win32 api) while under linux (ubuntu) 16:35 < hallas> ? 16:36 < KBme> you're on a very wrong channel for that. this is a channel relating to the go programming language, not C 16:37 -!- niemeyer [~niemeyer@189.96.252.109] has quit [Remote host closed the connection] 16:37 -!- boscop_ [~boscop@f055023049.adsl.alicedsl.de] has joined #go-nuts 16:37 < KBme> ##C can be a good starting point 16:37 < hallas> KBme: I know:) thats why I'm asking 16:37 -!- boscop [~boscop@f055067206.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 16:37 < KBme> or ##windows 16:37 < hallas> i just dont know where to find out elsewhere 16:37 < hallas> but thank you very much 16:37 < hallas> ##c 16:37 < hallas> mt 16:39 < Namegduf> MySQL bindings; they exist, but how reliably utilisable are they? 16:39 * Namegduf has an excuse to use Go somewhere 16:41 < KBme> dunno about mysql, the sqlite bindings seem to work pretty well 16:43 < Namegduf> Okay. 16:43 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 255 seconds] 16:43 < Namegduf> I think I'll just use those. 16:44 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts 16:45 < KBme> i did a small program that did <30k inserts and then reads from that (that many inserts with commits every 500 insert worked in like 3 seconds), the structure was pretty simple, though, just 11 columnds, all strings 16:45 < KBme> s,ds,s, 16:47 < plexdev> http://is.gd/gS8eP by [Peter Mundy] in go/doc/ -- doc: fix go_spec spelling error 16:52 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 16:53 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 276 seconds] 16:54 < KBme> so, in netchan dir is a type of netchan.Dir, which can be Recv and Send, what is bi-directional? 16:56 -!- virtualsue [~chatzilla@nat/cisco/x-qxcdpnxglhibjeds] has quit [Ping timeout: 252 seconds] 16:57 -!- morrildl_ [~morrildl@nat/google/x-vmbdurqvyienvtrd] has quit [Ping timeout: 250 seconds] 16:57 < hallas> Having both recv and send makes its bi-directional 16:58 < KBme> i'm not sure you know what you're talking about. 17:01 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 17:03 < hallas> it's an rather odd questions, perhaps you could elaborate? Anyway, thank you for judging. 17:04 < KBme> Importer.Import takes a direction as argument, i was wondering if there was a way to import a bidirectional channel directly, or i have to create two channels: one for receiving and one for sending 17:05 -!- saschpe [~quassel@77-23-177-40-dynip.superkabel.de] has joined #go-nuts 17:05 < KBme> hallas: judging involves...well..judging. i said I wasn't sure, which is exactly the opposite. thanks for playing 17:05 < hallas> KBme: ;) fair enough 17:05 -!- nigelkerr [~nigelkerr@jstormichfw.jstor.org] has quit [Quit: nigelkerr] 17:06 < plexdev> http://is.gd/gSa9j by [Roger Peppe] in go/src/pkg/container/list/ -- container/list: make Remove return Value of removed element. 17:10 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 17:23 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left #go-nuts [] 17:27 -!- tvw [~tv@212.79.9.150] has quit [Read error: Connection reset by peer] 17:29 -!- g0bl1n [~g0blin@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n] 17:33 -!- kanru [~kanru@114-45-225-251.dynamic.hinet.net] has joined #go-nuts 17:33 -!- Surma [~surma@wlan-020-087.zib.de] has joined #go-nuts 17:37 < Surma> Hey guys. Got a question: if do something like this: ``s, ok := somemap["a_key"].(string)'' which value will ok hold? the one from the map, the one from the type assertion? both (AND'd)? 17:38 < Namegduf> I think the type assertino. 17:38 < Namegduf> *assertion 17:38 < Namegduf> The map lookup is being done in a single-value context, to do a type assertion on it. 17:39 < Surma> makes sense, thanks :) 17:39 < Surma> so, this will panic, if the key doesn't exist, right? 17:39 < Namegduf> No; if a key doesn't exist it returns a zero value. 17:39 < Surma> oh, I guess I fell behind 17:39 < Surma> thanks :) 17:40 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 17:56 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has quit [Quit: Leaving.] 17:57 -!- nigelkerr [~nigelkerr@jstormichfw.jstor.org] has joined #go-nuts 17:58 < KBme> so, anyone who used netchans: i'm trying to import a channel exported from a different process, i have to use the same name, right? so if i export a channel with name "foochannel" i should be able to import that.. 17:58 < cbeck> Yes 17:58 < KBme> thing is this is the reply i get from netchan: netchan export: sending error to client:no such channel: foochannel 17:59 < cbeck> Hmm 17:59 < KBme> and on the client side netchan import: response error:no such channel: foochannel 17:59 < cbeck> It's been a while since I used it 17:59 < cbeck> Let me see.. 17:59 < KBme> gimme a sec i'll paste the code 18:00 < KBme> client: http://pastie.org/1284901 18:00 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 18:00 < KBme> server: http://pastie.org/1284900 18:02 < KBme> thing is that Import doesn't return an error 18:02 < cbeck> Are you sure using localhost:0 will work? 18:03 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 18:03 < KBme> that's what netchan_test uses 18:03 -!- niemeyer [~niemeyer@187.116.2.182] has joined #go-nuts 18:03 < KBme> and the client is definitely connected to the server 18:03 < cbeck> Ok 18:03 < KBme> because both the client and the server are outputting stuff when the client tries to import a channel 18:04 < KBme> (apparently netchan does some logging itself) 18:04 < KBme> because although err is nil, i get a logged error from netchan 18:04 < cbeck> Yeah, I remember having issues with that 18:06 < cbeck> I think I see it, one sec 18:07 < KBme> ohh 18:07 < cbeck> ReadString returns the delimiting '\n' as well 18:07 * KBme waits goggly-eyed 18:07 < KBme> ahh 18:07 < KBme> ok i'll try without that 18:07 < KBme> damn 18:07 < KBme> cbeck: what would be the easiest way to remove that pesky \n? 18:08 < cbeck> Slice it 18:08 < cbeck> str = str[:len(str) - 1] 18:08 -!- Surma [~surma@wlan-020-087.zib.de] has quit [Quit: Leaving.] 18:08 < KBme> yep 18:08 < cbeck> or use strings.TrimWhitespace 18:08 < KBme> thanks lemme see 18:08 < KBme> even better 18:08 < KBme> ok 18:09 < cbeck> Sorry, it's TrimSpace 18:09 < KBme> yes, that was it 18:09 < KBme> lemme see sending on that channel now 18:11 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265 seconds] 18:12 < KBme> hmmm netchan doesn't check the channel types 18:12 < KBme> that's a bummer 18:13 -!- morrildl_ [~morrildl@nat/google/x-ukmdfabfgbfobgrm] has joined #go-nuts 18:14 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-180.clienti.tiscali.it] has joined #go-nuts 18:17 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 245 seconds] 18:19 < cbeck> Yeah =/ 18:22 -!- tvw [~tv@e176003125.adsl.alicedsl.de] has joined #go-nuts 18:23 < plexdev> http://is.gd/gSi6s by [Peter Mundy] in go/doc/ -- doc: fix go_spec spelling errors 18:27 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 18:29 -!- fumblebee1 [~kgay@137.149.218.41] has joined #go-nuts 18:29 -!- fumblebee [~kgay@137.149.218.41] has quit [Read error: Connection reset by peer] 18:41 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has quit [Quit: leaving] 18:49 < KBme> cbeck: so do you know why when I do val, ok := <- chan //the channel doesn't seem to block, it just returns ok = false 18:50 < cbeck> Because the two value version of a channel read is non-blocking 18:50 < KBme> aww ok, i see 18:50 < KBme> dammit that took forever to debug 18:50 < KBme> lol 18:54 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 18:55 -!- kanru [~kanru@114-45-225-251.dynamic.hinet.net] has quit [Ping timeout: 255 seconds] 18:56 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving] 18:58 -!- niemeyer [~niemeyer@187.116.2.182] has quit [Quit: Leaving] 18:58 -!- niemeyer_ [~niemeyer@187.116.2.182] has joined #go-nuts 19:01 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 19:04 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping timeout: 265 seconds] 19:09 < anticw> KBme: http://golang.org/doc/go_spec.html#Communication_operators 19:10 < KBme> yep 19:10 < KBme> thanks 19:12 < KBme> is there a way to wait for all goroutines to finish before exiting? 19:16 < KBme> nvm found the go-nuts thread 19:25 < KBme> well today was nice: learnt how to use netchan and jsonrpc 19:27 < plexdev> http://is.gd/gSoiV by [Robert Griesemer] in 4 subdirs of go/src/ -- go/ast: change embedded token.Position fields to named fields 19:28 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 19:32 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 19:33 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 240 seconds] 19:35 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping timeout: 245 seconds] 19:38 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 19:41 -!- fumblebee1 [~kgay@137.149.218.41] has quit [Ping timeout: 240 seconds] 19:44 -!- niemeyer_ [~niemeyer@187.116.2.182] has quit [Ping timeout: 245 seconds] 19:48 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 20:00 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 20:01 -!- fumblebee [~kgay@137.149.218.41] has quit [Quit: Leaving.] 20:01 -!- fumblebee [~kgay@137.149.218.41] has joined #go-nuts 20:03 -!- sjohnson [~sjohnson@ptr-208-68-18-67.rdns.thinktel.ca] has joined #go-nuts 20:05 -!- smw [~smw@pool-70-104-128-58.nycmny.fios.verizon.net] has joined #go-nuts 20:08 -!- bmizerany [~bmizerany@c-67-169-92-115.hsd1.ca.comcast.net] has joined #go-nuts 20:21 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao] 20:22 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 20:25 -!- Makoryu [~bloodgog@pool-71-174-191-10.bstnma.fios.verizon.net] has joined #go-nuts 20:27 -!- smw [~smw@pool-70-104-128-58.nycmny.fios.verizon.net] has quit [Remote host closed the connection] 20:28 -!- skelterjohn [~jasmuth@128.6.168.245] has quit [Quit: skelterjohn] 20:28 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 20:30 -!- Yuioup [~Yuioup@5351C4D4.cm-6-2d.dynamic.ziggo.nl] has joined #go-nuts 20:38 -!- pothos_ [~pothos@111-240-205-159.dynamic.hinet.net] has joined #go-nuts 20:39 -!- fumblebee [~kgay@137.149.218.41] has quit [Ping timeout: 255 seconds] 20:40 -!- pothos [~pothos@111-240-218-39.dynamic.hinet.net] has quit [Ping timeout: 255 seconds] 20:40 -!- pothos_ [~pothos@111-240-205-159.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 20:41 -!- pothos [~pothos@111-240-205-159.dynamic.hinet.net] has joined #go-nuts 20:42 -!- Makoryu [~bloodgog@pool-71-174-191-10.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 20:45 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 255 seconds] 20:47 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts 20:48 -!- qutron_xyxy [~xxx@mm-99-211-84-93.dynamic.pppoe.mgts.by] has joined #go-nuts 20:49 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 20:50 -!- qutron_xyxy [~xxx@mm-99-211-84-93.dynamic.pppoe.mgts.by] has quit [Client Quit] 20:51 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts 20:52 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection] 20:53 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 21:02 < Yuioup> very quiet channel isn't it? 21:05 -!- Yuioup [~Yuioup@5351C4D4.cm-6-2d.dynamic.ziggo.nl] has left #go-nuts ["Leaving"] 21:08 -!- morrildl_ [~morrildl@nat/google/x-ukmdfabfgbfobgrm] has quit [Ping timeout: 265 seconds] 21:10 -!- virtualsue [~chatzilla@nat/cisco/x-cpukqtodomxucabp] has joined #go-nuts 21:11 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined #go-nuts 21:17 -!- dju [~dju@fsf/member/dju] has joined #go-nuts 21:19 < cbeck> At the moment 21:20 < gzmask> Too many bull won't get things done. especially for coders 21:22 -!- dju [~dju@fsf/member/dju] has quit [Max SendQ exceeded] 21:23 -!- dju [~dju@fsf/member/dju] has joined #go-nuts 21:23 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 21:28 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 21:29 < saschpe> hi, anyone here that is interested in Go packages for openSUSE? 21:31 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 21:38 -!- sauerbraten [~sauerbrat@p508CAF0A.dip.t-dialin.net] has quit [Remote host closed the connection] 21:43 -!- gr0gmint [~quassel@87.60.23.38] has quit [Remote host closed the connection] 21:46 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 21:46 -!- saschpe [~quassel@77-23-177-40-dynip.superkabel.de] has quit [Remote host closed the connection] 21:53 -!- smw [~quassel@pool-70-104-128-58.nycmny.fios.verizon.net] has joined #go-nuts 21:54 -!- niemeyer_ [~niemeyer@189.97.2.129] has joined #go-nuts 21:55 -!- virtualsue [~chatzilla@nat/cisco/x-cpukqtodomxucabp] has quit [Ping timeout: 260 seconds] 21:57 -!- dacc [~Adium@D-69-91-167-206.dhcp4.washington.edu] has joined #go-nuts 21:57 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 255 seconds] 21:58 -!- niemeyer_ [~niemeyer@189.97.2.129] has quit [Client Quit] 21:58 -!- niemeyer_ [~niemeyer@189.97.2.129] has joined #go-nuts 22:09 < SirPsychoS> anyone know why cgo would emit the error "unrecognized go type -" ? 22:09 < SirPsychoS> looking at the cgo source, it seems to be implying that there is a Go type called "-" being parsed somewhere... 22:09 < SirPsychoS> s/error/warning/ 22:10 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 22:10 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 22:16 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 22:16 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: peace in teh middle east] 22:17 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Read error: Operation timed out] 22:21 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined #go-nuts 22:25 -!- aho [~nya@fuld-4d00d4d6.pool.mediaWays.net] has joined #go-nuts 22:28 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection] 22:29 -!- smw [~quassel@pool-70-104-128-58.nycmny.fios.verizon.net] has quit [Ping timeout: 245 seconds] 22:34 -!- Tv [~tv@71-95-209-107.static.mtpk.ca.charter.com] has joined #go-nuts 22:35 -!- thebarberian [~Master_Co@65.94.57.11] has joined #go-nuts 22:35 < thebarberian> does anyone work with the template package? 22:36 < thebarberian> any idea how to escape {}? 22:37 < thebarberian> I mean if I include JS code function a(){ DO SOMETHING} I would get an error when I try to parse this as a template... :( 22:37 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 22:38 < KBme> Quote? 22:38 -!- nigelkerr [~nigelkerr@jstormichfw.jstor.org] has quit [Quit: nigelkerr] 22:38 < thebarberian> single? double? I will try one sec... 22:39 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 252 seconds] 22:39 < KBme> o 22:39 < KBme> no 22:39 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 22:39 < KBme> strings.Quote iirc 22:39 * KBme just closed godoc.. 22:40 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-180.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:40 < Tonnerre> mmm godot 22:40 < KBme> strconv.Quote 22:41 < thebarberian> KBme: how would that work from within the template? 22:42 < KBme> i dunno in the language itself this is how you do it..i didn't understand the question then 22:42 < thebarberian> KBme: have you used "template" package? 22:42 < KBme> nope 22:43 < KBme> ah i see 22:44 < thebarberian> well they give you this format to inject data into a template {var} (well var is contained inside the data structure you pass to the demplate) 22:44 < KBme> ok 22:44 < KBme> and you want to display a simple {, i see 22:44 < thebarberian> yes 22:44 < KBme> godoc uses template 22:44 * KBme checks godoc code 22:45 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has joined #go-nuts 22:46 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined #go-nuts 22:47 < SirPsychoS> heh, I just wrote a vim macro that basically processes C function prototypes into cgo wrappers for them 22:48 < SirPsychoS> obviously they still need individual attention afterwards, for stuff like replacing pointer-returned stuff with multiple returns, but it's a start 22:48 -!- niemeyer_ [~niemeyer@189.97.2.129] has quit [Remote host closed the connection] 22:50 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection] 22:53 < KBme> thebarberian: http://groups.google.com/group/golang-nuts/browse_thread/thread/7121e4d6991b6acc/e00819cdf30c1d12?#e00819cdf30c1d12 22:54 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 22:54 < thebarberian> KBme: very nice thank you 22:58 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the connection] 23:13 -!- Tv [~tv@71-95-209-107.static.mtpk.ca.charter.com] has quit [Ping timeout: 265 seconds] 23:13 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 23:14 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts 23:18 -!- madari [madari@AM.irc.fi] has quit [Ping timeout: 252 seconds] 23:18 -!- wrtp [~rog@92.17.50.1] has quit [Quit: wrtp] 23:19 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined #go-nuts 23:20 -!- madari [madari@AM.irc.fi] has joined #go-nuts 23:23 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping timeout: 264 seconds] 23:26 -!- gzmask [~ray@corwin.cat.uregina.ca] has quit [Remote host closed the connection] 23:30 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 272 seconds] 23:35 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote host closed the connection] 23:36 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 23:43 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has quit [Read error: No route to host] 23:43 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 23:46 -!- artefon [~thiago@189.59.165.222] has joined #go-nuts 23:49 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Remote host closed the connection] --- Log closed Wed Nov 10 00:00:15 2010