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

--- Log opened Mon Dec 14 00:00:25 2009
--- Day changed Mon Dec 14 2009
00:00 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Remote
closed the connection]
00:02 -!- delsvr [n=delsvr@cpe-24-59-168-135.twcny.res.rr.com] has joined #go-nuts
00:05 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
00:12 -!- delsvr [n=delsvr@cpe-24-59-168-135.twcny.res.rr.com] has quit
["Leaving..."]
00:12 -!- delsvr [n=delsvr@cpe-24-59-168-135.twcny.res.rr.com] has joined #go-nuts
00:15 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has quit [""Some cause
happiness wherever they go; others whenever they go." --Oscar Wilde"]
00:15 -!- eulenspiegel [n=irssi@p579CA85F.dip.t-dialin.net] has quit ["Lost
terminal"]
00:15 -!- mbarkhau [n=koloss@p54A7BE80.dip.t-dialin.net] has quit ["Leaving."]
00:20 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
00:29 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
00:31 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
00:36 -!- lux` [n=lux@151.71.211.173] has quit [Read error: 145 (Connection timed
out)]
00:38 -!- Sungem [i=Sungem@118-160-173-180.dynamic.hinet.net] has joined #go-nuts
00:44 -!- JSharpe [n=jamie@5ad50265.bb.sky.com] has quit [Client Quit]
00:48 -!- nictuku [n=nnnictuk@cetico.org] has joined #go-nuts
00:52 -!- nf_ [n=nf@124-168-137-253.dyn.iinet.net.au] has joined #go-nuts
00:55 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
00:57 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts
00:57 -!- kmc [n=keegan@207.237.163.75] has left #go-nuts ["Leaving"]
01:03 -!- nf [n=nf@124-171-26-50.dyn.iinet.net.au] has quit [Read error: 101
(Network is unreachable)]
01:03 -!- boot0 [n=nf@124-171-26-50.dyn.iinet.net.au] has quit [Read error: 101
(Network is unreachable)]
01:07 -!- pvanduse [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
01:11 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit []
01:13 -!- Xera` [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
01:16 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit [Read error: 60
(Operation timed out)]
01:20 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
01:22 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
01:23 -!- Xera` [n=lol@87-194-208-246.bethere.co.uk] has quit [Read error: 60
(Operation timed out)]
01:24 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 110
(Connection timed out)]
01:25 -!- Alkavan [n=alkavan@87.68.247.236.adsl.012.net.il] has quit [Read error:
104 (Connection reset by peer)]
01:25 -!- Misto [n=Misto@ppp-11-91.32-151.iol.it] has quit []
01:25 -!- Alkavan [n=alkavan@87.68.247.236.adsl.012.net.il] has joined #go-nuts
01:31 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
01:39 -!- bjorn` [i=bjorn@archlinux.no] has quit [Read error: 110 (Connection
timed out)]
01:40 -!- saati [n=bjb@marvin.harmless.hu] has quit [Read error: 110 (Connection
timed out)]
01:45 -!- bjorn` [i=bjorn@archlinux.no] has joined #go-nuts
01:46 -!- triplez [n=triplez@bb116-14-21-248.singnet.com.sg] has joined #go-nuts
01:52 -!- delsvr [n=delsvr@cpe-24-59-168-135.twcny.res.rr.com] has quit
["Leaving..."]
02:03 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
02:04 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has quit []
02:20 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
02:31 < drhodes> anyone know if there is a way to dump a go AST, and if
there is a tool that will generate go code from that output?  I've looked at 8g's
-w option, and would like to read more about that, but can't seem to track down
docs for it.
02:33 < fgb> what about 8g -t
02:34 < drhodes> hmm I'm not getting any output with that
02:37 < fgb> oh, that only works with 8c I guess
02:38 < fgb> grep gc/*.c for debug
02:38 < fgb> and check which flags are supported
02:38 < drhodes> ok, thanks fgb
02:39 < fgb> print(" -w print the parse tree after typing\n");
02:39 < fgb> np
02:47 < uriel> drhodes: http://golang.org/pkg/go/ast/
02:47 < uriel> drhodes: and see the rest of http://golang.org/pkg/go/
02:48 < uriel> good night now
02:49 < drhodes> that is a module that is going to take effort to learn :).
I was hoping for a nice lispy tree that some magic option and or existing program
would produce.
02:49 < drhodes> good night
02:49 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit
["Leaving..."]
02:51 -!- kanru [n=kanru@61-228-164-59.dynamic.hinet.net] has joined #go-nuts
02:56 -!- alc [n=alc@222.128.145.39] has joined #go-nuts
03:04 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
03:07 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
03:10 -!- smcq__ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
03:13 -!- kanru [n=kanru@61-228-164-59.dynamic.hinet.net] has quit ["WeeChat
0.3.1-dev"]
03:13 -!- kanru [n=kanru@61-228-164-59.dynamic.hinet.net] has joined #go-nuts
03:21 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit []
03:26 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Read
error: 113 (No route to host)]
03:27 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
03:28 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Client
Quit]
03:31 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
03:40 -!- smcq___ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined
#go-nuts
03:45 -!- smcq__ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Read
error: 113 (No route to host)]
03:56 -!- Wi11 [n=william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Read
error: 104 (Connection reset by peer)]
03:59 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Read
error: 113 (No route to host)]
03:59 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit
["<sresp.co.cc>"]
04:02 -!- Wi11 [n=william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
04:16 -!- gnibbler [n=duckman@203-217-87-49.dyn.iinet.net.au] has joined #go-nuts
04:27 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 110 (Connection timed
out)]
04:29 -!- gnibbler_ [n=duckman@203-217-81-54.dyn.iinet.net.au] has quit [Read
error: 101 (Network is unreachable)]
04:30 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote closed the connection]
04:32 -!- smooge [n=smooge@nat/redhat/x-nocexefvgnflbscz] has quit ["-ENOBRAIN"]
04:49 -!- jhow [n=anx@189.104.212.254] has quit []
04:58 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"]
05:01 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
05:02 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Client Quit]
05:03 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
05:03 -!- slashus2_ [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined
#go-nuts
05:09 -!- smooge [n=smooge@12.51.54.246] has joined #go-nuts
05:10 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [Read
error: 60 (Operation timed out)]
05:11 -!- smooge [n=smooge@12.51.54.246] has quit [Client Quit]
05:12 -!- smooge [n=smooge@12.51.54.246] has joined #go-nuts
05:15 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has quit
[Connection reset by peer]
05:15 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
05:16 -!- ohday [n=ohday@unaffiliated/ohday] has joined #go-nuts
05:16 < ohday> When I hg pull --update go, do I need to reinstall?
05:17 < Gracenotes> yeah, the main repository contain the source, not the
binaries
05:17 < ohday> Thought so.
05:18 -!- dju_ [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
05:18 < Gracenotes> it might be nice to detect if some base modules don't
need to be recompiled (the relatively slower-to-compile C ones)
05:18 -!- nonexec [i=nonexec@anapnea.net] has joined #go-nuts
05:19 < ohday> yea.
05:20 -!- nigwil [n=chatzill@berkner.ccamlr.org] has quit [Read error: 131
(Connection reset by peer)]
05:20 < Gracenotes> you can remove them from the makefile explicitly
05:20 < Gracenotes> under those circumstances
05:21 < ohday> Gracenotes, have you done a lot with Go thus far?
05:22 < Gracenotes> yes.  not much in the last week or so..  the end of the
semester really hits you hard.
05:22 < Gracenotes> my main project
05:22 < Gracenotes> > i, j := 0, 1; for { fmt.Printf("%d ", i); i, j = j,
i + j; }
05:23 < Gracenotes> :| I need to work on error-reporting
05:23 < ohday> hehe
05:23 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
05:24 < Gracenotes> > i, j := 0, 1; for { fmt.Printf("%d ", i); i, j = j,
i + j; }
05:24 < rndbot> 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584
4181 6765 10946 17711 28657 46368 75025 121393 196418 317811 514229 8...
05:24 < ohday> I was thinking of a sort of interpreter for Go...  :/
05:24 < ohday> Somewhat like, er, Python's.
05:24 < JBeshir> gosh
05:24 < JBeshir> Go Shell
05:24 < JBeshir> XD
05:24 < ohday> Never heard of it ;/
05:24 < JBeshir> I was suggesting a name.
05:24 < Gracenotes> an interpreter exists.  I think an interpreter for Go
written in Go, however, might be a bit too slow, given that it has a non-trivial
RTS.  who knows.
05:24 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has quit
[Read error: 60 (Operation timed out)]
05:25 < ohday> JBeshir, oh ok =D
05:25 < ohday> Gracenotes, "non trivial RTS" ?
05:25 < Gracenotes> what I do is compile it..  what most bots do.
05:26 < JBeshir> For Go, that's close enough.  :P
05:27 -!- nigwil [n=chatzill@berkner.ccamlr.org] has joined #go-nuts
05:27 < ohday> Gracenotes, What do you mean by non trivial rts?
05:27 < Gracenotes> I'm looking for the files atm
05:28 < Gracenotes> http://golang.org/src/pkg/runtime/
05:30 < Gracenotes> the backend of the runtime system is in C
05:41 -!- tanamo [n=tanamo@125.252.70.230] has quit [Remote closed the connection]
05:42 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
05:43 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
05:43 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Client Quit]
05:49 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has quit ["Bye!"]
05:53 -!- robot12 [n=root@host.89-154-138-78.kgts.ru] has quit ["Ухожу я от вас
(xchat 2.4.5 или старше)"]
05:55 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has quit []
05:56 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
05:58 -!- robot12 [n=root@robot12.kgts.ru] has joined #go-nuts
06:02 < ohday> Gracenotes, ah
06:04 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has quit [Read error: 110
(Connection timed out)]
06:07 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
06:07 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
06:08 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
06:12 -!- droid001 [n=g1@p4FDC9B44.dip.t-dialin.net] has quit [Connection timed
out]
06:14 -!- droid001 [n=g1@p4FDC9F6F.dip.t-dialin.net] has joined #go-nuts
06:17 < kevinwatt> Hello, I have a problem of return type.
06:17 < kevinwatt> func mapper() (m map) { m := make(map[int]string);
m[1]="test"; return
06:17 < kevinwatt> }
06:17 -!- Jerub [n=gideon@unaffiliated/jerub] has left #go-nuts []
06:17 < kevinwatt> map.go:3: syntax error near map
06:18 -!- aho [n=nya@f051079158.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
06:18 < kevinwatt> It only happen with map.
06:26 -!- achivetta [n=achivett@COEUS.RES.CMU.EDU] has joined #go-nuts
06:37 -!- dju_ [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has quit
["Quitte"]
06:39 -!- nigwil [n=chatzill@berkner.ccamlr.org] has quit ["ChatZilla 0.9.85
[Firefox 3.5.5/20091102152451]"]
06:43 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit [Read
error: 113 (No route to host)]
06:45 -!- KillerX [n=anant@65.123.0.210] has joined #go-nuts
06:46 -!- KillerX [n=anant@gentoo/developer/KillerX] has left #go-nuts []
06:48 < Gracenotes> kevinwatt: what kind of map is it?
06:48 < Gracenotes> "map" is not a type in itself.  map[foo]bar is
06:49 < Gracenotes> it takes two type parameters
06:50 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
06:52 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
06:53 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit []
06:55 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Client Quit]
07:02 -!- ohday [n=ohday@unaffiliated/ohday] has quit [Read error: 110 (Connection
timed out)]
07:06 < kevinwatt> Gracenotes: but, I can't use (map[foo]bar) as a function
return type too.  I have to build a struct for it.  Why?
07:07 < Gracenotes> you should be able to...
07:09 < Gracenotes> > f := func() (m map[int]string) { m =
make(map[int]string); m[1] = "one"; m[2] = "two"; return; }; fmt.Print(f())
07:09 -!- rog [n=rog@78.149.49.133] has joined #go-nuts
07:09 < rndbot> map[1:one 2:two]
07:10 < Gracenotes> @eval map[int]string{1: "one", 2: "two"}
07:10 < rndbot> map[1:one 2:two]
07:11 -!- JSharpe [n=jamie@5ad50265.bb.sky.com] has joined #go-nuts
07:13 -!- triplez [n=triplez@bb116-14-21-248.singnet.com.sg] has quit [Read error:
54 (Connection reset by peer)]
07:13 < kevinwatt> Gracenotes: err..  I forget add return map's name.
Thanks for your help.  It's work now.  :D
07:14 < Gracenotes> good, good
07:15 -!- triplez [n=triplez@bb116-14-84-90.singnet.com.sg] has joined #go-nuts
07:21 -!- ac_ [i=foobar@174-21-101-232.tukw.qwest.net] has quit [Read error: 60
(Operation timed out)]
07:23 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 60
(Operation timed out)]
07:25 -!- ac [i=foobar@174-21-101-232.tukw.qwest.net] has joined #go-nuts
07:36 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts
07:37 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
07:58 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit [Read
error: 104 (Connection reset by peer)]
07:59 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined
#go-nuts
08:00 -!- super__ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined #go-nuts
08:02 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has joined
#go-nuts
08:09 < spikebike> hrm, there was a good search widget (much better than the
one at golang.org) for go searches
08:09 < spikebike> anyone got the url handy?
08:13 < spikebike> http://go-lang.cat-v.org/go-search
08:13 < spikebike> (found it)
08:13 -!- iwikiwi [n=iwikiwi@202.3.77.126] has joined #go-nuts
08:15 < uriel> spikebike: :)
08:15 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
08:16 < spikebike> Was hoping for sha256 or skein bindings or
implementations
08:16 < uriel> spikebike: afaik there is an sha256 in the patch queue
08:17 < spikebike> ah, cool
08:17 < uriel> the api is going to be exactly the same as for the rest, so
use something else, and you can trivially siwthc later
08:17 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit
[Connection timed out]
08:18 < uriel> probably should be ready to go in the next release in a week
or so (random guess on my part)
08:19 < spikebike> interesting, I'm writing a threaded distributed p2p
backup
08:19 < spikebike> need a good hash, and a way to securely communicate
between peers
08:21 -!- JSharpe [n=jamie@5ad50265.bb.sky.com] has left #go-nuts []
08:22 * spikebike checks out the tls support
08:23 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
08:23 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined
#go-nuts
08:24 -!- mpurcell|sleep [n=mpurcell@vpn.michaelpurcell.info] has quit ["Bouncer
reset, reloading configuration."]
08:24 -!- iwikiwi [n=iwikiwi@202.3.77.126] has quit ["Computer has gone to sleep"]
08:25 -!- mpurcell [n=mpurcell@sholes.info] has joined #go-nuts
08:29 -!- johan-s [n=johan@62.70.27.104] has joined #go-nuts
08:32 < spikebike> hmm, looks like the rsa support might just work
08:33 -!- trickie [n=trickie@94.100.112.225] has quit ["Computer has gone to
sleep"]
08:35 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:36 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
08:37 -!- AndrewBC_ [n=Andrew@97.93.242.12] has quit [Read error: 110 (Connection
timed out)]
08:39 -!- super__ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit [Read
error: 110 (Connection timed out)]
08:43 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
08:44 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
08:48 < uriel> afaik tls support is not completely done, but it is being
worked on
08:49 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined
#go-nuts
08:50 -!- smcq___ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Remote
closed the connection]
08:56 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
08:57 -!- p0g0_ [n=pogo@12.162.180.135.MRTC.static.mrtc.com] has joined #go-nuts
08:57 < spikebike> yeah, I got that impression from what I've found
08:57 < spikebike> the RSA support looks more complete
08:58 < spikebike> I just want some way to be sure who I'm talking to and
make it hard for people to ease drop
08:58 < spikebike> just did a hg pull and am trying an example I found on
go-nuts
09:00 < uriel> I would use sha1, and just switch it once the sha256 is added
09:01 < uriel> but I'm not sure what you are exactly doing, so up to you
09:04 < spikebike> yeah that could let me make progress
09:04 < spikebike> so yeah that works
09:04 < spikebike> hrm, currently trying to get the example mentioned at
http://groups.google.com/group/golang-nuts/browse_thread/thread/fd557b11893aad28
working
09:05 -!- pkrumins [i=nhl@unaffiliated/pkrumins] has joined #go-nuts
09:06 < spikebike> hrmpf
09:07 < spikebike> I make the mentioned change and still get the error, the
change being adding a "&"
09:17 -!- dRiZzlee [n=dRiZzlee@77.221.236.236] has joined #go-nuts
09:22 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com
:: NoNameScript 4.21 :: www.esnation.com )"]
09:25 < pkrumins> \o/
09:25 < pkrumins> |
09:25 < pkrumins> / \
09:26 -!- dRiZzlee [n=dRiZzlee@77.221.236.236] has quit ["Leaving"]
09:28 -!- drry [n=drry@unaffiliated/drry] has quit ["Tiarra 0.1+svn-35634M:
SIGTERM received; exit"]
09:28 < spikebike> cute
09:31 < Gracenotes> (づの‿の)づ
09:33 -!- nf [n=nf@203-214-157-64.perm.iinet.net.au] has joined #go-nuts
09:33 -!- nf_ [n=nf@124-168-137-253.dyn.iinet.net.au] has quit [Read error: 60
(Operation timed out)]
09:37 < uriel> somebody has got to find a way to get Qtvali to stop
09:37 < uriel> this i just too much
09:37 < nf> He's very enthusiastic =)
09:38 -!- mbarkhau [n=koloss@p54A7EB4B.dip.t-dialin.net] has joined #go-nuts
09:41 -!- iwikiwi [n=iwikiwi@202.3.77.126] has joined #go-nuts
09:42 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
09:43 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
09:45 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
09:46 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
09:46 -!- AndrewBC [n=Andrew@97.93.242.12] has joined #go-nuts
09:47 < nf> I think his contributions would be a lot more effective if he
was more conservative, though.
09:48 < spikebike> heh
09:48 < spikebike> yeah I know the type, to much time/energy, nothing to
sink his teeth into
09:48 < spikebike> too
09:48 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined
#go-nuts
09:49 < spikebike> instead of proposing ideas that creates more work for
others he needs to do something
09:51 < nf> yes.
09:52 < nf> It's a common issue with a certain type of person, lots of big
ideas but short on the follow-through.
09:52 -!- iwikiwi [n=iwikiwi@202.3.77.126] has quit ["Computer has gone to sleep"]
09:55 -!- AndrewBC [n=Andrew@97.93.242.12] has quit [Read error: 60 (Operation
timed out)]
09:55 -!- AndrewBC [n=Andrew@97.93.242.12] has joined #go-nuts
09:57 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
09:57 -!- lstoll [n=lstoll@randall.lstoll.net] has quit ["ZNC -
http://znc.sourceforge.net"]
09:58 < spikebike> hrmpf, this crypto/tls example is just not working for me
09:58 -!- triplez [n=triplez@bb116-14-84-90.singnet.com.sg] has quit []
09:58 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has quit
["Leaving"]
10:01 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 54 (Connection
reset by peer)]
10:02 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
10:02 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
10:05 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit ["Leaving..."]
10:05 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
10:05 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has joined #go-nuts
10:08 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
10:09 -!- lstoll [n=lstoll@randall.lstoll.net] has joined #go-nuts
10:13 -!- gnibbler [n=duckman@203-217-87-49.dyn.iinet.net.au] has quit [Read
error: 60 (Operation timed out)]
10:13 -!- gnibbler [n=duckman@203-217-88-142.dyn.iinet.net.au] has joined #go-nuts
10:14 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit
[Connection timed out]
10:24 -!- path[l] [n=path@59.162.86.164] has quit []
10:27 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts
10:31 -!- Misto [n=Misto@ppp-203-89.32-151.iol.it] has joined #go-nuts
10:35 -!- Fullma [n=fullma@LAubervilliers-153-53-30-161.w217-128.abo.wanadoo.fr]
has quit []
10:37 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-138-150.adsl.proxad.net] has joined
#go-nuts
10:39 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
10:47 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
10:48 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
11:04 -!- hcatlin [n=hcatlin@host81-154-246-241.range81-154.btcentralplus.com] has
joined #go-nuts
11:08 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
11:08 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
11:17 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
11:18 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:27 -!- path[l] [n=path@122.182.0.38] has quit []
11:27 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 145 (Connection timed out)]
11:28 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
11:29 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
11:42 -!- wolfdart [n=wolfdart@200.131.132.193] has joined #go-nuts
11:48 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
11:50 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
12:00 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
110 (Connection timed out)]
12:06 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts
12:08 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
12:09 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
12:10 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
12:15 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
12:26 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
12:30 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
12:31 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
12:33 -!- wolfdart [n=wolfdart@200.131.132.193] has quit ["Leaving"]
12:34 -!- inittab [n=dlbeer@ip-118-90-54-50.xdsl.xnet.co.nz] has quit [Read error:
60 (Operation timed out)]
12:35 -!- lux` [n=lux@151.95.191.141] has joined #go-nuts
12:42 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts
12:48 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
12:49 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
104 (Connection reset by peer)]
12:50 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
12:51 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
12:55 -!- jA_cOp__ [n=yakobu@ti0043a380-3093.bb.online.no] has joined #go-nuts
13:04 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
13:08 -!- AndrewBC [n=Andrew@97.93.242.12] has quit []
13:09 -!- boscop [n=unknown@f055060229.adsl.alicedsl.de] has joined #go-nuts
13:14 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
110 (Connection timed out)]
13:17 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
13:18 -!- mbarkhau [n=koloss@p54A7EB4B.dip.t-dialin.net] has quit ["Leaving."]
13:22 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
13:22 -!- lmoura [n=lauromou@200.184.118.130] has quit [Read error: 104
(Connection reset by peer)]
13:23 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
13:23 -!- arachnid [n=arachnid@coilette.notdot.net] has joined #go-nuts
13:24 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
13:24 -!- lmoura [n=lauromou@200.184.118.130] has quit [Client Quit]
13:25 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
13:26 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
13:30 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
13:34 -!- john6 [n=john6@210.107.195.141] has joined #go-nuts
13:36 < john6> is there max() or min()?
13:36 < exDM69> I don't know but that's an intresting question, how to
define min and max with go?
13:37 < exDM69> can you take advantage of interfaces, like the Ord type
class in haskell
13:38 < Fatal> john6: math.Ceil|Floor ?
13:39 < john6> Fatal, I mean max = (a > b)?  a:b;
13:40 < john6> exDM69, the interface can be a good approach :p
13:40 -!- scm [i=justme@c185079.adsl.hansenet.de] has quit [Read error: 104
(Connection reset by peer)]
13:40 < exDM69> but you can't overload operators in go, can you?
13:41 < Fatal> john6: mmm, I had an extreme brainfart
13:42 < john6> of course not, but go can "type" built-in types, right?  for
example, type MyInt int.
13:42 -!- jA_cOp__ [n=yakobu@ti0043a380-3093.bb.online.no] has quit [Read error:
110 (Connection timed out)]
13:42 < john6> then, I can add max and min functions to MyInt...
13:43 < john6> Fatal, :) what's the "brainfart"?  I'm not a native
speaker...
13:43 < john6> mistake?
13:44 -!- scm [i=justme@c132060.adsl.hansenet.de] has joined #go-nuts
13:45 < john6> Fatal, exDM69, thanks for answering.  i have to go.  bye :)
13:47 -!- iwikiwi_ [n=iwikiwi@202.3.77.126] has joined #go-nuts
13:55 -!- leitaox [n=leitaox@189.20.94.66] has joined #go-nuts
14:01 < Fatal> john6: yes, mistake, my brain made a silly mistake and I
trusted it
14:01 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
14:02 -!- codedread [i=180dd699@gateway/web/freenode/x-uxslnuigmfupheft] has
joined #go-nuts
14:02 -!- Null_ [n=xxxx@216.40.38.232] has joined #go-nuts
14:04 -!- Sungem [i=Sungem@118-160-173-180.dynamic.hinet.net] has quit [Client
Quit]
14:08 -!- iwikiwi_ [n=iwikiwi@202.3.77.126] has quit ["I ascend to reality!"]
14:16 -!- fhs [n=fhs@pool-72-89-203-117.nycmny.east.verizon.net] has quit
["leaving"]
14:19 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
14:20 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
14:20 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
frimend, dagle1, nullpo, johan-s, robot12, vegai, jA_cOp_, Norgg, Zarutian,
Yappo__, (+2 more, use /NETSPLIT to show all of them)
14:20 -!- raichoo [n=raichoo@i577B8556.versanet.de] has joined #go-nuts
14:20 -!- codedread [i=180dd699@gateway/web/freenode/x-uxslnuigmfupheft] has quit
[Ping timeout: 180 seconds]
14:20 -!- murodes1 [n=James@203.59.241.186] has joined #go-nuts
14:21 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
viirya, rthc_, murodese, bluszc, albino, Raziel2p, drry, bengl_, Innominate, Wi11,
(+7 more, use /NETSPLIT to show all of them)
14:22 -!- rbohn [n=rbohn@192.206.100.4] has quit [Read error: 104 (Connection
reset by peer)]
14:23 -!- vegai [n=vegai@ap62.adsl.tnnet.fi] has joined #go-nuts
14:23 -!- rbohn_ [n=rbohn@192.206.100.4] has joined #go-nuts
14:24 -!- Netsplit over, joins: nullpo
14:24 -!- vegai [n=vegai@ap62.adsl.tnnet.fi] has quit [Killed by
douglas.freenode.net (Nick collision)]
14:24 -!- Netsplit over, joins: jA_cOp_, mejja, johan-s, robot12, Norgg, dagle1
14:24 -!- vegai [n=vegai@archlinux/developer/vegai] has joined #go-nuts
14:24 -!- Netsplit over, joins: tav, Zarutian, Yappo__
14:24 -!- frimend_ [i=c03kcn@salt.cs.umu.se] has joined #go-nuts
14:24 -!- dagle2 [n=dagle@host162-104.bornet.net] has joined #go-nuts
14:25 -!- Netsplit over, joins: albino
14:25 -!- kfx [n=kfx@location-b.madleet.net] has quit [Read error: 104 (Connection
reset by peer)]
14:25 -!- [dmp] [n=dennis@unaffiliated/dmp/x-546784] has quit [Read error: 104
(Connection reset by peer)]
14:25 -!- [dmp] [n=dennis@static.251.110.40.188.clients.your-server.de] has joined
#go-nuts
14:25 -!- kfx [n=kfx@location-b.madleet.net] has joined #go-nuts
14:26 -!- Netsplit over, joins: viirya
14:26 -!- sstangl [n=sean@BERLIN.RES.CMU.EDU] has quit [Remote closed the
connection]
14:26 -!- sstangl [n=sean@BERLIN.RES.CMU.EDU] has joined #go-nuts
14:26 -!- Netsplit over, joins: bluszc
14:26 -!- bengl [n=benglish@oasis.nexus.carleton.ca] has joined #go-nuts
14:26 -!- Netsplit over, joins: Wi11
14:26 -!- ozzloy [n=ozzloy@unaffiliated/ozzloy] has quit [Remote closed the
connection]
14:26 -!- ozzloy [n=ozzloy@unaffiliated/ozzloy] has joined #go-nuts
14:27 -!- dagle1 [n=dagle@host162-104.bornet.net] has quit [Success]
14:28 -!- vegai_ [n=vegai@archlinux/developer/vegai] has joined #go-nuts
14:30 -!- leitaox [n=leitaox@189.20.94.66] has quit [Client Quit]
14:33 -!- JPascal [n=jpascal@95-26-157-206.broadband.corbina.ru] has joined
#go-nuts
14:35 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
14:36 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has joined #go-nuts
14:37 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
14:37 -!- vegai [n=vegai@archlinux/developer/vegai] has quit [Connection timed
out]
14:38 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit
[Connection timed out]
14:38 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
14:38 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
14:38 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit [Connection
timed out]
14:41 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit []
14:41 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has quit [Client Quit]
14:49 -!- jsgotangco [n=JSG@ubuntu/member/jsgotangco] has joined #go-nuts
14:49 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
14:50 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
14:52 -!- fission6 [n=zach@nyc01.limewire.com] has joined #go-nuts
14:53 < fission6> i am trying to install go, i am not sure if my system's
archetture is supported.  i have a 64 bit machine but its not amd, its intel
14:53 -!- Norgg [n=norgg@norgg.org] has quit [Read error: 110 (Connection timed
out)]
14:56 < pkrumins> what happens if you try to compile amd 64 on intel 64?
14:57 < fission6> ar eyou as king me
14:57 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has joined #go-nuts
14:58 -!- Sungem [i=Sungem@114-45-233-112.dynamic.hinet.net] has joined #go-nuts
14:58 < pkrumins> huh?
14:58 -!- jsgotangco [n=JSG@ubuntu/member/jsgotangco] has quit ["Ciao"]
14:58 < tor7> fission6: unless you're actually using an Itanium you should
be able to use go.  both AMD and Intel use the same 64 bit instruction sets.
14:59 < fission6> ok well i am about to install go, so i will report back
14:59 < fission6> hg clone -r release https://go.googlecode.com/hg/ $GOROOT
for the code base right?
14:59 -!- gl [n=gl@88.161.126.36] has quit ["leaving"]
15:00 < pkrumins> fission6, it's in the docs.
15:00 -!- gl [n=gl@coders.fr] has joined #go-nuts
15:01 < fission6> ncie
15:01 < fission6> i think i am getting through it
15:01 -!- leitaox [n=leitaox@189.20.94.66] has joined #go-nuts
15:01 < fission6> is there a REST framework for google go yet?  i'd be
interested in building out this for web application support in go
15:06 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 113 (No route
to host)]
15:07 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
15:11 < fission6> is anyone aware of a working RESTful framework
15:13 < johan-s> fission6: there's an http client
15:13 < fission6> right i know there is an http module, but has anyone begun
work to extend this for REST
15:14 < johan-s> oh, you meant the other side.  Well there's the building
blocks for an http server too.  But it's not really a framework as such
15:17 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [Remote closed the connection]
15:18 < fission6> right
15:18 < jessta> what is a REST framework?
15:18 < fission6> i am thinking of starting a framework for RESTful services
built on top of the http module available
15:18 < jessta> besides being a http server and client
15:19 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Remote closed the connection]
15:19 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
15:19 < fission6> http://www.restlet.org/ something like that only for Go
15:19 < fission6> just an api
15:22 < jessta> so, mostly just mapping urls to functions?
15:26 < exDM69> what's this REST thing they are talking about?
15:28 < dagle2> fission6: The rest part or an webframework?
15:28 < fission6> REST
15:29 < fission6> The rest part or an webframework?  well what do you mean
by that
15:30 -!- JSharpe [n=jamie@5ad50265.bb.sky.com] has joined #go-nuts
15:32 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
15:33 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
15:43 -!- tomestla [n=tom@AToulouse-151-1-34-203.w83-203.abo.wanadoo.fr] has
joined #go-nuts
15:43 -!- johan-s [n=johan@62.70.27.104] has quit [Read error: 110 (Connection
timed out)]
15:46 -!- Spaghett1ni [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined
#go-nuts
15:50 -!- pylotr [n=lotrpy@202.38.97.230] has joined #go-nuts
15:55 < fission6> dagle2?  you there
16:03 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit
[Connection timed out]
16:07 < dho> morning
16:08 -!- leitaox [n=leitaox@189.20.94.66] has quit [Client Quit]
16:09 -!- Spaghett1ni [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Success]
16:10 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
16:11 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
16:11 -!- cryptix [n=cryptix@p4FDE2505.dip.t-dialin.net] has joined #go-nuts
16:12 < GeoBSD> hi dho
16:13 -!- kanru [n=kanru@61-228-164-59.dynamic.hinet.net] has quit ["WeeChat
0.3.1-dev"]
16:13 -!- gnuvince [n=vince@64.235.207.85] has quit [Remote closed the connection]
16:13 -!- gnuvince [n=vince@212.31-ppp.3menatwork.com] has joined #go-nuts
16:16 -!- pylotr [n=lotrpy@202.38.97.230] has quit []
16:17 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
16:17 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined
#go-nuts
16:18 -!- path[l] [n=path@59.162.86.164] has quit []
16:20 -!- rthc [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has quit [Killed by
reynolds.freenode.net (Nick collision)]
16:20 -!- rthc [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
16:20 -!- harja_ [n=maharj@castor.utu.fi] has joined #go-nuts
16:20 -!- scoopr [i=scoopr@et.vaan.osaa.fi] has joined #go-nuts
16:20 -!- Norgg [n=norgg@norgg.org] has joined #go-nuts
16:20 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts
16:20 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
16:20 -!- dpb [i=dpb@unaffiliated/dpb] has joined #go-nuts
16:20 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has joined
#go-nuts
16:20 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has joined #go-nuts
16:20 -!- yashi_ [n=chatzill@210.191.215.170] has joined #go-nuts
16:20 -!- Innominate [n=sirrobin@cpe-071-077-041-139.nc.res.rr.com] has joined
#go-nuts
16:20 -!- rthc_ [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
16:20 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined
#go-nuts
16:21 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has joined
#go-nuts
16:22 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has quit
[Client Quit]
16:25 -!- rthc [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has quit ["leaving"]
16:25 -!- rthc_ [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has quit [Client Quit]
16:25 -!- rthc [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
16:25 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
16:31 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
16:31 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
16:31 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:32 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
16:33 -!- rbohn [n=rbohn@192.206.100.4] has quit ["ChatZilla 0.9.85 [Firefox
3.0.15/2009101601]"]
16:37 -!- codedread [i=88b6021a@gateway/web/freenode/x-yfltdblleyqkqywl] has
joined #go-nuts
16:39 -!- alc [n=alc@222.128.145.39] has quit []
16:42 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Read
error: 60 (Operation timed out)]
16:46 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
joined #go-nuts
16:59 -!- codedread [i=88b6021a@gateway/web/freenode/x-yfltdblleyqkqywl] has quit
[Ping timeout: 180 seconds]
17:06 -!- tomestla [n=tom@AToulouse-151-1-34-203.w83-203.abo.wanadoo.fr] has quit
["Leaving."]
17:13 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has joined #go-nuts
17:13 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
quit ["Leaving."]
17:14 -!- smooge [n=smooge@12.51.54.246] has quit [Read error: 110 (Connection
timed out)]
17:15 -!- rbohn [n=rbohn@192.206.100.4] has joined #go-nuts
17:19 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
17:21 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has quit [Connection reset by
peer]
17:21 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
17:29 -!- tumdum [n=tumdum@unaffiliated/tumdum] has joined #go-nuts
17:32 -!- path[l] [n=path@59.162.86.164] has quit []
17:33 < mpl> hmm I'm amazed at how easy it is to make a dumb ol http server
in go :)
17:33 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has joined #go-nuts
17:37 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
17:37 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
17:38 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
17:42 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
17:44 -!- smooge [n=smooge@nat/redhat/x-oazifaraiiuasxjr] has joined #go-nuts
17:49 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
17:52 -!- Fringehead [n=fringe@c-24-126-235-188.hsd1.ga.comcast.net] has joined
#go-nuts
17:53 < pkrumins> mpl, already done 10 billion times.
17:55 < mpl> pkrumins: yes, so?
17:57 < pkrumins> so it's super easy!
17:59 < mpl> pkrumins: I thought you meant it has been done 10 billion times
specifically in go.  well, even though it's been done so many times, I find it
requires a bit more effort to do the same in C :)
18:00 < GeoBSD> how much ?
18:01 < mpl> gotta run, bbl.
18:02 -!- rog [n=rog@78.149.49.133] has quit []
18:07 -!- tumdum [n=tumdum@unaffiliated/tumdum] has quit []
18:13 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
18:13 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
18:14 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has joined #go-nuts
18:16 -!- smcq_ [n=smcq@c-98-210-159-164.hsd1.ca.comcast.net] has quit [Remote
closed the connection]
18:23 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
18:23 < rbohn> Wondering how to to a telnet-like client, then I saw
bytes.Buffer.
18:28 -!- mauke [n=mauke@p3m/member/mauke] has joined #go-nuts
18:28 -!- preflex [n=preflex@95-88-118-220-dynip.superkabel.de] has joined
#go-nuts
18:33 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
18:33 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts
18:35 < mauke> is there a gentoo ebuild for go?
18:35 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
18:39 < uriel> mauke: not yet afaik
18:39 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
18:39 < mauke> ok, thanks
18:40 < skelterjohn> morning, gents
18:40 < skelterjohn> and ladies
18:41 < exDM69> mauke: of course you could make an ebuild
18:41 < exDM69> but that would be a bit difficult because you need to
bootstrap the compilers
18:41 < mauke> first I'd have to learn how
18:47 -!- aho [n=nya@g228086078.adsl.alicedsl.de] has joined #go-nuts
18:48 -!- JPascal [n=jpascal@95-26-157-206.broadband.corbina.ru] has left #go-nuts
[]
18:55 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
18:56 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
19:01 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
19:01 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
19:01 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Read error:
104 (Connection reset by peer)]
19:01 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
19:02 -!- tomestla [n=tom@AToulouse-151-1-6-69.w83-193.abo.wanadoo.fr] has joined
#go-nuts
19:03 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
19:06 -!- watr [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
19:07 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
19:09 -!- smcq_ [n=smcq@adsl-99-33-25-116.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
19:10 -!- watr [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Client Quit]
19:11 -!- watr [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
19:11 -!- watr [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error: 104
(Connection reset by peer)]
19:11 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
19:19 <+iant> dho: wow, you really didn't slow qtvali down at all
19:20 < uriel> iant: I have been pleading with him in private to quiet down
for days
19:20 < uriel> it is hopeless
19:20 -!- franksalim [n=frank@adsl-76-221-202-115.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
19:20 <+iant> he was sending me private e-mail for a while and I had to just
stop replying
19:21 <+iant> not a tactic I resort to very often but I didn't know what
else to do
19:21 < uriel> you send him two lines telling him that please, this is not
your personal blog, and he answers with a wall of text high enough that the ISS
will hit it while in orbit
19:26 < dho> iant: It was worth a shot, nobody else had said it and I was
tired of reading it
19:26 < dho> but seriously, 5 replies in a ROW to PHF's email?
19:26 < dho> come ON
19:29 < uriel> dho: some of us have said it (I'm sure I'm not the only one),
just didn't broadcast it to the list, as there is enough noise already (and trying
to see if he got the hint), but no chance
19:30 < slashus2> Someone should create him a blog account, sit him down at
a computer, and click on the create new blog button with focus on the input
textbox, then swiftly run away.
19:30 < uriel> slashus2: sounds like a plan
19:31 -!- rog [n=rog@78.149.49.133] has joined #go-nuts
19:31 < dho> uriel: I'm sure
19:32 < dho> he replied to me off-list with some weird thing asking if I
thought code was really appropriate at this stage.
19:32 < dho> it's like, no of course I don't think that, because if I did, I
would have emailed you asking you to code instead of talk.
19:32 < dho> ...oh wait
19:32 < uriel> hah
19:33 < dho> </rant>
19:36 < uriel> all my life I have been looking forward to it, but now I'm
starting to fear the day when we can plug computers directly into our brains and
stop having our input 'limited' by keyboards..
19:37 < dho> I agree.
19:37 < dho> Speaking is already so quick, people think before they speak.
19:38 < dho> er, speak before they think
19:38 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
19:38 < dho> (This is why I favor grammars like Dutch that have most of the
verbs at the end of the sentence, so you really have to know what you're saying
before you say it; you don't think about it much, because it is really mostly
subconscious, but that added tiny delay helps a lot)
19:38 -!- pkrumins [i=nhl@unaffiliated/pkrumins] has quit [Read error: 60
(Operation timed out)]
19:38 < dho> Typing even moreso; it's so much less instantaneous that you
really have a chance to figure out what you're saying first.
19:39 -!- Pete_27 [n=noname@115.64.1.61] has joined #go-nuts
19:43 < anticw> dho: like many mailiing lists, the S/N isn't what i would
like it to be ...  i've considered a 'moderate' fork of the one we have now where
it's a bit more focused
19:44 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
19:45 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
19:46 < skelterjohn> The first time I saw him post, I noticed that he
replied to himself 5 times in a row, so I decided to not read it.
19:46 < uriel> anticw: there is the golang-dev list which seems much more
calmed down, and has got some serious discussion
19:47 -!- franksalim [n=frank@adsl-76-221-202-115.dsl.pltn13.sbcglobal.net] has
quit [Read error: 113 (No route to host)]
19:49 < dho> uriel: it's also getting all issues / cl stuff as well
19:49 < anticw> uriel: yeah, i'm watching that too ...  its hard, because
there is a lot of good stuff on the main list but also a lot of opining
19:50 < uriel> lets hope qtvali doesn't discover golang-dev ;P
19:50 < anticw> (which is valid but in moderation)
19:51 < uriel> YES!
19:51 * uriel makes a victory dance
19:51 < b00m_chef> anyone know if there has been any developments in the
data type abstraction area in go (c++ templating like)...?
19:51 < skelterjohn> uriel: ?
19:51 < uriel> b00m_chef: I hope not
19:52 < uriel>
http://groups.google.com/group/golang-nuts/browse_thread/thread/ffcc5c52e2a462e1
19:52 < skelterjohn> uriel: hahaha
19:52 < b00m_chef> so are you then supposed to write the same function 5+
times for every type mix?
19:52 < b00m_chef> like C
19:52 < mauke> b00m_chef: dude, just use a macro in C
19:52 < b00m_chef> mauke: no macro in go
19:52 < skelterjohn> b00m_chef: some way of doing templates/generics that
sort of thing is on the dev's mind.  in the mean time you can use the type
interface{}
19:53 < mauke> well, I suppose that's what awk is for
19:53 < b00m_chef> skelterjohn: I have been meaning to look into interface{}
19:53 -!- cablehead [n=Adium@nat/slide/x-vgrcyqskhorohjwt] has joined #go-nuts
19:53 < uriel> b00m_chef: supposed to what?  never had to write same
function 5+ times in my life, in any language I know of
19:53 * uriel sighs
19:53 < b00m_chef> skelterjohn: I would definetly be happy to avoid adding
anything to the language that can be done with existing facilities
19:53 -!- [Pete_27] [n=noname@115.64.1.61] has quit [Read error: 110 (Connection
timed out)]
19:54 < skelterjohn> using interface{} is less efficient (have to box and
unbox the values, assert type, etc)
19:54 < uriel> b00m_chef: then I really recommend you familiarize yourself
with the language first before requiesting more features
19:54 -!- KillerX [n=anant@nat/mozilla/x-zhuysahqabyiwbor] has joined #go-nuts
19:54 < uriel> skelterjohn: type selects are quite efficient (and elegant
IMHO)
19:54 < mauke> haha, that almost sounds like you want to avoid another C++
19:54 -!- tomestla1 [n=tom@AToulouse-151-1-41-175.w83-203.abo.wanadoo.fr] has
joined #go-nuts
19:54 < b00m_chef> uriel: your very agressive buddy...calm down
19:54 < skelterjohn> uriel: not as efficient as the compiler already knowing
the type.
19:55 < skelterjohn> who is uriel's very aggressive buddy?
19:55 < uriel> b00m_chef: well, it is a bit irritating when *everyone*
without having even taken a glance at interfaces, comes demanding some c++ feature
or other as if the world would end without it
19:55 < b00m_chef> uriel: read my message again...no demands were made.  The
reference to C++ was for purposes of illustrating my question better
19:55 < skelterjohn> on the other hand, if 'everyone' does it, then it's
time to just accept that people will do it and ignore them :)
19:56 < uriel> b00m_chef: not demans, but outrageous claims were clearly
made
19:56 < uriel> which amounts to pretty much the same thing
19:57 -!- tromp__ [n=tromp@rtc34-222.rentec.com] has left #go-nuts ["Konversation
terminated!"]
19:57 < b00m_chef> right...  anyways...moving on...
19:57 < skelterjohn> the thing i don't like about using interface{} is that
you can't assign a type "chan T" to a variable of type "chan interface{}"
19:57 < skelterjohn> that is one of the things templating could help with
19:58 <+iant> yes, that issue arises with chan, slice, array, and map
19:58 -!- gnuvince [n=vince@212.31-ppp.3menatwork.com] has quit [Read error: 110
(Connection timed out)]
19:58 < skelterjohn> iant: right.
19:59 < skelterjohn> iant; what are the dev's foci these days?
20:00 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
104 (Connection reset by peer)]
20:00 <+iant> we are talking about generics and also union types
20:00 <+iant> you saw the results of the semicolon discussions
20:00 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
20:00 < skelterjohn> hah
20:00 <+iant> also we want app engine to work, not sure what's involved in
that myself
20:00 < skelterjohn> the semicolon discussion didn't interest me too much.
don't really care about syntax
20:01 <+iant> get a debugger, switch gccgo to use the gc runtime, get swig
working
20:01 < skelterjohn> gc = go compiler or garbage collector
20:01 <+iant> go compiler
20:01 <+iant> oh yeah, garbage collector, that is actually highest priority
20:01 < skelterjohn> good good
20:02 <+iant> I'll try to get a roadmap doc together this week
20:02 < skelterjohn> oh, that would be interesting
20:02 <+iant> well, maybe not as interesting as you might think, but it
should be done irregardless
20:02 < skelterjohn> i would find it interesting :)
20:02 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit [Read error:
104 (Connection reset by peer)]
20:03 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
20:03 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
20:04 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
20:04 < Ycros> iant: a roadmap doc would be neat
20:06 -!- merowinger [n=merowing@80-218-247-197.dclient.hispeed.ch] has joined
#go-nuts
20:06 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the
connection]
20:06 -!- tomestla [n=tom@AToulouse-151-1-6-69.w83-193.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
20:06 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
20:08 -!- gnuvince [n=vince@212.31-ppp.3menatwork.com] has joined #go-nuts
20:09 < merowinger> Hey, is it possible to define a custom ServeMux and
stick it into the http.ServeMux field?  I tried it this way:
http://pastebin.com/m1e96eb6c but it doesn't work - what I dont understand is the
part in the error msg about missing Handle(string, http.Handler)...  because the
method exists?
20:10 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has quit
["Leaving..."]
20:11 -!- gasreaa [n=atwong@nat/slide/x-vhewewltbbjgqrcw] has joined #go-nuts
20:12 -!- Kibiz0r [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
joined #go-nuts
20:14 < Rob_Russell> iant: +1 for the roadmap, even if it's vague
20:14 -!- gasreaa [n=atwong@nat/slide/x-vhewewltbbjgqrcw] has left #go-nuts []
20:15 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
20:21 -!- xerox [n=xerox@unaffiliated/xerox] has quit [Read error: 110 (Connection
timed out)]
20:26 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
20:27 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
20:27 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
20:30 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
20:31 -!- dizm [n=dizm@121.98.168.127] has joined #go-nuts
20:33 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has quit
["leaving"]
20:34 -!- cmarcelo [n=cmarcelo@200.184.118.130] has joined #go-nuts
20:34 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
20:35 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
20:36 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
20:36 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
20:38 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has quit []
20:39 -!- AndrewBC [n=Andrew@97.93.242.12] has joined #go-nuts
20:40 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["Computer has gone to sleep"]
20:41 -!- Kibiz0r [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit
["Leaving."]
20:42 -!- dju_ [n=dju@89-158-203-183.rev.dartybox.com] has joined #go-nuts
20:43 -!- Kibiz0r [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
joined #go-nuts
20:43 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
20:45 -!- rog [n=rog@78.149.49.133] has quit []
20:48 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
20:48 -!- inittab [n=dlbeer@ip-118-90-1-68.xdsl.xnet.co.nz] has joined #go-nuts
20:55 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has quit
["leaving"]
20:56 -!- cmarcelo [n=cmarcelo@200.184.118.130] has joined #go-nuts
20:57 -!- xerox [n=xerox@151.61.161.138] has joined #go-nuts
20:57 -!- youngbull [n=youngbul@ti0025a380-dhcp1720.bb.online.no] has joined
#go-nuts
20:57 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-138-150.adsl.proxad.net] has quit
[Remote closed the connection]
20:58 < youngbull> Is anyone else finding the export if name is Capitalized
rule troublesome?
20:58 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."]
21:02 -!- boscop_ [n=unknown@f055058030.adsl.alicedsl.de] has joined #go-nuts
21:02 < Rob_Russell> youngbull: i have mixed feelings about it
21:03 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Read error: 104 (Connection
reset by peer)]
21:04 < Rob_Russell> trivia: in Fortran, variable names that started with i
through n were integer (by default)
21:05 -!- KillerX [n=anant@nat/mozilla/x-aosncooubartxstx] has joined #go-nuts
21:06 -!- theonewhoisone [n=theonewh@WL-186.CINE.HMC.Edu] has joined #go-nuts
21:08 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has quit
["Computer has gone to sleep"]
21:09 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
21:09 -!- eulenspiegel [n=irssi@p579CAB79.dip.t-dialin.net] has joined #go-nuts
21:09 < theonewhoisone> Hi, I'm having some troubles installing go under OSX
10.5.  At the step "./all.bash," I get this error:
21:10 < theonewhoisone> make.bash: line 43: /usr/bin/quietgcc: Permission
denied
21:10 < theonewhoisone> when I run "sudo ./all.bash", I get this error:
21:10 < theonewhoisone> $GOROOT is not set correctly or not exported
21:10 <+iant> well, is GOROOT set?  is it exported?  it may help to look at
the wiki page mentioned in the channel topic
21:10 < theonewhoisone> any help?  I'm not sure how to export GOROOT for the
root user
21:11 < theonewhoisone> I have it set for my default user, but it's not set
for root
21:11 < theonewhoisone> (checking the wiki page now thx)
21:11 < Rob_Russell> theonewhoisone: the root user can have a .bashrc as
well (at least on linux)
21:11 < theonewhoisone> where is it?
21:12 <+iant> ~root/.bashrc
21:12 < Rob_Russell> but it seems wrong that you should have to be root to
run quietgcc
21:13 < theonewhoisone> (also I think OSX has a different file structure
than ~root/.bashrc -- could be wrong
21:13 < dho> erhm
21:13 < dho> isn't it tcsh for root on os x?
21:14 -!- boscop [n=unknown@f055060229.adsl.alicedsl.de] has quit [Read error: 110
(Connection timed out)]
21:14 < dho> also, why do you have GOROOT set to /usr/bin
21:14 < Rob_Russell> theonewhoisone: try echo ~root
21:14 < theonewhoisone> lul good point
21:14 < dho> the default should be $HOME/bin, I didn't think that $HOME for
root is /usr on OS X, but I guess that's what we're determining
21:14 < dho> er
21:14 < dho> s/GOROOT/GOBIN/
21:14 < theonewhoisone> [~/go/src] $ echo ~root
21:15 < cryptix> there also is a /etc/bashrc but i think Rob_Russell is
right..  you should be allowed to execute (quite)gcc as normal user
21:15 < dho> cryptix: You can't write to /usr/bin as a normal user.
21:15 < theonewhoisone> yeah I put the stuff into the etc/bashrc
21:16 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
21:16 < theonewhoisone> (it's /var/root btw)
21:16 < theonewhoisone> (having some typing trouble over here)
21:16 < dho> theonewhoisone: are you executing as root or a normal user?
21:16 < theonewhoisone> tried normal first, then went to root when I had
perm problems
21:16 < Rob_Russell> k, if it's in etc/bashrc then that probably gets
sourced for root shells
21:16 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
21:17 < dho> theonewhoisone: go back to being a normal user
21:17 < theonewhoisone> it, uh, doesn't
21:17 < theonewhoisone> :(
21:17 < dho> what are $GOROOT, $GOBIN, $GOOS and $GOARCH set to
21:17 < dho> also, what is $SHELL
21:17 < theonewhoisone> GOBIN=/usr/bin
21:17 < theonewhoisone> GOARCH=386
21:17 < theonewhoisone> GOROOT=/Users/theonewhoisone/go
21:17 < theonewhoisone> GOOS=darwin
21:17 < dho> GOBIN is wrong
21:17 < theonewhoisone> I should have that be /usr/bin/go, right?
21:17 < theonewhoisone> kk
21:17 < dho> you can't write to /usr/bin as a normal user
21:17 -!- dju [n=dju@89-158-203-183.rev.dartybox.com] has quit ["Quitte"]
21:18 < dho> you should either set it to e.g.  $HOME/bin
21:18 < theonewhoisone> ok what should it be?
21:18 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error:
110 (Connection timed out)]
21:18 -!- dju [i=dju@89-158-203-183.rev.dartybox.com] has joined #go-nuts
21:18 < theonewhoisone> ok
21:18 < dho> (and put $HOME/bin in your $PATH)
21:18 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has quit []
21:18 < dho> or somewhere else you can write
21:18 < cryptix> dho: you're right.  i didnt think the permission denied was
caused by writing the object to a location where he couldnt write
21:18 < dho> If you want to install it globally, you're going to have to set
GOROOT to a location all users can read
21:18 < theonewhoisone> it's cool this is a single-user machine
21:19 < dho> cryptix: I just submitted a bunch of build patches so I'm
pretty familiar with where things can go wrong :)
21:19 * dho still needs to come up with a good idea for something to code in go
21:21 < theonewhoisone> hooray it's spitting out cryptic shit
21:21 < theonewhoisone> thx dho
21:21 < dho> np :)
21:21 < theonewhoisone> I'm still a little puzzled how I would do this
globally
21:22 < dho> theonewhoisone: regardless, you'll have to have
GOROOT/GOOS/GOARCH set when you build.
21:22 < dho> theonewhoisone: but the idea is that GOROOT would be in a
directory readable by all, and gobin would be somewhere that's typically in $PATH
21:22 < theonewhoisone> sure
21:22 < theonewhoisone> ok
21:22 < dho> I don't know if OS X has /usr/local/bin, but if so, I'd imagine
that being a good candidate
21:23 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined
#go-nuts
21:23 < theonewhoisone> but, I still don't know how to set these variables
for root
21:23 < theonewhoisone> I will consult the googlenets!
21:23 < dho> what's root's $SHELL?
21:24 < theonewhoisone> sh
21:24 < dho> iant: the curious thing is that malloc.c is that
libgo/runtime/malloc.c is the first thing that complains about
plan9-extensions-related errors, there are things that compile before it with
-fplan9-extensions that don't complain
21:25 < dho> theonewhoisone: probably $HOME/.profile
21:25 < dho> and even if that doesn't work you can always run ".
$HOME/.profile"
21:25 < dho> and that will get all those things sourced for you.
21:25 <+iant> dho: what is the error again?
21:26 < dho> e.g.  ../../../gccgo/libgo/runtime/malloc.h:247:6: error:
declaration does not declare anything
21:26 < dho> that's an anonymous struct in one of the malloc datastructures
21:26 < dho> probably a Lock; or something
21:26 <+iant> yeah
21:27 <+iant> I think malloc.c is the first file in the list which depends
on -fplan9-extensions
21:27 < dho> and then it fails to do the polymorphism when calling
pthread_mutex_*
21:27 < dho> the command line is using ~/obj/./gcc/xgcc, so it's not like
it's using my native compiler afaict
21:27 <+iant> what is the type of pthread_mutex_t?
21:28 <+iant> on GNU/Linux it is a union
21:28 < dho> it's a struct pthread_mutex
21:28 < theonewhoisone> (okie dokie working install - I'll get out of the
way of the serious business in here)
21:28 < theonewhoisone> (have a nice day)
21:29 <+iant> can you run the compilation command with --save-temps and
e-mail me the malloc.i file?
21:29 < dho> sorry, it's struct pthread_mutex *
21:29 < dho> sure can
21:29 <+iant> hmmm, that may be the problem
21:30 < dho> iant: and it looks like it's opaque too.
21:31 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
21:31 <+iant> opaque is probably OK, but -fplan9-extensions works for
unions/structs inside union/structs, not for pointers
21:31 <+iant> I'll have to look back at the Plan 9 docs to see whether it
should work for pointers
21:31 < dho> it isn't supposed to
21:31 <+iant> ok
21:32 < dho> grumble.
21:32 <+iant> then the problem is "typedef pthread_mutex_t Lock" in
runtime.h
21:32 <+iant> we need to move it into a struct
21:32 < dho> yeah
21:32 <+iant> and adjust lock and unlock accordingly
21:34 < dho> well that got me to mcentral.c :)
21:35 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Read error: 104
(Connection reset by peer)]
21:35 < dho> typdef struct { pthread_mutex_t l; } Lock;
21:35 <+iant> progress!
21:35 < dho> #define lock(p) pthread_mutex_lock(p.l) etc
21:35 -!- toadie [n=g@NTL208H101-123-104.nt.net] has quit [Read error: 104
(Connection reset by peer)]
21:36 -!- L29Ah [n=L29Ah@jabber.spbu.ru] has joined #go-nuts
21:36 < dho> unfortunately, it's not working for struct MCentral for some
reason
21:36 <+iant> same error?
21:37 < dho> they're getting passed on still as a struct MCentral
21:37 < dho> well, eg ../../../gccgo/libgo/runtime/mcentral.c:28:2: error:
passing argument 1 of 'pthread_mutex_init' from incompatible pointer type
21:37 < dho> /usr/include/pthread.h:216:6: note: expected 'struct
pthread_mutex **' but argument is of type 'struct MCentral *'
21:37 < dho> ../../../gccgo/libgo/runtime/mcentral.c: In function
'MCentral_AllocList':
21:37 < dho> ../../../gccgo/libgo/runtime/mcentral.c:46:2: error: request
for member 'l' in something not a structure or union
21:37 < dho> so different error, but due to similar things i guess
21:37 -!- fhs [n=fhs@pool-72-89-203-117.nycmny.east.verizon.net] has joined
#go-nuts
21:38 <+iant> oh, no, that call in mcentral.c is calling pthread_mutex_init
directly
21:38 <+iant> it just needs to be adjusted
21:38 < dho> aha.
21:39 < youngbull> Man I'm really finding this export if name is capitalized
rule troublesome, I usually find out what I wan't to export after I'm done writing
the package, and if I want to export it I have to search and replace every
occurance of the name...
21:40 < dho> iant: hm, adjusted to?  i don't see where it's ever initted in
another fashion
21:41 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit ["ChatZilla 0.9.84
[SeaMonkey 2.0a3/20090223135443]"]
21:41 <+iant> it's not; the call to pthread_mutex_init needs to use c.Lock.l
explicitly now, I think
21:42 < dho> at least in plan 9 you can't access the anonymous struct afaik
21:42 <+iant> hmmm, the line 46 problem is different, though; maybe lock and
unlock need to become functions rather than macros
21:42 <+iant> oh yeah
21:43 -!- kimelto [n=kimelto@boulz.org] has joined #go-nuts
21:43 <+iant> wait, actually, that does work with -fplan9-extensions
21:43 < dho> alright
21:43 <+iant> at least, I documented it to work
21:43 < fgb> I read about the patch, I guess it got accepted
21:43 < dho> yeah &c->Lock.l works
21:44 < dho> ok cool, time to deal with the rest of these things.
21:45 < dho> fgb: ah, I didn't hear of it
21:45 < fgb> it was months ago, was iant's patch ;)
21:45 < dho> oh, I see
21:46 <+iant> fgb: oh, the -fplan9-extensions patch isn't in mainline gcc
yet, it's only on the gccgo branch
21:46 < fgb> oh
21:46 < fgb> do you know if they are going to make it mainstream?  (they
gcc)
21:47 <+iant> I plan to propose it for gcc 4.6; the license has not been
settled yet, though
21:47 <+iant> (I'm one of the gcc maintainers)
21:47 < fgb> ah, thanks
21:47 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
21:47 < dho> iant: suggestions for where to put the new lock/unlock?
21:48 <+iant> dho: runtime/proc.c for now
21:48 < dho> ok
21:48 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
21:50 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote closed the connection]
21:50 < dho> weeeeird.
21:50 < dho> back to ../../../gccgo/libgo/runtime/runtime.h:83:6: note:
expected 'Lock' but argument is of type 'struct <anonymous> *'
21:51 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Read error: 131
(Connection reset by peer)]
21:53 < dho> and that's back in malloc.c again after converting lock to e.g.
bool lock(Lock l)
21:54 < skelterjohn> I have a really hard time understanding Helmar's ML
posts
21:54 < skelterjohn> it's just not quite enough english for me to understand
21:59 -!- theonewhoisone [n=theonewh@WL-186.CINE.HMC.Edu] has quit []
21:59 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
22:00 < dho> grmbl.
22:00 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
22:00 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
22:01 < dho> i was doin it rong
22:07 < dho> go1: error: '-fsplit-stack' currently only supported on
GNU/Linux
22:07 * dho sadface.
22:07 < dho> iant: what's that for?
22:08 <+iant> it's only supposed to use -fsplit-stack if the system supports
it, so that may indicate an error in the configure script
22:08 <+iant> the reason for the limitation is that I need a place to store
the stack bounds
22:09 <+iant> on GNU/Linux I use an offset from the TCB in %gs
22:09 <+iant> I would need something similar on other systems
22:10 < dho> hm
22:10 < dho> well it's building into x86_64-unknown-freebsd8.0
22:11 <+iant> I haven't looked into how FreeBSD does TLS
22:12 <+iant> if it is similar to GNU/Linux then it will probably suffice to
#define TARGET_THREAD_SPLIT_STACK_OFFSET in gcc/config/i386/freebsd.h and
gcc/config/i386/freebsd64.h, assuming there is a field available in the TCB
22:12 < dho> it's pretty much the same
22:13 < dho> afaik.  i didn't have to do all that much different with it in
8l anyway, and I didn't have to deal with it at all in 6l
22:14 < dho> thought i guess that's a little different
22:14 <+iant> yeah, gccgo has to play nice with the other code using the TLS
22:15 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Remote
closed the connection]
22:15 * dho sadly reruns configure :(
22:17 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:20 -!- fgb1 [n=fgb@190.246.85.45] has joined #go-nuts
22:21 -!- fgb [n=fgb@190.246.85.45] has quit [Nick collision from services.]
22:22 -!- fgb1 [n=fgb@190.246.85.45] has quit [Client Quit]
22:24 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
22:26 < djanderson> Hi, could anyone give me a hint about this beginners
mistake?  http://dpaste.com/133421/
22:26 < djanderson> I though str[int] would return the char of the string?
22:27 < djanderson> I thought I saw it in path.Split
22:27 < mauke> if go is anything like C, that should be '/'
22:27 < djanderson> mauke, yeah, that compiled.  Why?
22:28 < djanderson> (thank you, btw)
22:28 < Rob_Russell> yeah, compiler calls str[x] a uint8 in the error, which
matches up to an 8 bit char
22:28 < mauke> '/' is a char, "/" is a string
22:28 < KirkMcDonald> djanderson: '/' is a character literal.
22:28 < djanderson> ah, thank you (coming from python)
22:28 < mauke> nice to see I can successfully debug code in a language I've
never used or seen before
22:28 < djanderson> :)
22:28 < KirkMcDonald> djanderson: Also, that should probably be: for i, c :=
range p {}
22:29 < KirkMcDonald> djanderson: Er. And why are you initializing it as i
:= len(p) ?
22:29 < djanderson> KirkMcDonald, 'cus I don't know what I'm doing...  saw
this in path.Split:
22:29 < djanderson> func Split(path string) (dir, file string) {
22:29 < djanderson> for i := len(path) - 1; i >= 0; i-- {
22:30 < djanderson> must have misunderstood the point of that
22:30 < KirkMcDonald> djanderson: Yes.  This is iterating through the string
backwards.
22:30 -!- JSharpe [n=jamie@5ad50265.bb.sky.com] has quit [Read error: 104
(Connection reset by peer)]
22:30 < KirkMcDonald> djanderson: To go forwards, you'd do: for i := 0; i
< len(p); i++ {}
22:30 < KirkMcDonald> djanderson: Or, even better, use the 'range' syntax
that I gave above.
22:30 < djanderson> KirkMcDonald, ah, thanks for the tips, I'll try the
range way.
22:30 < djanderson> appreciate it
22:30 < KirkMcDonald> djanderson: As this will iterate through the UTF-8
sequences of the string, and not the bytes.
22:30 < Rob_Russell> djanderson: if you just want to split based on a
separator you can use the library function http://golang.org/pkg/strings/#Split
22:31 < KirkMcDonald> djanderson: (And c will be an integer representing
each decoded code point.)
22:31 < Rob_Russell> (of course writing your own code to do it is fine if
you'd rather experiment or whatever)
22:32 < djanderson> yeah, really just trying to do something simple to get a
handle on the language, but should have looked at string.Split instead of
path.Split...  thanks for that hint
22:33 < djanderson> strings, rather
22:33 -!- encolpe [n=encolpe@89.83.167.147] has joined #go-nuts
22:37 -!- q[mrw] [n=russd@willers.employees.org] has joined #go-nuts
22:37 -!- msw [n=msw@66.192.95.199] has quit [Read error: 110 (Connection timed
out)]
22:38 -!- melba [n=blee@unaffiliated/lazz0] has quit ["MICROSOFT WORD IS A FUN
GAME"]
22:39 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has quit
["leaving"]
22:41 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has joined #go-nuts
22:41 -!- Adys [n=Adys@athedsl-357322.home.otenet.gr] has joined #go-nuts
22:43 -!- Misto [n=Misto@ppp-203-89.32-151.iol.it] has left #go-nuts []
22:43 -!- jajamana [n=chrisb@cm-84.215.16.37.getinternet.no] has joined #go-nuts
22:47 < dho> iant: assuming that it's not the same, and the configure script
is broken, is it the case that -fsplit-stack is necessary for go, or is it
unnecessary and I should look into why it's being plopped in there in the first
place?
22:48 <+iant> -fsplit-stack is better but gccgo functions fine without it
(unless you try to allocate a massive array as a local variable)
22:48 <+iant> (or unless you try to create a large number of threads, or you
have a very deep but finite recursion)
22:49 < dho> ok.  we'll see what happens; if it goes haywire (which i expect
it to) i'll take a look at why that's getting plopped in there.
22:49 * dho is unfamiliar with autohell
22:54 -!- youngbull [n=youngbul@ti0025a380-dhcp1720.bb.online.no] has quit [Read
error: 110 (Connection timed out)]
22:58 < jajamana> I try to define a struct type containing an io.Reader.
Trying to assign a strings.Reader to it gives an error: "cannot use reader (type
*strings.Reader) as type *io.Reader in field value".  Is it possible to use an
'io.Reader' and a 'strings.Reader' interchangeably?  Is there a wrapper or
something that can make a strings.Reader 'be' an io.Reader?
22:59 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 131 (Connection
reset by peer)]
22:59 <+iant> jajamana: looks like your field is *io.Reader when it should
be simply io.Reader
23:00 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
23:01 < dho> hm
23:01 * dho wonders if it compiled past where it was bombing
23:01 < jajamana> iant: Ok, good, that was it!
23:02 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
23:03 < dho> iant: weird, I did the same 0x30 offset
23:03 < dho> iant: and it seems to work.  it's now complaining about
mksysinfo.sh
23:03 <+iant> well, using any offset would work when compiling, the failure
would come when trying to run the compiled code
23:03 < dho> doesn't it try to run it by that point?
23:04 <+iant> no, mksysinfo.sh is a shell script used to grab the syscall
information
23:04 < dho> right; i mean before it gets there
23:04 <+iant> no, no Go code has been run at that point
23:04 < dho> rats.
23:04 <+iant> in fact, the whole build will not run any Go code
23:04 <+iant> it won't run Go code until you run "make check-target-libgo"
23:04 <+iant> or "cd gcc; make check-go"
23:05 * dho grumbles
23:05 < dho> mksysinfo isn't going to be fun
23:05 <+iant> Is there some header file I'm trying to #include that is not
on FreeBSD?
23:06 < dho> sys/syscall.h
23:06 < dho> and we don't have epoll
23:06 < dho> we have kqueue/kevent
23:06 < dho> (rather, we have sys/syscall.h and the include is just
syscall.h)
23:06 < dho> our ptrace is also different, and i'm not sure we have
sys/user.h either
23:07 < dho> my syscall stuff for *g is more like darwin
23:07 <+iant> one approach will be to test for these header files in
configure.ac, and then have mksysinfo.sh #include "config.h" and do #ifdef
HAVE_...  before #Include'ing the files
23:07 < nf> dho: are you working on a fbsd port of gccgo or 6/8g/l?
23:07 < dho> i already did *g
23:07 < dho> iant: /me notes that
23:10 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:18 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has joined
#go-nuts
23:18 -!- gkmngrgn [n=gkmngrgn@78.183.60.23] has joined #go-nuts
23:19 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:19 -!- rog [n=rog@78.149.49.133] has joined #go-nuts
23:20 -!- merowinger [n=merowing@80-218-247-197.dclient.hispeed.ch] has quit [Read
error: 110 (Connection timed out)]
23:20 -!- rog [n=rog@78.149.49.133] has quit [Client Quit]
23:24 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
23:24 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit ["Bye
Bye"]
23:25 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
23:27 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has quit ["Lost terminal"]
23:31 -!- boscop_ [n=unknown@f055058030.adsl.alicedsl.de] has quit [Remote closed
the connection]
23:31 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
23:32 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
23:33 -!- zurh [n=ubux@unaffiliated/zurh] has joined #go-nuts
23:38 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
23:39 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
23:43 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit []
23:47 -!- raichoo [n=raichoo@i577B8556.versanet.de] has quit
["http://raichoo.blogspot.com"]
23:51 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has quit ["Bye!"]
23:55 -!- adante_ [n=adante@59.167.212.65] has joined #go-nuts
23:55 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
23:57 -!- hooopy_ [i=hoopy@173-30-98-140.client.mchsi.com] has joined #go-nuts
23:57 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
nullpo, korfuri_, Rob_Russell, tabo, kevinwatt, rbohn, johan-s, Solver, chrome,
itorres, (+26 more, use /NETSPLIT to show all of them)
23:58 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
23:58 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
23:58 -!- Netsplit over, joins: itorres
23:59 -!- harja [n=maharj@castor.utu.fi] has joined #go-nuts
23:59 -!- harja_ [n=maharj@castor.utu.fi] has quit [Read error: 131 (Connection
reset by peer)]
23:59 -!- Netsplit over, joins: drhodes, jessta, rbohn, sliceofpi, nullpo,
Kibiz0r, johan-s, Rob_Russell, scm, john6 (+23 more)
23:59 -!- rbohn_ [n=rbohn@192.206.100.4] has joined #go-nuts
23:59 -!- hooopy [i=hoopy@173-30-98-140.client.mchsi.com] has quit [Connection
reset by peer]
23:59 -!- rbohn_ [n=rbohn@192.206.100.4] has quit [Read error: 104 (Connection
reset by peer)]
23:59 -!- akheron [n=akheron@lilja.asteriski.fi] has quit [Remote closed the
connection]
23:59 -!- rbohn [n=rbohn@192.206.100.4] has quit [Read error: 104 (Connection
reset by peer)]
--- Log closed Tue Dec 15 00:00:00 2009