--- Log opened Tue May 03 00:00:50 2011 00:01 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 00:02 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 00:08 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts 00:17 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 00:21 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 00:21 -!- artefon [~thiago@187.58.4.179] has joined #go-nuts 00:23 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 00:25 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 00:26 < plexdev> http://is.gd/kXkeqi by [Robert Griesemer] in go/doc/ -- go spec: clarify semantics of integer division 00:36 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 00:38 -!- tvw [~tv@e176007150.adsl.alicedsl.de] has joined #go-nuts 00:56 -!- tvw [~tv@e176007150.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 00:57 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 00:57 -!- fmoo [~Adium@66.220.144.74] has quit [Quit: Leaving.] 00:58 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 00:59 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts 01:01 -!- mikespook [~mikespook@219.137.252.193] has joined #go-nuts 01:01 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Quit: Leaving.] 01:06 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 01:09 -!- artefon [~thiago@187.58.4.179] has quit [Quit: bye] 01:09 -!- slashus2 [~slashus2@74-141-110-130.dhcp.insightbb.com] has joined #go-nuts 01:13 < plexdev> http://is.gd/9Wk9e4 by [Robert Griesemer] in go/doc/ -- godoc: if there is no search box, don't run the respective JS code 01:17 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 01:24 -!- foocraft [~ewanas@86.36.49.200] has joined #go-nuts 01:24 -!- mikespook [~mikespook@219.137.252.193] has quit [Quit: Leaving.] 01:27 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Quit: leaving] 01:34 -!- foocraft [~ewanas@86.36.49.200] has quit [Quit: Leaving] 01:37 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 01:39 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 01:40 -!- ako [~nya@fuld-590c6416.pool.mediaWays.net] has joined #go-nuts 01:41 -!- rurban [~chatzilla@178-191-73-208.adsl.highway.telekom.at] has quit [Ping timeout: 258 seconds] 01:42 -!- aho [~nya@fuld-590c690d.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 01:45 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 01:53 -!- ab3 [~abe@83.101.90.66] has quit [Ping timeout: 252 seconds] 01:55 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 02:00 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 02:04 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 02:16 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has joined #go-nuts 02:17 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has joined #go-nuts 02:20 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/] 02:22 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 02:41 -!- foocraft [~ewanas@89.211.191.40] has joined #go-nuts 02:43 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 02:44 -!- ako [~nya@fuld-590c69db.pool.mediaWays.net] has joined #go-nuts 02:45 -!- aho [~nya@fuld-590c6416.pool.mediaWays.net] has quit [Ping timeout: 248 seconds] 02:50 -!- foocraft [~ewanas@89.211.191.40] has quit [Quit: Leaving] 02:52 -!- foocraft [~ewanas@89.211.191.40] has joined #go-nuts 02:56 -!- slashus2 [~slashus2@74-141-110-130.dhcp.insightbb.com] has quit [Quit: slashus2] 02:59 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Linkinus - http://linkinus.com] 02:59 -!- niemeyer [~niemeyer@201-40-174-223.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 03:07 -!- chronoslynx [~Adium@143.215.117.22] has joined #go-nuts 03:13 -!- a2800276 [~a2800276@xdsl-87-78-238-138.netcologne.de] has quit [Quit: a2800276] 03:16 < plexdev> http://is.gd/DhE2MG by [Brad Fitzpatrick] in go/src/pkg/os/ -- os: remove race paranoia from Environ(); it's guarded now 03:22 -!- chronoslynx [~Adium@143.215.117.22] has quit [Quit: Leaving.] 03:28 -!- foocraft [~ewanas@89.211.191.40] has quit [Quit: Leaving] 03:45 -!- slashus2 [~slashus2@74-141-110-130.dhcp.insightbb.com] has joined #go-nuts 03:46 -!- fmoo [~Adium@66.220.144.74] has quit [Quit: Leaving.] 03:47 -!- slashus2 [~slashus2@74-141-110-130.dhcp.insightbb.com] has left #go-nuts [] 03:48 < plexdev> http://is.gd/SdOHiR by [Andrew Gerrand] in go/doc/ -- doc/install: specify clone -u instead of -r 03:49 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 03:50 -!- kr [~Keith@c-24-5-193-165.hsd1.ca.comcast.net] has quit [Quit: WeeChat 0.3.4] 03:54 -!- kr [~Keith@c-24-5-193-165.hsd1.ca.comcast.net] has joined #go-nuts 03:55 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has quit [Quit: Leaving] 03:58 -!- stalled [~stalled@unaffiliated/stalled] has quit [Quit: ...] 04:00 -!- foocraft [~ewanas@89.211.191.40] has joined #go-nuts 04:08 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 04:12 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 04:13 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 04:17 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services] 04:17 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 04:17 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts 04:43 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 04:45 -!- jbooth1 [~jay@209.249.216.2] has quit [Ping timeout: 260 seconds] 04:45 -!- foocraft [~ewanas@89.211.191.40] has quit [Quit: Leaving] 04:51 -!- ExtraSpice [XtraSpice@88.118.35.153] has joined #go-nuts 04:52 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 04:55 -!- boscop_ [~boscop@f055014043.adsl.alicedsl.de] has joined #go-nuts 04:57 -!- boscop [~boscop@g225220169.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 04:58 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts 04:58 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 248 seconds] 05:00 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 05:06 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 05:06 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts 05:08 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:10 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:10 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:10 -!- Kafo [~Henry@a91-152-191-94.elisa-laajakaista.fi] has joined #go-nuts 05:13 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:14 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:14 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Ping timeout: 246 seconds] 05:16 -!- iant [~iant@216.239.45.130] has joined #go-nuts 05:16 -!- mode/#go-nuts [+v iant] by ChanServ 05:17 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:20 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:21 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:21 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 05:22 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:22 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:23 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:28 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Quit: leaving] 05:28 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:30 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:36 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:40 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 05:40 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 05:46 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Quit: leaving] 05:46 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:47 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:48 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:49 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 05:49 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 05:51 -!- tav [~tav@92.7.116.120] has quit [Read error: Connection reset by peer] 05:54 -!- tav [~tav@92.7.116.120] has joined #go-nuts 05:54 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping timeout: 260 seconds] 05:55 -!- a2800276 [~a2800276@xdsl-87-78-238-138.netcologne.de] has joined #go-nuts 05:57 -!- tav [~tav@92.7.116.120] has quit [Read error: Connection reset by peer] 05:57 -!- tav [~tav@92.7.116.120] has joined #go-nuts 05:58 -!- tav [~tav@92.7.116.120] has quit [Read error: Connection reset by peer] 05:59 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 06:01 -!- tav [~tav@92.7.116.120] has joined #go-nuts 06:02 -!- tav [~tav@92.7.116.120] has quit [Read error: Connection reset by peer] 06:02 -!- tav_ [~tav@92.7.116.120] has joined #go-nuts 06:03 -!- tav_ [~tav@92.7.116.120] has quit [Read error: Connection reset by peer] 06:03 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Read error: Connection reset by peer] 06:04 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has joined #go-nuts 06:04 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 06:09 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 06:10 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts 06:11 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping timeout: 240 seconds] 06:12 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 06:20 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: peace in teh middle east] 06:22 -!- a2800276 [~a2800276@xdsl-87-78-238-138.netcologne.de] has quit [Quit: a2800276] 06:26 -!- Kafo [~Henry@a91-152-191-94.elisa-laajakaista.fi] has quit [Read error: Connection reset by peer] 06:27 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Ping timeout: 260 seconds] 06:32 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 06:32 -!- a2800276 [~a2800276@xdsl-87-78-238-138.netcologne.de] has joined #go-nuts 06:38 -!- a2800276 [~a2800276@xdsl-87-78-238-138.netcologne.de] has quit [Quit: a2800276] 06:38 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts 06:39 -!- dshep [~user@c-76-21-12-46.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 06:40 -!- tav [~tav@92.7.129.170] has joined #go-nuts 06:47 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds] 06:48 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 06:49 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Read error: Connection reset by peer] 06:51 -!- wrtp [~rog@92.17.111.113] has joined #go-nuts 06:54 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has left #go-nuts ["Leaving"] 06:55 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has quit [Remote host closed the connection] 07:00 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 07:06 < dfc> is this a known issue ? 07:06 < dfc> http://code.google.com/p/go/issues/detail?id=1776 07:12 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has joined #go-nuts 07:12 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 07:13 -!- nkdnstbr_ [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 07:13 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Read error: Connection reset by peer] 07:16 -!- aho [~nya@fuld-590c69db.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 07:17 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has joined #go-nuts 07:20 < uriel> dfc: if it is in the issue tracker I'd say it is 'known' 07:21 < dfc> well, i was the one that logged it :) 07:22 < dfc> i wanted some advice if anyone else had hit this issue 07:22 < dfc> i ran into it using gomysql to create a client conn inside init() 07:22 < dfc> I thought that all goroutines that were started in init() were dormant until main() kicks off 07:23 < |Craig|> I'd guess thats caused by net having an init (or something is uses) that it needs which has not run yet 07:23 < |Craig|> but thats just a wild guess on my part 07:23 < dfc> net internally uses a goroutine to handle select(2) 07:24 < dfc> and recently Dail was made non blocking 07:24 < Namegduf> Hmm, that is an interesting consequence. 07:26 -!- JIghtuse [~jightuse1@195.149.202.254] has quit [Ping timeout: 260 seconds] 07:26 < Namegduf> The issue is in your printed stack 07:26 < Namegduf> It isn't that it spawned a goroutine. 07:27 < Namegduf> It's: runtime.chanrecv(0xf8400253c0, 0x21b9bb0, 0x0, 0x0, 0x0, ...) 07:27 < Namegduf> It's gone to sleep waiting on another goroutine during init 07:27 < Namegduf> But the other goroutine will never run. 07:27 < Namegduf> Special case of a deadlock. 07:28 < dfc> because it's inside init() and main hasn't started yet 07:28 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping timeout: 248 seconds] 07:28 < Namegduf> Yep. 07:28 -!- manveru [~manveru@b08s28ur.corenetworks.net] has quit [Remote host closed the connection] 07:28 < dfc> hmm, so, at its heart you can't use chan <- value inside init() 07:28 < Namegduf> Not a blocking one. 07:29 -!- djcapelis [~djc@blender/coder/DJCapelis] has quit [Ping timeout: 240 seconds] 07:29 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:29 < Namegduf> Nor a blocking value <- chan. 07:29 < Namegduf> Blocking means yielding until another goroutine acts, which never happens. 07:30 -!- djcapelis [~djc@capelis.dj] has joined #go-nuts 07:30 < dfc> ahh 07:30 -!- djcapelis [~djc@capelis.dj] has quit [Changing host] 07:30 -!- djcapelis [~djc@blender/coder/DJCapelis] has joined #go-nuts 07:30 -!- manveru [~manveru@b08s28ur.corenetworks.net] has joined #go-nuts 07:30 < dfc> and because it's blocking 07:30 < dfc> you end up at the scheduler 07:30 < Namegduf> Yep. 07:30 < dfc> and it freaks out because it's inside an init context 07:30 < Namegduf> Which it has to do because init will never be woken up 07:31 < Namegduf> Because no other goroutines start until it is done. 07:31 < dfc> because all goroutines are asleep 07:31 < dfc> catch 22 07:31 < Namegduf> I wonder if you could use cgo to get at blocking network I/O, heh. 07:31 < uriel> as far as I know, you really shouldn't be doing that kind of stuff in init() 07:31 < Namegduf> (Obviously not a good solution here, just an interesting thought) 07:32 < dfc> i'll update the issue with what I was *trying* to do 07:32 < Namegduf> Well, it looks like you can't do it in init. 07:32 < dfc> ie, not come up with nasty corner cases 07:32 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 07:32 < Namegduf> WorkingAsIntended? 07:32 < Namegduf> Or WontFix? 07:33 < Namegduf> It is a bit annoying I guess to have to do that kind of stuff separately, but hard to fix. 07:33 < Namegduf> Concurrent init would simultaneously be cool and make a lot of things a lot more annoying 07:34 < Namegduf> And thus is probably not worth it. :( 07:34 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 07:34 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 07:35 < dfc> Namegduf: and making the chan inside pkg/net noblocking would add a lot of complexity for this edge case 07:36 < Namegduf> Wouldn't solve it. 07:36 < Namegduf> The reason it crashes is that it's getting into the scheduler 07:37 < dfc> but its going into the scheduler because the chan is synchronus 07:37 < Namegduf> But the reason it's waiting on a channel is that goroutine 2 there is handling I/O 07:37 < Namegduf> You could busyloop on the channel doing non-blocking reads all day and you still wouldn't have a connection. 07:38 -!- a2800276 [~a2800276@88.128.85.185] has joined #go-nuts 07:38 < dfc> anyhoo 07:38 < Namegduf> It'd just need to do non-blocking I/O, which would add a lot more complexity just for init. 07:38 < dfc> WontFix or YourDoingItWrong will suffice for this issue 07:38 < Namegduf> Er, blocking I/O 07:38 < Namegduf> Is that second one a real classification? 07:38 < dfc> probably not, but the resolution status appears to be free text 07:39 < dfc> i've seen new ones added over time 07:39 -!- Project_2501 [~Marvin@82.84.85.36] has joined #go-nuts 07:41 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts 07:44 < wrtp> http://code.google.com/p/go/issues/detail?id=583 07:44 -!- royger_ [~royger@tina.upc.es] has joined #go-nuts 07:46 -!- nkdnstbr_ [~nkdnstbr@li118-64.members.linode.com] has quit [Read error: Connection reset by peer] 07:46 * uriel still doesn't see the point of doing something like this in init 07:46 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 240 seconds] 07:46 < uriel> do we really want packages opening connections and stuff like that in init? don't think so 07:51 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 07:53 < wrtp> uriel: the point is not really about making connections, but that it can be idiomatic in Go to use goroutines to get stuff done... and you can't do that in the init phase 07:53 < uriel> wrtp: that is true, but still, I think init() is quite special, and to let people run arbitrary code in init might be counterproductive, but maybe I'm wrong 07:56 < wrtp> uriel: problem is you don't know what a package is doing under the hood - a pkg func you call at init time might work one time, and some time later it might fail because the author started using goroutines 07:56 < wrtp> personally, i don't see any problem with running arbitrary stuff at init time 07:56 < wrtp> i don't see that it would be any harder to debug than running arbitrary stuff at any other time 08:02 -!- kr [~Keith@c-24-5-193-165.hsd1.ca.comcast.net] has quit [Quit: WeeChat 0.3.4] 08:04 < uriel> wrtp: that is a good point 08:04 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 08:04 < uriel> maybe you are right 08:04 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 08:04 < uriel> still, i fear init() might end up being abused, I don't like too much crazy magic stuff to happen as soon as I import something 08:05 -!- a2800276 [~a2800276@88.128.85.185] has quit [Quit: a2800276] 08:06 -!- foocraft [~dsc@89.211.191.40] has joined #go-nuts 08:08 < mpl> off the top of their head, does anyone know how to disable compression on the remote when git pulling? 08:09 < taruti> mpl: you are writing git in go? 08:09 < mpl> no. just using git. as many ppl do here I suppose. 08:10 < mpl> and I occasionnaly put pics on my store-everything git repo. when that happens it's pretty useless that git tries to compress them before sending them. it just stresses the poor cpu on my server for nothing while I have plenty of b/w. 08:17 -!- mikespook [~mikespook@219.137.252.193] has joined #go-nuts 08:17 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has quit [Remote host closed the connection] 08:26 -!- petrux_ [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has joined #go-nuts 08:28 < taruti> who was the one writing git in Go? 08:29 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has quit [Ping timeout: 248 seconds] 08:30 < edsrzf> I've written a little Git in Go 08:31 < taruti> edsrzf: link to your repo? 08:31 < edsrzf> https://github.com/edsrzf/go-git 08:31 < mpl> I'm getting error messages such as sqlite.go:7[_obj/sqlite.cgo1.go:10]: inconsistent definition for type reflect.Type during import 08:31 < taruti> thanks 08:31 < edsrzf> It's not really in any sort of usable shape 08:31 < mpl> when building gosqlite, anyone seen that? 08:32 < vegai> the go libraries do not have any sort of version dependency system, do they? 08:32 < vegai> has anyone talked about implementing one? 08:33 < edsrzf> mpl: It probably means that you have different packages linked with different versions of the reflect package 08:33 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Read error: Connection reset by peer] 08:33 < royger_> how can I set a reflect.Value to nil? 08:34 < edsrzf> val = reflect.NewValue(nil) 08:34 < edsrzf> I'm not sure if that's the idiomatic way to do it or not anymore. 08:34 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts 08:34 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 08:34 < royger_> gofix didn't get that 08:34 < royger_> edsrzf: thanks 08:34 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 08:35 < mpl> edsrzf: I'm not using reflect myself, just importing gosqlite. 08:35 < royger_> edsrzf: reflect.NewValue is no longer 08:35 < edsrzf> Oh, right. reflect.ValueOf(nil) 08:35 < edsrzf> I forgot its name changed. :) 08:36 < royger_> edsrzf: niceee 08:36 < edsrzf> mpl: Probably your gosqlite was compiled against a different version of the reflect package than your other packages 08:38 < mpl> edsrzf: ah forget my last sentence, I'm getting that error when building gosqlite itself, so it has nothing to do with me importing it in my project. 08:38 < royger_> is there an online godoc server with pages up to date to latest changes? 08:39 < edsrzf> royger_: tip.goneat.org/pkg 08:39 -!- petrux_ [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has quit [Quit: leaving] 08:39 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has joined #go-nuts 08:41 < royger_> edsrzf: thanks again 09:05 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 09:05 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 09:08 < mpl> edsrzf: nm, my go tree was not recent enough, all's well with the weekly. 09:23 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote host closed the connection] 09:29 -!- arun [~arun@unaffiliated/sindian] has quit [Remote host closed the connection] 09:33 -!- arun [~arun@unaffiliated/sindian] has joined #go-nuts 09:34 -!- mikespook [~mikespook@219.137.252.193] has quit [Quit: Leaving.] 09:40 -!- ab3 [~abe@83.101.90.66] has joined #go-nuts 09:48 -!- royger_ [~royger@tina.upc.es] has quit [Quit: leaving] 09:56 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 09:56 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 10:02 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 258 seconds] 10:06 -!- sebastia1skejoe [~sebastian@188.114.142.217] has joined #go-nuts 10:06 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has quit [Quit: Leaving.] 10:07 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Read error: Operation timed out] 10:08 -!- arun [~arun@unaffiliated/sindian] has quit [Remote host closed the connection] 10:08 -!- arun [~arun@2001:610:110:4e2:280:5aff:fe69:e130] has joined #go-nuts 10:08 -!- arun [~arun@2001:610:110:4e2:280:5aff:fe69:e130] has quit [Changing host] 10:08 -!- arun [~arun@unaffiliated/sindian] has joined #go-nuts 10:09 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 10:17 -!- nixness [~dsc@78.100.203.239] has joined #go-nuts 10:19 -!- foocraft [~dsc@89.211.191.40] has quit [Ping timeout: 276 seconds] 10:26 -!- ab3 [~abe@83.101.90.66] has quit [Ping timeout: 258 seconds] 10:26 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 10:26 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 10:36 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-175-39.clienti.tiscali.it] has joined #go-nuts 10:38 -!- Project_2501 [~Marvin@82.84.85.36] has quit [Ping timeout: 260 seconds] 10:48 -!- a2800276 [~a2800276@88.128.90.207] has joined #go-nuts 10:49 -!- l00t [~i-i3id3r_@189.105.102.222] has quit [Quit: Leaving] 10:52 -!- shvntr [~shvntr@116.26.133.17] has joined #go-nuts 10:56 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 10:56 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 10:57 < xyproto> Is Go better than C++ for large projects, in other ways than just that it compiles quickly? 11:00 < vegai> Yes. 11:00 < xyproto> and in other ways than the type system? 11:00 < vegai> ... Yes. 11:01 < vegai> (I'm not helping, am I?) 11:01 < xyproto> vegai: well, that depends: Is this sentence false? :P 11:03 < xyproto> no, wait, it's "This sentence is false". (ref both Liar Paradox and Portal 2) 11:06 < vegai> sadly, I've avoided large C++ projects 11:06 < vegai> or in fact all large projects 11:06 < uriel> flipping bits with a magnet is better than c++ for large projects (and small ones) 11:06 < vegai> wait, that's not sad 11:06 < uriel> vegai: that is indeed not sad, that is very lucky 11:08 < vegai> it is 11:11 < xyproto> I agree on the C++ critisism, but I tried to convince a college during lunch today, with no luck. The supremacy of the visual studio debugger was his main argument. 11:11 < xyproto> (that C++ is not great for large projects, and that Go might be better) 11:12 < vegai> he's right that you need a good debugger if you code in C++ :) 11:12 < xyproto> Having a solid argument for why exactly Go is better for large projects would be great 11:12 < xyproto> vegai: yeah :) 11:12 < kimelto> is it? :) 11:12 < vegai> Go both encourages and embodies simplicity 11:12 < vegai> and simplicity is good 11:13 < vegai> if your opponent doesn't agree with that, I'm not sure what to do 11:14 < xyproto> vegai: good one, but he's been programming C++ for the last 10 years (at list). Every argument that I can't provide at least 42 references for, won't fly. ;) 11:14 < xyproto> *at least 11:14 < kimelto> so it is not for big project as big tends to be the opposite of simplicity. bleh ;p 11:14 < vegai> after 10 years of experience, he's probably pretty good in C++ 11:14 < vegai> so it might very well make sense for him to use it 11:14 < xyproto> The quick compilation of Go is a good argument. It's easy to demonstate the advantage. 11:15 < xyproto> vegai: yes, and I'm not trying to win him over, or convince him that Go is better in every way, just that it might have its merits 11:15 * vegai shrugs 11:15 < xyproto> vegai: or at least that it's not silly 11:15 < vegai> people who like C++ are in such a different world from myself, I'm not sure I can understand them well enough to provide good arguments 11:16 < vegai> it's like arguing with people who hate blacks 11:16 < xyproto> no, there are specific advantages that Go has. Like the channels and goroutines. Quick compilation times. The way multiple inheritance does not exist. 11:17 < xyproto> Stuff like that. 11:17 < uriel> 11:12 < xyproto> Having a solid argument for why exactly Go is better for large projects would be great 11:17 < uriel> xyproto: easy: write a large project in Go 11:17 < xyproto> uriel: that would be a great way to discover the advantages myself, but not for learning them from someone else 11:17 < uriel> also, C++ damages the brain, no amount of rational or emotional arguments will work, nor any amount of evidence 11:18 < xyproto> he's a clever guy, though. The Norwegian champion in the game of Go, and has been programming some Haskell. 11:18 < xyproto> He's not brain damaged in any way I can tell, even from a lot of C++ coding. 11:19 < xyproto> He might be, though. You never know,. 11:20 < vegai> so his ability to think is above that of most people 11:20 < vegai> and his ability to process multiple complex things 11:20 < uriel> being smart != being wise 11:21 < uriel> if you are smart, you can convince yourself of the most idiotic things imaginable 11:21 < xyproto> uriel: I agree. It's also != from being knowledgeable. 11:21 < uriel> like that c++ is a good language 11:22 < xyproto> I see. 11:22 < xyproto> Oh well, I assume that no more fruit will be born from this question. Thanks. 11:22 < xyproto> And yes, fruit can be born. :) 11:23 -!- dfc [~dfc@124-149-120-21.dyn.iinet.net.au] has joined #go-nuts 11:26 -!- sacho [~sacho@95-42-64-32.btc-net.bg] has joined #go-nuts 11:26 -!- sacho [~sacho@95-42-64-32.btc-net.bg] has quit [Max SendQ exceeded] 11:27 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 11:27 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 11:27 -!- sacho [~sacho@95-42-64-32.btc-net.bg] has joined #go-nuts 11:31 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 11:33 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 11:33 -!- JIghtuse [~jightuse1@195.149.202.254] has joined #go-nuts 11:35 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-173-59.clienti.tiscali.it] has joined #go-nuts 11:36 -!- shvntr [~shvntr@116.26.133.17] has quit [Quit: leaving] 11:38 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-175-39.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 11:40 -!- artefon [~thiago@187.58.4.179] has joined #go-nuts 11:41 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 11:43 < wrtp> i think the package system is a good reason why go is good for larger scale programming 11:45 * uriel finds that argument dubious 11:45 < uriel> oh, sorry, you mean for building large projects, that is true 11:45 < uriel> but I don't think it is the main reason 11:46 < uriel> I was thinking of goinstall (ie., 'package management', which I'm quite sure is not what you meant) 11:47 < wrtp> i meant the way that initialisation works and the way that packages cannot have cyclic dependencies 11:47 < wrtp> although i think that goinstall is cool too 11:48 < uriel> yea, you are right, and that does help with big projects, but I don't think it is the main advantage of Go over c++ in big projects 11:49 < uriel> simplicity and sanity is the biggest advantage 11:49 < uriel> lack of a billion obscure 'features' that nobody fully understands and that make it very hard to know what code does (obvious examples are operator overloading and templates, but there are more) 11:50 < uriel> gofmt might seem trivial but also helps greatly in big projects to keep all code uniform 11:51 < uriel> and goinstall is cool, just not very relevant for big projects IMHO 11:51 < wrtp> those features are important in small projects too 11:52 < uriel> obviously 11:52 < Namegduf> I wish JavaScript didn't have cyclic dependencies. 11:53 < Namegduf> I want to kill the person who originally wrote some code I have to look after due to passing in a "parent object" and operating on its methods, meaning neither can be used separately. 11:53 < Namegduf> Go is nice for gently pushing you away from horrible designs 11:57 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 11:57 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 12:00 < uriel> and forcing you to keep your code clean and tiddy 12:04 -!- napsy [~luka@193.2.66.6] has joined #go-nuts 12:06 -!- kamaji [~kamaji@cpc2-aztw22-2-0-cust775.aztw.cable.virginmedia.com] has joined #go-nuts 12:08 -!- virtualsue [~chatzilla@nat/cisco/x-bqgbgkrtpgjnjzuy] has joined #go-nuts 12:19 -!- dreisner [~noclaf@12.88.235.74] has joined #go-nuts 12:20 -!- dreisner [~noclaf@12.88.235.74] has quit [Changing host] 12:20 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 12:20 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has left #go-nuts [] 12:27 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 12:27 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 12:29 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 12:29 -!- rutkowski [~adrian@078088201242.walbrzych.vectranet.pl] has joined #go-nuts 12:45 -!- niemeyer [~niemeyer@201-40-174-223.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 12:46 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 12:47 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has left #go-nuts [] 12:56 -!- zerosanity [~josh@8.20.178.82] has joined #go-nuts 12:57 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 12:57 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 13:02 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has joined #go-nuts 13:05 -!- lnostdal [~Lars@213.80-202-59.nextgentel.com] has joined #go-nuts 13:06 < lnostdal> hi guys! what sort of GC does Go have? is it precise? generational? 13:08 -!- sebastia1skejoe [~sebastian@188.114.142.217] has quit [Ping timeout: 246 seconds] 13:09 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 13:09 < aiju> lnostdal: mark and sweep 13:10 < aiju> supposedly to be replaced with something better eventually 13:11 -!- gtaylor [~gtaylor@99-126-136-139.lightspeed.gnvlsc.sbcglobal.net] has joined #go-nuts 13:26 -!- a2800276 [~a2800276@88.128.90.207] has quit [Quit: a2800276] 13:27 < wrtp> lnostdal: it's conservative, not precise, at present i think 13:27 < lnostdal> ok, wrtp; thanks :) 13:28 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 13:28 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 13:30 -!- JIghtuse [~jightuse1@195.149.202.254] has quit [Ping timeout: 240 seconds] 13:30 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 276 seconds] 13:39 -!- iant [~iant@67.218.109.241] has joined #go-nuts 13:39 -!- mode/#go-nuts [+v iant] by ChanServ 13:39 -!- Venom_X [~pjacobs@75.27.133.72] has joined #go-nuts 13:40 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 258 seconds] 13:42 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts 13:55 -!- napsy [~luka@193.2.66.6] has quit [Quit: Lost terminal] 13:58 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 13:58 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 14:02 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Remote host closed the connection] 14:03 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts 14:04 -!- iant [~iant@67.218.109.241] has quit [Ping timeout: 240 seconds] 14:05 -!- iant [~iant@216.239.45.130] has joined #go-nuts 14:05 -!- mode/#go-nuts [+v iant] by ChanServ 14:14 -!- gedevan [~gedevan@83.167.106.253] has joined #go-nuts 14:14 -!- gedevan [~gedevan@83.167.106.253] has quit [Client Quit] 14:14 -!- gedevan [~gedevan@83.167.106.253] has joined #go-nuts 14:19 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 240 seconds] 14:21 -!- gedevan [~gedevan@83.167.106.253] has quit [Quit: Linkinus - http://linkinus.com] 14:23 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/] 14:24 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 14:28 -!- TheMue_ [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 14:28 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 14:29 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Remote host closed the connection] 14:29 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has quit [Quit: leaving] 14:30 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 14:34 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 14:37 -!- Venom_X_ [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 14:38 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has left #go-nuts [] 14:40 -!- Venom_X [~pjacobs@75.27.133.72] has quit [Ping timeout: 258 seconds] 14:45 -!- sebastia1skejoe [~sebastian@188.114.142.217] has joined #go-nuts 14:47 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts 14:49 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Ping timeout: 258 seconds] 14:53 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 14:54 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 14:57 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 14:58 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Read error: Connection reset by peer] 14:59 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has joined #go-nuts 15:03 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit: Leaving.] 15:04 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/] 15:06 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 260 seconds] 15:06 -!- artefon [~thiago@187.58.4.179] has quit [Quit: bye] 15:12 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 15:23 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 15:23 -!- TheMue [~TheMue@wlan-hotspot-121.ewe-ip-backbone.de] has quit [Quit: TheMue] 15:24 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.] 15:38 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 15:47 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts 15:51 -!- wrtp [~rog@92.17.111.113] has quit [Quit: wrtp] 15:54 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/] 15:54 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 15:55 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 15:55 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 15:58 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has joined #go-nuts 16:00 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts 16:00 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts [] 16:00 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has quit [Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/] 16:01 -!- PJRobins [~kvirc@184-100-100-163.mpls.qwest.net] has joined #go-nuts 16:07 -!- iant [~iant@nat/google/x-lustiqeolvwitbfy] has joined #go-nuts 16:07 -!- mode/#go-nuts [+v iant] by ChanServ 16:13 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has joined #go-nuts 16:16 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 16:16 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 16:16 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 16:24 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Leaving...] 16:25 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 16:35 -!- a2800276 [~a2800276@88.128.87.192] has joined #go-nuts 16:37 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has quit [Read error: Connection reset by peer] 16:38 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 16:40 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 16:44 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Ping timeout: 246 seconds] 16:44 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 16:50 -!- soapy_illusions [~alex@modemcable005.105-177-173.mc.videotron.ca] has joined #go-nuts 16:50 -!- skelterjohn [~jasmuth@128.6.168.245] has joined #go-nuts 16:52 < skelterjohn> morning 16:52 < aiju> evening 16:52 < soapy_illusions> Hi, getting back into Go, and trying to remember how to do the following: gzip.NewWriter requires any io.Writer, if I simply want the compressed string of bytes to printed (like fmt.Printf) how might I do that 16:52 -!- ab3 [~abe@ip-83-134-160-54.dsl.scarlet.be] has joined #go-nuts 16:53 < skelterjohn> soapy_illusions: pass it os.Stdin 16:53 < skelterjohn> err 16:53 < skelterjohn> os.Stdout 16:53 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 16:56 < soapy_illusions> ahh that's exactly what I needed, thanks a lot... p.s. anyone know the best compression algorithm to choose when compressing strings that are about 400 chars long 16:56 < soapy_illusions> not huge files... 16:57 -!- rutkowski [~adrian@078088201242.walbrzych.vectranet.pl] has quit [Quit: WeeChat 0.3.3-dev] 16:58 < skelterjohn> huffman coding http://en.wikipedia.org/wiki/Huffman_coding 16:58 < skelterjohn> provably optimal 16:58 < jbooth1> provably? 16:59 < jbooth1> or probably 16:59 -!- keithgcascio [~keithcasc@nat/google/x-mnjomyekysqubonm] has joined #go-nuts 16:59 < skelterjohn> provably probably optimal :) 16:59 < jbooth1> didn't know that 16:59 < jbooth1> why isn't it used more, too cpu intensive? 17:00 < jbooth1> or are gzip and lzo actually using huffman coding 17:00 < skelterjohn> it is optimal for a very specific thing, it's important to note 17:00 < skelterjohn> i believe all modern lossless compression algorithms are based in part on huffman coding 17:00 < jbooth1> ok, like readable text where you have a small number of different bytes? 17:00 < skelterjohn> the first paragraph of the wiki describes the constraints on its optimality 17:01 < skelterjohn> it won't, for instance, abbreviate 800 zeros in a row 17:01 < jbooth1> ah, optimal if you can do a double pass to get exact probabilities 17:01 < jbooth1> yeah 17:01 -!- m4dh4tt3r [~Adium@c-98-210-145-213.hsd1.ca.comcast.net] has joined #go-nuts 17:02 < jbooth1> but it might pack them into a bunch of 0-bits so it'll be 100 bytes 17:02 * jbooth1 only done whiteboard huffman coding 17:02 < skelterjohn> it is a mapping of single characters to numbers, where the numbers chosen for each character are done so that the fewest possible number of bits are used 17:03 < soapy_illusions> cool, thanks a lot guys 17:03 < jbooth1> yeah and then you have to do something roughly varint-ish to distinguish the different tokens from each other 17:03 < skelterjohn> i'm not sure how practically useful my suggestion is :) 17:03 < skelterjohn> jbooth1: i believe that's built into the encoding 17:03 < jbooth1> yeah 17:03 < aiju> why would you compress 400 bytes 17:03 < aiju> are you using core memory or something? 17:03 < skelterjohn> that's another good question 17:04 < skelterjohn> or maybe he has 9000 400 byte files 17:04 < skelterjohn> and he wants to fit it onto a floppy disk 17:04 < skelterjohn> my suggestion would be tgz 17:04 < aiju> yeah 17:04 < aiju> or txz if you have OCD 17:04 < skelterjohn> what's txs 17:04 < skelterjohn> txz 17:04 < aiju> .tar.xz 17:05 < skelterjohn> the embedded question was "what is xz" 17:05 < aiju> yet another compression algorithm 17:05 < skelterjohn> oh wow - that's actually googlable 17:05 < skelterjohn> i assumed that nothing would turn up 17:05 < aiju> i don't know anything else about it 17:05 < soapy_illusions> haha, I have hundreds of thousands of lines that are about 400 bytes long but are independant and need to be stored in memory (not disk) want to optimize as much as possible 17:06 < skelterjohn> soapy_illusions: what generated the lines? 17:06 < jbooth1> soapy i'd say LZO, slightly less compression but much less CPU than gzip 17:06 < skelterjohn> if they are, for instance, english words 17:06 < soapy_illusions> they are 17:06 < skelterjohn> you can do clever stuff 17:06 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 17:06 < soapy_illusions> well mostly... 17:06 < soapy_illusions> something like tries? 17:06 < skelterjohn> make a table of words 17:06 < jbooth1> yeah if you have a vocabulary of only 20k words 17:06 < skelterjohn> assign each a number 17:07 < jbooth1> build a table, that's a short, 2 bytes 17:07 < skelterjohn> store your strings as number arrays 17:07 -!- a2800276 [~a2800276@88.128.87.192] has quit [Quit: a2800276] 17:07 -!- dreisner [~noclaf@archlinux/trusteduser/falconindy] has left #go-nuts [] 17:07 < soapy_illusions> ya I have many english words, but too many usernames and numeric values to make it worth it (too bad) 17:07 < aiju> doesn't english have more than 65536 words? :D 17:07 < jbooth1> does it? 17:07 < jbooth1> i'm actually not sure 17:07 < skelterjohn> yes 17:07 < skelterjohn> 140k i think 17:08 < soapy_illusions> aiju, I would bet only 20k are used in 90% of texts 17:08 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 17:08 < aiju> true 17:08 < skelterjohn> soapy_illusions: they don't have to be real words 17:08 < skelterjohn> they just have to have an average length that is long enough 17:08 < soapy_illusions> skelterjohn, ohh good point 17:08 < skelterjohn> and they need to not all be unique 17:08 < skelterjohn> otherwise your table is as big as your original data set 17:09 < aiju> and for these words you can use huffman coding! 17:09 < skelterjohn> and you could also use huffman encoding, and treat the words as individual symbols :) 17:09 < skelterjohn> nooooo 17:09 < skelterjohn> too slow 17:09 < soapy_illusions> now where getting to the OCD level :P 17:10 < skelterjohn> a lookup table would be a good start 17:10 < aiju> just require the user to install more RAM 17:10 < aiju> works these days 17:10 < skelterjohn> also true 17:11 < soapy_illusions> i know I am so afraid of working with an in-memory database, but so many ppl have sooo much ram 17:11 < skelterjohn> here's your in-memory database - "var db map[int]string" 17:13 < soapy_illusions> haha 17:15 -!- sebatianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost terminal] 17:17 -!- m4dh4tt3r [~Adium@c-98-210-145-213.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 17:22 < Namegduf> An optimised trie would be a decent idea. 17:23 < Namegduf> No offense to anyone intended, though, but the trie library out there is useless. 17:23 < Namegduf> It's horribly space inefficient. 17:23 < Namegduf> A map in each node, no compression of sequences of a single child. 17:24 < Namegduf> That's well over a hundred bytes to store each character... 17:28 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 17:34 < xyproto> how is xor for bools written? 17:35 -!- Venom_lnch [~pjacobs@66.54.185.131] has quit [Ping timeout: 252 seconds] 17:37 -!- jyxent [~jyxent@129.128.191.54] has quit [Ping timeout: 246 seconds] 17:37 < fzzbt> like this ^ ? 17:37 < jbooth1> lol 17:39 < xyproto> fzzbt: no, that does not work 17:40 < skelterjohn> xyproto: a != b 17:40 < skelterjohn> will do a xor b 17:41 < xyproto> skelterjohn: ah, good point. Thanks 17:43 -!- jyxent [~jyxent@129.128.191.54] has joined #go-nuts 17:45 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 17:48 < delinka> in response to an article on HN (Systems Programming with Racket), I saw this comment: 'The Go language is also claiming to be a "Systems Programming Language" but I won't use it for what I call "Systems Programming"...' 17:48 < delinka> so what would be the downside to writing a kernel in Go? 17:48 < xyproto> delinka: I've already argued for porting the Linux kernel to Go. Someone just have to make a github project. ;) 17:49 < skelterjohn> hmm. i don't know much about kernel programming, but i do know that go gives no control over scheduling goroutines 17:49 < skelterjohn> and in kernels i feel like you want to have control over anything 17:49 < xyproto> skelterjohn: you could write tiny C or assembly snippets for those parts, though? 17:50 < delinka> that's just part of the runtime, right? since Go's current implementation is open source, it's tweakble. 17:50 < skelterjohn> like i said, i don't know much about this stuff 17:50 < skelterjohn> a better "next step" would be drawing tools 17:51 < xyproto> I've written a simple os with C and assembly. If there are parts that must be in assembly, they can be linked in. 17:51 < delinka> I mean, there might be some obvious places you *need* asm, but ... I don't get why Go would be a bad idea for a new OS. 17:51 < xyproto> delinka: I don't think it is (a bad idea) 17:51 < Namegduf> There are parts where garbage collection can't work. 17:51 < Namegduf> Nor Go's fondess for implicit allocations. 17:51 < Namegduf> But those are minimal enough. 17:52 < Namegduf> I think someone was trying, but they stopped due to having to rely on internals for the special parts, with the Go language change rate. 17:54 < skelterjohn> a way to specify a different allocator would be necessary, to be sure 17:55 < delinka> I'd probably be tempted to implement a shell before a kernel-- backgrounding, pipes, etc --surely you'd get a taste for some of the problems that need solving in the kernel space 17:57 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 18:01 < xyproto> delinka: that depends on how revolutionary your kernel design would be 18:12 -!- nixness [~dsc@78.100.203.239] has quit [Ping timeout: 240 seconds] 18:17 -!- jyxent [~jyxent@129.128.191.54] has quit [Quit: leaving] 18:18 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 18:18 -!- jyxent [~jyxent@129.128.191.96] has quit [Client Quit] 18:19 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 18:19 -!- sacho [~sacho@95-42-64-32.btc-net.bg] has quit [Read error: Connection reset by peer] 18:19 -!- huin [~huin@91.84.64.19] has joined #go-nuts 18:25 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has left #go-nuts [] 18:25 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 18:28 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts 18:29 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:c807:c111:7c1c:726a] has joined #go-nuts 18:30 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Ping timeout: 248 seconds] 18:31 -!- firwen [~firwen@gex01-1-78-234-55-225.fbx.proxad.net] has joined #go-nuts 18:35 -!- niemeyer_ [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 18:38 -!- TheMue [~TheMue@p5DDF53F9.dip.t-dialin.net] has joined #go-nuts 18:38 -!- niemeyer [~niemeyer@201-40-174-223.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 18:39 -!- kr [~Keith@c-24-5-193-165.hsd1.ca.comcast.net] has joined #go-nuts 18:44 -!- nkdnstbr [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 18:48 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 18:51 -!- a2800276 [~a2800276@xdsl-213-196-217-252.netcologne.de] has joined #go-nuts 18:52 < Bigbear1> can you make a website with Go programming language? 18:57 < skelterjohn> of course 18:57 < skelterjohn> that is one of the main targets 18:59 < skelterjohn> i remember you asked that in here once before, a day or two ago 18:59 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Operation timed out] 18:59 < skelterjohn> and got the same response, albeit from a different person 18:59 < aiju> apparently i didn't use enough vitriol when i answered that question 18:59 < skelterjohn> or you used too much 19:00 < aiju> no such thing 19:00 < skelterjohn> maybe you should have answered in caps 19:00 < skelterjohn> too bad we can't specify what font our messages are in, on irc 19:00 < aiju> i'd use fraktur all the time 19:01 < skelterjohn> that would make it even easier to ignore you 19:01 < aiju> haha 19:01 < aiju> there is /ignore already 19:02 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has joined #go-nuts 19:07 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 19:11 -!- skelterjohn [~jasmuth@128.6.168.245] has quit [Quit: skelterjohn] 19:16 < TMKCodes> Only problem i'm having with Go website creation I seem not to understand how to handle cookies 19:17 < soapy_illusions> ... Would be interested to hear answers about cookie handling, and for anyone starting out with web programming and Go checkout web.go on github 19:17 < aiju> cookies are spawn from hell ;P 19:17 < TMKCodes> web.go does not compile for me 19:19 < soapy_illusions> change branch to the release version unless you are using go weekly 19:20 < soapy_illusions> (and by change branch I mean checkout the release branch of web.go) 19:21 < TMKCodes> soapy_illusions, will try 19:23 < soapy_illusions> aiju, agreed that they are a spawn from hell, but is there any better way to do session management 19:24 < TMKCodes> request.go on master web.go does not compile in the latest go 19:26 -!- Kafo [~Henry@a91-152-179-101.elisa-laajakaista.fi] has joined #go-nuts 19:30 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Read error: Connection reset by peer] 19:31 < tux21b> assuming i want to be able to read from (immutable parts) of a file concurrently. What is the best way to deal with that? Can file.ReadAt be called concurrently? or should I create a pool of files objects for that? 19:31 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 19:31 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts 19:32 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 246 seconds] 19:35 -!- a2800276 [~a2800276@xdsl-213-196-217-252.netcologne.de] has quit [Quit: a2800276] 19:45 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 19:49 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 19:58 -!- ab3 [~abe@ip-83-134-160-54.dsl.scarlet.be] has quit [Ping timeout: 264 seconds] 19:59 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 20:00 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 20:08 -!- a2800276 [~a2800276@xdsl-213-196-217-252.netcologne.de] has joined #go-nuts 20:09 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 20:18 < huin> tux21b: ReadAt doesn't look like it can be safely used from multiple goroutines for the same instance of *File 20:19 < aiju> the pread/pwrite syscall should work concurrently 20:19 < aiju> there should be some way to invoke them ... 20:19 < huin> it's the position in the file that creates trouble 20:19 < huin> it potentially makes more than one syscall 20:19 < aiju> pread/pwrite have a position argument 20:19 < aiju> and are syscalls 20:20 < huin> ah, that might be okay then 20:20 < aiju> they are meant specifically for that kind of thing 20:20 < aiju> i'm not sure *BSD has them, though 20:20 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts 20:21 < mtrichardson> soapy_illusions: going back to the cookie discussion - as best I can tell if you're using raw http you have to set the header strings manually. w.Headers().Add("Set-Header", "cookie string") 20:21 < huin> aiju: apparently they are in POSIX 20:21 < aiju> is *BSD 100% POSIX compatible? 20:22 < soapy_illusions> mtrichardson, coming from a php background, I for sure miss my $_SESSION variable 20:22 < huin> *shrug* but then, http://golang.org/src/pkg/os/file.go?s=3432:3496#L89 doesn't specifically handle things differently for different OSs that i can see 20:22 < taruti> aiju: bsd has pwrite+pread 20:23 < huin> awesome. didn't know about those syscalls 20:23 < aiju> ReadAt should work 20:23 < mtrichardson> soapy_illusions: well, there's a cookie struct already but it's designed mainly for internal use around reading/setting already-set cookies on the request/response (I think) - seems you could add a method that attaches a properly created string to a ResponseWriter. I know they're working pretty heavily on that package right now, dunno if there's any thought into doing something like that. 20:24 < huin> tux21b: conclusion - ReadAt is concurrently safe with itself 20:24 < TMKCodes> mtrichardson that would be awesome. I have been looking actually if that would be possible. 20:25 < soapy_illusions> mtrichardson, haven't looked into it, but does web.go have that kind of functionality baked in (could be a very useful addition) 20:26 < mtrichardson> soapy_illusions: I haven't used web.go, but https://github.com/hoisie/web.go/blob/master/cookie.go#L81 is how they write cookies out using http's Cookie structs. 20:27 < TMKCodes> soapy_illusions, just to let you know "Set-Cookie: name2=value2; Expires=Wed, 09 Jun 2021 10:18:14 GMT" is the cookie header string 20:27 < soapy_illusions> thanks a lot, will definitely look into this 20:28 < TMKCodes> You could probably write a function which takes a Cookie structure and the responseWriter then writes this Cookie structure as string to the responsewriter 20:30 < TMKCodes> Though i want to know how to handle req.Cookie[0] index not being out of range 20:31 < TMKCodes> something like empty in php 20:32 < mtrichardson> TMKCodes: couldn't you len it? 20:32 -!- TheMue [~TheMue@p5DDF53F9.dip.t-dialin.net] has quit [Quit: TheMue] 20:33 -!- aho [~nya@fuld-590c7267.pool.mediaWays.net] has joined #go-nuts 20:33 < TMKCodes> mtrichardson, i realized that 20:34 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:c807:c111:7c1c:726a] has quit [Quit: Leaving.] 20:35 -!- zerosanity [~josh@8.20.178.82] has left #go-nuts [] 20:37 < soapy_illusions> on an unrelated note, what is the best way to turn a unicode rune into a readable string (unicode package didn't seem to have a function for that) 20:39 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 240 seconds] 20:42 < aiju> string() 20:42 < aiju> string(0x5350) 20:43 < TMKCodes> though mtrichardson there's no Headers field or method in http.ResponseWriter 20:44 < soapy_illusions> aiju, haha I wasn't even gonna try that, figuring it had to be much more complicated 20:45 < mtrichardson> TMKCodes: it's Header() - and that's a recent change. Here's the API: http://golang.org/pkg/http/#Header 20:46 < tux21b> huin, I've read the manpage of pread too, but I wasn't sure. Many thanks :) 20:47 < huin> tux21b: thank aiju who pointed the discussion in the right direction 20:48 < TMKCodes> mtrichardson yes but ResponseWriter does not have headers field or method 20:48 < TMKCodes> there's just w.SetHeader(); 20:48 < tux21b> ok, thank you too, aiju *g* 20:49 < mtrichardson> TMKCodes: again, this was a recent change, as of February 24 - http://golang.org/doc/devel/release.html#2011-02-24 20:52 < TMKCodes> mtrichardson, yes, but as i said Headers() is not field or method in responsewriter 20:52 < mtrichardson> TMKCodes: Header, not Headers. 20:53 < TMKCodes> w.Header undefined (type http.ResponseWriter has no field or method Header) 20:53 < mtrichardson> Then you don't have the latest go code :) 20:53 < TMKCodes> I do have 20:57 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 20:58 < TMKCodes> The actual call is w.SetHeader(); before w.Write call or w.WriteHeader after 20:59 < mtrichardson> TMKCodes: that's the old API. It was updated to allow for better access to headers, especially around setting multiple similar things - eg, multiple set-cookies. 21:00 < TMKCodes> mtrichardson, http://golang.org/pkg/http/#ResponseWriter 21:01 < mtrichardson> TMKCodes: If you're not tracking the weekly releases, you won't see the new API. 21:02 < TMKCodes> mtrichardson, as i said i have the newest and even the documentation is wrong if your call would be possible. 21:02 -!- keidaa [~keidaa@cm-84.210.56.138.getinternet.no] has joined #go-nuts 21:03 < keidaa> so.. when using the template package and passing a struct the fields needs to be exportable... 21:03 < keidaa> why so? 21:04 -!- huin [~huin@91.84.64.19] has quit [Quit: leaving] 21:04 < kamaji> keidaa: I think it's done at runtime, so template can't see the fields unless they're public 21:04 <+iant> keidaa: because the template package can't see the fields if they are not exported 21:05 < kamaji> yesssssss 21:05 < kamaji> :p 21:05 < keidaa> but the struct itself does not need to be exportable since its passed to the template 21:05 < keidaa> so isn't the fields passed with it..? 21:07 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has quit [Quit: Lost terminal] 21:07 < keidaa> i guess not:) 21:07 < kamaji> Yeah i'm stumped :p 21:08 < kamaji> which bit of template specifically? 21:08 < keidaa> execute 21:09 < keidaa> to me it seems that if you pass a private struct to some outside function it should gain access to all its fields 21:09 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao] 21:10 < keidaa> guess its enables you to pass around stuff but still protect parts of it 21:11 < mtrichardson> TMKCodes: http://code.google.com/p/go/source/detail?r=9da4e71e8f 21:11 < kamaji> I'm trying to find out if reflect gives unexported fields 21:13 < keidaa> kamaji: yes thats interesting if it does 21:13 < kamaji> I guess either way, someone is stopping you doing that on purpose 21:13 < kamaji> hehe 21:13 < kamaji> I would imagine it's template, since it seems like it could be useful to have some hidden fields 21:13 < TMKCodes> mtrichardson actually i might take it back. I might not have the newest :( 21:14 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 264 seconds] 21:15 < keidaa> kamaji: wonder if its case sensitive then when parsing the template 21:15 * keidaa testing... 21:16 < keidaa> yes it is:P 21:17 < keidaa> effectively meaning all vars in a template must be capitalized 21:17 < keidaa> not that I should care 21:17 < kamaji> it's the principle of the thing! 21:18 < kamaji> :D 21:18 -!- barkmore [~textual@216.243.14.55] has joined #go-nuts 21:18 -!- rlab_ [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 21:18 < keidaa> yes, it makes sense.. 21:19 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 21:20 -!- keidaa [~keidaa@cm-84.210.56.138.getinternet.no] has quit [Quit: Leaving] 21:25 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-173-59.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 21:33 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:33 -!- firwen [~firwen@gex01-1-78-234-55-225.fbx.proxad.net] has quit [Remote host closed the connection] 21:33 -!- XenoPhoenix [~Xeno@cpc13-aztw24-2-0-cust23.aztw.cable.virginmedia.com] has quit [Quit: "Wait... what?!"] 21:37 -!- a2800276 [~a2800276@xdsl-213-196-217-252.netcologne.de] has quit [Ping timeout: 276 seconds] 21:41 -!- dfc [~dfc@124-149-120-21.dyn.iinet.net.au] has quit [Quit: dfc] 21:45 < TMKCodes> mtrichardson, thank you for helping :) 21:45 < mtrichardson> TMKCodes: no problem! 21:48 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the Fish] 21:49 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Quit: Bye!] 21:53 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has quit [Remote host closed the connection] 21:54 -!- Venom_X_ [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 21:55 -!- barkmore [~textual@216.243.14.55] has quit [Ping timeout: 276 seconds] 21:57 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Ping timeout: 240 seconds] 22:01 -!- ako [~nya@fuld-590c62c8.pool.mediaWays.net] has joined #go-nuts 22:02 < Bigbear1> skelterjohn: how do you make a website with Go? 22:03 -!- ayo [~nya@fuld-590c62ea.pool.mediaWays.net] has joined #go-nuts 22:04 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 22:04 -!- aho [~nya@fuld-590c7267.pool.mediaWays.net] has quit [Ping timeout: 248 seconds] 22:06 -!- ako [~nya@fuld-590c62c8.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 22:06 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 264 seconds] 22:07 -!- Sep102 [~Sep102@c-71-231-176-153.hsd1.wa.comcast.net] has joined #go-nuts 22:09 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 22:15 -!- tvw [~tv@e176004082.adsl.alicedsl.de] has quit [Remote host closed the connection] 22:15 -!- foocraft [~ewanas@89.211.248.245] has joined #go-nuts 22:16 < TMKCodes> Hmm.. Now to wonder how to handle file uploads over http. :/ 22:17 -!- gtaylor [~gtaylor@99-126-136-139.lightspeed.gnvlsc.sbcglobal.net] has quit [Quit: gtaylor] 22:17 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 22:21 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 22:23 < skelterjohn> Bigbear1: basically, you use the http package. there are some examples on the go website 22:23 < mtrichardson> TMKCodes: there's some discussion on the mailing list - https://groups.google.com/group/golang-nuts/browse_thread/thread/276958547364ff1d for instance 22:24 < niemeyer> TMKCodes: You may be interested in this thread: http://groups.google.com/group/golang-dev/t/d28255b2f98620e3 22:24 < niemeyer> mtrichardson: Wow :) 22:24 < mtrichardson> niemeyer: I like your link better 22:24 < Bigbear1> skelterjohn: link? 22:24 < skelterjohn> golang.org 22:26 < Bigbear1> well I have lokked 22:26 < Bigbear1> looked* 22:28 < skelterjohn> and what did you find? 22:29 < Bigbear1> nothing 22:29 < skelterjohn> did you look at the documentation? 22:29 < skelterjohn> or tutorial links? 22:29 < skelterjohn> i am not google 22:30 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 22:30 < Bigbear1> I tried website site: http://golang.org in google 22:30 < Bigbear1> I tried looking through the site 22:30 < Bigbear1> only thing I found was that the golang website was a go program 22:30 < skelterjohn> this is two clicks from the main page: http://golang.org/doc/codelab/wiki/ 22:31 < skelterjohn> i clicked on documentation, and i clicked on a tutorial about web apps 22:35 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 22:35 < Bigbear1> can go be used as a cms? 22:36 < Namegduf> No. 22:36 < mtrichardson> Bigbear1: you would have to write a CMS in Go. 22:36 < Namegduf> Go is a programming language, and a CMS is a type of program. 22:37 < skelterjohn> what is a cms? 22:37 < skelterjohn> content management system? 22:37 < Namegduf> Yes. 22:38 < firwen> Some has already see for a possible integration of go in passenger ? 22:38 < Namegduf> A system for using 20MB of RAM and significant runtime per request to deliver mostly static content. 22:38 < firwen> this could be a cool idea, Phusion Passenger is more convenient than classique fcgi 22:39 < skelterjohn> what is passenger? 22:39 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 240 seconds] 22:39 < firwen> http://fr.wikipedia.org/wiki/Phusion_Passenger 22:39 < Namegduf> Already see some integrated go passenger possible some. 22:39 < firwen> french version sorry >< 22:40 < firwen> a scalable mod_rails for ruby and python language with apache and nginx 22:41 -!- ExtraSpice [XtraSpice@88.118.35.153] has quit [Remote host closed the connection] 22:47 -!- tehpwnz [~tehpwnz@41.223.119.129] has joined #go-nuts 22:54 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 22:57 < KirkMcDonald> I still say that an equivalent to WSGI would be a fine thing for Go. 22:57 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Read error: Connection reset by peer] 22:58 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 23:09 < Bigbear1> I installed Go and all seems to go well all tests were passed but when I run 6g hello.go it says 23:09 < Bigbear1> 6g: command not found 23:09 < Bigbear1> any ideas? 23:09 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Read error: Connection reset by peer] 23:10 < skelterjohn> yes - read documentation 23:10 < skelterjohn> however i feel that lesson won't stick 23:11 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 23:14 < skelterjohn> Bigbear1: yes - read the installation guide 23:15 < skelterjohn> it explains that issue and what you need to do 23:17 -!- tehpwnz [~tehpwnz@41.223.119.129] has quit [Quit: leaving] 23:18 < Namegduf> KirkMcDonald: There are FastCGI packages which work well. 23:19 < KirkMcDonald> Namegduf: FastCGI does an entirely different thing. 23:19 < Bigbear1> skelterjohn: I followed this http://golang.org/doc/install.html 23:19 -!- iant [~iant@nat/google/x-lustiqeolvwitbfy] has quit [Quit: Leaving.] 23:19 < KirkMcDonald> FastCGI is a wire protocol. WSGI defines a Python API. 23:19 < skelterjohn> http://golang.org/doc/install.html#environment 23:20 < Namegduf> Ah. 23:20 < Namegduf> So a package which provide an API to that protocol does do the equivalent function. 23:21 < Bigbear1> skelterjohn: I don't get it 23:21 < KirkMcDonald> Namegduf: I suppose. 23:21 < skelterjohn> you need to update your path to include the go bin directory 23:22 < Bigbear1> how 23:22 < Bigbear1> I installed it in Documents/go 23:22 < Bigbear1> is that ok? 23:22 < Bigbear1> or do I need to go to home/go 23:22 < skelterjohn> Bigbear1: I don't mind helping out a little, but I'm not going to explain how unix-like systems work in detail 23:22 -!- nkdnstbr_ [~nkdnstbr@li118-64.members.linode.com] has joined #go-nuts 23:22 < skelterjohn> google path environmental variables 23:23 -!- nkdnstbr_ [~nkdnstbr@li118-64.members.linode.com] has quit [Client Quit] 23:24 < KirkMcDonald> Environment variables. 23:24 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has quit [Read error: Connection reset by peer] 23:25 -!- Bigbear1 [~Cody@d173-181-58-84.abhsia.telus.net] has joined #go-nuts 23:31 -!- willdye [~willdye@fern.dsndata.com] has left #go-nuts [] 23:32 -!- iant [~iant@67.218.107.213] has joined #go-nuts 23:32 -!- mode/#go-nuts [+v iant] by ChanServ 23:35 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 23:36 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 23:58 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Quit: Venom_X] --- Log closed Wed May 04 00:00:50 2011