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

--- Log opened Thu Apr 29 00:00:53 2010
00:06 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
00:07 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
00:07 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
00:07 -!- Netsplit *.net <-> *.split quits: General13372, eiro,
wayneeseguin, Venom_X, boogles
00:14 -!- mehr46f75 [~mehr46f75@80.191.190.39] has joined #go-nuts
00:16 -!- mehr46f75 [~mehr46f75@80.191.190.39] has left #go-nuts []
00:17 -!- eiro [~marc@phear.org] has joined #go-nuts
00:17 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
00:17 -!- boogles [~highb@shell.onid.oregonstate.edu] has joined #go-nuts
00:17 -!- wayneeseguin [~wayneeseg@rrcs-72-45-208-165.nys.biz.rr.com] has joined
#go-nuts
00:37 < kmeyer> Is the copy() function documented somewhere?
00:37 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
00:37 < kmeyer> I see an example or two of it in effective go, and it's
briefly mentioned but not defined in go_spec.html...
00:37 < kmeyer> it's copy(dst, src), right?
00:38 -!- dignan [~tom@www.tomdignan.com] has quit [Quit: Lost terminal]
00:41 < exch> yup
00:43 < KirkMcDonald> http://golang.org/doc/go_spec.html#Copying_slices
00:45 < kmeyer> oh, weird
00:45 < kmeyer> I wonder why those weren't showing up earlier...
00:45 < kmeyer> the "code" boxes were empty for me when I was checking
go_spec.html
00:46 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 260 seconds]
00:47 -!- mattikus [~mattikus@ip68-227-143-68.br.br.cox.net] has quit [Remote host
closed the connection]
00:50 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
00:53 -!- slashus2 [~slashus2@adsl-93-56-84.owb.bellsouth.net] has quit [Quit:
slashus2]
00:53 -!- itrekkie_ [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
00:55 -!- iant [~iant@67.218.104.71] has quit [Ping timeout: 265 seconds]
00:55 -!- itrekkie_ [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Client
Quit]
00:55 -!- ikke [~ikke@unaffiliated/ikkebr] has quit []
00:57 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Ping
timeout: 252 seconds]
01:03 -!- yaroslav [~yaroslav@ppp91-77-15-135.pppoe.mtu-net.ru] has quit [Quit:
yaroslav]
01:11 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:20 -!- zyichi [~zyichi@124.205.180.154] has joined #go-nuts
01:21 -!- gisikw [~gisikw@137.28.246.34] has quit [Ping timeout: 260 seconds]
01:23 -!- b00m_chef [~watr@128.189.67.124] has joined #go-nuts
01:32 -!- xspager [~dlemos@187-16-152-9.turbonet.inf.br] has left #go-nuts []
01:36 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Quit: Venom_X]
01:36 -!- b00m_chef [~watr@128.189.67.124] has quit [Ping timeout: 260 seconds]
01:41 -!- b00m_chef [~watr@128.189.67.124] has joined #go-nuts
01:44 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Quit: tor5]
01:45 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 264 seconds]
01:46 -!- b00m_chef [~watr@128.189.67.124] has quit [Ping timeout: 264 seconds]
01:57 -!- thomad16 [~jircii@c-98-243-46-250.hsd1.mi.comcast.net] has quit [Ping
timeout: 264 seconds]
01:58 -!- boscop [~boscop@g227154000.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
02:04 -!- thomad16 [~jircii@c-98-243-46-250.hsd1.mi.comcast.net] has joined
#go-nuts
02:08 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
02:12 -!- dignan [~tom@www.tomdignan.com] has joined #go-nuts
02:21 -!- DerHorst_ [~Horst@e176122188.adsl.alicedsl.de] has quit [Quit:
Verlassend]
02:30 < plexdev> http://is.gd/bMo0C by [Russ Cox] in go/src/pkg/xml/ -- xml:
allow text segments to end at EOF
02:30 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
02:30 -!- mode/#go-nuts [+v iant] by ChanServ
02:38 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:46 < plexdev> http://is.gd/bMoQe by [Russ Cox] in go/src/pkg/net/ -- net:
do not require newline at end of resolv.conf
02:46 < plexdev> http://is.gd/bMoQl by [Russ Cox] in 3 subdirs of
go/src/pkg/runtime/darwin/ -- darwin: bsdthread_create can fail; print good error
02:55 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit
[Remote host closed the connection]
02:58 -!- nettok [~netto@200.119.155.181] has joined #go-nuts
02:59 < jessta> hmmm...semi-colons on the mailing list again
03:06 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
03:14 -!- nettok_ [~netto@200.119.155.181] has joined #go-nuts
03:15 -!- nettok [~netto@200.119.155.181] has quit [Ping timeout: 252 seconds]
03:22 -!- nettok_ [~netto@200.119.155.181] has quit [Quit: Ex-Chat]
03:22 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error:
Operation timed out]
03:23 -!- bmizerany [~bmizerany@99.13.242.166] has joined #go-nuts
03:26 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
03:28 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
03:29 -!- Garen [~garen.p@cpe-69-76-18-3.natnow.res.rr.com] has quit []
03:32 -!- gisikw [~gisikw@137.28.246.34] has joined #go-nuts
03:37 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
03:38 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 264
seconds]
03:42 -!- rhelmer [~rhelmer@adsl-69-107-71-69.dsl.pltn13.pacbell.net] has joined
#go-nuts
03:48 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Remote host closed
the connection]
03:50 -!- robot12 [~robot12@robot12.kgts.ru] has joined #go-nuts
03:50 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
03:51 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
03:53 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
03:54 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Client
Quit]
03:54 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
03:59 -!- thomad16 [~jircii@c-98-243-46-250.hsd1.mi.comcast.net] has quit [Quit:
thomad16 has no reason]
04:05 -!- akrill [~akrill@2002:d8e7:3949:0:fa1e:dfff:fed8:efa3] has joined
#go-nuts
04:07 < nf> ;_;
04:08 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Quit:
warthurton]
04:18 < plexdev> http://is.gd/bMuzK by [Andrey Mirtchovski] in
go/doc/codelab/wiki/ -- codelab/index.html "os" needs to be imported because
os.Error is used almost immediately
04:20 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 276 seconds]
04:21 -!- alehorst [~alehorst@201.47.10.196.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 248 seconds]
04:34 < plexdev> http://is.gd/bMvrC by [Andrey Mirtchovski] in
go/doc/codelab/wiki/ -- codelab/index.html: a few typos.
04:36 -!- alehorst [~alehorst@189.58.26.70.dynamic.adsl.gvt.net.br] has joined
#go-nuts
04:36 < kmeyer> anyone getting failures in all.bash due to port lookups
failing?
04:41 -!- lawl [~lawl@CPE002129c55869-CM001ceaccd40a.cpe.net.cable.rogers.com] has
joined #go-nuts
04:41 -!- lawl [~lawl@CPE002129c55869-CM001ceaccd40a.cpe.net.cable.rogers.com] has
left #go-nuts []
04:41 -!- Jimmio [~jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has joined
#go-nuts
04:42 -!- duiod [fsdsdf@unaffiliated/duiod] has joined #go-nuts
04:43 < Jimmio> Hey all.  I want to get started with Go. Is there an Ubuntu
repository setup anywhere for Go? I dislike using my home dir for such things, and
I don't like manually polluting /usr.
04:45 < JBeshir> Try /usr/local/
04:47 < kmeyer> Jimmio: nope, Go isn't really packaging-friendly yet
04:48 < Jimmio> :<
04:48 -!- gnuvince_ [~vince@72.0.221.56] has quit [Ping timeout: 276 seconds]
04:53 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 246
seconds]
04:53 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
04:58 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
04:59 -!- gnuvince [~vince@70.35.164.79] has joined #go-nuts
05:01 -!- scm [justme@c209030.adsl.hansenet.de] has quit [Read error: Operation
timed out]
05:04 -!- scm [justme@c178244.adsl.hansenet.de] has joined #go-nuts
05:05 -!- bmizerany [~bmizerany@99.13.242.166] has quit [Remote host closed the
connection]
05:34 -!- dignan [~tom@www.tomdignan.com] has quit [Quit: Lost terminal]
05:39 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
05:40 -!- zyichi [~zyichi@124.205.180.154] has quit [Quit: zyichi]
05:43 -!- tvw [~tv@e182073148.adsl.alicedsl.de] has joined #go-nuts
05:44 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping
timeout: 246 seconds]
05:47 -!- Cyprien_ [Cyprien@222-126.1-85.cust.bluewin.ch] has quit [Ping timeout:
246 seconds]
05:52 -!- arvindht [~7c7cdbfa@gateway/web/freenode/x-bbrhrhpqcxhtwtep] has joined
#go-nuts
05:57 -!- warthurton [~warthurto@cpe-67-244-138-4.rochester.res.rr.com] has joined
#go-nuts
05:57 -!- warthurton [~warthurto@cpe-67-244-138-4.rochester.res.rr.com] has quit
[Changing host]
05:57 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
06:01 -!- ikaros [~ikaros@e180237124.adsl.alicedsl.de] has joined #go-nuts
06:03 < jessta> Jimmio: it changes too often for a package
06:04 < Jimmio> That was over an hour ago o:
06:04 < Jimmio> but yeah, that happens, doesn't it?
06:04 < Jimmio> Is there a simple svn co I can do?
06:04 < jessta> it's a mercurial repo
06:05 < jessta> I think there is also a mirror on github, but I don't think
there is an svn mirror
06:05 < jessta> svn sucks, btw
06:05 -!- tvw [~tv@e182073148.adsl.alicedsl.de] has quit [Ping timeout: 276
seconds]
06:17 < nf> Jimmio: why don't you want to install to $HOME or /usr/local ?
06:17 < nf> Jimmio: if you follow the installation instructions at
golang.org/doc/install.html it will "just work"
06:18 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 252
seconds]
06:18 < Jimmio> It didn't work.
06:18 < Jimmio> $GOBIN is not set
06:18 < Jimmio> following the install docs
06:18 < Jimmio> lemme guess, export it?
06:18 < Jimmio> go/bin?
06:19 < kmeyer> jessta: not really
06:19 < kmeyer> the problem is mostly that it isn't set up to be installed
and work nicely with a package manager
06:19 < Jimmio> oh wait, I could set GOBIN to /usr/bin/...  is that a bad
idea?
06:20 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
06:20 < nf> Jimmio: no, that would work fine
06:21 < nf> $GOBIN defaults to $HOME/bin
06:21 < nf> (I don't have it set on mine)
06:21 < nf> so if you just "mkdir ~/bin" it should work, or set it to
/usr/bin/
06:21 < jessta> kmeyer: yeah, it changes too often to put in the work to
make a package for each release
06:22 < kmeyer> the go authors don't have to do the packaging
06:22 < kmeyer> all they have to do is make it installable in a
semi-reasonable fashion
06:22 < Jimmio> *ponders if it's really possible to compile faster than GCC*
06:22 < Jimmio> xP
06:22 < kmeyer> packagers will do the rest
06:22 < nf> kmeyer: why is it not installable in a "reasonable fashion"?
06:22 < nf> kmeyer: environment variables?
06:23 < kmeyer> among other things, yes
06:23 < nf> what else?
06:23 < Jimmio> I mean, sometimes it takes a year for Hello World to link.
Other times, it's the fastest thing I've ever seen.
06:23 < jessta> java and python require environment variables
06:23 < nf> (i need to know, because i'm probably the one who will fix it)
06:23 < kmeyer> nf: to configure anything else, you need to edit...  a shell
script
06:23 < nf> kmeyer: you're talking about a binary release, right?
06:24 < kmeyer> um, maybe
06:24 < kmeyer> what do you mean by a binary release?
06:24 < kmeyer> nf: then there's the installed binaries pointing back to the
source directory for the libraries
06:24 < nf> i mean a package that contains the compiler/tool binaries, the
/pkg/arch/ objects, and probably the source for docs purposes
06:24 < kmeyer> yep, that's what I'm talking about
06:25 < nf> the package objects (for linking) are in $GOROOT/pkg/, not
$GOROOT/src/pkg/
06:25 < kmeyer> $GOROOT being the mercurial checkout directory
06:25 < kmeyer> I'd call that source
06:26 < kmeyer> distributions don't really want to ship a mercurial checkout
somewhere in /usr
06:26 < nf> it doesn't have to be a mercurial checkout
06:26 < nf> there's plenty that could be stripped out
06:26 < kmeyer> sure, but as far as I know it needs to be done by hand right
now
06:27 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:27 < nf> how so?  couldn't you just write a shell script that moves
$GOROOT/src/ and $GOROOT/pkg/ to the "package distro root" or whatever it is ?
06:28 < nf> there's always going to be some sort of labour, be it automated
or manual, involved in packaging a release
06:28 < kmeyer> sure
06:28 < kmeyer> it should be automated :)
06:28 < nf> what i'm keen to understand is what part of the go project's
structure or procedures need to be changed to accomodate binary releases
06:29 < kmeyer> so, I think the way it's structured right now, the binaries
that get built hardcode $GOROOT/pkg
06:29 < kmeyer> is this incorrect?
06:30 < nf> yes i think so
06:31 < kmeyer> ok, so they look at the environment variable?  how can I
just write a shell script to move $GOROOT/pkg then -- they'll look at the
environment variable and won't find it
06:31 < kmeyer> (well, ok; we can change GOROOT.  but then $GOROOT/src moves
with it.)
06:32 < nf> actually 6l/6g should look at the *current* environment variable
06:32 < nf> it's not compiled in
06:32 < nf> (looking at src/lib9/goos.c)
06:32 < kmeyer> right, I understood that for the past 2 lines
06:32 < nf> ok, i wasn't suree.
06:32 < nf> so your issue is with keeping /src/ and /pkg/ together?
06:33 < nf> couldn't $GOROOT be /usr/lib/go ? /usr/local/lib/go ?
06:33 -!- GilJ [~gilles@212.87.98.51] has joined #go-nuts
06:33 < kmeyer> sure
06:33 < kmeyer> hm
06:33 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
06:34 < kmeyer> the environment variable(s) still need to go
06:34 < nf> otherwise another solution, which involves changing the way go
works a bit, would be to introduce a $GOPKG environment variable
06:34 < nf> but i have a PYTHONPATH set ?
06:34 < kmeyer> I don't
06:35 < nf> a packager could trivially modify src/lib9/goos.c to hard-code
such paths
06:35 < nf> (and arch, and goos)
06:35 < kmeyer> right, but say goos.c changes
06:35 < kmeyer> packagers want to hit 'rebuild' and update the package to
the new version
06:35 < nf> but packagers do this all the time for other projects ?
06:35 < kmeyer> maintaining a patch against a core C file doesn't really
sound great
06:35 < kmeyer> not really
06:35 < nf> a core c file ?!?
06:36 < kmeyer> mostly it's passing various options to an autoconf configure
script
06:36 < nf> it has changed once in the project's lifetime i believe
06:36 < kmeyer> ok, ok
06:36 < nf> have a look at it, it is incredible trivial
06:36 < nf> 'incredibly'
06:36 < kmeyer> path?
06:36 < nf> src/lib9/goos.c
06:36 < kmeyer> ah
06:37 < kmeyer> well, maybe it's worth making a package of at this point.
06:37 < nf> for which distro were you thinking?
06:38 < kmeyer> fedora, but no immediate rush to get it included
06:38 < nf> yeah, i don't know how the process works with them, or really
any other entity
06:38 < kmeyer> i'm pretty familiar with it ;)
06:38 < nf> but our philosophy so far has been that Go is changing too fast
to be worth it at this point
06:38 < kmeyer> yep, I know
06:39 < nf> but it might be cool to have an installable .rpm
06:39 < kmeyer> mhm
06:39 < nf> (and .deb)
06:39 < nf> do it!  ;)
06:39 < kmeyer> something that watches hg/git and rebuilds automatically on
releases sounds reasonable, yeah?
06:39 < kmeyer> :)
06:39 < nf> yeah that sounds good
06:39 < nf> i think jpoirier has automated his windows releases
06:39 < kmeyer> neat
06:43 -!- kssreeram [~kssreeram@122.174.64.20] has quit [Quit: Sleep is for the
dead]
06:43 < nf> (people still use fedora?!  ;)
06:43 < kmeyer> crazy, right?  :)
06:45 < chressie> there are some nice working archlinux packages for go ;)
06:45 < kmeyer> I'll take a look there, thanks
06:46 < chressie> http://repos.archlinux.org/wsvn/community/go/trunk/
06:46 < chressie> http://aur.archlinux.org/packages.php?ID=31913
06:48 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
06:48 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has joined
#go-nuts
06:52 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:59 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 265 seconds]
07:01 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Ping
timeout: 264 seconds]
07:05 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Ping timeout: 260
seconds]
07:05 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
07:06 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
07:06 < Jimmio> Hello segy, How ar-
07:06 < Jimmio> Segmentation Fault
07:07 -!- akrill [~akrill@2002:d8e7:3949:0:fa1e:dfff:fed8:efa3] has quit [Remote
host closed the connection]
07:08 < Jimmio> So..  what are the chances to allow braces to not be on the
same line as function declarations?  I can't stand that coding style.
07:08 < nf> Jimmio: not going to happen, sorry.
07:08 < Jimmio> I can have my cake but not eat it :<
07:08 < nf> what does it matter?
07:09 < Jimmio> It's annoying.  I can't switch entirely to Go. I can't leave
C++ in the past..  and I'm not changing my C++ coding style which imo is cleaner
than Go's current.
07:10 < Jimmio> As they say, can't please everybody xP
07:10 < Jimmio> and I understand the reason for it
07:10 < nf> you want to switch to a new language, but you don't want to
change the syntax you use?  weird.
07:11 < Jimmio> but really, couldn't that "auto semicolon-a-nizer" detect an
end parenthesis and not put a semicolon there?  ._.
07:11 < nf> i don't really see why it should bother you so much
07:12 < nf> when i wrote c, i would use the same style you do, but i don't
do it anymore.  i got used to it soon enough.  it's a pretty minor point, isn't
it?
07:12 < nf> the variable declaration order is also backwards to C++/Java
07:12 < nf> there are a lot of differences
07:13 < Jimmio> I guess it is.  Go feels like Python on a drug of some sort.
07:13 < Jimmio> It's sooo much faster, yet odd, comparatively.
07:13 < Jimmio> But I don't mind the reversed var declaration.  Makes sense,
I suppose.
07:13 < KirkMcDonald> Jimmio: I think the drug is named "static typing."
07:13 < nf> i'm writing some python code right now, and i'm finding it a bit
irksome compared to Go (that i'm now used to)
07:14 < Jimmio> I don't mean to spam the chat...  but seeing as Python is
stupid and requires perfect tabbing (which I do anyway) to work..
07:14 < KirkMcDonald> Jimmio: Heh.
07:14 < KirkMcDonald> Jimmio: Not *that* perfect.
07:15 < nf> i don't mind python's whitespace rules
07:15 < nf> syntax is so unimportant, though
07:15 < nf> what matters is what you can do with the language
07:16 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
07:16 < Jimmio> def say(what,times=1):
07:16 < Jimmio> for x = 0 in range(0,times):
07:16 < Jimmio> print(what);
07:17 < Jimmio> Sure, that's fun and all...  but you have to stop and go
"W...  what types are those?  x.x"
07:17 < KirkMcDonald> 'x = 0'?
07:17 < Jimmio> Meh.
07:17 < Jimmio> I'm tired, lemme alone >_>
07:17 < Jimmio> xD
07:17 < KirkMcDonald> Just: for _ in range(times):
07:17 < Jimmio> Yeah, I know..
07:18 < KirkMcDonald> And: print what
07:18 < Jimmio> Python3
07:18 < KirkMcDonald> True.
07:18 < Jimmio> print(what);
07:18 < Jimmio> Semicolon optional
07:18 < KirkMcDonald> def say(what, time=1): print('\n'.join([what] *
times))
07:18 < KirkMcDonald> Though, that's stupider than the for loop.
07:19 < KirkMcDonald> But it fits on one line!
07:19 < KirkMcDonald> Heh.
07:19 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
07:19 < Jimmio> Except it wouldn't parse.
07:19 < Jimmio> because of whitespace
07:19 < KirkMcDonald> Hmm?
07:19 < KirkMcDonald> No, that works fine.
07:19 < Jimmio> Erm..
07:19 < Jimmio> Has to be new-lined and tabbed.
07:19 < KirkMcDonald> The suite of a compound statement can be on the same
line as the statement as long as it consists only of simple statements.
07:19 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has left #go-nuts
[]
07:20 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
07:20 < Jimmio> Oh, that makes sense, mhm, yeah :D
07:20 < Jimmio> xP
07:20 < Jimmio> I've been staring at C++ code all day long..  wondering why
the hell template classes with operator overloads have to be so fussy.
07:20 < Jimmio> xP
07:20 < Jimmio> Mainly..  it's const correctness that is again getting me
x.x
07:21 < KirkMcDonald> I try to use C++ as little as possible.
07:21 < bcgraham> test!
07:22 < bcgraham> i finally figured out why i couldn't send any messages to
this room regardless of client for days now
07:22 < Jimmio> I use it daily.  xP As great as Go could be, I don't know it
well enough, and Python is epically slow..  No real live Javascript as a compiled
language AFAIK...  Mono C# isn't small enough...  Obj-C is just...  ugly.
07:22 < bcgraham> my nick wasn't registered
07:23 < KirkMcDonald> I use Python for most things.
07:23 < KirkMcDonald> Speed is overrated.
07:23 -!- zMX3 [~mx3@GW-AlfaPay.citonline.com.ua] has joined #go-nuts
07:23 < Jimmio> ASM is ASM...  and ASM is...  well...  mov from,me
07:24 < Jimmio> move away from me xP
07:24 < Jimmio> I probably reversed the direction..  I haven't needed ASM
for a while now.
07:24 < KirkMcDonald> It's MOV dest, src if I remember right.
07:25 < nf> KirkMcDonald: for most x86 assemblers, yes
07:25 < Jimmio> I'm in the process of writing a simple game engine..  and
obviously, Python isn't a very good choice there.
07:25 < KirkMcDonald> Jimmio: Depends on the kind of game.
07:25 < KirkMcDonald> Jimmio: I'm contemplating writing a Rogue-like in
Python, for instance.
07:27 < Jimmio> Hmm.  I have a terrain going with ~70,000 polygons to test
file loading xP
07:28 < nf> people have made games in python
07:28 -!- GilJ [~gilles@212.87.98.51] has quit [Ping timeout: 276 seconds]
07:28 < nf> lots of them
07:28 < Jimmio> Yeah, I wasn't saying they haven't.
07:28 < nf> there's a project called pyGame which is a set of library
bindings and helpers specifically for that
07:28 < KirkMcDonald> Ehh.
07:28 < Jimmio> I remember one called 555 - Boom
07:28 < KirkMcDonald> pygame is just a fairly thin wrapper around SDL.
07:28 < Jimmio> 'twas fun.
07:30 < KirkMcDonald> If you wanted to write a 3D engine in as pure of
Python as possible, you'd probably get an OpenGL context from pygame, and then use
PyOpenGL (which is just a very thin wrapper around OpenGL).
07:30 < KirkMcDonald> Or (which is more typical) you'd write the engine in C
or C++, and expose it to Python via some sort of reasonable API.
07:31 < nf> yeah, not saying it's a good idea or what, but people do it
07:31 < nf> i keep meaning to try out the sdl wrappers for Go
07:31 < Jimmio> There's an SDL wrapper for Go already?
07:31 < Jimmio> I was about to ask that..
07:33 < nf> http://code.google.com/p/gosdl/
07:42 < Jimmio> Hm.
07:42 < Jimmio> I'll have to try it out tomorrow.
07:42 < Jimmio> Night all.
07:46 -!- Jimmio [~jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
07:51 -!- Luixsia [~Luixsia@AToulouse-254-1-17-153.w81-250.abo.wanadoo.fr] has
quit [Read error: Connection reset by peer]
07:52 -!- Luixsia [~Luixsia@AToulouse-254-1-17-153.w81-250.abo.wanadoo.fr] has
joined #go-nuts
08:00 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
08:01 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
08:02 -!- tibshoot [~tibshoot@gw-puteaux.linagora.com] has joined #go-nuts
08:14 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts
08:16 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout:
276 seconds]
08:17 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:18 -!- mpl [~mpl@smgl.fr.eu.org] has joined #go-nuts
08:20 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has joined #go-nuts
08:20 -!- Luixsia [~Luixsia@AToulouse-254-1-17-153.w81-250.abo.wanadoo.fr] has
quit [Read error: Connection reset by peer]
08:21 < mpl> hello, here's a newbie question.  I want to use a function that
returns multiple value, like 'r, err := syscall.Read(a,b)', but I don't care about
err (in that particular case) so I never use it.  Then the compiler will give an
error about that.
08:21 < mpl> how do I go around that?
08:21 < mpl> besides doing some silly/fake use of err...
08:22 < Kashia> r, _ :=
08:22 < Kashia> use the _ for variables you don't want
08:22 < mpl> ah cool, thanks.
08:23 -!- Ycros [~ycros@gnaw.yi.org] has joined #go-nuts
08:25 < mpl> Kashia: is that anywhere in the tutorials?  if not, maybe it
should...  just saying.
08:26 < Kashia> well, it's in effective go and of course the go-spec
08:29 < mpl> oh, I must have missed it in effective go, fair enough then.
08:37 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
08:38 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
08:38 < Ziusudra> it's explained in the Maps section
http://golang.org/doc/effective_go.html#maps
08:41 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit:
Ideal]
08:44 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
08:46 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has quit
[Quit: Leaving]
08:50 < mpl> Ziusudra: right, but there's a dedicated paragraph on Multiple
return value a few paragraphs above, so it would make sense to find that info
there as well.
08:50 < mpl> *values
08:52 < Ziusudra> i agree
08:53 < mpl> anyone here who can edit the site?
08:53 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
08:56 < Ziusudra> it's used early on in the For section without much
explaination : for _, value := range m { // key is unused
08:57 -!- GilJ [~gilles@vpnb094.ugent.be] has joined #go-nuts
08:57 < Kashia> basically anyone can edit the site, it's in the golang
repository
09:00 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
09:00 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Ping
timeout: 258 seconds]
09:02 -!- Kashia [~Kashia@port-92-200-5-123.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:03 -!- Gil_J [~gilles@vpnd172.ugent.be] has joined #go-nuts
09:03 -!- GilJ [~gilles@vpnb094.ugent.be] has quit [Ping timeout: 245 seconds]
09:04 < mpl> oh well, maybe I'll submit a patch then, thx.
09:06 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
09:06 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Ping
timeout: 268 seconds]
09:13 -!- Surma [~bzfsurma@gooseberry.zib.de] has joined #go-nuts
09:20 -!- Ideal [~Ideal@80.249.91.247] has joined #go-nuts
09:21 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
09:22 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909]]
09:26 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
joined #go-nuts
09:27 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Client Quit]
09:28 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
joined #go-nuts
09:34 -!- gju [~gju@big1.hrz.fh-zwickau.de] has joined #go-nuts
09:37 -!- lux` [lux`@151.71.156.86] has joined #go-nuts
09:40 -!- Gil_J [~gilles@vpnd172.ugent.be] has quit [Ping timeout: 245 seconds]
09:43 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 240 seconds]
09:50 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
09:50 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
09:57 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Read
error: Connection reset by peer]
09:58 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined
#go-nuts
10:07 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
10:07 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
10:08 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:15 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
10:18 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:22 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 268 seconds]
10:27 -!- path[l] [~path@122.182.0.38] has quit [Remote host closed the
connection]
10:27 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
10:28 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 252
seconds]
10:30 -!- TR2N [email@89-180-163-29.net.novis.pt] has quit [Ping timeout: 276
seconds]
10:31 -!- TR2N` [email@89-180-175-102.net.novis.pt] has joined #go-nuts
10:31 -!- ikaros [~ikaros@e180237124.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
10:31 -!- jbaker [~jbaker@69-24-117-13-pool.ffni.com] has joined #go-nuts
10:33 < taruti> Anyone using web.go?
10:33 * taruti ponders whether to use that or plain http-package
10:34 < kmeyer> nf, chressie: installable go rpms at
http://konradm.fedorapeople.org/fedora/RPMS/x86_64/ ; (SRPM at
http://konradm.fedorapeople.org/fedora/SRPMS/go-0-0.20100427.fc12.src.rpm).
Should be bumped, rebuilt, and uploaded automatically on each Go release.
10:35 < kmeyer> good night all ;)
10:36 < kmeyer> (FWIW, that package is give-or-take identical to the Arch
AUR go-lang-hg package.  I'm fairly sure it doesn't meet Fedora standards because
I haven't spent any time on that yet.)
10:37 < uriel> kmeyer: cool
10:38 < kmeyer> thanks :)
10:40 -!- Ziusudra [~vision@72.171.57.223] has quit [Quit: Vision[0.9.7-H-090423]:
i've been blurred!]
10:41 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
10:45 -!- TR2N [email@89-180-185-49.net.novis.pt] has joined #go-nuts
10:48 -!- TR2N` [email@89-180-175-102.net.novis.pt] has quit [Ping timeout: 252
seconds]
10:54 -!- robot12 [~robot12@robot12.kgts.ru] has left #go-nuts []
10:57 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
10:59 -!- Ikke [~ikkibr@189.58.217.96] has joined #go-nuts
10:59 -!- Ikke [~ikkibr@189.58.217.96] has quit [Changing host]
10:59 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
11:06 -!- path[l]_ [~path@122.182.0.38] has joined #go-nuts
11:09 -!- path[l] [~path@59.162.86.164] has quit [Ping timeout: 248 seconds]
11:10 < taruti> Has anyone got openid code for Go?
11:12 < chressie> kmeyer: nice :)
11:14 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2/20100222071121]]
11:15 < manveru> great fun testing float math :|
11:24 -!- fwiffo [~none@unaffiliated/fwiffo] has joined #go-nuts
11:27 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
11:28 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
11:29 -!- path[l] [~path@59.162.86.164] has quit [Client Quit]
11:29 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
11:37 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
11:40 -!- cypriendecouty [~cypriend@93.14.33.54] has joined #go-nuts
11:42 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Remote
host closed the connection]
11:47 -!- tor5 [~tor@c-627471d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
11:50 -!- cypriendecouty [~cypriend@93.14.33.54] has quit [Remote host closed the
connection]
11:51 -!- cypriendecouty [~cypriend@93.14.33.54] has joined #go-nuts
11:55 -!- alehorst [~alehorst@189.58.26.70.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
11:58 -!- jeek [~jeek@pedobear.jeek.net] has joined #go-nuts
11:59 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined
#go-nuts
12:01 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Read error:
Connection reset by peer]
12:04 < nf> kmeyer: nice work!
12:05 -!- aho [~nya@g226143117.adsl.alicedsl.de] has joined #go-nuts
12:07 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
12:11 < taruti> How do I mark a pointer as having references in the C land?
12:11 < taruti> or just pass C integers and keep a map on the Go-side?
12:16 < uriel> kmeyer: your rpms seem to be more recent than the AUR
go-lang-hg I can find: http://aur.archlinux.org/packages.php?ID=31913
12:16 < uriel> anyone knows if there is a more up to date Go package for
Arch?
12:17 < Surma> @ uriel: The last one I used just pulled from hg, it was
always up2date
12:17 < uriel> ah, neat
12:18 < uriel> anyne knows if there are debian packages anywhere?
12:18 < Surma> uriel: yeah, as if ^^ I guess not except for some underground
backports
12:20 < uriel> and where can one find those underground backports?  :)
12:22 < Surma> uriel: I really don't know, they are not underground if I
knew, are they ;) No seriously, there's an offical backports page for debian, but
those provide almost as old software as the main repo.  So I can't do anymore than
google myself.
12:22 < Surma> But you could fix up a package yourself and offer it on you
page
12:23 < Surma> some might be thankful
12:25 < uriel> heh
12:25 < uriel> I'm just trying to collect references to the various packages
out there
12:25 < uriel> by the way, anyone knows if there is an ebuild somewhere?
12:26 < Tonnerre> I made RPM packages
12:27 < Tonnerre> For Fedora 12 only so far I think
12:27 < Tonnerre> I'll have fc13 and rhel5 covered too though
12:27 < Tonnerre> I wonder if I should leave that info somewhere
12:28 < mpl> uriel: if you haven't noted it, there are golang debs in maemo
repos (at least for the n900).
12:29 < uriel> Tonnerre: oh, I'd be happy to add links to
http://go-lang.cat-v.org
12:29 < uriel> I just added references to kmeyer's rpms
12:29 < uriel> mpl: ah, good point, had forgoten about that
12:30 < Tonnerre> uriel, http://blog.ancient-solutions.com/ / rpm -Uv
http://rpm.ancient-solutions.com/ancientsolutions-release-12-1.noarch.rpm
12:30 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
12:30 < Tonnerre> uriel, once you installed the release rpm you can just yum
install golang
12:30 < Tonnerre> Plus you get updates
12:31 < uriel> ah...
12:31 < mpl> yah, same with debs of course.
12:32 < Tonnerre> I'm going to roll debs too at some point but I don't do
that yet
12:32 < uriel> oh, you package dmenu :)
12:32 < uriel> you should package 9base ;)
12:32 < mpl> uriel: but just in case someone wants to get them directly:
http://repository.maemo.org/extras-devel/pool/fremantle/free/g/golang/
12:32 < Tonnerre> uriel, hm, good point
12:32 < Tonnerre> uriel, are there specs for that someplace?
12:33 < uriel> specs?  no clue, I know there are debs in debian
12:33 < Tonnerre> uriel, and yes, I'm evil enough to package libdvdcss; I'm
in Switzerland, so it's legal here ;)
12:33 < uriel> http://packages.debian.org/search?keywords=9base
12:33 < uriel> cool :)
12:38 -!- dju__ [dju@null.dmz.me] has joined #go-nuts
12:38 -!- dju_ [dju@null.dmz.me] has quit [Read error: Connection reset by peer]
12:42 -!- Jimmio [~jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has joined
#go-nuts
12:44 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
13:05 -!- Ideal [~Ideal@80.249.91.247] has quit [Quit: Ideal]
13:12 -!- Wiz126 [Wiz126@72.20.224.26] has quit [Ping timeout: 246 seconds]
13:19 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:26 -!- SecretAgent [sa@quake.nitemare.name] has quit [Ping timeout: 260
seconds]
13:27 -!- SecretAgent [sa@quake.nitemare.name] has joined #go-nuts
13:32 -!- arvindht [~7c7cdbfa@gateway/web/freenode/x-bbrhrhpqcxhtwtep] has quit
[Quit: Page closed]
13:37 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
13:43 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts
13:48 -!- Samae [eeva@sd-11284.dedibox.fr] has left #go-nuts []
13:52 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
14:03 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
620 seconds]
14:05 -!- alehorst [~alehorst@189.58.26.70.dynamic.adsl.gvt.net.br] has joined
#go-nuts
14:06 -!- npe [~npe@195.207.5.2] has joined #go-nuts
14:09 -!- alehorst [~alehorst@189.58.26.70.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 248 seconds]
14:10 -!- zyichi [~zyichi@125.39.108.29] has joined #go-nuts
14:12 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
14:12 -!- alehorst [~alehorst@187.59.76.94] has joined #go-nuts
14:16 -!- ikaros [~ikaros@e180237124.adsl.alicedsl.de] has joined #go-nuts
14:17 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has joined
#go-nuts
14:22 -!- cypriendecouty [~cypriend@93.14.33.54] has quit [Quit: cypriendecouty]
14:24 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
14:50 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
14:50 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
14:56 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
14:59 < taruti> What are the semantics of go maps if there are multiple
go-routines accessing them?
15:03 < taruti> mmh.  so they do crash.
15:03 < uriel> taruti: maps are not 'thread safe'
15:03 < chressie> map operations are not atomic
(http://golang.org/doc/go_lang_faq.html#atomic_maps)
15:04 < uriel> usually you should arrange things so a single goroutine is
responsible for manipulating a map (or other such datastructure)
15:04 < taruti> uriel: yes, I'll just have bite the bullet and write a
lockless hashtable for my purposes.
15:04 < uriel> other goroutines can send it messages telling it what to
update via channels
15:04 < uriel> taruti: why?  use channels
15:06 < taruti> uriel: the same thing ended up using ets in erlang, channels
are nice but don't make sense for all purposes
15:13 -!- fusion44 [~quassel@p5B287BF9.dip.t-dialin.net] has joined #go-nuts
15:20 -!- Wiz126 [Wiz126@72.20.221.236] has joined #go-nuts
15:27 -!- npe [~npe@195.207.5.2] has quit [Ping timeout: 258 seconds]
15:28 -!- mbarkhau [~koloss@dslb-084-059-161-165.pools.arcor-ip.net] has joined
#go-nuts
15:29 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
15:31 -!- GilJ [~gilles@zeus.ugent.be] has joined #go-nuts
15:31 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 258 seconds]
15:32 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
15:34 < taruti> this was suprisingly easy :)
15:39 -!- Surma [~bzfsurma@gooseberry.zib.de] has quit [Quit: Leaving.]
15:40 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
15:40 -!- zyichi [~zyichi@125.39.108.29] has quit [Quit: zyichi]
15:43 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
15:51 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
15:54 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
16:00 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
16:06 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 245 seconds]
16:06 -!- Wiz126 [Wiz126@72.20.221.236] has quit []
16:13 -!- ayo [~nya@f051189007.adsl.alicedsl.de] has joined #go-nuts
16:16 -!- aho [~nya@g226143117.adsl.alicedsl.de] has quit [Ping timeout: 268
seconds]
16:19 -!- nettok [~netto@200.119.151.178] has joined #go-nuts
16:25 -!- rhelmer [~rhelmer@adsl-69-107-71-69.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
16:28 -!- Kashia [~Kashia@port-92-200-5-123.dynamic.qsc.de] has joined #go-nuts
16:35 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
16:37 -!- nettok [~netto@200.119.151.178] has quit [Ping timeout: 246 seconds]
16:37 -!- lianj_ [~lianj@p4FE75E5A.dip.t-dialin.net] has joined #go-nuts
16:41 -!- lianj [~lianj@p4FE74BC2.dip.t-dialin.net] has quit [Ping timeout: 252
seconds]
16:46 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
16:49 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 248 seconds]
16:49 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 260 seconds]
16:53 -!- nettok [~netto@200.119.151.178] has joined #go-nuts
16:55 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
16:56 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
16:56 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Client Quit]
16:59 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
17:01 -!- bcgraham_ [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
17:03 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has quit [Ping
timeout: 240 seconds]
17:04 -!- bcgraham_ [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has left #go-nuts
[]
17:04 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
17:04 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Quit: Sleep is for the
dead]
17:05 -!- r1ito [~r1ito@pha75-21-78-228-187-206.fbx.proxad.net] has joined
#go-nuts
17:21 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
17:24 -!- nettok_ [~netto@200.119.151.178] has joined #go-nuts
17:26 -!- marsu [~marsu@93.11.242.74] has joined #go-nuts
17:27 -!- nettok [~netto@200.119.151.178] has quit [Ping timeout: 264 seconds]
17:29 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
17:30 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
17:31 -!- GilJ [~gilles@zeus.ugent.be] has quit [Remote host closed the
connection]
17:31 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
17:35 < kimelto> morning!
17:40 -!- Project_2501 [~Marvin@82.84.83.191] has joined #go-nuts
17:41 -!- bcgraham_ [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
17:41 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Quit: Ex-Chat]
17:43 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has quit [Ping
timeout: 258 seconds]
17:44 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
17:44 -!- kssreeram [~kssreeram@122.174.64.20] has joined #go-nuts
17:46 -!- sadjester [~mbernstei@216-54-231-78.static.twtelecom.net] has joined
#go-nuts
18:00 -!- idbentley [~bentley@bas4-kingston08-1242547847.dsl.bell.ca] has joined
#go-nuts
18:00 -!- tvw [~tv@e182073148.adsl.alicedsl.de] has joined #go-nuts
18:03 -!- nettok__ [~netto@200.119.151.178] has joined #go-nuts
18:05 -!- sadjester [~mbernstei@216-54-231-78.static.twtelecom.net] has quit [Read
error: Connection reset by peer]
18:06 -!- nettok_ [~netto@200.119.151.178] has quit [Ping timeout: 248 seconds]
18:07 -!- dignan [~tom@www.tomdignan.com] has joined #go-nuts
18:11 -!- alexbobp [~alex@66.112.249.162] has left #go-nuts []
18:12 < plexdev> http://is.gd/bNn1S by [Robert Griesemer] in go/doc/ -- go
spec: fix iota description
18:12 < plexdev> http://is.gd/bNn1W by [Christopher Wedgwood] in
go/src/pkg/net/ -- net: parser should handle EOF without newline properly.
18:12 < plexdev> http://is.gd/bNn2c by [Christopher Wedgwood] in
go/src/pkg/net/ -- net: use short variable declaration
18:12 -!- fwiffo [~none@unaffiliated/fwiffo] has quit [Quit: leaving]
18:20 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined
#go-nuts
18:20 -!- marsu [~marsu@93.11.242.74] has quit [Ping timeout: 276 seconds]
18:23 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has quit [Ping
timeout: 260 seconds]
18:24 -!- bcgraham [~bcgraham@cpe-67-250-13-100.nyc.res.rr.com] has joined
#go-nuts
18:26 -!- nettok_ [~netto@200.119.151.178] has joined #go-nuts
18:29 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Quit:
Leaving]
18:29 -!- nettok__ [~netto@200.119.151.178] has quit [Ping timeout: 245 seconds]
18:30 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
18:33 -!- marsu [~marsu@93.11.242.74] has joined #go-nuts
18:41 -!- rhelmer [~rhelmer@64.9.242.11] has joined #go-nuts
18:43 -!- ikaros [~ikaros@e180237124.adsl.alicedsl.de] has quit [Ping timeout: 260
seconds]
18:49 -!- Jimmio [~jimmi@pool-71-175-79-65.phlapa.fios.verizon.net] has left
#go-nuts []
18:49 -!- ct2rips [ct2rips@77-21-16-139-dynip.superkabel.de] has joined #go-nuts
18:49 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
18:50 -!- idea_squirrel [~ct2rips@77-21-16-139-dynip.superkabel.de] has quit [Read
error: No route to host]
18:50 -!- jbaker [~jbaker@69-24-117-13-pool.ffni.com] has quit [Quit: Leaving.]
18:51 -!- nettok_ [~netto@200.119.151.178] has quit [Ping timeout: 246 seconds]
18:54 -!- scm [justme@c178244.adsl.hansenet.de] has quit [Ping timeout: 252
seconds]
18:55 -!- ikaros [~ikaros@f052088188.adsl.alicedsl.de] has joined #go-nuts
19:00 -!- scm [justme@c178244.adsl.hansenet.de] has joined #go-nuts
19:01 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 246 seconds]
19:02 -!- Eridius [~kevin@173-13-153-133-sfba.hfc.comcastbusiness.net] has joined
#go-nuts
19:02 -!- Eridius [~kevin@173-13-153-133-sfba.hfc.comcastbusiness.net] has quit
[Changing host]
19:02 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:04 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
19:04 -!- scm [justme@c178244.adsl.hansenet.de] has quit [Ping timeout: 246
seconds]
19:07 -!- nettok_ [~netto@200.119.151.178] has joined #go-nuts
19:09 -!- roark [~43cf60c2@gateway/web/freenode/x-qfsljmbetnsfcdah] has joined
#go-nuts
19:09 -!- skyfive [~skyfive@72-164-149-250.dia.static.qwest.net] has joined
#go-nuts
19:09 -!- skyfive [~skyfive@72-164-149-250.dia.static.qwest.net] has quit [Client
Quit]
19:09 -!- skyfive [~skyfive@72-164-149-250.dia.static.qwest.net] has joined
#go-nuts
19:10 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
19:10 -!- nf [~nf@124-171-242-16.dyn.iinet.net.au] has quit [Ping timeout: 248
seconds]
19:12 -!- nettok__ [~netto@200.119.151.178] has joined #go-nuts
19:12 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 264
seconds]
19:13 -!- nf [~nf@124-168-165-131.dyn.iinet.net.au] has joined #go-nuts
19:15 -!- npe [~npe@94-224-250-44.access.telenet.be] has joined #go-nuts
19:15 -!- nettok_ [~netto@200.119.151.178] has quit [Ping timeout: 240 seconds]
19:26 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
19:27 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
19:31 -!- roto [~roto@64.79.202.154] has quit [Excess Flood]
19:33 -!- MacCoaster [~MacCoaste@amrutlar.com] has quit [Quit: ZNC -
http://znc.sourceforge.net]
19:33 -!- MacCoaster [~MacCoaste@amrutlar.com] has joined #go-nuts
19:33 -!- roto [~roto@64.79.202.154] has joined #go-nuts
19:34 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts
19:39 -!- megaboz_ [~none@189.115.9.22] has joined #go-nuts
19:41 -!- megaboz [~none@unaffiliated/megaboz] has quit [Disconnected by services]
19:41 -!- megaboz_ [~none@189.115.9.22] has quit [Client Quit]
19:52 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
19:53 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:01 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined
#go-nuts
20:04 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit
[Client Quit]
20:21 -!- b00m_chef [~watr@128.189.76.123] has joined #go-nuts
20:23 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 240 seconds]
20:26 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
20:26 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined
#go-nuts
20:32 -!- scm [justme@c178244.adsl.hansenet.de] has joined #go-nuts
20:34 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:35 -!- nettok_ [~netto@200.119.151.178] has joined #go-nuts
20:35 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Quit: Konversation terminated!]
20:39 -!- Project_2501 [~Marvin@82.84.83.191] has quit [Quit: E se abbasso questa
leva che succ...]
20:39 -!- nettok__ [~netto@200.119.151.178] has quit [Ping timeout: 268 seconds]
20:41 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Read error:
Connection reset by peer]
20:44 -!- rhelmer [~rhelmer@64.9.242.11] has quit [Ping timeout: 265 seconds]
20:44 -!- r1ito [~r1ito@pha75-21-78-228-187-206.fbx.proxad.net] has quit [Ping
timeout: 240 seconds]
20:47 -!- fusion44 [~quassel@p5B287BF9.dip.t-dialin.net] has quit [Remote host
closed the connection]
20:56 -!- b00m_chef [~watr@128.189.76.123] has quit [Ping timeout: 240 seconds]
21:09 -!- awidegreen_ [~quassel@62.176.237.78] has joined #go-nuts
21:09 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 264
seconds]
21:10 -!- awidegreen [~quassel@62.176.237.78] has quit [Ping timeout: 246 seconds]
21:17 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has quit []
21:18 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:18 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
21:23 -!- nettok__ [~netto@200.119.151.178] has joined #go-nuts
21:25 -!- jhh [~jhh@g227201121.adsl.alicedsl.de] has joined #go-nuts
21:25 -!- awidegreen_ [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:26 -!- nettok_ [~netto@200.119.151.178] has quit [Ping timeout: 264 seconds]
21:28 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 264 seconds]
21:32 -!- ct2rips [ct2rips@77-21-16-139-dynip.superkabel.de] has quit [Quit:
Verlassend]
21:33 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
21:34 -!- Chci [~40568d85@gateway/web/freenode/x-nwbjhyuvpgfzlhhu] has joined
#go-nuts
21:37 -!- nettok_ [~netto@200.119.151.178] has joined #go-nuts
21:39 -!- npe [~npe@94-224-250-44.access.telenet.be] has quit [Quit: npe]
21:40 -!- nettok__ [~netto@200.119.151.178] has quit [Ping timeout: 240 seconds]
21:45 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:53 -!- nettok_ [~netto@200.119.151.178] has quit [Quit: Ex-Chat]
21:59 -!- mbarkhau [~koloss@dslb-084-059-161-165.pools.arcor-ip.net] has quit
[Quit: Leaving.]
22:01 -!- Ziusudra [~vision@72.171.57.223] has joined #go-nuts
22:03 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
22:03 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
22:04 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has left #go-nuts []
22:05 -!- lux` [lux`@151.71.156.86] has quit [Read error: Connection reset by
peer]
22:05 -!- Pinkilla [~pinkilla@aether.hipocoon.be] has quit [Ping timeout: 248
seconds]
22:06 -!- mpl [~mpl@smgl.fr.eu.org] has quit [Ping timeout: 248 seconds]
22:06 -!- Pinkilla [~pinkilla@aether.hipocoon.be] has joined #go-nuts
22:13 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Remote
host closed the connection]
22:13 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
22:13 -!- duiod [fsdsdf@unaffiliated/duiod] has left #go-nuts []
22:14 -!- mpl [~mpl@smgl.fr.eu.org] has joined #go-nuts
22:14 -!- idbentley [~bentley@bas4-kingston08-1242547847.dsl.bell.ca] has quit
[Quit: WeeChat 0.3.2]
22:18 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
22:21 -!- jhh [~jhh@g227201121.adsl.alicedsl.de] has quit [Quit: leaving]
22:21 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
22:26 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined
#go-nuts
22:33 -!- tvw [~tv@e182073148.adsl.alicedsl.de] has quit [Remote host closed the
connection]
22:35 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit
[Remote host closed the connection]
22:36 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined
#go-nuts
22:36 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit
[Remote host closed the connection]
22:36 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 240 seconds]
22:43 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
22:43 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts
22:44 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:54 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 265 seconds]
22:57 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
22:58 < newsham> how well would a large channel (of bytes) work as a buffer
for something like marshalling?
22:58 < newsham> would it be pretty inefficient?
22:59 -!- nettok [~netto@200.119.154.180] has joined #go-nuts
23:00 < taruti> newsham: 1) yes, 2) yes, 3) why not []byte instead of byte?
23:00 < newsham> i was thinking at the lowest level primitive it would
always be emitting one byte at a time
23:01 < newsham> but thats probably not true in some cases (ie.  emitting an
opaque sequence of bytes can be done all at once)
23:01 < newsham> but i think a lone byte would be the common case
23:01 < plexdev> http://is.gd/bNGHj by [Russ Cox] in 2 subdirs of go/ -- gc:
bug268
23:02 < newsham> ie, to emit x uint16, you'd emit x>>8 and then x
23:03 < newsham> hrmm, i guess there'd be no convenient way to represent EOF
though
23:04 -!- nettok_ [~netto@200.119.154.180] has joined #go-nuts
23:06 -!- bmizerany [~bmizerany@adsl-68-127-168-100.dsl.pltn13.pacbell.net] has
joined #go-nuts
23:08 -!- nettok [~netto@200.119.154.180] has quit [Ping timeout: 260 seconds]
23:12 -!- xs [~xs@unaffiliated/xs] has joined #go-nuts
23:18 < plexdev> http://is.gd/bNHJ1 by [Russ Cox] in 2 subdirs of go/ -- gc:
never include ( ) on singleton func return type
23:21 -!- bmizeran_ [~bmizerany@adsl-68-127-168-100.dsl.pltn13.pacbell.net] has
joined #go-nuts
23:22 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
23:23 -!- bmizerany [~bmizerany@adsl-68-127-168-100.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 246 seconds]
23:25 -!- wuehlmaus [~wuehlmaus@p4FCC78A4.dip.t-dialin.net] has quit [Read error:
Operation timed out]
23:25 -!- wuehlmaus [~wuehlmaus@p4FCC7887.dip.t-dialin.net] has joined #go-nuts
23:28 -!- lianj_ [~lianj@p4FE75E5A.dip.t-dialin.net] has left #go-nuts []
23:28 -!- ikaros [~ikaros@f052088188.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
23:40 -!- bmizeran_ [~bmizerany@adsl-68-127-168-100.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 246 seconds]
23:40 -!- marsu [~marsu@93.11.242.74] has quit [Quit: Leaving]
23:40 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
23:42 -!- bmizerany [~bmizerany@adsl-68-127-171-54.dsl.pltn13.pacbell.net] has
joined #go-nuts
23:43 < taruti> What is the relation of big vs bignum?
23:45 < jessta> taruti: I think big is the new, bignum is the old
23:48 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
23:49 < taruti> jessta: ok
23:49 < taruti> slice literals are quite painfull :(
23:50 < taruti> is there any reason for wanting the type there?
23:50 < taruti> lots of code like: []*module.MyLongTypeName{v}
--- Log closed Fri Apr 30 00:00:53 2010