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

--- Log opened Thu Feb 18 00:00:09 2010
00:01 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
00:03 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
00:05 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has joined #go-nuts
00:12 -!- Kibiz0r [~Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit
[Quit: Leaving.]
00:16 -!- cyonyx [~chatzilla@c-76-126-250-10.hsd1.ca.comcast.net] has joined
#go-nuts
00:19 -!- dj_tjerk [~pietjebel@5ED1C662.cable.ziggo.nl] has quit [Ping timeout:
252 seconds]
00:19 -!- nighty__ [~nighty@210.188.173.245] has joined #go-nuts
00:19 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 240
seconds]
00:21 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
00:26 -!- no_mind [~orion@122.173.224.83] has quit [Ping timeout: 256 seconds]
00:28 -!- tf_ [~tobin@208-69-131-43.ligo-la.caltech.edu] has joined #go-nuts
00:35 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-228.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
00:35 -!- amuck [~amuck@h241.141.16.98.dynamic.ip.windstream.net] has quit [Quit:
amuck]
00:36 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
00:38 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
00:39 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer]
00:42 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has joined
#go-nuts
00:43 < plexdev> http://is.gd/8CfFi by [Andrew Gerrand] in 2 subdirs of go/
-- release 2010-02-17 part one
00:43 < plexdev> http://is.gd/8CfFC by [Andrew Gerrand] in go/ --
release.2010-02-17 part two
00:44 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 260 seconds]
00:52 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 240
seconds]
00:54 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
00:55 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 264 seconds]
00:56 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has quit
[Remote host closed the connection]
00:57 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
00:58 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has left
#go-nuts []
00:58 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
00:59 -!- amuck [~amuck@h165.148.190.173.dynamic.ip.windstream.net] has joined
#go-nuts
01:00 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has joined
#go-nuts
01:02 < meatmanek> if I'm writing a function that will be returning results
via a channel, is it better to have the caller pass a channel in, or to have the
function make and return a channel?
01:03 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 240 seconds]
01:04 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
01:10 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
01:11 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
01:16 -!- smw__ [~stephen@203.sub-75-195-134.myvzw.com] has quit [Quit:
Konversation terminated!]
01:17 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
01:18 < smw> meatmanek: In the docs, I think it shows the caller passing a
channel.
01:18 < meatmanek> thanks
01:19 < smw> then again, I am not sure you can have it pass back a
channel...
01:20 < meatmanek> it'd be possible but it would have to spawn goroutines
for any real work to get done
01:23 -!- sakura_ [~sakura@200.117.218.244] has quit [Quit: Leaving]
01:24 -!- mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote host closed the connection]
01:29 < meatmanek> anybody happen to know: with UTF8, are null bytes '\0'
ever present inside of multibyte characters?
01:30 < smw> nope
01:30 < smw> no null bytes (unless it is null)
01:36 -!- tf_ [~tobin@208-69-131-43.ligo-la.caltech.edu] has quit [Ping timeout:
260 seconds]
01:41 < uriel> not probably relevant, but remember that you can send
channels in channels ;)
01:45 < KirkMcDonald> meatmanek: The code units which comprise multi-byte
code sequences always begin with a 1 bit.
01:45 < KirkMcDonald> meatmanek: And hence cannot be 0.
01:45 < meatmanek> that's what I figured
01:47 -!- bageera_ [~bageera@rrcs-24-173-161-170.se.biz.rr.com] has joined
#go-nuts
01:57 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
02:01 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
02:06 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has quit
[Ping timeout: 276 seconds]
02:07 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
02:13 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Quit:
Associat0r]
02:19 -!- carllerche [~carllerch@c-69-181-129-204.hsd1.ca.comcast.net] has joined
#go-nuts
02:20 -!- iron34 [~Troy@modemcable113.101-176-173.mc.videotron.ca] has joined
#go-nuts
02:29 -!- Tuller [~Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined
#go-nuts
02:31 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
02:38 -!- amuck [~amuck@h165.148.190.173.dynamic.ip.windstream.net] has quit
[Remote host closed the connection]
02:38 -!- unistd [~play@119.185.55.174] has joined #go-nuts
02:39 -!- amuck [~amuck@h165.148.190.173.dynamic.ip.windstream.net] has joined
#go-nuts
02:39 -!- unistd [~play@119.185.55.174] has quit [Client Quit]
02:40 -!- unistd [~play@119.185.55.174] has joined #go-nuts
02:41 -!- Tuller [~Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit
[Quit: to the batcave?]
02:43 -!- unistd [~play@119.185.55.174] has quit [Client Quit]
02:43 -!- unistd [~play@119.185.55.174] has joined #go-nuts
02:46 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
02:46 -!- mssm [~mssm@ip-95-221-119-125.bb.netbynet.ru] has quit [Ping timeout:
240 seconds]
03:02 -!- KinOfCain [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has quit [Remote
host closed the connection]
03:14 -!- smw_ [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
03:15 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Disconnected by
services]
03:17 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has quit [Excess Flood]
03:17 -!- mitsuhiko_ [~mitsuhiko@hammett.srv.pocoo.org] has joined #go-nuts
03:18 -!- unistd [~play@119.185.55.174] has quit [Quit: Ex-Chat]
03:21 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 264
seconds]
03:26 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has joined
#go-nuts
03:26 -!- iron34 [~Troy@modemcable113.101-176-173.mc.videotron.ca] has left
#go-nuts []
03:28 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Quit:
leaving]
03:28 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
03:35 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has joined #go-nuts
03:36 -!- DerGraf_ [~chris@dslb-088-066-102-080.pools.arcor-ip.net] has joined
#go-nuts
03:38 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.5.7/20100106054634]]
03:39 -!- DerGraf [~chris@dslb-088-067-091-108.pools.arcor-ip.net] has quit [Ping
timeout: 245 seconds]
03:42 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has quit [Quit:
itrekkie]
03:49 -!- yiyus [1242712427@je.je.je] has quit [Ping timeout: 256 seconds]
03:55 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts
04:01 -!- yiyus [1242712427@je.je.je] has joined #go-nuts
04:09 -!- jcowan [~jcowan@cpe-98-14-172-204.nyc.res.rr.com] has joined #go-nuts
04:21 < meatmanek> why would new return a null pointer?
04:26 -!- lotrpy [~lotrpy@202.120.36.170] has quit []
04:32 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Ping timeout: 272
seconds]
04:36 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
04:39 < meatmanek> ohhh
04:39 < meatmanek> never mind.
04:40 < meatmanek> it was the other pointer on the same line giving me the
segfault
04:45 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Remote host closed
the connection]
04:46 -!- jhawk28 [~jhawk28@user-142g7u9.cable.mindspring.com] has quit [Remote
host closed the connection]
04:46 -!- robot12 [~robot12@robot12.kgts.ru] has joined #go-nuts
04:48 -!- jcowan [~jcowan@cpe-98-14-172-204.nyc.res.rr.com] has left #go-nuts
["Leaving"]
04:59 -!- hackman [~bart@nat/novell/x-tkldjedggzpovciq] has quit [Ping timeout:
256 seconds]
04:59 -!- hackman [~bart@nat/novell/x-bpdrdyzjzyibbzmj] has joined #go-nuts
04:59 -!- hackman [~bart@nat/novell/x-bpdrdyzjzyibbzmj] has quit [Read error:
Connection reset by peer]
05:03 -!- droid001 [~g1@p4FDCBD74.dip.t-dialin.net] has quit [Ping timeout: 256
seconds]
05:19 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Quit: Ex-Chat]
05:41 -!- nettok [~netto@200.119.155.2] has quit [Quit: Ex-Chat]
05:58 < meatmanek> is there a way to have printf format like %#v but without
the double quotes around the string?
06:03 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
06:03 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
06:04 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
06:07 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Client Quit]
06:08 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has joined #go-nuts
06:14 -!- fgb [~fgb@190.246.85.45] has quit [Read error: Connection reset by peer]
06:16 < plexdev> http://is.gd/8Dc8x by [Ken Thompson] in 3 subdirs of
go/src/ -- new types complex, complex64 and complex128
06:22 -!- kanru [~kanru@61-228-149-165.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.1.1]
06:29 -!- zerofluid [~zerofluid@ip72-208-216-68.ph.ph.cox.net] has joined #go-nuts
06:32 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has quit [Quit:
itrekkie]
06:44 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:b96b:9949:8ccd:ba6c] has joined
#go-nuts
06:47 -!- zerofluid [~zerofluid@ip72-208-216-68.ph.ph.cox.net] has quit [Quit:
Leaving]
06:48 < plexdev> http://is.gd/8Dheu by [Russ Cox] in 2 subdirs of
go/src/cmd/ -- 5g/8g: fix build
06:51 < anticw> iant: do those complex type make your life difficult for
gccgo?
07:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
07:26 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
07:28 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Quit: Ex-Chat]
07:32 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:34 < rsaarelm> Builtin complex numbers?  Whoa.
07:37 < rsaarelm> Though that's kinda rubbing your face in the fact that
wanting to do weird algebra stuff like modular arithmetic, quaternions etc.  makes
you a second-class citizen who can't be allowed to touch the precious operators.
07:38 -!- trickie [~trickie@94.100.112.225] has joined #go-nuts
07:39 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
07:40 < rsaarelm> Actually it's a bit tricky whether you'd expect complex
numbers to be primitive types or something you get out of a library.  From a pl
standpoint, they're compositional things instead of something that's implemented
directly on the hardware like ints or floats, so you'd expect them to be in a
library.
07:40 < rsaarelm> From a math standpoint, they're a part of the numerical
tower, reachable by standard math operations from the real numbers, so you'd
expect them built-in in the number system.
07:41 < KirkMcDonald> I know of at least two languages which have complex
numbers built-in.
07:41 < rsaarelm> Scheme and D at least.
07:41 < KirkMcDonald> Also Python.
07:43 < Gracenotes> Haskell
07:44 < rsaarelm> Does Haskell do them built-in or with a library?
07:44 < Gracenotes> built-in
07:44 < KirkMcDonald> Does it have imaginary literals, is a good indicator.
07:44 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Quit: (
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )]
07:45 < Gracenotes> what qualifies as a literal?  you can do "4" meaning 4 +
0i, 3 :+ 4 meaning 3 + 4i.
07:46 < KirkMcDonald> Something which can be lexically idenfied as an
imaginary number.
07:46 < Gracenotes> they implement the math operations all other floating
types do
07:46 < KirkMcDonald> identified*
07:47 < Gracenotes> uh, sure; like most of Haskell, you can implement it
yourself with the basic language syntax.
07:48 < KirkMcDonald> But there is no syntax like e.g.  4i meaning an
imaginary number.
07:48 < rsaarelm> From the Haskell report: "Other numeric types such as
rationals and complex numbers are defined in libraries."
07:48 < KirkMcDonald> I cannot tokenize Haskell source and have a token
which I unambigiously know is an imaginary literal.
07:48 < Gracenotes> good math syntax does not necessarily make for good PL
syntax
07:48 < Gracenotes> in this case, it doesn't
07:49 < Gracenotes> KirkMcDonald: if you see a :+ data constructor with that
in scope, you can know.  Otherwise, all Haskell number types have a neat feature
where you can instantiate them from a literal.
07:49 < Gracenotes> a regular number literal, like 4 or 6.3, which gives it
to you as an arbitrary-length integer and rational number respectively
07:51 < KirkMcDonald> So you don't know until you are parsing the language.
07:52 < Gracenotes> I'd expect to see ad-hoc imaginary number syntax in a
programming language specifically meant for math/physics calculation, or in one
where so many features are thrown in the bag, might as well add this one
07:52 -!- carllerche [~carllerch@c-69-181-129-204.hsd1.ca.comcast.net] has quit
[Quit: carllerche]
07:53 < Gracenotes> you cannot know, because e.g.  you can define a method
that works whether you feed it a Double or a Complex Double, depending on the
number type.  it's rather generic.
07:55 < KirkMcDonald> My point is merely that I would not say Haskell has
imaginary literals.
07:56 < Gracenotes> seems about right
07:56 < rsaarelm> From what I know of it, Haskell's type system is pretty
good for algebra stuff.  You can define things to belong to algebraic families
that support certain operators, then write functions that operate on anything that
belongs to that family.  Basically a lot like Go interfaces.  I guess it can also
slow things down in serious number crunching code, a lot like Go interfaces...
07:56 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has
joined #go-nuts
07:57 < rsaarelm> Point being anyway, that Go won't let you mix
interface-style stuff with arithmetic operators.
07:57 < KirkMcDonald> So whether Haskell has "built-in" imaginary numbers is
somewhat ambiguous, as it depends on whether you'd describe the standard library
as "built-in."
07:57 < rsaarelm> Wouldn't call something built-in in this context if you
have to import a library to get it to work.
07:58 < KirkMcDonald> But it sounds like integers themselves possess the
needed mechanism to get an imaginary number from them
07:58 < KirkMcDonald> .
07:58 < Gracenotes> as I said, many things in Haskell can be reinvented
without the need for primitives unreachable in the language.  I consider that a
positive.
07:58 < KirkMcDonald> Gracenotes: This was also one of the goals of C++.
08:00 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Remote host closed
the connection]
08:00 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-228.clienti.tiscali.it] has
joined #go-nuts
08:01 < Gracenotes> KirkMcDonald: in what sense did it achieve that?
08:01 < KirkMcDonald> I didn't say that it did.  :-)
08:01 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
08:01 < KirkMcDonald> But, between templates and operator overloading, a
user-defined type can behave quite a lot like any given primitive type.
08:02 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:04 < Gracenotes> hm, true.  Haskell takes operator overloading to its
logical well-typed conclusion :P
08:05 < Gracenotes> at least one
08:05 -!- idea_squirrel [idea_squir@77-22-20-141-dynip.superkabel.de] has joined
#go-nuts
08:06 -!- path[l] [~path@59.162.86.164] has quit [Client Quit]
08:07 < Gracenotes> Go takes interface implementation to its, as well
08:07 < KirkMcDonald> Go's interfaces are somewhat compelling.
08:07 < KirkMcDonald> They definitely have a thing going with them.
08:14 -!- trickie [~trickie@94.100.112.225] has quit [Ping timeout: 260 seconds]
08:14 < vegai> I hope they'll be more successful at defining good standard
interfaces
08:14 < vegai> ...than the Haskell people
08:17 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
08:17 -!- lmoura [~lauromour@200.184.118.130] has quit [Ping timeout: 245 seconds]
08:19 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
08:20 < Gracenotes> well, maybe you do want numerical types organized with
abstract algebraic structures :)
08:23 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:23 < Gracenotes> some Haskellers would like that
08:25 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts
08:29 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
08:30 -!- dj_tjerk [~pietjebel@5ED1C662.cable.ziggo.nl] has joined #go-nuts
08:37 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
08:39 -!- droid001 [~g1@p4FDCA784.dip.t-dialin.net] has joined #go-nuts
08:39 -!- droid001 [~g1@p4FDCA784.dip.t-dialin.net] has quit [Client Quit]
08:39 -!- droid001 [~g1@p4FDCA784.dip.t-dialin.net] has joined #go-nuts
08:40 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Quit:
Associat0r]
08:41 -!- trickie [~trickie@94.100.112.225] has joined #go-nuts
08:43 -!- monty_hall [~sprague_r@75.51.124.18] has quit [Ping timeout: 246
seconds]
08:45 -!- mssm [~mssm@ip-95-221-119-125.bb.netbynet.ru] has joined #go-nuts
08:46 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
joined #go-nuts
08:52 -!- thesteprobe [~quassel@cpc2-nmal7-0-0-cust665.croy.cable.virginmedia.com]
has quit [Ping timeout: 272 seconds]
08:54 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
08:57 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
08:57 -!- cbeck [~cbeck@c-67-170-181-181.hsd1.or.comcast.net] has quit [Quit:
Server reset]
09:04 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has quit [Remote host closed the
connection]
09:08 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
09:09 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
09:14 -!- wrtp [~rog@89.240.139.58] has joined #go-nuts
09:24 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: Leaving.]
09:27 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
09:28 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Client Quit]
09:30 -!- dj_tjerk [~pietjebel@5ED1C662.cable.ziggo.nl] has quit [Ping timeout:
272 seconds]
09:32 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
09:49 -!- alkavan [~alkavan@77.127.177.73] has joined #go-nuts
09:49 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
09:59 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts
10:06 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has joined #go-nuts
10:06 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
10:07 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
10:07 -!- bobappleyard84 [~bobappley@cpc4-macc1-0-0-cust170.bagu.cable.ntl.com]
has joined #go-nuts
10:18 -!- Xurix [~Luixsia@AToulouse-254-1-21-144.w81-250.abo.wanadoo.fr] has quit
[Ping timeout: 265 seconds]
10:25 -!- jhnx [~bd732543@gateway/web/freenode/x-khcloylmhbzkybev] has joined
#go-nuts
10:27 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
10:28 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
10:28 -!- robot12 [~robot12@robot12.kgts.ru] has quit [Ping timeout: 272 seconds]
10:28 -!- mitsuhiko_ [~mitsuhiko@hammett.srv.pocoo.org] has quit [Changing host]
10:28 -!- mitsuhiko_ [~mitsuhiko@ubuntu/member/mitsuhiko] has joined #go-nuts
10:29 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit
[Ping timeout: 272 seconds]
10:29 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
10:38 -!- cyonyx [~chatzilla@c-76-126-250-10.hsd1.ca.comcast.net] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]]
10:39 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-181-228.clienti.tiscali.it] has
joined #go-nuts
10:41 -!- jvogel [~jonathan@friedpancakes.com] has quit [Read error: Operation
timed out]
10:42 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-228.clienti.tiscali.it] has
quit [Ping timeout: 245 seconds]
10:49 -!- Fish-Work [~Fish@86.65.182.194] has quit [Read error: Connection reset
by peer]
10:49 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts
10:51 -!- Fish-Work [~Fish@86.65.182.194] has quit [Read error: Connection reset
by peer]
10:55 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts
10:56 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
10:56 -!- Fish-Work [~Fish@86.65.182.194] has quit [Remote host closed the
connection]
10:59 -!- alkavan [~alkavan@77.127.177.73] has quit [Read error: Connection reset
by peer]
11:00 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Read error: Connection reset by peer]
11:03 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has quit [Ping timeout: 272
seconds]
11:07 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has quit [Quit: leaving]
11:09 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts
11:12 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
11:15 -!- valentin_ [~valentin@darkstar2.fullsix.com] has joined #go-nuts
11:17 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has quit
[Ping timeout: 265 seconds]
11:19 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:21 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has
joined #go-nuts
11:22 -!- Demp_ [~Demp@bzq-79-177-63-228.red.bezeqint.net] has left #go-nuts []
11:22 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 260 seconds]
11:27 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
11:35 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Ping timeout: 240
seconds]
11:35 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
11:36 -!- alkavan [~alkavan@77.127.177.73] has joined #go-nuts
11:44 -!- hstimer [~hstimer@c-98-234-25-125.hsd1.ca.comcast.net] has quit [Ping
timeout: 252 seconds]
11:45 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has quit [Ping
timeout: 252 seconds]
11:45 -!- path[l] [~path@59.162.86.164] has quit [Ping timeout: 252 seconds]
11:45 -!- michael| [~maikeru@unaffiliated/maikeru/x-7708887] has quit [Ping
timeout: 252 seconds]
11:47 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
11:47 -!- michael| [~maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts
11:49 -!- dj_tjerk [~pietjebel@5ED1C662.cable.ziggo.nl] has joined #go-nuts
11:50 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
11:54 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
11:56 -!- Vova [~Vova@87.68.27.37.cable.012.net.il] has joined #go-nuts
11:57 -!- Kor7 [~Vova@77.124.68.71] has quit [Read error: Connection reset by
peer]
11:58 -!- nighty__ [~nighty@210.188.173.245] has quit [Ping timeout: 252 seconds]
11:58 -!- Bennit_GRR [~bcorne@igwe17.vub.ac.be] has left #go-nuts []
12:06 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
12:06 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
12:06 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
12:23 -!- alkavan_ [~alkavan@77.127.177.73] has joined #go-nuts
12:24 -!- alkavan_ [~alkavan@77.127.177.73] has quit [Read error: Connection reset
by peer]
12:27 -!- alkavan [~alkavan@77.127.177.73] has quit [Ping timeout: 240 seconds]
12:27 -!- alkavan__ [~alkavan@77.126.143.50] has joined #go-nuts
12:37 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has quit [Ping timeout:
260 seconds]
12:41 -!- tibshoot [~tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts
12:49 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error:
Connection timed out]
12:50 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
12:56 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts
12:58 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
12:59 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-181-228.clienti.tiscali.it] has
quit [Ping timeout: 245 seconds]
13:02 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts
13:04 -!- Vova [~Vova@87.68.27.37.cable.012.net.il] has quit [Read error:
Connection reset by peer]
13:05 -!- Kor7 [~Vova@87.68.27.37.cable.012.net.il] has joined #go-nuts
13:06 -!- Fish-Work [~Fish@86.65.182.194] has quit [Remote host closed the
connection]
13:07 -!- Fish-Work [~Fish@86.65.182.194] has joined #go-nuts
13:09 -!- kanru [~kanru@61-228-149-165.dynamic.hinet.net] has joined #go-nuts
13:23 -!- nsz [nsz@morecp.net] has quit [Ping timeout: 264 seconds]
13:32 -!- jvogel [~jonathan@friedpancakes.com] has joined #go-nuts
13:40 -!- nsz [nsz@morecp.net] has joined #go-nuts
13:51 -!- BMeph [~BMeph@65.103.151.24] has quit [Ping timeout: 265 seconds]
13:54 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
13:54 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
13:56 -!- bobappleyard84 [~bobappley@cpc4-macc1-0-0-cust170.bagu.cable.ntl.com]
has left #go-nuts []
13:58 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
quit [Quit: Leaving.]
14:00 -!- jhnx [~bd732543@gateway/web/freenode/x-khcloylmhbzkybev] has quit [Ping
timeout: 252 seconds]
14:01 -!- ponce [~ponce@paradisia.net] has quit [Quit: Coyote finally caught me]
14:02 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
joined #go-nuts
14:04 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:17 -!- ct2rips [ct2rips@77-22-20-141-dynip.superkabel.de] has joined #go-nuts
14:18 -!- idea_squirrel [idea_squir@77-22-20-141-dynip.superkabel.de] has quit
[Read error: Connection reset by peer]
14:21 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Ping
timeout: 260 seconds]
14:22 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
14:27 -!- Wiz126 [Wiz126@72.20.221.79] has quit [Ping timeout: 240 seconds]
14:30 -!- alkavan__ [~alkavan@77.126.143.50] has quit [Ping timeout: 245 seconds]
14:34 -!- gzmask [~gzmask@corwin.cat.uregina.ca] has joined #go-nuts
14:34 -!- mostermand
[~mosterman@0x5da1ebe2.cpe.ge-0-1-0-1105.drlnqu1.customer.tele.dk] has joined
#go-nuts
14:34 -!- NicoBX [~NicoBX@nocat-out.u-bordeaux.fr] has joined #go-nuts
14:34 -!- mostermand
[~mosterman@0x5da1ebe2.cpe.ge-0-1-0-1105.drlnqu1.customer.tele.dk] has quit
[Client Quit]
14:35 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has joined
#go-nuts
14:35 -!- mostermand
[~mosterman@0x5da1ebe2.cpe.ge-0-1-0-1105.drlnqu1.customer.tele.dk] has joined
#go-nuts
14:35 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
14:36 -!- NicoBX [~NicoBX@nocat-out.u-bordeaux.fr] has quit [Client Quit]
14:40 -!- mostermand
[~mosterman@0x5da1ebe2.cpe.ge-0-1-0-1105.drlnqu1.customer.tele.dk] has left
#go-nuts []
14:51 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
14:52 -!- alkavan [~alkavan@IGLD-84-229-214-79.inter.net.il] has joined #go-nuts
14:53 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has joined
#go-nuts
15:12 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
15:17 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has joined
#go-nuts
15:19 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has joined #go-nuts
15:19 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Quit:
Associat0r]
15:22 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
quit [Quit: Leaving.]
15:25 -!- DerGraf_ [~chris@dslb-088-066-102-080.pools.arcor-ip.net] has quit [Ping
timeout: 256 seconds]
15:25 -!- DerGraf [~chris@dslb-088-066-102-080.pools.arcor-ip.net] has joined
#go-nuts
15:29 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has joined
#go-nuts
15:33 -!- sinuhe [~sinuhe@hq-nat2.gurulabs.com] has joined #go-nuts
15:33 -!- erus`_ [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
15:34 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Ping
timeout: 245 seconds]
15:35 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has joined #go-nuts
15:37 -!- keeto [~keeto@121.54.92.149] has quit [Quit: http://keetology.com/]
15:38 -!- keeto [~keeto@121.54.92.149] has joined #go-nuts
15:38 -!- keeto [~keeto@121.54.92.149] has quit [Remote host closed the
connection]
15:39 -!- keeto [~keeto@121.54.92.149] has joined #go-nuts
15:47 -!- TaMonKein [~humma@87-95-91-98.bb.dnainternet.fi] has joined #go-nuts
15:48 < TaMonKein> Hey, what kind of software i could write with Go? Web
apps?  2/3D games?  Normal Apps?
15:48 -!- erus`_ [~chatzilla@mailgate.ips-international.com] has quit [Ping
timeout: 245 seconds]
15:49 -!- nms42 [~UserNick@95-25-196-200.broadband.corbina.ru] has joined #go-nuts
15:51 -!- smandy [~andyrsmit@213.52.242.166] has quit [Ping timeout: 256 seconds]
15:51 < gzmask> System utilities and server side services
15:52 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-64.clienti.tiscali.it] has
joined #go-nuts
15:54 < TaMonKein> Can i do graphical systems?
15:54 < gzmask> check github.com there is an openGL binding for Go I believe
15:55 -!- nms42 [~UserNick@95-25-196-200.broadband.corbina.ru] has quit [Remote
host closed the connection]
15:58 -!- Wiz126 [Wiz126@72.20.225.219] has joined #go-nuts
15:59 < TaMonKein> how about exp.draw and exp.draw.x11?
15:59 < skelterjohn> there is opengl stuff on go-lang.cat-v.org
15:59 < skelterjohn> but i was unable to get it working...
15:59 < skelterjohn> so it's at least non-trivial to get installed
16:01 < TaMonKein> Yeah, but i could also use the exp.draw and ex.draw.x11
packages?
16:04 < skelterjohn> probably
16:04 < skelterjohn> i assume that they're relevant
16:04 < skelterjohn> i've never used them
16:04 < skelterjohn> having "draw" and "x11" in the package name is a good
sign :)
16:10 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
16:10 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:14 -!- skelterjohn [~jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
16:14 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
16:18 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
16:20 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
16:27 < rsaarelm> As far as I've tested it, Go seems quite nice for 2D games
from a programming standpoint, though I did make my own SDL glue for it.
16:28 < rsaarelm> A practical problem with game projects is of course that
there still isn't a Windows port, and games lose something like 90 % of the
audience without a Windows version.
16:28 < gzmask> yea...  I don't see Go becoming a popular language for games
soon...
16:29 < gzmask> maybe web games but not desktop games
16:30 < rsaarelm> C++ has a massive middleware ecosystem for professional
desktop game dev, so it's sitting very tight.  But once we get the Windows port
and some nicer bindings, it should be pretty good for small-scale games.
16:30 -!- DerGraf [~chris@dslb-088-066-102-080.pools.arcor-ip.net] has quit [Quit:
rebooting]
16:32 < gzmask> but but but when on windows ppl can use C# and XNA
16:32 < rsaarelm> Web games would be using NaCl, if you'd want Go on the
front end too.  Of course Go can always do the webserver backend.
16:32 < rsaarelm> With C#+XNA, you can't port to Mac and Linux.
16:32 < gzmask> in NaCL I'd hope Go will use O3D instead of calling OpenGL
directly
16:33 < gzmask> but you can port to Xbox360
16:33 < rsaarelm> There's that.
16:34 -!- trickie [~trickie@94.100.112.225] has quit [Ping timeout: 256 seconds]
16:35 < gzmask> and to make NaCL same, I don't see how gooogle will allow it
to call system services.  probably just DOM and stuff like O3D would be enough
16:35 < rsaarelm> You might be able to rig Go to compile native code to
Xbox360 if you'd do a lot of porting work, but I believe the Xbox dev kit that's
affordable for hobbyists only allows C#/XNA games, no Go there.
16:35 < gzmask> to make NaCL safe*
16:35 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
16:35 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
16:36 < dho> The developer kit is free.
16:36 < dho> The XNA license is $99/year
16:36 < gzmask> $99 only when you want your game in their market place
16:36 < dho> Right.
16:36 < rsaarelm> But the free kit only allows you to make C# apps, not C++
apps?
16:36 < dho> AFAIK it's a full kit.
16:36 < gzmask> you can distribute your game yourself if it's windows only
16:37 < dho> because of that fact that gzmask just stated
16:38 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host
closed the connection]
16:39 < gzmask> I kinda feel that Go is good for neuron network simulation
algorithms with Goroutine
16:51 -!- amacleod [amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
17:00 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
joined #go-nuts
17:02 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
17:03 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has joined #go-nuts
17:03 < anticw> gzmask: it depends, channels are cheap but not free ...  if
the amount of work done on something you get from a channel before stuffing it
into another one is small then it won't scale well
17:07 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Quit: (
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )]
17:09 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has left #go-nuts
[]
17:09 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has quit [Quit:
skelterjohn]
17:10 < gzmask> you are saying that if I use Goroutine to simulate a node
and using channel to connect the nodes then it's too costy?  are you suggesting
there are cheaper ways to connect nodes in other languages, anticw?
17:13 -!- Wiz126 [Wiz126@72.20.225.219] has quit [Ping timeout: 260 seconds]
17:14 -!- KillerX [~anant@145.116.234.40] has joined #go-nuts
17:14 -!- KillerX [~anant@145.116.234.40] has quit [Changing host]
17:14 -!- KillerX [~anant@gentoo/developer/KillerX] has joined #go-nuts
17:15 -!- quixoten [~Devin_Chr@c-67-177-8-48.hsd1.ut.comcast.net] has quit [Read
error: Connection reset by peer]
17:15 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has joined #go-nuts
17:17 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has quit [Client Quit]
17:18 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
joined #go-nuts
17:22 -!- erus`_ [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com]
has joined #go-nuts
17:22 < gzmask> anticw, if you done some ANN works in Go then I am thinking
this may work faster by simulating 4 nodes a time on quad-duo cpus:
http://golang.org/doc/effective_go.html#parallel
17:22 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
quit [Ping timeout: 240 seconds]
17:28 -!- erus`_ [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com]
has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]]
17:28 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has joined #go-nuts
17:31 -!- tibshoot [~tibshoot@linagora-230-146.pr0.nerim.net] has quit [Quit:
Quitte]
17:32 -!- Xurix [~Luixsia@AToulouse-254-1-21-144.w81-250.abo.wanadoo.fr] has
joined #go-nuts
17:33 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has quit [Ping timeout: 260
seconds]
17:33 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Remote host closed
the connection]
17:35 -!- erus`_ [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com]
has joined #go-nuts
17:41 -!- erus`_ [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com]
has quit [Ping timeout: 252 seconds]
17:42 -!- Fish-Work [~Fish@86.65.182.194] has quit [Remote host closed the
connection]
17:45 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
17:47 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has joined #go-nuts
17:50 -!- GeoBSD [~geobsd@lns-bzn-20-82-64-56-118.adsl.proxad.net] has joined
#go-nuts
17:57 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has quit [Ping timeout: 264
seconds]
17:58 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has joined #go-nuts
17:59 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has joined #go-nuts
18:03 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
joined #go-nuts
18:04 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 260 seconds]
18:05 -!- p4p4 [~P4p4@248.121.113.82.net.de.o2.com] has joined #go-nuts
18:09 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has quit [Quit:
skelterjohn]
18:13 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
18:14 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has joined #go-nuts
18:15 -!- gregc_ [~gregc@dhcp84-174.calvin.edu] has quit [Ping timeout: 240
seconds]
18:15 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has quit [Client Quit]
18:17 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
quit [Ping timeout: 256 seconds]
18:21 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
joined #go-nuts
18:22 -!- valentin_ [~valentin@darkstar2.fullsix.com] has quit [Remote host closed
the connection]
18:25 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has joined #go-nuts
18:40 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has quit []
18:47 -!- skelterjohn [~jasmuth@nat01-hill-ext.rutgers.edu] has quit [Quit:
skelterjohn]
18:47 -!- dizm [~dizm@121.98.168.127] has left #go-nuts []
18:52 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
18:52 -!- KillerX [~anant@gentoo/developer/KillerX] has quit [Quit: Leaving.]
18:53 -!- Wiz126 [Wiz126@72.20.223.215] has joined #go-nuts
19:00 -!- Wiz126 [Wiz126@72.20.223.215] has quit [Ping timeout: 265 seconds]
19:00 < Xurix> Hi everyone!
19:01 < smw> hi Xurix!
19:02 < Xurix> How's everyone today?
19:02 < smw> meh.  ok I guess.  :-P
19:04 < Xurix> Whatcha doing?
19:12 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
quit [Quit: Leaving.]
19:16 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:23 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust265.basl.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]]
19:24 < plexdev> http://is.gd/8FDGC by [Russ Cox] in 4 subdirs of go/ -- gc:
recursive interface embedding
19:28 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Ping timeout: 260
seconds]
19:43 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined
#go-nuts
19:45 -!- yatoo [~marcus@host86-161-166-33.range86-161.btcentralplus.com] has quit
[Ping timeout: 240 seconds]
19:45 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has joined
#go-nuts
19:48 -!- blAckEn3d [~alex@79.117.151.90] has joined #go-nuts
19:48 < blAckEn3d> hello, can I define a method on a function?
19:48 < dho> method on a function?
19:48 < blAckEn3d> wait, I'll paste a snippet
19:48 <+iant> you can define a method on a named function type
19:49 < blAckEn3d> @iant that's what I mean
19:49 < blAckEn3d> how can I do that?
19:50 <+iant> blAckEn3d: there is an example at
http://golang.org/doc/effective_go.html#interface_methods
19:50 < blAckEn3d> @iant thanks
19:51 -!- yatoo [~marcus@host86-158-51-37.range86-158.btcentralplus.com] has
joined #go-nuts
19:51 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 248
seconds]
19:59 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has quit [Ping
timeout: 268 seconds]
20:02 -!- Luixsia [~Luixsia@AToulouse-254-1-29-66.w81-250.abo.wanadoo.fr] has
joined #go-nuts
20:03 -!- Xurix [~Luixsia@AToulouse-254-1-21-144.w81-250.abo.wanadoo.fr] has quit
[Ping timeout: 252 seconds]
20:03 -!- JBeshir [~namegduf@138-38-226-61.resnet.bath.ac.uk] has quit [Quit:
Moving IRC client to a new location; terminating for final transfer of logs.]
20:10 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
20:11 -!- JBeshir [~namegduf@94.75.205.131] has joined #go-nuts
20:11 -!- JBeshir [~namegduf@94.75.205.131] has quit [Client Quit]
20:11 -!- JBeshir [~namegduf@94.75.205.131] has joined #go-nuts
20:13 -!- blAckEn3d [~alex@79.117.151.90] has quit [Quit: blAckEn3d]
20:18 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100214235958]]
20:24 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has joined #go-nuts
20:24 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has joined
#go-nuts
20:25 -!- Surma [~surma@91-64-19-46-dynip.superkabel.de] has joined #go-nuts
20:25 -!- blAckEn3d [~alex@79.117.151.90] has joined #go-nuts
20:27 -!- prip [~foo@host119-197-dynamic.17-79-r.retail.telecomitalia.it] has quit
[Read error: Operation timed out]
20:27 < Surma> hey guys.  I got some problems with containers (IntVector to
be specific).  I'm launchinb about 1000 goroutines using a vector.IntVector.
However, their capacity defaults to 16 - which is too large, I only need 10.  As I
plan to go bigger, 6 byte matter.  How can I create a smaller Vector?  I tried
creating a int-slice by hand, but casting it to IntVector or something just wont
work.  any hints?
20:27 < Surma> (oh, and if possible, I'd like to pass values for the 10
fields of the vector at initialization
20:28 < smw> Surma: casting?
20:28 < Surma> smw: Sorry, I meant - just passing - old habit ;)
20:28 < smw> Surma: IntVector(anIntSlice)
20:29 < smw> np, are you casting it like a interface slice.(Intvector) or
IntVector(anIntSlice)
20:30 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
20:30 < Surma> I tried like this
20:30 < Eridius> you should be able to do something like make(IntVector, 10,
10)
20:30 < Eridius> besides, it looks like Vector's initial capacity is now 8,
though it'll expand to 16 once you go past that
20:30 < Surma> h := vector.IntVector(([10]int{1,1,1,1,1,1,1,0,0,0})[0:])
20:31 < Surma> seems messy tho ^^
20:31 < smw> lol
20:31 < Eridius> []int{1,1,1,1,1} should work to make a vector, no?
20:31 < smw> do make(vector.IntVector, 10, 10)
20:31 < Eridius> alternately, &[...]int{1,1,1,1,1}
20:32 < Surma> Eridius: Than I can't call Push() on that
20:32 < Eridius> Surma: casting it isn't working?
20:33 < Surma> Eridius: Just tried, than it does work
20:33 < Surma> thanks
20:33 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the
connection]
20:33 < Surma> now, would you mind explaining, why it has to be like this?
20:33 < Eridius> like what specifically?
20:33 < Surma> with [...]int{1,1,...,1} I create an array
20:33 < Eridius> yeah
20:33 < Surma> with & I get the address of array, yes?
20:33 < Eridius> taking the address of an array gives you a slice
20:34 < Surma> but I thought, IntVector is an int-slice
20:34 < Surma> Eridius: ah!  thats new to me
20:34 < Surma> I read, slices are some kind of struct (in the backend) so
didn't think you could just do it like that
20:34 < Eridius> that said, []int{1,1,1,1} should work
20:34 < Eridius> []int{1,1,1,1} should be effectively equivalent to
&[...]int{1,1,1,1}
20:35 < Surma> Eridius: Yup, works too
20:35 < Surma> thanks you guys
20:36 < Eridius> and yes, a slice is internally a struct of some sort, but I
believe Go just transparently converts an address-of-array into a slice
20:36 < Surma> I'll just remember that.
20:36 * Eridius is trying to find this documented in the language spec but is
having difficulty finding it :/
20:36 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts
20:37 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has joined #go-nuts
20:37 < Surma> Eridius: I guess it isn't there, otherwise - I guess - I
would have found it.  That much I can expect from myself ;)
20:37 < Eridius> heh
20:37 * Eridius is wondering how he knew it then
20:38 < Eridius> hrm, http://golang.org/doc/go_tutorial.html#tmp_92 shows it
in practice, but doesn't define it
20:38 < Eridius> well, in the following paragraph it explains that it works,
it's just not formally specified
20:40 < skelterjohn> #tmp_92 left me at the top of the page
20:40 < Eridius> oh, it was supposed to be the section about types
20:40 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has quit [Remote host closed the
connection]
20:40 < Eridius>
http://golang.org/doc/go_spec.html#Making_slices_maps_and_channels also shows one
usage of &a (where a is an array), but again doesn't formally specify it
20:41 < Surma> ANother question just popped up: So right now I spawn
(literally) a million goroutines, each having 2 slices with a capacity of 10
integers, and a channel of ints.  That would make 16Megs + 1million*sizeof(chan
int) (so to speak).  However, the process takes up >2GB of RAM.  Is that
normal?
20:41 < Surma> Eridius: you are right, I could have figured it out from the
examples
20:42 -!- prip [~foo@host247-123-dynamic.32-79-r.retail.telecomitalia.it] has
joined #go-nuts
20:45 < Eridius> how'd you get 16MB?
20:45 < Eridius> I also wonder how much memory overhead each goroutine
itself has
20:45 < Surma> 20*8byte*1million
20:45 < Surma> Eridius: That's what my next question would have been
20:45 < Eridius> what's the 20*8byte?
20:46 < Eridius> figuring conservatively, I'm guessing each slice is 48
bytes (4 for length, 4 for the pointer to the array, and 40 for the array itself)
20:46 < Surma> 8byte per integer (on a 64bit), 2 slices รก 10 items
20:46 < Eridius> oh, 64bit
20:46 < Surma> oh right, it's a struct
20:46 < Eridius> ok, that makes my guess 96bytes per slice
20:46 < Surma> yup
20:46 < Surma> okay, still ~100MB per goroutine
20:46 < Surma> 1.9GB to go ;)
20:47 < Surma> but I just realize, at 1million routines, each byte adds a
Meg to the overall memory consumption
20:47 < Eridius> if a goroutine uses a mere 2k bytes, that would account for
it
20:47 < Surma> 2k per routine is okay i guess
20:47 < Surma> yeah
20:47 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has joined #go-nuts
20:48 < Surma> well, the million routines were just me playing around ^^
20:48 < Eridius> heh
20:48 < Eridius> I suspect with that many goroutines, the overhead in
managing them is more than the gains in parallelism
20:48 -!- blAckEn3d [~alex@79.117.151.90] has quit [Quit: blAckEn3d]
20:48 < Eridius> especially since you don't have a million cores
20:48 < Surma> indeed
20:49 < Surma> would be nice though...
20:49 < Surma> a million cores...
20:49 < Eridius> haha
20:52 -!- xorl [~xorl@slack.in] has left #go-nuts []
20:52 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
20:52 -!- cbeck [~cbeck@c-67-170-181-181.hsd1.or.comcast.net] has joined #go-nuts
20:56 -!- p4p4 [~P4p4@248.121.113.82.net.de.o2.com] has quit [Quit: ChatZilla
0.9.84 [SeaMonkey 2.0a3/20090223135443]]
20:57 < skelterjohn> http://www.xmos.com/
20:57 < skelterjohn> that's where to start if you want 1e6 cores
21:00 < leonod> sparkfun is another good site
21:04 < leonod> So the other day I got a tip about using the html 5 canvas
for displaying charts from go.  Is this the way to go?  Should the template
package be used to modify the canvas when the data is modified?
21:11 -!- ericvh [~ericvh@32.97.110.65] has joined #go-nuts
21:15 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
21:15 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:b96b:9949:8ccd:ba6c] has quit
[Quit: Leaving.]
21:19 -!- CodeBlock [~CodeBlock@about/windows/regular/CodeBlock] has quit [Quit:
leaving]
21:20 < leonod> Anyone?
21:21 < skelterjohn> i certainly have no idea
21:22 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Read error:
Connection reset by peer]
21:23 -!- Surma [~surma@91-64-19-46-dynip.superkabel.de] has quit [Quit: Leaving.]
21:23 < leonod> No me neither.  I usually do embedded code and displaying
stuff that common in that area :)
21:24 < leonod> Strange sentence.
21:28 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has quit [Read error:
Operation timed out]
21:30 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has joined #go-nuts
21:33 -!- kanru1 [~kanru@61-228-147-200.dynamic.hinet.net] has joined #go-nuts
21:34 -!- d3xter [~sinz@62-47-251-39.adsl.highway.telekom.at] has joined #go-nuts
21:34 -!- d3xter [~sinz@62-47-251-39.adsl.highway.telekom.at] has left #go-nuts []
21:35 -!- geocalc [~geobsd@lns-bzn-35-82-250-207-147.adsl.proxad.net] has joined
#go-nuts
21:35 -!- eliteSchaf [~sinz@62-47-251-39.adsl.highway.telekom.at] has joined
#go-nuts
21:35 < eliteSchaf> hey guys
21:36 < eliteSchaf> how do i link a local file into my program?  -I.  seems
not to work anymore
21:36 -!- kanru [~kanru@61-228-149-165.dynamic.hinet.net] has quit [Ping timeout:
256 seconds]
21:38 -!- GeoBSD [~geobsd@lns-bzn-20-82-64-56-118.adsl.proxad.net] has quit [Ping
timeout: 252 seconds]
21:39 < leonod> anymore?
21:40 < eliteSchaf> yes, it has worked with the 27-1-10 release
21:40 < eliteSchaf> so what is the right way to import a local file?
21:41 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
21:41 < leonod> I guess that you have checked: "To build more complicated
programs, you will probably want to use a Makefile.  There are examples in places
like $GOROOT/src/cmd/godoc/Makefile and $GOROOT/src/pkg/*/Makefile"
21:43 < eliteSchaf> yes i do, but a single command for my little test
programs would be enough
21:44 < skelterjohn> check out go-lang.cat-v.org - there are a few attempts
at auto-builders there
21:44 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit:
skelterjohn]
21:44 < leonod> I'm as lost as you are but will have a look
21:44 < eliteSchaf> leonod, thanks :)
21:46 < eliteSchaf> leonod, wait, they've changed the behaviour to the old
one
21:46 < eliteSchaf> just import it as "./package-name"
21:46 < eliteSchaf> then it works ^^
21:47 < leonod> Ah so you meant in your go source how to include a local
package?
21:48 < eliteSchaf> leonod, yes thats what i meant ^^
21:49 -!- thesteprobe [~quassel@cpc2-nmal7-0-0-cust665.croy.cable.virginmedia.com]
has joined #go-nuts
21:51 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Quit: Leaving]
21:59 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-64.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:00 -!- d_m_ [~d_m@207.245.124.125] has joined #go-nuts
22:03 -!- aho [~nya@e179089160.adsl.alicedsl.de] has joined #go-nuts
22:07 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
22:09 -!- scm [justme@c162254.adsl.hansenet.de] has quit [Ping timeout: 260
seconds]
22:11 -!- scm [justme@c136033.adsl.hansenet.de] has joined #go-nuts
22:13 < smw> How do you test if a key exists in a map?
22:13 < Eridius> _, ok := map[key]
22:14 < smw> ok
22:16 < smw> Eridius: thanks, it works.
22:22 -!- Macpunk [~macpunk@2002:48b1:1add:0:eee:e6ff:fec7:7eaa] has quit [Ping
timeout: 240 seconds]
22:28 -!- gzmask [~gzmask@corwin.cat.uregina.ca] has left #go-nuts []
22:34 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:34 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has quit [Quit: Leaving]
22:36 -!- fosho_ [~afitz@adsl-92-75-111.asm.bellsouth.net] has quit [Quit: Peace
and Protection 4.22]
22:36 -!- eliteSchaf [~sinz@62-47-251-39.adsl.highway.telekom.at] has quit [Quit:
Ex-Chat]
22:39 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has quit [Remote
host closed the connection]
22:40 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
22:42 -!- smw [~stephen@203.sub-75-195-134.myvzw.com] has quit [Ping timeout: 265
seconds]
22:44 -!- ct2rips [ct2rips@77-22-20-141-dynip.superkabel.de] has quit [Remote host
closed the connection]
22:44 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
22:45 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
22:46 -!- ericvh [~ericvh@32.97.110.65] has quit [Quit: ericvh]
22:49 -!- wuehlmaus [~wuehlmaus@p4FCC4373.dip.t-dialin.net] has quit [Ping
timeout: 260 seconds]
22:55 -!- cyonyx [~chatzilla@c-76-126-250-10.hsd1.ca.comcast.net] has joined
#go-nuts
22:59 < plexdev> http://is.gd/8Gp3e by [Ken Thompson] in 2 subdirs of
go/src/ -- more complex - constants
23:01 -!- x-ip [~sakura@unaffiliated/x-ip] has joined #go-nuts
23:04 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
23:05 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
23:18 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
23:18 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined
#go-nuts
23:22 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 260 seconds]
23:23 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
23:24 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
23:24 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Excess Flood]
23:24 -!- wrtp [~rog@89.240.139.58] has quit [Quit: wrtp]
23:29 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts
23:31 -!- mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
23:45 < plexdev> http://is.gd/8GxR8 by [Dean Prichard] in go/src/pkg/sync/
-- sync: allow to work on armv5
23:52 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
23:52 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has joined #go-nuts
23:58 -!- geocalc [~geobsd@lns-bzn-35-82-250-207-147.adsl.proxad.net] has quit
[Remote host closed the connection]
--- Log closed Fri Feb 19 00:00:10 2010