Go Language Resources Go, golang, go... NOTE: This page ceased updating in October, 2012

--- Log opened Sun Jun 13 00:00:11 2010
00:06 -!- korfuri_ [~korfuri@eth0.korfuri.fr] has quit [Ping timeout: 248 seconds]
00:06 -!- korfuri [~korfuri@eth0.korfuri.fr] has joined #go-nuts
00:11 -!- kanru [~kanru@61-228-154-61.dynamic.hinet.net] has quit [Read error:
Operation timed out]
00:16 -!- photron [~photron@port-92-201-100-145.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
00:16 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
00:18 -!- Eko1 [~eko@64.134.239.26] has joined #go-nuts
00:23 -!- felipe [~felipe@my.nada.kth.se] has quit [Ping timeout: 276 seconds]
00:27 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
00:46 -!- mikespook [~mikespook@58.61.205.118] has joined #go-nuts
00:48 < vrtical> Hey guys, what do you think of the 'type switches' syntax?
00:48 < vrtical> I was very confused by a couple of lines in Russ Cox's part
of the Google I/O talk: func (x int) BinaryOp(op string, y Value) Value {
00:49 < vrtical> switch y := y.(type) { ...
00:50 < vrtical> that y := y.(type) line looked awfully strange to me.  Is
that doing something clever, turning a y of type Value into an int/string/whatever
is passed in, or is it just strange syntax?
00:51 < ampleyfly> could it be switch y := y, (type) { ...  } ?
00:51 < ampleyfly> not that that would make any sense
00:52 < vrtical> I haven't compiled it yet so I can't be sure, but I would
guess that it's not a bug.  The language spec has an example switch i := x.(type)
{
00:53 < vrtical> it was specifically y := y.(type) that confused me.
00:53 < ampleyfly> well, don't ask me =)
00:54 -!- ako [~nya@f050243226.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
00:57 -!- slashus2 [~slashus2@74-137-77-71.dhcp.insightbb.com] has joined #go-nuts
01:01 -!- slashus2 [~slashus2@74-137-77-71.dhcp.insightbb.com] has quit [Ping
timeout: 245 seconds]
01:01 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
01:06 -!- cthom [~cthom@ip68-10-255-97.hr.hr.cox.net] has quit [Quit: Leaving]
01:07 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has quit [Quit:
bedwards]
01:11 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has joined
#go-nuts
01:15 -!- Eko1 [~eko@64.134.239.26] has joined #go-nuts
01:18 < Eko1> vrtical: It makes more sense when you understand the .() type
assertion syntax… with "a.(type)" you are kinda "casting" a into a "type" type,
which can then be switched upon.
01:18 -!- Eko [~eko@64.134.239.26] has quit [Disconnected by services]
01:32 -!- ananda [~ananda@s55928d18.adsl.wanadoo.nl] has joined #go-nuts
01:41 -!- eko [~eko@64.134.239.26] has quit [Quit: Leaving.]
01:42 < vrtical> eko: thanks.  The example replacing a type switch with an
if-else chain full of type assertions makes more sense to me now you've said that.
01:43 < vrtical> But would it be fair to say that this process turns y from
some sort of vague interface type into something more concrete?  And do you *have*
to do this to do anything useful with y?
01:44 < Namegduf> No, if you take an interface, you normally just call
methods in it
01:47 < vrtical> Uh, yes.  My 'anything useful' was clearly a silly thing to
say :-)
01:55 -!- PeterT [PeterT@unaffiliated/petert] has joined #go-nuts
01:55 -!- PeterT [PeterT@unaffiliated/petert] has left #go-nuts ["Leaving"]
02:06 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
02:10 -!- mikespook1 [~mikespook@58.61.201.183] has joined #go-nuts
02:10 -!- mikespook [~mikespook@58.61.205.118] has quit [Ping timeout: 276
seconds]
02:24 -!- mikespook1 [~mikespook@58.61.201.183] has quit [Quit: Leaving.]
02:24 -!- mikespook [~mikespook@58.61.201.183] has joined #go-nuts
02:50 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has quit [Quit:
bedwards]
03:01 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 260 seconds]
03:03 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has joined
#go-nuts
03:48 -!- Vova [~Vova@77.127.69.68] has joined #go-nuts
03:49 -!- noam_ [~noam@77.127.165.193] has joined #go-nuts
03:50 -!- Vovchik [~Vova@77.127.69.68] has quit [Ping timeout: 260 seconds]
03:52 -!- noam__ [~noam@77.127.165.193] has quit [Ping timeout: 272 seconds]
03:55 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has quit [Quit:
bedwards]
03:55 -!- path[l] [~path@120.138.102.50] has quit [Quit: path[l]]
03:58 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
04:09 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 240
seconds]
04:24 -!- dforsyth [~dforsyth@pool-96-231-169-83.washdc.fios.verizon.net] has quit
[Quit: leaving]
04:25 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
04:54 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 240
seconds]
04:59 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 245 seconds]
05:00 -!- scm [justme@d057067.adsl.hansenet.de] has quit [Ping timeout: 265
seconds]
05:02 -!- scm [justme@d070002.adsl.hansenet.de] has joined #go-nuts
05:12 -!- mikespook [~mikespook@58.61.201.183] has quit [Quit: Leaving.]
05:13 -!- mikespook [~mikespook@58.61.201.183] has joined #go-nuts
05:15 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
05:15 -!- mode/#go-nuts [+v iant] by ChanServ
05:52 -!- Boney [~paul@124.168.80.48] has quit [Ping timeout: 258 seconds]
05:53 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
05:59 -!- Boney [~paul@203-217-82-244.dyn.iinet.net.au] has joined #go-nuts
06:07 -!- gnuvince [~vince@70.35.167.184] has quit [Ping timeout: 245 seconds]
06:08 -!- gnuvince [~vince@64.235.212.139] has joined #go-nuts
06:20 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
06:35 -!- illya77 [~illya77@50-146-178-94.pool.ukrtel.net] has joined #go-nuts
06:40 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
604 seconds]
06:42 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
06:48 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
07:02 -!- illya77 [~illya77@50-146-178-94.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
07:09 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:12 -!- awidegreen [~quassel@62.176.237.78] has quit [Read error: Connection
reset by peer]
07:12 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
07:12 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:14 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
07:21 -!- slashus2_ [~slashus2@m645e36d0.tmodns.net] has joined #go-nuts
07:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Ping
timeout: 245 seconds]
07:22 -!- slashus2__ [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined
#go-nuts
07:24 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 245
seconds]
07:25 -!- slashus2_ [~slashus2@m645e36d0.tmodns.net] has quit [Ping timeout: 240
seconds]
07:38 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
07:54 -!- surma [~surma@91-64-16-168-dynip.superkabel.de] has joined #go-nuts
07:58 -!- wrtp [~rog@92.17.59.90] has joined #go-nuts
08:01 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
08:11 < waterwalker> why don't we have "comma ok" for array indexing?
08:11 < waterwalker> if value, ok := array[index]; ok { Rejoice(value) }
08:13 < waterwalker> it's not a huge issue having to write "if index >= 0
&& index < len(array)", but it would just seem so fitting for Go
08:14 < waterwalker> and as the bounds checking is already there *anyway*,
we end up doing things twice
08:14 < rsaarelm> Bounds checking can be disabled with a compiler flag.
08:14 < waterwalker> hmm, true
08:15 < rsaarelm> There's a precedent for changing semantics with multiple
lvalues though, like how blocking works when reading from channels.
08:15 -!- BrowserUk [~irc1_20_B@92.15.61.192] has joined #go-nuts
08:15 < rsaarelm> So an implicit optimization-defeating bounds check when
comma ok is present doesn't sound that bad.
08:16 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: leaving]
08:17 < waterwalker> I'm not familiar with the implementation, so I can't
tell
08:17 < waterwalker> but we already have this for maps, channels and type
conversion
08:18 < waterwalker> perhaps I should ask this on the mailing list
08:19 < rsaarelm> You could.  Sounds like it's worth a thought.
08:21 < waterwalker> I vaguely remember someone mentioning this some time
ago, but I can't find it now
08:22 < waterwalker> did't give it much thought at the time
08:29 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
624 seconds]
08:32 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
08:34 -!- mikespook [~mikespook@58.61.201.183] has quit [Quit: Leaving.]
08:35 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-182-64.clienti.tiscali.it] has
joined #go-nuts
08:35 < BrowserUk> What does p9rfork do?
08:36 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
08:41 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
08:42 < waterwalker> it returns -1
08:42 -!- mikespook [~mikespook@58.61.201.183] has joined #go-nuts
08:48 -!- Ina [~ina@5ED73781.cable.ziggo.nl] has quit [Ping timeout: 240 seconds]
08:48 < BrowserUk> waterwalker: Useful.
08:49 < waterwalker> indeed :)
08:50 < waterwalker> must be a stub
08:52 < BrowserUk> Makes it easy to port I guess :) Another .1% succes.
08:56 -!- surma [~surma@91-64-16-168-dynip.superkabel.de] has quit [Quit:
Leaving.]
08:59 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
09:01 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
09:06 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
09:11 -!- wrtp [~rog@92.17.59.90] has quit [Quit: wrtp]
09:11 -!- wrtp [~rog@92.17.59.90] has joined #go-nuts
09:12 -!- napsy_ [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
09:32 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
09:32 -!- mikespook [~mikespook@58.61.201.183] has quit [Quit: Leaving.]
09:33 -!- napsy_ [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: Lost
terminal]
09:37 -!- photron [~photron@port-92-201-112-88.dynamic.qsc.de] has joined #go-nuts
09:42 -!- marsu [~marsu@93.12.55.72] has joined #go-nuts
09:49 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit:
Ideal]
09:56 -!- felipe [~felipe@my.nada.kth.se] has joined #go-nuts
09:59 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
10:00 -!- slashus2__ [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2__]
10:07 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
10:25 -!- rbn [~ruben@134.102.3.25] has quit [Quit: leaving]
10:34 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:37 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
10:38 -!- ikaros [~ikaros@f051066015.adsl.alicedsl.de] has joined #go-nuts
10:41 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
10:49 -!- BrowserUk [~irc1_20_B@92.15.61.192] has left #go-nuts []
11:15 -!- xeon [~chatzilla@222.73.189.45] has joined #go-nuts
11:17 -!- ita [~waf@kde/developer/tnagy] has joined #go-nuts
11:22 -!- vdrab [~vdrab@cap004-163.kcn.ne.jp] has joined #go-nuts
11:35 -!- aho [~nya@g228021135.adsl.alicedsl.de] has joined #go-nuts
11:36 -!- OpenSpace [~ja@212.200.195.29] has quit [Ping timeout: 264 seconds]
11:38 -!- OpenSpace [~ja@93.87.132.245] has joined #go-nuts
11:39 -!- ananda [~ananda@s55928d18.adsl.wanadoo.nl] has quit [Read error:
Operation timed out]
11:51 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
11:58 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:09 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
12:09 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
12:14 -!- Kashia [~Kashia@p54AB7B37.dip.t-dialin.net] has joined #go-nuts
12:14 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
12:19 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has joined
#go-nuts
12:20 -!- bedwards [~bedwards@cpe-66-68-70-92.austin.res.rr.com] has quit [Client
Quit]
12:21 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Ping timeout:
245 seconds]
12:26 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
12:28 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
12:35 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Quit:
Verlassend]
13:00 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-182-64.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
13:03 -!- rusua [~Ru@155.83.wms.cz] has joined #go-nuts
13:03 -!- rusua [~Ru@155.83.wms.cz] has quit [Client Quit]
13:04 -!- xeon [~chatzilla@222.73.189.45] has quit [Ping timeout: 248 seconds]
13:07 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-182-64.clienti.tiscali.it] has
joined #go-nuts
13:11 -!- ikaros [~ikaros@f051066015.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
13:20 -!- tux21b [~christoph@90.146.60.30] has quit [Read error: Operation timed
out]
13:24 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
13:27 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
13:42 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
13:42 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Client Quit]
13:42 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
13:43 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Client Quit]
13:44 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
13:45 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Remote host
closed the connection]
13:45 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
13:45 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Client Quit]
13:45 -!- MizardX [~MizardX@217-208-159-73-no147.tbcn.telia.com] has joined
#go-nuts
13:45 -!- MizardX [~MizardX@217-208-159-73-no147.tbcn.telia.com] has quit
[Changing host]
13:45 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
14:13 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
14:20 -!- rejb [~rejb@p54B65DBF.dip.t-dialin.net] has joined #go-nuts
14:20 -!- rejb [~rejb@p54B65DBF.dip.t-dialin.net] has quit [Changing host]
14:20 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:21 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
14:24 -!- vdrab [~vdrab@cap004-163.kcn.ne.jp] has quit [Quit: vdrab]
14:29 -!- ananda [~ananda@s55928d18.adsl.wanadoo.nl] has joined #go-nuts
14:35 -!- Kashia [~Kashia@p54AB7B37.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
14:37 -!- visof_ [~visof@41.233.110.44] has joined #go-nuts
14:40 -!- marsu [~marsu@93.12.55.72] has quit [Quit: Leaving]
14:40 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 245 seconds]
14:42 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:52 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
15:17 -!- Kashia [~Kashia@p54AB7B37.dip.t-dialin.net] has joined #go-nuts
15:19 -!- visof__ [~visof@41.233.118.160] has joined #go-nuts
15:22 -!- visof_ [~visof@41.233.110.44] has quit [Ping timeout: 260 seconds]
15:23 -!- Ina [~ina@62.140.137.125] has joined #go-nuts
15:23 -!- visof__ [~visof@41.233.118.160] has quit [Client Quit]
15:24 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
15:33 -!- Kashia [~Kashia@p54AB7B37.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
15:39 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
15:40 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 260 seconds]
15:52 -!- visof [~visof@unaffiliated/visof] has quit [Remote host closed the
connection]
15:59 -!- kixu [~renbeb@89-201-151-109.dsl.optinet.hr] has joined #go-nuts
16:01 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
16:02 -!- kanru [~kanru@61-228-155-207.dynamic.hinet.net] has joined #go-nuts
16:03 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Client Quit]
16:06 -!- noam_ [~noam@77.127.165.193] has quit [Read error: Connection reset by
peer]
16:06 -!- noam_ [~noam@77.127.165.193] has joined #go-nuts
16:13 -!- Elizabeth` [~ina@62.140.137.125] has quit [Ping timeout: 276 seconds]
16:18 -!- clamiax [~clamiax@unaffiliated/clamiax] has joined #go-nuts
16:18 < clamiax> hi
16:27 -!- ikaros [~ikaros@f051066015.adsl.alicedsl.de] has joined #go-nuts
16:32 -!- cmpitg [~cmpitg@113.22.103.56] has joined #go-nuts
16:32 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:fd63:2bbd:eabb:2966] has joined
#go-nuts
16:32 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
16:37 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
16:37 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:38 < clamiax> I'm trying to build go by following the official
documentation on golang.org.  Though, I get an error during a test while getting
robots.txt from google.com.
16:38 < clamiax> I'm connected (as you can image) but a network unreachable
error is print.  Here is the relevant output: http://codepad.org/UafGMvfs
16:38 < clamiax> Does anyone can point me to the right URI/doc/whatever?
16:39 < clamiax> Thanks in advance.
16:43 -!- cmpitg [~cmpitg@113.22.103.56] has quit [Quit: Ex-Chat]
16:43 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
16:53 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has joined
#go-nuts
16:57 < bortzmeyer> clamiax: it looks like a DNS problem.  The Go runtime
cannot talk to the DNS server ("udp 192.168.1.1:53: network is unreachable") Test
with 'dig @192.168.1.1 A www.google.com'
17:01 -!- prip [~foo@host231-125-dynamic.35-79-r.retail.telecomitalia.it] has quit
[Read error: Connection reset by peer]
17:05 -!- kixu [~renbeb@89-201-151-109.dsl.optinet.hr] has quit [Remote host
closed the connection]
17:06 -!- cthom [~cthom@ip68-10-255-97.hr.hr.cox.net] has joined #go-nuts
17:09 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
17:10 -!- prip [~foo@host231-125-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
17:29 -!- ikaros [~ikaros@f051066015.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
17:31 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-182-64.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
17:36 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
17:41 < clamiax> bortzmeyer: yes, it's not a real DNS, just the IP of my
router which usually do reversing for me
17:42 < clamiax> I'm trying to setup the real DNS
17:46 < clamiax> It seems it's working.  Thanks bortzmeyer!
17:47 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
17:48 < clamiax> No, forget.  It doesn't works.
17:52 -!- alehorst [~alehorst@189.58.2.93.dynamic.adsl.gvt.net.br] has quit
[Remote host closed the connection]
17:53 -!- illya77 [~illya77@50-146-178-94.pool.ukrtel.net] has joined #go-nuts
17:54 < clamiax> same problem with my ISP's DNS nameservers
17:54 < clamiax> Get http://www.google.com/robots.txt: dial tcp
www.google.com:http: dial udp 193.70.192.25:53: network is unreachable
17:54 -!- Jimmio [~Jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has quit [Read
error: Connection reset by peer]
17:58 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has joined #go-nuts
17:59 < clamiax> I restored my 192.168.1.1 DNS and the above dig(1) command
works properly (by returning right IP of google.com)
18:00 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
18:02 -!- noam_ [~noam@77.127.165.193] has quit [Read error: Connection reset by
peer]
18:02 -!- noam_ [~noam@77.127.165.193] has joined #go-nuts
18:02 < clamiax> Well, test is failed but the compiler seems to be there.
It would be wrong if I leave everything as is?
18:07 -!- ananda [~ananda@s55928d18.adsl.wanadoo.nl] has left #go-nuts []
18:19 < bortzmeyer> clamiax: the risk is that every Go program you write
will have a problem when resolving names.
18:19 < clamiax> bortzmeyer: yes, you are right.  But why such problem
occurs?  Everything is working properly here!
18:20 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
18:23 < clamiax> By reading the client_test.go source it seems that
``current test merely verifies that we can retrieve the Google robots.txt file''.
18:23 < clamiax> I wouldn't that the problem is related to a bad test
implementation.
18:26 < TenOfTen> kmeyer: i'm still here if you want to answer ;)
18:27 < kmeyer> what am I answering?
18:27 < TenOfTen> kmeyer: did you have a working full code example for go
and c++ understanding the same protobuf data?
18:27 < kmeyer> not one I'm willing to publish right now :)
18:29 < TenOfTen> okay.  any idea if some types aren't working in go?  these
are the ones i tried with, my .proto file http://paste.pocoo.org/show/224987/
18:29 < TenOfTen> i couldnt find info on how to use the repeated types with
the go api
18:31 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has quit [Read error:
Connection reset by peer]
18:31 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts
18:33 < kmeyer> no idea, sorry
18:34 < clamiax> brb
18:35 -!- clamiax [~clamiax@unaffiliated/clamiax] has quit [Quit: clamiax]
18:36 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
18:37 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
18:41 -!- clamiax [~clamiax@unaffiliated/clamiax] has joined #go-nuts
18:41 < clamiax> re
18:41 < clamiax> I'm trying to disable http test (but still leaving the net
test there).
18:41 < clamiax> Hope it'll work.
18:42 < clamiax> omg
18:42 < clamiax> Lots of others network-related errors now, all ending with
network unreacheable
18:42 < clamiax> I'm going to disable the network tests.
18:44 -!- snearch [~snearch@f053008214.adsl.alicedsl.de] has quit [Quit:
Verlassend]
18:53 < clamiax> it worked.  2 known bugs.  It's okay
18:54 < clamiax> thx for your help.
18:57 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
19:08 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:fd63:2bbd:eabb:2966] has quit
[Quit: Leaving.]
19:10 -!- illya77 [~illya77@50-146-178-94.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
19:17 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
19:22 -!- scm [justme@d070002.adsl.hansenet.de] has quit [Ping timeout: 260
seconds]
19:27 -!- noam_ [~noam@77.127.165.193] has quit [Read error: Connection reset by
peer]
19:27 -!- noam_ [~noam@77.127.165.193] has joined #go-nuts
19:28 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
19:32 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
19:38 -!- marsu [~marsu@93.12.55.72] has joined #go-nuts
19:43 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has joined #go-nuts
19:45 -!- tvw [~tv@e176002018.adsl.alicedsl.de] has joined #go-nuts
19:59 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has quit [Read error:
Connection reset by peer]
20:00 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has joined #go-nuts
20:04 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
20:16 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
20:19 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
20:23 -!- yaroslav [~yaroslav@91.78.101.148] has joined #go-nuts
20:26 -!- smw [~smw@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
20:36 -!- xeon [~chatzilla@222.73.189.45] has joined #go-nuts
20:36 -!- smw [~smw@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:38 -!- yaroslav [~yaroslav@91.78.101.148] has quit [Quit: yaroslav]
20:40 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
20:42 < MizardX> Given a format (f string) and a slice of values (a
[]interface{}), is there any simple way of formatting f using values from a?
20:43 < MizardX> fmt.Sprintf() only accepts varargs.
20:46 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
20:48 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
20:48 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has joined
#go-nuts
20:52 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has quit [Read error:
Connection reset by peer]
20:52 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has joined #go-nuts
20:53 -!- tvw [~tv@e176002018.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
20:53 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
20:54 -!- virl [~virl__@chello062178085149.1.12.vie.surfer.at] has joined #go-nuts
20:54 -!- scm [justme@d070002.adsl.hansenet.de] has joined #go-nuts
20:54 < virl> how active is the go community?
20:55 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
20:55 -!- tvw [~tv@e176002018.adsl.alicedsl.de] has joined #go-nuts
20:55 -!- Jimmio [~Jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has joined
#go-nuts
20:56 < Jimmio> Does a writing something to a channel cause the thread to
wait until something reads it or does it add it to it and continue on?
20:57 < exch> Jimmio: that depends on whether or not the channel is biffered
and if there is space in the channel
20:57 < Jimmio> Does writing*
20:57 < exch> if there is no space, it will block and wait
20:58 < Jimmio> You can specify if it should be buffered and the size of it?
o.o
20:58 < Jimmio> I had no idea.
20:58 < exch> yes
20:58 < exch> ch := make(chan int, 123)
20:58 < exch> where 123 is the size of the buffer
20:58 < Jimmio> 123 in that case, being one hundred twenty three ints?
20:58 < exch> yes
21:01 < Jimmio> Thanks :D
21:03 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has joined
#go-nuts
21:05 < exch> you can also prevent the blocking behaviour on a non-buffered
or full channel.  'ok := c <- data' ok will be a boolean indicating success or
failure.  it's true when the value could be pushed into the channel.  false
otherwise.  This wont block
21:06 -!- qIIp [~qIIp@72-173-156-132.cust.wildblue.net] has joined #go-nuts
21:07 -!- qIIp [~qIIp@72-173-156-132.cust.wildblue.net] has quit [Read error:
Connection reset by peer]
21:11 -!- Kashia [~Kashia@port-92-200-15-251.dynamic.qsc.de] has joined #go-nuts
21:14 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:14 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
21:21 < Jimmio> Thanks!  :D
21:22 < virl> I just tried to compile go on my 64 bit machine, it's not
ready fully for x86_64, is it?
21:23 < vrtical> virl: works fine for me.  I'm a noob, but I'm sure there
are people here who can help you if you have problems.
21:25 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:26 < EthanG> virl: it was released for x86, x86_64 and arm at the same
time, and I got the impression if any arch support was less mature it was the arm
21:28 -!- Daminvar [~Daminvar_@cpe-67-241-129-149.buffalo.res.rr.com] has joined
#go-nuts
21:28 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:28 < virl> ./all.bash stops while compiling libcgo
21:29 < virl> ups..  I think I got the reason
21:29 -!- daharon [~daharon@c-67-188-177-24.hsd1.ca.comcast.net] has joined
#go-nuts
21:29 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
21:29 < EthanG> ah ok ^^'
21:31 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:31 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
21:36 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has quit
[Excess Flood]
21:36 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Quit: Shyde]
21:37 < Jimmio> How do I declare a variable as type error?  (as in, the
error type that items tend to return)
21:37 < exch> they are of type os.Error
21:39 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has joined
#go-nuts
21:39 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has quit
[Excess Flood]
21:39 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has joined
#go-nuts
21:39 -!- msutherl [~msutherl@bas16-montreal02-1242357114.dsl.bell.ca] has quit
[Excess Flood]
21:42 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
21:43 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:46 -!- daharon [~daharon@c-67-188-177-24.hsd1.ca.comcast.net] has left #go-nuts
["Ex-Chat"]
21:47 < virl> EthanG, never mistaken your home box with your laptop which is
a x86_64
21:47 < EthanG> ah XD;;
21:47 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has joined #go-nuts
21:48 -!- gnuvince_ [~vince@72.0.216.42] has joined #go-nuts
21:49 -!- gnuvince [~vince@64.235.212.139] has quit [Ping timeout: 264 seconds]
21:54 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
22:06 -!- b00m_chef [~watr@66.183.102.96] has joined #go-nuts
22:10 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
22:11 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:12 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 260 seconds]
22:12 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 240
seconds]
22:16 -!- virl [~virl__@chello062178085149.1.12.vie.surfer.at] has quit [Remote
host closed the connection]
22:22 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
22:25 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
22:34 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
22:34 -!- shambolic_ [~shambolic@c-66-235-54-179.sea.wa.customer.broadstripe.net]
has quit [Quit: shambolic_]
22:35 -!- wrtp [~rog@92.17.59.90] has quit [Quit: wrtp]
22:38 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 264 seconds]
22:39 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
22:49 -!- alkavan_ [~alkavan@IGLD-84-229-115-206.inter.net.il] has joined #go-nuts
22:52 -!- alkavan [~alkavan@IGLD-84-228-10-26.inter.net.il] has quit [Ping
timeout: 258 seconds]
22:56 -!- alkavan__ [~alkavan@IGLD-84-228-110-241.inter.net.il] has joined
#go-nuts
23:00 -!- alkavan_ [~alkavan@IGLD-84-229-115-206.inter.net.il] has quit [Ping
timeout: 264 seconds]
23:00 -!- Eko [~eko@71-9-123-213.static.lsan.ca.charter.com] has joined #go-nuts
23:09 -!- photron [~photron@port-92-201-112-88.dynamic.qsc.de] has quit [Ping
timeout: 264 seconds]
23:12 -!- g0bl1n [~pr0kter@a89-152-232-158.cpe.netcabo.pt] has joined #go-nuts
23:14 -!- g0bl1n [~pr0kter@a89-152-232-158.cpe.netcabo.pt] has quit [Client Quit]
23:19 -!- alkavan__ [~alkavan@IGLD-84-228-110-241.inter.net.il] has quit [Read
error: Connection timed out]
23:20 -!- alkavan__ [~alkavan@IGLD-84-228-110-241.inter.net.il] has joined
#go-nuts
23:24 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 265 seconds]
23:26 -!- alkavan_ [~alkavan@77.124.148.229] has joined #go-nuts
23:30 -!- alkavan [~alkavan@IGLD-84-228-216-172.inter.net.il] has joined #go-nuts
23:30 -!- alkavan__ [~alkavan@IGLD-84-228-110-241.inter.net.il] has quit [Ping
timeout: 248 seconds]
23:32 -!- alkavan [~alkavan@IGLD-84-228-216-172.inter.net.il] has quit [Read
error: Connection reset by peer]
23:33 -!- alkavan_ [~alkavan@77.124.148.229] has quit [Ping timeout: 265 seconds]
23:33 -!- alkavan [~alkavan@IGLD-84-228-133-204.inter.net.il] has joined #go-nuts
23:36 -!- marsu [~marsu@93.12.55.72] has quit [Quit: Leaving]
23:39 -!- cthom [~cthom@ip68-10-255-97.hr.hr.cox.net] has quit [Ping timeout: 264
seconds]
23:41 -!- alkavan_ [~alkavan@IGLD-84-228-110-185.inter.net.il] has joined #go-nuts
23:44 -!- alkavan [~alkavan@IGLD-84-228-133-204.inter.net.il] has quit [Ping
timeout: 265 seconds]
23:46 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
23:57 -!- alkavan__ [~alkavan@IGLD-84-228-123-191.inter.net.il] has joined
#go-nuts
--- Log closed Mon Jun 14 00:00:10 2010