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

--- Log opened Thu Jan 07 00:00:07 2010
--- Day changed Thu Jan 07 2010
00:00 < happy> dho: os.path makes is easy to make cross platform programs by
making it easy to edit paths
00:00 < dho> For example?
00:01 < happy> dho: for example.  os.path.join('an/example', 'path')
00:01 < happy> that gives different results depending on the os
00:01 -!- difekta [n=clays@75.101.111.19] has quit ["This computer has gone to
sleep"]
00:01 -!- mward [n=mward@239.sub-75-207-107.myvzw.com] has joined #go-nuts
00:01 < happy> on linux it would give an/example/path
00:01 < happy> on windows an/example\path
00:02 < dho> Don't think so; Windows support is just getting there
00:03 < dagle> Shouldn't be to hard to do something like that.
00:03 -!- mward [n=mward@239.sub-75-207-107.myvzw.com] has left #go-nuts []
00:03 < happy> dho: I know, but it also has other tools (in python).  One
function can extend directories
00:03 -!- mward [n=mward@239.sub-75-207-107.myvzw.com] has joined #go-nuts
00:03 < happy> one can make absolute paths
00:03 < happy> ect
00:04 < happy> these are easy to build, but it is much cleaner when the lang
knows what to do based on how it is compiled
00:05 < dho> needs implementing :)
00:05 < happy> lol
00:05 < happy> yep
00:08 -!- mward [n=mward@239.sub-75-207-107.myvzw.com] has quit []
00:15 -!- moraes_ [n=moraes@187.39.148.176] has joined #go-nuts
00:22 -!- mnky [n=mcfyang@pool-151-202-101-29.ny325.east.verizon.net] has joined
#go-nuts
00:25 -!- exDM69 [n=riku@entropy.fi] has quit [Read error: 110 (Connection timed
out)]
00:33 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
00:34 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
00:35 -!- moraes [n=moraes@187.39.148.176] has quit [Read error: 110 (Connection
timed out)]
00:41 -!- cbeck [n=phylum@host-244-95.pubnet.pdx.edu] has quit [Read error: 110
(Connection timed out)]
00:43 -!- iant [n=iant@nat/google/x-brkkiyjopfvpdlch] has quit [Read error: 110
(Connection timed out)]
00:45 < plexdev> http://is.gd/5PFJw by [Russ Cox] in go/src/pkg/time/ --
time: fix Makefile so deps.bash is happy (fixes build)
00:45 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts
00:51 -!- iant [n=iant@67.218.104.208] has joined #go-nuts
00:51 -!- mode/#go-nuts [+v iant] by ChanServ
00:54 -!- ikke [n=ikke@unaffiliated/ikkebr] has quit []
00:56 -!- mnky [n=mcfyang@pool-151-202-101-29.ny325.east.verizon.net] has quit
["Leaving."]
01:09 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit []
01:11 -!- smooge [n=smooge@int.smoogespace.com] has left #go-nuts ["-ENOCAFFEINE"]
01:15 -!- poppy_nogood [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has quit [Remote
closed the connection]
01:17 -!- poppy_nogood [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined
#go-nuts
01:21 -!- JBeshir [n=namegduf@82.27.24.89] has quit [Read error: 60 (Operation
timed out)]
01:24 -!- poppy_nogood [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has quit [Remote
closed the connection]
01:24 -!- poppy_nogood [n=rthc@rrcs-67-52-50-170.west.biz.rr.com] has joined
#go-nuts
01:25 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
01:25 -!- JBeshir [n=namegduf@86.24.30.164] has joined #go-nuts
01:27 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
01:28 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
01:32 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:34 -!- triplez [n=triplez@bb116-14-65-226.singnet.com.sg] has joined #go-nuts
01:44 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
01:45 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
01:48 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Remote closed the connection]
02:01 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit ["Computer
has gone to sleep"]
02:02 < plexdev> http://is.gd/5PPq5 by [Hector Chu] in 8 subdirs of
go/src/pkg/runtime/ -- Ported runtime to Windows.
02:02 < plexdev> http://is.gd/5PPqi by [Russ Cox] in go/src/pkg/ --
deps.bash: handle space between .go and \ in GOFILES=
02:03 -!- iant [n=iant@67.218.104.208] has quit [Read error: 110 (Connection timed
out)]
02:19 < plexdev> http://is.gd/5PRsb by [Russ Cox] in go/src/cmd/8c/ -- 8c:
only refer to extern register variables in MOVL instructions
02:19 < plexdev> http://is.gd/5PRsi by [Russ Cox] in go/src/ -- sync
make-arm.bash with make.bash
02:20 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
02:23 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Read error: 60
(Operation timed out)]
02:25 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has joined
#go-nuts
02:30 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
02:35 < plexdev> http://is.gd/5PTla by [Rob Pike] in go/src/pkg/io/ -- add a
standard interface that wraps ReadByte, io.ReadByter
02:38 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
02:38 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
02:39 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
02:49 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote closed the connection]
02:51 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has quit ["(
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"]
03:03 < jackman> So...
03:04 < jackman> I am gonna put together a superserver with Go.
03:04 < jackman> I'll have to call it GoD.
03:04 < jackman> :)
03:05 < Boggy-B> *rimshot*
03:09 -!- scm_ [i=justme@c210040.adsl.hansenet.de] has joined #go-nuts
03:11 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
03:11 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts
03:12 < Ycros> jackman: there's already a superserver that exists called
God, except it's written in Ruby
03:13 < Ycros> jackman: http://god.rubyforge.org/
03:13 -!- zohaib1020 [n=zohaib10@adsl-158-3-168.asm.bellsouth.net] has quit [Read
error: 104 (Connection reset by peer)]
03:15 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Client
Quit]
03:18 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
03:19 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
03:20 -!- eamesefe [n=chatzill@nat193.cataphora.com] has joined #go-nuts
03:21 -!- scm [i=justme@d019053.adsl.hansenet.de] has quit [Read error: 113 (No
route to host)]
03:28 < jackman> "We're Sorry but this Project hasn't yet uploaded their
personal webpage yet."
03:28 < jackman> (in response to god.sf.net)
03:29 < jackman> err...
03:29 < jackman> nm
03:29 < jackman> :(
03:29 < jackman> that page that was /really/ quoted is slick
03:29 < jackman> thanks!
03:31 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[]
03:37 < plexdev> http://is.gd/5Q0xT by [Russ Cox] in go/src/pkg/runtime/ --
runtime: close TODO now that 8c bug is fixed
03:37 < plexdev> http://is.gd/5Q0y5 by [Evan Shaw] in go/src/libmach/ --
libmach: Add disassembly for newly implemented opcodes
03:37 < plexdev> http://is.gd/5Q0yC by [Evan Shaw] in go/src/cmd/8g/ -- 8g:
float->uint64 conversion optimization
03:37 < plexdev> http://is.gd/5Q0zk by [Rob Pike] in go/test/bench/ --
update timing logs for benchmarks.
03:37 < plexdev> http://is.gd/5Q0A8 by [Rob Pike] in go/src/pkg/time/ --
make Format about twice as fast by removing allocations, using a bytes.Buffer
03:41 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
03:44 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
03:52 -!- amuck_ [n=amuck@h134.63.19.98.dynamic.ip.windstream.net] has joined
#go-nuts
03:53 -!- amuck [n=amuck@h126.64.88.75.dynamic.ip.windstream.net] has quit [Read
error: 110 (Connection timed out)]
04:06 -!- anticw [n=anticw@c-67-169-42-129.hsd1.ca.comcast.net] has joined
#go-nuts
04:07 -!- voluspa [n=voluspa@97-112-116-59.dlth.qwest.net] has joined #go-nuts
04:08 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:08 -!- mode/#go-nuts [+v iant] by ChanServ
04:13 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
04:13 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
04:16 -!- carllerche [n=carllerc@63.250.253.242] has joined #go-nuts
04:30 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has quit
[Remote closed the connection]
04:31 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
04:41 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 104 (Connection
reset by peer)]
04:42 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
04:43 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
04:49 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
05:00 -!- keeto [n=keeto@121.54.92.149] has quit ["http://keetology.com/"]
05:01 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Connection reset by
peer]
05:01 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Read error: 104
(Connection reset by peer)]
05:07 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
05:08 -!- keeto [n=keeto@121.54.92.149] has joined #go-nuts
05:09 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
05:09 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
05:16 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Remote closed the connection]
05:16 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
05:17 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
05:31 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
05:38 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
05:39 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
05:45 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined
#go-nuts
05:47 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
05:48 -!- slashus2_ [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined
#go-nuts
05:53 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has quit [Read
error: 60 (Operation timed out)]
06:06 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
06:15 -!- path[l] [i=UPP@120.138.102.34] has quit []
06:15 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
06:16 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
06:26 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
06:30 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has quit ["Leaving."]
06:30 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has joined #go-nuts
06:32 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has left #go-nuts []
06:33 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has joined #go-nuts
06:33 -!- JPascal [n=jpascal@95-27-10-120.broadband.corbina.ru] has joined
#go-nuts
06:43 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
06:44 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
110 (Connection timed out)]
06:46 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has quit []
06:46 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has joined #go-nuts
06:48 -!- JPascal [n=jpascal@95-27-10-120.broadband.corbina.ru] has quit
["Leaving."]
06:49 -!- fifoman [n=fifoman@p4FCC595B.dip.t-dialin.net] has joined #go-nuts
07:09 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
07:10 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
07:13 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
07:32 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
07:33 -!- trickie [n=trickie@94.100.112.225] has quit [Client Quit]
07:33 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts
07:39 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts
07:39 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:41 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [Client Quit]
07:41 -!- carllerche [n=carllerc@63.250.253.242] has quit [Read error: 60
(Operation timed out)]
07:42 -!- carllerche [n=carllerc@63.250.253.242] has joined #go-nuts
07:43 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit [Read
error: 54 (Connection reset by peer)]
07:44 -!- michael| [n=maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined
#go-nuts
07:44 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 104 (Connection reset by
peer)]
07:45 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
07:49 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit []
07:50 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
07:51 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
07:53 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:55 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
08:09 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
08:12 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
08:14 -!- illya77 [n=illya77@83-159-113-92.pool.ukrtel.net] has joined #go-nuts
08:26 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 110 (Connection timed out)]
08:30 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has joined #go-nuts
08:35 -!- carllerche [n=carllerc@63.250.253.242] has quit []
08:35 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
08:38 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has joined
#go-nuts
08:45 -!- voluspa [n=voluspa@97-112-116-59.dlth.qwest.net] has quit [Read error:
60 (Operation timed out)]
08:53 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"]
08:55 -!- Kashia [n=Kashia@84.171.69.102] has quit [Read error: 60 (Operation
timed out)]
08:56 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
08:57 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has joined #go-nuts
09:00 -!- Kashia [n=Kashia@p54AB7490.dip.t-dialin.net] has joined #go-nuts
09:04 -!- voluspa [n=voluspa@97-112-116-59.dlth.qwest.net] has joined #go-nuts
09:08 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:08 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
09:12 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection
reset by peer)]
09:13 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts
09:17 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 104 (Connection reset
by peer)]
09:22 -!- eno [n=eno@nslu2-linux/eno] has joined #go-nuts
09:25 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
09:26 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
09:29 -!- iwikiwi [n=iwikiwi@202.3.77.129] has joined #go-nuts
09:31 -!- chickamade [n=chickama@222.254.0.77] has joined #go-nuts
09:37 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error:
104 (Connection reset by peer)]
09:37 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts
09:38 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
09:39 -!- c0nfl|ct [n=tiago@83.240.182.216] has joined #go-nuts
09:39 -!- eamesefe_ [n=chatzill@nat193.cataphora.com] has joined #go-nuts
09:42 -!- eamesefe__ [n=chatzill@nat193.cataphora.com] has joined #go-nuts
09:42 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
09:42 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has joined
#go-nuts
09:43 -!- plux [i=plux@Psilocybe.Update.UU.SE] has quit [Read error: 110
(Connection timed out)]
09:43 -!- chickamade [n=chickama@222.254.0.77] has quit ["Leaving"]
09:43 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
09:48 -!- eamesefe [n=chatzill@nat193.cataphora.com] has quit [Read error: 60
(Operation timed out)]
09:48 -!- eamesefe_ [n=chatzill@nat193.cataphora.com] has quit [Read error: 60
(Operation timed out)]
09:49 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has quit [Read error: 60 (Operation timed out)]
09:50 -!- perdix [n=perdix@g227142101.adsl.alicedsl.de] has joined #go-nuts
09:50 -!- ghost10 [n=oladele@82.206.136.101] has joined #go-nuts
09:50 < ghost10> hello :)
09:52 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has joined #go-nuts
09:52 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has quit [Client Quit]
09:54 -!- Kashia [n=Kashia@p54AB7490.dip.t-dialin.net] has quit [Read error: 60
(Operation timed out)]
09:54 -!- Kashia [n=Kashia@84.171.116.144] has joined #go-nuts
09:59 -!- ghost10 [n=oladele@82.206.136.101] has left #go-nuts ["Leaving"]
10:00 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 110 (Connection timed out)]
10:03 -!- GoNoGo [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
10:03 -!- pshahmumbai [n=prashant@59.164.25.138] has joined #go-nuts
10:03 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit ["Leaving..."]
10:06 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has quit [Read
error: 60 (Operation timed out)]
10:14 -!- GoNoGo [n=penalva@pc115.pallas.cines.fr] has quit [Client Quit]
10:14 -!- GoNoGo [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
10:14 -!- GoNoGo [n=penalva@pc115.pallas.cines.fr] has quit [Remote closed the
connection]
10:17 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit ["WeeChat
0.3.1-dev"]
10:24 < jackman> hello :)
10:25 < happy> hi
10:26 -!- triplez [n=triplez@bb116-14-65-226.singnet.com.sg] has quit []
10:32 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
10:36 -!- GoNoGo [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts
10:50 -!- path[l] [n=path@59.162.86.164] has quit []
10:51 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
10:52 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts
10:56 -!- kaigan|work [n=kaigan@AAnnecy-158-1-87-56.w90-52.abo.wanadoo.fr] has
joined #go-nuts
10:56 -!- GeoBSD [n=geobsd@lns-bzn-59-82-252-132-211.adsl.proxad.net] has joined
#go-nuts
10:57 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
10:58 -!- iwikiwi [n=iwikiwi@202.3.77.129] has quit ["I ascend to reality!"]
10:59 -!- wobsite [n=wobsite@pool-96-237-162-24.bstnma.fios.verizon.net] has
joined #go-nuts
11:08 -!- iwikiwi [n=iwikiwi@202.3.77.129] has joined #go-nuts
11:08 -!- iwikiwi [n=iwikiwi@202.3.77.129] has quit [Client Quit]
11:09 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
11:10 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts
11:10 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection
reset by peer)]
11:13 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts
11:14 < rog> test
11:15 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
11:20 < jhh> rog: pong
11:30 -!- mertimor [n=meowtime@vpn-ce242019.extern.uni-duisburg-essen.de] has
joined #go-nuts
11:30 -!- kaigan|work [n=kaigan@AAnnecy-158-1-87-56.w90-52.abo.wanadoo.fr] has
quit []
11:31 -!- raichoo [n=raichoo@129.70.166.55] has joined #go-nuts
11:36 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts
11:44 -!- mssm [n=mssmfs@ip-95-221-115-70.bb.netbynet.ru] has joined #go-nuts
11:46 -!- mertimor_ [n=meowtime@vpn-ce242019.extern.uni-duisburg-essen.de] has
joined #go-nuts
11:48 -!- mertimor_ [n=meowtime@vpn-ce242019.extern.uni-duisburg-essen.de] has
quit [Client Quit]
11:55 -!- mertimor [n=meowtime@vpn-ce242019.extern.uni-duisburg-essen.de] has quit
[Read error: 110 (Connection timed out)]
11:56 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the
connection]
11:59 -!- wobsite [n=wobsite@pool-96-237-162-24.bstnma.fios.verizon.net] has quit
[Remote closed the connection]
12:02 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts
12:07 -!- iwikiwi [n=iwikiwi@202.3.77.129] has joined #go-nuts
12:11 -!- pshahmumbai [n=prashant@59.164.25.138] has quit ["Ex-Chat"]
12:25 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
12:25 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has quit ["See you..."]
12:27 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
12:27 -!- moraes_ [n=moraes@187.39.148.176] has quit ["Ex-Chat"]
12:30 -!- KillerX [n=anant@145-116-234-40.uilenstede.casema.nl] has joined
#go-nuts
12:31 < dagle> Why is it that vectors in general have a initsize at 8?
12:32 < rog> dagle: sounds like an arbitrary small amount to me, because
most vectors will hold <8 elements, so it saves on a reallocation
12:33 < dagle> rog: Go have initialSize = 8, think java does too.
12:33 < Kashia> see codereview 165078
12:35 < dagle> Kashia: It's more like why 8?
12:35 < Kashia> ah :)
12:35 < rog> why not?
12:36 < dagle> Why this magic number that everybody seems to use?
12:36 < Kashia> my guess is: small and a number which is a power of 2 ;)
12:36 < rog> maybe they did a test and surveyed all the uses of vector and
found that 99% were <= 8
12:36 < rog> or maybe they just guessed
12:40 < rog> it does seem a slight pity that the minimal space requirement
for an empty vector is 72 bytes
12:41 < Kashia> maybe something like Qt's CoW/implicit sharing could be used
12:42 < rog> not easily, in a multicore enviromment
12:42 < rog> s/mment/nment/
12:43 < Kashia> I guess one would need thread local storage...
12:44 < rog> that's the reason AFAIK why strings are immutable.  limbo has
mutable strings with COW, but it becomes a problem when you have parallelism
12:44 -!- moraes [n=moraes@187.39.148.176] has joined #go-nuts
12:45 * rog is trying to decide if thread local storage is sufficient
12:46 < Kashia> well, since goroutines might be hopping between threads..
unsure.
12:46 < rog> indeed
12:47 < rog> and the vector can hop between goroutines too
12:48 < Kashia> and the accounting overhead of touching every CoW structure
on hops..  you are right, not easy.
12:49 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
12:53 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
12:54 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
12:54 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 54 (Connection reset by
peer)]
12:55 < Kashia> Qt apparently uses atomic reference counting to handle that
problem...
12:57 < kevinwatt> > f, _ := os.Open("/tmp/XD",
os.O_WRONLY|os.O_CREATE|os.O_SYNC, 0644);n, _ = f.WriteString("にほんご\n");f.Close()
12:57 < rndbot> <Error: undefined: n, cannot assign to n>
12:58 -!- raichoo [n=raichoo@129.70.166.55] has quit ["Leaving."]
12:58 < kevinwatt> > f, _ := os.Open("/tmp/XD",
os.O_WRONLY|os.O_CREATE|os.O_SYNC, 0644);var n int; n, _ =
f.WriteString("にほんご\n");f.Close()
12:58 < Kashia> := not =
12:58 < rndbot> SIGSEGV: segmentation violation Faulting address: 0x0
PC=0x80496c1 os·*File·WriteString+0x32 /home/mgruen/code/go/safe/src/pk...
13:04 < kevinwatt> Just curious of the bot really has os module or not.  :P
13:04 -!- raichoo [n=raichoo@lain.dhcp.uni-bielefeld.de] has joined #go-nuts
13:09 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has joined
#go-nuts
13:15 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Read error: 110
(Connection timed out)]
13:17 < rog> Kashia: if you use atomic ref counting then almost every
assignment of a ref counted data structure needs to be interlocked
13:18 < rog> > os.Open("/tmp/XD", os.O_WRONLY|os.O_CREATE|os.O_SYNC,
0644)
13:18 < rndbot> <Error: illegal character 0xf>
13:18 < rog> > os.Open("/tmp/XD", os.O_WRONLY|os.O_CREATE|os.O_SYNC,
0644)
13:18 < rndbot> <no output>
13:19 < rog> > f, _ := os.Open("/tmp/XD",
os.O_WRONLY|os.O_CREATE|os.O_SYNC, 0644);fmt.Printf("%p\n", f)
13:19 < rndbot> <nil>
13:20 < rog> > f, _ := os.Open("/", os.O_RDONLY, 0); fmt.Printf("%p\n",
f)
13:20 < rndbot> <nil>
13:20 < rog> > _, err := os.Open("/", os.O_RDONLY, 0); fmt.Printf("%s\n",
err)
13:20 < rndbot> os.Open not allowed
13:20 < Kashia> huh
13:21 < Kashia> so atomic refs would lead to a drop in execution speed?
13:21 < rog> Kashia: yes - particularly on a multi core instance
13:22 < Kashia> I guess one would need to profile a large codebase on how it
behaves.  implicit sharing raising speed and atomic refs decreasing it again
13:22 -!- raichoo [n=raichoo@lain.dhcp.uni-bielefeld.de] has quit ["Leaving."]
13:23 -!- iwikiwi [n=iwikiwi@202.3.77.129] has quit ["I ascend to reality!"]
13:23 -!- perdix [n=perdix@sxemacs/devel/perdix] has left #go-nuts ["A cow.  A
trampoline.  Together they fight crime!"]
13:27 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
13:29 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
13:30 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
13:39 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
13:46 -!- abiosoft [n=ibrahim@82.206.136.101] has joined #go-nuts
13:47 < abiosoft> hello
13:50 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
13:52 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
13:56 < happy> hi
13:57 < abiosoft> hi
14:18 -!- alamu [n=ghost10@82.206.136.101] has joined #go-nuts
14:22 -!- vcgomes [n=vcgomes@li17-238.members.linode.com] has left #go-nuts
["Leaving"]
14:22 -!- moraes [n=moraes@187.39.148.176] has quit [Read error: 110 (Connection
timed out)]
14:23 -!- mward [n=mward@chml01.drwholdings.com] has joined #go-nuts
14:24 -!- alamu [n=ghost10@82.206.136.101] has quit ["Leaving"]
14:28 -!- mssm [n=mssmfs@ip-95-221-115-70.bb.netbynet.ru] has quit ["WeeChat
0.3.0"]
14:29 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
14:30 < scoeri> does anybody know if go has tail-call optimisations?
14:31 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
["Konversation terminated!"]
14:31 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
14:33 -!- alamu [n=ghost10@82.206.136.101] has joined #go-nuts
14:34 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit
["What the fruit is goin' on here!?"]
14:34 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined
#go-nuts
14:35 < scoeri> i guess not
14:35 -!- scarabx_ [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:36 < alamu> hello :)
14:37 < scoeri> hi
14:37 < happy> hi
14:37 <+iant> scoeri: 6g does not do tail call optimizations currently
except in some very limited cases; gccgo does do tail call optimizations
14:37 < alamu> @scoeri: it is nice to meet u s
14:40 < scoeri> iant: thx, I'll check gccgo then
14:41 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
14:42 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
14:45 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Read
error: 110 (Connection timed out)]
14:46 -!- DerHorst [n=Horst@e176115210.adsl.alicedsl.de] has joined #go-nuts
14:48 < dagle> Hmmm.  Would be cool if there was an interface for spawning
go routines on a OpenCL device.
14:50 < dho> opencl implements a kernel?
14:50 < rog> difficult if the binary's only compiled for one processor.
14:50 -!- reggna [n=reggna@213.114.163.91] has joined #go-nuts
14:51 < rog> does opencl share memory with the initiator?
14:52 < dho> i don't know
14:52 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
14:52 -!- ghost10 [n=ghost10@82.206.136.101] has joined #go-nuts
14:53 * dho is somewhat confused
14:53 < rog> from the eg on wikipedia, it looks like probably not
14:53 < dho> so opencl is a compiler
14:53 < rog> but i don't know anything about opencl
14:53 < dho> and language
14:54 < dho> http://www.khronos.org/opencl/sdk/1.0/docs/man/xhtml/
14:54 < dho> it's confusing is what it is :\
14:57 < rog> the intro doesn't make it clear, does it?
14:58 < rog> this gives a better idea:
http://www.khronos.org/files/opencl-quick-reference-card.pdf
14:59 -!- alamu [n=ghost10@82.206.136.101] has quit [Read error: 113 (No route to
host)]
14:59 < rog> pertinent to the original remark: clCreateProgramWithSource
15:01 -!- moraes [n=moraes@187.39.148.176] has joined #go-nuts
15:02 < dagle> Just thought it was cute if you could spawn a go routine just
as easy on a gpu as on a cpu.
15:02 < scoeri> iant: im reading the gccgo install guide and it says here
that garbage collection is not yet implemented
15:02 <+iant> scoeri: that is correct
15:03 < scoeri> if so, then there is not much use for tail-call optimisation
:)
15:03 <+iant> sure, this stuff is all still experimental
15:04 * dho goes to urgent care facility
15:04 < dho> yuck sick etc.
15:04 <+iant> sorry to hear that
15:04 < dho> thanks
15:04 < dho> bbiab
15:06 < rog> "bring beer in a bottle"?
15:06 < rog> :-)
15:08 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has quit ["awaaaay"]
15:13 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit [Read
error: 60 (Operation timed out)]
15:13 -!- raichoo [n=raichoo@i577B9286.versanet.de] has joined #go-nuts
15:18 -!- carllerche [n=carllerc@adsl-99-96-164-246.dsl.chcgil.sbcglobal.net] has
joined #go-nuts
15:24 -!- mertimor [n=mertimor@p578EDFE2.dip.t-dialin.net] has joined #go-nuts
15:26 -!- codedread [i=180dd699@gateway/web/freenode/x-dxsblfxkdzcpgzvp] has
joined #go-nuts
15:26 -!- codedread [i=180dd699@gateway/web/freenode/x-dxsblfxkdzcpgzvp] has left
#go-nuts []
15:27 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
15:27 -!- raichoo [n=raichoo@i577B9286.versanet.de] has quit ["Leaving."]
15:29 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
15:29 * zeroXten starts his first play with go
15:30 -!- c0nfl|ct [n=tiago@83.240.182.216] has quit ["Saindo"]
15:31 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit [Read
error: 60 (Operation timed out)]
15:34 -!- ghost10 [n=ghost10@82.206.136.101] has quit [Read error: 113 (No route
to host)]
15:45 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["Computer has gone to sleep"]
15:46 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
15:47 -!- cpach [n=FOO@c-e2a472d5.031-102-73746f34.cust.bredbandsbolaget.se] has
quit [Read error: 110 (Connection timed out)]
15:48 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
15:54 -!- illya77 [n=illya77@83-159-113-92.pool.ukrtel.net] has quit [Read error:
54 (Connection reset by peer)]
15:57 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has joined #go-nuts
15:58 < bortzmeyer> Mercurial server down?  hg pull -> 'pulling from
https://go.googlecode.com/hg/ \ abort: HTTP Error 400: Bad Request'
16:01 < scoeri> i dont have that problem
16:02 < scoeri> i just pulled and build the last release 5min ago
16:02 < jhh> working fine for me too
16:02 < bortzmeyer> OK, broken proxy.  Undefining http_proxy solved it
16:03 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has joined #go-nuts
16:03 -!- sinuh [n=user@hq-nat2.gurulabs.com] has joined #go-nuts
16:03 < scoeri> i have another problem, i updated 6g and now he can't find
the package "runtime" anymore
16:04 < scoeri> Environment.go:6: fatal error: can't find import: runtime
16:05 < jhh> i successfully recompiled everything seconds ago
16:08 -!- stalled [n=411@unaffiliated/stalled] has quit [Read error: 104
(Connection reset by peer)]
16:09 < zeroXten> hmm, can i just say that go is awesome
16:09 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
16:10 -!- abiosoft [n=ibrahim@82.206.136.101] has left #go-nuts []
16:11 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts
16:11 < scoeri> i dont think anyone will complain in this channel :)
16:13 < scoeri> what other language are you used of writing?
16:18 < moraes> go, go!
16:19 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
16:19 < zeroXten> mostly perl and bash, some ruby/python and c
16:19 < moraes> are there go games already?
16:19 < zeroXten> what would be a good way to parse a URL.RawQuery for
individual variable values?
16:20 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
16:20 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has quit [Client Quit]
16:20 < zeroXten> Fields i guess
16:21 -!- bortzmeyer [n=bortzmey@batilda.nic.fr] has quit ["Leaving."]
16:21 < dho> strings.Split?
16:21 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has joined #go-nuts
16:21 < dho> you might look at web.go
16:21 < dho> http://github.com/hoisie/web.go
16:25 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
16:25 -!- chachan [n=chachan@150.187.40.27] has joined #go-nuts
16:31 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."]
16:33 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts
16:33 -!- raichoo [n=raichoo@i577B9286.versanet.de] has joined #go-nuts
16:33 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 110
(Connection timed out)]
16:34 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 60 (Operation
timed out)]
16:35 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 60
(Operation timed out)]
16:39 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has quit
["Leaving."]
16:41 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit ["ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.14/2009090900]"]
16:41 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:42 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 110
(Connection timed out)]
16:46 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts
16:54 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
16:56 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 60
(Operation timed out)]
17:01 -!- mward [n=mward@chml01.drwholdings.com] has quit []
17:02 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
17:23 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
17:25 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
17:29 < zeroXten> regexp for substr?
17:30 -!- pshahmumbai [n=prashant@59.164.24.140] has joined #go-nuts
17:30 < plexdev> http://is.gd/5RHTz by [Robert Griesemer] in
go/src/pkg/unicode/ -- added some missing periods
17:37 -!- itrekkie [n=itrekkie@ip68-99-16-65.om.om.cox.net] has quit [Client Quit]
17:39 -!- path[l] [n=path@122.182.0.38] has quit []
17:43 -!- fhs [n=fhs@pool-72-89-203-117.nycmny.east.verizon.net] has quit
["leaving"]
17:43 < rog> anyone know if there is a way of recompiling the go source tree
without it doing a make clean first?
17:44 < dho> comment out the ./clean.bash in make.bash
17:44 < zeroXten> hmmm regexp is being a pain...  is there a substr?
17:44 < dho> no
17:45 < zeroXten> hmm, will have to do some crazy len stuff =/
17:45 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
17:46 < zeroXten> how do i convert a int to string?
17:46 < rog> dho: it'd be nice if it was possible to do without making a
local modification...
17:46 <+iant> zeroXten: strconv.Itoa
17:47 < zeroXten> ah thanks
17:47 < dho> rog: at some point i plan to replace the bash crap with
makefiles
17:47 < dho> rog: but the clean is there to get rid of possible improper
deps and stuff
17:48 < dho> i think
17:48 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
17:48 -!- KillerX [n=anant@145.116.234.40] has joined #go-nuts
17:48 < rog> dho: sure.  i had some weird redeclaration errors earlier which
were only solved with a make clean.  no dependencies had changed.
17:48 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the
connection]
17:55 < zeroXten> does regexp use preg or ereg?
17:56 < zeroXten> anything wrong with: ^([a-z]{16})[a-z]{32}$
17:56 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit ["Quitte"]
17:58 < zeroXten> bah, i'll use split instead
18:01 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit []
18:02 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
18:02 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
18:03 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
18:09 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
18:15 -!- voluspa [n=voluspa@97-112-116-59.dlth.qwest.net] has quit ["Leaving"]
18:18 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
18:19 -!- eno_ [n=eno@70.137.168.223] has joined #go-nuts
18:25 -!- selby_fiedler [n=selby_fi@207.47.25.122.static.nextweb.net] has joined
#go-nuts
18:28 -!- carllerche [n=carllerc@adsl-99-96-164-246.dsl.chcgil.sbcglobal.net] has
quit [Read error: 110 (Connection timed out)]
18:28 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
18:29 -!- chachan [n=chachan@150.187.40.27] has quit ["KVIrc Insomnia 4.0.0,
revision: , sources date: 20090520, built on: 2009/06/06 11:44:47 UTC
http://www.kvirc.net/"]
18:29 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 54
(Connection reset by peer)]
18:29 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
18:30 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 110 (Connection timed
out)]
18:31 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
18:32 -!- esm [n=esm@aperture.logic.net] has joined #go-nuts
18:35 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
18:39 -!- mward [n=mward@chml01.drwholdings.com] has joined #go-nuts
18:42 -!- chachan [n=chachan@150.187.40.27] has joined #go-nuts
18:43 -!- mward [n=mward@chml01.drwholdings.com] has quit [Client Quit]
18:44 -!- selby_fiedler [n=selby_fi@207.47.25.122.static.nextweb.net] has quit
[Read error: 60 (Operation timed out)]
18:44 -!- sevvie [n=seven@agaton.scsys.co.uk] has joined #go-nuts
18:49 -!- webbpa [n=chatzill@adsl-99-35-28-205.dsl.sfldmi.sbcglobal.net] has
joined #go-nuts
18:50 -!- irc_ [n=irc@209.17.191.58] has quit [Client Quit]
19:02 -!- kleinchris [n=kleinchr@project-ajax.de] has quit [Read error: 110
(Connection timed out)]
19:03 -!- gasreaa [n=atwong@nat/slide/x-cadcuyoenjtrqpyv] has joined #go-nuts
19:03 -!- gasreaa [n=atwong@nat/slide/x-cadcuyoenjtrqpyv] has left #go-nuts []
19:06 -!- irc [n=irc@209.17.191.58] has joined #go-nuts
19:07 -!- kleinchris [n=kleinchr@project-ajax.de] has joined #go-nuts
19:10 -!- carllerche [n=carllerc@adsl-99-96-164-246.dsl.chcgil.sbcglobal.net] has
joined #go-nuts
19:11 -!- pshahmumbai [n=prashant@59.164.24.140] has quit ["Ex-Chat"]
19:12 -!- diltsman [n=diltsman@76.8.194.226] has joined #go-nuts
19:17 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
19:23 -!- kleinchris [n=kleinchr@project-ajax.de] has quit [Read error: 110
(Connection timed out)]
19:41 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
19:42 < anticw> iant: are reads from maps considered sane w/o locking?
19:42 < anticw> s/sane/safe/
19:43 <+iant> anticw: yes, assuming that nothing can be writing to the map
at that time
19:47 < anticw> iant: that's no :)
19:48 <+iant> fair enough
19:49 -!- xkpe [n=xkpe@a213-22-204-138.cpe.netcabo.pt] has joined #go-nuts
19:50 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
19:53 -!- xkpe [n=xkpe@a213-22-204-138.cpe.netcabo.pt] has left #go-nuts
["Leaving"]
19:53 -!- mward [n=mward@chml01.drwholdings.com] has joined #go-nuts
19:59 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit ["Leaving"]
20:01 < clip9> what happens if a goroutine is wating for a channel.  and
that channel is closed in another goroutine?
20:02 -!- idea_squirrel [n=ct2rips@77-21-26-167-dynip.superkabel.de] has joined
#go-nuts
20:03 <+iant> clip9: a read will return with a zero value, a write will
simply return
20:03 < clip9> ok.  Thanks.
20:09 -!- r2p2 [n=billy@v32671.1blu.de] has quit [Remote closed the connection]
20:09 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
20:18 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has joined #go-nuts
20:19 -!- JSharpe2 [n=jamie@5ad93972.bb.sky.com] has quit [Read error: 110
(Connection timed out)]
20:23 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit []
20:25 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Connection timed out]
20:26 -!- chachan [n=chachan@150.187.40.27] has quit ["KVIrc Insomnia 4.0.0,
revision: , sources date: 20090520, built on: 2009/06/06 11:44:47 UTC
http://www.kvirc.net/"]
20:27 -!- JSharpe2 [n=jamie@5adaeabe.bb.sky.com] has joined #go-nuts
20:29 -!- selby_fiedler [n=selby_fi@207.47.25.122.static.nextweb.net] has joined
#go-nuts
20:31 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit ["Get
MacIrssi - http://www.sysctl.co.uk/projects/macirssi/"]
20:35 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has quit ["Quitte"]
20:36 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
20:37 -!- bortzmeyer [n=stephane@central.sources.org] has joined #go-nuts
20:40 < callidus> Hi, anyone here know much about any efforts towards go
graphics projects?  i.e.  OpenGL bindings ect?
20:41 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Read error: 104
(Connection reset by peer)]
20:41 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has joined
#go-nuts
20:43 <+iant> callidus: I think you can find some stuff at
http://go-lang.cat-v.org/
20:44 < callidus> iant: ok thanks :-)
20:44 -!- diltsman [n=diltsman@76.8.194.226] has quit []
20:44 -!- selby_fiedler [n=selby_fi@207.47.25.122.static.nextweb.net] has quit
[Read error: 60 (Operation timed out)]
20:45 < quag> callidus: someone mentioned X support
20:46 < callidus> thanks quag, there is an X11 backend of the exp/draw
package, but as it says in the docs its a "toy library"
20:46 < quag> ah
20:48 < callidus> i may have to have a look and see if there is somwhere i
can contribute some graphics code, im a games programmer by trade.  Though more of
a network guy than graphics tbh
20:48 < Kashia> there's also XCB
20:50 < callidus> ahh yes :-) thanks Kashia missed that one when i looked
20:50 < rog> is there a way of getting hg to print out all your current code
review issue numbers?
20:50 -!- kleinchris [n=kleinchr@project-ajax.de] has joined #go-nuts
20:51 < rog> i find myself going back to my emails and copy & pasting each
time...
20:54 < quag> here we go: http://go-lang.cat-v.org/library-bindings
20:55 -!- keesj_ [n=keesj@ip49-193-210-87.adsl2.static.versatel.nl] has joined
#go-nuts
20:56 < keesj_> Hello
20:56 -!- KillerX1 [n=anant@145-116-234-40.uilenstede.casema.nl] has left #go-nuts
[]
20:56 < happy> hi
20:58 <+iant> rog: hg pending
21:00 < keesj_> I wonder how to package go and the std libs.
21:00 < keesj_> (debian package to run on maemo/n900)
21:01 < keesj_> I was plesantly supprised the 5g/l compiler produced hello
workd that work on that target !
21:01 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Connection timed
out]
21:03 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Read error: 110
(Connection timed out)]
21:06 < callidus> keesj_: thats cool, go on more platforms is a plus ;-) no
idea about how to package it ect though
21:07 -!- kleinchris [n=kleinchr@project-ajax.de] has quit [Read error: 110
(Connection timed out)]
21:07 < keesj_> it looks like I can compiles and copy the pkg/linux_arm
directory and put it somewhere else.
21:09 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
21:09 -!- kleinchris [n=kleinchr@project-ajax.de] has joined #go-nuts
21:10 -!- b00m_chef [n=watr@65.42.208.133] has joined #go-nuts
21:10 < callidus> then you just need to point your $GOROOT at the right
place so things can find it, should work i guess
21:11 -!- x10 [n=x10@client-82-199-202-5.speedy.sellinet.net] has joined #go-nuts
21:11 -!- b00m_chef [n=watr@65.42.208.133] has quit [Remote closed the connection]
21:15 < x10> Hey, if I make this in go:
21:15 < x10> "asdsad" + "ASDSDSA" + "dsadas" + myString + "ASDSAD"
21:15 < x10> is this bad, or very bad?
21:15 < x10> i.e.  Is it N^2
21:16 <+iant> I think the constants will be appended at compile time
21:16 < x10> I mean if they aren't constants
21:16 < x10> can I concatenate many things at once
21:16 < x10> or does it do them one at a time?
21:16 <+iant> ah.  I think currently it does them one at a time
21:17 < x10> :(
21:17 <+iant> x10: you might want to use strings.Join instead
21:18 < x10> will try
21:18 < x10> thanks
21:19 < dho> ugh what a horrible day
21:19 < dho> So: huge cold confirmed by doc, just have to keep warm and
drink a bunch of stuff
21:19 < dho> then I have to go pick up my rat-eaten car from insurance
21:19 < dho> I drop off the rental prius and they notice hood damage
21:20 < dho> I hadn't seen or noticed it; they open the hood and there's a
piece that's like crunched that pushes the hood over so it's not properly aligned
21:20 < dho> apparently there was work on the car before and i guess they
just didn't fix it properly
21:20 < dho> but oh my god at having to wait an hour to return a rental car
21:21 < dho> `luxeproblemen' as the dutch say i guess
21:22 < dho> oh.  they screwed up my clock too.
21:23 -!- Garen [n=garen@cpe-75-87-255-36.natnow.res.rr.com] has quit [Read error:
104 (Connection reset by peer)]
21:25 < callidus> dho: yikes, sounds like loads of fun :-(
21:31 -!- Garen [n=garen@75.87.255.36] has joined #go-nuts
21:36 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts
21:39 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Read error: 104
(Connection reset by peer)]
21:39 < rog> iant: oh!  it does work...  i just never got past the "Loading
/161076/edit: urllib2.HTTPError: HTTP Error 404: Not Found; trying again in 2
seconds." error messages
21:46 < jhh> dho: ugh, sounds awful.  `luxeproblemen' as in `luxury
problems'?
21:49 -!- pure_x01 [n=pure@c83-248-3-188.bredband.comhem.se] has joined #go-nuts
21:50 -!- idea_squirrel [n=ct2rips@77-21-26-167-dynip.superkabel.de] has quit ["zu
müde oder muss afk ...  suchs dir aus"]
21:51 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts
21:52 < pure_x01> new to go.  how does packages work.  i have a go file
called main.go that has a main package and a main method.  I also have a file
called config.go that has the package myapp ..config.go is located in a folder
also called myapp and this folder is paralell to main.go ..  the compiler says:
config.go:1: ...  package myapp; expected main
21:54 < Kashia> you first have to compile and install the pkg (myapp) before
you can import it and use it in a cmd (main)
21:54 < ShadowIce> did you try to compile them with the same [568]g call?
21:57 -!- bortzmeyer [n=stephane@central.sources.org] has quit ["Leaving."]
21:58 < pure_x01> ShadowIce: yes
21:58 < pure_x01> Kashia: i havent imported it yet
21:58 < quag> Does anyone know of a io.Writer tee implementation?
21:59 < pure_x01> ShadowIce: i use the makefile provided by the go
distribution
21:59 < quag> Takes in two io.Writers and for each call to Write, calls
Write on both?
21:59 < keesj_> there is a turorial about a cat + rot13 . that sounds very
similar
22:00 < scoeri> does anybody know if there have been, or if there are, plans
to create a profiler for go?
22:00 < quag> keesj_: thanks
22:02 < ShadowIce> pure_x01: I haven't figured out how to use them correctly
with multiple non-main packages.  But from what I heard you have to use another
Makefile for myapp that the first one calls
22:03 < pure_x01> ShadowIce: oh i see..  thanx
22:03 -!- djaidcell [n=Adium@cpe-24-28-73-37.austin.res.rr.com] has joined
#go-nuts
22:04 < ShadowIce> pure_x01:
http://code.google.com/p/gobuild/source/browse/Makefile (that's without an extra
Makefile, but as I said, I don't know if that's the correct way...but it works ;))
22:05 < keesj_> http://golang.org/doc/go_tutorial.html -> the Rotting
cats idea
22:05 -!- XniX23 [i=vegy@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts
22:06 < pure_x01> ShadowIce: nice..  thanx alot for the example
22:06 < ShadowIce> np :)
22:12 -!- mmw [n=mmw@2002:51f2:9799:0:223:6cff:fe84:1914] has joined #go-nuts
22:12 -!- nigwil [n=chatzill@berkner.ccamlr.org] has joined #go-nuts
22:12 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
22:25 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
22:27 -!- 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:30 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."]
22:35 -!- pure_x01 [n=pure@c83-248-3-188.bredband.comhem.se] has quit ["Leaving"]
22:37 < jhh> I have a package in my project called "gb/parser".  Packaging
and linking works fine.  Then I add an "import go/parser" in one of the packages
and the linking breaks because of conflicting definitions of parser.  Anyone
encountered that one before?
22:38 < jhh> I guess I cannot have two packages with the same name in one
binary, even if their path is different?
22:38 < ShadowIce> yes...in two cases already ^^
22:38 < jhh> e.g.  gb/parser, go/parser
22:39 < jhh> I somehow expected the "nesting into directories" to prevent
that
22:39 -!- djaidcell [n=Adium@cpe-24-28-73-37.austin.res.rr.com] has quit
["Leaving."]
22:40 < scoeri> maybe if you give them a different name while importing
22:40 -!- djaidcell [n=Adium@cpe-24-28-73-37.austin.res.rr.com] has joined
#go-nuts
22:40 < ShadowIce> did the linker crash or did you get a "good" error
message?
22:40 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts
22:41 -!- Gracenotes [n=person@wikipedia/Gracenotes] has joined #go-nuts
22:43 < jhh> ShadowIce: I think it is a proper error message:
http://gopaste.org/view/N36j4
22:44 < ShadowIce> I somehow broke the linker once with two packages that
had the same name but were in different directories ^^
22:45 < jhh> works fine if i rename one package
22:46 < jhh> i renamed the package to gbparser and rename it on importing.
works as expected
22:47 < quag> Does anyone know how to create a temp file in Go?
22:47 < quag> I assume there is a way to use mkstemp or something similar
22:50 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
22:53 < scoeri> jhh: thats a quite logical error then, because the default
name of a package upon importing is the name of the package and not the name of
the import path
22:53 -!- nigwil [n=chatzill@berkner.ccamlr.org] has left #go-nuts []
22:54 -!- mmw [n=mmw@2002:51f2:9799:0:223:6cff:fe84:1914] has quit [Read error:
104 (Connection reset by peer)]
22:55 -!- mmw [n=mmw@2002:5bb5:e990:0:223:6cff:fe84:1914] has joined #go-nuts
22:57 < jhh> scoeri: the names you use for imported packes cannot collide if
you do that in different files.  what collides are the names (ignoring its path)
of packages compiled in.  that's what i tried to say.
22:57 -!- mmw [n=mmw@2002:5bb5:e990:0:223:6cff:fe84:1914] has quit [Client Quit]
22:59 -!- DerHorst [n=Horst@e176115210.adsl.alicedsl.de] has quit ["Verlassend"]
23:02 -!- rog [n=rog@78.148.84.113] has quit []
23:04 -!- webbpa [n=chatzill@adsl-99-35-28-205.dsl.sfldmi.sbcglobal.net] has quit
["ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]"]
23:07 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
23:12 -!- Fatal [i=fatal@debian.as] has left #go-nuts []
23:20 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
23:20 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["This
computer has gone to sleep"]
23:29 -!- mward_ [n=mward@67.sub-75-206-214.myvzw.com] has joined #go-nuts
23:30 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:36 -!- rando [n=markd@c-24-4-237-105.hsd1.ca.comcast.net] has joined #go-nuts
23:36 -!- mward [n=mward@chml01.drwholdings.com] has quit [Read error: 110
(Connection timed out)]
23:46 -!- ViciousB [i=gambino@c-76-28-211-132.hsd1.wa.comcast.net] has joined
#go-nuts
23:47 -!- Adys_ [n=Adys@unaffiliated/adys] has joined #go-nuts
23:48 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 110 (Connection
timed out)]
23:51 -!- Claviceps [i=gambino@c-76-28-211-132.hsd1.wa.comcast.net] has quit [Read
error: 60 (Operation timed out)]
--- Log closed Fri Jan 08 00:00:44 2010