--- Log opened Sat Nov 06 00:00:00 2010 --- Day changed Sat Nov 06 2010 00:00 < |Craig|> https://github.com/Craig-Macomber/goFlame/blob/master/hello.go#L142 00:00 < anticw> yeah ... needs stuff i dont have 00:00 < anticw> not sure how that plays with gccgo ... 00:00 < MaybeSo> Question for folks, would this be an idiomatic way of extending a foreign struct (xdbc.Server)? http://paste.pocoo.org/show/286720/ 00:01 < MaybeSo> basically, trying to extend xdbc.Server to add a new function (listForests) 00:02 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240 seconds] 00:06 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 00:07 < anticw> iant: heh, got an ICE 00:07 <+iant> sigh 00:07 <+iant> can you open an issue? 00:07 < anticw> yeah ... where should it live? 00:07 <+iant> the usual Go issues is fine 00:09 -!- awidegreen_ [~quassel@p5DF1E32F.dip.t-dialin.net] has quit [Remote host closed the connection] 00:13 < anticw> http://code.google.com/p/go/issues/list?thanks=1255 00:13 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit: leaving] 00:14 <+iant> thanks 00:14 < anticw> not saying it should work/build as is ... just not ICE 00:15 < anticw> iant: the issue is var a decl outside the file ... how does gccgo normally resolve those? 00:15 <+iant> ? 00:16 < anticw> ie. var decl global in settings.go ... and used in util.go ... how would gccgo normally even find that? 00:16 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 00:16 <+iant> I assume they are in the same package, gccgo looks at all the source files in a package at once 00:16 < anticw> so i would need -c *.go ? 00:16 < anticw> or equiv ? 00:16 <+iant> yes 00:17 < anticw> yes, doesn't find it 00:17 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 00:21 < |Craig|> wow, declaring variables that are just assigned to and used in one spot in the next line can be way slower than in-lining them 00:22 < anticw> 6g/6l don't optimize much 00:22 < |Craig|> I can tell 00:23 < |Craig|> I found out how to do what I wanted with unsafe btw, though it comes out a bit slower than the conditional because I have to go through a bunch of stuff to make it work 00:23 < anticw> iant: does order matter? i wouldn't have though so 00:23 <+iant> anticw: order does not matter 00:24 < anticw> ok ... so i have a smaller test case ... no ICE ... but it shows it not finding the global var defined elsewhere 00:24 <+iant> odd 00:25 <+iant> does it work with 6g? 00:25 < anticw> yes 00:25 <+iant> very odd 00:25 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 245 seconds] 00:25 <+iant> what is the error message? 00:27 < anticw> http://ichthyostega.pastebin.com/XZSpLS8Z 00:28 < anticw> and those missing decl's cause the ICE sometimes (not always) 00:31 <+iant> looks like the gcc driver split up the input files for some reason 00:31 < anticw> i think it's new ... though oddly it built src/pkg/net ... which does this (and others i'm sure) 00:31 <+iant> it will work if you do gccgo -o f.o f1.go f2.go 00:31 <+iant> that is, adding a -o option makes it work 00:32 <+iant> sorry, gccgo -c -o f.o f1.go f2.go 00:32 < anticw> indeed 00:32 < anticw> this is some fe input parsing weirdness then? 00:32 <+iant> OK, that needs another issue, without -o it should just use the first filename or something 00:32 <+iant> really the gcc driver program itself 00:32 <+iant> before it gets to the compiler proper 00:32 < anticw> soooooooo.... another issue for that in the same place, or leave you to file in in gcc-land? 00:33 <+iant> in the same place, thanks; for .c files the behaviour is correct 00:33 <+iant> it needs to change for .go files 00:33 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 00:34 <+iant> I think this broke in some merge from mainline gcc 00:36 < anticw> ok, it's there as well 00:36 -!- major_majors [~major_maj@108-65-203-205.lightspeed.livnmi.sbcglobal.net] has joined #go-nuts 00:36 < anticw> i guess someone will tag those for you at some point 00:36 <+iant> great, thanks 00:37 -!- major_majors [~major_maj@108-65-203-205.lightspeed.livnmi.sbcglobal.net] has quit [Client Quit] 00:38 < anticw> iant: what's the highest safe level for optimization? O2? O3? 00:38 <+iant> those should be safe, yes 00:38 <+iant> O3 is the highest level 00:38 < anticw> -funroll-loops -O6 -filovegento 00:38 <+iant> there isn't any unsafe level, unless something is broken 00:38 <+iant> levels above O3 are accepted but they mean the same as O3 00:39 < anticw> how do i make it go up to 11? 00:39 <+iant> ha 00:39 < anticw> man, i should watch that again 00:41 < anticw> iant: if the last line lacks \n you get a weird error 00:41 <+iant> sigh 00:41 < anticw> want me to just file these and let you reject them later? 00:42 <+iant> if you are up for that, that would be great 00:42 <+iant> thanks 00:42 <+iant> clearly this needs more testing 00:42 < anticw> sure ... i actually do use gccgo though ... and don't typically hit too many things 00:42 < anticw> i need to get static bins working again 00:42 < anticw> that's actually really useful for remote agents (one file is nice for upgrades, you do a rename) 00:43 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 00:46 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab] 00:48 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 00:48 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat] 00:48 < anticw> |Craig|: what cpu are you testing with? 00:48 -!- kanru [~kanru@61-228-159-162.dynamic.hinet.net] has joined #go-nuts 00:48 < anticw> |Craig|: with some tiny tweaks it builds to gccgo ... i didnt do a 6g comparison yet though 00:49 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 00:53 -!- Thomas1 [~kvirc@188-23-0-86.adsl.highway.telekom.at] has joined #go-nuts 00:53 -!- yihuang [~yihuang@183.17.149.24] has joined #go-nuts 00:54 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping timeout: 245 seconds] 00:54 -!- yihuang [~yihuang@183.17.149.24] has left #go-nuts [] 00:56 -!- Thomas1|3 [~kvirc@188-23-103-209.adsl.highway.telekom.at] has quit [Ping timeout: 272 seconds] 00:58 -!- iant [~iant@67.218.104.238] has quit [Quit: Leaving.] 01:02 < |Craig|> anticw: I'n back. I've been running it under OSX on 2.66 GHz Intel Core 2 Duo 01:03 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 245 seconds] 01:03 -!- fabled [~fabled@mail.fi.jw.org] has joined #go-nuts 01:04 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 01:05 < |Craig|> anticw: one oddity about that program is that as the data array gets more 0s in it, it starts to run faster. I think its because the += ends up adding 0 and skipping the slow mostly random'ly ordered fetch 01:06 < |Craig|> the total speed more than doubles because of it 01:06 < |Craig|> meaning that fetch is a huge portion of the execution time. 01:06 < anticw> cache misses are very slow 01:06 < |Craig|> yep 01:08 < |Craig|> unfortunately that code is pretty much cache miss generating algothem. 01:08 -!- nigelkerr [~nigelkerr@97-85-48-8.dhcp.bycy.mi.charter.com] has joined #go-nuts 01:11 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts 01:11 < |Craig|> maybe i'm wrong, taking out that fetch does not speed it up. Now I'm confused. perhaps the saving are in the floating point pipeline when operating on 0s 01:12 < |Craig|> optimization is a very strange thing 01:12 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 01:13 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Ping timeout: 272 seconds] 01:14 < |Craig|> hum, looks like its half the fetch, and maybe half that adding floats to 0 is really fast. I think I'm going to stop screwing with it 01:14 < |Craig|> I don 01:15 < |Craig|> I don't feel like trying to learn how the floating point pipeline works 01:15 -!- peterdn [~peterdn@dhcp-110-228.new.ox.ac.uk] has joined #go-nuts 01:16 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 01:17 -!- yihuang [~yihuang@183.17.149.24] has joined #go-nuts 01:17 -!- yihuang [~yihuang@183.17.149.24] has left #go-nuts [] 01:17 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Client Quit] 01:18 < anticw> the fetch time should be way higher than fp add 01:19 < |Craig|> I took out the changing index and just made it always 0 so it should fetch real quick, and it ran slower 01:20 * |Craig| is confused 01:20 < |Craig|> I need to redesign all the code anyway to add features, I'm just trying to learn whats going on 01:23 < |Craig|> anyone here tried goclipse ? 01:25 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined #go-nuts 01:30 -!- mikespook [~mikespook@219.137.75.81] has joined #go-nuts 01:34 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 01:43 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab] 01:46 -!- mikespook [~mikespook@219.137.75.81] has quit [Remote host closed the connection] 01:56 -!- artefon [~thiago@187.114.54.188] has joined #go-nuts 02:01 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 02:05 -!- smw [~smw@108.21.152.106] has joined #go-nuts 02:17 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 02:20 -!- artefon [~thiago@187.114.54.188] has quit [Quit: bye] 02:22 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 02:22 -!- artefon [~thiago@187.114.54.188] has joined #go-nuts 02:25 -!- smw [~smw@108.21.152.106] has quit [Remote host closed the connection] 02:29 -!- nigelkerr [~nigelkerr@97-85-48-8.dhcp.bycy.mi.charter.com] has quit [Quit: nigelkerr] 02:36 -!- smw [~smw@108.21.152.106] has joined #go-nuts 02:44 -!- i3d [~i3dmaster@216.239.45.130] has joined #go-nuts 02:45 -!- i3d [~i3dmaster@216.239.45.130] has quit [Changing host] 02:45 -!- i3d [~i3dmaster@unaffiliated/i3dmaster] has joined #go-nuts 02:46 -!- i3d [~i3dmaster@unaffiliated/i3dmaster] has quit [Client Quit] 02:50 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 02:53 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 02:55 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 02:55 -!- mode/#go-nuts [+v iant] by ChanServ 03:01 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 03:05 -!- artefon [~thiago@187.114.54.188] has quit [Ping timeout: 265 seconds] 03:12 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 03:17 -!- Chopinn [~Chopin@ti0018a380-dhcp2647.bb.online.no] has quit [Ping timeout: 240 seconds] 03:19 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276 seconds] 03:20 < plexdev> http://is.gd/gLDdA by [Russ Cox] in go/src/libmach/ -- libmach: detail for darwin errors 03:20 < plexdev> http://is.gd/gLDdG by [Russ Cox] in go/src/ -- env.bash: more quoting in case of spaces 03:20 < plexdev> http://is.gd/gLDdM by [Peter Mundy] in 2 subdirs of go/src/ -- testing: rename type Test to InternalTest 03:20 < plexdev> http://is.gd/gLDe2 by [Wei Guangjing] in go/src/pkg/net/ -- net: fix windows build 03:22 -!- drhodes [~none@drhodes.xen.prgmr.com] has joined #go-nuts 03:31 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 03:31 -!- Chopinn [~Chopin@ti0018a380-dhcp2647.bb.online.no] has joined #go-nuts 03:34 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 03:50 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined #go-nuts 04:07 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 04:28 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 04:28 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Client Quit] 04:31 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 272 seconds] 04:37 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 04:41 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts 04:48 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts 04:49 -!- fumblebee [~kgay@blk-138-47-189.eastlink.ca] has joined #go-nuts 04:53 -!- jcao219 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 04:54 -!- jcao219 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has left #go-nuts [] 05:34 -!- fumblebee [~kgay@blk-138-47-189.eastlink.ca] has quit [Ping timeout: 245 seconds] 05:43 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 06:05 -!- fumblebee [~kgay@blk-142-24-126.eastlink.ca] has joined #go-nuts 06:13 -!- adu [~ajr@pool-74-96-89-94.washdc.fios.verizon.net] has quit [Quit: adu] 06:23 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 272 seconds] 06:26 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has joined #go-nuts 06:34 -!- fumblebee [~kgay@blk-142-24-126.eastlink.ca] has quit [Ping timeout: 272 seconds] 06:36 -!- mat_ [~mat@prod2.absolight.net] has quit [Ping timeout: 240 seconds] 06:47 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 07:05 -!- awidegreen [~quassel@p5DF1E32F.dip.t-dialin.net] has joined #go-nuts 07:23 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has quit [Quit: Leaving.] 07:30 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:44 -!- mat_ [~mat@prod2.absolight.net] has joined #go-nuts 07:58 -!- tvw [~tv@e176001187.adsl.alicedsl.de] has joined #go-nuts 08:05 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 08:08 -!- tvw [~tv@e176001187.adsl.alicedsl.de] has quit [Remote host closed the connection] 08:15 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 08:25 -!- photron [~photron@port-92-201-215-180.dynamic.qsc.de] has joined #go-nuts 08:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:38 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:49 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 08:53 -!- Thomas1|2 [~kvirc@188-23-9-241.adsl.highway.telekom.at] has joined #go-nuts 08:55 -!- Thomas1 [~kvirc@188-23-0-86.adsl.highway.telekom.at] has quit [Ping timeout: 250 seconds] 08:58 -!- awidegreen_ [~quassel@p5DF1FE10.dip.t-dialin.net] has joined #go-nuts 09:00 -!- awidegreen [~quassel@p5DF1E32F.dip.t-dialin.net] has quit [Ping timeout: 260 seconds] 09:25 -!- yihuang [~yihuang@183.17.149.24] has joined #go-nuts 09:25 -!- yihuang [~yihuang@183.17.149.24] has left #go-nuts [] 09:28 -!- nictuku_ [~nictuku@74.125.121.49] has joined #go-nuts 09:36 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined #go-nuts 09:50 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts 09:56 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 10:16 -!- lmoura [~lauromour@186.212.109.42] has quit [Ping timeout: 272 seconds] 10:18 -!- yihuang [~yihuang@183.17.149.24] has joined #go-nuts 10:19 -!- yihuang [~yihuang@183.17.149.24] has left #go-nuts [] 10:21 -!- yihuang [~yihuang@183.17.149.24] has joined #go-nuts 10:21 -!- yihuang [~yihuang@183.17.149.24] has left #go-nuts [] 10:52 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 11:03 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has joined #go-nuts 11:16 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 11:21 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 11:35 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has quit [Ping timeout: 250 seconds] 11:45 -!- aho [~nya@fuld-4d00d7c2.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 11:48 -!- DerHorst [~Horst@e176097147.adsl.alicedsl.de] has joined #go-nuts 11:53 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts 11:53 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has joined #go-nuts 11:58 -!- nictuku_ [~nictuku@74.125.121.49] has quit [Ping timeout: 265 seconds] 12:00 -!- wrtp [~rog@92.17.54.117] has joined #go-nuts 12:04 -!- araujo [~araujo@190.38.50.25] has joined #go-nuts 12:04 -!- araujo [~araujo@190.38.50.25] has quit [Changing host] 12:04 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 12:06 -!- virtualsue [~chatzilla@nat/cisco/x-njkwhovjogrbkyuz] has joined #go-nuts 12:09 -!- MashPotato [~ed@unaffiliated/mashpotato] has joined #go-nuts 12:11 -!- sauerbraten [~sauerbrat@p508CDB3B.dip.t-dialin.net] has joined #go-nuts 12:18 < nsf> http://github.com/nsf/gortfm/graphs/languages 12:18 < nsf> lol, documentation generator.. 12:18 < nsf> ah.. it's because of the jquery 12:22 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has quit [Ping timeout: 276 seconds] 12:25 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 12:29 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has joined #go-nuts 12:29 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit: KVIrc Insomnia 4.0.2, revision: 4740, sources date: 20100627, built on: 2010-10-19 12:51:39 UTC http://www.kvirc.net/] 12:34 -!- DerHorst [~Horst@e176097147.adsl.alicedsl.de] has quit [Remote host closed the connection] 12:37 -!- nictuku [~nictuku@cetico.org] has quit [Changing host] 12:37 -!- nictuku [~nictuku@unaffiliated/nictuku] has joined #go-nuts 12:47 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 12:48 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Ping timeout: 252 seconds] 13:05 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts 13:18 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host closed the connection] 13:33 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 13:41 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 13:47 -!- awidegreen_ [~quassel@p5DF1FE10.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 13:49 -!- awidegreen [~quassel@p5DF1FE10.dip.t-dialin.net] has joined #go-nuts 14:09 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 14:10 -!- ucasano [~ucasano@93-36-113-31.ip60.fastwebnet.it] has joined #go-nuts 14:25 -!- lotrpy [~lotrpy@202.120.36.170] has quit [] 14:26 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 245 seconds] 14:28 -!- ucasano [~ucasano@93-36-113-31.ip60.fastwebnet.it] has quit [Quit: ucasano] 14:34 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 14:47 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 264 seconds] 14:59 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:01 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 15:02 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 15:03 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 245 seconds] 15:04 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:08 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 255 seconds] 15:09 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:13 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 15:20 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:23 -!- zhaozhou [~zhaozhou@linfast76.bitnet.nu] has quit [Read error: Connection reset by peer] 15:25 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 252 seconds] 15:25 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:27 -!- suiside [~suiside@unaffiliated/suiside] has quit [Read error: Operation timed out] 15:30 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:33 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 15:35 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 15:36 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:38 -!- fumblebee [~kgay@blk-142-24-126.eastlink.ca] has joined #go-nuts 15:41 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 15:43 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 15:44 -!- virtualsue [~chatzilla@nat/cisco/x-njkwhovjogrbkyuz] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]] 15:44 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 15:45 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 252 seconds] 15:46 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:49 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 15:50 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 15:54 -!- nigelkerr [~nigelkerr@97-85-48-8.dhcp.bycy.mi.charter.com] has joined #go-nuts 15:56 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 15:59 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts 16:01 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 255 seconds] 16:04 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Ping timeout: 272 seconds] 16:08 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 16:12 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:12 -!- lotrpy [~lotrpy@202.120.36.170] has quit [] 16:13 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has joined #go-nuts 16:16 -!- kanru [~kanru@61-228-159-162.dynamic.hinet.net] has quit [Ping timeout: 245 seconds] 16:16 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined #go-nuts 16:17 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 272 seconds] 16:18 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:21 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 16:22 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 16:24 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:29 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 245 seconds] 16:29 -!- boscop [~boscop@f055023125.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 16:29 -!- boscop_ [~boscop@f055117169.adsl.alicedsl.de] has joined #go-nuts 16:30 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:34 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 16:35 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:39 -!- the [~the@ip-94-112-195-42.net.upcbroadband.cz] has joined #go-nuts 16:40 < Guest61971> Hi. I have a trouble googling for way(s) how to pretty-print (possibly complex) Go variables. Is there a way? 16:40 -!- suiside [~suiside@unaffiliated/suiside] has quit [Remote host closed the connection] 16:41 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:46 -!- suiside [~suiside@unaffiliated/suiside] has quit [Remote host closed the connection] 16:46 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:50 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 16:53 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 16:53 -!- Thomas1|3 [~kvirc@188-23-12-50.adsl.highway.telekom.at] has joined #go-nuts 16:54 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 16:54 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 16:55 -!- Thomas1|2 [~kvirc@188-23-9-241.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 16:58 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 255 seconds] 16:59 -!- Guest61971 [~the@ip-94-112-195-42.net.upcbroadband.cz] has quit [Remote host closed the connection] 17:01 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 17:04 -!- wrtp [~rog@92.17.54.117] has quit [Quit: wrtp] 17:06 -!- suiside [~suiside@unaffiliated/suiside] has quit [Remote host closed the connection] 17:11 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 17:12 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 17:14 < exch> Guest95927: fmt.Printf("%v", myvar) will print it's contents. Also check out %+v and %#v for even more verbose content. Not sure if that qualifies as 'pretty' though. It doesn't do indentation of nested struct fields and what not 17:16 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 240 seconds] 17:17 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 17:23 -!- suiside [~suiside@unaffiliated/suiside] has quit [Read error: Operation timed out] 17:23 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 17:31 -!- suiside [~suiside@unaffiliated/suiside] has quit [Ping timeout: 255 seconds] 17:32 -!- suiside [~suiside@unaffiliated/suiside] has joined #go-nuts 17:33 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 245 seconds] 17:50 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts 17:54 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined #go-nuts 17:57 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 18:03 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 18:04 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 18:04 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 18:07 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping timeout: 265 seconds] 18:09 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 18:13 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 265 seconds] 18:14 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 18:21 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 245 seconds] 18:22 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 264 seconds] 19:00 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 19:02 -!- tulcod [~auke@83.160.115.167] has joined #go-nuts 19:25 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 19:26 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined #go-nuts 19:29 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 19:37 -!- res99 [~anonymous@201.237.130.70] has quit [Ping timeout: 276 seconds] 19:45 -!- cenuij [~cenuij@78.122.184.175] has joined #go-nuts 19:45 -!- cenuij [~cenuij@78.122.184.175] has quit [Changing host] 19:45 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 19:48 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 19:48 -!- TheMue [~TheMue@p5DDF77D6.dip.t-dialin.net] has joined #go-nuts 19:50 -!- rbraley [~rbraley@ip72-222-131-9.ph.ph.cox.net] has joined #go-nuts 19:50 < SoniaKeys> does anyone remember the recent conversation about bufio.ReadString vs ioutil.ReadFile? 19:52 < SoniaKeys> anyway, i just found a case where bufio was faster. i had a 177M file i needed to read. 19:52 < SoniaKeys> i guess chaching or something made 177M an unreasonable amount to read all at once. 19:55 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 19:55 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has joined #go-nuts 19:55 -!- rbraley [~rbraley@ip72-222-131-9.ph.ph.cox.net] has quit [Ping timeout: 272 seconds] 19:58 < Tv> SoniaKeys: you mean ioutil.ReadAll? 20:00 < Tv> SoniaKeys: and yes, reading 177MB into memory in a single slurp is most likely a bad idea, for example: you'll have to wait until it's all read before you start processing it; if you wish to process it once, you'll do two cache passes for the whole data; etc 20:00 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts 20:01 < SoniaKeys> really i was using ioutil.Readfile. it's so convenient to just give it a file name and get back all the data. 20:02 < Tv> oh yeah, almost the same thing 20:02 < SoniaKeys> but yes, i think there is duplication on a number of levels. 20:02 < Tv> i misread your first line as ioutil.ReadString 20:02 < Tv> my later statement still holds 20:02 < SoniaKeys> yes, no argument. 20:03 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit [Ping timeout: 255 seconds] 20:04 -!- zaero [~eclark@valkyrie.buick455.com] has quit [Ping timeout: 240 seconds] 20:04 -!- zaero [~eclark@valkyrie.buick455.com] has joined #go-nuts 20:09 -!- Tv1 [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 20:09 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Disconnected by services] 20:18 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 20:19 -!- sauerbraten [~sauerbrat@p508CDB3B.dip.t-dialin.net] has quit [Remote host closed the connection] 20:21 -!- rbraley [~rbraley@ip72-222-131-9.ph.ph.cox.net] has joined #go-nuts 20:26 -!- HollyRain [~HollyRain@231.132.22.95.dynamic.jazztel.es] has joined #go-nuts 20:27 < HollyRain> hi! how to delete any project from http://godashboard.appspot.com/project ? 20:30 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 20:38 -!- ako [~nya@fuld-4d00d1ed.pool.mediaWays.net] has joined #go-nuts 20:49 -!- matti_ [~mumboww@c-98-207-108-218.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 20:50 -!- pothos_ [~pothos@111-240-218-39.dynamic.hinet.net] has joined #go-nuts 20:50 -!- HollyRain [~HollyRain@231.132.22.95.dynamic.jazztel.es] has left #go-nuts [] 20:52 -!- pothos [~pothos@111-240-214-188.dynamic.hinet.net] has quit [Ping timeout: 255 seconds] 20:52 -!- pothos_ [~pothos@111-240-218-39.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 20:52 -!- pothos [~pothos@111-240-218-39.dynamic.hinet.net] has joined #go-nuts 20:53 -!- nigelkerr [~nigelkerr@97-85-48-8.dhcp.bycy.mi.charter.com] has quit [Remote host closed the connection] 20:54 -!- nigelkerr [~nigelkerr@jstormichfw.jstor.org] has joined #go-nuts 20:56 -!- res99 [~anonymous@201.237.130.70] has joined #go-nuts 20:56 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 20:57 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has quit [Read error: No route to host] 20:58 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping timeout: 265 seconds] 21:05 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 21:07 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 21:07 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read error: Connection reset by peer] 21:09 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 21:10 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 21:11 -!- sacho [~sacho@87-126-66-148.btc-net.bg] has quit [Ping timeout: 245 seconds] 21:12 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping timeout: 245 seconds] 21:14 -!- sacho [~sacho@87-126-7-231.btc-net.bg] has joined #go-nuts 21:16 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined #go-nuts 21:18 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 21:20 -!- CodeWar [~pou@c-24-23-206-137.hsd1.ca.comcast.net] has joined #go-nuts 21:22 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 21:23 -!- holger1104 [~holger110@p4FCEC1D6.dip.t-dialin.net] has joined #go-nuts 21:25 -!- holger1104 [~holger110@p4FCEC1D6.dip.t-dialin.net] has quit [Client Quit] 21:42 -!- niemeyer [~niemeyer@189-72-21-191.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 21:43 -!- CodeWar [~pou@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 21:44 -!- photron [~photron@port-92-201-215-180.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 22:03 -!- artefon [~thiago@189.115.130.18] has joined #go-nuts 22:03 -!- artefon [~thiago@189.115.130.18] has quit [Read error: Connection reset by peer] 22:12 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has quit [] 22:14 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 22:21 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Ping timeout: 245 seconds] 22:25 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:39 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts 22:42 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 22:44 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit: KVIrc Insomnia 4.0.2, revision: 4740, sources date: 20100627, built on: 2010-10-19 12:51:39 UTC http://www.kvirc.net/] 22:44 -!- TheMue [~TheMue@p5DDF77D6.dip.t-dialin.net] has quit [Quit: TheMue] 22:50 -!- sacho [~sacho@87-126-7-231.btc-net.bg] has quit [Read error: Connection reset by peer] 22:52 -!- sacho [~sacho@87-126-53-240.btc-net.bg] has joined #go-nuts 22:53 -!- zhaozhou [~zhaozhou@linfast76.bitnet.nu] has joined #go-nuts 22:56 < zhaozhou> Is it possible to create a web server which uses the host name to load up and run an external go script somehow, effectively creating an automated virtual host web server? (i.e. i load example.tld, server loads up example.tld.go or something, which in turn does everything the website needs) 22:58 < SirPsychoS> that would be cool - I'd start with a map[string]string that maps subdomains to executable filenames, then use something in os.* to execute the appropriate subprocess 22:59 < SirPsychoS> or just leave out the map and just use the domain as the filename 23:00 < zhaozhou> But how would I communicate with the subprocess, to be able to print to the socket? 23:00 < zhaozhou> Or, could I perhaps use something like RPC to send the socket to the subprocess? 23:01 < SirPsychoS> call os.Pipe() before exec-ing and have the subprocess output on stdout? 23:01 < SirPsychoS> I just found this, which could be relevant: http://pastie.org/870720 23:03 < zhaozhou> Hmmm, fair enough (and simple enough). I'll give it a shot, thanks. 23:03 < SirPsychoS> no problem 23:06 -!- kanru [~kanru@61-228-159-162.dynamic.hinet.net] has joined #go-nuts 23:08 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 23:08 -!- CodeWar [~pou@c-24-23-206-137.hsd1.ca.comcast.net] has joined #go-nuts 23:09 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 23:10 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 23:19 -!- CodeWar [~pou@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds] 23:44 -!- leanid-chaika [~leanid-ch@93.85.73.144] has joined #go-nuts 23:47 < leanid-chaika> Help me. How to reopen/redirect stderr and stdout to my file? 23:52 -!- sacho [~sacho@87-126-53-240.btc-net.bg] has quit [Read error: No route to host] 23:52 < Tv1> leanid-chaika: http://golang.org/pkg/syscall/#Dup2 23:53 -!- sacho_ [~sacho@83.228.17.51] has joined #go-nuts 23:53 < Tv> leanid-chaika: you kind of need to know C & unix 23:58 -!- wrtp [~rog@92.16.122.93] has joined #go-nuts 23:59 < leanid-chaika> Tv1 thanks. Tv you are right :) --- Log closed Sun Nov 07 00:00:15 2010