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

--- Log opened Sat Feb 19 00:00:27 2011
--- Day changed Sat Feb 19 2011
00:00 < kimelto> depends of your definition of "mostly" I guess ;)
00:06 -!- dRbiG [drbig@unhallowed.pl] has quit [Ping timeout: 240 seconds]
00:07 -!- dRbiG [drbig@unhallowed.pl] has joined #go-nuts
00:16 < zzing> Is there any concurrency beyond goroutines?  Like a real
threading.
00:16 < Namegduf> Goroutines are fully concurrent.
00:16 < Namegduf> They're distributed over multiple threads and thus are as
concurrent as threads are.
00:16 < zzing> oh, my apologies, I must have read something wrong
00:17 < |Craig|> They can be, you have to set the runtime to use multiple
cores though
00:17 < zzing> |Craig|: how is that done?
00:17 < KirkMcDonald> GOMAXPROCS
00:17 < Namegduf> |Craig|: Sort of.  They always are for blocking
goroutines.
00:17 < Namegduf> As they don't count towards GOMAXPROCS
00:18 < KirkMcDonald> zzing: Specifically, set GOMAXPROCS to some value when
launching your Go binary.
00:18 < KirkMcDonald> zzing: That will be the number of threads which the
goroutines will be multiplexed across.
00:18 < zzing> KirkMcDonald: Is there any way for the program to do it?  It
is not always possible to set the environment before execution.
00:18 < KirkMcDonald> *the environment variable GOMAXPROCS
00:18 < KirkMcDonald> zzing: It isn't?
00:19 < Namegduf> zzing: Stick it in your environment somewhere else.
00:19 < zzing> KirkMcDonald: For example if I am running inside an app
bundle on the mac
00:19 < Namegduf> The appropriate maximum number of goroutines to use is a
factor of the system, not the program
00:19 < Namegduf> Er, maximum number of threads to use concurrently
00:19 < Namegduf> You can, however, set it using a runtime.something call
00:19 -!- zzing [~zzing@66.78.105.13] has quit [Remote host closed the connection]
00:24 -!- tarrant [~tarrant@216.83.139.130] has quit [Quit: Leaving...]
00:25 <@nf_> n___: we have more and more community contributions.  for
example, the windows port is driven entirely by non-google contributors
00:25 <@nf_> if you look at the release notes there are more and more
entries with (thanks Foo Bar) beside them
00:28 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:29 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
00:29 -!- itrekkie_ [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has joined #go-nuts
00:29 -!- itrekkie_ [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has quit [Client
Quit]
00:30 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
00:30 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
00:32 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Client
Quit]
00:33 -!- itrekkie [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has quit [Ping
timeout: 255 seconds]
00:38 -!- tobik [~tobik@p549FE158.dip.t-dialin.net] has quit [Read error:
Operation timed out]
00:43 -!- gr0gmint [~quassel@87.61.162.99] has quit [Remote host closed the
connection]
00:52 -!- gr0gmint [~quassel@87.61.162.99] has joined #go-nuts
00:53 < gr0gmint> is there a reason why my app seems more stable with
GOMAXPROCS>1 set ?
00:53 <@nf_> yes, because there are issue with concurrent GC right now
00:54 < gr0gmint> so its unstable when using a single thread or what?
00:57 <@nf_> oh sorry i misread that
00:57 <@nf_> that is strange :S
00:58 <@nf_> if you can whittle it down to a minimal test-case that'd be
great
00:59 < gr0gmint> i can try
00:59 < gr0gmint> if GOMAXPROCS is not set, what is the default value?
01:02 < |Craig|> gr0gmint: 1 I think, but I;m not sure
01:02 < uriel> nf_: well, the roadmap still mentions: "Improved CGO
including some mechanism for calling back from C to Go.
01:02 < uriel> "
01:02 < uriel> which AFAIK is done
01:03 < gr0gmint> |Craig|: okay
01:03 < uriel> (I think there were a couple of other done items, but they
seems to be gone now)
01:04 -!- gr0gmint [~quassel@87.61.162.99] has quit [Read error: Connection reset
by peer]
01:07 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
01:08 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has joined
#go-nuts
01:08 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
01:12 -!- tarrant [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has joined #go-nuts
01:28 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
01:31 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Client Quit]
01:35 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has joined #go-nuts
01:39 -!- n___ [~n___@5ad54238.bb.sky.com] has quit [Quit: n___]
01:40 -!- JusticeFries_
[~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net] has joined #go-nuts
01:43 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Ping timeout: 250 seconds]
01:44 -!- JusticeFries_
[~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net] has quit [Ping
timeout: 240 seconds]
01:52 -!- aho [~nya@fuld-590c7446.pool.mediaWays.net] has joined #go-nuts
01:58 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
01:58 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Client Quit]
02:01 < niemeyer> uriel: The calling back from C to Go is still not a great
story
02:05 < uriel> niemeyer: but AFAIK it works
02:06 < niemeyer> uriel: It depends on what you mean by that..  calling from
C to Go "out of band" requires considerable effort still
02:16 -!- boscop [~boscop@g225227102.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
02:18 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
02:20 -!- niemeyer [~niemeyer@189.10.154.99] has quit [Ping timeout: 240 seconds]
02:33 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has quit [Remote host closed the connection]
02:56 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
03:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
03:09 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
03:10 -!- exch [~exch@h78233.upc-h.chello.nl] has quit [Read error: Connection
reset by peer]
03:23 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has quit [Read error:
Connection reset by peer]
03:24 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has joined #go-nuts
03:25 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 240 seconds]
03:25 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts
03:27 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
03:28 -!- keithcascio [~keithcasc@nat/google/x-kdfnzqsrulizdvdq] has quit [Quit:
Leaving]
03:30 -!- Eko [~eko@c-24-5-127-87.hsd1.ca.comcast.net] has joined #go-nuts
03:49 -!- elimisteve [~elimistev@pool-71-102-138-52.snloca.dsl-w.verizon.net] has
joined #go-nuts
03:53 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
03:53 -!- gmilleramilar1 [~gmiller@38.104.67.234] has joined #go-nuts
03:58 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 255 seconds]
03:58 -!- welterde [welterde@thinkbase.srv.welterde.de] has quit [Ping timeout:
255 seconds]
03:58 -!- gmilleramilar [~gmiller@38.104.67.234] has quit [Ping timeout: 255
seconds]
03:58 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Ping timeout: 255
seconds]
03:58 -!- enferex [~enferex@users.757.org] has quit [Ping timeout: 255 seconds]
03:58 -!- enferex [~enferex@users.757.org] has joined #go-nuts
03:58 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
04:01 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
04:08 -!- welterde [welterde@thinkbase.srv.welterde.de] has joined #go-nuts
04:10 -!- saturnfive [~saturnfiv@61.150.60.27] has joined #go-nuts
04:11 -!- saturnfive [~saturnfiv@61.150.60.27] has left #go-nuts []
04:12 -!- Natch| [~natch@c-6dcde155.25-4-64736c10.cust.bredbandsbolaget.se] has
quit [Read error: Connection reset by peer]
04:14 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has joined #go-nuts
04:20 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:22 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has quit [Read error:
Connection reset by peer]
04:22 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has joined #go-nuts
04:30 -!- cco3 [~conley@c-69-181-140-72.hsd1.ca.comcast.net] has quit [Ping
timeout: 272 seconds]
04:31 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
[Quit: ZNC - http://znc.sourceforge.net]
04:37 -!- jnwhiteh_ [~jnwhiteh@li37-84.members.linode.com] has joined #go-nuts
04:37 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
05:10 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
05:24 -!- cco3 [~conley@c-69-181-140-72.hsd1.ca.comcast.net] has joined #go-nuts
05:35 -!- itrekkie [~itrekkie@ip70-190-110-197.ph.ph.cox.net] has joined #go-nuts
05:37 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 250 seconds]
05:44 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
05:46 -!- Sgeo_ [~Sgeo@ool-18bf618a.dyn.optonline.net] has joined #go-nuts
05:49 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has quit [Ping timeout: 240
seconds]
05:54 -!- itrekkie [~itrekkie@ip70-190-110-197.ph.ph.cox.net] has quit [Read
error: Connection reset by peer]
05:54 -!- itrekkie_ [~itrekkie@ip70-190-110-197.ph.ph.cox.net] has joined #go-nuts
06:32 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has quit [Ping timeout: 240 seconds]
06:33 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has joined #go-nuts
06:43 -!- tarrant [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has quit [Quit: Leaving...]
06:54 -!- cco3 [~conley@c-69-181-140-72.hsd1.ca.comcast.net] has quit [Ping
timeout: 276 seconds]
07:00 -!- itrekkie_ [~itrekkie@ip70-190-110-197.ph.ph.cox.net] has quit [Quit:
itrekkie_]
07:02 -!- ExtraSpice [XtraSpice@78-62-101-194.static.zebra.lt] has joined #go-nuts
07:09 -!- vzx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Quit: WeeChat
0.3.2]
07:11 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts
07:13 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
07:13 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
07:18 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Quit:
WeeChat 0.3.4]
07:19 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts
07:21 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Client
Quit]
07:25 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts
07:27 -!- photron [~photron@port-92-201-36-58.dynamic.qsc.de] has joined #go-nuts
07:33 -!- nettok [~quassel@200.119.159.3] has quit [Ping timeout: 260 seconds]
07:48 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
08:04 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
08:09 -!- femtoo [~femto@95-89-197-95-dynip.superkabel.de] has joined #go-nuts
08:18 -!- femtoo [~femto@95-89-197-95-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
08:20 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
08:35 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Quit:
WeeChat 0.3.4]
08:40 -!- adu [~ajr@softbank220043139062.bbtec.net] has joined #go-nuts
08:43 -!- n___ [~n___@5ad54238.bb.sky.com] has joined #go-nuts
08:43 -!- n___ [~n___@5ad54238.bb.sky.com] has quit [Client Quit]
08:48 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
09:02 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
09:09 -!- mimustafa [~steve@92.62.119.57] has joined #go-nuts
09:10 < taruti> Has anyone got a simple way of generating apidocs from
Go-packages into bitbucket?
09:10 -!- mimustafa [~steve@92.62.119.57] has left #go-nuts []
09:19 < napsy_> import "os/signal" ...  var sig chan signal.Signal; sig
<- signal.Incoming; ...  and I get error "cannot use <-signal.Incoming (type
signal.Signal) as type chan signal.Signal in assignment: need type assertion" why?
09:20 < napsy_> oh nvm
09:39 -!- cenuij [~cenuij@78.112.41.178] has joined #go-nuts
09:39 -!- cenuij [~cenuij@78.112.41.178] has quit [Changing host]
09:39 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
09:39 -!- tvw [~tv@e176001223.adsl.alicedsl.de] has joined #go-nuts
09:40 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
09:49 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
09:49 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
09:49 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:54 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
10:04 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu]
10:05 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
10:06 -!- adu [~ajr@softbank220043139062.bbtec.net] has joined #go-nuts
10:09 -!- cde [~cde@unaffiliated/cde] has quit [Quit: leaving]
10:10 -!- sauerbraten [~sauerbrat@p508CDAA8.dip.t-dialin.net] has joined #go-nuts
10:24 -!- sukuri [~dont_worr@c0c1c03c748b.click-network.com] has joined #go-nuts
10:25 -!- shvntr [~shvntr@116.26.136.141] has joined #go-nuts
10:35 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu]
10:37 -!- tvw [~tv@e176001223.adsl.alicedsl.de] has quit [Remote host closed the
connection]
10:47 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 260 seconds]
11:14 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Quit: WeeChat 0.3.4]
11:15 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
11:17 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts
11:18 -!- sukuri [~dont_worr@c0c1c03c748b.click-network.com] has quit [Quit:
sukuri]
11:29 -!- cenuij [~cenuij@base/student/cenuij] has quit [Quit: ¬_¬]
11:33 -!- tensorpudding [~user@99.23.127.179] has quit [Read error: Connection
reset by peer]
11:41 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
11:42 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 276 seconds]
11:42 -!- DerHorst [~Horst@e176099144.adsl.alicedsl.de] has joined #go-nuts
11:44 -!- cenuij [~cenuij@78.112.41.178] has joined #go-nuts
11:44 -!- cenuij [~cenuij@78.112.41.178] has quit [Changing host]
11:44 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
11:47 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 255 seconds]
11:49 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
11:52 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
11:54 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
11:55 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
12:01 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
12:05 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
12:09 -!- alexluya [~alexluya@222.64.222.254] has joined #go-nuts
12:09 -!- alexluya [~alexluya@222.64.222.254] has left #go-nuts []
12:11 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:13 -!- visof [~visof@unaffiliated/visof] has quit [Client Quit]
12:13 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:13 < sauerbraten> can someone tell me why this: http://pastie.org/1582030
prints out "0", then a deadlock exception, and then continues with "1", "2", ...
until "99"?
12:17 -!- DerHorst [~Horst@e176099144.adsl.alicedsl.de] has quit [Remote host
closed the connection]
12:17 < sauerbraten> oh erm: sometimes it also produces the deadlock
exception after "99" o.O
12:24 -!- Luya [~alex@222.64.222.254] has joined #go-nuts
12:26 -!- Luya [~alex@222.64.222.254] has quit [Remote host closed the connection]
12:30 -!- Luya_ [~alex@222.64.222.254] has joined #go-nuts
12:30 -!- Luya_ [~alex@222.64.222.254] has quit [Client Quit]
12:30 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has quit [Ping timeout: 276
seconds]
12:30 -!- Luya_ [~alex@222.64.222.254] has joined #go-nuts
12:31 -!- Aco- [~MYOB@r1k2s1.freakyhosting.nl] has quit [Ping timeout: 276
seconds]
12:32 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-164-77.clienti.tiscali.it] has
joined #go-nuts
12:33 -!- Luya_ [~alex@222.64.222.254] has quit [Client Quit]
12:33 -!- Luya_ [~alex@222.64.222.254] has joined #go-nuts
12:36 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has joined #go-nuts
12:37 -!- Luya_ [~alex@222.64.222.254] has quit [Client Quit]
12:38 -!- Luya_ [~alex@222.64.222.254] has joined #go-nuts
12:38 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
12:38 < Luya_> hello,any ide available?\
12:39 < Luya_> hello,does anybody use goclipse?
12:40 < hokapoka> Luya_: personally I don't use goeclipse, although others
have talked about it in here and have been relativly positive.
12:40 -!- Luya_ [~alex@222.64.222.254] has quit [Client Quit]
12:41 -!- Luya_ [~alex@222.64.222.254] has joined #go-nuts
12:41 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-164-77.clienti.tiscali.it]
has joined #go-nuts
12:41 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
12:42 < hokapoka> sauerbraten: becuase the routines have ended, except the
for { x := <-c2; }
12:43 < hokapoka> throw: all goroutines are asleep - deadlock!
12:44 < hokapoka> sorry x = <-ch2;
12:44 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-164-77.clienti.tiscali.it] has
quit [Ping timeout: 246 seconds]
12:44 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping
timeout: 246 seconds]
12:45 < sauerbraten> hokapoka, you mean ch2 <- x?
12:45 < sauerbraten> or x <- ch1?
12:46 < sauerbraten> ah right, x <- ch1 awaits something but since
nothing sends anything to ch1 it deadlocks?
12:46 < hokapoka> x = <- ch1
12:48 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
12:48 < sauerbraten> ok, the reason why the exception sometimes showed up
between 0 and 1 or even before 0 is, that eclipse mixes up stdout and stderr
12:49 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds]
12:50 -!- alexluya [~alexluya@222.64.222.254] has joined #go-nuts
12:50 -!- Luya_ [~alex@222.64.222.254] has quit [Quit: Ex-Chat]
12:51 -!- wtfness [~dsc@89.211.71.208] has quit [Quit: Leaving]
12:51 -!- nixness [~dsc@89.211.71.208] has quit [Quit: Leaving]
12:51 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:ad5a:b7b8:dded:581f] has joined
#go-nuts
12:52 -!- boscop [~boscop@g227002235.adsl.alicedsl.de] has joined #go-nuts
12:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:56 < alexluya> does anybody use goclipse?
12:56 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
12:58 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 272 seconds]
12:59 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 250 seconds]
13:02 < jumzi> i didn't think it was that mature yet
13:03 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
13:04 -!- boscop_ [~boscop@g227002235.adsl.alicedsl.de] has joined #go-nuts
13:04 -!- alexluya [~alexluya@222.64.222.254] has quit [Ping timeout: 240 seconds]
13:04 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
13:06 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
13:06 -!- hachiya_ [~hachiya@encyclical.net] has joined #go-nuts
13:06 -!- yugui__ [~yugui@yugui.jp] has joined #go-nuts
13:06 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Client
Quit]
13:06 -!- vegai_ [vegai@kapsi.fi] has joined #go-nuts
13:06 -!- jessta [~jessta@li7-205.members.linode.com] has joined #go-nuts
13:06 -!- vegai_ [vegai@kapsi.fi] has quit [Changing host]
13:06 -!- vegai_ [vegai@archlinux/developer/vegai] has joined #go-nuts
13:06 -!- xyproto1 [~alexander@77.40.159.131] has joined #go-nuts
13:07 -!- Soultake1 [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
13:07 -!- kingfishr_ [~kingfishr@c-98-207-87-183.hsd1.ca.comcast.net] has joined
#go-nuts
13:08 -!- FX80 [~MX80@cust65.253.117.74.dsl.g3telecom.net] has joined #go-nuts
13:08 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
13:11 -!- yugui_ [~yugui@yugui.jp] has quit [Ping timeout: 246 seconds]
13:11 -!- boscop [~boscop@g227002235.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
13:11 -!- napsy_ [~luka@88.200.96.18] has quit [Ping timeout: 246 seconds]
13:11 -!- hachiya [~hachiya@encyclical.net] has quit [Ping timeout: 246 seconds]
13:11 -!- xyproto [~alexander@77.40.159.131] has quit [Ping timeout: 246 seconds]
13:11 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Ping
timeout: 246 seconds]
13:11 -!- kingfishr [~kingfishr@c-98-207-87-183.hsd1.ca.comcast.net] has quit
[Ping timeout: 246 seconds]
13:11 -!- vegai [vegai@kapsi.fi] has quit [Ping timeout: 246 seconds]
13:11 -!- jessta_ [~jessta@li7-205.members.linode.com] has quit [Ping timeout: 246
seconds]
13:11 -!- MX80 [~MX80@cust65.253.117.74.dsl.g3telecom.net] has quit [Ping timeout:
246 seconds]
13:11 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Ping timeout:
246 seconds]
13:11 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
13:18 -!- alexluya [~alexluya@222.64.222.254] has joined #go-nuts
13:19 -!- sauerbraten [~sauerbrat@p508CDAA8.dip.t-dialin.net] has quit [Remote
host closed the connection]
13:25 -!- mattn_jp [~mattn@180-144-132-104f1.hyg1.eonet.ne.jp] has joined #go-nuts
13:28 -!- femtoo [~femto@95-89-249-77-dynip.superkabel.de] has joined #go-nuts
13:30 -!- mulander [mulander@078088239019.lubin.vectranet.pl] has joined #go-nuts
13:43 -!- zozoR [~Morten@56346ed3.rev.stofanet.dk] has joined #go-nuts
13:49 -!- mattn_jp [~mattn@180-144-132-104f1.hyg1.eonet.ne.jp] has quit [Ping
timeout: 240 seconds]
13:53 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
13:59 -!- mattn_jp [~mattn@180-144-132-104f1.hyg1.eonet.ne.jp] has joined #go-nuts
14:00 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
14:18 -!- mattn_jp [~mattn@180-144-132-104f1.hyg1.eonet.ne.jp] has quit [Quit:
Ex-Chat]
14:20 -!- shvntr [~shvntr@116.26.136.141] has quit [Quit: leaving]
14:26 -!- Fish- [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
14:40 -!- ako [~nya@fuld-590c7cf4.pool.mediaWays.net] has joined #go-nuts
14:43 -!- aho [~nya@fuld-590c7446.pool.mediaWays.net] has quit [Ping timeout: 240
seconds]
14:46 -!- niemeyer [~niemeyer@189-10-154-99.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
14:57 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Remote
host closed the connection]
15:00 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
15:06 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:07 < KBme> hm latest release fails at tests
15:07 < KBme> printer.TestFiles fails
15:07 < KBme> on one of my machines (amd64)
15:07 < KBme> weird, doesn't seem to happen on the other one (x86)
15:09 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
15:10 < KBme> tip built fine probably a known bug
15:13 -!- Scorchin [~Scorchin@host86-160-234-227.range86-160.btcentralplus.com]
has joined #go-nuts
15:13 < KBme> ok the problem is that tip is bugged :)
15:15 -!- jnwhiteh_ [~jnwhiteh@li37-84.members.linode.com] has quit [Quit: ZNC -
http://znc.sourceforge.net]
15:16 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has joined
#go-nuts
15:19 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 276 seconds]
15:26 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
15:27 -!- DerHorst [~Horst@e176099144.adsl.alicedsl.de] has joined #go-nuts
15:27 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
15:28 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
15:38 -!- wrtp [~rog@92.17.33.100] has quit [Quit: wrtp]
15:39 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
15:40 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
15:44 -!- ako [~nya@fuld-4d00d079.pool.mediaWays.net] has joined #go-nuts
15:47 -!- alexluya [~alexluya@222.64.222.254] has quit [Quit: alexluya]
15:47 -!- aho [~nya@fuld-590c7cf4.pool.mediaWays.net] has quit [Ping timeout: 240
seconds]
15:48 < plexdev> http://is.gd/NH9f83 by [Adam Langley] in
go/src/pkg/crypto/openpgp/packet/ -- crypto/openpgp/packet: comment typo fix.
15:51 < KBme> oh!  openpgp!
15:51 < KBme> sweet!
15:55 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has quit [Remote host closed the connection]
15:58 -!- n___ [~n____@5ad54238.bb.sky.com] has joined #go-nuts
16:00 -!- femtoo [~femto@95-89-249-77-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
16:03 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
16:03 < skelterjohn> morning
16:07 -!- foocraft [~dsc@89.211.71.208] has quit [Remote host closed the
connection]
16:08 < jnwhiteh> morning
16:09 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
16:22 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Quit:
leaving]
16:25 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
16:34 -!- tarrant [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has joined #go-nuts
16:35 < n___> Is wrapping C libraries in Go "encouraged", or is it preferred
to have native versions?
16:35 -!- femtoo [~femto@95-89-249-77-dynip.superkabel.de] has joined #go-nuts
16:35 -!- rlab_ [~Miranda@91.200.158.34] has quit [Ping timeout: 250 seconds]
16:36 < aiju> we'll be happy if you write a native Go version, but a
cat^Wwrapper is fine, too
16:36 -!- tarrant [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has quit [Remote host closed the connection]
16:36 -!- tarrant [~tarrant@216.83.139.130] has joined #go-nuts
16:38 < n___> Just wondering, I've wrapped net-snmp, but writing a
fully-pledged SNMP Lib from scratch is lots of work
16:38 < aiju> there are no concentration camps for people using wrapped
libraries
16:40 -!- tarrant_ [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has joined #go-nuts
16:41 < n___> haha yea i know, just asking to see what was the trend
16:41 < KBme> ☺
16:44 -!- tarrant [~tarrant@216.83.139.130] has quit [Ping timeout: 276 seconds]
16:45 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
16:54 < exch> If it's simple enough, a pure go version is probably
preferable.  But porting something like libvlc or other large and complicated
things is probably not a very viable solution.  best to just wrap the existing lib
up
16:54 < exch> You're free to try though :p
16:55 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
16:55 < n___> too much duplicated work if you do that
16:56 < n___> must be hard for the garbage collector tho :p
16:57 -!- zzing [~zzing@bas9-london14-1279418817.dsl.bell.ca] has joined #go-nuts
16:59 -!- wrtp [~rog@212.183.140.41] has joined #go-nuts
17:09 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 276 seconds]
17:10 -!- foocraft [~dsc@89.211.71.208] has joined #go-nuts
17:30 -!- tensai_cirno [~cirno@77.232.15.216] has joined #go-nuts
17:34 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error:
Operation timed out]
17:35 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
17:37 -!- DerHorst [~Horst@e176099144.adsl.alicedsl.de] has quit [Remote host
closed the connection]
17:40 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
17:44 < n___> How do you handle union types in cgo?
17:45 < exch> the last time I had to deal with one, cgo converted it into a
fixed size byte array.  You havge to use the encoding/binary package, or manual
bit fiddling to extract the appropriate data
17:45 < n___> go it
17:45 < n___> i'll most likely handle it in C, and hand Go the actual value
17:45 < n___> less hacky this way i guess
17:45 < wrtp> n___: that's a better way
17:56 -!- wrtp [~rog@212.183.140.41] has quit [Quit: wrtp]
17:58 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
17:58 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
18:00 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
18:01 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
18:07 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 250 seconds]
18:10 -!- fenicks [~fenicks@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
18:11 -!- foocraft [~dsc@89.211.71.208] has quit [Remote host closed the
connection]
18:26 -!- nettok [~quassel@200.119.185.223] has joined #go-nuts
18:27 -!- tarrant_ [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has quit [Quit: Leaving...]
18:44 -!- dario [~dario@domina.zerties.org] has joined #go-nuts
18:44 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-164-77.clienti.tiscali.it]
has quit [Quit: E se abbasso questa leva che succ...]
18:45 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
18:48 -!- femtoo [~femto@95-89-249-77-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
18:57 -!- illya77 [~illya77@38-211-133-95.pool.ukrtel.net] has joined #go-nuts
19:03 -!- fenicks [~fenicks@log77-3-82-243-254-112.fbx.proxad.net] has quit [Ping
timeout: 240 seconds]
19:10 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
19:15 -!- zzing [~zzing@bas9-london14-1279418817.dsl.bell.ca] has quit [Remote
host closed the connection]
19:16 -!- foocraft [~dsc@89.211.71.208] has joined #go-nuts
19:23 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
19:24 -!- TheMue [~TheMue@p5DDF700D.dip.t-dialin.net] has joined #go-nuts
19:36 -!- gr0gmint [~quassel@87.61.162.99] has joined #go-nuts
19:50 -!- ymasory_ [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
19:55 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
19:57 -!- dju_ [~dju@fsf/member/dju] has joined #go-nuts
20:01 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 276 seconds]
20:01 -!- _2Fclient_ [~chris@74.126.25.148.static.a2webhosting.com] has joined
#go-nuts
20:04 -!- visof [~visof@unaffiliated/visof] has quit [Read error: Connection timed
out]
20:04 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
20:05 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Remote host
closed the connection]
20:21 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
20:26 -!- _2Fclient_ [~chris@74.126.25.148.static.a2webhosting.com] has quit [Read
error: Connection reset by peer]
20:28 -!- illya77 [~illya77@38-211-133-95.pool.ukrtel.net] has quit [Quit:
illya77]
20:30 -!- gr0gmint [~quassel@87.61.162.99] has quit [Read error: Connection reset
by peer]
20:30 -!- gr0gmint [~quassel@87.61.162.99] has joined #go-nuts
20:32 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
20:32 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
20:34 -!- boscop [~boscop@g227002235.adsl.alicedsl.de] has quit [Quit:
OutOfTimeException: Allocation of TimeFrame failed due to lack of time.
Terminating...]
20:35 -!- boscop [~boscop@g227002235.adsl.alicedsl.de] has joined #go-nuts
20:42 -!- emet [~kvirc@unaffiliated/emet] has joined #go-nuts
20:54 < kimelto> argh!  I hate it when I need threads in C but I know that
my pool of threads will be starving most of the time.
20:55 < kimelto> yeah, I know...  but I really need to do it in C.
20:56 < Urmel|> yup that answers what I was gonna say
21:03 -!- bzzzz [~bzzzz@defrag.tk] has left #go-nuts []
21:04 -!- Scorchin [~Scorchin@host86-160-234-227.range86-160.btcentralplus.com]
has quit [Quit: Scorchin]
21:13 -!- zzing [~zzing@CPE0024369fd268-CM0012254195d6.cpe.net.cable.rogers.com]
has joined #go-nuts
21:19 -!- niemeyer [~niemeyer@189-10-154-99.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
21:22 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
21:27 -!- niemeyer [~niemeyer@189-10-154-99.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
21:33 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds]
21:34 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
21:36 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
21:40 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Remote host
closed the connection]
21:44 -!- gits [~gits@77.94.219.158] has joined #go-nuts
21:44 -!- ExtraSpice [XtraSpice@78-62-101-194.static.zebra.lt] has quit [Read
error: Connection reset by peer]
21:47 -!- Eko [~eko@c-24-5-127-87.hsd1.ca.comcast.net] has quit [Quit: This
computer has gone to sleep]
21:51 -!- spreadsheet [~spreadshe@unaffiliated/spreadsheet] has joined #go-nuts
21:51 < spreadsheet> Hi
21:51 < fzzbt> hi there
21:52 < spreadsheet> I understand that go is trying to replace system
languages such as C++ right?
21:52 < aiju> yeah
21:52 < aiju> whatever a "system language" is supposed to be *cough*
21:52 < spreadsheet> What about C?
21:52 < aiju> to some extent
21:52 < spreadsheet> Does it aim to replace C entirely or in some fields?
21:52 < aiju> in most fields
21:52 < fzzbt> C is too good to be replaced.
21:52 < spreadsheet> Because I think that pointer arithmetic would be
necessary to make on OS, no?
21:53 < aiju> spreadsheet: Go is not 100% suitable for writing a kernel
21:53 < aiju> spreadsheet: but large parts of a kernel could be written in
it
21:53 < spreadsheet> I think that C is eternal
21:53 < spreadsheet> :P
21:53 < aiju> also, there *is* pointer arithmetic
21:53 < exch> afaik, the Go guys have a somewhat different definition of
'systems programming'
21:53 < exch> they refer to servers, databases, etc
21:53 < aiju> everyone has a somewhat different definition of "systems
programming"
21:54 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts
21:54 -!- meanburrito920 [~john@192.5.109.49] has quit [Changing host]
21:54 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
21:55 < aiju> spreadsheet: i did some OS developing in Go, the main problems
are (1) classical low-level / high performance operations (which anyone does in
assembly)
21:55 < skelterjohn> i'm not sure how the lack of pointer arithmetic
precludes anything
21:55 -!- Fish- [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So
Long, and Thanks for All the Fish]
21:55 < aiju> (2) memory allocations in "harmless" operations like slicing
21:56 < aiju> Go is rather unsuitable for interrupt handlers, but stuff like
the IDE driver could easily be written in Go
21:57 -!- niemeyer [~niemeyer@189-10-154-99.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
21:58 < skelterjohn> aiju: regarding (2), what allocation happens?
21:58 < aiju> allocation of memory?
21:59 < skelterjohn> i mean, in C when you say array2 = array1+20
21:59 < skelterjohn> you still have to allocate array2 (presumably on the
stack)
21:59 < skelterjohn> is the slice data structure not the same?
22:00 < aiju> it might be related to Go being reluctant to take addresses of
stack data
22:00 < aiju> i didn't investigate it further
22:00 < skelterjohn> so, a slice got sent to the heap
22:01 < skelterjohn> different issue than slicing
22:01 < aiju> skelterjohn: w/e
22:01 < skelterjohn> uh, not trying to be contrary
22:02 < skelterjohn> but the heap issue goes to another main issue - can you
have an efficient OS whose data structures are garbage collected?
22:02 < aiju> sorry, i fought with hardware today
22:03 < aiju> skelterjohn: that's another question
22:04 -!- photron [~photron@port-92-201-36-58.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
22:04 < skelterjohn> i wonder if go will eventually allow by-hand memory
management
22:05 < |Craig|> it does, store your data by value in an array, and keep
track of whats in use
22:05 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-182-95.clienti.tiscali.it] has
joined #go-nuts
22:05 < skelterjohn> yes, sounds like a good idea to base an OS on
22:06 < aiju> hahaha
22:06 < |Craig|> slices work that way with append
22:06 < aiju> how does append work?
22:07 < skelterjohn> he's referring to the larger array that often backs a
slice
22:07 < skelterjohn> append just fills it in, if that data exists
22:07 < |Craig|> when the slice isn't full, it represents the part of the
array that is considered in use, its explicit memory magement
22:07 < aiju> yeah, i know
22:08 < |Craig|> append makes a copy of the array, but longer when it gets
full, but thats irrelevent to my point
22:08 < aiju> x = append(a, b) ; y = append(a, c)
22:08 < aiju> i wonder what that would do
22:08 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:ad5a:b7b8:dded:581f] has quit
[Quit: Leaving.]
22:08 < |Craig|> aiju: it depends on if a overflowed or now
22:08 < |Craig|> *not
22:09 < aiju> i'd imagine either x or y to be invalid
22:09 < |Craig|> if it does, x and y end up backed by diffferent arrays with
copies of a's origional data
22:10 < |Craig|> both are valid, but may not be whats expected
22:10 < aiju> that's what i mean
22:10 < aiju> foo = append(bar, ...) seems worth avoiding
22:10 < skelterjohn> i stick to bar = append(bar,...)
22:11 < |Craig|> of worse, bar := append(bar,...) // shadow append!
22:12 < |Craig|> I think using append to make a variable shadowing the
original slice might be one of the worst things you can subtly do in go without
using any concurrency.
22:12 < skelterjohn> still don't know why you're allowed to shadow
22:13 < |Craig|> its useful if you have lots of nested closures and such.
You can much such code around without it breaking if you allow shadowing.  I'm not
sure if its worth the price though
22:14 < aiju> it's most annoying with multiple variables
22:15 < aiju> i usually end up declaring them all manually
22:25 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 272 seconds]
22:27 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Ping
timeout: 250 seconds]
22:29 -!- TheMue [~TheMue@p5DDF700D.dip.t-dialin.net] has quit [Quit: TheMue]
22:36 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Ping
timeout: 260 seconds]
22:38 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
22:38 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
22:40 < n___> hm, regarding on the OS discussion earlier, it strange to see
what people believe is needed for writing an OS
22:40 < n___> microsoft guys have done it in C#
22:41 < n___> garbage collected, entirely safe, single-address space (share
by communicating, similar to Go)
22:41 < aiju> n___: hahaha
22:41 < aiju> well, what does that run on?
22:41 < aiju> a magical .NET machine?
22:41 < n___> nope
22:41 < n___> bare hardware
22:41 < aiju> yeah
22:41 < aiju> x86 can't execute CLI code directly
22:41 < n___> they made a special compiler
22:41 < n___> http://research.microsoft.com/en-us/projects/singularity/
22:41 < aiju> oic
22:42 < emet> hey so Go has built in channels?
22:42 < aiju> emet: haha yes
22:42 < emet> I need to play around with go lol
22:43 < n___> once you abstract the really low-level stuff, i see no reason
why not write an OS in Go
22:43 < emet> it seems very suitable for server applications
22:43 < emet> am I off on this?
22:43 < Namegduf> Nope.
22:43 < Namegduf> Go is good for lots of things, but it especially pretty fr
servers
22:43 < Namegduf> *for
22:44 < emet> does it's channel implementation have publish-subscribe
pattern built in?
22:44 < emet> like I send this data down a channel, can it hit multiple
subscribers?
22:45 < jnwhiteh> no
22:45 < jnwhiteh> but you can implement that
22:45 < emet> so it's just a queue?
22:45 < n___> the concept is similar to a queue
22:45 < emet> jnwhiteh: that's what I am considering implementing then :)
22:45 < n___> but its more powerful; its build-in the language
22:46 < jnwhiteh> emet: that's easy enough to go, because channels are
simple =)
22:46 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
22:46 < jnwhiteh> and indeed powerful
22:47 < n___> there are some pretty nifty tricks with channels
22:47 < emet> yeah there is a pretty good book on the topic I am reading
22:47 < aiju> it's not just a queue
22:47 < aiju> it can also be synchronized
22:47 < emet> http://www.enterpriseintegrationpatterns.com/
22:47 < aiju> haha
22:47 < emet> it talks a lot about different patterns involving channels
22:47 < jnwhiteh> much, much more than a queue.  It's actually not a queue
by default..  that only happens when its buffered
22:48 < emet> cool
22:48 < jnwhiteh> so its a queue of n-1 slots where reads and writes are
synchronous when the queue is full =)
22:49 < jnwhiteh> for what you want, the fact that channels are also
capabilities can be exploited..  you could have a method that 'registers' a new
subscriber to a provider and it can give you a channel that you can then use to
receive the results.
22:50 < emet> yeah
22:50 < emet> kind of listens on a channel and multiplexes it
22:50 < jnwhiteh> aye, lots of fun designs you can come up with, depending
on what you need/want
22:50 < aiju> you can even generate random numbers with channels!
22:51 < jnwhiteh> you can guarantee lots of things in a concurrent world
when you use channels =)
22:55 < n___> with cgo, you have to manually free everything you convert
into C.CString()?
22:56 < n___> or that is taken care of?
23:02 -!- rup [~rupert@deathknight.net] has quit [Ping timeout: 240 seconds]
23:07 < exch> n___: you have to free it manually
23:07 -!- gr0gmint [~quassel@87.61.162.99] has quit [Remote host closed the
connection]
23:07 < n___> agr
23:07 < n___> PIA
23:07 < aiju> pia?
23:08 < n___> Pain In Ass :p
23:08 < plexdev> http://is.gd/Otf4Rz by [Rob Pike] in go/doc/ -- spec:
delete incorrect obsolete mention of selector working on
23:11 -!- rup [~rupert@deathknight.net] has joined #go-nuts
23:15 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
23:19 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Remote
host closed the connection]
23:21 -!- tarrant [~tarrant@69.169.141.202.provo.static.broadweavenetworks.net]
has joined #go-nuts
23:24 < n___> C.GoStrings() are fine tho, right?
23:27 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has
joined #go-nuts
23:29 -!- zozoR [~Morten@56346ed3.rev.stofanet.dk] has quit [Remote host closed
the connection]
23:30 < exch> go strings are subject to the GC. The C string you created it
from is still in C space though.  Depending on where you got it from, it may still
require cleaning manually unless thw C code does that for you
23:36 < Namegduf> C stuff needs managing manually C
23:36 < Namegduf> *C's side, GO's stuff is GCed.
23:37 < n___> well i assume anything i hand to the lib's function is handled
by that
23:43 < n___> How do i get a package listed @ packages section in the
website?
23:45 < aiju> you mean golang.org/pkg?
23:45 < aiju> those are part of the distribution
23:45 < n___> no
23:45 < n___> http://godashboard.appspot.com/package
23:45 < n___> here
23:46 < aiju> i think you use goinstall or similar
23:46 < n___> just goinstall the lib, and then it magically appears there?
23:46 < aiju> idk
23:47 < exch> goinstall auto-submits it to the dashboard
23:47 < aiju> oh so it's the other way around :P
23:49 < aiju> http://golang.org/cmd/goinstall/
23:49 < n___> ah right
23:49 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 260 seconds]
23:50 < aiju> you just specify the repository on the command line, if i get
it right
23:51 < n___> gonna put online the snmp library (wrapper of net-snmp)
23:52 < aiju> btw is the S in SNMP ironic?
23:52 < n___> HAHA
23:52 < n___> Indeed it is
23:53 < n___> the concept is simple, you ask for an index's value, and you
get the response
23:53 < n___> but because the protocol is so simple, it very complicated if
you want to build something more complex on top of that
23:54 < aiju> there are over 9000 RFCs about it
23:54 < Xenith> Hah.  I didn't know goinstall automatically added the pkg to
the dashboard.
23:55 < Xenith> There's my forked personal copy of golua.  Heh.
23:55 < aiju> Xenith: software which doesn't submit possibly personal data
to some central server violates the Google software design guidelines
23:55 < n___> its stupid sometimes, but it is definately useful if you're
writing network code
23:55 < Xenith> :)
23:56 < exch> i'm quite suprised nobody has yet abused the dashboard
submissions.  It's a simple, unencrypted/unauthenticated POST request
23:56 < aiju> hahaha
23:56 < mpl> exch: as in, spam?
23:56 < exch> yea
23:56 < mpl> or defacing.
23:56 < mpl> k
23:57 < exch> or massively upvoting scores for a package
23:57 < exch> or indeed submitting bogus package names
23:57 * mpl starts writing a package named goviagra
23:58 < exch> :P
23:58 < exch> it's asking for one really
23:58 < Xenith> Speaking of packages, has anyone used golua or
gomongo/go-mongo?
23:58 < aiju> go_FREE_VIAGRA_AT_VIAGRA_COM____GO_FOR_IT
--- Log closed Sun Feb 20 00:00:29 2011