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

--- Log opened Thu Aug 26 00:00:05 2010
00:02 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts
00:02 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
00:03 -!- mbohun [~mbohun@202.124.72.31] has joined #go-nuts
00:07 -!- angasule [c80571ea@gateway/web/freenode/ip.200.5.113.234] has quit
[Quit: Page closed]
00:17 -!- kiffer [~kiffa@ip245-152-208-87.adsl2.static.versatel.nl] has joined
#go-nuts
00:22 -!- artefon [~thiago@189.107.188.188] has joined #go-nuts
00:30 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
00:32 < plexdev> http://is.gd/eDRda by [Andrew Gerrand] in go/doc/ --
doc/go_learning: add links to more German docs
00:35 -!- ako [~nya@fuld-4d00d602.pool.mediaWays.net] has joined #go-nuts
00:38 -!- aho [~nya@fuld-4d00d371.pool.mediaWays.net] has quit [Ping timeout: 265
seconds]
00:40 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 258 seconds]
00:43 -!- zaphod_bblbrx_ [~quassel@84.38.10.63] has joined #go-nuts
00:44 -!- iant1 [~iant@66.109.106.2] has joined #go-nuts
00:47 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
00:47 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has quit [Quit:
ericvh]
00:49 -!- mikespook [~mikespook@219.137.50.177] has joined #go-nuts
00:58 -!- iant1 [~iant@66.109.106.2] has quit [Quit: Leaving.]
01:00 -!- prip [~foo@host65-194-dynamic.17-79-r.retail.telecomitalia.it] has quit
[Read error: Operation timed out]
01:03 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
01:12 -!- zaphod_bblbrx_ [~quassel@84.38.10.63] has quit [Ping timeout: 240
seconds]
01:16 -!- prip [~foo@host229-9-dynamic.7-79-r.retail.telecomitalia.it] has joined
#go-nuts
01:18 -!- kanru [~kanru@118-160-164-153.dynamic.hinet.net] has quit [Ping timeout:
260 seconds]
01:34 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 272 seconds]
01:42 -!- kiffer [~kiffa@ip245-152-208-87.adsl2.static.versatel.nl] has quit [Ping
timeout: 272 seconds]
01:45 -!- adu [~ajr@pool-71-191-154-37.washdc.fios.verizon.net] has quit [Read
error: Connection reset by peer]
01:45 -!- adu [~ajr@pool-71-191-154-37.washdc.fios.verizon.net] has joined
#go-nuts
01:48 -!- kiffer [~kiffa@ip245-152-208-87.adsl2.static.versatel.nl] has joined
#go-nuts
01:56 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:57 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
01:59 -!- artefon [~thiago@189.107.188.188] has quit [Quit: bye]
01:59 -!- kiffer [~kiffa@ip245-152-208-87.adsl2.static.versatel.nl] has quit []
02:01 -!- exch [~exch@h144170.upc-h.chello.nl] has quit [Ping timeout: 245
seconds]
02:01 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
02:03 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host
closed the connection]
02:07 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
02:09 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts
02:17 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
02:17 -!- mode/#go-nuts [+v iant] by ChanServ
02:27 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
02:35 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
02:43 -!- itrekkie [~itrekkie@ip72-200-109-106.tc.ph.cox.net] has joined #go-nuts
02:45 -!- mikespook [~mikespook@219.137.50.177] has quit [Ping timeout: 240
seconds]
02:46 -!- mikespook [~mikespook@219.137.50.177] has joined #go-nuts
02:49 -!- cco3-hampster [~conleyo@nat/google/x-rdbjilbtnxalowwm] has quit [Ping
timeout: 240 seconds]
03:03 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:05 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
03:13 -!- kcwu [fakeidkcwu@kcwu.csie.org] has quit [Quit: reboot]
03:17 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
03:30 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
03:31 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
03:34 -!- pjz [~pj@place.org] has joined #go-nuts
03:36 -!- pjz [~pj@place.org] has quit [Quit: leaving]
03:37 -!- pjz [~pj@place.org] has joined #go-nuts
03:37 < pjz> should I use an array of struct or an array of pointers to
struct?
03:38 < pjz> and is the type of the second one []*mystruct?
03:41 < jessta> yes, []*mystruct is a slice of *mystruct
03:42 < jessta> you can use either, it depends on what you're doing
03:42 < pjz> okay, is there a good literal syntax for initializing an array
(or slice, I guess) of maps?
03:45 -!- dbtid [utauanvf9r@unaffiliated/dbtid] has joined #go-nuts
03:47 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has left #go-nuts []
03:48 < nickaugust> \
03:48 < pjz> oh, nm, I need to reread the Effective Go bits I think
03:49 < nickaugust> pjz: yes it takes a few times over ;0
03:50 < jessta> pjz: something like,
[]map[string]string{map[string]string{"somekey": "somevalue"}}
03:51 < pjz> ow
03:51 < pjz> that's alot of map[string]string
03:52 < jessta> slice literals are a bit verbose, but there are reasons for
it
03:53 < jessta> apparently it gets messy infering the types, so instead you
have to specify them
03:55 < pjz> ...  but they're *right there*
03:55 < pjz> enh, okay.
03:56 < jessta> it's explained on the mailing list somewhere
03:57 -!- lmoura [~lauromour@186.212.118.149] has quit [Read error: Connection
reset by peer]
03:58 -!- lmoura [~lauromour@187.58.107.86] has joined #go-nuts
04:04 < pjz> my composite literal is complaining about the : in the args
list...
04:06 < pjz> http://pastebin.ca/1925620
04:07 -!- General13372 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 240 seconds]
04:08 < pjz> could someone look there and tell me what's wrong with my
composite literal?
04:18 < rsaarelm> Aw. New makefile system creates Make.deps with bits like
"../cmd/cgo.install".  Not nice when my stuff doesn't live in the GOROOT tree.
04:18 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
04:20 < pjz> I was just looking at that.  Make.inc looks reusable
04:24 < rsaarelm> pjz: Oh, and you need to say GamePlay{stuff}, not
GamePlay(stuff).  Curly brackets.
04:26 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 272
seconds]
04:27 -!- iant1 [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:27 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: Connection reset by peer]
04:28 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
04:30 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Quit:
Computer has gone to sleep.]
04:31 -!- Guest78874 [~doris@cpe-76-179-135-193.maine.res.rr.com] has joined
#go-nuts
04:31 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
04:33 < pjz> rsaarelm: ah!  thanks.  *goes off to change his font too...*
04:33 -!- Guest78874 [~doris@cpe-76-179-135-193.maine.res.rr.com] has left
#go-nuts []
04:34 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 265 seconds]
04:37 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
04:37 -!- mode/#go-nuts [+v iant1] by ChanServ
04:48 < rsaarelm> And there goes my productive work for this morning
figuring out how to fix the build breakage.  Ended up making a local symlink to
cgo dir to where the relative deps path expects to find it in.
04:48 < rsaarelm> Complained to mailing list about being forced to do ugly
things.
04:49 < taruti> having one of the pure-go build tools become standardized
would be nice.
04:49 < taruti> instead of the fragile makefiles (especially with goinstall)
04:50 < rsaarelm> Yeah.  I might want to look into those at some point.
04:56 -!- iant1 [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 240 seconds]
04:57 -!- itrekkie [~itrekkie@ip72-200-109-106.tc.ph.cox.net] has quit [Quit:
itrekkie]
05:02 -!- scm [justme@d019125.adsl.hansenet.de] has quit [Ping timeout: 255
seconds]
05:04 -!- scm [justme@d071233.adsl.hansenet.de] has joined #go-nuts
05:04 -!- jdp [~justin@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
05:10 -!- ako [~nya@fuld-4d00d602.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
05:11 -!- iant [~iant@216.239.45.130] has joined #go-nuts
05:11 -!- mode/#go-nuts [+v iant] by ChanServ
05:23 -!- prip [~foo@host229-9-dynamic.7-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 245 seconds]
05:35 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
05:35 -!- prip [~foo@host254-123-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
05:39 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts
05:45 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host
closed the connection]
05:48 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has quit
[Quit: Leaving]
05:54 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
05:57 -!- ExtraSpice [~XtraSpice@88.118.32.225] has joined #go-nuts
06:03 -!- sacho [~sacho@95-42-65-214.btc-net.bg] has quit [Quit: Ex-Chat]
06:04 -!- snearch [~snearch@f053005200.adsl.alicedsl.de] has joined #go-nuts
06:20 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
06:32 -!- dju_ [dju@fsf/member/dju] has quit [Quit: Quitte]
06:32 -!- exch [~exch@h144170.upc-h.chello.nl] has joined #go-nuts
06:36 -!- ronnyy [~quassel@p4FF1CE68.dip.t-dialin.net] has joined #go-nuts
06:40 -!- mbohun [~mbohun@202.124.72.31] has quit [Remote host closed the
connection]
06:44 -!- mbohun [~mbohun@202.124.74.146] has joined #go-nuts
06:52 < plexdev> http://is.gd/eEmqw by [Christian Himpel] in go/ --
.hgignore: ignore src/cmd/cc/y.output
06:53 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has quit [Quit:
leaving]
06:56 -!- iant [~iant@216.239.45.130] has quit [Read error: Connection reset by
peer]
07:05 -!- ucasano [~ucasano@217.201.194.99] has joined #go-nuts
07:16 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
07:16 -!- mode/#go-nuts [+v iant] by ChanServ
07:18 -!- photron [~photron@port-92-201-149-85.dynamic.qsc.de] has joined #go-nuts
07:26 -!- sacho [~sacho@213.91.244.15] has joined #go-nuts
07:33 -!- napsy [~luka@212.235.174.112] has quit [Read error: Operation timed out]
07:34 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
07:36 -!- bujo [~bujo@port-92-200-120-45.dynamic.qsc.de] has joined #go-nuts
07:39 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
07:53 -!- Fish-Work [~Fish@86.65.182.207] has quit [Read error: Connection reset
by peer]
07:53 -!- Fish-Work [~Fish@86.65.182.207] has joined #go-nuts
07:56 -!- bujo [~bujo@port-92-200-120-45.dynamic.qsc.de] has quit [Quit: Colloquy
for iPod touch - http://colloquy.mobi]
08:00 -!- ikaros [~ikaros@188.107.221.245] has joined #go-nuts
08:03 -!- ikaros [~ikaros@188.107.221.245] has quit [Client Quit]
08:10 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
08:17 -!- ucasano [~ucasano@217.201.194.99] has quit [Quit: ucasano]
08:17 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
08:19 -!- ikaros [~ikaros@188.107.221.245] has joined #go-nuts
08:22 -!- ikaros [~ikaros@188.107.221.245] has quit [Client Quit]
08:22 -!- ikaros [~ikaros@188.107.221.245] has joined #go-nuts
08:29 < taruti> What is the new standard makefile format for packages?
08:33 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
08:34 -!- ronnyy [~quassel@p4FF1CE68.dip.t-dialin.net] has quit [Remote host
closed the connection]
08:35 -!- snearch [~snearch@f053005200.adsl.alicedsl.de] has quit [Quit:
Verlassend]
08:37 < taruti> include ${GOROOT}/src/Make.inc ?
08:42 -!- adu [~ajr@pool-71-191-154-37.washdc.fios.verizon.net] has quit [Quit:
adu]
08:44 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
08:46 < chressie> taruti: yeah, i think thats it..  the makefiles in the
standard packages look similar to this
08:48 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
08:48 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has joined #go-nuts
08:50 < chressie> but i would prefer $(GOROOT) instead of ${GOROOT} (that
seems to be consistent with the other usages of variables)
08:52 -!- atsampson [~ats@212.183.140.54] has quit [Ping timeout: 240 seconds]
08:52 -!- Ygg [~Ygg@74.0-136-217.adsl-dyn.isp.belgacom.be] has joined #go-nuts
08:53 -!- Ygg [~Ygg@74.0-136-217.adsl-dyn.isp.belgacom.be] has left #go-nuts []
08:54 -!- atsampson [~ats@212.183.140.54] has joined #go-nuts
08:55 < fenicks> hello
09:05 -!- turbinio [~tobias@91-64-156-117-dynip.superkabel.de] has joined #go-nuts
09:05 -!- turbinio [~tobias@91-64-156-117-dynip.superkabel.de] has left #go-nuts
[]
09:17 -!- mikespook [~mikespook@219.137.50.177] has quit [Ping timeout: 240
seconds]
09:18 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
09:25 -!- jmettraux [~jmettraux@211.19.55.177] has quit [Remote host closed the
connection]
09:25 -!- tav [~tav@2001:0:53aa:64c:0:3ffe:a3f8:9cec] has quit [Quit: tav]
09:28 -!- saschpe [~quassel@mgdb-4d0cfcb1.pool.mediaWays.net] has joined #go-nuts
09:29 < visof> fenicks, hello
09:30 < fenicks> yep visof
09:30 < visof> fenicks, ?
09:32 -!- mikespook [~mikespook@219.137.50.146] has joined #go-nuts
09:32 < fenicks> visof: do you read something about kerberos in GO ?
09:32 < visof> fenicks, no
09:33 -!- mikespook [~mikespook@219.137.50.146] has quit [Client Quit]
09:36 < taruti> there are no kerberos bindings atm
09:37 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
09:39 -!- luruke [~luruke@151.53.48.186] has joined #go-nuts
09:39 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 264 seconds]
09:41 < luruke> why it doesn't works?
09:41 < luruke> http://sprunge.us/RBZX
09:41 < luruke> luruke ~/Downloads/go $ bin/6g eur10.go
09:41 < luruke> eur10.go:3: undefined: num
09:41 < luruke> eur10.go:4: undefined: num
09:43 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has joined #go-nuts
09:44 < exch> luruke: func is_prime(num int) bool
09:44 < exch> the name comes before the type of the argument
09:45 < luruke> func is_prime(int num) bool?
09:45 < exch> no
09:45 < exch> num int
09:45 < luruke> ah ok
09:45 < luruke> eur10.go:4: cannot use num (type int) as type bool in return
argument
09:46 < luruke> ah sry
09:46 < luruke> mea culpa
09:46 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
09:46 < luruke> i'm a noob with Go
09:46 < exch> perhaps these two pages are helpful :)
http://golang.org/doc/go_tutorial.html http://golang.org/doc/effective_go.html
09:47 < luruke> exch, ok thank's
09:47 < luruke> exch, but isn't simple for me, because i don't know C
09:47 < luruke> exch, i see that a lots of things are similar to C
09:48 < exch> some things, yes
09:48 < luruke> exch, in Go exists for example sockets?
09:49 < luruke> exch, graphics library?  gtk, ncurses, qt?
09:50 < exch> there are a few graphics bindings.  you will find most of them
here http://go-lang.cat-v.org/library-bindings or here
http://godashboard.appspot.com/package
09:50 < luruke> aahh, great!
09:51 < luruke> i love the syntax of Go
09:51 < luruke> and it's very very faster!
09:51 < exch> yes, it is quite nice :)
09:52 < luruke> yes, but i think the only things that i hate in Go are
pointers
09:52 < rsaarelm> They are tricky.
09:53 < exch> pointers in Go are different from C. That can take some
getting used to I suppose
09:53 < rsaarelm> I wonder if they are extra tricky for someone who doesn't
already know them from C, as the rules for their use in Go are somewhat more
complex than in C.
09:53 < luruke> rsaarelm, yeah
09:54 < taruti> I'm teaching Go to a newbie and she finds the pointers "much
easier than C++ which in school made me abhor programming"
09:54 -!- ikaros [~ikaros@188.107.221.245] has quit [Quit: Leave the magic to
Houdini]
09:54 < exch> good :)
09:54 < nsf> luruke: why do you hate them?  almost every language out there
uses some notion of a pointer or a reference
09:54 < rsaarelm> Well C++ has the references too and all that crap.
09:54 < luruke> i want to migrate to another programming language
09:54 < luruke> now i program in PHP
09:55 < nsf> even PHP has references
09:55 < rsaarelm> I'm thinking about vanilla C in comparison mostly.
09:55 < luruke> (too for work)
09:55 < luruke> now i want to migrate or to Go, or to Falcon
09:55 < rsaarelm> Most modern languages abstract away the reference stuff.
09:55 < luruke> anyone know falcon?
09:55 < luruke> http://www.falconpl.org
09:55 < rsaarelm> Some things just are always references, and you don't need
to think about whether you need to use a pointer/reference somewhere or not.
09:56 < rsaarelm> Never heard of Falcon...
09:57 < luruke> rsaarelm, it's a new italian project
09:57 < nsf> looks like falcon uses the same inheritance-based object model
09:57 < nsf> like other popular OOP langs
09:57 < luruke> http://www.falconpl.org/index.ftd?page_id=facts
09:58 < luruke> i never tried it
09:58 < luruke> but i think Go it's more better
09:58 < nsf> and I think this table is very unfair
09:59 < nsf> python has "partial" OOP support?  rly?  Lua has big std lib?
omg
09:59 < nsf> oops, sorry, I mean medium
09:59 < luruke> lol
09:59 < nsf> lua is like the smallest thing out there
10:00 < luruke> ok, now i'm starti to code in Go
10:00 < luruke> but there are a lots of things that i don't understand
10:00 < nsf> like?
10:00 < luruke> i can ask here when i have a problem?
10:00 < nsf> well, no, you should use google first
10:00 < nsf> :)
10:00 < luruke> ok :D
10:01 < luruke> for example...
10:01 < luruke> for _, value := range m { // key is unused
10:01 < luruke> what is '_'?
10:01 < luruke> and range?
10:01 < nsf> it's like /dev/null
10:02 < nsf> for ...  := range ...  { is called a range statement
10:02 < nsf> it's a loop that iterates over a range
10:02 < nsf> and it's all is described nicely in the language spec
10:02 < luruke> range is similar of an array?
10:02 < nsf> range is just a part of the loop construction
10:02 < nsf> part of its syntax form
10:02 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has joined
#go-nuts
10:02 < luruke> ah ok
10:03 < nsf> other that in that loop it means nothing
10:03 < nsf> than*
10:03 < exch> you can compare 'for ...  range ...  {}' to php's foreach loop
10:03 < nsf> probably, yes
10:04 < exch> not entirely the same, but close enough
10:04 < luruke> and this?
10:04 < luruke> func Min(a ...int) int {
10:04 < luruke> ...int?
10:04 < exch> that allows you to pass 0 or more ints as arguments
10:04 < exch> Min(), Min(1, 2, 3, 4) will all work
10:04 < jnwhiteh> vararg notation
10:05 < luruke> ah ok
10:05 < luruke> cool
10:05 < luruke> min := int(^uint(0) >> 1) // largest int?
10:05 < nsf> yes
10:05 < nsf> or wait
10:05 < nsf> smallest?
10:06 < nsf> or largest
10:06 < nsf> :D
10:07 < luruke> i don't know
10:08 < luruke> everything seems really complicated for me :S
10:08 < jnwhiteh> Why are you looking at bitwise operations?
10:08 < jnwhiteh> that's hardly a way to start learning a language
10:09 < nsf> luruke: then don't learn Go
10:09 < luruke> lol
10:09 < luruke> maybe with time
10:10 < nf_> luruke: have you done any of the Go tutorials?
10:11 < luruke> nf_, yes, without success
10:11 < luruke> lol
10:11 < nf_> luruke: it seems like you're diving into the midst of things
and getting confused.  if you get started simply, you might find it easier
10:11 < nf_> luruke: really?  which one?
10:11 < nf_> (i ask, because I'm the one who maintains the docs)
10:11 < jnwhiteh> http://golang.org/doc/go_tutorial.html
10:11 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
10:11 -!- virtualsue [~chatzilla@nat/cisco/x-osjytbjfnfgatjrk] has joined #go-nuts
10:11 -!- lmoura [~lauromour@187.58.107.86] has quit [Ping timeout: 245 seconds]
10:11 < jnwhiteh> Hello, World
10:11 < jnwhiteh> what's failing with that one?
10:12 < luruke> with hello world nothing
10:12 -!- lmoura [~lauromour@187.58.109.188] has joined #go-nuts
10:12 < luruke> but why use fmt?
10:12 < luruke> you can simply use print() right?
10:12 < nf_> luruke: because that's how you print strings
10:12 < jnwhiteh> okay, then perhaps you can help pinpoint where you are
running into issues.
10:13 < nf_> luruke: you *can* use print/println, but it is discouraged.
They don't offer a lot of things that the fmt package gives you (trust me, it'll
make more sense later).
10:13 < luruke> ok
10:13 < luruke> but for a noob the hello world is the first impression
10:13 < luruke> (and sorry for my bad english)
10:13 < nf_> i don't see what's wrong with it as a first impression
10:14 < jnwhiteh> the tutorial is correct
10:14 < jnwhiteh> =)
10:14 < nf_> print/println are not guaranteed to be there - it depends on
the compiler you're using
10:14 < luruke> and after
10:14 < luruke> there is an echo example
10:14 < luruke> not much easy for a prime impression
10:14 < Namegduf> It is incorrect to use print() in production software.
10:14 < Namegduf> It is a bootstrapping function.
10:14 < napsy> luruke: what did you expect?
10:14 < nf_> luruke: perhaps try this one instead, then:
http://golang.org/doc/codelab/wiki/
10:14 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
10:14 < Namegduf> Go discourages builtins where possible, and using the fmt
package is not a bad thing.
10:16 -!- napsy [~luka@212.235.174.112] has quit [Quit: Lost terminal]
10:16 < luruke> after i read with more attention the tutorial
10:17 < luruke> thank's to all for the support :D
10:18 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
10:24 -!- zaphod_bblbrx_ [~quassel@84.38.10.63] has joined #go-nuts
10:28 < nf_> luruke: good luck!  please let us know if you have more trouble
10:40 -!- Days` [~\\localho@quanthouse.cust.jaguar-network.net] has joined
#go-nuts
10:43 < taruti> Is there a way to test whether a file is at eof?
10:45 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
10:46 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the
connection]
10:47 -!- mbohun [~mbohun@202.124.74.146] has quit [Quit: Leaving]
10:49 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
10:53 < rsaarelm> taruti: I wonder if trying to Read 0 bytes will return an
os.EOF as error if at eof.
10:53 < jnwhiteh> good question!
10:56 < taruti> hmm.  bufio + Peek works
10:56 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
10:56 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
11:10 -!- welterde [~welterde@not.welterde.de] has quit [Read error: Operation
timed out]
11:16 -!- dolo [~ruzz@210-84-26-83.dyn.iinet.net.au] has joined #go-nuts
11:17 -!- dolo [~ruzz@210-84-26-83.dyn.iinet.net.au] has quit [Client Quit]
11:18 -!- dolo [~ruzz@210-84-26-83.dyn.iinet.net.au] has joined #go-nuts
11:22 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 265 seconds]
11:27 -!- ikaros [~ikaros@188.107.208.81] has joined #go-nuts
11:30 -!- welterde [~welterde@not.welterde.de] has joined #go-nuts
11:33 -!- artefon [~thiago@189.107.188.188] has joined #go-nuts
11:33 -!- ikaros [~ikaros@188.107.208.81] has quit [Quit: Leave the magic to
Houdini]
11:41 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
11:49 -!- tav [~tav@2001:0:53aa:64c:0:3ffe:a3f8:9cec] has joined #go-nuts
11:50 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has joined #go-nuts
11:53 -!- arek [~arek@77.236.0.10] has joined #go-nuts
11:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:54 -!- ikaros [~ikaros@188.107.208.81] has joined #go-nuts
12:13 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts
12:23 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
12:25 -!- saschpe [~quassel@mgdb-4d0cfcb1.pool.mediaWays.net] has quit [Remote
host closed the connection]
12:29 -!- setuply [setuply@84.15.169.160] has joined #go-nuts
12:30 -!- sacho [~sacho@213.91.244.15] has quit [Ping timeout: 265 seconds]
12:31 -!- saschpe [~quassel@mgdb-4d0cfcb1.pool.mediaWays.net] has joined #go-nuts
12:33 -!- setuply [setuply@84.15.169.160] has left #go-nuts []
12:35 -!- luruke [~luruke@151.53.48.186] has quit [Quit: This computer has gone to
sleep]
12:36 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
12:41 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
12:44 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the
connection]
12:45 -!- sacho [~sacho@87-126-65-201.btc-net.bg] has joined #go-nuts
12:48 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
12:58 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:01 -!- idr0 [~idr@g225103232.adsl.alicedsl.de] has joined #go-nuts
13:06 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has quit [Ping timeout: 260
seconds]
13:06 -!- danderson [~dave@atlas.natulte.net] has quit [Ping timeout: 258 seconds]
13:08 -!- lmoura [~lauromour@187.58.109.188] has quit [Read error: Connection
reset by peer]
13:09 -!- lmoura [~lauromour@187.113.108.96] has joined #go-nuts
13:11 < taruti> Has anyone hacked a bag version of GoLLRB ?
13:13 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has joined #go-nuts
13:15 -!- sacho [~sacho@87-126-65-201.btc-net.bg] has quit [Ping timeout: 265
seconds]
13:15 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
13:24 -!- ucasano [~ucasano@95.231.79.71] has joined #go-nuts
13:28 -!- sacho [~sacho@213.91.244.15] has joined #go-nuts
13:29 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
13:37 -!- ikaros [~ikaros@188.107.208.81] has quit [Remote host closed the
connection]
13:37 -!- ikaros [~ikaros@188.107.208.81] has joined #go-nuts
13:37 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
13:42 -!- mattn_jp [~mattn_jp@112-68-70-62.eonet.ne.jp] has joined #go-nuts
13:42 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:47 -!- danderson [~dave@atlas.natulte.net] has joined #go-nuts
13:47 -!- mode/#go-nuts [+v danderson] by ChanServ
13:48 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
13:57 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
14:04 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
14:08 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has quit [Ping
timeout: 265 seconds]
14:11 -!- DerHorst [~Horst@e176103153.adsl.alicedsl.de] has joined #go-nuts
14:15 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 272
seconds]
14:15 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Read error: Connection reset by peer]
14:21 -!- gdhagger [~graham@170.200.168.24] has joined #go-nuts
14:21 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 245 seconds]
14:25 -!- lmoura [~lauromour@187.113.108.96] has quit [Read error: Connection
reset by peer]
14:28 -!- lmoura [~lauromour@187.113.117.48] has joined #go-nuts
14:36 -!- femtoo [~femto@95-89-196-205-dynip.superkabel.de] has joined #go-nuts
14:47 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
14:49 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
14:50 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has joined
#go-nuts
14:51 -!- Luixsia [~Luixsia@AToulouse-254-1-14-62.w83-203.abo.wanadoo.fr] has
joined #go-nuts
14:51 -!- Xurix [~Luixsia@AToulouse-254-1-14-62.w83-203.abo.wanadoo.fr] has quit
[Read error: Connection reset by peer]
14:57 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
14:59 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
14:59 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
15:05 -!- bjarneh [~bjarneh@1x-193-157-197-144.uio.no] has joined #go-nuts
15:05 -!- artefon [~thiago@189.107.188.188] has quit [Quit: bye]
15:09 -!- DerHorst [~Horst@e176103153.adsl.alicedsl.de] has quit [Remote host
closed the connection]
15:09 -!- sacho [~sacho@213.91.244.15] has quit [Read error: Connection reset by
peer]
15:12 -!- rejb [~rejb@p54B632A7.dip.t-dialin.net] has joined #go-nuts
15:12 -!- rejb [~rejb@p54B632A7.dip.t-dialin.net] has quit [Changing host]
15:12 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:13 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 265 seconds]
15:16 -!- sacho [~sacho@213.91.244.15] has joined #go-nuts
15:17 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
15:22 < plexdev> http://is.gd/eF1V3 by [Ian Lance Taylor] in
go/src/pkg/runtime/ -- runtime: Correct commonType.kind values to match compiler.
15:23 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
15:25 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has quit [Remote
host closed the connection]
15:27 -!- iant [~iant@216.239.45.130] has joined #go-nuts
15:27 -!- mode/#go-nuts [+v iant] by ChanServ
15:30 -!- gdhagger [~graham@170.200.168.24] has quit [Ping timeout: 265 seconds]
15:32 -!- mattn_jp [~mattn_jp@112-68-70-62.eonet.ne.jp] has left #go-nuts []
15:32 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
15:33 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
15:38 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
15:38 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
15:39 -!- jramnani [~jramnani@chml01.drwholdings.com] has joined #go-nuts
15:42 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
15:44 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Remote host
closed the connection]
15:44 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
15:45 -!- Days` [~\\localho@quanthouse.cust.jaguar-network.net] has quit [Quit:
WeeChat 0.3.0]
15:46 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has joined #go-nuts
15:51 -!- Luixsia [~Luixsia@AToulouse-254-1-14-62.w83-203.abo.wanadoo.fr] has quit
[Ping timeout: 255 seconds]
15:52 -!- lmoura [~lauromour@187.113.117.48] has quit [Read error: Connection
reset by peer]
15:52 -!- Xurix [~Luixsia@AToulouse-254-1-12-234.w83-203.abo.wanadoo.fr] has
joined #go-nuts
15:54 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
15:55 -!- lmoura [~lauromour@187.113.68.85] has joined #go-nuts
15:56 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: (◣_◢)
BigBrowser is watching ⓎⓄⓊ]
15:58 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has quit [Read error:
Operation timed out]
16:00 -!- femtoo [~femto@95-89-196-205-dynip.superkabel.de] has quit [Quit:
Leaving]
16:00 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
16:01 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
16:02 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n]
16:06 -!- bujo [~bujo@port-92-200-120-45.dynamic.qsc.de] has joined #go-nuts
16:07 -!- lmoura [~lauromour@187.113.68.85] has quit [Ping timeout: 260 seconds]
16:08 -!- aho [~nya@fuld-4d00d6ab.pool.mediaWays.net] has joined #go-nuts
16:13 -!- gdhagger [~graham@170.200.168.24] has joined #go-nuts
16:14 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X]
16:20 -!- lmoura [~lauromour@187.113.163.237] has joined #go-nuts
16:21 -!- saschpe [~quassel@mgdb-4d0cfcb1.pool.mediaWays.net] has quit [Remote
host closed the connection]
16:23 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
16:27 -!- sacho [~sacho@213.91.244.15] has quit [Remote host closed the
connection]
16:27 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Client Quit]
16:35 -!- kanru [~kanru@118-160-164-153.dynamic.hinet.net] has joined #go-nuts
16:35 -!- luruke [~luruke@151.53.48.186] has joined #go-nuts
16:38 < luruke> http://pastebin.com/Va9W8NZy
16:38 < luruke> what's wrong?  :S
16:38 <+iant> s/function/func/
16:38 <+iant> not a particularly useful error message
16:38 < luruke> i try to print the first ten elements of the fibonacci
sequence
16:38 < luruke> iant, ops, :S
16:38 < luruke> lol
16:38 < luruke> :D
16:39 < luruke> i'm very stupid
16:39 -!- lmoura_ [~lauromour@187.58.103.12] has joined #go-nuts
16:40 < luruke> i can't do it for example?
16:40 < luruke> total += i
16:40 -!- lmoura [~lauromour@187.113.163.237] has quit [Ping timeout: 245 seconds]
16:42 < luruke> and i can't do for example...
16:42 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection
reset by peer]
16:42 < luruke> var1, var2, var3 := 0
16:42 < luruke> ?
16:42 -!- cco3-hampster [~conleyo@nat/google/x-kzldsdqyiucrboxn] has joined
#go-nuts
16:42 <+iant> var1, var2, var3 := 0, 0, 0
16:42 < luruke> iant, ah ok
16:43 -!- mattn_jp [~mattn_jp@112-68-70-62.eonet.ne.jp] has joined #go-nuts
16:43 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
16:44 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:46 -!- bjarneh [~bjarneh@1x-193-157-197-144.uio.no] has quit [Ping timeout: 255
seconds]
16:48 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
16:51 -!- bjarneh [~bjarneh@1x-193-157-197-144.uio.no] has joined #go-nuts
16:55 -!- kanru [~kanru@118-160-164-153.dynamic.hinet.net] has quit [Ping timeout:
265 seconds]
16:56 -!- napsy [~luka@212.235.174.112] has quit [Read error: Operation timed out]
16:58 -!- lmoura_ [~lauromour@187.58.103.12] has quit [Read error: Connection
reset by peer]
17:00 -!- lmoura_ [~lauromour@187.113.118.24] has joined #go-nuts
17:01 < luruke> if n % 2; false {
17:01 < luruke> eur2.go:24: n % 2 not used
17:01 < luruke> ?
17:02 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
17:03 < luruke> in this way works
17:03 < luruke> if n % 2 == 0 {
17:03 < luruke> but this:
17:03 < luruke> if n % 2; false {
17:03 < luruke> is not the same?
17:04 < exch> that's not the same thing
17:06 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
17:08 < MizardX> The inline statement must be an assignment.  if x := foo();
x != nil { }
17:09 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
#go-nuts
17:10 < luruke> MizardX, ok
17:10 -!- ucasano [~ucasano@95.231.79.71] has quit [Quit: ucasano]
17:13 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 255 seconds]
17:14 -!- iant [~iant@216.239.45.130] has joined #go-nuts
17:14 -!- mode/#go-nuts [+v iant] by ChanServ
17:15 -!- Venom_X [~pjacobs@adsl-99-20-147-171.dsl.aus2tx.sbcglobal.net] has
joined #go-nuts
17:24 < plexdev> http://is.gd/eFdvp by [Russ Cox] in go/ -- A+C: Corey
Thomasson (individual CLA)
17:33 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
17:35 -!- ronnyy [~quassel@p4FF1CE68.dip.t-dialin.net] has joined #go-nuts
17:40 -!- luruke [~luruke@151.53.48.186] has quit [Quit: Leaving]
17:40 < plexdev> http://is.gd/eFf3X by [Scott Lawrence] in go/src/pkg/http/
-- http: obscure passwords in return value of URL.String
17:41 < plexdev> http://is.gd/eFf45 by [Evan Shaw] in
go/src/pkg/net/textproto/ -- net/textproto: Handle multi-line responses
17:41 < plexdev> http://is.gd/eFf4G by [Jukka-Pekka Kekkonen] in 2 subdirs
of go/src/pkg/crypto/ -- crypto/hmac: make Sum idempotent
17:41 < plexdev> http://is.gd/eFf5f by [Kyle Consalus] in 2 subdirs of
go/src/ -- runtime: special case copy, equal for one-word interface values
17:41 < plexdev> http://is.gd/eFf5V by [Corey Thomasson] in go/src/pkg/net/
-- net: add LookupMX
17:41 < plexdev> http://is.gd/eFf6d by [Scott Lawrence] in go/misc/emacs/ --
misc/emacs: make _ a word symbol
17:53 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has joined #go-nuts
17:59 -!- angasule [c80571ea@gateway/web/freenode/ip.200.5.113.234] has joined
#go-nuts
18:02 -!- bjarneh [~bjarneh@1x-193-157-197-144.uio.no] has left #go-nuts []
18:05 -!- dho [~devon@onager.omniti.com] has quit [Ping timeout: 276 seconds]
18:14 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
18:17 < falconindy> i'm not finding a function to convert a string into a
[]byte.  have i overlooked it, or do i need to write my own loop?
18:17 < nsf> []byte(myStr)
18:18 < falconindy> derp
18:26 -!- gdhagger [~graham@170.200.168.24] has quit [Ping timeout: 276 seconds]
18:38 -!- lmoura_ [~lauromour@187.113.118.24] has quit [Quit: Leaving]
18:38 -!- lmoura [~lauromour@187.113.118.24] has joined #go-nuts
18:41 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has joined #go-nuts
18:49 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Quit: leaving]
18:50 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
18:51 -!- femtoo [~femto@95-89-196-205-dynip.superkabel.de] has joined #go-nuts
18:53 -!- rapsys [~raphael@vlq.dedibox.fr] has quit [Remote host closed the
connection]
18:54 -!- ronnyy [~quassel@p4FF1CE68.dip.t-dialin.net] has quit [Remote host
closed the connection]
18:58 -!- arek [~arek@77.236.0.10] has left #go-nuts []
19:01 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined
#go-nuts
19:02 -!- adu [~ajr@pool-71-191-154-37.washdc.fios.verizon.net] has joined
#go-nuts
19:03 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit
[Client Quit]
19:05 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined
#go-nuts
19:06 -!- Xurix [~Luixsia@AToulouse-254-1-12-234.w83-203.abo.wanadoo.fr] has quit
[Read error: Connection reset by peer]
19:07 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 255 seconds]
19:07 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
19:10 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Client Quit]
19:10 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
19:10 -!- idr0 [~idr@g225103232.adsl.alicedsl.de] has quit [Remote host closed the
connection]
19:13 -!- artefon [~thiagon@150.164.2.20] has quit [Ping timeout: 260 seconds]
19:14 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
19:16 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 252 seconds]
19:16 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n]
19:23 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has joined #go-nuts
19:24 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
19:27 -!- adu [~ajr@pool-71-191-154-37.washdc.fios.verizon.net] has quit [Quit:
adu]
19:31 -!- smw [~smw@pool-71-161-218-53.burl.east.myfairpoint.net] has joined
#go-nuts
19:32 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
19:32 -!- mode/#go-nuts [+v iant] by ChanServ
19:34 -!- dju [dju@fsf/member/dju] has joined #go-nuts
19:34 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
19:35 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
19:36 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has quit [Remote host closed the
connection]
19:37 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has joined #go-nuts
19:37 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded]
19:38 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
19:38 -!- virtualsue [~chatzilla@nat/cisco/x-osjytbjfnfgatjrk] has quit [Ping
timeout: 255 seconds]
19:38 -!- dju [dju@fsf/member/dju] has joined #go-nuts
19:40 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]
19:49 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:57 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts
19:58 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
20:01 -!- ucasano [~ucasano@217.201.130.251] has joined #go-nuts
20:03 -!- femtoo [~femto@95-89-196-205-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
20:08 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
20:09 -!- Venom_X [~pjacobs@adsl-99-20-147-171.dsl.aus2tx.sbcglobal.net] has quit
[Quit: Venom_X]
20:11 -!- bujo [~bujo@port-92-200-120-45.dynamic.qsc.de] has quit [Quit: Colloquy
for iPod touch - http://colloquy.mobi]
20:16 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
20:21 -!- gdhagger [~graham@66-234-41-91.nyc.cable.nyct.net] has quit [Ping
timeout: 272 seconds]
20:21 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has quit [Ping timeout:
265 seconds]
20:27 -!- adu [~ajr@64.134.69.82] has joined #go-nuts
20:29 < plexdev> http://is.gd/eFu2A by [Russ Cox] in go/lib/codereview/ --
codereview: print status when hung
20:37 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has joined #go-nuts
20:43 -!- adu [~ajr@64.134.69.82] has quit [Quit: adu]
20:43 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
20:47 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
20:52 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 265 seconds]
20:53 -!- welterde [~welterde@not.welterde.de] has quit [Ping timeout: 252
seconds]
21:05 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
21:06 -!- welterde [~welterde@not.welterde.de] has joined #go-nuts
21:06 -!- jonny [~jonny@82.132.248.106] has joined #go-nuts
21:06 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Read error: Connection reset by peer]
21:08 -!- iant [~iant@216.239.45.130] has joined #go-nuts
21:08 -!- mode/#go-nuts [+v iant] by ChanServ
21:14 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
21:15 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
21:15 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
21:16 -!- Guest95690 [~jonny@82.132.248.106] has quit [Quit: :q!]
21:17 < plexdev> http://is.gd/eFycQ by [Russ Cox] in go/lib/codereview/ --
codereview: fix hang on standard hg commands
21:36 < nickaugust> can seperate go processes share memory?  ive got an
index tree loaded into memory that id like to share between instances
21:36 -!- ucasano [~ucasano@217.201.130.251] has quit [Quit: ucasano]
21:39 < Namegduf> I'd like to ask the same question, as it seems a
potentially better way to implement restartable processes than serialisation,
mostly because it sidesteps issues with reconstructing types with private members.
21:39 < Namegduf> (Of course, the problem comes when the types are
different...)
21:41 < dolo> Given then motto "Do not communicate by sharing memory;
instead, share memory by communicating", I would say there's little effort being
made to support shared memory..
21:42 < MizardX> You could use netchans
21:42 < nickaugust> yeah im looking at netchans right now
21:43 < nickaugust> Namegduf: what do you mean by serialisation?
21:44 < dolo> Writing in-memory objects (structs etc) to disk / database,
then reading them back later (e.g.  after restarting the process)
21:44 < exch> sloooowww
21:44 < nickaugust> ah, is there a package to handle that?
21:46 < dolo> Not that I've seen..
21:47 < nickaugust> how do you do it then?  manually?  that sounds fun :P
21:48 < dolo> I would probably start with http://golang.org/pkg/reflect
21:48 < nickaugust> is there a point with the increasing speed of hard
drives where accessing data on the drive will be just as fast as accessing in
memory data?
21:49 -!- boscop_ [~boscop@g226251055.adsl.alicedsl.de] has quit [Ping timeout:
265 seconds]
21:49 < plexdev> http://is.gd/eFAVf by [Robert Griesemer] in 5 subdirs of
go/src/ -- go/typechecker: 2nd step towards augmenting AST with full type
information.
21:49 < dolo> No
21:49 -!- boscop [~boscop@g227117178.adsl.alicedsl.de] has joined #go-nuts
21:50 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
21:51 < dolo> Hard-drives have gone from a few MB/s to maybe around 100MB/s
max (and maybe 300MB/s for SSD), RAM is in the multiple GB/s range and on-chip
cache is..  actually I'm not sure.  But latency plays a very important role too
21:52 < dolo> And latency for a hard-drive is measurable in milliseconds.
Latency for L1 cache is measurable in CPU cycles (nanoseconds).
21:52 -!- tvw [~tv@e176003047.adsl.alicedsl.de] has joined #go-nuts
21:53 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit
[Quit: derferman]
21:53 < nickaugust> dolo: gotcha.  makes sense
21:54 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Ping timeout: 240
seconds]
21:54 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
21:54 < dolo> http://lwn.net/Articles/250967/ is a very good read
21:55 < dolo> Anyway, time for work...
22:07 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Ping timeout: 240
seconds]
22:07 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
22:07 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Remote host closed
the connection]
22:10 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
22:11 -!- arek_deepinit [~arek@77.236.0.10] has joined #go-nuts
22:11 -!- ericvh [~ericvh@32.97.110.63] has left #go-nuts []
22:11 -!- arek_deepinit [~arek@77.236.0.10] has quit [Remote host closed the
connection]
22:13 -!- arek_deepinit [~arek@77.236.0.10] has joined #go-nuts
22:20 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
22:23 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 276 seconds]
22:26 -!- scm [justme@d071233.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
22:28 -!- scm [justme@d056007.adsl.hansenet.de] has joined #go-nuts
22:33 -!- artefon [~thiago@189.107.188.188] has joined #go-nuts
22:34 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
22:36 < plexdev> http://is.gd/eFEWT by [Russ Cox] in go/lib/codereview/ --
codereview: consistent indent, cut dead code
22:37 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
22:39 -!- mattn_jp [~mattn_jp@112-68-70-62.eonet.ne.jp] has quit [Remote host
closed the connection]
22:41 -!- photron [~photron@port-92-201-149-85.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
22:42 -!- Esmil [~esmil@space.labitat.dk] has joined #go-nuts
22:47 < Esmil> Is there a good reason something like this isn't in the repo?
http://pastebin.com/X5pZVsGc It would make packaging go libraries a bit easier
22:47 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
22:52 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
22:53 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 265 seconds]
22:53 < plexdev> http://is.gd/eFGjC by [Ian Lance Taylor] in
go/src/pkg/netchan/ -- netchan: Fix race condition in test.
22:53 < plexdev> http://is.gd/eFGjI by [Kyle Consalus] in go/src/cmd/gc/ --
gc: brace nit from last review
22:53 < plexdev> http://is.gd/eFGjW by [Russ Cox] in go/src/ -- build: fix
cgo with -j2
22:57 -!- General13372 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
23:00 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 240 seconds]
23:06 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
23:06 -!- mode/#go-nuts [+v iant] by ChanServ
23:07 -!- gmurphy [~gmurphy@203-214-121-14.dyn.iinet.net.au] has joined #go-nuts
23:08 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 240 seconds]
23:08 -!- gmurphy [~gmurphy@203-214-121-14.dyn.iinet.net.au] has left #go-nuts []
23:10 < plexdev> http://is.gd/eFHE5 by [Russ Cox] in go/lib/codereview/ --
codereview: speed upload
23:10 < plexdev> http://is.gd/eFHEe by [Charles L. Dorian] in
go/src/pkg/math/ -- math: amd64 version of Sincos
23:22 -!- Esmil [~esmil@space.labitat.dk] has quit [Quit: leaving]
23:31 -!- jramnani [~jramnani@chml01.drwholdings.com] has quit [Quit: jramnani]
23:37 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts
23:39 -!- mbohun [~mbohun@202.124.72.127] has joined #go-nuts
23:39 -!- kanru [~kanru@118-160-164-153.dynamic.hinet.net] has joined #go-nuts
23:44 -!- IRWolfie- [irwolfie@ircnoob.com] has quit [Ping timeout: 255 seconds]
23:44 -!- ikaros [~ikaros@188.107.208.81] has quit [Quit: Leave the magic to
Houdini]
23:52 -!- rup [Rupert@deathcoil.net] has quit [Ping timeout: 272 seconds]
23:53 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
23:57 -!- angasule [c80571ea@gateway/web/freenode/ip.200.5.113.234] has quit
[Quit: Page closed]
--- Log closed Fri Aug 27 00:00:05 2010