--- Log opened Thu Feb 25 00:00:16 2010
00:01 -!- wuehlmaus [~wuehlmaus@p4FCC73F5.dip.t-dialin.net] has quit [Ping
timeout: 264 seconds]
00:01 -!- wuehlmaus [~wuehlmaus@p4FCC7F0C.dip.t-dialin.net] has joined #go-nuts
00:05 -!- Chryson [~Chryson@c-71-60-250-12.hsd1.pa.comcast.net] has joined
#go-nuts
00:07 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
00:08 -!- mbarkhau [~koloss@p54A7E653.dip.t-dialin.net] has quit [Quit: Leaving.]
00:11 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Remote host closed the connection]
00:14 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100214235958]]
00:14 -!- niekie [~niek@CAcert/Assurer/niekie] has quit [Read error: Operation
timed out]
00:14 < plexdev> http://is.gd/97cgo by [Russ Cox] in go/src/pkg/path/ --
path: add Match
00:15 < plexdev> http://is.gd/97cgL by [Robert Griesemer] in 7 subdirs of
go/src/ -- go/ast: streamline representation of field lists
00:16 -!- niekie [~niek@CAcert/Assurer/niekie] has joined #go-nuts
00:16 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
00:17 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
00:18 -!- jhawk28 [~jhawk28@user-142g7u9.cable.mindspring.com] has joined #go-nuts
00:19 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
00:19 -!- yaroslav [~yaroslav@ppp91-78-215-176.pppoe.mtu-net.ru] has joined
#go-nuts
00:25 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:27 -!- iant [~iant@2620:0:1000:1601:f57b:6b8a:bccf:92d0] has quit [Read error:
Operation timed out]
00:29 -!- Tuller [~Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined
#go-nuts
00:34 -!- yaroslav [~yaroslav@ppp91-78-215-176.pppoe.mtu-net.ru] has quit [Quit:
yaroslav]
00:34 -!- _ejb [~ejb@unaffiliated/ejb] has quit [Read error: Operation timed out]
00:44 -!- Chryson [~Chryson@c-71-60-250-12.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
00:45 < skelterjohn> neat - one of RSC's example downloadable packages with
goinstall is my gomatrix library :)
00:47 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Quit:
Fraeon]
00:48 -!- iant [~iant@67.218.104.12] has joined #go-nuts
00:48 -!- mode/#go-nuts [+v iant] by ChanServ
00:49 -!- _ejb [~ejb@unaffiliated/ejb] has joined #go-nuts
00:51 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
00:56 < KirkMcDonald> Let's say I have a package I want to import from my
main package for the exclusive purpose of executing its init method.
00:56 <+iant> import _ "foo"
00:56 < KirkMcDonald> Would 'import _ "foo"' be -- okay.
00:56 < KirkMcDonald> That answers that, I suppose.  :-)
00:58 <+iant> I had to do a special dance to make that work in gccgo
01:01 < plexdev> http://is.gd/97lW9 by [Ian Lance Taylor] in 2 subdirs of
go/src/ -- Install runtime.h and cgocall.h.
01:17 -!- yatoo [~marcus@host86-153-224-40.range86-153.btcentralplus.com] has quit
[Ping timeout: 240 seconds]
01:17 < plexdev> http://is.gd/97pfq by [Robert Griesemer] in 4 subdirs of
go/src/pkg/go/ -- go/scanner: support for complex (imaginary) constants
01:19 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 260 seconds]
01:27 -!- mbg` [~user@cpe-67-241-10-210.twcny.res.rr.com] has joined #go-nuts
01:27 -!- iant [~iant@67.218.104.12] has quit [Ping timeout: 276 seconds]
01:30 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit
[Quit: carllerche]
01:44 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has joined #go-nuts
01:48 -!- mbg` [~user@cpe-67-241-10-210.twcny.res.rr.com] has quit [Remote host
closed the connection]
01:54 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Quit: Ex-Chat]
01:55 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
01:56 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
01:57 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
01:57 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Excess Flood]
02:05 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
02:12 -!- anticw [~anticw@c-76-21-42-30.hsd1.ca.comcast.net] has quit [Quit:
rambo]
02:13 -!- Cyprien_ [Cyprien@209-150.78-83.cust.bluewin.ch] has joined #go-nuts
02:14 -!- anticw [~anticw@c-76-21-42-30.hsd1.ca.comcast.net] has joined #go-nuts
02:15 -!- Cyprien__ [Cyprien@18-106.78-83.cust.bluewin.ch] has quit [Ping timeout:
240 seconds]
02:16 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
02:16 -!- Tuller [~Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit
[Quit: to the batcave?]
02:19 -!- GeoBSD [~geobsd@lns-bzn-31-82-252-241-157.adsl.proxad.net] has quit
[Remote host closed the connection]
02:35 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 240 seconds]
02:39 -!- Cyprien__ [Cyprien@55-25.79-83.cust.bluewin.ch] has joined #go-nuts
02:42 -!- Cyprien_ [Cyprien@209-150.78-83.cust.bluewin.ch] has quit [Ping timeout:
260 seconds]
02:45 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
02:50 -!- Cyprien_ [Cyprien@244-122.79-83.cust.bluewin.ch] has joined #go-nuts
02:52 -!- Cyprien__ [Cyprien@55-25.79-83.cust.bluewin.ch] has quit [Ping timeout:
248 seconds]
02:57 -!- nettok [~netto@200.119.157.2] has joined #go-nuts
02:58 -!- tiger_ [~chatzilla@118.126.12.54] has quit [Read error: Connection reset
by peer]
03:00 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:13 -!- xeon [~chatzilla@118.126.12.54] has joined #go-nuts
03:18 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
03:29 < smw> anyone know what is wrong with this line?  return buf.Bytes()
false . It is in func getUrl(url) (data []byte, err bool) { and I am getting
poc3.go:50: syntax error: unexpected name, expecting semicolon or newline or }
03:32 < KirkMcDonald> It isn't valid syntax.
03:33 < anticw> add a comma
03:33 < smw> oh oops
03:33 < smw> thanks
03:36 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Quit:
Ex-Chat]
03:37 -!- mssm [~mssm@ip-95-221-94-251.bb.netbynet.ru] has quit [Read error:
Operation timed out]
03:39 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Quit: rhelmer]
03:41 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
03:41 -!- tav [~tav@78.151.88.199] has quit [Ping timeout: 265 seconds]
03:46 -!- jhawk28 [~jhawk28@user-142g7u9.cable.mindspring.com] has quit [Remote
host closed the connection]
03:46 -!- tav [~tav@92.24.47.76] has joined #go-nuts
03:46 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: I'm outta heee-eere]
03:48 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Quit: rhelmer]
04:05 -!- nighty__ [~nighty@210.188.173.245] has joined #go-nuts
04:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Ping
timeout: 265 seconds]
04:09 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
04:09 -!- mode/#go-nuts [+v iant] by ChanServ
04:11 -!- dimavs [~dm@202.44.175.125.static.nexnet.net.au] has joined #go-nuts
04:11 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
04:13 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts
04:17 -!- pvc [~omega@c-75-70-165-105.hsd1.co.comcast.net] has joined #go-nuts
04:41 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has joined
#go-nuts
04:46 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
05:03 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has joined #go-nuts
05:04 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has left #go-nuts []
05:14 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
05:16 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 265 seconds]
05:17 -!- arthurschopenhau [~quassel@129.123.253.176] has joined #go-nuts
05:19 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
05:22 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
05:28 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 248 seconds]
05:35 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
05:39 -!- xeon [~chatzilla@118.126.12.54] has quit [Read error: Connection reset
by peer]
05:39 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
05:40 -!- arthurschopenhau [~quassel@129.123.253.176] has quit [Quit:
http://quassel-irc.org - Chat comfortably.  Anywhere.]
05:46 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Quit: (
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )]
05:50 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This
computer has gone to sleep]
05:52 -!- dimavs [~dm@202.44.175.125.static.nexnet.net.au] has quit [Quit: dimavs]
05:56 -!- xeon [~chatzilla@118.126.12.54] has joined #go-nuts
05:56 -!- droid001 [~g1@p4FDCA408.dip.t-dialin.net] has quit [Ping timeout: 265
seconds]
05:57 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
05:57 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
06:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:03 -!- ob [~ob@theuw.net] has joined #go-nuts
06:05 -!- TMKCodes [~toni@87-93-73-82.bb.dnainternet.fi] has quit [Quit: Leaving]
06:08 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
06:21 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
06:23 -!- rhelmer_ [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
06:23 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Read error: Connection reset by peer]
06:28 -!- adu [~ajr@pool-71-191-173-96.washdc.fios.verizon.net] has joined
#go-nuts
06:31 -!- adu [~ajr@pool-71-191-173-96.washdc.fios.verizon.net] has quit [Client
Quit]
06:33 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts
06:36 < plexdev> http://is.gd/98ojO by [Rob Pike] in go/src/pkg/fmt/ -- %q
in fmt: if the object is a Stringer, use String() to get the value to quote.
06:37 -!- adu [~ajr@pool-71-191-173-96.washdc.fios.verizon.net] has joined
#go-nuts
06:39 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This
computer has gone to sleep]
06:43 -!- Cyprien_ [Cyprien@244-122.79-83.cust.bluewin.ch] has quit [Ping timeout:
264 seconds]
06:45 -!- rhelmer_ [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer_]
06:53 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:13 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
07:26 -!- ollins [~ollins@www.inventage.com] has joined #go-nuts
07:34 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
07:36 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
07:36 -!- nettok_ [~netto@200.119.153.3] has joined #go-nuts
07:37 -!- nettok__ [~netto@200.119.155.11] has joined #go-nuts
07:39 -!- nettok [~netto@200.119.157.2] has quit [Ping timeout: 248 seconds]
07:41 -!- nettok_ [~netto@200.119.153.3] has quit [Ping timeout: 276 seconds]
07:46 -!- dimavs [~dm@220.40.233.220.static.exetel.com.au] has joined #go-nuts
07:52 -!- droid001 [~g1@p4FDCACA5.dip.t-dialin.net] has joined #go-nuts
07:58 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has joined #go-nuts
08:05 -!- idea_squirrel [idea_squir@77-21-31-106-dynip.superkabel.de] has joined
#go-nuts
08:13 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
08:16 -!- vomjom [~vomjom@99-157-248-71.lightspeed.stlsmo.sbcglobal.net] has quit
[Ping timeout: 252 seconds]
08:19 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts
08:21 -!- tibshoot [~tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
08:28 -!- vomjom [~vomjom@99-157-248-71.lightspeed.stlsmo.sbcglobal.net] has
joined #go-nuts
08:30 -!- dimavs [~dm@220.40.233.220.static.exetel.com.au] has quit [Quit: dimavs]
08:30 -!- pvc [~omega@c-75-70-165-105.hsd1.co.comcast.net] has quit [Quit:
Leaving]
08:34 -!- nettok__ [~netto@200.119.155.11] has quit [Quit: Ex-Chat]
08:38 -!- wrtp [~rog@89.242.205.202] has joined #go-nuts
08:46 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
09:03 -!- c0nfl|ct [~tiago@83.240.134.68] has joined #go-nuts
09:03 < c0nfl|ct> bom dia
09:13 -!- Archwyrm [~archwyrm@66.249.8.146] has joined #go-nuts
09:25 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
09:34 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has quit [Read
error: Operation timed out]
09:38 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
09:39 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:42 -!- bortzmeyer [~stephane@2a01:e35:2f32:8280:213:e8ff:fe69:590d] has joined
#go-nuts
09:43 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Client Quit]
09:44 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This
computer has gone to sleep]
09:54 -!- ponce [~ponce@paradisia.net] has left #go-nuts []
09:55 < exch> has this been done deliberately?
http://go.pastebin.com/uKCkzKqK This behaviour seems to have come up only recently
09:55 < exch> only seems to wrong when that definition spans multiple lines
10:06 -!- adu [~ajr@pool-71-191-173-96.washdc.fios.verizon.net] has quit [Quit:
adu]
10:07 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
10:13 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
10:20 -!- mssm [~mssm@ip-95-221-127-183.bb.netbynet.ru] has joined #go-nuts
10:21 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
10:24 -!- xeon [~chatzilla@118.126.12.54] has quit [Read error: Connection reset
by peer]
10:28 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
10:46 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
10:47 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has quit [Quit: Lost terminal]
10:58 -!- ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
11:06 -!- bortzmeyer [~stephane@2a01:e35:2f32:8280:213:e8ff:fe69:590d] has quit
[Quit: Leaving.]
11:12 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts
11:13 < ct529> hi everybody ....  is there an eclipse plugin for go?
11:13 < uriel> ct529: http://go-lang.cat-v.org/text-editors/
11:15 < rsaarelm> exch: That's odd.  I'd guess compiler bug.
11:15 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined
#go-nuts
11:16 < rsaarelm> Commas are quite clearly separators, not terminators, so
they shouldn't ever be required after the last element.
11:17 < ct529> uriel: thanks a lot
11:19 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 264 seconds]
11:20 < exch> rsaarelm: yea that's what I figured.  It only started being an
issue after I updated to a recent version
11:20 < exch> last week or so
11:22 -!- DerHorst [~Horst@e176114136.adsl.alicedsl.de] has joined #go-nuts
11:23 -!- tux21b [~christoph@90.146.60.30] has quit [Quit: Ex-Chat]
11:26 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
11:27 < rsaarelm> Maybe you should write it into a complete .go file that
looks like it should compile and submit an issue?
11:27 -!- yatoo [~marcus@host86-153-224-40.range86-153.btcentralplus.com] has
joined #go-nuts
11:27 < rsaarelm> (A complete file so that people can verify the bug by just
running 6g on the file.)
11:45 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
11:49 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
11:51 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.1.1]
11:59 -!- nighty__ [~nighty@210.188.173.245] has quit [Remote host closed the
connection]
12:09 -!- uriel [~uriel@li43-28.members.linode.com] has joined #go-nuts
12:09 -!- daed [daed@countercultured.net] has joined #go-nuts
12:09 -!- t5vaha01 [t5vaha01@rhea.oamk.fi] has joined #go-nuts
12:10 -!- hhg [~hhg@hhg.to] has joined #go-nuts
12:10 -!- daowee [~daowee@ua-83-227-154-166.cust.bredbandsbolaget.se] has joined
#go-nuts
12:10 -!- Cleansy [Cleansy@schokobombe.massenvernichtungswaffeln.de] has joined
#go-nuts
12:10 -!- DJCapelis [~djc@blender/coder/DJCapelis] has joined #go-nuts
12:10 -!- rbn [~ruben@134.102.3.25] has joined #go-nuts
12:10 -!- gnuvince [~vince@72.0.215.40] has joined #go-nuts
12:10 -!- zeroXten [~zeroXten@0x10.co.uk] has joined #go-nuts
12:12 -!- OpenSpace [~ja@212.200.216.100] has quit [Ping timeout: 256 seconds]
12:21 -!- Innominate [~sirrobin@cpe-069-134-170-056.nc.res.rr.com] has joined
#go-nuts
12:25 -!- c0n [~tiago@83.240.134.68] has joined #go-nuts
12:25 -!- DerHorst [~Horst@e176114136.adsl.alicedsl.de] has quit [Quit:
Verlassend]
12:26 -!- c0nfl|ct [~tiago@83.240.134.68] has quit [Ping timeout: 256 seconds]
12:26 -!- mkn [~7c7cdbfa@gateway/web/freenode/x-edjbagdopxpxvzko] has joined
#go-nuts
12:28 -!- c0n [~tiago@83.240.134.68] has quit [Client Quit]
12:28 -!- c0nfl|ct [~tiago@83.240.134.68] has joined #go-nuts
12:32 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
12:34 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
12:37 -!- timepilot [~timepilot@12.230.81.66] has joined #go-nuts
12:40 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
12:50 -!- Anssi_ [~c2640cc2@gateway/web/freenode/x-cepezniazqcxivgo] has joined
#go-nuts
12:53 -!- Anssi_ [~c2640cc2@gateway/web/freenode/x-cepezniazqcxivgo] has quit
[Client Quit]
12:55 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
12:55 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
12:55 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
13:05 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has joined
#go-nuts
13:15 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host
closed the connection]
13:25 -!- mkn [~7c7cdbfa@gateway/web/freenode/x-edjbagdopxpxvzko] has quit [Ping
timeout: 252 seconds]
13:25 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has quit [Remote host
closed the connection]
13:33 -!- OpenSpace [~ja@77.46.200.148] has joined #go-nuts
13:39 -!- OpenSpace [~ja@77.46.200.148] has quit [Ping timeout: 265 seconds]
13:43 -!- timepilot [~timepilot@12.230.81.66] has quit [Quit: WeeChat 0.3.0]
13:54 -!- vdrab [~vdrab@cap015-191.kcn.ne.jp] has joined #go-nuts
13:54 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has
joined #go-nuts
13:54 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
13:57 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
13:59 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Client Quit]
13:59 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
14:05 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
14:09 -!- erus`_ [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
14:09 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Disconnected
by services]
14:09 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
14:10 -!- erus`_ [~chatzilla@mailgate.ips-international.com] has left #go-nuts []
14:10 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
14:14 -!- smcq_ [~smcq@smcq.net] has joined #go-nuts
14:15 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
14:16 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
14:27 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has joined
#go-nuts
14:37 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
14:40 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
14:43 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
14:44 -!- OpenSpace [~ja@109.93.231.99] has joined #go-nuts
14:45 -!- gzmask [~ray@corwin.cat.uregina.ca] has joined #go-nuts
14:45 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
14:46 < gzmask> what is that site that quotes codes and escapes html for yo?
some of you here are already using it.
14:46 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
14:55 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
14:56 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 264 seconds]
15:03 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has
joined #go-nuts
15:04 * Project_2501 hi _o/
15:18 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
15:23 -!- geekcloud [~geekcloud@e176173111.adsl.alicedsl.de] has joined #go-nuts
15:23 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the
connection]
15:26 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts
15:38 -!- geekcloud [~geekcloud@e176173111.adsl.alicedsl.de] has quit [Quit:
Verlassend]
15:44 -!- ilsanto [~max@unaffiliated/ilsanto] has joined #go-nuts
16:05 -!- amacleod [amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
16:06 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
16:11 -!- russell_h [~russell_h@ash.osuosl.org] has quit [Changing host]
16:11 -!- russell_h [~russell_h@osuosl/staff/russellh] has joined #go-nuts
16:16 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
16:18 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
16:19 < gzmask> file.read is not that smart...  look at this code:
http://gist.github.com/314682 It doesn't realize the EOF and stop there.
16:25 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:32 < gzmask> especially when I can't find a function that tells me what
is the length of a file.
16:33 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
16:36 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host
closed the connection]
16:37 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
16:39 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
16:39 -!- expate98 [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has joined
#go-nuts
16:44 < gzmask> hmm, I just discovered that one can repeatedly call
file.read with a small array of bytes to achieve the same goal of saving memory
16:46 -!- Cyprien_ [Cyprien@151-142.78-83.cust.bluewin.ch] has joined #go-nuts
16:46 < usausa> gzmask: Have you looked at the "size" function in
src/pkg/os/os_test.go?
16:47 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
16:47 < usausa> In your pasted code the size of the buffer is indeed 40000,
and you have not kept your own count of the value returned by read.
16:48 < gzmask> no...  so I see a lot of reference here of some functions
inside the src pkg folder but without any documentation in godoc.  is this suppose
to be only to the customary of this development stage?
16:48 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Quit: Leaving]
16:49 < gzmask> and that, yea I can get the count and slice the array.
another way yes
16:50 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
16:51 < usausa> gzmask: Coming to go from a unix and C background, I don't
find the behaviour of read unexpected.  I could make a function that read up to
40000 bytes and returned a slice, and allow the system to GC the old buffer, but
that probably defeats the idea of reading into a buffer to keep the memory usage
down in the first place.
16:51 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:52 -!- ollins [~ollins@www.inventage.com] has quit [Remote host closed the
connection]
16:53 < gzmask> yea I'd like to create a buffer that is exactly the length
of the file so that nothing is wasted.  also not having to repeatedly read the
file so that the code has better readability
16:54 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:55 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
16:55 < gzmask> and the sequential access should be outdated where direct
access will probably take over when SSD is more common.
16:58 < usausa> gzmask: The file.Stat function gives you a number at the
instant that you call it.  However what happens if the file has additional
information appended to it between you doing the stat and you doing the read?
What happens if the "file" is something that does not have a natural size, like a
pipe or a pseudo file like /proc/$$/maps?
17:01 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has quit [Quit:
exit]
17:04 -!- keeto [~keeto@121.54.92.149] has quit [Read error: Connection reset by
peer]
17:04 -!- keeto [~keeto@121.54.92.149] has joined #go-nuts
17:05 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has joined #go-nuts
17:05 < gzmask> usausa: in java, I
17:06 < gzmask> I'd lock the resource
17:06 < gzmask> so that no other process can get in
17:06 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has joined #go-nuts
17:08 -!- expate98 [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has left
#go-nuts []
17:10 < exch> can someone test this?  http://go.pastebin.com/tygEQsZX
17:11 < exch> the error listed in that example occurs in 00a1813e5bc5 tip
17:12 -!- ob [~ob@theuw.net] has left #go-nuts []
17:12 < smw> exch: that is how it works.
17:13 < smw> exch: that has to do with how go handles semicolons
17:14 < exch> it makes little sense this should influence whether or not an
extra comma is required tbh
17:17 < smw> exch: I think the parser adds in the ;'s and that causes weird
problems.
17:17 < exch> hmm
17:18 < exch> that would explain the eror messages
17:19 -!- c0nfl|ct [~tiago@83.240.134.68] has quit [Quit: Saindo]
17:19 < smw> exch: That (I believe) is why a { has to be on the same line as
the function and stuff like that.
17:21 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
17:25 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
17:26 < gzmask> func foo(a, b, c int)
17:26 < gzmask> {
17:26 < gzmask> println(a, b, c)
17:26 < gzmask> }
17:26 < gzmask> / test.go:3: syntax error: unexpected semicolon or newline
before {
17:26 < gzmask> this ...  this is not a bug?
17:26 < smw> nm then lol
17:27 < smw> I do not believe it is a bug.  I just belive it is caused by
that.  But this is just from listening on this channel
17:28 < gzmask> it is not expected to happen from my point of view
17:28 < Kashia> run gofmt before compiling your program, it'll take care of
that?  ;P
17:28 < smw> that works
17:28 < plexdev> http://is.gd/9ayXu by [Kevin Ballard] in go/src/pkg/path/
-- path: Fix bug in Match with non-greedy stars
17:29 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has joined
#go-nuts
17:29 < exch> this really shouldn't be an issue imho.  Perhaps it's time
they hooked gofmt into the compiler to have it 'fix' stuff by default
17:29 < gzmask> corwin:tmp_go_test ray$ gofmt test.go
17:29 < gzmask> test.go:3:1: expected declaration, found '{'
17:29 < gzmask> test.go:4:2: expected declaration, found 'IDENT' println
17:29 < gzmask> test.go:5:0: expected declaration, found ';'
17:29 < gzmask> test.go:6:0: expected declaration, found ';'
17:29 < gzmask> and gofmt does nothing
17:30 < Kashia> hmm..  it doesn't fix that anymore?
17:31 < gzmask> no
17:31 < exch> gofmt crashes on the same errors
17:31 -!- expate98 [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has joined
#go-nuts
17:34 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
17:36 < Kashia> ah, it does fix it for if's
17:37 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has quit [Quit:
Leaving.]
17:37 < Kashia> I guess it just can't (or won't) resolve the conflict of
`func a()` being a declaration and `func a() {` being a definition
17:38 < gzmask> I mean, if you feel like this kind of syntax is tolerable,
then you are probably fall in the "there is only one way to do it" campaign
17:39 < Kashia> well, it is very close to my usual coding style, so I don't
really upset the compiler :/
17:40 < smw> I have just been dealing with the sytax
17:41 < smw> syntax*
17:41 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
17:43 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
17:46 -!- mbarkhau [~koloss@p54A7E66A.dip.t-dialin.net] has joined #go-nuts
17:48 -!- senneth [senneth@irssi/staff/senneth] has quit [Ping timeout: 240
seconds]
17:48 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
17:49 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Read error: Connection reset by peer]
17:49 -!- Mopman [~mopman@29.16.be.static.xlhost.com] has quit [Ping timeout: 260
seconds]
17:49 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
17:49 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
17:49 -!- Mopman [~mopman@29.16.be.static.xlhost.com] has joined #go-nuts
17:52 < gzmask> http://en.wikipedia.org/wiki/Principle_of_least_surprise
17:52 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Read error: Connection reset by peer]
17:52 < gzmask> I hope Golang can follow this
17:53 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
17:53 -!- senneth [senneth@irssi/staff/senneth] has quit [Remote host closed the
connection]
17:54 < JBeshir> gzmask: It's been referenced several times in language
proposal discussions
17:57 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
17:57 -!- senneth [senneth@irssi/staff/senneth] has quit [Remote host closed the
connection]
18:01 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
18:01 -!- aho [~nya@g227091192.adsl.alicedsl.de] has joined #go-nuts
18:02 < plexdev> http://is.gd/9aGui by [Robert Griesemer] in
go/src/pkg/strings/ -- strings: remove a couple of redundant tests
18:03 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
18:04 -!- carllerche [~carllerch@99.22.229.11] has joined #go-nuts
18:06 -!- senneth [senneth@irssi/staff/senneth] has quit [Ping timeout: 268
seconds]
18:06 -!- TMKCodes [~toni@87-95-42-164.bb.dnainternet.fi] has joined #go-nuts
18:12 -!- sjbrown_ [~sjbrown@dsl081-072-059.sfo1.dsl.speakeasy.net] has joined
#go-nuts
18:12 -!- expate98 [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has left
#go-nuts []
18:17 -!- senneth [~senneth@irssi/staff/senneth] has joined #go-nuts
18:17 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
18:18 < plexdev> http://is.gd/9aKyX by [Ian Lance Taylor] in
go/src/pkg/runtime/ -- Use consistent types in .h file and .c file.
18:21 < usausa> gzmask: "In java I would lock the resource", doesn't in my
view address the problem.  The file system is outside the typical java
environment, and is in some sense THE interprocess communication facility.  Sure
you can apply locks to files, which might stop the file being altered.  Does your
environment allow you to lock a pipe?  In my old fashioned view a loop reading a
line (or record) at a time, using buffered I/O and
18:21 < usausa> stopping on EOF is usually the best way to handle things.
Your comment about this changing when the world moves more to SSD and the like I
think is also untrue.  Most OS have the concept of "read ahead" so if you appear
to accessing a file in a sequential manner then the OS will issue speculitive
reads so the data is in main memory before you ask for it.  SSD may be fast, but
it is not as fast as main memory!
18:23 -!- senneth [~senneth@irssi/staff/senneth] has quit [Remote host closed the
connection]
18:23 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
18:28 -!- toni_ [~toni@87-93-37-160.bb.dnainternet.fi] has joined #go-nuts
18:29 -!- senneth [senneth@irssi/staff/senneth] has quit [Remote host closed the
connection]
18:29 -!- TMKCodes [~toni@87-95-42-164.bb.dnainternet.fi] has quit [Ping timeout:
240 seconds]
18:29 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
18:31 -!- blackmagik [~blackmagi@unaffiliated/blackmagik] has joined #go-nuts
18:32 < uriel> "Read reads up to len(b) bytes from the File.  It returns the
number of bytes read and an Error, if any.  EOF is signaled by a zero count with
err set to EOF."
18:32 < uriel> "Read reads up to len(b) bytes from the File.  It returns the
number of bytes read and an Error, if any.  EOF is signaled by a zero count with
err set to EOF."
18:32 < uriel> so I don't quite see the issue
18:33 < uriel> and 'the principle of least surprise' is way overrated
18:33 < uriel> if everything had to be designed to be unsurprising, there
would be no progress
18:35 < plexdev> http://is.gd/9aOw0 by [Russ Cox] in
go/misc/dashboard/godashboard/ -- dashboard: more performance tuning
18:36 -!- senneth [senneth@irssi/staff/senneth] has quit [Remote host closed the
connection]
18:42 -!- tibshoot [~tibshoot@linagora-230-146.pr0.nerim.net] has quit [Quit:
Quitte]
18:44 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
18:47 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has joined
#go-nuts
18:47 -!- carllerche [~carllerch@99.22.229.11] has quit [Quit: carllerche]
18:55 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
18:56 -!- vdrab [~vdrab@cap015-191.kcn.ne.jp] has quit [Quit: vdrab]
18:57 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
19:07 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has joined #go-nuts
19:12 -!- divoxx [~divoxx@208.87.58.193] has joined #go-nuts
19:15 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
19:18 -!- ako [~nya@f051087135.adsl.alicedsl.de] has joined #go-nuts
19:21 -!- aho [~nya@g227091192.adsl.alicedsl.de] has quit [Ping timeout: 264
seconds]
19:26 -!- ericvh_ [~ericvh@32.97.110.65] has joined #go-nuts
19:29 -!- ericvh [~ericvh@32.97.110.63] has quit [Ping timeout: 240 seconds]
19:30 -!- ericvh_ [~ericvh@32.97.110.65] has quit [Remote host closed the
connection]
19:30 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
19:34 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
quit [Quit: Leaving.]
19:35 -!- senneth [senneth@irssi/staff/senneth] has joined #go-nuts
19:44 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:58 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
peace in teh middle east]
20:00 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
20:01 < gzmask> The rule is this.  If the last token before a newline is an
identifier (which includes words like int and float64), a basic literal such as a
number or string constant, or one of the tokens
20:01 < gzmask> break continue fallthrough return ++ -- ) }
20:01 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
20:01 < gzmask> this is very implicit
20:01 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Excess Flood]
20:02 < gzmask> and I just learn this until now
20:02 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
20:02 < gzmask> should make this information more "in your face" so that
newbs like me won't get too confuse
20:04 < KirkMcDonald> I am still annoyed that this was implemented as a
lexical hack, rather than somehow fitting it into the grammar.
20:04 < KirkMcDonald> Although that may carry its own complications.
20:06 < gzmask> Indeed, coming from a ruby background here, this is a big
surprise to me.  Feels like google haven't make up their mind yet wether to make a
semicolon-less language
20:09 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has quit [Remote host
closed the connection]
20:09 < divoxx> sorry, what are you guys discussing?
20:09 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has joined #go-nuts
20:09 < gzmask> semicolon in golang
20:10 < gzmask> being insert by the lexer in a hacky way
20:12 < divoxx> so the lexer actually injects the semi colon rather than
being specified in the gramar?
20:12 < gzmask> http://golang.org/doc/effective_go.html#semicolons
20:12 < divoxx> I didn't know that :)
20:12 < gzmask> The rule is this.  If the last token before a newline is an
identifier (which includes words like int and float64), a basic literal such as a
number or string constant, or one of the tokens
20:12 < gzmask> break continue fallthrough return ++ -- ) }
20:12 < gzmask> the lexer always inserts a semicolon after the token.  This
could be summarized as, “if the newline comes after a token that could end a
statement, add a semicolon”.
20:14 < divoxx> I wonder if there is any good reason to use semicolon at all
20:14 < divoxx> l
20:15 < divoxx> or make it a command separator rather than a command
terminator
20:15 < divoxx> similar to ruby
20:16 < gzmask> ruby get rid of for (i=0;i++;i<n) by .each
20:17 < gzmask> so that it can completely free from semicolons
20:18 < divoxx> well, ruby doesn't created .each because of semicolons...
it simply found a awesome use case for it's blocks/closures :)
20:18 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
20:19 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has quit [Read
error: Operation timed out]
20:19 -!- ako [~nya@f051087135.adsl.alicedsl.de] has left #go-nuts []
20:19 < gzmask> definitely.  semicolon isn't the cause
20:19 < divoxx> well you can do the same type of iterator on go using
anonymous functions
20:20 < divoxx> it is not as beautiful as a ruby block but would work :)
20:20 < gzmask> like {1..  10}.each do |shit| print shit ?
20:21 < gzmask> hmm, looking for a good example for regex in Go...
20:22 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
20:22 -!- alm [~alm@wnpgmb0516w-ad03-175-222.dynamic.mts.net] has joined #go-nuts
20:23 < gzmask> divoxx: and I don't blame Go for that, it's compiled
language
20:24 < divoxx> definitely...  go is already awesome enough for having such
dynamic concepts built on top of a compiled language
20:24 < gzmask> so we can say ruby will never catch up with Go's performance
20:24 < divoxx> such as it's interface typing system
20:24 < divoxx> for sure it won't
20:25 < gzmask> so in Go functions can be used like javascript first level
functions?
20:25 < gzmask> first-class *
20:27 -!- nanooo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
20:28 < divoxx> yes
20:29 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Ping timeout:
256 seconds]
20:31 < divoxx> so, something like this is possible: func Each(intArr int[],
iter func(int)) { for i := range intArr { func(i) } }
20:31 < divoxx> of course, I think without generics you can't write a
generic function that would work for all types
20:32 < divoxx> ops, type there...  should be iter(i) instead of func(i)
20:32 < divoxx> *typo
20:32 < divoxx> lol :)
20:34 < gzmask> nice, how about func *func(int) Each(...) {...} so that we
can some_func(i).Each(...)
20:35 < divoxx> no I don't think that will work
20:35 -!- djm [~djm@paludis/slacker/djm] has quit [Ping timeout: 252 seconds]
20:36 < divoxx> but maybe func (F *func(int)) Each(arr int[]) { } might work
20:36 < divoxx> then you'd call some_func.Each(...)
20:36 < divoxx> I'm just guessing here though
20:40 < gzmask> that's what I meant.  head is a mess now trying to figure
out how regexp work in Go lol
20:41 -!- djm_ [~djm@paludis/slacker/djm] has joined #go-nuts
20:42 < divoxx> http://golang.org/pkg/regexp/
20:42 -!- hevalbaranov [~hevalbara@88.247.171.117] has joined #go-nuts
20:43 < gzmask> yea looking at it.  it seems you need to construct your
regexp as a string first then compile it to regexp* type, and such
20:43 < divoxx> var reg := regexp.Compile('^foo'); reg.Match('foo')
20:44 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
20:45 < gzmask> cool that should be how it work.
20:45 < leonod> How do you create a TCPAddr ?
20:47 < gzmask> but where is the pre-match and post-match string store?
20:48 < gzmask> ah nvm, MatchStrings() lol
20:48 < divoxx> &net.TCPAddr{IP: net.ParseIP('200.1.2.3'), Port: 80} ?
20:51 < divoxx> gzmask: by the way I just tested that function as receiver
thing but it doesn't work
20:53 < gzmask> the func (F *func(int)) Each(arr int[]) { } way wouldn't
work?
20:53 < divoxx> yea
20:53 < divoxx> invalid receiver type *func(int)
20:53 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:53 < divoxx> this work though http://gist.github.com/315024
20:54 -!- strlen [~alex@behemoth.strlen.net] has quit [Ping timeout: 260 seconds]
20:55 < gzmask> forked as reference later
21:02 -!- c0nfl|ct [~tiago@bl14-236-74.dsl.telepac.pt] has joined #go-nuts
21:03 < c0nfl|ct> boa noite
21:04 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 245 seconds]
21:04 -!- nanooo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit:
Leaving]
21:04 -!- fenicks1 [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
21:04 -!- fenicks1 [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
21:07 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has joined
#go-nuts
21:08 -!- blackmagik [~blackmagi@unaffiliated/blackmagik] has left #go-nuts
["Leaving"]
21:15 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
21:16 -!- asmo [~asmo@c-f6c5e055.1155-1-64736c11.cust.bredbandsbolaget.se] has
quit [Remote host closed the connection]
21:24 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Read error:
Connection reset by peer]
21:28 -!- carllerche_ [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
21:29 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Quit: Leaving]
21:32 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit [Ping
timeout: 246 seconds]
21:37 < plexdev> http://is.gd/9bwAw by [Robert Griesemer] in
go/src/pkg/tabwriter/ -- tabwriter: indicate section breaks if Debug flag is set
21:41 -!- eliteSchaf [~sinz@93-82-126-126.adsl.highway.telekom.at] has joined
#go-nuts
21:43 -!- ikke [~ikkibr@unaffiliated/ikkebr] has quit []
21:43 < eliteSchaf> hey!  has anyone tried to use gofmt within gedit?
21:46 -!- stableable [~CM__@host86-170-71-142.range86-170.btcentralplus.com] has
joined #go-nuts
21:49 < stableable> Hi - i'm using an hg clone of go from an hour ago, and
running "all.bash" results in the following error: http://pastebin.com/ghNkW9bi --
I am not using http_proxy, and I can wget stuff fine for instance.  Port 53 is
open on my firewall, what could be causing the failure?  (When I say open, I can
telnet to it.)
21:50 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Read error: Connection
reset by peer]
21:51 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
21:54 < plexdev> http://is.gd/9bAy8 by [Robert Griesemer] in 4 subdirs of
go/src/pkg/ -- go/printer, gofmt: correct indentation after certain /*-style
comments
21:55 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has quit [Quit: Leaving]
21:57 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit
[Remote host closed the connection]
21:57 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
21:58 -!- sudi [~chatzilla@dslb-084-056-015-010.pools.arcor-ip.net] has quit [Ping
timeout: 268 seconds]
21:59 < divoxx> stableable: I only saw that happen when there is a firewall
or proxy preventing it to work
21:59 < divoxx> anyway, that's just the tests
22:00 < divoxx> you can call ./make.bash and ./sudo.bash in separate
22:00 < divoxx> it wil build and install afaik
22:02 -!- c0nfl|ct [~tiago@bl14-236-74.dsl.telepac.pt] has quit [Quit: Saindo]
22:03 -!- hevalbaranov [~hevalbara@88.247.171.117] has quit [Quit: WeeChat
0.2.6.3]
22:06 < stableable> divoxx: Thanks - that worked
22:06 -!- eliteSchaf [~sinz@93-82-126-126.adsl.highway.telekom.at] has quit [Quit:
Ex-Chat]
22:07 < Venom_X> hi, is there a go library for any nosql DBs?  maybe
cassandra, or I guess technically thrift?
22:07 < gzmask> what's all the hype about nosql?  I heard mongoDb
22:08 < usausa> stableable: I have the same issue, I fix it by telling GO
that I have no IPv6 support
22:08 < divoxx> nosql is nice, doesn't replace RDMS imho though
22:08 < stableable> usausa: Ah - yep that'd explain it
22:10 < Venom_X> no, not a replacement.  Just an efficiency for large data
stores
22:10 -!- d3xter [~sinz@93-82-126-126.adsl.highway.telekom.at] has joined #go-nuts
22:11 < usausa> stableable: In src/pkg/net/sockio.go, I just add a first
line to "kernelSupportsIPv6" to return false always.
22:13 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 245 seconds]
22:13 < Venom_X> I remember there being a site that people would post libs
written in go, or cgo..  what was it?
22:13 -!- scm [justme@d019022.adsl.hansenet.de] has quit [Ping timeout: 245
seconds]
22:14 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has joined
#go-nuts
22:15 -!- scm [justme@c178003.adsl.hansenet.de] has joined #go-nuts
22:15 -!- wrtp [~rog@89.242.205.202] has quit [Quit: wrtp]
22:16 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
22:16 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has quit [Client
Quit]
22:24 -!- gzmask [~ray@corwin.cat.uregina.ca] has quit [Quit: gzmask]
22:25 -!- ericvh [~ericvh@32.97.110.63] has left #go-nuts []
22:31 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
22:31 <+iant> Venom_X: http://go-lang.cat-v.org/
22:32 < Venom_X> that's the one, thanks iant
22:34 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has quit [Ping timeout:
256 seconds]
22:39 -!- mbarkhau [~koloss@p54A7E66A.dip.t-dialin.net] has quit [Quit: Leaving.]
22:40 -!- b00m_chef__ [~watr@173.183.31.245] has joined #go-nuts
22:45 < smw> what is the suggested way to read a config file?
22:47 -!- b00m_chef__ [~watr@173.183.31.245] has quit [Ping timeout: 240 seconds]
22:55 < plexdev> http://is.gd/9bPOP by [Stephen Weinberg] in go/src/pkg/net/
-- Fix small typo in net package.
22:57 -!- vdrab [~vdrab@cap015-191.kcn.ne.jp] has joined #go-nuts
22:58 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:59 -!- PHR3AK5 [~Phr3ak@196-210-44-8.dynamic.isadsl.co.za] has joined #go-nuts
22:59 -!- PHR3AK5 [~Phr3ak@196-210-44-8.dynamic.isadsl.co.za] has left #go-nuts []
23:04 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
23:05 -!- wmat [~btraynor@gromit.mixdown.ca] has joined #go-nuts
23:12 < plexdev> http://is.gd/9bTY6 by [Russ Cox] in 3 subdirs of go/ -- gc:
implement []int(string) and []byte(string)
23:14 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
23:15 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:16 -!- MarkBao [~MarkBao@64.134.96.99] has joined #go-nuts
23:19 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 246 seconds]
23:25 -!- fulston [~CM__@host81-154-68-210.range81-154.btcentralplus.com] has
joined #go-nuts
23:27 -!- fulston [~CM__@host81-154-68-210.range81-154.btcentralplus.com] has left
#go-nuts []
23:28 -!- stableable [~CM__@host86-170-71-142.range86-170.btcentralplus.com] has
quit [Ping timeout: 265 seconds]
23:29 -!- ilsanto [~max@unaffiliated/ilsanto] has quit [Ping timeout: 248 seconds]
23:38 -!- nettok [~netto@proxy.galileo.edu] has joined #go-nuts
23:40 -!- vdrab [~vdrab@cap015-191.kcn.ne.jp] has quit [Quit: vdrab]
23:44 -!- mssm [~mssm@ip-95-221-127-183.bb.netbynet.ru] has quit [Ping timeout:
264 seconds]
23:59 < plexdev> http://is.gd/9c4vU by [Robert Griesemer] in
go/src/pkg/tabwriter/ -- tabwriter: make use of new []byte() conversion
23:59 < plexdev> http://is.gd/9c4wd by [Russ Cox] in 42 subdirs of go/ --
strings: delete Runes, Bytes
--- Log closed Fri Feb 26 00:00:16 2010