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

--- Log opened Fri Dec 11 00:00:31 2009
00:06 -!- Berkin [n=chatzill@96-42-127-110.dhcp.roch.mn.charter.com] has joined
#go-nuts
00:06 < Berkin> Moist_Bat
00:06 -!- Berkin [n=chatzill@96-42-127-110.dhcp.roch.mn.charter.com] has left
#go-nuts []
00:10 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Read error: 104 (Connection reset by peer)]
00:10 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
00:11 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
00:13 -!- raichoo [n=raichoo@i577BBEEB.versanet.de] has quit
["http://raichoo.blogspot.com"]
00:14 -!- ruam [n=ruam@cpe-69-203-1-249.nyc.res.rr.com] has quit []
00:15 -!- boscop [n=unknown@g230092011.adsl.alicedsl.de] has quit [Remote closed
the connection]
00:19 -!- divoxx [n=divoxx@c925af25.virtua.com.br] has quit []
00:24 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit ["Leaving."]
00:26 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
00:29 -!- path[l]_ [n=path@115.240.23.249] has joined #go-nuts
00:31 -!- youngbull [n=youngbul@129.177.48.24] has quit [Read error: 113 (No route
to host)]
00:35 -!- Daminvar [i=81151c1a@gateway/web/freenode/x-bueuojazgdtrdqyv] has joined
#go-nuts
00:35 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has quit
["Leaving"]
00:41 -!- sm_ [n=sm@pool-96-229-122-118.lsanca.dsl-w.verizon.net] has joined
#go-nuts
00:46 -!- path[l] [n=path@115.240.91.204] has quit [Read error: 110 (Connection
timed out)]
00:48 -!- sm [n=sm@pool-96-229-122-118.lsanca.dsl-w.verizon.net] has quit
[Connection timed out]
00:51 -!- Zarutian [n=zarutian@194-144-84-110.du.xdsl.is] has joined #go-nuts
00:55 -!- skelterjohn_ [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has joined
#go-nuts
00:56 -!- turutosiya [n=turutosi@219.106.251.65] has joined #go-nuts
00:58 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the
connection]
00:59 -!- Daminvar [i=81151c1a@gateway/web/freenode/x-bueuojazgdtrdqyv] has quit
["Page closed"]
01:02 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit
["to the batcave?"]
01:03 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has quit
[Read error: 110 (Connection timed out)]
01:03 -!- amuck [n=amuck@h154.65.88.75.dynamic.ip.windstream.net] has joined
#go-nuts
01:06 -!- ikke [n=ikke@unaffiliated/ikkebr] has quit []
01:07 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit []
01:12 -!- sm [n=sm@pool-96-229-122-118.lsanca.dsl-w.verizon.net] has quit []
01:13 -!- deadinplastic [n=m0reSign@64.178.109.240.dynamic.dejazzd.com] has joined
#go-nuts
01:24 < homa_rano> how can I compare an int and a uint for equality?
01:24 < homa_rano> the spec is not making this any easier...
01:25 < KillerX> if x == int(y)
01:26 < KillerX> where y is the uint
01:26 < homa_rano> that would do it
01:26 < homa_rano> thanks
01:26 < KirkMcDonald> And if the unsigned number is greater than what will
fit in a signed number?
01:26 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
01:27 < homa_rano> well this particular number will never vary from
0<=n<=40
01:27 < homa_rano> and I need to shift by it
01:27 < KirkMcDonald> Ah.
01:27 < homa_rano> ...so it had to be uint
01:27 < homa_rano> then that broke other stuff
01:27 < KirkMcDonald> But I wonder what int8(-1) == int8(uint8(255)) says.
01:28 < homa_rano> does int(num) compile in some overflow catcher?
01:28 < KirkMcDonald> This is basically my question.  :-)
01:28 < homa_rano> I see
01:28 < homa_rano> this can be tested
01:29 < KirkMcDonald> It can.
01:29 -!- path[l] [n=path@115.240.23.249] has quit []
01:30 -!- aaront [n=aaront@unaffiliated/aaront] has quit ["And that's all he
wrote..."]
01:30 < KirkMcDonald> Heh
01:30 < KirkMcDonald> Well, that specific case fails at compile time, since
it detects that the constant 255 can't be used as an int8.
01:31 < KirkMcDonald> Oh my.
01:31 < skelterjohn> I made a post with a construct for a threadsafe method
to read from a channel with multiple receivers, if anyone is interested.
01:31 < skelterjohn> to the ML
01:31 < KirkMcDonald> This prints true: http://gopaste.org/view/E12u9
01:32 < KirkMcDonald> Which is probably the behavior I'd expect.
01:33 < homa_rano> my linker is yelling at me: mainstart: undefined:
mainĀ·init
01:33 < homa_rano> there is assuredly a main function
01:33 < skelterjohn> package main
01:33 < skelterjohn> ?
01:33 < skelterjohn> the main function must be in the main package
01:33 < homa_rano> ah right
01:36 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"]
01:36 -!- mbarkhau1 [n=koloss@p54A7E8B6.dip.t-dialin.net] has joined #go-nuts
01:41 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:44 -!- skyyy [i=caw@129.21.116.238] has joined #go-nuts
01:46 -!- mibocote [n=mattmix@bluemavid.com] has joined #go-nuts
01:46 -!- triplez [n=triplez@bb116-14-66-54.singnet.com.sg] has joined #go-nuts
01:46 -!- jsgotangco [n=JSG@ubuntu/member/jsgotangco] has joined #go-nuts
01:53 -!- mbarkhau [n=koloss@p54A7E65F.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
01:55 -!- mikedee [n=quassel@91.111.23.128] has quit [Read error: 60 (Operation
timed out)]
01:56 -!- mike [n=quassel@91.104.195.34] has joined #go-nuts
01:56 -!- mike [n=quassel@91.104.195.34] has quit [Remote closed the connection]
02:00 -!- jsgotangco [n=JSG@ubuntu/member/jsgotangco] has quit ["Ciao"]
02:06 -!- eulenspiegel [n=irssi@p579CA350.dip.t-dialin.net] has quit ["leaving"]
02:08 -!- mizai [n=mizai@rhou-164-107-213-111.resnet.ohio-state.edu] has quit
[Read error: 110 (Connection timed out)]
02:09 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."]
02:10 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
02:10 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
02:13 -!- mizai [n=mizai@rhou-164-107-213-111.resnet.ohio-state.edu] has joined
#go-nuts
02:25 -!- mibocote [n=mattmix@bluemavid.com] has quit ["Lost terminal"]
02:28 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has quit ["Bye!"]
02:37 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
02:37 -!- mode/#go-nuts [+v kaib] by ChanServ
02:40 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit
["Leaving"]
02:41 -!- rd1 [n=Administ@124-169-230-245.dyn.iinet.net.au] has quit [Read error:
110 (Connection timed out)]
02:44 -!- poseidon [n=joe@ip70-161-210-129.hr.hr.cox.net] has joined #go-nuts
02:44 -!- poseidon [n=joe@ip70-161-210-129.hr.hr.cox.net] has left #go-nuts
["Leaving"]
02:47 -!- q[mrw] [n=russd@willers.employees.org] has left #go-nuts []
02:47 -!- q[mrw] [n=russd@willers.employees.org] has joined #go-nuts
02:49 -!- halfdan [n=halfdan@p57A9649B.dip.t-dialin.net] has joined #go-nuts
02:53 -!- fgb [n=fgb@190.246.85.45] has left #go-nuts []
02:54 -!- tabo [n=tabot@camelot.tabo.pe] has quit ["Coyote finally caught me"]
02:59 -!- lambo4jos [n=chatzill@c-76-126-250-10.hsd1.ca.comcast.net] has quit
["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"]
03:02 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts
03:04 -!- asyncster [n=asyncste@206.169.213.106] has quit [Read error: 145
(Connection timed out)]
03:05 -!- halfdan_ [n=halfdan@p57A96DB4.dip.t-dialin.net] has quit [Read error:
110 (Connection timed out)]
03:05 -!- sebastiandeutsch [n=sebastia@dslb-084-058-250-059.pools.arcor-ip.net]
has left #go-nuts []
03:06 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
03:10 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
03:11 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit []
03:15 -!- codedread [i=180dd699@gateway/web/freenode/x-tqzyksgxtzyaxdfu] has
joined #go-nuts
03:18 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Read error: 104 (Connection reset by peer)]
03:20 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com
:: NoNameScript 4.21 :: www.esnation.com )"]
03:21 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has quit
["Leaving"]
03:21 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has joined
#go-nuts
03:21 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has quit []
03:22 -!- yashi_ [n=chatzill@210.191.215.170] has joined #go-nuts
03:22 -!- yashi [n=yashi@dns1.atmark-techno.com] has left #go-nuts []
03:24 -!- trevor [n=trevor@ppp-70-128-125-47.dsl.tulsok.swbell.net] has joined
#go-nuts
03:24 < trevor> Is the go website's information on the arm port up to date?
03:25 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
03:25 < trevor> It says the arm port doesn't work on OSX and that the
overall compatability isn't completely there
03:25 < trevor> Still true?
03:31 < uriel> trevor: I'm not sure, why don't you try it?
03:32 < trevor> I'm trying now, pulling the sources now
03:32 < trevor> Just wanted to ask before while I'm building and setting
things up to give people a chance to talk :)
03:33 < trevor> I'm interested in using go for nintendo ds development
03:33 < trevor> ds has an arm7 and an arm9
03:33 < uriel> I have seen a few arm related fixes come in over the last few
days, but I'm not too sure about the status, it clearly has got less work and less
testing than the other ports
03:33 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts
03:36 < trevor> A few weeks ago I found a document that explains what the
number in 5g 8g and the like mean, but now I can't find it
03:36 < trevor> Anyone know what I'm thinking of?
03:37 < kfx> architecture
03:37 < kfx> http://golang.org/doc/go_faq.html#What_kind_of_a_name_is_6g
03:38 < trevor> There we go, I was overlooking it I guess
03:39 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
03:39 -!- mode/#go-nuts [+v kaib] by ChanServ
03:42 < trevor> Hmm, the runtime fails to build on OSX
03:42 < trevor> using the arm port
03:42 -!- osmosis [n=steven@m440e36d0.tmodns.net] has joined #go-nuts
03:42 <+kaib> trevor: what is the error you get?
03:42 <+kaib> (i just fixed something the today which isn't part of a
release yet)
03:43 < trevor> 5c -Idarwin -Idarwin/arm -wF -N mem.c
03:43 < trevor> mem.c:7 5c: No such file or directory: defs.h
03:43 <+kaib> trevor: try building the native darwin toolchain once.
03:43 < trevor> I suppose I should be using a bleeding edge version rather
than release
03:44 <+kaib> trevor: i haven't seen the issue you are describing.
03:44 <+kaib> trevor: you might be onto a new problem
03:44 < trevor> Want me to build with darwin and GOARCH= 386 ?
03:44 <+kaib> trevor: i usually build several compilers from the same source
so it might be something in the arm bootstrap has been overlooked.
03:45 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Connection timed
out]
03:45 <+kaib> trevor: unless you have a 64 bit machine in which case
GOARCH=amd64
03:45 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Read error: 110
(Connection timed out)]
03:46 < trevor> When I ran 5l I was getting "??none??: cannot open file:
/Users/trevor/dev/go/pkg/darwin_arm/runtime.a"
03:46 < trevor> I'll tell you what the error is for amd64 when it builds
03:46 < trevor> Or if it is success
03:46 <+kaib> trevor: oh, you need to set GOOS=linux when building 5g
03:46 < trevor> Even on darwin?
03:46 <+kaib> trevor: GOOS=linux, GOARCH=arm for building 5g
03:46 < trevor> Ok
03:47 <+kaib> trevor: yes, you always specify GOOS and GOARCH for the
*target* you are building for.
03:47 <+kaib> trevor: the build system automatically figures out the host.
03:47 < trevor> Oh, error on my part then
03:47 <+kaib> trevor: there might still be something in the chain ..
03:48 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
03:48 <+kaib> trevor: try building 5g again with GOOS=linux and GOARCH=arm
03:48 < trevor> GOARCH=arm GOOS=linux ./all.bash is running now
03:48 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has joined
#go-nuts
03:49 < trevor> ??none??: cannot open file:
/Users/trevor/dev/go/pkg/darwin_arm/runtime.a
03:49 < trevor> Should I try something fresher than -r release?
03:50 <+kaib> trevor: aah.  you need to use all-arm.bash
03:50 <+kaib> (wonder why all-bash isn't complaining)
03:51 < trevor> As far as I could tell all.bash worked, it didn't build the
runtime on closer inspection tho
03:51 < trevor> It did as best as it could to hide that error, tho :)
03:52 -!- tabo [n=tabot@camelot.tabo.pe] has joined #go-nuts
03:53 <+kaib> trevor: all-arm.bash builds only the pieces that currently
work with arm
03:53 <+kaib> trevor: it should definitely build the runtime as well.
03:53 < trevor> It failed
03:53 < trevor> On the making pkg part
03:54 < trevor> http://paste.lisp.org/display/91920
03:54 < trevor> I pasted the whole thing because I'm not sure if those
scattered warning are something to be concerned about
03:54 <+kaib> trevor: ok, good.  this is a known issue.  you need tip, i
submitted the fix for that today
03:54 < trevor> Whats tip?
03:55 * kaib is a hg newbie
03:55 < trevor> I am aswell
03:55 <+kaib> trevor: AFAIK the most recent version
03:55 <+kaib> trevor: fresher than a release.
03:55 < trevor> I think I should replace the -r release with something
03:55 < trevor> -r tip ?
03:56 < trevor> hg clone -r tip https://go.googlecode.com/hg/ $GOROOT
03:56 < trevor> Seems to be doing something anyways
03:57 <+kaib> trevor: i think you just need a hg update
03:57 <+kaib> trevor: in the existing repository
03:57 < trevor> k
03:59 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has quit []
04:01 < trevor> pkg seems to have built
04:01 < trevor> a lot of tests are failing
04:01 <+kaib> trevor: you are using all.bash, aren't you?
04:01 <+kaib> trevor: all-arm.bash runs only tests that are known to pass.
04:01 < trevor> No, you said run all-arm.bash
04:03 < trevor> http://paste.lisp.org/display/91921
04:03 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote closed the connection]
04:03 < trevor> After running that I get http://paste.lisp.org/display/91922
04:04 <+kaib> aah.  you probably don't have qemu installed
04:05 <+kaib> trevor: to execute the tests it needs either a local emulator
(the default) or something that pushes the binary to the target platform.
04:05 < trevor> probably not, is there a document I should be reading?  I
hate to bug you and this channel if this has all been laid out in writing already
04:05 <+kaib> trevor: your courtesy is noted but there isn't any document
yet ..
04:05 <+kaib> trevor: :-)
04:06 < trevor> Perhaps I'll put something rudimentary up after I get this
working
04:08 <+kaib> trevor: please do.  my environment has shaped itself over the
past year or so, it's hard to differentiate out what is required for a fresh build
04:09 -!- wollw [n=dshere@75-101-22-68.dsl.dynamic.sonic.net] has quit ["Lost
terminal"]
04:10 < trevor> Well right now I am "sudo port install qemu"
04:10 < trevor> I'm guessing its going to take a while to build if I know
emulators :)
04:11 -!- asyncster [n=asyncste@206.169.213.106] has joined #go-nuts
04:14 < trevor> "Gc uses a different calling convention and linker and can
therefore only be linked with C programs using the same convention.  There is such
a C compiler"
04:14 < trevor> What c compiler can do that?
04:14 <+kaib> trevor: once it's installed let me know if it works.  earlier
versions had an elf loading but that is presumably fixed (i have a patch in any
case)
04:15 <+kaib> trevor: 5c, it's built at the same time as 5g
04:15 < trevor> Neat
04:15 < trevor> Maybe by nights end I'll have a go binary up and running in
a nintendo ds emulator :)
04:17 < trevor> tests are failing again.  Is there something I need to do to
tell all-arm.bash where qemu is?
04:19 <+kaib> trevor: look at $GOROOT/test/run-arm
04:19 <+kaib> trevor: there is some env variable magic you need.
04:19 < Gracenotes> .
04:19 <+kaib> trevor: to run qemu use -cpu cortex-a8
04:20 < trevor> Hmm, I suppose I am going to need some os for qemu to boot
into
04:22 < trevor> I have mine set to "qemu-system-arm -cpu cortex-a8 " now
04:23 < trevor> It was qemu-arm, but my installer named it qemu-system-arm
04:23 < trevor> The tests still fail, however
04:23 -!- halfdan_ [n=halfdan@p57A9753D.dip.t-dialin.net] has joined #go-nuts
04:24 -!- Eridius [n=kevin@growl/Eridius] has joined #go-nuts
04:24 < Eridius> Anyone use gg?  It doesn't build against the current
release tag.  Says it can't find io.ReadFile.
04:24 < trevor> Anyways, 5l is linking now, so I guess the runtime build
fine
04:24 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts
04:24 <+kaib> trevor: oh, that's actually interesting.  i've run qemu in
'system' mode where it passed the syscalls into the host system
04:25 <+kaib> trevor: this obviously works on linux but i haven't tried it
on darwin
04:25 < trevor> I didn't realize that was what -system- meant for qemu
04:25 <+kaib> trevor: yeah.  you can always look at run.out in test to see
what the error is.
04:25 < Eridius> ahh, ioutil.
04:25 < trevor> I've never used qemu before
04:26 <+kaib> trevor: there are two variants, one that requires a proper os
image and one that passes through.  double check which one is which.
04:26 < Eridius> I've found two different Go.tmbundles on github.  Anybody
know which is better?
04:27 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
04:29 -!- aho [n=nya@f051040079.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
04:31 < trevor> kaib: How do you run go arm binaries in qemu?
04:31 < trevor> Or do you do that at all?
04:32 <+kaib> trevor: i run them on a linux workstation.  but currently i
mostly run on an android phone.
04:33 <+kaib> trevor: qemu has bugs.  given the compiler has bugs i'd rather
deal only with one buggy piece of software at a time.
04:33 < trevor> Sure, understandable
04:33 <+kaib> trevor: qemu is also sometimes inconsistent with real hardware
(sometimes because it does much more than real hardware does)
04:34 < trevor> I see, I suppose I will dry get a binary running in my ds
emulator now
04:37 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
04:40 < trevor> "There is a ā€œforeign function interfaceā€ to allow safe
calling of C-written libraries from Go code"
04:40 < trevor> Where can I find out more about the ffi?
04:40 -!- halfdan [n=halfdan@p57A9649B.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
04:40 < trevor> Is it a pkg?
04:42 < alexsuraci> trevor: take a look at cgo (command)
04:45 < uriel> Eridius: what is Go.tmbundles?
04:45 < trevor> alexsuraci: will
04:45 < trevor> ok, channel, I have to leave for now.  Will be back later.
Thanks for all your help kaib
04:46 -!- trevor [n=trevor@ppp-70-128-125-47.dsl.tulsok.swbell.net] has quit []
04:46 < Eridius> uriel: TextMate language bundles for Go
04:47 -!- turutosiya [n=turutosi@219.106.251.65] has quit [Read error: 110
(Connection timed out)]
04:47 -!- path[l] [n=path@115.240.73.173] has joined #go-nuts
04:50 -!- uxp_ [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
04:51 < uriel> Eridius: http://go-lang.cat-v.org/text-editors
04:51 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
04:52 < uriel> Eridius: is there any other than the one listed there?
04:52 -!- Alvin [i=7b97c322@gateway/web/freenode/x-exwsszmhrighbyxm] has joined
#go-nuts
04:56 -!- Alvin_ [i=7b97c322@gateway/web/freenode/x-jmxdnyolvzlrjoqk] has joined
#go-nuts
04:56 -!- Alvin [i=7b97c322@gateway/web/freenode/x-exwsszmhrighbyxm] has left
#go-nuts []
04:57 -!- deadinplastic [n=m0reSign@64.178.109.240.dynamic.dejazzd.com] has quit
[]
04:59 < robot12> morning !
05:00 -!- deadinplastic [n=m0reSign@64.178.109.240.dynamic.dejazzd.com] has joined
#go-nuts
05:01 -!- osmosis [n=steven@m440e36d0.tmodns.net] has quit ["Ex-Chat"]
05:03 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Read error: 110 (Connection
timed out)]
05:05 -!- mbarkhau1 [n=koloss@p54A7E8B6.dip.t-dialin.net] has quit ["Leaving."]
05:06 -!- skyyy [i=caw@129.21.116.238] has quit [Client Quit]
05:06 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit []
05:06 < Eridius> uriel: there's also http://github.com/rsms/Go.tmbundle
05:08 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Success]
05:09 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
05:09 -!- asyncster [n=asyncste@206.169.213.106] has quit []
05:15 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
05:17 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
05:19 < uriel> Eridius: thanks, added it to the list
05:19 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
05:20 < ThatTurkeyStory> do Go language designers idle in here at all?
05:23 < uriel> ThatTurkeyStory: sometimes, iant and kaib are often here
05:23 < toft> does go not have a bitwise not?
05:24 <+kaib> ThatTurkeyStory: however, i'm not a designer proper, just an
implementor..
05:24 -!- decriptor [n=decripto@53.250.sfcn.org] has joined #go-nuts
05:28 -!- droid001 [n=g1@p4FDC98B1.dip.t-dialin.net] has quit [Success]
05:28 < toft> er, never mind, it looks like ^ means both xor and not.
05:28 < ThatTurkeyStory> im just really interested in how Go is providing
support for generic programming.  russ cox made a small post about it on his blog
and theres been some talk in the comments but i was wondering if there was any way
to better influence design in one way or the other.
05:29 -!- droid001 [n=g1@p4FDC9995.dip.t-dialin.net] has joined #go-nuts
05:30 < uriel> ThatTurkeyStory: I hope not, so far I have seen very little
reason for generics in Go, just people that have not used the language for
anything babbling about how they want go to be like whatever other language they
are used to
05:30 -!- uxp_ [n=uxp@uxp.dsl.xmission.com] has quit [Read error: 113 (No route to
host)]
05:31 <+kaib> ThatTurkeyStory: what do you wish from generics, what use
cases are you trying to solve?
05:31 < ThatTurkeyStory> rather than repeating, i'm Rivorus in the comments:
http://research.swtch.com/2009/12/generic-dilemma.html#comments
05:31 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
05:32 < ThatTurkeyStory> im mostly just interested in Go supporting generic
programming to better support library development
05:32 < uriel> ThatTurkeyStory: what Go libraries have you written that
could benefit from new language features?
05:34 < homa_rano> for mercurial users: here's an extension to automatically
gofmt during a commit: http://bitbucket.org/ede/hggofmt
05:35 < uriel> homa_rano: cool, will add it to
http://go-lang.cat-v.org/dev-utils
05:35 < homa_rano> it's stolen directly from part of codereview.py, but
without the crazy parts
05:35 < ThatTurkeyStory> nothing right now, thats the issue.  im currently a
C++ programmer and im extremely interested in Go's design.  since the part of Go's
goal is to be an alternative to C++ for much low level work it should at the very
least be able to represent basic generic programming since that's the direction
C++ development has been headed in
05:36 < ThatTurkeyStory> at least that's my opinion on it
05:36 < ThatTurkeyStory> i'm primarily a library developer
05:36 < ThatTurkeyStory> and im extremely interested in and practice generic
programming
05:37 < ThatTurkeyStory> since there is talk of adding template or generic
like features to Go, i'd really love to be able to communicate with those who have
a say in its development
05:37 < Eridius> whoa, unused imports/variables are an error?
05:37 < Rob_Russell> Eridius: yeah
05:37 -!- kanru [n=kanru@61-228-148-113.dynamic.hinet.net] has quit ["WeeChat
0.3.1-dev"]
05:38 <+kaib> ThatTurkeyStory: i'm also a c++ developer, as are most people
at google.
05:38 < ThatTurkeyStory> uriel, as in my comments, things i would love to
see from Go are actually pretty minimal.  in particular type functions and
interfaces that support associated types
05:38 < Rob_Russell> Eridius: if it's an import you want to temporarily
ignore, a lot of people use import _ "pkgname" (though that actually has
side-effects)
05:38 < ThatTurkeyStory> awesome, kaib
05:38 < Rob_Russell> >type A interface { Foo() B; } type B interface { A;
}
05:38 <+kaib> ThatTurkeyStory: everyone on the go team has plenty of c++
experience afaik.
05:38 < Eridius> what about an unused variable?  I have a calculation I want
to use, but I'm not using it yet and I'd rather not have to go comment things
unnecessarily when testing
05:39 <+kaib> ThatTurkeyStory: however, the tradeoff for generics is simple
05:39 < Rob_Russell> is the compiling bot gone?
05:39 <+kaib> ThatTurkeyStory: s/simple/subtle/
05:39 < ThatTurkeyStory> what im really wondering is there any desire at all
from the team to support libraries like the Boost graph library
05:40 < ThatTurkeyStory> by that i mean associated types, the ability to map
types to interfaces after creation, etc.
05:40 < Rob_Russell> Eridius: in both cases you're better off commenting out
05:40 <+kaib> ThatTurkeyStory: they add a lot of overhead and don't
necessarily add the corresponding benefit.
05:40 < Rob_Russell> Eridius: (find a keyboard shortcut)
05:40 <+kaib> ThatTurkeyStory: it seems to me that a graph library could be
built using interfaces and it doesn't seem to need generics?
05:40 < uriel> ThatTurkeyStory: as I see it, part of Go's goal is also *not*
to be C++, if you want Boot's blinding fast compile time and exquisite compile
time errors, you know where to find them.
05:40 < Eridius> yeah I know a keyboard shortcut, I just found it pretty odd
that this was an error
05:40 < Ycros> it's annoying not having generics, especially as map is
polymorphic already, so there's an inconsistency
05:40 < Rob_Russell> so has anyone run in to this?  type A interface { Foo()
B; } type B interface { A; } gives "interface contains embedded non-interface A"
05:40 < uriel> c++ damages the brain
05:41 <+kaib> ThatTurkeyStory: generics are really syntactic sugar for
unboxig, and the further you get from the core use cases the less useful it seems
to be.
05:41 < ThatTurkeyStory> uriel why are you being so rude?
05:41 < ThatTurkeyStory> im not advocating making Go into C++, im advocating
being able to do generic programming in a way much better than C++
05:41 < ThatTurkeyStory> i suppose i disagree :/
05:41 < Ycros> kaib: they are, and it makes code nicer and statically
typechecked
05:42 < uriel> ThatTurkeyStory: I'm sorry, but I have much trouble taking
very seriously suggestions from people that have not used the language at all
05:42 < ThatTurkeyStory> to me, generic programming is fundamental to how
libraries are developed
05:42 < ThatTurkeyStory> uriel, i have played with the language i am just
aching for generic programming support
05:42 < Ycros> kaib: I see no reason why map should be the special case
compared to the other container classes for example
05:42 < uriel> ThatTurkeyStory: well, tons of people apparently have no
trouble building libraries without it, as the quite considerable set of libraries
already existing in Go demonstrates
05:43 < ThatTurkeyStory> no one is saying you can't make libraries
05:43 < toft> kaib: since you seem to know what's up with the design, like
Ycros i am also curious why parametrized types are only allowed in these special
cases
05:43 < ThatTurkeyStory> better supporting generic programming means making
more powerful libraries feasible
05:43 < Eridius> huh, os.Lstat() returns an Error.  Is there any way to get
information from it, like, say, the underlying errno?
05:43 < ThatTurkeyStory> uriel are you a user of Go or someone working on
developing Go itself?
05:44 < uriel> ThatTurkeyStory: and somebody will claim that opperator
overloading does the same, that doesn't mean it is a good idea
05:44 < Ycros> ThatTurkeyStory: well, I don't think it makes more powerful
libraries feasible, but it certainly makes for cleaner code for users of libraries
05:44 < uriel> ThatTurkeyStory: I'm just a buffoon
05:44 <+kaib> i think you guys are giving me too much credit, but i can try
to state my own personal view (i've done the 5g compiler and used go for about a
year, but am not directly involved with the design)
05:45 < toft> kaib: sure, that's all that i'm expecting anyway :)
05:45 < ThatTurkeyStory> i disagree to an extent.  i do believe that better
support for generic programming makes powerful libraries more feasible
05:45 < Eridius> ah hah, os.PathError
05:45 <+kaib> i just read the comments by ThatTurkeyStory on the post by rsc
and i'm assuming he represents some general notion of what generics could be.
05:46 < ThatTurkeyStory> sorry, let me clarify.  when i say generic
programming i mean the paradigm
05:46 < ThatTurkeyStory> as in the notion of concepts, models of concepts,
refinement, etc.
05:47 < Ycros> Eridius: yeah, the fact that things return the generic error
interface is an annoyance to me (though there is a reason behind it)
05:47 <+kaib> so, i've used boost quite extensively (including boost.graph)
and i'm semi familiar with the generic programming paradigm.  i think i've read
stephanov but i might have forgotten.
05:47 < ThatTurkeyStory> his book just came out in june i believe
05:47 -!- Alkavan_ [n=alkavan@87.68.247.236.adsl.012.net.il] has joined #go-nuts
05:47 < Ycros> ThatTurkeyStory: so you're not talking about generics
specifically?
05:47 <+kaib> ok, i'm confusing him with some earlier representative then,
the name sounds familiar.
05:48 < ThatTurkeyStory> he designed the STL
05:48 < ThatTurkeyStory> so thats probably why the name is familiar
05:48 <+kaib> it all boils down to tradeoffs.  generic programming buys you
something, but you have to pay for it in language and implementation complexity.
05:48 < ThatTurkeyStory> yeah
05:49 < ThatTurkeyStory> Ycros: not specifically, more like the support for
"concepts" that was going to be in the next C++ standard
05:49 <+kaib> if you take a look at the gc toolchain you'll note that 6g is
about 33k lines of code.  that's pretty tiny for a compiler.
05:50 <+kaib> you'll also note that the language and grammar are quite
manageable.
05:50 < ThatTurkeyStory> yes
05:51 < Ycros> ThatTurkeyStory: hang on, I'm not quite sure what they are
05:51 < ThatTurkeyStory> Ycros: are you familiar with the STL at all?  its
easiest to describe in those terms if you do
05:52 < Ycros> ThatTurkeyStory: yes.  I have used templates in C++ as well,
and generics in C# and Java.
05:52 <+kaib> i understand that the benefits of generics are somewhat
subjective in face of no large scale quantitative study (that i know of) but at
least in my experience it's not clear that they provide a significant boost to
either understanding or performance in go.
05:53 < jdp> the only argument i have for generics is not having to write a
separate wrapper for container/vector every time i want to make a vector of a
certain type
05:53 < jdp> unless im using it wrong
05:53 < Ycros> ThatTurkeyStory: I'm reading an article
05:53 < ThatTurkeyStory> right.  you know how theres the "idea" in the STL
of forward iterators, bidirectional iterators, random access iterators, etc.  and
they have separate associtaed types such as the value type of what they refer to
etc?
05:53 < uriel> jdp: you can use interface {}
05:53 <+kaib> sure.  but generalizing that doesn't necessarily improve
things.
05:53 < Ycros> kaib: you have to perform manual unboxing if you don't have
generics
05:54 < ThatTurkeyStory> "forward iterator" for example is a "concept." it
specifies an interface for operations, the complexity of those operations, and
associated datatypes with it
05:54 < Ycros> kaib: generics just mean nicer code (okay, it gets trickier
than that when it comes to run time type information and the actual
implementation)
05:54 <+kaib> Ycros: true, but i find myself mostly using slices anyway.
05:54 < Ycros> uriel: yes, and then you need to manually unbox.  Generics
would get rid of that
05:54 < uriel> no other language has interfaces like Go does, people that
claim they are not enough clearly haven't had the time to even become faimiliar
enough with the idea to even have judgement
05:54 < Ycros> map is already a generic type
05:54 < ThatTurkeyStory> but in the current c++ standard those "concepts" do
not have direct language support
05:55 < Ycros> kaib: I'm not sure what you mean by "using slices"
05:55 <+kaib> Ycros: yes it is, but it's not clear everything needs to be.
05:55 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has quit
[Nick collision from services.]
05:55 -!- goplexian [n=goplexia@d154-20-0-9.bchsia.telus.net] has joined #go-nuts
05:55 < uriel> Ycros: I don't think it is an issue really, at least it has
not been for me, and until I see more real evidence of the contrary, I would not
pay with extra language and implementation complexity to paper over that rather
minor issue IMHO
05:56 <+kaib> Ycros: v := make([]int, 0, 100)
05:56 < Ycros> uriel: manual unboxing is annoying, and map is a generic type
already - which I feel is inconsistent
05:56 < Ycros> uriel: you should be able to write your own containers that
are as nice to use as the built-in map
05:57 < Ycros> kaib: sure, but then when you want to grow it - you use a
Vector or a List
05:57 < goplexian> How do you receive input from the command line in a
running program.
05:57 < uriel> Ycros: it is not inconsistent, maps, arrays, slices, etc are
built in, vectors are not, and to be honest, I have not had much need for vectors
either, as kaib mentioned, slices are usually enough
05:57 <+kaib> Ycros: my experience has been that when i need a specialized
container for some reason (like a highly performant fibonacci heap or something)
it's always for a single occasion.
05:57 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has joined
#go-nuts
05:57 < Ycros> kaib: I don't know, I often have "I need to store an unknown
about of blah" problems
05:57 <+kaib> Ycros: sure it grows.  it just has a predefined maximum
boundary for how large it can grow.
05:59 < uriel> kaib: that is another very good point, if you need a
specialized container, it is for a specialized type in a specialized situation, so
generics don't buy you anything
05:59 < Ycros> ThatTurkeyStory: so concepts are like constraints placed on
the types used in instantiating a template?
06:00 < Ycros> kaib: yeah, but I don't often find it useful to have a
maximum boundary
06:00 < ThatTurkeyStory> yes.  with direct support they also play a roll in
choosing which functions get dispatched
06:00 <+kaib> Ycros: you always have in the form of available memory ..  :-)
06:00 < Ycros> uriel: genercs buy you cleaner code
06:01 < Ycros> ThatTurkeyStory: so it's similar to C#'s constraints
06:01 < Ycros> ThatTurkeyStory: except it looks complex and messy (as most
of C++ )
06:01 < uriel> Ycros: no they don't, if you need to write a custom
container, it will be for a custom type, so generics don't buy *anything*
06:01 < ThatTurkeyStory> a really basic example of this is std::advance.  it
works with any forward iterator but if you pass it a random access iterator it
will advance in constant time
06:01 < Ycros> ThatTurkeyStory: the way I would approach it in Go, is to
simply be able to specify that a parameter for a type needs to be a certain
interface
06:01 < Ycros> ThatTurkeyStory: and I think that's enough
06:01 -!- wollw [n=dshere@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts
06:02 < ThatTurkeyStory> Ycros: not exactly, it's all statically typed and
it's only messy if you are trying to i.e.  hack it onto C++ :p
06:02 < Ycros> ThatTurkeyStory:
http://msdn.microsoft.com/en-us/library/d5x73970.aspx
06:02 < Ycros> ThatTurkeyStory: that is C#'s constraints
06:02 < ThatTurkeyStory> yes i am familiar
06:02 < Ycros> imo, C# has the nicest generics implementation
06:03 <+kaib> Ycros: can you give a more specific example of where you need
to store unbounded amounts of different types?  one that has really bothered you
with go?
06:03 < ThatTurkeyStory> it's not bad, its just not as capable
06:03 < Ycros> uriel: yes, but what if you want a custom container that's
generic
06:03 < Ycros> uriel: you can store interface{}, but it'd be nicer if you
got static typechecking and automatic unboxing with that
06:03 -!- soul9 [n=none@unaffiliated/johnnybuoy] has quit [Read error: 110
(Connection timed out)]
06:04 * kuroneko sighs
06:04 < uriel> Ycros: and what if you want pink unicorns?  Go *needs* pink
unicorns
06:04 < ThatTurkeyStory> Ycros:
http://www.osl.iu.edu/publications/prints/2003/comparing_generic_programming03.pdf
is a really great rundown of the strengths of different approaches to generic
programming.  it really helps if you've used the boost graph library
06:05 < uriel> (with wings, and that can breathe underwater too)
06:05 < ThatTurkeyStory> these aren't magical creatures, these are
fundamentals
06:05 < Ycros> uriel: yes, it does ;)
06:05 -!- Alkavan [n=alkavan@87.68.247.236.adsl.012.net.il] has quit [Read error:
110 (Connection timed out)]
06:06 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has joined #go-nuts
06:06 < Ycros> kaib: I have a simple xml generator library I've written in
Go, I have a Node struct, which stores children nodes, as well as attributes.
Attributes are natually a map (which, hey, grows!) and Children are currently a
List
06:06 < ThatTurkeyStory> regardless of your religious hatred of C++ i find
it hard to believe that you simply don't see the power of libraries like that.
the point is you can do it without C++ templates, however C# style generic
programming for example is still a stretch and not as capable
06:07 < Ycros> kaib: I see no reason to artificially limit the size of the
Children field
06:08 < ThatTurkeyStory> the point is you can do it much better and much
simpler than C++ templates
06:08 < ThatTurkeyStory> Go interfaces are not that far away
06:08 <+kaib> Ycros: so i'm assuming you expect the total count of children
to be somewhere in the range of 10-15?
06:09 < Ycros> kaib: I don't expect them to be anything, that's up to the
users of my generic library
06:09 < Ycros> I've seen gigantic xml documents (horrible, I know) in the
past
06:09 < Ycros> so, a growable container makes sense
06:10 < Ycros> whether that be a List or a Vector
06:10 < Ycros> I have many cases like this in real programs that I write
06:10 <+kaib> Ycros: what does your interface look like?  it sounds like you
are exporting data structures through the interface?
06:10 < Eridius> oh damn, os.Dir.Name only contains the basename of the
file?
06:11 < Ycros> kaib: I do wrap the Children list in my own
AddChild/DeleteChild/HasChild/etc.  methods
06:11 < Ycros> which is where I do the unboxing
06:11 < Ycros> I also wrap the Iter with my own
06:12 <+kaib> Ycros: what service does your xml library provide?  just
parsing or something else?  did you look at the blog post rsc had about using
reflection to parse directly into structures?
06:12 < Ycros> it's not parsing, it's generation
06:12 < Ycros> parsing is in the go standard library already, I know.
06:12 * kaib slaps himself.
06:12 <+kaib> Ycros: ok, point still there, why do you expose the
intermediate xml representation?
06:13 < Ycros> kaib: not sure what you mean by that.  I'm going to write a
reflection-based serialiser on top probably
06:13 < Ycros> I want to implement an XMLRPC client
06:14 < uriel> Ycros: if it is a generator, why do you need to expose the
list at all?  just pee a private array, and if it runs out of space, allocate a
bigger one
06:14 < Ycros> uriel: yes, that is exactly what the Vector struct is for
06:15 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
06:15 < Ycros> or a List
06:15 <+kaib> Ycros: ok.  so the source data structure knows it's sizes
already, right.  so if you want to avoid the internal unboxing for performance
reasons you might make the interface look like: func CreateNode(numChildren int)
Node;
06:16 <+kaib> Ycros: that would always be more performant than any
dynamically growing list.
06:16 <+kaib> Ycros: now func AddChildren can just insert them into the
pre-allocated storage in constant time.
06:17 < uriel> Ycros: in any case, aren't those your own types?  so what is
the problem then as you are only storing one type, use a vector then
06:17 < uriel> (or use your own arrays, up to you)
06:17 < Ycros> kaib: yes, you could do it that way
06:19 < Ycros> okay, why do IntVector and StringVector exist in the standard
library?  With generics, both those can go away
06:19 <+kaib> Ycros: i think the core thing i'm trying to understand is what
you are trying to optimize for.
06:19 <+kaib> Ycros: while it's useful to speculate about the language, but
i'd like to help make the existing code you have as good as possible.
06:19 < Ycros> kaib: code read/writeability with generics
06:20 < Ycros> I want to type less, and achive more, with more safety where
possible
06:20 <+kaib> Ycros: is this example code or code destined for production
servers?
06:20 < kuroneko> kaib: all code is production code - nobody actually ever
gets around to rewriting that proof of concept.
06:20 < jessta> typing is easy, and fast and copy paste is pretty good at
generics
06:21 < jessta> what you want is to read less, not type less
06:21 < jessta> typing has never been a bottleneck in programming
06:21 < Ycros> jessta: I want less of both
06:21 < Ycros> but they are related, since if you type less, you'll have
less to read :)
06:21 < kuroneko> I actually strongly disagree with the copy-pasta
methodology - it means you need to track every instance you copy/pasted and update
it when you discover that you've introduced a bug
06:22 <+kaib> kuroneko: heh..  talk about it ..
06:22 -!- uxp_ [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
06:22 < Ycros> kaib: look, IntVector and StringVector, in the Go standard
library.  All that code will go away with generics
06:22 < jessta> I only see generics as useful for containers
06:22 < jessta> I reckon these containers should be built in
06:22 < uriel> Ycros: you don't want a ponny too?
06:22 < Ycros> plus, all the _manual_ typechecking code in people using the
base Vector, List and so on classes goes away
06:22 < Ycros> why should I do more typing
06:22 < Ycros> for something that the compiler can do
06:23 < Ycros> and better yet, can catch errors in at compile time
06:23 < Ycros> go should be simple, not filled with boilerplate code
06:23 < jessta> list, map, vector, etc.  as built-ins similar to how map
doesn't it's generics
06:23 < kuroneko> s/go/a language/
06:24 < kuroneko> I won't argue that it's go's job to do this, maybe it's
go's next cousin's job?
06:24 <+kaib> Ycros: ok, i'm probably not aligned with what you want.  in
your particular case, if his was production code i would accept the current
unboxing or if performance was more important i would go with the fixed size
version.
06:25 <+kaib> Ycros: but my viewpoint is very limited, the software we write
at work is somewhat specialized.
06:25 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Nick collision from
services.]
06:26 < Ycros> right.  I probably wouldn't go to those sorts of performance
optimisations right away.
06:26 < uriel> kaib: all software is specialized, software that tries to be
extremely generic (pun not intended ;P) and do everything for everyone always
sucks
06:27 < Ycros> uriel: re-usable libraries are fantastic
06:27 <+kaib> Ycros: the only thing i can really add is that i've read
through a million or so lines of C++ and your compared to the bad code i've seen
your particular unboxing case wouldn't be that much of an issue..
06:27 < uriel> Ycros: in the programming industry more harm has been done in
the name of code reuse than anything else, except perhaps needless optimization
06:28 < uriel> the best libraries are small, specialized and very narrowly
focused
06:28 < kuroneko> actually, I'd just stick with small.
06:29 < kuroneko> There's a fundamental sort of rule:
06:29 < kuroneko> The less code you have to write, the less bugs there will
be.
06:29 < Ycros> small is good, small means you've modularised well
06:29 < uriel> kuroneko: that too, but that is only a small part of the
benefit of small specialized tools
06:30 < kuroneko> it applies to more than just tools
06:30 < uriel> Ycros: many crimes are committed too in the name of
'modularity' (and even worse 'flexibility')
06:30 < Ycros> uriel: like unix?
06:30 < uriel> kuroneko: everything is in a way a 'tool', as long as it has
a purpose
06:30 < jessta> kuroneko: it really depends on how complex that small about
of code it
06:30 < kuroneko> uriel: I'm going to call BS on you again - start
justifying your point through examples and argument, not dictum.
06:31 < uriel> Ycros: unix originally got it precisely right, sed, grep and
friends are the greatest example of software design
06:31 < Ycros> uriel: therein lies modularity
06:31 < uriel> then the BSD and GNU monkeys took over and werecked the whole
thing
06:31 < kuroneko> so far you're regurgitating an extrapolation of a view
from a single paper
06:31 < Ycros> what I've sadly seen in software in the "Real World" is a
lack of correct modularity
06:32 < uriel> Ycros: the modularity in unix lies on the 1) simplicity 2)
specialization (do one thing and do it well) 3) everything is text
06:32 < kuroneko> jessta: if it's "complex", it's not a small amount of
code.
06:32 <+kaib> ok folks, i need to head for some rest.  anything else i can
help with before i go?  it seems you all are quite enjoying the generics
conversation without me ..  :-)
06:32 < Ycros> uriel: those are the keys to modularity (well, except the
last)
06:32 < ThatTurkeyStory> im just sad
06:32 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has joined #go-nuts
06:32 < uriel> kaib: hehe, thanks for your help and comments
06:32 < ThatTurkeyStory> is there a mailing list or something specifically
concerning language design?
06:32 * kaib hands ThatTurkeyStory a gingerbread cookie (my wife just baked some)
06:33 < kuroneko> later kaib.
06:33 < ThatTurkeyStory> thanks!
06:33 < Ycros> ThatTurkeyStory: I think there's probably a usenet group or
two
06:33 < ThatTurkeyStory> i mean with respect to Go
06:33 <+kaib> ThatTurkeyStory: golang-nuts is the main list, commenting on
rsc's blog post is probably the best way for generics.
06:33 < uriel> Ycros: golang-nuts in google groups
06:33 < ThatTurkeyStory> i really want to talk with or at least listen in to
the language designers
06:33 < uriel> sorry, that was for ThatTurkeyStory
06:33 < ThatTurkeyStory> okay cool, thanks
06:33 * uriel needs to sleep too, 7am here :(
06:34 <+kaib> uriel: you are a swede, aren't you?
06:34 < Ycros> uriel: so I wrote this XML generator as part of my XMLRPC
project.  Did I just roll it into my project?  Hell no, I'm building it as a
separate library, because it's generic and could be useful elsewhere.  Code
re-use.  I'm not going to re-write that.
06:34 < uriel> kaib: no, I'm not, but I'm sweden :)
06:34 < uriel> kaib: why do you ask?
06:34 <+kaib> uriel: god natt!  ;-) (night to everyone else)
06:35 < uriel> hehe, thanks, good night!
06:35 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit []
06:37 < Jerub> Ycros: actually..  xmlrpc isn't really xml :(
06:38 < Jerub> Ycros: xmlrpc spec specifically requires that it be xml 1.0,
but then goes on to allow invalid things between tags (with no encoding allowed)
such as null characters and \x1b.
06:39 -!- turutosiya [n=turutosi@219.106.251.65] has joined #go-nuts
06:39 -!- sorcerer_ [n=sorcerer@210.212.132.193] has joined #go-nuts
06:40 < Ycros> Jerub: I'm not trying to output xml really
06:40 < Ycros> Jerub: just enough to do what I need to do and run away
06:40 < Jerub> or parse it, clearly.  :P
06:41 < Ycros> well, go has a parser
06:41 < Ycros> as long as it handles it :P
06:41 -!- deadinplastic [n=m0reSign@64.178.109.240.dynamic.dejazzd.com] has left
#go-nuts []
06:41 < Ycros> it's not by choice I'm using xmlrpc, it's just what the
program I'm trying to interface with uses
06:41 < Ycros> and I thought it'd be a nice exercise for learning the
language
06:41 -!- sorcerer_ [n=sorcerer@210.212.132.193] has quit [Client Quit]
06:42 -!- sandy_ [n=sorcerer@116.74.105.130] has joined #go-nuts
06:43 -!- sandy_ [n=sorcerer@116.74.105.130] has quit [Client Quit]
06:43 -!- sandy_ [n=sorcerer@116.74.105.130] has joined #go-nuts
06:44 -!- sorcerer_ [n=sorcerer@122.182.3.2] has joined #go-nuts
06:46 -!- Zaba [n=zaba@about/goats/billygoat/zaba] has quit [Read error: 110
(Connection timed out)]
06:46 -!- sandy_ [n=sorcerer@116.74.105.130] has quit [Client Quit]
06:46 -!- sorcerer_ [n=sorcerer@122.182.3.2] has quit [Client Quit]
06:47 < uriel> Ycros: maybe it is a stupid idea, but have you thought of
using the tamplate system to generate the xml?
06:48 < Ycros> uriel: yes, that was my first thought, but it's too unwieldy
for what I'm doing
06:48 < Ycros> I'm not filling in blanks, I'm generating a whole structure
06:48 < Ycros> xmlrpc lets you send a number of parameters, and each
parameter can be a struct or a value type of some sort
06:49 < Ycros> so they can be recursively defined.  I mean, I could use
templates recursivelp
06:49 < Ycros> y
06:49 < Ycros> but I thought it'd be nice to just have an api to generate an
XML document
06:49 < Ycros> ideally though
06:49 < Ycros> we'd have the parser in go's library spitting out some
xml-like structs and the generator would work off those same ones
06:50 < Ycros> and the reflection stuff for reading things in-out of custom
user defined structs would be on top of those
06:50 < uriel> Ycros: I still think the templates system should be mostly be
capable of dealing with that, but I'm not familiar with the details
06:50 < Ycros> I'm pretty sure the current parser in the stdlib goes
straight to reflection without any intermediate representation
06:50 < uriel> (nesting and so on)
06:51 < Ycros> yeah you could.
06:51 < Ycros> someone else wrote a much nicer xml library, so I'll probably
ditch my code for his though
06:53 < Jerub> Ycros: as i said earlier, not a good idea, because xmlrpc
doesn't actually use xml, it just looks VERY similar.
06:54 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
06:56 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has quit
["Quitte"]
06:56 -!- sandipdev_ [n=sorcerer@220.225.147.22] has joined #go-nuts
06:56 -!- sandipdev_ [n=sorcerer@220.225.147.22] has quit [Remote closed the
connection]
06:59 -!- djanderson [n=dja@dsl-66-243-210-195.fairpoint.net] has quit [Read
error: 60 (Operation timed out)]
07:04 -!- ThatTurkeyStory [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit
[Read error: 104 (Connection reset by peer)]
07:04 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
07:07 -!- Eridius [n=kevin@growl/Eridius] has quit ["leaving"]
07:07 -!- cmbntr [n=cmbntr@80-218-229-4.dclient.hispeed.ch] has joined #go-nuts
07:07 -!- idea_squirrel [i=ct2rips@77-21-26-177-dynip.superkabel.de] has joined
#go-nuts
07:08 -!- codedread [i=180dd699@gateway/web/freenode/x-tqzyksgxtzyaxdfu] has quit
["Page closed"]
07:09 -!- decriptor [n=decripto@53.250.sfcn.org] has quit [Read error: 113 (No
route to host)]
07:11 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit [Read
error: 113 (No route to host)]
07:12 -!- erwinz [i=7b97c322@gateway/web/freenode/x-jmxdnyolvzlrjoqk] has quit
["Page closed"]
07:13 -!- JBdiGriz [n=dbw@adsl-71-136-253-6.dsl.sndg02.pacbell.net] has quit [Read
error: 110 (Connection timed out)]
07:14 -!- wollw [n=dshere@75-101-22-68.dsl.dynamic.sonic.net] has quit ["Lost
terminal"]
07:15 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
07:18 -!- wollw [n=dshere@75.101.22.68] has joined #go-nuts
07:22 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
07:24 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
110 (Connection timed out)]
07:25 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit
["Rockinā€™ music will set you free."]
07:26 -!- cmbntr [n=cmbntr@80-218-229-4.dclient.hispeed.ch] has quit []
07:29 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has joined
#go-nuts
07:34 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
07:43 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
07:49 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
07:53 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error:
113 (No route to host)]
07:54 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
07:55 -!- aarapov [n=aarapov@nat/redhat/x-dqoesdlybwbpksey] has joined #go-nuts
08:01 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
08:07 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
08:08 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
08:10 < Maxdamantus> On the tutorial, why are the return values "declared"
for functions with multiple return values?
08:10 < Maxdamantus> Read(b []byte) (ret int, err os.Error);
08:10 < Maxdamantus> Shouldn't it just be Read(b []byte) (int, os.Error)?
08:12 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has joined
#go-nuts
08:16 < jdp> Maxdamantus: while in the body of the function, you can treat
those declared variables like you had declared them yourself
08:16 < jdp> then you also don't need to explicitly return them, instead of
return ret, err; you just call return;
08:17 < Maxdamantus> Ah. So that's the only advantage?
08:17 < Maxdamantus> So I'd presume it does work without them then?  func
foo() (int, int){return 42, 1337}
08:17 < jdp> yeah that would work fine
08:18 < Maxdamantus> Thanks.
08:18 -!- geocalc [n=geocalc@lns-bzn-53-82-65-24-155.adsl.proxad.net] has quit
[Remote closed the connection]
08:19 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
110 (Connection timed out)]
08:19 < Maxdamantus> Also..  (I'll try writing some stuff once I've read the
full tutorial, so understand the concepts better) I notice all the ifs etc in the
tut have the braces around the nested code blocks..  Is that necessary?
08:20 < Maxdamantus> Hm. I think it'd probably be kinda awkward having
something like..  if a == 5 b = 6
08:21 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
08:21 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
104 (Connection reset by peer)]
08:21 < Maxdamantus> Maybe if it's parenthesised it won't mind, since iirc
you can leave out the semicolon after a ) so might be similar.
08:22 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
08:22 < Maxdamantus> Oh wait no, I'm thinking of } :\
08:25 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
08:33 < uriel> Maxdamantus: braces are required
08:33 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
08:33 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
104 (Connection reset by peer)]
08:34 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined
#go-nuts
08:38 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
08:40 -!- triplez [n=triplez@bb116-14-66-54.singnet.com.sg] has quit []
08:41 -!- triplez [n=triplez@116.14.66.54] has joined #go-nuts
08:42 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
08:44 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
110 (Connection timed out)]
08:52 -!- itrekkie [n=itrekkie@ip72-200-111-111.tc.ph.cox.net] has quit []
09:06 -!- path[l] [n=path@115.240.73.173] has quit []
09:08 -!- Eridius [n=kevin@growl/Eridius] has joined #go-nuts
09:08 < Eridius> What's the zero value for a string variable?
09:11 -!- Gorthaur [n=mala@pc40.lusi.uni-sb.de] has joined #go-nuts
09:16 -!- AndrewBC [n=Andrew@97.93.242.12] has quit []
09:23 -!- plediii [n=plediii@nat-128-42-158-223.rice.edu] has joined #go-nuts
09:26 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has quit [Connection timed
out]
09:27 < dagle> Eridius: I would say "" or nil.  Depending on what you are
going to do.
09:27 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
09:28 < dagle> Eridius: You want to check if a string is set or not?
09:31 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
09:31 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
104 (Connection reset by peer)]
09:35 < jessta> Eridius: I think it's nil,
09:35 -!- Transformer [n=Transfor@67.86.52.96] has joined #go-nuts
09:37 -!- ShadowIce [i=shadowic@unaffiliated/shadowice-x841044] has quit
["Leaving"]
09:37 < dagle> jessta: Is it really?  Because a string i a type in go and
not a array of chars.
09:38 < dagle> I think it is "".
09:38 < dagle> I will test.
09:39 -!- Transformer [n=Transfor@67.86.52.96] has left #go-nuts []
09:41 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:42 < dagle> Eridius: It is indeed "".  If you want to check if its nil
use a pointer.
09:42 < rog> i don't think you can test a string against nil
09:43 < dagle> rog: You can have a pointer to a string and check if thats
nil.
09:44 < rog> of course, just like you can have a pointer to anything and
check if that's nil...
09:44 < dagle> :)
09:50 < rog> > print("hello" == nil)
09:50 < rog> hmm, bot doesn't seem to be around...
09:51 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
09:54 -!- path[l]_ [n=path@59.162.86.164] has joined #go-nuts
10:02 -!- path[l]__ [n=path@59.162.86.164] has joined #go-nuts
10:02 -!- path[l] [n=path@59.162.86.164] has quit [Read error: 104 (Connection
reset by peer)]
10:03 -!- Xavier [i=kintoen@bitchx/dev/eth0] has quit ["Lost terminal"]
10:08 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit ["Leaving..."]
10:09 -!- triplez [n=triplez@116.14.66.54] has quit []
10:18 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has joined #go-nuts
10:19 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has left #go-nuts []
10:21 -!- Eridius [n=kevin@growl/Eridius] has quit ["leaving"]
10:21 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
10:21 -!- path[l]_ [n=path@59.162.86.164] has quit [Read error: 110 (Connection
timed out)]
10:30 -!- path[l] [n=path@59.162.86.164] has quit []
10:32 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
10:38 -!- turutosiya [n=turutosi@219.106.251.65] has quit [Remote closed the
connection]
10:40 -!- bbb [n=aja@192.121.150.10] has joined #go-nuts
10:44 -!- Whtiger [n=josh@c-68-60-92-33.hsd1.mi.comcast.net] has quit [Read error:
110 (Connection timed out)]
10:47 -!- murodese [n=James@203-59-51-137.dyn.iinet.net.au] has quit [Read error:
60 (Operation timed out)]
10:48 -!- tomestla [n=tom@78.251.174.90] has joined #go-nuts
10:49 -!- path[l] [n=path@59.162.86.164] has quit []
10:50 < scoeri> are there any compiler flags i can turn on for optimization?
10:51 < jessta> nope
10:52 < jessta> optimise your code for optimisations
10:53 < scoeri> yeah, screw maintainability, i should inline all my
accessors myself
10:56 < uriel> scoeri: what is too slow?
10:56 -!- murodese [n=James@203-59-51-137.dyn.iinet.net.au] has joined #go-nuts
10:56 < JBeshir> scoeri: Wait, you're trying to tell me that a very very new
language doesn't have optimising stuff yet?
10:56 < JBeshir> scoeri: Hold on, I might need to make a blog post about
this, this is valuable news the world should know.
10:57 < jessta> scoeri: go will inline things that should be inlined
10:57 < uriel> or you just want a compiler flag that says
--magic-stuff-that-makes-an-infinite-loop-end-in-two seconds
10:58 < jessta> I like how the elitism in the community has grown up to
quickly
10:58 < jessta> *so
10:58 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
10:59 -!- ContraSF [i=email@89.180.135.176] has left #go-nuts []
11:01 -!- reiko [n=reiko@74.125.121.33] has quit ["Ex-Chat"]
11:01 < scoeri> uriel: well i ported my interperter written in C to go
(using mosly regexpses)
11:01 < scoeri> about 5600 lines of go
11:02 < scoeri> and a quicksort of 500000 elements takes 5sec for the C
version and 90 sec in the go version
11:02 < scoeri> which is a bit dissapointing
11:02 < JBeshir> Is it in-place?
11:02 < scoeri> i guess with som manual optimisations i can drive that
number a bit back
11:03 < scoeri> yeah
11:04 < scoeri> but its not the algoritm itself that is important, because
thats twice the same code
11:05 < JBeshir> Given Go's garbage collector is kinda slow right now, it
would matter if it was making and destroying lots of variables.
11:05 < JBeshir> (That's a known point with a new much faster one in the
works)
11:05 < jessta> scoeri: what are you sorting?
11:05 < JBeshir> What else, hmm.  Regexes are slow.
11:06 < JBeshir> But that shouldn't affect the sort itself, right?
11:06 < scoeri> JBeshir: i meant i transformed my C code to go using rexexes
11:06 < scoeri> *regexes
11:06 < JBeshir> Ah.
11:08 < scoeri> but the garbage collecter is an interesting point though, im
just trying to find ways to optimize my code
11:10 -!- Meidor [n=quassel@cl-936.ams-05.nl.sixxs.net] has joined #go-nuts
11:12 < scoeri> JBeshir: actually, i cant even tell if go is creating a lot
of variables, because the quicksort is written in my language "pico" which i
interpret with go
11:14 < scoeri> perhaps there is a profiler for go?
11:19 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:19 < rog> is anyone else here using go on a mac?
11:19 -!- codehai1 [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
11:20 -!- tomestla [n=tom@78.251.174.90] has quit [Read error: 110 (Connection
timed out)]
11:29 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
11:29 -!- tomestla [n=tom@78.251.174.90] has joined #go-nuts
11:34 < rog> is the compiler with the new semicolon rules available yet?
11:35 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [Read
error: 113 (No route to host)]
11:37 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 110 (Connection timed out)]
11:42 -!- Fraeon [n=kzer-za@212.246.65.153] has joined #go-nuts
11:42 < uriel> scoeri: the regexp library is just a placeholder, the perf
problem is not on the compiler but on the regexplib
11:43 < uriel> scoeri: you don't need a profiler to know all the time is
wasted on the regexp lib
11:44 < uriel> (just last week rob made a couple of simple optimization that
got a magnitude perf improvement, that kind of shows you how unoptimized it is,
and from what i have heard the plans is to replace it completely eventually)
11:49 < uriel> scoeri: if you want a really ugly hack to make things fast
right away, there are bindings for pcre somewhere in
http://go-lang.cat-v.org/library-bindings
11:49 < JBeshir> uriel: He said he used regexes to convert from C to Go, not
in the interpreter.
11:49 < uriel> oh, sorry, uh
11:50 < uriel> fuck, I should have gone to sleep like twelve hours ago!  :)
11:50 < JBeshir> XD
11:52 < uriel> rog: I don't think the compilers with the new semicolon rules
are out yet, but better don't trust me, specially in this state ;)
11:52 < uriel> rog: just check the changelog
11:52 < rog> what state's that, then?
11:53 -!- roto [n=roto@64.79.202.154] has quit [Client Quit]
11:53 < uriel> badly sleep deprived
11:53 < uriel> not that anyone should trust me even when I have been
sleeping properly either, but..
11:53 < rog> :-)
11:54 < uriel> there are still some posts from russ in 9fans about how
useless irc is and jmk saying that most things said here are just nonsense :)
11:54 -!- roto [n=roto@64.79.202.154] has joined #go-nuts
11:55 < rog> it's probably not entirely untrue :-)
11:55 < JBeshir> To be fair, that applies to the mailing list, too.
11:56 < JBeshir> And I've seen less of people calling them stupid or making
excuses for the lack of exceptions.  :P
11:56 < rog> it probably applies to all human speech everywhere
11:57 < uriel> rog: I didn't say it was not true :)
11:58 -!- Rivoru1 [n=Rivorus@ool-457652d7.dyn.optonline.net] has quit [Read error:
110 (Connection timed out)]
12:01 -!- Trey [n=trey@lopsa/board/Trey] has quit [Read error: 113 (No route to
host)]
12:18 -!- mizai [n=mizai@rhou-164-107-213-111.resnet.ohio-state.edu] has quit
["Leaving"]
12:20 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
12:22 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts
12:22 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has left #go-nuts
["Leaving."]
12:23 -!- Gorthaur [n=mala@pc40.lusi.uni-sb.de] has quit ["Leaving"]
12:23 -!- tomestla [n=tom@78.251.174.90] has quit [Read error: 110 (Connection
timed out)]
12:24 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
12:34 -!- codehai1 [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [Read
error: 113 (No route to host)]
12:35 -!- Vova [n=Vova@80.178.0.93.adsl.012.net.il] has quit []
12:38 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
12:38 -!- aep [n=aep@libqxt/developer/aep] has joined #go-nuts
12:39 < aep> greetings.  could go be used for dynamic webpages (stuff you'd
use rails for)
12:41 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: Meidor
12:42 -!- Netsplit over, joins: Meidor
12:44 -!- wayneeseguin [n=wayneese@rrcs-72-45-208-165.nys.biz.rr.com] has joined
#go-nuts
12:56 -!- leitaox [n=leitaox@189.20.94.66] has joined #go-nuts
13:00 -!- JPascal [n=jpascal@195.239.8.22] has joined #go-nuts
13:04 -!- tomestla [n=tom@78.251.174.90] has joined #go-nuts
13:05 -!- tabo [n=tabot@camelot.tabo.pe] has quit [Read error: 110 (Connection
timed out)]
13:06 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
13:09 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
13:10 -!- kanru [n=kanru@61-228-148-113.dynamic.hinet.net] has joined #go-nuts
13:12 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
13:15 -!- giorgi_ [n=giorgi@212.58.124.182] has joined #go-nuts
13:15 -!- giorgi_ [n=giorgi@212.58.124.182] has left #go-nuts ["Leaving"]
13:20 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts
13:28 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has quit [Read error:
131 (Connection reset by peer)]
13:28 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has joined #go-nuts
13:29 -!- GeoBSD [n=geocalc@lns-bzn-61-82-250-77-15.adsl.proxad.net] has joined
#go-nuts
13:31 -!- smooge [n=smooge@int.smoogespace.com] has quit [Remote closed the
connection]
13:35 -!- Anders [n=Anders@h82n1fls34o265.telia.com] has joined #go-nuts
13:35 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [No route
to host]
13:36 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
13:36 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [Remote
closed the connection]
13:37 -!- ajhager [n=ajhager@c-69-136-3-186.hsd1.in.comcast.net] has quit ["A way
a lone a last a loved a long the..."]
13:40 -!- ajhager [n=ajhager@c-69-136-3-186.hsd1.in.comcast.net] has joined
#go-nuts
13:43 -!- scm_ [i=justme@c178162.adsl.hansenet.de] has joined #go-nuts
13:51 -!- Anders [n=Anders@h82n1fls34o265.telia.com] has quit ["Leaving"]
13:55 -!- scm [i=justme@c165241.adsl.hansenet.de] has quit [Connection timed out]
14:07 -!- Alkavan_ [n=alkavan@87.68.247.236.adsl.012.net.il] has quit [Read error:
104 (Connection reset by peer)]
14:07 -!- aarapov [n=aarapov@nat/redhat/x-dqoesdlybwbpksey] has quit ["Leaving."]
14:07 -!- Alkavan_ [n=alkavan@87.68.247.236.adsl.012.net.il] has joined #go-nuts
14:11 -!- tomestla [n=tom@78.251.174.90] has quit [Read error: 110 (Connection
timed out)]
14:11 -!- leitaox [n=leitaox@189.20.94.66] has quit [Client Quit]
14:11 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
14:30 -!- booh [n=booh@gitgo.org] has joined #go-nuts
14:30 < booh> hi #go-nuts !
14:30 < JPascal> hi
14:31 < booh>
http://tav.espians.com/twitter-golang-list-go-mirror-on-github.html
14:31 < alexsuraci> aep: yes
14:32 < alexsuraci> see http://gopaste.org/ (http://github.com/vito/go-play
in "gopaste")
14:34 -!- chachan [n=chachan@150.187.40.27] has joined #go-nuts
14:40 -!- djanderson [n=dja@dsl-66-243-210-195.fairpoint.net] has joined #go-nuts
14:41 -!- exn_ [n=exn@195.49.206.202] has joined #go-nuts
14:41 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
14:42 -!- tabo [n=tabot@camelot.tabo.pe] has joined #go-nuts
14:42 -!- JPascal [n=jpascal@195.239.8.22] has left #go-nuts []
14:46 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has left #go-nuts
[]
14:46 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
14:47 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
14:48 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
14:52 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
14:58 -!- gorthaur [n=gorthaur@95.89.212.93] has joined #go-nuts
15:00 -!- aarapov [n=aarapov@r2ah201.net.upc.cz] has joined #go-nuts
15:06 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [Read error:
104 (Connection reset by peer)]
15:07 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
15:14 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
15:18 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
15:23 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has joined
#go-nuts
15:23 -!- sm [n=sm@cpe-75-85-86-67.socal.res.rr.com] has joined #go-nuts
15:24 -!- sm_ [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts
15:27 -!- vigith [n=Vigith@122.167.132.242] has joined #go-nuts
15:30 -!- rajeshsr [n=rajeshsr@59.92.38.136] has joined #go-nuts
15:34 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
15:36 -!- soul9 [n=none@li141-132.members.linode.com] has joined #go-nuts
15:44 -!- sm [n=sm@cpe-75-85-86-67.socal.res.rr.com] has quit [Nick collision from
services.]
15:49 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the
connection]
15:50 -!- alexsuraci` [n=alex@li71-127.members.linode.com] has joined #go-nuts
15:51 -!- raichoo [n=raichoo@i577B9BC6.versanet.de] has joined #go-nuts
15:53 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has quit []
15:53 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
15:58 -!- plainhao [n=plainhao@mail.xbiotica.com] has joined #go-nuts
15:58 -!- vigith [n=Vigith@122.167.132.242] has left #go-nuts []
15:58 -!- ztzg__ [n=dash@dslb-084-057-006-196.pools.arcor-ip.net] has quit
["leaving"]
15:59 -!- plainhao [n=plainhao@mail.xbiotica.com] has quit [Remote closed the
connection]
15:59 -!- plainhao [n=plainhao@208.75.85.237] has joined #go-nuts
16:02 -!- chickamade [n=chickama@123.16.87.162] has joined #go-nuts
16:02 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined
#go-nuts
16:13 -!- chickamade [n=chickama@123.16.87.162] has quit ["Leaving"]
16:14 -!- sm [n=sm@76.173.194.242] has joined #go-nuts
16:15 -!- decriptor [n=decripto@137.65.133.23] has joined #go-nuts
16:15 < toft> is there a way to iterate through all elements of a map?
16:17 < toft> nevermind, got it
16:17 -!- path[l] [n=path@59.162.86.164] has quit []
16:26 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit
[Connection timed out]
16:27 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has quit []
16:29 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
16:40 -!- alexsuraci` [n=alex@li71-127.members.linode.com] has quit ["Lost
terminal"]
16:43 -!- iant [n=iant@nat/google/x-afabhridbcxcmmrp] has joined #go-nuts
16:43 -!- mode/#go-nuts [+v iant] by ChanServ
16:45 -!- tomestla [n=tom@AToulouse-151-1-98-230.w86-217.abo.wanadoo.fr] has
joined #go-nuts
16:45 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
16:48 -!- ztzg [n=dash@dslb-084-057-006-196.pools.arcor-ip.net] has joined
#go-nuts
16:49 -!- sm [n=sm@76.173.194.242] has quit [Read error: 145 (Connection timed
out)]
16:55 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit []
16:56 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 113 (No route
to host)]
16:59 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit ["Quitte"]
16:59 -!- itrekkie [n=itrekkie@ip72-200-111-111.tc.ph.cox.net] has joined #go-nuts
17:03 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts
17:10 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has quit []
17:14 -!- KillerX [n=anant@nat/mozilla/x-wzfjsytjzknshmyq] has joined #go-nuts
17:14 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Remote closed the
connection]
17:15 -!- KillerX [n=anant@nat/mozilla/x-kpyhfowbkpzbkwfa] has joined #go-nuts
17:24 -!- pinkmexican [i=630bfdd6@gateway/web/freenode/x-xbmxykexoakjuksa] has
joined #go-nuts
17:37 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has joined #go-nuts
17:39 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:43 -!- crc [n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net] has quit [Read error:
54 (Connection reset by peer)]
17:43 -!- crc [n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net] has joined #go-nuts
17:45 -!- JPascal [n=jpascal@78-106-112-111.broadband.corbina.ru] has joined
#go-nuts
17:45 < JPascal> hi
17:45 < JPascal> iant: are you here?  :)
17:45 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has quit [Connection timed
out]
17:47 -!- codedread [i=180dd699@gateway/web/freenode/x-viramhxlhzqkbben] has
joined #go-nuts
17:51 < JPascal> Why I get not static linked binary file?
17:52 -!- tor5 [n=tor@mca0f36d0.tmodns.net] has joined #go-nuts
17:53 -!- drry [n=drry@unaffiliated/drry] has quit [Read error: 131 (Connection
reset by peer)]
17:55 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
17:56 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has quit []
18:02 -!- djanderson [n=dja@dsl-66-243-210-195.fairpoint.net] has quit [Read
error: 110 (Connection timed out)]
18:05 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
18:06 -!- ukl [n=ukl@f053121177.adsl.alicedsl.de] has joined #go-nuts
18:17 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
18:17 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
18:19 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
18:21 <+iant> JPascal: I am here now
18:21 < ukl> Hello.  Given I want to implement a tree structure (an
(a,b)-tree to be exact), how do I have to craft its type in Go?
18:21 < xerox> :t \amb -> \x -> (amb >>=) . flip ($)
18:21 < xerox> wrong window
18:21 < JPascal> iant: Look at this http://pastebin.com/m66ec7244
18:22 < ukl> my problem is, in order to properly define the type, it has to
refer to a list of pointers to itself, like []*abTree -- but what about the
leaves?
18:22 < ukl> either they are somehow crippled abTree structs or something
else, like, *int, but I can't wrap my mind around how to point towards them,
then...
18:23 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
18:23 <+iant> JPascal: I assume you are using cgo in there somewhere?
18:23 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
18:23 <+iant> ukl: you want something which you would express in C as a
union?
18:23 < ukl> (crippled meaning no more pointers, no mentions of the maximum
elements of subtrees attached to them, some way of saving the value they carry)
18:24 < JPascal> iant: I have a any binded C functions..
18:24 -!- AndrewBC [n=Andrew@97.93.242.12] has joined #go-nuts
18:24 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
18:24 < JPascal> Obviously I do not use cgo
18:24 <+iant> JPascal: can you paste index.go?
18:25 < JPascal> yes, wait
18:25 < ukl> iant: maybe...  I think that's what I want...  like "type Tree
= Tree | Leaf" in Haskell
18:25 <+iant> ukl: Go doesn't support that kind of type yet, though there
has been some discussion of it
18:25 -!- gasreaa [n=atwong@nat/slide/x-lsqvpinxuutpjdse] has joined #go-nuts
18:25 <+iant> you have to use an interface or have unused fields in your
struct
18:25 -!- ptolomy2 [n=chatzill@nat/google/x-gylxgyucsnsetmkm] has joined #go-nuts
18:26 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
18:26 < ukl> iant: an interface?  oh, I haven't thought this feature would
fit here...  need to have a closer look, thanks for the pointer
18:26 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has joined #go-nuts
18:26 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 110 (Connection
timed out)]
18:26 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
18:26 < JPascal> iant: http://pastebin.com/m3546d6f7
18:27 <+iant> JPascal: you have a bunch of imports in there; what is libcgi?
18:28 <+iant> if it is a wrapper around the usual libcgi, then you are using
cgo
18:28 < JPascal> It is my lib.  Pure go lang...
18:28 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
18:28 <+iant> OK, then I don't know; if I link without cgo, ldd shows the
binary as statically linked
18:28 < JPascal> hm..
18:29 < JPascal> wait...  i found.
18:30 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
18:30 < JPascal> Look at line 13.  import ("./modules/proxy").  Paste...
18:32 < JPascal> I think I found a problem.  Go to check..
18:32 < JPascal> Sorry for my english.  I from russia )
18:33 < ptolomy2> http://pastie.org/739329 <-- fun time duration package.
18:35 < skelterjohn> anyone remember off their heads how to indicate
infinity in an int type?
18:35 <+iant> skelterjohn: you can't, except by introducing your own
convention
18:36 -!- gasreaa [n=atwong@nat/slide/x-lsqvpinxuutpjdse] has left #go-nuts []
18:36 < skelterjohn> err, really?  can you with float type?
18:36 <+iant> skelterjohn: yes, a float type has a representation for
infinity
18:36 < skelterjohn> ah ok that's what i was remembering, then
18:37 <+iant> you can get it using math.Inf(1)
18:37 < skelterjohn> right, thanks
18:41 < Rob_Russell> ptolomy2: nice bit of utility.  you should host it
somewhere (github, googlecode, etc).
18:41 < Rob_Russell> ptolomy2: if you add GoString() methods to your types
then people can printf them with the %#v format
18:43 < ptolomy2> Ooh.  Good to know.
18:43 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
18:44 < Rob_Russell> ukl: i don't know if it's mature enough to help with
your tree structure but i've been working on a toy app with a generic graph
structure at http://code.google.com/p/goraphing/
18:44 < Rob_Russell> ukl: you might find some code that helps you decide
what to do (or what not to do :) )
18:44 < ptolomy2> Rob_Russell: It's not really fully-baked enough for me to
try to make it a hosted something something.  It's halfway between a general units
thing and a time thing.  Maybe after I've tried to use it in a few context and
found what parts aren't needed, I'll put it somewhere useful.
18:45 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Client
Quit]
18:45 -!- rullie [n=rullie@bas4-toronto47-1279405664.dsl.bell.ca] has left
#go-nuts []
18:45 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
18:46 < Rob_Russell> ptolomy2: sure.  i find it helps me to get it in to
version control early, makes life easier.  doesn't work for everybody though
18:46 < Rob_Russell> ptolomy2: (but mostly i was thinking that when i want
to use your code in a couple days i'll have forgotten where it was :) )
18:49 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
18:53 < pinkmexican> I'm trying to figure out how to "extend" a custom named
map type with my own properties and methods.  This doesn't work:
http://pastie.org/739365 . I'd appreciate any help.
18:55 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts
18:55 -!- carllerche_ [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
18:57 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
18:57 -!- chachan [n=chachan@150.187.40.27] has quit ["KVIrc Insomnia 4.0.0,
revision: , sources date: 20090520, built on: 2009/06/06 11:44:47 UTC
http://www.kvirc.net/"]
19:01 -!- smooge [n=smooge@ip68-2-22-182.ph.ph.cox.net] has joined #go-nuts
19:03 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has joined
#go-nuts
19:03 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
19:03 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
19:06 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
19:08 < Rob_Russell> pinkmexican: here's an example from my code
http://pastie.org/739395
19:08 < Rob_Russell> very similar to what you want i think
19:08 < Rob_Russell> oh but you want to add fields to it
19:08 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
19:11 < Rob_Russell> best you can do, afaik, is to include a map as a member
of Order (which would then need to be a struct).  You would not be able to use []
notation directly on Order if that's what you're looking for
19:11 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit [Read
error: 110 (Connection timed out)]
19:11 < pinkmexican> Apparently you can't add fields to any primitive type.
19:11 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
19:12 < Rob_Russell> right
19:12 < pinkmexican> I can work my way around it, but it would have been
nice.  Thx!
19:12 < Rob_Russell> np
19:13 < skelterjohn> There was something on the ML at one point suggesting
the ability to define properties for arbitrary types in the same way that you
defined functions
19:14 < skelterjohn> like "type MyInt int; prop (MyInt) m sync.Mutex"
19:14 < skelterjohn> could built up a lightweight threadsafe counter that
way, for example
19:14 < skelterjohn> I forget what the team's response to it was
19:15 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has joined #go-nuts
19:17 < skelterjohn> or (one of the issues i've probably been irritating
about) threadsafe channels
19:18 < skelterjohn> you define a channel type that has attached to it a
mutex, and also define safe read and write functions
19:18 < uriel> thread safe channels?  uhu?  now that makes zero sense to me
19:19 < fgb> hey hey hey
19:20 < fgb> so, you the channel is locked and no one can recieve!
19:21 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
19:21 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
19:21 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
19:25 < skelterjohn> not exactly what i meant =p
19:25 < skelterjohn> talking about a channel that has multiple readers
19:25 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Read error: 104
(Connection reset by peer)]
19:26 < skelterjohn> if one of them does "<-ch, closed(ch)", gets a zero
and the channel is closed, how do they know if the value they got was a zero that
was sent or a zero that was the "closed" value?
19:26 < skelterjohn> in between the channel read and the call to closed,
another thread could have done the same thing
19:27 < skelterjohn> one way to do this safely is to surround the
"<-ch,closed(ch)" by a mutex associated with the channel
19:30 < skelterjohn> range ch is not threadsafe for the same reason
19:31 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
19:32 < dho> that's a bummer
19:35 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has joined
#go-nuts
19:37 < skelterjohn> heh.  And I think I pissed off Russ Cox by posting
about it and related issues too much on the ML.
19:38 < skelterjohn> he told me (in a polite way) to stfu, I think
19:38 < dagle> Hehe.
19:38 < dho> he's got a good way of doing that :)
19:38 < dho> I like Russ
19:38 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Read
error: 54 (Connection reset by peer)]
19:38 < dho> He's a really smart and helpful guy
19:38 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
19:38 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts
19:42 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has quit
["Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/"]
19:42 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
19:43 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
19:44 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
19:44 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
19:44 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Nick collision from services.]
19:45 -!- SRabbelier1 [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
19:45 -!- zhaozhou [n=zhaozhou@linfast108.bitnet.nu] has quit [Remote closed the
connection]
19:46 -!- SRabbelier1 [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Client Quit]
19:46 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: Nanoo,
zz, GeoBSD, uxp, General1337, robot12, shasbot, tokuhiro_______2, beneth`_,
smooge, (+9 more, use /NETSPLIT to show all of them)
19:46 -!- JPascal [n=jpascal@78-106-112-111.broadband.corbina.ru] has quit
[Connection timed out]
19:46 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has quit [Connection reset
by peer]
19:46 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has joined #go-nuts
19:46 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
19:48 -!- zz [i=fusion@193.104.228.25] has joined #go-nuts
19:48 -!- beneth` [n=beneth`@beneth.fr] has joined #go-nuts
19:49 -!- Netsplit over, joins: GeoBSD
19:49 -!- Netsplit over, joins: codemac, syd
19:49 -!- Netsplit over, joins: uxp
19:50 -!- Netsplit over, joins: Nanoo, smooge, ptolomy2, KillerX, jA_cOp,
General1337, Zarutian, tokuhiro_______2, robot12, BMeph (+4 more)
19:50 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has quit [Connection
reset by peer]
19:50 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[SendQ exceeded]
19:50 -!- beneth`_ [n=beneth`@beneth.fr] has quit [Connection reset by peer]
19:50 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has joined #go-nuts
19:50 -!- JPascal [n=jpascal@78-106-125-191.broadband.corbina.ru] has joined
#go-nuts
19:51 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
ShadowIce, atsampson, soul9, Guest18155, vhold, halfdan_, eiro, inittab, vt100,
Zaba, (+11 more, use /NETSPLIT to show all of them)
19:51 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [SendQ
exceeded]
19:53 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has quit []
19:54 -!- quag_ [n=quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
19:54 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
gorthaur, beneth`, ukl, plainhao, yashi_, jepler, dho, werdan7, Fraeon, xerox, (+8
more, use /NETSPLIT to show all of them)
19:54 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit [SendQ
exceeded]
19:55 -!- Netsplit over, joins: niekie
19:56 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has joined #go-nuts
19:56 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has joined
#go-nuts
19:56 -!- murodes1 [n=James@203-59-51-137.dyn.iinet.net.au] has joined #go-nuts
19:57 -!- tsung [n=jon@112.104.53.151] has joined #go-nuts
19:57 -!- borisc [n=borisc@borisc2.csbnet.se] has joined #go-nuts
19:57 -!- dho [n=dho@onager.omniti.com] has joined #go-nuts
19:57 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has joined #go-nuts
19:57 -!- ukl [n=ukl@f053121177.adsl.alicedsl.de] has joined #go-nuts
19:58 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has joined #go-nuts
19:58 -!- JPascal [n=jpascal@78-106-125-191.broadband.corbina.ru] has left
#go-nuts []
19:59 -!- shardz [i=samuel@ilo.staticfree.info] has quit [Remote closed the
connection]
19:59 -!- Null_ [n=xxxx@216.40.38.232] has quit [Remote closed the connection]
20:01 -!- murodese [n=James@203-59-51-137.dyn.iinet.net.au] has quit [Read error:
104 (Connection reset by peer)]
20:03 -!- BMeph [n=black_me@65.103.151.24] has quit [Connection timed out]
20:03 -!- quag [n=quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Connection
timed out]
20:03 -!- wollw [n=dshere@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts
20:03 -!- beneth` [n=beneth`@beneth.fr] has joined #go-nuts
20:04 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit [Connection
timed out]
20:09 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
20:12 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit
[Connection timed out]
20:12 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has joined
#go-nuts
20:13 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
20:14 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined
#go-nuts
20:14 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has joined
#go-nuts
20:15 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
20:15 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [Client
Quit]
20:16 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the
connection]
20:17 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
20:17 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
20:18 -!- idea_squirrel [i=ct2rips@77-21-26-177-dynip.superkabel.de] has quit
["Verlassend"]
20:18 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
20:18 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [Client
Quit]
20:21 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has quit [Read error: 60
(Operation timed out)]
20:22 -!- Null_ [n=xxxx@216.40.38.232] has joined #go-nuts
20:22 -!- atsampson [n=ats@94-193-50-45.zone7.bethere.co.uk] has joined #go-nuts
20:22 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
20:22 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
20:22 -!- soul9 [n=none@unaffiliated/johnnybuoy] has joined #go-nuts
20:22 -!- exn_ [n=exn@195.49.206.202] has joined #go-nuts
20:22 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
20:22 -!- halfdan_ [n=halfdan@p57A9753D.dip.t-dialin.net] has joined #go-nuts
20:22 -!- tav [n=tav@78.145.25.137] has joined #go-nuts
20:22 -!- inittab [n=dlbeer@ip-118-90-54-50.xdsl.xnet.co.nz] has joined #go-nuts
20:22 -!- Method [n=Method@unaffiliated/method] has joined #go-nuts
20:22 -!- gnuvince [n=vince@64.235.207.85] has joined #go-nuts
20:22 -!- spook327 [n=RevSpook@173-31-200-13.client.mchsi.com] has joined #go-nuts
20:22 -!- [dmp] [n=dennis@unaffiliated/dmp/x-546784] has joined #go-nuts
20:22 -!- scoopr [i=scoopr@et.vaan.osaa.fi] has joined #go-nuts
20:22 -!- Guest18155 [n=irc@209.17.191.58] has joined #go-nuts
20:22 -!- vhold [n=vhold@adsl-67-114-158-146.dsl.sntc01.pacbell.net] has joined
#go-nuts
20:22 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has joined #go-nuts
20:22 -!- vt100 [n=vt@cust125.179.113.38.dsl.g3telecom.net] has joined #go-nuts
20:22 -!- zum_ [n=jsykari@xdsl-83-150-88-4.nebulazone.fi] has joined #go-nuts
20:22 -!- eiro [n=marc@phear.org] has joined #go-nuts
20:23 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
20:23 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
20:27 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has joined #go-nuts
20:29 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
20:29 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
20:30 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has left #go-nuts
["Leaving"]
20:31 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Read
error: 54 (Connection reset by peer)]
20:31 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has joined
#go-nuts
20:31 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
20:35 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
20:35 -!- toadie [n=g@NTL208H101-123-104.nt.net] has joined #go-nuts
20:36 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
20:36 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
20:37 -!- ikke [n=ikke@unaffiliated/ikkebr] has joined #go-nuts
20:39 -!- tor5 [n=tor@mca0f36d0.tmodns.net] has quit []
20:40 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
20:40 -!- tor5 [n=tor@mca0f36d0.tmodns.net] has joined #go-nuts
20:40 -!- rbancroft [n=rumble@S01060014bf54b5eb.cg.shawcable.net] has quit [Read
error: 110 (Connection timed out)]
20:40 -!- rog [n=rog@92.28.217.99] has quit []
20:43 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Client Quit]
20:43 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit ["Bye
Bye"]
20:43 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
20:44 -!- tor5 [n=tor@mca0f36d0.tmodns.net] has quit [Read error: 104 (Connection
reset by peer)]
20:44 -!- tor5 [n=tor@m4a0f36d0.tmodns.net] has joined #go-nuts
20:47 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit []
20:50 -!- mertimor [n=mertimor@p578ED385.dip.t-dialin.net] has joined #go-nuts
20:52 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
decriptor, zz, akheron, mejja, aep, eek, drhodes, inittab, Venom_X, tux21b, (+202
more, use /NETSPLIT to show all of them)
20:54 -!- Netsplit over, joins: itorres, drhodes, exch, Zeffrin, soul9, mycroftiv,
Robdgreat, robot12, Fish-Work, eno (+202 more)
20:56 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit [SendQ
exceeded]
20:56 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Success]
20:57 -!- dzmario [i=d586abd8@gateway/web/freenode/x-orscdrtyekktlwvy] has joined
#go-nuts
20:57 -!- aho [n=nya@e180230193.adsl.alicedsl.de] has joined #go-nuts
20:58 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
20:58 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
20:59 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has quit
["Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/"]
20:59 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
20:59 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
21:01 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
21:01 -!- Metaphis [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Remote
closed the connection]
21:07 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."]
21:07 -!- ptolomy2 [n=chatzill@nat/google/x-gylxgyucsnsetmkm] has quit ["ChatZilla
0.9.85 [Firefox 3.5.5/20091102134505]"]
21:08 -!- dzmario [i=d586abd8@gateway/web/freenode/x-orscdrtyekktlwvy] has quit
["Page closed"]
21:12 < skelterjohn> anyone know what the issue is in the ML thread "Using
pointers to values in maps"?
http://groups.google.com/group/golang-nuts/browse_frm/thread/bb39a3e8a5336eaa
21:12 < skelterjohn> I can't figure it out.
21:13 < skelterjohn> nevermind
21:13 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has joined
#go-nuts
21:14 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit [SendQ
exceeded]
21:16 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
21:17 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [Read error:
110 (Connection timed out)]
21:17 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
21:17 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read
error: 110 (Connection timed out)]
21:25 -!- ako [n=nya@e180230193.adsl.alicedsl.de] has joined #go-nuts
21:27 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
Zarutian, Yappo__, aho, smooge, robot12, tokuhiro_______2
21:31 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
21:31 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
ShadowIce, atsampson, Null_, soul9, Guest18155, vhold, ikke, eiro, inittab, vt100,
(+13 more, use /NETSPLIT to show all of them)
21:31 -!- shardz [i=samuel@ilo.staticfree.info] has joined #go-nuts
21:31 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
21:31 -!- rajeshsr [n=rajeshsr@59.92.38.136] has quit ["Leaving"]
21:32 -!- Netsplit over, joins: aho, smooge, Zarutian, tokuhiro_______2, robot12,
Yappo__
21:32 -!- xerox [n=xerox@151.61.163.21] has joined #go-nuts
21:33 -!- [dmp] [n=dennis@static.251.110.40.188.clients.your-server.de] has joined
#go-nuts
21:34 -!- Netsplit over, joins: eiro
21:34 -!- mythz [n=mythz@5ac47b90.bb.sky.com] has joined #go-nuts
21:35 -!- halfdan [n=halfdan@p57A9753D.dip.t-dialin.net] has joined #go-nuts
21:35 -!- irc [n=irc@209.17.191.58] has joined #go-nuts
21:35 -!- Sungem [i=Sungem@114-45-233-102.dynamic.hinet.net] has quit [Client
Quit]
21:35 -!- gnuvince [n=vince@64.235.207.85] has joined #go-nuts
21:35 -!- atsampson [n=ats@94-193-50-45.zone7.bethere.co.uk] has joined #go-nuts
21:35 -!- inittab [n=dlbeer@ip-118-90-54-50.xdsl.xnet.co.nz] has joined #go-nuts
21:35 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
21:35 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
21:36 -!- Sungem [i=Sungem@114-45-233-102.dynamic.hinet.net] has joined #go-nuts
21:36 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
robot12, smooge, Yappo__, Zarutian, aho, tokuhiro_______2
21:37 -!- Netsplit over, joins: aho, smooge, Zarutian, tokuhiro_______2, robot12,
Yappo__
21:37 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has quit []
21:37 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
21:37 -!- jA_cOp_ [n=yakobu@cm-84.208.83.231.getinternet.no] has joined #go-nuts
21:37 -!- aho [n=nya@e180230193.adsl.alicedsl.de] has quit [Connection reset by
peer]
21:38 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts
21:38 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Remote closed
the connection]
21:40 <+iant> ah, we have a syslog package now
21:42 -!- tav [n=tav@78.145.25.137] has joined #go-nuts
21:43 -!- boscop [n=unknown@g227150166.adsl.alicedsl.de] has joined #go-nuts
21:43 < KirkMcDonald> I wonder if I should duplicate Python's "logging"
package for my next project...
21:43 -!- zum [n=jsykari@xdsl-83-150-88-4.nebulazone.fi] has joined #go-nuts
21:44 < anticw> iant: are their pending parser changes for gccgo wrt to
semicolons?
21:44 -!- Null_ [n=xxxx@216.40.38.232] has joined #go-nuts
21:44 -!- Venom_X_ [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
21:44 <+iant> anticw: I haven't written them yet, no
21:44 < KirkMcDonald> Having both 'log' and 'syslog' packages seems
redundant.
21:44 <+iant> I think syslog implements the Logger interface, it just sends
to syslog
21:45 < KirkMcDonald> Ah.
21:45 < dho> oh yeah, gccgo for freebsd
21:45 < dho> i keep forgetting about that.
21:47 -!- aho [n=nya@e180230193.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
21:49 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
decriptor, zz, akheron, exDM69, mejja, aep, eek, drhodes, Venom_X, tux21b, (+189
more, use /NETSPLIT to show all of them)
21:50 -!- dho_ [n=dho@onager.omniti.com] has joined #go-nuts
21:50 < dho_> i hate netsplits.
21:50 < JBeshir> Me too.
21:53 -!- KiNgMaR [n=ingmar@2001:41d0:2:7518:1:3:3:7] has quit ["ZNC -
http://znc.sourceforge.net"]
21:54 -!- geocalc [n=geocalc@lns-bzn-61-82-250-77-15.adsl.proxad.net] has joined
#go-nuts
21:54 -!- hoodow [n=hoodow@2001:41d0:1:f5e5:0:0:0:666] has quit [Remote closed the
connection]
21:55 -!- dho [n=dho@onager.omniti.com] has quit ["Reconnecting"]
21:56 -!- KiNgMaR [n=ingmar@2001:41d0:2:7518:1:3:3:7] has joined #go-nuts
21:57 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
21:57 -!- eulenspiegel [n=irssi@p579CAD34.dip.t-dialin.net] has joined #go-nuts
21:57 -!- Venom_X_ [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
21:57 -!- Null_ [n=xxxx@216.40.38.232] has joined #go-nuts
21:57 -!- boscop [n=unknown@g227150166.adsl.alicedsl.de] has joined #go-nuts
21:57 -!- tav [n=tav@78.145.25.137] has joined #go-nuts
21:57 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts
21:57 -!- jA_cOp_ [n=yakobu@cm-84.208.83.231.getinternet.no] has joined #go-nuts
21:57 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
21:57 -!- Yappo__ [n=yappo@221x243x122x124.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
21:57 -!- robot12 [n=root@host.89-154-138-78.kgts.ru] has joined #go-nuts
21:57 -!- tokuhiro_______2 [n=tokuhiro@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
21:57 -!- Zarutian [n=zarutian@194-144-84-110.du.xdsl.is] has joined #go-nuts
21:57 -!- smooge [n=smooge@ip68-2-22-182.ph.ph.cox.net] has joined #go-nuts
21:57 -!- sliceofpi [n=sliceofp@c-98-194-205-176.hsd1.tx.comcast.net] has joined
#go-nuts
21:57 -!- atsampson [n=ats@94-193-50-45.zone7.bethere.co.uk] has joined #go-nuts
21:57 -!- gnuvince [n=vince@64.235.207.85] has joined #go-nuts
21:57 -!- Guest87283 [n=irc@209.17.191.58] has joined #go-nuts
21:57 -!- halfdan [n=halfdan@p57A9753D.dip.t-dialin.net] has joined #go-nuts
21:57 -!- mythz [n=mythz@5ac47b90.bb.sky.com] has joined #go-nuts
21:57 -!- [dmp] [n=dennis@static.251.110.40.188.clients.your-server.de] has joined
#go-nuts
21:57 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
21:57 -!- shardz [i=samuel@ilo.staticfree.info] has joined #go-nuts
21:57 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
21:57 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
21:57 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
21:57 -!- tor5 [n=tor@m4a0f36d0.tmodns.net] has joined #go-nuts
21:57 -!- toadie [n=g@NTL208H101-123-104.nt.net] has joined #go-nuts
21:57 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has joined #go-nuts
21:57 -!- beneth` [n=beneth`@beneth.fr] has joined #go-nuts
21:57 -!- wollw [n=dshere@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts
21:57 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has joined #go-nuts
21:57 -!- ukl [n=ukl@f053121177.adsl.alicedsl.de] has joined #go-nuts
21:57 -!- borisc [n=borisc@borisc2.csbnet.se] has joined #go-nuts
21:57 -!- tsung [n=jon@112.104.53.151] has joined #go-nuts
21:57 -!- murodes1 [n=James@203-59-51-137.dyn.iinet.net.au] has joined #go-nuts
21:57 -!- niekie [i=quasselc@CAcert/Assurer/niekie] has joined #go-nuts
21:57 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
21:57 -!- syd [n=sydcogs@118.127.19.220] has joined #go-nuts
21:57 -!- codemac [n=codemac@archlinux/developer/codemac] has joined #go-nuts
21:57 -!- GeoBSD [n=geocalc@lns-bzn-61-82-250-77-15.adsl.proxad.net] has joined
#go-nuts
21:57 -!- zz [i=fusion@193.104.228.25] has joined #go-nuts
21:57 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
21:57 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
21:57 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
21:57 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
21:57 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
21:57 -!- AndrewBC [n=Andrew@97.93.242.12] has joined #go-nuts
21:57 -!- Rivorus [n=Rivorus@ool-457652d7.dyn.optonline.net] has joined #go-nuts
21:57 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
21:57 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
21:57 -!- crc [n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net] has joined #go-nuts
21:57 -!- itrekkie [n=itrekkie@ip72-200-111-111.tc.ph.cox.net] has joined #go-nuts
21:57 -!- ztzg [n=dash@dslb-084-057-006-196.pools.arcor-ip.net] has joined
#go-nuts
21:57 -!- iant [n=iant@nat/google/x-afabhridbcxcmmrp] has joined #go-nuts
21:57 -!- decriptor [n=decripto@137.65.133.23] has joined #go-nuts
21:57 -!- raichoo [n=raichoo@i577B9BC6.versanet.de] has joined #go-nuts
21:57 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
21:57 -!- aarapov [n=aarapov@r2ah201.net.upc.cz] has joined #go-nuts
21:57 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
21:57 -!- tabo [n=tabot@camelot.tabo.pe] has joined #go-nuts
21:57 -!- Alkavan [n=alkavan@87.68.247.236.adsl.012.net.il] has joined #go-nuts
21:57 -!- ajhager [n=ajhager@c-69-136-3-186.hsd1.in.comcast.net] has joined
#go-nuts
21:57 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
21:57 -!- kanru [n=kanru@61-228-148-113.dynamic.hinet.net] has joined #go-nuts
21:57 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
21:57 -!- wayneeseguin [n=wayneese@rrcs-72-45-208-165.nys.biz.rr.com] has joined
#go-nuts
21:57 -!- aep [n=aep@libqxt/developer/aep] has joined #go-nuts
21:57 -!- roto [n=roto@64.79.202.154] has joined #go-nuts
21:57 -!- bbb [n=aja@192.121.150.10] has joined #go-nuts
21:57 -!- plediii [n=plediii@nat-128-42-158-223.rice.edu] has joined #go-nuts
21:57 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
21:57 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has joined
#go-nuts
21:57 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has joined
#go-nuts
21:57 -!- goplexian [n=goplexia@d154-20-0-9.bchsia.telus.net] has joined #go-nuts
21:57 -!- droid001 [n=g1@p4FDC9995.dip.t-dialin.net] has joined #go-nuts
21:57 -!- q[mrw] [n=russd@willers.employees.org] has joined #go-nuts
21:57 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
21:57 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
21:57 -!- hooopy [i=hoopy@173-30-98-140.client.mchsi.com] has joined #go-nuts
21:57 -!- JSharpe2 [n=jamie@5ad50265.bb.sky.com] has joined #go-nuts
21:57 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts
21:57 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has joined #go-nuts
21:57 -!- rbohn [n=rbohn@192.206.100.4] has joined #go-nuts
21:57 -!- fenicks_ [n=christia@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
21:57 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
21:57 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
21:57 -!- franksalim [n=frank@adsl-76-221-202-115.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
21:57 -!- pwned [i=pwned@78.176.113.21] has joined #go-nuts
21:57 -!- eno [n=eno@nslu2-linux/eno] has joined #go-nuts
21:57 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined
#go-nuts
21:57 -!- analogue [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
21:57 -!- jdp [n=justin@ool-435238c0.dyn.optonline.net] has joined #go-nuts
21:57 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined
#go-nuts
21:57 -!- rhc [n=matt@qnan.org] has joined #go-nuts
21:57 -!- jlouis [i=jlouis@130.225.165.29] has joined #go-nuts
21:57 -!- KirkMcDonald [n=Kirk@pysoy/developer/KirkMcDonald] has joined #go-nuts
21:57 -!- Hong_MinHee [n=dahlia@211.239.163.54] has joined #go-nuts
21:57 -!- bsod2 [n=bsod@springbank.echomania.com] has joined #go-nuts
21:57 -!- itorres [n=itorres@gandi.bedynamic.net] has joined #go-nuts
21:57 -!- bakkdoor [n=bakkdoor@s15229144.onlinehome-server.info] has joined
#go-nuts
21:57 -!- ServerMode/#go-nuts [+v iant] by irc.freenode.net
21:57 -!- andern [n=NA@55.84-234-230.customer.lyse.net] has joined #go-nuts
21:57 -!- Peter` [n=peter@92.254.21.251] has joined #go-nuts
21:57 -!- h4xOr [n=prudhvi@aldebaran.surapaneni.in] has joined #go-nuts
21:57 -!- exitstate [n=xorl@xorl.xen.prgmr.com] has joined #go-nuts
21:57 -!- scoeri [n=jdekoste@prog.vub.ac.be] has joined #go-nuts
21:57 -!- m-takagi_ [n=m-takagi@linode.m-takagi.jp] has joined #go-nuts
21:57 -!- rthc_ [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
21:57 -!- rthc [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined #go-nuts
21:57 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has joined #go-nuts
21:57 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
21:57 -!- ct [n=ct@fsf/member/ct] has joined #go-nuts
21:57 -!- shawn [n=shawn@208-78-98-92.slicehost.net] has joined #go-nuts
21:57 -!- gnibbler [n=duckman@203-217-81-54.dyn.iinet.net.au] has joined #go-nuts
21:57 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has joined
#go-nuts
21:57 -!- sw4 [n=sw@193.126.212.28] has joined #go-nuts
21:57 -!- keeto [n=keeto@121.54.92.149] has joined #go-nuts
21:57 -!- nictuku [n=nnictuku@unaffiliated/nictuku] has joined #go-nuts
21:57 -!- tux21b [n=nnchrist@trujillo.srv.pocoo.org] has joined #go-nuts
21:57 -!- kimelto [n=kimelto@boulz.org] has joined #go-nuts
21:57 -!- hallsa_ [n=shane@miles.jfet.net] has joined #go-nuts
21:57 -!- ni| [n=james@c-24-34-220-147.hsd1.ma.comcast.net] has joined #go-nuts
21:57 -!- wiretapped [n=leif@pony.noisebridge.net] has joined #go-nuts
21:57 -!- homa_rano [n=erice@LAPDANCE.MIT.EDU] has joined #go-nuts
21:57 -!- kmc [n=keegan@207.237.163.75] has joined #go-nuts
21:57 -!- [Pete_27] [n=noname@115.64.1.61] has joined #go-nuts
21:57 -!- Robdgreat [i=rob@unaffiliated/robdgreat] has joined #go-nuts
21:57 -!- Rint_ [i=john@static-71-244-60-125.dllstx.fios.verizon.net] has joined
#go-nuts
21:57 -!- DJCapelis [n=djc@blender/coder/DJCapelis] has joined #go-nuts
21:57 -!- mpl [n=mpl@smgl.fr.eu.org] has joined #go-nuts
21:57 -!- tanamo [n=tanamo@125.252.70.230] has joined #go-nuts
21:57 -!- sahazel [n=sah@64.13.131.178] has joined #go-nuts
21:57 -!- KragenSitaker [n=kragen@panacea.canonical.org] has joined #go-nuts
21:57 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
21:57 -!- rup [i=Rupert@deathcoil.net] has joined #go-nuts
21:57 -!- tomaw_ [i=tomaw@freenode/staff/tomaw] has joined #go-nuts
21:57 -!- mrd` [n=matthew@shinobi.dempsky.org] has joined #go-nuts
21:57 -!- mrmg [n=mrmg@spc2-bmly4-0-0-cust248.asfd.cable.virginmedia.com] has
joined #go-nuts
21:57 -!- jessta [n=jessta@li7-205.members.linode.com] has joined #go-nuts
21:57 -!- Solver [n=robert@capella.opentrend.net] has joined #go-nuts
21:57 -!- impl [i=impl@atheme/member/impl] has joined #go-nuts
21:57 -!- dg [i=dgl@d.cx] has joined #go-nuts
21:57 -!- woremacx [n=woremacx@unaffiliated/woremacx] has joined #go-nuts
21:57 -!- nickjohnson [n=arachnid@coilette.notdot.net] has joined #go-nuts
21:57 -!- chrome [i=chrome@mars.stupendous.net] has joined #go-nuts
21:57 -!- idemal [n=idemal@penzance.fohost.net] has joined #go-nuts
21:57 -!- emilh_ [i=emil@Amanita.Update.UU.SE] has joined #go-nuts
21:57 -!- drhodes [n=none@209-20-72-61.slicehost.net] has joined #go-nuts
21:57 -!- kfx [n=kfx@location-b.madleet.net] has joined #go-nuts
21:57 -!- stesla [n=samuel@saffron.thoughtlocker.net] has joined #go-nuts
21:57 -!- sstangl [n=sean@BERLIN.RES.CMU.EDU] has joined #go-nuts
21:57 -!- lstoll [n=lstoll@randall.lstoll.net] has joined #go-nuts
21:57 -!- ukai [n=ukai@220.109.219.244] has joined #go-nuts
21:57 -!- akheron [n=akheron@lilja.asteriski.fi] has joined #go-nuts
21:57 -!- deufrai [n=deu@www.wardsback.org] has joined #go-nuts
21:57 -!- kevinwatt [i=kevin@59-125-147-75.HINET-IP.hinet.net] has joined #go-nuts
21:57 -!- talley [i=rs@CubeClub.hu] has joined #go-nuts
21:57 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
21:57 -!- vincent_ [n=vincent@li89-236.members.linode.com] has joined #go-nuts
21:57 -!- Ycros [n=quassel@gnaw.yi.org] has joined #go-nuts
21:57 -!- wm_eddie_ [n=wm_eddie@kanna.wm-eddie.info] has joined #go-nuts
21:57 -!- exDM69 [n=riku@entropy.fi] has joined #go-nuts
21:57 -!- bockmabe [n=B@miles.jfet.net] has joined #go-nuts
21:57 -!- chipdude [i=chip@feather.perl6.nl] has joined #go-nuts
21:57 -!- K6HX [n=markv@c-76-126-161-201.hsd1.ca.comcast.net] has joined #go-nuts
21:57 -!- zeroXten [n=zeroXten@0x10.co.uk] has joined #go-nuts
21:57 -!- taruti [i=taruti@aoi.yi.org] has joined #go-nuts
21:57 -!- trez [n=trez@c-89-233-232-78.cust.bredband2.com] has joined #go-nuts
21:57 -!- eek [n=eivind@213-155-151-233.customer.teliacarrier.com] has joined
#go-nuts
21:57 -!- djm [n=djm@paludis/slacker/djm] has joined #go-nuts
21:57 -!- svanlund [n=david@79.99.2.92] has joined #go-nuts
21:57 -!- erikd [n=aphistic@otome.novustorm.com] has joined #go-nuts
21:57 -!- vhost- [n=kyle@kyleterry.com] has joined #go-nuts
21:57 -!- nathanielk [n=quassel@frigga.summersault.com] has joined #go-nuts
21:57 -!- eharmon [n=eharmon@74.204.161.105] has joined #go-nuts
21:57 -!- ac [i=foobar@174-21-106-55.tukw.qwest.net] has joined #go-nuts
21:57 -!- skerner [n=skerner@74.202.225.33] has joined #go-nuts
21:57 -!- tgall_foo [n=tgall@gentoo/developer/dr-who] has joined #go-nuts
21:57 -!- mpurcell|afk [n=mpurcell@vpn.michaelpurcell.info] has joined #go-nuts
21:57 -!- jvogel [n=jonathan@friedpancakes.com] has joined #go-nuts
21:57 -!- highb [n=highb@shell.onid.oregonstate.edu] has joined #go-nuts
21:57 -!- Zeffrin [n=zeffrin@203.141.132.221.static.zoot.jp] has joined #go-nuts
21:57 -!- garbeam [n=arg@garbe.us] has joined #go-nuts
21:57 -!- mitsuhiko [n=mitsuhik@ubuntu/member/mitsuhiko] has joined #go-nuts
21:57 -!- msw [n=msw@66.192.95.199] has joined #go-nuts
21:57 -!- ozzloy [n=ozzloy@unaffiliated/ozzloy] has joined #go-nuts
21:57 -!- BlunderBuss [n=BlunderB@12.54.221.117] has joined #go-nuts
21:57 -!- TenOfTen [n=TenOfTen@c-fd25e555.04-18-73746f10.cust.bredbandsbolaget.se]
has joined #go-nuts
21:57 -!- dj_ryan [n=ryan@c-67-160-202-4.hsd1.ca.comcast.net] has joined #go-nuts
21:57 -!- whiteley [n=bart@nat/novell/x-mvjknuwlfwrszfbb] has joined #go-nuts
21:57 -!- Exstatica [i=Exstatic@freenode/staff/exstatica] has joined #go-nuts
21:57 -!- xid [n=xid@narc.oti.cz] has joined #go-nuts
21:57 -!- cyt_ [n=cyt@li57-21.members.linode.com] has joined #go-nuts
21:57 -!- _mjburgess [n=michael@m1.mjburgess.co.uk] has joined #go-nuts
21:57 -!- philips [n=brandon@opensuse/member/philips] has joined #go-nuts
21:57 -!- Altercation [n=Altercat@pdpc/supporter/active/altercation] has joined
#go-nuts
21:57 -!- clip9 [i=tj@12.81-166-62.customer.lyse.net] has joined #go-nuts
21:57 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined
#go-nuts
21:57 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has joined
#go-nuts
21:57 < KirkMcDonald> The default handler just writes to stderr, but it has
many others, including appending to a file, and the syslog.
21:57 <+iant> this channel gets a lot of netsplits
21:58 < KirkMcDonald> Freenode does, yes.
21:58 <+iant> KirkMcDonald: sounds like a generally good idea
21:58 < KirkMcDonald> Especially lately, for some reason.
21:58 < KirkMcDonald> I've used it extensively, in Python stuff.
21:58 < toadie> i've noticed that too
21:58 -!- boscop [n=unknown@g227150166.adsl.alicedsl.de] has quit ["leaving"]
21:58 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
21:58 -!- shawn_ [n=shawn@208-78-98-92.slicehost.net] has joined #go-nuts
21:58 -!- shawn [n=shawn@208-78-98-92.slicehost.net] has quit [Remote closed the
connection]
21:58 -!- exn_ [n=exn@195.49.206.202] has joined #go-nuts
21:58 -!- bsod2 [n=bsod@springbank.echomania.com] has quit [Read error: 104
(Connection reset by peer)]
21:58 -!- GeoBSD [n=geocalc@lns-bzn-61-82-250-77-15.adsl.proxad.net] has quit
[Broken pipe]
21:58 -!- aaront [n=aaront@d24-141-25-171.home.cgocable.net] has joined #go-nuts
21:58 -!- ct [n=ct@fsf/member/ct] has quit [Broken pipe]
21:58 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has quit
[Success]
21:58 -!- hoodow [n=hoodow@2001:41d0:1:f5e5:0:0:0:666] has joined #go-nuts
21:58 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Remote closed the connection]
21:58 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
21:58 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has joined
#go-nuts
21:58 -!- ct [n=ct@fsf/member/ct] has joined #go-nuts
21:58 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
21:58 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has joined #go-nuts
21:59 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has quit [Client Quit]
21:59 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Read
error: 110 (Connection timed out)]
22:00 -!- artery [n=artery@c-67-180-204-137.hsd1.ca.comcast.net] has joined
#go-nuts
22:01 -!- q[mrw] [n=russd@willers.employees.org] has quit [Remote closed the
connection]
22:01 < uriel> iant: the thing with this channel is that its got a ton of
people in it :)
22:01 < JBeshir> The thing with this channel is that it's on Freenode.
22:01 < JBeshir> :P
22:02 < KirkMcDonald> Freenode?
22:02 < KirkMcDonald> Never heard of it.
22:03 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
22:04 < skelterjohn> well, two problems.  netsplits occur (freenode's
fault), and netsplits spam the window into oblivion (ton of people).
22:05 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Killed by
ballard.freenode.net (Nick collision)]
22:05 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
22:05 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
22:05 -!- vhold [n=vhold@adsl-67-114-158-146.dsl.sntc01.pacbell.net] has joined
#go-nuts
22:05 -!- vt100 [n=vt@cust125.179.113.38.dsl.g3telecom.net] has joined #go-nuts
22:06 < KirkMcDonald> Not in irssi.
22:06 -!- halfdan [n=halfdan@p57A9753D.dip.t-dialin.net] has quit [Remote closed
the connection]
22:06 -!- jose [n=jose@84.121.87.203.dyn.user.ono.com] has joined #go-nuts
22:09 -!- codedread [i=180dd699@gateway/web/freenode/x-viramhxlhzqkbben] has quit
["Page closed"]
22:11 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Connection timed out]
22:11 -!- jose [n=jose@84.121.87.203.dyn.user.ono.com] has quit ["Saliendo"]
22:13 < skelterjohn> I have yet to figure out how to tell my client
(colloquy on os x) how to ignore join/leave messages
22:13 -!- JPascal [n=jpascal@78-106-125-191.broadband.corbina.ru] has joined
#go-nuts
22:14 < dho> KirkMcDonald: does on my irssi
22:14 < dho> KirkMcDonald: depends on how well it detects the netsplit
22:14 < skelterjohn> I think what my client should do is group any
sequential join/leave messages together onto one line that, if i want to, i can
expand
22:18 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit []
22:20 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
22:21 -!- droid001 [n=g1@p4FDC9995.dip.t-dialin.net] has quit [Success]
22:23 -!- droid001 [n=g1@p4FDCBFE3.dip.t-dialin.net] has joined #go-nuts
22:26 -!- Zaba [n=zaba@ip102.148.adsl.wplus.ru] has joined #go-nuts
22:26 -!- artery [n=artery@c-67-180-204-137.hsd1.ca.comcast.net] has quit
["trout"]
22:30 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has quit [Connection timed
out]
22:31 -!- exch [n=nuada@h144170.upc-h.chello.nl] has quit [Read error: 104
(Connection reset by peer)]
22:31 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
22:39 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
22:43 -!- meissna [n=dariball@p4FDC4165.dip.t-dialin.net] has joined #go-nuts
22:44 -!- meissna [n=dariball@p4FDC4165.dip.t-dialin.net] has left #go-nuts
["Leaving"]
22:45 -!- nwatkins [n=nwatkins@kyoto.soe.ucsc.edu] has joined #go-nuts
22:46 < nwatkins> I have got a map from int->list.List (i.e.  map[int]
list.List).  I'm having difficulties initializing the list elements of the map.
For example, mymap[3].Init();
22:47 -!- xerox_ [n=xerox@151.61.161.138] has joined #go-nuts
22:51 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has joined #go-nuts
22:51 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has quit [Client Quit]
22:53 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
22:53 -!- xerox [n=xerox@unaffiliated/xerox] has quit [Read error: 110 (Connection
timed out)]
22:54 < fluffle> nwatkins: i suspect the map valuse aren't autovivified for
you, e.g.  you need to do: mymap[3] = make(list.List); mymap[3].Init();
22:55 -!- Guest69659 [n=geocalc@lns-bzn-61-82-250-77-15.adsl.proxad.net] has quit
[Remote closed the connection]
22:56 < nwatkins> fluffle: that produces test.go:12: cannot make type
list.List
22:56 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
22:57 -!- ukl [n=ukl@f053121177.adsl.alicedsl.de] has quit ["bye"]
22:57 < nwatkins> http://pastebin.com/d6b43dc3d
22:57 < fluffle> oh
22:58 < fluffle> maybe i mean new()
22:58 < nwatkins> new will produce type *list.List
22:58 < fluffle> though that'll return a pointer rather than the actual List
22:59 < nwatkins> calling zr[3].Init() seems more natural.  The Init() call
takes type *list.List, however, it seems that it is forbidden to take the address
of a map element.
22:59 < dho> maps are supposed to be initialized with make, yes
22:59 < nwatkins> that map is already initialized.  the type stored in the
map is not initialized.
23:00 -!- bsod2 [n=bsod@springbank.echomania.com] has joined #go-nuts
23:00 -!- ikke [n=ikke@201-66-203-196.smace700.dsl.brasiltelecom.net.br] has
joined #go-nuts
23:00 -!- scoopr [i=scoopr@et.vaan.osaa.fi] has joined #go-nuts
23:00 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has joined #go-nuts
23:00 -!- Method [n=Method@nat-3-135.snu.edu] has joined #go-nuts
23:00 -!- harja [n=maharj@castor.utu.fi] has joined #go-nuts
23:00 -!- gorthaur [n=gorthaur@95.89.212.93] has joined #go-nuts
23:00 -!- yashi_ [n=chatzill@210.191.215.170] has joined #go-nuts
23:00 -!- Innominate [n=sirrobin@cpe-071-077-041-139.nc.res.rr.com] has joined
#go-nuts
23:02 -!- JPascal [n=jpascal@78-106-125-191.broadband.corbina.ru] has quit
["Leaving."]
23:02 -!- KillerX [n=anant@nat/mozilla/x-vatpzhwonrqvdhxi] has joined #go-nuts
23:05 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:05 < fluffle> nwatkins: i'm intrigued as to why you're storing map[int]
list.List rather than map[int] *list.List
23:06 < fluffle> if all of the list.List methods expect to work on the
pointer rather than the actual list itself
23:07 < nwatkins> fluffle: My original solution used *list.List +
new(list.List) and works fine.  However, that introduces a new level of memory
indirection.  Plus, the language doesn't _seem_ to disallow what I'm trying to do
23:07 -!- skelterjohn [n=jasmuth@c-76-124-22-4.hsd1.nj.comcast.net] has joined
#go-nuts
23:08 < fluffle> nwatkins: oh noes.  maybe that'll alllow the compiler to be
more clever about where it puts your actual list elements
23:08 < fluffle> if pointers were slow, people would have abandoned them as
a concept years ago
23:10 < nwatkins> Pointers are not slow, 100's of billions of dereferences
add up (for a total computation), and aren't you curious about the original
problem?
23:11 < fluffle> *cough* I must admit i've not looked at your pastebin post
:)
23:11 < nwatkins> Hehe
23:12 < nwatkins> No big deal.  My long running computation (> 500
billion) map look-ups runs a slower than C, and this is one culprit
23:13 < fluffle> wow, that's a lot of computation.  how much slower than C,
out of interest
23:13 < skelterjohn> can you repost the pastebin?  I just signed in.
23:14 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
23:14 < fluffle> nwatkins: looking at the source for container/list, all of
the methods expect you to be working with a pointer to a list.List, not the actual
object
23:14 < fluffle> nwatkins: i suspect you might have to implement your own
container object for it to work
23:15 < nwatkins> Mmm, good idea.
23:15 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
23:17 < skelterjohn> aha - that makes sense - maybe that's why the
zr[3].Init() stuff didn't work
23:19 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:22 -!- crc [n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net] has quit []
23:23 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Read error:
104 (Connection reset by peer)]
23:25 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
23:26 -!- g0bl1n [n=g0bl1n@a213-22-210-200.cpe.netcabo.pt] has joined #go-nuts
23:30 -!- carllerche_ [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
23:30 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit [Read
error: 60 (Operation timed out)]
23:31 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined
#go-nuts
23:35 -!- [[sroracle]] [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined
#go-nuts
23:36 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 110 (Connection timed out)]
23:37 -!- mertimor [n=mertimor@p578ED385.dip.t-dialin.net] has quit [Read error:
104 (Connection reset by peer)]
23:38 -!- Paradox924X [n=Paradox9@vaserv/irc/founder] has joined #go-nuts
23:41 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
23:41 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Read error:
104 (Connection reset by peer)]
23:43 < skelterjohn> is there a way to get command-line hg to remember my
login/password?
23:45 <+iant> skelterjohn: you can add an auth section to ~/.hgrc
23:46 <+iant> My .hgrc looks like this:
23:46 <+iant> [ui]
23:46 <+iant> username = Ian Lance Taylor <iant@golang.org>
23:46 <+iant> [auth]
23:46 <+iant> go.prefix = go.googlecode.com/
23:46 <+iant> go.username = iant@golang.org
23:46 <+iant> go.password = xxx
23:46 < skelterjohn> thanks much
23:46 < skelterjohn> having to keep looking up my googlecode pw was
irritating
23:47 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined
#go-nuts
23:50 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit []
23:52 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has quit
[Connection timed out]
23:52 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has joined #go-nuts
23:56 -!- tomestla1 [n=tom@AToulouse-151-1-22-8.w83-203.abo.wanadoo.fr] has joined
#go-nuts
23:58 -!- jA_cOp_ [n=yakobu@cm-84.208.83.231.getinternet.no] has quit ["Leaving"]
--- Log closed Sat Dec 12 00:00:32 2009