--- Log opened Thu Aug 04 00:00:19 2011 00:00 < knowmercy> looks like this is the culprit Env.Session: return this["mango.session"].(map[string]interface{}) 00:03 -!- prip [~foo@host134-125-dynamic.35-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 00:07 -!- rcrowley_ [~rcrowley@50-0-18-168.dsl.static.sonic.net] has quit [Quit: Computer has gone to sleep.] 00:11 -!- ancientlore [~ancientlo@ip68-110-238-176.dc.dc.cox.net] has joined #go-nuts 00:13 -!- i__ [~none@69.164.206.224] has quit [Changing host] 00:13 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts 00:14 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has quit [Remote host closed the connection] 00:15 -!- zeroXten [~zeroXten@0x10.co.uk] has quit [Ping timeout: 240 seconds] 00:17 < knowmercy> this looks to be a bug in mango 00:18 -!- Kumul [~Kumul@adsl-72-50-86-128.prtc.net] has quit [Quit: gone] 00:21 < knowmercy> actually the cookie creation seems quite incomplete 00:32 -!- qeed_ [~qeed@adsl-98-85-62-252.mco.bellsouth.net] has joined #go-nuts 00:34 -!- qeed [~qeed@adsl-98-85-47-170.mco.bellsouth.net] has quit [Ping timeout: 260 seconds] 00:34 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined #go-nuts 00:35 -!- tvw [~tv@e176004147.adsl.alicedsl.de] has quit [Remote host closed the connection] 00:35 -!- tvw [~tv@e176004147.adsl.alicedsl.de] has joined #go-nuts 00:38 -!- prip [~foo@host75-123-dynamic.35-79-r.retail.telecomitalia.it] has joined #go-nuts 00:39 -!- Jamra [~Jamra@212.143.214.77] has quit [Quit: Jamra] 00:41 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has joined #go-nuts 00:51 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 00:52 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Linkinus - http://linkinus.com] 00:53 -!- pilgrum [~pilgrum@cpe-76-87-204-40.socal.res.rr.com] has joined #go-nuts 00:54 -!- bemasher [~bemasher@host-98-127-89-183.lar-wy.client.bresnan.net] has joined #go-nuts 01:01 -!- tvw [~tv@e176004147.adsl.alicedsl.de] has quit [Ping timeout: 255 seconds] 01:02 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has joined #go-nuts 01:03 -!- iant [~iant@67.218.106.149] has quit [Quit: Leaving.] 01:05 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has quit [Quit: Jamra] 01:06 -!- bemasher [~bemasher@host-98-127-89-183.lar-wy.client.bresnan.net] has quit [Quit: Leaving] 01:06 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined #go-nuts 01:07 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Quit: Leaving] 01:10 < knowmercy> is it better to generally serve up static content like images, js using nginx or another webserver or do folks just use http in go for everything? 01:11 < knowmercy> I know with python apps or ruby apps it's a lot faster to serve them through nginx 01:13 < crunge> unless you have specific performance requirements I would use whatever is easiest for you, as long as it's still secure 01:14 < knowmercy> I have a gut feeling that Go probably serves static content about as quickly as nginx 01:14 < nicka1> it's quite a bit faster than python in any case 01:15 < knowmercy> with static files I think I can do somewhere near 8000/sec with nginx on my laptop 01:18 < crunge> if you think your app is going to require scale, think ahead about separating the serving of static data vs dynamic onto separate physical hardware 01:19 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 01:19 -!- deepfuture [~liuxing@218.75.249.184] has joined #go-nuts 01:19 < schmichael> that's really easy to do later; just focus on writing your app and deploying it 01:20 < knowmercy> seems to me that go is for a scale of web developer I'm just not familiar with yet :) 01:22 -!- jlilly [justinlill@70.32.34.100] has quit [Quit: Hosted by rdlBNC (Server 2 - United States of America)] 01:23 < knowmercy> I was really blown away that the first "building stuff in go" video I found had locking and threading demo'd in it 01:24 -!- robteix [~robteix@host195.190-231-150.telecom.net.ar] has joined #go-nuts 01:25 < exch> Considering Go is aimed at server building and such, that seems like a good place to start :) 01:29 < knowmercy> yeah 01:29 < knowmercy> I'm really trying to take myself to the next level in many of these areas 01:31 < knowmercy> tired of building webapps like .net and rails, and pylons think you should 01:46 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host closed the connection] 01:49 -!- ancientlore [~ancientlo@ip68-110-238-176.dc.dc.cox.net] has quit [Quit: ~ Trillian Astra - www.trillian.im ~] 01:51 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 01:51 -!- mode/#go-nuts [+v iant] by ChanServ 01:55 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 255 seconds] 01:56 -!- iant [~iant@216.239.45.130] has joined #go-nuts 01:56 -!- mode/#go-nuts [+v iant] by ChanServ 02:05 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts 02:08 -!- robteix [~robteix@host195.190-231-150.telecom.net.ar] has quit [Quit: Computer has gone to sleep.] 02:24 -!- miker2 [~miker2@pool-96-245-224-59.phlapa.fios.verizon.net] has quit [Ping timeout: 250 seconds] 02:31 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz] 02:37 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts 02:37 < ph1234k> Has anyone done any large calculations with go? What happens when you overflow a type? 02:39 < jessta> ph1234k: it's in the spec 02:39 < ph1234k> k 02:40 < jessta> they overflow back to zero 02:41 < ph1234k> I see 02:42 < jessta> well, unsigned ints do, http://golang.org/doc/go_spec.html#Integer_overflow 02:49 -!- keithcascio [~keithcasc@nat/google/x-rnwztydtfccrgumj] has quit [Quit: Leaving] 02:49 -!- ph1234king [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has joined #go-nuts 02:51 -!- ph1234king [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has quit [Read error: Connection reset by peer] 02:51 -!- ph1234king [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has joined #go-nuts 02:52 -!- ph1234k [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has quit [Ping timeout: 255 seconds] 02:52 -!- ph1234king [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has quit [Client Quit] 02:53 -!- ph1234k [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has joined #go-nuts 02:54 -!- nekoh [~nekoh@dslb-088-068-007-195.pools.arcor-ip.net] has quit [Ping timeout: 258 seconds] 02:58 -!- mogoh [~mogoh@ip-95-222-106-192.unitymediagroup.de] has quit [Remote host closed the connection] 03:10 -!- deepfuture [~liuxing@218.75.249.184] has quit [Read error: Connection reset by peer] 03:13 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 276 seconds] 03:21 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 615 seconds] 03:26 -!- angasule [~angasule@190.2.33.49] has quit [Read error: Operation timed out] 03:27 -!- deepfuture [~liuxing@218.75.249.184] has joined #go-nuts 03:37 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has joined #go-nuts 03:38 -!- deepfuture [~liuxing@218.75.249.184] has quit [Quit: Leaving.] 04:01 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 04:04 -!- sav [~sav@peirce.xored.org] has quit [Ping timeout: 240 seconds] 04:04 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 04:06 < ph1234k> Okay just read the integer overflow and I'm not sure I get it. So does it happen like Java? 04:06 <+iant> integers wrap in Go, as in Java 04:07 < ph1234k> So if you overflow one it could turn into a negative number? 04:07 <+iant> yes 04:09 -!- odoacre [~antonio@218.241.169.34] has joined #go-nuts 04:09 < ph1234k> That makes me sad. Why not just protect the sign bit? But I geuss that doesn't stop problems when overflow occurs, it just minimizes them. I just don't want the problems that minecraft has when it computes large chunks and completely ruins your save. 04:10 <+iant> there are no good solutions 04:10 <+iant> it's the curse of computer arithmetic 04:11 <+iant> at least with Go you can test whether the sum has turned negative, which does not work in C/C++ 04:11 < ph1234k> I guess with go you could do the unpacking and packing tricks for large numbers 04:12 <+iant> or just the big package 04:12 < ph1234k> ? 04:12 <+iant> http://golang.org/pkg/big/ 04:13 -!- niemeyer [~niemeyer@200-102-194-39.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 04:13 < ph1234k> Oh. Does that allow arbitrarily large sizes? 04:14 <+iant> yes 04:15 < ph1234k> Sweet. Do you know if there is a downloadable version of the package documentation? 04:16 <+iant> the documentation is included in the source code, so, sure 04:16 <+iant> if you build Go yourself you will get a copy of the godoc program 04:16 <+iant> which is what is running golang.org 04:16 <+iant> if you mean a PDF, then, no 04:17 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 04:17 < ph1234k> I meant any format. It actually seems that the distributiion may come with pkg docs but the windows port does not. I will check my linux install 04:21 < ph1234k> Hmm nope. But there docs page that is included is build for it, and the command reference which is also not availabe. 04:21 < ph1234k> I shall do it myself lol 04:21 -!- qeed_ [~qeed@adsl-98-85-62-252.mco.bellsouth.net] has quit [Quit: Leaving] 04:25 < f2f> is 'godoc' not available on windows? 04:28 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined #go-nuts 04:28 < ph1234k> it is 04:30 < f2f> so 'godoc big' should give you the documentation for the big package then. 04:32 < ph1234k> Yeah, I can see the doc online now. I just want all the pkg docs so I can read them at home 04:39 -!- danilo04 [~danilo04@province-wireless-173-84-27-249.dr02.roch.ny.frontiernet.net] has joined #go-nuts 04:40 -!- iant [~iant@216.239.45.130] has quit [Quit: Leaving.] 04:41 -!- prip [~foo@host75-123-dynamic.35-79-r.retail.telecomitalia.it] has quit [Ping timeout: 258 seconds] 04:43 < f2f> godoc -http=:6060 will allow you to browse them from localhost exactly as they are on golang.org. 04:43 < f2f> localhost:6060, of course 04:43 < f2f> and it'll be whatever revision you have downloaded 04:45 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has left #go-nuts [] 04:45 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has joined #go-nuts 04:45 < f2f> go has the feel of plan9 in one respect -- speed. 04:46 < f2f> i get a new piece of hardware and suddenly go compiles a minute faster than before (with tests and everything). 04:46 < ph1234k> Wait.... Really. Im going to try this 04:46 < f2f> dmitry optimizes a few things in the core and go is a minute faster to compile still! 04:47 < f2f> then i install a new version of the operating system and everything else starts running slower than before. 04:48 < f2f> p9 guaranteed, as does go, i believe, that if you have faster hardware, other things notwithstanding, your code will run faster :) 04:51 -!- sav_ [~quassel@177.40.156.134] has joined #go-nuts 04:51 < ph1234k> That command is awesome 04:55 -!- prip [~foo@host149-125-dynamic.36-79-r.retail.telecomitalia.it] has joined #go-nuts 04:56 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 04:57 -!- Jamra [~Jamra@93-172-162-2.bb.netvision.net.il] has joined #go-nuts 04:58 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts 05:04 -!- sav_ [~quassel@177.40.156.134] has quit [Read error: Connection reset by peer] 05:06 -!- sav_ [~quassel@177.40.156.134] has joined #go-nuts 05:06 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Quit: Leaving] 05:06 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 05:06 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit: wallerdev] 05:08 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined #go-nuts 05:09 < f2f> ph, godoc? it sure is :) 05:09 -!- kfmfe04 [~kfeng@114-32-57-164.HINET-IP.hinet.net] has joined #go-nuts 05:17 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host closed the connection] 05:26 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit: Leaving.] 05:28 -!- kfmfe04 [~kfeng@114-32-57-164.HINET-IP.hinet.net] has quit [Quit: WeeChat 0.3.4] 05:31 -!- Jamra [~Jamra@93-172-162-2.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 05:33 < moraes> go is lovely. 05:35 -!- sav_ [~quassel@177.40.156.134] has quit [Remote host closed the connection] 05:35 < ph1234k> Yes it is' 05:42 -!- Jamra [~Jamra@93-172-162-2.bb.netvision.net.il] has joined #go-nuts 05:43 -!- magn3ts [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has joined #go-nuts 05:44 -!- benjack [~benjack@bb220-255-251-77.singnet.com.sg] has joined #go-nuts 05:46 -!- squeese [~squeese@244.14.213.193.static.cust.telenor.com] has joined #go-nuts 06:01 -!- sav [~lsd@peirce.xored.org] has joined #go-nuts 06:01 -!- mikespook [~mikespook@116.21.254.251] has joined #go-nuts 06:02 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Ping timeout: 255 seconds] 06:02 -!- Sep102 [~Sep102@c-67-170-74-228.hsd1.wa.comcast.net] has joined #go-nuts 06:09 -!- vmil86 [~vmil86@88.118.36.96] has joined #go-nuts 06:12 -!- Jamra [~Jamra@93-172-162-2.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 06:13 -!- ceh [~ceh@tiselius.it.uu.se] has left #go-nuts [] 06:21 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 252 seconds] 06:22 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has joined #go-nuts 06:23 < Jamra> beginner's question: If I want to represent an individual char of a string such as in an iteration loop, how do I do so? 06:23 < ph1234k> Same as an array 06:24 < Jamra> My problem is with the types. I am trying to represent a char as a uint8 and that seems to not match the iteration loop's type 06:24 < ph1234k> uint8(char) 06:24 < Jamra> I see. Thanks. 06:25 < ph1234k> No problem 06:26 < jessta> Jamra: ranging over a string gives you the unicode characters as int, but indexing on a string gives you a byte 06:26 -!- noodles775 [~michael@g225095207.adsl.alicedsl.de] has joined #go-nuts 06:26 -!- noodles775 [~michael@g225095207.adsl.alicedsl.de] has quit [Changing host] 06:26 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 06:28 -!- mikespook [~mikespook@116.21.254.251] has quit [Quit: Leaving.] 06:30 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 06:31 -!- kirkland [~kirkland@74.126.19.140.static.a2webhosting.com] has joined #go-nuts 06:32 < kirkland> how do i split a string by new lines? 06:32 < kirkland> var lines = strings.Split(string(contents), "\n", -1) 06:32 < kirkland> ^ doesn't seem to be working 06:32 < Jamra> jessta: Yes I know. Indexing a string looks bad to me 06:42 < f2f> kirkland, seems to work for me: http://golang.org/doc/play/#package%20main%0A%0Aimport%20%22fmt%22%0Aimport%20%22strings%22%0A%0Afunc%20main()%20%7B%0A%09s%20%3A%3D%20%221%5Cn2%5Cn3%5Cn4%22%0A%09fmt.Println(strings.Split(s%2C%20%22%5Cn%22%2C%20-1))%0A%7D%0A 06:42 < kirkland> f2f: thanks 06:49 -!- kirkland [~kirkland@74.126.19.140.static.a2webhosting.com] has left #go-nuts ["Ex-Chat"] 06:49 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has joined #go-nuts 06:54 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 06:57 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts 07:00 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 07:01 -!- ph1234k [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has quit [Changing host] 07:01 -!- ph1234k [~ph1234k@unaffiliated/ph1234k] has joined #go-nuts 07:03 -!- mikespook [~mikespook@116.21.254.251] has joined #go-nuts 07:11 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has quit [Remote host closed the connection] 07:32 -!- zeroXten [~zeroXten@0x10.co.uk] has joined #go-nuts 07:33 -!- foxen [~foxen@212.12.18.237] has left #go-nuts [] 07:33 -!- virtualsue [~chatzilla@nat/cisco/x-elsftblzmlocevtc] has joined #go-nuts 07:35 -!- kfmfe04 [~kfeng@114-32-57-164.HINET-IP.hinet.net] has joined #go-nuts 07:35 -!- magn3ts [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has quit [Quit: Leaving] 07:38 -!- Sep102 [~Sep102@c-67-170-74-228.hsd1.wa.comcast.net] has quit [Ping timeout: 252 seconds] 07:40 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:41 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts 07:41 -!- foxen [~foxen@212.12.18.237] has left #go-nuts [] 07:44 -!- ijk2 [477b8618@gateway/web/freenode/ip.71.123.134.24] has joined #go-nuts 07:45 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 246 seconds] 07:50 -!- kfmfe04 [~kfeng@114-32-57-164.HINET-IP.hinet.net] has quit [Quit: WeeChat 0.3.4] 07:51 -!- tgall_foo [~tgall@206.9.88.154] has quit [Ping timeout: 264 seconds] 07:55 -!- napsy [~luka@193.2.66.6] has joined #go-nuts 07:56 -!- squeese [~squeese@244.14.213.193.static.cust.telenor.com] has quit [Remote host closed the connection] 07:57 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit: wallerdev] 07:59 -!- seb32 [~sebastian@89.246.67.229] has joined #go-nuts 08:03 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.] 08:03 -!- sahid_ [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 08:04 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 08:09 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 250 seconds] 08:10 -!- sebastianskejoe [~sebastian@56344f29.rev.stofanet.dk] has joined #go-nuts 08:21 -!- dforsyth_ [~dforsyth@ec2-50-18-22-230.us-west-1.compute.amazonaws.com] has joined #go-nuts 08:23 -!- dforsyth [~dforsyth@ec2-50-18-22-230.us-west-1.compute.amazonaws.com] has quit [Ping timeout: 258 seconds] 08:39 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 08:46 -!- musicdroid [~musicdroi@114.80.133.85] has joined #go-nuts 08:47 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has quit [Remote host closed the connection] 08:49 -!- ijk2 [477b8618@gateway/web/freenode/ip.71.123.134.24] has quit [Quit: Page closed] 08:59 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has joined #go-nuts 09:04 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts 09:04 -!- qulinxao [~qulinxao@v-853923.vpn.mgn.ru] has joined #go-nuts 09:05 < qulinxao> Hi all. where I can find list open source progect in Golang? 09:09 < zozoR> golang 09:09 < zozoR> find project dashboard 09:10 < Jamra> Is there a way to see a stack trace of a golang program? 09:12 -!- neshaug [~oyvind@213.239.108.5] has quit [Ping timeout: 258 seconds] 09:12 < ph1234k> I can't answer that. But why? 09:12 < moraes> qulinxao, http://go-lang.cat-v.org/ 09:12 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has joined #go-nuts 09:13 < Jamra> Print statements seem to be affecting the errors being output in my program. 09:13 -!- neshaug [~oyvind@213.239.108.5] has joined #go-nuts 09:14 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has left #go-nuts [] 09:15 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has joined #go-nuts 09:16 -!- xcombelle [~xcombelle@AToulouse-551-1-90-81.w92-149.abo.wanadoo.fr] has joined #go-nuts 09:18 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has quit [Client Quit] 09:23 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 258 seconds] 09:25 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 09:26 -!- danilo04 [~danilo04@province-wireless-173-84-27-249.dr02.roch.ny.frontiernet.net] has quit [Ping timeout: 255 seconds] 09:30 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Read error: Operation timed out] 09:34 -!- noodles775 [~michael@e178255251.adsl.alicedsl.de] has joined #go-nuts 09:34 -!- noodles775 [~michael@e178255251.adsl.alicedsl.de] has quit [Changing host] 09:34 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 09:44 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts 09:53 -!- benjack [~benjack@bb220-255-251-77.singnet.com.sg] has quit [Quit: Leaving.] 09:54 -!- Jamra [~Jamra@212.143.214.77] has joined #go-nuts 09:55 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has joined #go-nuts 09:57 -!- ccc12 [~Adium@140.109.98.230] has joined #go-nuts 09:58 -!- Jamra [~Jamra@212.143.214.77] has quit [Client Quit] 10:00 -!- ccc1 [~Adium@140.109.98.187] has quit [Ping timeout: 240 seconds] 10:06 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 10:22 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 10:26 -!- moraes [~moraes@189.103.188.201] has quit [Remote host closed the connection] 10:26 -!- photron [~photron@port-92-201-49-206.dynamic.qsc.de] has joined #go-nuts 10:33 -!- shvntr [~shvntr@113.84.91.105] has joined #go-nuts 10:37 -!- alehorst [~alehorst@201.47.8.210.dynamic.adsl.gvt.net.br] has joined #go-nuts 10:45 -!- ccc12 [~Adium@140.109.98.230] has quit [Quit: Leaving.] 10:49 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts 10:56 < wrtp> Jamra: print statements can affect scheduling 11:14 -!- pilgrum [~pilgrum@cpe-76-87-204-40.socal.res.rr.com] has quit [Read error: Connection reset by peer] 11:15 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has left #go-nuts ["Ex-Chat"] 11:16 -!- musicdroid [~musicdroi@114.80.133.85] has left #go-nuts [] 11:29 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has joined #go-nuts 11:34 -!- qeed [~qeed@adsl-98-85-37-144.mco.bellsouth.net] has joined #go-nuts 11:44 -!- iXeno_ [~ixeno@106.80-203-229.nextgentel.com] has joined #go-nuts 11:46 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has quit [Ping timeout: 240 seconds] 11:49 -!- Argue [~Argue@112.201.133.68] has joined #go-nuts 11:55 -!- TheMue [~FMueller@p5DDF52CA.dip.t-dialin.net] has joined #go-nuts 11:55 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has joined #go-nuts 11:58 -!- shvntr [~shvntr@113.84.91.105] has quit [Ping timeout: 250 seconds] 11:59 -!- shvntr [~shvntr@113.84.91.105] has joined #go-nuts 12:00 -!- miker2 [~miker2@64.55.31.190] has joined #go-nuts 12:01 -!- samuell [~samuel@nl119-201-142.student.uu.se] has joined #go-nuts 12:03 -!- osiman [clip9@er.en.svarteper.com] has quit [Ping timeout: 260 seconds] 12:04 -!- ccc1 [~Adium@118-168-108-138.dynamic.hinet.net] has joined #go-nuts 12:04 -!- samuell [~samuel@nl119-201-142.student.uu.se] has left #go-nuts [] 12:07 < skelterjohn> Jamra: you can get a stack trace using runtime.Caller() 12:07 -!- Jamra [~Jamra@109-186-34-188.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 12:07 < skelterjohn> see gonicetrace.googlecode.com for an example 12:08 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has joined #go-nuts 12:08 < Jamra> skelterjohn: Thank you. You may have just lifted my depression. 12:08 < skelterjohn> wowza - go coding is serious business 12:09 < skelterjohn> if you use nicetrace, writing func() { defer nicetrace.Print(); panic("tada!") }() will print a stack trace 12:10 < squeese> Jamra: wow, was it that easy? :D 12:11 < Jamra> squeese: One can only bang his head against the wall, expecting different results, so many times. 12:12 < aiju> implicit assignment of unexported field 12:12 < aiju> ^-- this error FUCKING SUCKS 12:12 < skelterjohn> it's not like that's a new addition to the language 12:12 < skelterjohn> any reason you can't use a pointer? 12:13 < aiju> the function doesn't want one 12:13 < skelterjohn> a package has an exported function with a type that cannot be used outside the package? 12:13 < aiju> ah wait, it wants an interface 12:13 < skelterjohn> phew 12:13 < aiju> it's the go9p package 12:13 < skelterjohn> because that would be a serious bug 12:15 -!- odoacre [~antonio@218.241.169.34] has quit [Quit: Leaving] 12:15 < aiju> i fucking hate these goinstall package names, too 12:15 -!- tncardoso [~thiago@187.58.6.9] has joined #go-nuts 12:16 < erus`> joiiinnn uuusssss in the functional programming dark side 12:19 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 12:21 < skelterjohn> i have the urge to make url shorteners for my packages 12:22 < skelterjohn> Jamra: instead of importing gonicetrace.googlecode.com/hg/nicetrace, import "goo.gl/ghgN2" 12:22 < skelterjohn> oh, i guess that doesn't follow the import vcs format 12:23 < Jamra> skelterjohn: Gotcha 12:23 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts 12:23 < skelterjohn> (don't do it, it won't work) 12:24 < xyproto> I wish I could write inline Haskell code in Go ;) 12:25 < aiju> i wish i could write inline brainfuck 12:25 < aiju> here, i have some nice papers i wrote in brainfuck 12:25 < aiju> it's minimal instruction set allows for efficient JIT compilation 12:26 < xyproto> Wonder if there will ever exist BF CPUs :P 12:29 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 252 seconds] 12:30 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 12:30 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 12:31 -!- Jamra [~Jamra@212.143.214.77] has joined #go-nuts 12:36 -!- molto_alfredo [~molto_alf@142.176.0.21] has joined #go-nuts 12:42 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 12:42 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the connection] 12:43 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp] 12:46 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts 12:46 -!- nekoh [~nekoh@dslb-178-004-073-123.pools.arcor-ip.net] has joined #go-nuts 12:51 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 12:53 -!- statik [~emurphy@canonical/launchpad/statik] has joined #go-nuts 12:57 -!- Jamra [~Jamra@212.143.214.77] has quit [Ping timeout: 255 seconds] 12:59 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has joined #go-nuts 12:59 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts 13:07 -!- Jamra [~Jamra@93-173-20-144.bb.netvision.net.il] has quit [Ping timeout: 255 seconds] 13:10 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit] 13:12 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 13:13 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 13:13 -!- knowmerc1 [~knowmercy@mobile-198-228-225-075.mycingular.net] has joined #go-nuts 13:13 < knowmerc1> morning 13:14 -!- Jamra [~Jamra@212.143.214.77] has joined #go-nuts 13:14 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 13:16 -!- mikespook [~mikespook@116.21.254.251] has quit [Quit: Leaving.] 13:17 < Jamra> Nevermind, shoud have searched google deeper 13:19 < knowmerc1> this thread re: dns queries is mind blowing 13:19 < knowmerc1> 27kqps??? 13:19 < knowmerc1> and that's *slow* 13:20 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp] 13:20 -!- schilly [~schilly@boxen.math.washington.edu] has quit [Ping timeout: 240 seconds] 13:20 -!- djbrown [~djbrown@unaffiliated/djbrown] has quit [Quit: leaving] 13:22 < jessta> knowmerc1: everything is slow if you need it to be faster 13:22 -!- qeed [~qeed@adsl-98-85-37-144.mco.bellsouth.net] has quit [Quit: Leaving] 13:23 < knowmerc1> very true 13:23 < knowmerc1> being that I have come from RoR and python web dev I decided to document the mindset changes and paradigms I willingly left behind 13:24 < knowmerc1> I've got a pretty neat "cookie cutter" way of doing a few things now that I think will help others use go to the fullest and still build maintainable web apps quickly 13:25 < knowmerc1> perhaps blindly accepting things has kept me from understanding things completely, but it's been fun and painless none the less 13:29 -!- Jamra [~Jamra@212.143.214.77] has quit [Quit: Jamra] 13:31 < jessta> knowmerc1: I do find it strange that there are people that will complain that Go isn't as fast as C, but will happily code in python 13:32 < moraes> but python is lovely. 13:32 < moraes> you know what confused me in go. lack of classes. took me time to understand how to organize stuff. really. :-/ 13:32 < moraes> go is also lovely. 13:32 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts 13:33 < knowmerc1> jessta: I built a claims processing application that would process about 1500 claims a second and I thought it was fast 13:33 < knowmerc1> single instance with everything on one machine 13:33 < knowmerc1> DB inserts and updates 13:33 < knowmerc1> I'd be really curious to see how fast I could make it go in go 13:34 < knowmerc1> but the library I used to parse the EDI data is only in python and I'm sure not going to write it in go :) 13:35 < knowmerc1> even if go isn't as fast as C you're getting a fair trade of manageable code and low dev time comparitively 13:35 < moraes> when you add I/O to the mix... then things change. 13:35 < knowmerc1> IMO 13:35 < moraes> your time will be spent in the db. 13:39 < nicka1> how are go struct types not roughly classes 13:40 < jessta> nicka1: classes tend to group the methods with the struct definition 13:40 < zozoR> lol 13:40 < jessta> Go has no such requirement 13:41 < knowmerc1> it's a class without any class :) 13:41 < zozoR> i made a c application, that loops nothing 1e9 times, takes 1.5 seconds to run 13:41 < zozoR> go version only takes 0.7 seconds 13:41 < exch> unoptimized C? 13:42 < zozoR> dunno 13:42 < zozoR> just gcc c.c 13:42 < knowmerc1> :) 13:42 -!- djbrown [~djbrown@unaffiliated/djbrown] has joined #go-nuts 13:42 < exch> ok. no optimization then 13:42 < zozoR> c.c being main() {int i; for(i=0;i<1e9;i++){}} 13:43 < str1ngs> gcc -march=native -mtune=native -O3 c.c . try that 13:44 < zozoR> 1.2 13:44 < str1ngs> hehe not much to optimize really 13:44 < zozoR> go is faster than c 13:44 < zozoR> now people can shut up :D 13:44 < aiju> hahaha 13:44 < aiju> 15:43 < str1ngs> gcc -march=native -mtune=native -O3 c.c . try that 13:45 < aiju> -march= / -mtune= is bullshit 13:45 < zozoR> :3 13:45 < str1ngs> everything to use is bullshit 13:45 < str1ngs> you(* 13:45 < aiju> no, it doesn't make shit fater 13:45 < aiju> but whatever 13:45 < zozoR> aiju, how do i make it faster? 13:45 < aiju> gcc -O2 or -O3 13:45 < str1ngs> aiju: sure it does. are you on crack? 13:46 < aiju> str1ngs: haha, are YOU on crack? 13:46 < aiju> just because it makes compile times longer doesn't make it makes programs faster 13:46 < zozoR> aiju, 1.6 13:47 < str1ngs> try -march=native on atom and then report back 13:47 < zozoR> on atom? 13:47 < aiju> haha atom 13:47 < knowmerc1> I have an atom 13:47 < knowmerc1> what's the code? 13:47 < zozoR> main() {int i; for(i=0;i<1e9;i++){}} 13:47 < zozoR> that would be the C code 13:48 < str1ngs> this code will do nothing pointless try it on something else 13:48 < zozoR> package main; func main() { for i:=0;i<1e9;i++ {}} 13:48 < zozoR> is go 13:48 < nicka1> "jessta: nicka1: classes tend to group the methods with the struct definition" not a real reason imo. What I said was in response to "moraes: you know what confused me in go. lack of classes. took me time to understand how to organize stuff. really." 13:48 < moraes> yeah i discovered that later 13:48 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts 13:48 < moraes> was not very obvious 13:48 < zozoR> go is obviously better at counting than C is 13:48 < zozoR> :3 13:48 < moraes> if you need real fast use c. if you need real awesomeness use go. the end. 13:49 < zozoR> i already proved go was faster 13:49 < zozoR> .. at counting 13:49 < moraes> depends. bet someone would create an opposite example. 13:49 < moraes> lets do some regexes. 13:49 < zozoR> nah 13:49 < zozoR> i just won 13:49 < zozoR> dont want to spoil it 13:49 < zozoR> :D 13:50 -!- Kumul [~Kumul@adsl-72-50-88-164.prtc.net] has joined #go-nuts 13:52 < knowmerc1> lol 13:52 < knowmerc1> time ./looper 13:52 < knowmerc1> real 0m1.271s 13:52 < knowmerc1> gcc -march=native looper.c 13:52 < knowmerc1> time ./a.out 13:52 < knowmerc1> real0m15.235s 13:53 < exch> no difference with march,mtune,O3 as opposed to just O3. At least not on my main pc 13:54 < str1ngs> for this code I doubt you can optimize is much 13:54 < vegai> you could optimize the whole program away, since it's doing nothing 13:55 < exch> Oh but it is. It's taking up time :p 13:56 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined #go-nuts 13:57 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host closed the connection] 14:01 < exch> it seems my first generation eeepc does a better job than your atom, knowmerc1 :p 14:02 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has joined #go-nuts 14:02 < exch> ~12 seconds for unoptimized c 14:02 < exch> 900mhz intel celeron 14:03 < exch> actually, effective speed is 600 something 14:06 -!- zippoxer [6d43d15d@gateway/web/freenode/ip.109.67.209.93] has joined #go-nuts 14:08 < knowmerc1> exch: I'm on the 450 I thin 14:08 < knowmerc1> *think 14:08 < knowmerc1> cr-48 14:11 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 276 seconds] 14:16 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts 14:17 < str1ngs> cr-48 is atom? 14:17 -!- niemeyer [~niemeyer@200.102.194.39] has joined #go-nuts 14:19 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host closed the connection] 14:24 -!- knowmerc1 [~knowmercy@mobile-198-228-225-075.mycingular.net] has quit [Ping timeout: 258 seconds] 14:24 < zippoxer> Go is at #24 on TIOBE 14:24 < zippoxer> was #32 last month. 14:25 < zippoxer> will it be #16 in 30 days?! 14:26 -!- knowmerc1 [~knowmercy@mobile-198-228-225-144.mycingular.net] has joined #go-nuts 14:29 < skelterjohn|work> yes. 14:31 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has joined #go-nuts 14:31 < exch> Careful what you wish for. Wider exposure/'acceptance' also means more questions like 'Why is it not more like <insert other language>???' 14:33 < zippoxer> yeah but helpful people will come too = more libraries 14:33 < zippoxer> and more tools 14:34 < exch> true 14:35 < zippoxer> pro noobs will answer noobs for these questions 14:39 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has joined #go-nuts 14:39 < xyproto> and there will be more books and friendly tutorials 14:39 < xyproto> btw, about optimization, sometimes optimizing for size results in quicker code ( -Os ) 14:40 < jlaffaye> is there a pure go database in go? 14:40 < xyproto> and to a compiler, there are few things as fun as funroll 14:40 < jlaffaye> key-value, document or whatever 14:40 < xyproto> jlaffaye: there seems to be good couchdb support 14:40 < xyproto> jlaffaye: other than that, you have plain maps 14:41 < xyproto> jlaffaye: but this is not really what you asked :D 14:41 -!- shvntr [~shvntr@113.84.91.105] has quit [Ping timeout: 264 seconds] 14:41 < jlaffaye> yes, Im looking for durability 14:41 < jlaffaye> so it has to hit the disk 14:42 < xyproto> jlaffaye: no, there is no built-in database written in go included with go, as far as I know 14:42 < xyproto> jlaffaye: nor can I find any go package that comes with go named something with sql or with db that is database related 14:42 < skelterjohn|work> you can write maps to files using gob 14:43 < skelterjohn|work> i feel like a go is a good language to create a database server wth 14:43 < skelterjohn|work> unfortunately i don't know much about databases, so i'm probably not the right one to do it 14:43 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 14:43 < xyproto> jlaffaye: how about gosqlite: http://code.google.com/p/gosqlite/source/browse/sqlite/sqlite.go 14:43 < jlaffaye> with gob, would you be able to append things to the file? or you need to rewrite for each write? 14:44 < xyproto> jlaffaye: I don't think you would get the benefits that databases has 14:44 < skelterjohn|work> xyproto: it's not just an interface to the C lib? 14:45 < skelterjohn|work> no, it is 14:45 -!- osiman [clip9@er.en.svarteper.com] has joined #go-nuts 14:46 < xyproto> skelterjohn|work: yes, it is just an interface to the sqlite C lib 14:46 < xyproto> skelterjohn|work: or did you mean no= 14:46 < xyproto> ? 14:46 < skelterjohn|work> i apologize for the ambiguous grammar 14:47 < skelterjohn|work> that sqlite interface is not pure go. that's what i meant to say 14:47 < xyproto> skelterjohn|work: the effects of the confusion is still harassing my brain ;) 14:47 < skelterjohn|work> sqlite is open source / public domain, though... i wonder how hard it would be to port it 14:50 -!- Sep102 [~Sep102@c-67-170-74-228.hsd1.wa.comcast.net] has joined #go-nuts 14:50 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 14:50 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts 14:51 < zippoxer> there is something called calimstore: http://camlistore.org/ 14:51 < zippoxer> written in pure go, not yet released 14:53 < jessta> jlaffaye: http://code.google.com/p/diskv/ seems to be at an early stage 14:53 -!- qeed [~qeed@adsl-98-85-37-144.mco.bellsouth.net] has joined #go-nuts 14:53 < jlaffaye> jessta: thanks 14:54 -!- ww_ [~ww@river.styx.org] has joined #go-nuts 14:56 -!- ww [~ww@river.styx.org] has quit [Ping timeout: 240 seconds] 15:00 < zippoxer> shouldn't Go have sqlite library built-in? 15:00 < zippoxer> one of Go goods are almost complete standard library 15:00 < zippoxer> is* 15:01 < knowmerc1> is the author of mango in here? 15:01 < vegai> one of Go's goods is that the standard library doesn't include everything 15:01 < vegai> although a high quality sqlite lib I wouldn't oppose 15:01 < knowmerc1> I found a bug in his session stuff last night where it doesn't set a cookie as expected even in the sample code 15:01 < jessta> zippoxer: the more code in the standard library the more load on the devs to maintain it 15:02 < knowmerc1> and the less quickly it gets updated 15:02 < jlaffaye> vegai: the gosqlite is written by rsc :) 15:03 < zippoxer> but if it's just a standard sqlite3 binding 15:03 < zippoxer> they shouldn't update it often 15:03 < jessta> the standard library should really only include things that most Go users are going to need 15:03 < vegai> people should probably use sqlite a bit more than they do 15:04 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 255 seconds] 15:04 < jessta> if you put sqlite supportin, then you'd end up putting support for every database in 15:05 < zippoxer> i think a database is used very often 15:05 < skelterjohn|work> jessta: hence the crypto set of packages? :) 15:05 < skelterjohn|work> zippoxer: fwiw, i have never used any sort of database in any go code i have ever written 15:05 < jessta> skelterjohn|work: yeah it's a bit worrying 15:06 < zippoxer> skelterjohn|work: but don't forget, web applications is one of main Go's uses 15:06 < zippoxer> and they require a database 15:06 < zippoxer> most of them.. 15:06 < skelterjohn|work> not my main use. 15:06 < jessta> zippoxer: web applications require a web server, that is all 15:07 < zippoxer> anyway I think Go will have some package used to store data on the disk 15:07 < skelterjohn|work> gob :) 15:08 < zippoxer> ohh.. it's also something :p 15:08 < skelterjohn|work> marshalling to/from xml is easy enough, too 15:08 < skelterjohn|work> just won't be speedy 15:08 < jessta> there are drivers for a lot of databases, just a goinstall away 15:09 < zippoxer> actually, I just need to remember gosqlite repo's url and goinstall it everytime I move to a new machine.. 15:09 < skelterjohn|work> or you can build your project with gb and tell it to goinstall anything that it needs to 15:10 < zippoxer> nice! i didn't know it can.. 15:10 -!- ccc1 [~Adium@118-168-108-138.dynamic.hinet.net] has quit [Quit: Leaving.] 15:10 < skelterjohn|work> it does a lot of stuff. http://go-gb.googlecode.com 15:10 < skelterjohn|work> disclaimer - you can goinstall your local projects, too, and it will get remote packages 15:11 < skelterjohn|work> but using goinstall for local projects is a huge pain, imo 15:12 < zippoxer> i used it consistently until I started contributing to a Go project which doesn't use it 15:13 < skelterjohn|work> if that go project is goinstallable, gb can build it (or else it's a bug and please tell me) 15:15 -!- tncardoso [~thiago@187.58.6.9] has quit [Remote host closed the connection] 15:16 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 15:20 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 15:22 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has joined #go-nuts 15:32 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 15:32 -!- jbooth1 [~jay@209.249.216.2] has left #go-nuts [] 15:37 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has quit [Remote host closed the connection] 15:45 -!- AlphaCluster [~quassel@thief-pool2-121-125.mncable.net] has quit [Remote host closed the connection] 15:47 -!- Alpha_Cluster [~quassel@thief-pool2-121-125.mncable.net] has joined #go-nuts 15:50 -!- sebastianskejoe [~sebastian@56344f29.rev.stofanet.dk] has quit [Quit: Lost terminal] 15:53 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 15:56 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit: leaving] 15:57 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]] 16:01 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 16:01 -!- Alpha_Cluster [~quassel@thief-pool2-121-125.mncable.net] has quit [Ping timeout: 255 seconds] 16:02 -!- knowmerc1 [~knowmercy@mobile-198-228-225-144.mycingular.net] has quit [Ping timeout: 255 seconds] 16:03 -!- Alpha_Cluster [~quassel@thief-pool2-121-125.mncable.net] has joined #go-nuts 16:03 -!- Argue [~Argue@112.201.133.68] has quit [Read error: Connection reset by peer] 16:04 -!- Argue [~Argue@112.201.133.68] has joined #go-nuts 16:05 -!- GoBIR_ [~gobir@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net] has joined #go-nuts 16:05 -!- GoBIR [~gobir@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net] has quit [Read error: Connection reset by peer] 16:06 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts 16:16 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 250 seconds] 16:23 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has quit [Quit: KBme kthxbye] 16:23 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has joined #go-nuts 16:24 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has joined #go-nuts 16:24 -!- yogib [~yogib@131.234.59.64] has quit [Read error: Operation timed out] 16:28 < f2f> with the latest changes compile times went down to 3m from 3m20s. now all.bash is a full minute faster than it was three weeks ago :) 16:28 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has quit [Quit: KBme kthxbye] 16:28 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has joined #go-nuts 16:30 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has joined #go-nuts 16:30 -!- osiman [clip9@er.en.svarteper.com] has quit [Ping timeout: 250 seconds] 16:32 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts 16:33 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has quit [Ping timeout: 276 seconds] 16:34 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts 16:35 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has quit [Quit: KBme kthxbye] 16:35 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has joined #go-nuts 16:36 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has left #go-nuts [] 16:36 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has joined #go-nuts 16:38 < str1ngs> f2f: how long does ./make.bash take? 16:39 < erus`> how did you guys get into programming? 16:39 < str1ngs> erus`: punch cards and crayons :P 16:39 < erus`> old fogey 16:43 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 16:44 < f2f> make.bash is 19 seconds, which has been pretty static for the past year or so. it was the tests that were taking the majority of the time and those benefitted from Dmitry's work 16:45 < str1ngs> right makes senses 16:45 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 16:45 < str1ngs> .. no pun :P 16:45 < f2f> back in 2009 make in src/pkg was 9 seconds, now it's 16 -- go has grown :) 16:45 < str1ngs> its still fast 16:46 < str1ngs> gcc toolchain takes like 40min 16:46 < str1ngs> actually probably gcc alone just takes 40min without --disable-bootstrap 16:46 < erus`> yeah but gcc has generics 16:46 < f2f> my benchmark are the plan9 c compilers who do a kernel in less than 10 seconds :) 16:46 < str1ngs> lol what kernel though? 16:47 < f2f> generic. about 3 megs worth ot binary in the end. 100k lines of code 16:47 < str1ngs> is that some VM kernel for plan9? 16:48 < aiju> it's a real plan 9 kernel 16:48 < aiju> in 20 seconds on my machine 16:48 < aiju> lots of that is creating the initrd in a rather inefficient way 16:48 < str1ngs> what hardware does that support though? x86? 16:48 < aiju> well 16:48 < f2f> x86 yes 16:49 < str1ngs> hmm do you have link, seems intresting 16:50 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 16:52 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 16:53 < f2f> a link to what? 16:53 < aiju> kernel source? 16:53 < str1ngs> it ok I found what i need already :P 16:54 < aiju> anyone know the size of Mach? ;P 16:54 < aiju> would be hilarious if our monolithic kernel is larger than their microkernel 16:54 < aiju> ehm 16:54 < aiju> *smaller :) 16:56 < f2f> $ du -sh /mach_kernel 16:56 < f2f> 15M /mach_kernel 16:56 < aiju> hahahaha 16:56 < aiju> is that the binary? 16:56 < f2f> appears to be. 16:57 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed the connection] 16:57 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 16:57 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts 16:57 < str1ngs> aiju: from what I read though the plan9 is actually hybrid. but that term is kinda vague I guess 16:58 < aiju> nope 16:58 < aiju> plan 9 is pretty monolithic 16:58 -!- telexicon [~telexicon@unaffiliated/chowmeined] has left #go-nuts [] 16:58 < aiju> most device drivers and TCP/IP are in the kernel 16:58 < f2f> things do bloat. it's annoying that i experience the same sluggishness with Lion even though i'm running it on a much faster hardware. go doesn't experience this yet 16:58 < str1ngs> what are the limitations with the kernel if any. can you say run X server? 16:59 < aiju> str1ngs: well define X server 16:59 < str1ngs> X windows 16:59 < aiju> there is equis which is a X server for Plan 9 16:59 < aiju> there is even an xterm port iirc 16:59 < aiju> usually you use that X server with linuxemu, though 16:59 < str1ngs> hmm maybe I should ask what is plan 9 way of running a gui? ie terminal emulator 16:59 < f2f> str1ngs, it has support for less hardware. you run X in userland, as a user process. it has support for graphics though 16:59 < aiju> str1ngs: rio 17:00 < str1ngs> so rio would be enough? 17:00 < aiju> well 17:00 -!- hipocracy [hipocracy@CPE-144-132-36-212.vic.bigpond.net.au] has joined #go-nuts 17:00 < aiju> there is the kernel draw device which actually draws stuff 17:00 < f2f> which are done via /dev/draw and friends 17:00 < aiju> there are the VGA drivers (in kernel) and the VGA init code (in userspace) 17:00 -!- zippoxer [6d43d15d@gateway/web/freenode/ip.109.67.209.93] has quit [Quit: Page closed] 17:00 < str1ngs> hmm actually I could probably get away with no gui 17:01 < str1ngs> just rc would be strange I guess 17:01 < aiju> rio is a program running on top of that to provide windows 17:01 < aiju> and terminal emulation 17:01 < aiju> str1ngs: rc doesn't have history or job control 17:01 < str1ngs> or vi binding, which for me would suck 17:01 < str1ngs> but I could get by I guess 17:01 < f2f> you only need gui on terminals. i run cpu servers headless and connect with a kernel capable of drawing on whatever platform i'm no 17:01 < f2f> s/run/ran :) 17:02 < aiju> str1ngs: the only non-GUI editor is ed 17:02 < f2f> anyway, sorry for the digression everybody :) 17:02 < str1ngs> ouch 17:02 < str1ngs> so what do you use for a editor acme? 17:02 < aiju> sam 17:02 < f2f> acme here. 17:02 < str1ngs> aiju: btw when I say vi binding I mean readline. set -o vi 17:02 < aiju> str1ngs: ya i know 17:03 < aiju> no such thing in rc 17:03 < str1ngs> kk 17:03 < crunge> real programmers do all their editing by redirecting from cat into a patch 17:03 < aiju> rc doesn't have line editing either 17:03 < aiju> crunge: a patch? WIMP! 17:03 < str1ngs> ya that would be stranch 17:03 < str1ngs> strange* 17:03 < aiju> crunge: you mean dd seek= 17:03 < aiju> real programmers leave tons of whitespace in order to be able to insert code later with dd 17:04 < crunge> It's like a source-code NOP sled 17:04 < aiju> of course *real* programmer write raw machine code in hex 17:04 < erus`> pff hex 17:04 < erus`> binary 17:05 < str1ngs> crayons and punch cards :P 17:05 < aiju> binary is actually easier on some machines 17:05 < crunge> I usually use dragon naturally speaking to dictate base64 machine code 17:05 < erus`> lol 17:05 < crunge> it corrects my spelling and I get real speed optimizations. Who knew? 17:05 -!- hipocracy [hipocracy@CPE-144-132-36-212.vic.bigpond.net.au] has quit [] 17:05 < erus`> i run a random generator until i get the desired result 17:05 * aiju has written raw machine code in octal for PDP-11 17:06 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined #go-nuts 17:06 < crunge> ...by candle light 17:06 < erus`> and i use bogosort 17:06 < aiju> pff bogosort 17:06 < aiju> quantum bogosort or gtfo 17:06 < crunge> ...in php 17:06 < erus`> quantum bogosort is O(1)? 17:06 < erus`> thats too quick for me 17:06 < aiju> erus`: don't you know it? 17:06 < crunge> Quantum PHP. Surely this is how we bring the elder gods into this world. 17:07 < aiju> quantum bogosort 17:07 < aiju> randomize list, if not sorted, blow up the universe 17:07 -!- hipocracy [hipocracy@CPE-144-132-36-212.vic.bigpond.net.au] has joined #go-nuts 17:07 < aiju> the only remaining universe will have the list sorted 17:07 < erus`> Quantum php = end of the human race 17:07 < KirkMcDonald> Quantum bonobosort? 17:07 < crunge> So is that O(0) or O(INF)? 17:07 < aiju> crunge: O(1) 17:07 -!- hipocracy [hipocracy@CPE-144-132-36-212.vic.bigpond.net.au] has left #go-nuts [] 17:07 < erus`> its O(1) 17:07 < erus`> just a high failure rate 17:08 < aiju> there are no observers to observe it failing 17:08 < erus`> they did exist at some point 17:08 < erus`> they both exist and dont exist 17:09 < crunge> Schrodingersort? 17:18 -!- ThreeSix [~ThreeSix@77.126.48.125] has joined #go-nuts 17:24 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 17:25 -!- Argue [~Argue@112.201.133.68] has quit [Quit: Leaving] 17:26 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has joined #go-nuts 17:29 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit: wallerdev] 17:32 -!- xcombelle [~xcombelle@AToulouse-551-1-90-81.w92-149.abo.wanadoo.fr] has quit [Ping timeout: 246 seconds] 17:35 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 17:35 -!- xcombelle [~xcombelle@AToulouse-551-1-90-81.w92-149.abo.wanadoo.fr] has joined #go-nuts 17:35 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts 17:35 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Max SendQ exceeded] 17:36 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts 17:38 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 260 seconds] 17:39 -!- cco3 [~conleyo@nat/google/x-fzyvvuekxwdfeiya] has left #go-nuts [] 17:39 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 17:40 -!- cco3 [~conleyo@nat/google/x-xmnlyvjzscwavawt] has joined #go-nuts 17:42 < skelterjohn|work> with exp/template, if the cursor (.) points to something that's an interface, is it possible to switch on the type? 17:42 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 276 seconds] 17:50 -!- osiman [clip9@er.en.svarteper.com] has joined #go-nuts 18:02 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 18:03 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 252 seconds] 18:06 < skelterjohn|work> https://groups.google.com/d/topic/golang-nuts/d1S3uW8-vyA/discussion 18:08 -!- seb32 [~sebastian@89.246.67.229] has quit [Ping timeout: 252 seconds] 18:08 -!- Halavanja [~chatzilla@mcswl207.mcs.anl.gov] has joined #go-nuts 18:09 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping timeout: 252 seconds] 18:09 < Halavanja> So if you use the interface of the http.ResponseWriter, how can you read the data back in the calling function, or even if you are passing the interface on to lets say a logger that was created? 18:10 < Halavanja> I guess the main question is how do I log status codes that are sent to http.ListenAndServe so that i know what happened in the handler function? 18:10 < skelterjohn|work> without fully understanding your question, http.ListenAndServe is a helper function that you might not want to use if you want fine control over what happens 18:17 -!- Halavanja [~chatzilla@mcswl207.mcs.anl.gov] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110622232440]] 18:20 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 18:22 -!- Kahvi_ [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 18:24 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping timeout: 252 seconds] 18:26 -!- keithcascio [~keithcasc@nat/google/x-inoxkdvultfeotlq] has joined #go-nuts 18:39 < skelterjohn|work> kevlar_work: you around? 18:40 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 252 seconds] 18:42 < kevlar_work> skelterjohn, hey 18:43 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has joined #go-nuts 18:43 -!- ThreeSix [~ThreeSix@77.126.48.125] has quit [Ping timeout: 240 seconds] 18:45 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has quit [Remote host closed the connection] 18:45 < skelterjohn|work> nvm, russ answered 18:45 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has quit [Ping timeout: 264 seconds] 18:45 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has joined #go-nuts 18:48 -!- dfr|mac [~dfr|work@nat/google/x-alyrkphvcdjilrur] has joined #go-nuts 18:48 -!- dfr|mac [~dfr|work@nat/google/x-alyrkphvcdjilrur] has quit [Remote host closed the connection] 18:49 -!- xcombelle [~xcombelle@AToulouse-551-1-90-81.w92-149.abo.wanadoo.fr] has quit [Ping timeout: 255 seconds] 18:50 -!- dfr|mac [~dfr|work@nat/google/x-jmcvbltfqcnctjtd] has joined #go-nuts 18:51 -!- dfr|mac [~dfr|work@nat/google/x-jmcvbltfqcnctjtd] has quit [Remote host closed the connection] 18:51 -!- dfr|mac [~dfr|work@nat/google/x-gtgngjdudwtvzdyt] has joined #go-nuts 18:53 -!- ph1234k [~ph1234k@unaffiliated/ph1234k] has quit [Quit: Leaving] 18:53 -!- ph1234k [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has joined #go-nuts 18:53 -!- ph1234k [~ph1234k@ip72-209-135-200.ks.ks.cox.net] has quit [Changing host] 18:53 -!- ph1234k [~ph1234k@unaffiliated/ph1234k] has joined #go-nuts 18:54 -!- hargettp_ [~hargettp_@dhcp-161.mirrorimage.net] has joined #go-nuts 18:55 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping timeout: 260 seconds] 18:57 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 19:01 -!- xcombelle [~xcombelle@AToulouse-551-1-121-38.w92-156.abo.wanadoo.fr] has joined #go-nuts 19:06 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined #go-nuts 19:06 -!- nekoh [~nekoh@dslb-178-004-073-123.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 19:07 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Client Quit] 19:08 -!- dfr|mac [~dfr|work@nat/google/x-gtgngjdudwtvzdyt] has quit [Ping timeout: 240 seconds] 19:08 < fluffle> ok, so the goto change in r59 completely breaks the go backend for ragel 19:08 < fluffle> which kind of relies on the old behaviour to construct it's state machines 19:09 < skelterjohn|work> it was goto-ing to a different case in a switch, right? 19:09 < fluffle> yes 19:09 < skelterjohn|work> well, don't know what to tell ya 19:10 < fluffle> unfortunately my comp sci skillset is way below the level needed to work out if it's fixable 19:10 < skelterjohn|work> change switches to if-elseif-elseif 19:10 < skelterjohn|work> not elegant 19:10 < skelterjohn|work> but it will have the same meaning, and allow you to goto as you will 19:10 < fluffle> ouch 19:11 -!- huin [~huin@91.84.179.118] has joined #go-nuts 19:12 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has joined #go-nuts 19:12 < wrtp> skelterjohn|work: goinstall for local projects should be better when gotest works with GOPATH 19:12 < jlaffaye> when you make a package, you have to install it to use it? 19:13 < skelterjohn|work> that's one thing that would improve it. it will still be sorely lacking 19:13 < jlaffaye> what if my package is local and I dont want to install it 19:13 < skelterjohn|work> jlaffaye: no, not if you use goinstall or gb 19:13 < skelterjohn|work> or gofr, or gd, or gobuild 19:13 < str1ngs> ww: ping 19:13 < skelterjohn|work> goinstall comes with the go distribution (http://golang.org/cmd/goinstall) 19:14 < skelterjohn|work> i wrote gb (http://go-gb.googlecode.com) 19:14 < ww> str1ngs: heya 19:14 < ww> heading out in a few minutes... what's new? 19:14 < str1ngs> ww: I have a working gnu userland on my android 19:14 < str1ngs> ww: with.. gcc :P 19:14 < jlaffaye> and I was thinking of proj/{client,server,common} 19:14 < jlaffaye> and common is used by the others 19:14 < ww> str1ngs: that's great! 19:14 < str1ngs> ww: thought you might find it instresting 19:14 < skelterjohn|work> jlaffaye: yes - any of the tools can do what you want - take a look at the two i linked 19:14 < str1ngs> ww: going to try and natively build go 19:15 < skelterjohn|work> str1ngs: oh neat - good luck 19:15 < str1ngs> ww: which will make cgo easier 19:15 < str1ngs> ww: btw it uses eglibc 19:15 < ww> str1ngs: certainly... 19:15 < aiju> eglibc -- glibc for all the crap architectures out there 19:16 < ww> ... i wonder about talking to the hardware at that point actually 19:16 < ww> ... wonder if there's anything to be salvaged of openmoko for example 19:16 < skelterjohn|work> i think aiju could be replaced by a robot and no one would notice for a long time 19:16 < str1ngs> aiju: its better then bionic 19:16 < aiju> also i was parodying ulrich drepper 19:16 < jlaffaye> skelterjohn|work: gb looks like what I want, thanks 19:16 < skelterjohn|work> :) 19:16 < str1ngs> aiju: lol 19:16 < aiju> skelterjohn|work could be replaced by a robot which just gives wrong answers to all Go questions 19:16 < str1ngs> ok that was actually funny aiju 19:16 < aiju> and no one would notice 19:16 < skelterjohn|work> oh, burn 19:17 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has quit [Ping timeout: 250 seconds] 19:17 < ww> anyhow, good luck str1ngs... looking forward to the sequel 19:17 * ww waves 19:18 < fluffle> skelterjohn|work: ragel makes liberal use of "fallthrough" 19:18 < skelterjohn|work> fluffle: how does it work with java, where there is no goto? 19:19 < aiju> god damnit 19:20 < aiju> it's way too fucking easy to get absolutely nonsensical behaviour with opengl 19:20 < nicka1> ahah ues 19:20 < nicka1> yes 19:20 < aiju> i could as well just read from /dev/urandom and draw it to the screen 19:20 < nicka1> I recall setting line width too high and things turned red 19:21 < nicka1> but there was never any gl error 19:21 < aiju> gl errors are myths 19:21 < fluffle> skelterjohn|work: it can't use the same "fast" FSM, so it just uses a table-based one instead 19:21 < aiju> if cars were made like opengl, any mistake by the driver would just disable the brakes 19:22 < fluffle> using that method effectively requires re-writing the Go backend from scratch 19:22 < skelterjohn|work> maybe post to the mailing list and see if anyone has suggestions 19:22 < nicka1> sounds like toyota made opengl 19:22 < fluffle> i will, i think. 19:23 < aiju> i mean i have two textures 19:23 < fluffle> for the moment r59 brought in a much better regexp package, so I should be able to just use that instead 19:23 < aiju> both initialized to black 19:23 < aiju> with the same function 19:23 < aiju> and ONE IS WHITE 19:23 < fluffle> thanks for the pointers anyway :) 19:23 < exch> aiju: doing it wrong then 19:23 < aiju> no shit sherlock 19:23 < skelterjohn|work> lol 19:23 < exch> no need to blame opengl for that :p 19:23 -!- Kahvi_ [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping timeout: 252 seconds] 19:24 < nicka1> did r59 replace the old regexp package? 19:24 < aiju> well 19:24 < skelterjohn|work> nicka1: there is now exp/regexp 19:24 < skelterjohn|work> the old regexp is still there 19:24 < aiju> opengl makes "doing it wrong" very easy 19:24 < skelterjohn|work> but its days are numbered 19:24 < nicka1> just checking if it was still exp/regexp 19:24 < skelterjohn|work> just like template and exp/template 19:24 < skelterjohn|work> ah 19:24 < nicka1> I am glad I can non-greedily match things now 19:25 < aiju> soon we will have exp/net 19:25 < aiju> which implements BSD sockets 19:25 < aiju> s = net.Socket(net.AF_INET, net.SOCK_STREAM, 0) 19:29 -!- xcombelle [~xcombelle@AToulouse-551-1-121-38.w92-156.abo.wanadoo.fr] has quit [Ping timeout: 252 seconds] 19:29 < jlaffaye> ok, first patch for gb, use gmake on FreeBSD for the -m option :) 19:30 < skelterjohn|work> very interesting 19:30 < aiju> awesome 19:30 < aiju> glGenTexture returns 0 19:30 < skelterjohn|work> jlaffaye: if you send me a patch (ideally using github) i'll include it 19:32 < aiju> awesome it doesn't set an error code! 19:33 < nicka1> 0 is a valid texture object id 19:33 < skelterjohn|work> jlaffaye: on second thought... there is a particular way i'd want to make that patch, so maybe i had better do it myself 19:33 < aiju> nicka1: so why does it return the same texture object id several times in a row? 19:33 < jlaffaye> skelterjohn|work: ok :) 19:33 < nicka1> well it shouldn't return the same id multiple times 19:34 < jlaffaye> skelterjohn|work: can you ping me when its pushed? 19:34 < skelterjohn|work> sure 19:34 < skelterjohn|work> GOOS is freebsd in this case, right? 19:34 < skelterjohn|work> will freebsd never have make, always gmake? 19:35 < jlaffaye> skelterjohn|work: yes, freebsd 19:35 < skelterjohn|work> actually i should probably just have it use gomake.... 19:35 < jlaffaye> make is bsdmake on freebsd :) 19:35 < skelterjohn|work> since gomake already knows how to use the right one 19:35 < str1ngs> doh make.bash needs which 19:35 < jlaffaye> and bsdmake doesnt like the syntax of the includes Makefiles 19:35 < skelterjohn|work> jlaffaye: does gomake work for you? 19:36 < jlaffaye> sure 19:36 < skelterjohn|work> you've tried it? on my machine it just runs make 19:37 < skelterjohn|work> perhaps for other platforms it gets created differently 19:37 < jlaffaye> yes it uses gmake 19:39 < fluffle> okay, (at least) the ragel-users list already knows. Mail sent 19:39 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 19:40 -!- virtualsue [~chatzilla@nat/cisco/x-elsftblzmlocevtc] has quit [Ping timeout: 258 seconds] 19:41 < skelterjohn|work> jlaffaye: i've pushed it to the repo - but i haven't added it to the release branch or the downloadable 19:41 < skelterjohn|work> (too much effort) 19:42 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined #go-nuts 19:42 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Client Quit] 19:42 -!- xcombelle [~xcombelle@AToulouse-551-1-60-4.w92-146.abo.wanadoo.fr] has joined #go-nuts 19:44 < jlaffaye> skelterjohn|work: actually, there is a make in the ./build :) 19:44 < skelterjohn|work> ack! 19:44 < skelterjohn|work> easy to fix 19:49 < qeed> how do you get golang to see any type as just a stream of bytes and be able to send that 19:50 < aiju> awesome 19:50 < aiju> now i'm sending closures with GL code down a channel to a runtime.LockOSThread'd goroutine 19:51 < aiju> opengl is actively hostile to being used from Go 19:51 < skelterjohn|work> jlaffaye: pushed 19:51 < f2f> qeed, i don't believe you can. you'll either need to do your own marshalling/unmarshalling or use something like the gob package. 19:51 < skelterjohn|work> qeed, f2f: you can use unsafe, but it's probably a bad idea 19:52 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 19:52 < qeed> heh im trying to use opengl with golang right now 19:52 < skelterjohn|work> since that won't respect things like aiju's sensibilities and endianness 19:52 < qeed> not sure how i would use buffersubdata 19:52 < qeed> and stuff since that just wants bytes 19:52 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving] 19:52 < aiju> 21:49 < qeed> how do you get golang to see any type as just a stream of bytes and be able to send that 19:52 < exch> converting stuff to/from raw byte representations is a recipe for disaster as it allows one to circumvent Go's type system 19:52 < aiju> send that over what? 19:52 < aiju> fucking network? 19:52 < qeed> to opengl 19:53 < aiju> uh huh 19:53 < skelterjohn|work> can also try http://localhost:6060/pkg/encoding/binary/#Write 19:53 < jlaffaye> skelterjohn|work: neat! thanks. 19:53 < aiju> qeed: don't forget to LockOSThread 19:53 < skelterjohn|work> to opengl? do you have an array that you want to turn into a uint8* or somthing? 19:53 < skelterjohn|work> because to do that you can just say &theSlice[0] 19:54 < skelterjohn|work> and that is the pointer to the C-style array 19:54 < qeed> yeah i have some vertex data i want to send using glbuffersubdata 19:54 < skelterjohn|work> then &theSlice[0] is what you want 19:56 < skelterjohn|work> hmm, i have some data that when i write it to stdout it looks fine, if i write it to a file and print it with cat it looks fine, but if i use less parts of it "look like they're binary" 19:56 < skelterjohn|work> and these parts correspond exactly to the sections of an exp/template that invokes a function (which returns a string) 19:56 < skelterjohn|work> invoke 19:57 < nicka1> use &slice[0] as skelterjohn said 19:58 < nicka1> the buffer functions take void* I think so you may need to cast it to unsafe.Pointer 19:58 < nicka1> unless there is a better way to do that 19:58 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 20:01 -!- alehorst [~alehorst@201.47.8.210.dynamic.adsl.gvt.net.br] has quit [Quit: Leaving.] 20:07 -!- xcombelle [~xcombelle@AToulouse-551-1-60-4.w92-146.abo.wanadoo.fr] has quit [Quit: I am a manual virus, please copy me to your quit message.] 20:08 -!- alehorst [~alehorst@201.47.8.210.dynamic.adsl.gvt.net.br] has joined #go-nuts 20:14 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 20:20 < wrtp> nicka1: i think a better way (as part of the opengl package) would be for the package to provide a "Buffer" type (with concealed unsafe.Pointer inside) and functions for translating from various slice types to a Buffer. that way clients can avoid the need to use unsafe. 20:21 < skelterjohn|work> that's a good idea. 20:22 < nicka1> that's a great idea wrtp. I'll probably borrow it if I ever get around to writing a gl wrapper 20:23 < wrtp> you're welcome to 20:25 < qeed> i am using banthar opengl package and it has that and it support transfering of all the golang native types, i just asked since i wanted to see how i would do it for structs 20:26 < skelterjohn|work> oh it does? i use it to but I never noticed that 20:26 < qeed> well bufferdata takes an interface in banthar package and it checks for uint8, double, float, int, etc. 20:27 < skelterjohn|work> *use it too 20:28 < nicka1> well qeed those functions just take the size of the data so unsafe.Sizeof(struct)*len(slice) would work 20:29 < nicka1> for the size param I mean 20:29 < nicka1> I assume you can work reflect in there somewhere, and just take a []interface{} 20:29 < nicka1> as the buffer data, I mean 20:30 < skelterjohn|work> take a []interface{}? why? 20:31 < nicka1> interleaving data is common, so ideally it would work with struct types 20:31 < wrtp> nicka1: interface{} not []interface{} is better 20:31 < wrtp> that way you can pass in []int 20:31 < wrtp> or whatever 20:31 < nicka1> right 20:31 < qeed> whats the difference with []interface{} and interface{} havent used interface enough to know? 20:31 < qeed> one is an array of it? 20:32 < skelterjohn|work> a slice, yeah 20:32 < nicka1> I am in the same boat apparently :P 20:32 < skelterjohn|work> you can't go from []Something to []interface{} directly 20:32 < skelterjohn|work> because []interface{} is not an interface 20:32 < skelterjohn|work> it's a slice 20:33 < nicka1> generally though you're going to be passing a slice of something to these functions 20:33 < skelterjohn|work> then they can accept them in an interface{} and use reflect to deal with it 20:33 < skelterjohn|work> or type assert to []int8, []float64, whatever 20:34 -!- huin [~huin@91.84.179.118] has quit [Quit: bedtime] 20:34 < nicka1> good point, I guess there's no point in making it a []interface{} over interface{} if you're going to need to do the type assertion anyway 20:35 -!- franksalim [~frank@64-71-23-250.static.wiline.com] has quit [Quit: Leaving] 20:35 < skelterjohn|work> more to the point, it's an O(length) operation to convert from []Type to []interface{} 20:37 < nicka1> I suppose I should do some more work with interface types 20:38 -!- virtualsue [~chatzilla@nat/cisco/x-uvvgcizjbupescnq] has joined #go-nuts 20:39 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has joined #go-nuts 20:39 -!- Kumul [~Kumul@adsl-72-50-88-164.prtc.net] has left #go-nuts ["gone"] 20:42 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Quit: Leaving] 20:49 -!- miker2 [~miker2@64.55.31.190] has quit [Ping timeout: 240 seconds] 20:50 -!- tncardoso [~thiago@187.58.6.9] has joined #go-nuts 20:51 < wrtp> nicka1: it's definitely worth it. they're possibly the only unique single feature of Go. 20:56 -!- knowmerc1 [~knowmercy@mobile-198-228-224-021.mycingular.net] has quit [Quit: leaving] 21:01 -!- Fish- [~Fish@9fans.fr] has quit [Ping timeout: 250 seconds] 21:02 -!- nekoh [~nekoh@dslb-188-107-168-204.pools.arcor-ip.net] has joined #go-nuts 21:03 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 21:04 -!- qulinxao [~qulinxao@v-853923.vpn.mgn.ru] has left #go-nuts [] 21:05 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.] 21:08 -!- photron [~photron@port-92-201-49-206.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 21:09 -!- TheMue [~FMueller@p5DDF52CA.dip.t-dialin.net] has quit [Quit: Lost terminal] 21:11 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Quit: Geek insindeĀ®] 21:16 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping timeout: 258 seconds] 21:27 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 21:28 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 250 seconds] 21:30 < skelterjohn|work> nicka1: http://code.google.com/p/go-wiki/wiki/InterfaceSlice 21:32 < nicka1> thanks 21:35 -!- seb32 [~sebastian@f055193209.adsl.alicedsl.de] has joined #go-nuts 21:36 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Ping timeout: 240 seconds] 21:37 < nicka1> is there a general go users wiki yet? this one has restricted access iirc 21:37 < Namegduf> Need to stop people from putting guides to simulating exceptions up there. 21:37 < Namegduf> :P 21:38 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts 21:38 < nicka1> the try/catch thing on the mailinglist a couple weeks back should be enough to stop anyone from doing that 21:39 < Namegduf> I wish. 21:39 < Namegduf> I'm pretty sure it'd been on the mailing list before, and there were people suggesting it as a real solution for "where people need or want exceptions" 21:39 -!- nicka1 [~lerp@142.176.0.21] has quit [Quit: Leaving.] 21:40 < uriel> Namegduf: :( 21:41 -!- nicka [~lerp@unaffiliated/nicka] has joined #go-nuts 21:42 < skelterjohn|work> nicka: have to ask for access to that wiki 21:42 < skelterjohn|work> but brad will probably add you if you ask 21:42 < skelterjohn|work> he just added me, and i just wrote that wiki on interface slices 21:43 < nicka> I don't think I'm quite to that point of language mastery yet, but I'll keep it in mind 21:43 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts 21:50 -!- pothos_ [~pothos@111-240-172-223.dynamic.hinet.net] has joined #go-nuts 21:52 -!- pothos [~pothos@111-240-165-1.dynamic.hinet.net] has quit [Ping timeout: 260 seconds] 21:57 -!- schilly [~schilly@boxen.math.washington.edu] has joined #go-nuts 21:57 -!- noselasd [~kvirc@80.239.96.162] has quit [Ping timeout: 255 seconds] 22:02 < uriel> skelterjohn|work: somebody should add to the CommonMistakes page: Using container/vector when slices and append() will do 22:03 < exch> go ahead 22:03 < uriel> (another one: using goroutines for minusculous amount of work expecting perf improvements and isntead making things worse) 22:03 < uriel> exch: I have no edit acces, and I'm lazy ;P 22:06 < exch> There is a similar post on stackoverflow which lists common mistakes in Go 22:06 < exch> You can always put it there :p 22:07 -!- noselasd [~kvirc@80.239.96.162] has joined #go-nuts 22:07 < exch> http://stackoverflow.com/questions/5033605/common-programming-mistakes-for-go-developers-to-avoid/ 22:10 -!- seb32 [~sebastian@f055193209.adsl.alicedsl.de] has quit [Ping timeout: 255 seconds] 22:11 < f2f> we need more help sites for trivial problems. MORE! 22:13 < f2f> what learning pattern leads to a newbie saying 'i don't know much about the language yet, but i'll make sure to memorize all these "common mistakes" so i can avoid them when i get to writing code eventually' 22:13 < Tv__> there's a php for that 22:14 < f2f> 'common error values when adding two and two together': [0, 2) V [3, inf) 22:14 < f2f> s/V/U 22:15 < Tv__> that's like the old adage about complaining about other people's grammar with broken sentences 22:17 < Tv__> (hint: 1 != 2) 22:17 < exch> Considering the amount of votes and the amount of similar pages for other languages there are, I'd say at least some people find it useful. I'm not among them, but everyone learns in their ow way 22:17 < exch> *own 22:17 < Tv__> exch: decent summary of stackoverflow as a whole 22:17 < Tv__> it has a few gems amongst quite a lot of noise 22:17 < exch> yes 22:18 < Tv__> "hay guys how do i do arithmetic in jquery" is still my favorite 22:18 < exch> :p 22:18 < aiju> how do i shoot webs? 22:19 < str1ngs> but on your damn tights first off. 22:19 < str1ngs> put* 22:19 < f2f> lolcats also get lots of votes online. and most arguments pro-Go are shot down on reddit. you can't explain that :p 22:19 < exch> What irks me most about SO is how all the shit answers get upvoted to proposterous levels. 22:20 < exch> the whole voting thing is just misguided for that place 22:20 < Namegduf> Voting is fine for real questions 22:20 < str1ngs> exch: I dont wast my time with that site. 22:20 < Namegduf> Questions like "What is the best <abstract question>" as well as things like that, which aren't questions, they're listings 22:20 < Namegduf> Are crappy on it. 22:21 < exch> str1ngs: I ould prefer not to either, but my blood just boils hen someone is wrong on the internet 22:21 < exch> *would 22:21 < skelterjohn|work> "common mistakes" pages are best for when someone comes here and asks why his or her code isn't working - we can just point them to the page 22:21 * f2f also completely missed the SO bandwagon 22:22 * Namegduf isn't registered there, but regularly finds answers to things he searches for on Google there 22:22 < f2f> a good Go book will solve a lot of the issues of guiding newbies 22:22 < skelterjohn|work> what C header has free() defined? 22:22 < aiju> skelterjohn|work: stdlib.h 22:22 < skelterjohn|work> that's what i thought... having trouble freeing stuff from cgo 22:22 < skelterjohn|work> maybe i'm including wrong 22:23 < str1ngs> exch: the reality is people hide behind anonymity , see that everywhere. 22:23 < aiju> omg people hide behind anonymity 22:23 < str1ngs> exch: atleast on the internet 22:23 < skelterjohn|work> ahah - i had "stdlib.h" 22:23 < aiju> ON THE INTERNET 22:23 < exch> crazy, right? 22:23 < aiju> yeah 22:23 < str1ngs> aiju is a good example 22:24 < aiju> hahahahaha 22:24 < aiju> i'm far from anonymous 22:24 < exch> we should get rid of anonimity and just require everyone to log on with their real name and social security number 22:24 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] 22:25 < str1ngs> ok do we realy need to have hg to build go. thats kinda abit much I think 22:25 < skelterjohn|work> str1ngs: now that googlecode supports git maybe you can suggest a change 22:25 < str1ngs> no I dont mean that way 22:25 < aiju> Go should use CVS 22:25 < aiju> i should suggest a change 22:25 < str1ngs> it errors out building if hg is not installed do to versioning 22:25 < skelterjohn|work> but you can certainly clone it on one place and then copy it to your android platform 22:25 < skelterjohn|work> oh 22:25 < skelterjohn|work> well comment that line out of the makefile 22:26 < str1ngs> ya I'll hack it but. imo just not be a hard dependancy like that 22:26 < str1ngs> it out* 22:26 < str1ngs> whats strangers is if hg is installed and its not a hg tree it silently continues 22:27 < str1ngs> touch ~/bin/hg; chmod 755 ~/bin/hg 22:27 < aiju> haha 22:28 < skelterjohn|work> just have that be a script to echo a version :) 22:28 < Tv__> src/version.bash bitches but exits 0 without .hg 22:28 < str1ngs> lol.. this is for aiju .. builtin echo "ANDROID GOOO!" 22:29 < Tv__> probably enough to add if [ ! -e .hg ]; then exit 0; fi in the beginning 22:29 < str1ngs> I should make an issue I guess 22:31 < aiju> builtin shut up str1ngs with your strawman arguments 22:32 -!- nekoh [~nekoh@dslb-188-107-168-204.pools.arcor-ip.net] has quit [Quit: nekoh] 22:33 -!- rlab [~Miranda@67-65-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 22:33 -!- virtualsue [~chatzilla@nat/cisco/x-uvvgcizjbupescnq] has quit [Ping timeout: 255 seconds] 22:33 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 22:33 < str1ngs> -bash: builtin: shut: not a shell builtin 22:34 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has joined #go-nuts 22:36 -!- tvw [~tv@e176001230.adsl.alicedsl.de] has quit [Remote host closed the connection] 22:36 -!- kamaji_ [~kamaji@handtomouse.demon.co.uk] has joined #go-nuts 22:38 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has quit [Read error: Operation timed out] 22:38 < str1ngs> awk: fatal: cannot open file `ANDROID!' for reading (No such file or directory 22:38 < str1ngs> lol? 22:38 < aiju> Go doesn't like android it seems 22:38 < str1ngs> failed hack :( 22:38 * str1ngs shake fist 22:39 < str1ngs> ok plan B 22:39 < aiju> maybe Go is allergic to XML and Java? 22:39 < str1ngs> grep hg * 22:39 < Tv__> it doesn't count as an allergy when you get a rash from toxins 22:40 < jlaffaye> I should really use netchan 22:43 -!- robteix [~robteix@host195.190-231-150.telecom.net.ar] has joined #go-nuts 22:49 < str1ngs> does hg have something like gitattributes? 22:49 < str1ngs> thinking it might be easier to have a version file with $id 22:50 < str1ngs> this way its not dependant on hg proper 22:50 < aiju> "gitattributes"? 22:50 < str1ngs> cvs id tags 22:50 < aiju> these funny things they put in files? 22:53 < str1ngs> aiju do you even use go? 22:53 < aiju> right now 22:54 -!- tncardoso [~thiago@187.58.6.9] has quit [Read error: Connection reset by peer] 22:54 < str1ngs> because frankly all you seem to do is bitch . but I never hear you talk about go 22:54 < aiju> oh i talk about go 22:54 < aiju> you just don't listen when i do 22:54 < aiju> like i answer questions people have 22:55 < str1ngs> hard to catch that one good thing through the 100 other troll things. 22:55 < aiju> same with you 22:55 < nicka> I came for go, I stay to hear aiju bitch 22:55 < Tv__> kids, kids 22:55 < str1ngs> I dont troll at all 22:55 < aiju> so what makes me "troll" and you "not troll"? 22:56 < aiju> but Tv__ is right 22:56 < str1ngs> ie this hg version thing is a legitimate problem. and your off on some other spin about funny things in files 22:56 < aiju> back to code 22:57 < aiju> well, i'm using hg and i was asking what you mean 22:57 < aiju> // $Id: node_example.module,v 1.14 2005/10/21 13:36:28 dries Exp $ 22:57 < aiju> so you mean these? 22:57 < str1ngs> right 22:57 < aiju> can't you use a hook for that? 22:58 < str1ngs> $Id get replaced by the commit sha1 22:58 < aiju> for that version thing one could just use a hook to write the commit version into a file 22:58 < str1ngs> hmm but that might be done on check out not commit? 22:59 < Tv__> please no $Id$.. if you wanna figure out how to it well, perhaps git's makefile can serve as inspiration 22:59 < str1ngs> Tv__: no no this is just for one file 22:59 < Tv__> as i recall it manages to do the right thing very well 22:59 < str1ngs> ie version 22:59 < Tv__> oh you like your RCS huh? 22:59 -!- robteix [~robteix@host195.190-231-150.telecom.net.ar] has quit [Quit: Computer has gone to sleep.] 22:59 < str1ngs> rcs? 23:00 < aiju> rcs is even older than cvs 23:00 < str1ngs> ah well something like that 23:00 < str1ngs> if it add the sha1 id on commit then. hg would need be needed to get the version number 23:01 < str1ngs> so you can tarball etc 23:01 < str1ngs> even use git. 23:01 < str1ngs> and not have hg as build dependancy 23:01 < aiju> post to the mailing list? 23:01 < Tv__> str1ngs: umm. eww. 23:01 < str1ngs> Tv__: how is that eww? 23:02 < str1ngs> hg has a large dependancy tree 23:02 < Tv__> str1ngs: because the world has moved on from $Id$, and you don't even know why 23:02 < Tv__> yet you are reinventing it 23:02 < str1ngs> this is for one file 23:02 < aiju> that's not even his point 23:02 < str1ngs> I think miss my point here. 23:02 < str1ngs> I'll google it 23:03 < Tv__> str1ngs: is this some personal project of yours, or something i care about like go? if the latter, definitely please don't emulate $Id$ 23:03 < str1ngs> Tv__: you are missing the problem at hand 23:03 < str1ngs> right no as it stands you need to have hg installed in order to build go 23:03 < str1ngs> when imo that makes no sense 23:04 < str1ngs> if hg is installed and there is no hg tree it will silent fail on versioning 23:04 < str1ngs> one $id tag and only one could possibly solve this 23:04 < str1ngs> since all you have to do is head -1 version 23:05 < str1ngs> maybe an awk. 23:05 < Tv__> as i said a long time ago, you can add if [ ! -e .hg ]; then exit 0; fi at the top of src/version.bash and it'll behave like it does now 23:05 < aiju> please, sed 1q 23:05 < str1ngs> aiju: sure that might be better 23:05 < str1ngs> Tv__: no because then you dont get a version 23:05 < str1ngs> it 6g -v 23:05 < str1ngs> -V 23:06 < Tv__> str1ngs: yes, it's ugly 23:06 < Tv__> str1ngs: way less ugly than $Id$, and actually fixable 23:06 < Tv__> the right fix is to add a version file to release tarballs & code in support for the vcs's that mirror the go repo; afaik that's git 23:07 < str1ngs> I fail to see how python and hg ca-certs etc etc make sense in building go 23:07 < aiju> ca-certs is vital 23:07 < str1ngs> only for hg 23:07 < aiju> someone could be supplying fake source! 23:07 < aiju> like, the FBI 23:07 < Tv__> str1ngs: if you don't want hg (or git), build from a release tarball 23:07 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 23:07 < str1ngs> aiju: lets assume I know for a fact the source is safe. ie I made the tarball 23:08 < str1ngs> Tv__: what realease tarball? 23:08 < str1ngs> as far as I know there are none 23:09 < Tv__> str1ngs: that would exist if you wanted to do it right 23:09 < Tv__> str1ngs: without a tarball, you need hg/git anyway to get the source... 23:09 < str1ngs> still donest fix this the build system "untouched" requires hg 23:09 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 23:10 < str1ngs> if I tarball a hg tree. still wont fix this 23:10 < Tv__> str1ngs: snapshot of vcs tree != standalone release 23:10 < Tv__> if you want to make a proper tarball of it, you can do it via the same mechanism that'd generate the real release tarballs 23:11 < Tv__> then it gets the version file added 23:11 < str1ngs> which you are suggesting I build then tarball. however that has other issues 23:11 < Tv__> seriously, you're stuck about 10 years in the past, and i'd love it if you didn't poison this well with that particular idea 23:11 < Tv__> i didn't say "build then tarball" 23:11 < Tv__> but whatever 23:11 < str1ngs> no you are stuck on not actually understanding the problem 23:11 < Tv__> i just hope people with commit access shout you down 23:12 < Tv__> str1ngs: go look at what git does, don't come back until you get the trick 23:12 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined #go-nuts 23:12 < Tv__> str1ngs: you'll do the world a favor, seriously 23:12 < str1ngs> we are not talking git here we are talking hg 23:13 < Tv__> ok i'm not talking to you anymore; i just hope others refuse your patch 23:13 < str1ngs> who said I made a patch. wtf? 23:13 < Tv__> s/patch/ideas/whatever; 23:13 < Tv__> just please don't make the go repo uglier 23:13 < str1ngs> build go without hg.. report back 23:14 < str1ngs> better yet build go from tav's git mirror report back? 23:14 < Tv__> i've never built go form hg 23:14 < Tv__> from 23:14 < Tv__> i always use the git mirror 23:14 < str1ngs> 6g -V 23:14 < str1ngs> do it 23:14 < Tv__> i know it's broken 23:14 < Tv__> i told you how to fix it the right way 23:14 < Tv__> you chose not to listen 23:14 < Tv__> instead you tell me i don't know what you mean 23:14 < str1ngs> right but you have hg installed 23:14 < Tv__> whatever 23:14 < str1ngs> if hg is not installed you cant build at all 23:14 < str1ngs> which is pretty stupid 23:15 < Tv__> str1ngs: i told you how to work around that 23:15 < Tv__> str1ngs: and i told you how to fix it for real 23:15 < Tv__> str1ngs: obviously, i don't know what i'm talking about 23:15 < str1ngs> I have a fix that does not fix the actually real issue 23:15 < Tv__> anyway 23:15 < str1ngs> that hg should not be a build dependancy for go 23:15 < Tv__> this shitty client doesn't do /ignore so i'm gonna have to use mental fortitude here 23:15 < str1ngs> retard 23:17 < nicka> kids, kids 23:18 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp] 23:21 < str1ngs> Tv__: if you have a proper fix you should be posting a patch. not telling me not to. or crapping on a suggestion 23:21 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Quit: Page closed] 23:21 < str1ngs> you seem to think I mean to use Id tags though the whole hg tree. when I suggest in only as a solution for one isolated issue 23:22 < Tv__> just as much pain 23:22 < Tv__> 1) if there are no release tarballs, it's not a huge issue; once go stabilizes, those will be more wanted, and that'll push this feature 2) so 6g -V has an empty version, so what 23:22 < str1ngs> goinstall does not work properly without a version 23:22 < str1ngs> thats just one example 23:22 < Tv__> i have very little inclination to touch hg, so i'm not gonna fix that part; migrate to git and i'll do it ;) 23:23 < str1ngs> second if hg is not installed at all it fails completly 23:23 < Tv__> str1ngs: 6g -V is empty for me and goinstall of github etc repos works just fine 23:23 < str1ngs> third it silently fails without a hg tree 23:23 < Tv__> str1ngs: i gave you an easy workaround to the build failure, that behaves just as good/bad as if hg was installed 23:23 < str1ngs> none of these are good under any situation 23:23 < Tv__> now stop arguing, there's nothing new said here, you need to do your homework 23:24 < Tv__> look at how git does it 23:24 < str1ngs> git has nothing to do with it 23:24 < Tv__> no, you're just too thick to realize 23:24 < Tv__> and refusing to look 23:25 < Tv__> here, i'll hold your hand 23:25 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has quit [Remote host closed the connection] 23:25 < str1ngs> post a link and I'll read it . still has nothing to do with this 23:25 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit: Leaving.] 23:25 < Tv__> https://git.kernel.org/?p=git/git.git;a=blob;f=Makefile;h=4ed7996f7bcc3a044b0da54e8319fc0339ff009d;hb=HEAD#l258 23:26 < str1ngs> 2000 loc file are you serious 23:27 < Tv__> i even pointed at the right fucking line 23:27 < Tv__> i'm hiding this window now 23:27 < str1ngs> ./GIT-VERSION-GEN 23:27 < nicka> are you aiju in disguise 23:27 < str1ngs> nicka: ya starting to wonder here 23:28 < str1ngs> this channel needs active OP's this is getting stupid 23:29 -!- Sep102_ [~Sep102@c-67-170-74-228.hsd1.wa.comcast.net] has joined #go-nuts 23:32 -!- Sep102 [~Sep102@c-67-170-74-228.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 23:33 -!- vmil86 [~vmil86@88.118.36.96] has quit [Remote host closed the connection] 23:42 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 240 seconds] 23:43 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 23:43 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz] 23:43 -!- dRbiG [p@bofh.edu.pl] has joined #go-nuts 23:44 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Ping timeout: 240 seconds] 23:44 -!- larva [~larvanitr@ec2-46-51-171-183.eu-west-1.compute.amazonaws.com] has quit [Read error: Connection reset by peer] 23:44 -!- kkress [~kkress@kkress2.xen.prgmr.com] has quit [Ping timeout: 240 seconds] 23:44 -!- kkress [~kkress@kkress2.xen.prgmr.com] has joined #go-nuts 23:44 -!- d2biG [p@bofh.edu.pl] has quit [Ping timeout: 240 seconds] 23:44 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined #go-nuts 23:44 -!- larva [~larvanitr@ec2-46-51-171-183.eu-west-1.compute.amazonaws.com] has joined #go-nuts 23:53 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has quit [Read error: Connection reset by peer] 23:54 < str1ngs> Tv__: feel free to add your input to http://code.google.com/p/go/issues/detail?id=2133 --- Log closed Fri Aug 05 00:00:19 2011