--- Log opened Thu Sep 23 00:00:07 2010 00:02 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined #go-nuts 00:03 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 00:23 -!- _Horst_ [~Horst@e176100017.adsl.alicedsl.de] has quit [Remote host closed the connection] 00:34 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 240 seconds] 00:41 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has joined #go-nuts 00:41 -!- artefon [~thiago@189.107.212.113] has quit [Remote host closed the connection] 00:45 -!- sin3141592 [~hagbard@dslb-084-058-177-077.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 00:46 < plexdev> http://is.gd/fnY2U by [Andrew Gerrand] in go/src/pkg/http/ -- http: fix redirect test for international users 00:52 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 00:57 -!- sin3141592 [~hagbard@dslb-084-058-171-112.pools.arcor-ip.net] has joined #go-nuts 01:03 < plexdev> http://is.gd/fnYXv by [Roger Peppe] in go/src/pkg/image/ -- exp/draw: add Point.Eq, Point.Mul, Point.Div, Rectangle.Size methods 01:08 -!- iant [~iant@67.218.105.89] has quit [Quit: Leaving.] 01:10 -!- navigator [~navigator@p54896ED1.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 01:10 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts 01:16 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Ping timeout: 276 seconds] 01:21 -!- synth [~cb@obfuscated.us] has quit [] 01:26 -!- Bombe [~droden@freenet/developer/Bombe] has quit [Excess Flood] 01:27 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts 01:35 < plexdev> http://is.gd/fo0C1 by [Nigel Tao] in go/src/pkg/netchan/ -- netchan: fix comment typo. 01:35 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 01:43 < scyth> I'm trying to compile go but I get 01:43 < scyth> Get(http://codesearch.google.com/) got status 200 at http://codesearch.google.com/, want 200 at http://www.google.com/codesearch 01:43 < scyth> what's wrong there? 01:44 < scyth> --- FAIL: http.TestRedirect 01:51 < plexdev> http://is.gd/fo1BM by [Andrew Gerrand] in 2 subdirs of go/ -- release.2010-09-22 01:54 -!- bmizerany [~bmizerany@208.66.27.62] has quit [Remote host closed the connection] 01:56 -!- meadman [~shaun@97-122-212-94.hlrn.qwest.net] has quit [Ping timeout: 240 seconds] 01:57 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Ping timeout: 240 seconds] 02:01 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Ping timeout: 240 seconds] 02:03 -!- sin3141592 [~hagbard@dslb-084-058-171-112.pools.arcor-ip.net] has quit [Ping timeout: 255 seconds] 02:04 -!- Jakob__ [~Jakob@ti0043a380-1568.bb.online.no] has joined #go-nuts 02:05 -!- Jakob__ [~Jakob@ti0043a380-1568.bb.online.no] has quit [Client Quit] 02:07 -!- synth [~cb@obfuscated.us] has joined #go-nuts 02:08 < plexdev> http://is.gd/fo305 by [Andrew Gerrand] in go/ -- tag release.2010-09-22 02:12 -!- Jakob__ [~Jakob@ti0043a380-1568.bb.online.no] has joined #go-nuts 02:13 -!- aho [~nya@fuld-4d00d1ae.pool.mediaWays.net] has joined #go-nuts 02:15 -!- sin3141592 [~hagbard@dslb-084-058-137-229.pools.arcor-ip.net] has joined #go-nuts 02:16 -!- tav_ [~tav@92.7.64.56] has joined #go-nuts 02:20 -!- tav [~tav@2001:0:53aa:64c:0:3ffa:a3f8:bb3e] has quit [Ping timeout: 272 seconds] 02:27 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 276 seconds] 02:33 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 02:38 -!- gnuvince_ [~vince@72.0.215.231] has quit [Read error: Connection reset by peer] 02:40 < plexdev> http://is.gd/fo4Us by [Alex Brainman] in 2 subdirs of go/src/pkg/ -- syscall: implement windows version of Utimes() 02:43 -!- Jakob__ [~Jakob@ti0043a380-1568.bb.online.no] has quit [Read error: Connection reset by peer] 02:43 -!- Jakob__ [~yakobu@ti0043a380-1568.bb.online.no] has joined #go-nuts 02:51 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 03:02 -!- gnuvince_ [~vince@220.193-ppp.3menatwork.com] has joined #go-nuts 03:02 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:02 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 259 seconds] 03:06 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts 03:11 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has quit [Read error: No route to host] 03:12 -!- ako [~nya@fuld-4d00d526.pool.mediaWays.net] has joined #go-nuts 03:15 -!- aho [~nya@fuld-4d00d1ae.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 03:19 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit [Ping timeout: 245 seconds] 03:21 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 240 seconds] 03:26 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts 03:30 < nf_> can someone with a linux box try downloading and using this? http://code.google.com/p/go/downloads/detail?name=release.2010-09-22.linux-386.tar.gz&can=2&q= 03:31 < nf_> i want to see if it works in an environment away from where it was compiled 03:34 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 03:34 -!- mode/#go-nuts [+v iant] by ChanServ 03:35 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined #go-nuts 03:37 -!- fejjerai [quassel@kde/amarok/mitchell] has quit [Remote host closed the connection] 03:38 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 245 seconds] 03:38 -!- iant [~iant@216.239.45.130] has joined #go-nuts 03:38 -!- mode/#go-nuts [+v iant] by ChanServ 03:38 < nsf> nf_: sure :) 03:41 < nsf> hehe, x86_64 binaries 03:42 < nsf> or, wait 03:42 < nsf> it shouldn't be 03:42 < nsf> [nsf @ bin]$ ./8g 03:42 < nsf> bash: ./8g: cannot execute binary file 03:43 < nsf> have no idea why is this happening 03:43 <+iant> 8g could be a 64-bit binary if you built it on a 64-bit host 03:44 < nsf> it looks like it, yeah.. but archive says 386 03:44 < nsf> nf's fault then 03:44 < nf_> it was built on a 64-bit host 03:44 < nsf> go binaries work though 03:45 < nf_> okay that's encouraging 03:45 < nsf> things like cgo, godoc 03:45 <+iant> they were built using 8g and hence are 32-bit binaries 03:45 < nf_> iant: is there a way to make the gcc output 32-bit elfs for the go compilers? 03:45 < nsf> yes :) 03:45 <+iant> nf_: try setting CC="gcc -m32" in the environment 03:46 <+iant> when running all.bash 03:48 < nsf> nf_: also, don't include .hg dir in future archives :) 03:48 < nsf> I bet it will save a lot of space :) 03:50 < nf_> nsf: that was intentional 03:51 < nf_> nsf: go moves so fast, we want people to be able to hg pull -u and rebuild 03:51 < nsf> ok :) 03:51 < nf_> nsf: thanks for trying it out 03:51 < nf_> maybe next week i can actually have a working set of release binaries 03:52 < nsf> sure, when you'll have it just ping me and I'll check it again 03:52 < nf_> the homepage has an elastic layout now, btw 03:52 < nf_> s/homepage/site/ 03:52 < nsf> good :) 03:52 < nf_> the front page is still fixed width 03:52 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit [Ping timeout: 245 seconds] 03:53 < nsf> I don't care much about its look actually, even plain ASCII text works for me :D 03:54 -!- sin3141592 [~hagbard@dslb-084-058-137-229.pools.arcor-ip.net] has quit [Ping timeout: 255 seconds] 03:55 < nf_> ;) 03:55 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined #go-nuts 03:55 < Boney> nf_: I'm on 64bit linux, How can I tell that it works. 03:57 < plexdev> http://is.gd/fo9ab by [Rob Pike] in 18 subdirs of go/src/pkg/ -- tests: fix prints 03:58 < Boney> pbone@paper:/tmp/go$ ./test/run 03:58 < Boney> make: ../src/Make.inc: No such file or directory 03:58 < Boney> make: *** No rule to make target `../src/Make.inc'. Stop. 03:58 < Boney> run: unsupported $GOARCH 03:58 < Boney> meh. 03:58 <+iant> you need to set GOARCH and friends to run test/run directly 03:59 < Boney> I get the same error. 04:00 < Boney> this is for the tarball that nf_ posted. 04:00 <+iant> oh yeah, you need to cd to the test directory 04:06 < Boney> I see a lot of: > exec: 1: 6g: not found 04:06 <+iant> is $GOROOT/bin on your path? 04:07 < Boney> it looks like it's not setup for amd64, and incorrectly setup for x86 (as nsf discvoered). 04:08 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit [Ping timeout: 245 seconds] 04:10 -!- eikenberry [~jae@ivanova.zhar.net] has quit [Quit: End of line.] 04:11 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 255 seconds] 04:15 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has quit [Quit: dj2] 04:15 < nf_> Boney: export these: GOROOT=/path/to/go GOBIN=$GOROOT/bin GOARCH=386 GOOS=linux and then cd $GOROOT/src && ./run.bash 04:15 < nf_> also there are instructions in the README for setting this up 04:19 < Boney> Do I need to do this just to check your tarball? 04:19 < Boney> when I downloaded it I thought it would be quick and easy to test. 04:20 < Boney> I don't actually have time to test it properly. 04:23 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts 04:27 -!- enherit [~enherit@71-83-188-75.dhcp.lnbh.ca.charter.com] has joined #go-nuts 04:32 < nf_> Boney: sorry, didn't realise setting at most 4 environment variables and running a script was that complicated 04:33 < nf_> Boney: :P 04:36 < Boney> heh, It's actually cause I keep having to come back to IRC etc. I should just close this window. 04:36 < Boney> :-) 04:46 -!- emmanueloga [~emmanuelo@190.244.14.111] has quit [Ping timeout: 272 seconds] 04:46 -!- emmanueloga [~emmanuelo@190.244.14.111] has joined #go-nuts 05:00 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 05:02 -!- scm [justme@d056095.adsl.hansenet.de] has quit [Ping timeout: 265 seconds] 05:03 -!- scm [justme@d070073.adsl.hansenet.de] has joined #go-nuts 05:33 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Remote host closed the connection] 05:35 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 05:50 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has quit [Ping timeout: 240 seconds] 05:54 -!- sin3141592 [~hagbard@dslb-084-058-151-207.pools.arcor-ip.net] has joined #go-nuts 05:56 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:68d1:de2f:5d52:5e7a] has joined #go-nuts 05:59 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 06:00 -!- melba [melba@unaffiliated/lazz0] has joined #go-nuts 06:00 -!- virtualsue [~chatzilla@nat/cisco/x-ucpanfoiprqbssvd] has joined #go-nuts 06:02 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 06:06 -!- sin3141592 [~hagbard@dslb-084-058-151-207.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 06:09 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has joined #go-nuts 06:16 -!- jhh [~jhh@4-013.vpn.RWTH-Aachen.DE] has joined #go-nuts 06:18 -!- enherit [~enherit@71-83-188-75.dhcp.lnbh.ca.charter.com] has quit [Quit: Lost terminal] 06:19 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has joined #go-nuts 06:28 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Operation timed out] 06:37 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 06:55 -!- ukai [~ukai@nat/google/x-fnmoyqqbagltusyv] has quit [Ping timeout: 240 seconds] 06:56 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Ping timeout: 272 seconds] 06:56 -!- ukai [~ukai@nat/google/x-chfzypkenqeqhyzq] has joined #go-nuts 07:01 -!- ukai [~ukai@nat/google/x-chfzypkenqeqhyzq] has quit [Ping timeout: 240 seconds] 07:03 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 07:04 < nsf> nf_: btw, thanks for fixing <h2> padding 07:08 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts 07:10 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276 seconds] 07:10 -!- clip9 [clip9@109.169.41.5] has quit [Remote host closed the connection] 07:11 < nf_> nsf: np :) 07:22 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 07:23 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 07:28 -!- tvw [~tv@e176003214.adsl.alicedsl.de] has joined #go-nuts 07:31 -!- ikaros [~ikaros@dslb-094-219-213-123.pools.arcor-ip.net] has joined #go-nuts 07:39 -!- ExtraSpice [~XtraSpice@88.118.34.223] has joined #go-nuts 07:42 -!- photron [~photron@port-92-201-19-184.dynamic.qsc.de] has joined #go-nuts 07:51 -!- sacho [~sacho@95-42-120-25.btc-net.bg] has quit [Read error: Operation timed out] 07:59 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has joined #go-nuts 08:01 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts 08:02 -!- xarak_ [~emil@ipv6.webbernet.nl] has left #go-nuts [] 08:04 -!- ayo [~nya@fuld-4d00d15f.pool.mediaWays.net] has joined #go-nuts 08:04 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Client Quit] 08:06 -!- ako [~nya@fuld-4d00d526.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 08:09 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 08:11 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has quit [Remote host closed the connection] 08:11 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 08:12 -!- clip9 [clip9@er.en.svarteper.com] has joined #go-nuts 08:13 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 08:18 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 08:22 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 08:24 -!- tsdh [~user@tsdh.uni-koblenz.de] has joined #go-nuts 08:30 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 08:33 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 08:52 -!- ronnyy [~quassel@p4FF1C96D.dip.t-dialin.net] has joined #go-nuts 08:53 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Read error: Connection reset by peer] 08:53 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts 08:54 -!- ExtraSpice [~XtraSpice@88.118.34.223] has quit [Quit: Leaving] 09:02 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Remote host closed the connection] 09:03 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts 09:09 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 09:10 -!- Fish9 [~Fish@86.65.182.207] has quit [Read error: Connection reset by peer] 09:10 -!- Fish9 [~Fish@86.65.182.207] has joined #go-nuts 09:12 -!- boscop_ [~boscop@f055162221.adsl.alicedsl.de] has joined #go-nuts 09:12 -!- boscop [~boscop@f055162221.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 09:13 -!- tvw [~tv@e176003214.adsl.alicedsl.de] has quit [Remote host closed the connection] 09:14 -!- Fish9 [~Fish@86.65.182.207] has quit [Read error: Connection reset by peer] 09:14 -!- Fish9 [~Fish@86.65.182.207] has joined #go-nuts 09:15 -!- adu [~ajr@pool-173-66-8-22.washdc.fios.verizon.net] has joined #go-nuts 09:19 -!- Fish9 [~Fish@86.65.182.207] has quit [Remote host closed the connection] 09:19 -!- Fish9 [~Fish@86.65.182.207] has joined #go-nuts 09:22 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has left #go-nuts ["Oh well!"] 09:25 -!- DerHorst [~Horst@e176100017.adsl.alicedsl.de] has joined #go-nuts 09:29 -!- aho [~nya@fuld-4d00d15f.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 09:30 -!- wrtp [~rog@92.17.36.40] has joined #go-nuts 09:43 -!- ikaros [~ikaros@dslb-094-219-213-123.pools.arcor-ip.net] has quit [Quit: Leave the magic to Houdini] 09:46 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 09:56 -!- manual [melba@85.11.190.15] has joined #go-nuts 09:56 -!- melba [melba@unaffiliated/lazz0] has quit [Read error: Connection reset by peer] 09:56 -!- manual [melba@85.11.190.15] has quit [Changing host] 09:56 -!- manual [melba@unaffiliated/lazz0] has joined #go-nuts 09:58 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 10:00 -!- manual [melba@unaffiliated/lazz0] has quit [Read error: Connection reset by peer] 10:00 -!- manual [manual@85.11.190.15] has joined #go-nuts 10:00 -!- manual [manual@85.11.190.15] has quit [Changing host] 10:00 -!- manual [manual@unaffiliated/lazz0] has joined #go-nuts 10:02 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 10:05 -!- adu [~ajr@pool-173-66-8-22.washdc.fios.verizon.net] has quit [Quit: adu] 10:07 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 10:08 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 10:09 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has joined #go-nuts 10:13 -!- melba [manual@unaffiliated/lazz0] has joined #go-nuts 10:13 -!- manual [manual@unaffiliated/lazz0] has quit [Read error: Connection reset by peer] 10:16 -!- fabled [~fabled@letku109.adsl.netsonic.fi] has joined #go-nuts 10:16 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Read error: Connection reset by peer] 10:18 -!- lmoura__ [~lauromour@187.112.6.25] has joined #go-nuts 10:20 -!- lmoura_ [~lauromour@187.59.125.211] has quit [Ping timeout: 252 seconds] 10:22 -!- DerHorst [~Horst@e176100017.adsl.alicedsl.de] has quit [Remote host closed the connection] 10:31 -!- ExtraSpice [~XtraSpice@88.118.34.223] has joined #go-nuts 10:36 -!- virtualsue [~chatzilla@nat/cisco/x-ucpanfoiprqbssvd] has quit [Ping timeout: 240 seconds] 10:44 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 10:46 < plexdev> http://is.gd/foCn0 by [Roger Peppe] in go/src/pkg/utf8/ -- utf8: add DecodeLastRune and DecodeLastRuneInString to 10:46 < plexdev> http://is.gd/foCn4 by [Roger Peppe] in 2 subdirs of go/src/pkg/ -- bytes, strings: change lastIndexFunc to use DecodeLastRune 10:58 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 11:00 -!- ncopa [~ncopa@180.40.189.109.customer.cdi.no] has joined #go-nuts 11:03 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 11:11 < scyth> is there a document describing how funcions are used, in detail? 11:12 < scyth> it's a bit confusing, while reading examples here and there, to see 10 different ways of using "func" 11:12 < nsf> uhm.. there is only 2 of them 11:13 < nsf> are* 11:13 < nsf> one for global function/method declarations 11:13 < nsf> and the second for closures 11:14 < nsf> scyth: I think reading the language spec is a good idea 11:15 < scyth> I mean more like... func fname(args type) { }, then we have func fname(args type) returntype {} 11:15 < nsf> but it's all the same form 11:15 < scyth> then func (blah) (args type) fname() returntype {} 11:15 < scyth> or something like that... 11:15 < nsf> func [optional receiver] NAME([optional args]) [optional return values] { BODY } 11:16 -!- dju [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 11:16 < scyth> what's receiver? 11:16 -!- dju_ [dju@fsf/member/dju] has joined #go-nuts 11:16 < nsf> it's a single variable of a certain type 11:16 < nsf> it is used for defining methods 11:17 < nsf> func (self *MyClass) String() string {} 11:17 < nsf> String is a method of MyClass 11:18 < nsf> and self is passed to the method by pointer of course 11:18 < nsf> you can also pass it by value 11:18 < scyth> I see, but isn't that supposed to be done with capitalisation of function name? It will make function availble to the outside users 11:19 < scyth> inside the package 11:19 < nsf> yes, but it's not a function 11:19 < nsf> it's a method 11:19 < scyth> what's the difference? 11:19 < nsf> you can call it only on a variable of type "*MyClass" 11:20 < nsf> var x *MyClass; x.String() 11:20 < scyth> I see 11:20 < nsf> scyth: what programming languages do you know already? 11:20 < scyth> C, python, php 11:21 < nsf> uhm.. well.. you should know what the method is from python 11:21 < scyth> in python, all functions inside a class are actualy methods of that type 11:21 < nsf> yes, but in Go you don't have classes 11:21 < nsf> you have struct and you can attach methods to them :) 11:22 < nsf> structs* 11:22 < nsf> specifying receiver is the way of doing that 11:22 < scyth> I understand now... I thought it was related only to packages 11:23 < nsf> receiver also is like a first argument in python's methods 11:23 < scyth> yeah 11:23 -!- navigator [~navigator@p54896FA3.dip.t-dialin.net] has joined #go-nuts 11:23 < nsf> regarding packages and visibility there is a simple rule 11:23 < nsf> everything that starts from a capital letter is visible outside of a package 11:24 < nsf> it's true for types, functions, methods and consts 11:24 < scyth> yes 11:24 < scyth> ok, thanks for clarification 11:24 < nsf> np 11:26 < nsf> hehe and variables of course 11:26 < scyth> :) 11:27 < nsf> true for everything that has name 11:28 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 11:28 < nsf> although I agree that methods may look confusing 11:29 < nsf> but it's easy to get used to it 11:29 < nsf> func (a Type) Type() (int, int) {} 11:29 < nsf> too many ()s 11:30 < nsf> but it's more grep-friendly 11:30 < nsf> when you see a method declaration 11:30 < nsf> you know what type it belongs to 11:31 < scyth> no, it is really clear enough, it's just that docs are a bit harsh 11:32 < nsf> http://golang.org/doc/go_spec.html#Function_declarations 11:32 < nsf> I think they're fine 11:32 < scyth> I like other languages docs better (like python, php).. you can pretty much nail everything quickly 11:33 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 11:33 < nsf> well, docs will be better eventually I guess 11:34 < scyth> sure 11:35 < scyth> btw, any idea when the "official release" will come out? 11:35 < nsf> the language is constantly evolving 11:36 < nsf> with releases every week or two :) 11:36 < scyth> I know :) 11:36 < scyth> that's why I asked :) 11:36 < nsf> I guess it's hard to say when it will be like 1.0 11:36 < scyth> I think it will help get more developers write new libs 11:37 < nsf> I think it's a natural process.. with time we have less and less new features and core lib changes 11:37 < nsf> and eventually it becomes frozen 11:38 < nsf> on the other hand saying: "ok, I won't change it ever now" is kind of stupid 11:38 < nsf> because mistakes should be fixed 11:38 < nsf> scyth: and I'm not the dev, you should ask developers what their plans are 11:38 < nsf> doing that on the ML (mailing list) is a good idea 11:39 < scyth> of course, but libraries should have dependency on verion 11:39 < scyth> version* 11:39 < nsf> yep, there are a bit of problems with that 11:39 < nsf> a lot of go code on the web is already broken 11:39 < nsf> due to lib changes 11:39 < nsf> and even language changes 11:40 < nsf> but the language is young 11:40 < nsf> it is expected 11:40 < scyth> I agree, I was just curious in case there's a word outthere about release schedule :) 11:41 < nsf> ask developers :) but most likely there is no such "release schedule" 11:42 < nsf> go is experimental, if you need a very stable language you should choose C or C++ or Java or C# or something :) 11:42 < scyth> I just hope it won't go away :) 11:55 -!- artefon [~thiago@189.107.212.113] has joined #go-nuts 12:12 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 12:14 < nsf> scyth: if it will go away then it is a bad language 12:14 < nsf> evolution does its job well 12:14 < nsf> :) 12:15 -!- lmoura__ [~lauromour@187.112.6.25] has quit [Read error: Connection reset by peer] 12:25 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 240 seconds] 12:25 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has joined #go-nuts 12:27 < mpl> nsf: don't underestimate marketing or political reasons though. 12:28 < nsf> they are part of the evolution :) 12:29 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 12:31 < mpl> nsf: fair enough, but then a good language might have gone away for one of these reasons. 12:32 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds] 12:32 -!- lmoura__ [~lauromour@187.59.119.7] has joined #go-nuts 12:32 < nsf> well if it's really good then it will be revived under a different name and/or form 12:39 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 12:40 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 12:42 -!- mattn_jp [~mattn_jp@112-68-68-71f1.hyg1.eonet.ne.jp] has joined #go-nuts 12:53 < wrtp> there is no absolute "good" :-) 12:54 < wrtp> oh, nsf's just gone 12:57 -!- ProNihil1st [~anathema@cpc4-cani1-0-0-cust597.14-2.cable.virginmedia.com] has joined #go-nuts 12:57 -!- ProNihilist [~anathema@cpc4-cani1-0-0-cust597.14-2.cable.virginmedia.com] has quit [Ping timeout: 252 seconds] 13:00 < mpl> wrtp: yeah. and his point pretty valid. after all, Go is in a way a reborn of Alef for example ;) 13:00 < wrtp> or limbo :-) 13:01 < mpl> yah, although arguably limbo is not quite dead yet hehe. 13:01 < wrtp> no indeed 13:01 < wrtp> some a few of the ideas in go could go back into limbo i reckon 13:01 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 13:03 < mpl> well, the best would simply to have go on plan 9 and inferno :) 13:04 < wrtp> i dunno, there are some bits of limbo that i really miss from go 13:04 < mpl> like what? (no clue, I barely touched limbo). 13:05 < wrtp> dynamic loading; built-in list & tuple types 13:06 < mpl> the two last sound like easily done with a wrapper in go. 13:06 < wrtp> i've probably written more lines in limbo than any other language... 13:06 < mpl> nice 13:06 < mpl> do you use it at work? 13:06 < wrtp> mpl: not really 13:06 < wrtp> no, but i used to 13:06 < wrtp> i worked at vita nuova 13:07 < melba> heh 13:07 < mpl> cool 13:12 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:22 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts 13:27 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 13:27 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 13:35 -!- ProNihil1st [~anathema@cpc4-cani1-0-0-cust597.14-2.cable.virginmedia.com] has left #go-nuts [] 13:36 -!- ProNihilist [~anathema@cpc4-cani1-0-0-cust597.14-2.cable.virginmedia.com] has joined #go-nuts 13:37 -!- melba [manual@unaffiliated/lazz0] has quit [Read error: Connection reset by peer] 13:37 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 13:38 -!- Guest89029 [melba@85.11.190.15] has joined #go-nuts 13:42 -!- Guest89029 [melba@85.11.190.15] has quit [Client Quit] 13:45 -!- jhh_ [~jhh@f049103032.adsl.alicedsl.de] has joined #go-nuts 13:48 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has quit [Ping timeout: 276 seconds] 13:50 -!- jhh [~jhh@4-013.vpn.RWTH-Aachen.DE] has quit [Ping timeout: 264 seconds] 14:01 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts 14:01 < Venom_X> hello. How do I check for a map element? I have x := make(map[string] T). Currently I'm getting an error when trying: if x[aKeyThatMightNotExist] == nil {}. 14:02 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 14:03 < wrtp> that should work 14:04 < wrtp> how old is your go installation? 14:04 < wrtp> Venom_X: it used to be the case that indexing a non-existent key in a map would panic, but now it just returns the zero value 14:05 < wrtp> what type is T? 14:05 < wrtp> is it a compiler error or a runtime error you're getting? 14:06 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 14:06 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 14:07 < Venom_X> I get: cannot use nil as 14:07 < Venom_X> complier error 14:10 < Venom_X> my go install pretty new, and T is a struct of a websocket connection and a session hash 14:13 -!- mattn_jp [~mattn_jp@112-68-68-71f1.hyg1.eonet.ne.jp] has left #go-nuts [] 14:16 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 14:16 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 14:25 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 255 seconds] 14:25 < wrtp> Venom_X: well, you've got two possibilities 14:26 < wrtp> the most general is: x, ok := m[aKeyThatMightNotExist] 14:26 < wrtp> after which ok will be true iff the key is in the map 14:27 < wrtp> alternatively if the websocket connection is always non-nil, you could do x[aKeyThatMightNotExist].Connection == nil 14:30 -!- fejjerai [quassel@kde/amarok/mitchell] has joined #go-nuts 14:32 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has quit [Read error: Connection reset by peer] 14:34 -!- amackera [~amackera@tophatmonocle.acceleratorcentre.net] has joined #go-nuts 14:35 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 14:35 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has joined #go-nuts 14:40 -!- artefon [~thiago@189.107.212.113] has quit [Ping timeout: 245 seconds] 14:41 -!- artefon [~thiago@189.107.215.85] has joined #go-nuts 14:44 -!- fabled [~fabled@letku109.adsl.netsonic.fi] has quit [Quit: Ex-Chat] 14:47 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts 14:48 -!- artefon [~thiago@189.107.215.85] has quit [Remote host closed the connection] 14:59 -!- fabled [~fabled@letku109.adsl.netsonic.fi] has joined #go-nuts 14:59 < Venom_X> wrtp: your last suggestion seems to work 14:59 < Venom_X> thanks 15:09 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts 15:10 < Venom_X> wrtp: do you know how to delete an element from a map? I read something about assigning to delete as so: "m1[key] = 0, false", but I'm getting "cannot use 0 (type int) as type T", since my map values are structs. Any idea? 15:12 < cbeck> Venom_X: m1[key] = _, false I think 15:12 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts 15:12 < exch> it doesn't matter what you assign as the first parameter. Ideally the nil value for the given type. So 0, or nil, or "" 15:12 < Venom_X> cannot use _ as value 15:12 < cbeck> curses 15:13 < cbeck> Perhaps that'd be a worthwhile change, in cases like this where the value type doesn't have a well defined zero value 15:13 < exch> There's been some talk about simply using 'm[key] = _' to delete a key instead of the awkward 'v, false' approach, but i'm not sure what came of that 15:14 < Namegduf> The best case for the v, false thing is where you have a zero value passed in from elsewhere which means delete. 15:14 < Namegduf> v, v == "" is not so bad. 15:15 < Namegduf> Hmm, v != "" 15:21 < Venom_X> so, is there anything I can do? Would this be considered a bug? 15:23 -!- tsdh [~user@tsdh.uni-koblenz.de] has quit [Quit: Goodbye guys!] 15:23 < exch> 'm[key] = nil, false' doesnt work? 15:23 < mpl> mmmkay?? 15:24 < Venom_X> cannot use nil as 15:24 < skelterjohn> m[key] = T{}, false 15:24 < skelterjohn> if T is your value type 15:24 < Venom_X> right 15:24 < skelterjohn> T{} will be a zero'd instance of it 15:24 < Venom_X> oh 15:25 < exch> that is a bit painful really. It forces you to initialize a new copy of the type just to remove another one 15:25 < Venom_X> skelterjohn: that works! thanks 15:25 < skelterjohn> is T a large type? if so, might be better to use *T as your value type 15:25 < skelterjohn> exch: That's why I mention using *T 15:25 < skelterjohn> then you can just say nil 15:25 < Venom_X> my T isn't heavy 15:28 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Ping timeout: 272 seconds] 15:35 -!- ncopa [~ncopa@180.40.189.109.customer.cdi.no] has quit [Quit: Ex-Chat] 15:38 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode] 15:39 -!- Adys [~Adys@cpc1-chap8-2-0-cust237.aztw.cable.virginmedia.com] has joined #go-nuts 15:39 -!- Adys [~Adys@cpc1-chap8-2-0-cust237.aztw.cable.virginmedia.com] has quit [Changing host] 15:39 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 15:39 -!- [Eko] [~eko@res-128-61-89-71.res.gatech.edu] has joined #go-nuts 15:39 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 255 seconds] 15:39 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 15:40 -!- ikaros [~ikaros@dslb-094-219-213-123.pools.arcor-ip.net] has joined #go-nuts 15:41 -!- GoBIR_ [~gobir@res-128-61-89-71.res.gatech.edu] has quit [Ping timeout: 272 seconds] 15:42 -!- Eko [~eko@res-128-61-89-71.res.gatech.edu] has quit [Ping timeout: 276 seconds] 15:43 -!- GoBIR [~gobir@res-128-61-89-71.res.gatech.edu] has joined #go-nuts 15:45 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts 15:50 < exch> is there some syntax to express a binary number? like 0x123 but for 101010101's 15:51 -!- femtoo [~femto@95-89-248-241-dynip.superkabel.de] has joined #go-nuts 15:52 < wrtp> exch: no 15:52 < wrtp> it's a pity 15:52 < exch> :( 15:53 < exch> I usually go with bx10101 in my own parsers/interpreters 15:53 < wrtp> limbo could do it, but they decided to keep with C literal conventions 15:53 < wrtp> i've used 0b10101 for mine 15:53 < wrtp> bx10101 is too much like a valid identifier 15:53 < wrtp> in fact it is a valid identifier 15:53 < exch> true 15:54 < vsmatck> 01x for binary? 15:54 < exch> So basically i'm stuck using strconv to convert a string to a number 15:54 < vsmatck> Meh. That's prolly a bad idea I had. 15:54 < wrtp> exch: or just stick with hex 15:55 < wrtp> and comment the binary 15:55 < vsmatck> ya hex seems good enough. 15:55 < wrtp> 01x seems like one character more than necessary 15:56 < wrtp> in limbo you could do 2r1010101 or 16r7fff or even 36r12pqz 15:57 < wrtp> perhaps a little on the over-general side, but occasionally useful 15:57 < wrtp> i used base-3 constants in seriousness one time 15:57 < vsmatck> I like the <base>x idea. But I almost wonder if forcing common int literal bases on people is a good thing. 15:58 < vsmatck> I'd be annoyed if I was trying to understand someone's program and they liked base 27. 15:58 < vsmatck> heh 16:02 < wrtp> vsmatck: it doesn't happen, in my experience 16:03 < vsmatck> wrtp: *think*. Ya I haven't seen anyone do stupid stuff like that. I guess it's a bad idea to think about abuse potential when designing a language when you can just look at what's out there to see if it's actually a problem. 16:03 < vsmatck> s/*think*/*thinks* 16:04 < vsmatck> I mean a good example of a thing with big abuse potential that has actually been abused a lot is macros. 16:04 -!- boscop_ [~boscop@f055162221.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 16:05 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 16:05 < vsmatck> But because a thing can be abused doesn't imply it will be. That's how I interpret what you said anyways. :) 16:06 < wrtp> yeah 16:07 < wrtp> macros are abused because they have power that you can't get any other way. base 27 numbers don't offer that much power :-) 16:08 < vsmatck> *thinks* I totally agree with that. 16:09 -!- boscop_ [~boscop@f055066209.adsl.alicedsl.de] has joined #go-nuts 16:11 -!- sukuri [~travis@132.170.135.255] has joined #go-nuts 16:14 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts 16:21 -!- divoxx [~divoxx@189.63.144.228] has joined #go-nuts 16:27 -!- Project_2501 [~Marvin@82.84.66.105] has joined #go-nuts 16:31 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Read error: Operation timed out] 16:32 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Ping timeout: 252 seconds] 16:32 -!- ronnyy [~quassel@p4FF1C96D.dip.t-dialin.net] has quit [Remote host closed the connection] 16:34 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has joined #go-nuts 16:40 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has quit [Ping timeout: 272 seconds] 16:41 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has joined #go-nuts 16:41 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined #go-nuts 16:44 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 16:44 -!- paulzhol [~yuval@85-250-156-142.bb.netvision.net.il] has joined #go-nuts 16:45 -!- Method [~Method@unaffiliated/method] has quit [Read error: Connection reset by peer] 16:46 -!- Method [~Method@nat-3-135.snu.edu] has joined #go-nuts 16:46 -!- Method [~Method@nat-3-135.snu.edu] has quit [Changing host] 16:46 -!- Method [~Method@unaffiliated/method] has joined #go-nuts 16:47 < paulzhol> hi! I'm trying to submit a change using the codereview.py but after running hg change I'm getting "abort: path_to_added_file@9005da7d2f23: not found in manifest!" 16:47 < paulzhol> any ideas what I need to do to add files to this manifest ? 16:48 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 16:49 < scyth> inside, lets say "type Mystuff struct {}" I want a map with strings as keys and another struct I already defined, as values 16:49 < scyth> how to do that? 16:50 < scyth> is it just Varname map[string] Otherstructname 16:50 < scyth> ? 16:51 < jhh> yes 16:53 -!- Venom_X_ [~pjacobs@66.54.185.131] has joined #go-nuts 16:55 < wrtp> paulzhol: i've not seen that error 16:56 < wrtp> paulzhol: "path_to_added_file" look suspicious 16:56 < wrtp> did you copy and paste something from the website without changing that string? 16:56 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Ping timeout: 276 seconds] 16:58 < paulzhol> wrtp: this this the actual msg i'm getting, I just replaced the filename 16:58 < paulzhol> abort: src/pkg/runtime/plan9/386/defs.h@1eec33c03bce: not found in manifest! 17:00 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 17:00 < paulzhol> wrtp: defs.h is the first file which is marked A when I run hg status 17:00 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 17:01 < paulzhol> wrtp: all the Modified ones which appear before it seem to go through 17:01 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245 seconds] 17:06 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 255 seconds] 17:06 -!- cenuij [~cenuij@93.26.149.132] has joined #go-nuts 17:06 -!- cenuij [~cenuij@93.26.149.132] has quit [Changing host] 17:06 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 17:08 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 272 seconds] 17:13 < wrtp> so if you do hg cat $GOROOT/src/pkg/runtime/plan9/386/defs.h then it works? 17:15 < paulzhol> wrtp: no, I'm getting src/pkg/runtime/plan9/386/defs.h: No such file in rev 1eec33c03bce 17:15 < paulzhol> which makes sense because I haven't committed it yet 17:16 -!- snearch [~snearch@f053012075.adsl.alicedsl.de] has joined #go-nuts 17:17 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 265 seconds] 17:18 < wrtp> have you used hg change successfully before? 17:19 < paulzhol> wrtp: yes, I got cl.2135044 through and reviewed - but it was a modification to an existing file - now i'm trying to add a new directory with new files, maybe thats the problem 17:20 < wrtp> i haven't had a problem with that 17:20 -!- sukuri [~travis@132.170.135.255] has quit [Ping timeout: 245 seconds] 17:20 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 17:20 < paulzhol> wrtp: I did hg copy on some of the new files to preserve the history. Do you think it doesn't like it ? 17:22 < wrtp> hmm maybe 17:23 < wrtp> i just tried adding a new file, and i had to do "hg add file" before it worked. otherwise i got "No valid patches found in output from hg diff" 17:23 < wrtp> you could try hg rm and then hg add and see whether it makes a difference 17:24 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 17:27 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 17:29 < paulzhol> wrtp: ok I did an hg export then a revert -a and import --no-commit and it seems to work now, thanks! 17:29 < wrtp> nice one. 17:29 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined #go-nuts 17:30 < wrtp> might be worth seeing if you can reproduce the behaviour and file a bug if you can. 17:31 < paulzhol> wrtp: I think it is because I did an export with -g to get git notation of copying files and then imported the patch I'll see if it happens again 17:32 < wrtp> try it with a single file and hg copy - see if you can get an ultra simple example 17:35 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 17:37 < paulzhol> wrtp: yep just checked - when doing hg copy on one file, and then hg change on the new file will show the same error msg and fail. 17:37 < wrtp> cool. get that issue raised :-) 17:38 < paulzhol> wrtp: do you think it belongs on the golang issue tracker or is it something to do with codereview ? 17:40 < wrtp> i think it belongs on the golang issue tracker because the hg codereview extension is russ's. 17:40 < wrtp> if not, you'll find out quickly. 17:40 < paulzhol> wrtp: :) 17:42 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving] 17:47 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 17:49 -!- snearch [~snearch@f053012075.adsl.alicedsl.de] has quit [Quit: Verlassend] 17:50 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts 17:50 -!- femtoo [~femto@95-89-248-241-dynip.superkabel.de] has quit [Quit: Leaving] 17:52 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 18:00 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 18:02 -!- Project_2501 [~Marvin@82.84.66.105] has quit [Quit: E se abbasso questa leva che succ...] 18:03 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: peace in teh middle east] 18:08 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 18:24 -!- napsy [~luka@88.200.96.18] has quit [Read error: Operation timed out] 18:25 -!- sukuri [~travis@132.170.135.255] has joined #go-nuts 18:26 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 18:30 < gmilleramilar> ugh. I'm calling into a proprietary shared library using CGO. My go-based program crashes with this problem: http://pastie.org/1177385 A C-based program to duplicate the calls does not crash. Anybody have any idea how to go about figuring out how to fix this? 18:36 < plexdev> http://is.gd/fpjSP by [Russ Cox] in go/src/pkg/io/ioutil/ -- io/ioutil: use _test not _obj in test 18:44 -!- Bombe [~droden@weltgehirnmaschine.de] has quit [Excess Flood] 18:45 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts 18:50 -!- Bombe [~droden@weltgehirnmaschine.de] has quit [Excess Flood] 18:50 -!- fejjerai [quassel@kde/amarok/mitchell] has quit [Read error: Connection reset by peer] 18:50 -!- sukuri [~travis@132.170.135.255] has quit [Quit: Leaving.] 18:50 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts 18:50 -!- sukuri [~travis@node34.seg87.ucf.edu] has joined #go-nuts 18:52 -!- sukuri [~travis@node34.seg87.ucf.edu] has quit [Client Quit] 18:52 -!- sukuri [~travis@node34.seg87.ucf.edu] has joined #go-nuts 18:52 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 19:01 -!- navigator [~navigator@p54896FA3.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 19:07 -!- fejjerai [quassel@kde/amarok/mitchell] has joined #go-nuts 19:08 -!- ronnyy [~quassel@p4FF1C96D.dip.t-dialin.net] has joined #go-nuts 19:08 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit: skelterjohn] 19:09 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts 19:09 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Client Quit] 19:16 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has quit [Read error: Connection reset by peer] 19:20 -!- xash [~xash@d026136.adsl.hansenet.de] has joined #go-nuts 19:22 -!- ssjones [~ssjones@67-61-100-203.cpe.cableone.net] has joined #go-nuts 19:25 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao] 19:26 -!- virtualsue [~chatzilla@nat/cisco/x-paqvuxzbwbvuqtmh] has joined #go-nuts 19:28 -!- scm [justme@d070073.adsl.hansenet.de] has quit [Ping timeout: 252 seconds] 19:29 -!- scm [justme@d070073.adsl.hansenet.de] has joined #go-nuts 19:30 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has quit [Quit: here we are] 19:33 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has joined #go-nuts 19:42 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 19:42 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving] 19:54 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 272 seconds] 19:57 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Quit: Leaving.] 19:57 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts 19:58 -!- Netsplit *.net <-> *.split quits: Soultaker, yiyus, scoeri, taruti, mpl, saati, plexdev, bfrank, quag, Namegduf 19:58 -!- Netsplit over, joins: Soultaker 19:58 -!- Netsplit over, joins: Namegduf 19:58 -!- Netsplit over, joins: taruti 19:58 -!- scoeri [~jdekoste@multicore.vub.ac.be] has joined #go-nuts 19:58 -!- Netsplit over, joins: bfrank, yiyus 19:58 -!- Netsplit over, joins: saati, plexdev, quag 19:58 -!- mpl [~mpl@213.251.175.204] has joined #go-nuts 20:00 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has quit [Remote host closed the connection] 20:01 -!- marchdown_ [~marchdown@91.79.36.5] has joined #go-nuts 20:01 -!- marchdown_ [~marchdown@91.79.36.5] has quit [Excess Flood] 20:01 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has joined #go-nuts 20:04 -!- marchdown_ [~marchdown@91.79.36.5] has joined #go-nuts 20:09 -!- sukuri [~travis@node34.seg87.ucf.edu] has quit [Ping timeout: 252 seconds] 20:12 -!- sukuri [~travis@node34.seg87.ucf.edu] has joined #go-nuts 20:15 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 20:17 -!- marchdown_ [~marchdown@91.79.36.5] has quit [Quit: marchdown_] 20:19 -!- sukuri [~travis@node34.seg87.ucf.edu] has quit [Quit: Leaving.] 20:19 -!- sukuri1 [~travis@node34.seg87.ucf.edu] has joined #go-nuts 20:21 -!- artefon [~thiago@189.107.215.85] has joined #go-nuts 20:23 -!- sukuri1 [~travis@node34.seg87.ucf.edu] has quit [Ping timeout: 245 seconds] 20:25 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has quit [Remote host closed the connection] 20:40 -!- sukuri [~travis@node34.seg87.ucf.edu] has joined #go-nuts 20:43 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:68d1:de2f:5d52:5e7a] has quit [Quit: Leaving.] 20:43 -!- sin3141592 [~hagbard@dslb-084-058-137-027.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 20:50 -!- Surma [~surma@91-64-180-192-dynip.superkabel.de] has joined #go-nuts 20:51 < Surma> Hey guys. I just did ``type Error os.Error'' and tried to ``func (e *Error) …''. Says it's an invalid receiver type. What's going on there? 20:52 < scyth> are you missing the funcion name before (e *Error) ? 20:53 < Surma> actually, it's supposed to be the receiver 20:53 < cbeck> Can you have a pointer to an interface type? 20:53 < Surma> right now it is ``func (e *Error) NewError(desc string) {…}'' 20:53 < Surma> why shouldn't you? 20:53 < cbeck> Ah, that's why, because you can't define methods on an interface type 20:53 < Surma> you can't? 20:54 < Surma> oh okay… so I can't write functions which modify a receiver if the receiver is a interface type? 20:54 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 20:54 < exch> You can, but you need to call it on a pointer version of the error 20:55 < cbeck> No, you just need to do type Error struct {...}, and fulfil the os.Error interface 20:55 < Surma> ah right 20:55 < Surma> damn, it's been too long already 20:55 < Surma> thanks a lot guys 20:55 -!- tasosos [~tasosos@178.128.158.237.dsl.dyn.forthnet.gr] has quit [Remote host closed the connection] 20:57 -!- sin3141592 [~hagbard@dslb-084-058-131-146.pools.arcor-ip.net] has joined #go-nuts 20:57 -!- tvw [~tv@e176003214.adsl.alicedsl.de] has joined #go-nuts 20:58 -!- dj2 [~dj2@216.16.242.254] has quit [Quit: dj2] 21:00 -!- Geekk [~Geekk@bus77-2-82-244-148-145.fbx.proxad.net] has joined #go-nuts 21:01 -!- Geekk [~Geekk@bus77-2-82-244-148-145.fbx.proxad.net] has quit [Client Quit] 21:02 -!- jhh [~jhh@f049103032.adsl.alicedsl.de] has quit [Quit: jhh] 21:03 -!- Geekk [~Geekk@bus77-2-82-244-148-145.fbx.proxad.net] has joined #go-nuts 21:04 -!- Geekk [~Geekk@bus77-2-82-244-148-145.fbx.proxad.net] has left #go-nuts [] 21:14 -!- sukuri [~travis@node34.seg87.ucf.edu] has quit [Quit: Leaving.] 21:14 -!- sukuri [~travis@node34.seg87.ucf.edu] has joined #go-nuts 21:17 -!- sukuri [~travis@node34.seg87.ucf.edu] has quit [Client Quit] 21:19 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:23 -!- Surma [~surma@91-64-180-192-dynip.superkabel.de] has left #go-nuts [] 21:25 < plexdev> http://is.gd/fpyMy by [Robert Griesemer] in 2 subdirs of go/src/pkg/go/printer/ -- gofmt: don't remove syntactically relevant blank in f(42 ...) 21:33 -!- synth [~cb@obfuscated.us] has quit [Remote host closed the connection] 21:33 < mpl> what does that error mean: 21:33 < mpl> cfree: too many elf strings 21:33 < mpl> ? 21:34 < mpl> I get that when 6l is called for a go-gtk program 21:39 -!- synth [~cb@obfuscated.us] has joined #go-nuts 21:41 -!- wrtp [~rog@92.17.36.40] has quit [Quit: wrtp] 21:45 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection] 21:47 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Read error: Operation timed out] 21:50 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts 21:50 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 21:50 -!- xash [~xash@d026136.adsl.hansenet.de] has quit [Ping timeout: 264 seconds] 21:50 -!- dju_ [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 21:51 -!- virtualsue [~chatzilla@nat/cisco/x-paqvuxzbwbvuqtmh] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.5.13/20100914122142]] 21:52 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the connection] 21:52 -!- dju_ [dju@fsf/member/dju] has joined #go-nuts 21:55 -!- dju [dju@fsf/member/dju] has joined #go-nuts 21:55 -!- dju_ [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 21:57 < plexdev> http://is.gd/fpBoa by [Robert Griesemer] in 2 subdirs of go/src/pkg/go/printer/ -- gofmt: preserve syntactically relevant blanks between ints and tokens that start with a '.' (2nd attempt) 22:01 -!- dju [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 22:02 -!- dju [dju@fsf/member/dju] has joined #go-nuts 22:02 -!- sin3141592 [~hagbard@dslb-084-058-131-146.pools.arcor-ip.net] has quit [Remote host closed the connection] 22:03 -!- artefon [~thiago@189.107.215.85] has quit [Quit: bye] 22:04 -!- dju_ [dju@fsf/member/dju] has joined #go-nuts 22:04 -!- dju [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 22:12 -!- ronnyy [~quassel@p4FF1C96D.dip.t-dialin.net] has quit [Remote host closed the connection] 22:14 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined #go-nuts 22:15 -!- dacc [~Adium@D-128-95-10-133.dhcp4.washington.edu] has joined #go-nuts 22:21 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined #go-nuts 22:22 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Quit: Lost terminal] 22:22 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 22:22 -!- boscop_ [~boscop@f055066209.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 22:27 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 22:32 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:37 -!- photron [~photron@port-92-201-19-184.dynamic.qsc.de] has quit [Ping timeout: 252 seconds] 22:38 -!- amackera [~amackera@tophatmonocle.acceleratorcentre.net] has quit [Quit: concentrate on work] 22:39 -!- Project_2501 [~Marvin@82.84.74.42] has joined #go-nuts 22:45 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte] 22:49 -!- dju [dju@fsf/member/dju] has joined #go-nuts 22:49 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Ping timeout: 245 seconds] 22:52 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 22:53 -!- paulzhol [~yuval@85-250-156-142.bb.netvision.net.il] has quit [Remote host closed the connection] 22:53 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded] 22:54 -!- dju [dju@fsf/member/dju] has joined #go-nuts 22:55 -!- ExtraSpice [~XtraSpice@88.118.34.223] has quit [Ping timeout: 240 seconds] 23:00 -!- ikaros [~ikaros@dslb-094-219-213-123.pools.arcor-ip.net] has quit [Quit: Leave the magic to Houdini] 23:01 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 23:07 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 23:12 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has joined #go-nuts 23:36 -!- jmettraux [~jmettraux@211.19.55.177] has joined #go-nuts 23:53 -!- mbohun [~mbohun@eth649.act.adsl.internode.on.net] has joined #go-nuts 23:53 -!- mbohun [~mbohun@eth649.act.adsl.internode.on.net] has quit [Read error: Connection reset by peer] 23:54 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 23:59 -!- l00t [~i-i3id3r_@189.105.84.129] has joined #go-nuts --- Log closed Fri Sep 24 00:00:07 2010