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

--- Log opened Tue Dec 08 00:00:30 2009
00:01 -!- dyf [n=ad@CPE001346f3d041-CM00122500995a.cpe.net.cable.rogers.com] has
quit [No route to host]
00:01 < plexdev> http://is.gd/5fp8R by [Russ Cox] in 5 subdirs of go/src/ --
runtime: introduce unsafe.New and unsafe.NewArray
00:01 -!- decriptor [n=decripto@137.65.133.2] has quit [Read error: 110
(Connection timed out)]
00:01 < plexdev> http://is.gd/5fp8S by [Russ Cox] in go/src/pkg/runtime/ --
runtime: don't touch pages of memory unnecessarily.
00:03 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
00:04 -!- aho [n=nya@f050192122.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
00:04 < JBeshir> Whoo!
00:04 < JBeshir> Go Russ.  :P
00:04 -!- crashR [n=crasher@codextreme.pck.nerim.net] has quit ["Leaving."]
00:05 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts
00:05 -!- mbarkhau1 [n=koloss@p54A7F1AA.dip.t-dialin.net] has joined #go-nuts
00:26 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[]
00:27 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
00:28 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has quit [Read error: 110
(Connection timed out)]
00:28 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has joined #go-nuts
00:32 -!- ejb [n=ejb@unaffiliated/ejb] has quit [Read error: 110 (Connection timed
out)]
00:35 -!- ejb [n=ejb@unaffiliated/ejb] has joined #go-nuts
00:36 -!- temoto [n=temoto@217.173.74.146] has quit ["WeeChat 0.3.1-dev"]
00:36 -!- Wiz126 [i=Wiz126@72.20.219.17] has quit [Connection timed out]
00:36 -!- Wiz126 [i=Wiz126@72.20.224.152] has joined #go-nuts
00:44 -!- eulenspiegel [n=irssi@p579CAE02.dip.t-dialin.net] has quit ["leaving"]
00:45 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has quit [Read error: 145
(Connection timed out)]
00:45 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has joined #go-nuts
00:47 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has quit []
00:48 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has quit
["Leaving."]
00:50 -!- Sungem [i=Sungem@118-160-175-214.dynamic.hinet.net] has joined #go-nuts
01:00 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has joined
#go-nuts
01:03 -!- hstimer [n=hans@70.90.170.37] has quit ["Leaving..."]
01:13 -!- [[sroracle]] [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined
#go-nuts
01:15 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has quit [Read error: 148
(No route to host)]
01:15 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has joined #go-nuts
01:16 -!- amuck_ [n=amuck_@rrcs-76-79-44-2.west.biz.rr.com] has quit []
01:22 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
60 (Operation timed out)]
01:23 -!- turutosiya [n=turutosi@219.106.251.65] has joined #go-nuts
01:25 -!- mbarkhau1 [n=koloss@p54A7F1AA.dip.t-dialin.net] has quit [Connection
timed out]
01:26 -!- bossx [n=boss@189.114.203.183.dynamic.adsl.gvt.net.br] has joined
#go-nuts
01:29 -!- mbarkhau [n=koloss@p54A7F15D.dip.t-dialin.net] has joined #go-nuts
01:30 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
01:36 -!- dstien [n=daniel@89.236.202.84.customer.cdi.no] has quit [Read error:
113 (No route to host)]
01:43 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com
:: NoNameScript 4.21 :: www.esnation.com )"]
01:44 -!- eduardoboss [n=boss@189.114.203.183.dynamic.adsl.gvt.net.br] has quit
[Read error: 113 (No route to host)]
01:49 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined
#go-nuts
01:59 -!- skammer [n=skammer@79.139.142.75] has quit [Remote closed the
connection]
02:02 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
02:02 -!- mode/#go-nuts [+v kaib] by ChanServ
02:02 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit
["Leaving"]
02:03 -!- triplez [n=triplez@bb116-14-67-235.singnet.com.sg] has joined #go-nuts
02:05 -!- theGussi [n=gussi@85.197.213.11] has joined #go-nuts
02:05 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
02:06 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
02:06 -!- glitt [n=toma@87.237.205.17] has joined #go-nuts
02:07 -!- glitt [n=toma@87.237.205.17] has quit [Client Quit]
02:07 -!- Gussi [n=gussi@gussi.is] has quit [Read error: 104 (Connection reset by
peer)]
02:12 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit []
02:12 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit [Read error:
104 (Connection reset by peer)]
02:14 -!- brunov [n=bruno@190.191.110.64] has quit [Read error: 110 (Connection
timed out)]
02:19 -!- skammer [n=skammer@79.139.142.75] has quit [Remote closed the
connection]
02:27 -!- turutosiya [n=turutosi@219.106.251.65] has quit [Read error: 110
(Connection timed out)]
02:31 -!- lambo4jos [n=chatzill@c-76-126-250-10.hsd1.ca.comcast.net] has joined
#go-nuts
02:37 -!- mbarkhau [n=koloss@p54A7F15D.dip.t-dialin.net] has quit ["Leaving."]
02:53 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has joined
#go-nuts
02:54 -!- hiromtz [n=hiromtz@h047.p027.iij4u.or.jp] has joined #go-nuts
02:59 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[]
02:59 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit [Read
error: 54 (Connection reset by peer)]
03:00 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined
#go-nuts
03:01 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote closed the connection]
03:02 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
03:04 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit
["to the batcave?"]
03:06 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit []
03:10 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Client Quit]
03:12 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
03:13 < nictuku> ah, now I understand how to implement an interface using a
simple type.  I got confused by the fact that you don't reference the interface
name anywhere.  Only need to add its required methods.
03:15 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
03:18 -!- ned [n=ned@c-76-19-208-96.hsd1.ma.comcast.net] has quit [Read error: 104
(Connection reset by peer)]
03:24 -!- bossx [n=boss@189.114.203.183.dynamic.adsl.gvt.net.br] has quit []
03:29 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit
["<sresp.co.cc>"]
03:34 < nf> /c
03:34 < nf> (sorry)
03:34 -!- jhawk28 [n=jhawk28@209.60.241.98] has joined #go-nuts
03:38 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 60
(Operation timed out)]
03:39 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has joined
#go-nuts
03:40 -!- codedread [i=180dd699@gateway/web/freenode/x-ppjrqashxdlykpws] has quit
["Page closed"]
03:41 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has quit
[Client Quit]
03:47 -!- Delial [n=BigFootB@pool-173-71-5-22.dllstx.fios.verizon.net] has joined
#go-nuts
03:47 -!- Null-A [n=jason@c-76-21-4-0.hsd1.ca.comcast.net] has joined #go-nuts
03:47 -!- Null-A [n=jason@c-76-21-4-0.hsd1.ca.comcast.net] has left #go-nuts []
03:49 < plexdev> http://is.gd/5fyA4 by [Russ Cox] in go/test/bench/ --
test/bench: faster fasta (mostly due to bufio fix)
03:50 -!- jinho [n=jinho326@ool-18be41c6.dyn.optonline.net] has joined #go-nuts
03:51 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has quit
["Leaving."]
03:54 -!- Compaq_Owner [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net]
has joined #go-nuts
03:56 -!- Compaq_Owner [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net]
has left #go-nuts []
03:56 -!- jinho [n=jinho326@ool-18be41c6.dyn.optonline.net] has quit [Read error:
104 (Connection reset by peer)]
03:58 -!- slashus2_ [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined
#go-nuts
03:59 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts
04:02 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has quit [Read
error: 145 (Connection timed out)]
04:07 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
04:07 -!- mode/#go-nuts [+v kaib] by ChanServ
04:09 -!- tizz [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
04:12 -!- tizz [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net] has left
#go-nuts []
04:12 -!- Amaranth [n=travis@97-114-228-252.sxcy.qwest.net] has joined #go-nuts
04:17 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
04:19 -!- turutosiya [n=turutosi@219.106.251.65] has joined #go-nuts
04:19 -!- jhawk28 [n=jhawk28@209.60.241.98] has quit [Remote closed the
connection]
04:23 -!- triplez [n=triplez@bb116-14-67-235.singnet.com.sg] has quit []
04:24 -!- ned [n=ned@c-76-19-208-96.hsd1.ma.comcast.net] has joined #go-nuts
04:27 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has joined
#go-nuts
04:27 -!- tizz [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
04:29 -!- triplez [n=triplez@bb116-14-67-235.singnet.com.sg] has joined #go-nuts
04:31 -!- tizz [n=chatzill@adsl-76-202-193-109.dsl.pltn13.sbcglobal.net] has left
#go-nuts []
04:32 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit ["Leaving."]
04:36 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
04:36 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Remote closed
the connection]
04:36 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
04:37 -!- turutosiya [n=turutosi@219.106.251.65] has quit [Read error: 145
(Connection timed out)]
04:39 -!- Sungem [i=Sungem@118-160-175-214.dynamic.hinet.net] has quit [Read
error: 110 (Connection timed out)]
04:51 -!- rhelmer [n=rhelmer@adsl-69-107-52-39.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:52 < robot12> morning
04:54 -!- hiromtz [n=hiromtz@h047.p027.iij4u.or.jp] has quit [Read error: 110
(Connection timed out)]
04:54 -!- JSharpe2 [n=jamie@5ad93964.bb.sky.com] has quit [Connection timed out]
04:54 -!- JSharpe2 [n=jamie@5ad93970.bb.sky.com] has joined #go-nuts
04:56 -!- halfdan_ [n=halfdan@p57A94D57.dip.t-dialin.net] has joined #go-nuts
05:00 -!- phillipsm [n=mattscom@173-23-63-244.client.mchsi.com] has joined
#go-nuts
05:00 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
05:04 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has joined
#go-nuts
05:08 -!- itrekkie [n=itrekkie@ip72-200-111-111.tc.ph.cox.net] has quit []
05:09 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
05:09 < djanderson> Hi, I'm getting a strange error from 8l: mainstart:
undefined: main��init
05:09 -!- halfdan [n=halfdan@p57A95ECE.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
05:10 < djanderson> I can't find mention of it on google...here's the code:
http://dpaste.com/130621/
05:10 < djanderson> very small, any hints would be appreciated
05:11 < uriel> gnu coreutils?  *yuck*
05:12 < djanderson> just something simple for practice...  that's besides
the point
05:12 <+iant> djanderson: If that is your main function, you need it to be
in package main, not package dirname
05:12 < uriel> package should be main
05:12 < uriel> bleh, iant beat me
05:12 * uriel got distracted thinking about gnu coreutils ;P
05:12 < djanderson> heh...  OK thanks let me give that a try
05:13 < djanderson> ah, that was a stupid mistake...  thanks iant and uriel
05:13 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has joined #go-nuts
05:13 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has quit
["Leaving."]
05:15 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["Computer has gone to sleep"]
05:15 -!- droid0011 [n=g1@p4FDCAC71.dip.t-dialin.net] has joined #go-nuts
05:16 -!- droid001 [n=g1@p4FDC97FC.dip.t-dialin.net] has quit [Read error: 60
(Operation timed out)]
05:16 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has quit ["Bye!"]
05:24 -!- lambo4jos [n=chatzill@c-76-126-250-10.hsd1.ca.comcast.net] has quit
["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"]
05:26 < jdp> is there any equivlant to rewind() for any of the buffered i/o
in go
05:30 -!- rhelmer [n=rhelmer@adsl-69-107-52-39.dsl.pltn13.pacbell.net] has quit []
05:31 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
05:32 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Client Quit]
05:32 -!- runlvl [i=x41@faeroes.freeshell.org] has joined #go-nuts
05:32 < runlvl> hdC1p
05:32 < runlvl> hello
05:33 < x41> =)
05:36 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
05:39 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has joined
#go-nuts
05:42 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
05:44 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error:
113 (No route to host)]
05:47 < jdp> also why wont import find files in the same directory
05:47 < jdp> even when i do import "./packagename"
05:47 < skelterjohn> then something is going weird
05:47 -!- phillipsm [n=mattscom@173-23-63-244.client.mchsi.com] has quit
["ChatZilla 0.9.85 [Firefox 3.5.5/20091109134913]"]
05:47 < skelterjohn> i've been able to do that with no problem
05:48 < skelterjohn> for instance, what is the package name and what is the
actual file name sitting in the directory?
05:48 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has joined #go-nuts
05:48 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has left #go-nuts []
05:48 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has joined #go-nuts
05:48 < jdp> parser.go, package name package
05:48 < jdp> import statement import "./parser"
05:48 < jdp> err package name parser
05:49 < skelterjohn> ah, i see
05:49 < skelterjohn> you need to compile the package separately first, i
think
05:49 < skelterjohn> there may be ways around this, but "6g parser.go"
should create parser.6
05:49 < skelterjohn> if that file is available, i think import "./parser"
should work
05:49 < jdp> aha
05:49 < jdp> thank
05:52 < Amaranth> you can just pass all your files to 6g at the same time
too
05:52 < Amaranth> jdp, skelterjohn: ^
05:52 < jdp> yeah the problem was i forgot to put parser.go in the makefile
haha
05:52 < skelterjohn> that'll do it too
05:53 < skelterjohn> wasn't sure if separate packages needed to be compiled
separately
05:53 -!- Delial [n=BigFootB@pool-173-71-5-22.dllstx.fios.verizon.net] has quit
["Leaving"]
05:54 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
05:59 -!- decriptor [n=decripto@67.137.29.22] has joined #go-nuts
06:01 < jdp> hmm including make.cmd isnt what i want from goroot
06:01 < jdp> i know the style is to include two makefiles, which one is the
second one?
06:01 < jdp> or do i not put packages in $(GOFILES), they go in a separate
variable?
06:02 < jdp> http://www.gopaste.net/?id=1543
06:02 < jdp> thats what the makefile looks like now, but its putting
everything into _go_.8
06:02 -!- x41 [i=x41@faeroes.freeshell.org] has quit ["Eject!  Eject!  Eject!"]
06:06 < plexdev> http://is.gd/5fEs2 by [Russ Cox] in 2 subdirs of
go/src/cmd/ -- 6l, 8l: make string buffer big enough for 8 chars (and then some)
06:06 < skelterjohn> That makefile is for compiling packages
06:07 < jdp> i thought make.pkg was for compiling packages?
06:07 < skelterjohn> oh
06:07 < skelterjohn> misread
06:08 -!- zerofluid [n=zeroflui@ip72-208-216-68.ph.ph.cox.net] has joined #go-nuts
06:08 < skelterjohn> it's putting things into _go_.8, and then linking it to
goforth right?
06:08 < jdp> yeah
06:08 < skelterjohn> what do you expect to happen?
06:08 < jdp> i want everything to be put into <filename>.8
06:08 < jdp> and then link all the .8s into an executable
06:09 < skelterjohn> well, for that i think you'd need to write your own
makefile
06:09 < skelterjohn> why do you want things to be in their own .8s?
06:10 < jdp> so i can use import to import files in the same directory lol
06:10 < jdp> otherwise it doesnt work
06:10 < jdp> ill just go back to my handwritten one
06:10 < skelterjohn> i see
06:11 < skelterjohn> i think two makefiles is the way to do it, probably,
unless you make your own
06:13 < jdp> i got one that works
06:15 < jdp> http://www.gopaste.org/view/3E517
06:15 < jdp> i guess this is just the way to do it
06:15 < jdp> i was just assuming there was a more "go" way to do it
06:15 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit
["Leaving"]
06:17 < skelterjohn> I am not a fan of make.
06:17 < skelterjohn> But nor am I the person to create a replacement.  And
so I complain.
06:18 < Gracenotes> make is pretty good if you know that all of the
dependencies are satisfied.  I think.
06:19 < jdp> is there a go based alternative yet though?
06:19 < jdp> i guess i could install plan9port and use mk
06:20 < skelterjohn> I saw some activity on go-nuts about go code to extract
dependency information from objects.  or source.  or something.
06:21 < skelterjohn> that mailing list is being wonky for me right now...the
first two threads aren't behaving.  the first one (goroutine question) I can only
see the first post, despite having replied
06:21 < skelterjohn> the second one (go for) i can't see the last post -
when I go to the 2nd page of posts it tells me the thread is empty
06:21 < skelterjohn> irritating
06:22 -!- spook[] [n=RevSpook@173-20-203-218.client.mchsi.com] has joined #go-nuts
06:23 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
06:29 -!- ejb [n=ejb@unaffiliated/ejb] has quit [Read error: 110 (Connection timed
out)]
06:32 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
06:33 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has quit []
06:33 -!- spook327 [n=RevSpook@173-20-203-218.client.mchsi.com] has quit [Read
error: 110 (Connection timed out)]
06:38 -!- turutosiya [n=turutosi@219.106.251.65] has joined #go-nuts
06:45 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
06:46 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit []
06:52 -!- pwned [i=pwned@78.176.112.199] has quit [Nick collision from services.]
06:52 -!- pwned_ [i=pwned@78.176.119.147] has joined #go-nuts
06:53 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined
#go-nuts
06:56 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:00 -!- zerofluid [n=zeroflui@ip72-208-216-68.ph.ph.cox.net] has quit ["This
computer has gone to sleep"]
07:07 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
07:08 -!- rog [n=rog@92.28.217.99] has joined #go-nuts
07:08 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
07:08 -!- decriptor [n=decripto@67.137.29.22] has quit [Read error: 110
(Connection timed out)]
07:10 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined
#go-nuts
07:12 -!- CMPITG [i=inexiste@113.22.123.191] has joined #go-nuts
07:13 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has quit [Remote
closed the connection]
07:21 < jdp> is there any way to use arrays inside a const block?
07:22 -!- xuser [n=xuser@unaffiliated/xuser] has joined #go-nuts
07:26 < drhodes> skerner: ziyu4huang made this ->
http://moogle-store.googlecode.com/ , for making projects without needing a
Makefile
07:26 < drhodes> oops, skelterjohn ^^^ but he left.
07:28 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Connection
timed out]
07:29 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
07:33 -!- teedex [n=teedex@204.14.155.161] has quit [Remote closed the connection]
07:33 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit
["Rockin’ music will set you free."]
07:34 -!- KragenSitaker [n=kragen@panacea.canonical.org] has quit [Read error: 60
(Operation timed out)]
07:38 -!- JBeshir_ [n=namegduf@138-38-226-61.resnet.bath.ac.uk] has joined
#go-nuts
07:40 -!- rhelmer [n=rhelmer@adsl-69-107-52-39.dsl.pltn13.pacbell.net] has joined
#go-nuts
07:41 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has quit []
07:43 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
07:44 -!- Fl1pFl0p [n=Fl1pFl0p@unaffiliated/fl1pfl0p] has quit ["meow"]
07:44 -!- aarapov [n=aarapov@nat/redhat/x-xaycfhansfrphrqf] has joined #go-nuts
07:46 -!- KragenSitaker [n=kragen@panacea.canonical.org] has joined #go-nuts
07:56 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Success]
07:57 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
08:00 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
08:02 -!- vhold [n=vhold@adsl-67-114-158-146.dsl.sntc01.pacbell.net] has joined
#go-nuts
08:02 -!- rhelmer [n=rhelmer@adsl-69-107-52-39.dsl.pltn13.pacbell.net] has quit []
08:02 -!- JBeshir [n=namegduf@138-38-226-61.resnet.bath.ac.uk] has quit [Read
error: 110 (Connection timed out)]
08:14 -!- tsung [n=jon@112.104.53.151] has joined #go-nuts
08:15 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Success]
08:15 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has quit
["Leaving."]
08:16 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
08:21 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Remote closed the connection]
08:21 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
08:27 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has quit
["Leaving..."]
08:29 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit []
08:35 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Remote closed the connection]
08:42 -!- zz [i=fusion@193.104.228.25] has quit ["SEXYTIME OVER"]
08:44 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has joined #go-nuts
08:44 -!- KillerX [n=anant@145.116.234.40] has joined #go-nuts
08:46 -!- zz [i=fusion@193.104.228.25] has joined #go-nuts
08:51 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Connection
timed out]
08:51 -!- jdp [n=justin@ool-435238c0.dyn.optonline.net] has quit [Read error: 110
(Connection timed out)]
08:51 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
08:56 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
08:56 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has joined #go-nuts
09:04 -!- jdp [n=justin@ool-435238c0.dyn.optonline.net] has joined #go-nuts
09:05 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
09:10 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined
#go-nuts
09:12 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has quit
["Leaving..."]
09:15 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
09:15 -!- ShadowIce` [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:19 -!- halfdan_ [n=halfdan@p57A94D57.dip.t-dialin.net] has quit [Read error:
104 (Connection reset by peer)]
09:19 -!- halfdan [n=halfdan@p57A94D57.dip.t-dialin.net] has joined #go-nuts
09:22 -!- General13372 [n=support@71.84.247.187] has quit [Connection timed out]
09:23 < rog> hey, does anyone know if it's possible to create an array from
a slice?  i.e.  if i've got x := []int{1,2,3,4}; and i want to create y of type
[4]int pointing to the same underlying data?
09:27 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
09:31 -!- turutosiya [n=turutosi@219.106.251.65] has quit [Read error: 110
(Connection timed out)]
09:31 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
09:32 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
09:32 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
09:32 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
09:33 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit [Read error:
110 (Connection timed out)]
09:38 < jessta> rog: I imagine you'd have to copy it
09:39 < rog> useful if you didn't though.  (and maybe feasible too)
09:39 < jessta> a slice doesn't know where it is pointing to in an array
09:40 < rog> jessta: why does it matter?
09:41 < rog> an array is only a pointer
09:41 < jessta> nah, an array is an array
09:41 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
09:41 < rog> but you can make an array into a slice without copying it
09:41 < rog> why not the other way around?
09:42 < jessta> a slice is a pointer
09:42 < jessta> an array is a value type
09:42 < rog> oh, sorry, i actually meant "i want to create y of type *[4]
int"
09:43 < rog> which is also a pointer
09:43 < jessta> why do you want a pointer to an array that isn't a slice?
09:44 < rog> because then you can do lookups into it without needing to
range-check
09:44 < rog> (as long as you're using a constant expr as the index)
09:44 < jessta> sounds..unsafe
09:44 < rog> it's not unsafe at all
09:45 < rog> the range check is done all at once when you take the initial
slice
09:46 < rog> here's an example of the kind of code it could speed up:
http://codereview.appspot.com/164056/patch/2002/2006
09:46 < rog> note rob's comment
09:48 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
09:50 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
09:54 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined
#go-nuts
09:55 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 110
(Connection timed out)]
09:55 < rog> do you see what i mean now?
09:56 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
09:57 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-174-175.adsl.proxad.net] has joined
#go-nuts
09:57 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
09:58 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has quit
[Connection timed out]
10:02 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has joined
#go-nuts
10:06 -!- snearch [n=olaf@g225052076.adsl.alicedsl.de] has joined #go-nuts
10:11 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Connection timed
out]
10:17 < jessta> rog: I see what you mean, but I doubt it's doable
10:17 < rog> why not?  i don't think it requires any runtime support at all
10:18 < jessta> rog: slicing is runtime
10:18 -!- dragonball_ [n=dragonba@unaffiliated/dragonball] has joined #go-nuts
10:19 < rog> yes, but if you verify at runtime that the slice is big enough
(which you do by taking a slice of a given size) then you know your array is big
enough.  it's just like losing the len and cap fields from the slice.
10:19 < rog> (the len field becomes implicit)
10:20 < jessta> you're casting between different types at runtime
10:20 < jessta> anyway, dinner time
10:21 < rog> that's fine - just like casting from array to slice (which is
fine)
10:29 -!- fenicks [n=christia@log77-4-82-246-228-78.fbx.proxad.net] has quit [Read
error: 104 (Connection reset by peer)]
10:31 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has quit
["Leaving."]
10:32 -!- triplez [n=triplez@bb116-14-67-235.singnet.com.sg] has quit []
10:33 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has quit ["Nettalk6 -
www.ntalk.de"]
10:33 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
10:35 -!- JPascal [n=jpascal@195.239.8.22] has joined #go-nuts
10:35 < JPascal> Hello all!
10:35 < JPascal> I have a question.
10:36 < JPascal> How I can do in JSON syntax in package template?  {.section
StoreTypeSelected=Value}
10:36 < JPascal> I took error: name not found: StoreTypeSelected=Value
10:38 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Read
error: 110 (Connection timed out)]
10:41 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
10:41 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
10:44 < jessta> rog: the question is not whether you know, the question is
whether the compiler knows
10:46 < jessta> rog: does the compiler know at compile time what size this
slice is?  can it?
10:46 < rog> yup, if you restrict the slice to constant-expression indices
10:47 < rog> i.e.  the compiler can statically know that the size of x[3:7]
is 4
10:47 < rog> because both 3 and 7 are constant expressions
10:47 < jessta> yeah, it's possible, but does it?
10:47 < rog> not currently, but i don't think it would be too hard to teach
it
10:48 < jessta> does it know that 3 and 7 are valid indices?
10:48 < jessta> at compile time
10:49 < rog> no.  but if they aren't then the slice will fail (and the
program will crash).  so it knows that if the slice has succeeded that it has the
given size.
10:49 < rog> just like the n.(T) notation
10:50 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
10:52 -!- dragonball_ [n=dragonba@unaffiliated/dragonball] has quit ["Leaving"]
10:54 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
10:55 -!- KillerX [n=anant@145-116-234-40.uilenstede.casema.nl] has joined
#go-nuts
10:56 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Remote closed the
connection]
10:59 < rog> actually, that makes me think of a possibility for a syntax
which makes it more obvious: a.[3:7] could take the slice and return a pointer to
an array type.
11:01 < jessta> actually, what does an array data structure look like in go?
11:02 < jessta> it contains the size yeah?
11:02 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
11:05 < jessta> I guess it doesn't
11:07 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
11:08 < jessta> rog: if you had an array that was part of the array backing
a slice and you sliced that array
11:10 < jessta> actually, ignore that
11:11 < JPascal> How I cat compare two values in template using package
"template"?
11:16 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: scm,
zz, freespace, Yappo_, JoNaZ, nsz, eek, hhg_, drhodes, vegai, (+242 more, use
/NETSPLIT to show all of them)
11:18 -!- Netsplit over, joins: itorres, soul9, mycroftiv, jessta, shardz, jdp,
yiyus, garbeam, vt3, Robdgreat (+242 more)
11:20 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
11:21 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
11:48 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
11:51 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
11:54 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: mjard,
Null_, evilhackerdude, Innominate, drhodes, ztzg__, chaynie, ShadowIce`, exch_,
KiNgMaR, (+281 more, use /NETSPLIT to show all of them)
11:57 -!- Netsplit over, joins: harja, werdan7, JSharpe2, p0g0__
11:57 -!- tor7 [n=tor@213.113.122.152] has joined #go-nuts
11:57 -!- Netsplit over, joins: AndrewBC, drry, ShadowIce`, GeoBSD, melba, skammer
11:57 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
11:57 -!- Netsplit over, joins: rndbot, eno, rog, jamuraa, rbancroft, inittab,
sw4, keeto, niekie, nictuku (+17 more)
11:58 -!- Netsplit over, joins: soul9, jdp, yiyus, stalled, vcgomes, nsz,
kuroneko, tsung, JPascal, Fraeon (+50 more)
11:58 -!- itorres [n=itorres@gandi.bedynamic.net] has joined #go-nuts
11:59 -!- Netsplit over, joins: mycroftiv, jessta, shardz, garbeam, vt3,
Robdgreat, kfx, mpl, ivan`, Fish-Work (+182 more)
11:59 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit []
11:59 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined
#go-nuts
11:59 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
11:59 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has quit [SendQ
exceeded]
12:00 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
12:00 -!- werdan7 [i=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
12:01 -!- triplez [n=triplez@116.15.84.166] has joined #go-nuts
12:02 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
12:02 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined
#go-nuts
12:03 -!- leoncamel [n=leoncame@58-3-168-18.ppp.bbiq.jp] has quit ["leaving"]
12:04 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: JoNaZ,
scm, zz, Yappo_, exDM69, nsz, eek, freespace, akheron, hhg_, (+243 more, use
/NETSPLIT to show all of them)
12:04 -!- skammer [n=skammer@79.139.142.75] has quit [SendQ exceeded]
12:06 -!- Netsplit over, joins: stalled, tsung, triplez, Spaghettini, JPascal,
Fraeon, afurlan, snearch, lux`, Cyanure (+19 more)
12:06 -!- exch_ [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
12:06 -!- Netsplit over, joins: rrr, beneth`_, Raziel2p, quag, __ed, jnwhiteh,
vcgomes, bluszcz, madmoose, TheDracle (+9 more)
12:06 -!- soul9 [n=none@unaffiliated/johnnybuoy] has joined #go-nuts
12:06 -!- Netsplit over, joins: nsz, strlen, anticw, cpach, Norgg, Xavier, mjard,
dpb, kuroneko, viirya
12:06 -!- yiyus [i=12427124@je.je.je] has joined #go-nuts
12:06 -!- Netsplit over, joins: bengl
12:06 -!- itorres [n=itorres@gandi.bedynamic.net] has joined #go-nuts
12:06 -!- Netsplit over, joins: Bowel, reiko, e1f, bjorn`, spikebike, kve, zidoh,
daed, albino, Axman6 (+6 more)
12:06 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
12:06 -!- Netsplit over, joins: shawn, rd1, Ycros, jepler, pvandusen, murodese,
Associat0r, sahazel, jlouis, exitstate (+4 more)
12:06 -!- robot12 [n=root@inferno.kgts.ru] has joined #go-nuts
12:06 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
12:06 -!- Netsplit over, joins: mpl, BMeph, tanamo, amuck, rthc_, dju, Innominate,
sliceofp1, bockmabe, hallsa (+12 more)
12:06 -!- danderson [n=dave@atlas.natulte.net] has joined #go-nuts
12:06 -!- reppie [i=refugee@elvis.mu.org] has joined #go-nuts
12:06 -!- Netsplit over, joins: blabla, JoNaZ, gl, plux, korfuri, Jerub,
monteslu_, paulproteus, freespace, laprice (+11 more)
12:06 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has joined #go-nuts
12:06 -!- Netsplit over, joins: hhg_, Demp, senneth, atsampson, RooTer, KiNgMaR,
Boggy-B, deufrai, akheron, ukai (+2 more)
12:06 -!- ServerMode/#go-nuts [+v danderson] by irc.freenode.net
12:06 -!- Netsplit over, joins: stesla, kfx
12:06 -!- drhodes [n=none@209-20-72-61.slicehost.net] has joined #go-nuts
12:06 -!- Netsplit over, joins: shardz, jessta, nickjohnson, m-takagi_, emilh_,
idemal, tabo, chrome, woremacx, Null_ (+5 more)
12:06 -!- Robdgreat [i=rob@unaffiliated/robdgreat] has joined #go-nuts
12:06 -!- Netsplit over, joins: ivan`, bthomson, SRabbelier, svanlund, Rint_,
roto, lazzurs, bsod2, wiretapped, ct (+53 more)
12:06 -!- Zeffrin [n=zeffrin@203.141.132.221.static.zoot.jp] has joined #go-nuts
12:06 -!- Netsplit over, joins: garbeam, vegai, mitsuhiko, msw, poe, ozzloy, dho,
BlunderBuss, TenOfTen, dj_ryan (+6 more)
12:07 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
12:07 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
12:07 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
12:07 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
12:08 -!- Adys [n=Adys@athedsl-357634.home.otenet.gr] has joined #go-nuts
12:08 -!- stalled [n=411@95.24.74.6] has joined #go-nuts
12:08 -!- Innominate [n=sirrobin@cpe-071-077-041-139.nc.res.rr.com] has quit [Read
error: 113 (No route to host)]
12:10 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: scm,
zz, JoNaZ, freespace, Yappo_, nsz, eek, akheron, hhg_, drhodes, (+243 more, use
/NETSPLIT to show all of them)
12:11 -!- Netsplit over, joins: itorres, soul9, mycroftiv, jessta, shardz, jdp,
yiyus, garbeam, vt3, Robdgreat (+243 more)
12:13 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
12:13 -!- BMeph [n=black_me@65.103.151.24] has quit [Connection timed out]
12:13 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: mjard,
Null_, evilhackerdude, drhodes, exch_, ztzg__, chaynie, ShadowIce`, KiNgMaR,
jamuraa, (+282 more, use /NETSPLIT to show all of them)
12:20 -!- Netsplit over, joins: stalled, harja, JSharpe2, p0g0__, tor7, werdan7,
ziyu4huang
12:20 -!- Innominate [n=sirrobin@cpe-071-077-041-139.nc.res.rr.com] has joined
#go-nuts
12:20 -!- Netsplit over, joins: drhodes, rndbot, exch_, Gracenotes, Zeffrin,
+danderson, reppie, shardz, kfx, jdp (+274 more)
12:21 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
12:28 -!- Ortzinator [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
12:30 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
Yappo_, mikejs, maruel, Boggy-B, atsampson, laprice, facemelter, +danderson,
monteslu_, mycroftiv, (+28 more, use /NETSPLIT to show all of them)
12:31 -!- Netsplit over, joins: mycroftiv, reppie, +danderson, Boggy-B, KiNgMaR,
RooTer, atsampson, senneth, Demp, hhg (+28 more)
12:35 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
12:40 -!- Wiz126 [i=Wiz126@72.20.224.152] has quit [Success]
12:42 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
12:42 -!- skammer [n=skammer@79.139.142.75] has quit [Success]
12:43 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
12:47 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has quit [Read
error: 110 (Connection timed out)]
12:48 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
12:48 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
12:59 -!- inittab [n=dlbeer@ip-118-90-52-88.xdsl.xnet.co.nz] has quit [Read error:
110 (Connection timed out)]
13:00 -!- tomaw_ [i=tomaw@freenode/staff/tomaw] has quit ["Quitting"]
13:00 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
13:00 -!- tomaw_ [i=tom@freenode/staff/tomaw] has joined #go-nuts
13:07 -!- vegai [n=vegai@archlinux/developer/vegai] has quit ["kokeilu"]
13:09 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has quit [Remote
closed the connection]
13:09 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has joined #go-nuts
13:09 -!- triplez [n=triplez@116.15.84.166] has quit []
13:16 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has joined
#go-nuts
13:17 -!- Raziel2p` [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has joined
#go-nuts
13:18 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has quit [Read
error: 104 (Connection reset by peer)]
13:18 -!- inittab [n=dlbeer@ip-118-90-68-170.xdsl.xnet.co.nz] has joined #go-nuts
13:20 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
13:21 -!- skammer [n=skammer@79.139.142.75] has quit [Read error: 110 (Connection
timed out)]
13:23 -!- skammer [n=skammer@79.139.142.75] has joined #go-nuts
13:23 -!- Vova [n=Vova@80.178.10.177.adsl.012.net.il] has quit [Read error: 110
(Connection timed out)]
13:24 -!- lux` [n=lux@151.95.190.245] has quit [Read error: 110 (Connection timed
out)]
13:25 -!- Wiz126 [i=Wiz126@72.20.225.3] has joined #go-nuts
13:34 -!- snearch [n=olaf@g225052076.adsl.alicedsl.de] has quit ["Ex-Chat"]
13:36 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
13:37 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
13:38 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
13:38 -!- scarabx [n=scarabx@c-24-147-239-120.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
13:41 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 110 (Connection
timed out)]
13:42 -!- scm_ [i=justme@d018140.adsl.hansenet.de] has joined #go-nuts
13:42 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
13:52 -!- Sungem [i=Sungem@114-45-237-2.dynamic.hinet.net] has joined #go-nuts
13:53 -!- brunov [n=bruno@190.191.110.64] has joined #go-nuts
13:54 -!- scm [i=justme@c137196.adsl.hansenet.de] has quit [Read error: 110
(Connection timed out)]
14:17 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has joined
#go-nuts
14:22 -!- alexsuraci` [n=alex@li71-127.members.linode.com] has joined #go-nuts
14:26 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
14:31 -!- MX80 [n=MX80@cust171.177.113.38.dsl.g3telecom.net] has quit [Read error:
60 (Operation timed out)]
14:34 -!- atsampson [n=ats@94-193-50-45.zone7.bethere.co.uk] has quit ["Back in a
minute..."]
14:36 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
14:36 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 60 (Operation timed out)]
14:39 -!- metamurks [n=ihate@brln-4dbc31ed.pool.mediaWays.net] has joined #go-nuts
14:40 -!- triplez [n=triplez@bb116-15-84-166.singnet.com.sg] has joined #go-nuts
14:40 -!- metamurks [n=ihate@brln-4dbc31ed.pool.mediaWays.net] has quit [Client
Quit]
14:42 -!- aarapov [n=aarapov@nat/redhat/x-xaycfhansfrphrqf] has quit ["Leaving."]
14:46 -!- ned [n=ned@c-76-19-208-96.hsd1.ma.comcast.net] has quit [Read error: 104
(Connection reset by peer)]
14:46 -!- ned [n=ned@c-76-19-208-96.hsd1.ma.comcast.net] has joined #go-nuts
14:49 -!- lazz0 [n=blee@unaffiliated/lazz0] has joined #go-nuts
14:49 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection
reset by peer)]
14:53 -!- lux` [n=lux@151.95.190.245] has quit [Remote closed the connection]
14:55 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
14:57 -!- atsampson [n=ats@94-193-50-45.zone7.bethere.co.uk] has joined #go-nuts
14:58 -!- sladegen [n=nemo@unaffiliated/sladegen] has joined #go-nuts
14:59 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
15:03 < rog> is this actually working?
15:03 < dho> nope, sorry rog
15:03 < dho> the world is broken
15:04 < rog> good to see
15:04 < skelterjohn> good morning
15:04 < rog> afternoon
15:04 < dho> morning
15:04 < jessta> hi
15:04 < jessta> morning
15:04 < rog> no, i'm totally sure it's afternoon
15:05 < jessta> it's always morning
15:05 < rog> it's always afternoon!
15:05 < jessta> no you!
15:05 < jessta> :P
15:05 < jessta> acme is kind of weird
15:06 < rog> it's great when you get used to it
15:06 < jessta> the most iritating thing I trying to get over the the lack
of ability to move up and down lines with the keyboard
15:07 <+danderson> it is actually always morning when greeting on irc, by
definition
15:07 <+danderson> see http://www.total-knowledge.com/~ilya/mips/ugt.html
15:13 -!- Daminvar [n=Daminvar@129.21.121.159] has joined #go-nuts
15:13 < rog> nice
15:13 < rog> jessta: the best thing about it is that it makes the mouse so
much more powerful than the keyboard
15:15 < jessta> rog: yeah, I need a better mouse
15:15 < dho> rog: The thing that I hate about acme is that the areas where I
have to point the mouse to do anything useful are so goddamn small.
15:16 < dho> I miss them pointing at least 1/3 times.
15:16 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
15:16 < rog> you get better (or i did, certainly)
15:17 < dho> I never can get it.
15:17 < jessta> I've got a laptop with a trackpad and 2 buttons with 3
button emulation, so I miss out on a lot
15:17 < rog> i only rarely use middle- or right-button sweep - i usually
select with left button first (doesn't matter if you get it wrong) and then middle
click
15:17 < rog> (that is, for clicks that won't be expanded correctly with the
default rules)
15:17 < rog> jessta: yes, you need a proper mouse
15:18 < rog> jessta: or a thinkpad with a nipple and three buttons, which i
used for years and worked well
15:18 < jessta> ah, that's a good idea
15:19 < jessta> I'd rather not have an external mouse, makes it kind of
difficult to code in bed
15:20 < dho> i have trouble with thinkpad pointers too :(
15:20 * dho has an x40 with plan 9 and openbsd installed
15:22 -!- codedread [i=88b6021a@gateway/web/freenode/x-bgwdpirnwtspqlen] has
joined #go-nuts
15:22 < mpl> I find that I need a wheel more than I need 2+1 chording
15:23 < mpl> but I can't live without 1+2 and 1+3 chording now
15:23 < dho> I also hate middle clicking Font (which is nonexistant by
default) on the title bar every time I make a new window for code
15:23 < mpl> dho: then just start acme with the right Font ?
15:23 < alexsuraci`> the mouse cursor on my t400 keeps drifting
15:24 < alexsuraci`> it's incredibly annoying, i have to combat it with the
little nub
15:24 < mpl> alexsuraci`: it stops drifting quickly if you release it
15:24 < alexsuraci`> if my thumb is hovering over the trackpad or something
it'll think i'm touching it
15:24 < dho> mpl: I like the variable width font for most of the other
displays.
15:24 < mpl> it auto corrects itself
15:24 < mpl> oh, the trackpad, I just disabled it in bios :)
15:24 < alexsuraci`> yea i'm not sure what it is
15:25 < alexsuraci`> the trackpad's useless atm anyway because i haven't
configured it so it's really slow
15:25 -!- Alkavan [n=alkavan@IGLD-84-229-142-45.inter.net.il] has joined #go-nuts
15:25 < tor7> speaking of acme, does anybody have a proper three button
mouse these days or are you all suffering the scroll wheel?
15:25 < dho> I keep wanting to purchase a trackball.
15:25 < dho> I always really liked them
15:26 < alexsuraci`> ah yes those are great.  surprisingly intuitive.
15:26 * dho also wants a kinesis contoured keyboard
15:26 < mpl> alexsuraci`: I was speaking of the nub, when the cursor starts
drifting with it, just release it.
15:26 < yiyus> i find chording with the wheel much more comfortable than
middle and right buttons
15:27 < tor7> I miss the old Sun three button mice...
15:28 < alexsuraci`> mpl: right, sometimes it drifts when i'm actually using
it though, so I think it's the trackpad
15:28 < tor7> I recently found out about this mouse:
http://h10010.www1.hp.com/wwpc/us/en/sm/WF06c/A10-51210-69998-329254-69998-403892-403894-403895.html
15:28 < alexsuraci`> though with some cursory testing that seems to be
impossible.  hm, maybe i have a phantom finger.
15:28 < tor7> anybody tried it?
15:29 < mpl> alexsuraci`: no really, it can start drifting when you are
using it.
15:29 -!- iant [n=iant@67.218.107.191] has joined #go-nuts
15:29 < alexsuraci`> mpurcell|idle: ah, weird.
15:29 -!- mode/#go-nuts [+v iant] by ChanServ
15:29 < alexsuraci`> mpl, rather.
15:29 < dho> morning iant
15:30 <+iant> morning
15:31 -!- triplez [n=triplez@bb116-15-84-166.singnet.com.sg] has quit []
15:35 < jessta> I tried to buy a 3 button mouse, all the computer stores I
went to gave me funny loks
15:35 < jessta> *looks
15:37 < jessta> tor7: oh, nice!  I'll get one of those
15:38 -!- sebastiandeutsch [n=sebastia@mue-88-130-80-231.dsl.tropolys.de] has
joined #go-nuts
15:38 < sebastiandeutsch> hello, I downloaded and make the mysql wrapper for
go.  How do I include it in my project?
15:42 -!- lux` [n=lux@151.95.190.245] has quit [Read error: 110 (Connection timed
out)]
15:42 < jessta> sebastiandeutsch: to my knowledge there are 2 mysql wrappers
for go
15:43 < jessta> sebastiandeutsch: but I imagine you build the package and
then import it
15:45 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
15:45 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts
15:48 < sebastiandeutsch> jessta: noob question, whats the package?  if have
a _go_.6 and a db.a file?
15:51 -!- sebastiandeutsch [n=sebastia@mue-88-130-80-231.dsl.tropolys.de] has quit
[]
15:52 < jessta> a compiled package will end in .6 or .8 etc.  depending on
architecture
15:52 <+iant> or you can use gopack to build it into a .a
15:53 < ziyu4huang> If you just write pure Go
http://code.google.com/p/moogle-store/ can help you do package without write
Makefile
15:54 < ziyu4huang> I am still working on CGO support
15:54 -!- michaelh- [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
15:57 < dho> uh...
15:57 < dho> Ok, so I moved the notewakeup further back.
15:57 < dho> to the end of minit, when m->gsignal is allocated
15:57 < dho> now it crashes with freeing unlocked lock
15:57 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has quit [No
route to host]
15:57 < dho> I *think* this is a more telltale sign of whats going on
15:59 < ziyu4huang> anyone can suggest a unix pipe learning document ? I
wonder why you can close write immediately after ForkExec
http://gopaste.org/view/R1ry4
16:00 < dho> wait.
16:00 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has joined
#go-nuts
16:00 < dho> iant: wouldn't that be suggestive of the same m getting started
twice?
16:00 <+iant> ziyu4huang: for details of Unix I would always recommend
Advanced Unix Programming by Richard Stephens; it is fairly old now but the
details haven't changed
16:01 < dho> oh.
16:01 < JPascal> How I cat compare two values in template using package
"template"?
16:01 < dho> no, i'm tryign to unlock it on the first m
16:01 <+iant> dho: I haven't been following the notewakeup idea, alas
16:03 <+iant> ziyu4huang: after you fork, the child has a copy of the pipe;
you want to close your end of the pipe so that you know when the child closes its
end
16:03 -!- jnwhiteh [n=jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
["ZNC - http://znc.sourceforge.net"]
16:03 < dho> iant: where is the first m created?
16:04 < dho> because that one doesn't call newosproc obviously
16:04 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
16:04 -!- mode/#go-nuts [+v kaib] by ChanServ
16:04 <+iant> dho: I think it's just statically allocated in runtime/proc.c;
it's called m0
16:04 <+iant> it's assigned to m in the startup code, e.g., _rt0_386 in
386/asm.s
16:05 < dho> ah yes, thanks
16:05 < JPascal> Hello iant.
16:06 <+iant> howdy
16:06 < JPascal> I`m fine.  ))
16:06 < JPascal> thx
16:06 < JPascal> Can I compare two values in template using package
"template"?  ^)
16:06 <+iant> I have no idea
16:07 <+iant> sorry
16:07 < JPascal> me too
16:07 -!- gnuvince [n=vince@64.235.207.85] has quit ["Lost terminal"]
16:07 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
16:07 -!- JPascal [n=jpascal@195.239.8.22] has left #go-nuts []
16:07 -!- brunov [n=bruno@190.191.110.64] has quit [Read error: 110 (Connection
timed out)]
16:09 -!- gnuvince [n=vince@64.235.207.85] has joined #go-nuts
16:09 < dho> crap, that doesn't work.
16:14 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has joined #go-nuts
16:15 < dho> well it's stupid, but that helps a lot, though I'm running into
a GC error very intermittently (mark: world not stopped)
16:15 < dho> and it must be that because now it's running great with
gogc=off
16:16 -!- decriptor [n=decripto@137.65.132.7] has joined #go-nuts
16:16 -!- Anders [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts
16:20 -!- kaigan|work
[n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit []
16:22 -!- skelterjohn [n=jasmuth@c-76-116-176-34.hsd1.nj.comcast.net] has quit []
16:24 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
16:25 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
16:26 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
16:26 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
16:26 -!- zz [i=fusion@193.104.228.25] has quit [Killed by douglas.freenode.net
(Nick collision)]
16:26 -!- _zz [i=fusion@193.104.228.25] has joined #go-nuts
16:30 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:30 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has joined #go-nuts
16:30 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit []
16:34 -!- codedread [i=88b6021a@gateway/web/freenode/x-bgwdpirnwtspqlen] has left
#go-nuts []
16:35 -!- CMPITG [i=inexiste@113.22.123.191] has left #go-nuts []
16:37 -!- path[l] [n=path@115.184.2.125] has joined #go-nuts
16:37 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
16:38 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
16:39 -!- chickamade [n=chickama@123.16.65.96] has joined #go-nuts
16:41 -!- alexsuraci` [n=alex@li71-127.members.linode.com] has quit ["Lost
terminal"]
16:41 -!- amuck [n=amuck@h150.140.16.98.dynamic.ip.windstream.net] has quit []
16:44 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has joined #go-nuts
16:45 -!- pvanduse [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
16:45 -!- dju_ [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
16:46 -!- path[l]_ [n=path@115.184.14.27] has joined #go-nuts
16:46 -!- aarapov [n=aarapov@r2ah201.net.upc.cz] has joined #go-nuts
16:47 -!- aarapov [n=aarapov@r2ah201.net.upc.cz] has quit [Remote closed the
connection]
16:47 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts
16:47 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 113 (No route
to host)]
16:48 -!- path[l] [n=path@115.184.2.125] has quit [Read error: 145 (Connection
timed out)]
16:49 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Nick collision from
services.]
16:49 -!- sladegen [n=nemo@unaffiliated/sladegen] has joined #go-nuts
16:49 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit ["x"]
16:50 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 104
(Connection reset by peer)]
16:50 -!- iant [n=iant@67.218.107.191] has quit [Read error: 110 (Connection timed
out)]
16:51 -!- lazii [n=blee@unaffiliated/lazz0] has joined #go-nuts
16:51 -!- stalled_ [n=411@unaffiliated/stalled] has joined #go-nuts
16:53 -!- MadMethod [n=Method@nat-3-135.snu.edu] has joined #go-nuts
16:53 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: lazz0,
uxp, dju, stalled, jlouis, robot12, Guest38281, shasbot, shawn, [dmp], (+12 more,
use /NETSPLIT to show all of them)
16:54 -!- tsuwabuki [n=tsuwabuk@FLH1Aav065.kyt.mesh.ad.jp] has joined #go-nuts
16:55 -!- Kibiz0r [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
16:56 -!- Netsplit over, joins: uxp
16:56 -!- stalled_ [n=411@unaffiliated/stalled] has joined #go-nuts
16:56 -!- Netsplit over, joins: shawn
16:57 -!- rbohn [n=rbohn@192.206.100.4] has joined #go-nuts
16:57 -!- stalled [n=411@unaffiliated/stalled] has quit [Read error: 104
(Connection reset by peer)]
16:57 -!- spook327 [n=RevSpook@173-20-203-218.client.mchsi.com] has joined
#go-nuts
16:58 -!- irc [n=irc@209.17.191.58] has joined #go-nuts
16:58 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
16:59 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
17:00 -!- gnibbler [n=duckman@210-84-16-70.dyn.iinet.net.au] has joined #go-nuts
17:00 -!- mrd` [n=matthew@shinobi.dempsky.org] has joined #go-nuts
17:00 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has joined #go-nuts
17:00 -!- scoopr_ [i=scoopr@et.vaan.osaa.fi] has joined #go-nuts
17:01 -!- hlv [n=hlv@c-71-197-234-251.hsd1.wa.comcast.net] has quit []
17:01 -!- bsod2_ [n=bsod@springbank.echomania.com] has joined #go-nuts
17:01 -!- syd_ [n=sydcogs@118.127.19.220] has joined #go-nuts
17:02 -!- tsung_ [n=jon@112.104.53.151] has joined #go-nuts
17:02 -!- jlouis_ [i=jlouis@130.225.165.29] has joined #go-nuts
17:02 -!- hallsa_ [n=shane@miles.jfet.net] has joined #go-nuts
17:02 -!- xjih78_ [i=z0r0@87-126-166-30.btc-net.bg] has joined #go-nuts
17:03 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: StDan,
DJCapelis, Nanoo, rhc, Robdgreat, Kniht, Amaranth, bsod2, Rint_, afurlan, (+23
more, use /NETSPLIT to show all of them)
17:03 -!- Gussi [n=gussi@gussi.is] has joined #go-nuts
17:03 -!- [dmp] [n=dennis@static.251.110.40.188.clients.your-server.de] has joined
#go-nuts
17:04 -!- Netsplit over, joins: Robdgreat, mpl, jdp, spook327, teedex, Venom_X,
Nanoo, StDan, tomaw_, Fraeon (+15 more)
17:04 -!- tomaw_ [i=tom@freenode/staff/tomaw] has quit [Connection reset by peer]
17:04 -!- jorendorff [n=jorendor@c-76-22-141-17.hsd1.tn.comcast.net] has quit
[Remote closed the connection]
17:04 -!- Netsplit over, joins: armence
17:05 -!- spook[] [n=RevSpook@173-20-203-218.client.mchsi.com] has joined #go-nuts
17:05 -!- wiretapped [n=leif@pony.noisebridge.net] has joined #go-nuts
17:05 -!- ct [n=ct@plutonium.ct.id.au] has joined #go-nuts
17:05 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has joined #go-nuts
17:05 -!- lazz0 [n=blee@unaffiliated/lazz0] has joined #go-nuts
17:05 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined
#go-nuts
17:05 -!- robot12 [n=root@inferno.kgts.ru] has joined #go-nuts
17:05 -!- dju [i=dju@ip-39.net-80-236-37.suresnes.rev.numericable.fr] has joined
#go-nuts
17:05 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
17:05 -!- gnibbler_ [n=duckman@210-84-16-70.dyn.iinet.net.au] has joined #go-nuts
17:05 -!- scyth [n=scyth@rots.in.rs] has joined #go-nuts
17:06 -!- mrjayman [n=mrj@62.140.137.123] has joined #go-nuts
17:06 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [SendQ
exceeded]
17:08 -!- mrjayman [n=mrj@62.140.137.123] has quit [Remote closed the connection]
17:09 -!- stalled_ [n=411@unaffiliated/stalled] has quit [Excess Flood]
17:11 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
robot12, Cyanure, ct, spook[], dju, sebastiandeutsch, gnibbler_, lazz0, scyth,
wiretapped, (+1 more, use /NETSPLIT to show all of them)
17:12 < Fringehead> Netsplit city.
17:12 < bjorn`> nutsplit
17:12 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
Fraeon, Venom_X, KragenSitaker, afurlan, DJCapelis, teedex, jdp, tanamo,
Robdgreat, exitstate, (+13 more, use /NETSPLIT to show all of them)
17:13 -!- rhc_ [n=matt@qnan.org] has joined #go-nuts
17:13 -!- Netsplit over, joins: Robdgreat, mpl, jdp, spook327, teedex, Venom_X,
StDan, Fraeon, afurlan, Kniht (+12 more)
17:14 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has joined #go-nuts
17:14 -!- mode/#go-nuts [+v kaib] by ChanServ
17:15 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
17:15 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [SendQ
exceeded]
17:16 -!- robot12 [n=root@inferno.kgts.ru] has joined #go-nuts
17:17 -!- spook[]_ [n=RevSpook@173-20-203-218.client.mchsi.com] has joined
#go-nuts
17:17 -!- _zz [i=fusion@193.104.228.25] has joined #go-nuts
17:17 -!- scyth_ [n=scyth@rots.in.rs] has joined #go-nuts
17:21 -!- tomaw_ [i=tomaw@freenode/staff/tomaw] has joined #go-nuts
17:22 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
17:23 -!- JohnDoe365 [n=JohnDoe3@84.119.87.168] has joined #go-nuts
17:23 -!- JohnDoe365 [n=JohnDoe3@84.119.87.168] has quit [Client Quit]
17:24 -!- path[l]_ [n=path@115.184.71.33] has joined #go-nuts
17:24 -!- path[l]_ [n=path@115.184.71.33] has quit [Client Quit]
17:26 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
17:26 -!- spook327 [n=RevSpook@173-20-203-218.client.mchsi.com] has quit [Success]
17:26 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has joined #go-nuts
17:27 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined
#go-nuts
17:28 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
17:28 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
17:29 -!- chickamade [n=chickama@123.16.65.96] has quit ["Leaving"]
17:30 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit []
17:31 -!- amuck [n=amuck@h150.140.16.98.dynamic.ip.windstream.net] has joined
#go-nuts
17:32 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [Client Quit]
17:32 -!- Daminvar [n=Daminvar@129.21.121.159] has quit ["Leaving"]
17:33 -!- zuser [n=nonet@c-69-181-203-73.hsd1.ca.comcast.net] has joined #go-nuts
17:33 -!- zuser [n=nonet@c-69-181-203-73.hsd1.ca.comcast.net] has left #go-nuts []
17:33 -!- kaib [n=kaib@c-76-102-52-156.hsd1.ca.comcast.net] has quit [Read error:
110 (Connection timed out)]
17:34 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits:
Robdgreat, DJCapelis, Amaranth, Kniht, afurlan, Rint_, KragenSitaker, mpl, Zaba,
sahazel, (+12 more, use /NETSPLIT to show all of them)
17:34 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
17:34 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
17:34 -!- rup [i=Rupert@deathcoil.net] has joined #go-nuts
17:35 -!- Netsplit over, joins: Robdgreat, ivan`, mpl, jdp, _zz, teedex, Venom_X,
Fraeon, afurlan, Kniht (+11 more)
17:35 -!- _zz [i=fusion@193.104.228.25] has quit [Killed by douglas.freenode.net
(Nick collision)]
17:35 -!- _zz [i=fusion@193.104.228.25] has joined #go-nuts
17:38 < tsuwabuki> I implemented crypt function in Go for study.  Please
teach to me if there is a method of making this better.
https://code.google.com/p/go-crypt/
17:38 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
17:40 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the
connection]
17:40 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
17:40 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
17:41 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
17:41 -!- tsuwabuk_ [n=tsuwabuk@FLH1Aav065.kyt.mesh.ad.jp] has joined #go-nuts
17:41 -!- brunov [n=bruno@190.191.110.64] has joined #go-nuts
17:45 < alexsuraci> who runs gofmt.com?
17:46 -!- Sungem_ [i=Sungem@114-45-237-2.dynamic.hinet.net] has joined #go-nuts
17:46 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
17:47 -!- jA_cOp_ [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
17:47 -!- Wiz126 [i=Wiz126@72.20.225.3] has quit [Connection timed out]
17:48 -!- iant [n=iant@nat/google/x-yygvtiygnffsrfdc] has joined #go-nuts
17:48 -!- mode/#go-nuts [+v iant] by ChanServ
17:48 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Read error:
104 (Connection reset by peer)]
17:49 -!- gnuvince [n=vince@64.235.207.85] has quit ["Lost terminal"]
17:50 -!- skammer [n=skammer@79.139.142.75] has quit [Client Quit]
17:50 -!- niekie_ [i=quasselc@CAcert/Assurer/niekie] has joined #go-nuts
17:50 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts
17:50 -!- metamurks [n=ihate@brln-4dbc31ed.pool.mediaWays.net] has joined #go-nuts
17:50 -!- metamurks [n=ihate@brln-4dbc31ed.pool.mediaWays.net] has quit [Client
Quit]
17:50 -!- eno__ [n=eno@adsl-70-137-164-145.dsl.snfc21.sbcglobal.net] has joined
#go-nuts
17:50 -!- path[l] [n=path@115.184.14.27] has quit [Connection timed out]
17:51 -!- ColonelJ [n=cipherja@zone2.robinson.cam.ac.uk] has quit [Nick collision
from services.]
17:51 -!- KernelJ [n=cipherja@zone2.robinson.cam.ac.uk] has joined #go-nuts
17:51 -!- michaelh [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
17:51 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: rog,
StDan, sw4, rbohn, decriptor, halfdan, kimelto, keeto, tux21b, hallsa_, (+14 more,
use /NETSPLIT to show all of them)
17:56 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"]
17:58 -!- tsuwabuki [n=tsuwabuk@FLH1Aav065.kyt.mesh.ad.jp] has quit [Read error:
110 (Connection timed out)]
18:05 -!- Pete_27 [n=noname@115.64.1.61] has quit [Remote closed the connection]
18:05 -!- [Pete_27] [n=noname@115.64.1.61] has joined #go-nuts
18:08 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts
18:08 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
18:10 -!- double [n=double@host90-117-dynamic.7-87-r.retail.telecomitalia.it] has
joined #go-nuts
18:11 -!- santidhammo [n=santidha@82-171-79-22.ip.telfort.nl] has joined #go-nuts
18:11 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
18:11 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has joined #go-nuts
18:14 -!- gasreaa [n=atwong@nat/slide/x-mtcvhqylrfoyiqnb] has joined #go-nuts
18:14 < santidhammo> hi, i'm a GIS engineer, does anyone else have
experience in this field?
18:15 < santidhammo> I'd like to see if Go would be a good platform to
provide modern GIS functionality
18:16 <+danderson> I suggest you start by reading the FAQs
18:16 < santidhammo> I read this already
18:16 <+danderson> in particular, the language is still very young and the
runtime is very inefficient
18:16 <+danderson> so, right now, no.
18:16 -!- pvanduse [n=pdusen@crob4-55.flint.umich.edu] has quit [Client Quit]
18:16 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
18:16 <+danderson> later, maybe, depends.  If a system programming language
is what you need, then Go might be useful.
18:17 < santidhammo> I know right now it would not be proper, but I think it
would be a nice usecase
18:17 -!- double [n=double@host90-117-dynamic.7-87-r.retail.telecomitalia.it] has
left #go-nuts []
18:17 < santidhammo> My experience with both ESRI ArcGIS and GE Smallworld
is that they are terribly slow because of lack of proper multi-processor usage and
no distributed computing
18:18 -!- flyfish [n=flyfish@pixout.appriss.com] has joined #go-nuts
18:18 <+danderson> how do they compare to openstreetmap's GIS backends?
18:19 <+danderson> (no idea if it's even comparable, osm is just what I
think of when I think of GIS)
18:19 < santidhammo> they are proprietary, with Yottabytes of databases
18:19 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
18:19 < santidhammo> I'm not talking about google maps or this kind of GIS
18:19 < santidhammo> rather about complex calculation software with huge
databases
18:19 <+danderson> I meant more functionality than datasets
18:20 <+danderson> clearly I don't understand what kind of software you're
talking about, I probably have a narrow view of GIS software
18:20 < santidhammo> I'll explain
18:20 < santidhammo> there are many kinds of GIS systems nowadays
18:20 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
18:21 < santidhammo> Our tomtom, garmin, whatever else vfor navigation
device we use is a GIS system
18:21 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has quit [Remote closed
the connection]
18:21 < santidhammo> Googlemaps and osm are GIS systems, but are targeted at
the big audience
18:22 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has joined #go-nuts
18:22 -!- aho [n=nya@e179176029.adsl.alicedsl.de] has joined #go-nuts
18:22 <+danderson> right, though I suspect that a lot of what google maps
does on the backend is closer to professional GIS (datasource conflation, analysis
etc.)
18:22 < santidhammo> qGIS (open source), GE Smallworld and ESRI are targeted
at registering data such as cables, cadastral maps, wires, pipes, etc...
18:22 < santidhammo> and performing calculations on thes kinds of objects
18:23 <+danderson> ah, I see.
18:23 <+danderson> so, reasonably similar in algorithms to what maps needs
to do for some stuff, but with very specialized datasets.
18:23 < santidhammo> in the netherlands, the few utility companies have
typically half a yottabyte of data in these systems
18:23 < santidhammo> yes, you are correct
18:24 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit []
18:24 < uriel> anyone remembers the address of an unofficial FAQ somebody
wrote for this channel?
18:25 < santidhammo> but these systems are slow, startup times can be
sometimes 10 minutes just to get you to the window...
18:25 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has quit [Read error: 113 (No route to host)]
18:25 < santidhammo> GE smallworld is decades old and the underlying VM is
bout 8 times slower than java 1.4
18:26 <+danderson> well, depending on what kind of stuff is needed, Go may
or may not be the right tool.
18:26 < santidhammo> ESRI ArcGIS is .NET based, but experience leads to
having the same problems
18:26 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
18:26 -!- xjih78_ [i=z0r0@87-126-166-30.btc-net.bg] has joined #go-nuts
18:26 -!- hallsa_ [n=shane@miles.jfet.net] has joined #go-nuts
18:26 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
18:26 -!- decriptor [n=decripto@137.65.132.7] has joined #go-nuts
18:26 -!- halfdan [n=halfdan@p57A94D57.dip.t-dialin.net] has joined #go-nuts
18:26 -!- rog [n=rog@92.28.217.99] has joined #go-nuts
18:26 -!- droid0011 [n=g1@p4FDCAC71.dip.t-dialin.net] has joined #go-nuts
18:26 -!- kimelto [n=kimelto@boulz.org] has joined #go-nuts
18:26 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
18:26 -!- tux21b [n=nnchrist@trujillo.srv.pocoo.org] has joined #go-nuts
18:26 -!- nictuku [n=nnictuku@unaffiliated/nictuku] has joined #go-nuts
18:26 -!- keeto [n=keeto@121.54.92.149] has joined #go-nuts
18:26 -!- sw4 [n=sw@193.126.212.28] has joined #go-nuts
18:26 -!- rbancroft [n=rumble@S01060014bf54b5eb.cg.shawcable.net] has joined
#go-nuts
18:26 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has joined
#go-nuts
18:26 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
18:26 < santidhammo> I think with the beauty of channels it would be usable
somehow
18:26 <+danderson> for a number crunching backend, once it gets better
optimizers and a faster runtime, it might be interesting
18:26 < santidhammo> I think this too
18:27 < santidhammo> I talked about it earlier in the digital mars D
community
18:27 < santidhammo> but I think D is overdoing it
18:27 <+danderson> but most of the slowness of this software is probably due
to the size of the datasets.  Sounds like the solution would be more on the scale
of mapreduce with a couple thousand machines
18:27 <+danderson> and thinned down datasets for the interactive exploration
18:27 < santidhammo> yes, but with intercommunication
18:27 < JBeshir_> Go doesn't have intermachine intercommunication magic
(yet?).
18:27 < santidhammo> now these maps are typically on one huge server, which
is a real bottleneck
18:28 < santidhammo> C doesn't have this too
18:28 -!- ShadowIce [i=pyoro@p54A23E40.dip.t-dialin.net] has joined #go-nuts
18:28 < santidhammo> but if I would choose between C and Go, and they would
be similar in performance, I'd go for Go :-)
18:28 <+danderson> JBeshir_: not in the runtime, but it's reasonably trivial
to produce a shim goroutine that shovels channel data over a network
18:28 <+danderson> assuming all nodes are running the same code and so
forth, of course.
18:29 < santidhammo> this would be the optimal situation
18:29 < JBeshir> danderson: Ah, I see.
18:29 <+danderson> Otherwise you get into Erlang territory where you need to
migrate the code across nodes as well
18:29 < santidhammo> I've been thinking of Erlang earlier
18:29 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has joined #go-nuts
18:29 < santidhammo> but I'm looking into the understanding of the language
18:29 < santidhammo> For me, a functional language is second nature
18:30 < santidhammo> but for many, this appears as alphabet in reverse
18:31 < santidhammo> I think Go is more "intuitive" for many, although a Jit
version would make my day
18:32 <+danderson> I've been learning LLVM recently, I was thinking of
trying to implement a Go frontend.
18:32 <+iant> danderson: I hope to split apart the gccgo frontend to make it
usable for LLVM as well
18:33 <+iant> right now the GENERIC generation is threaded through the code,
but there is really no reason for that
18:33 < JBeshir> What I find kinda interesting about Go is that with the
rate it compiles, a lot of stuff supposedly only practical for interpreted
languages might be doable in it.
18:33 < JBeshir> Probably with a fair bit of overhead compared to regular
use (like...  needing to carry around a Go compiler), but...
18:34 <+danderson> iant: ah, cool.  My prattling with LLVM was more to get a
feel for implementing a real language with the libraries (vs.  the Kaleidoscope
toy language from the tutorials), good to know someone smart is working on a
proper frontend :)
18:34 <+iant> well, I'm not working on an LLVM frontend yet....
18:35 <+danderson> heh.  We'll see how my learning goes.  I'm still quite
early down the path, lots of the idioms and APIs to pick up.
18:35 < santidhammo> LLVM and my life just became better
18:35 <+danderson> Once I get beyond that, I'll give a shout
18:36 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
18:36 < santidhammo> would anyone be interested in my help for making go
work with LLVM?
18:36 -!- lmoura [n=lauromou@200.184.118.130] has quit ["Leaving"]
18:36 < santidhammo> doing this alone is a terrible almost criminal job
18:37 < santidhammo> is it necessary to take apart the current gccgo
frontend or 6g frontend?
18:37 < santidhammo> or is it better to implement it apart from this
18:39 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
18:39 <+iant> santidhammo: I believe that taking apart the gccgo frontend is
the right approach, and I plan to at least take it apart
18:40 <+iant> I should have written it apart in the first place, of course
18:40 < uriel> iant: how does that fit with the plans of using the same
runtime as gc?
18:40 < santidhammo> Ian: then we take this approach, i'd like to give
assistance
18:40 <+iant> uriel: I think it's more or less independent
18:41 < santidhammo> iant: The only thing I'm afraid off is doing things the
GCC way, instead of the Go way
18:41 <+iant> the interaction between the compiler and the runtime is
relatively limited; it's mainly an issue of type descriptors
18:41 < uriel> iant: and what is the best way to follow gccgo's development?
other than just checking out the svn tree
18:41 <+iant> santidhammo: I'm certainly happy to accept patches for the
gccgo frontend, so far I don't know if anybody other than me has even looked at
it....
18:41 * uriel can't touch svn, alergic to it and makes me want to throw up just to
think about it ;P
18:42 <+iant> uriel: you can read gcc-patches@gcc.gnu.org and filter only
messages with [gccgo] in the subject (the list as a whole is very active, but
[gccgo] messages are few)
18:42 < santidhammo> iant: I'll take a look at it and try to swallow the
magic
18:42 < uriel> iant: ah, thanks, will check that out
18:42 <+iant> uriel: http://gcc.gnu.org/wiki/GitMirror
18:42 < uriel> ah, great :)
18:43 <+iant> I haven't used it myself, though
18:44 < uriel> iant: it is perfect, this is exaclty what I was looking for:
http://repo.or.cz/w/official-gcc.git/shortlog/refs/heads/gccgo
18:44 -!- rbohn [n=rbohn@192.206.100.4] has joined #go-nuts
18:44 -!- ShadowIce` [i=pyoro@unaffiliated/shadowice-x841044] has quit [Read
error: 110 (Connection timed out)]
18:46 < santidhammo> is there any specification about how Go deals with
method calls?  I think it's different from C
18:46 <+iant> well, C doesn't have method calls; calling an interface on a
method is very similar to a virtual function call in C++
18:46 -!- Zaba [n=zaba@about/goats/billygoat/zaba] has quit [Success]
18:46 <+iant> I mean, calling a method on an interface
18:46 < santidhammo> my wrong
18:47 < santidhammo> C has function calls
18:47 <+iant> calling a method on some other type is simply a function call
18:47 <+iant> oh, just function calls?
18:47 < santidhammo> well, a lot more
18:47 <+iant> 6g uses a nonstandard ABI; gccgo uses the standard ABI
18:47 < santidhammo> ok ic
18:47 < santidhammo> This is what I meant
18:48 < santidhammo> The last time I was busy with compilers is 4 years ago
:-)
18:48 < santidhammo> The terminology needs to be refreshed in my brains
18:48 < santidhammo> cdecl, stddecl, pascal, i remember somehow
18:48 -!- xuser [n=xuser@unaffiliated/xuser] has left #go-nuts []
18:49 -!- sirmacik [n=bolek@86.63.158.4] has joined #go-nuts
18:49 < sirmacik> Hi all \o
18:51 -!- uxp_ [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
18:51 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit ["KVIrc
Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2009/06/06 11:44:47
UTC http://www.kvirc.net/"]
18:52 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
18:54 -!- uxp_ [n=uxp@uxp.dsl.xmission.com] has quit [Remote closed the
connection]
18:54 < santidhammo> I'm going to do some reading and sleeping
18:55 < santidhammo> goodbye everyone, see you all next time
18:55 -!- santidhammo [n=santidha@82-171-79-22.ip.telfort.nl] has quit [Read
error: 104 (Connection reset by peer)]
18:59 -!- dho [n=dho@onager.omniti.com] has quit [Remote closed the connection]
19:03 -!- codehai1 [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
19:04 -!- dho [n=dho@onager.omniti.com] has joined #go-nuts
19:05 -!- raichoo [n=raichoo@i577BA83C.versanet.de] has joined #go-nuts
19:07 <+danderson> tiens:
http://michaelzimmer.org/2009/12/07/if-you-trust-googles-results-you-can-thank-pigeonrank/
19:07 <+danderson> oops, wrong channel.
19:08 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
19:08 <+danderson> still funny though.
19:08 -!- Venom_X [n=pjacobs@66.54.185.131] has joined #go-nuts
19:12 -!- ni| [n=james@c-24-34-220-147.hsd1.ma.comcast.net] has quit [Read error:
110 (Connection timed out)]
19:12 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Remote closed the
connection]
19:13 < dho> danderson: wow.
19:14 < jessta> lol
19:15 < jessta> there are plenty of better hoaxes to fall for
19:16 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Remote closed the
connection]
19:16 <+danderson> jessta: I disagree.  I think that presenting PigeonRank
technology with a straight face is very high up there.
19:16 <+danderson> maybe along with the moonbase
19:17 -!- Sungem [i=Sungem@114-45-237-2.dynamic.hinet.net] has quit ["Leaving"]
19:17 -!- Sungem [i=Sungem@114-45-237-2.dynamic.hinet.net] has joined #go-nuts
19:17 < jessta> hmmm..now I'm seeing meta-hoaxes
19:17 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
19:17 <+danderson> (pay no attention to that dome thing halfway across Mare
Crisium)
19:18 < jessta> was the post a hoax?  was the student playing a joke?
19:18 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [No route
to host]
19:18 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
19:23 <+danderson> nope.
19:24 -!- amuck_ [n=amuck@h4.107.117.75.dynamic.ip.windstream.net] has joined
#go-nuts
19:25 -!- ni| [n=james@c-24-34-220-147.hsd1.ma.comcast.net] has joined #go-nuts
19:27 -!- analogue [n=analogue@toulouse.jfg-networks.net] has quit [Read error:
104 (Connection reset by peer)]
19:29 -!- amuck__ [n=amuck@h138.48.19.98.dynamic.ip.windstream.net] has joined
#go-nuts
19:29 -!- amuck [n=amuck@h150.140.16.98.dynamic.ip.windstream.net] has quit [Read
error: 60 (Operation timed out)]
19:31 < skelterjohn> iant, have you been following "go for?" thread?  Is
this something that the golang team could conceivably pick up at some point?
19:31 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the
connection]
19:32 <+iant> skelterjohn: I've been reading it but it seems that people are
mostly talking about ways to use the language as it is
19:32 <+iant> what is the proposal at this point?
19:32 < skelterjohn> parallel.For<T>(inputs chan T, foo func(t T))
(wait func())
19:32 < skelterjohn> for correct syntax of templating, if it ever happens
19:33 < skelterjohn> I don't see a good way to do it without templating
19:33 <+iant> so, let's separate the templating from the rest of it
19:33 < skelterjohn> (I started that thread)
19:33 -!- analogue [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
19:33 -!- amuck [n=amuck@h69.156.190.173.ip.windstream.net] has joined #go-nuts
19:33 <+iant> what is left that the language doesn't do today?
19:34 < skelterjohn> You can do what I suggest for a parallel for within the
language.  But you would have to rewrite some code that is easy to get wrong each
time, for each kind of thing to iterate over
19:34 < skelterjohn> the last post has a suggestion for what a parallel.For
would look like, for ints
19:35 <+iant> so is this syntactic sugar (which can be OK, of course)?
19:35 -!- sirmacik [n=bolek@86.63.158.4] has left #go-nuts []
19:35 -!- codehai1 [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [Read
error: 113 (No route to host)]
19:35 < skelterjohn> if templating exists, it would be a very useful library
function
19:36 < skelterjohn> my original proposal, a "go for" construct, would be
sugar, but I no longer feel it is worth the scoping confusion
19:36 < skelterjohn> eek, the thread deleted my indentation
19:37 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
19:37 -!- booh [n=booh@gitgo.org] has joined #go-nuts
19:37 <+iant> well, we know that templating would be useful, certainly
19:37 -!- kmc__ [n=keegan@207.237.163.75] has joined #go-nuts
19:38 * dho wonders when russ is going to be around to bother
19:38 -!- fenicks [n=christia@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
19:38 < skelterjohn> has the team even decided how it would be done?  not
clear to me how to do templating with pre-compiled packages
19:39 <+iant> we have not decided how it would be done; that is indeed the
issue
19:39 < skelterjohn> C++ does it completely inline (as far as i know).  java
does it by having an interpreter
19:39 -!- homa_ran1 [n=erice@LAPDANCE.MIT.EDU] has quit [Remote closed the
connection]
19:39 -!- homa_rano [n=erice@LAPDANCE.MIT.EDU] has joined #go-nuts
19:39 <+iant> yes
19:39 < skelterjohn> go wants to do it both ways, which seems tricky
19:39 < fenicks> hello
19:39 < skelterjohn> hi, fenicks
19:40 < skelterjohn> here's a thought - i read somewhere, i forget where,
that all linking in go is static
19:40 <+iant> it is for 6g/8g, yes
19:40 < exch_> I've got templating working with a preprocessor, but it's
useless for compiled code
19:40 < skelterjohn> this could be wrong, or temporary, but whenever a go
program is built, it carries its libraries
19:41 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
19:41 < skelterjohn> if the linking is static, the compiler could modify
what it brings in to fit the template?
19:41 < skelterjohn> but if the static linking is not always the case, this
solution doesn't make as much sense
19:41 <+iant> gccgo does not always statically link
19:41 <+iant> but of course this kind of thing can be made to work with C++
in any case
19:41 < uriel> dynamic linking is evil
19:42 <+iant> the glibc maintainer of course says that static linking is
evil....
19:42 < skelterjohn> iant, i don't understand your last message
19:42 < uriel> iant: my opinion of glibc and its maintainer are not
printable...
19:42 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
19:42 <+iant> gcc can instantiate templates at link time, via the -frepo
option
19:42 <+iant> even when linking dynamically
19:43 < skelterjohn> w/r/t static vs dynamic linking for multithreaded
programming, there was a link in a thread on the list showing that the more
dynamic linking was done, the fewer forks per second it could achieve
19:43 < uriel> skelterjohn: yup, dynamic linking makes the vm and fork much
more complex (and thenfore expensive)
19:43 <+iant> I'm sure that is true, but dynamic linking won't affect the
number of goroutines a program can create per second
19:43 <+iant> (since goroutines are not forks)
19:43 -!- amuck_ [n=amuck@h4.107.117.75.dynamic.ip.windstream.net] has quit
[Connection timed out]
19:44 < uriel> (the kernel vm system, I mean)
19:44 < skelterjohn> iant, i didn't think templates had anything to do with
linking...i thought they were just funky header files and compiled directly into
the binary...
19:44 < skelterjohn> ah, i don't know much about the lowlevel to know why
forks and goroutines are different in this respect
19:44 <+iant> skelterjohn: there are different possible implementations;
there is also the C++ export keyword (which gcc does not implement)
19:45 -!- lux` [n=lux@151.95.190.245] has quit [Remote closed the connection]
19:46 <+iant> (sadly I have had to learn this kind of thing in great detail)
19:47 < skelterjohn> heh
19:47 -!- amuck__ [n=amuck@h138.48.19.98.dynamic.ip.windstream.net] has quit
[Connection timed out]
19:48 < dho> I don't think it should slow down spawning more m's either,
since they're in the same address space.
19:48 -!- raichoo [n=raichoo@i577BA83C.versanet.de] has quit
["http://raichoo.blogspot.com"]
19:49 < skelterjohn> Heh.  What's an 'm'
19:49 < skelterjohn> ?
19:49 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has quit ["Leaving"]
19:49 < dho> there are two datastructures in the go runtime that represent
goroutines and os-level threads
19:50 < dho> goroutines are `Gs' and os-level threads are `Ms'
19:50 < dho> you can have multiple Gs per M
19:50 < skelterjohn> interesting
19:51 < dho> the go runtime scheduler figures out what G to run on a
particular M at any given point in time, and multiple Ms may run concurrently
19:51 < dho> so it's really an M:N userland scheduler, and the kernel uses
whatever scheduler it uses, which is usually 1:1
19:51 < dho> (I don't know of any M:N OS thread implementations)
19:51 < dho> that were successful anyway
19:52 < dho> rather, Gs use the runtime scheduler, Ms are scheduled by the
kernel as they're os-level threads.
19:52 < skelterjohn> yeah, I follow.
19:52 -!- gkmngrgn [n=gkmngrgn@78.183.53.233] has joined #go-nuts
19:53 < dho> and either way, it's all in the same memory space, so there
should be no re-loading of dynamic libraries when anything to do with Go is
spawned
19:53 < skelterjohn> yep
19:53 -!- mertimor [n=mertimor@p4FE75E91.dip.t-dialin.net] has joined #go-nuts
19:54 -!- kmc [n=keegan@64.121.133.238] has quit [Read error: 110 (Connection
timed out)]
19:54 < skelterjohn> I remember some proposals that talk about templating on
the import statement
19:54 < dho> iant: everything keeps pointing back to issues in malloc :(
19:55 < skelterjohn> ie import "Count"<int>
19:55 -!- wiretapped [n=leif@pony.noisebridge.net] has joined #go-nuts
19:55 < skelterjohn> or lowercase count.
19:55 -!- lstation [n=lstation@97-123-140-139.albq.qwest.net] has joined #go-nuts
19:55 -!- amuck [n=amuck@h69.156.190.173.ip.windstream.net] has quit []
19:55 <+iant> dho: malloc or GC? Do you know?
19:56 < skelterjohn> so when the library is brought in, the templating can
be done - make a copy for each kind of parameter
19:56 < dho> iant: it persists if i set GOGC=off
19:56 < skelterjohn> why does this fall flat?
19:56 < dho> iant: but differently
19:56 < dho> iant: and it's failures in mlookup
19:56 < dho> which might point back to issues with m/g being correct
19:56 <+iant> dho: very odd
19:57 < dho> it is
19:57 < dho> iant: also, m0 doesn't have a gsignal does it?
19:57 -!- Venom_X [n=pjacobs@66.54.185.131] has quit [Read error: 148 (No route to
host)]
19:58 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has joined
#go-nuts
19:58 < dho> or, no, that calls mstart, which should call minit, so it
should have one.
19:58 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has left
#go-nuts []
19:58 <+iant> skelterjohn: it might work, but I'm not sure it is as flexible
as people really want, e.g., for things like iterators
19:58 -!- mitchellh [n=mitchell@c-71-231-140-22.hsd1.wa.comcast.net] has joined
#go-nuts
19:59 < skelterjohn> for i := range count<int>.Iterate(0, 10) {...}
19:59 < skelterjohn> ?
19:59 < skelterjohn> for i := range count<float>.Iterate(0, 10, .5)
{...}
19:59 < skelterjohn> could you tell me what you're thinking about, w/r/t
lack of flexibility?
19:59 <+iant> that will work fine, but I'm thinking more about structs that
are templated in terms of other structs
20:00 <+iant> I think there was some discussion on one of the threads on
thelist
20:01 < KirkMcDonald> I prefer D's concept of templates-as-namespaces.
20:01 < dho> iant: if I leave GC on, I always get mark - world not stopped
20:02 < dho> (for values of always that means always when it crashes)
20:03 < skelterjohn> iant, do you remember which thread?
20:03 <+iant> skelterjohn: not off hand, sorry
20:04 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
20:05 -!- blackdog` [n=user@190.162.47.173] has joined #go-nuts
20:05 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Connection
timed out]
20:12 -!- ritolatu [n=ritolatu@dsl-olubrasgw1-fe54fb00-201.dhcp.inet.fi] has
joined #go-nuts
20:13 -!- xerox [n=xerox@unaffiliated/xerox] has joined #go-nuts
20:18 -!- mbarkhau [n=koloss@84.167.241.93] has joined #go-nuts
20:18 -!- xerox [n=xerox@unaffiliated/xerox] has quit []
20:19 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit
[Remote closed the connection]
20:25 < skelterjohn> here's a question: in one goroutine I am stuffing
numbers into a chan.  Once I've stuffed them all in I close the channel.
20:25 < skelterjohn> in another goroutine, I use a "for i := range thechan"
20:25 < skelterjohn> but once i've closed the channel, and before everything
has been extracted, that for loop will quit
20:26 < skelterjohn> leaving things in the channel despite trying to iterate
over its range
20:27 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
20:30 < jessta> skelterjohn: is the for loop quiting or is the program
quiting?
20:30 < skelterjohn> the loop
20:30 < skelterjohn> i can paste some code, one sec
20:31 < dho> why do you close the channel?  chans are garbage collected
20:32 < JBeshir> Because otherwise, the loop doesn't end in the remote
goroutine until it's garbage collected, right?
20:32 < skelterjohn> yes
20:33 < skelterjohn> and it would never be GC'd
20:33 < dho> hm, and i guess it won't be if you're blocked waiting for
osmething.
20:33 < skelterjohn> since that goroutine still holds it
20:33 < dho> right
20:33 < skelterjohn> http://www.gopaste.net/?id=1544
20:33 < skelterjohn> so, funny story
20:33 < skelterjohn> that code segment seems to always get all values
20:34 < skelterjohn> but when main() was a TestFor(), it wouldn't
20:34 < skelterjohn> not sure why it would behave differently
20:35 -!- Venom_X [n=pjacobs@rrcs-24-227-244-49.sw.biz.rr.com] has joined #go-nuts
20:36 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has joined #go-nuts
20:37 < jessta> skelterjohn: ...is block getting GC'd?
20:38 < skelterjohn> this one shows it off better - runs to 100 and prints
out how many got back http://www.gopaste.net/?id=1545
20:38 < skelterjohn> 1000, rather
20:38 < skelterjohn> um.
20:38 < skelterjohn> why would it be?  and how would i know?
20:38 < jessta> block would be GC'd when For returns
20:38 < skelterjohn> block is held by that wait() function, which is always
kept track of until the end of main()
20:39 < skelterjohn> that wait will carry block in its closure
20:39 < skelterjohn> but even if it did die with For, it wouldn't matter -
For doesn't return until it goes through all 1000 elements in the channel
20:40 < skelterjohn> and it doesn't.  it stops sometime after the inputs
chan is closed
20:40 -!- gisikw [n=gisikw@137.28.186.120] has joined #go-nuts
20:40 -!- rog [n=rog@92.28.217.99] has quit []
20:43 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has
joined #go-nuts
20:47 < skelterjohn> even more dramatic if i up the number of worker threads
to a significant fraction of 1000
20:47 < skelterjohn> if i have 500 worker threads, only ~520 inputs are
dealt with
20:48 < skelterjohn> so it seems like closing a chan in one thread will halt
a for loop over that chan's range in another thread.  is this correct behavior?
20:49 < dho> Probably
20:50 < dho> I've been avoiding suggesting this, but channels are a
communication mechanism, and talking over channels means having some sort of
communication protocol.  You should probably have some way to signify that you're
done.
20:50 -!- Knarfian [i=433b3b2f@gateway/web/freenode/x-kvpvtgojwcmfbyvy] has joined
#go-nuts
20:50 < skelterjohn> yeah...i closed the channel!
20:50 < dho> skelterjohn: I mean like sending an `end' over the channel.
20:51 < skelterjohn> I don't think that is reasonable.  I think that closing
the channel should be like sending an eof.
20:51 -!- Venom_X [n=pjacobs@rrcs-24-227-244-49.sw.biz.rr.com] has quit [Success]
20:51 < dho> Think of it in context of a network protocol if that makes
sense.
20:51 < skelterjohn> I can't think of a reason for closing the channel to
stop an incomplete iteration over range
20:51 < dho> Take HTTP, for instance.
20:51 < skelterjohn> I understand how what you say would work
20:52 < skelterjohn> i just don't think it's appropriate when closing the
channel makes sense semantically
20:52 < skelterjohn> perhaps there is an implementation detail that makes it
not work in practice, but i think it should be fixed so ti does
20:52 < dho> It makes sense to me, but maybe that's because I'm a network
software engineer :\
20:52 < dho> who does webdev -_-
20:52 < skelterjohn> I haven't claimed anything didn't make sense.  I'm
claiming that what I suggest makes *better* sense.
20:52 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit
["ChatZilla 0.9.85 [Firefox 3.5.5/20091102152451]"]
20:53 < dho> skelterjohn: I don't think it does, because why should closing
a channel work differently than closing an fd?
20:53 < dho> Just because you haven't processed the entire contents of an FD
doesn't mean you can't close it.
20:53 -!- path[l] [n=path@115.184.75.35] has joined #go-nuts
20:53 -!- path[l] [n=path@115.184.75.35] has quit [Client Quit]
20:53 < skelterjohn> alright, i follow
20:54 < skelterjohn> i was thinking of it from two ends, one has a "sending
channel", and the other has a "receiving channel"
20:54 < skelterjohn> in that context, it makes sense to close the sending
end
20:54 < skelterjohn> but in reality, both threads just have a "channel"
20:54 < dho> Right, channels are duplex
20:54 < skelterjohn> so i should think of close as a destructor?
20:54 < skelterjohn> not sure i like that
20:55 < skelterjohn> i mean, i'm not saying dispose(inputs)
20:56 < skelterjohn> from the lang spec: For a channel c, the predefined
function close(c) marks the channel as unable to accept more values through a send
operation.  After any previously sent values have been received, receive
operations will return the zero value for the channel's type.  After at least one
such zero value has been received, closed(c) returns true.
20:56 < skelterjohn> I think that is consistent with what I was suggesting
20:56 < skelterjohn> rather than treating it like a file descriptor
20:56 < dho> hm
20:56 < skelterjohn> specifically, "after any previously sent values have
been received" implies my fragment should work
20:57 < dho> yes, you're right.
20:57 < skelterjohn> i didn't realize that close() blocks, though
20:57 -!- melba [n=blee@unaffiliated/lazz0] has quit ["MICROSOFT WORD IS A FUN
GAME"]
20:58 < skelterjohn> err
20:58 -!- Vova [n=Vova@80.178.31.77.adsl.012.net.il] has joined #go-nuts
20:58 < skelterjohn> nevermind
20:58 < skelterjohn> it doesn't - didn't notice it says "closed" rather than
"close" returns true
20:59 < dho> where does yours stop
21:00 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
21:00 -!- armence [n=armence@c-67-188-229-128.hsd1.ca.comcast.net] has quit
["Leaving"]
21:01 < Knarfian> Hi - can anyone point me to an explanation of how
goroutines/channels get scheduled to OS threads?  I understand how plan9 and
plan9port do it, but I'm new to Go. Thx.
21:01 < skelterjohn> if you change the number of threads to 500 and the
number of values to 1000, it stops between 500 and 600
21:01 < dho> hm
21:01 -!- Anders [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts
21:01 < skelterjohn> ie likely that the first time the for loop iterates
after the chan is closed, it finishes
21:01 < dho> skelterjohn: I have to wonder if it has to do with the fact
that the goroutines are all operating over the same range.
21:03 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has left #go-nuts
["Leaving."]
21:04 < skelterjohn> dho: i changed it to a "for !closed(inputs) {...}" just
grabbing the values with <-.  gets even fewer, for some reason
21:04 < dho> oh.
21:04 < skelterjohn> err
21:04 < dho> skelterjohn: see rog's one writer, many readers post on the
list i think
21:04 < skelterjohn> wait a sec - i changed the #threads and #values
21:05 < dho> you may need to use select
21:05 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
21:05 < skelterjohn> i could use select, but i'd need to create another
channel
21:05 < skelterjohn> and something to populate that channel once the values
are all grabbed out of inputs
21:06 < skelterjohn> don't know how to do that if For() takes the input chan
as a parameter from an unknown source
21:06 < skelterjohn> so interesting...  when i loop on !closed(inputs), with
100 workers and 100 values, it counts 160some
21:06 < skelterjohn> which seems weird
21:07 < dho> right, like I said
21:07 < dho> 16:03 < dho> skelterjohn: I have to wonder if it has to
do with the fact that the goroutines are all operating over the same range.
21:07 < skelterjohn> no range though
21:07 < skelterjohn> just using <-inputs
21:07 < dho> yes but it's the same channel
21:07 < dho> all readers get the same set of values
21:07 < dho> which was my implication
21:07 < skelterjohn> channels aren't threadsafe?
21:08 < dho> You either need to communicate back to send another value over
the channel or you need to multiplex
21:10 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit [Read
error: 113 (No route to host)]
21:10 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
21:10 -!- Axman6 [n=Axman6@pdpc/supporter/student/Axman6] has quit [Remote closed
the connection]
21:10 -!- Axman6 [n=Axman6@pdpc/supporter/student/Axman6] has joined #go-nuts
21:10 < skelterjohn> I don't know what you're suggesting with multiplexing.
With communicating back, I feel like just grabbing a value from the channel should
be sufficient
21:11 < dho> do you understand that all of your goroutines receive the same
set of values?
21:11 < skelterjohn> i understand they are.  I am saying they shouldn't
21:11 < dho> why?
21:11 < dho> You have 1 channel.
21:12 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit []
21:12 < skelterjohn> i think of it like a queue.  when someone pops
something off the top, it is no longer there
21:12 -!- XniX23 [n=XniX23@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts
21:12 < dho> it's not a queue
21:12 < skelterjohn> if chans aren't threadsafe, then this might not
necessarily happen
21:12 < dho> it's a broadcast mechanism.
21:13 < dho> When you write to a channel, every reader of that channel gets
the same value.
21:13 < skelterjohn> when i use for i:=range inputs, each value is received
by exactly one thread
21:13 < skelterjohn> at most one thread, i should say.  because of the
closing, some aren't received at all
21:13 < dho> What you're suggesting is a very fundamentally different change
to how channels work
21:13 < dho> I don't think it's because of the closing
21:13 < skelterjohn> if i don't close it, all are received.
21:13 < skelterjohn> and the program panics because of threadlock
21:14 < dho> ok
21:15 < dho> In any case, a channel isn't a queue.
21:15 < jessta> dho: are you sure, I'm pretty sure it is
21:15 < dho> I'll test it out.
21:15 < jessta> skelterjohn: your code seems to run fine here
21:15 < dho> jessta: up the number of worker threads.
21:16 < skelterjohn> jessta: try setting the number of threads to 100 and
the values to 500
21:17 < jessta> yeah, still works fine
21:17 < skelterjohn> OS/compiler?
21:18 < skelterjohn> i'm on darwin/amd64/6g
21:18 < jessta> 8g linux
21:18 < dho> i'm on freebsd/amd64/6g
21:20 < dho> hm,
21:20 < dho> I am wrong.
21:21 < skelterjohn> the extra counts when i use for !closed(inputs) come
from nil values being sent
21:21 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined
#go-nuts
21:21 < skelterjohn> rather than duplicates being read
21:22 < dho> you're right.
21:22 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Connection timed out]
21:23 < skelterjohn> I made it work using that rather than range
21:23 < skelterjohn> so, it's range that cuts off prematurely
21:23 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has joined #go-nuts
21:24 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts
21:25 -!- rbohn [n=rbohn@192.206.100.4] has quit [Read error: 104 (Connection
reset by peer)]
21:25 -!- rbohn [n=rbohn@192.206.100.4] has joined #go-nuts
21:25 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Read error: 104 (Connection reset by peer)]
21:27 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
21:28 -!- Knarfian [i=433b3b2f@gateway/web/freenode/x-kvpvtgojwcmfbyvy] has quit
["Page closed"]
21:28 -!- lstation [n=lstation@97-123-140-139.albq.qwest.net] has quit []
21:28 < skelterjohn> from the spec: For channels, the identifier list must
contain one identifier.  The iteration receives values sent on the channel until
the channel is closed; it does not process the zero value sent before the channel
is closed.
21:29 < skelterjohn> depending on whether you mean "closed()" the function
there, or that the channel has been "close()"'d, that can be interpretted
differently
21:29 < skelterjohn> with closed() the function, it should do what I want it
to do
21:30 -!- gnibbler_ [n=duckman@203-217-81-54.dyn.iinet.net.au] has joined #go-nuts
21:31 < dho> you know what
21:31 < dho> I'm giving a lot of bad advice today
21:32 < KirkMcDonald> dho: Is that a decision or a conclusion?
21:32 < dho> both
21:32 < KirkMcDonald> Excellent.
21:32 < dho> oh
21:32 < dho> conclusion
21:32 < dho> see?
21:33 < dho> My reading interpretation skills are completely shot today, so
I'm responding horribly
21:33 < dho> Probably not the best idea to try to figure out these freebsd
issues
21:33 -!- Makavel [n=eddw@hoasb-ff08dd00-36.dhcp.inet.fi] has joined #go-nuts
21:35 -!- sliceofpi [n=sliceofp@c-98-197-1-232.hsd1.tx.comcast.net] has joined
#go-nuts
21:36 -!- brunov [n=bruno@190.191.110.64] has quit [Read error: 110 (Connection
timed out)]
21:37 -!- gisikw [n=gisikw@137.28.186.120] has quit []
21:38 -!- gasreaa [n=atwong@nat/slide/x-mtcvhqylrfoyiqnb] has left #go-nuts []
21:39 < Fringehead> Has anyone else tried to bounce an http request from
Apache to a Go http server?
21:40 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: sw4,
ShadowIce, decriptor, halfdan, keeto, kimelto, hallsa_, skelterjohn, nictuku,
tux21b, (+7 more, use /NETSPLIT to show all of them)
21:40 < Fringehead> Eep, split.
21:41 -!- Netsplit over, joins: SRabbelier, ni|, Xera^, ShadowIce, skelterjohn,
xjih78_, hallsa_, decriptor, halfdan, droid0011 (+7 more)
21:41 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [SendQ exceeded]
21:41 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit ["KVIrc
Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2009/06/06 11:44:47
UTC http://www.kvirc.net/"]
21:42 < skelterjohn> hooray for netsplits
21:42 < skelterjohn> someone should improve IRC.
21:42 < JBeshir> I agree, in that the Freenode staff need to improve their
server selection.
21:43 < dho> Dunno of a great way to deal with network partitions.
21:43 < Boggy-B> not as bad as darkmyst, which drop you every 10 minutes
21:43 < dho> But freenode is really flappy.
21:43 < JBeshir> Partial mesh networks, but then you need to implement
checkpointing and all kinds of other fun things, because TCP isn't good enough.
21:43 < JBeshir> But no one's ever implemented one in an IRC server.
21:44 < JBeshir> With checkpointing, you could heal splits without dropping
messages, too, which means you could safely suppress very very short ones.
21:44 -!- raichoo [n=raichoo@i577BA83C.versanet.de] has joined #go-nuts
21:44 < JBeshir> You'd need client integration to handle a server dropping
switching you to another server smoothly.
21:44 < skelterjohn> if the server you're on goes down, that's one thing
21:45 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
21:45 < skelterjohn> but if the connection between your server and another
goes down, that should be hidden, messages buffered and resent, etc
21:46 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
21:47 < dho> It's all very arbitrary.
21:47 -!- Anders [n=Anders@c83-253-2-206.bredband.comhem.se] has quit ["Leaving"]
21:47 < dho> How long do you buffer before you stop?
21:48 < skelterjohn> that would be a parameter
21:48 -!- gnibbler [n=duckman@210-84-16-70.dyn.iinet.net.au] has quit [Network is
unreachable]
21:48 < skelterjohn> maybe a few minutes
21:48 < skelterjohn> some reasonable timeout length
21:48 < skelterjohn> and a serverwide message informing people of netsplits
21:48 -!- teedex [n=teedex@204.14.155.161] has quit [Remote closed the connection]
21:49 < skelterjohn> i'm sure there is a better way to handle it
21:49 < dho> buffering all traffic on both sides of a split that's sending a
few mbits per second is a lot of data over a few minutes
21:50 < JBeshir> dho: I would be honestly astounded at an IRCD sending a few
Mbps
21:50 < dho> JBeshir: both efnet and freenode do
21:50 < skelterjohn> well, a lot goes on with the bigger networks
21:50 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 104 (Connection reset by peer)]
21:50 < skelterjohn> thousands of channels, many active
21:50 < JBeshir> Let's say each channel has a message a second.
21:51 < dho> and you're not just buffering text, you'd have to buffer
join/part events, channel mode changes, etc.
21:51 < JBeshir> Each message is at most 512 bytes.
21:51 < skelterjohn> so 500000 bytes per second
21:51 < JBeshir> Thousands of channels...  512bps per channel...  I guess,
but at a more reasonable event rate, thigns drop off very very quickly.
21:51 < skelterjohn> if you have 1000 active channels
21:51 < dho> and that's ignoring privmsgs between users
21:51 < skelterjohn> either way, decent amount of data
21:52 < dho> and also ignoring channel and user mode changes.
21:52 < JBeshir> dho: I'm including them in "messages".
21:52 < skelterjohn> but you only need to buffer what is leaving one
particular server
21:52 -!- XniX23 [n=XniX23@89-212-10-29.dynamic.dsl.t-2.net] has quit [Remote
closed the connection]
21:52 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
21:52 < JBeshir> Given "one per second" is an absolutely horrifically huge
overestimate anyway...
21:52 < skelterjohn> which is much smaller than what goes throughout the
entire network
21:52 < dho> JBeshir: doubt it.  there are channels that have at least 1
join/part per second and I see many channels that have multiple messages per
second frequently
21:53 < skelterjohn> TCP does some buffering anyway
21:53 -!- codedread [i=81bc2119@gateway/web/freenode/x-kbivxfqznhwmylit] has
joined #go-nuts
21:53 < JBeshir> dho: Frequently doesn't matter to average, and "quit"
messages propagate as a single message for the user.
21:53 < dho> even if 512 bytes is an overestimate, there are 512 byte lines,
and that doesn't include protocol overhead
21:53 < skelterjohn> so the server is already buffering everything for a
smaller time frame
21:53 < JBeshir> Actually, it does, I believe.
21:53 < skelterjohn> holds onto each message until it is acknowledged
21:54 < JBeshir> Yeah, pretty sure 512 bytes includes all the overhead.
Definitely includes the nuh and the word "PRIVMSG" itself.
21:54 < skelterjohn> if irc uses TCP
21:54 -!- codedread [i=81bc2119@gateway/web/freenode/x-kbivxfqznhwmylit] has left
#go-nuts []
21:54 < dho> assuming that you buffer for 1 minute and you have 500000 bytes
per second, that's 57 mb of data that you then have to read back through and
multiplex
21:54 < skelterjohn> the overhead for a message is something like "/msg
#channel <the-message>"
21:54 < JBeshir> Er, no.
21:54 < skelterjohn> fairly small.  irc has a very simple protocol
21:54 < dho> because you have to calculate who would receive it.  what if
that user left the channel in the middle of a split?  what if people joined the
channel in the middle of the split
21:54 < JBeshir> That's just the command in your client, it propagates
differently.
21:55 < skelterjohn> JBeshir - it's the message going from my computer to
the irc server
21:55 < dho> skelterjohn: it's PRIVMSG #channel :message
21:55 < skelterjohn> maybe it's different between servers
21:55 < JBeshir> skelterjohn: No, it isn't.
21:55 < JBeshir> skelterjohn: Your client sends what dho said, yeah.
21:55 < alexsuraci> ooh, thunderbird 3 (just came out) has a
reply-to-mailinglist button
21:55 < JBeshir> ANd going between servers, your Nick!ident@host gets added
on.
21:55 * dho uses telnet to irc sometimes for fun.
21:55 < skelterjohn> but i have reverse engineered this before.  many years
ago so it might be a bit off, but a very simple message
21:55 < skelterjohn> i did say "something like"
21:55 < JBeshir> skelterjohn: "reverse engineered"...  it's a documented
standard.
21:55 < skelterjohn> but it's not some big buffer
21:55 < dho> JBeshir: anyway, there are tons of users who are PRIVMSGing
each other at any given point in time
21:56 < Boggy-B> RFC for the win :)
21:56 < skelterjohn> ok well i wasn't good at reading standards :)
21:56 < skelterjohn> this is when i was an undergrad
21:57 < dho> JBeshir: even if we ended up with 10MB of data to send, it's
pretty computationally intensive to go back through and figure out what data goes
to what destination
21:57 < dho> (especially for people who joined/parted during the split)
21:57 < JBeshir> dho: Not really, you're buffering it for the split server,
right?
21:57 < JBeshir> dho: You know where it's going.  The split server you're
buffering for.
21:58 < JBeshir> The remote server will have to sync, but no worse than on
every other sync.
21:58 < dho> JBeshir: Ok, and when it receives it, how does it figure out
who that data gets sent to?
21:58 < JBeshir> The normal way; it's a lot less crazy than it sounds,
because what you're missing is that this is probably better than how IRC usually
resolves splits.
21:58 < dho> it is, because current syncs only keep track of users (as
minimally as possible) and channels
21:58 < JBeshir> dho: Splits are resolved by both servers basically throwing
their entire states at each other.
21:58 < JBeshir> In a single burst on each.
21:58 < dho> Right.
21:59 < dho> that state is userlists and channel lists.
21:59 < JBeshir> Modes, channel membership, etc, yeah.
21:59 < dho> conflicts are usually channel modes and user modes and user
modes inside the channel
21:59 < JBeshir> Resolved by timestamp (in all modern IRCDs), yes.
22:00 < dho> JBeshir: so if a user parted halfway through a split, do you
resend the buffer they missed?
22:00 < skelterjohn> anyway.  the console spam is annoying and it should
stop.
22:00 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has joined #go-nuts
22:00 < JBeshir> This is getting really offtopic, anyways.
22:00 < dho> skelterjohn: you can ignore join/part events :)
22:00 < dho> yes it is
22:00 < Boggy-B> sounds like a fun little project mind you
22:00 < skelterjohn> but if someone leaves for real i'd like to know ;)
22:00 < dho> as a finalizer, diane bruce has an irc-ng mailing list where
this sort of stuff isn't off-topic.
22:00 < Boggy-B> IRC v2 :p
22:01 < dho> it's very low traffic
22:01 < dho> http://heceta.db.net/mailman/listinfo/ircng
22:01 < dho> and i'll end there :)
22:01 -!- codehai [n=codehai@xdsl-78-34-37-157.netcologne.de] has quit [Client
Quit]
22:02 < skelterjohn> I was supposed to get some work done today, and all I
did was experiment with go parallelism.  :\
22:05 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has joined #go-nuts
22:12 -!- hanez [n=hanez@hanez.org] has quit [SendQ exceeded]
22:14 -!- Xera` [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
22:16 -!- rbohn [n=rbohn@192.206.100.4] has quit ["ChatZilla 0.9.85 [Firefox
3.0.15/2009101601]"]
22:17 -!- sebastiandeutsch [n=sebastia@dslb-084-061-120-118.pools.arcor-ip.net]
has left #go-nuts []
22:25 -!- lux` [n=lux@151.95.190.245] has quit [Read error: 110 (Connection timed
out)]
22:26 -!- muzzy [i=muzzy@hack.fi] has joined #go-nuts
22:27 -!- lux` [n=lux@151.95.190.245] has joined #go-nuts
22:27 -!- mbarkhau [n=koloss@84.167.241.93] has quit ["Leaving."]
22:27 -!- mbarkhau [n=koloss@p54A7F15D.dip.t-dialin.net] has joined #go-nuts
22:29 -!- decriptor [n=decripto@137.65.132.7] has quit [Read error: 110
(Connection timed out)]
22:32 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has quit [Read error: 110
(Connection timed out)]
22:32 -!- mbarkhau [n=koloss@p54A7F15D.dip.t-dialin.net] has quit ["Leaving."]
22:36 -!- gnibbler_ [n=duckman@203-217-81-54.dyn.iinet.net.au] has quit [Read
error: 104 (Connection reset by peer)]
22:36 < muzzy> how to debug if i suspect a compiler bug?
22:37 -!- amuck [n=amuck@h154.65.88.75.dynamic.ip.windstream.net] has joined
#go-nuts
22:37 -!- Netsplit kornbluth.freenode.net <-> irc.freenode.net quits: sw4,
ShadowIce, xjih78_, halfdan, rbancroft, skelterjohn, keeto, droid0011, kimelto,
nictuku, (+5 more, use /NETSPLIT to show all of them)
22:38 < Rob_Russell> depends what kind of bug i guess
22:38 -!- flyfish [n=flyfish@pixout.appriss.com] has quit []
22:39 < muzzy> arithmetics fail
22:39 < muzzy> result should be 0 and it's -2147483648
22:39 < Rob_Russell> ah
22:39 < Rob_Russell> could be a data type thing
22:40 < muzzy> copying only a small part of the code to a new program
doesn't reproduce code
22:41 -!- Netsplit over, joins: SRabbelier, ni|, ShadowIce, skelterjohn, xjih78_,
hallsa_, halfdan, droid0011, kimelto, tux21b (+5 more)
22:41 < Rob_Russell> -2147483648 is the minimum for a 32-bit signed int
22:41 < Rob_Russell> so you could've had a rollover in an int
22:42 < Rob_Russell> or you could be expecting a uint but getting a signed
int
22:42 < Rob_Russell> try looking at the variable declarations and the types
you're getting
22:43 < muzzy> well, it's just int and float, i=(f*f2); ...  and f is 0, f2
is 1-0.8
22:43 < muzzy> i=int(f*f2) that is
22:43 < muzzy> if i do the multiplication first, it gives 0 correctly
22:45 -!- eulenspiegel [n=irssi@p579CA40C.dip.t-dialin.net] has joined #go-nuts
22:46 < muzzy> fine, now it's: f:=float(0); i=int(f*0.2); print(i);
22:46 -!- Makavel [n=eddw@hoasb-ff08dd00-36.dhcp.inet.fi] has quit [Client Quit]
22:47 < dho> are you using release?  i think there's been a fp bug fixed
since then
22:47 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
22:47 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has quit [Remote closed
the connection]
22:47 < muzzy> dho, good point.  i think i forgot to recompile :)
22:48 -!- gnibbler [n=duckman@203-217-81-54.dyn.iinet.net.au] has joined #go-nuts
22:48 -!- lstation [n=lstation@97-123-140-139.albq.qwest.net] has joined #go-nuts
22:48 -!- gnibbler [n=duckman@203-217-81-54.dyn.iinet.net.au] has quit [Read
error: 104 (Connection reset by peer)]
22:49 < Rob_Russell> yeah, that last line gives me 0 (using today's Go
source)
22:49 -!- mertimor [n=mertimor@p4FE75E91.dip.t-dialin.net] has quit []
22:50 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has quit
["WinPants!"]
22:54 < muzzy> dho: damnit, you were right :P
22:54 < dho> :)
22:55 -!- amuck [n=amuck@h154.65.88.75.dynamic.ip.windstream.net] has quit []
22:58 -!- gnibbler [n=duckman@203-217-81-54.dyn.iinet.net.au] has joined #go-nuts
23:00 -!- brunov [n=bruno@190.191.110.64] has joined #go-nuts
23:01 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Read error: 104
(Connection reset by peer)]
23:06 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:08 -!- lstation [n=lstation@97-123-140-139.albq.qwest.net] has left #go-nuts []
23:15 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the
connection]
23:16 -!- [[sroracle]] [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined
#go-nuts
23:21 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
23:24 < dho> finally.
23:24 < dho> fixed the freebsd bug.
23:24 -!- Xera^ [n=lol@87-194-208-246.bethere.co.uk] has joined #go-nuts
23:31 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts
23:33 -!- gkmngrgn [n=gkmngrgn@78.183.53.233] has joined #go-nuts
23:36 < uriel> dho: congrats
23:37 -!- Alex- [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined
#go-nuts
23:37 < JBeshir> My stuff that used to have 6.5MB RAM usage now has...
920KB.
23:39 -!- Adys_ [n=Adys@unaffiliated/adys] has joined #go-nuts
23:42 -!- aho [n=nya@e179176029.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
23:42 -!- Xera` [n=lol@87-194-208-246.bethere.co.uk] has quit [Read error: 110
(Connection timed out)]
23:42 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the
connection]
23:44 < skelterjohn> JBeshir: well, that's a good change
23:44 < skelterjohn> assuming you don't mean that your hardware is
evaporating
23:45 < JBeshir> No, I don't have a P4.
23:45 < JBeshir> It's a good change.  :P
23:45 -!- osmosis [n=steven@m1c0e36d0.tmodns.net] has joined #go-nuts
23:47 < dho> uriel: i'll forward that on to russ <_<
23:47 -!- skyyy [i=caw@res55551479.rh.rit.edu] has joined #go-nuts
23:48 -!- gkmngrgn [n=gkmngrgn@78.183.53.233] has joined #go-nuts
23:53 -!- KinOfCain [n=KinOfCai@rrcs-64-183-61-2.west.biz.rr.com] has joined
#go-nuts
23:54 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit
[Read error: 113 (No route to host)]
23:56 < uriel> nickjohnson: see this around min 17
http://thechangelog.com/post/259401776/episode-0-0-3-googles-go-programming-language
23:56 < uriel> rob talking about running go on the clr ;)
23:58 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the
connection]
23:58 -!- gkmngrgn [n=gkmngrgn@78.183.53.233] has joined #go-nuts
--- Log closed Wed Dec 09 00:00:31 2009