--- Log opened Tue Jul 26 00:00:01 2011
00:03 -!- gm1 [~gm@ec2-50-19-94-241.compute-1.amazonaws.com] has quit [Quit:
WeeChat 0.3.5]
00:09 -!- fabian__ [~fabian@koln-4d0b2559.pool.mediaWays.net] has quit [Quit:
Verlassend]
00:28 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
00:43 -!- tvw [~tv@e176002134.adsl.alicedsl.de] has quit [Ping timeout: 255
seconds]
00:52 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:07 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 264 seconds]
01:11 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.]
01:15 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:16 -!- ccc12 [~Adium@140.109.98.187] has joined #go-nuts
01:16 -!- ccc1 [~Adium@140.109.98.187] has quit [Read error: Connection reset by
peer]
01:20 -!- _macro [~Neil@accessnat4.mochimedia.net] has quit [Ping timeout: 258
seconds]
01:23 -!- ccc12 [~Adium@140.109.98.187] has quit [Quit: Leaving.]
01:40 < yebyen> does anyone use gozk?
01:40 < yebyen> i'm having trouble compiling it on ubuntu lucid, wonder if
it depends on newer stuff...
01:40 < yebyen> using hg -u release
01:41 < yebyen> zk is zookeeper, a distributed system for configuration,
shared memory, and even locks...
01:42 < yebyen> i've been using memcached, but at least the php version
seems kind of flaky for things like locks...  I would be scared to try using it
for locks and actually distributed across a couple of really separate daemons
01:42 < yebyen> but zookeeper actually says, "yes, by all means, use this
for locks"
01:42 < yebyen> and it has go support as well as php
01:44 < yebyen> it might be a cgo question,
01:45 < yebyen> calloc malloc and free undeclared
01:45 < yebyen> along with zoo_wget_children2 undeclared, that one sounds a
little less standard...
01:47 -!- ccc1 [~Adium@140.109.98.230] has joined #go-nuts
01:51 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has joined #go-nuts
01:52 < yebyen> niemeyer: you seem to have something to do with gozk...  is
there a better place to go for these questions?
01:54 < niemeyer> yebyen: Hey there
01:54 < niemeyer> yebyen: I do, hmm
01:54 -!- danilo04
[~danilo04@province-wireless-173-84-26-168.dr02.roch.ny.frontiernet.net] has
joined #go-nuts
01:55 < niemeyer> yebyen: #ubuntu-ensemble, maybe
01:55 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has quit [Remote
host closed the connection]
02:01 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
02:01 -!- ccc1 [~Adium@140.109.98.230] has quit [Ping timeout: 246 seconds]
02:06 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
02:12 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has quit [Quit:
Leaving...]
02:16 -!- go^lang [~newblue@59.35.240.75] has joined #go-nuts
02:17 < niemeyer> yebyen: What are the issues you're finding?
02:18 < go^lang> how to do in golang link var xxx [][]string
02:19 < yebyen> niemeyer: i'll wgetpaste...  assuming i can recall the
debian incantation for that...
02:19 < niemeyer> yebyen: Cool
02:20 < exch> go^lang: What do you mean?
02:20 < niemeyer> yebyen: Thanks
02:21 < yebyen> niemeyer: it doesn't compile, is mainly the issue...
02:21 < niemeyer> yebyen: What version you're using, and what's the error
you're finding
02:21 < yebyen> http://pastebin.com/bMPAUMWu
02:21 < go^lang> exch, define a var array of []string
02:21 < yebyen> i'm using the ubuntu lucid packaged version, which is not
the stable version...  3.2.2
02:21 < yebyen> i downloaded the source code
02:22 < yebyen> and installed libzookeeper-dev
02:22 -!- keithcascio [~keithcasc@nat/google/x-cgqzzeyrmakttpos] has quit [Quit:
Leaving]
02:22 < yebyen> i could try against 3.3.3 and uninstall the packages
02:23 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
02:23 < exch> go^lang: var a []string; will work..  If you need it to have a
size/capacity, use: a := make([]string, x, y); here x and y are length and
capacity you require
02:23 < exch> the capacity (y) is optional
02:24 < niemeyer> yebyen: Can you please run this:
02:24 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
02:24 < niemeyer> yebyen: find /usr/include -name zookeeper.h
02:24 < nicka> I think he's looking for a slice containing slices
02:25 < yebyen> /usr/include/c-client-src/zookeeper.h
02:25 < exch> In that case, a := make([][]string, x); for i := range a {
a[i] = make([]string, y) }
02:26 < niemeyer> yebyen: That may be it..
02:27 < yebyen> getting rid of the 3.2.2 and installing the 3.3.3 source
into ZKROOT seems to have cured it, until i need the -lzookeeper_mt
02:27 < niemeyer> yebyen: Try compiling the source
02:27 < niemeyer> yebyen: It should find it
02:27 < yebyen> just the c source...
02:28 < yebyen> don't worry about ivy garbage?
02:28 < yebyen> or get the java deps and compile everything
02:28 < niemeyer> yebyen: I haven't been testing gozk much with the
installed package, so that's my fault and I apologize for it
02:28 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Client
Quit]
02:28 < niemeyer> yebyen: Yeah, just the C source
02:28 < yebyen> it's ok, my next step that I'm already halfway ready to try
would have been with oneiric
02:28 < yebyen> which has the latest version of the package
02:29 < niemeyer> yebyen: The package won't work, because I've been testing
it without it
02:29 < yebyen> there's also the possibility that they've gotten closer to
upstream since packaging 3.2.2
02:29 < yebyen> ...
02:30 < niemeyer> yebyen: Let's do this..  let me spend some time on it
tomorrow and I'll ping you back
02:30 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
02:30 < yebyen> ok, for now, it compiles, which is as far as I'm ready to
test anyway
02:30 < niemeyer> yebyen: My day is ending here and it's been somewhat
intense
02:30 < niemeyer> yebyen: But I'll be happy to fix whatever problem is
bothering you
02:31 < niemeyer> yebyen: What's your email?
02:31 < yebyen> kingdon@tuesdaystudios.com
02:32 < skelterjohn> i find git so frustrating sometimes
02:32 -!- go^lang [~newblue@59.35.240.75] has quit [Ping timeout: 255 seconds]
02:32 < niemeyer> yebyen: Cool, I'll do some work on making sure that it
works with the Natty packages tomorrow, and will ping you back
02:32 < yebyen> awesome
02:33 < yebyen> score
02:33 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 255
seconds]
02:33 < niemeyer> yebyen: Sorry for the trouble
02:33 < yebyen> it's no trouble, like I said, I've spent days fighting with
memcached
02:33 < yebyen> it works for my application now, but it seems like I'm
teetering memcached on the brink of what it's meant to do
02:33 < niemeyer> yebyen: Yeah, locking/leader ellection/etc is really a job
for ZK
02:36 < yebyen> here's hoping that zookeeper works with icedtea
02:36 < yebyen> lucid is pretty old
02:40 < yebyen> 34 tests passed
02:41 < yebyen> ^_^
02:42 -!- twoboxen [~twoboxen@24-207-248-228.dhcp.stls.mo.charter.com] has joined
#go-nuts
02:43 < twoboxen> Are there any decent cheat sheets made up?  I am starting
slowly learning the lang going back and forth between code and browsing golang?
02:43 < twoboxen> Also, I have a question on how best to structure a new
program:
02:44 < yebyen> skelterjohn: how do I alert gb to an include path for cgo?
02:44 < yebyen> INCLUDEPATH?
02:44 < twoboxen> I am building a web server which has several plugins for
different types of controls.  Each plugin would be a discrete input or output on
an arduino.  I would like these plugins to be loaded dynamically by config.
Should I put all this in the same package?
02:44 < skelterjohn> um
02:45 < skelterjohn> gb just picks up on whatever is available via
http://golang.org/cmd/cgo
02:45 < yebyen> or just use the provided makefile
02:45 < skelterjohn> so if you have a comment
02:45 < skelterjohn> like //#cgo CFLAGS: -Isomething
02:45 < skelterjohn> that should do it
02:46 -!- go^lang [~newblue@119.121.242.3] has joined #go-nuts
02:46 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts
02:47 < yebyen> well that did something of progress
02:48 < yebyen> still getting undefined references, I should be able to
resolve them with -L though...
02:48 < yebyen> or -l
02:48 < skelterjohn> same thing except LDFLAGS instead of CFLAGS
02:48 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has quit [Quit: leaving]
02:48 < skelterjohn> i don't like how l and I look the same in my irc
client's font
02:49 < yebyen> builds...
02:49 < yebyen> cool
02:49 < skelterjohn> :)
02:50 < skelterjohn> when in doubt with gb and cgo, do "gb -M" to generate
the makefile.  if the makefile it generates works and gb doesn't, something is
wrong
02:50 < yebyen> this project already had a makefile that works
02:50 < skelterjohn> but if it generates a makefile that isn't what you
expect, it should help you figure out what you aren't doing
02:50 < yebyen> so i just had to put the flags in for cgo, i've never worked
with cgo
02:50 < yebyen> next I have to make php work...
02:50 -!- Vovchik [~ThreeSix@87.68.69.57.cable.012.net.il] has quit [Ping timeout:
252 seconds]
02:51 < skelterjohn> i don't believe gb will help you there...
02:51 < yebyen> yeah, seems that pecl won't help either...
02:51 < yebyen> heh
02:53 < yebyen> never mind, install -f
02:53 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-bkufydsoqkqgjiua] has quit [Read
error: Connection reset by peer]
02:53 < niemeyer> yebyen: Sweet
02:53 < niemeyer> yebyen: (on the passed tests)
02:53 < yebyen> yeah, from the looks of everything, it works as long as you
don't try the packages
02:54 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-czmbgelntdjvphka] has joined
#go-nuts
02:54 < yebyen> even without sun java
02:55 < yebyen> if i can get it to do at least as much as my memcached
jobber does with locking, i'm in business
03:07 -!- benjack [~benjack@bb119-74-109-65.singnet.com.sg] has joined #go-nuts
03:07 -!- aslakr [~aslak@static.42.114.40.188.clients.your-server.de] has quit
[Ping timeout: 258 seconds]
03:09 -!- niemeyer [~niemeyer@201-40-138-108.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
03:14 -!- aslakr [~aslak@static.42.114.40.188.clients.your-server.de] has joined
#go-nuts
03:22 -!- danilo04
[~danilo04@province-wireless-173-84-26-168.dr02.roch.ny.frontiernet.net] has quit
[Quit: Leaving]
03:30 < uriel> argh, more spam in go-dev, this is ridiculous
03:34 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 252 seconds]
03:36 -!- go^lang [~newblue@119.121.242.3] has quit [Quit: 暂离]
03:38 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit:
Computer has gone to sleep.]
03:39 < yebyen> this zookeeper stuff is great
03:39 < yebyen> sequence numbers...  what a simple solution to an otherwise
complicated problem
03:42 -!- twoboxen [~twoboxen@24-207-248-228.dhcp.stls.mo.charter.com] has quit
[Quit: twoboxen]
03:57 -!- franksalim [~frank@64-71-23-250.static.wiline.com] has joined #go-nuts
03:58 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
04:10 -!- zeroXten [~zeroXten@0x10.co.uk] has quit [Ping timeout: 260 seconds]
04:12 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:13 -!- qeed [~qeed@adsl-98-85-34-254.mco.bellsouth.net] has quit [Quit:
Leaving]
04:16 < franksalim> Has there been any discussion of multi-value channels?
I'm looking through the mailing list and not finding any definitive threads
04:17 < jessta> franksalim: multi-vaue channels?
04:19 < franksalim> a channel equivalent to parameter and result lists for
functions.  Go doesn't currently allow that, but it seems like such a thing would
have been proposed and discussed
04:21 < jessta> franksalim: you mean a channel that sends structs?
04:21 < franksalim> jessta, without defining the struct, yes
04:21 < franksalim> the way you don't have to define the list of type a
function takes or returns
04:21 < franksalim> *list of types
04:21 < vsmatck> The idea is nice.  I wonder if there are issues with
syntax.
04:22 < jessta> you can just make(chan struct{int,string})
04:22 * vsmatck tries
04:23 < jessta> and then <-struct{int,string}{8,"pizza"}
04:24 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
04:26 < vsmatck> Doesn't work for me.  http://pastie.org/2272152
04:26 < franksalim> so the syntax hasn't been proposed, or it has and that
is the preferred alternative?
04:31 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
04:33 < jessta> vsmatck: oops, that comma should be a semicolon
04:34 < jessta> a := make(chan struct{int;string})
04:35 < vsmatck> Neat!  I didn't know this could be done.
04:36 < jessta> vsmatck: interfaces are the same
04:36 < jessta> eg.  interface{}
04:37 < jessta> func a (b interface{Read([]byte)(int,os.Error)})
04:41 -!- rseymour [~nutate@cpe-76-169-16-230.socal.res.rr.com] has joined
#go-nuts
04:47 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
04:49 < franksalim> jessta, thank you for responding.  Just to clarify,
that's not exactly what I was asking about.  Those types are anonymous but still
explicit (unlike a result list).  It's good to know that is an idiom that people
might be using
04:53 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
04:55 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Disconnected by services]
04:55 -!- nutate_ [~rseymour@cacsag4.usc.edu] has joined #go-nuts
05:05 -!- meling_ [~meling@99-10-121-218.lightspeed.sndgca.sbcglobal.net] has
joined #go-nuts
05:06 -!- Bigbear1 [~Cody@d173-181-38-142.abhsia.telus.net] has joined #go-nuts
05:07 -!- meling [~meling@99-10-121-218.lightspeed.sndgca.sbcglobal.net] has quit
[Ping timeout: 260 seconds]
05:15 -!- vmil86 [~vmil86@78.57.227.12] has joined #go-nuts
05:17 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
05:36 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
05:36 -!- kevlar [~kevlar@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net]
has joined #go-nuts
05:36 -!- kevlar [~kevlar@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net]
has quit [Changing host]
05:36 -!- kevlar [~kevlar@unaffiliated/eko] has joined #go-nuts
05:40 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
05:44 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
05:49 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts
05:57 -!- zanget [~zanget@hurf.durf.me] has quit [Ping timeout: 250 seconds]
06:00 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
06:04 -!- Bigbear1 [~Cody@d173-181-38-142.abhsia.telus.net] has quit [Read error:
Connection reset by peer]
06:05 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
06:22 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-czmbgelntdjvphka] has quit [Read
error: Connection reset by peer]
06:22 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-nuzkdpgptsfzlvsy] has joined
#go-nuts
06:24 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
06:29 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
06:29 -!- noodles775 [~michael@e178254182.adsl.alicedsl.de] has quit [Quit:
leaving]
06:30 -!- noodles775 [~michael@e178254182.adsl.alicedsl.de] has joined #go-nuts
06:30 -!- noodles775 [~michael@e178254182.adsl.alicedsl.de] has quit [Changing
host]
06:30 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
06:33 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
06:33 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
06:37 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
06:38 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
06:39 -!- pothos [~pothos@111-240-164-228.dynamic.hinet.net] has quit [Read error:
Connection reset by peer]
06:39 -!- pothos_ [~pothos@111-240-164-228.dynamic.hinet.net] has joined #go-nuts
06:46 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
06:49 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
06:50 -!- vsayer [~vsayer@c-67-170-236-166.hsd1.ca.comcast.net] has joined
#go-nuts
06:54 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 260 seconds]
06:55 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
06:57 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts
06:59 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-153-45.clienti.tiscali.it] has
joined #go-nuts
06:59 -!- tsung [~jon@112.104.53.151] has quit [Ping timeout: 260 seconds]
07:03 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
07:06 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 260 seconds]
07:08 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
07:11 -!- yogib [~yogib@131.234.59.64] has quit [Quit: yogib]
07:19 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts
07:21 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
07:27 -!- foxen [~foxen@212.12.18.237] has left #go-nuts []
07:28 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-nuzkdpgptsfzlvsy] has quit [Read
error: Connection reset by peer]
07:28 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-vfecvmtofknhqkoz] has joined
#go-nuts
07:30 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:30 -!- tsung [~jon@112.104.53.151] has joined #go-nuts
07:34 -!- tav [~tav@host-92-20-103-198.as13285.net] has quit [Quit: tav]
07:35 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 240
seconds]
07:39 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
07:42 -!- tav [~tav@host-92-20-103-198.as13285.net] has joined #go-nuts
07:51 -!- Fish [~Fish@exo3753.pck.nerim.net] has quit [Quit: WeeChat 0.3.5]
07:51 -!- arun [~arun@unaffiliated/sindian] has quit [Read error: Connection reset
by peer]
08:05 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts
08:08 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts
08:10 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 240 seconds]
08:11 -!- ceh [ceh@Tricholoma.Update.UU.SE] has joined #go-nuts
08:13 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
08:17 -!- Fish [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
08:22 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Read error: Operation timed out]
08:24 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
08:33 -!- ronnyy [~quassel@p4FF1C473.dip0.t-ipconnect.de] has joined #go-nuts
08:37 -!- arun [~arun@2001:610:110:4e2:280:5aff:fe69:e130] has joined #go-nuts
08:37 -!- arun [~arun@2001:610:110:4e2:280:5aff:fe69:e130] has quit [Changing
host]
08:37 -!- arun [~arun@unaffiliated/sindian] has joined #go-nuts
08:48 -!- photron [~photron@port-92-201-24-123.dynamic.qsc.de] has joined #go-nuts
09:03 -!- zeroXten [~zeroXten@0x10.co.uk] has joined #go-nuts
09:04 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
09:16 -!- iXeno [~ixeno@77.241.96.35] has quit [Remote host closed the connection]
09:17 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Ping timeout:
252 seconds]
09:24 -!- ronnyy [~quassel@p4FF1C473.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
09:33 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
09:45 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
09:47 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.]
09:50 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-153-45.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
09:53 -!- Project_2501 [~Marvin@82.84.69.156] has joined #go-nuts
09:59 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
09:59 -!- Phelps [~benphelps@74.195.96.118] has joined #go-nuts
10:00 -!- Phelps [~benphelps@74.195.96.118] has left #go-nuts []
10:01 -!- Peaker [~peakaboo@2.54.92.248] has joined #go-nuts
10:02 -!- Peaker [~peakaboo@2.54.92.248] has quit [Read error: Connection reset by
peer]
10:04 -!- Peaker_ [~peakaboo@2.54.92.248] has joined #go-nuts
10:04 -!- Peaker_ [~peakaboo@2.54.92.248] has quit [Read error: Connection reset
by peer]
10:04 -!- Peaker_ [~peakaboo@2.54.92.248] has joined #go-nuts
10:20 -!- virtualsue [~chatzilla@nat/cisco/x-zypuuzbupyxgfsbi] has joined #go-nuts
10:25 -!- rseymour [~nutate@cpe-76-169-16-230.socal.res.rr.com] has joined
#go-nuts
10:28 -!- nutate [~nutate@cpe-76-169-16-230.socal.res.rr.com] has quit [Ping
timeout: 250 seconds]
10:30 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has joined
#go-nuts
10:36 -!- Peaker_ [~peakaboo@2.54.92.248] has quit [Ping timeout: 258 seconds]
10:39 < jessta> franksalim: you can't do the same thing as you do with
functions with channels, because both sides of the channel have to agree on the
types being sent
10:47 -!- n____ [~alouca@2a02:540:0:1000:5550:e2b5:4f6a:7ba1] has joined #go-nuts
10:47 < n____> hi, i am trying to use gopprof, using the example from the
recent blog post, however the CPU profile returns no entries
10:48 < n____> are there any special considerations for using pprof?
10:48 -!- hargettp [~hargettp@pool-71-184-190-236.bstnma.east.verizon.net] has
joined #go-nuts
10:51 < n____> Hm, might this be related to Mac OS X?
10:57 < jnwhiteh> you have to run sudo.bash
10:57 < jnwhiteh> or they won't work on mac
10:57 < jnwhiteh> it tells you this when you install =)
11:11 -!- Peaker_ [~peakaboo@195.110.40.7] has joined #go-nuts
11:13 -!- hargettp [~hargettp@pool-71-184-190-236.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
11:13 -!- hargettp [~hargettp@pool-71-184-190-236.bstnma.east.verizon.net] has
joined #go-nuts
11:16 < str1ngs> iant: for a system wide binutils gold linker is
--enable-gold enough or do I need to do more then that?
11:17 -!- wrtp_ [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts
11:18 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Read error:
Connection reset by peer]
11:23 < n____> No, the gopprof utility runs, the issue is that when i write
"top10" the list is always empty
11:24 < str1ngs> n____: do you have pprof installed?  iirc you still need
taht
11:24 < str1ngs> that*
11:25 < str1ngs> jnwhiteh: also did you do what jnwhiteh suggested?
11:25 < n____> isn't that for C++?
11:26 -!- virtualsue [~chatzilla@nat/cisco/x-zypuuzbupyxgfsbi] has quit [Ping
timeout: 264 seconds]
11:31 < str1ngs> seems that way after reading the blog
11:32 -!- hargettp [~hargettp@pool-71-184-190-236.bstnma.east.verizon.net] has
quit [Quit: Linkinus - http://linkinus.com]
11:32 < str1ngs> does the .prof file contain data?
11:32 < jnwhiteh> n____: I didn't ask whether or not it ran.  I asked if you
ran sudo.bash.  Please answer the question.
11:33 < n____> I did run sudo.bash!
11:33 < jnwhiteh> thanks, that's all you needed to say.
11:33 < hokapoka> Is it me or has the groups UI changed recently?  The only
post on the official blog was back from 2006.
11:33 < n____> thats my problem: http://pastie.org/2273534
11:40 < n____> Any ideas?
11:41 -!- Project-2501 [~Marvin@82.84.82.98] has joined #go-nuts
11:44 -!- Project_2501 [~Marvin@82.84.69.156] has quit [Ping timeout: 250 seconds]
11:49 -!- photron [~photron@port-92-201-24-123.dynamic.qsc.de] has quit [Read
error: Operation timed out]
11:57 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts
11:58 < skelterjohn> n____: no idea.  post on the group?
12:01 -!- Peaker_ [~peakaboo@195.110.40.7] has quit [Ping timeout: 260 seconds]
12:08 -!- niemeyer [~niemeyer@201.40.139.46] has joined #go-nuts
12:10 -!- n____ [~alouca@2a02:540:0:1000:5550:e2b5:4f6a:7ba1] has quit [Quit:
n____]
12:15 -!- nekoh [~nekoh@dslb-088-068-017-096.pools.arcor-ip.net] has joined
#go-nuts
12:17 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 252 seconds]
12:21 < hokapoka> >If I have an unexported var defined, say var f *foo
and within a func I want to assign to it one of the return value of another func
where the second is an os.Error, using "f, err := bar()" declares a new f type
foo.  I know I can declare "var err; ..." and just use "="
12:21 < hokapoka> s/unexported/unexported global/
12:23 < hokapoka> I was wondering if there was a way to declare err and
assign to the global var?
12:30 < skelterjohn> http://code.google.com/p/go/issues/detail?id=377
12:30 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
12:30 < jessta> hokapoka: nope
12:31 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:35 -!- virtualsue [~chatzilla@nat/cisco/x-iipaecvnogmjdmla] has joined #go-nuts
12:41 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
12:41 -!- Zoope- [~alsbergt@74.125.121.65] has joined #go-nuts
12:42 -!- Zoope- [~alsbergt@74.125.121.65] has quit [Client Quit]
12:46 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 252 seconds]
12:46 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
12:50 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Quit: ZNC -
http://znc.sourceforge.net]
12:51 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts
12:51 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 250 seconds]
12:51 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
12:53 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
12:56 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 246 seconds]
12:56 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
12:57 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-161-14.clienti.tiscali.it]
has joined #go-nuts
13:01 -!- Project-2501 [~Marvin@82.84.82.98] has quit [Ping timeout: 258 seconds]
13:01 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 260 seconds]
13:02 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
13:03 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz]
13:03 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Ping timeout: 246 seconds]
13:05 -!- Stiletto [7f000001@69.195.144.4] has quit [Remote host closed the
connection]
13:06 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
13:09 -!- virtualsue [~chatzilla@nat/cisco/x-iipaecvnogmjdmla] has quit [Ping
timeout: 240 seconds]
13:12 -!- Stiletto [7f000001@69.195.144.4] has quit [Ping timeout: 276 seconds]
13:16 -!- virtualsue [~chatzilla@nat/cisco/x-qjbqyklqrjncnjyq] has joined #go-nuts
13:17 <+iant> str1ngs: --enable-gold is all you need when building the GNU
binutils
13:18 -!- Gauge [~gauge@mcswl183.mcs.anl.gov] has joined #go-nuts
13:18 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has
joined #go-nuts
13:22 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 264 seconds]
13:22 -!- dahankzter [~henke@92-244-3-192.customers.ownit.se] has joined #go-nuts
13:23 -!- virtualsue [~chatzilla@nat/cisco/x-qjbqyklqrjncnjyq] has quit [Quit:
ChatZilla 0.9.87 [Firefox 5.0.1/20110707182747]]
13:24 < dahankzter> i cant seem to get auto complete worling at all in
neither vim or emacs.  formatting and higlighting works fine but autocomplete not
so much.
13:24 < dahankzter> gocode running
13:26 < dahankzter> does anyone use it?
13:29 < hokapoka> dahankzter: when you say autocomplete, what exactally are
you expecting?
13:30 < hokapoka> I've got autocomplete in vim but just the supertab plugin
that autocompletes with stuff that's in the open buffers.
13:33 < skelterjohn|work> gocode is a vim plugin that does autocomplete for
...  go code
13:33 -!- napsy [~luka@193.2.66.6] has joined #go-nuts
13:33 < skelterjohn|work> nsf wrote it, but he no longer maintains it
13:33 < aiju> he wants to hit tab in his empty file
13:33 < aiju> and have his project appear
13:33 < skelterjohn|work> that's what eclipse does
13:33 < dahankzter> yes i had the vim auto complete working through gocode
daemon but it has broken somehow
13:34 < dahankzter> i am using intellij for now but gah i want it back
13:34 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has joined
#go-nuts
13:34 < hokapoka> I was about to ask if it was the thing nsf wrote.
13:34 < skelterjohn|work> i don't have a solution for you, sorry
13:34 < skelterjohn|work> i don't use gocode or vim
13:35 < dahankzter> i could use emacs for sure, do you use that?
13:35 < skelterjohn|work> i use sublime
13:35 < dahankzter> ohh
13:35 < skelterjohn|work> not really plug-in friendly
13:35 < aiju> but it's flashy!
13:35 < skelterjohn|work> but the only thing i'd like really is an outline
13:35 < aiju> outline?
13:35 < skelterjohn|work> list of functions that i can click on
13:35 < skelterjohn|work> to go to them quickly
13:35 < aiju> ah
13:36 < skelterjohn|work> sublime is a little flashy, but the real reason i
like it is because of the file drawer it puts on the left of the window
13:36 < skelterjohn|work> i couldn't find another editor that did that the
way i like it
13:36 < skelterjohn|work> and wasn't immensely bulky and slow (eclipse)
13:36 -!- benjack [~benjack@bb119-74-109-65.singnet.com.sg] has quit [Quit:
Leaving.]
13:37 < dahankzter> pleasantly surprised with intellij so far
13:37 < dahankzter> still bulky too but well
13:37 < skelterjohn|work> if it works for you, stick with it.
13:37 < dahankzter> for now i will, thx
13:38 < skelterjohn|work> i remember someone working on an intellij plugin,
was going to borrow some code from gb (with permission)
13:38 < skelterjohn|work> but i forget who it was
13:38 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts
13:40 -!- iant [~iant@67.218.105.144] has joined #go-nuts
13:40 -!- mode/#go-nuts [+v iant] by ChanServ
13:46 < nicka1> geany can be configured to be a pretty good editor, but no
tag list
13:46 < nicka1> pretty good editor for go*
13:48 < nicka1> but you can give it a tag file, so if there are tools to
generate one for go it could be used
13:48 < skelterjohn|work> lines that begin with "func"
13:48 < skelterjohn|work> pretty easy :)
13:49 < skelterjohn|work> any git experts here?  i'm trying to set up a
release branch properly for gb, but i'm having trouble
13:49 < skelterjohn|work> i have a messed up release branch on github
13:49 < skelterjohn|work> and i've got a good one locally
13:50 < skelterjohn|work> i want to just overwrite the one on github, don't
care about history
13:50 < skelterjohn|work> but it won't let me push without merging
13:50 < Gauge> so just merge and edit the files
13:50 < Gauge> when you pull it will put the diffs in the files
13:50 < skelterjohn|work> so i pull it in, but it messes things up
13:50 < aiju> Gauge == ArgonneIntern?
13:50 < skelterjohn|work> it completely rewrites one file, that kind of
thing
13:50 < Gauge> it will add sections for your code and the code on the repo
13:50 < skelterjohn|work> aiju: I don't think so
13:51 < skelterjohn|work> Gauge: it tries to, but it is wrong...
13:51 < Gauge> and yes I'm ArgonneIntern
13:51 < aiju> hahaha
13:51 < Gauge> we use git here at the lab
13:51 < skelterjohn|work> now, it's likely that i am doing something wrong,
but the <<<< stuff it gives me is garbage
13:52 < Gauge> hmmm
13:52 < skelterjohn|work> i figured i could just always take the "HEAD"
option, but that is insufficient
13:52 < Gauge> normally when it can't auto merge it inserts the stuff it
can't auto into your local files
13:52 < skelterjohn|work> (completely rewrites one file with no conflicts
reported, etc)
13:52 < Gauge> right
13:52 < skelterjohn|work> i just want to completely overwrite the release
branch on github
13:53 < skelterjohn|work> i've tried fixing conflicts after merging twice,
major headache + fail
13:53 < skelterjohn|work> git was written with so little regard for
usability it's almost comical
13:53 < Gauge> you could pull to a different location, remove everything,
push it, then add the files and push again
13:53 < aiju> skelterjohn|work: all version control systems are like that
13:53 < skelterjohn|work> "pull to a different location"?
13:53 < skelterjohn|work> what does that even mean?
13:54 < Gauge> I'm pretty sure you can have the repository on multiple
locations locally
13:54 < skelterjohn|work> oh like, create another local repo?
13:54 < Gauge> yes
13:54 < skelterjohn|work> can't i just delete the remote branch?  :\
13:54 < skelterjohn|work> i can delete local branches
13:55 < Tonnerre> You can do it remotely using git branch -D in the remote
directory
13:55 < Tonnerre> Then potentially git g
13:55 < Tonnerre> c
13:55 < Gauge> won't that remove the local one as well
13:56 < Tonnerre> Like I said, do it remotely, not locally
13:57 < skelterjohn|work> how do i do that
13:57 < Gauge> Use -r together with -d to delete remote-tracking branches
13:57 < Gauge>
http://www.kernel.org/pub/software/scm/git/docs/git-branch.html from there I can't
claim that
13:57 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has quit
[Quit: Computer has gone to sleep.]
13:58 < skelterjohn|work> i just worry that i'm going to do something
irreversible - git's interface is so unintuitive that i always just "hope" things
work
13:59 < Gauge> eh upon further reading that deletes the branches locally
from being tracking
13:59 < Gauge> but they will still come back on the next pull
13:59 < skelterjohn|work> um
13:59 < skelterjohn|work> ok, i'm not doing that
14:00 < skelterjohn|work> on #github they said i can do "git push origin
:release"
14:00 < skelterjohn|work> and that will delete the release branch
14:00 < Gauge> what about git-remote rm <branchname>
14:01 < skelterjohn|work> and that worked
14:01 < Gauge> lol
14:02 -!- statik [~emurphy@newyork.elliotmurphy.com] has joined #go-nuts
14:02 < mpl> skelterjohn|work: yes, but note that this will not work on the
master branch.  a simpler solution is: 'git push -f github yourlocalbranch'
14:02 < skelterjohn|work> -f ignores any attempts to merge?
14:02 < Gauge> probably is a force option
14:02 < skelterjohn|work> forces the commit, as it were
14:03 < mpl> yes, it just overwrites whatever is there with whatever you
have here.
14:03 < skelterjohn|work> that's what i actually wanted to do, but i already
deleted the remote branch and pushed the local one back in
14:03 < skelterjohn|work> so, same effect, slightly different history
14:03 < skelterjohn|work> thanks though - next time i'll know
14:03 < mpl> yeah, sorry just barged in.
14:03 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
14:04 < mpl> and the other trick you learned is also good to know anyway for
when you want to just delete a remote branch.
14:04 < Gauge> i remember wanting to throw my screen out the window when I
was first leaning git.  I still don't like it much, but I'm not the boss so w.e
14:04 < mpl> I found out about that one myself just a few weeks ago on
stackoverflow.
14:04 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined
#go-nuts
14:05 < skelterjohn|work> i love *what* git does
14:05 < skelterjohn|work> i just don't like what *I* have to do to make it
do it
14:06 < aiju> version control systems need to be more like file systems and
text editors
14:06 < Gauge> I just don't like version control.  It's clunky by it's
nature, but hey, I can't complain cause I don't have a better way of doing it.
14:06 -!- erus`_ [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
14:07 < hokapoka> I heard someone was doing somthing with camilstore for
version control.
14:08 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Ping
timeout: 260 seconds]
14:08 < hokapoka> Or maybe it was just a suggest use case.
14:08 < skelterjohn|work> don't know what camilstore is
14:08 < skelterjohn|work> db?
14:08 < hokapoka> http://camlistore.org
14:09 < mkb218> i would rather have p4 branching semantics with a local
repository
14:09 < mkb218> but i'm crazy that way
14:09 < mkb218> semantics?  behavior?  i don't know what word to use there.
maybe i should just use smurfiness
14:09 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 252 seconds]
14:10 < jessta> skelterjohn|work: linus didn't expect people to use git
directly, people where supposed to make nicer interfaces
14:10 < hokapoka> skelterjohn|work: I'm not sure how much, but I got the
impression a bulk of the project is written in go
14:11 < mpl> yes.  the core of it is written in go.
14:11 -!- adil [~adil@nat/ibm/x-jjhacsisvbdmictn] has joined #go-nuts
14:11 < skelterjohn|work> looks like, yeah
14:11 < mpl> some of the frontend is in js.
14:11 < Gauge> rofl the article about color is funny
14:12 < mpl> clients are in go, plus one in python which is more or less
rotting afair.
14:12 -!- adil [~adil@nat/ibm/x-jjhacsisvbdmictn] has quit [Read error: Connection
reset by peer]
14:12 < mpl> the build scripts are in perl, but you'd expect as much ;)
14:13 < skelterjohn|work> they should just use gb O:-)
14:13 < aiju> they should just use fucking make
14:13 < skelterjohn|work> (no, i'm not serious)
14:13 < mpl> aiju: he does.  the perl is mainly to gen the makefiles.
14:13 < skelterjohn|work> ...
14:14 < mpl> and set up the db, etc.
14:14 < Gauge> they should just use command line, scoff
14:14 -!- pjacobs [~pjacobs@66.54.185.133] has joined #go-nuts
14:14 < hokapoka> heh
14:15 < Gauge> what happens when a bit gets flipped due to solar winds, you
can't trust a makefile, must do it by hand
14:15 < mpl> the particle can still flip your bits in mem or at any other
point in the process ;P
14:18 -!- adil [~adil@nat/ibm/x-gccmojptipuvjthj] has joined #go-nuts
14:19 -!- pjacobs [~pjacobs@66.54.185.133] has quit [Client Quit]
14:19 < mkb218> particle man, particle man
14:20 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:25 < jessta> Gauge: the flipped bit gets detected by the ECC
14:32 -!- xash [~xash@d026026.adsl.hansenet.de] has joined #go-nuts
14:33 < Gauge> truth, I was just harassing aiju
14:36 < jessta> unless you don't have ECC, in which case bits are fliping
all the time and you're just lucky
14:36 -!- Vovchik [~ThreeSix@87.68.69.57.cable.012.net.il] has joined #go-nuts
14:39 -!- pjacobs [~pjacobs@66.54.185.133] has joined #go-nuts
14:40 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
14:42 < str1ngs> jessta: yes linux calls it plumbing and porcelain . but why
do I always thing of a toilet then ? :(
14:42 < str1ngs> linus*
14:42 -!- virtualsue [~chatzilla@nat/cisco/x-csufgngkmmrteekb] has joined #go-nuts
14:43 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
14:44 < pjacobs> hi, anyone using mgo?  I'm having issues with iterating
through a bson.M object of a document that has sub documents.
14:45 < jessta> pjacobs: what's the issue?
14:46 < jessta> bson.M is just a map[string]interface{}
14:48 < skelterjohn|work> you wonder why the phrase "plumbing and porcelain"
makes you think of a toilet?
14:48 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
14:48 < str1ngs> in context of git?  yes
14:49 < pjacobs> jessta, I have a document like so: {actor: "actor1",
movies: {x,y,z}}.  I get this as a result, I can do result["actor"], and it's OK,
but I cant iterate through result["movies"]
14:50 < skelterjohn|work> pjacobs: you need to type assert it, to either a
[]interface or []string
14:50 < pjacobs> I've tried creating a struct { actor string; movies
[]string}, but then I don't get anything from the result
14:50 < skelterjohn|work> depending on how clever mgo is
14:50 < pjacobs> skelterjohn|work, I've tried result["movies"].([]string),
without any luck
14:50 < skelterjohn|work> pjacobs: do fmt.Printf("%v", result["movies"]) to
see what the underlying type is
14:51 < skelterjohn|work> it's probably []interface{}, then, with each
interface holding a string
14:54 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has joined
#go-nuts
14:56 -!- wallerdev [~wallerdev@72.44.102.30] has joined #go-nuts
15:00 -!- iant [~iant@67.218.105.144] has quit [Ping timeout: 252 seconds]
15:01 < wrtp> pjacobs: you could ask niemeyer
15:01 -!- Vovchik [~ThreeSix@87.68.69.57.cable.012.net.il] has quit [Ping timeout:
240 seconds]
15:01 < wrtp> pjacobs: he's around at the moment, and he wrote it...
15:01 < pjacobs> skelterjohn, that actually worked
15:02 < pjacobs> I did: actor1["movies"].([]interface{})
15:02 < skelterjohn|work> ^5
15:02 < pjacobs> it'd be nicer to have my struct work though.  Maybe
niemeyer could enlighten me
15:02 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
15:03 < skelterjohn|work> if you put that struct in, you should be able to
get it out
15:03 < niemeyer> pjacobs: I can, I'm in a call right now, so let me provide
some quick feedback
15:03 < niemeyer> pjacobs: If you don't provide a typed value, it will come
up in the form of generic maps/arrays/etc
15:03 < niemeyer> pjacobs: So, e.g.  []interface{}
15:04 < niemeyer> pjacobs: Because arrays may be mixed in BSON
15:04 < niemeyer> pjacobs: If you _want_ a []string, you can ask for it
15:04 < niemeyer> pjacobs: Just define your type and provide it to mgo
15:04 < niemeyer> pjacobs: One(&myvalue)
15:05 -!- qeed [~qeed@adsl-98-85-47-130.mco.bellsouth.net] has joined #go-nuts
15:05 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
15:05 < pjacobs> niemeyer, I tried by passing a reference to my struct {
actor string; movies []string }, and don't get a result loaded for some reason
15:05 -!- chadkouse [~Adium@24.123.67.50] has joined #go-nuts
15:05 < niemeyer> pjacobs: It certainly works fine..  there's likely a minor
detail
15:05 < niemeyer> pjacobs: have you seen the example on the web page?
15:05 < niemeyer> pjacobs: labix.org/mgo
15:06 < skelterjohn|work> pjacobs: are you passing &theInstance or
theInstance?
15:06 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has quit
[Quit: Computer has gone to sleep.]
15:06 < niemeyer> pjacobs: If you have a small reproducer of what you're
trying to achieve and is not worked, I'll be happy to fix it for you
15:07 -!- iant [~iant@216.239.45.20] has joined #go-nuts
15:07 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 250
seconds]
15:07 -!- mode/#go-nuts [+v iant] by ChanServ
15:08 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has joined #go-nuts
15:09 < pjacobs> skelterjohn|work, I'm passing &theInstance
15:09 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit
[Remote host closed the connection]
15:10 < pjacobs> niemeyer, I'll get you something soon
15:10 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
15:10 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
15:11 < pjacobs> brb
15:12 -!- pjacobs2 [~pjacobs@66.54.185.130] has joined #go-nuts
15:14 -!- aboSamoor [~rmyeid@nat/google/x-cslqhhzijbqkifse] has joined #go-nuts
15:14 < aboSamoor> any idea if there is go interpreter out there ?
15:14 < skelterjohn|work> godashboard.appspot.com/project
15:15 < uriel> aboSamoor: https://bitbucket.org/binet/go-eval
15:15 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has joined
#go-nuts
15:15 -!- pjacobs [~pjacobs@66.54.185.133] has quit [Ping timeout: 255 seconds]
15:16 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has quit
[Client Quit]
15:17 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
15:21 -!- lurcio [~margent@compy386.queens.ox.ac.uk] has joined #go-nuts
15:21 -!- lurcio [~margent@compy386.queens.ox.ac.uk] has left #go-nuts []
15:22 < zozoR> read could be done asynchronic and write should be
syncronized right?
15:26 < Gauge> what do you mean zozoR
15:26 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
15:26 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts
15:27 < Gauge> in terms of locking data
15:27 < zozoR> so no one writes at the same time
15:29 < skelterjohn|work> things can go wrong if multiple goroutines read at
the same time, too
15:29 < skelterjohn|work> for instance if the read is limited to a certain
length (buffer size)
15:29 < skelterjohn|work> i'd say it's easier to have async writes, since
then you can just make sure your write call passes the entire message in one
buffer
15:30 < zozoR> im playing with a something that reads a few different files
then outputs it to a single file
15:30 < zozoR> in random go routine order
15:30 < skelterjohn|work> certainly you can read different files async
15:31 < zozoR> ^^
15:31 -!- photron [~photron@port-92-201-24-123.dynamic.qsc.de] has joined #go-nuts
15:31 < zozoR> when reading
15:31 < zozoR> would err == os.EOF when done?
15:31 < skelterjohn|work> probably
15:31 < zozoR> or would it be string(err) == os.EOF : |
15:31 < skelterjohn|work> oh
15:32 < skelterjohn|work> i don't know - it can get weird
15:32 < aboSamoor> uriel: that seems not finished yet ?
15:32 < zozoR> heh
15:32 < mkb218> os.EOF is an os.Error
15:33 < Gauge> use the sync package
15:33 < Gauge> they have a RWmutex
15:33 < Gauge> it implements everything you seem to need
15:33 < skelterjohn|work> Gauge: he is reading from multiple sources and
writing to one new destination
15:33 < skelterjohn|work> from what i understand
15:34 -!- chadkouse [~Adium@24.123.67.50] has quit [Ping timeout: 276 seconds]
15:34 < Gauge> oh so he just needs the one write lock
15:34 < skelterjohn|work> so the reading would need no synchronization at
all, and the writing might need a bit
15:34 < Gauge> yea
15:34 < skelterjohn|work> depending on the size of the things being written
15:34 < mkb218> zozoR: there's no conversion used in go's source:
pkg/archive/tar/reader_test.go
15:34 < mkb218> 135: if err == os.EOF {
15:34 < zozoR> thanks :)
15:34 < skelterjohn|work> mkb218: good that EOF has a nice case - the errors
you get from os.Stat() are buried deep
15:37 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has joined #go-nuts
15:40 -!- hoozleboozle [~Adium@nat/google/x-tseqdpnfauhjdzwt] has joined #go-nuts
15:41 < wrtp> anyone using appengine here?
15:44 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
15:47 < hoozleboozle> Only locally.
15:48 < wrtp> hoozleboozle: i just posted a question to the appengine list
about appending.  any ideas?
15:48 -!- iant [~iant@216.239.45.20] has quit [Quit: Leaving.]
15:49 < hoozleboozle> Link?
15:49 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host
closed the connection]
15:51 < wrtp> hoozleboozle:
http://groups.google.com/group/google-appengine-go/browse_thread/thread/ccc0a32aa43f609a
15:51 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 276 seconds]
15:58 < hoozleboozle> Yeah, that's nowhere near rudimentary enough for me to
be helpful.  :) I am interested in more detail, though.  When you say "shared
counter", do you mean datastore-backed, right?  And when you talk about sequential
numbering of log messages, I assume you mean you want them globally sequential and
that timestamps wont do.
16:00 < wrtp> hoozleboozle: to be honest, in this case, a time stamp would
probably be fine (and i should have thought of that immediately) but i am
interested in the general case too.
16:01 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-181-38.clienti.tiscali.it] has
joined #go-nuts
16:01 < hoozleboozle> general solution for globally sequential numbers?
16:03 < wrtp> well, i just wondered if there was something that made it easy
to do appending, like googleFS does
16:03 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has
joined #go-nuts
16:03 < wrtp> sequential numbers aren't a necessary prerequisite
16:04 < hoozleboozle> I assume that is necessarily going to be slow no
matter what you do, as it pretty much requires a transactional read/write every
time.  Might be faster if you could have a service handling it via RPC, but that's
a whole different can-o-worms.
16:04 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-161-14.clienti.tiscali.it]
has quit [Ping timeout: 260 seconds]
16:04 < hoozleboozle> For the general appending case, I haven't seen
anything in the app engine api that seems to support it, but I am somewhat of a
novice yet.
16:04 < wrtp> hoozleboozle: me too!
16:09 -!- janimo [~janimo@li33-200.members.linode.com] has joined #go-nuts
16:11 -!- yogib [~yogib@131.234.59.64] has quit [Quit: yogib]
16:13 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
16:14 < dahankzter> How do i get hold of HTTP POST data?  Is it through the
Body?
16:15 < dahankzter> if i post with curl i can tseems to get hold of it
16:15 < wrtp> dahankzter: see ParseForm and Form
16:17 < dahankzter> Don't these assume a form submission?  k1=value1&etc...?
16:17 < dahankzter> i just have a blob of xml
16:17 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 255 seconds]
16:18 < hokapoka> dahankzter: the body doesn't contain the POSTed form data
16:19 < hokapoka> Unless the form fields within the HTML contain's the
values.
16:20 < hokapoka> <input type="text" name="k1" value="VALUE"/>
16:21 < dahankzter> Ok but its possible and valid http-post to just send a
string right?
16:21 < dahankzter> there is no assumption in key value pairs
16:22 < dahankzter> where is the posted data stored?  I just need to get
hold of it
16:25 < jessta> dahankzter: you should be able to read from request.Body
16:26 < dahankzter> ok, thx
16:26 < hokapoka> dahankzter: what are you doing exactally?
16:27 < hokapoka> You reffered to curl and a blog of xml.
16:27 < dahankzter> createing a service which gets xml in and out
16:27 < dahankzter> horrigble i know ;)
16:27 < hokapoka> And you're using the http package?
16:28 < dahankzter> yes, bad?
16:28 < hokapoka> no, it's great
16:28 < hokapoka> as wrtp said, you need to Parse the form before you can
read the values in the form
16:28 < dahankzter> i am sure i am just doing something wrong, been messing
around for a bit
16:28 < jessta> hokapoka: not all posts are forms
16:29 < jessta> umm..not all HTTP POSTs contain forms
16:29 < hokapoka> jessta: indeed
16:30 < hokapoka> hence your point about Request.Body.
16:31 < jessta> I'm just pointing out that dahankzter doesn't need to call
Parse because they aren't POSTing a form
16:33 < hokapoka> Oh, I didn't see anything suggesting that he wasn't using
a Form.
16:33 -!- dsal [~Adium@208.185.212.98] has joined #go-nuts
16:33 < hokapoka> Oh yeah I see now.
16:36 < jessta> I've seen a few services that you POSt files to, that
stupidly require that you wrap the file in a form
16:40 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit:
pyrhho]
16:42 -!- hoozleboozle [~Adium@nat/google/x-tseqdpnfauhjdzwt] has quit [Quit:
Leaving.]
16:44 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host
closed the connection]
16:52 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
16:56 -!- hoozleboozle [~Adium@nat/google/x-rcnuhdthuakarmqj] has joined #go-nuts
16:57 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
16:59 -!- yogib [~yogib@dslb-188-100-008-153.pools.arcor-ip.net] has joined
#go-nuts
17:00 -!- ronnyy [~quassel@p4FF1C473.dip0.t-ipconnect.de] has joined #go-nuts
17:04 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
17:04 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
17:11 -!- chickamade [~chickamad@116.118.4.143] has joined #go-nuts
17:17 -!- iant [~iant@nat/google/x-hlczauhhcpzdkdtd] has joined #go-nuts
17:17 -!- mode/#go-nuts [+v iant] by ChanServ
17:20 < niemeyer> pjacobs: Any luck there?
17:26 -!- nutate_ [~rseymour@cacsag4.usc.edu] has joined #go-nuts
17:27 < hokapoka> niemeyer: big thanks for all the work on mgo.
17:27 -!- nutate [~nutate@cpe-76-169-16-230.socal.res.rr.com] has quit
[Disconnected by services]
17:27 < niemeyer> hokapoka: It's been my pleasure.  Hope it's being useful
there
17:27 -!- nutated [~nutate@cpe-76-169-16-230.socal.res.rr.com] has joined #go-nuts
17:28 < hokapoka> Oh yeah, well only just starting to wield it in vain but
it's been a breaze to use and very extensive.
17:28 < wrtp> niemeyer: i took a brief look at the mgo docs this morning.
no time to really go through it, but i did think that perhaps it could do with
some intro text giving an overview of the API
17:29 < wrtp> 'cos it's difficult to know where to start!
17:29 < niemeyer> wrtp: Agreed.  It deserves a better package-level doc
17:29 < wrtp> yup
17:29 < hokapoka> One question I did have, pools and concurent connection.
17:30 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has
quit [Quit: I am a manual virus, please copy me to your quit message.]
17:31 < skelterjohn|work> what's it for, again?
17:31 < skelterjohn|work> is it one of those internet dev libraries?
17:31 < hokapoka> I'm using session.Clone(), and then defering the close
until I've finished each opperation.
17:31 < hokapoka> mongodb
17:32 < hokapoka> You made a reference to a pool of connections in the docs,
and I wanted to be sure that I was using it as I should be.
17:34 < hokapoka> I start by creating an initial session that's Close is
defered until the services is halted.  Then whenever I render a page that needs to
pull from the monogdb I use session.Clone(), issue the nessasary finds, render and
close.
17:34 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has quit [Read error:
Connection reset by peer]
17:35 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has joined #go-nuts
17:35 < niemeyer> hazmat: Yeah, that's perfect
17:35 < niemeyer> hazmat: LOL..  force of the habit
17:35 < niemeyer> hokapoka: Yeah, that's perfect
17:35 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
17:37 < hokapoka> Great.  Is there any benifit from trying to create a pool
of open connections to save the closing & re-opening of the connections to the db
for each opperation?
17:37 < niemeyer> hokapoka: Closing the session won't close the connection
17:37 < hokapoka> argh great.
17:38 < niemeyer> hokapoka: It will actually stash it back in the pool, as
you'd desire
17:38 < ww> niemeyer++
17:38 < niemeyer> hokapoka: Handling all details of auth, etc
17:38 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
17:38 < niemeyer> ww: ;-)
17:38 < hokapoka> Sweet, that's what I was hoping for.  I did try to work it
out from the docs but didn't see it defined anywhere.  absolutly perfect.
17:39 < hokapoka> I think I also need to thank you for your work on
exp/templates - or shout at you for not doing it sooner one or the other!
17:41 < niemeyer> hokapoka: Hehe, no prob..  :-) I didn't really do anything
with exp/templates myself..  perhaps I just bothered Rob enough that he decided to
do it ;-)
17:41 < skelterjohn|work> i do like the new templates a lot better
17:43 < hokapoka> heh, I'm actually a bit stuck on them atm.  Not because I
can't workout how todo stuff but because they are so flexible I can't decide on
the way to use them.
17:47 < dahankzter> what should i expect fmt.Println("%v",aString) print???
17:47 < skelterjohn|work> it shoudl just print the string
17:47 < skelterjohn|work> oh
17:47 < dahankzter> but it doesnt
17:47 < skelterjohn|work> no, Println doesn't accept formatting
17:47 < skelterjohn|work> you want Printf
17:47 < hokapoka> Printf
17:47 < dahankzter> omg
17:47 < dahankzter> doh
17:48 < skelterjohn|work> i do that all the time too
17:48 < dahankzter> thx
17:48 < franksalim> jessta, i didn't see your message until now.  both
"sides" of a function agree on types, too.  a channel is also typed.  I don't
think that's a real difference
17:50 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Read error: Connection reset by peer]
17:50 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
17:51 < hokapoka> niemeyer: One last thing, the "_id" field if I wanted to
unmarshall it out to a property of a type what should the name of the property be?
17:51 < niemeyer> hokapoka: Anything, but you'll need to explicitly set the
tag of the property to "_id"
17:52 -!- virtualsue [~chatzilla@nat/cisco/x-csufgngkmmrteekb] has quit [Ping
timeout: 258 seconds]
17:52 < niemeyer> hokapoka: and this will change soon to be `bson:"_id"`,
according to the new convention introduced in the latest weekly
17:52 < hokapoka> type foo struct { ID string "_id" }
17:52 < niemeyer> hokapoka: The reason for this is that only public fields
are taken into account, and "_" makes it private
17:52 < niemeyer> hokapoka: Right
17:53 < hokapoka> sweet.
17:53 < niemeyer> hokapoka: You can set the key to anything using the tag
17:54 < hokapoka> Super, Does that applies to all fields?
17:55 < hokapoka> Not that I would be doing it all that often
17:56 < niemeyer> hokapoka: It does, any field, any name
17:57 < hokapoka> And the case conversion, not that I'd ever do it just
wondering, if I used say "TheKey", would it be stored as "thekey"?
17:58 < niemeyer> hokapoka: When you have no tag, the field name is indeed
lowercased before being used as a key
17:58 < niemeyer> hokapoka: When you have a tag, the tag content isn't
touched
17:58 < jessta> franksalim: you'd also have to change the i,ok := <-chan
syntax since this would clash
17:59 < franksalim> jessta, yes
17:59 < hokapoka> niemeyer: great, again many thanks for your efforts, very
much appricated.  :)
18:01 -!- TheMue [~TheMue@p5DDF5388.dip.t-dialin.net] has joined #go-nuts
18:02 < niemeyer> hokapoka: You're welcome
18:02 < franksalim> jessta, there was a related conversation on reddit.  i
just figured i would ask on IRC since it seemed like a possibly recurring topic
18:02 < niemeyer> TheMue!
18:02 -!- zanget [~zanget@hurf.durf.me] has joined #go-nuts
18:02 < TheMue> niemeyer: Yeah, just started my irc client again.  Has been
off for some time.
18:03 < skelterjohn|work> using what for the UI?
18:10 < skelterjohn|work> (TheMue)
18:10 < dahankzter> I must say that i like coding in Go. I have been coding
lots of java and when it gets going Go is really much easier
18:11 < dahankzter> Its not that the Java language is hard to type but there
is so much and it luls you into a false sense of security
18:12 < dahankzter> Scala is distinctly better but more complex
18:12 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has
joined #go-nuts
18:12 < skelterjohn|work> that's how i feel too (about java)
18:12 < skelterjohn|work> i took a look at some scala code but it was a bit
confusing O:-)
18:13 < dahankzter> I work in a very enterpricy setup and now i just have to
convince the right ppl....  :)
18:14 -!- dahankzter [~henke@92-244-3-192.customers.ownit.se] has quit [Quit:
Leaving.]
18:15 < TheMue> skelterjohn|work: Oh, you asked me?  UI? Regarding Go or
irc?
18:15 < skelterjohn|work> the irc client
18:15 < skelterjohn|work> i wonder what sort of UI you're planning on
18:15 < TheMue> I'm using Colloquy.
18:15 < skelterjohn|work> i completely misunderstood
18:15 < TheMue> I'm planning a UI?
18:15 < skelterjohn|work> i thought you came back to the channel because you
were starting work on an irc client again
18:16 < skelterjohn|work> but no, you just started your irc client again
18:16 < TheMue> Oh, hehe, no, sorry.
18:16 < skelterjohn|work> :)
18:18 < synx`> Heh, I was going to learn Go by writing an IRC client
18:19 < skelterjohn|work> well...  what kind of UI were you thinking of
using?  :)
18:19 < synx`> Who knows!
18:21 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: I'm outta heee-eere]
18:21 < skelterjohn|work> i feel like a nice standard widget library in the
core would really help go
18:21 -!- hoozleboozle [~Adium@nat/google/x-rcnuhdthuakarmqj] has quit [Quit:
Leaving.]
18:21 < skelterjohn|work> help me w/ go, anyway
18:21 -!- nutate_ [~rseymour@cacsag4.usc.edu] has joined #go-nuts
18:22 < niemeyer> skelterjohn|work: A nice widget library will help it,
regardless of being in the core
18:22 < niemeyer> skelterjohn|work: Putting widget libraries in the core
tend to be a bad idea, historically
18:22 < skelterjohn|work> if it's in the core, then i don't have to worry
about platform-specific installations
18:22 < skelterjohn|work> because the go team will be worrying about it :)
18:23 < niemeyer> skelterjohn|work: They tend to bitrot there, since UI
libraries grow fast and change a lot in areas not very relevant to the language
progress itself
18:23 < dlowe> standard widget libraries tend to look good on only one
platform.
18:24 -!- niemeyer_ [~niemeyer@201-89-134-42.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
18:24 < niemeyer_> Weird..  that was a harsh disconnect
18:27 -!- niemeyer [~niemeyer@201.40.139.46] has quit [Ping timeout: 240 seconds]
18:29 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
18:29 < str1ngs> if someone is going to make a widget lib, pray let it be
vector based
18:29 < str1ngs> none of this raster crap
18:31 -!- nutate [~nutate@cpe-76-169-16-230.socal.res.rr.com] has quit
[Disconnected by services]
18:31 < skelterjohn|work> fine with me
18:35 -!- keithcascio [~keithcasc@nat/google/x-floibhppiixuexjo] has joined
#go-nuts
18:37 -!- flavius [~flav@unaffiliated/flavious] has joined #go-nuts
18:37 < erus`> yes and magical unicorns
18:37 < erus`> and realtime raytracing
18:41 < flavius> Is there no else statement in go?
18:41 < Namegduf> Yes, there is.
18:41 -!- chickamade [~chickamad@116.118.4.143] has quit [Quit: chickamade]
18:42 < Namegduf> IRT widget library: Don't forget embedding Webkit
18:42 < Namegduf> :D
18:44 -!- virtualsue
[~chatzilla@cpc3-haye15-0-0-cust488.haye.cable.virginmedia.com] has joined
#go-nuts
18:44 -!- chickamade [~chickamad@116.118.4.143] has joined #go-nuts
18:44 -!- chickamade [~chickamad@116.118.4.143] has quit [Client Quit]
18:46 -!- hoozleboozle [~Adium@nat/google/x-jnfjjzfmegypykxj] has joined #go-nuts
18:48 < skelterjohn|work> flavius: has to be on the same line as the closing
} from the previous if
18:49 < skelterjohn|work> Namegduf: embedding webkit or chromium would be
nice - though i find it difficult to make web pages do what i want
18:49 -!- robteix [~robteix@192.55.54.36] has quit [Quit: Leaving]
18:51 < erus`> lets design a new markup language :D
18:52 < skelterjohn|work> it's mostly CSS that bothers me
18:52 < skelterjohn|work> html itself is fairly predictable
18:52 < hoozleboozle> Anyone using gccgo as their primary Go compiler?
18:52 < erus`> pff lets use json :D
18:52 < skelterjohn|work> i'm not sure that json and css are
interchangeable....
18:53 < skelterjohn|work> hoozleboozle: not i, but iant is here (and he
wrote it)
18:53 <+iant> it's true, I use gccgo as my primary Go compiler
18:53 * ww mourns uucp
18:53 <+iant> I still use UUCP every day!
18:54 < franksalim> skelterjohn|work: if you are embedding webkit, you get
nice new CSS like the flexible box model
18:54 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
18:54 < ww> for a long time i used uucp over tcp for my mail actually...
18:54 < franksalim> and new widgets
18:54 < ww> then my laptop was stolen...
18:54 < skelterjohn|work> franksalim: i don't know what that means, but I
suspect you're making fun of me (and i'm ok with that)
18:54 < franksalim> not at all!
18:55 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
18:55 < franksalim> i'm just saying that if you are using webkit to make
UIs, you can ignore legacy browsers and just use reasonable css for layouts
18:55 < skelterjohn|work> that's true - good point
18:56 < hoozleboozle> iant: Awesome.  If you don't mind my asking, what's
the next big item on the gccgo agenda?  Multiple goroutines/per thread?  Or,
alternately, what's the best way for me to follow gccgo development in the
interest of eventually contributing?
18:56 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.]
18:56 <+iant> the mailing list for gccgo development is
gofrontend-dev@googlegroups.com; I send all the patches there
18:56 <+iant> in fact most of the messages on that list come from me
18:56 < hoozleboozle> ah.
18:56 <+iant> multiple goroutines/thread is a big item
18:57 * ww is happy rumours about uucp are exaggerated
18:57 <+iant> also there is an intern working on escape analysis to reduce
the number of memory allocations
18:57 <+iant> and there is background work of continuing to separate the
gcc-specific parts out of the frontend
18:57 < skelterjohn|work> oh cool (escape analysis)
18:57 < skelterjohn|work> that's not just for gccgo though, right?
18:57 < hoozleboozle> related or unrelated to lvd's work?
18:58 <+iant> lvd is doing it for the gc compiler, so conceptually similar,
but unrelated
18:58 < hoozleboozle> Will the rules for when we can expect data to not be
promoted to the heap be the same?  I assume eventually, yes.
18:59 <+iant> I think it is likely that gccgo will be able to be more
aggressive than 6g in keeping variables on the stack, but we'll see
19:01 < skelterjohn|work> that seems strange to me
19:01 < hoozleboozle> I'm pretty excited for the escape analysis.  Are there
any other languages that use static escape analysis to keep things on the stack
across compilation units?
19:01 < skelterjohn|work> it's the same language
19:02 < flavius> skelterjohn|work: oh that was it, thanks
19:02 < hoozleboozle> skelterjohn|work: gccgo will probably be better at
bounds checking elimination, inlining, and register allocation, too.  It's
designed to be a more heavily optimizing compiler than 6g.  The resulting code
should behave the same (in compliance with the spec), but it's reasonable to
expect gccgo to provide better performance in the long-run.  It's a pretty
mature/sophisticated backend.
19:03 < skelterjohn|work> the back end doesn't have much to do with escape
analysis for the specific language...
19:03 < skelterjohn|work> there is nothing fundamental about gcc that lets
it optimize better - it's just had more time put in
19:04 < skelterjohn|work> and since the escape analysis starts from scratch
in both cases...
19:04 < str1ngs> iant: I figures out my binutils gold issue..  I think
19:04 < str1ngs> I guess I need to use --with-plugins-ld=ld.gold to use gold
as default?
19:04 < skelterjohn|work> unless you're doing it on an assembler level,
rather than go code?
19:04 < hoozleboozle> The Go spec says nothing about heap vs stack
allocation, if I'm not mistaken.  As such, whether something happens on heap/stack
based on escape analysis is still conforming.
19:04 < skelterjohn|work> hoozleboozle: i don't see the relevance
19:07 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
19:08 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has quit [Ping
timeout: 240 seconds]
19:09 < hoozleboozle> skelterjohn|work: To summarize what I'm trying to say:
I don't think it's odd or surprising that gccgo might do more extensive escape
analysis; the same potential exists in 6g, but gccgo can use pre-existing gcc
facilities for control flow analysis and the like to make more aggressive choices.
And even if it doesn't have access to gcc analysis stuff, part of the point of
gccgo (in my understanding) is to make it possible to generate real
19:11 < skelterjohn|work> (eagerly awaits the 2nd half of the cut off
message)
19:11 < hoozleboozle> It was cut off?  Or is that a way of saying you're
waiting for me to make a point?  (Haven't irc'd in a while.  :))
19:12 < skelterjohn|work> irc limits to 255 chars
19:12 < skelterjohn|work> or something
19:12 < skelterjohn|work> you ended in an incomplete sentence i think, i
assumed it got cut off
19:12 < skelterjohn|work> "is to make it possible to generate real"...
somethings
19:12 < hoozleboozle> ah.
19:12 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined
#go-nuts
19:12 < hoozleboozle> "make it possible to generate really highly optimized
code when necessary, so gccgo is much more likely to do time-intensive checks that
might yield more fruit than the biased-toward-speed-and-simplicity stuff that 6g
does."
19:14 < skelterjohn|work> i can buy that, but that's a programmer bias
rather than something fundamental about gcc
19:14 < skelterjohn|work> i feel like it would be pretty simple to get some
basic escape analysis going, but i might be missing edge cases
19:15 < uriel> it is all silly speculation at this point IMHO
19:15 < hoozleboozle> Yep.
19:15 < uriel> I'm quite impressed with the progress gc is making
19:15 < uriel> and there is *huge* room for improvement
19:17 < qeed> is all the compiler code inside cmd/{6,8,5}g?
19:17 < skelterjohn|work> cmd/gc
19:17 < hoozleboozle> and gc/
19:17 < skelterjohn|work> that's where the good stuff is
19:17 < qeed> cool i should study it plan9 code is like one of the most
elegant code ive seen
19:17 < skelterjohn|work> @_@
19:17 -!- virtualsue
[~chatzilla@cpc3-haye15-0-0-cust488.haye.cable.virginmedia.com] has quit [Ping
timeout: 255 seconds]
19:18 < qeed> well syntax wise, not like super awesome algorithms or
something
19:18 < Gauge> if a package has an init and your package main has one, in
what order are the instructions ran?
19:19 < smw> Gauge, I believe the package init is run first
19:19 < smw> not main
19:19 < Gauge> ok thanks
19:19 < str1ngs> I dunno I thin it might be smarter then that
19:19 < str1ngs> think*
19:20 < smw> Gauge, try it and tell me ;-)
19:20 < smw> add print statements to both intis
19:20 < smw> inits*
19:20 < Gauge> ok
19:20 -!- huin [~huin@91.84.179.118] has joined #go-nuts
19:20 < skelterjohn|work> if pkg 1 imports pkg 2, pkg 2's inits will go
first
19:20 < skelterjohn|work> etc
19:20 < skelterjohn|work> beyond that no guarantees (it's arbitrary)
19:20 < skelterjohn|work> main's inits will always go last, since everything
that runs is imported by it, transitively
19:20 < smw> skelterjohn|work, exactly, which is why I said the package's
init would be run before main
19:21 < skelterjohn|work> i was not disagreeing - just expounding
19:21 < smw> ok
19:21 < Gauge> well that saves me the trouble of testing it
19:24 -!- virtualsue [~chatzilla@nat/cisco/x-xvlczkfudflukggr] has joined #go-nuts
19:41 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Ping
timeout: 260 seconds]
19:43 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
19:48 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 260 seconds]
19:54 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
19:54 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
19:55 <+iant> str1ngs: is there a --with-plugins-ld option?  I'm willing to
believe it.  I usually use the --with-ld option
19:56 -!- virtualsue [~chatzilla@nat/cisco/x-xvlczkfudflukggr] has quit [Ping
timeout: 276 seconds]
19:57 -!- xash [~xash@d026026.adsl.hansenet.de] has quit [Quit: Lost terminal]
19:58 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has quit [Read error:
Connection reset by peer]
19:59 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has joined #go-nuts
20:00 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts
20:01 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
20:01 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has joined
#go-nuts
20:02 -!- dsal1 [~Adium@208.185.212.98] has joined #go-nuts
20:02 -!- Chat7521 [edllue@app5.chatmosphere.org] has joined #go-nuts
20:02 < Chat7521> hey whats up im new to this
20:02 < skelterjohn|work> to irc?
20:03 -!- dsal [~Adium@208.185.212.98] has quit [Ping timeout: 260 seconds]
20:03 -!- yogib [~yogib@dslb-188-100-008-153.pools.arcor-ip.net] has quit [Quit:
yogib]
20:03 < Chat7521> hey
20:04 < skelterjohn|work> hi
20:05 < synx`> Hi Chat7521, welcome to #go-nuts!!!!!
20:06 < Chat7521> thanx so who u if i may ask
20:08 < Chat7521> who got a blackberry here
20:08 < smw> Chat7521, please read the topic.  This is not a general channel
20:09 < smw> Chat7521, you are no actually allowed to "go-nuts" here ;-)
20:10 * franksalim goes nuts about Go
20:11 * f2f has some cachews
20:11 -!- Chat7521 [edllue@app5.chatmosphere.org] has quit [Quit: Chatmosphere for
Blackberry]
20:12 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp]
20:22 -!- hoozleboozle [~Adium@nat/google/x-jnfjjzfmegypykxj] has left #go-nuts []
20:23 -!- hoozleboozle [~Adium@nat/google/x-jnfjjzfmegypykxj] has joined #go-nuts
20:30 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
20:31 -!- Vovchik [~ThreeSix@87.68.243.75.adsl.012.net.il] has quit [Read error:
Connection reset by peer]
20:34 -!- Vovchik [~ThreeSix@87.68.242.120.adsl.012.net.il] has joined #go-nuts
20:34 -!- pothos_ [~pothos@111-240-166-14.dynamic.hinet.net] has joined #go-nuts
20:34 -!- Chat7521 [fjerga@app6.chatmosphere.org] has joined #go-nuts
20:35 < Chat7521> hey again
20:35 < Chat7521> who got a blacberry
20:36 < Vovchik> how is this releated to GO :P?
20:36 -!- vmil86 [~vmil86@78.57.227.12] has quit [Quit: Leaving]
20:36 -!- pothos [~pothos@111-240-164-228.dynamic.hinet.net] has quit [Ping
timeout: 250 seconds]
20:37 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has
quit [Quit: I am a manual virus, please copy me to your quit message.]
20:37 < Chat7521> ?
20:37 < skelterjohn|work> Chat7521: I think blackberries are stupid.
20:38 < skelterjohn|work> and this is a channel for the programming language
go
20:38 < Chat7521> why
20:38 < skelterjohn|work> because that's why it was created.  check the
topic.
20:38 < TheMue> Maybe he wants to ask how to "go" to a blackberry shop ...
20:40 < Chat7521> who talking about me
20:40 < skelterjohn|work> this is an english language channel
20:41 < skelterjohn|work> that i think is the first requirement
20:41 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
20:41 -!- Chat7521 [fjerga@app6.chatmosphere.org] has quit [Quit: Chatmosphere for
Blackberry]
20:45 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Ping
timeout: 246 seconds]
20:49 < str1ngs> iant: this is gcc.  but I'm assuming it applies to gccgo as
well?  mainly I want to use gold system wide default
20:50 <+iant> if you configure gcc with --with-ld= , it will use that linker
for everything
20:50 < str1ngs> ok that helps, atleast I can read the man on that
20:50 < str1ngs> is there away to check what linker its using?
20:51 <+iant> gcc -o foo foo.o -v
20:51 <+iant> that will show the subcommands that it runs
20:51 < str1ngs> ah right thanks
20:51 <+iant> oh wait, sorry
20:51 <+iant> you want
20:51 <+iant> gcc -o foo foo.o -Wl,-debug
20:51 <+iant> -v will just show you gcc invoking collect2
20:51 < str1ngs> ok I'll test that
20:51 < str1ngs> sorry I know this is not 100% go related, but well I rather
ask you then someone else.
20:52 <+iant> no worries
20:53 < str1ngs> ok so looks like I need to just use --with-ld . thanks
20:54 < str1ngs> I can probably drop the plugin flags.
20:55 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
21:00 -!- iant [~iant@nat/google/x-hlczauhhcpzdkdtd] has quit [Ping timeout: 260
seconds]
21:04 < str1ngs> gah the gccgo instruction were enough then.
21:08 < statik> hola niemeyer.  I'm looking at mgo for an example of how to
write a good makefile, and I see it includes $(GOROOT)/src/Make.inc.  I don't have
go installed from source, instead I'm using the gophers weekly PPA.
21:08 < niemeyer> statik: Ok
21:09 < statik> Do you know if I should be defining $GOROOT, or should I
source that file from another location?
21:09 < niemeyer> statik: That should still work fine
21:09 < niemeyer> statik: You can run "gomake", and that will set up GOROOT
for you
21:09 < Gauge> make sure you define BOSS=yes
21:09 < niemeyer> statik: Or you can define it by hand, pointing /usr/lib/go
21:09 < statik> niemeyer, thanks!
21:09 < niemeyer> statik: No problem
21:09 < Vovchik> when I'm using asyn go channel does it allocates the memory
right away or its using some kind of list or something?
21:10 < niemeyer> statik: Note that these days Makefiles are mostly
unnecessary with Go, besides for local development
21:10 < niemeyer> statik: goinstall runs without them already
21:10 < niemeyer> statik: and the plan is that soon "gomake" will also do
without them
21:11 < Vovchik> cool
21:11 < statik> niemeyer: the docs I read on gomake were talkign about doing
without, and I think that was a source of my confusion - when I saw that you had
one for mgo I figured maybe I do need a makefile after all ;)
21:11 -!- Fish- [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5]
21:11 < niemeyer> statik: Yeah, we're in transit at the moment
21:12 < niemeyer> statik: Already possible to avoid them mostly, but not
entirely convenient in some cases yet
21:12 < niemeyer> statik: adg has been working on that for a while, and
there's good stuff happening
21:12 < statik> not needing a makefile will be nice
21:13 -!- iant [~iant@nat/google/x-jjocnbimcfqyjuvg] has joined #go-nuts
21:14 < str1ngs> I kinda like Makefiles am I the only one?
21:15 -!- mode/#go-nuts [+v iant] by ChanServ
21:15 < statik> I like makefiles as an antique novelty item that gives me
nostalgia ;)
21:15 < str1ngs> I know though for the bigger picture there a pain.  but for
local testing etc I like them.
21:15 < str1ngs> iant: looks better now thanks.
21:17 < f2f> vovchik, when you call make(chan, size) the buffer is allocated
immediately
21:20 < niemeyer> str1ngs: I kinda like them too
21:20 < niemeyer> str1ngs: But I kinda hate them too
21:20 -!- ronnyy [~quassel@p4FF1C473.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
21:21 < str1ngs> for package installation removing the Makefile requirement
is good.  ala pip,gem
21:21 < str1ngs> helps for windows also.  not that I care about windows :P
21:25 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 255
seconds]
21:26 < qeed> so when is makefile going to be gone?
21:26 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts
21:26 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
21:27 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 276
seconds]
21:28 < Vovchik> f2f: ok, thanks :D
21:30 < niemeyer> qeed: As soon as adg stop playing with Go puppets at OSCON
21:30 < niemeyer> stops
21:30 * niemeyer hides
21:30 -!- tvw [~tv@e176003086.adsl.alicedsl.de] has joined #go-nuts
21:32 < qeed> i hope so the pain of building C files with go files is what
one of the biggest downside for me
21:32 < niemeyer> qeed: Hmm..  you can use goinstall today for that already
21:33 < qeed> command?
21:33 < niemeyer> qeed: and it's somewhat trivial even if using a Makefile
21:33 < niemeyer> qeed: goinstall <your pkg name>
21:33 -!- Kumul [~Kumul@67.224.130.170] has joined #go-nuts
21:33 < qeed> well i dont want it to install to GOROOT just make it link it
and thats it delete the a file for all i care
21:34 < niemeyer> qeed: Define GOPATH
21:34 < niemeyer> qeed: mkdir ~/gopath && export GOPATH=~/gopath &&
goinstall <pkg>
21:35 < f2f> quit
21:35 < f2f> oops :)
21:37 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Quit: Leaving]
21:40 -!- huin [~huin@91.84.179.118] has quit [Quit: bedtime]
21:42 -!- Gauge [~gauge@mcswl183.mcs.anl.gov] has quit [Ping timeout: 276 seconds]
21:43 -!- TheMue [~TheMue@p5DDF5388.dip.t-dialin.net] has quit [Quit: TheMue]
21:43 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Read error:
Connection reset by peer]
21:44 < synx`> goinstall works without a makefile?
21:45 < exch> yes
21:45 < synx`> :O how
21:45 < exch> magic and glitter
21:46 < synx`> pacman -S magic
21:46 < synx`> not found in sync db :(
21:48 < str1ngs> pacman -S file
21:49 < str1ngs> magic.h :P
21:49 -!- r_linux [~r_linux@189.38.220.35] has quit [Quit: Lost terminal]
21:50 < synx`> bah screw arch
21:51 < str1ngs> lol why do you say that?
21:53 < synx`> Because I want my OS to hold my hand :)
21:54 < str1ngs> hmm I dont think archlinux is that hardcore, but then I
used it for 7 years
21:54 < str1ngs> actually if anything its become more noobish
21:59 -!- photron [~photron@port-92-201-24-123.dynamic.qsc.de] has quit [Read
error: Operation timed out]
22:00 < uriel> f2f: !!
22:00 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:01 < uriel> f2f: long time no see!  irc has been a much duller place
without you
22:03 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
22:05 < qeed> yay goinstall does exactly what i need thanks
22:05 < f2f> hehe :)
22:06 < f2f> i don't think i was that much of a troublemaker...
22:06 < f2f> place is quieter than reddit and consequently much more polite
:)
22:08 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts
22:12 -!- iXeno [~ixeno@77.241.96.35] has joined #go-nuts
22:16 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has joined
#go-nuts
22:17 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has quit
[Quit: Leaving...]
22:21 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has joined
#go-nuts
22:24 <@adg> reddit makes me sad
22:24 <@adg> used to be good quality discussion
22:24 <@adg> now it's just mud slinging
22:25 -!- rcrowley [~rcrowley@ax113-2-82-224-100-45.fbx.proxad.net] has quit
[Quit: Computer has gone to sleep.]
22:25 < f2f> i particularly enjoyed the guy calling you an idiot because you
posted a relevant link :)
22:25 < f2f> that was the last straw
22:25 < franksalim> adg: unsubscribe from any reddit with more than 10k
readers :)
22:25 <@adg> i feel the need to defend go somewhat
22:26 < cbeck> adg: I enjoy it now and again, but the number of trolls any
golang post in /r/programming attracts gets old quickly.
22:26 <@adg> when people say stuff that's plain wrong
22:26 < synx`> adg: I love mud slinging on reddit
22:26 <@adg> cbeck: yeah :|
22:26 <@adg> hacker news is still okay, surprisingly
22:26 <@adg> i liked their decision to hide comment scores
22:26 < cbeck> On a very different note, anyone in PDX for OSCON?
22:27 <@adg> yes!
22:27 <@adg> in an appengine workshop now
22:27 < cbeck> adg: Are you giving a talk?
22:27 < skelterjohn> link to reddit comments?
22:27 < cbeck> Cool =)
22:27 <@adg> i just gave a 3hr go tutorial
22:27 <@adg> rob's giving a go talk tomorrow
22:27 <@adg> cbeck: are you here?
22:27 < cbeck> I'm a poor student, so nothing but exhibition hall for me,
but I'll be at the puppetlabs party later tonight
22:27 <@adg> oh cool, i might come along
22:28 <@adg> otherwise i'll see you tomorrow
22:28 < cbeck> adg: I saw that, made me very sad I couldn't get in to it =/
22:28 < kevlar_work> adg, I started caring less what stupid people on the
internet think about Go when I realized that the people I work with are
levelheaded enough to be convinced by rational argument
22:29 < kevlar_work> which just solidified my belief that the potshots
people take at Go are opportunistic and not based on anything that I can correct
by joining the defense.
22:30 < kevlar_work> and usually the Duty Calls (http://xkcd.com/386/) xkcd
stops me whenever I get tempted to get involved anyway, lol
22:30 < f2f> skelterjohn: the 'go for app engine is generally available'
article on /r/programming
22:31 < f2f> but the comment is now edited
22:31 <@adg> skelterjohn: in short:
22:31 <@adg> them: nobody asked for go on gae
22:31 < cbeck> I think part of the issue is the number of 'I'm trying go!'
blog posts which go up there where the author is (quite understandably) writing
Java-in-Go or the like and not using features of the language that would be useful
to their application.
22:31 <@adg> me: here'a link to >200 people asking for it
22:31 <@adg> them: only an idiot would think that was meant literally, you
moron
22:31 <@adg> me: !
22:31 < exch> :p
22:31 < cbeck> Oye.
22:32 <@adg> cbeck: it'll improve over time
22:32 < cbeck> adg: Certainly
22:32 < skelterjohn> maybe it was meant ironically?
22:32 <@adg> hey, you guys who use go and like it, write blog posts!
22:32 < kevlar_work> I really should.
22:32 < cbeck> Likewise.
22:32 < kevlar_work> I have a blog and everything.
22:32 < skelterjohn> i don't have a blog
22:32 < kevlar_work> I write in fits and spurts.
22:32 < cbeck> Alas, I've been sentenced to 6 months of writing java
22:33 < exch> not sure what I could write other then what's already been
said
22:33 < skelterjohn> i'd contribute to a group blog though
22:33 <@adg> skelterjohn: mail post@posterous.com with a blog post, then ;)
22:33 < franksalim> adg: working on it
22:33 <@adg> franksalim: :D
22:34 < kevlar_work> adg, you should organize a competition: have people
submit blog posts to be voted upon by the community, the winner gets a blue gopher
and a plaque signed by the Go team :)
22:34 < exch> :o
22:34 * exch hires a writer
22:34 < kevlar_work> rofl
22:34 < cbeck> Why a *blue* gopher?
22:34 < f2f> tangentially, this article (on top of reddit nastiness) made me
fire up an irc client for the first time in years:
http://www.guardian.co.uk/technology/2011/jul/24/internet-anonymity-trolling-tim-adams
22:35 < kevlar_work> http://blog.golang.org/2011_05_01_archive.html
22:35 < kevlar_work> ^ blue gopher plush
22:35 < skelterjohn> is posterous just a site that posts anyone's articles?
22:35 < cbeck> D'awwwww
22:35 < skelterjohn> i meant like, a group of people blogging about go
22:37 < cbeck> Now where can one of these gophers be purchased so I can send
a link to my fiance regarding our impending anniversary
22:37 < franksalim> that post reminds me: is anyone working on the jpeg
decoder?  at last check it was missing some things like luma downsampling and
progressive mode
22:37 < niemeyer> adg: Don't get distracted with flame baits..  :-)
22:40 < niemeyer> cbeck: It's all about radiation
22:40 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has quit
[Quit: Computer has gone to sleep.]
22:41 -!- Bigbear1 [~Cody@d173-181-38-142.abhsia.telus.net] has joined #go-nuts
22:42 -!- virtualsue [~chatzilla@nat/cisco/x-jxljassvrpmcadyw] has joined #go-nuts
22:52 < uriel> adg: actually, a Go coding competition where you awarded a
gopher to whoever writes the coolest project in Go would be easy, fun and useful
22:52 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]]
22:52 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-181-38.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
22:53 -!- pjacobs [~pjacobs@66.54.185.130] has quit [Quit: Leaving]
22:57 < uriel> f2f: I still keep some of your quotes from the good old days
of #plan9 ;) (this days all the fun people have moved to #cat-v ;P)
22:58 -!- tylerl [~tylerl@unaffiliated/tylerl] has joined #go-nuts
22:58 < niemeyer> uriel: We're running something like that internally
23:00 < skelterjohn> "coolest project" is a bit subjective
23:01 < niemeyer> skelterjohn: It's entirely subjective..  still, it's not
too hard to get a group of people to agree on which one is the coolest
23:02 < niemeyer> skelterjohn: The problem with objective coding
competitions is that they tend to be boring, and yield a lot of throw away results
23:03 < niemeyer> skelterjohn: While "coolest" or "more interesting" yield
projects that will still be useful, and even seen as more-interesting-than, to a
lot of people
23:05 < tylerl> does the http server support streaming?  I'm playing the the
http.Flusher interface, but it doesn't appear to work as advertised
23:09 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
23:11 -!- iXeno [~ixeno@77.241.96.35] has quit [Read error: Operation timed out]
23:14 -!- iant [~iant@nat/google/x-jjocnbimcfqyjuvg] has quit [Quit: Leaving.]
23:16 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: I'm outta heee-eere]
23:16 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
23:25 -!- dsal [~Adium@208.185.212.98] has quit [Quit: Leaving.]
23:29 < uriel> skelterjohn: sure it is subjetive, but that is not the point
of the project
23:30 < uriel> you can either have the community vote, or let the Go core
team pick, or you can even do both
23:30 -!- iant [~iant@67.218.103.234] has joined #go-nuts
23:30 -!- mode/#go-nuts [+v iant] by ChanServ
23:30 < uriel> I also question the value of 'objetive' coding competitions
23:31 < uriel> tylerl: I think streaming should be supported, but I don't
know, sorry
23:31 * uriel never had need for it
23:33 < f2f> uriel, i lost the markov chain code that could swear like you
:)
23:34 < hoozleboozle> I've written a few thousand lines of Go code that
aren't useful to anyone in particular, and now I'm feeling an itch to contribute
something useful.  What projects need help and are friendly to new devs?
23:35 < kergoth> man, I really want to code something, but my motivation is
elusive as hell.  can't seem to find it most days :(
23:37 < hoozleboozle> I'm tempted to write or wrap a missing library, but
I've found that code-for-the-sake of code tends to be poorly designed, as it lacks
real world use to drive the decisions.
23:38 -!- Bigbear1 [~Cody@d173-181-38-142.abhsia.telus.net] has quit [Ping
timeout: 240 seconds]
23:40 < uriel> f2f: :((
23:40 < kergoth> hard to get very enthusiastic about something if it isn't
something you're actually going to use
23:40 < uriel> f2f: but kfx in #cat-v wrote another urielbot using
markovchains, so don't worry ;)
23:41 < uriel> hoozleboozle: random suggestion:
https://github.com/huin/chunkymonkey
23:42 < hoozleboozle> uriel: Thanks; that's a good suggestion.
23:42 < uriel> contributing to a game is probably better than contributing
to a useful project which you personally have no use for
23:43 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping
timeout: 252 seconds]
23:43 < uriel> games are always fun, and everyone likes to have fun :)
23:44 * exch just commissioned someone to make a pluche gopher for him
23:47 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 264 seconds]
23:54 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
--- Log closed Wed Jul 27 00:00:01 2011