--- Log opened Mon Jun 06 00:00:53 2011 00:01 -!- Varriount [~Varriount@public-craft.com] has quit [Remote host closed the connection] 00:03 -!- jmhodges [~user@70-36-146-115.dsl.dynamic.sonic.net] has joined #go-nuts 00:04 < jmhodges> hey, so, at src/libmach/obj.c:82-94, something i don't understand is going on. can someone tell me what [Obj68020] and its ilk are doing there? 00:04 < jmhodges> like, they look like designated inits, and clang thinks they are, but they are missing the = 00:04 < jmhodges> this: http://code.google.com/p/go/source/browse/src/libmach/obj.c#82 00:05 < cenuij> I've a very lighteight and simple requirement for a wire protocol, should I just use gob package directly or is there any benefit to using the rpc package? 00:07 -!- elephants [~elephants@173.230.160.81] has quit [Remote host closed the connection] 00:07 < cenuij> or wait, I see RPC is using gob. i'll tinker with rpc for now. 00:09 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 00:11 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 00:11 < str1ngs> niemeyer: ping 00:11 < niemeyer> str1ngs: Hey 00:11 < str1ngs> niemeyer: hows it going? 00:11 < niemeyer> str1ngs: Pretty good, thanks for asking 00:12 < str1ngs> niemeyer: I recalling some where you were doing some clean up to filepath. namely using Clean() ? 00:13 < niemeyer> str1ngs: Hmm.. I did a few things with filepath, but not sure about what you're referring to 00:13 < str1ngs> niemeyer: I as be cause I'm not sure if there should be a trailing / say after useing split 00:13 < niemeyer> str1ngs: Hmm 00:13 < str1ngs> more direct would it be better if split used clean before returning ? 00:14 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Client Quit] 00:14 < niemeyer> str1ngs: That's by design it seems 00:14 < str1ngs> I was thinking that to. but it creates issues where you are not sure if you need to Clean or not. 00:15 < str1ngs> ie I have a loop that keeps tagging more and more /// 00:16 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has joined #go-nuts 00:17 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 00:17 < str1ngs> but I'll look into it more see if I can can produce simply example. them maybe post it to the ML 00:18 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 00:18 < niemeyer> str1ngs: Why not jsut cleaning it up before starting to split? 00:18 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has joined #go-nuts 00:19 < str1ngs> becuase the split always returns a trailing / iirc so I need to clean it after 00:19 < str1ngs> but I'm also using inotify and it seems eradic also 00:19 < niemeyer> str1ngs: Hmm, I don't think that's the case 00:20 < str1ngs> I'll simplify the code could just be a pebcak issue then 00:26 < str1ngs> niemeyer: ah the problem is inotify does not clean when you add so you need to do it by hand 00:37 -!- angasule__ [~angasule@190.2.33.49] has joined #go-nuts 00:41 -!- danilo04 [~danilo04@66.44.228.140] has joined #go-nuts 00:45 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 00:46 -!- danilo04 [~danilo04@66.44.228.140] has quit [Client Quit] 00:49 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 00:49 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 00:54 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 01:03 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 246 seconds] 01:04 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 01:05 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 01:12 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 01:24 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 01:24 -!- dfr|mac [~dfr|work@nat/google/x-ffcklquqjmlnvdby] has joined #go-nuts 01:28 -!- jmhodges [~user@70-36-146-115.dsl.dynamic.sonic.net] has quit [Ping timeout: 240 seconds] 01:30 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 01:33 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 01:39 -!- AmourDeZombi [~jphillips@c-76-112-223-150.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 01:41 -!- franciscosouza_ [~francisco@187.105.21.125] has quit [Ping timeout: 252 seconds] 01:46 -!- nannto [~nanto@pee5b70.tokyff01.ap.so-net.ne.jp] has quit [Quit: Leaving...] 01:46 -!- nannto [~nanto@pee5b70.tokyff01.ap.so-net.ne.jp] has joined #go-nuts 01:47 -!- comex [~comex@comex.xen.prgmr.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 01:51 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 01:52 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 01:56 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 01:59 -!- dfr|mac [~dfr|work@nat/google/x-ffcklquqjmlnvdby] has quit [Ping timeout: 240 seconds] 02:01 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 02:03 -!- grncdr [~stephen@sdo.csc.UVic.CA] has joined #go-nuts 02:03 -!- shvntr [~shvntr@119.121.161.245] has joined #go-nuts 02:04 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has joined #go-nuts 02:04 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has quit [Client Quit] 02:05 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has joined #go-nuts 02:05 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Read error: Connection reset by peer] 02:06 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has quit [Client Quit] 02:06 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has joined #go-nuts 02:06 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:07 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts 02:10 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined #go-nuts 02:20 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has joined #go-nuts 02:22 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 02:23 -!- Sep102 [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 02:34 -!- niemeyer [~niemeyer@201-40-174-53.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 02:44 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 02:50 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Ping timeout: 276 seconds] 02:50 -!- Sep102 [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has joined #go-nuts 02:53 -!- angasule__ [~angasule@190.2.33.49] has quit [Ping timeout: 255 seconds] 03:21 -!- meatmanek_ [~meatmanek@70-36-143-151.dsl.dynamic.sonic.net] has quit [Quit: meatmanek_] 03:26 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 03:28 -!- shvntr [~shvntr@119.121.161.245] has quit [Ping timeout: 240 seconds] 03:40 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has joined #go-nuts 03:40 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 258 seconds] 03:43 -!- Sep102 [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Ping timeout: 255 seconds] 03:44 -!- meatmanek [~meatmanek@70-36-143-151.dsl.dynamic.sonic.net] has quit [Ping timeout: 276 seconds] 03:50 -!- shvntr [~shvntr@119.121.161.245] has joined #go-nuts 03:51 -!- wchicken [~chicken@173-228-64-221.dsl.dynamic.sonic.net] has quit [Ping timeout: 276 seconds] 04:08 -!- marko_ [~marko@host194-207-dynamic.37-79-r.retail.telecomitalia.it] has joined #go-nuts 04:11 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services] 04:11 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 04:22 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts 04:40 -!- RLN [~aaron@d24-36-171-25.home1.cgocable.net] has quit [Quit: Leaving] 04:47 -!- shvntr [~shvntr@119.121.161.245] has quit [Ping timeout: 260 seconds] 04:47 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 04:57 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer has gone to sleep.] 05:05 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping timeout: 255 seconds] 05:05 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 255 seconds] 05:05 -!- jemeshsu [~jemeshsu@bb220-255-166-18.singnet.com.sg] has joined #go-nuts 05:06 -!- iant [~iant@216.239.45.130] has joined #go-nuts 05:06 -!- mode/#go-nuts [+v iant] by ChanServ 05:09 -!- vpit3833 [~user@203.111.33.203] has quit [Remote host closed the connection] 05:09 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 05:28 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 05:32 -!- wchicken [~chicken@adsl-99-96-246-54.dsl.pltn13.sbcglobal.net] has joined #go-nuts 05:36 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 05:42 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7c54:d7b4:8b0c:5cb5] has joined #go-nuts 05:45 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 05:49 -!- meatmanek [~meatmanek@70-36-143-107.dsl.dynamic.sonic.net] has joined #go-nuts 05:49 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 05:51 -!- meatmanek_ [~meatmanek@70-36-143-186.dsl.dynamic.sonic.net] has joined #go-nuts 05:56 -!- meatmanek [~meatmanek@70-36-143-107.dsl.dynamic.sonic.net] has quit [Ping timeout: 276 seconds] 06:05 -!- meatmanek [~meatmanek@70-36-143-186.dsl.dynamic.sonic.net] has quit [Ping timeout: 276 seconds] 06:07 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts 06:07 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Client Quit] 06:10 -!- wchicken [~chicken@adsl-99-96-246-54.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 06:18 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit: rputikar] 06:21 -!- meatmanek [~meatmanek@70-36-143-178.dsl.dynamic.sonic.net] has joined #go-nuts 06:25 -!- meatmanek [~meatmanek@70-36-143-178.dsl.dynamic.sonic.net] has quit [Client Quit] 06:29 -!- franciscosouza [~francisco@187.105.21.125] has joined #go-nuts 06:30 -!- shvntr [~shvntr@119.121.161.245] has joined #go-nuts 06:31 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 06:36 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 276 seconds] 06:40 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has joined #go-nuts 06:40 -!- wchicken [~chicken@c-24-7-112-207.hsd1.ca.comcast.net] has joined #go-nuts 06:50 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts 06:50 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Remote host closed the connection] 06:50 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts 06:52 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 06:52 -!- napsy [~luka@88.200.96.18] has quit [Client Quit] 06:53 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 06:55 -!- adu_ [~ajr@pool-96-255-9-175.washdc.fios.verizon.net] has joined #go-nuts 06:56 -!- franciscosouza [~francisco@187.105.21.125] has quit [Read error: Connection reset by peer] 06:57 -!- franciscosouza [~francisco@187.105.21.125] has joined #go-nuts 06:59 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 07:00 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has joined #go-nuts 07:06 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 07:09 -!- photron [~photron@port-92-201-147-221.dynamic.qsc.de] has joined #go-nuts 07:09 -!- toadflax [~toadflax@unaffiliated/toadflax] has quit [Ping timeout: 250 seconds] 07:13 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts 07:15 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 07:16 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Read error: Operation timed out] 07:19 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds] 07:23 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has left #go-nuts [] 07:24 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has joined #go-nuts 07:27 -!- Project_2501 [~Marvin@82.84.65.137] has joined #go-nuts 07:31 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts 07:33 -!- marko_ [~marko@host194-207-dynamic.37-79-r.retail.telecomitalia.it] has quit [Ping timeout: 258 seconds] 07:34 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 255 seconds] 07:35 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 246 seconds] 07:36 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:39 -!- fvbommel [~fvbommel_@131.155.71.85] has joined #go-nuts 07:42 -!- napsy [~luka@193.2.66.6] has joined #go-nuts 07:42 -!- jemeshsu_ [~jemeshsu@bb220-255-88-127.singnet.com.sg] has joined #go-nuts 07:42 -!- jemeshsu [~jemeshsu@bb220-255-166-18.singnet.com.sg] has quit [Ping timeout: 276 seconds] 07:52 -!- adu [~ajr@pool-96-255-9-175.washdc.fios.verizon.net] has quit [Ping timeout: 255 seconds] 07:52 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 07:52 < hallas> Anyone know if there is a list of golang appengine apps? :D ? 07:54 < uriel> hallas: not AFAIK, maybe I should start to list them somewhere in http://go-lang.cat-v.org 07:54 < hallas> I did actually go there to look for it 07:58 -!- adu [~ajr@pool-71-191-159-169.washdc.fios.verizon.net] has joined #go-nuts 08:05 -!- mikespook [~mikespook@219.137.48.76] has quit [Ping timeout: 260 seconds] 08:07 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 08:09 -!- noodles775 [~michael@g225132254.adsl.alicedsl.de] has joined #go-nuts 08:09 -!- noodles775 [~michael@g225132254.adsl.alicedsl.de] has quit [Changing host] 08:09 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 08:14 -!- Coanda [~dennis@users.d75.net] has quit [Quit: WeeChat 0.3.4] 08:14 -!- Coanda [~dennis@users.d75.net] has joined #go-nuts 08:15 -!- Coanda [~dennis@users.d75.net] has quit [Client Quit] 08:15 -!- [dmp] [~dennis@unaffiliated/dmp/x-546784] has quit [Quit: leaving] 08:15 -!- [dmp] [~dennis@unaffiliated/dmp/x-546784] has joined #go-nuts 08:21 -!- mikespook [~mikespook@119.131.232.191] has joined #go-nuts 08:21 -!- virtualsue [~chatzilla@host81-148-98-238.in-addr.btopenworld.com] has quit [Ping timeout: 255 seconds] 08:23 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 08:24 -!- toadflax [~toadflax@8.123.2.81.in-addr.arpa] has joined #go-nuts 08:24 -!- toadflax [~toadflax@8.123.2.81.in-addr.arpa] has quit [Changing host] 08:24 -!- toadflax [~toadflax@unaffiliated/toadflax] has joined #go-nuts 08:27 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 08:28 -!- virtualsue [~chatzilla@nat/cisco/x-iyhjlqivivldknxg] has joined #go-nuts 08:30 -!- wrtp [~rog@92.30.183.6] has joined #go-nuts 08:38 -!- n00b256 [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has quit [Quit: Page closed] 08:38 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has joined #go-nuts 08:40 -!- marko_ [~marko@2a00:1620:c0:50:66b9:e8ff:feca:1812] has joined #go-nuts 08:42 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 08:51 -!- toadflax [~toadflax@unaffiliated/toadflax] has left #go-nuts [] 08:51 -!- toadflax [~toadflax@unaffiliated/toadflax] has joined #go-nuts 08:57 -!- edsrzf_ [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote host closed the connection] 09:07 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts 09:22 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-153-202.clienti.tiscali.it] has joined #go-nuts 09:25 -!- Project_2501 [~Marvin@82.84.65.137] has quit [Ping timeout: 255 seconds] 09:43 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-153-202.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 09:52 -!- toadflax [~toadflax@unaffiliated/toadflax] has quit [Quit: leaving] 09:52 -!- adu [~ajr@pool-71-191-159-169.washdc.fios.verizon.net] has quit [Quit: adu] 09:57 -!- virtualsue [~chatzilla@nat/cisco/x-iyhjlqivivldknxg] has quit [Ping timeout: 260 seconds] 10:05 -!- virtualsue [~chatzilla@nat/cisco/x-kprvbactyvwagyof] has joined #go-nuts 10:06 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 10:08 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has joined #go-nuts 10:12 -!- xyproto [~alexander@77.40.159.131] has quit [Read error: No route to host] 10:13 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined #go-nuts 10:16 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has joined #go-nuts 10:28 -!- bobody [~alexc@unaffiliated/alexc] has joined #go-nuts 10:36 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-153-202.clienti.tiscali.it] has joined #go-nuts 10:53 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Ping timeout: 255 seconds] 11:00 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 11:05 -!- sacho [~sacho@95-42-105-25.btc-net.bg] has quit [Ping timeout: 252 seconds] 11:17 -!- angasule__ [~angasule@190.2.33.49] has joined #go-nuts 11:18 -!- sacho [~sacho@95-42-117-114.btc-net.bg] has joined #go-nuts 11:29 -!- nekoh [~nekoh@p4FC7007A.dip0.t-ipconnect.de] has joined #go-nuts 11:31 -!- foocraft [~ewanas@78.101.234.85] has joined #go-nuts 11:45 -!- shvntr [~shvntr@119.121.161.245] has quit [Ping timeout: 260 seconds] 11:50 -!- lmov [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has joined #go-nuts 11:51 -!- xyproto [~alexander@77.40.159.131] has joined #go-nuts 11:52 < xyproto> If I wish to read a certain number of bytes from several files and write them to a new file, which packages could be useful? bufio? bytes? 11:52 < xyproto> Preferably concurrently. 11:53 < nsf> os 11:53 < nsf> os.File is all you need 11:54 < wrtp> xyproto: what nsf says 11:57 < xyproto> nsf, wrtp: thanks :) 11:59 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 11:59 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:02 -!- angasule__ [~angasule@190.2.33.49] has quit [Read error: Operation timed out] 12:05 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 12:05 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:11 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 12:11 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:12 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:12 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:14 -!- dlowe [~dlowe@c-66-30-116-162.hsd1.ma.comcast.net] has joined #go-nuts 12:14 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:14 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:15 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 252 seconds] 12:16 -!- franciscosouza [~francisco@187.105.21.125] has quit [Quit: franciscosouza] 12:16 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:16 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:20 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:20 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:27 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:27 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:27 -!- foocraft [~ewanas@78.101.234.85] has quit [Ping timeout: 252 seconds] 12:31 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:31 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:36 -!- shvntr [~shvntr@119.121.161.245] has joined #go-nuts 12:37 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts 12:39 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 12:39 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:41 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit: rputikar] 12:42 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:42 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:42 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:42 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:44 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 12:45 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:45 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:46 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 12:47 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:48 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:49 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:51 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:51 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 12:52 -!- ronnyy [~quassel@p4FF1C5A0.dip0.t-ipconnect.de] has joined #go-nuts 12:56 -!- ctimmerm [~ctimmerm@83.150.80.193] has joined #go-nuts 12:56 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 12:57 -!- foocraft [~ewanas@78.100.223.212] has joined #go-nuts 12:57 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 12:57 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 12:58 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has quit [Quit: dfc] 13:06 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost terminal] 13:07 -!- bobody [~alexc@unaffiliated/alexc] has quit [Quit: WeeChat 0.3.4] 13:08 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 13:09 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:09 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has joined #go-nuts 13:10 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:10 -!- GeertJohan2 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:10 < xyproto> How can I make a program wait for the completion of all running goroutines, again? 13:10 -!- GeertJohan2 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 13:10 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:11 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:11 -!- GeertJohan2 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:11 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 13:12 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Ping timeout: 246 seconds] 13:12 -!- neshaug [~oyvind@213.239.108.5] has quit [Remote host closed the connection] 13:14 < xyproto> sync.WaitGroup? 13:15 < elimisteve> Is there no one-liner for checking whether or not an element is contained in a slice? 13:16 -!- GeertJohan2 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 13:16 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:16 -!- niemeyer [~niemeyer@201-40-174-53.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 13:16 -!- ryan3 [~ryan@up.skipfin.com] has joined #go-nuts 13:17 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:17 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:17 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-153-202.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 13:17 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 13:20 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has joined #go-nuts 13:21 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:21 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:22 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts 13:23 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 13:23 -!- GeertJohan1 [~Squarc@145.81.1.229] has joined #go-nuts 13:27 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Ping timeout: 252 seconds] 13:31 < exch> nope 13:31 < xyproto> elimisteve: not that I know of, I usually write a little "func has(something, someCollection)"... 13:31 -!- foocraft [~ewanas@78.100.223.212] has quit [Ping timeout: 255 seconds] 13:33 < elimisteve> xyproto: and because we don't have generics I'd have to write a version for each data type huh -- func hasStr(coll []string, str string), func hasInt(coll []int, n int), etc 13:34 -!- GeertJohan1 [~Squarc@145.81.1.229] has quit [Quit: Leaving.] 13:34 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts 13:34 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:35 < xyproto> elimisteve: yes, I think so. On the positive side, I've never had to write more than one "has" function per program. Do you have a case where you need a lot of them? 13:35 -!- Project_2501 [~Marvin@82.84.92.246] has joined #go-nuts 13:35 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:35 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:35 < elimisteve> probably just strings. We'll see. Thanks :-) 13:35 < xyproto> elimisteve: hope it works out :) 13:35 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Client Quit] 13:35 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:36 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 13:39 -!- robteix [~robteix@nat/intel/x-cctfasqzlueoggnj] has joined #go-nuts 13:39 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Quit: Computer has gone to sleep.] 13:40 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 13:41 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 13:41 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 13:43 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 13:45 -!- foocraft [~ewanas@78.101.138.251] has joined #go-nuts 13:45 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5] 13:49 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-149-109.clienti.tiscali.it] has joined #go-nuts 13:51 -!- Project_2501 [~Marvin@82.84.92.246] has quit [Ping timeout: 252 seconds] 13:55 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 14:00 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 14:02 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 14:02 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 14:05 -!- robteix [~robteix@nat/intel/x-cctfasqzlueoggnj] has quit [Quit: Leaving] 14:06 -!- GeertJohan1 [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Read error: Connection reset by peer] 14:06 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 14:06 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has joined #go-nuts 14:06 -!- jarsen [~jarsen@76.8.206.19] has joined #go-nuts 14:07 -!- dlowe [~dlowe@c-66-30-116-162.hsd1.ma.comcast.net] has quit [Quit: *poof*] 14:12 -!- jarsen [~jarsen@76.8.206.19] has quit [Remote host closed the connection] 14:12 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts 14:12 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 240 seconds] 14:16 -!- hargettp_ [~hargettp_@dhcp-162.mirrorimage.net] has left #go-nuts [] 14:20 < xyproto> What's a good way to spawn a lot of jobs (go-routines) and then stop everything if an error occurs in one of them. An error-channel? 14:22 < Omnivore> you could likely get away with a global 'terminate' flag in that particular case - wouldn't even need any synchronization - no possiblity of race condition 14:23 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit: rputikar] 14:26 < Omnivore> 'course I'd have all the workers do a final write of whatever to their output channel before exiting so the main 'thread' could set the flag and then block in each output channel 14:26 < niemeyer> xyproto: A global flag would do 14:27 < niemeyer> Omnivore: It does need synchronization, though 14:27 < Omnivore> err why? 14:28 < niemeyer> Omnivore: http://golang.org/doc/go_mem.html 14:28 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has joined #go-nuts 14:28 < niemeyer> Omnivore: Check Incorrect synchronization there 14:29 -!- fvbommel [~fvbommel_@131.155.71.85] has quit [Ping timeout: 248 seconds] 14:29 < Omnivore> eh yeah multiproc caches 14:30 < Omnivore> need a 386 interlocked exchange when setting - no reason to on read though 14:32 -!- virtualsue [~chatzilla@nat/cisco/x-kprvbactyvwagyof] has quit [Ping timeout: 255 seconds] 14:33 < niemeyer> Omnivore: The memory model provides no guarantees about that. 14:34 < Omnivore> well I suppose since you're using channels, easiest way is a global error channel 14:34 < Omnivore> for that group 14:34 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has quit [Ping timeout: 252 seconds] 14:37 -!- tobym [~tobym@static-108-41-50-123.nycmny.fios.verizon.net] has joined #go-nuts 14:38 < Omnivore> hmm I guess interlocked exchange instruction only available through windows in go? 14:38 -!- ynv [~alon@xdsl-188-154-4-146.adslplus.ch] has quit [Quit: Lost terminal] 14:41 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts 14:42 -!- ctimmerm [~ctimmerm@83.150.80.193] has quit [Quit: ctimmerm] 14:48 -!- icey [~user@ip68-104-183-151.ph.ph.cox.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 14:49 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 252 seconds] 14:50 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 14:50 -!- shvntr [~shvntr@119.121.161.245] has quit [Ping timeout: 276 seconds] 14:57 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 15:00 -!- Omnivore [~Omnivore@adsl-75-18-194-45.dsl.pltn13.sbcglobal.net] has left #go-nuts [] 15:01 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 15:06 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 15:07 -!- sacho [~sacho@95-42-117-114.btc-net.bg] has quit [Ping timeout: 255 seconds] 15:07 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 15:08 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has joined #go-nuts 15:08 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 15:09 -!- GeertJohan [~Squarc@clal-1-229.eduroam.inholland.nl] has quit [Quit: Leaving.] 15:09 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 15:09 -!- napsy [~luka@193.2.66.6] has quit [Read error: Operation timed out] 15:17 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has joined #go-nuts 15:22 -!- lmov [555b8fe6@gateway/web/freenode/ip.85.91.143.230] has quit [Quit: Page closed] 15:22 -!- sacho [~sacho@95-42-117-114.btc-net.bg] has joined #go-nuts 15:22 < xyproto> If I wish to read the rest of a file, without knowing the size, should I then .Seek to the end first, to find out? 15:22 < cainetighe> hi, i'd like to update some of the documetnation 15:23 < cainetighe> where can i find this: http://golang.org/pkg/http/#Response file 15:23 < cainetighe> adg: ^ 15:23 < cainetighe> niemeyer: actually you might know too :) 15:23 < niemeyer> xyproto: No, you can just read until EOF 15:24 < niemeyer> xyproto: There are helper functions under io/ioutil 15:24 < xyproto> niemeyer: great, but then, how do i make() the buffer? 15:24 < cainetighe> xyproto: ioutil.ReadAll 15:24 < xyproto> niemeyer: just make([]buffer) ? 15:24 < cainetighe> xyproto: := 15:24 < xyproto> sorry, meant []byte 15:24 < xyproto> ahh 15:24 < niemeyer> xyproto: http://golang.org/pkg/io/ioutil/#ReadAll 15:24 < xyproto> ok, checkout out ReadAll 15:24 < xyproto> niemeyer, cainetighe: thx 15:24 < niemeyer> cainetighe: You mean in the source code? 15:24 < niemeyer> xyproto: np 15:24 < cainetighe> xyproto: not a problem 15:25 < cainetighe> xyproto: something like: 15:25 < cainetighe> var b []byte 15:25 < cainetighe> b, err = ioutil.ReadAll(r.Body) 15:25 < cainetighe> that's a http response 15:25 < xyproto> but, what if I want to read everything after a certain offset? (which is what I want) 15:25 < cainetighe> niemeyer: yeah http.Get is old 15:25 < xyproto> then Seek first, and then ReadAll? 15:25 < niemeyer> cainetighe: If you click on the type/function name, you'll be taken to the source code location where it's defined 15:25 < cainetighe> niemeyer: it no longer returns finalURL 15:26 < cainetighe> niemeyer: yeah, but where can i update golang.org 15:26 < niemeyer> xyproto: Yeah, that'll do 15:26 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 15:26 < niemeyer> cainetighe: You can't.. this is the real source code of the project 15:26 < xyproto> niemeyer: great, thx 15:26 < niemeyer> cainetighe: Submit a CL for changing the source 15:26 < cainetighe> niemeyer: the source has already been changed 15:26 < cainetighe> niemeyer: the site is just stale 15:26 < niemeyer> cainetighe: and it will make its way onto golang.org 15:27 < cainetighe> oh ok 15:27 < cainetighe> so it's generated 15:27 < niemeyer> cainetighe: Ok, so just wait until it's updated 15:27 < niemeyer> cainetighe: Is this showing the content you expect: 15:27 < niemeyer> cainetighe: http://tip.goneat.org/pkg/http 15:27 < cainetighe> yes 15:27 < cainetighe> i just wanted to be sure. 15:27 < cainetighe> thx 15:30 < niemeyer> cainetighe: So it'll make its way to the site 15:30 < niemeyer> cainetighe: np 15:31 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Quit: Computer has gone to sleep.] 15:36 -!- justinlilly|rdlB [justinlill@70.32.34.100] has joined #go-nuts 15:37 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has joined #go-nuts 15:37 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has left #go-nuts [] 15:37 < str1ngs> niemeyer: I sorted out that issue with filepath. I just resolved to use Clean anytime I split 15:37 -!- justinlilly [~justinlil@173-203-200-41.static.cloud-ips.com] has quit [Disconnected by services] 15:37 -!- justinlilly [~justinlil@173-203-200-41.static.cloud-ips.com] has joined #go-nuts 15:37 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit: leaving] 15:38 -!- justinlilly [~justinlil@173-203-200-41.static.cloud-ips.com] has quit [Disconnected by services] 15:38 < niemeyer> str1ngs: Cool, maybe that should be done by default indeed 15:38 < str1ngs> niemeyer: I think so. but I kinda see the reasoning behind it to . so not a huge deal 15:44 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 15:46 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 244 seconds] 15:46 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Ping timeout: 276 seconds] 15:47 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts 15:47 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 15:51 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 15:58 -!- Venom_X [~pjacobs@66.54.185.130] has joined #go-nuts 15:58 -!- sacho [~sacho@95-42-117-114.btc-net.bg] has quit [Ping timeout: 260 seconds] 16:00 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 16:01 -!- jyxent [~jyxent@129.128.191.96] has quit [Read error: Connection reset by peer] 16:02 -!- comex [~root@ec2-67-202-46-7.compute-1.amazonaws.com] has joined #go-nuts 16:02 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 16:02 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has joined #go-nuts 16:02 -!- jyxent [~jyxent@129.128.191.96] has quit [Read error: Connection reset by peer] 16:04 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 240 seconds] 16:05 -!- r_linux [~r_linux@smtp.mandique.com.br] has joined #go-nuts 16:07 -!- cenuij [~cenuij@base/student/cenuij] has quit [Read error: Connection reset by peer] 16:08 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has joined #go-nuts 16:09 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 16:09 -!- jcao219 [614d250a@gateway/web/freenode/ip.97.77.37.10] has joined #go-nuts 16:09 -!- jcao219 [614d250a@gateway/web/freenode/ip.97.77.37.10] has left #go-nuts [] 16:10 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has joined #go-nuts 16:10 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has quit [Client Quit] 16:11 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has joined #go-nuts 16:16 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 16:18 -!- jyxent [~jyxent@129.128.191.96] has quit [Ping timeout: 252 seconds] 16:18 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 16:20 < Sisten> Hello, I got a few questions about go. Just finished my first year of computersience and communication studies (working for a masters degree). We learned java as a first language and I havent written any code before I started my studies last year so Im new to any kind of programing. I wondering if Go would be a good second language to learn? What I want to do during this summer is to learn a compiled language and make a few programs, probo 16:20 < Sisten> bly want to work with both graphical and nongraphical programs. 16:23 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 16:23 -!- jaspervdj [~jaspervdj@zeus.ugent.be] has joined #go-nuts 16:23 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has quit [Ping timeout: 252 seconds] 16:24 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 16:24 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has joined #go-nuts 16:26 <+iant> Sisten: I think that people here are generally going to support learning Go 16:26 <+iant> What's the downside? 16:26 -!- r_linux [~r_linux@smtp.mandique.com.br] has quit [Ping timeout: 260 seconds] 16:26 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 16:27 < Sisten> Yeah manly the question was if I would go for Go directly or try learn C first 16:28 <+iant> Go for Go 16:28 <+iant> although C is also easy to learn 16:28 < mkb218> go's native graphics library is still experimental 16:29 -!- Ekspluati [5b98b27e@gateway/web/freenode/ip.91.152.178.126] has quit [Ping timeout: 252 seconds] 16:31 < Sisten> Yeah thats one of the problems with go. I dont know how good the graphical libraries are. I want to write graphical programs during the summer due to the fact that Iv only done one the past year. 16:31 < mkb218> there are bindings for opengl, sdl, etc. 16:32 < Sisten> Well guess that the only way to find out is to try it. Thansk for the help 16:35 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 16:35 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts 16:36 -!- sacho [~sacho@87-126-53-242.btc-net.bg] has joined #go-nuts 16:38 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has quit [Quit: Der weg zur erkenntniss ist der richtige.] 16:41 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 16:41 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 16:42 -!- meatmanek [~meatmanek@70-36-143-178.dsl.dynamic.sonic.net] has joined #go-nuts 16:45 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has joined #go-nuts 16:46 -!- marko_ [~marko@2a00:1620:c0:50:66b9:e8ff:feca:1812] has quit [Ping timeout: 255 seconds] 16:50 -!- TheMue [~TheMue@p5DDF70C8.dip.t-dialin.net] has joined #go-nuts 16:54 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #go-nuts 16:54 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 240 seconds] 16:55 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 16:57 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 17:01 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 17:04 -!- virtualsue [~chatzilla@89.206.186.65] has joined #go-nuts 17:15 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 17:24 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 17:24 -!- enferex [~enferex@users.757.org] has quit [Ping timeout: 276 seconds] 17:24 -!- enferex [~enferex@users.757.org] has joined #go-nuts 17:25 -!- ronnyy [~quassel@p4FF1C5A0.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 17:25 -!- cafesofi_ [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 17:25 -!- binarii [~binary@80.239.96.162] has quit [Read error: Operation timed out] 17:26 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Ping timeout: 255 seconds] 17:27 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 17:30 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 17:30 -!- Ekspluati [~Ekspluati@a91-152-178-126.elisa-laajakaista.fi] has joined #go-nuts 17:31 -!- rutkowski [~adrian@078088202194.walbrzych.vectranet.pl] has joined #go-nuts 17:33 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has quit [Quit: Der weg zur erkenntniss ist der richtige.] 17:34 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has joined #go-nuts 17:35 -!- virtualsue [~chatzilla@89.206.186.65] has quit [Ping timeout: 240 seconds] 17:35 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza] 17:38 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 17:39 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 17:39 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 240 seconds] 17:39 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 17:41 -!- Ekspluati [~Ekspluati@a91-152-178-126.elisa-laajakaista.fi] has quit [Read error: Connection reset by peer] 17:42 -!- franciscosouza [~francisco@201.7.186.67] has quit [Client Quit] 17:44 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [] 17:45 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 248 seconds] 17:46 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 17:49 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 17:54 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 17:59 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving] 18:01 -!- tobym [~tobym@static-108-41-50-123.nycmny.fios.verizon.net] has quit [Read error: Connection reset by peer] 18:01 -!- tobym [~tobym@static-108-41-50-123.nycmny.fios.verizon.net] has joined #go-nuts 18:05 -!- binarii [~binary@80.239.96.162] has joined #go-nuts 18:06 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 255 seconds] 18:07 -!- huin [~huin@91.85.171.238] has joined #go-nuts 18:08 -!- homa_rano [~ede@30-51-251.dynamic.csail.mit.edu] has quit [Remote host closed the connection] 18:10 -!- TheSeeker [riiight@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined #go-nuts 18:11 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 246 seconds] 18:11 < skelterjohn|work> afternoon 18:11 -!- r_linux [~r_linux@200.198.180.250] has joined #go-nuts 18:12 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 18:14 -!- Bigbear11 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts 18:15 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Ping timeout: 248 seconds] 18:32 -!- Ekspluati [3e4ed8ee@gateway/web/freenode/ip.62.78.216.238] has joined #go-nuts 18:39 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 18:40 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has joined #go-nuts 18:40 < ww> heya skelterjohn|work 18:47 -!- tncardoso [~thiago@187.59.210.231] has joined #go-nuts 18:56 -!- marko_ [~marko@host194-207-dynamic.37-79-r.retail.telecomitalia.it] has joined #go-nuts 18:56 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has quit [Quit: Der weg zur erkenntniss ist der richtige.] 18:57 -!- tvw [~tv@e176003133.adsl.alicedsl.de] has joined #go-nuts 19:03 -!- bmizerany [~bmizerany@204.14.152.118] has joined #go-nuts 19:05 -!- cenuij [~cenuij@170.21.8.109.rev.sfr.net] has joined #go-nuts 19:05 -!- cenuij [~cenuij@170.21.8.109.rev.sfr.net] has quit [Changing host] 19:05 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 19:07 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts 19:09 < skelterjohn|work> exch, you here? 19:10 -!- Bigbear11 [~Cody@d173-181-43-12.abhsia.telus.net] has left #go-nuts [] 19:11 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has joined #go-nuts 19:13 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 19:15 -!- robteix [~robteix@192.55.54.36] has quit [Quit: Leaving] 19:15 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts 19:21 -!- r_linux [~r_linux@200.198.180.250] has quit [Ping timeout: 258 seconds] 19:21 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 19:22 < exch> skelterjohn|work: yes 19:22 < skelterjohn|work> my glfw strangeness went away 19:22 < skelterjohn|work> false alarm 19:23 < skelterjohn|work> in fact it *does* work 19:23 < exch> ah goodie :) 19:23 < skelterjohn|work> on linux now, everything is so much easier 19:23 < skelterjohn|work> except i have to reboot to windows to check my corporate email and do timecards 19:23 < exch> everything is better without windows :p 19:23 < aiju> except rooms 19:23 < exch> you cant get email in linux? 19:24 < aiju> corporate email probably requires corporate software 19:24 < skelterjohn|work> some weirdness about certificates 19:24 < skelterjohn|work> i don't know much about that kind of thing 19:25 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza] 19:26 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 255 seconds] 19:26 < skelterjohn|work> try to import it, "failed for unknown reasons" 19:26 < skelterjohn|work> *shrug* 19:27 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts 19:28 < skelterjohn|work> is there an opengl function for polygons? or do i have to turn it into triangles on my own 19:28 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 19:28 < ampleyfly> skelterjohn|work: glBegin(GL_POLYGON); 19:29 < skelterjohn|work> neat 19:29 < ampleyfly> haven't used gl from go though, so don't know what that api looks like 19:30 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 255 seconds] 19:30 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 19:37 -!- th0re [~thre@p5B3B4A38.dip.t-dialin.net] has quit [Quit: Der weg zur erkenntniss ist der richtige.] 19:38 -!- photron [~photron@port-92-201-147-221.dynamic.qsc.de] has quit [Ping timeout: 276 seconds] 19:49 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 260 seconds] 19:49 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 19:54 -!- alehorst [~alehorst@186.212.209.175] has quit [Quit: Leaving.] 19:55 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-13.clienti.tiscali.it] has joined #go-nuts 19:56 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 276 seconds] 19:58 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-149-109.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 20:01 -!- alehorst [~alehorst@186.212.209.175] has joined #go-nuts 20:02 -!- Ekspluati [3e4ed8ee@gateway/web/freenode/ip.62.78.216.238] has quit [Ping timeout: 252 seconds] 20:04 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection] 20:07 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 20:11 -!- rutkowski [~adrian@078088202194.walbrzych.vectranet.pl] has quit [Quit: WeeChat 0.3.3-dev] 20:14 < skelterjohn|work> hmm, no glOrtho in banthar's opengl port 20:14 < skelterjohn|work> :< 20:15 < ampleyfly> it's not hard to write yourself if you have glloadmatrix 20:19 -!- mtrichardson [~mtrichard@li22-133.members.linode.com] has quit [Ping timeout: 250 seconds] 20:19 < skelterjohn|work> my 3d math isn't good enough to do that without spending an hour doing research 20:19 -!- mtrichardson [~mtrichard@li22-133.members.linode.com] has joined #go-nuts 20:20 -!- wchicken [~chicken@c-24-7-112-207.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 20:21 < ampleyfly> skelterjohn|work: just look up the docs for glortho, it's in there 20:21 < ebering> in container/heap to be a heaper how are heap.Interface.Push and heap.Interface.Pop expected to behave? remove from the back or the front? 20:22 -!- cafesofi_ [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 20:23 -!- va3atc [~va3atc@24-246-17-37.cable.teksavvy.com] has joined #go-nuts 20:23 < skelterjohn|work> ebering, either it doesn't matter, or they want you to implement heap push/pop in those methods 20:23 < skelterjohn|work> it's not clear to me from the doc 20:23 < skelterjohn|work> i'd have to look at the source 20:23 < ebering> skelterjohn|work: looking at the source, it should remove from the end 20:24 < ebering> and add to the end 20:24 < skelterjohn|work> certainly needs to be consistent 20:29 < ebering> this could be better documented, though it becomes clear when you look at container/vector and think that vectors should automatically be heapers 20:32 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 20:32 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 248 seconds] 20:32 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 20:38 -!- TheMue [~TheMue@p5DDF70C8.dip.t-dialin.net] has quit [Quit: TheMue] 20:39 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has quit [Quit: leaving] 20:40 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20:44 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit [Quit: Leaving] 20:48 -!- wchicken [~chicken@c-98-248-194-46.hsd1.ca.comcast.net] has joined #go-nuts 20:51 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the Fish] 20:51 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7c54:d7b4:8b0c:5cb5] has quit [Quit: Leaving.] 20:52 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 260 seconds] 20:53 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 20:53 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 20:55 -!- robteix [~robteix@192.55.54.36] has quit [Quit: Leaving] 20:56 -!- wrtp [~rog@92.30.183.6] has quit [Quit: wrtp] 20:57 -!- NiteRain [~kvirc@c-98-254-236-21.hsd1.fl.comcast.net] has joined #go-nuts 21:04 -!- tvw [~tv@e176003133.adsl.alicedsl.de] has quit [Remote host closed the connection] 21:04 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Quit: leaving] 21:06 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 21:08 -!- peter__ [~peter@host86-166-141-119.range86-166.btcentralplus.com] has joined #go-nuts 21:08 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 21:09 -!- wrtp [~rog@92.30.183.6] has joined #go-nuts 21:09 -!- keithcascio [~keithcasc@nat/google/x-dmrloerwtjglbfrc] has joined #go-nuts 21:10 < peter__> gomake can't find 8g. 8g command works on it own though 21:10 < peter__> any thoughts? 21:11 -!- wrtp [~rog@92.30.183.6] has quit [Client Quit] 21:12 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.] 21:12 < skelterjohn|work> does make work on its own? 21:12 < skelterjohn|work> gomake is a script that sets a few env vars and then calls make 21:14 -!- huin [~huin@91.85.171.238] has quit [Quit: leaving] 21:14 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Ping timeout: 255 seconds] 21:16 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 255 seconds] 21:17 < peter__> gomake just sets up GOROOT 21:17 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 21:17 < peter__> do i need anything else? 21:17 < peter__> gobin? 21:17 < peter__> in which case, why does 8g work in the shell directly? 21:18 < peter__> with just make instead of gomake, gobin looks unset and it looks for /src/Make.inc 21:21 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #go-nuts 21:22 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts 21:23 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 240 seconds] 21:24 -!- r_linux [~r_linux@smtp.mandique.com.br] has joined #go-nuts 21:25 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 21:25 < peter__> ok i think it was a problem with my .bashrc 21:27 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has joined #go-nuts 21:28 < peter__> thanks 21:28 -!- peter__ [~peter@host86-166-141-119.range86-166.btcentralplus.com] has quit [Quit: Leaving] 21:33 -!- r_linux [~r_linux@smtp.mandique.com.br] has quit [Ping timeout: 258 seconds] 21:33 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined #go-nuts 21:52 -!- angasule__ [~angasule@190.2.33.49] has joined #go-nuts 21:52 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit [Ping timeout: 240 seconds] 21:55 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-13.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:01 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Remote host closed the connection] 22:02 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza] 22:12 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has quit [Remote host closed the connection] 22:14 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 22:14 -!- cenuij [~cenuij@base/student/cenuij] has quit [Ping timeout: 276 seconds] 22:21 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 22:31 -!- vpit3833 [~user@203.111.33.203] has joined #go-nuts 22:37 -!- ExsysTech [~ExsysTech@50-46-210-255.evrt.wa.frontiernet.net] has quit [Ping timeout: 276 seconds] 22:39 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 244 seconds] 22:41 -!- virtualsue [~chatzilla@nat/cisco/x-mkmrwaiorhgysfmr] has joined #go-nuts 22:45 -!- cenuij [~cenuij@147.22.125.78.rev.sfr.net] has joined #go-nuts 22:45 -!- cenuij [~cenuij@147.22.125.78.rev.sfr.net] has quit [Changing host] 22:45 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 22:51 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has quit [Read error: Connection reset by peer] 22:51 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 22:57 -!- jaspervdj [~jaspervdj@zeus.ugent.be] has quit [Quit: prozac is for pussies] 22:58 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has quit [Quit: dfc] 22:58 -!- cenuij [~cenuij@base/student/cenuij] has quit [Ping timeout: 276 seconds] 23:00 -!- cenuij [~cenuij@103.184.122.78.rev.sfr.net] has joined #go-nuts 23:00 -!- cenuij [~cenuij@103.184.122.78.rev.sfr.net] has quit [Changing host] 23:00 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 23:00 < kevlar_work> So, I know how to (and frequently) emulate WaitGroup.Wait() (for waiting on a number of goroutines to finish) using channels, but is there a simple model that also emulates the behavior of Wait() when it's already at zero? In other words, after the goroutines have already exited? 23:00 < kevlar_work> If there is, I can't really think of one... 23:01 < kevlar_work> (basically, I want to fire off a goroutine with a "stop" channel that may complete before I try to stop it. If I try to stop it, I want to wait until it completes, but if it's already stopped, I want to do nothing) 23:02 < kevlar_work> I thought about having a buffered "done" channel, but then that limits me to one call to Stop. I suppose I could resend the value to the "done" channel once I get it? 23:04 -!- aiju_ [~aiju@unaffiliated/aiju] has joined #go-nuts 23:05 -!- alkavan_ [~alkavan@IGLD-84-228-126-217.inter.net.il] has quit [Read error: Connection reset by peer] 23:05 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 255 seconds] 23:05 -!- aiju [~aiju@unaffiliated/aiju] has quit [Ping timeout: 255 seconds] 23:05 -!- LeNsTR|off [~lenstr@unaffiliated/lenstr] has quit [Quit: ZNC - http://znc.sourceforge.net] 23:05 -!- tvw [~tv@e176003133.adsl.alicedsl.de] has joined #go-nuts 23:06 -!- alkavan [~alkavan@IGLD-84-228-126-217.inter.net.il] has joined #go-nuts 23:06 -!- LeNsTRg [~lenstr@1.qs.biz] has joined #go-nuts 23:07 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts 23:09 -!- bartbes [~bartbes@love/developer/bartbes] has quit [Read error: Operation timed out] 23:11 -!- franciscosouza [~francisco@187.105.21.125] has joined #go-nuts 23:15 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has joined #go-nuts 23:15 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has quit [Changing host] 23:15 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 23:15 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client Quit] 23:26 -!- tvw [~tv@e176003133.adsl.alicedsl.de] has quit [Remote host closed the connection] 23:31 -!- virtualsue [~chatzilla@nat/cisco/x-mkmrwaiorhgysfmr] has quit [Ping timeout: 258 seconds] 23:39 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Quit: Computer has gone to sleep.] 23:39 -!- tncardoso [~thiago@187.59.210.231] has quit [Quit: bye] 23:42 -!- marko_ [~marko@host194-207-dynamic.37-79-r.retail.telecomitalia.it] has quit [Ping timeout: 260 seconds] 23:42 -!- dlowe [~dlowe@c-66-30-116-162.hsd1.ma.comcast.net] has joined #go-nuts 23:44 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping timeout: 255 seconds] 23:44 -!- jbooth1 [~jay@209.249.216.2] has quit [Quit: Leaving.] 23:44 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 23:47 -!- unit3 [~Unit3@76.77.91.41] has joined #go-nuts 23:47 -!- tobym [~tobym@static-108-41-50-123.nycmny.fios.verizon.net] has quit [Ping timeout: 250 seconds] 23:49 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 250 seconds] 23:51 < unit3> Hey, can someone link me to a design pattern for using channels to return data from nested goroutines where the number of goroutines spawned is nondeterministic? 23:52 < unit3> All I've found in the docs so far assumes you know how many child routines you're going to spawn, and you can just count them returning on a control channel. 23:52 < unit3> because of the algorithm I'm writing, I have no idea how many will get spawned ahead of time... I'd just like to find a nice way to loop until they've all finished, and then close the channel. 23:53 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit: rputikar] 23:54 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 23:56 < jessta_> unit3: you can use a WaitGroup 23:57 < jessta_> http://golang.org/pkg/sync/#WaitGroup 23:58 -!- marko_ [~marko@host194-207-dynamic.37-79-r.retail.telecomitalia.it] has joined #go-nuts 23:58 < unit3> Oh, I see, so each subroutine just Adds itself to the group, and then my main loop can just read on the channel and wait for that all to finish. That should be perfect, thanks. --- Log closed Tue Jun 07 00:00:33 2011