--- Log opened Sat Oct 16 00:00:05 2010 --- Day changed Sat Oct 16 2010 00:00 -!- zerd [~quassel@tor.zerd.net] has quit [Remote host closed the connection] 00:00 -!- zerd [~quassel@tor.zerd.net] has joined #go-nuts 00:00 -!- pvarga [~pvarga@pool-72-88-229-188.nwrknj.east.verizon.net] has joined #go-nuts 00:03 -!- niemeyer [~niemeyer@187.53.254.112] has quit [Ping timeout: 245 seconds] 00:09 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 245 seconds] 00:17 -!- niemeyer [~niemeyer@187.53.254.112] has joined #go-nuts 00:20 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has joined #go-nuts 00:23 < skelterjohn> KirkMcDonald: you there? 00:24 < KirkMcDonald> Possibly. 00:24 < KirkMcDonald> I saw your issue. 00:24 < skelterjohn> i'm too lazy to check your package out with hg and do the make install dance 00:24 < KirkMcDonald> heh 00:24 < skelterjohn> i'd rather file an issue and wait a few hours till you notice 00:25 < KirkMcDonald> I am at work, and will have to look at it after I get home. 00:25 < skelterjohn> no worries 00:25 < skelterjohn> what part of the world are you in? 00:25 < KirkMcDonald> California 00:26 < skelterjohn> another plus: if you can goinstall it, then godoc will pick it up 00:27 < skelterjohn> oh, and now that i hg clone it, it seems new go releases have passed some syntax by - it doesn't compile 00:28 < KirkMcDonald> Bah 00:28 < skelterjohn> yeah 00:28 < KirkMcDonald> That's always happening... 00:28 < KirkMcDonald> To my knowledge, optparse-go was the very first third-party Go library. 00:29 < KirkMcDonald> It still uses semicolons, even. 00:29 < Namegduf> I wish more of the Go bindings had more than one maintainer. 00:29 < KirkMcDonald> It also has a fairly wonky API which I want to rethink at some point. 00:29 < exch> I try to keep my public go stuff up to date as soon as a release is out 00:30 < exch> including the stuff I don't really work on anymore 00:30 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X] 00:30 < skelterjohn> lot of busy-work 00:30 < nsf> Namegduf: current situation is that one maintainer has more than one bindings :) 00:30 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has quit [Ping timeout: 240 seconds] 00:30 < Namegduf> nsf: Yeah. 00:30 < skelterjohn> you ask for many-to-one, you get many-to-one! 00:31 < Namegduf> Nah, I get one to many. 00:31 < Namegduf> :P 00:32 < enferex> root 00:32 < enferex> wow... wrong term. 00:32 -!- niemeyer [~niemeyer@187.53.254.112] has quit [Ping timeout: 245 seconds] 00:33 < plexdev> http://is.gd/g3TjN by [Russ Cox] in 2 subdirs of go/src/cmd/ -- 8l: function at a time code layout 00:44 < Vovchik> Go windows IDE 00:44 < Vovchik> http://dl.dropbox.com/u/12236219/GOIDE/GoIDE.html 00:45 < skelterjohn> if you want to advertise, you should just post to the ML =p 00:45 < Vovchik> ML? 00:46 < skelterjohn> mailing list 00:46 < Vovchik> :O 00:46 < skelterjohn> O: 00:53 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 00:56 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 01:00 -!- lmoura__ [~lauromour@186.212.96.186] has quit [Quit: Leaving] 01:08 -!- iant [~iant@67.218.105.113] has quit [Quit: Leaving.] 01:29 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts 01:30 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 01:38 -!- hoisie [~hoisie@70-36-139-126.dsl.dynamic.sonic.net] has quit [Quit: leaving] 01:49 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 01:56 -!- LentilDave [4ace269a@gateway/web/freenode/ip.74.206.38.154] has quit [Quit: Page closed] 01:57 -!- LentilDave [4ace269a@gateway/web/freenode/ip.74.206.38.154] has joined #go-nuts 02:09 -!- dacc [~Adium@D-128-95-10-122.dhcp4.washington.edu] has quit [Quit: Leaving.] 02:13 -!- l00t [~i-i3id3r_@189.105.35.93] has joined #go-nuts 02:13 -!- yebyen [~yebyen@irie-arch.rit.edu] has joined #go-nuts 02:16 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245 seconds] 02:20 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has quit [Remote host closed the connection] 02:21 -!- iTonnerre [tonnerre@netbsd/developer/tonnerre] has joined #go-nuts 02:21 -!- mpl_ [~mpl@smgl.fr.eu.org] has joined #go-nuts 02:21 -!- synth [~cb@obfuscated.us] has quit [Ping timeout: 240 seconds] 02:21 -!- mpl [~mpl@smgl.fr.eu.org] has quit [Ping timeout: 240 seconds] 02:21 -!- tav [~tav@92.7.91.92] has quit [Ping timeout: 240 seconds] 02:21 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has quit [Ping timeout: 240 seconds] 02:21 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Ping timeout: 240 seconds] 02:21 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Ping timeout: 240 seconds] 02:21 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts 02:22 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts 02:22 -!- synth [~cb@obfuscated.us] has joined #go-nuts 02:22 -!- tav [~tav@92.7.91.92] has joined #go-nuts 02:25 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 612 seconds] 02:27 -!- pvarga [~pvarga@pool-72-88-229-188.nwrknj.east.verizon.net] has quit [Quit: pvarga] 02:27 < devrim> hey guys goinstall never works for me for some reason 02:27 < devrim> is it usually good otherwise ? 02:28 < devrim> always ends up with some exception and i gotta install it myself 02:32 < thebarberian> welcome to the club (doesn't work for me either) 02:34 < thebarberian> devrim: what kind of errors are you getting anyways? 02:36 < devrim> mostly exceptions from the programs 02:36 < devrim> but when i git clone myself 02:37 < devrim> they are not there 02:37 < devrim> just wondering 02:37 < devrim> kind of curious 02:40 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 02:42 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 02:48 -!- pvarga [~pvarga@pool-72-88-229-188.nwrknj.east.verizon.net] has joined #go-nuts 02:52 -!- LentilDave [4ace269a@gateway/web/freenode/ip.74.206.38.154] has quit [Ping timeout: 265 seconds] 02:56 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 272 seconds] 03:04 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 03:08 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 03:09 -!- emmanueloga [~emmanuelo@190.244.15.163] has quit [Remote host closed the connection] 03:09 -!- emmanueloga [~emmanuelo@190.244.15.163] has joined #go-nuts 03:10 -!- pvarga [~pvarga@pool-72-88-229-188.nwrknj.east.verizon.net] has quit [Quit: pvarga] 03:13 -!- jwillia3 [jlwjr@c-76-16-159-139.hsd1.il.comcast.net] has quit [Quit: Leaving] 03:14 -!- zerd [~quassel@tor.zerd.net] has quit [Read error: Connection reset by peer] 03:15 -!- zerd [~quassel@tor.zerd.net] has joined #go-nuts 03:28 -!- kanru [~kanru@61-228-160-76.dynamic.hinet.net] has joined #go-nuts 03:33 -!- yihuang [~yihuang@183.17.174.84] has joined #go-nuts 03:33 -!- yihuang [~yihuang@183.17.174.84] has left #go-nuts [] 03:34 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:38 < plexdev> http://is.gd/g42c9 by [Wei Guangjing] in go/src/cmd/ld/ -- 8l: fix windows build. 03:39 < thebarberian> how would I go about having a global const array of strings? 03:51 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 03:51 -!- mode/#go-nuts [+v iant] by ChanServ 03:57 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 03:59 < uriel> thebarberian: the same way you would have a const of anything else 03:59 < uriel> (i'd think) 03:59 < thebarberian> well apparently not 03:59 < thebarberian> let me paste you something 04:00 < thebarberian> "and can only be numbers, strings or booleans" 04:01 < thebarberian> uriel: let me rephrase my question, could you show an example? 04:05 < uriel> oh, dugh, sorry, I'm barely awake 04:05 < uriel> obviously arrays are *mutable* so they can't be consts 04:07 < thebarberian> so how would I go about having the second best thing? 04:07 < thebarberian> the idea is that I will have some array of strings that is known at compile time and would like to have it as a global 04:15 -!- gnuvince_ [~vince@64.235.207.86] has quit [Ping timeout: 265 seconds] 04:20 < raylu> thebarberian: do you want the array to be const or the strings themselves to be const? 04:20 < raylu> it sounds like the "next best thing" would be the latter 04:20 < raylu> (assuming it's possible in go) 04:22 < thebarberian> they can both be constants 04:22 < raylu> apparently, not in go, if what uriel says is true 04:22 < yebyen> can't you somehow encapsulate it in an object and make it read only that way? 04:23 < yebyen> by making the setters private 04:23 < yebyen> (not the go way at all, lol) 04:23 < thebarberian> about about the array? 04:23 < thebarberian> the way I was thinking of approaching it was by setting the values I wanted inside init() 04:24 < thebarberian> but again I am a beginner... 04:27 < skelterjohn> in the global namespace 04:27 < skelterjohn> var myStringArray = []string{"hi", "there"} 04:27 < thebarberian> let me try that (wasn't too sure about the syntax) 04:29 < thebarberian> thanks that's exactly what I needed 04:29 < skelterjohn> welcome 04:29 -!- ako [~nya@fuld-4d00d062.pool.mediaWays.net] has joined #go-nuts 04:29 < skelterjohn> it's not a const though 04:29 < skelterjohn> when you do myStringArray[1] later in the program, that is evaluated at runtime 04:30 < skelterjohn> and you can change the contents of the array later 04:31 -!- aho [~nya@fuld-4d00d3f4.pool.mediaWays.net] has quit [Ping timeout: 252 seconds] 04:31 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit [Ping timeout: 245 seconds] 04:35 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 04:36 < thebarberian> yeah I understand that 04:36 < thebarberian> ideally I would have had a const 04:36 < thebarberian> but I would take the second best thing 04:37 < thebarberian> there is a lookup table that I can embed in the code... that's the main idea 04:55 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 04:58 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping timeout: 260 seconds] 05:00 -!- scm [scm@d070154.adsl.hansenet.de] has quit [Ping timeout: 264 seconds] 05:01 -!- scm [scm@d019156.adsl.hansenet.de] has joined #go-nuts 05:13 -!- gnuvince [~vince@64.235.212.104] has joined #go-nuts 05:47 -!- gundam [~Android@adsl-99-52-153-108.dsl.klmzmi.sbcglobal.net] has joined #go-nuts 05:58 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 06:00 -!- pgas [~user@pdpc/supporter/active/pgas] has joined #go-nuts 06:01 < pingveno> Is there a preferred build system for Go? 06:02 < cbeck> there are several, none official 06:02 < cbeck> I tend to just use make 06:04 < pingveno> Okay, looks like we'll be using make then, unless there's something you'd like to try out. 06:05 < pingveno> I took a look at cmake, but the documentation doesn't give any indication either way. 06:07 -!- gundam [~Android@adsl-99-52-153-108.dsl.klmzmi.sbcglobal.net] has quit [Remote host closed the connection] 06:09 -!- idr0 [~idr@g225064168.adsl.alicedsl.de] has joined #go-nuts 06:13 < thebarberian> undefined (cannot refer to unexported field or method blah) 06:14 < thebarberian> I have a type Something struct { blah string } 06:15 < thebarberian> one of my funcs in the package returns *Something 06:15 < thebarberian> but when I try to access the returned value ret.blah I get the above error 06:16 < thebarberian> how should I export it? it's already capitalized... 06:17 < thebarberian> wow 06:17 < thebarberian> that's crazy 06:17 < thebarberian> Blah! 06:17 < thebarberian> makes sense though :) 06:22 -!- Project_2501 [~Marvin@82.84.94.184] has joined #go-nuts 06:35 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 06:41 -!- scm [scm@d019156.adsl.hansenet.de] has quit [Ping timeout: 255 seconds] 06:41 -!- scm [scm@d019156.adsl.hansenet.de] has joined #go-nuts 06:42 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 06:43 -!- raylu [raylu@c-24-131-193-106.hsd1.pa.comcast.net] has quit [Read error: Connection reset by peer] 06:44 -!- raylu [raylu@c-24-131-193-106.hsd1.pa.comcast.net] has joined #go-nuts 06:51 -!- ako [~nya@fuld-4d00d062.pool.mediaWays.net] has quit [Read error: Connection reset by peer] 06:57 -!- Project_2501 [~Marvin@82.84.94.184] has quit [Quit: E se abbasso questa leva che succ...] 06:59 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 265 seconds] 07:06 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 07:09 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the connection] 07:10 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping timeout: 245 seconds] 07:15 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 07:17 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts 07:19 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 07:23 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 07:29 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 07:32 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has joined #go-nuts 07:34 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-ifyhcqmrqhbpbthh] has quit [Ping timeout: 264 seconds] 07:34 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 07:39 -!- Ina [~Ina@524AFE97.cm-4-3d.dynamic.ziggo.nl] has joined #go-nuts 07:45 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 08:02 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit: Leaving.] 08:04 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 08:15 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 08:17 -!- pigoz [~pigoz@pigoz.fastsh.it] has joined #go-nuts 08:19 -!- photron [~photron@port-92-201-87-202.dynamic.qsc.de] has joined #go-nuts 08:23 -!- dju [dju@fsf/member/dju] has joined #go-nuts 08:28 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded] 08:29 -!- dju [dju@fsf/member/dju] has joined #go-nuts 08:50 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 09:08 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 265 seconds] 09:11 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 09:14 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has joined #go-nuts 09:34 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 09:37 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has joined #go-nuts 09:41 -!- TheMue [~TheMue@p5DDF52B6.dip.t-dialin.net] has joined #go-nuts 10:00 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has joined #go-nuts 10:06 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 240 seconds] 10:07 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 10:11 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 10:14 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 10:32 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab] 10:39 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 10:51 < soul9> anyone know how to get around the problem where a function takes an []interface{} type and i have an []string ? 10:53 < exch> Those are incompatible types. You'll either have to manually copy the string elements to a []interface{} slice, or use some convoluted reflect or unsafe magic. I do not recommend the latter 2 though 10:54 < exch> Or change the function signature to accept []string 10:55 < soul9> that's not an option since it is not my package (sqlite) 10:56 < exch> right.. manualy copying it is then 10:56 < soul9> ok, so to copy it to an []interface{] i need to transform it into byte arrays right? 10:58 < TheMue> could you provide the function signature here to get a better idea of the semantics 10:58 < TheMue> and what is stored in the string slice? 10:59 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts 11:00 < soul9> sure 1s 11:01 < soul9> the function is http://code.google.com/p/gosqlite/source/browse/sqlite/sqlite.go#130 11:01 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 11:02 < soul9> the string slice is a sclice I prepared for the query (for where there arre ?'s in the query) 11:02 < soul9> so it's just single words 11:03 < exch> Does the sql query itself change at runtime, that you need to pass a runtime-built slice of parameters to it? 11:03 < TheMue> you could declare the slice as []interface{} too 11:03 < TheMue> and then just put the strings in it 11:03 < exch> that would work :p 11:04 < soul9> eh eh fine i'll try that 11:05 < soul9> ok, that works better 11:05 < soul9> thanks 11:07 < TheMue> pls 11:17 -!- DerHorst [~Horst@e176105071.adsl.alicedsl.de] has joined #go-nuts 11:18 -!- TheMue [~TheMue@p5DDF52B6.dip.t-dialin.net] has quit [Quit: TheMue] 11:24 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 11:34 -!- pjm0616 [~user@110.9.28.120] has quit [Ping timeout: 276 seconds] 11:35 -!- pjm0616 [~user@110.9.28.120] has joined #go-nuts 11:41 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 272 seconds] 11:44 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has joined #go-nuts 11:48 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 11:56 -!- yihuang [~yihuang@183.17.174.84] has joined #go-nuts 11:56 -!- yihuang [~yihuang@183.17.174.84] has left #go-nuts [] 12:01 -!- TheMue [~TheMue@p5DDF52B6.dip.t-dialin.net] has joined #go-nuts 12:03 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 12:04 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has quit [Quit: Leave the magic to Houdini] 12:17 -!- nabeyang_ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has joined #go-nuts 12:18 -!- nabeyang__ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has joined #go-nuts 12:18 -!- nabeyang__ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has quit [Client Quit] 12:21 -!- nabeyang_ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has quit [Read error: Connection reset by peer] 12:23 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 12:27 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 12:31 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 12:31 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 12:33 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 12:34 -!- nabeyang_ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has joined #go-nuts 12:35 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 12:36 -!- pr [phil@unaffiliated/pr] has left #go-nuts [] 12:37 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has quit [Quit: Morten. Desu~] 12:38 -!- nabeyang_ [~noriaki@p8234-ipbfp1902kobeminato.hyogo.ocn.ne.jp] has quit [Client Quit] 12:39 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 12:40 -!- idr1 [~idr@g229048198.adsl.alicedsl.de] has joined #go-nuts 12:40 -!- idr0 [~idr@g225064168.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds] 12:41 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 12:59 -!- emacsen [~serge@pool-141-156-49-189.washdc.btas.verizon.net] has joined #go-nuts 12:59 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 12:59 < emacsen> I'm looking at Go. Is there a SAX-like XML parser for Go/ 13:06 < TheMue> http://golang.org/pkg/xml/ 13:06 < TheMue> Not exactly SAX but it works almist similar. 13:06 < emacsen> I see that... but is that stream based? 13:06 < emacsen> (ie it won't parse the whole document first) 13:07 < TheMue> it reads from a reader token by token and you can do a type switch to identifiy the token 13:08 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 13:09 < emacsen> ok. I'll look at this. thx 13:11 -!- tasosos [~tasosos@188.4.26.132.dsl.dyn.forthnet.gr] has quit [Remote host closed the connection] 13:22 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-pakqbhyohzzauwkq] has joined #go-nuts 13:30 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts 13:32 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has quit [Remote host closed the connection] 14:20 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 14:20 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 14:22 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has quit [Quit: Leaving] 14:29 -!- rinzai [~rinzai@host86-132-157-209.range86-132.btcentralplus.com] has joined #go-nuts 14:44 -!- devink [~devin@c-76-24-8-98.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 14:49 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has joined #go-nuts 14:53 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 14:55 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 260 seconds] 14:57 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 15:06 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 15:18 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 15:39 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 15:40 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has quit [Quit: Leaving] 15:43 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 15:45 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has joined #go-nuts 15:47 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 15:50 -!- DerHorst [~Horst@e176105071.adsl.alicedsl.de] has quit [Remote host closed the connection] 15:51 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has joined #go-nuts 15:54 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 16:00 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 16:13 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 16:15 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 16:22 < raylu> uriel: goconfig has been forked by kless at http://github.com/kless/goconfig. it currently supports more features than goconf 16:23 < exch> emacsen: is you need something that reads the full document and allows forward/backward lookups of nodes, try this: http://github.com/jteeuwen/go-pkg-xmlx 16:23 -!- kanru [~kanru@61-228-160-76.dynamic.hinet.net] has quit [Read error: Operation timed out] 16:23 < exch> It's a simple extension to the existing go xml package which offers just that. Nothing fancy though 16:28 -!- ikaros_ [~ikaros@dslb-188-097-002-213.pools.arcor-ip.net] has joined #go-nuts 16:31 -!- TheMue [~TheMue@p5DDF52B6.dip.t-dialin.net] has quit [Quit: TheMue] 16:32 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has quit [Ping timeout: 260 seconds] 16:40 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has quit [Quit: Leaving] 16:43 -!- ficoos [~saggi@46-116-129-25.bb.netvision.net.il] has quit [Remote host closed the connection] 16:43 -!- ficoos [~saggi@46-116-129-25.bb.netvision.net.il] has joined #go-nuts 16:43 -!- ficoos [~saggi@46-116-129-25.bb.netvision.net.il] has quit [Read error: Connection reset by peer] 16:48 -!- Vovchik [~Vova@IGLD-84-229-123-134.inter.net.il] has quit [] 16:53 -!- ikaros [~ikaros@188.107.214.233] has joined #go-nuts 16:55 -!- ikaros_ [~ikaros@dslb-188-097-002-213.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 16:56 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 16:58 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 17:01 -!- rinzai [~rinzai@host86-132-157-209.range86-132.btcentralplus.com] has quit [Quit: Leaving] 17:08 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has joined #go-nuts 17:09 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping timeout: 252 seconds] 17:10 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 17:20 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 17:30 -!- ikaros_ [~ikaros@188.107.218.224] has joined #go-nuts 17:33 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 17:33 -!- ikaros [~ikaros@188.107.214.233] has quit [Ping timeout: 240 seconds] 17:41 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 17:47 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds] 17:51 -!- cco31 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 17:52 < raylu> is there something like clone in go? 17:52 < raylu> or deepcopy? 17:55 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 18:00 < skelterjohn> no 18:00 < skelterjohn> not in the standard lib, anyway 18:03 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 18:10 -!- araujo [~araujo@190.38.50.25] has joined #go-nuts 18:10 -!- araujo [~araujo@190.38.50.25] has quit [Changing host] 18:10 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 18:11 -!- ikaros [~ikaros@dslb-084-059-072-178.pools.arcor-ip.net] has joined #go-nuts 18:14 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 18:14 -!- ikaros_ [~ikaros@188.107.218.224] has quit [Ping timeout: 264 seconds] 18:16 < emacsen> exch, I don't want to backwards and forwards 18:16 < emacsen> exch, my xml is nearly 2gb in size 18:30 < exch> fair enough 18:31 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 18:35 < uriel> emacsen: ugh, I feel sick just to think of an xml file 2gb in size 18:36 < emacsen> uriel, then you won't like my other XML file, which is nearly 1tb in size :) 18:36 < kimelto> (: 18:36 < exch> what could possibly be in there? 18:36 < emacsen> data :) 18:41 < photron> a very detailed map of the earth represented in svg for example :) 18:42 < emacsen> photron, not as SVG 18:56 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 18:57 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 19:01 < hallas> greetings all 19:01 < uriel> hi 19:08 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 19:10 -!- Kashia [~Kashia@p4FEB6616.dip.t-dialin.net] has joined #go-nuts 19:13 -!- Kashia [~Kashia@p4FEB6616.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 19:14 < raylu> uriel: did you see my earlier message to you? 19:15 < uriel> raylu: one sec, got too many msgs :) 19:17 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 19:32 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined #go-nuts 19:34 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Read error: Connection reset by peer] 19:35 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 19:42 -!- Vovchik [~Vova@IGLD-84-229-123-134.inter.net.il] has joined #go-nuts 19:50 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left #go-nuts [] 19:53 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts 20:03 -!- emmanueloga [~emmanuelo@190.244.15.163] has quit [Ping timeout: 240 seconds] 20:04 -!- rinzai [~rinzai@host86-132-157-209.range86-132.btcentralplus.com] has joined #go-nuts 20:12 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has joined #go-nuts 20:27 -!- emmanueloga [~emmanuelo@190.244.15.163] has joined #go-nuts 20:31 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 20:32 -!- pothos_ [~pothos@111-240-208-110.dynamic.hinet.net] has joined #go-nuts 20:32 -!- pothos [~pothos@111-240-212-186.dynamic.hinet.net] has quit [Read error: Operation timed out] 20:34 -!- pothos_ [~pothos@111-240-208-110.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 20:34 -!- pothos [~pothos@111-240-208-110.dynamic.hinet.net] has joined #go-nuts 20:43 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 20:46 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 20:54 -!- tav [~tav@92.7.91.92] has quit [Ping timeout: 245 seconds] 20:55 -!- Vovchik [~Vova@IGLD-84-229-123-134.inter.net.il] has quit [] 21:00 -!- tav [~tav@92.7.76.254] has joined #go-nuts 21:12 -!- ronnyy [~quassel@p4FF1C7AF.dip.t-dialin.net] has joined #go-nuts 21:13 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 21:24 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:25 -!- ville- [~ville@a107.ath.cx] has joined #go-nuts 21:26 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 21:32 -!- femtooo [~femto@95-89-248-43-dynip.superkabel.de] has joined #go-nuts 21:35 -!- femtoo [~femto@95-89-248-43-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 21:40 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 21:42 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Client Quit] 21:46 -!- aho [~nya@fuld-4d00d33c.pool.mediaWays.net] has joined #go-nuts 21:54 -!- femtooo [~femto@95-89-248-43-dynip.superkabel.de] has quit [Quit: Leaving] 21:56 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 21:58 -!- awidegreen [~quassel@62.176.237.78] has quit [Read error: Connection reset by peer] 22:08 -!- ronnyy [~quassel@p4FF1C7AF.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 22:16 -!- MaksimBurnin1 [~max@44.188-224-87.telenet.ru] has joined #go-nuts 22:16 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Read error: Connection reset by peer] 22:17 < nsf> gofmt rocks 22:17 < nsf> I mean, really.. it rocks :) 22:18 * nsf likes to do :%!gofmt occasionally 22:19 < nsf> you're writing badly formatted code and it makes it nice 22:19 < nsf> :P 22:35 -!- photron [~photron@port-92-201-87-202.dynamic.qsc.de] has quit [Read error: Operation timed out] 22:43 -!- AmirMohammad [~amir@unaffiliated/gluegadget] has quit [Ping timeout: 240 seconds] 22:46 < soul9> hell yeah 22:46 < Tv> nsf: the only thing i don't like is the struct formatting trying to align the columns.. that means a one-line diff becomes a many-line diff 22:46 < nsf> :D 22:47 < nsf> but the source code looks better that way 22:47 < nsf> hehe, we should write a syntax diff tool 22:48 < nsf> that ignores all the formatting and shows only syntactic changes 22:49 < uriel> syntax-aware diff tool would be interesting, and not too hard to do for Go 22:49 -!- AmirMohammad [~amir@213.207.243.252] has joined #go-nuts 22:49 -!- AmirMohammad [~amir@213.207.243.252] has quit [Changing host] 22:49 -!- AmirMohammad [~amir@unaffiliated/gluegadget] has joined #go-nuts 22:50 < nsf> indeed, but I'm busy with documentation generator right now :) 22:50 < uriel> would be quite interesting to then integrate it with a vcs system for things like syntax-aware merges and so on 22:50 < nsf> rewriting "go/doc" :\ 22:50 < uriel> heh 22:51 < nsf> "go/doc" is nasty it does a lot of stuff I don't need: detects "factory" functions (New*), does HTML escaping, associates consts/vars with types, looks for BUG markers, etc. 22:51 < Tv> here's your syntax diff tool: diff -u <(git show HEAD~10:src/pkg/netchan/export.go | gofmt ) <(gofmt src/pkg/netchan/export.go ) 22:52 < Tv> you can even plug that into git if you want ;) 22:57 -!- rinzai [~rinzai@host86-132-157-209.range86-132.btcentralplus.com] has quit [Remote host closed the connection] 22:58 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has quit [Quit: Leaving.] 23:03 < uriel> nsf: so, what do you want it to do? 23:03 < uriel> Tv: that is is neat, but obviously not what I meant 23:04 < nsf> uriel: the same stuff, but without things I've listed 23:04 < nsf> "go/doc" hides New* function inside TypeDoc for example 23:04 < nsf> I don't need that 23:04 < nsf> most of the work for my doc generator is javascript actually :) 23:05 < nsf> it will be awesome :D 23:06 < nsf> well, I hope so 23:12 * uriel still doesn't understand the reason to remove those things from go/doc 23:14 < nsf> because I won't use them 23:15 < nsf> I feel stupid extracting "methods" and "factories" from TypeDoc and converting them back to ordinary functions 23:15 < nsf> also HTML escaping isn't good 23:15 < nsf> I'd like to pass comments to 3rd party text processor, something simple, like markdown 23:16 < nsf> of course I can copy&paste sources and hack them, but there are not so much code anyway 23:20 -!- MaksimBurnin1 [~max@44.188-224-87.telenet.ru] has quit [Read error: Connection reset by peer] 23:20 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts 23:23 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has quit [Quit: Leaving] 23:24 < nsf> in fact, I think I'm done with it 23:24 < nsf> :) 23:24 < nsf> although needs testing 23:31 < nsf> works fine 23:31 < nsf> :P 23:32 < nsf> 204 loc 23:32 < nsf> where 40 of them is a copy&paste for "append" 23:32 < nsf> :) 23:45 -!- idr1 [~idr@g229048198.adsl.alicedsl.de] has quit [Remote host closed the connection] 23:53 -!- tensorpudding [~user@99.148.202.191] has quit [Read error: Connection reset by peer] --- Log closed Sun Oct 17 00:00:11 2010