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

--- Log opened Mon Jan 25 00:00:49 2010
00:08 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit ["Lost
terminal"]
00:08 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts
00:28 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
00:36 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
00:41 -!- googol [n=matthew@pool-173-60-38-229.lsanca.fios.verizon.net] has joined
#go-nuts
00:43 -!- gnuvince [n=vince@64.235.200.27] has quit ["What the fruit is goin' on
here!?"]
00:46 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has quit
["Leaving"]
00:50 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has joined #go-nuts
00:51 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has left #go-nuts []
00:59 -!- mssm [n=mssm@ip-95-221-78-85.bb.netbynet.ru] has quit [Read error: 110
(Connection timed out)]
01:01 -!- tomestla [n=tom@AToulouse-151-1-19-38.w83-203.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
01:02 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:09 -!- andern [n=NA@55.84-234-230.customer.lyse.net] has quit [SendQ exceeded]
01:10 -!- googol [n=matthew@pool-173-60-38-229.lsanca.fios.verizon.net] has quit
["Lost terminal"]
01:12 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts
01:14 -!- wuehlmaus [n=wuehlmau@p4FCC6394.dip.t-dialin.net] has quit [Read error:
110 (Connection timed out)]
01:14 -!- wuehlmaus [n=wuehlmau@p4FCC6CDC.dip.t-dialin.net] has joined #go-nuts
01:37 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
01:41 -!- webbpa [n=chatzill@c-68-40-58-167.hsd1.mi.comcast.net] has joined
#go-nuts
01:43 -!- GeoBSD [n=geobsd@lns-bzn-57-82-249-45-122.adsl.proxad.net] has quit
[Remote closed the connection]
01:47 -!- Kibiz0r [n=Adium@adsl-99-155-154-129.dsl.klmzmi.sbcglobal.net] has quit
["Leaving."]
01:53 -!- niekie [i=quasselc@CAcert/Assurer/niekie] has joined #go-nuts
01:54 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 110
(Connection timed out)]
02:01 -!- webbpa [n=chatzill@c-68-40-58-167.hsd1.mi.comcast.net] has quit
["ChatZilla 0.9.86 [Firefox 3.5.6/20091215231754]"]
02:05 -!- senneth [i=senneth@irssi/staff/senneth] has quit [Read error: 60
(Operation timed out)]
02:05 -!- senneth [i=senneth@irssi/staff/senneth] has joined #go-nuts
02:13 -!- Alkavan [n=alkavan@IGLD-84-228-123-6.inter.net.il] has quit ["Leaving"]
02:20 -!- adante_ [n=adante@59.167.212.65] has left #go-nuts []
02:33 -!- gnuvince [n=vince@70.35.165.12] has joined #go-nuts
02:35 -!- gnuvince [n=vince@70.35.165.12] has quit [Client Quit]
02:39 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Client Quit]
02:40 -!- ericfode [i=4a76b28d@gateway/web/freenode/x-vraxuzjmceyuzsmg] has joined
#go-nuts
02:45 < happy> ping
02:53 < plexdev> http://is.gd/6Yf8V by [Rob Pike] in go/doc/ -- list awk in
the dependencies needed for installation
02:53 -!- gnuvince [n=vince@70.35.165.12] has joined #go-nuts
02:54 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
03:00 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
03:02 -!- ericfode [i=4a76b28d@gateway/web/freenode/x-vraxuzjmceyuzsmg] has quit
[Client Quit]
03:15 -!- gnuvince_ [n=vince@72.0.219.40] has joined #go-nuts
03:16 -!- gnuvince [n=vince@70.35.165.12] has quit [Nick collision from services.]
03:23 -!- Eridius [n=kevin@growl/Eridius] has quit [Read error: 60 (Operation
timed out)]
03:25 -!- doomrobo [i=48e1fb14@gateway/web/freenode/x-aunodnlupnyjteny] has joined
#go-nuts
03:25 -!- doomrobo [i=48e1fb14@gateway/web/freenode/x-aunodnlupnyjteny] has quit
[Client Quit]
03:26 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit [Client Quit]
03:26 -!- doomrobo [i=48e1fb14@gateway/web/freenode/x-oqcbnwjvrvbucane] has joined
#go-nuts
03:27 < doomrobo> hi people's
03:27 < doomrobo> if anyone has trouble making all in $GOROOT/src i have a
solution
03:27 < doomrobo> if that error says /src/make.bash doesn't exist, type in:
03:28 < doomrobo> su --preserve-environment
03:28 < doomrobo> enter the password
03:28 < doomrobo> then:
03:28 < doomrobo> ./make.bash
03:28 -!- doomrobo [i=48e1fb14@gateway/web/freenode/x-oqcbnwjvrvbucane] has quit
[Client Quit]
03:29 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts
03:30 -!- donpdonp [i=donp@donk.personaltelco.net] has joined #go-nuts
03:32 -!- Altercation [n=Altercat@pdpc/supporter/active/altercation] has quit
[Remote closed the connection]
03:34 -!- Altercation [n=Altercat@pdpc/supporter/active/altercation] has joined
#go-nuts
03:36 < donpdonp> is there a repository for go libraries, similar to CPAN?
03:37 -!- hevalbaranov [n=hevalbar@88.231.73.139] has quit [Client Quit]
04:10 -!- itrekkie [n=itrekkie@ip72-211-128-139.tc.ph.cox.net] has quit [Remote
closed the connection]
04:10 -!- itrekkie [n=itrekkie@ip72-211-128-139.tc.ph.cox.net] has joined #go-nuts
04:28 -!- Kibiz0r [n=Adium@adsl-99-155-154-129.dsl.klmzmi.sbcglobal.net] has
joined #go-nuts
04:36 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
04:39 -!- pshahmumbai [n=prashant@59.164.25.215] has joined #go-nuts
04:49 < nf> no, not at the moment.
05:02 -!- Kibiz0r [n=Adium@adsl-99-155-154-129.dsl.klmzmi.sbcglobal.net] has quit
["Leaving."]
05:03 < donpdonp> nf: k thx.  do you know of a web server in go that will
server html files from disk?
05:06 -!- droid001 [n=g1@p4FDCB93E.dip.t-dialin.net] has joined #go-nuts
05:10 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 110
(Connection timed out)]
05:10 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
05:14 -!- Kibiz0r [n=Adium@adsl-99-155-154-129.dsl.klmzmi.sbcglobal.net] has
joined #go-nuts
05:20 -!- droid0011 [n=g1@p4FDCAA0B.dip.t-dialin.net] has quit [Connection timed
out]
05:21 -!- res [n=res@unaffiliated/res] has joined #go-nuts
05:29 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
05:40 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
05:41 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the
connection]
05:45 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
110 (Connection timed out)]
05:51 < uriel> donpdonp: http://go-lang.cat-v.org is probably the closest
05:51 < uriel> donpdonp: http://go-lang.cat-v.org is probably the closest
05:53 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has quit [Read error:
60 (Operation timed out)]
05:56 -!- Discoloda [n=vincent@li89-236.members.linode.com] has joined #go-nuts
05:56 < Discoloda> hello
05:58 < Discoloda> i am having a trouble with a package, i compiled my own
package (outside goroot) that got put into goroot/pkg and another file that uses
it to perform a simple test of it.  but changes to the package are not reflected
in the test file (and yes i recompiled both)
05:58 -!- itrekkie [n=itrekkie@ip72-211-128-139.tc.ph.cox.net] has quit []
06:04 < Discoloda> sorry, i made a mistake
06:04 < donpdonp> uriel: thx!
06:04 -!- donpdonp [i=donp@donk.personaltelco.net] has left #go-nuts []
06:05 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
06:24 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has quit [Client Quit]
06:28 -!- tomestla [n=tom@AToulouse-151-1-55-218.w81-250.abo.wanadoo.fr] has
joined #go-nuts
06:39 -!- pshahmumbai [n=prashant@59.164.25.215] has quit [Read error: 110
(Connection timed out)]
06:41 < plexdev> http://is.gd/6YR6Y by [Russ Cox] in go/src/cmd/gc/ -- gc:
cut some dead code, fix 6g -S output
06:41 < plexdev> http://is.gd/6YR7a by [Russ Cox] in 2 subdirs of go/ -- gc:
bug247, reported by rob
06:42 -!- Kibiz0r [n=Adium@adsl-99-155-154-129.dsl.klmzmi.sbcglobal.net] has quit
["Leaving."]
06:44 < Discoloda> is there a way using reflect.PtrValue to do something
like: func(x *[]int) { *x = make([]int, 20, 20) }
06:45 -!- robot12 [n=root@robot12.kgts.ru] has joined #go-nuts
06:59 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
07:08 -!- aho [n=nya@g228019142.adsl.alicedsl.de] has quit [Read error: 104
(Connection reset by peer)]
07:18 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit []
07:24 -!- sea-gull [n=sea-gull@95-28-120-95.broadband.corbina.ru] has joined
#go-nuts
07:24 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
07:25 -!- idea_squirrel [i=ct2rips@77-21-21-107-dynip.superkabel.de] has joined
#go-nuts
07:35 -!- tomestla [n=tom@AToulouse-151-1-55-218.w81-250.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
07:42 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has joined #go-nuts
07:43 < plexdev> http://is.gd/6Z0r5 by [Russ Cox] in 3 subdirs of go/src/ --
gc: record full package paths in runtime type data
07:47 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
07:50 -!- path[l] [i=UPP@120.138.102.34] has quit []
07:57 -!- scm_ [i=justme@c136016.adsl.hansenet.de] has joined #go-nuts
08:00 -!- Will_D [n=Will@c-24-17-243-6.hsd1.wa.comcast.net] has quit [Read error:
60 (Operation timed out)]
08:09 -!- idea_squirrel [i=ct2rips@77-21-21-107-dynip.superkabel.de] has quit
[Read error: 60 (Operation timed out)]
08:13 -!- scm [i=justme@c132144.adsl.hansenet.de] has quit [Read error: 110
(Connection timed out)]
08:13 -!- analogue [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
08:13 -!- mssm [n=mssm@ip-95-221-78-85.bb.netbynet.ru] has joined #go-nuts
08:14 < plexdev> http://is.gd/6Z5CQ by [Christopher Wedgwood] in 2 subdirs
of go/ -- Remove top-level (src/) Makefile.
08:15 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:19 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:27 -!- path[l]_ [n=path@115.240.13.73] has joined #go-nuts
08:32 -!- path[l]__ [n=path@115.240.8.254] has joined #go-nuts
08:33 -!- Weems [n=frodo@unaffiliated/weems] has joined #go-nuts
08:34 -!- path[l]___ [n=path@59.162.86.164] has joined #go-nuts
08:34 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 104 (Connection
reset by peer)]
08:38 -!- jajamana [n=cbe@cm-84.215.40.160.getinternet.no] has quit [Read error:
60 (Operation timed out)]
08:41 -!- dju [i=dju@89-158-236-229.rev.dartybox.com] has quit [Read error: 110
(Connection timed out)]
08:43 -!- path[l]_ [n=path@115.240.13.73] has quit [Read error: 60 (Operation
timed out)]
08:45 -!- path[l] [n=path@59.162.86.164] has quit []
08:46 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:48 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 104 (Connection
reset by peer)]
08:48 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:50 -!- path[l] [n=path@59.162.86.164] has quit [Client Quit]
08:50 -!- path[l]__ [n=path@115.240.8.254] has quit [Read error: 110 (Connection
timed out)]
08:50 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:53 -!- jajamana1 [n=cbe@62.70.2.252] has joined #go-nuts
08:54 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
09:21 -!- c0nfl|ct [n=tiago@83.240.182.68] has joined #go-nuts
09:31 -!- idea_squirrel [n=ct2rips@77-21-21-107-dynip.superkabel.de] has joined
#go-nuts
09:32 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined
#go-nuts
09:43 -!- alexis_ [n=alexis@ppp121-45-171-61.lns20.syd6.internode.on.net] has quit
[Client Quit]
09:43 -!- alexis_ [n=alexis@ppp121-45-171-61.lns20.syd6.internode.on.net] has
joined #go-nuts
09:43 -!- alexis_ [n=alexis@ppp121-45-171-61.lns20.syd6.internode.on.net] has quit
[Client Quit]
09:47 -!- ashaw [n=ashaw@ppp121-45-171-61.lns20.syd6.internode.on.net] has joined
#go-nuts
09:47 < ashaw> how does one have selectable debug code in go?
09:54 -!- tanamo [n=tanamo@125.252.70.230] has quit [Read error: 60 (Operation
timed out)]
09:56 -!- sea-gull [n=sea-gull@95-28-120-95.broadband.corbina.ru] has quit ["Lost
terminal"]
10:04 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has joined #go-nuts
10:05 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has left #go-nuts []
10:20 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit [Client Quit]
10:36 -!- Kashia [n=Kashia@port-92-200-33-191.dynamic.qsc.de] has quit ["This
computer has gone to sleep"]
10:49 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has joined #go-nuts
10:55 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
10:57 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
11:02 -!- c0nfl|ct [n=tiago@83.240.182.68] has quit ["Saindo"]
11:02 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 60 (Operation
timed out)]
11:08 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit ["WeeChat 0.3.0"]
11:09 -!- mertimor [n=mertimor@vpn-ce242014.extern.uni-duisburg-essen.de] has
joined #go-nuts
11:13 -!- mertimor [n=mertimor@vpn-ce242014.extern.uni-duisburg-essen.de] has quit
[Client Quit]
11:14 -!- c0nfl|ct [n=tiago@83.240.182.68] has joined #go-nuts
11:15 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:16 -!- chachan [n=chachan@201.208.206.105] has joined #go-nuts
11:19 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
11:20 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Operation timed out]
11:22 -!- Cyprien_ [i=Cyprien@110-174.3-85.cust.bluewin.ch] has joined #go-nuts
11:37 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Remote closed the connection]
11:37 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
11:45 -!- c0nfl|ct [n=tiago@83.240.182.68] has quit [Read error: 104 (Connection
reset by peer)]
11:54 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Read error: 110 (Connection timed out)]
12:06 -!- prip [n=_prip@host50-130-dynamic.36-79-r.retail.telecomitalia.it] has
quit [Read error: 104 (Connection reset by peer)]
12:07 -!- prip [n=_prip@host50-130-dynamic.36-79-r.retail.telecomitalia.it] has
joined #go-nuts
12:07 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
12:09 -!- idea_squirrel [n=ct2rips@77-21-21-107-dynip.superkabel.de] has quit
["what would a pirate do?"]
12:09 < ashaw> anyone here?
12:17 -!- ioricloud [n=mkvogh@189.84.122.14] has joined #go-nuts
12:20 < usausa> ashaw: If I understand your question, the answer is "you
don't".  You typically include debug code using the C preprocessor (for C or C++).
The plan9 C compilers just use dead code elimination and use 'const int debug=0;
if (debug) { ...}'
12:23 < ashaw> can you set this in the makefile though?
12:24 < ashaw> and is there dead cod elimination in go?
12:24 < ashaw> * code *
12:26 < usausa> The Makefile could do such a thing.  Since 6g and friends
are written by the same person who wrote 6c, I think there is very good chance it
will do dead code eliminiation, but I have not looked.
12:28 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 60 (Operation timed
out)]
12:28 < usausa> You can always use cpp if you want to do things the
traditional way, but "make" is not realy up to the job of keeping track of the
command line arguments.  For that I like the AT&T nmake (not to be confused with
the Microsoft product of the same name).
12:31 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
12:32 < ashaw> I am having trouble building a package, and I cannot find the
error, could you help me?
12:36 < ashaw> i am getting: Double-Double/double-double.go:275: mMr3Sqh
declared and not used
12:37 < ashaw> but I am using this variable
12:38 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
12:41 < ashaw> file at http://alexisshaw.com/emath.tar.gz
12:47 -!- furbage [n=furbage@78-105-127-75.zone3.bethere.co.uk] has joined
#go-nuts
12:48 -!- JPascal [n=jpascal@78-106-107-110.broadband.corbina.ru] has joined
#go-nuts
12:49 -!- Fraeon_ [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
12:56 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
12:59 < usausa> ashaw: Actually you are not using the variable, except as a
receiver of the output of Mul22
13:00 < ashaw> how do I discard this value then
13:02 < usausa> _, mMr3Sql = Mul22(m,0, r3Sqh, r3Sql)
13:02 < ashaw> underscore?
13:02 < usausa> The _ discards the value.
13:02 -!- JPascal [n=jpascal@78-106-107-110.broadband.corbina.ru] has left
#go-nuts []
13:02 < ashaw> thanks,
13:03 < usausa> If someone else tells you I am wrong, be prepared to believe
them - I would!
13:03 -!- syd_ [n=sydcogs@118.127.19.220] has quit [Read error: 54 (Connection
reset by peer)]
13:07 < ashaw> no that worked!!  thankyou.  I am porting a library from C to
Go, and these are the common files.  I think it is a good way to learn go.
13:07 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Read
error: 110 (Connection timed out)]
13:09 -!- kanru [n=kanru@61-228-166-168.dynamic.hinet.net] has joined #go-nuts
13:12 < usausa> Having looked briefly at the code, I am not totally
convinced this is the best bit of code to start with.  However do what works for
you.
13:13 < ashaw> why?
13:20 < usausa> It may be that you know the field well, but I look at say
Sqrt12, and I can not decide at a glance what is going on.  Even the comments do
not appear to agree with the code, e.g.  "// Special case x <= 0" and "if x ==
0 {"
13:21 < ashaw> oh that was me editing the code, I later decided to not do
that edit.
13:22 < usausa> The C code also seems to be an older version, so all
variables are declared at the start of the function, rather than introduced as
needed.
13:22 -!- prip [n=_prip@host50-130-dynamic.36-79-r.retail.telecomitalia.it] has
quit [Read error: 110 (Connection timed out)]
13:23 -!- prip [n=_prip@host168-121-dynamic.42-79-r.retail.telecomitalia.it] has
joined #go-nuts
13:27 < ashaw> The code is documented very well as most functions are proved
mathematically to have the properties that are required.
13:28 < ashaw> I just did not include the library I am copying from to save
bandwidth
13:29 < usausa> Thats fine, I wasn't going to offer to write the whole thing
:-)
13:31 < nsf> http://code.google.com/p/go/source/browse/src/Make.pkg#153 - is
it a typo here on line 153?
13:31 < nsf> @test -d $(QUOTED_GOROOT/pkg
13:31 < nsf> should it be:
13:31 < nsf> @test -d $(QUOTED_GOROOT)/pkg
13:31 < nsf> ?
13:33 -!- buidangchung [n=chatzill@118.71.30.229] has joined #go-nuts
13:33 < usausa> Looks like it.  If I was writing it I would use {} rather
than () but that is only because I like my Make variables to look like shell
variables.
13:35 < usausa> Actually I think the rule ought to be
13:36 < usausa> @test -d "$(dir $@)" || mkdir "$(dir $@)"
13:37 < nsf> the most intersting part here is that it seems like the make
doesn't really care about that
13:37 < nsf> I mean the typo
13:39 < usausa> One of the problems with make is the idea that variables are
single letter unless they are part of a {} or () pair.  So make probably changed
the test to
13:39 < usausa> @ test -d QUOTED_GOROOT/pkg, and then the shell just ran the
"mkdir -p" every time.
13:41 < usausa> Oops, just noticed I left off the "-p" on my mkdir in my
suggestion of how the rule should look.
13:41 < nsf> but if test fails mkdir isn't being run
13:41 -!- buidangchung [n=chatzill@118.71.30.229] has quit [Client Quit]
13:42 < nsf> weird stuff )
13:45 < nsf> I think it's because '/' isn't a valid variable name symbol
13:45 < nsf> and make just stops there
13:45 < nsf> and properly evaluates the variable
13:46 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
13:46 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
13:46 * nsf hates make's and sh's syntax
13:49 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has quit [Read error: 60
(Operation timed out)]
13:52 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
13:53 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 104 (Connection
reset by peer)]
13:53 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts
13:53 -!- path[l] [n=path@122.182.0.38] has quit [Read error: 104 (Connection
reset by peer)]
13:54 -!- kanru [n=kanru@61-228-166-168.dynamic.hinet.net] has quit ["WeeChat
0.3.0"]
13:55 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
13:56 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
13:57 -!- keeto [n=keeto@121.54.92.149] has joined #go-nuts
13:57 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:57 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 104 (Connection
reset by peer)]
14:05 -!- cmarcelo [n=cmarcelo@62.70.27.102] has joined #go-nuts
14:06 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
14:33 -!- hevalbaranov [n=hevalbar@88.231.73.139] has joined #go-nuts
14:37 -!- mbarkhau [n=koloss@p54A7EF7C.dip.t-dialin.net] has joined #go-nuts
14:38 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
14:39 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
14:40 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
14:41 -!- lahl [i=fusion@193.104.228.25] has quit [Read error: 113 (No route to
host)]
14:52 -!- GeoBSD [n=geobsd@lns-bzn-45-82-65-145-171.adsl.proxad.net] has joined
#go-nuts
14:55 -!- lahl [i=fusion@193.104.228.25] has joined #go-nuts
14:55 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
15:09 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
15:12 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
15:14 -!- exiquio [n=ghost@c-67-164-136-59.hsd1.nm.comcast.net] has joined
#go-nuts
15:17 < nsf> erm..  what does it mean in time/tick.go:
15:17 < nsf> when += (now - when) / t.ns * t.ns
15:17 < nsf> looks really weird
15:18 < nsf> I have a weird bug with Ticker when it simply freezes in
select..  but if I do plain simple Sleep() in goroutine it works :\
15:19 -!- Venom_X [n=pjacobs@66.54.185.131] has joined #go-nuts
15:19 < nsf> oh..  it freezes for some time (but definitely longer than
t.ns, not forever
15:22 -!- Cleansy [i=Cleansy@schokobombe.massenvernichtungswaffeln.de] has joined
#go-nuts
15:24 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Remote closed the connection]
15:25 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
15:25 < nsf> looks like this is a 'release' version bugs..  Ticker from
bleeding edge works fine
15:26 < nsf> bug* :)
15:30 < dho> ports/lang/go committed.  You owe me a beer (or something, I
don't drink beer) @dhobsd.  ;)
15:30 < dho> :)
15:34 -!- idea_squirrel [i=ct2rips@77-22-21-239-dynip.superkabel.de] has joined
#go-nuts
15:36 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
15:37 < nsf> yep, the old Ticker is broken for some reason
15:37 < skelterjohn> <3
15:37 < skelterjohn> sounds like badnews
15:37 -!- evilhackerdude [n=stephan@78.46.203.42] has quit [Read error: 60
(Operation timed out)]
15:37 -!- [dmp]_ [n=dennis@unaffiliated/dmp/x-546784] has quit [Read error: 60
(Operation timed out)]
15:38 < nsf> skelterjohn: Ticker from bleeding edge works..  :P
15:39 < skelterjohn> so, you aren't in danger of having a heart attack?
15:39 -!- [dmp] [n=dennis@unaffiliated/dmp/x-546784] has joined #go-nuts
15:39 -!- evilhackerdude [n=stephan@78.46.203.42] has joined #go-nuts
15:40 < nsf> well, I copied Ticker sources to my project and inserted simple
fmt.Fprintf statement before its Sleep call
15:40 < nsf> it goes sleep for 6 seconds sometimes when t.ns is 500 ms
15:40 < nsf> it's really weird :D
15:41 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Read error: 110 (Connection timed out)]
15:44 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has quit [Read error: 60
(Operation timed out)]
15:44 < nsf> or..  maybe it's a 'select' bug
15:45 < nsf> or my bug )
15:45 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has joined #go-nuts
15:51 < ShadowIce> nsf: how many processes do you use?
15:53 < nsf> well I don't use runtime, but app creates three threads..  I
think the problem is that I use my C library that calls 'select'
15:53 < nsf> for some reason it breaks Ticker's 'select'
15:54 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the
connection]
15:55 < nsf> the bug is really weird
15:56 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
15:56 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
15:56 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
15:56 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
15:56 -!- keeto [n=keeto@121.54.92.149] has quit [Read error: 113 (No route to
host)]
15:56 -!- keeto_ [n=keeto@121.54.92.149] has joined #go-nuts
15:57 -!- tomestla [n=tom@AToulouse-151-1-62-161.w81-250.abo.wanadoo.fr] has
joined #go-nuts
15:58 -!- Wiz126 [i=Wiz126@72.20.219.239] has quit [Read error: 110 (Connection
timed out)]
15:58 -!- danopia [n=danopia@fullcirclemagazine/developer/danopia] has quit [Read
error: 110 (Connection timed out)]
15:58 -!- Wiz126 [i=Wiz126@72.20.225.184] has joined #go-nuts
16:00 -!- ThreeSix [n=Vova@IGLD-84-229-215-110.inter.net.il] has joined #go-nuts
16:01 < nsf> well, if I'm adding runtime.LockOSThread() to all 3 goroutines,
the bug is gone
16:01 < nsf> so, definitely something breaks 'select' here
16:06 -!- buidangchung [n=chatzill@118.71.30.229] has joined #go-nuts
16:07 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
16:07 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
16:10 -!- buidangchung [n=chatzill@118.71.30.229] has quit [Client Quit]
16:10 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:10 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:13 -!- jcb__ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
16:13 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
16:15 -!- Will_D [n=Will@c-24-17-243-6.hsd1.wa.comcast.net] has joined #go-nuts
16:17 < nsf> oh..  I think I've figured out, it's because of a signal
16:18 < nsf> SIGWINCH drops Ticker's 'select'
16:18 -!- jajamana1 [n=cbe@62.70.2.252] has quit [Read error: 60 (Operation timed
out)]
16:19 < nsf> yep..
16:19 -!- ericvh [n=ericvh@32.97.110.63] has joined #go-nuts
16:19 < nsf> should I call it a bug?  time.Sleep drops on OS signal
16:20 < nsf> well, it should be kinda expected actually )
16:21 < nsf> because sleep in C drops too
16:21 < nsf> but it breaks Ticker, and that's not really good
16:21 < nsf> (an old one, new one preventing this)
16:22 < nsf> so..  I guess it's not a bug anymore
16:22 < nsf> uh..  :D
16:27 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
16:27 -!- jalmeida [n=jalmeida@187.88.20.166] has joined #go-nuts
16:28 -!- zpmorgan [n=zach@74.60.163.195] has joined #go-nuts
16:30 -!- jajamana1 [n=cbe@cm-84.215.40.160.getinternet.no] has joined #go-nuts
16:31 < skelterjohn> Isn't it nice when problems just work themselves out?
:)
16:33 < nsf> skelterjohn: well, in case of Ticker it works..  but time.Sleep
still falls out when signal arives.  I think at least it should be mentioned in
pkg docs
16:33 < nsf> for example if I'll call time.Sleep with 5 seconds as an
argument and resize terminal, it drops )
16:33 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has quit [Client Quit]
16:34 < nsf> but doc says: Sleep pauses the current goroutine for at least
ns nanoseconds.
16:34 < nsf> and nothing about that
16:34 < nsf> oh..  wait..  here it is: Sleep returns os.EINTR if
interrupted.
16:34 < nsf> :)
16:34 < skelterjohn> once again, the problem has worked itself out!
16:35 < nsf> :D
16:35 < skelterjohn> well, the doc should say "for at least ns nanoseconds,
or until an interrupt has occurred"
16:35 < nsf> yep, something like that
16:40 < nsf> http://github.com/nsf/termbox - and that's the library I was
talking about
16:41 < nsf> I made Go bindings for it recently
16:41 < nsf> well, it actually can be rewritten using Go later :D
16:42 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
16:42 < nsf> if someone will decide to check it out, just do 'cd go && make
&& make install' and there is an example in 'go' dir (example.go)
16:43 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit []
16:43 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Client
Quit]
16:43 -!- wuehlmaus [n=wuehlmau@p4FCC6CDC.dip.t-dialin.net] has quit [No route to
host]
16:44 -!- wuehlmaus [n=wuehlmau@p4FCC7060.dip.t-dialin.net] has joined #go-nuts
16:49 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
16:51 -!- analogue [n=analogue@toulouse.jfg-networks.net] has quit [Read error:
104 (Connection reset by peer)]
16:56 -!- nsf [n=nsf@jiss.convex.ru] has quit ["WeeChat 0.3.0"]
16:57 -!- pshahmumbai [n=prashant@59.164.25.164] has joined #go-nuts
16:58 -!- Will_D [n=Will@c-24-17-243-6.hsd1.wa.comcast.net] has quit [Read error:
110 (Connection timed out)]
16:59 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:59 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit ["Leaving"]
17:00 -!- nullpo_ [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Read
error: 110 (Connection timed out)]
17:04 < plexdev> http://is.gd/70M11 by [Russ Cox] in 4 subdirs of
go/src/cmd/ -- ld: do not load the same object file multiple times.
17:07 -!- wrtp [n=rog@78.148.135.120] has joined #go-nuts
17:08 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has joined #go-nuts
17:08 -!- Wiz126 [i=Wiz126@72.20.225.184] has quit [Read error: 110 (Connection
timed out)]
17:10 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has quit
["leaving"]
17:18 -!- hevalbaranov [n=hevalbar@88.231.73.139] has quit ["WeeChat 0.2.6.3"]
17:21 -!- Dubai [n=Dr_Shaba@86.99.27.14] has joined #go-nuts
17:23 -!- jalmeida [n=jalmeida@187.88.20.166] has quit [Client Quit]
17:25 -!- nsf [n=nsf@jiss.convex.ru] has joined #go-nuts
17:27 -!- JSharpe2 [n=jamie@5ad5027e.bb.sky.com] has quit [Read error: 104
(Connection reset by peer)]
17:27 -!- JSharpe [n=jamie@5ad5027e.bb.sky.com] has joined #go-nuts
17:28 -!- Dubai [n=Dr_Shaba@86.99.27.14] has quit [Client Quit]
17:46 -!- pshahmumbai [n=prashant@59.164.25.164] has quit [Client Quit]
17:47 -!- shemale-magic [n=gav@cpe-76-172-28-85.socal.res.rr.com] has joined
#go-nuts
17:47 < shemale-magic> go go go!
17:51 -!- gnuvince [n=vince@72.0.219.40] has quit [Read error: 110 (Connection
timed out)]
17:52 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[Client Quit]
17:53 -!- Adys [n=Adys@unaffiliated/adys] has quit ["I ♥ Unicode"]
17:54 -!- path[l] [n=path@59.162.86.164] has quit []
17:55 -!- wuehlmaus [n=wuehlmau@p4FCC7060.dip.t-dialin.net] has quit [Read error:
60 (Operation timed out)]
18:00 -!- wuehlmaus [n=wuehlmau@p4FCC65F4.dip.t-dialin.net] has joined #go-nuts
18:05 < plexdev> http://is.gd/712xm by [Robert Griesemer] in 2 subdirs of
go/src/pkg/go/ -- Scoping snapshot.
18:07 < nsf> wow, git is better for me, didn't know about that mirror :D
18:07 -!- nf_ [n=nf@124-171-17-137.dyn.iinet.net.au] has joined #go-nuts
18:13 -!- ugo [n=ugo@host12-40-dynamic.60-82-r.retail.telecomitalia.it] has joined
#go-nuts
18:19 -!- nf [n=nf@124.171.44.249] has quit [Read error: 110 (Connection timed
out)]
18:21 -!- Netsplit verne.freenode.net <-> irc.freenode.net quits: A9[idle],
ioricloud, bthomson, nsz, rbancroft, Ycros, tomaw__, apexo, kfx, mycroftiv, (+33
more, use /NETSPLIT to show all of them)
18:25 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
18:25 -!- Elfix [i=elfix@wikipedia/elfix] has joined #go-nuts
18:28 -!- tomaw__ [i=tom@freenode/staff/tomaw] has joined #go-nuts
18:28 -!- GabydeWilde_ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has joined
#go-nuts
18:28 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
18:28 -!- A9[idle] [n=A9@85.17.87.6] has joined #go-nuts
18:28 -!- reggna [n=reggna@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se]
has joined #go-nuts
18:28 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
18:28 -!- mat_ [n=mat@prod2.absolight.net] has joined #go-nuts
18:28 -!- kevinwatt [i=kevin@59-125-147-75.HINET-IP.hinet.net] has joined #go-nuts
18:28 -!- daowee [n=daowee@ua-83-227-154-166.cust.bredbandsbolaget.se] has joined
#go-nuts
18:28 -!- rup [i=Rupert@deathcoil.net] has joined #go-nuts
18:28 -!- nsz [i=nsz@morecp.net] has joined #go-nuts
18:28 -!- mitsuhiko [n=mitsuhik@ubuntu/member/mitsuhiko] has joined #go-nuts
18:28 -!- quag [n=quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
18:28 -!- absurdhero [n=absurdhe@thales.strtok.net] has joined #go-nuts
18:28 -!- cw [n=cw@parsec.stupidest.org] has joined #go-nuts
18:28 -!- Guest70864 [n=itorres@gandi.bedynamic.net] has joined #go-nuts
18:28 -!- jessta [n=jessta@li7-205.members.linode.com] has joined #go-nuts
18:28 -!- highb [n=highb@shell.onid.oregonstate.edu] has joined #go-nuts
18:28 -!- blabla [i=amz@serv4u.pl] has joined #go-nuts
18:28 -!- Ycros [n=ycros@gnaw.yi.org] has joined #go-nuts
18:28 -!- yiyus [i=12427124@je.je.je] has joined #go-nuts
18:28 -!- akheron [n=akheron@lilja.asteriski.fi] has joined #go-nuts
18:28 -!- apexo [n=apexo@daedalus.isaco.de] has joined #go-nuts
18:28 -!- rbancroft [n=rumble@174.0.43.116] has joined #go-nuts
18:28 -!- mpl [n=mpl@213.251.175.204] has joined #go-nuts
18:28 -!- shardz [i=samuel@216.93.243.34] has joined #go-nuts
18:28 -!- rauli [i=x@85.17.90.195] has joined #go-nuts
18:28 -!- Kindred [n=squirt@174.143.151.235] has joined #go-nuts
18:28 -!- nighty^ [n=nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
18:28 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has joined #go-nuts
18:28 -!- kfx [n=kfx@unaffiliated/kfx] has joined #go-nuts
18:28 -!- XenoPhoenix
[i=ead43962@cpc3-aztw22-2-0-cust104.aztw.cable.virginmedia.com] has joined
#go-nuts
18:28 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has joined
#go-nuts
18:28 -!- ServerMode/#go-nuts [+v iant] by irc.freenode.net
18:29 -!- ioricloud [n=mkvogh@189.84.122.14] has joined #go-nuts
18:29 -!- senneth [i=senneth@irssi/staff/senneth] has joined #go-nuts
18:29 -!- niekie [i=quasselc@CAcert/Assurer/niekie] has joined #go-nuts
18:29 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts
18:29 -!- murodes1 [n=James@124-169-46-4.dyn.iinet.net.au] has joined #go-nuts
18:29 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
18:29 -!- vegai [n=vegai@archlinux/developer/vegai] has joined #go-nuts
18:29 -!- alus [n=gah@64.13.131.178] has joined #go-nuts
18:29 -!- Boggy-B [n=rh275@raptor.ukc.ac.uk] has joined #go-nuts
18:30 -!- Elfix [i=elfix@wikipedia/elfix] has quit []
18:30 -!- furbage [n=furbage@78-105-127-75.zone3.bethere.co.uk] has quit []
18:31 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
18:32 -!- LuitvD [n=luitvd@beigetower/luitvd] has joined #go-nuts
18:38 -!- wuehlmaus [n=wuehlmau@p4FCC65F4.dip.t-dialin.net] has quit [Connection
timed out]
18:39 -!- wuehlmaus [n=wuehlmau@p4FCC40E3.dip.t-dialin.net] has joined #go-nuts
18:39 -!- Wiz126 [i=Wiz126@72.20.219.251] has joined #go-nuts
18:48 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
18:58 -!- wuehlmaus [n=wuehlmau@p4FCC40E3.dip.t-dialin.net] has quit [Read error:
110 (Connection timed out)]
18:59 -!- wuehlmaus [n=wuehlmau@p4FCC6FB7.dip.t-dialin.net] has joined #go-nuts
19:00 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
19:00 -!- JPascal [n=jpascal@93-80-49-53.broadband.corbina.ru] has joined #go-nuts
19:00 -!- rhelmer [n=rhelmer@38.112.6.110] has joined #go-nuts
19:02 < JPascal> How I can use constants of package in main code?
19:02 < JPascal> i took error: undefined then use
19:04 < nsf> are you trying to use a constant with first lower-case letter
in a name?
19:05 < JPascal> yes
19:05 < JPascal> need upper case?
19:06 < nsf> ;)
19:06 < JPascal> :)
19:12 -!- p4p4 [n=P4p4@248.121.113.82.net.de.o2.com] has joined #go-nuts
19:20 -!- idea_squirrel [i=ct2rips@77-22-21-239-dynip.superkabel.de] has quit
[Read error: 104 (Connection reset by peer)]
19:21 < exiquio> Before I go bother their developers allow me ask this here.
Does anyone here use UZBL as a web browser?  It doesn't seem to work with godoc on
localhost:6060.  I might be doing something wrong, but the program is
straightforward and midori displays the docs correctly.
19:26 < nsf> have you tried using 80 port?
19:26 < nsf> maybe that's the issue
19:26 < exiquio> nsf: do you mean running godoc on port 80?
19:26 < nsf> yep
19:27 -!- hevalbaranov [n=hevalbar@88.231.73.139] has joined #go-nuts
19:30 < exiquio> nsf: To tell you the truth, I don't even know how to do
that.  Permission is denied.  I think I have a bigger issue anyway with the Arch
Linux AUR package.  Midori doesn't show anything in the package documentation.  I
will stop being lazy and figure this out.  Thanks.
19:31 < nsf> well, you need root privileges to use 80 port obviously :)
19:32 < nsf> I have uzbl install but since archlinux go pkgbuilds are
somewhat incomplete still, I can't check this out
19:32 < nsf> :(
19:32 < nsf> installed*
19:33 < exiquio> yeah.  that gives me this: 2010/01/25 12:31:54 chdir
/home/ghost/go: chdir /home/ghost/go: no such file or directory.  I assume I can
change where it looks for go.  That probably explains the midori problem.
19:33 < exiquio> Sorry.  I never read the godoc help
19:33 < nsf> go package adds /etc/profile.d/go.sh on archlinux
19:33 < nsf> with necessary env variables
19:35 < nsf> exiquio: I guess go-hg may have godoc working properly, but it
doesn't add GOBIN to PATH and installs everything in /opt
19:35 < nsf> by 'go-hg' I mean the AUR package :)
19:35 < exiquio> Did you install go from mercurial?
19:36 < nsf> nope, I use community/go :)
19:36 < nsf> godoc is certainly broken here
19:36 < nsf> but I don't use it :D
19:36 < exiquio> oh.  didn't know about that.  thanks.
19:36 < exiquio> I will use go lang util that gets fixed I guess.
19:39 < nsf> exiquio: well, Go is still a young language, and the fact that
a lot of installs are broken shouldn't be a surprise
19:39 -!- rhelmer [n=rhelmer@38.112.6.110] has quit [Read error: 110 (Connection
timed out)]
19:40 -!- leitaox [n=leitaox@187.100.225.67] has joined #go-nuts
19:40 < nsf> and before using it it's recommended to build it by yourself
and get yourself familiar with how things work here :)
19:41 < exiquio> fair enough
19:43 < exiquio> thanks, nsf
19:43 -!- Eridius [n=kevin@growl/Eridius] has joined #go-nuts
19:50 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
19:51 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts
19:56 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
19:57 -!- boscop [n=boscop@f055056074.adsl.alicedsl.de] has joined #go-nuts
20:00 -!- facemelter [n=lulzdesu@87.61.163.3] has joined #go-nuts
20:03 -!- bortzmeyer [n=stephane@central.sources.org] has joined #go-nuts
20:04 -!- Demp [n=Demp@bzq-79-183-12-155.red.bezeqint.net] has quit [Read error:
54 (Connection reset by peer)]
20:04 -!- Demp [n=Demp@bzq-79-183-12-155.red.bezeqint.net] has joined #go-nuts
20:05 -!- moraes [n=moraes@187.39.154.121] has quit ["Ex-Chat"]
20:07 < plexdev> http://is.gd/71vkA by [Robert Griesemer] in
go/src/pkg/go/parser/ -- A <- token in an expression may introduce a channel
type.
20:10 < facemelter> i get this segfault with a very simple program:
http://pastebin.com/m8fe3bcc ..  is it a known bug or something?
20:11 -!- JPascal [n=jpascal@93-80-49-53.broadband.corbina.ru] has quit
["Leaving."]
20:12 -!- hevalbaranov [n=hevalbar@88.231.73.139] has quit [Read error: 60
(Operation timed out)]
20:13 -!- hevalbaranov [n=hevalbar@88.252.170.60] has joined #go-nuts
20:15 -!- aho [n=nya@g227040050.adsl.alicedsl.de] has joined #go-nuts
20:22 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts
20:34 -!- Wiz126 [i=Wiz126@72.20.219.251] has quit [Read error: 110 (Connection
timed out)]
20:34 -!- ayo [n=nya@g227032166.adsl.alicedsl.de] has joined #go-nuts
20:34 < jhh> is line 20 in your programm line 19 in the paste?
20:36 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has joined #go-nuts
20:36 -!- facemelter [n=lulzdesu@87.61.163.3] has quit [Remote closed the
connection]
20:39 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
20:43 < jhh> not checking err and then complaining about nil pointers
20:45 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit ["Leaving"]
20:45 < nsf> my dream for Go: make a switch in a compiler that forbids
ignoring function return values :)
20:46 < nsf> well, only explicitly via '_'
20:46 < happy> nsf: if already does that
20:46 < happy> or do you mean making it so it won't do that?
20:46 < nsf> oh..  then the man page should be written :D
20:47 < happy> nsf: It pisses me off when I am playing with stuff and it
gives that error
20:47 < happy> :-)
20:48 < nsf> happy: I mean for example fmt.Printf returns two values!
20:48 < nsf> and still it is used mostly as just fmt.Printf
20:48 < nsf> happy: that's why I want a flag and not a default behaviour
20:48 < happy> nsf: if it returns two values, you can ignore it by not
assigning
20:48 < happy> however, if you assign, you need to put in a _ where you
don't want the variable
20:48 < nsf> happy: exactly!  I want flag that will forbid it
20:48 < happy> and if you put in a var, you need to use it
20:49 < happy> ah
20:49 < happy> nsf: that would be annoying
20:49 < nsf> :D
20:49 < dho> anyone live in the columbia md area and do c or php?
20:49 < happy> _, _ = Printf(...)
20:49 < nsf> looks ugly but it's a good reminder :D
20:49 < happy> I would have to type that every time?!
20:50 < nsf> yep )
20:50 < happy> nsf: I want a relaxed mode where it gives warnings
20:50 < happy> for example x imported and not used
20:50 < nsf> or probably like that, yeah..  something like -Wall :D
20:51 < happy> when I am developing, it is a pain
20:51 -!- aho [n=nya@g227040050.adsl.alicedsl.de] has quit [No route to host]
20:51 -!- addos_ [i=98340003@gateway/web/freenode/x-kcjhwoaigmmjlehw] has joined
#go-nuts
20:51 < happy> nsf: have you tried gobuild?
20:51 < nsf> npoe
20:51 < nsf> nope*
20:51 < happy> nsf: it is all I use for compiling now.  It is so easy :-)
20:52 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has quit [Read
error: 110 (Connection timed out)]
20:52 < nsf> well, I'm not an old Go user, I just started to use it recently
20:53 < nsf> I should probably see what's this gobuild does :)
20:53 < happy> nsf: I started less than two weeks ago
20:53 < happy> am I that old?
20:53 < nsf> I don't know :)
20:53 * happy is 17 btw
20:53 < happy> I am not old in that sense either
20:54 * nsf is 21
20:54 < happy> nsf: it compiles your whole project without a make file.  It
figures out what depends on what and compiles your libs in order
20:54 < nsf> well I'm reading this now: http://code.google.com/p/gobuild/
20:54 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit ["Leaving"]
20:54 < nsf> :P
20:54 < nsf> I was hoping that someone will eventually implement Go lang
support in cmake
20:55 < nsf> I like cmake :D
20:55 < happy> you can't use go in cmake?
20:55 < nsf> it requires to write a compiler support scripts first
20:55 < nsf> and I don't want to dig into that
20:55 < happy> lol
20:56 < dho> ah
20:57 < nsf> it's not that I really like cmake, but I don't like much plain
Makefiles too :)
20:57 < happy> gobuild is kind of an answer to that :-)
20:57 < dho> sort of
20:57 < nsf> writing makefiles in Go? :)
20:57 < dho> no, it's implicit
20:57 < nsf> crazy..
20:57 < nsf> :D
20:57 < dho> jhh and i need to get gomake wrapped up
20:58 < happy> dho: what is gomake?
20:58 < dho> http://code.google.com/p/gomake/
20:59 < nsf> and it doesn't look like it allows building C modules..  other
than that I build my .go files using command line :D
20:59 < nsf> who needs make, it builds really fast :D
20:59 < happy> lol
21:00 -!- leitaox [n=leitaox@187.100.225.67] has quit [Client Quit]
21:00 < Eridius> how does gomake compare to gobuild?
(http://code.google.com/p/gobuild/)
21:00 < happy> FINALLY.  I got my nzb library working :-).  And a frontend
program that cats nzb files :-).  Now to make it do something useful...
21:01 < dho> Eridius: it's a completely different project with completely
different goals
21:01 -!- addos_ [i=98340003@gateway/web/freenode/x-kcjhwoaigmmjlehw] has left
#go-nuts []
21:02 -!- bfrank [i=98340003@gateway/web/freenode/x-lmwcspretkvumidd] has joined
#go-nuts
21:02 -!- Hong_MinHee [n=dahlia@211.239.163.54] has quit [Read error: 54
(Connection reset by peer)]
21:02 < happy> dho: what are the different goals?
21:02 < bfrank> Is there a way to read lines with io or ioutil from files?
21:02 -!- Hong_MinHee [n=dahlia@211.239.163.54] has joined #go-nuts
21:06 < happy> bfrank: http://golang.org/pkg/bufio/#Reader ?
21:06 < happy> bfrank: I have never tried that before, but that is what
jumped out at me
21:07 -!- dj_ryan_ [n=ryan@c-67-160-202-4.hsd1.ca.comcast.net] has left #go-nuts
[]
21:08 < happy> dho: what is different about gomake?
21:09 < jhh> it's supposed to be used for the go source tree one day
21:09 < happy> ok
21:09 < dho> among other things
21:09 < dho> it's a wip
21:10 < dho> and we haven't made much P on it lately :)
21:10 < nsf> well, there are already gomake in cmds
21:10 < nsf> :)
21:10 < nsf> there is*
21:10 < jhh> dho: do you have an idea what russ things about the jam syntax?
21:10 < jhh> thinks*
21:11 < happy> There are two things I would want from it are (a) to be
included with the compiler and (b) be able to make rules for installing :-)
21:12 < happy> the two things*
21:12 < dho> no clue
21:12 < happy> jhh: and gobuild is a cooler name :-P
21:13 < jhh> happy: than gomake?
21:13 < happy> yeah
21:13 < dho> i don't think so
21:13 < dho> but i also don't think it matters
21:13 < jhh> they both have a coolness value of zero to me
21:13 < jhh> but i agree to dho
21:14 < happy> jhh: but gomake is -1 :-P.  And no, it does not matter once
they have different features
21:15 -!- ThreeSix [n=Vova@IGLD-84-229-215-110.inter.net.il] has quit [Client
Quit]
21:16 < jhh> so you think two programs with the same feature should have
equally cool names?
21:18 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the
connection]
21:18 < happy> jhh: I finally figured out what is different.  Gomake only
compiles if the source changed
21:19 * happy goes to install gomake
21:20 < dho> gomake is not done
21:20 < dho> what's in there is not what it will end up being
21:20 < happy> ok
21:20 < jhh> :D
21:20 < nsf> I really want the tool that will simplify current work of
Make.pkg and cgo
21:20 < dho> jhh: did you get a scanner/parser done for the jamfile stuff?
21:20 < dho> nsf: agreed
21:21 < dho> that's part of the idea
21:21 < dho> another thing is import "hg://code.google.com/p/somepackage"
21:21 < jhh> dho: yes, it's online.  also some horrible rule matching stuff
21:21 < nsf> wow :)
21:23 < jhh> the gomake in the old directory is also good at not compiling
anything because it is convinced stuff didn't change
21:23 -!- smooge [n=smooge@int.smoogespace.com] has left #go-nuts ["-ENOCAFFEINE"]
21:24 -!- LuitvD [n=luitvd@beigetower/luitvd] has quit [Read error: 60 (Operation
timed out)]
21:24 < jhh> one should adjust the description of the gomake page :)
21:24 < happy> wow.  You plan on making it fetch dependencies?
21:24 * happy want
21:25 < dho> yep
21:25 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has quit ["leaving"]
21:26 < happy> dho: after I get a LGTM, how do I get a patch commited?
21:27 -!- LuitvD [n=luitvd@beigetower/luitvd] has joined #go-nuts
21:27 < dho> it just gets committed at some point
21:27 < happy> ok
21:28 -!- tsung_ [n=jon@112.104.53.151] has quit [Read error: 60 (Operation timed
out)]
21:34 -!- tsung [n=jon@112.104.53.151] has joined #go-nuts
21:38 -!- bortzmeyer [n=stephane@central.sources.org] has quit [Client Quit]
21:46 < LuitvD> geez, it's strange to suddenly realize that the song on the
radio by the "Scissor Sisters" is their cover of Pink Floyd's "Comfortably Numb"
21:47 -!- Wiz126 [i=Wiz126@72.20.222.187] has joined #go-nuts
21:50 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error:
113 (No route to host)]
21:51 -!- Ortzinator [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
21:55 -!- wuehlmaus [n=wuehlmau@p4FCC6FB7.dip.t-dialin.net] has quit [Connection
timed out]
21:55 -!- wuehlmaus [n=wuehlmau@p4FCC44C9.dip.t-dialin.net] has joined #go-nuts
21:57 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
21:57 -!- Wiz126 [i=Wiz126@72.20.222.187] has quit [Read error: 60 (Operation
timed out)]
22:01 -!- Thorero [i=55f2fe90@gateway/web/freenode/x-rxaciigwkrxlljdx] has joined
#go-nuts
22:02 -!- codedread [i=180dd699@gateway/web/freenode/x-rcxkwbshnzqeqftf] has
joined #go-nuts
22:05 -!- furbage [n=furbage@87-194-207-82.bethere.co.uk] has joined #go-nuts
22:05 -!- Wiz126 [i=Wiz126@72.20.222.187] has joined #go-nuts
22:05 < dho> LuitvD: i hate that cover
22:05 < dho> i hated them for that cover
22:05 < dho> then someone played the album (i didn't know it) and i really
got into it
22:05 < dho> until that song came on and i hated myself for liking the rest
of the album :)
22:05 < LuitvD> :P
22:06 < LuitvD> the radio program got lots of negative comments for playing
that song :P
22:07 -!- Thorero [i=55f2fe90@gateway/web/freenode/x-rxaciigwkrxlljdx] has left
#go-nuts []
22:07 < LuitvD> the program (3 voor 12 radio) plays more alternative and
local or starting foreign songs
22:07 < LuitvD> bands
22:07 < LuitvD> whatever
22:08 < LuitvD> though this was a little too alternative for some, switching
it off
22:08 < LuitvD> (the radio that is)
22:09 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit ["Bye
Bye"]
22:14 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Client Quit]
22:14 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
22:18 -!- wuehlmaus [n=wuehlmau@p4FCC44C9.dip.t-dialin.net] has quit [Read error:
110 (Connection timed out)]
22:21 -!- furbage [n=furbage@87-194-207-82.bethere.co.uk] has quit [Read error:
104 (Connection reset by peer)]
22:21 -!- furbage_ [n=furbage@87-194-207-82.bethere.co.uk] has joined #go-nuts
22:24 -!- codedread [i=180dd699@gateway/web/freenode/x-rcxkwbshnzqeqftf] has left
#go-nuts []
22:31 -!- ducktype [n=fdsgdfsg@host25-60-dynamic.55-79-r.retail.telecomitalia.it]
has joined #go-nuts
22:31 < ducktype> hi
22:32 -!- wrtp [n=rog@78.148.135.120] has quit [Client Quit]
22:33 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
22:35 -!- bfrank [i=98340003@gateway/web/freenode/x-lmwcspretkvumidd] has quit
[Ping timeout: 180 seconds]
22:38 < happy> hi
22:38 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
22:39 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Remote closed the
connection]
22:40 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
22:41 -!- snearch [n=olaf@g229055086.adsl.alicedsl.de] has joined #go-nuts
22:50 -!- Ravm [n=Wonder1@a83-161-221-244.adsl.xs4all.nl] has joined #go-nuts
22:51 -!- Ravm [n=Wonder1@a83-161-221-244.adsl.xs4all.nl] has left #go-nuts []
22:53 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
22:54 -!- furbage [n=furbage@87-194-207-82.bethere.co.uk] has quit []
22:55 < plexdev> http://is.gd/728yc by [Andrey Mirtchovski] in
go/src/pkg/net/ -- net: parse aliases in /etc/hosts correctly
22:56 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the
connection]
22:57 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Remote closed the connection]
22:58 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
22:58 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:58 -!- boscop [n=boscop@f055056074.adsl.alicedsl.de] has quit ["Gxis revido!"]
23:01 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:02 -!- LuitvD [n=luitvd@beigetower/luitvd] has quit ["Leaving"]
23:03 -!- ericvh [n=ericvh@32.97.110.63] has left #go-nuts []
23:04 -!- teedex [n=teedex@adsl-76-200-101-92.dsl.pltn13.sbcglobal.net] has quit
[Read error: 60 (Operation timed out)]
23:13 -!- mbarkhau [n=koloss@p54A7EF7C.dip.t-dialin.net] has quit [Read error: 104
(Connection reset by peer)]
23:14 -!- Alkavan [n=alkavan@IGLD-84-228-123-6.inter.net.il] has joined #go-nuts
23:15 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:19 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
23:19 -!- ericvh_ [n=ericvh@32.97.110.65] has joined #go-nuts
23:19 -!- ericvh_ [n=ericvh@32.97.110.65] has quit [Client Quit]
23:22 -!- supertr4mp [n=hevalbar@88.231.86.219] has joined #go-nuts
23:25 -!- p4p4 [n=P4p4@248.121.113.82.net.de.o2.com] has quit ["ChatZilla 0.9.84
[SeaMonkey 2.0a3/20090223135443]"]
23:32 -!- snearch [n=olaf@g229055086.adsl.alicedsl.de] has quit ["Ex-Chat"]
23:35 -!- jhawk28 [n=jhawk28@user-142g7u9.cable.mindspring.com] has joined
#go-nuts
23:37 -!- hevalbaranov [n=hevalbar@88.252.170.60] has quit [Read error: 110
(Connection timed out)]
23:39 -!- gnuvince [n=vince@72.0.219.40] has joined #go-nuts
23:41 < plexdev> http://is.gd/72j0d by [Ian Lance Taylor] in go/ -- Add an
explicit patent grant to the Go license.
23:51 -!- exiquio [n=ghost@c-67-164-136-59.hsd1.nm.comcast.net] has quit ["That's
it for today"]
--- Log closed Tue Jan 26 00:00:01 2010