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

--- Log opened Sun Jun 20 00:00:12 2010
00:13 -!- bmizerany [~bmizerany@123.sub-75-208-200.myvzw.com] has joined #go-nuts
00:21 -!- nettok [~quassel@200.119.185.227] has quit [Ping timeout: 276 seconds]
00:38 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 264 seconds]
01:10 -!- perdiy [~perdix@sxemacs/devel/perdix] has joined #go-nuts
01:12 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Ping timeout: 276
seconds]
01:13 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
01:17 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 264 seconds]
01:19 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
01:20 -!- pfroehlich [~chatzilla@c-98-204-215-206.hsd1.md.comcast.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401074458]]
01:42 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has joined #go-nuts
01:44 -!- MizardX- [~MizardX@unaffiliated/mizardx] has joined #go-nuts
01:44 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 240
seconds]
01:57 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has quit [Ping
timeout: 240 seconds]
02:06 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
02:12 -!- Kashia [~Kashia@p4FEB3C15.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
02:22 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:30 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
02:38 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
02:39 -!- prologic [~prologic@unaffiliated/prologic] has joined #go-nuts
02:39 -!- prologic [~prologic@unaffiliated/prologic] has left #go-nuts ["Leaving"]
02:44 -!- bmizeran_ [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
02:47 -!- bmizerany [~bmizerany@123.sub-75-208-200.myvzw.com] has quit [Ping
timeout: 272 seconds]
02:56 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
619 seconds]
03:00 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 260 seconds]
03:04 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
03:18 -!- tav [~tav@78.149.190.227] has quit [Ping timeout: 260 seconds]
03:22 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 245 seconds]
03:24 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
03:26 -!- ikke [~ikke@189-72-0-135.smace700.dsl.brasiltelecom.net.br] has joined
#go-nuts
03:26 -!- ikke [~ikke@189-72-0-135.smace700.dsl.brasiltelecom.net.br] has quit
[Changing host]
03:26 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
03:27 -!- tav [~tav@2001:0:53aa:64c:0:3ffb:a3e2:e4bb] has joined #go-nuts
03:38 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2]
03:48 -!- visof [~visof@unaffiliated/visof] has quit [Remote host closed the
connection]
03:58 -!- Eko [~eko@DHCP-159-138.caltech.edu] has joined #go-nuts
04:00 < Eko> anyone use go on linux?  It works beautifully on darwin_amd64
but I'm having issues on linux_386
04:06 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
04:09 -!- OpenSpace [~ja@109.92.35.126] has quit [Ping timeout: 265 seconds]
04:15 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
04:22 < manveru> Eko: yeah...  it's a bumpy ride sometimes on 32bit
04:23 < manveru> Eko: when you have issues, report them, the go devs are
usually very quick in fixing that stuff
04:30 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
04:38 < Eko> I got it fixed...  it was a problem with uncommitted changes on
the darwin side that I was trying to compile on the linux side >_>.  All my
fault =D.
04:38 < Eko> manveru: will do.
04:39 < smw> is any work being put into 1.  making the setup more global
package friendly and 2.  dynamic libraries?
04:40 < Eko> 1.  more what?  2.  no
04:40 < smw> easier to make packages of for linux distros
04:40 < manveru> it's pretty easy already?
04:40 < smw> for example, not requiring env vars
04:41 < smw> manveru, I would not call it easy by any stretch of the
imagination
04:41 < manveru> heh
04:41 < smw> it is also very hard to install new libraries to a fakeroot.
04:42 < smw> I have not figured it out
04:42 < manveru> true that
04:42 < manveru> right now i'm using the go-lang-hg package for archlinux
04:42 < jessta> smw: python and java require env vars...
04:42 < smw> manveru, that package died
04:42 < manveru> when?
04:43 < smw> manveru, I went through the aur and got just about all of them
deleted.  The guy with go-hg orphaned his package so the person who make
go-lang-hg took it over
04:43 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has joined #go-nuts
04:43 < smw> made*
04:44 < manveru> so go-hg is the new one?
04:44 < smw> yep
04:44 < manveru> didn't build since last month...  so i haven't noticed
04:44 < smw> ah
04:44 < manveru> and i modified it to change group permissions so i can
install via goinstall easier
04:44 < smw> ok
04:45 < manveru> thanks for the heads-up :)
04:45 < smw> np
04:45 < Eko> smw: honestly, if the environment variables are that much of an
issue for you, extract the necessary information from uname and install wrappers
04:46 < smw> jessta, I do not believe python requires vars...
04:46 < smw> manveru,
http://www.linux-archive.org/archlinux-user-repository/382074-golang-aur.html
04:46 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Ping timeout:
265 seconds]
04:47 < Eko> smw: python requires variable changes to use site package
directories and to put python in the path if you don't install it to the global
bin
04:47 < smw> Eko, the last part is obvious
04:47 < Eko> those are both analogous to the issues with go.
04:47 < smw> Eko, however, everything runs without env vars
04:48 < Eko> smw: python is also an interpreter.
04:48 < smw> the programs do not require them.
04:48 < Eko> bull?
04:48 < smw> ?
04:48 < Eko> if I compile a go executable, you don't need environment
variables to run it
04:49 < Eko> it's statically linked
04:49 < smw> ok
04:49 < smw> oh, I mean the python program does not need them
04:49 < Eko> the python3 executable is an interpreter, which can determine
where everything is
04:49 < smw> python as an executable, not the product
04:50 < Eko> if you wanted to make a comparable thing for go, make a "go"
script that you install globally that sets the uname-derived variables and runs $@
04:50 < Eko> so you could then forever and for always run "go 8g blah.go &&
go 8l -o blah blah.8"
04:50 < Eko> no matter your environment variables.
04:51 < smw> how would I do that?  right now there is one in /etc/profile.d
04:51 < Eko> You are comparing an interpreted language with a compiled one,
which is always going to be slanted.
04:51 < manveru> well, at least the arch is implicit when using 6g/8g, no?
04:51 < Eko> one what?
04:51 < smw> Eko, a script to export env variables
04:51 < smw> Eko, it is only run if you source /etc/profile.bash
04:52 < Eko> smw: use uname -s to derive GOOS and uname -p to derive GOARCH
and GOBIN and GOROOT would be set by the package
04:52 < smw> ah
04:53 < Eko> I thought you were talking about being on a distro that doesn't
have an easy way to add environment variables to users profiles, but if you have
profile.d then you do
04:53 < smw> is GOBIN used by anything besides install?
04:54 < Eko> smw: you should always set it.  Makefiles might use it.
04:54 < Eko> it's not always safe to assume GOBIN=$HOME/bin
04:54 < smw> eh?
04:54 < smw> I thought if a program needed another program it could just use
the path
04:55 < Eko> smw : if your package is going to add it to PATH, then you can,
but a lot of makefiles want to derive it themselves from the GOBIN variable
04:56 < Eko> that way you know you're getting the most recent one, etc
04:56 < smw> ok
04:56 < Eko> and that way users can override if they have a local go
install.
04:56 < smw> well, all that is left that I have issues with is trying to
install external libs to a fake root.
04:57 < smw> this is for packaging purposes
04:57 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined
#go-nuts
04:57 < Eko> what do you mean "to a fake root"?
04:58 < smw> Eko, as in tell it to install as it would normally but pretend
the root is another dir
04:58 < smw> Eko, that makes it easier to automatically package
04:58 < smw> like make prefix='/whatever'
04:59 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has joined
#go-nuts
05:00 -!- scm [justme@d071040.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
05:00 < Eko> smw: I still don't understand...  when you hg clone, it all
goes into a subdirectory
05:00 < Eko> when you ./all.bash it all goes into the subdirectory
05:00 < smw> Eko, no, 3rd party libs
05:01 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
05:01 < smw> they all source the one from go
05:01 < Eko> third party libraries go exactly where $GOROOT tells them to
go, that is $GOROOT/pkg/$GOOS_GOARCH
05:01 < smw> right
05:01 < smw> but you can't have it compile with goroot in one location and
install in another
05:01 < smw> there is no separation of build and install
05:02 < Eko> shouldn't your package for a third party library just execute
the goinstall script?
05:02 -!- scm [justme@d019074.adsl.hansenet.de] has joined #go-nuts
05:02 < smw> Eko, why?  Shouldn't it be a pre-compiled version?
05:03 < smw> Eko, doesn't that defeat the purpose of a package?
05:03 < Eko> smw: imho, for now, all packages should pull from hg or svn or
bazzar or git
05:03 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
05:03 < Eko> it's not mature enough for people to keep up with package
updates
05:04 < Eko> your package for whatever OS you're using shouldn't even have a
compiled version of go
05:04 < Eko> again, in my humble opinion
05:04 < smw> Eko, you are probably right on that...  Which is why I am
making PKGBUILDs.  They give the benefits of packages and get from svn/git.
05:05 < Eko> so shouldn't it just use goinstall?
05:05 < smw> no, the point of packages is you can uninstall them...
05:06 < smw> it would not keep track of files
05:06 < Eko> oh, I see your issue.
05:07 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
05:07 < smw> so, the PKGBUILD will pull from svn, then create a package with
the entire directory tree
05:07 < Eko> I don't know how your package skeleton works, but if you want
to do it the hard way, you cp -R the goroot, set your new GOROOT, and then diff
the directories and save the diff for your uninstaller, and then patch it into the
original goroot.
05:08 < smw> hm
05:08 < smw> that seems to be the only option
05:08 -!- ikke [~ikke@unaffiliated/ikkebr] has quit []
05:08 < smw> it means it would need to copy over the current goroot :-\
05:08 < Eko> and, theoretically, you should be able to patch -r to uninstall
it.
05:09 < Eko> smw: have you looked how small it is?
05:09 < smw> nope
05:09 < smw> oh
05:09 < smw> wow
05:10 < Eko> it's small enough that today's harddrives can copy the entire
thing before the user notices.
05:11 < Eko> also, your change seems to be small enough that you could
always make the change to the goinstall executable and submit a CR ^_^
05:11 < Eko> er, submit a CL
05:11 < smw> yeah
05:12 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
05:13 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
05:14 < smw> Eko, apparently my lib has broken
05:14 < smw> Eko, I need to check it more often...
05:15 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Ping timeout:
245 seconds]
05:15 < Eko> you mean your install?
05:15 < smw> Eko, https://code.google.com/p/goconf/
05:15 < Eko> is it the cgo stdlib issue?
05:15 < Eko> oh.
05:15 < smw> It does not compile with the latest version :-\
05:16 < Eko> hmm, I wonder if mine still compiles.  it should...
05:16 < smw> ah, it compiles, bit the test fails
05:16 < Eko> oh, I just goinstalled it a few minutes ago, I know it does
lol.
05:16 < smw> lol
05:16 < Eko> that's not good.  probably a small issue though.
05:17 < smw> Eko, http://codepad.org/DIDvtGhm
05:18 < smw> I don't get it :-\
05:21 < smw> Eko, there are no line numbers...
05:22 < smw> or for that matter source files
05:22 < Eko> yeah, check out the changes in the type conversions
05:22 < smw> where?
05:22 < Eko> http://golang.org/doc/devel/release.html
05:23 < smw> thanks
05:26 < Eko> also, it looks like your build is incomplete
05:26 < smw> ?
05:27 < Eko> I would do your ./all.bash again and watch it to make sure it
works
05:27 < smw> ok
05:29 < smw> Eko, do you think go would accept a dom and xpath lib in the
stdlibs?
05:29 < smw> for xml
05:30 < Eko> smw: a dom package, perhaps.  what's xpath?
05:30 < smw> It is like regex for a dom tree
05:30 < Eko> no, I think not
05:30 < smw> it is extremely powerful...  I never see dom implementations
without it
05:31 < smw> Eko, now it works
05:31 < smw> reinstalling did it :-)
05:31 < Eko> :)
05:31 < Eko> there's a certain cgo package that fails to compile
intermittently
05:31 < smw> ok
05:31 < Eko> I've been unable to reproduce it often enough to figure out
why, and I am pretty sure r and rsc have done the same.
05:32 < smw> Eko, why do you think xpath would not be allowed?  I am going
to try to pitch it on the mailing list so I might as well know what I am arguing
against :-)
05:33 < smw> Eko, I have never seen dom without xpath...
05:33 < Eko> if it's widely considered a standard part of a dom
implementation, you probably won't see any more resistance than to the dom
inclusion
05:33 < smw> ok
05:34 < Eko> but bear in mind that they are striving for simplicity and
broad applicability for the stdlib.
05:34 < smw> truthfully, I have no idea what I could program for the
standard lib
05:35 < Eko> your goal shouldn't be to get something into the standard
library
05:35 < smw> that is my best idea.  I use xpath and xml all the time.  I
figure it could not be too hard to make a parser
05:35 < smw> why not?
05:35 < Eko> it should be to provide high quality packages for the go
community
05:35 < Eko> and if there's one that becomes highly popular, it will become
a candidate for inclusion organically
05:36 < smw> In that case, I should rewrite goconf ;-)
05:36 < smw> take out all the code I inherited from goconfig and start over
05:36 < Eko> it's also possible that you will, in the long run, see some
addition to the standard library that can be made, either as a component of an
existing package or as a new package itseif.
05:37 < smw> It needs a better urllib
05:37 < Eko> better how?
05:37 < smw> I could not figure out what it meant by "network"
05:37 < Eko> meh, documentation semantics
05:38 < Eko> fix the docs ;)
05:38 < smw> I feel like all I am doing is complaining today
05:38 < smw> if someone told me what it was, I could document it!
05:38 < smw> this is why the original programmers need to document ;-)
05:38 < Eko> if you're talking in terms of net, the "network" is either tcp,
tcp4, tcp6, udp, udp4, udp6
05:39 < Eko> as a string
05:39 < smw> oh?
05:39 < smw> tcp is allowed?
05:39 < Eko> maybe I'm not understanding what you are asking, if that's a
surprise...
05:39 < smw> I assume that it figures out tcp4 vs 6
05:39 < smw> nm
05:40 < smw> it makes more sense now
05:40 < smw> It means I can select tcp vs udp
05:40 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 276
seconds]
05:40 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has quit [Ping timeout:
265 seconds]
05:41 < Eko> what functions are you talking about?  it's specified in the
documentation for, e.g.  Dial http://golang.org/pkg/net/#Conn.Dial
05:41 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has joined #go-nuts
05:41 < smw> Eko, apparently it is much better since I last looked :-D
05:42 < Eko> smw: sounds like a common theme ;)
05:44 < smw> Eko, has dial always done dns lookup?  :-D
05:45 < smw> If so, I am happy they added examples
05:45 < Eko> smw: eh, I think there were a few bug fixes, but I am pretty
sure it has
05:45 -!- nettok [~quassel@200.119.182.158] has joined #go-nuts
05:45 < smw> ok
05:45 < smw> Go looks more put together then when I last used it...
05:45 < smw> and I took no more than 1-2 month break
05:46 < Eko> that's about when I started up with it.
05:46 < smw> meh, maybe 3
05:46 < Eko> it's definitely starting to pull together and sharpen up.
05:46 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has quit [Ping timeout:
264 seconds]
05:46 < smw> yep
05:47 < smw> go-gtk looked promising, but I can't even get it to compile
05:48 < Eko> I'd suspect that one is particularly sensitive to your gtk
intsall
05:48 < smw> yeah
05:50 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
05:52 -!- cco31 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
05:53 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has joined #go-nuts
05:53 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
05:57 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has quit [Ping timeout:
260 seconds]
05:59 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
06:01 -!- ayo [~nya@f052211140.adsl.alicedsl.de] has joined #go-nuts
06:01 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Remote host
closed the connection]
06:04 -!- aho [~nya@f051161115.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
06:07 -!- jdp [~gu@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
06:48 -!- amliao [~chatzilla@222.73.189.44] has quit [Ping timeout: 240 seconds]
06:52 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
615 seconds]
07:00 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
07:03 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
07:04 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
07:04 -!- Kashia [~Kashia@p4FEB35C1.dip.t-dialin.net] has joined #go-nuts
07:08 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Client Quit]
07:11 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
07:18 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 272 seconds]
07:25 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:27 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
07:31 -!- lux` [~lux@151.71.215.184] has joined #go-nuts
07:49 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
08:05 -!- tvw [~tv@e176000164.adsl.alicedsl.de] has joined #go-nuts
08:16 -!- amliao [~chatzilla@222.73.189.45] has joined #go-nuts
08:21 -!- rlab [~Miranda@162-50-93-178.pool.ukrtel.net] has joined #go-nuts
08:50 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
08:52 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
08:55 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
08:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 265 seconds]
08:59 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
08:59 -!- path[l] [UPP@120.138.102.50] has quit [Client Quit]
09:02 -!- wrtp [~rog@92.17.55.187] has joined #go-nuts
09:09 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
09:13 -!- Paradox924X_ [~Paradox92@178.119.188.72.cfl.res.rr.com] has joined
#go-nuts
09:15 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Ping timeout: 264
seconds]
09:15 -!- Paradox924X_ [~Paradox92@178.119.188.72.cfl.res.rr.com] has left
#go-nuts []
09:16 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts
09:25 -!- OpenSpace [~ja@109.93.39.158] has joined #go-nuts
09:35 -!- bartbes [~bartbes@uapps.org] has joined #go-nuts
09:44 -!- aho [~nya@f052211140.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
09:45 -!- amliao [~chatzilla@222.73.189.45] has quit [Ping timeout: 265 seconds]
09:52 < plexdev> http://is.gd/cWhCa by [James Whitehead] in 3 subdirs of
go/misc/vim/ -- misc/vim: reorganize plugin so it uses ftplugin and syntax
09:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 252 seconds]
09:56 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
09:58 -!- amliao [~chatzilla@222.73.189.45] has joined #go-nuts
10:05 -!- amliao [~chatzilla@222.73.189.45] has quit [Ping timeout: 276 seconds]
10:06 -!- amliao [~chatzilla@222.73.189.44] has joined #go-nuts
10:07 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-238.clienti.tiscali.it] has
joined #go-nuts
10:07 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
10:12 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
10:20 -!- marsu [~marsu@98.64.202-77.rev.gaoland.net] has joined #go-nuts
10:20 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
10:22 -!- ikaros [~ikaros@g230139167.adsl.alicedsl.de] has joined #go-nuts
10:23 -!- amliao [~chatzilla@222.73.189.44] has quit [Ping timeout: 276 seconds]
10:24 -!- photron [~photron@port-92-201-124-102.dynamic.qsc.de] has joined
#go-nuts
10:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 260 seconds]
11:06 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: Lost
terminal]
11:09 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
11:23 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
11:27 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:11aa:67fe:f3:8fec] has joined
#go-nuts
11:33 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has joined
#go-nuts
11:34 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has quit [Ping timeout: 265
seconds]
11:34 -!- Eko [~eko@DHCP-159-138.caltech.edu] has quit [Ping timeout: 260 seconds]
11:37 < Ideal> Hi, is there a way to unpack right away returning array to
vars like 'str1, str2, str3 = strings.Split(ipStr, "/", 0)' compared to how Go
seems like wants it to be - to have an array on the left ?
11:37 < jessta> Ideal: nope
11:38 < Ideal> i see, thanks
11:38 < jessta> how would the compiler know how big the slice is?
11:38 < Ideal> dunno, but maybe some magic :)
11:40 < jessta> Ideal: you could make a function that takes a slice and
returns the first 3 items
11:41 < Ideal> hm..  well, if you make a slice from that array maybe there
is a way, like func[0:1] - 2 elements
11:41 < Ideal> for compiler to know
11:41 < Ideal> i see, well, here for now its just a simple one case, not
generic enough to make a func..
11:43 < Ideal> but maybe it'll be a useful technique later, thanks..
11:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 264 seconds]
12:08 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
12:28 -!- tazjin [~tazjin@ip-88-153-42-203.unitymediagroup.de] has joined #go-nuts
12:31 -!- visof_ [~visof@41.233.109.198] has joined #go-nuts
12:35 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 276 seconds]
12:45 -!- vdrab [~vdrab@cap011-233.kcn.ne.jp] has joined #go-nuts
12:55 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 245 seconds]
13:02 -!- nettok [~quassel@200.119.182.158] has quit [Ping timeout: 240 seconds]
13:06 -!- adu [~ajr@pool-71-191-173-125.washdc.fios.verizon.net] has quit [Quit:
adu]
13:09 -!- smw [~smw@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Quit: Leaving]
13:09 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
13:10 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
13:14 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
13:14 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
13:17 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
13:20 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
13:26 -!- TenOfTen [~TenOfTen@c-fd25e555.04-18-73746f10.cust.bredbandsbolaget.se]
has quit [Ping timeout: 264 seconds]
13:26 -!- Ideal [~Ideal@ideal-1-pt.tunnel.tserv6.fra1.ipv6.he.net] has quit [Quit:
Ideal]
13:28 -!- TenOfTen [~TenOfTen@85.229.37.253] has joined #go-nuts
13:55 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 245 seconds]
14:03 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
14:14 -!- world [~EthanG@sourcemage/guru/eekee] has left #go-nuts []
14:17 -!- EthanG [~EthanG@sourcemage/guru/eekee] has joined #go-nuts
14:25 -!- Palmik [~Palmik@161-177-207-85.zapcechy.adsl-llu.static.bluetone.cz] has
joined #go-nuts
14:29 -!- rlab [~Miranda@162-50-93-178.pool.ukrtel.net] has quit [Ping timeout:
260 seconds]
14:32 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
14:33 < virl> how can you transform a []int into a string?
14:33 -!- rlab [~Miranda@96-184-95-178.pool.ukrtel.net] has joined #go-nuts
14:37 < rsaarelm> virl: What kind of transform do you want?
14:37 < rsaarelm> Human-readable or binary data?
14:37 -!- Palmik [~Palmik@161-177-207-85.zapcechy.adsl-llu.static.bluetone.cz] has
left #go-nuts ["."]
14:39 < virl> human readable, in the sense of that each value in the array
represents a char in a string
14:39 < virl> I want to change some parts in the string actually and I don't
know how I do that in go neatly
14:40 < rsaarelm> But you have []int and not []byte, so how do you turn the
array values into chars?  Unicode?
14:40 < jessta> virl: string(intarray)
14:40 < virl> jessta, ah..  thanks
14:41 -!- g0bl1n [~pr0kter@a89-152-232-158.cpe.netcabo.pt] has joined #go-nuts
14:44 < jessta> rsaarelm: strings in Go are utf8 encoded
14:44 < virl> which is the cool thing about go
14:44 < rsaarelm> So it's int by default for chars?  Ok.
14:44 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host
closed the connection]
14:44 < virl> rsaarelm, no
14:45 -!- kanru [~kanru@61-228-150-156.dynamic.hinet.net] has quit [Ping timeout:
245 seconds]
14:45 < jessta> rsaarelm: yeah, runes as they are called
14:50 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has joined #go-nuts
14:50 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
14:52 -!- Surma [~surma@95-88-88-60-dynip.superkabel.de] has joined #go-nuts
14:52 -!- Surma [~surma@95-88-88-60-dynip.superkabel.de] has left #go-nuts []
14:55 -!- ender2070 [~ender2070@bas5-hamilton14-1279278974.dsl.bell.ca] has joined
#go-nuts
14:55 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 252 seconds]
14:57 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
15:00 -!- amliao [~chatzilla@222.73.189.44] has joined #go-nuts
15:06 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
15:15 -!- tav_ [~tav@92.29.27.68] has joined #go-nuts
15:16 -!- tav [~tav@2001:0:53aa:64c:0:3ffb:a3e2:e4bb] has quit [Read error:
Connection reset by peer]
15:18 -!- ender2070 [~ender2070@bas5-hamilton14-1279278974.dsl.bell.ca] has quit
[Remote host closed the connection]
15:19 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
15:20 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 260 seconds]
15:28 -!- tabo [~tabot@camelot.tabo.pe] has quit [Read error: Connection reset by
peer]
15:28 -!- tabo [~tabot@camelot.tabo.pe] has joined #go-nuts
15:30 -!- marsu [~marsu@98.64.202-77.rev.gaoland.net] has quit [Ping timeout: 240
seconds]
15:30 -!- ukai [~ukai@220.109.219.244] has quit [Ping timeout: 240 seconds]
15:32 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
15:32 -!- ukai [~ukai@220.109.219.244] has joined #go-nuts
15:32 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
15:38 -!- vdrab [~vdrab@cap011-233.kcn.ne.jp] has quit [Quit: vdrab]
15:38 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
15:43 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
15:45 -!- vdrab [~vdrab@cap011-233.kcn.ne.jp] has joined #go-nuts
15:47 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
15:53 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
15:55 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 260 seconds]
16:07 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
16:13 -!- g0bl1n [~pr0kter@a89-152-232-158.cpe.netcabo.pt] has quit [Quit:
Leaving]
16:14 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
16:23 -!- vdrab [~vdrab@cap011-233.kcn.ne.jp] has quit [Quit: vdrab]
16:32 -!- RyanSvensson [~kris@2002:573c:1726::1337:beef] has joined #go-nuts
16:32 -!- Eko [~eko@DHCP-159-138.caltech.edu] has joined #go-nuts
16:32 < RyanSvensson> How do i convert an string to an integer?
16:33 < Ginto8> look at package strconv
16:33 < Ginto8> I think that's what it's called
16:33 < RyanSvensson> thanks :)
16:33 < Ginto8> it's got Atoi and Itoa
16:38 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has joined #go-nuts
16:47 -!- ni| [~james@users.vu.union.edu] has quit [Quit: leaving]
16:47 -!- visof_ [~visof@41.233.109.198] has quit [Quit: Leaving]
16:48 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Read error:
Operation timed out]
16:48 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:51 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
16:52 -!- ni| [~ni|@c-24-147-65-44.hsd1.ma.comcast.net] has joined #go-nuts
17:02 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
17:03 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Client Quit]
17:04 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
17:13 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
17:17 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 260
seconds]
17:32 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
17:39 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
17:53 -!- Ina [~ina@5ED73781.cable.ziggo.nl] has quit [Ping timeout: 245 seconds]
17:56 -!- RyanSvensson [~kris@2002:573c:1726::1337:beef] has quit [Ping timeout:
248 seconds]
17:56 -!- marsu [~marsu@98.64.202-77.rev.gaoland.net] has joined #go-nuts
18:00 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
18:05 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
18:05 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
18:11 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
18:12 -!- engla [~ulrik@wikipedia/Sverdrup] has joined #go-nuts
18:15 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
18:23 -!- alehorst [~alehorst@189.115.87.46] has quit [Remote host closed the
connection]
18:25 -!- alehorst [~alehorst@189.115.87.46] has joined #go-nuts
18:26 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has joined #go-nuts
18:26 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
18:27 < plexdev> http://is.gd/cWGJd by [Russ Cox] in go/src/cmd/gc/ -- gc:
fix build - subnode not addable in complexgen
18:27 -!- Kashia [~Kashia@p4FEB35C1.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
18:35 -!- path[l] [UPP@120.138.102.50] has quit [Ping timeout: 265 seconds]
18:38 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
18:40 -!- Tiger_ [~chatzilla@222.73.189.44] has joined #go-nuts
18:41 -!- amliao [~chatzilla@222.73.189.44] has quit [Ping timeout: 248 seconds]
18:56 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has quit [Read
error: Connection reset by peer]
18:56 -!- ni|_ [~james@users.vu.union.edu] has joined #go-nuts
18:58 -!- alehorst [~alehorst@189.115.87.46] has quit [Ping timeout: 248 seconds]
18:59 < plexdev> http://is.gd/cWIj1 by [Russ Cox] in 9 subdirs of go/ -- gc:
better error messages for interface failures, conversions
19:00 < Ginto8> is it possible to add methods to an interface type?
19:00 < Ginto8> like type X interface{}
19:00 < Ginto8> func (this X) doStuff() {}
19:00 < Ginto8> ?
19:01 -!- alehorst [~alehorst@189.115.87.46] has joined #go-nuts
19:01 -!- prip [~foo@host16-123-dynamic.36-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 258 seconds]
19:02 -!- prip [~foo@host16-123-dynamic.36-79-r.retail.telecomitalia.it] has
joined #go-nuts
19:03 < Ginto8> oh nvm looked at the spec
19:03 -!- Ina_ [~ina@62.140.137.110] has joined #go-nuts
19:04 < KirkMcDonald> The spec does not seem to forbid this.
19:05 < Ginto8> T is called the receiver base type or just base type.  The
base type must not be a pointer or interface type and must be declared in the same
package as the method.
19:05 < Ginto8> from the "method declarations" bit
19:05 < KirkMcDonald> Ah.
19:05 < KirkMcDonald> So it does.
19:16 < plexdev> http://is.gd/cWJaq by [Russ Cox] in go/test/ -- errchk: fix
build - allow matches in multiline error messages
19:16 < plexdev> http://is.gd/cWJaw by [Russ Cox] in go/src/cmd/gc/ -- gc:
delete debug print
19:16 < plexdev> http://is.gd/cWJaD by [Russ Cox] in 13 subdirs of go/src/
-- reflect: add Kind, remove Int8Type, Int8Value, etc.
19:20 -!- Ina_ [~ina@62.140.137.110] has quit [Ping timeout: 272 seconds]
19:20 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 272 seconds]
19:24 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
19:28 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
19:31 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
19:35 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 265 seconds]
19:41 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
19:48 < Ginto8> is it possible to have an empty struct?
19:48 < plexdev> http://is.gd/cWKuv by [Russ Cox] in 5 subdirs of go/ --
undo changes accidentally included in 09c5add99d50
19:48 < exch> why not?
19:48 < Ginto8> ok just checking
19:48 < Ginto8> it seems sorta unintuitive, but w/e
19:49 < Ginto8> I mean, I might as well just use like bool/byte since it's
just a sorta placeholder type
19:50 -!- ikaros [~ikaros@g230139167.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
19:51 -!- rhelmer [~rhelmer@adsl-69-107-87-67.dsl.pltn13.pacbell.net] has joined
#go-nuts
19:53 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
19:56 < Soultaker> by that reasoning, why allow a struct with one member?
19:57 < Soultaker> (I think an empty struct is the only way to create an
empty value, or can you declare a "type X void" or something?)
19:57 < Ginto8> you might not as well have one in Go
19:57 < MizardX> type Foo struct{} :)
19:58 -!- rhelmer [~rhelmer@adsl-69-107-87-67.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
20:00 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
20:01 < Ginto8> MizardX, would that create a true empty value or just a
placeholder value?
20:07 -!- Kashia [~Kashia@port-92-200-136-234.dynamic.qsc.de] has joined #go-nuts
20:13 -!- ikaros [~ikaros@g227080197.adsl.alicedsl.de] has joined #go-nuts
20:16 -!- virl [~virl__@chello062178085149.1.12.vie.surfer.at] has quit [Remote
host closed the connection]
20:18 < MizardX> It's not 0B.  Thre is always some space for type
information.
20:19 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 248 seconds]
20:20 < Ginto8> ok so it would probably have the same effect to do type Foo
int?
20:20 < Ginto8> since int is a word value and they probably pad the structs
to word value anyway
20:23 < MizardX>
http://research.swtch.com/2009/12/go-data-structures-interfaces.html
20:24 < Soultaker> MizardX: I don't think that's true.
20:24 < Soultaker> if an empty struct can't be 0 bytes, why can an int be 4
bytes?
20:24 < MizardX> Ah, right.  Static types does not need runtime type
information.  Interface types does.
20:25 < Ginto8> oh ok so struct{} it is for a placeholder type
20:25 < Soultaker> that sounds about right :)
20:31 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
20:32 < MizardX> "placeholder" types is still useful in Go, since they can
satisfy interfeaces.
20:32 < Ginto8> yep
20:32 < Ginto8> I'm using it for an input system where Event is an
interface{} and QuitEvent is a struct{}
20:33 < Ginto8> since QuitEvent doesn't really have any data tied to it
20:34 < Eko> Ginto8: that's the paradigm that's been used so far
20:35 < Eko> because you can still define all of the necessary func (qe
*QuitEvent)'s.
20:35 < Ginto8> Eko, ok thanks just making sure I'm sane in choosing it =)
20:35 < Ginto8> well it's not gonna have any methods
20:35 < Ginto8> but w/e
20:35 < Soultaker> it'll be pretty trivial to change it later, anyway :)
20:35 < Ginto8> yep
20:35 -!- cenuij [~cenuij@78.112.253.165] has joined #go-nuts
20:35 -!- cenuij [~cenuij@78.112.253.165] has quit [Changing host]
20:35 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
20:36 < Eko> Ginto8: that is also acceptable, because it still requires it
to be a QuitEvent and not a struct{} if you have a method/function that specifies
that as the type.
20:36 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-238.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
20:36 < Ginto8> ok cool
20:37 < Ginto8> if I ever decide to add methods/functions messing with it,
it won't be difficult this way
20:37 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
[Ping timeout: 245 seconds]
20:37 < Ginto8> MizardX, that article is really interesting
20:38 < Eko> indeed.  I presume you're going to have functions that take an
e Event and do something like switch ev := e.(type){case QuitEvent: Quit()}?
20:39 < Ginto8> yeah it's for a game engine so I'm gonna have it so that you
can check the current input via a channel during the main game loop
20:43 < Soultaker> a lot of those articles about Go's implementation are
interesting.  I wish they were archived on golang.org or something.
20:44 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has joined
#go-nuts
20:44 -!- aho [~nya@f052062154.adsl.alicedsl.de] has joined #go-nuts
20:44 < Ginto8> go is quite an interesting language
20:45 -!- jsj [johan@devio.us] has joined #go-nuts
20:50 < jer> i'm looking for some analog to memcpy() in C for Go
20:50 < MizardX> copy()
20:50 < Ginto8> copy()
20:50 < Ginto8> copy(dst []T,src []T)
20:50 < Ginto8> is what the approximate prototype would be
20:51 < Ginto8> since it's builtin rather than in a package
20:51 < jer> oh shit =/
20:51 < Ginto8> that and a crapload of other stuff are on the spec
20:51 < Ginto8> it's a very useful read and reference
20:51 < jer> yeah where can i find these functions?  looking at the guides
on golang.org and can't see them
20:51 < jer> ah
20:51 < jer> thanks
20:51 < Ginto8> also look at the 3 .pdf's in $GOROOT/doc
20:52 < jer> alright, thanks
20:52 < Ginto8> they go pretty indepth about everything
20:52 < jer> aha, copy works on slices only; need to find a different way to
do this then
20:52 < jer> i'll see what i can dig up in the spec, thanks
20:53 < Ginto8> are you trying to do it with pointers?
20:53 < Ginto8> because that's a really bad idea
20:53 -!- plavcik [~plavcik@bilbo.navratil.cz] has quit [Ping timeout: 276
seconds]
20:53 < jer> Ginto8, no, i've got a bunch of field members in a type struct
which themselves are type structs; i need to copy them
20:53 < Ginto8> oh
20:53 < Ginto8> x = y
20:54 < Ginto8> if they're the same type
20:54 < jer> they are
20:54 < Ginto8> x = y
20:54 < Ginto8> you can copy them directly
20:54 < jer> interesting; my mind is just thinking that that's only going to
create a reference
20:54 < Ginto8> nope
20:54 < Ginto8> no references in go
20:54 < jer> ah
20:55 < Ginto8> this ain't java
20:55 < jer> =]
20:55 < Ginto8> there are pointers
20:55 < jer> that's good, i'm not a java programmer
20:55 < Ginto8> but only if you ask for em
20:56 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
21:03 -!- gnuvince [~vince@70.35.165.132] has quit [Remote host closed the
connection]
21:03 -!- gnuvince [~vince@72.0.216.91] has joined #go-nuts
21:04 -!- ni| [~ni|@c-24-147-65-44.hsd1.ma.comcast.net] has quit [Quit:
Leaving...]
21:08 -!- bmizeran_ [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
21:08 -!- bmizerany [~bmizerany@85.sub-69-99-149.myvzw.com] has joined #go-nuts
21:10 -!- htoothrot [~mux@71-8-117-228.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
21:11 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
21:13 -!- napsy [~luka@88.200.96.14] has quit [Quit: Lost terminal]
21:15 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
21:18 -!- gnuvince [~vince@72.0.216.91] has quit [Quit: What the fruit is goin' on
here!?]
21:18 -!- gnuvince [~vince@72.0.216.91] has joined #go-nuts
21:19 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 276 seconds]
21:20 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
[Ping timeout: 264 seconds]
21:21 -!- jsj [johan@devio.us] has quit [Quit: Lost terminal]
21:23 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:31 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:11aa:67fe:f3:8fec] has quit
[Quit: Leaving.]
21:31 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
21:33 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
21:33 -!- emmanueloga [~emmanuelo@190.247.41.202] has joined #go-nuts
21:35 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
21:43 -!- Kashia [~Kashia@port-92-200-136-234.dynamic.qsc.de] has quit [Quit:
Leaving]
21:45 -!- Open_Space [~ja@91.150.122.51] has joined #go-nuts
21:45 -!- OpenSpace [~ja@109.93.39.158] has quit [Ping timeout: 276 seconds]
21:49 -!- vdrab [~vdrab@cap005-041.kcn.ne.jp] has joined #go-nuts
21:50 -!- tazjin [~tazjin@ip-88-153-42-203.unitymediagroup.de] has quit [Quit:
Leaving...]
21:52 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has quit [Ping
timeout: 264 seconds]
21:55 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:56 -!- awidegreen [~quassel@62.176.237.78] has quit [Read error: Connection
reset by peer]
21:57 -!- rlab [~Miranda@96-184-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
22:10 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
22:15 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
22:15 -!- rinzai [~rinzai@host86-138-155-164.range86-138.btcentralplus.com] has
joined #go-nuts
22:17 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
22:17 -!- Adys_ [~Adys@unaffiliated/adys] has joined #go-nuts
22:19 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 260 seconds]
22:19 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has joined #go-nuts
22:20 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has joined
#go-nuts
22:31 -!- b00m_chef__ [~watr@d64-180-44-79.bchsia.telus.net] has quit [Ping
timeout: 264 seconds]
22:32 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Ping timeout: 265
seconds]
22:32 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
22:36 -!- tvw [~tv@e176000164.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
22:37 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
22:41 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection
reset by peer]
22:48 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
22:49 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Quit: Shyde]
22:49 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
22:50 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
22:52 -!- carllerche [~carllerch@208.87.61.203] has quit [Client Quit]
22:53 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
22:53 -!- Adys_ [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode]
22:56 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
22:57 -!- ikaros [~ikaros@g227080197.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
23:01 -!- boscop_ [~boscop@g225225003.adsl.alicedsl.de] has joined #go-nuts
23:04 -!- boscop [~boscop@g227127022.adsl.alicedsl.de] has quit [Ping timeout: 272
seconds]
23:06 -!- lux` [~lux@151.71.215.184] has quit [Remote host closed the connection]
23:14 -!- Davidian1024 [~Davidian1@cpe-174-100-47-171.neo.res.rr.com] has quit
[Quit: leaving]
23:17 -!- Eko [~eko@DHCP-159-138.caltech.edu] has quit [Remote host closed the
connection]
23:19 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 245 seconds]
23:19 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has quit [Read error: Connection
reset by peer]
23:25 -!- rinzai [~rinzai@host86-138-155-164.range86-138.btcentralplus.com] has
quit [Quit: Leaving]
23:26 -!- vdrab [~vdrab@cap005-041.kcn.ne.jp] has quit [Quit: vdrab]
23:32 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
23:42 -!- bmizeran_ [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
23:45 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 276
seconds]
23:45 -!- bmizerany [~bmizerany@85.sub-69-99-149.myvzw.com] has quit [Ping
timeout: 265 seconds]
23:46 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has joined #go-nuts
23:47 -!- Eko [~eko@DHCP-159-138.caltech.edu] has joined #go-nuts
23:47 -!- engla [~ulrik@wikipedia/Sverdrup] has quit [Ping timeout: 264 seconds]
23:47 < nsf> um..  why short form of declarations aren't allowed in a global
scope?
23:48 < Eko> nsf: just do var = valyue
23:48 < Eko> er, var ( blah = value )
23:49 < Eko> because it's an explicit variable declaration, it will now
assume the type of the value for the variable.
23:49 < nsf> Eko: thanks
23:51 -!- photron [~photron@port-92-201-124-102.dynamic.qsc.de] has quit [Ping
timeout: 245 seconds]
--- Log closed Mon Jun 21 00:00:12 2010