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

--- Log opened Mon Jan 11 00:00:07 2010
--- Day changed Mon Jan 11 2010
00:00 -!- tomestla [n=tom@AToulouse-151-1-18-34.w83-203.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
00:01 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
00:02 -!- mpl [n=mpl@smgl.fr.eu.org] has joined #go-nuts
00:05 -!- DerHorst_ [n=Horst@e176099177.adsl.alicedsl.de] has joined #go-nuts
00:07 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has quit
[]
00:11 -!- mnky [n=mcfyang@pool-70-23-223-207.ny325.east.verizon.net] has quit
["Leaving."]
00:12 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
110 (Connection timed out)]
00:13 -!- rhelmer [n=rhelmer@adsl-69-107-78-140.dsl.pltn13.pacbell.net] has quit
[]
00:15 -!- peppers [n=peppers@87.196.49.139] has quit ["leaving"]
00:20 < tor7> CodeBlock: dho got it working on freebsd, he'd be the one to
ask
00:21 -!- mertimor [n=mertimor@p4FE74B46.dip.t-dialin.net] has quit []
00:21 -!- DerHorst [n=Horst@e176123020.adsl.alicedsl.de] has quit [Read error: 110
(Connection timed out)]
00:21 < CodeBlock> tor7: alright, yeah it works fine on freebsd, but I was
asking on baddog's behalf becuase he uses netbsd, and I wanted to show him Go :P
00:21 < CodeBlock> dho: you alive?  ;)
00:22 -!- JSharpe2 [n=jamie@5ad5026c.bb.sky.com] has quit [Client Quit]
00:27 < dagle> CodeBlock: http://go-lang.cat-v.org/os-ports , seems to be
nobody working on a port at this point.  :/
00:29 < CodeBlock> dagle: :/
00:29 < ehird> Aren't all the BSDs pretty much the same?
00:30 < dagle> Think a port from openbsd to net should be easy.
00:31 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
00:32 -!- sinuhe [n=user@174-23-128-117.slkc.qwest.net] has quit [Read error: 110
(Connection timed out)]
00:36 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit ["crashed"]
00:37 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
00:42 < nf> ehird: different kernels, slightly different syscall apis afaik
00:42 < ehird> but the kernels are basically forks of each other
00:42 < ehird> I doubt the basics differ that much
00:43 < nf> i'm not aware of the specifics, but they forked quite a while
ago
00:43 < ehird> yeah, 90s
00:43 < ehird> early to mid 90s
00:43 < nf> freebsd seems to have a way more featureful kernel than open or
net
00:44 < nf> i'm not sure that open/netbsd support kqueues?  which i think go
takes advantage of
00:44 < nf> (under freebsd, i mean)
00:45 < nf> i am wrong, they are in both netbsd andf reebsd
00:45 < nf> s/f reebsd/ openbsd/
00:45 -!- crazy2be [n=justin@d205-206-133-182.abhsia.telus.net] has quit [Read
error: 110 (Connection timed out)]
00:56 < happy_> does anyone know how to install go in kate?
00:57 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has joined
#go-nuts
00:57 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
01:02 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
01:03 -!- sinuhe [n=user@174-23-128-117.slkc.qwest.net] has joined #go-nuts
01:03 -!- cc_br [n=caio@201-11-160-103.bsace704.dsl.brasiltelecom.net.br] has left
#go-nuts []
01:04 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 104
(Connection reset by peer)]
01:04 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:15 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:15 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
01:17 -!- Adys [n=Adys@unaffiliated/adys] has quit ["I ♥ Unicode"]
01:17 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
01:21 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 60
(Operation timed out)]
01:22 -!- me__ [n=me@c-68-55-179-48.hsd1.md.comcast.net] has quit ["leaving"]
01:23 -!- DerHorst_ [n=Horst@e176099177.adsl.alicedsl.de] has quit ["Verlassend"]
01:26 < trevor> Wouldn't it be useful to have channels in interface types?
01:27 < trevor> So I can say any type which has a channel named x will work?
01:28 -!- triplez [n=triplez@bb116-14-27-194.singnet.com.sg] has joined #go-nuts
01:29 < taruti> trevor: you can have methods returning channels
01:29 < trevor> Thats what I'm doing now
01:29 < trevor> Works fine, it just seems like a common use case for
interfaces
01:30 < taruti> does exposing the channels make sense?
01:31 < trevor> I can see implementation problems.  Its probably alot easier
to call a method on an anonymous type than to find where a field is
01:32 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit
["Rockin’ music will set you free."]
01:33 -!- gnuvince_ [n=vince@64.235.211.204] has quit ["What the fruit is goin' on
here!?"]
01:35 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit [Remote closed
the connection]
01:36 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
01:36 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:36 -!- sinuhe [n=user@174-23-128-117.slkc.qwest.net] has quit [Read error: 110
(Connection timed out)]
01:37 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 113 (No
route to host)]
01:38 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Read error: 54
(Connection reset by peer)]
01:38 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:39 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Read error: 104
(Connection reset by peer)]
01:40 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:40 < happy_> does anyone know how to install go in kate?
01:45 < aho> go/misc/kate/go.xml
01:45 < aho> that's the syntax highlighting file
01:46 < happy_> aho: I knew that
01:46 < happy_> aho: I can not figure out how to install it
01:47 -!- sebastiandeutsch [n=sebastia@dslb-084-060-121-145.pools.arcor-ip.net]
has quit []
01:49 -!- selby_fiedler [n=selby_fi@70-1-153-150.pools.spcsdns.net] has quit [Read
error: 110 (Connection timed out)]
01:50 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit [Read
error: 113 (No route to host)]
01:52 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Read error: 104
(Connection reset by peer)]
01:52 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
01:53 < aho> g: kate syntax xml install -> hit #1 ->
http://www.intelligentdv.com/blog/8/how-to-install-kate-syntax-files/ -> xml
goes to: ~/.kde/share/apps/katepart/syntax
01:53 < aho> :]
01:53 < happy_> thanks
01:57 < happy_> aho: that folder does not exist :-\
01:59 -!- zohaib1020 [n=zohaib10@z65-50-111-43.ips.direcpath.com] has joined
#go-nuts
02:02 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has quit [Remote closed
the connection]
02:02 -!- nigwil [n=chatzill@berkner.ccamlr.org] has joined #go-nuts
02:02 -!- nigwil [n=chatzill@berkner.ccamlr.org] has left #go-nuts []
02:03 < taruti> happy_: mkdir -p ~/.kde/share/apps/katepart/syntax
02:03 < taruti> unless you have .kde4 instead
02:10 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
110 (Connection timed out)]
02:10 -!- zohaib1020 [n=zohaib10@z65-50-111-43.ips.direcpath.com] has quit [Remote
closed the connection]
02:11 -!- travalas_ [n=travalas@203.112.203.211] has quit [Read error: 60
(Operation timed out)]
02:12 -!- sinuhe [n=user@71-213-48-209.slkc.qwest.net] has joined #go-nuts
02:20 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
02:24 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit [Remote closed
the connection]
02:24 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
02:24 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Client
Quit]
02:25 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
02:49 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has quit
[]
02:53 -!- robot12 [n=root@robot12.kgts.ru] has quit [Read error: 104 (Connection
reset by peer)]
02:56 -!- ehird [n=ehird@91.104.236.31] has quit [Read error: 60 (Operation timed
out)]
02:59 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
03:03 -!- Netsplit kubrick.freenode.net <-> irc.freenode.net quits: skerner,
keeto, uxp, q[mrw], nickjohn1on, sfuentes, tor7, kerozen, Amaranth_, tokuhiro_,
(+20 more, use /NETSPLIT to show all of them)
03:03 -!- Netsplit kubrick.freenode.net <-> irc.freenode.net quits: [k2],
mjburgess, Method, pjm0616, keesj_, rrr, aho, nf, Innominate, Demp, (+15 more, use
/NETSPLIT to show all of them)
03:04 -!- Netsplit over, joins: xid, kanru, mpl, aho, Fl1pFl0p, Demp, [Pete_27],
hd_2, rrr, damjan (+15 more)
03:05 -!- alc [n=alc@114.245.255.122] has joined #go-nuts
03:06 -!- Netsplit over, joins: fifoman, Amaranth_, exch, tor7
03:06 -!- garbeam [n=arg@212.13.194.175.rev.bitfolk.com] has joined #go-nuts
03:06 -!- Netsplit over, joins: keeto, Xeon_, scm, quag, Claviceps
03:06 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
03:06 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
03:06 -!- Netsplit over, joins: dho, uxp, evilhackerdude, plexdev, kerozen,
q[mrw], sfuentes, MIR100, mitsuhiko, gnibbler_ (+8 more)
03:06 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has joined
#go-nuts
03:06 -!- xid [n=xid@narc.oti.cz] has quit [Connection timed out]
03:07 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has left #go-nuts []
03:08 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
03:08 -!- Wiz126 [i=Wiz126@72.20.223.157] has joined #go-nuts
03:08 -!- stalled [n=411@unaffiliated/stalled] has quit [Excess Flood]
03:09 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
03:10 -!- gnuvince_ [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
03:10 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit [Nick
collision from services.]
03:10 -!- itrekkie [n=itrekkie@ip72-200-113-154.tc.ph.cox.net] has joined #go-nuts
03:18 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Read error: 104
(Connection reset by peer)]
03:18 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
03:20 -!- Yappo__ [n=yappo@221x243x122x124.ap221.ftth.ucom.ne.jp] has quit
[Connection timed out]
03:20 -!- soul9 [n=none@unaffiliated/johnnybuoy] has quit [Connection timed out]
03:23 -!- Yappo__ [n=yappo@221x243x122x124.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
03:23 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
03:23 -!- eds [n=chickenc@c-69-254-239-254.hsd1.ks.comcast.net] has quit [Remote
closed the connection]
03:24 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
03:24 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
[Client Quit]
03:28 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
03:33 -!- itrekkie [n=itrekkie@ip72-200-113-154.tc.ph.cox.net] has quit []
03:36 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Read error: 54
(Connection reset by peer)]
03:36 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
03:45 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[]
03:55 -!- travalas [n=travalas@203.112.203.211] has joined #go-nuts
04:02 -!- selby_fiedler [n=selby_fi@173-117-194-87.pools.spcsdns.net] has joined
#go-nuts
04:08 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["brb"]
04:08 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
04:09 -!- GabydeWilde__ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has joined
#go-nuts
04:11 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has quit ["(
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"]
04:11 -!- sinuhe [n=user@71-213-48-209.slkc.qwest.net] has quit ["ERC Version 5.3
(IRC client for Emacs)"]
04:14 -!- scm_ [i=justme@c209013.adsl.hansenet.de] has joined #go-nuts
04:26 -!- scm [i=justme@c209110.adsl.hansenet.de] has quit [Read error: 110
(Connection timed out)]
04:27 -!- sdhivya [n=sdhivya@nat/novell/x-nceuclwtmiigxdyu] has joined #go-nuts
04:37 -!- baddog [n=baddog@unaffiliated/baddog144] has quit [Remote closed the
connection]
04:40 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
04:46 -!- soul9 [n=none@unaffiliated/johnnybuoy] has joined #go-nuts
04:52 -!- robot12 [n=root@robot12.kgts.ru] has joined #go-nuts
04:53 -!- travalas_ [n=travalas@210.4.67.126] has joined #go-nuts
04:54 -!- Ryan__ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
04:59 -!- brianski [n=ski@c-69-140-146-96.hsd1.dc.comcast.net] has joined #go-nuts
05:09 -!- travalas [n=travalas@203.112.203.211] has quit [Read error: 110
(Connection timed out)]
05:11 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
05:12 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Read error: 110 (Connection
timed out)]
05:12 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit [Read error:
110 (Connection timed out)]
05:14 -!- brianski [n=ski@c-69-140-146-96.hsd1.dc.comcast.net] has left #go-nuts
[]
05:16 -!- pshahmumbai [n=prashant@59.164.24.57] has joined #go-nuts
05:19 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined
#go-nuts
05:27 -!- gnibbler [n=duckman@124-168-45-159.dyn.iinet.net.au] has joined #go-nuts
05:37 -!- gnibbler_ [n=duckman@124-168-12-88.dyn.iinet.net.au] has quit [Read
error: 101 (Network is unreachable)]
05:39 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
05:39 -!- alc [n=alc@114.245.255.122] has quit ["Leaving..."]
05:54 -!- sinuhe [n=user@71-213-48-209.slkc.qwest.net] has joined #go-nuts
06:00 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has quit
[]
06:05 -!- alc [n=alc@114.245.250.189] has joined #go-nuts
06:06 -!- sdhivya [n=sdhivya@nat/novell/x-nceuclwtmiigxdyu] has quit ["Leaving"]
06:07 -!- path[l] [i=UPP@120.138.102.34] has quit []
06:10 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has joined #go-nuts
06:13 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
06:17 -!- aho [n=nya@f050232108.adsl.alicedsl.de] has quit [Read error: 113 (No
route to host)]
06:19 -!- Wiz126 [i=Wiz126@72.20.223.157] has quit [Connection timed out]
06:19 -!- Wiz126 [i=Wiz126@72.20.219.169] has joined #go-nuts
06:26 -!- pshahmumbai [n=prashant@59.164.24.57] has quit ["Ex-Chat"]
06:27 -!- sinuhe [n=user@71-213-48-209.slkc.qwest.net] has quit ["ERC Version 5.3
(IRC client for Emacs)"]
06:37 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has quit [Read error: 60
(Operation timed out)]
06:39 -!- trevor [n=trevor@70.142.37.108] has joined #go-nuts
06:41 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
110 (Connection timed out)]
06:43 -!- michael| [n=maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined
#go-nuts
06:51 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
06:51 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has joined
#go-nuts
06:52 -!- path[l] [n=path@59.162.86.164] has quit [Client Quit]
06:54 -!- gnibbler [n=duckman@124-168-45-159.dyn.iinet.net.au] has quit [Read
error: 60 (Operation timed out)]
06:55 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
06:55 -!- mnky [n=mcfyang@pool-70-23-223-207.ny325.east.verizon.net] has joined
#go-nuts
06:55 -!- gnibbler [n=duckman@124-168-36-155.dyn.iinet.net.au] has joined #go-nuts
06:58 -!- samferry [i=sam@unaffiliated/samferry] has quit [Read error: 60
(Operation timed out)]
06:59 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
07:01 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has quit []
07:05 -!- selby_fiedler [n=selby_fi@173-117-194-87.pools.spcsdns.net] has quit
[Read error: 60 (Operation timed out)]
07:13 -!- path[l] [n=path@59.162.86.164] has quit []
07:14 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts
07:16 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Connection timed out]
07:23 -!- gnibbler [n=duckman@124-168-36-155.dyn.iinet.net.au] has quit [Read
error: 60 (Operation timed out)]
07:24 -!- gnibbler [n=duckman@210-84-5-196.dyn.iinet.net.au] has joined #go-nuts
07:25 -!- exch [n=nuada@h144170.upc-h.chello.nl] has quit ["Lost terminal"]
07:25 -!- clip9 [n=tj@12.81-166-62.customer.lyse.net] has quit [Read error: 110
(Connection timed out)]
07:28 -!- trevor [n=trevor@70.142.37.108] has quit []
07:29 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
07:32 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit []
07:33 -!- mnky [n=mcfyang@pool-70-23-223-207.ny325.east.verizon.net] has quit
["Leaving."]
07:33 -!- rog [n=rog@89.241.197.228] has joined #go-nuts
07:34 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has joined #go-nuts
07:35 -!- samferry [i=sam@unaffiliated/samferry] has joined #go-nuts
07:46 -!- Kashia [n=Kashia@port-92-200-189-162.dynamic.qsc.de] has quit [Read
error: 110 (Connection timed out)]
07:48 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
07:48 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
07:55 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has quit [Read error:
110 (Connection timed out)]
07:57 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:07 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Read error: 113 (No route
to host)]
08:07 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
08:07 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
08:11 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has joined
#go-nuts
08:13 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
08:14 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Read error: 110
(Connection timed out)]
08:19 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
08:25 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
08:25 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
08:36 -!- scoeri [n=jdekoste@soft.vub.ac.be] has quit [Read error: 110 (Connection
timed out)]
08:40 -!- sebastiandeutsch [n=sebastia@dslb-084-060-121-145.pools.arcor-ip.net]
has joined #go-nuts
08:41 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
08:41 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
08:53 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has joined #go-nuts
08:55 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has joined #go-nuts
08:56 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has quit [Remote closed
the connection]
08:57 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
08:59 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
09:00 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:00 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has joined #go-nuts
09:04 -!- gnibbler [n=duckman@210-84-5-196.dyn.iinet.net.au] has quit [Read error:
60 (Operation timed out)]
09:04 -!- gnibbler [n=duckman@124-168-113-18.dyn.iinet.net.au] has joined #go-nuts
09:06 -!- raichoo [n=raichoo@arbeitstier.dhcp.uni-bielefeld.de] has joined
#go-nuts
09:18 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
09:18 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:21 -!- aho [n=nya@e176236212.adsl.alicedsl.de] has joined #go-nuts
09:22 -!- ako [n=nya@f052214226.adsl.alicedsl.de] has joined #go-nuts
09:29 -!- aho [n=nya@e176236212.adsl.alicedsl.de] has quit [Read error: 60
(Operation timed out)]
09:30 -!- GeoBSD [n=geobsd@lns-bzn-59-82-252-150-12.adsl.proxad.net] has joined
#go-nuts
09:31 -!- sebastiandeutsch [n=sebastia@dslb-084-060-121-145.pools.arcor-ip.net]
has quit []
09:33 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
09:35 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:36 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
09:37 -!- mssm [n=mssmfs@ip-95-221-77-0.bb.netbynet.ru] has joined #go-nuts
09:41 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["Computer has gone to sleep"]
09:43 < zeroXten> is something like this possible: 'make(map[string]
vector.StringVector)'?
09:43 -!- triplez [n=triplez@bb116-14-27-194.singnet.com.sg] has quit []
09:43 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has joined #go-nuts
09:46 -!- raichoo1 [n=raichoo@arbeitstier.dhcp.uni-bielefeld.de] has joined
#go-nuts
09:48 -!- Kashia [n=Kashia@port-92-200-123-193.dynamic.qsc.de] has joined #go-nuts
09:52 -!- JohnDoe365 [n=JohnDoe3@193.171.58.27] has joined #go-nuts
09:53 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
09:53 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:55 < zeroXten> or, how do i create a map of stringvectors?
10:00 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has joined #go-nuts
10:01 -!- iwikiwi [n=iwikiwi@202.3.77.129] has joined #go-nuts
10:02 -!- chickamade [n=chickama@222.254.0.77] has joined #go-nuts
10:03 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit
["Rockin’ music will set you free."]
10:03 < trevor> zeroXten: I don't see why that wouldn't work.  You may have
to remove the space after the ]
10:07 -!- raichoo [n=raichoo@arbeitstier.dhcp.uni-bielefeld.de] has quit [Read
error: 110 (Connection timed out)]
10:08 -!- gnibbler [n=duckman@124-168-113-18.dyn.iinet.net.au] has quit [Read
error: 60 (Operation timed out)]
10:09 -!- gnibbler [n=duckman@124-168-74-63.dyn.iinet.net.au] has joined #go-nuts
10:09 < zeroXten> i think i've worked it out: make(map[string]
*vector.StringVector)
10:09 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
10:10 < zeroXten> ahh...  can move the deferences elsewhere :)
10:10 < zeroXten> hmmm..  the choices
10:10 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has left #go-nuts ["Ex-Chat"]
10:12 -!- chickamade [n=chickama@222.254.0.77] has quit ["Leaving"]
10:20 -!- gnibbler_ [n=duckman@124-148-136-244.dyn.iinet.net.au] has joined
#go-nuts
10:28 < rog> zeroXten: there's no reason why you need it to be a pointer
10:28 < rog> map[string] vector.StringVector should work fine
10:28 < rog> oops
10:28 < rog> no, you're right
10:29 < rog> (assuming you want to modify the vectors...)
10:30 -!- scoeri [n=jdekoste@progwww.vub.ac.be] has joined #go-nuts
10:31 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
10:32 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
10:32 -!- gnibbler [n=duckman@124-168-74-63.dyn.iinet.net.au] has quit [Read
error: 101 (Network is unreachable)]
10:33 -!- gnibbler [n=duckman@124-168-9-228.dyn.iinet.net.au] has joined #go-nuts
10:35 -!- raichoo1 [n=raichoo@arbeitstier.dhcp.uni-bielefeld.de] has quit
["Leaving."]
10:37 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit ["WeeChat 0.3.0"]
10:45 -!- gnibbler_ [n=duckman@124-148-136-244.dyn.iinet.net.au] has quit [Read
error: 113 (No route to host)]
10:52 -!- scoeri [n=jdekoste@progwww.vub.ac.be] has quit [Read error: 60
(Operation timed out)]
10:53 -!- sebastiandeutsch [n=sebastia@mue-88-130-66-109.dsl.tropolys.de] has
joined #go-nuts
10:55 -!- sebastiandeutsch [n=sebastia@mue-88-130-66-109.dsl.tropolys.de] has left
#go-nuts []
10:58 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
11:00 < zeroXten> seems to work rog...  i'm not a c coder, so half of my
coding is blind luck ;)
11:01 -!- triplez [n=triplez@124.155.195.6] has joined #go-nuts
11:04 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has quit [Read error:
110 (Connection timed out)]
11:06 < rog> this is off topic, i'm afraid (but related to some go
development): does anyone know if it's possible to find out the character offset
of a mouse click in an element of an html page?
11:10 -!- alc [n=alc@114.245.250.189] has quit ["Leaving..."]
11:12 < Kashia> using javascript to modify the text, wrapping each character
in a div+#id
11:13 < Kashia> would be an idea at least ;)
11:13 < rog> hmm.  i was hoping that would be unnecessary
11:15 < rog> it's for godoc - so that if you click on an identifier in some
go code, it takes you to the definition of that identifier
11:19 < Kashia> well, nice usecase for syntax highlighting :)
11:19 < Kashia> (which would then wrap the syntactic elements in divs)
11:22 -!- iwikiwi [n=iwikiwi@202.3.77.129] has quit ["I ascend to reality!"]
11:24 -!- aho [n=nya@f052214226.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
11:26 < rog> yeah - i was hoping to go the very easy route to start with,
just to do a proof-of-concept
11:26 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
11:29 -!- gnibbler_ [n=duckman@124-168-39-213.dyn.iinet.net.au] has joined
#go-nuts
11:30 -!- Kashia [n=Kashia@port-92-200-123-193.dynamic.qsc.de] has quit ["This
computer has gone to sleep"]
11:30 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [Read error:
113 (No route to host)]
11:33 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has quit [Read error:
60 (Operation timed out)]
11:34 < zeroXten> i'm guessing "throw: malloc/free - deadlock" isn't a good
thing ;)
11:34 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
11:35 < zeroXten> hmm, seems to be because i built it as 386 not amd64
11:39 -!- bluszcz [n=bluszcz@78.47.74.144] has quit [Remote closed the connection]
11:41 -!- gnibbler [n=duckman@124-168-9-228.dyn.iinet.net.au] has quit [Read
error: 101 (Network is unreachable)]
11:42 < zeroXten> ahh...  pebkac
11:46 -!- alc [n=alc@222.128.146.168] has joined #go-nuts
11:50 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
11:51 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
11:54 < taruti> Is there currently any way of debugging a go executable?
11:56 < taruti> e.g.  dumping all function calls + arguments to stderr would
be quite enough for me or anything (I think I found a bug in the standard library
and am looking for a way to isolate it in the code)
11:56 -!- p0g0 [n=pogo@unaffiliated/p0g0] has joined #go-nuts
11:58 < jessta> taruti: you can stick a panic() in there somewhere
11:58 < jessta> taruti: I don't think the debugger works at the moment
11:58 < taruti> jessta: ok.  I'll just modify the standard library with
printfs for the moment
12:03 -!- tomestla [n=tom@AToulouse-151-1-61-209.w81-250.abo.wanadoo.fr] has
joined #go-nuts
12:10 -!- trevor [n=trevor@adsl-70-142-37-108.dsl.tul2ok.sbcglobal.net] has quit
[]
12:12 -!- JohnDoe365 [n=JohnDoe3@193.171.58.27] has left #go-nuts []
12:15 -!- mnky [n=mcfyang@151.202.84.80] has joined #go-nuts
12:18 -!- triplez [n=triplez@124.155.195.6] has quit [Read error: 104 (Connection
reset by peer)]
12:20 -!- olegfink [n=olegfink@snupt.com] has joined #go-nuts
12:21 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
12:21 -!- mnky [n=mcfyang@151.202.84.80] has quit ["Leaving."]
12:22 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Remote closed the
connection]
12:22 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
12:30 -!- iwikiwi [n=iwikiwi@202.3.77.129] has joined #go-nuts
12:35 -!- lmoura [n=lauromou@200.184.118.130] has joined #go-nuts
12:37 -!- kanru [n=kanru@61-228-159-212.dynamic.hinet.net] has joined #go-nuts
12:38 -!- iwikiwi [n=iwikiwi@202.3.77.129] has quit ["I ascend to reality!"]
12:38 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
12:39 -!- wobsite [n=wobsite_@pool-96-237-162-24.bstnma.fios.verizon.net] has
joined #go-nuts
12:41 -!- p0g0 [n=pogo@unaffiliated/p0g0] has quit [Connection timed out]
12:42 -!- freespace [i=foobar@72.232.203.85] has quit [Read error: 110 (Connection
timed out)]
12:42 -!- p0g0 [n=pogo@unaffiliated/p0g0] has joined #go-nuts
12:49 -!- p0g0 [n=pogo@unaffiliated/p0g0] has quit [Read error: 60 (Operation
timed out)]
12:49 -!- p0g0 [n=pogo@unaffiliated/p0g0] has joined #go-nuts
12:49 -!- nf_ [n=nf@124-168-187-79.dyn.iinet.net.au] has joined #go-nuts
12:50 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
12:51 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts
12:51 -!- nf [n=nf@124-168-153-30.dyn.iinet.net.au] has quit [Read error: 101
(Network is unreachable)]
12:57 -!- syd [n=sydcogs@118.127.19.220] has quit [Remote closed the connection]
12:57 -!- sdhivya [n=sdhivya@nat/novell/x-fephknetjiqqxbju] has joined #go-nuts
12:58 -!- mward [n=mward@130.sub-75-206-224.myvzw.com] has joined #go-nuts
12:59 -!- sdhivya [n=sdhivya@nat/novell/x-fephknetjiqqxbju] has quit [Client Quit]
13:00 -!- DerHorst [n=Horst@e176099177.adsl.alicedsl.de] has joined #go-nuts
13:00 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
13:01 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has joined #go-nuts
13:01 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
13:02 -!- plainhao [n=plainhao@mail.xbiotica.com] has joined #go-nuts
13:05 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts
13:06 < taruti> solved it :)
13:09 < wobsite> has anyone had any luck with the postgres bindings for go?
everything works for me until I try to run a compiled program, then it complains
about not finding pg.so
13:09 -!- nf_ [n=nf@124-168-187-79.dyn.iinet.net.au] has quit [Read error: 101
(Network is unreachable)]
13:11 -!- Alkavan [n=alkavan@87.68.159.171] has joined #go-nuts
13:11 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
13:11 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
13:15 < taruti> your missing the shared library required
13:17 -!- DerHorst [n=Horst@e176099177.adsl.alicedsl.de] has quit [Remote closed
the connection]
13:18 -!- crashR [n=crasher@codextreme.pck.nerim.net] has quit ["Leaving."]
13:20 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts
13:20 < wobsite> well, I got that much.  what I'm not sure about is how to
fix it.  I've got postgresql-libs installed.
13:21 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Remote closed the
connection]
13:25 < taruti> grah.  both parsing *and* decoding of asn.1 are broken :(
13:26 -!- tomestla [n=tom@AToulouse-151-1-61-209.w81-250.abo.wanadoo.fr] has quit
["Leaving."]
13:32 -!- wobsite [n=wobsite_@pool-96-237-162-24.bstnma.fios.verizon.net] has quit
["Leaving"]
13:32 < taruti> fixed the marshalling part already
13:38 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
13:38 -!- scoeri [n=jdekoste@134.184.43.1] has joined #go-nuts
13:40 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
13:41 < rog> anyone here used the go http package?
13:41 < rog> taruti: you really don't wanna use asn.1
13:41 -!- Ryan__ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit ["crashed"]
13:41 < rog> taruti: (unless you need to for interoperability)
13:42 < taruti> rog: why?  have used it in the past in other languages and
it works quite nicely with suitable libraries and DER.
13:43 < rog> taruti: there are nicer formats
13:44 < scoeri> does anyone here know how to make true type synonyms?  if I
declare "type OBJ_TYPE *OBJ" I can no longer use the methods of type "*OBJ" on a
variable of type OBJ_TYPE
13:44 < taruti> rog: like what standardized nicer formats?
13:45 < rog> scoeri: you can't
13:45 < taruti> and for unstandardized ones none of thrift, ICE, protobuf,
XDR, ...  is supported in Go at the moment.
13:45 < rog> taruti: does it matter that it's standardised?  what about gob?
13:45 < scoeri> rog: so that means i have to write *OBJ everywhere :(
13:46 < rog> scoeri: yup
13:46 < taruti> rog: afaik the gob format is not guaranteeded to be stable?
13:46 < rog> taruti: nothing in go is guaranteed to be stable...
13:47 < rog> taruti: protobufs should work ok
13:47 < rog> taruti: at least they'll have been well tested at google...
13:47 < taruti> but gob 1) is not inspectable by other tools (e.g.  network
protocol analyzers), 2) may change at any moment (bad for writing files on disk
too)
13:47 < taruti> rog: the Go protobuf code is not released.
13:48 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
13:48 < dho> CodeBlock: hi
13:49 < rog> hmm.  i thought i'd seen protobufs in go
13:49 < taruti> rog: there is google internal code for protobufs but it is
not publicly released.
13:49 < dho> CodeBlock: No, Go running on NetBSD isn't possible at the
moment, and it will likely not work with gccgo either.
13:50 < dho> CodeBlock: I used to work with tls@netbsd.org and spoke with
him yesterday; he seemed to be somewhat interested in creating a NetBSD port.  So
maybe we'll see one soon.
13:50 < dho> It is not terribly hard to port.
13:51 < rog> taruti: i imagine that if they do change the gob format,
they'll do it in a way that is either backward compatible or easily convertible
13:52 < taruti> rog: it sounds very much like reinventing the wheel
13:52 < taruti> DER is not that bad, and is quite widely used and supported.
13:53 < rog> taruti: well, if you write your program in the right way, it
won't matter what encoding you use - you can change it later
13:55 -!- mward [n=mward@130.sub-75-206-224.myvzw.com] has quit [Read error: 110
(Connection timed out)]
13:55 < rog> i'm not over familiar with asn.1 (mostly through the swearing
of the person on the next desk implementing it) but it doesn't seem to provide for
any means of forward- or backward-compatibility.
13:56 < rog> i.e.  if you add a new field to a struct, your protocol will
break.
13:56 < rog> ...  or maybe not?
13:56 < taruti> rog: actually one can have forward and backward compatiblity
with ASN.1 if one makes things sensibly.
13:56 < dho> nah
13:56 < dho> ASN.1 is a fucking disaster, but it has ways to cope with that
13:57 < dho> (having implemented an entire snmp mib :( heh)
13:57 < rog> dho: maybe you can tell taruti what protocol he should be using
from Go...  :-)
14:01 < dho> well, there is an asn1 package that supports DER in go already
14:02 < rog> apparently it's broken.  and...  is that really a preferred
encoding format?
14:02 < dho> of the available ones, sure
14:02 < dho> s/available/existing/
14:02 < dho> maybe
14:02 < dho> what's broken about it
14:04 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
14:05 < rog> taruti said above: "grah.  both parsing *and* decoding of asn.1
are broken :("
14:05 < rog> dunno how though
14:09 < taruti> dho: I submitted a fix to the marshalling already, but
marshalling+unmarsshing e.g.  type Foo struct { S string; A, B int }; fail (seems
to be related to the string type structures with only ints are decoded fine and
the marshalled value is ok)
14:09 < taruti> *fails
14:10 < taruti> +- proper english
14:12 -!- Kibiz0r1 [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has joined
#go-nuts
14:17 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has quit [Read error: 104
(Connection reset by peer)]
14:23 -!- samferry [i=sam@unaffiliated/samferry] has quit [Read error: 60
(Operation timed out)]
14:24 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has joined #go-nuts
14:27 -!- mward [n=mward@chml01.drwholdings.com] has joined #go-nuts
14:29 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
14:29 < taruti> issues 515 and 516 filed for that.
14:40 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
14:40 -!- triplez [n=triplez@203.116.22.138] has joined #go-nuts
14:48 < taruti> relooking at gob, is it safe for communicating with
untrusted peers?
14:52 -!- XenoPhoenix [i=Xeno@cpc3-aztw22-2-0-cust104.aztw.cable.virginmedia.com]
has quit [Read error: 104 (Connection reset by peer)]
14:53 -!- XenoPhoenix [i=Xeno@cpc3-aztw22-2-0-cust104.aztw.cable.virginmedia.com]
has joined #go-nuts
14:56 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
15:02 -!- usa [n=usa@pool-71-116-81-237.snfcca.dsl-w.verizon.net] has joined
#go-nuts
15:13 -!- codedread [i=180dd699@gateway/web/freenode/x-ykaabnlxicoahdcw] has
joined #go-nuts
15:14 -!- codedread [i=180dd699@gateway/web/freenode/x-ykaabnlxicoahdcw] has left
#go-nuts []
15:16 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
15:17 -!- preflex [n=preflex@95-88-118-220-dynip.superkabel.de] has quit [Read
error: 60 (Operation timed out)]
15:22 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has joined #go-nuts
15:24 -!- preflex [n=preflex@95-88-118-220-dynip.superkabel.de] has joined
#go-nuts
15:24 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
15:25 -!- Wiz126 [i=Wiz126@72.20.219.169] has quit []
15:29 -!- triplez [n=triplez@203.116.22.138] has quit [Read error: 113 (No route
to host)]
15:33 -!- triplez [n=triplez@203.116.22.138] has joined #go-nuts
15:34 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Read error: 60 (Operation timed out)]
15:36 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
15:41 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
110 (Connection timed out)]
15:44 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Remote
closed the connection]
15:48 -!- Kindred [n=squirt@obscured.x6b.org] has quit [Read error: 60 (Operation
timed out)]
15:48 -!- Kindred [n=squirt@obscured.x6b.org] has joined #go-nuts
15:49 -!- pshahmumbai [n=prashant@59.164.25.170] has joined #go-nuts
15:54 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
15:58 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
16:01 -!- abiosoft [n=ibrahim@41.219.227.151] has joined #go-nuts
16:03 < CodeBlock> dho: hopefully we'll see one, as I said I was asking for
a friend who uses netbsd, (I use free, so I'm not affected), but it would be nice
to be able to code Go with him ;)
16:04 < bortzmeyer> Yes, I would like to have Go on my NetBSD boxes as well.
Today, the only way seems to compile gcc and gccgo, no?
16:05 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has quit ["awaaaay"]
16:05 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has quit [Read error: 104
(Connection reset by peer)]
16:05 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has joined #go-nuts
16:07 -!- triplez [n=triplez@203.116.22.138] has quit [Read error: 104 (Connection
reset by peer)]
16:10 -!- kanru [n=kanru@61-228-159-212.dynamic.hinet.net] has quit ["WeeChat
0.3.0"]
16:11 < bortzmeyer> http://www.getwebgo.com/tutorial: 500 - Internal Server
Error // Bad demo :-)
16:13 -!- germ13 [n=germ13@cpe-75-83-42-140.socal.res.rr.com] has joined #go-nuts
16:15 -!- triplez [n=triplez@124.155.195.7] has joined #go-nuts
16:15 -!- defmacro [n=memoize@beigetower/jaene] has joined #go-nuts
16:17 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has quit ["Leaving."]
16:18 -!- fgb1 [n=fgb@190.246.85.45] has joined #go-nuts
16:18 -!- fgb1 [n=fgb@190.246.85.45] has quit [Read error: 104 (Connection reset
by peer)]
16:19 -!- germ13 [n=germ13@cpe-75-83-42-140.socal.res.rr.com] has quit ["Ex-Chat"]
16:21 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
16:24 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 60 (Operation timed
out)]
16:27 < dho> heh
16:27 < dho> CodeBlock: I'll ask thor how serious he was
16:29 < dho> CodeBlock: do either of you have an interest in porting it?  I
can help.  Thor doesn't have oodles of free time.
16:31 -!- idea_squirrel [n=ct2rips@77-21-26-167-dynip.superkabel.de] has joined
#go-nuts
16:31 -!- triplez [n=triplez@124.155.195.7] has quit []
16:32 -!- defmacro [n=memoize@beigetower/jaene] has left #go-nuts []
16:33 < reggna> Is this channel just for the development of Go or can I ask
stupid questions about the Go syntax in here?
16:33 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
16:33 < dho> `yes'
16:34 < reggna> Yes what?  On the first or the second question?  :P
16:34 -!- trickie [n=trickie@94.100.112.225] has quit ["outty"]
16:34 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit []
16:34 -!- abiosoft1 [n=ibrahim@41.219.230.1] has joined #go-nuts
16:35 -!- codedread [i=180dd699@gateway/web/freenode/x-hokorymfihswoxqi] has
joined #go-nuts
16:36 -!- codedread [i=180dd699@gateway/web/freenode/x-hokorymfihswoxqi] has left
#go-nuts []
16:37 < abiosoft1> how can I manage http sessions in go
16:38 -!- abiosoft [n=ibrahim@41.219.227.151] has quit [Read error: 110
(Connection timed out)]
16:39 < dho> reggna: both :P
16:39 < reggna> dho: Ah, nice.  :)
16:41 < dho> thanks for ruining the joke :(
16:42 -!- pshahmumbai [n=prashant@59.164.25.170] has quit [Read error: 104
(Connection reset by peer)]
16:42 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
16:45 < reggna> No worries, now I know exactly who to direct my questions
to..  ;)
16:45 < dho> No problem, expect a lot of smarmy replies ;)
16:46 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined
#go-nuts
16:48 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:51 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
16:52 -!- Kibiz0r1 [n=Adium@wndsnyhed01-pool1-a130.wndsny.tds.net] has quit
["Leaving."]
16:56 -!- fifoman [n=fifoman@p4FCC5C94.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
16:57 -!- fifoman [n=fifoman@p4FCC55E1.dip.t-dialin.net] has joined #go-nuts
16:57 -!- pshahmumbai [n=prashant@59.164.25.170] has joined #go-nuts
16:59 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
17:02 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
17:04 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
17:08 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
17:12 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read
error: 104 (Connection reset by peer)]
17:12 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
17:17 -!- Kibiz0r1 [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
joined #go-nuts
17:18 < skelterjohn> morning
17:18 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has left #go-nuts []
17:18 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
17:18 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has left #go-nuts []
17:19 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
17:19 -!- Kibiz0r1 [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit
[Client Quit]
17:19 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
17:19 -!- skerner_ [n=skerner@74.202.225.33] has joined #go-nuts
17:22 -!- Kashia [n=Kashia@port-92-200-123-193.dynamic.qsc.de] has joined #go-nuts
17:24 -!- kerozen [n=virgule@80.86.194.199] has quit [Remote closed the
connection]
17:24 -!- kerozen [n=virgule@d076.nexlink.net] has joined #go-nuts
17:25 -!- path[l] [n=path@122.182.0.38] has quit []
17:25 < dho> morning sir
17:25 -!- skerner_ [n=skerner@74.202.225.33] has left #go-nuts ["Leaving"]
17:26 < skelterjohn> how hard would it be to port go to the ps3 cell proc?
17:26 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
17:26 -!- tomestla [n=tom@AToulouse-151-1-23-69.w83-203.abo.wanadoo.fr] has joined
#go-nuts
17:26 < skelterjohn> it's already linux, but a new arch, obviously
17:26 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
17:26 < skelterjohn> i know you did the other way - same arch new os
17:29 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
17:30 -!- abiosoft1 [n=ibrahim@41.219.230.1] has left #go-nuts []
17:32 -!- skerner [n=skerner@74.202.225.33] has quit [Read error: 110 (Connection
timed out)]
17:34 -!- Alkavan [n=alkavan@87.68.159.171] has quit [Read error: 104 (Connection
reset by peer)]
17:34 -!- Alkavan [n=alkavan@87.68.78.13.cable.012.net.il] has joined #go-nuts
17:35 < dho> I don't know
17:35 < jhh> skelterjohn: have you ever done programming on a cell
processor?
17:36 < dho> skelterjohn: you'll have to create another Xc, Xa, Xg, and Xl
17:37 < jhh> I once ported a video codec to cell in the university.  I did
it in C and it was very verbose about what's done where and same for memory
management.
17:37 < skelterjohn> oh let me clear something up - this is not something i
could do :) just wondering how likely it is to happen
17:37 < skelterjohn> that kind of hacking is not my forte
17:37 < skelterjohn> it just seems like a really appropriate language for
the cell
17:38 < skelterjohn> what are Xc, Xa, etc?
17:39 < jhh> You have different executables depending on which of the cores
they are supposed to run and you have to send data over the bus because there is
no shared memory.
17:39 < dho> e.g 6g for cell
17:39 < dho> s/6/X/
17:39 < skelterjohn> oh gotcha
17:39 < skelterjohn> maybe if it used gcc for starters
17:39 < skelterjohn> i think gcc can compile for cell
17:39 < dho> gccgo ;)
17:39 < skelterjohn> yeah exactly
17:39 < dho> if it can, you can
17:40 < dho> gccgo is just a front-end
17:40 < jhh> then you probably just need bindings for the DMA transfers
17:41 < jhh> but I don't think you'd get the magic you expect
17:41 < dho> you should
17:41 < dho> gccgo uses pthreads
17:41 < skelterjohn> jhh: why is that?
17:41 < dho> it doesn't have any machine-specific code
17:41 < skelterjohn> not that i know what a DMA transfer is
17:42 < dho> dma = hardware -> addressable memory
17:42 < jhh> sending code and memory to the cores probably won'd work
automatically.  that's what i mean
17:42 -!- Soak [n=Soak@mst45-1-82-231-239-194.fbx.proxad.net] has joined #go-nuts
17:42 < dho> jhh: I don't understand why, if gcc supports it, gccgo supports
it
17:43 < dho> jhh: the `magic' of go in gcc is implemented on top of pthreads
17:43 < jhh> yes of course it would be possible, but not implicit
17:43 < jhh> ly
17:43 < dho> if those work on linux/cell, it should `just work' on
linux/cell
17:43 -!- bortzmeyer [n=stephane@central.sources.org] has joined #go-nuts
17:44 < jhh> i think you expect go routines to work on different cores or
something
17:44 < dho> In gccgo, that would be the case.
17:44 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
17:44 < dho> 1 goroutine = 1 thread
17:44 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
17:45 < dho> linux does 1:1 threading, ergo multiple cores
17:45 < jhh> the only thing that `just works' on cell is running code on the
PPE
17:46 < dho> Maybe I don't understand how the cell processor works.
Notionally, though, if the OS can utilize multiple cores, your program can utilize
multiple cores.
17:46 < jhh> running stuff on the SPEs means compiling code to a different
arch, sending the code there and sending the memory there.  and with c/gcc you do
that explicitly.  (the first even manually)
17:47 < dho> i guess I just don't understand how the cell processor works
then :)
17:47 < jhh> yeah it's not homogeniously like you're used to
17:48 < jhh> maybe a smart brain can get go implicitly running on all cores,
but it's certainly neither straight forward nor falling from the sky with gcc
17:50 * rog has managed to get godoc working so that clicking on any identifier
takes you to its definition...
17:51 < rog> you can try it out at http://morgy.homeip.net:6060:/
17:51 < rog> (very slow server!)
17:51 * skelterjohn tries it out
17:51 < jhh> maybe we should ask the mailing list.  there are probably
people who know more about cell than me with my bad experience.
17:51 -!- p4p4__ [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts
17:52 < rog> i'm sure it's still full of bugs, but the principle seems to
work
17:52 -!- sinuhe [n=user@97-117-67-167.slkc.qwest.net] has joined #go-nuts
17:52 < skelterjohn> clicking "string" just takes you to the top
17:52 < skelterjohn> maybe have it go to the lang spec?
17:53 < rog> skelterjohn: yup.  i should just make global identifiers not
turn into links
17:53 < rog> it's easy to do - i've only had it working for 10 mins or so
17:54 < CodeBlock> dho: well i've never really used netbsd - and my friend
is very new to it.  If it's anything like freebsd, then yeah I can help
17:55 < rog> BTW you can also see the interface that makes it possible - see
the go/lookup package
17:56 < skelterjohn> seems pretty slick, rog
17:56 < skelterjohn> once you're satisfied it's cleaned up you should
definitely try to get that into the distribution
17:56 < rog> ta
17:57 < rog> i will - only difficulty is it involves a significant change to
go/parser, and gri might not agree that it's the way to go...
17:58 < skelterjohn> that's what the review feedback is for :)
17:58 < rog> i've already got a pending code change from some time back.
17:59 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has joined #go-nuts
18:01 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
18:01 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 54 (Connection reset by peer)]
18:01 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
18:02 -!- tomestla [n=tom@AToulouse-151-1-23-69.w83-203.abo.wanadoo.fr] has quit
["Leaving."]
18:05 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
18:05 -!- sinuhe [n=user@97-117-67-167.slkc.qwest.net] has quit ["ERC Version 5.3
(IRC client for Emacs)"]
18:08 -!- sinuhe [n=user@dhcp188.openinternet.gurulabs.com] has joined #go-nuts
18:16 < rog> skelterjohn: there - i've changed it to know about predefined
identifiers
18:17 < skelterjohn> same thing happens for me still
18:17 < skelterjohn> i refreshed the page i'm clicking on, takes me to
?o=0#L0
18:17 < skelterjohn> went to one i hadn't visited before, too, in case it
was a cache issue
18:18 < rog> have you done that since i said the above?
18:18 < skelterjohn> yes
18:18 < rog> hmm
18:18 < skelterjohn> i'll try again
18:18 < rog> give me a sample URL
18:18 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
18:19 < skelterjohn>
http://morgy.homeip.net:6060/pkg/container/vector/#IntVector.Insert clicked on
"int", took me to ?o=0#L0
18:19 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
18:20 < rog> ah.
18:20 < rog> it works in the source files!
18:20 < skelterjohn> heh
18:20 < skelterjohn> you can browse source from the website?
18:20 < skelterjohn> oh sweet
18:21 -!- sobersabre [n=bilbo@85.64.34.22.dynamic.barak-online.net] has left
#go-nuts []
18:21 -!- sinuhe` [n=user@97-117-67-167.slkc.qwest.net] has joined #go-nuts
18:21 -!- tav_ [n=tav@78.147.5.123] has joined #go-nuts
18:22 -!- sinuhe [n=user@dhcp188.openinternet.gurulabs.com] has quit [Nick
collision from services.]
18:22 < rog> that's the best bit about this change
18:22 < rog> you can click on any identifier anywhere in any source file
18:24 -!- Demp_ [n=Demp@bzq-79-181-41-93.red.bezeqint.net] has joined #go-nuts
18:24 -!- Demp [n=Demp@bzq-79-181-41-93.red.bezeqint.net] has quit [Read error:
104 (Connection reset by peer)]
18:24 < rog> oops i've broken it
18:26 < rog> that's better
18:27 < skelterjohn> yep looks like that works now
18:28 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has quit [Client Quit]
18:29 -!- smooge [n=smooge@int.smoogespace.com] has quit ["-ENOBRAIN"]
18:29 -!- cthom06 [n=kaitlyn_@wsip-70-169-149-118.hr.hr.cox.net] has joined
#go-nuts
18:29 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has joined #go-nuts
18:33 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts
18:33 -!- tav [n=tav@78.149.250.236] has quit [Read error: 110 (Connection timed
out)]
18:34 -!- alc [n=alc@222.128.146.168] has quit []
18:34 -!- sinuhe [n=user@97-117-67-167.slkc.qwest.net] has quit [Read error: 104
(Connection reset by peer)]
18:35 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has joined
#go-nuts
18:36 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
18:36 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
18:41 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
18:42 < plexdev> http://is.gd/6534e by [Robert Griesemer] in 2 subdirs of
go/src/pkg/go/printer/ -- Partial work-around for gofmt bug.
18:42 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read
error: 110 (Connection timed out)]
18:43 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
18:45 -!- pshahmumbai [n=prashant@59.164.25.170] has quit ["Ex-Chat"]
18:49 -!- fgb [n=fgb@190.246.85.45] has quit ["Leaving."]
18:50 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has quit [Client Quit]
19:00 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
19:05 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
19:05 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
19:06 -!- tgall_foo [n=tgall@gentoo/developer/dr-who] has quit [Read error: 60
(Operation timed out)]
19:07 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
[Client Quit]
19:07 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
19:09 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has joined #go-nuts
19:09 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
19:12 -!- jacco [n=andares@c-76-111-39-93.hsd1.ga.comcast.net] has joined #go-nuts
19:12 -!- sebastiandeutsch [n=sebastia@i577B99F7.versanet.de] has joined #go-nuts
19:12 -!- jacco [n=andares@c-76-111-39-93.hsd1.ga.comcast.net] has quit [Client
Quit]
19:13 < sebastiandeutsch> I tried eden lis mysqlgo to connect to a mysql
database.  the example works, but my own query yields a segmentation violation.
Are there any other mysql wrappers?
19:15 < dagle> sebastiandeutsch:
http://code.google.com/p/mysql-connector-go/ ?
19:16 < dagle> I think it's a raw implemtation and not a wrapper.
19:17 < sebastiandeutsch> dagle: thx
19:19 -!- joeatwork [n=joeatwor@209.60.160.146] has joined #go-nuts
19:19 -!- Alkavan [n=alkavan@87.68.78.13.cable.012.net.il] has quit ["Leaving"]
19:21 < joeatwork> Does anyone have a minute?  I've got a sort of puzzling
compile error, I'm not sure how to interpret it
19:22 < joeatwork> The error is: "fatal error: nodarg: offset not computed
for int32"
19:22 < joeatwork> Here's some code to reproduce
19:22 < joeatwork> http://gopaste.org/view/D2It6
19:22 < joeatwork> Anyone seen something like this before?
19:27 < sebastiandeutsch> dagle: when I try to compile the connector i get
mysql/packets.go:159: syntax error near 0x00
19:27 < sebastiandeutsch> ;-(
19:28 < jhh> joeatwork: i cannot reproduce the error
19:28 < joeatwork> That's probably good news, perhaps I'm doing something
screwy elsewhere.
19:28 < jhh> you mean at compile time, right?
19:28 < joeatwork> Have you ever encountered the "offset not computed"
error?
19:28 < joeatwork> Yeah, it's during compile
19:29 < plexdev> http://is.gd/65bgP by [David Symonds] in 2 subdirs of go/
-- Replicate signal names from syscall in os/signal.
19:29 < plexdev> http://is.gd/65bgY by [Russ Cox] in go/src/pkg/math/ --
math: fix pow10 comment, test portable Sqrt
19:29 < jhh> joeatwork: http://gopaste.org/view/BL7v4 works for me
19:29 < joeatwork> Great news!
19:30 < joeatwork> What version are of the compiler are you using?  (I'm
using the latest release version, but I'm not married to it)
19:30 < jhh> i updated yesterday or so
19:30 < jhh> should be pretty recent
19:30 < jhh> 6g
19:31 < joeatwork> I'll update to the latest and greatest (I've been
sticking with the release) and see how it goes.  Thank you so much for your help!
19:31 < jhh> no worries
19:33 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
19:40 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
19:40 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit []
19:42 -!- aho [n=nya@f052214226.adsl.alicedsl.de] has joined #go-nuts
19:44 -!- cthom06 [n=kaitlyn_@wsip-70-169-149-118.hr.hr.cox.net] has left #go-nuts
[]
19:48 -!- skerner_ [n=skerner@74.202.225.33] has joined #go-nuts
19:49 < sebastiandeutsch> btw:
http://github.com/thoj/Go-MySQL-Client-Library works fine
20:01 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
60 (Operation timed out)]
20:01 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has quit [Remote closed the
connection]
20:01 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has joined #go-nuts
20:02 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
20:08 -!- tgall_foo [n=tgall@gentoo/developer/dr-who] has joined #go-nuts
20:09 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has quit ["Leaving."]
20:10 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has joined #go-nuts
20:10 -!- mbarkhau [n=koloss@p54A7F454.dip.t-dialin.net] has joined #go-nuts
20:10 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Remote
closed the connection]
20:13 -!- JSharpe2 [n=jamie@5adaeab4.bb.sky.com] has joined #go-nuts
20:16 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has quit ["Leaving."]
20:16 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has joined #go-nuts
20:27 -!- klooj
[n=kloojit@173-15-136-74-BusName-Philadelphia.hfc.comcastbusiness.net] has quit []
20:28 -!- JSharpe [n=jamie@5ad673ee.bb.sky.com] has quit [Read error: 110
(Connection timed out)]
20:30 -!- plainhao [n=plainhao@mail.xbiotica.com] has quit []
20:31 -!- joeatwork [n=joeatwor@209.60.160.146] has left #go-nuts []
20:38 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has quit ["Leaving."]
20:38 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has joined #go-nuts
20:39 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit ["Leaving"]
20:43 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
110 (Connection timed out)]
20:46 < plexdev> http://is.gd/65oOz by [Rob Pike] in go/src/pkg/math/ --
Clean up and make consistent the comments in the math package.
20:47 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has quit []
20:50 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
20:54 < happy_> can someone help me compile this?
http://pastebin.com/d70d10937 . I get syntax errors every time I try to use else
statements :-\
20:55 < skelterjohn> try "else if { ...  }" i think
20:55 < skelterjohn> there is some weirdness with not having blocks after an
else
20:56 < happy_> skelterjohn: I have done else if before and got that error
20:56 -!- idea_squirrel [n=ct2rips@77-21-26-167-dynip.superkabel.de] has quit ["zu
müde oder muss afk ...  suchs dir aus"]
20:56 < dho> you misunderstand.
20:56 < dho> you *must* write it as:
20:56 < dho> if x {
20:56 < dho> ...
20:56 < dho> } else {
20:56 < dho> ...
20:56 < dho> }
20:56 < happy_> ...
20:56 < happy_> } else { // important line?
20:57 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 104
(Connection reset by peer)]
20:57 -!- brixtonasias [n=stef@port-92-200-254-207.dynamic.qsc.de] has joined
#go-nuts
20:57 < dho> happy_: http://golang.org/doc/go_tutorial.html#tmp_32
20:57 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
20:57 < happy_> dho: it worked.  I am now getting more errors
20:57 < KirkMcDonald> The way the semicolon/newline thing was implemented
still annoys me.
20:57 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Read error: 54
(Connection reset by peer)]
20:58 < dho> happy_: good :)
20:58 -!- skerner [n=skerner@nat/google/x-hdmmtiureywjvtog] has joined #go-nuts
21:02 -!- selby_fiedler [n=selby_fi@174-145-25-159.pools.spcsdns.net] has joined
#go-nuts
21:02 < plexdev> http://is.gd/65rIb by [Robert Griesemer] in 4 subdirs of
go/src/ -- Remove -oldprinter flag from gofmt; all code is
21:02 < plexdev> http://is.gd/65rIl by [Yongjian Xu] in go/src/cmd/gc/ --
gc: clean opnames.h
21:03 -!- anoop [n=anoop@cpc1-sgyl2-0-0-cust250.sgyl.cable.virginmedia.com] has
joined #go-nuts
21:05 -!- anoop [n=anoop@cpc1-sgyl2-0-0-cust250.sgyl.cable.virginmedia.com] has
quit [Client Quit]
21:09 -!- mbarkhau1 [n=koloss@p54A7C08A.dip.t-dialin.net] has joined #go-nuts
21:09 -!- nf [n=nf@124-171-44-249.dyn.iinet.net.au] has joined #go-nuts
21:10 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
21:13 -!- selby_fi1dler [n=selby_fi@72-62-168-84.pools.spcsdns.net] has joined
#go-nuts
21:14 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
21:16 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the
connection]
21:16 -!- aho [n=nya@f052214226.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
21:19 < plexdev> http://is.gd/65uu5 by [Devon H. O'Dell] in go/src/cmd/cgo/
-- cgo: Make constants #define'd in C available to Go (as consts)
21:19 < plexdev> http://is.gd/65uui by [Bill Neubauer] in go/doc/ --
doc/contribute.html: change copyright year
21:25 < skelterjohn> so far today i have had maybe 2000 calories of mixed
nuts and mountain dew
21:26 < skelterjohn> possibly not good for me
21:26 < dho> s/ossi/roba
21:26 < dho> s/$/\//
21:27 < skelterjohn> s/possibly//
21:27 < skelterjohn> ?
21:27 < dagle> skelterjohn: Depends on how much you work out.
21:28 * dagle was running outside today for 50 min.
21:28 < dagle> -9 C here.
21:28 < dagle> Never going to do that again.  XD
21:28 < skelterjohn> when the university's rock gym is open, i climb twice a
week
21:28 < skelterjohn> but school is out of session :)
21:28 -!- selby_fiedler [n=selby_fi@174-145-25-159.pools.spcsdns.net] has quit
[Read error: 110 (Connection timed out)]
21:28 < dho> i need to get active
21:29 * dho went from like 165 to 200 over the last year :(
21:29 < sebastiandeutsch> is there a sleep function within go?
21:29 < skelterjohn> sebastiandeutsch: yes
21:29 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts
21:29 < sebastiandeutsch> skelterjohn: which package?
21:30 < skelterjohn> http://golang.org/search?q=sleep
21:30 < dho> http://golang.org/pkg/time/#Sleep
21:31 < dho> sleep != Sleep
21:31 < sebastiandeutsch> ahh
21:31 < sebastiandeutsch> Sleep helped
21:31 < dho> sort of difficult to follow from that search to that page
21:31 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has quit [Read error:
60 (Operation timed out)]
21:31 < skelterjohn> it asks if you meant "Sleep" :)
21:32 < dho> still too many links to follow
21:32 -!- c0nfl|ct [n=tiago@248-22.dial.nortenet.pt] has joined #go-nuts
21:32 * dho is listening to Hole circa 1994
21:32 < skelterjohn> i'm just in a snarky mood - some code isn't working
right
21:34 -!- mbarkhau [n=koloss@p54A7F454.dip.t-dialin.net] has quit [Connection
timed out]
21:40 < happy_> is there a place to learn how ...  methods work?  I want to
make one.
21:41 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Read error: 104
(Connection reset by peer)]
21:41 < KirkMcDonald> happy_: First it involves some basic knowledge of the
reflection interface.
21:41 -!- mbarkhau1 [n=koloss@p54A7C08A.dip.t-dialin.net] has quit ["Leaving."]
21:42 < happy_> KirkMcDonald: is the a place you can send me or a list of
places?
21:42 -!- c0nfl|ct [n=tiago@248-22.dial.nortenet.pt] has quit ["Saindo"]
21:43 < happy_> KirkMcDonald: I am just toying around with everything.  I
want to try and make a new version of path.Join that accepts infinite parts of the
path.
21:43 < KirkMcDonald> happy_: The language spec describes what kind of thing
a variadic argument gives you.  Then documentation for the reflect package
describes the rest.
21:43 < KirkMcDonald> s/Then/The/
21:43 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
21:43 < skelterjohn> happy_: if you work best by example, look at fmt.Printf
in http://golang.org/src/pkg/fmt/print.go
21:43 < happy_> ok, I will look up the reflex pkg.  I could not understand
the lang spec
21:43 < KirkMcDonald> happy_: Here is an example from some code I wrote:
http://code.google.com/p/optparse-go/source/browse/option.go
21:44 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
21:44 < KirkMcDonald> happy_: (The createOption function, that is.)
21:44 < KirkMcDonald> happy_: The 'args' argument is passed to that function
from a variadic function.
21:44 -!- mssm [n=mssmfs@ip-95-221-77-0.bb.netbynet.ru] has quit [Read error: 110
(Connection timed out)]
21:44 < happy_> KirkMcDonald: I was looking at Fprint :-\
21:45 < KirkMcDonald> Fprint works, also.
21:45 < KirkMcDonald> The key line, in any case, is: v :=
reflect.NewValue(a).(*reflect.StructValue)
21:45 -!- p4p4___ [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts
21:45 -!- p4p4__ [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
21:46 < KirkMcDonald> That is, it takes the interface{}, passes it through
the reflection API, and pulls out a dynamic struct value, whose fields can then be
used.
21:46 < happy_> KirkMcDonald: I was hoping there was an explination.  I will
check the reflect pkg and then ask some more questions.
21:46 -!- brixtonasias [n=stef@port-92-200-254-207.dynamic.qsc.de] has quit []
21:47 < sebastiandeutsch> can I force an object to be garbage collected?
21:47 < skelterjohn> sebastiandeutsch: for what purpose?
21:47 -!- JSharpe2 [n=jamie@5adaeab4.bb.sky.com] has quit [Connection timed out]
21:47 < sebastiandeutsch> I need to do mysql statements in a loop
21:48 -!- JSharpe2 [n=jamie@5adaeab4.bb.sky.com] has joined #go-nuts
21:48 < sebastiandeutsch> Oh no my problem lies in the library (not again)
21:53 -!- raichoo [n=raichoo@i577BB84D.versanet.de] has quit [Remote closed the
connection]
21:53 -!- tobel [n=tobel@79.220.145.179] has joined #go-nuts
21:54 -!- tobel [n=tobel@79.220.145.179] has quit [Client Quit]
21:55 < callidus> hummm, is there a way i can test to see if somthing is
trying to read from a channel ? i.e.  I have a channel and i want to know if
another go routine is waiting for me to write to it ?
21:57 < skelterjohn> as far as i know, the answer is no
21:57 < skelterjohn> and don't depend on this, but i think iant told me that
in a ML thread
21:59 < callidus> right ok, thanks skelterjohn
21:59 -!- |chachan| [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined
#go-nuts
21:59 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit [Read
error: 104 (Connection reset by peer)]
21:59 < skelterjohn> a deficiency, in my mind
22:00 < callidus> yes i think so too actually, having used stackless python
for example you can test the "wait" of a channel.  For every tasklet trying to
read it gained -1 and for every one trying to write to it +1.
22:00 < callidus> *weight not wait lol :-/ long day
22:02 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
22:03 < jhh> can i change code, upload it and reply to comments in the code
in the codereview app?
22:04 -!- p4p4___ [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Client Quit]
22:04 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has quit ["crashed"]
22:04 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
22:04 -!- skerner_ [n=skerner@74.202.225.33] has quit [Remote closed the
connection]
22:04 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:04 -!- tsung [n=jon@112.104.53.151] has quit [Read error: 104 (Connection reset
by peer)]
22:05 -!- Demp [n=Demp@bzq-79-179-1-219.red.bezeqint.net] has joined #go-nuts
22:06 -!- skerner_ [n=skerner@74.202.225.33] has joined #go-nuts
22:06 <+iant> there is no way to test whether something is waiting to read
from a channel without actually sending it data, and similarly there is no way to
test whether something is waiting to write to a channel without being prepared to
read data
22:06 -!- tsung [n=jon@112.104.53.151] has joined #go-nuts
22:06 -!- skerner_ [n=skerner@74.202.225.33] has left #go-nuts ["Leaving"]
22:07 <+iant> we could implement other functionality, but it would lead
directly to race conditions
22:09 < callidus> iant: right ok that makes things interesting, but i can
see the logic of it.
22:10 -!- Ryan_ [n=ryan@cpe-98-27-182-138.neo.res.rr.com] has joined #go-nuts
22:10 < callidus> hummm, im trying to spawn a go routine if one has not
already been spawned as the result of a previous operation.  If one has been
spawned it will be waiting to read on a channel.
22:11 -!- Demp_ [n=Demp@bzq-79-181-41-93.red.bezeqint.net] has quit [Read error:
60 (Operation timed out)]
22:12 < callidus> i can of course send to the channel i expect it to be
waiting on, but if nothing has yet to be spawned then this could deadlock.
22:13 < callidus> idealy the goroutine will be spawned by the first
operation, it will live untill it has no more work to do.  Other operations that
need to be performed while the goroutine is alive will be fead to it via a channel
22:13 < callidus> not too sure how exactly to create this though :-/
22:15 -!- bortzmeyer [n=stephane@central.sources.org] has quit ["Leaving."]
22:15 < Kashia> the 'once' package?
22:17 <+iant> func getChannelFactory func() chan int { var c chan int;
return func() chan int { if c == nil { c = make(chan int); go goroutineFunc(c) }
return c }
22:17 <+iant> that is one approach, anyhow
22:18 < callidus> ah i see, so the nil value of the channel is the flag to
say spawn a new goroutine
22:18 <+iant> yeah
22:18 <+iant> although there is a race condition there if the function can
be called from multiple goroutines
22:19 <+iant> the once package is also a good approach
22:19 -!- nutate [n=rseymour@cacsag4.usc.edu] has joined #go-nuts
22:20 < callidus> yes i was thinking that, idealy it would be called from
multiple goroutines.  Humm wrt once, the docs say "If multiple processes call
Do(f) simultaneously with the same f argument, only one will call f, and the
others will block until f finishes running."
22:21 <+iant> right
22:21 <+iant> so you can that to set up the channel and start the goroutine
22:21 < callidus> am i right in thinking that "simultaneusly" means a second
call to Do(f) before the first has compleated ?
22:21 <+iant> yes
22:21 <+iant> or on multicore it could be genuinely simultaneous
22:22 < callidus> indeed, that sounds like what im after, ill have a play,
thanks for the info :-)
22:27 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
22:30 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
110 (Connection timed out)]
22:34 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Remote closed the
connection]
22:36 -!- JSharpe2 [n=jamie@5adaeab4.bb.sky.com] has quit [Read error: 60
(Operation timed out)]
22:38 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:39 < callidus> hummm, will once.Do consider a function acting on a
differing receiver as a unique function when deciding to block ?
22:39 < skelterjohn> can you pass receiver functions as parameters now?  i
know that was a future item in the past...
22:40 < callidus> ah, maybe you cant even pass them then
22:40 < callidus> sorry, i was just trying to work it out in my head and
assumed you could
22:40 < skelterjohn> it's part of the language, but unimplemented in the
current system
22:40 < skelterjohn> i believe
22:41 -!- sebastiandeutsch [n=sebastia@i577B99F7.versanet.de] has quit []
22: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/"]
22:42 < callidus> humnm, ok, well i guess ill try it and see.  If not i can
go back to trying somthing with channels again
22:43 -!- sebastiandeutsch [n=sebastia@i577B99F7.versanet.de] has joined #go-nuts
22:46 < callidus> "tree.go:85: must call tmp.*Element·exclusiveVisit
22:46 < callidus> i guess thats a no to once.Do then ;-)
22:46 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit []
22:47 -!- ikke [n=ikke@unaffiliated/ikkebr] has joined #go-nuts
22:51 -!- OwlHuntr [n=dapopo@c-98-221-154-130.hsd1.nj.comcast.net] has joined
#go-nuts
22:51 -!- OwlHuntr [n=dapopo@c-98-221-154-130.hsd1.nj.comcast.net] has quit
[Client Quit]
22:53 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read
error: 110 (Connection timed out)]
22:59 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
22:59 -!- tomestla [n=tom@AToulouse-151-1-66-162.w81-49.abo.wanadoo.fr] has joined
#go-nuts
23:00 -!- skerner [n=skerner@nat/google/x-hdmmtiureywjvtog] has left #go-nuts
["Leaving"]
23:18 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
23:23 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:23 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
23:23 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
23:24 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
23:28 -!- mward_ [n=mward@242.sub-70-194-125.myvzw.com] has joined #go-nuts
23:33 -!- tomestla1 [n=tom@AToulouse-151-1-34-254.w83-203.abo.wanadoo.fr] has
joined #go-nuts
23:37 -!- tomestla [n=tom@AToulouse-151-1-66-162.w81-49.abo.wanadoo.fr] has quit
[Read error: 60 (Operation timed out)]
23:38 -!- selby_fi1dler [n=selby_fi@72-62-168-84.pools.spcsdns.net] has quit [Read
error: 104 (Connection reset by peer)]
23:39 -!- mward [n=mward@chml01.drwholdings.com] has quit [Read error: 110
(Connection timed out)]
23:48 -!- absurdhero [n=absurdhe@thales.strtok.net] has joined #go-nuts
23:54 -!- tomestla1 [n=tom@AToulouse-151-1-34-254.w83-203.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
--- Log closed Tue Jan 12 00:00:25 2010