--- Log opened Wed Aug 31 00:00:10 2011 --- Day changed Wed Aug 31 2011 00:00 -!- orbit [~orbit@adsl-69-221-165-38.dsl.akrnoh.ameritech.net] has joined #go-nuts 00:00 -!- brandini [~orbit@adsl-69-221-165-38.dsl.akrnoh.ameritech.net] has quit [Changing host] 00:00 -!- brandini [~orbit@metabug/brandon] has joined #go-nuts 00:15 -!- Netsplit *.net <-> *.split quits: Rennex 00:28 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 00:28 -!- jbooth1 [~jay@209.249.216.2] has quit [Client Quit] 00:30 -!- tncardoso [~thiago@189.59.202.141] has quit [Read error: Connection reset by peer] 00:30 -!- Rennex [rennex@giraf.fi] has joined #go-nuts 00:32 -!- ccc [~macroron@c-76-26-54-186.hsd1.fl.comcast.net] has joined #go-nuts 00:34 -!- moraes [~moraes@189.103.177.124] has quit [Remote host closed the connection] 00:38 -!- ccc12 [~Adium@140.109.98.187] has joined #go-nuts 00:38 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 00:47 -!- tvw [~tv@e176016092.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 00:48 -!- tvw [~tv@e176007023.adsl.alicedsl.de] has joined #go-nuts 00:52 -!- rcrowley [~rcrowley@50-0-18-168.dsl.static.sonic.net] has quit [Quit: Computer has gone to sleep.] 01:00 -!- nicka [~nicka@unaffiliated/nicka] has quit [Quit: Leaving.] 01:00 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 01:02 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 01:03 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts 01:04 -!- iant [~iant@67.218.106.149] has quit [Quit: Leaving.] 01:04 < kuroneko> morning all 01:07 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 01:11 -!- jrslepak [~jrslepak@pool-74-104-100-26.bstnma.east.verizon.net] has joined #go-nuts 01:13 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 264 seconds] 01:16 -!- franciscosouza [~francisco@187.105.23.92] has quit [Read error: Connection reset by peer] 01:17 -!- franciscosouza [~francisco@187.105.23.92] has joined #go-nuts 01:19 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Read error: Connection reset by peer] 01:19 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined #go-nuts 01:25 -!- nekoh [~nekoh@dslb-188-107-168-060.pools.arcor-ip.net] has quit [Quit: nekoh] 01:41 < brandini> just headed to bed :) 01:44 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 258 seconds] 01:45 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 01:51 -!- Halavanja [~chatzilla@66-211-234-208.velocity.net] has joined #go-nuts 01:54 -!- hargettp [~hargettp@96.237.121.18] has quit [Quit: Linkinus - http://linkinus.com] 02:04 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 02:05 -!- Halavanja [~chatzilla@66-211-234-208.velocity.net] has quit [Quit: ChatZilla 0.9.87 [Firefox 6.0/20110812233755]] 02:08 -!- jrslepak [~jrslepak@pool-74-104-100-26.bstnma.east.verizon.net] has quit [Quit: jrslepak] 02:13 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit [Quit: Computer has gone to sleep.] 02:14 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 02:15 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the connection] 02:19 -!- sunfmin [~sunfmin@115.238.44.107] has joined #go-nuts 02:23 < vsmatck> Enjoyable parser demo. Gave me some ideas. 02:26 -!- ccc [~macroron@c-76-26-54-186.hsd1.fl.comcast.net] has quit [Quit: Lost terminal] 02:30 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 02:40 -!- benjack [~benjack@bb116-15-174-30.singnet.com.sg] has joined #go-nuts 02:40 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 02:40 -!- benjack [~benjack@bb116-15-174-30.singnet.com.sg] has quit [Client Quit] 02:47 -!- c00w [~colin@cpe-24-92-60-252.nycap.res.rr.com] has quit [Quit: Ex-Chat] 02:51 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 03:10 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 03:10 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Client Quit] 03:25 -!- qeed [~qeed@adsl-98-85-42-100.mco.bellsouth.net] has quit [Quit: Leaving] 03:32 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 03:33 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 03:35 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 03:39 -!- niemeyer [~niemeyer@200-102-220-163.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 03:46 -!- ccc12 [~Adium@140.109.98.187] has quit [Ping timeout: 258 seconds] 03:46 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 03:46 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined #go-nuts 03:48 -!- johnweldon [johnweldon@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts 03:53 -!- franciscosouza [~francisco@187.105.23.92] has quit [Read error: Connection reset by peer] 03:53 -!- franciscosouza [~francisco@187.105.23.92] has joined #go-nuts 03:53 < str1ngs> ptrb: saw that. good reason for it not to work :P 03:57 -!- sl [none@sp.inri.net] has quit [Ping timeout: 258 seconds] 03:59 -!- sl [none@sp.inri.net] has joined #go-nuts 03:59 -!- BizarreCake [~BizarreCa@77.126.1.15] has joined #go-nuts 04:02 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 258 seconds] 04:06 -!- johnweldon [johnweldon@c-24-20-104-99.hsd1.wa.comcast.net] has quit [] 04:07 -!- Niedar [~dgdfg@host-173-230-2-133.vanodod.clients.pavlovmedia.com] has quit [Ping timeout: 258 seconds] 04:09 -!- johnweldon [johnweldon@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts 04:12 -!- jcw4 [~textual@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts 04:15 -!- johnweldon [johnweldon@c-24-20-104-99.hsd1.wa.comcast.net] has quit [] 04:16 -!- Niedar [~dgdfg@host-173-230-2-133.vanodod.clients.pavlovmedia.com] has joined #go-nuts 04:18 -!- jcw4 [~textual@c-24-20-104-99.hsd1.wa.comcast.net] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 04:19 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts 04:19 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 04:19 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 04:25 -!- ccc1 [~Adium@140.109.98.187] has left #go-nuts [] 04:30 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 04:30 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 240 seconds] 04:31 -!- ccc1 [~Adium@140.109.98.187] has left #go-nuts [] 04:47 -!- mlh [~mlh@c220-239-104-232.belrs4.nsw.optusnet.com.au] has quit [Quit: brb] 04:56 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 04:56 -!- mode/#go-nuts [+v iant] by ChanServ 05:06 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts 05:11 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts 05:13 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has joined #go-nuts 05:14 -!- Project_2501 [~Marvin@82.84.70.54] has joined #go-nuts 05:19 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has joined #go-nuts 05:26 -!- preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 05:26 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has quit [Quit: Computer has gone to sleep.] 05:28 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error: Operation timed out] 05:30 -!- BigBlackDog [~BigBlackD@HSI-KBW-109-192-007-188.hsi6.kabel-badenwuerttemberg.de] has joined #go-nuts 05:34 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 05:37 -!- vmil86 [~vmil86@78.57.250.113] has joined #go-nuts 05:39 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 05:39 -!- tvw [~tv@e176007023.adsl.alicedsl.de] has quit [Remote host closed the connection] 05:42 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 05:43 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts 05:51 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has quit [Ping timeout: 252 seconds] 05:51 -!- franciscosouza [~francisco@187.105.23.92] has quit [Read error: Connection reset by peer] 05:51 -!- franciscosouza [~francisco@187.105.23.92] has joined #go-nuts 05:53 -!- meling [~meling@134.81-167-41.customer.lyse.net] has quit [Remote host closed the connection] 05:58 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has joined #go-nuts 06:10 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Read error: Connection reset by peer] 06:12 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has joined #go-nuts 06:14 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 252 seconds] 06:14 -!- moraes [~moraes@189.103.177.124] has joined #go-nuts 06:19 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 06:24 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts 06:26 -!- cinap_lenrek [~cinap_len@dslb-088-074-172-149.pools.arcor-ip.net] has left #go-nuts [] 06:26 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has quit [Client Quit] 06:27 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has quit [Ping timeout: 245 seconds] 06:29 -!- Zoopee [alsbergt@192.117.108.58] has joined #go-nuts 06:31 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 06:32 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 06:37 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has quit [Quit: Leaving.] 06:41 -!- xulfer [~xulfer@ipv6.cheapbsd.net] has quit [Quit: quitting] 06:43 -!- xulfer [~xulfer@ipv6.cheapbsd.net] has joined #go-nuts 06:44 -!- meling [~meling@pico.ux.uis.no] has joined #go-nuts 06:49 -!- Pumbaa [~Adium@wlan238171.mobiel.utwente.nl] has joined #go-nuts 06:57 < moraes> go'od morning. 06:57 < kahvi> Morning 06:58 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-153-79.clienti.tiscali.it] has joined #go-nuts 06:59 -!- firwen [~firwen@adevlaptop.cern.ch] has joined #go-nuts 06:59 -!- firwen [~firwen@adevlaptop.cern.ch] has left #go-nuts [] 07:00 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:02 -!- Project_2501 [~Marvin@82.84.70.54] has quit [Ping timeout: 276 seconds] 07:09 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has quit [Ping timeout: 252 seconds] 07:10 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts 07:14 < moraes> so what's up? 07:16 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit: Leaving.] 07:19 < str1ngs> pondering a better way to do this . https://gist.github.com/f469a3246c514a3fbb7c thats whats up :p 07:21 < uriel> wow, are the anti-go trolls in reddit on holiday: http://www.reddit.com/r/programming/comments/jzgqd/lexical_scanning_in_go_rob_pike_video_of_the_talk/ ? 07:23 < moraes> yay, fun! lets read. 07:24 < moraes> uriel, http://gorilla-web.appspot.com/ =D 07:25 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts 07:27 < str1ngs> moraes: you know when I mentioned to you about the static godoc generator. I almosted mentioned gopkgdoc until I noticed you where hosting a google code. I guess you just mirror the repo? 07:27 < moraes> str1ngs, you are you 07:27 < moraes> i was wondering because of your github avatar 07:28 < moraes> str1ngs, initially i mirrored repo in github. but now i created a hacked gopkgdoc version that posts generated docs. 07:29 < moraes> i don't want to keep github mirror. 07:30 < str1ngs> ah nice 07:30 < moraes> godoc should have an option --generate-docs-here=/path/to/static/docs 07:30 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has joined #go-nuts 07:31 < str1ngs> I think you can get around it with -html and maybe -templates 07:31 < moraes> rather than serving directly. it is just a more natural use. 07:32 < moraes> -html won't generate a tree. 07:32 < str1ngs> or table of contents I think 07:32 < ww> «What happens if I change every occurence, in every article, of “George Osborne” to “George Osborne (18th Baronet of Ballintaylor)”. Or “UK citizen” to “UK subject”.» 07:32 -!- ccc_ [~macroron@c-76-26-54-186.hsd1.fl.comcast.net] has joined #go-nuts 07:33 < ww> argh. sorry. cut-and-paste fail 07:33 < ww> fwiw that was about this: http://www.techbelly.com/2011/08/18/browser-as-a-weapon-in-a-guerilla-war/ 07:33 < moraes> heh 07:38 -!- yogib [~yogib@webauth-79-196.uni-paderborn.de] has joined #go-nuts 07:40 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has quit [Ping timeout: 245 seconds] 07:43 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 07:43 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has joined #go-nuts 07:46 -!- Solak [~stijnw@cthia.xs4all.nl] has joined #go-nuts 07:48 -!- valentin [~valentin@darkstar2.fullsix.com] has joined #go-nuts 07:50 -!- wrtp [~rog@host-92-23-125-43.as13285.net] has joined #go-nuts 07:50 -!- Zoopee [alsbergt@192.117.108.58] has quit [Ping timeout: 258 seconds] 07:50 -!- Zoope- [alsbergt@192.117.108.58] has joined #go-nuts 07:51 -!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: Connection reset by peer] 07:51 -!- wrtp [~rog@host-92-23-125-43.as13285.net] has quit [Client Quit] 07:53 -!- TimKack [~tkack@213.208.236.186] has joined #go-nuts 07:54 -!- yogib_ [~yogib@webauth-79-196.uni-paderborn.de] has joined #go-nuts 07:55 -!- yogib [~yogib@webauth-79-196.uni-paderborn.de] has quit [Read error: Connection reset by peer] 07:56 < moraes> i'll submit an idea to xkcd. first square, dude says: "I experience big doubts about Go as a modern programming language". second square: silence. third square, second dude says: "Did you start to learn Haskell?". 07:56 < moraes> (laughs) 07:59 -!- f1ber [~fiber@2001:668:0:f:862b:2bff:fea0:6f36] has joined #go-nuts 08:00 -!- lucid [~rbl@84-74-139-92.dclient.hispeed.ch] has quit [Ping timeout: 240 seconds] 08:01 < xyproto> I like Haskell. It is modern. And, like all horizon-videning activities, it is painful to program in. 08:01 < xyproto> With Python, Go, C and Haskell one can cover a lot of ground. 08:02 < vegai> those four overlap heavily 08:03 < adamhassel> Duh. They're programming languages... 08:03 < vegai> then again, that doesn't matter 08:03 < adamhassel> ;) 08:03 < vegai> after about a decade of trying to figure out Haskell, I think I'm prepared to stop trying 08:04 -!- Xenith [~xenith@xenith.org] has quit [Ping timeout: 264 seconds] 08:04 -!- Xenith [~xenith@xenith.org] has joined #go-nuts 08:04 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 08:04 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has quit [Ping timeout: 245 seconds] 08:06 -!- ccc1 [~Adium@140.109.103.153] has joined #go-nuts 08:07 -!- ccc12 [~Adium@140.109.98.231] has joined #go-nuts 08:08 < xyproto> vegai: how much would you have to figure out to be happy? Do you measure it in what kinds of programs you could write, or if you truly understand the monadic-stuff and lambda calculus? 08:08 < str1ngs> vegai: I use http://haskell.org/haskellwiki/Yi to test my aur helper. works great for that :P 08:09 < str1ngs> vegai: 45 haskell depends later is a good workout imo. 08:10 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host closed the connection] 08:10 < vegai> xyproto: I figured all that pretty well. What I didn't figure out was why I should be using Haskell instead of something else 08:10 -!- kevinwatt [~kevin@59-125-147-75.HINET-IP.hinet.net] has joined #go-nuts 08:10 < vegai> I've actually written production software in it 08:10 < vegai> even used Arrows once, *gasp* 08:11 -!- ccc1 [~Adium@140.109.103.153] has quit [Ping timeout: 264 seconds] 08:14 < xyproto> vegai: :) I ended up with the same conclusion, even though my understanding of Haskell is probably shallower than yours, as I never dvelved properly into lambda calculus. 08:15 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 08:15 < xyproto> vegai: Which language would you use for programming with a lot of maths and algorithms, instead of Haskell? 08:18 < uriel> pen and paper 08:19 < vegai> lot of maths and algorithms, I might go for Haskell actually 08:20 < vegai> or perhaps I would go to my boss and ask him why he's making me do things that I clearly suck in :P 08:21 < vegai> "lot of maths and algorithms" covers like 1% of the whole field, though 08:21 < vegai> might be the most interesting 1%, but still 08:26 < valentin> lack of generics AND method overloading leads to painful situations such as this : https://gist.github.com/1183070 08:30 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts 08:35 < valentin> code duplication can be avoided (see multiple_sorts_clean.go) but with more "ceremony" in implementation 08:40 < xyproto> uriel: it's hard to test code on a sheet of paper. It's hard to run it too. 08:41 < xyproto> vegai: if think I would consider Haskell for that too 08:43 < vegai> project euler, as far as I've seen, consists on problems that Haskell is almost a DSL for :P 08:47 -!- rajender [~rajender@122.183.102.226] has joined #go-nuts 08:49 < moraes> hm, i should start flexing my go muscles with project euler. 08:49 -!- wrtp [~rog@host-92-23-125-43.as13285.net] has joined #go-nuts 08:51 -!- theli_ua [~theli@188.163.238.74] has joined #go-nuts 08:53 < erus`> go BigNum was helpful with project euler 08:53 < erus`> i did them in haskell too :) 09:03 < smw> erus`, how do you read in a bignum with scanner? 09:03 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 09:06 < mpl> uriel: yo. dunno if it's worth the trouble (mainly because it's still in its infancy, and not go specific), but in case you want to add it to your editors page on cat-v, i'm doing this for acme: https://github.com/mpl/gofinder 09:08 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has quit [Ping timeout: 264 seconds] 09:17 -!- ccc12 [~Adium@140.109.98.231] has quit [Quit: Leaving.] 09:17 < uriel> mpl: cool, I might add it to my acme page :) 09:18 -!- deepfuture [~liuxing@218.75.249.184] has joined #go-nuts 09:20 < mpl> uriel: between that and xplor I'm starting to have decent tools to find my way through various code messes at the same time in acme :) 09:23 -!- deepfuture [~liuxing@218.75.249.184] has quit [Ping timeout: 260 seconds] 09:24 < uriel> mpl: very nice 09:26 -!- ccc1 [~Adium@140.109.103.153] has joined #go-nuts 09:27 -!- ccc12 [~Adium@140.109.98.187] has joined #go-nuts 09:30 -!- vmil86 [~vmil86@78.57.250.113] has quit [Ping timeout: 268 seconds] 09:31 -!- ccc1 [~Adium@140.109.103.153] has quit [Ping timeout: 260 seconds] 09:32 -!- sinclair [~chatzilla@ip-118-90-47-14.xdsl.xnet.co.nz] has joined #go-nuts 09:32 -!- virtualsue [~chatzilla@nat/cisco/x-cmpmsooxgsiigriw] has joined #go-nuts 09:32 < sinclair> Hello guys. I was looking at Go. Go looks like such an ugly language! Thoughts? 09:32 -!- niemeyer [~niemeyer@200-102-220-163.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 09:33 < xyproto> sinclair: beauty is in the eyes of the beholder? 09:33 < sinclair> xyproto: i suppose so 09:33 < xyproto> sinclair: and, it has few keywords and paranthesis. Minimalism can be pretty. 09:33 < nsf> sinclair: name a pretty language then 09:34 < nsf> python? ruby? C++? 09:34 < nsf> haskell? 09:34 < nsf> lisp? 09:34 < nsf> :) 09:34 < sinclair> C# is quite nice 09:34 < sinclair> (under mono...of course) 09:34 < nsf> I don't like C# 09:35 < nsf> public static void main() 09:35 < nsf> vs. 09:35 < nsf> func main() 09:35 < sinclair> vs 09:35 < sinclair> def main(): 09:35 < xyproto> HQ9+ is the only pretty language I know 09:35 < nsf> sinclair: exactly, python is prettier 09:35 < sinclair> C# is a nice language, but im not getting into a language war 09:35 < ww> is english an ugly language? 09:36 < nsf> sinclair: I don't want to start a language war 09:36 < BizarreCake> Is there any way to poll sockets in Go? 09:36 < nsf> I'm just trying to understand what is "pretty" in your understanding 09:36 < sinclair> nsf: doesn't matter 09:36 < BizarreCake> There's not poll or select in the net package :/ 09:36 < ww> maybe symmetry has something to do with prettiness 09:36 < sinclair> so, why Go over Java and Python? just performance? 09:36 < moraes> sinclair, i was kidding. you should not post that troll line. 09:36 < BizarreCake> I need a way to determine whether a socket has incoming data. 09:36 < ww> (((((()))))) 09:37 < sinclair> hahaha 09:37 < nsf> sinclair: ok, it's much easier to write Go than Java and Python 09:37 < xyproto> sinclair: C# has its merits, but it's not natively compiled, has 77 keywords (as opposed to just 25 for Go), and has a huge API (too large) 09:37 < nsf> and I can't prove that 09:37 < nsf> you have to try 09:37 < nsf> write a small app in Go 09:37 < nsf> and see 09:37 < sinclair> well, LINQ is a big plus for C# 09:38 < sinclair> LINQ over the data store would be really nice 09:38 < sinclair> probably wouldn't work in a lot of cases tho 09:38 < moraes> it's much easier to write Go than Java and Python, once you understand the pointer magic 09:38 < moraes> fixed. 09:38 < uriel> nsf: it is also much easier to *read* Go than Java (or even Python) 09:38 < uriel> most importantly, it is much easier to *reason* about what Go code does 09:38 < sinclair> range comparisons for example would fail 09:38 < nsf> uriel: yes 09:39 < nsf> ok, by writing I meant the whole development process 09:39 < nsf> which includes writing, reading and changing the code 09:39 < sinclair> tbh, i've gone the python route on appengine, and i do find python a little hard to debug, fast to write, hard to write lots of it 09:39 < sinclair> Java would seem more sensible 09:40 < sinclair> but there is something about the dynamic nature of python that makes it a win for me 09:40 < sinclair> Go looks interesting, native compilation has to be a big draw card right? 09:40 < moraes> sinclair, try app engine go sdk. 09:40 < xyproto> sinclair: "a big plus" is relative. Is business-apps a goal? What is the goal? 09:41 < nsf> sinclair: what kind of apps are you writing? 09:41 < xyproto> sinclair: the dynaamic nature of python is "a win" the first 1000 lines of code 09:41 < sinclair> xyproto: large, data driven RIA applications for business, very SOA 09:41 -!- rajender [~rajender@122.183.102.226] has quit [Quit: Leaving] 09:41 < moraes> it automagically compiles the app on changes (to use the hyped word "automagically"). 09:41 < nsf> service-oriented works fine in Go 09:42 < nsf> at least it should 09:42 < sinclair> xyproto: depends on how you use python, i found the general rule is to, tread carefully 09:42 < xyproto> what nfs said 09:42 < nsf> nsf* 09:42 < BizarreCake> So... any way to poll sockets in Go? 09:43 < xyproto> sinclair: treading carefully is easy to say, but when there are several developers involved, or "emergency fixes", it's horrible 09:43 < nsf> BizarreCake: Go magically pulls them for you, just use 'net' package and one goroutine per connection scheme 09:43 < xyproto> sinclair: the dynamic nature allows for so many potentially undiscovered runtime issues 09:44 < sinclair> yeah, that's python i suppose, for teams of developers on a large project, i would imagine Java being a natural choice, but i say this without knowing too much about Go 09:44 < nsf> BizarreCake: if you take a look at the internals of the 'net' package it's rather complex 09:44 < str1ngs> go is magical ! 09:44 < moraes> sinclair, go eliminates compile time errors from your app. this is a win over python. 09:44 < nsf> polls* 09:44 < BizarreCake> But, then I would need to have one goroutine for reading and one for writing.. 09:44 < xyproto> sinclair: not that they are not there in other languages, but they are more present in python than in Go 09:44 < BizarreCake> Isn't that wasteful? 09:44 < nsf> BizarreCake: people do that in Go 09:44 < moraes> that said, go libraries are still infant. 09:45 < sinclair> xyproto: are you thinking about duck typing, or some other aspect of dynamic typing, or something else? 09:45 < nsf> BizarreCake: one goroutine is 4kb static overhead (basic size of a stack when it's allocated) 09:45 < BizarreCake> For a program with over a hundred sockets, that would require 200 goroutines! 09:45 < nsf> BizarreCake: that's ok 09:45 < xyproto> sinclair: Go has very nice modularity, an appropriate dose of strictness, no whitespace vs tabs discussions due to a tool that defines what's standard and had the problems of C++ for large projects in mind when being written 09:45 < BizarreCake> Although some multiplexing is done, they're still threads. 09:45 < moraes> xyproto, undiscovered compile time issues. 09:45 < nsf> BizarreCake: 200000 of goroutines might work 09:45 < BizarreCake> :o 09:46 < BizarreCake> They're so cheap?? 09:46 < nsf> but it will eat a lot of ram 09:46 < BizarreCake> like in Erlang? 09:46 < nsf> I said earlier 09:46 < nsf> 4k per goroutine 09:46 < fluffle> valentin: https://gist.github.com/1183191 09:46 < xyproto> moraes: true, the libraries are new, but several are based on years of unix and even plan9 experience 09:46 < nsf> 200000 will eat about 1-2 gigs of ram 09:46 < nsf> :D 09:46 < BizarreCake> lol 09:46 < fluffle> valentin: generics and templates are less useful when you have first-class functions 09:47 < BizarreCake> But, on the windows port, every goroutine is a pthread. 09:47 < moraes> xyproto, i mean there are many tools that people are used to for web development that you'd need to code yourself in go 09:47 < BizarreCake> That surely won't scale well in Windows. 09:47 < nsf> BizarreCake: I don't think it's true 09:47 < xyproto> moraes: yes, like pdf-handling for web apps 09:47 < BizarreCake> It's impossible to have over a thousand threads in a single process 09:47 < nsf> only gccgo uses one thread per goroutine 09:47 < BizarreCake> It'll kill the operating system 09:47 < BizarreCake> Yes 09:48 < BizarreCake> that's what I said 09:48 < BizarreCake> Only the Windows port. 09:48 < nsf> but gc compiler works on windows as well 09:48 < moraes> xyproto, we'll gradually fix this 09:48 < BizarreCake> ? It does? :o 09:48 < nsf> yes 09:48 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has joined #go-nuts 09:48 < xyproto> moraes: yes :) 09:48 < nsf> but it's rather hard to compile and use it 09:48 < nsf> because it relies a lot on unix stuff (like make, bash, etc.) 09:48 < BizarreCake> Oh yeah, I did compile gc for linux. 09:48 < BizarreCake> So it's probably possible for windows. 09:49 < nsf> but it works on windows too 09:49 < nsf> there are builds somewhere I'm sure 09:49 < nsf> http://code.google.com/p/gomingw/downloads/list 09:50 < nsf> but of course you also need a build system probably 09:50 < nsf> and I don't know what to suggest here for windows 09:51 < nsf> something pythonish maybe, I don't know.. waf or scons 09:57 < nsf> oh well 09:57 < nsf> and another major issue with gc on windows 09:57 < nsf> is cgo 09:57 < nsf> the tool which most C bindings use 09:57 < nsf> it relies on gcc 09:57 < nsf> so.. in general if you want to use gc on windows 09:58 < nsf> cygwin is the way to go 09:58 < nsf> I guess :) 09:59 -!- kahvi [576c168e@gateway/web/freenode/ip.87.108.22.142] has quit [Ping timeout: 252 seconds] 09:59 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts 09:59 < BizarreCake> Thanks :3 10:10 -!- virtualsue [~chatzilla@nat/cisco/x-cmpmsooxgsiigriw] has quit [Ping timeout: 260 seconds] 10:21 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts 10:22 < moraes> hey. quick question. i'm lost with crypto. want to encrypt some data to be sent over http. should i use AES? 10:32 -!- ccc12 [~Adium@140.109.98.187] has quit [Quit: Leaving.] 10:35 < valentin> fluffle : seems better, but such a facility should be provided by pkg/sort 10:36 < valentin> ... if possible 10:36 < fluffle> why? 10:37 < fluffle> pkg/sort doesn't know how you want your arbitrary data sorted, but it provides an interface so you can tell it 10:38 < gobeginner> moraes: why not just use https to begin with? does the data need to be encrypted once delivered? 10:39 < moraes> gobeginner, no. 10:40 < moraes> gobeginner, it's a "secure cookie" library and i want to offer the option to encrypt it (or simply hmac it, but then data is exposed, which is fine in some situations) 10:40 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 10:40 < valentin> but it should be more flexible if this interface was splitted into : type ShufflableCollection { Len() int; Swap(i, j int) } ; type Comparator interface { Less(a, b int) bool } ; Interface { ShufflableCollection; Comparator } 10:40 < moraes> so it'll have hmac/aes 10:42 < valentin> then you could define func quickSortBy(s ShufflableCollection, func less(i, j int)bool ){ ... } 10:42 < valentin> but i'm not sure of all implications 10:43 -!- hargettp [~hargettp@96.237.121.18] has joined #go-nuts 10:44 < kuroneko> moraes: just support the optional use of the crypto/cipher.Block interface. 10:44 < kuroneko> if it's just a library 10:44 < kuroneko> and let the implementor worry about that. 10:45 < moraes> kuroneko, good advice. will take a look. 10:45 -!- Argue [~Argue@112.201.172.5] has joined #go-nuts 10:45 < gobeginner> moraes: I take it there is real data in the cookie then, not just a hash. I'd store a random salt along with encrypted payload if it is encrypted. 10:45 < fluffle> valentin: that sounds like a plausible approach, as long as you don't break backwards compatibility with the current pkg/sort api i'm sure the go devs would consider a patch 10:46 < gobeginner> is guarding against hijacking of the encrypted cookie passed over http in scope for your library? 10:47 < moraes> yes 10:47 < moraes> no, actually it is not 10:47 < moraes> only verifying it 10:47 < moraes> :-/ 10:47 < moraes> for hijack guarding, use https 10:48 < kuroneko> wait, we actually are talkinga bout web cookies? 10:48 < kuroneko> let me find something to hide under until it's over. >_< 10:49 < moraes> ah, another cookie hater to my collection. 10:49 < kuroneko> no, it's because the words 'secure' and 'cookie' don't belong together. 10:50 < kuroneko> in this context 10:50 < kuroneko> you make cookies secure through the use of strong random generation, and by enforcing secure transports (https) 10:50 < kuroneko> and never storing real data in the cookie itself 10:51 -!- virtualsue [~chatzilla@nat/cisco/x-pkrcacsfzlltexnt] has joined #go-nuts 10:51 < kuroneko> [ie: value in the cookie must be oblique to the data it represents, and must be sufficiently random and sufficently long that it can't be trivially guessed] 10:51 < moraes> the library is a generic session interface. the most basic session stores hmac'ed data in the cookie itself. 10:52 < kuroneko> that's trivial enough to assemble using base64 + hmac 10:52 < moraes> or it stores a random id for the backend to grab the real data. 10:52 < moraes> trivial stuff. 10:52 < kuroneko> and you can even mix it with bson if you want non trivial types. 10:52 < kuroneko> I guess you can make a library for it if you really want. 10:53 -!- sunfmin [~sunfmin@115.238.44.107] has quit [Quit: sunfmin] 10:54 < moraes> yep, i do want. 10:54 < kuroneko> I don't think it's honestly all that hard to do thanks to go's reflection and how well the marshalling/encoding stuff has been put together 10:54 < moraes> there're tricky parts. a library might be useful. 10:54 < kuroneko> in the client-side hmac'd store model, it's just a matter of plugging the bits together 10:55 < kuroneko> in a more traditional server-side session store, well, everybody's going to want to use their application database 10:55 < moraes> yes. i want to do this so that others won't have to realize that they just can't hmac and be vulnerable to byte shifting etc. 10:57 < moraes> kuroneko, i won't implement any stores besides basic hmac'ed cookies (lie: i'll actually implement two for app engine memcache / datastore) 10:57 < moraes> but there'll be some infrastructure for custom stores 10:58 -!- sunfmin [~sunfmin@115.238.44.107] has joined #go-nuts 10:58 -!- sunfmin [~sunfmin@115.238.44.107] has quit [Client Quit] 11:00 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has joined #go-nuts 11:02 < moraes> eeeks http://groups.google.com/group/golang-nuts/msg/feefcf336ce30bcb 11:02 < moraes> there're always trick parts 11:02 < moraes> pure fun! 11:04 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 11:05 < Argue> a slice taken from a slice refers to the same slice right? 11:05 -!- nekoh [~nekoh@dslb-088-069-158-056.pools.arcor-ip.net] has joined #go-nuts 11:06 < exch> It refers to the same underlying data 11:06 < Argue> so if i have a = someSlice; b := a[5:10]; and the reference to a is eventually lost, do the first 5 elements get garbage collected? 11:06 < kuroneko> hmm. I suspect not - but I dont' know the magic of the gc stuff 11:06 < exch> Good question. But I doubt it. Since the underlying memory block was allocated as a single chunk. 11:07 < exch> The slice is just a 'window' into that memory block 11:07 < Argue> Guess I should allocate a new one to be safe. 11:08 < kuroneko> gad. reading through golang-nuts and now I remember why I don't receive the digests 11:09 < Argue> ah, it says here that you are correct http://blog.golang.org/2011/01/go-slices-usage-and-internals.html 11:10 < kuroneko> [for all the useful traffic, there's enough that I simply don't care about to make it Too Much Mail] 11:11 < moraes> kuroneko, i subscribe to read on the web 11:11 < kuroneko> yeah, I'm set up that way too because I don't haev the energy to filter through the list in my inbox these days 11:11 < moraes> (most mailing lists. so get zero distraction on mail) 11:11 < kuroneko> I guess I'm just a little burnt out after 10 years of constant list mail 11:12 < moraes> with google groups i just subscribe to read on web. 11:12 < moraes> then i go read when i'm felling like i want to have some fun. 11:13 < moraes> (and the new groups interface is awful. html messages is the only option to send messages, WYSIWYG included) 11:14 -!- ccc1 [~Adium@114-45-81-141.dynamic.hinet.net] has joined #go-nuts 11:14 < moraes> the new interface is WYGWYUGWT (what you get when you use GWT) 11:15 -!- hargettp [~hargettp@96.237.121.18] has quit [Quit: Leaving...] 11:17 < BizarreCake> One thing really irritating about Go is that you can't have two packages that import each other 11:17 < BizarreCake> D; 11:17 < BizarreCake> Any way to bypass that? 11:17 < nsf> two packages that import each other sounds like a one package 11:17 < adamhassel> Out of interest: why would you want that? 11:17 < adamhassel> Combine them to one package. 11:18 < kuroneko> BizarreCake: either you want one package, or you need more abstraction of interfaces 11:18 < adamhassel> ... as nsf typed faster than me :) 11:18 < BizarreCake> Why should I merge a server and a client into a single package? 11:18 < adamhassel> BizarreCake, when they import each other, then obviously they are both ;) 11:18 < nsf> BizarreCake: why do you want to import client to server and server to client 11:18 < nsf> make a separate "common" package 11:18 < BizarreCake> The server needs to create the client 11:19 < BizarreCake> and the client needs to get a client list from the server. 11:19 < nsf> which contains everything that is in common 11:21 < BizarreCake> Well, it's not just the client. I'll have a lot more packages importing the server, and the server will them too 11:22 < kuroneko> BizarreCake: tbh, abstract better, or factor out common code. 11:22 < BizarreCake> will import them too* 11:22 < BizarreCake> Gets a little messy when the project grows.. 11:22 < kuroneko> Does A really need to know all of the intricated details of B? if not, interface it. 11:22 < kuroneko> do A and B share a bunch of common code to do important things? factor it out into common library C 11:23 < kuroneko> not being able to have circular references is a bit of a blessing really, not actually a problem - it helps force you to make your design suck less. 11:24 < moraes> you know one thing. just brainstorming. i've wanted before to use conditional packages, to support, say, r58 and r59. that's messy. but its harder to support r58 when api broke in r59. so you have to keep 2 distributions. 11:24 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 11:25 < moraes> or don't use api that broke. 11:25 -!- kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 11:25 < kuroneko> vcs. branches. 11:25 < kuroneko> as much at that approach pains me, it's the goinstall supported way 11:26 < moraes> yeah you need to keep 2. 11:26 < BizarreCake> Well, one thing that my program tries to do is have each client\player contain a reference to the world they're currently in. But the world also contains a list of all clients in it. 11:27 < BizarreCake> How can I possibly create a "common" library that'll do that in an elegant way? 11:27 < kuroneko> that doesn't explain why the client needs to use the server code? 11:27 < BizarreCake> The server contains a client and a world list 11:28 < BizarreCake> Which makes it more complex 11:28 < BizarreCake> And, each world contains a reference to the server. 11:28 < BizarreCake> D: 11:28 -!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #go-nuts 11:29 < moraes> kuroneko, support rotating hmac keys... there's cool stuff to do in a session lib. 11:29 < BizarreCake> That's three packages importing each other. 11:30 < kuroneko> bizarrecake: but... that... just... ugh. >_< 11:30 < BizarreCake> brb 11:30 < kuroneko> Why does the world need to reference both the client *and* the server? 11:33 < kuroneko> if you're storing state, decouple state from communication, and move client state, server state and world state into a common library 11:33 < kuroneko> but honestly, it sounds a bit like you're trying to make the same lump of code solve too much 11:34 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 11:39 -!- vmil86 [~vmil86@88.118.38.213] has joined #go-nuts 11:40 < Argue> if I have this code here http://pastebin.com/h25FJHtp 11:40 < Argue> how do I make the second case execute only of myList has something in it? 11:40 < Argue> *only if 11:40 < Argue> apart from actually doing a check outside the select 11:48 -!- tncardoso [~thiago@189.59.202.141] has joined #go-nuts 11:52 * nsf hates adobe flash 11:52 < nsf> no free space in /tmp 11:52 < nsf> == no youtube videos 11:52 < nsf> :\ 11:53 < nsf> and I have 2 gigs of free ram 11:53 < nsf> :\ 11:54 < gobeginner> I'm trying out gocheck and have a couple of tests succesfully using it but I'm getting an error out of 'goinstall -nuke=true -v launchpad.net/gocheck' 11:55 -!- miker2 [~miker2@64.55.31.190] has joined #go-nuts 11:55 < niemeyer> gobeginner: What's the error? 11:55 < gobeginner> "ERROR: Requested revision: 'release' does not exist in branch" anything to worry about 11:55 < gobeginner> ? 11:55 < nsf> oh, so you guys are wondering, what my rant about adobe flash has in common with Go, I'm trying to watch adg's talk :) 11:55 < nsf> :D 12:00 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 12:00 < moraes> nsf, just for fun, add a temperature monitoring widget to your machine, then watch it when you are running flash 12:02 -!- jlilly [~justinlil@70.32.34.100] has quit [Quit: Hosted by rdlBNC (Server 2 - United States of America)] 12:05 -!- jlilly [~justinlil@s2.rdlbnc.com] has joined #go-nuts 12:07 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has quit [Read error: Connection reset by peer] 12:07 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has joined #go-nuts 12:08 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has quit [Quit: Leaving.] 12:09 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has joined #go-nuts 12:09 < kahvi> I always thought the videos are only in ram unless running out of it :o 12:11 -!- nicka [~nicka@unaffiliated/nicka] has quit [Quit: Leaving.] 12:12 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 12:17 -!- pfitzsimons [522bb553@gateway/web/freenode/ip.82.43.181.83] has joined #go-nuts 12:19 -!- pfitzsimons [522bb553@gateway/web/freenode/ip.82.43.181.83] has left #go-nuts [] 12:20 < nsf> moraes: yeah, I know that thing about flash, tried playing flash games on my netbook 12:22 -!- nicka [~nicka@unaffiliated/nicka] has quit [Quit: Leaving.] 12:23 -!- franciscosouza [~francisco@187.105.23.92] has quit [Quit: franciscosouza] 12:24 -!- franciscosouza [~francisco@187.105.23.92] has joined #go-nuts 12:29 -!- franciscosouza [~francisco@187.105.23.92] has quit [Client Quit] 12:30 * kuroneko is currently tackling gamma correction and image resampling for fun. 12:33 < nsf> kahvi: exactly, html5 video are in ram, but adobe flash always saves them 12:33 < nsf> in a temporary file which it deletes immediately 12:33 < nsf> but you can still access it using 'lsof' and /proc 12:33 < nsf> :D 12:34 < vegai> that's perhaps my favourite abuse trick 12:34 < nsf> :D 12:34 < kahvi> :D 12:34 < vegai> we have a db at work that does that regurarily 12:34 < vegai> and we usually run it on solaris... where /tmp is usually backed by ram 12:35 < vegai> 128G ram used by nothing visible, nice 12:35 < vegai> (slight exaggeration, but still :) 12:37 < kahvi> I was happy about 2 gb spare ram I could use for ramdisk a while ago 12:38 < kahvi> Then I realized I don't actually need it much at all :/ 12:40 < kuroneko> gah. sRGB just ruined my night. 12:40 < nsf> weirdly enough my /tmp is not on a tmpfs 12:40 < nsf> for some reason 12:41 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Read error: Operation timed out] 12:42 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 12:43 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Quit: Leaving.] 12:54 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 12:57 -!- iant [~iant@66.109.104.221] has joined #go-nuts 12:57 -!- mode/#go-nuts [+v iant] by ChanServ 12:58 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 12:59 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit: pyrhho] 13:01 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Linkinus - http://linkinus.com] 13:04 -!- ccc1 [~Adium@114-45-81-141.dynamic.hinet.net] has quit [Quit: Leaving.] 13:04 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts 13:04 -!- BizarreCake [~BizarreCa@77.126.1.15] has quit [Quit: Leaving] 13:07 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 13:12 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 252 seconds] 13:12 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 13:13 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 13:17 -!- ccc1 [~Adium@114-45-81-141.dynamic.hinet.net] has joined #go-nuts 13:20 -!- sebastianskejoe [~sebastian@56345014.rev.stofanet.dk] has joined #go-nuts 13:34 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:35 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 13:36 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the connection] 13:38 -!- sebastianskejoe [~sebastian@56345014.rev.stofanet.dk] has quit [Ping timeout: 252 seconds] 13:39 -!- aiju [~aiju@unaffiliated/aiju] has left #go-nuts ["'x𒍅)'"] 13:39 -!- ccc1 [~Adium@114-45-81-141.dynamic.hinet.net] has left #go-nuts [] 13:40 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 13:41 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:44 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 13:45 -!- sebastianskejoe [~sebastian@56345014.rev.stofanet.dk] has joined #go-nuts 13:51 -!- BizarreCake [~BizarreCa@77.126.1.15] has joined #go-nuts 13:51 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 13:52 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 13:54 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:55 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 14:03 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 14:04 -!- iant [~iant@66.109.104.221] has quit [Quit: Leaving.] 14:04 -!- kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping timeout: 252 seconds] 14:08 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-178-134.clienti.tiscali.it] has joined #go-nuts 14:10 -!- iant [~iant@nat/google/x-mavjugrmbtcujxqn] has joined #go-nuts 14:10 -!- mode/#go-nuts [+v iant] by ChanServ 14:12 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-153-79.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 14:14 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5] 14:15 < niemeyer> gobeginner: No, nothing to worry about 14:16 < gobeginner> great, thank you 14:17 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has joined #go-nuts 14:17 -!- x44t [~xps@175.169.150.111] has joined #go-nuts 14:19 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 14:22 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 14:23 -!- moraes [~moraes@189.103.177.124] has quit [Remote host closed the connection] 14:24 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 14:24 -!- theli_ua [~theli@188.163.238.74] has quit [Read error: Connection reset by peer] 14:26 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts 14:28 -!- theli_ua [~theli@188.163.238.74] has joined #go-nuts 14:32 -!- GeertJohan1 [~Squarc@clal-4-206.eduroam.inholland.nl] has joined #go-nuts 14:32 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 14:37 -!- GeertJohan1 [~Squarc@clal-4-206.eduroam.inholland.nl] has quit [Client Quit] 14:37 -!- BizarreCake [~BizarreCa@77.126.1.15] has quit [Ping timeout: 240 seconds] 14:38 -!- chickamade [~chickamad@27.2.195.60] has joined #go-nuts 14:40 -!- sinclair [~chatzilla@ip-118-90-47-14.xdsl.xnet.co.nz] has quit [Ping timeout: 258 seconds] 14:43 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts 14:43 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has joined #go-nuts 14:43 -!- GeertJohan1 [~Squarc@clal-4-206.eduroam.inholland.nl] has joined #go-nuts 14:46 -!- sinclair [~chatzilla@ip-118-90-5-90.xdsl.xnet.co.nz] has joined #go-nuts 14:48 -!- BizarreCake [~BizarreCa@77.126.1.15] has joined #go-nuts 14:51 -!- tncardoso [~thiago@189.59.202.141] has quit [Quit: bye] 14:52 -!- jcw4 [~jcw4@74-92-165-233-Oregon.hfc.comcastbusiness.net] has joined #go-nuts 14:53 -!- photron [~photron@port-92-201-116-224.dynamic.qsc.de] has joined #go-nuts 14:53 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 245 seconds] 14:57 -!- clr_ [~colin@2620:0:2820:ab:224:d7ff:fe3e:71b4] has joined #go-nuts 15:02 -!- kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined #go-nuts 15:02 -!- x44t [~xps@175.169.150.111] has left #go-nuts [] 15:03 -!- pjacobs2 [~pjacobs@66.54.185.130] has joined #go-nuts 15:04 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.] 15:04 -!- iant [~iant@nat/google/x-mavjugrmbtcujxqn] has quit [Ping timeout: 258 seconds] 15:05 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 15:07 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Ping timeout: 260 seconds] 15:07 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245 seconds] 15:09 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 15:09 -!- iant [~iant@nat/google/x-xjcpeyqzckgmkzzm] has joined #go-nuts 15:10 -!- mode/#go-nuts [+v iant] by ChanServ 15:10 -!- x44t [~xps@175.169.150.111] has joined #go-nuts 15:11 -!- BizarreCake [~BizarreCa@77.126.1.15] has quit [Ping timeout: 264 seconds] 15:12 -!- kurrik [~kurrik@c-69-181-2-69.hsd1.ca.comcast.net] has joined #go-nuts 15:19 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 15:25 -!- JakeyChan [~JakeyChan@ec2-175-41-238-53.ap-northeast-1.compute.amazonaws.com] has joined #go-nuts 15:26 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 15:27 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 15:51 -!- chickamade [~chickamad@27.2.195.60] has quit [Quit: chickamade] 15:52 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 240 seconds] 15:53 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts 15:54 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host closed the connection] 15:58 -!- iant [~iant@nat/google/x-xjcpeyqzckgmkzzm] has quit [Ping timeout: 265 seconds] 15:59 -!- TimKack [~tkack@213.208.236.186] has quit [Quit: TimKack] 15:59 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts 16:00 -!- theli_ua [~theli@188.163.238.74] has quit [Quit: Leaving] 16:01 -!- sacho [~sacho@46.10.17.252] has quit [Read error: Operation timed out] 16:05 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has joined #go-nuts 16:10 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts 16:11 -!- Pumbaa [~Adium@wlan238171.mobiel.utwente.nl] has quit [Quit: Leaving.] 16:13 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has quit [Client Quit] 16:15 -!- GeertJohan1 [~Squarc@clal-4-206.eduroam.inholland.nl] has quit [Ping timeout: 245 seconds] 16:15 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has quit [Ping timeout: 245 seconds] 16:17 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has quit [Ping timeout: 255 seconds] 16:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 16:19 -!- c00w [~colin@2620:0:2820:ab:224:d7ff:fe3e:71b4] has quit [Ping timeout: 260 seconds] 16:22 -!- x44t [~xps@175.169.150.111] has quit [Ping timeout: 245 seconds] 16:24 < kahvi> Can I build gc on Windows using cygwin? 16:24 -!- JakeyChan [~JakeyChan@ec2-175-41-238-53.ap-northeast-1.compute.amazonaws.com] has quit [Ping timeout: 252 seconds] 16:25 < skelterjohn> mingw is better for this 16:25 < skelterjohn> as in, installing mingw and running ./make.bash works 16:25 < skelterjohn> a 16:26 < skelterjohn> and with cygwin i think it's a bit harder 16:28 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 16:29 -!- rog [~wrtp@host-92-23-125-43.as13285.net] has joined #go-nuts 16:32 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 16:35 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 245 seconds] 16:37 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has quit [Read error: Connection reset by peer] 16:38 -!- Project-2501 [~Marvin@82.84.76.20] has joined #go-nuts 16:41 < kahvi> skelterjohn, Do I need only the mingw tools or msys too? 16:41 -!- moraes [~moraes@189.103.177.124] has joined #go-nuts 16:41 < skelterjohn> i don't remember 16:41 < skelterjohn> but try with just mingw 16:42 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-178-134.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 16:44 -!- JakeyChan [~JakeyChan@118.132.214.248] has joined #go-nuts 16:45 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has joined #go-nuts 16:51 -!- salviati [~salviati@nt10-ppp1526.osaka.sannet.ne.jp] has joined #go-nuts 16:53 -!- c00w [~colin@2620:0:2820:ab:224:d7ff:fe3e:71b4] has joined #go-nuts 16:54 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit: pyrhho] 16:54 -!- valentin [~valentin@darkstar2.fullsix.com] has quit [Remote host closed the connection] 16:54 -!- thrashr888 [~thrashr88@64.125.143.6] has joined #go-nuts 16:56 -!- Pappkamerad [~Pappkamer@95.88.164.175] has joined #go-nuts 16:56 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has joined #go-nuts 16:59 -!- rog [~wrtp@host-92-23-125-43.as13285.net] has quit [Ping timeout: 264 seconds] 17:02 -!- JakeyChan [~JakeyChan@118.132.214.248] has quit [Remote host closed the connection] 17:10 -!- nisstyre [~yours@infocalypse-net.info] has quit [Read error: Connection reset by peer] 17:11 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza] 17:14 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 17:15 -!- franciscosouza [~francisco@201.7.186.67] has quit [Client Quit] 17:16 -!- elephants [~elephants@66.207.210.2] has joined #go-nuts 17:18 < moraes> niemeyer, you know what could be cool? http://r58.goneat.org/ etc 17:19 < skelterjohn> asking a lot of the poor guy :) 17:19 -!- uwedeportivo [~uwedeport@206.169.118.30] has joined #go-nuts 17:20 < moraes> i know :) 17:20 < moraes> if godoc generated static docs... 17:20 < niemeyer> moraes: It'd be nice indeed.. I just need some additional hundreds of dollars every month to fund it 17:20 < moraes> we would not need to start server to read old docs 17:21 -!- iant [~iant@nat/google/x-ektmjksqnxjgicwl] has joined #go-nuts 17:21 -!- mode/#go-nuts [+v iant] by ChanServ 17:21 * moraes starts r58 godoc server 17:23 < moraes> niemeyer, sending you a check 17:27 < skelterjohn> can't you run a single godoc server that serves more than one set of docs? 17:28 < moraes> once i am a go ninja, i'll go and patch godoc to generate a static tree! 17:29 < moraes> that's the thing. 17:29 < moraes> no stinky server. 17:31 -!- chadkouse [~Adium@24.123.67.50] has joined #go-nuts 17:31 < uwedeportivo> does anyone know which go appengine sdk http://code.google.com/p/cuddle/ requires ? doesn't seem to be the sdk that's available right now 17:33 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 17:33 < str1ngs> version 2 based on andrew's talk 17:33 < str1ngs> which is r58 iirc 17:33 < moraes> latest then 17:33 < moraes> the sdk ships go 17:34 < moraes> latest: http://code.google.com/p/cuddle/source/browse/app.yaml 17:36 < uwedeportivo> yeah, i think the latest go appengine sdk you can download is still version 1 17:36 < uwedeportivo> i just did and it insisted on having api version 1 in the yaml 17:36 < uwedeportivo> and of course i get compile errors 17:37 < moraes> nope 17:37 < moraes> latest is api 2 17:37 < uwedeportivo> i fixed a couple but don't know how many more there are 17:38 < uwedeportivo> i went here http://code.google.com/appengine/downloads.html 17:38 < uwedeportivo> and got 1.5.3 17:38 < uwedeportivo> the version in that package is 1 17:38 < niemeyer> moraes: No stinky server == no stinky search 17:38 < uwedeportivo> is there another link i can go to ? 17:38 < moraes> 1.5.3 is api 2 17:39 < uwedeportivo> release: "1.5.0" 17:39 < uwedeportivo> timestamp: 1301428458 17:39 < uwedeportivo> api_versions: ['1'] 17:40 < uwedeportivo> hm, wonder why it says 1.5.0 17:40 < moraes> aha! 17:40 < str1ngs> 1.5.. round down. 1.5.3 round up 17:40 < moraes> got you. 17:40 < moraes> you have wrong aliases 17:41 < uwedeportivo> ok, true, my bad 17:41 < uwedeportivo> figured it out, never mind 17:42 < uwedeportivo> got the right zip now 17:45 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 17:48 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-157-22.clienti.tiscali.it] has joined #go-nuts 17:49 -!- salviati [~salviati@nt10-ppp1526.osaka.sannet.ne.jp] has quit [Read error: Connection reset by peer] 17:50 < moraes> the search is pretty nice indeed. i never realized that http://golang.org/search?q=foo 17:50 < moraes> what kind of index it uses? 17:50 < moraes> it is fast 17:50 -!- Project-2501 [~Marvin@82.84.76.20] has quit [Ping timeout: 245 seconds] 17:54 -!- jlaffaye [~jlaffaye@abydos.jlaffaye.net] has quit [Changing host] 17:54 -!- jlaffaye [~jlaffaye@freebsd/developer/jlaffaye] has joined #go-nuts 17:54 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has joined #go-nuts 17:58 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts 18:00 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has joined #go-nuts 18:01 -!- adg [~nf@atka.wh3rd.net] has quit [Ping timeout: 264 seconds] 18:01 -!- adg [~nf@atka.wh3rd.net] has joined #go-nuts 18:01 -!- mode/#go-nuts [+o adg] by ChanServ 18:11 -!- kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping timeout: 252 seconds] 18:18 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 18:20 -!- yogib [~yogib@webauth-79-196.uni-paderborn.de] has quit [Quit: yogib] 18:27 -!- lazy1 [~miki@cpe-75-84-253-172.socal.res.rr.com] has joined #go-nuts 18:28 -!- QubeX2 [~mikael@metro-cust-83-172-74-220.daladatorer.net] has joined #go-nuts 18:30 -!- Argue [~Argue@112.201.172.5] has quit [Quit: Leaving] 18:32 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-22.clienti.tiscali.it] has joined #go-nuts 18:35 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-157-22.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 18:37 -!- valentin_ [~valentin@85-170-19-98.rev.numericable.fr] has joined #go-nuts 18:39 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 18:42 -!- huin [~huin@91.85.139.164] has joined #go-nuts 18:47 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed the connection] 18:50 -!- miker2 [~miker2@64.55.31.190] has quit [Read error: Connection reset by peer] 18:50 -!- miker2 [~miker2@64.55.31.190] has joined #go-nuts 18:52 -!- meling [~meling@pico.ux.uis.no] has quit [Remote host closed the connection] 18:53 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has quit [Ping timeout: 252 seconds] 18:56 -!- yogib [~yogib@dslb-178-009-078-252.pools.arcor-ip.net] has joined #go-nuts 18:56 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 19:03 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Ping timeout: 276 seconds] 19:06 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts 19:07 -!- Nisstyre [~yours@infocalypse-net.info] has joined #go-nuts 19:09 -!- miker2 [~miker2@64.55.31.190] has quit [Read error: Connection reset by peer] 19:09 -!- miker2 [~miker2@64.55.31.190] has joined #go-nuts 19:11 -!- pyrhho [~pyrhho@02dbe76c.bb.sky.com] has joined #go-nuts 19:13 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has joined #go-nuts 19:15 -!- tav [~tav@host-2-96-42-164.as13285.net] has quit [Ping timeout: 245 seconds] 19:21 -!- moraes [~moraes@189.103.177.124] has quit [Quit: Leaving] 19:26 -!- tvw [~tv@e176007023.adsl.alicedsl.de] has joined #go-nuts 19:27 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving] 19:28 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts 19:30 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has quit [Quit: Leaving.] 19:31 -!- GeertJohan [~Squarc@clal-4-206.eduroam.inholland.nl] has quit [Quit: Leaving.] 19:31 -!- tav [~tav@host-92-20-22-171.as13285.net] has joined #go-nuts 19:31 -!- alehorst [~alehorst@200.146.9.164.dynamic.dialup.gvt.net.br] has quit [Ping timeout: 245 seconds] 19:32 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has joined #go-nuts 19:33 -!- gobeginner [~nwood@cpc2-lee23-0-0-cust152.7-1.cable.virginmedia.com] has joined #go-nuts 19:33 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has quit [Quit: This computer has gone to sleep] 19:36 -!- thrashr888 [~thrashr88@64.125.143.6] has quit [Quit: thrashr888] 19:38 -!- TheMue [~FMueller@p5DDF57D0.dip.t-dialin.net] has joined #go-nuts 19:39 -!- alehorst [~alehorst@189.58.21.184.dynamic.adsl.gvt.net.br] has joined #go-nuts 19:42 < gattuso> hi 19:42 < gattuso> how to append an element to a slice? 19:44 -!- qeed [~qeed@adsl-98-85-47-71.mco.bellsouth.net] has joined #go-nuts 19:45 < lazy1> http://golang.org/doc/effective_go.html#append 19:45 < str1ngs> gattuso: some more slice tricks. http://code.google.com/p/go-wiki/wiki/SliceTricks 19:45 < str1ngs> I would read append first like lazy1 suggested though. 19:46 -!- moraes [~moraes@189.103.177.124] has joined #go-nuts 19:52 -!- thrashr888 [~thrashr88@64.125.143.6] has joined #go-nuts 19:55 -!- sebastianskejoe [~sebastian@56345014.rev.stofanet.dk] has quit [Quit: leaving] 19:57 -!- tncardoso [~thiago@189.59.202.141] has joined #go-nuts 19:58 -!- alehorst [~alehorst@189.58.21.184.dynamic.adsl.gvt.net.br] has quit [Quit: Leaving.] 20:00 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the connection] 20:01 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has joined #go-nuts 20:03 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 252 seconds] 20:04 -!- miker2 [~miker2@64.55.31.190] has quit [Ping timeout: 252 seconds] 20:05 -!- avelino_ [~avelino@189.120.233.230] has joined #go-nuts 20:12 -!- photron [~photron@port-92-201-116-224.dynamic.qsc.de] has quit [Read error: Operation timed out] 20:16 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 20:19 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit [Read error: Connection reset by peer] 20:20 < valentin_> does someone know a way to gather functions defined in a given package reflectively (if such a thing is possible) ? 20:23 < str1ngs> including non public ones ? 20:23 < str1ngs> actually can you give more context. 20:27 < valentin_> lets say i write a unit test for : func foo (a, b string) int { ... } 20:28 < valentin_> i first create a struct : type fooTest struct { a, b string; expected int } 20:29 < valentin_> then put a bunch of such structs in a slice : fooTests []fooTest{} 20:29 < skelterjohn> i don't believe you can use reflect to list all functions in a package 20:29 < skelterjohn> but it's easily done with go/parser if you have the source 20:30 < skelterjohn> and there are go/ast importers out there that can take the .a file and get that information, too 20:30 < skelterjohn> if you don't have the source 20:30 < skelterjohn> but that is a bit more involved 20:31 < valentin_> and finally write my test which only iterates over fooTests and test : foo(test.a, test.b) == test.expected 20:32 < remy_o> valentin_: hum, do you actually want a struct { Function(string,string) int; a, b string; expected int } ? 20:32 <+iant> valentin_: do you know about http://golang.org/cmd/gotest/ ? 20:32 < valentin_> so the only thing i do that is "foo-specific" is to populate fooTests with relevant values 20:32 < remy_o> so that the test is: for _, test := range tests { assert(test.func(test.a, test.b) == test.expected)) } 20:32 < ericvh> nice. those are the same guys that make the science! t-shirts I have. 20:33 < ericvh> *oop. sorry, wrong channel 20:33 < valentin_> iant yes, and i appears that all my Test* functions have quite the same body 20:33 < valentin_> (it appears) 20:36 < valentin_> heres a typical source_test.go of mine : http://pastie.org/2461909 20:37 < valentin_> you'll notice that the func have the same structure, so i try to figure out how i could factorize them 20:38 -!- johnweldon [~jcw4@www.sftsrc.com] has joined #go-nuts 20:39 -!- jcw4 [~jcw4@74-92-165-233-Oregon.hfc.comcastbusiness.net] has quit [Ping timeout: 240 seconds] 20:39 < remy_o> write a single function 20:40 -!- johnweldon [~jcw4@www.sftsrc.com] has quit [Client Quit] 20:41 < valentin_> how ? 20:51 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping timeout: 260 seconds] 20:59 -!- Fish- [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5] 21:00 -!- magmatt [~Matt@63-235-131-194.dia.static.qwest.net] has joined #go-nuts 21:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-22.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 21:03 -!- valentin_ [~valentin@85-170-19-98.rev.numericable.fr] has quit [Remote host closed the connection] 21:05 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has quit [Ping timeout: 240 seconds] 21:06 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 21:09 -!- virtualsue [~chatzilla@nat/cisco/x-pkrcacsfzlltexnt] has quit [Ping timeout: 240 seconds] 21:10 -!- virtualsue [~chatzilla@nat/cisco/x-ckmqztgjffskozwv] has joined #go-nuts 21:11 -!- huin [~huin@91.85.139.164] has quit [Quit: leaving] 21:17 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 21:18 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 21:18 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 21:23 -!- c00w [~colin@2620:0:2820:ab:224:d7ff:fe3e:71b4] has quit [Ping timeout: 260 seconds] 21:24 -!- TheMue [~FMueller@p5DDF57D0.dip.t-dialin.net] has quit [Quit: leaving] 21:26 -!- pothos_ [~pothos@111-240-174-123.dynamic.hinet.net] has joined #go-nuts 21:28 -!- pothos [~pothos@111-240-173-247.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 21:28 -!- magmatt [~Matt@63-235-131-194.dia.static.qwest.net] has left #go-nuts [] 21:32 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 252 seconds] 21:34 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined #go-nuts 21:36 < prudhvi> just, wondering if there is any other way of string formatting for say "/txt/%s/p/%s" to be like "/txt/${path}/p/${ext}",path,ext ? 21:37 -!- c00w [~colin@cpe-24-92-60-252.nycap.res.rr.com] has joined #go-nuts 21:37 < exch> Not unless you write it yourself 21:37 < prudhvi> or something like how ruby does 21:38 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 21:39 < prudhvi> What is your suggestion for say i have a Path string that changes basing on a few constraints which are stored in vairables do you think this is a good idea fmt.Sprintf("/txt/%s/p/%s", arg1, arg2) it is highly possible to loose the track of variables. 21:39 -!- wrtp [~rog@host-92-23-125-43.as13285.net] has quit [Read error: Connection reset by peer] 21:40 < exch> Not if your variables are named adequately 21:40 < exch> I don't personally see any problem with Go's current approach, other than the need to possibly repeat variables if you want them in a string multiple times 21:40 -!- pyrhho [~pyrhho@02dbe76c.bb.sky.com] has quit [Ping timeout: 250 seconds] 21:41 < prudhvi> ok thanks. I wanted to see if there is a better approach than the default one. But, yes the default one is adequeate. 21:43 -!- iant [~iant@nat/google/x-ektmjksqnxjgicwl] has quit [Ping timeout: 264 seconds] 21:43 -!- kevlar_work [~kevlar@unaffiliated/eko] has quit [Ping timeout: 264 seconds] 21:46 -!- Taos [~jakob@vvps-085402.dailyvps.co.uk] has quit [Read error: Operation timed out] 21:47 -!- lazy1 [~miki@cpe-75-84-253-172.socal.res.rr.com] has left #go-nuts ["Ex-Chat"] 21:48 -!- QubeX2 [~mikael@metro-cust-83-172-74-220.daladatorer.net] has quit [Quit: Ex-Chat] 21:51 -!- kevlar_work [~kevlar@nat/google/x-wehnmppfjcklqnvm] has joined #go-nuts 21:51 -!- kevlar_work [~kevlar@nat/google/x-wehnmppfjcklqnvm] has quit [Changing host] 21:51 -!- kevlar_work [~kevlar@unaffiliated/eko] has joined #go-nuts 21:51 -!- iant [~iant@nat/google/x-lwufybtolokfmlms] has joined #go-nuts 21:51 -!- mode/#go-nuts [+v iant] by ChanServ 21:55 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit [Quit: Computer has gone to sleep.] 21:56 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:56 -!- Solak [~stijnw@cthia.xs4all.nl] has quit [Remote host closed the connection] 21:57 < moraes> prudhvi, path as in url path? 21:58 -!- kevlar_work [~kevlar@unaffiliated/eko] has quit [Read error: Operation timed out] 21:59 -!- elephants [~elephants@66.207.210.2] has quit [Remote host closed the connection] 22:01 -!- iant [~iant@nat/google/x-lwufybtolokfmlms] has quit [Ping timeout: 264 seconds] 22:03 -!- kevlar_work [~kevlar@nat/google/x-ywnjnolhamzxwxtr] has joined #go-nuts 22:03 -!- kevlar_work [~kevlar@nat/google/x-ywnjnolhamzxwxtr] has quit [Changing host] 22:03 -!- kevlar_work [~kevlar@unaffiliated/eko] has joined #go-nuts 22:05 -!- r_linux [~r_linux@189.38.220.35] has quit [Quit: Lost terminal] 22:06 < prudhvi> moraes: thats just an example, it could be any string 22:08 -!- jrslepak [~jrslepak@129.10.228.62] has joined #go-nuts 22:10 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] 22:11 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Remote host closed the connection] 22:11 -!- preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 22:11 -!- BigBlackDog [~BigBlackD@HSI-KBW-109-192-007-188.hsi6.kabel-badenwuerttemberg.de] has quit [Quit: WeeChat 0.3.6-dev] 22:12 -!- tjyang [~tjyang@c-67-175-235-146.hsd1.il.comcast.net] has joined #go-nuts 22:14 -!- cron [cron@190.121.120.105] has joined #go-nuts 22:15 -!- jrslepak [~jrslepak@129.10.228.62] has quit [Quit: jrslepak] 22:15 -!- yogib [~yogib@dslb-178-009-078-252.pools.arcor-ip.net] has quit [Quit: yogib] 22:18 -!- Pappkamerad [~Pappkamer@95.88.164.175] has quit [Read error: Connection reset by peer] 22:19 -!- kevlar_work [~kevlar@unaffiliated/eko] has quit [Ping timeout: 264 seconds] 22:20 -!- iant [~iant@nat/google/x-urdxtjufsxowsxom] has joined #go-nuts 22:20 -!- mode/#go-nuts [+v iant] by ChanServ 22:21 -!- gobeginner [~nwood@cpc2-lee23-0-0-cust152.7-1.cable.virginmedia.com] has quit [Quit: Leaving.] 22:22 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza] 22:31 -!- kevlar_work [~kevlar@unaffiliated/eko] has joined #go-nuts 22:33 -!- chadkouse [~Adium@24.123.67.50] has quit [Quit: Leaving.] 22:37 < moraes> really, some go standard package are too badass 22:37 < moraes> *packages 22:38 < moraes> i mean, really good. at least in terms of api. 22:41 < nsf> it is 22:42 -!- hargettp [~hargettp@pool-71-174-130-252.bstnma.east.verizon.net] has joined #go-nuts 22:43 < moraes> i love beautiful api. 22:44 < moraes> too much maybe. 22:45 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has quit [Remote host closed the connection] 22:47 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts 22:48 -!- uwedeportivo [~uwedeport@206.169.118.30] has quit [Remote host closed the connection] 22:49 -!- hargettp [~hargettp@pool-71-174-130-252.bstnma.east.verizon.net] has quit [Quit: Leaving...] 22:50 -!- hargettp [~hargettp@pool-71-174-130-252.bstnma.east.verizon.net] has joined #go-nuts 22:50 -!- hargettp [~hargettp@pool-71-174-130-252.bstnma.east.verizon.net] has quit [Client Quit] 22:51 < mpl> that's what you get when some of the best existing programmers get to work :) 22:52 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5] 22:55 -!- Guest46343 [cron@190.121.120.105] has quit [Quit: Leaving] 23:01 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 23:03 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit] 23:04 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 23:04 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services] 23:04 < zeebo> moraes: why did you move from github? 23:04 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 23:05 < moraes> zeebo, well the original was not github. i just dropped github. 23:05 < moraes> i was only on github to use gopkgdoc. 23:06 < zeebo> oh alright that makes sense 23:06 < zeebo> i was looking at the context library. i haven't checked in a couple days but is it still globally locked? 23:07 < moraes> it is 23:07 < moraes> thats too bad? 23:08 < zeebo> i dunno. id imagine it could severely hamper scaling to lots of requests 23:08 < zeebo> did you consider request level locking? 23:08 < moraes> no, actually 23:08 < moraes> brad said http will have something like that 23:09 < moraes> it is needed... too many libs wanting to set some request state. 23:09 < zeebo> so what's the purpose of context then? 23:09 < zeebo> long term 23:09 < moraes> well, brad said that after i asked feedback. 23:10 < moraes> for now it solve a problem. i'd leave it in mux but my session lib wants context too, so i extracted it. 23:10 < zeebo> right. you mind if i attempt to hack in request level locking? :) 23:10 < moraes> not at all :) 23:11 -!- rcrowley_ [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined #go-nuts 23:11 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 23:11 < zeebo> ive never used googlecode or hg so ill probably have some questions about getting diffs to you lol 23:12 -!- vmil86 [~vmil86@88.118.38.213] has quit [Remote host closed the connection] 23:14 < moraes> he said something about he wants better names. 23:14 < moraes> i'm not sure if he referred to 'context' or 'namespace', but probably both! 23:14 < zeebo> namespace confuses me 23:14 < moraes> 'bucket' 23:15 < moraes> it is a name i got from a python lib 23:15 < zeebo> it seems circular because a namespace points to a context which is getting the value from the namespace map 23:15 < moraes> it created 'buckets' like that, and they were called namespaces 23:19 -!- Pumbaa [~Adium@524B25FE.cm-4-4a.dynamic.ziggo.nl] has quit [Quit: Leaving.] 23:21 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 23:22 -!- iant [~iant@nat/google/x-urdxtjufsxowsxom] has quit [Ping timeout: 252 seconds] 23:29 -!- tncardoso [~thiago@189.59.202.141] has quit [Quit: bye] 23:31 -!- lazy1 [~miki@cpe-75-84-253-172.socal.res.rr.com] has joined #go-nuts 23:32 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 23:33 -!- kkress [~kkress@kkress2.xen.prgmr.com] has quit [Read error: Operation timed out] 23:33 -!- kkress [~kkress@kkress2.xen.prgmr.com] has joined #go-nuts 23:35 -!- iant [~iant@nat/google/x-cyefluutghpreifx] has joined #go-nuts 23:35 -!- mode/#go-nuts [+v iant] by ChanServ 23:35 -!- iant1 [~iant@67.218.106.149] has joined #go-nuts 23:40 -!- iant [~iant@nat/google/x-cyefluutghpreifx] has quit [Ping timeout: 264 seconds] 23:43 -!- fenicks [~fenicks@log77-3-82-243-254-112.fbx.proxad.net] has quit [Read error: Connection reset by peer] 23:49 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Ping timeout: 276 seconds] 23:49 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has joined #go-nuts 23:51 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 23:53 -!- alehorst [~alehorst@189.58.21.184.dynamic.adsl.gvt.net.br] has joined #go-nuts 23:56 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts --- Log closed Thu Sep 01 00:00:22 2011