--- Log opened Wed Apr 20 00:00:50 2011 00:02 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has joined #go-nuts 00:08 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 240 seconds] 00:09 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts 00:10 < plexdev> http://is.gd/4lAJH3 by [Nigel Tao] in 109 subdirs of go/ -- src/pkg: make package doc comments consistently start with "Package foo". 00:10 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 00:13 -!- Glasswalker [~Glasswalk@CPE002369b3cd1a-CM00222d53f155.cpe.net.cable.rogers.com] has joined #go-nuts 00:20 -!- m4dh4tt3r [~Adium@157.sub-75-210-182.myvzw.com] has quit [Ping timeout: 276 seconds] 00:21 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has joined #go-nuts 00:48 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 00:48 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 240 seconds] 00:55 -!- iant [~iant@66.109.105.216] has quit [Quit: Leaving.] 01:01 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has joined #go-nuts 01:03 -!- mikespook [~mikespook@219.137.49.53] has joined #go-nuts 01:06 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the connection] 01:16 -!- saturnfive [~saturnfiv@210.74.155.131] has joined #go-nuts 01:18 < vsmatck> Regex is so fucking slow. Tried to use it twice now for a lexer, I rewrote the first one, now I'm rewriting the second one. 01:19 -!- artefon [~thiago@187.59.187.85] has quit [Quit: bye] 01:23 -!- aho [~nya@fuld-590c771b.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 01:23 < vsmatck> errm, two different lexers. 01:25 < pTonnerre> I was just going to say, if you use regex twice that doesn't make it faster ;) 01:27 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 240 seconds] 01:37 < vsmatck> :) 01:39 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has quit [Quit: itrekkie] 01:47 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has joined #go-nuts 01:53 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has joined #go-nuts 01:55 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has joined #go-nuts 01:56 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 01:59 < tyha2> if I have multiple goroutines blocking on a read from a chan c, and I close(c), would that release all of the goroutines from the blocking read? 02:02 -!- MX80 [~MX80@cust151.253.117.74.dsl.g3telecom.net] has quit [Ping timeout: 246 seconds] 02:03 -!- MX80 [~MX80@cust151.253.117.74.dsl.g3telecom.net] has joined #go-nuts 02:05 -!- boscop [~boscop@f055206059.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 02:06 < dfc> tyha2: yes, i believe that is how it should work 02:06 < dfc> you should test it 02:07 < skelterjohn> that's what happens, yes 02:08 < skelterjohn> btw it is no longer possible to do a *non*-blocking read of a channel, except using select 02:08 < dfc> cool, so the runtime will handle the wakeup on any goroutines currently select'ing on chan c ? 02:08 < skelterjohn> "x, y <- ch" is no longer a non-blocking read 02:08 < skelterjohn> dfc: yes 02:08 < skelterjohn> to do otherwise would...be wrong :) 02:09 < dfc> yes, but it's always good to check these assumptions from time to time 02:09 < skelterjohn> true 02:11 < |Craig|> skelterjohn: use a select with a default option 02:11 < |Craig|> so yes, there is no other way I think 02:11 < skelterjohn> yes, "except using select" 02:13 < plexdev> http://is.gd/1I0NBo by [Andrew Gerrand] in go/src/cmd/goinstall/ -- goinstall: support building executable commands 02:13 -!- boscop [~boscop@f055061217.adsl.alicedsl.de] has joined #go-nuts 02:14 < tyha2> dfc: tested & confirmed; thanks. 02:15 -!- niemeyer [~niemeyer@189.27.144.191.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 240 seconds] 02:16 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 02:20 -!- boscop_ [~boscop@g227157195.adsl.alicedsl.de] has joined #go-nuts 02:20 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has quit [Ping timeout: 252 seconds] 02:21 -!- boscop [~boscop@f055061217.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 02:21 -!- l00t [~i-i3id3r_@20150129006.user.veloxzone.com.br] has joined #go-nuts 02:23 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts 02:30 -!- keithcascio [~keithcasc@nat/google/x-gckhmogadsbiyxmu] has quit [Quit: Leaving] 02:31 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 02:34 -!- mikespook [~mikespook@219.137.49.53] has quit [Ping timeout: 246 seconds] 02:48 -!- crodjer [~rohanjain@203.110.240.205] has quit [Ping timeout: 246 seconds] 02:49 -!- mikespook [~mikespook@116.21.154.192] has joined #go-nuts 02:52 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts 02:52 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has left #go-nuts [] 02:53 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 02:58 -!- nixness [~dsc@78.100.206.29] has quit [Quit: class] 03:10 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 03:11 -!- mode/#go-nuts [+v iant] by ChanServ 03:12 -!- fmoo [~Adium@66.220.144.74] has quit [Quit: Leaving.] 03:12 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 03:15 -!- kr [~Keith@204.14.152.118] has quit [Quit: WeeChat 0.3.2] 03:22 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 246 seconds] 03:22 -!- iant [~iant@216.239.45.130] has joined #go-nuts 03:22 -!- mode/#go-nuts [+v iant] by ChanServ 03:35 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has joined #go-nuts 03:47 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has joined #go-nuts 03:50 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 260 seconds] 03:56 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 04:00 -!- Netsplit *.net <-> *.split quits: foocraft 04:00 -!- nixness [~dsc@78.100.206.29] has joined #go-nuts 04:02 -!- Rakko [~rakko@71-90-73-192.dhcp.ftbg.wi.charter.com] has joined #go-nuts 04:02 < Rakko> so tell me about this go thing 04:02 < Rakko> it's sort of object-oriented but without inheritance? 04:03 < Namegduf> It's not object orientated in any sense that involves mentioning the word "object" in the specification or effective usage FAQ. 04:04 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has left #go-nuts ["Leaving"] 04:05 < Namegduf> It's an imperative, strongly-typed programming languages whose key goals include being fast to write, compile, and execute, maintainable, simple, and "safe"; wrong code looks wrong, types are compile-time checked, etc. 04:06 < Namegduf> It has interfaces for abstraction, which you use when you want to have the ability to handle any type with the right methods. 04:07 < Namegduf> Whether it's OO or not depends pretty heavily on your definition of OO. 04:08 < Namegduf> That's an obvious tautology, I guess, but the definition is vague and inconsistent enough that I don't know what version you're using. 04:10 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has quit [Quit: Leaving.] 04:19 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276 seconds] 04:22 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 246 seconds] 04:23 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts 04:23 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Ping timeout: 252 seconds] 04:23 -!- Nitro` [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit: This computer has gone to sleep] 04:26 < Rakko> ok, thanks :) 04:28 < Rakko> I agree about the definition of OO. I don't subscribe to any really restrictive definition of it. 04:32 < Rakko> Lately I've been mostly into dynamically typed stuff 04:32 < Rakko> but I'm thinking of learning something with inferred static types 04:33 < Namegduf> Go is static, but with much of the ease of programming of a dynamically typed language, through inference in variable declarations and in general being designed to be efficient at the job. 04:33 < Namegduf> Worth a try, maybe. 04:36 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276 seconds] 04:39 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts 04:42 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts 04:45 -!- ExtraSpice [XtraSpice@88.118.35.153] has joined #go-nuts 04:51 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 04:54 -!- photron_ [~photron@port-92-201-202-48.dynamic.qsc.de] has joined #go-nuts 04:59 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit] 04:59 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 05:04 -!- edsrzf [~chickench@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts 05:04 -!- pilgrum [~pilgrum@cpe-67-49-71-222.socal.res.rr.com] has joined #go-nuts 05:05 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has joined #go-nuts 05:11 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276 seconds] 05:12 -!- crodjer [~rohanjain@203.110.240.205] has quit [Ping timeout: 240 seconds] 05:13 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts 05:14 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 05:15 -!- photron_ [~photron@port-92-201-202-48.dynamic.qsc.de] has quit [Ping timeout: 248 seconds] 05:17 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 05:19 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined #go-nuts 05:22 -!- clockworks_ [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has joined #go-nuts 05:22 -!- clockworks [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 05:32 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts 05:35 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 05:37 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 05:44 -!- mattn_jp [~mattn@180-144-147-167f1.hyg1.eonet.ne.jp] has joined #go-nuts 05:47 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts 05:51 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276 seconds] 05:53 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts 06:24 -!- Nitro` [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts 06:24 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 06:25 -!- joelkronander [~joelkrona@83.226.47.191] has quit [Quit: joelkronander] 06:26 -!- pilgrum [~pilgrum@cpe-67-49-71-222.socal.res.rr.com] has quit [Quit: Leaving] 06:27 -!- mattn_jp [~mattn@180-144-147-167f1.hyg1.eonet.ne.jp] has quit [Quit: Ex-Chat] 06:34 -!- mattn_jp [~mattn@180-144-147-167f1.hyg1.eonet.ne.jp] has joined #go-nuts 06:36 -!- grumpytoad [~niel@t1004.greatnet.de] has quit [Ping timeout: 276 seconds] 06:40 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts 06:49 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Read error: Connection reset by peer] 06:50 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 06:53 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] 06:58 -!- mattn_jp [~mattn@180-144-147-167f1.hyg1.eonet.ne.jp] has quit [Quit: Ex-Chat] 07:03 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts 07:04 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts 07:16 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 260 seconds] 07:21 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-68.clienti.tiscali.it] has joined #go-nuts 07:23 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 07:23 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 07:25 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined #go-nuts 07:26 -!- Rakko [~rakko@71-90-73-192.dhcp.ftbg.wi.charter.com] has quit [Quit: Leaving] 07:30 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:32 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 246 seconds] 07:40 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts 07:40 -!- benjack [~benjack@bb121-6-49-43.singnet.com.sg] has quit [Quit: Leaving.] 07:43 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts 07:49 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 07:50 -!- zozoR [~Morten@90.185.81.29] has quit [Read error: Connection reset by peer] 07:51 -!- bortzmeyer [~stephane@lan31-2-82-224-72-72.fbx.proxad.net] has joined #go-nuts 07:57 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw] 08:02 -!- Project-2501 [~Marvin@82.84.94.134] has joined #go-nuts 08:05 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts 08:05 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-68.clienti.tiscali.it] has quit [Ping timeout: 276 seconds] 08:13 -!- TheSeeker2 [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined #go-nuts 08:13 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 08:16 -!- bortzmeyer [~stephane@lan31-2-82-224-72-72.fbx.proxad.net] has quit [Ping timeout: 246 seconds] 08:16 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds] 08:20 -!- Project-2501 [~Marvin@82.84.94.134] has quit [Read error: Connection reset by peer] 08:22 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-164-101.clienti.tiscali.it] has joined #go-nuts 08:23 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has joined #go-nuts 08:26 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts 08:32 -!- clockworks_ [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 08:33 -!- clockworks_ [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has joined #go-nuts 08:49 -!- zozoR [~Morten@90.185.81.29] has quit [Ping timeout: 246 seconds] 08:55 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has quit [Quit: itrekkie] 09:01 -!- zozoR [~Morten@90.185.81.29] has joined #go-nuts 09:13 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 09:32 -!- zimsim [~simon@87.72.77.195] has joined #go-nuts 09:56 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 240 seconds] 09:57 -!- shvntr [~shvntr@116.26.130.92] has joined #go-nuts 09:59 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 10:01 < hopso> I should really read through all the packages. I found out I had created a type which I could've implemented using binary.Read() and some structs. 10:07 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 276 seconds] 10:13 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has quit [Read error: Connection reset by peer] 10:19 -!- saturnfive [~saturnfiv@210.74.155.131] has quit [Read error: Connection reset by peer] 10:20 -!- virtualsue [~chatzilla@nat/cisco/x-txanbcxeywbfzavf] has joined #go-nuts 10:29 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts 10:37 -!- fmoo [~Adium@c-76-102-41-101.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 10:39 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 10:45 -!- katakuna [~pie@kjal.demon.co.uk] has joined #go-nuts 10:45 < hopso> I think I need to get a new computer. It's making a high pitched sound and last time the PSU died few days later. 10:47 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has quit [Remote host closed the connection] 10:52 -!- dchest [~dchest@78.155.49.42] has quit [Quit: dchest] 10:55 -!- edsrzf [~chickench@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote host closed the connection] 10:58 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw] 11:11 -!- alderz [~alderz@75.Red-88-20-211.staticIP.rima-tde.net] has joined #go-nuts 11:12 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts 11:30 -!- boscop_ [~boscop@g227157195.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 11:36 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has joined #go-nuts 11:42 -!- alderz [~alderz@75.Red-88-20-211.staticIP.rima-tde.net] has quit [Quit: mov pc, lr] 11:46 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 11:48 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 11:50 -!- tux21b [~tux21b@pyhost.srv.tux21b.org] has quit [Disconnected by services] 11:51 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has quit [Ping timeout: 258 seconds] 11:51 -!- tux21b_ [~tux21b@pyhost.srv.tux21b.org] has joined #go-nuts 11:51 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts 12:00 -!- artefon [~thiago@bananal.lbd.dcc.ufmg.br] has joined #go-nuts 12:02 -!- Count_Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Ping timeout: 276 seconds] 12:03 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 240 seconds] 12:11 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts 12:13 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 12:14 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 12:19 -!- zimsim [~simon@87.72.77.195] has quit [Remote host closed the connection] 12:20 < skelterjohn> morning 12:20 -!- zerosanity [~josh@8.20.178.82] has joined #go-nuts 12:23 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 252 seconds] 12:27 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit [Quit: JusticeFries] 12:36 -!- mikespook [~mikespook@116.21.154.192] has quit [Quit: Leaving.] 12:41 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 12:42 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 12:42 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts 12:45 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 12:51 -!- shvntr [~shvntr@116.26.130.92] has quit [Ping timeout: 246 seconds] 12:52 -!- karpar [~user@112.96.255.5] has joined #go-nuts 12:53 -!- FluffySauce [~FluffySau@c-24-126-60-239.hsd1.md.comcast.net] has joined #go-nuts 12:58 -!- karpar [~user@112.96.255.5] has quit [Ping timeout: 264 seconds] 13:00 -!- fhs [~fhs@pool-74-101-66-112.nycmny.east.verizon.net] has quit [Quit: leaving] 13:00 -!- karpar [~user@112.96.254.21] has joined #go-nuts 13:01 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 13:09 -!- wtfness [~dsc@89.211.94.47] has joined #go-nuts 13:11 -!- nixness [~dsc@78.100.206.29] has quit [Ping timeout: 240 seconds] 13:13 -!- shvntr [~shvntr@116.26.130.92] has joined #go-nuts 13:15 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 13:16 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-164-101.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 13:17 -!- karpar [~user@112.96.254.21] has quit [Ping timeout: 240 seconds] 13:18 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 252 seconds] 13:19 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4] 13:22 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 13:25 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 13:28 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 248 seconds] 13:31 -!- bpalmer [~user@unaffiliated/bpalmer] has left #go-nuts ["ERC Version 5.1.2 $Revision: 1.796.2.6 $ (IRC client for Emacs)"] 13:33 -!- karpar [~user@112.96.224.13] has joined #go-nuts 13:38 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 13:40 -!- iant [~iant@66.109.105.216] has joined #go-nuts 13:40 -!- mode/#go-nuts [+v iant] by ChanServ 13:41 -!- artefon [~thiago@bananal.lbd.dcc.ufmg.br] has quit [Ping timeout: 276 seconds] 13:48 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has joined #go-nuts 13:50 -!- gmilleramilar [~gmiller@pool-74-101-133-165.nycmny.fios.verizon.net] has left #go-nuts [] 13:51 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 13:52 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 13:52 -!- nixness [~dsc@78.101.95.166] has joined #go-nuts 13:55 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has joined #go-nuts 13:55 -!- wtfness [~dsc@89.211.94.47] has quit [Ping timeout: 246 seconds] 14:01 -!- boscop [~boscop@g227157195.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 14:04 -!- artefon [~thiago@dhcp33.usuarios.dcc.ufmg.br] has joined #go-nuts 14:08 -!- karpar [~user@112.96.224.13] has quit [Quit: Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!] 14:13 < hopso> How can I use godoc to serve documentation of my own go app? 14:13 -!- g0bl1n [~g0blin@unaffiliated/g0bl1n] has joined #go-nuts 14:17 < hopso> "godoc -http :6060 -path ." in the program directory did the job :) 14:36 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 14:36 -!- Glasswalker [~Glasswalk@CPE002369b3cd1a-CM00222d53f155.cpe.net.cable.rogers.com] has quit [Ping timeout: 246 seconds] 14:46 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 14:47 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 14:52 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 14:53 -!- dchest [~dchest@78.155.49.42] has joined #go-nuts 14:54 -!- iant [~iant@66.109.105.216] has quit [Quit: Leaving.] 14:57 -!- katakuna [~pie@kjal.demon.co.uk] has quit [Ping timeout: 240 seconds] 14:59 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts 15:01 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit: Leaving.] 15:03 -!- artefon [~thiago@dhcp33.usuarios.dcc.ufmg.br] has quit [Quit: bye] 15:04 -!- Glasswalker [~Glasswalk@CPE005056ad47df-CM001225e00d58.cpe.net.cable.rogers.com] has joined #go-nuts 15:06 -!- katakuna [~pie@80.176.230.183] has joined #go-nuts 15:07 -!- iant [~iant@nat/google/x-wtnfrolmrwnppvdl] has joined #go-nuts 15:07 -!- mode/#go-nuts [+v iant] by ChanServ 15:10 -!- dj2_ [~dj2@216.16.242.254] has joined #go-nuts 15:11 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 260 seconds] 15:18 -!- keithcascio [~keithcasc@nat/google/x-ownxhwlbopjukhud] has joined #go-nuts 15:24 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds] 15:24 -!- g0bl1n [~g0blin@unaffiliated/g0bl1n] has quit [Quit: g0bl1n] 15:25 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Ping timeout: 252 seconds] 15:29 -!- shvntr [~shvntr@116.26.130.92] has quit [Quit: leaving] 15:36 -!- artefon [~thiago@189.59.204.202] has joined #go-nuts 15:38 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has joined #go-nuts 15:39 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net] has joined #go-nuts 15:43 -!- bortzmeyer [~stephane@82.224.72.72] has joined #go-nuts 15:43 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Quit: Computer has gone to sleep.] 15:46 -!- mattn_jp [~mattn@112-68-92-142f1.hyg1.eonet.ne.jp] has joined #go-nuts 15:46 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 16:00 -!- katakuna [~pie@80.176.230.183] has quit [Ping timeout: 260 seconds] 16:00 -!- exch [~exch@31-151-123-254.dynamic.upc.nl] has quit [Quit: leaving] 16:00 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 16:01 -!- boscop [~boscop@f055198161.adsl.alicedsl.de] has joined #go-nuts 16:04 -!- exch [~exch@31-151-123-254.dynamic.upc.nl] has joined #go-nuts 16:05 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts 16:08 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 246 seconds] 16:10 -!- dj2_ [~dj2@216.16.242.254] has quit [Remote host closed the connection] 16:10 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 16:11 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 16:11 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has joined #go-nuts 16:11 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 16:16 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 16:18 -!- katakuna [~pie@kjal.demon.co.uk] has joined #go-nuts 16:19 -!- bortzmeyer [~stephane@82.224.72.72] has quit [Ping timeout: 258 seconds] 16:20 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 16:21 -!- Nitro` [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit: This computer has gone to sleep] 16:25 -!- clockworks_ [~clockwork@c-76-103-224-136.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 16:30 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-164-101.clienti.tiscali.it] has joined #go-nuts 16:34 -!- katakuna [~pie@kjal.demon.co.uk] has quit [Ping timeout: 252 seconds] 16:39 -!- katakuna [~pie@kjal.demon.co.uk] has joined #go-nuts 16:41 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 16:42 < skelterjohn> slow news day 16:49 -!- kimelto [~kimelto@sd-13453.dedibox.fr] has quit [Remote host closed the connection] 16:59 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has joined #go-nuts 17:01 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 17:02 -!- aho [~nya@fuld-590c6de8.pool.mediaWays.net] has joined #go-nuts 17:02 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 17:11 -!- thiago__ [~thiago@189.59.204.202] has joined #go-nuts 17:14 -!- artefon [~thiago@189.59.204.202] has quit [Read error: Connection reset by peer] 17:21 < plexdev> http://is.gd/AJKNIJ by [David Crawshaw] in go/src/cmd/gofmt/ -- gofmt: add -diff 17:25 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 17:32 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 17:33 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 17:36 -!- damikin11 [~damikin11@cpe-24-30-179-173.socal.res.rr.com] has joined #go-nuts 17:38 -!- jyxent [~jyxent@129.128.191.96] has quit [Read error: Connection reset by peer] 17:39 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts 17:43 -!- huin [~huin@91.84.99.134] has joined #go-nuts 17:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 260 seconds] 17:47 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 18:00 -!- crodjer [~rohanjain@203.110.240.205] has quit [Quit: Leaving] 18:05 -!- TheMue [~TheMue@p5DDF685D.dip.t-dialin.net] has joined #go-nuts 18:09 -!- reds_ [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined #go-nuts 18:09 < plexdev> http://is.gd/QPl3TT by [Robert Griesemer] in 2 subdirs of go/src/cmd/ -- gofix, gofmt: update documentation 18:16 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 240 seconds] 18:17 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-179-145.clienti.tiscali.it] has joined #go-nuts 18:20 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-164-101.clienti.tiscali.it] has quit [Ping timeout: 252 seconds] 18:20 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 18:20 -!- reds_ [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote host closed the connection] 18:28 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts 18:32 < damikin11> hello, i was wondering if there was a chart that shows go's order of evaluation (specifically, i do not know where remainder (%) compares with comparison (==) in the grand scheme of things). 18:34 < skelterjohn> i don't know of any handy figure, but you can see what the precedence is by examining the spec 18:34 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 18:34 < skelterjohn> and i believe that % has precedence over == 18:34 < aho> http://golang.org/doc/go_spec.html#Operator_precedence 18:34 < aiju> anything else is meaningless 18:34 < skelterjohn> that is, "x % y == z" is a valid statement 18:34 < aiju> a % (b == c) doesn't make any sense 18:34 < skelterjohn> right 18:35 < aiju> i think it's pretty easy to remember 18:35 -!- mattn_jp [~mattn@112-68-92-142f1.hyg1.eonet.ne.jp] has quit [Ping timeout: 246 seconds] 18:35 < damikin11> well, i was completely looking at the wrong section, sorry about that 18:35 < skelterjohn> that one, yes 18:35 < aiju> anything like multiplication or division (incl. shifts and AND) is at the top 18:35 < aiju> followed by addition and subtraction & co (OR, XOR) 18:35 < aiju> followed by comparison, AND and OR 18:36 < skelterjohn> interesting 18:36 < skelterjohn> what is &^? 18:36 < skelterjohn> what is "&^"? 18:36 < aiju> and not 18:36 < skelterjohn> ok 18:37 < aiju> &^ bit clear (and not) integers 18:37 < aiju> notice it only now, too :D 18:37 < skelterjohn> hmm, since x &^ y gives the same result as x & (^ y) 18:37 < damikin11> thanks for the help all. 18:37 < skelterjohn> i wonder why it gets its own operator 18:38 < aiju> skelterjohn: typing, probably 18:38 < aiju> var x uint 18:38 < aiju> x & (^1) is invalid 18:38 < skelterjohn> because ^1 might not align with x? 18:38 < aiju> ^1 is -2 18:39 < aiju> which is not impliclity convertable to uint 18:39 < aiju> *implicitly 18:39 < skelterjohn> i'd think ^1 would be zero 18:39 < aiju> no ^-1 is zero 18:40 < skelterjohn> clearly i don't know very much about bit representation for integers 18:40 < skelterjohn> and that's ok 18:40 < aiju> girls won't like you 18:40 < skelterjohn> i'm married 18:40 < skelterjohn> it's ok 18:40 < aiju> then it's not a real girl 18:40 < skelterjohn> right 18:40 < skelterjohn> the problem is moot 18:40 < aiju> you also can't enter heaven that way 18:40 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has joined #go-nuts 18:40 < aiju> peter refuses entry to people who don't know two's complement 18:40 < skelterjohn> without knowing about bit representations for integers? or being married 18:41 < skelterjohn> there are a number of reasons that will prevent me from getting in 18:41 -!- crodjer [~rohanjain@203.110.240.205] has quit [Remote host closed the connection] 18:42 -!- crodjer [~rohanjain@203.110.240.205] has joined #go-nuts 18:44 -!- Project_2501 [~Marvin@82.84.69.34] has joined #go-nuts 18:44 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined #go-nuts 18:47 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-179-145.clienti.tiscali.it] has quit [Ping timeout: 246 seconds] 18:55 -!- iant [~iant@nat/google/x-wtnfrolmrwnppvdl] has quit [Ping timeout: 248 seconds] 19:03 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 246 seconds] 19:03 -!- g0bl1n [~g0blin@unaffiliated/g0bl1n] has joined #go-nuts 19:05 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 19:10 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined #go-nuts 19:12 < plexdev> http://is.gd/z1gxbp by [Russ Cox] in go/src/pkg/reflect/ -- reflect: update CanAddr, CanSet documentation 19:13 -!- m4dh4tt3r1 [~Adium@c-69-181-217-82.hsd1.ca.comcast.net] has joined #go-nuts 19:15 -!- arun_ [~arun@unaffiliated/sindian] has joined #go-nuts 19:15 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 19:20 -!- cw [~anticw@parsec.stupidest.org] has quit [Ping timeout: 246 seconds] 19:24 -!- matti_ [~mumboww@c-24-6-22-101.hsd1.ca.comcast.net] has joined #go-nuts 19:26 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 19:29 < plexdev> http://is.gd/2HcVbf by [Russ Cox] in go/src/pkg/net/ -- net: use C library resolver on FreeBSD, Linux, OS X / amd64, 386 19:30 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 19:37 -!- reds_ [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has joined #go-nuts 19:43 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts 19:44 < skelterjohn> is there a function in the go runtime somewhere that will kill a process, given its PID? 19:44 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has quit [Read error: Connection reset by peer] 19:44 < aiju> os? 19:44 < aiju> syscall? 19:44 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has joined #go-nuts 19:45 < skelterjohn> like, for instance syscall.Kill 19:45 < skelterjohn> stupid nsf's gortfm 19:45 < skelterjohn> i type in Kill there and the screen was full of about 9000 things 19:46 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has joined #go-nuts 19:49 -!- g0bl1n [~g0blin@unaffiliated/g0bl1n] has quit [Quit: g0bl1n] 19:50 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 19:52 < nsf> skelterjohn: you just don't know how to type 19:52 < nsf> http://ompldr.org/vOGNxYw/2011-04-21-015834_836x641_scrot.png 19:52 < skelterjohn> it's possible 19:53 < skelterjohn> i did type just "kill" 19:53 < skelterjohn> which seemed like a good idea at the time 19:55 < skelterjohn> if you do "kill", almost everything there does not have the string "kill" in it 19:55 < skelterjohn> so i'm not sure how that's supposed to work 19:59 < nsf> the problem is that I do search in constants as well 19:59 < nsf> and syscall has big constant groups 20:00 < skelterjohn> i see 20:01 < skelterjohn> so if kill is in any of the group's constants, it shows the whole group? 20:01 < nsf> yes 20:01 < nsf> golang.org doesn't search constants as well 20:01 < nsf> :\ 20:01 < nsf> s/as well/at all/ 20:05 -!- dchest [~dchest@78.155.49.42] has quit [Quit: dchest] 20:06 -!- zozoR [~Morten@90.185.81.29] has quit [Remote host closed the connection] 20:07 < nsf> skelterjohn: but I agree it's not the best idea ever 20:08 < nsf> showing constants in groups only 20:09 < skelterjohn> as long as i know, now 20:12 < ww> [ f(x) | x := <-ch ] 20:13 < ww> for _, y := range [ f(x) | x := <- ch] { ... } 20:13 < ww> that's what i say. 20:15 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has quit [Ping timeout: 246 seconds] 20:15 -!- dchest [~dchest@78.155.49.42] has joined #go-nuts 20:17 < plexdev> http://is.gd/JyO1FF by [Russ Cox] in 2 subdirs of go/ -- gc: fix error for +string 20:22 -!- reds_ [~reds@pool-74-101-147-57.nycmny.fios.verizon.net] has quit [Remote host closed the connection] 20:22 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the connection] 20:25 -!- boscop_ [~boscop@f055096178.adsl.alicedsl.de] has joined #go-nuts 20:26 -!- boscop [~boscop@f055198161.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 20:32 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has joined #go-nuts 20:33 -!- crodjer [~rohanjain@203.110.240.205] has quit [Remote host closed the connection] 20:34 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 20:35 < plexdev> http://is.gd/SP8mpf by [Russ Cox] in go/src/pkg/reflect/ -- reflect: add Type.Implements, Type.AssignableTo, Value.CallSlice; make Set match Go 20:35 < plexdev> http://is.gd/eRpTw2 by [Russ Cox] in go/src/cmd/ld/ -- ld: remove MachoLoad limit 20:37 < skelterjohn> ww: i find that when i go nuts with python list builders that the code gets quickly unreadable 20:37 < nsf> I think features should solve real problems 20:38 < nsf> uhm.. I can't say if that feature solves any problem 20:38 < skelterjohn> though i'd suggest [ f(x) | x := range ch ] instead of [ f(x) | x := <- ch ] 20:38 < skelterjohn> but my first choice would be none-of-the-above 20:39 < nsf> for x := range <-ch { y := f(x); ... } 20:39 < nsf> is this correct? looks even shorter to me 20:39 < nsf> a feature that makes trivial things longer? :) 20:40 < ww> it's just syntax sugar... 20:40 < ww> but, nsf, it would make converting from a sequence of things sent over a channel to a slice and back easier and shorter 20:40 < ww> how common a case that is i'm not sure 20:40 < hopso> Syntax sugar makes me think of APL 20:40 < aiju> syntactic sugar causes cancer of th esemicolon 20:41 -!- zerosanity [~josh@8.20.178.82] has quit [Remote host closed the connection] 20:41 < aiju> *of the 20:41 < nsf> personally I would choose something like blocks syntax sugar 20:41 < nsf> instead of list comprehensions ala python 20:41 < nsf> blocks are more flexible 20:41 < aiju> blocks are even worse 20:41 < aiju> i don't get them at all 20:41 < nsf> no 20:41 < nsf> try using ruby 20:41 < nsf> just for something 20:41 < Namegduf> Never 20:42 < ww> but a range over channel would be useful instead of for { x, ok := <-ch; if !ok { break; } ... } 20:42 < ww> which seems unnecessarily verbose for such a common construction 20:42 < Namegduf> Go has range over channels? 20:43 < Namegduf> for v := range c { } 20:43 < ww> Namegduf: maybe it should. it doesn't unless i've missed something 20:43 < Namegduf> It does. 20:44 * ww facepalm 20:44 < Namegduf> And it is nice and makes things simpler in real code 20:44 < skelterjohn> oh - yeah you can just do 20:44 < skelterjohn> for x := range ch 20:44 < Namegduf> So it was such a good idea it already existed, heh. 20:44 < skelterjohn> didn't realize that wasn't clear 20:44 < nsf> aiju: for example in ruby: a = [1, 2, 3, 4, -1, 5, 6]; has_negatives = a.one? { |e| e < 0 } 20:44 * skelterjohn dies 20:44 < Namegduf> I have no idea what that code does. 20:45 < aiju> me neither 20:45 < Namegduf> Okay, I have an idea now but it's horrible 20:45 < aiju> if i want terseness i use K 20:45 < nsf> or you can do it differently: all_positives = a.all? { |e| e >= 0 } 20:45 < ww> isn't that an elephant tranquiliser? 20:45 < aiju> |/(x<0) 20:45 < skelterjohn> a.one? fails for a set of size 2 or more, i'd think 20:45 < aiju> beat THAT 20:45 < nsf> skelterjohn: what? 20:45 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 20:45 < aiju> you can even leave out the braces 20:45 < aiju> |/x<0 20:46 < skelterjohn> a.one? { |e| e < 0 } 20:46 < Namegduf> a.exists would be clearer 20:46 < skelterjohn> what if there were two elements in 20:46 < Namegduf> If you're going to mimic set theory 20:46 < nsf> skelterjohn: one? means "at least one satisfies that block" 20:46 < skelterjohn> oh wait i didn't read it right 20:46 < skelterjohn> nsf: rather than "exactly one" 20:46 < skelterjohn> which is what "one" usually means 20:46 < Namegduf> I don't find that readable, or think it's a common case 20:46 < skelterjohn> a.exists() would be nice 20:46 -!- virtualsue [~chatzilla@nat/cisco/x-txanbcxeywbfzavf] has quit [Ping timeout: 264 seconds] 20:46 < skelterjohn> if i cared about ruby code 20:46 < Namegduf> "exists" is unusual 20:47 < Namegduf> "all" is a more common requirement for error checking 20:47 < Namegduf> And you're still only getting somewhat terser for the cost of more complexity 20:48 < Namegduf> Which means whether you get a readability improvement depends on the ratio between those things. 20:48 < Namegduf> I don 20:48 < Namegduf> *don't think you come out on top with syntax like that. 20:48 < exch> { 1 2 3 4 -1 5 6 } [ 0 >= ] filter 20:48 < exch> doesnt get much simpler than that 20:48 < skelterjohn> if by "simpler" you mean "shorter", aiju demonstrated something 20:49 < aiju> i find the imperative way the most flexible 20:49 < aiju> i always quickly end up at some limit with K 20:49 < aiju> and if it's just performance 20:50 < aiju> (most of my K programs calculate twice or worse as much as necessary just to keep the program short) 20:50 * ww wonders why aiju keeps going on about tranquilisers 20:50 < Namegduf> Terseness is no more an ultimate good than DRY or modularisation or pretty much anything else. 20:50 < Namegduf> In terms of readability/simplicity I think it by on large hurts those things more than it gains in most attempts to deliberately get it. 20:50 < aiju> K is a great trolling tool, though 20:50 < nsf> but the main point about this syntax sugar, is that it answer to a lot of questions 20:50 < Namegduf> I mean, look at Perl. 20:50 < nsf> for example, sorting: 20:51 < Namegduf> Syntax does not exist to "answer questiosn" 20:51 < nsf> s = [...]; s.sort {|a, b| a < b } 20:51 < Namegduf> That is not within the scope of a programming language 20:51 < Namegduf> So you can use it as a very compresses closure. 20:51 < skelterjohn> what does |a,b| a < b mean 20:52 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has left #go-nuts [] 20:52 < nsf> skelterjohn: func(a, b T) bool { return a < b; } 20:52 < skelterjohn> so a lambda function 20:52 < nsf> but this is not a lambda 20:52 < Namegduf> I'm not convinced this has enough benefit in real code to be worth the significant complexity add of having to learn a new syntax for these things 20:52 < skelterjohn> seems like a lambda 20:52 < nsf> blocks can be implemented with lambdas 20:52 < nsf> but inlining is a better idea 20:53 < skelterjohn> a lambda is just an anonymous function, usually with a closure 20:53 < nsf> because calling closure it's a pointer dereference and a function call 20:53 < nsf> I don't need that 20:53 < Namegduf> Unless they're unlined. 20:53 < Namegduf> *inlined 20:53 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts 20:53 < aiju> unlining 20:53 < aiju> sounds like an idea for boascript 20:53 < Namegduf> Regular functions and closures can be inlined, too. 20:53 -!- virtualsue [~chatzilla@nat/cisco/x-irqxxntfqwvmryya] has joined #go-nuts 20:53 < aiju> unclosure unlining 20:53 < Namegduf> Nothing special there. 20:53 < nsf> Namegduf: like C++ does, sure 20:53 < nsf> but it's stupid 20:54 < Namegduf> What is? 20:54 < nsf> I mean programmer relies on a specific optimization 20:54 < nsf> it should be guaranteed 20:54 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 258 seconds] 20:55 < nsf> in one case function is inlined, code becomes fast.. in other case it isn't 20:55 < Namegduf> Perhaps, but that's a related issue. 20:55 < Namegduf> *unrelated 20:55 < nsf> and there shouldn't even be a choice 20:55 < nsf> whatever 20:55 < Namegduf> And applies to functions and closures in general as well as this weird special closure syntax. 20:55 < ww> inane ubuntu podcast 20:56 < aiju> ubuntu implies inane 20:56 -!- r_linux [~r_linux@189.38.220.35] has quit [Quit: Lost terminal] 20:56 < ww> apparently there's a funny interview with a collegue from soton where the ubuntu person has no idea what he's talking about 20:57 < skelterjohn> what is soton 20:57 < ww> i'm stuck listening to some stupid name the ubuntu release quiz show before 20:57 < ww> skelterjohn: southampton, university of 20:57 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has joined #go-nuts 20:59 < Namegduf> nsf: If you wanted a more concise closure syntax, it'd probably be better to look at ways to remove existing elements from the current form, anyway 20:59 -!- itrekkie [~itrekkie@ip72-211-130-204.tc.ph.cox.net] has left #go-nuts [] 20:59 < nsf> I don't want closures at all 20:59 < Namegduf> It's code defined inside a function with access to the external scope 20:59 < Namegduf> It's a goddamn closure 21:00 < nsf> call it whatever you like 21:00 < Namegduf> They can make up extra words for it all they like, it still meets the definition 21:00 < Namegduf> If you think it'd be good in Go, you need to fit it into Go's existing definitions and syntax rather than injecting a huge block of Ruby terminology into it. 21:00 < nsf> if it's inlined it's just a chunk of text 21:00 < Namegduf> Really. 21:00 < nsf> or AST 21:00 < Namegduf> Which is true for all closures and functions. 21:00 < nsf> I don't care about Go 21:01 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has joined #go-nuts 21:01 < btipling> wrong channel then 21:01 < btipling> aren't ya 21:01 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has joined #go-nuts 21:01 < nsf> indeed 21:01 < btipling> cya 21:01 -!- nsf [~nsf@jiss.convex.ru] has left #go-nuts ["WeeChat 0.3.4"] 21:01 < btipling> thank god 21:01 < exch> :p 21:02 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 21:03 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 21:03 < hopso> I need sleeeeep, too much server design for today. 21:03 < hopso> Nights :) 21:03 -!- TheMue [~TheMue@p5DDF685D.dip.t-dialin.net] has quit [Quit: TheMue] 21:04 -!- femtooo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Ping timeout: 246 seconds] 21:05 -!- dj2 [~dj2@216.16.242.254] has quit [Remote host closed the connection] 21:06 < plexdev> http://is.gd/KKm43m by [Brad Fitzpatrick] in 2 subdirs of go/src/pkg/ -- http: don't proxy loopback addresses 21:06 < plexdev> http://is.gd/zRreV3 by [Rob Pike] in go/src/pkg/gob/ -- gob: use new Implements and AssignableTo methods in reflect 21:07 -!- hopso [~hopso@a91-154-1-209.elisa-laajakaista.fi] has left #go-nuts [] 21:11 -!- femtoo [~femto@95-89-249-242-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 21:15 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the Fish] 21:16 -!- niemeyer_ [~niemeyer@189-10-219-9.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 21:16 -!- boscop [~boscop@f055096178.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 21:20 -!- niemeyer [~niemeyer@189-30-249-127.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 263 seconds] 21:20 -!- wchicken [~chicken@24.7.112.207] has quit [Ping timeout: 260 seconds] 21:22 -!- FluffySauce [~FluffySau@c-24-126-60-239.hsd1.md.comcast.net] has quit [Quit: FluffySauce] 21:23 < plexdev> http://is.gd/YykDMk by [Russ Cox] in go/src/pkg/net/ -- net: fix windows build 21:23 < plexdev> http://is.gd/clKCa9 by [Rob Pike] in go/src/pkg/gob/ -- gob: have errorf always prefix the message with "gob: " 21:30 < skelterjohn> is there a way to use a regexp.Regexp to split a string? 21:30 < skelterjohn> basically, i want to split a string based on "," or "\t" 21:31 < skelterjohn> actually, nevermind. it just occurred to me that i mght look for an existing csv library 21:32 < ww> skelterjohn: http://golang.org/pkg/strings/#FieldsFunc 21:33 < skelterjohn> thanks though 21:36 -!- Glasswalker [~Glasswalk@CPE005056ad47df-CM001225e00d58.cpe.net.cable.rogers.com] has quit [Ping timeout: 252 seconds] 21:39 -!- foocraft [~dsc@86.36.49.200] has joined #go-nuts 21:39 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has quit [Ping timeout: 246 seconds] 21:41 -!- huin [~huin@91.84.99.134] has quit [Quit: leaving] 21:42 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 21:47 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net] has quit [Ping timeout: 240 seconds] 21:48 -!- artefon [~thiago@189.59.207.38] has joined #go-nuts 21:48 -!- thiago__ [~thiago@189.59.204.202] has quit [Read error: Connection reset by peer] 21:49 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has quit [Quit: Leaving.] 21:57 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn] 21:59 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:00 -!- m4dh4tt3r [~Adium@c-69-181-217-82.hsd1.ca.comcast.net] has joined #go-nuts 22:01 -!- m4dh4tt3r1 [~Adium@c-69-181-217-82.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 22:05 -!- kr [~Keith@204.14.152.118] has joined #go-nuts 22:10 -!- espadrine [~thaddee_t@acces1352.res.insa-lyon.fr] has joined #go-nuts 22:11 -!- espadrine [~thaddee_t@acces1352.res.insa-lyon.fr] has left #go-nuts [] 22:12 -!- cw [~anticw@parsec.stupidest.org] has joined #go-nuts 22:14 -!- ExtraSpice [XtraSpice@88.118.35.153] has quit [Ping timeout: 276 seconds] 22:14 -!- boscop [~boscop@g227118087.adsl.alicedsl.de] has joined #go-nuts 22:21 -!- Project-2501 [~Marvin@94.36.161.224] has joined #go-nuts 22:22 -!- virtualsue [~chatzilla@nat/cisco/x-irqxxntfqwvmryya] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756]] 22:22 -!- m4dh4tt3r [~Adium@c-69-181-217-82.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 22:24 -!- Project_2501 [~Marvin@82.84.69.34] has quit [Ping timeout: 240 seconds] 22:25 < plexdev> http://is.gd/FXsu7M by [Russ Cox] in go/src/ -- run.bash: remove redundant rebuilds 22:26 -!- fmoo [~Adium@66.220.144.74] has joined #go-nuts 22:30 -!- g0bl1n [~g0blin@unaffiliated/g0bl1n] has joined #go-nuts 22:37 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 22:40 -!- JusticeFries [~JusticeFr@11.sub-75-196-207.myvzw.com] has joined #go-nuts 22:41 -!- rlab_ [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 22:41 -!- mattn_jp [~mattn@112-68-60-38f1.hyg1.eonet.ne.jp] has joined #go-nuts 22:42 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 22:44 -!- mattn_jp [~mattn@112-68-60-38f1.hyg1.eonet.ne.jp] has quit [Client Quit] 23:02 -!- franksalim__ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has joined #go-nuts 23:05 -!- niemeyer_ [~niemeyer@189-10-219-9.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 23:06 -!- franksalim_ [~franksali@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 23:09 -!- wchicken [~chicken@adsl-71-132-218-35.dsl.pltn13.pacbell.net] has joined #go-nuts 23:12 -!- artefon [~thiago@189.59.207.38] has quit [Quit: bye] 23:20 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has joined #go-nuts 23:36 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts 23:40 -!- Project-2501 [~Marvin@94.36.161.224] has quit [Quit: E se abbasso questa leva che succ...] 23:50 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has quit [Quit: gtaylor] 23:53 -!- JusticeFries [~JusticeFr@11.sub-75-196-207.myvzw.com] has quit [Quit: JusticeFries] 23:58 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts --- Log closed Thu Apr 21 00:00:50 2011