--- Log opened Sat Oct 23 00:00:03 2010 --- Day changed Sat Oct 23 2010 00:00 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has quit [Quit: Leaving.] 00:06 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost terminal] 00:08 -!- kanru1 [~kanru@61-228-159-127.dynamic.hinet.net] has joined #go-nuts 00:08 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 00:09 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 240 seconds] 00:13 < Soultaker> I found my problem is already known: http://code.google.com/p/go/issues/detail?id=664 00:13 < Soultaker> Apparently it's an intentional "feature"? 00:15 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 00:22 -!- jcao219 [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has quit [Read error: Connection reset by peer] 00:23 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Remote host closed the connection] 00:30 < yiyus> Soultaker: i guess there are EPIPE errors which can be ignored coming from somewhere 00:30 < yiyus> but it is just a bug 00:30 < yiyus> im sure it will get fixed 00:33 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has quit [Quit: powerje] 00:36 < Soultaker> I assume the either was to give the caller an opportunity to handle the error gracefully 00:37 < Soultaker> without having to install a signal handler (which makes it very hard to map the signal to the offending file descriptor in a multithreaded program) 00:38 < Soultaker> but then apparently they still wanted to make the application exit if SIGPIPE persists. but I don't really understand the need for that. 00:45 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 00:46 < KBme> a normal unix program exits whet it receives EOF 00:57 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has joined #go-nuts 00:58 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts 01:00 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 245 seconds] 01:04 -!- iant [~iant@67.218.107.68] has quit [Quit: Leaving.] 01:04 -!- jhseu [~jhseu@nat/google/x-gkdttyurbeqbspqx] has joined #go-nuts 01:06 < Soultaker> is there an easy way to make a 2D array of dynamic size? 01:10 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 01:10 -!- yihuang [~yihuang@183.17.162.182] has joined #go-nuts 01:10 -!- yihuang [~yihuang@183.17.162.182] has left #go-nuts [] 01:14 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has quit [Quit: Computer has gone to sleep] 01:17 < zhaozhou> In the package 'template', can I access a specific map element within a struct? (i.e. {.section map.element}) 01:21 -!- Wiz126 [chaos@h62.126.232.68.ip.windstream.net] has quit [] 01:24 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has quit [Quit: adu] 01:29 < zhaozhou> I got it, you can nest {section}, duh. :) 01:46 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has joined #go-nuts 01:46 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 240 seconds] 02:01 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 02:06 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 02:08 -!- gnuvince [~vince@70.35.166.162] has joined #go-nuts 02:13 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has joined #go-nuts 02:14 -!- __david__ [~daviddavi@cpe-98-151-185-99.socal.res.rr.com] has quit [Quit: __david__] 02:27 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 03:24 -!- __david__ [~daviddavi@cpe-98-154-218-113.socal.res.rr.com] has joined #go-nuts 03:34 -!- zhaozhou [~zhaozhou@linfast76.bitnet.nu] has quit [Quit: leaving] 03:37 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 03:54 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:59 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 03:59 -!- mode/#go-nuts [+v iant] by ChanServ 04:01 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds] 04:02 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 04:29 -!- jcao219 [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 04:29 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has quit [Quit: powerje] 04:36 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 264 seconds] 04:37 -!- iant [~iant@216.239.45.130] has joined #go-nuts 04:37 -!- mode/#go-nuts [+v iant] by ChanServ 04:50 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 04:51 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 04:51 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 05:00 -!- scm [scm@d056139.adsl.hansenet.de] has quit [Ping timeout: 252 seconds] 05:02 -!- scm [scm@d057235.adsl.hansenet.de] has joined #go-nuts 05:17 -!- crazy2be [~crazy2be@S0106001ac401d400.cg.shawcable.net] has quit [Remote host closed the connection] 05:18 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 05:20 -!- zhaozhou [~zhaozhou@linfast76.bitnet.nu] has joined #go-nuts 05:21 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 252 seconds] 05:32 -!- iomox [~ios@180.191.35.231] has quit [Ping timeout: 252 seconds] 05:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 240 seconds] 05:51 -!- napsy [~luka@88.200.96.18] has quit [Read error: Operation timed out] 05:53 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 05:53 -!- __david__ [~daviddavi@cpe-98-154-218-113.socal.res.rr.com] has quit [Quit: __david__] 05:54 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 06:00 -!- jcao219 [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has quit [Ping timeout: 252 seconds] 06:03 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 06:15 -!- __david__ [~daviddavi@cpe-98-151-185-99.socal.res.rr.com] has joined #go-nuts 06:30 -!- jcao219 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 06:49 -!- araujo [~araujo@190.38.50.25] has joined #go-nuts 06:49 -!- araujo [~araujo@190.38.50.25] has quit [Changing host] 06:49 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 06:53 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 07:00 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 07:05 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 07:07 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 07:33 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has joined #go-nuts 07:40 -!- idr [~idr@e179147008.adsl.alicedsl.de] has joined #go-nuts 07:59 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined #go-nuts 08:01 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 08:09 -!- flix [~flix@APuteaux-152-1-65-109.w82-120.abo.wanadoo.fr] has joined #go-nuts 08:11 -!- photron [~photron@port-92-201-67-185.dynamic.qsc.de] has joined #go-nuts 08:16 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Remote host closed the connection] 08:28 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 08:36 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 08:38 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 08:38 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 08:38 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:44 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has quit [Quit: adu] 09:21 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 09:42 -!- aho [~nya@fuld-4d00d1ab.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 09:56 -!- kingless [~kingless@c-68-57-44-80.hsd1.va.comcast.net] has joined #go-nuts 09:57 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read error: Connection reset by peer] 10:05 -!- kingless [~kingless@c-68-57-44-80.hsd1.va.comcast.net] has quit [Remote host closed the connection] 10:06 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 10:06 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 252 seconds] 10:18 -!- kingless [~kingless@c-68-57-44-80.hsd1.va.comcast.net] has joined #go-nuts 10:22 -!- kingless [~kingless@c-68-57-44-80.hsd1.va.comcast.net] has quit [Remote host closed the connection] 10:22 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 10:32 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 10:49 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 11:01 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 11:02 -!- sacho [~sacho@79-100-55-253.btc-net.bg] has quit [Read error: Connection reset by peer] 11:03 -!- sacho [~sacho@95-42-106-208.btc-net.bg] has joined #go-nuts 11:06 -!- HollyRain [~HollyRain@87.223.104.30] has joined #go-nuts 11:07 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping timeout: 245 seconds] 11:07 < HollyRain> hi! does cgo packages can not be installed via goinstall, doesn't? 11:11 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts 11:14 < uriel> HollyRain: I think goinstall still doesn't quie handle cgo packages, or at least that was the case not long ago 11:16 < HollyRain> ok, then I'll add a bash script just like for install commands 11:16 < uriel> please, never, ever, ever, write bash scripts 11:16 < uriel> #!/bin/sh should be good enough 11:25 * kimelto looks at go build system :( 11:55 -!- idr [~idr@e179147008.adsl.alicedsl.de] has left #go-nuts ["Konversation terminated!"] 11:55 -!- tobik [~tobik@p54897DA6.dip.t-dialin.net] has joined #go-nuts 11:59 < KBme> so anyone know why string(len(map[string]string)) would return "\u0005"? 11:59 < KBme> i'm doing map[string(len(map[string]string))] = "foo" 11:59 < KBme> hmm, not exactly 12:00 < KBme> (map = make(map[string]string))i'm doing map[string(len(map))] = "foo" 12:00 < KBme> and the index that is created is \u0005 if the length of the map is 5 12:04 -!- HollyRain [~HollyRain@87.223.104.30] has left #go-nuts [] 12:06 < KBme> argh, strconv.Itoa 12:18 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 12:26 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 12:28 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 12:30 -!- DerHorst [~Horst@e176098237.adsl.alicedsl.de] has joined #go-nuts 12:35 -!- xash [~xash@d170208.adsl.hansenet.de] has joined #go-nuts 12:37 -!- cenuij [~cenuij@78.122.184.175] has joined #go-nuts 12:37 -!- cenuij [~cenuij@78.122.184.175] has quit [Changing host] 12:37 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 13:03 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 13:06 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 13:06 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has joined #go-nuts 13:20 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 13:22 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 13:24 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has quit [Quit: Leaving.] 13:29 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has quit [Quit: powerje] 13:33 -!- boscop_ [~boscop@f055159000.adsl.alicedsl.de] has joined #go-nuts 13:34 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 13:35 -!- boscop [~boscop@f055254230.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 13:49 -!- fabled [~fabled@dsl-sjkbrasgw2-fe30de00-174.dhcp.inet.fi] has joined #go-nuts 13:51 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts 14:01 < mpl> hey. I'm working on a codereview from a different comp than the one I had originally made the first commit from, and I get that message when trying to hg upload: cannot upload non-local change 14:01 < mpl> how do I work around that? 14:07 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 14:11 -!- jcao219_ [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 14:11 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 14:11 -!- jcao219 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has quit [Quit: Leaving.] 14:14 -!- flix [~flix@APuteaux-152-1-65-109.w82-120.abo.wanadoo.fr] has quit [Ping timeout: 276 seconds] 14:16 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 14:21 -!- dropdrive [~dropdrive@cpe-72-227-159-70.nyc.res.rr.com] has joined #go-nuts 14:24 < dropdrive> Can Go be a decent replacement for sh/bash shell script? Are there any overviews of how to run subcommands, get exit codes, capture stdin/out, etc.? 14:27 < skelterjohn> i don't know if go is the right tool for that job 14:27 < skelterjohn> there are packages that can do what you list 14:28 < dropdrive> skelterjohn: Okay. I was hoping it was, then I'd get to ditch sh and learn Go at the same time! 14:29 < skelterjohn> the exec package 14:34 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read error: Connection reset by peer] 14:35 < mpl> dropdrive: you could always try rc out, it's a nice shell. it comes with plan9port (or maybe with a trimmed out package in your distro). http://swtch.com/plan9port/ 14:56 -!- Kashia [~Kashia@port-92-200-150-169.dynamic.qsc.de] has quit [Quit: This computer has gone to sleep] 15:04 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 15:07 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has joined #go-nuts 15:08 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has quit [Client Quit] 15:12 -!- bjarneh [~bjarneh@232.80-203-20.nextgentel.com] has joined #go-nuts 15:14 -!- bjarneh [~bjarneh@232.80-203-20.nextgentel.com] has quit [Client Quit] 15:14 -!- bjarneh [~bjarneh@232.80-203-20.nextgentel.com] has joined #go-nuts 15:15 -!- rinzai [~rinzai@host86-158-180-200.range86-158.btcentralplus.com] has joined #go-nuts 15:15 -!- flix [~flix@APuteaux-152-1-64-206.w82-120.abo.wanadoo.fr] has joined #go-nuts 15:19 -!- fabled [~fabled@dsl-sjkbrasgw2-fe30de00-174.dhcp.inet.fi] has quit [Quit: Ex-Chat] 15:22 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has joined #go-nuts 15:30 -!- rinzai [~rinzai@host86-158-180-200.range86-158.btcentralplus.com] has quit [Quit: Leaving] 15:34 -!- bjarneh [~bjarneh@232.80-203-20.nextgentel.com] has quit [Quit: leaving] 15:36 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Quit: KBme kthxbye] 15:37 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined #go-nuts 15:38 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Client Quit] 15:39 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined #go-nuts 15:40 -!- flix [~flix@APuteaux-152-1-64-206.w82-120.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 15:41 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts 15:53 -!- flix [~flix@APuteaux-152-1-64-206.w82-120.abo.wanadoo.fr] has joined #go-nuts 15:57 -!- major_majors [~major_maj@108-65-203-205.lightspeed.livnmi.sbcglobal.net] has joined #go-nuts 16:04 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping timeout: 245 seconds] 16:11 -!- artefon [~thiago@187.114.53.219] has joined #go-nuts 16:12 -!- xash [~xash@d170208.adsl.hansenet.de] has quit [Ping timeout: 265 seconds] 16:15 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 16:15 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 16:18 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 16:19 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 16:19 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 16:23 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 16:27 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 16:32 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 16:39 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 16:43 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 16:45 -!- Fish- [~Fish@ALagny-551-1-138-65.w92-141.abo.wanadoo.fr] has joined #go-nuts 16:48 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Ping timeout: 265 seconds] 16:55 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 16:55 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has joined #go-nuts 16:56 -!- Fish- [~Fish@ALagny-551-1-138-65.w92-141.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 16:57 -!- major_majors [~major_maj@108-65-203-205.lightspeed.livnmi.sbcglobal.net] has quit [Quit: major_majors] 16:58 -!- DerHorst [~Horst@e176098237.adsl.alicedsl.de] has quit [Remote host closed the connection] 16:58 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has joined #go-nuts 17:00 < nsf> uhm.. does anyone know is it ok to use '#!/usr/bin/env python2' as a portable shebang thing? because here in archlinux 'python' points to python3 now and my testing scripts are broken :( 17:01 < taruti> there is no portable way to refer to python2 17:01 < nsf> :( 17:01 < nsf> well ok then, I'll just rewrite my scripts in ruby (I've rewritten one of them already, one to go) 17:02 < nsf> thanks btw :) 17:03 -!- pjm0616 [~user@110.9.28.120] has quit [Ping timeout: 240 seconds] 17:03 -!- pjm0616 [~user@110.9.28.120] has joined #go-nuts 17:03 < taruti> on modern systems the python2 trick works, but I don't think all python2 installations have that 17:04 < nsf> i'll just use ruby, it's better suited for this task anyway 17:04 < nsf> and it will stay backwards compatible forever :) 17:07 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined #go-nuts 17:30 < uriel> nsf: 'python' poins to python3? sounds like arch linuts is badly broken then 17:30 < nsf> no, it's not broken 17:31 < uriel> yes it is, to call python3 python is broken 17:31 < uriel> they are two different languages 17:31 < nsf> no, it's not :) 17:31 < nsf> all python apps work here without any problems 17:31 < nsf> but only if they went through package manager 17:32 < uriel> so, it is totally broken 17:32 < nsf> well, that's your opinion 17:33 < uriel> no, that is a fact, if any script that uses #!/usr/bin/env python breaks, arch is broken 17:33 < taruti> *python* is broken, distros try to cope with the fact 17:34 < nsf> uriel: why are you saying that to me, I don't care what do you think about arch :) I will use it anyway 17:34 < taruti> there is no way to know whether a script using #!/usr/bin/env python wants python2 or python3 17:34 < uriel> taruti: python is broken in many ways, but python and python3 are two different languages, to pretend they are the same is beyond insane 17:34 < nsf> uriel: python3 is supposed to replace python2 17:34 < uriel> taruti: er., it is quite obvious: it wants python2, because that is what has been used for ages 17:34 < nsf> arch devs are just trying to help the event 17:35 < taruti> uriel: not really. and not even Go is backwards compatible ;P 17:35 < uriel> nsf: er., no, it is not the same language, so it is not something you can replace and expect anything to work 17:35 < uriel> nsf: you could just as well replace your c compiler with a go complier 17:35 < uriel> hey, go is meant to replace C, so that should work! 17:35 < nsf> python3 is much more similar to python2 than Go to C 17:35 < uriel> it makes just as much sense as replacing the python2 interpreter with a python3 interpreter 17:36 < uriel> nsf: similar or not, it is a different incompatible language 17:36 < cbeck> ;! 17:36 < nsf> ok 17:37 < uriel> and all this is offtopic, but really, the stupidity making #!/usr/bin/env python call python3 totally boggles the mind 17:38 < nsf> well, I don't understand why sometimes people ask me to add python2.4 or python2.5 support for my apps 17:38 < nsf> when python2.6 release has been around for 2 or 3 years 17:39 < uriel> because retarded distros that have ancient versions of python 17:39 < uriel> but the thing is, it is possible with some extra work and pain to write a script that is backwards compatible with ancient versions of python 17:39 < nsf> I guess your version of arch's python thing is the same then: "retarded distro" 17:39 < uriel> it is *not* possible to write forwards compatible or backwards compatible code across python2/python3 17:40 < uriel> what arch is doing is beyond retarded 17:40 < nsf> :)) 17:40 < uriel> (if you got it right, which is so insane I have hard time believing anyone could do it) 17:43 < nsf> the problem is: Guido wants people to use python3 instead of python2 17:43 < nsf> and no one will ever do that 17:43 < nsf> unless distros will force people to convert their apps in a painful way 17:43 < kimelto> if the python guys are confident they could just stop support for python2 :p 17:43 < KBme> nsf: python2.6 i think 17:44 < KBme> python2 should work though, i have a python2 :P 17:44 < nsf> KBme: it should, indeed 17:45 < KBme> nsf: so arch is broken → file a bug 17:45 < KBme> ok 17:45 < KBme> nsf: see the archlinux.org news ;) 17:45 < KBme> it's right on the top 17:46 < nsf> python2 works on arch 17:46 < KBme> pacman -S python2 17:46 < uriel> nsf: that is nonsense, guido uses p2 all the time, he works on app engine, which is all still python 2.5 17:46 < nsf> uriel: for every new script he writes, he uses p3 17:46 < uriel> nsf: so spare us silly excuses for the totally retarded and insane brokenness of arch (again, assuming you are right, which I find hard to believe) 17:47 < uriel> nsf: wrong again 17:47 < nsf> whatever.. 17:48 < cbeck> be nice kids 17:49 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 17:49 < uriel> hell, I can even point you to his latest project in google code, which is python 2.5: 17:50 < uriel> blah, can't find the link now, but he started the project less than a month ago 17:51 < nsf> well, if guido makes python3 incompatible to python2 and then he still uses python2, the guido is broken 17:51 < nsf> :D 17:51 < cbeck> someone issue a patch =P 17:51 < nsf> it's like he's proving to the community that it is impossible to do a sane conversion from 2 to 3 17:51 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 17:52 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 17:52 < uriel> here you go: http://code.google.com/p/appengine-ndb-experiment/ 17:52 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 17:52 -!- Wiz126 [chaos@h62.126.232.68.ip.windstream.net] has joined #go-nuts 17:53 < uriel> nsf: no, guido is not broken, ken still uses C, even if he is working on Go 17:53 < uriel> nsf: and really, tons of work has gone on preparing for the converstion 17:53 < uriel> but replacing /usr/bin/python with a version of python3 is certainly not the way anyone sane advocates doing it 17:54 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts 17:59 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 18:06 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host closed the connection] 18:10 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has quit [Quit: Leaving.] 18:15 -!- devrim [~Adium@ip-95-223-189-66.unitymediagroup.de] has joined #go-nuts 18:18 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has quit [Ping timeout: 255 seconds] 18:24 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Ping timeout: 240 seconds] 18:26 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts 18:36 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has joined #go-nuts 18:41 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 18:45 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 18:46 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 18:56 -!- Xiaobo [~chatzilla@61.48.215.30] has joined #go-nuts 19:02 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 19:07 -!- TheMue [~TheMue@p5DDF677D.dip.t-dialin.net] has joined #go-nuts 19:14 -!- aho [~nya@fuld-4d00d64c.pool.mediaWays.net] has joined #go-nuts 19:15 -!- emmanueloga [~emmanuelo@190.244.15.163] has quit [Quit: WeeChat 0.3.3] 19:17 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 272 seconds] 19:23 -!- lmoura [~lauromour@200.236.11.28] has joined #go-nuts 19:30 -!- gnuvince_ [~vince@70.35.166.162] has joined #go-nuts 19:34 -!- Xiaobo [~chatzilla@61.48.215.30] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.10/20100914125854]] 19:37 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 19:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 276 seconds] 19:47 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 19:48 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 19:51 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 20:00 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Ping timeout: 252 seconds] 20:05 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 20:14 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 20:18 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 20:19 < hallas> good evening 20:20 < Tv> hallas: good afternoon 20:21 -!- krakensden [~krakensde@adsl-76-232-9-229.dsl.pltn13.sbcglobal.net] has joined #go-nuts 20:22 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 20:25 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 20:25 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 20:25 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 20:26 < TheMue> moo 20:26 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 20:26 * binarypie yawns 20:27 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has joined #go-nuts 20:27 * TheMue codes 20:32 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 20:35 -!- imc [~imc@client88-85-23-232.abo.net2000.ch] has joined #go-nuts 20:35 < imc> hello 20:36 < imc> new to go, i'm getting a bunch of "implicit assignment of unexported field" 'w' of sync.RWMutex in (return argument|assignemnt) 20:36 < imc> what i'm probably doing wrong? 20:37 -!- jcao2191 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 20:37 -!- jcao219 [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has quit [Disconnected by services] 20:37 -!- jcao219 [~jcao219@pool-96-226-238-248.dllstx.fios.verizon.net] has joined #go-nuts 20:37 < uriel> imc: w -> private 20:37 < imc> i mean, i'm not even supposed to _know_ sync.RWMutex has a field called 'w', how can i implicitely assign to it ? 20:37 -!- jcao2191 [~Jimmy_Cao@pool-96-226-238-248.dllstx.fios.verizon.net] has quit [Client Quit] 20:37 < uriel> W -> public 20:37 < imc> uriel: so what? 20:37 < imc> i'm not using private fields 20:37 < uriel> what does your code look like? 20:37 < imc> i just call RLock() RUnlock or Lock() and Unlock() 20:38 < uriel> on what? 20:38 < imc> on a sync.RWMutex contained in a struct 20:38 < uriel> are you embeding an sync.RWMutex on one of your own types? 20:38 < uriel> ok 20:38 < uriel> why are you using mutexes anyway? 20:39 < imc> because i must 20:39 < imc> i need more goroutines to work on the same data 20:39 < uriel> so? use channels 20:39 < imc> i don't want to block 20:39 < imc> i show you the code 20:39 < uriel> why not? 20:39 < imc> because then the program is gonna be wrong 20:40 < imc> i'm trying to implement a network wimulator 20:40 < imc> *simulator 20:40 < TheMue> channels and goroutines don't need to block, depending on the design 20:40 < uriel> if you are trying to write Go code like you would write pthreads code, you are really not going to enjoy things much 20:40 < TheMue> +1 20:40 < uriel> TheMue: well, then there is that 20:40 -!- krakensden [~krakensde@adsl-76-232-9-229.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20:40 < imc> so the snippet of code must increas the "OnWire" data size, send the packet to the out end of the Channel, then decrease the size by the same amount 20:41 < imc> but many of such goroutins should be able to run concurrently 20:41 < uriel> if you are new to Go, and you are using Mutexes, this is a bit red flag that you are doing something wrong 20:41 < uriel> imc: i have not seen any code yet 20:41 < imc> i show you 20:42 < TheMue> hehe, yep, mutexes in go are most time oldfashioned and not needed 20:42 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has quit [Quit: powerje] 20:43 < imc> http://pastebin.com/KL3j3YzJ 20:44 < imc> should look at structs and the PacketSender method 20:44 < imc> then i would be glad to hear your advice to remove locks (i really tried not to use them and if they can be removed i'm happy) 20:45 < imc> s/ to / how to / 20:48 < imc> the thing is that PacketSend()'s send() function blocks waiting PacketReceiver()'s receive() function to pick up the packet, and it *must* wait before decreasing the OnWire field 20:48 < imc> so i must put it in a go (i.e. go send(pkt)) to avoid blocking the ch.IN channel 20:49 < imc> the ch.IN channel has to be blocked only if OnWire > Bandwidth 20:49 < imc> (or the application is wrong) 20:52 < uriel> i really don't understand what your code is trying to do, but I got a headache 20:52 < uriel> still, there should be no reason whatsoever to use a mutex 20:53 < uriel> channels should be way more than enough 20:53 < imc> tell me something 20:53 < imc> x <- ch 20:53 < imc> sorry 20:53 < imc> x := <-ch 20:53 < imc> blocks until somewhere something is doing a ch <- foo 20:53 < imc> isn't it? 20:53 < exch> yes 20:53 < uriel> unless ch is buffered 20:53 < imc> ohhh 20:54 < exch> x, ok := <-ch will not block. 'ok' will be either true or false. True if a value is available 20:54 < imc> right 20:54 < uriel> and what exch said will work even if ch is not buffered 20:54 < imc> and ch <- x ? 20:54 < imc> does it blocks ? 20:54 < uriel> same 20:54 < uriel> really, all this is covered in the basic go docs 20:55 < exch> it only blocks as long as the channel is 'full' 20:55 < imc> i can't learn by only reading, i must do things to memorize them 20:55 < Namegduf> imc: I don't understand why you're concerned that channels can block, given that the *point* of Mutex is it blocking. 20:55 < imc> the logic is 20:56 < imc> OnWire += size; get rid of pkt; OnWire -= size 20:56 < imc> must be somewhat atomic 20:56 < Namegduf> Right. 20:57 < uriel> imc: so why don't you let the other end handle that? 20:57 < Namegduf> My point is that you can pretty much always replace a Mutex by starting a goroutine that accepts functions and runs them from a channel, sending a function that runs the code "within the Mutex", and then sending a message back when done. 20:58 < Namegduf> It will block when something else is being run, until it's free, just like a Mutex. 20:58 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit: WeeChat 0.3.3-dev] 20:58 < imc> it must be possible to have OnWire += size1; OnWire += size2; get rid of pkt1; OnWire -= size1; get rid of pkt2; OnWire -= size2 20:58 < Namegduf> Yes. 20:58 -!- krakensden [~krakensde@adsl-76-232-9-229.dsl.pltn13.sbcglobal.net] has joined #go-nuts 20:58 < Namegduf> This would work by the second thing blocking and waiting for the first to complete, then running. 20:58 < Namegduf> Which is what happens with a Mutex. 20:59 < uriel> well, where is OnWire stored anyway? 20:59 < imc> if you see my code a lock; += size; unlock, get rid; lock; -= size; unlock 20:59 < imc> so it can be interleaved, 20:59 < uriel> yes, but size of what? 20:59 < imc> of the packet 20:59 < imc> being sent 20:59 < uriel> but you sent the packet, so why do you need to change its size at all?!? 21:00 < imc> OnWire is the size on the wire 21:00 < imc> i.e. the Channel 21:00 < imc> more than one packet could be onwire 21:00 < imc> because of the propagation delay 21:00 < Namegduf> imc: Then you can do the same thing. 21:00 < uriel> fine, then have a goroutine per Channel 21:00 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection reset by peer] 21:00 < imc> i have two goroutins per channel 21:00 < imc> packet sender and packet receiver 21:00 < uriel> then what is the problem? 21:00 < Namegduf> You just put everything between "lock" and "unlock" in an anonymous function 21:01 < Namegduf> And send it to the goroutine that owns the data 21:01 < Namegduf> With it sending a reply when done, if you care 21:01 < TheMue> goroutine for onWire, increment and decrement using two channels, plain simple 21:01 < Namegduf> And you have duplicated a Mutex for all uses. 21:01 < imc> TheMue: ok 21:01 < Namegduf> It can be too *slow* in particular unusual cases 21:02 < Namegduf> But that's what benchmarking is for. 21:02 < imc> so one more goroutine instead of a lock 21:03 < imc> but the question i asked was: why i'm getting that compilation error? 21:03 * uriel is not convinced that one more goroutine is needed, but is not sure to understand the problem 21:03 < uriel> i think one goroutine per channel and one goroutine per 'node' in the network should be probably enough 21:03 < TheMue> uriel: /me too, deeper analysis would be needed, may leat to a complete redesign 21:03 < imc> uriel: send() does: OnWire += size; wait for propagation delay (up to some seconds!); ch.OUT <- pkt; OnWire -= size 21:04 < imc> the problem is: when the packet is on wire (i.e. during the "sleep" phase) 21:04 < TheMue> thinking in go is like thinking in erlang a special thing 21:04 < imc> more packets can potentially be queued on the wire 21:04 < uriel> imc: so? use buffered channels then 21:04 < imc> that's why i can't just "wait for send to finish" 21:05 < imc> something like ch.OUT <- buffer <- ch.IN ? 21:05 < uriel> you can have a goroutine per Channel, that selects on its input and output channels 21:05 < imc> instead of ch.Out <- complex things <- ch.IN 21:07 < imc> okay 21:07 -!- virtualsue [~chatzilla@nat/cisco/x-ylatxnqymzxiuasp] has joined #go-nuts 21:07 < imc> what about the compilation error? 21:08 < imc> (mmmm buffered channels can invalidate the fact that the bandwidth can't be exceeded...) 21:09 < uriel> imc: if bw is exceeded the goroutine that manages the channel can just hold on to the data 21:09 < uriel> until there is bw to send it out 21:10 < imc> that's already implemented this way, with locks 21:10 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 21:10 < uriel> yes, but you should not use locks, go is not pthreads 21:10 < imc> waiting for OnWire to get a decent value before giving the packet to the "send" anonymous function 21:11 < uriel> (thank god) 21:11 < imc> for the record, the errors are a bunch of "implicit assignment of unexported field" 'w' of sync.RWMutex in (return argument|assignemnt) 21:11 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left #go-nuts [] 21:11 < imc> i will refactor it 21:11 < imc> now i would like to test that a bit and understand what i'm doing wrong (compiler-wise, not design-wise) 21:12 < cbeck> imc: You're passing a struct with unexported fields by value 21:12 < imc> right 21:12 < exch> you should declare the lock as *sync.RWMutex (pointer type) 21:12 < imc> thanks 21:14 < imc> thanks 21:15 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 21:17 -!- flix [~flix@APuteaux-152-1-64-206.w82-120.abo.wanadoo.fr] has quit [Quit: Quitte] 21:24 < imc> great :P 21:28 < mpl> uriel: http://fukung.net/v/31844/d7128050ba484ddcaa100c07115d41cb.png 21:36 < imc> so the node to node is working great... let's try with routers ;) 21:37 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined #go-nuts 21:37 < fenicks> hello 21:40 < imc> hello. 21:41 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 21:42 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 21:45 -!- artefon [~thiago@187.114.53.219] has quit [Read error: Connection reset by peer] 21:45 -!- lmoura [~lauromour@200.236.11.28] has quit [Ping timeout: 240 seconds] 21:45 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 21:49 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Quit: Leaving.] 21:53 -!- krakensden [~krakensde@adsl-76-232-9-229.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 276 seconds] 21:54 -!- photron [~photron@port-92-201-67-185.dynamic.qsc.de] has quit [Ping timeout: 240 seconds] 22:06 -!- virtualsue [~chatzilla@nat/cisco/x-ylatxnqymzxiuasp] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.14/20101001164112]] 22:11 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 22:15 -!- b00m_chef [~watr@66.183.100.197] has joined #go-nuts 22:15 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal] 22:17 < Tv> can i get the name of a function at run time? 22:19 < Tv> right now best i can see is a combo of reflect and gosym 22:19 < Tv> via the functions address 22:19 < Tv> but reflect Addr() returns uintptr, gosym uses uint64, so it's not very encouraging 22:27 < Tv> yeah it seems the in-memory addresses really have nothing to do with elf symbols, and i can't see how to connect the two 22:28 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined #go-nuts 22:28 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 22:29 < Tv> hmm runtime lets me map pc to func to name 22:30 < Tv> how do i gets func pc without calling it? 22:30 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 22:31 < Tv> gosym.Func.Entry looks promising 22:33 < Tv> whee runtime.FuncForPC 22:33 < Tv> i need to cas one uint64 to uintptr, but otherwise it looks pretty 22:36 -!- ako [~nya@fuld-4d00d2a5.pool.mediaWays.net] has joined #go-nuts 22:37 -!- aho [~nya@fuld-4d00d64c.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 22:40 < skelterjohn> runtime.Caller 22:41 < Tv> skelterjohn: i want to do this without the function being called 22:41 < skelterjohn> oh right 22:42 < skelterjohn> having a hard time understanding the use-case 22:42 < skelterjohn> you want the name of a function without calling it 22:42 < skelterjohn> like, the function pointed to by something of type func() etc? 22:42 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 272 seconds] 22:43 < Tv> basically, i'd like to call a function by name 22:43 < Tv> and i'd like to see if i can avoid explicit registration 22:43 < skelterjohn> go from a string to a function? 22:43 < Tv> yeah 22:43 -!- mIRCTRUser-314 [~mIRCTR@78.182.70.255] has joined #go-nuts 22:43 < Tv> and, well, the other way too 22:43 < skelterjohn> that's done at compile time, not runtime, so it might be hard 22:43 < Tv> i already have gosym available ;) 22:43 < mIRCTRUser-314> hi 22:44 < skelterjohn> not familiar with that, so good luck :) 22:44 < Tv> it's just a matter of matching the elf symbols to the "function object" 22:44 < Tv> go is close enough to C that the match is there 22:44 < financer> do u have a topic? 22:45 < skelterjohn> what? 22:45 < financer> are u talkig anything now 22:46 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:46 < financer> ı m asking it 22:46 < Tv> Eternal September is still going on strong, it seems 22:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 22:46 < skelterjohn> you're not really making a lot of sense 22:47 < skelterjohn> Tv: you just dated yourself back quite far :) 22:47 < Tv> skelterjohn: yup ;) 22:47 < skelterjohn> much farther back than i go - i only know what you're talking about by chance 22:47 < skelterjohn> must be an aol user 22:47 < Tv> i saw the trailing edge of good usenet 22:50 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:53 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:53 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:54 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:55 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:55 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:56 < imc> uhm... easy way to convert an int to an int16 ? 22:56 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:56 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:56 < imc> (it's in a for loop, i.e. myInt16 + i) 22:57 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:57 < Tv> imc: int16(i) 22:57 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:58 < imc> thanks :) 22:58 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 22:59 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 22:59 -!- TheMue [~TheMue@p5DDF677D.dip.t-dialin.net] has quit [Quit: TheMue] 22:59 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:00 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:02 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:02 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:03 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:03 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:04 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:05 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Read error: Connection reset by peer] 23:05 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:06 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:06 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:07 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:08 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has joined #go-nuts 23:08 -!- aho [~nya@fuld-4d00d2a5.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 23:10 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 23:11 -!- aho [~nya@fuld-4d00d5f0.pool.mediaWays.net] has joined #go-nuts 23:15 -!- felipe [~felipe@my.nada.kth.se] has quit [Ping timeout: 276 seconds] 23:17 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 23:18 -!- TheSeeker2 [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined #go-nuts 23:19 -!- jlouis [jlouis@horus.0x90.dk] has quit [Remote host closed the connection] 23:19 -!- jlouis [jlouis@horus.0x90.dk] has joined #go-nuts 23:29 -!- financer [~mIRCTR@78.182.70.255] has quit [Quit: Türkçe mIRC - www.mirctr.org] 23:39 -!- tobik [~tobik@p54897DA6.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 23:40 -!- mikhailt [~mikhailt@2001:67c:7c:40d5:2e0:4cff:fe7b:13ff] has joined #go-nuts 23:40 < mikhailt> who 23:40 -!- powerje [~powerje@adsl-75-60-217-33.dsl.wotnoh.sbcglobal.net] has quit [Quit: powerje] 23:42 < mikhailt> Question. How to determine list of methods of type in run-time? 23:45 < uriel> mikhailt: did you look into the reflect package? 23:48 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the connection] 23:52 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has joined #go-nuts 23:54 -!- powerje [~powerje@2002:4b3c:d921:0:5ab0:35ff:fe80:7cd2] has quit [Remote host closed the connection] 23:55 -!- powerje [~powerje@75.60.217.33] has joined #go-nuts --- Log closed Sun Oct 24 00:00:12 2010