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

--- Log opened Mon Jul 18 00:00:00 2011
00:00 -!- photron_ [~photron@port-92-201-78-73.dynamic.qsc.de] has quit [Ping
timeout: 258 seconds]
00:02 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has
quit [Quit: gtaylor]
00:15 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
00:18 -!- miker2 [~miker2@pool-96-245-224-59.phlapa.fios.verizon.net] has joined
#go-nuts
00:28 < schmichael> what's the preferred way to format func definitions
>80 chars?
00:30 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 258 seconds]
00:31 < qeed> run gofmt on it
00:31 < vsmatck> People use gofmt.  I'd write a long function declaration,
run gofmt, and check.  Then write all my functions to look like that.
00:31 < qeed> though default style is not for me i like to indent do a
newline and indent it
00:33 < schmichael> gofmt doesn't touch it
00:33 < schmichael> leaves it at 95 chars
00:33 < dforsyth> there is no line length convention
00:33 < dforsyth> in fact, if you break up some stuff gofmt will put it back
on the same line
00:34 < schmichael> dforsyth: huh, thanks
00:40 < nicka1> It's mentioned somewhere in the effective go doc
00:41 < KirkMcDonald> Before the implicit semicolon change, I used to format
long function signatures such that the name, the parameters, and the return types
could each be on their own line.
00:41 < KirkMcDonald> I thought it looked nice, but you can't do it any
more.
00:43 < vsmatck> Hm. My habbit is to put a newline after a "," such that
nothing goes over 80 chars.  I do what KirkMcDonald does when I program C++.  :)
00:43 < vsmatck> Except in C++ I have type declarations longer than 80 chars
sometimes so it doesn't always work.
00:44 < vsmatck> Then I have multi-line type declarations.
00:44 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
00:44 < vsmatck> Generally treating "<" and ">" like people treat
braces.
00:44 * vsmatck stops ranting.
00:46 < vsmatck>
http://content8.flixster.com/photo/11/36/92/11369266_gal.jpg
00:48 < schmichael> ...
00:49 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Read error:
Connection reset by peer]
00:51 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts
00:56 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts
00:57 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has quit [Excess Flood]
00:58 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has joined #go-nuts
00:59 -!- miker2 [~miker2@pool-96-245-224-59.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
01:03 -!- rael_wiki [~chatzilla@unaffiliated/rael-wiki/x-8420294] has quit [Quit:
ChatZilla 0.9.87 [Firefox 8.0a1/20110716030739]]
01:29 -!- robteix [~robteix@host176.200-43-24.telecom.net.ar] has quit [Quit:
Leaving...]
01:31 -!- ccc1 [~Adium@140.109.98.187] has quit [Ping timeout: 252 seconds]
01:32 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:36 -!- ccc1 [~Adium@140.109.98.187] has quit [Ping timeout: 252 seconds]
01:37 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:41 -!- nicka1 [~lerp@142.176.0.21] has quit [Quit: Leaving.]
01:42 -!- ccc1 [~Adium@140.109.98.187] has quit [Ping timeout: 250 seconds]
01:44 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
01:44 -!- franciscosouza_ [~francisco@187.105.25.184] has joined #go-nuts
01:44 -!- Queue29_ [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
01:44 -!- franciscosouza [~francisco@187.105.25.184] has quit [Read error:
Connection reset by peer]
01:46 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:53 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
01:58 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
01:58 -!- jmil [~jmil@2001:468:1802:e148:223:32ff:feb1:9dfc] has quit [Quit: jmil]
02:13 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has
joined #go-nuts
02:19 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has
quit [Quit: gtaylor]
02:19 -!- xcombelle [~xcombelle@AToulouse-551-1-146-93.w109-214.abo.wanadoo.fr]
has joined #go-nuts
02:24 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has
joined #go-nuts
02:29 -!- danilo04 [~danilo04@wireless-184-12-11-226.dr02.roch.ny.frontiernet.net]
has quit [Quit: Leaving]
02:31 -!- ray24 [~ray24@adsl-70-132-6-78.dsl.snfc21.sbcglobal.net] has joined
#go-nuts
02:32 -!- jmil [~jmil@c-68-81-252-40.hsd1.pa.comcast.net] has joined #go-nuts
02:34 -!- Natch| [~natch@178.73.217.212] has quit [Ping timeout: 276 seconds]
02:38 -!- danilo04 [~danilo04@wireless-184-12-11-226.dr02.roch.ny.frontiernet.net]
has joined #go-nuts
02:38 -!- danilo04 [~danilo04@wireless-184-12-11-226.dr02.roch.ny.frontiernet.net]
has quit [Client Quit]
03:01 -!- Natch| [~natch@178.73.216.126] has joined #go-nuts
03:02 -!- xcombelle [~xcombelle@AToulouse-551-1-146-93.w109-214.abo.wanadoo.fr]
has quit [Quit: I am a manual virus, please copy me to your quit message.]
03:04 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has quit [Excess Flood]
03:10 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has joined #go-nuts
03:13 -!- magn3ts_ [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has joined #go-nuts
03:16 -!- magn3ts [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has quit [Ping timeout:
260 seconds]
03:17 -!- qeed [~qeed@adsl-98-85-42-145.mco.bellsouth.net] has quit [Quit:
Leaving]
03:25 -!- GS [~gsv@108-61-238-49.southernonline.net] has joined #go-nuts
03:41 -!- ajray [~ajray@short.csc.ncsu.edu] has quit [Disconnected by services]
03:50 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
03:53 < schmichael> oof, is there a higher performance way to write bytes in
big/network endian than encoding/binary.Write?
04:00 < jessta_> schmichael: you can use the indivdual methods,
BigEndian.Uint16() etc.
04:01 < jessta_> that way you can avoid the overhead of reflection
04:02 < schmichael> jessta_: excellent!  thanks!
04:02 -!- GS [~gsv@108-61-238-49.southernonline.net] has quit [Remote host closed
the connection]
04:03 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services]
04:03 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
04:05 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit:
Computer has gone to sleep.]
04:26 < schmichael> jessta_: all of the bigEndian.Uint* methods want byte
arrays...  what's the best way to convert from uint32 to the byte array it
expects?
04:26 < schmichael> or would the PutUint methods be easier to use perhaps...
04:26 < schmichael> (sorry, i'm new to go)
04:26 < jessta_> yep
04:27 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
04:27 -!- ray24 [~ray24@adsl-70-132-6-78.dsl.snfc21.sbcglobal.net] has left
#go-nuts []
04:29 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has
quit [Quit: gtaylor]
04:40 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
04:49 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:50 -!- jmil [~jmil@c-68-81-252-40.hsd1.pa.comcast.net] has quit [Quit: jmil]
04:53 -!- visitor1235433 [~visitor12@c-76-27-197-144.hsd1.or.comcast.net] has
joined #go-nuts
04:53 -!- visitor1235433 [~visitor12@c-76-27-197-144.hsd1.or.comcast.net] has quit
[Client Quit]
04:57 -!- krolaw [~krolaw@port165-235.ubs.maxnet.co.nz] has quit [Quit: krolaw]
05:03 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:09 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-163.clienti.tiscali.it] has
joined #go-nuts
05:16 < crunge> Would map[<whatever>] bool be the closes idiom to
Python set()?
05:20 -!- askhader [~askhader@taurine.csclub.uwaterloo.ca] has joined #go-nuts
05:25 < zozoR> sounds about right
05:27 < schmichael> jessta_: thanks for the tips.  massive speed
improvement.  glad go's profiler is so easier to use
05:35 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
05:36 -!- Natch| [~natch@178.73.216.126] has quit [Ping timeout: 276 seconds]
05:37 -!- Kahvi [~Kahvi@a91-155-87-252.elisa-laajakaista.fi] has joined #go-nuts
05:38 -!- adu [~ajr@pool-173-66-5-182.washdc.fios.verizon.net] has joined #go-nuts
05:38 < adu> hi
05:43 -!- yogib [~yogib@dslb-188-100-009-136.pools.arcor-ip.net] has joined
#go-nuts
05:43 -!- benjack [~benjack@bb121-6-51-10.singnet.com.sg] has joined #go-nuts
05:44 -!- Natch| [~natch@178.73.216.126] has joined #go-nuts
05:44 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts
05:49 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
05:52 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
05:53 -!- Fish [~Fish@9fans.fr] has quit [Client Quit]
05:54 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has joined #go-nuts
05:56 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
05:57 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
05:57 -!- genbattle [~nick@203-173-220-94.dialup.ihug.co.nz] has joined #go-nuts
05:58 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 240 seconds]
06:02 -!- yogib [~yogib@dslb-188-100-009-136.pools.arcor-ip.net] has quit [Quit:
yogib]
06:12 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
06:17 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:10e7:f6c0:2f6d:cfae] has joined
#go-nuts
06:17 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
06:21 -!- mattn_jp [~mattn@112-68-81-105f1.hyg1.eonet.ne.jp] has joined #go-nuts
06:23 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 258 seconds]
06:25 -!- noodles775 [~michael@e178254249.adsl.alicedsl.de] has joined #go-nuts
06:25 -!- noodles775 [~michael@e178254249.adsl.alicedsl.de] has quit [Changing
host]
06:25 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
06:27 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts
06:28 -!- vmil86 [~vmil86@78.57.227.12] has joined #go-nuts
06:29 -!- mattn_jp [~mattn@112-68-81-105f1.hyg1.eonet.ne.jp] has quit [Quit:
Ex-Chat]
06:44 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 276
seconds]
06:58 -!- pmurias [~pawel@static-78-8-208-43.ssp.dialog.net.pl] has joined
#go-nuts
06:58 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
06:59 < pmurias> how good is the interface to calling C++/C libraries from
Go?
07:01 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 264 seconds]
07:02 < str1ngs> C is not bad
07:02 < str1ngs> C++ I think you need swig
07:03 < str1ngs> pmurias: cgo primer http://golang.org/cmd/cgo/
07:09 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
07:11 -!- napsy [~luka@193.2.66.6] has joined #go-nuts
07:14 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 260 seconds]
07:19 -!- Fish [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
07:22 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Ping
timeout: 264 seconds]
07:24 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
07:28 -!- clr_ [~colin@c-67-183-138-2.hsd1.wa.comcast.net] has joined #go-nuts
07:36 -!- clr_ [~colin@c-67-183-138-2.hsd1.wa.comcast.net] has quit [Quit:
Ex-Chat]
07:46 -!- vsayer [~vsayer@2001:470:1f04:1a6b::9] has joined #go-nuts
08:01 -!- squeese [~squeese@h51580273.semamkb.dyn.perspektivbredband.net] has
joined #go-nuts
08:02 -!- Kahvi [~Kahvi@a91-155-87-252.elisa-laajakaista.fi] has quit [Quit:
Lähdössä]
08:08 -!- adu [~ajr@pool-173-66-5-182.washdc.fios.verizon.net] has quit [Quit:
adu]
08:09 -!- wrtp [~rog@92.30.166.101] has joined #go-nuts
08:10 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
08:14 < ww> polite C++ libraries will usually export a C api
08:23 < pmurias> str1ngs: and how does cgo handle pointers?
08:23 -!- lurcio [~margent@compy386.queens.ox.ac.uk] has joined #go-nuts
08:26 < jessta_> pmurias: they are just pointers
08:26 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts
08:27 < aiju> in soviet russia API exports you
08:29 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has joined #go-nuts
08:30 -!- photron_ [~photron@port-92-201-77-33.dynamic.qsc.de] has joined #go-nuts
08:31 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
08:36 -!- bartbes [~bartbes@love/developer/bartbes] has quit [Ping timeout: 276
seconds]
09:03 < uriel> ww: polite C++ libraries are not written in C++
09:07 -!- virtualsue [~chatzilla@nat/cisco/x-jdspvoplbqnwrkzn] has joined #go-nuts
09:08 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 255
seconds]
09:21 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
09:27 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Read
error: Connection reset by peer]
09:27 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
09:33 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 276 seconds]
09:54 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.]
09:59 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
joined #go-nuts
10:09 -!- benjack [~benjack@bb121-6-51-10.singnet.com.sg] has quit [Quit:
Leaving.]
10:12 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
10:14 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has quit [Ping timeout: 255 seconds]
10:16 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
joined #go-nuts
10:17 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
10:27 -!- Gagieluk [~jorixug67@115-64-27-246.static.tpgi.com.au] has joined
#go-nuts
10:29 -!- Gagieluk [~jorixug67@115-64-27-246.static.tpgi.com.au] has quit [Remote
host closed the connection]
10:40 -!- pmurias [~pawel@static-78-8-208-43.ssp.dialog.net.pl] has quit [Quit:
Lost terminal]
10:41 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:43 -!- Cherulek [~jorixktX0@115-64-27-246.static.tpgi.com.au] has joined
#go-nuts
10:43 -!- Count_Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts
10:44 -!- Cherulek [~jorixktX0@115-64-27-246.static.tpgi.com.au] has quit [Remote
host closed the connection]
10:47 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Ping timeout: 260
seconds]
10:52 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
10:54 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
11:05 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 255 seconds]
11:11 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has joined #go-nuts
11:16 -!- Camaelek [~jorix5TJh@115-64-27-246.static.tpgi.com.au] has joined
#go-nuts
11:16 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has quit [Quit: I am a manual virus, please copy me to your quit message.]
11:16 -!- ccc1 [~Adium@202-169-165-145.aspublic.wlan.sinica.edu.tw] has joined
#go-nuts
11:24 -!- Camaelek [~jorix5TJh@115-64-27-246.static.tpgi.com.au] has quit [Remote
host closed the connection]
11:24 -!- genbattle [~nick@203-173-220-94.dialup.ihug.co.nz] has quit [Quit:
Leaving]
11:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:27 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
11:29 -!- ccc1 [~Adium@202-169-165-145.aspublic.wlan.sinica.edu.tw] has quit
[Quit: Leaving.]
11:35 -!- tncardoso [~thiago@189.59.130.35.dynamic.adsl.gvt.net.br] has joined
#go-nuts
11:49 -!- fvbommel [~fvbommel_@dyn-099156.nbw.tue.nl] has joined #go-nuts
11:49 -!- nicka1 [~lerp@142.176.0.21] has joined #go-nuts
11:49 -!- nicka1 [~lerp@142.176.0.21] has quit [Client Quit]
11:49 -!- alehorst [~alehorst@189.58.2.111.dynamic.adsl.gvt.net.br] has joined
#go-nuts
11:50 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Ping timeout:
252 seconds]
11:51 -!- miker2 [~miker2@64.55.31.190] has joined #go-nuts
12:09 -!- ccc1 [~Adium@118-166-231-52.dynamic.hinet.net] has joined #go-nuts
12:16 -!- franciscosouza [~francisco@187.105.25.184] has quit [Quit:
franciscosouza]
12:23 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 246 seconds]
12:30 -!- molto_alfredo [~molto_alf@142.176.0.21] has joined #go-nuts
12:31 -!- molto_alfredo1 [~molto_alf@142.176.0.21] has quit [Ping timeout: 258
seconds]
12:46 -!- molto_alfredo1 [~molto_alf@142.176.0.21] has joined #go-nuts
12:49 -!- molto_alfredo [~molto_alf@142.176.0.21] has quit [Ping timeout: 260
seconds]
12:52 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has
joined #go-nuts
12:52 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
12:53 -!- fvbommel [~fvbommel_@dyn-099156.nbw.tue.nl] has quit [Ping timeout: 255
seconds]
13:01 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
13:02 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
13:06 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
13:21 < jlaffaye> anyone heard of a ssh2 go package?
13:21 < aiju> yes
13:21 < aiju> taruti did one
13:21 < aiju> it's on bitbucket
13:22 < jlaffaye> cheers
13:26 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts
13:28 -!- sacho [~sacho@87.126.39.0] has joined #go-nuts
13:28 -!- jmil [~jmil@c-68-81-252-40.hsd1.pa.comcast.net] has joined #go-nuts
13:29 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-182-5.clienti.tiscali.it] has
joined #go-nuts
13:32 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-170-163.clienti.tiscali.it] has
quit [Ping timeout: 258 seconds]
13:34 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Ping
timeout: 240 seconds]
13:34 -!- squeese [~squeese@h51580273.semamkb.dyn.perspektivbredband.net] has quit
[Remote host closed the connection]
13:45 -!- fvbommel [~fvbommel_@131.155.247.152] has joined #go-nuts
13:47 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
13:51 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has joined
#go-nuts
13:53 -!- nicka1 [~lerp@142.176.0.21] has joined #go-nuts
13:55 -!- fvbommel [~fvbommel_@131.155.247.152] has quit [Ping timeout: 276
seconds]
13:58 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
13:58 -!- freetz [~fritz@nero.ceat.okstate.edu] has joined #go-nuts
14:01 -!- fvbommel [~fvbommel_@131.155.247.152] has joined #go-nuts
14:03 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts
14:08 -!- Rennex [rennex@giraf.fi] has quit [Ping timeout: 260 seconds]
14:10 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
14:14 -!- Rennex [rennex@giraf.fi] has joined #go-nuts
14:20 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
14:24 -!- ccc1 [~Adium@118-166-231-52.dynamic.hinet.net] has quit [Quit: Leaving.]
14:28 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 246
seconds]
14:29 -!- ajray_ [~ajray@short.csc.ncsu.edu] has joined #go-nuts
14:31 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has
joined #go-nuts
14:31 -!- ajray-fh [~extreme@32.97.110.53] has joined #go-nuts
14:36 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit:
Leaving.]
14:37 -!- fhs [~fhs@pool-108-14-190-119.nycmny.east.verizon.net] has quit [Quit:
leaving]
14:39 -!- fvbommel [~fvbommel_@131.155.247.152] has quit [Ping timeout: 276
seconds]
14:40 < exch> Is it me or are Go's weeklies becoming less weekly?
14:40 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
14:42 -!- virtualsue [~chatzilla@nat/cisco/x-jdspvoplbqnwrkzn] has quit [Quit:
ChatZilla 0.9.87 [Firefox 5.0.1/20110707182747]]
14:43 < ww> exch: how long is a week in Internet time?
14:43 -!- tncardoso [~thiago@189.59.130.35.dynamic.adsl.gvt.net.br] has quit
[Quit: bye]
14:44 < exch> who knows
14:46 -!- bartbes [~bartbes@love/developer/bartbes] has joined #go-nuts
14:47 -!- Fish- [~Fish@coss6.exosec.net] has joined #go-nuts
14:50 -!- Fish [~Fish@exo3753.pck.nerim.net] has quit [Ping timeout: 276 seconds]
14:50 -!- jmil [~jmil@c-68-81-252-40.hsd1.pa.comcast.net] has quit [Quit: jmil]
14:52 -!- jimbaker [~jbaker@canonical/jimbaker] has joined #go-nuts
14:54 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
15:01 -!- jsj [~johan@c83-252-31-169.bredband.comhem.se] has joined #go-nuts
15:10 < sl> weeks are getting longer, but september never ends.
15:28 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 258 seconds]
15:29 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit:
leaving]
15:35 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
15:35 -!- lurcio [~margent@compy386.queens.ox.ac.uk] has left #go-nuts []
15:36 < hsoj> how does goinstall determine dependencies?
15:36 < exch> yes
15:37 < hsoj> how ;)
15:37 < exch> it automatically finds references to other external
repositories and goinstalls them
15:37 < hsoj> hrm
15:37 < exch> How it does that should become clear if you go through the
goinstall source
15:38 < hsoj> well that's what I thought, but I have removed all references
of a problematic package
15:38 < hsoj> and it's still attempting to pull it
15:38 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
15:39 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts
15:39 < exch> probably listed somewhere then.  If you run goinstall with -a
or -u flags, it will probably also parse the entries in $GOROOT/goinstall.log
15:39 < exch> not sure about that though
15:40 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 260 seconds]
15:40 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
15:41 < hsoj> it's not in goinstall.log
15:41 < exch> mm
15:41 < hsoj> I actually had to fork 2 packages on github and resolve
coflicts
15:41 < exch> not sure then why
15:41 < hsoj> pushed my changes to my fork
15:42 < hsoj> trying to goinstall my fork of the dep package works fine, but
the second package that depends on the first is still pulling from the old branch
15:42 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has quit [Ping timeout: 258
seconds]
15:42 < exch> have you grep'd through the source to look for any mentions of
the package?
15:42 < hsoj> yep
15:43 < hsoj> changed all of the references to mine
15:43 < exch> I wouldnt know then
15:47 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
15:47 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has joined #go-nuts
15:48 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has joined #go-nuts
15:49 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Quit:
ChatZilla 0.9.87 [Firefox 5.0/20110615151330]]
15:49 < hsoj> so odd
15:50 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has joined
#go-nuts
15:52 -!- vsayer [~vsayer@2001:470:1f04:1a6b::9] has quit [Read error: Connection
reset by peer]
15:54 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts
15:54 -!- yogib [~yogib@131.234.59.64] has quit [Quit: yogib]
15:58 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has joined #go-nuts
16:09 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
16:10 -!- zippoxer [~zippoxer@bzq-79-177-205-187.red.bezeqint.net] has joined
#go-nuts
16:11 < zippoxer> http://pastie.org/2232394
16:11 < zippoxer> - A story about a man who is in love with semicolons, sad
ending.
16:15 < zippoxer> the story involves a psychological aspect, be careful.
16:18 < crest> has anyone else ever tried to use http.ListenAndServeTLS with
client certificates?  the http.Request passed to handlers is pretty much empty
16:18 < molto_alfredo1> I assume telling a go programmer he's in love with
semicolons is about as offensive as telling an emacs user to indent with tabs
16:18 < crest> *gg*
16:20 < zippoxer> molto_alfredo1: he wasn't a go programmer, but you're
right =p
16:21 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:21 -!- jmil [~jmil@2001:468:1802:e148:223:32ff:feb1:9dfc] has joined #go-nuts
16:29 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 255 seconds]
16:30 -!- iant [~iant@216.239.45.130] has joined #go-nuts
16:30 -!- mode/#go-nuts [+v iant] by ChanServ
16:36 -!- bthomson [~bthomson@c-68-33-5-232.hsd1.va.comcast.net] has quit [Ping
timeout: 264 seconds]
16:37 -!- vsayer [~vsayer@2001:470:1f04:1a6b::9] has joined #go-nuts
16:37 -!- bthomson [~bthomson@c-68-33-5-232.hsd1.va.comcast.net] has joined
#go-nuts
16:40 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit:
pyrhho]
16:45 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
joined #go-nuts
16:46 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts
16:50 -!- lucian [~lucian@78-86-217-168.zone2.bethere.co.uk] has joined #go-nuts
16:53 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving]
16:55 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
16:57 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Ping timeout: 276 seconds]
16:57 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
17:09 -!- mattn_jp [~mattn@112-68-64-220f1.hyg1.eonet.ne.jp] has joined #go-nuts
17:10 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 276
seconds]
17:12 -!- Soultake1 [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
17:12 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
17:19 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:19 -!- meling [~meling@99-10-121-218.lightspeed.sndgca.sbcglobal.net] has quit
[Remote host closed the connection]
17:21 -!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has
quit [Read error: Connection reset by peer]
17:31 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
17:31 -!- Soultake1 [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
17:32 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed
the connection]
17:33 -!- yogib [~yogib@dslb-188-100-009-136.pools.arcor-ip.net] has joined
#go-nuts
17:36 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Ping timeout: 276 seconds]
17:36 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
17:37 < schmichael> any guess why tlsconn.Close() would cause a
"javax.net.ssl.SSLException: Received fatal alert: close_notify" in a java server
while not calling Close and just letting the client process end would not cause a
problem?
17:37 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
17:41 < schmichael> hm, might just be the server not handling a proper TLS
shutdown
17:42 -!- meling [~meling@cse-dhcp-10-91.ucsd.edu] has joined #go-nuts
17:49 < crest> schmichael: just catch the exception the connection is gone
for good
17:50 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 250 seconds]
17:51 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 260 seconds]
17:51 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
17:51 < crest> the crypto/tls and http package confuse me.  i expect the
tls.ConnenctionState of a http.Request recvd on a https server to contain the
clients certificate
17:52 < crest> the tls.Config includes a rootCA and AuthenticateClient: true
17:54 < crest> req.Tls = &tls.ConnectionState{HandshakeComplete:false,
CipherSuite:0x0, NegotiatedProtocol:"", NegotiatedProtocolIsMutual:false,
PeerCertificates:[]*x509.Certificate{}, VerifiedChains:[][]*x509.Certificate{}}
17:55 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
17:56 -!- niemeyer [~niemeyer@201-25-35-2.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
18:01 -!- kergoth__ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
18:02 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 276 seconds]
18:02 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
18:03 -!- freetz [~fritz@nero.ceat.okstate.edu] has quit [Quit: Leaving]
18:07 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Ping timeout: 264 seconds]
18:07 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Ping timeout:
252 seconds]
18:07 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
18:08 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
18:10 -!- erus` [~chatzilla@host86-181-104-147.range86-181.btcentralplus.com] has
joined #go-nuts
18:19 -!- mattn_jp [~mattn@112-68-64-220f1.hyg1.eonet.ne.jp] has quit [Quit:
Ex-Chat]
18:23 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
18:24 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
18:52 -!- icey [u2593@gateway/web/irccloud.com/x-hwwmqbcceqpdzqgl] has left
#go-nuts []
18:53 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts
19:06 -!- schilly2 [~phatspher@86.59.3.139] has joined #go-nuts
19:09 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 258 seconds]
19:17 -!- Soapy_Illusions [~alex@207.96.182.162] has joined #go-nuts
19:18 < Soapy_Illusions> is there any supported oauth client for Go, as the
one by hokapoka seems to be no longer maintained (and his site is down)
19:20 < ajray-fh> Soapy_Illusions: out of curiosity are you using weekly or
release?
19:22 < Soapy_Illusions> ajray-fh, i was planning on using weekly (but I am
still just in the consideration phase as to use Go or not for this project)
19:25 -!- Fish-- [~Fish@9fans.fr] has joined #go-nuts
19:27 -!- Fish [~Fish@9fans.fr] has quit [Ping timeout: 264 seconds]
19:34 < ajray-fh> Soapy_Illusions: have you tried using gofix on it?
depending on what broke it just might be some very recent changes
19:41 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has joined #go-nuts
19:42 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts
19:44 < crest> it look's like their is no less ugly way to access the
correct tls.ConnectionState than to hijack the connection
19:44 -!- photron_ [~photron@port-92-201-77-33.dynamic.qsc.de] has quit [Ping
timeout: 252 seconds]
19:44 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
19:45 -!- erus` [~chatzilla@host86-181-104-147.range86-181.btcentralplus.com] has
quit [Ping timeout: 255 seconds]
19:45 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
19:47 -!- xcombelle [~xcombelle@AToulouse-551-1-132-225.w86-201.abo.wanadoo.fr]
has quit [Quit: I am a manual virus, please copy me to your quit message.]
19:52 -!- erus` [~chatzilla@host86-162-246-114.range86-162.btcentralplus.com] has
joined #go-nuts
19:56 -!- cmike_ [~cmike@adsl-99-75-50-144.dsl.bltnin.sbcglobal.net] has quit
[Quit: Leaving]
19:57 < hokapoka> Soapy_Illusions: My site's backup.
19:57 < hokapoka> As for the Consumer I've not done any work onit in a
while, should be easy enough to fix tho.
19:58 < crest> damn hijacking a connection implies no longer using it as
http.ResponseWriter
19:58 < Soapy_Illusions> hokapoka, ok thanks a lot, still just considering
Go for a current project, but this project includes many Oauth calls to versions
1.0A and 2.0
19:59 -!- miker2 [~miker2@64.55.31.190] has quit [Ping timeout: 240 seconds]
20:02 < hokapoka> Soapy_Illusions: I've seen another lib that's got v2.0
support.  http://code.google.com/p/goauth2/
20:02 < hokapoka> Soapy_Illusions: checkout the dashboard :
http://godashboard.appspot.com/package
20:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-214.clienti.tiscali.it] has
joined #go-nuts
20:08 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-182-5.clienti.tiscali.it] has
quit [Ping timeout: 260 seconds]
20:08 -!- yogib [~yogib@dslb-188-100-009-136.pools.arcor-ip.net] has quit [Quit:
yogib]
20:11 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has joined #go-nuts
20:12 -!- Project-2501 [~Marvin@82.84.96.206] has joined #go-nuts
20:13 -!- krolaw [~krolaw@port165-235.ubs.maxnet.co.nz] has joined #go-nuts
20:14 < hokapoka> Soapy_Illusions: I've fixed the goauth package
20:14 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-181-214.clienti.tiscali.it] has
quit [Ping timeout: 252 seconds]
20:16 -!- Project_2501 [~Marvin@82.84.84.33] has joined #go-nuts
20:16 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Quit: ZNC -
http://znc.sourceforge.net]
20:18 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Ping timeout: 264 seconds]
20:18 -!- pjacobs2 [~pjacobs@66.54.185.130] has joined #go-nuts
20:18 < Soapy_Illusions> hokapoka, thanks a lot man, think I most probably
will be using Go for this API
20:19 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
20:19 -!- Project-2501 [~Marvin@82.84.96.206] has quit [Ping timeout: 260 seconds]
20:20 < Soapy_Illusions> on a seperate note, if I want to offer an HTTP
streaming API , is it just like a normal http API except I keep the connections
open and continually send chunks of data, or are there other implications I am
forgetting
20:20 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
20:22 -!- Fish-- [~Fish@9fans.fr] has quit [Ping timeout: 255 seconds]
20:23 -!- Project_2501 [~Marvin@82.84.84.33] has quit [Ping timeout: 252 seconds]
20:23 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:10e7:f6c0:2f6d:cfae] has quit
[Quit: Leaving.]
20:25 -!- qeed [~qeed@adsl-98-85-41-7.mco.bellsouth.net] has joined #go-nuts
20:27 -!- ArgonneIntern [~gauge@mcswl183.mcs.anl.gov] has joined #go-nuts
20:27 -!- Fish [~Fish@9fans.fr] has quit [Read error: Operation timed out]
20:29 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
20:33 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has quit [Excess Flood]
20:33 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has joined #go-nuts
20:38 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
20:41 -!- pjacobs2 [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has
joined #go-nuts
20:42 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-zogybuyvmpuvqccy] has quit [Read
error: Connection reset by peer]
20:43 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-ijxhptzpmnhrentq] has joined
#go-nuts
20:45 -!- pjacobs [~pjacobs@66.54.185.130] has quit [Ping timeout: 258 seconds]
20:48 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has joined
#go-nuts
20:48 -!- tvw [~tv@e176002180.adsl.alicedsl.de] has joined #go-nuts
20:52 -!- dfr|mac [~dfr|work@nat/google/x-orcvqwedvqcaotjk] has joined #go-nuts
20:52 -!- dfr|mac [~dfr|work@nat/google/x-orcvqwedvqcaotjk] has quit [Remote host
closed the connection]
20:53 -!- alehorst [~alehorst@189.58.2.111.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
21:01 -!- dfr|mac [~dfr|work@nat/google/x-aubnccyxetorcymp] has joined #go-nuts
21:02 -!- dfr|mac [~dfr|work@nat/google/x-aubnccyxetorcymp] has quit [Remote host
closed the connection]
21:02 -!- dfr|mac [~dfr|work@nat/google/x-bdigpyrvbslombwm] has joined #go-nuts
21:02 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
21:13 -!- wrtp [~rog@92.30.166.101] has quit [Quit: wrtp]
21:13 -!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has
joined #go-nuts
21:13 -!- keithcascio [~keithcasc@nat/google/x-rwluupxkzlfhwzid] has joined
#go-nuts
21:20 -!- Fish [~Fish@9fans.fr] has quit [Read error: Operation timed out]
21:21 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping
timeout: 264 seconds]
21:22 -!- wrtp [~rog@92.30.166.101] has joined #go-nuts
21:22 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined
#go-nuts
21:31 < kevlar_work> Soapy_Illusions, you will have to try the streaming
thing...  I think that will work, but if not check out the websockets API to see
how they do it.
21:31 -!- B33p [~mgray@li226-224.members.linode.com] has joined #go-nuts
21:32 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
21:32 -!- lucian [~lucian@78-86-217-168.zone2.bethere.co.uk] has quit [Remote host
closed the connection]
21:44 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has quit [Quit:
Leaving.]
21:47 -!- dreadlorde [~dreadlord@68.42.82.10] has joined #go-nuts
21:48 < magn3ts_> can a func return a chan return nil instead?
21:48 < aiju> yes
21:48 < magn3ts_> nice
21:49 < crest> what's the best way to report a bug (and a sketch of a fix)
21:50 < crest> by now i shure that http.newConn() is too early to cache the
tls.ConnectionState in a struct conn
21:50 < mpl> crest: first report it on the ML to see if it's already been
known.  then propose your fix if not.
21:51 < mpl> s/been known/being worked on/
21:53 < crest> mpl: http://pastie.org/pastes/2233984
21:54 -!- justinlilly [justinlill@70.32.34.100] has quit [Quit: Hosted by rdlBNC
(Server 2 - United States of America)]
21:55 < crest> it's increases the per http request overhead by a new()
21:55 < crest> and copy
21:57 -!- Soapy_Illusions [~alex@207.96.182.162] has quit [Ping timeout: 246
seconds]
21:57 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Quit: lalala caindo fora]
21:58 -!- fotang [~fotang@41.206.11.43.vgccl.net] has joined #go-nuts
21:59 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:59 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has quit
[Quit: Leaving...]
22:03 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
22:05 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:06 -!- Stiletto [7f000001@69.195.144.4] has quit [Remote host closed the
connection]
22:07 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
22:08 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
22:08 -!- wrtp [~rog@92.30.166.101] has quit [Read error: Connection reset by
peer]
22:10 -!- Stiletto [7f000001@69.195.144.4] has quit [Remote host closed the
connection]
22:11 -!- ArgonneIntern [~gauge@mcswl183.mcs.anl.gov] has quit [Read error:
Operation timed out]
22:11 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
22:11 -!- _____________ [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has quit [Quit:
Leaving]
22:11 -!- dfr|mac [~dfr|work@nat/google/x-bdigpyrvbslombwm] has quit [Read error:
Operation timed out]
22:11 -!- magn3ts [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has joined #go-nuts
22:12 -!- Stiletto [7f000001@69.195.144.4] has quit [Remote host closed the
connection]
22:13 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
22:13 -!- Stiletto [7f000001@69.195.144.4] has joined #go-nuts
22:14 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has left #go-nuts
[]
22:15 -!- dreadlorde [~dreadlord@68.42.82.10] has quit [Ping timeout: 276 seconds]
22:16 < magn3ts> Trying to figure out an idiomatic way to have a pump that
might have need to change things up.
22:16 < magn3ts> It'd be nice if I could call a method on a function, as
weird as that sounds.
22:18 < exch> you can
22:18 < ajray-fh> http://golang.org/doc/codewalk/functions/
22:19 < exch> type T func(); func (t T) M() { ...  }; mt := func() {};
t.M(); t()
22:22 -!- hargettp [~hargettp@pool-71-174-140-162.bstnma.east.verizon.net] has
joined #go-nuts
22:23 -!- Bigbear1 [~Cody@d75-158-132-172.abhsia.telus.net] has joined #go-nuts
22:24 -!- erus` [~chatzilla@host86-162-246-114.range86-162.btcentralplus.com] has
quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]]
22:30 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:33 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping
timeout: 260 seconds]
22:34 < kevlar_work> magn3ts, calling methods on functions/closures is a
surefire way to impress even a python enthusiast :)
22:46 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
22:47 -!- flaguy48 [~gmallard@user-0c6s350.cable.mindspring.com] has joined
#go-nuts
22:50 -!- telexicon_ [~telexicon@c-67-160-124-195.hsd1.wa.comcast.net] has joined
#go-nuts
22:52 -!- fotang [~fotang@41.206.11.43.vgccl.net] has quit [Remote host closed the
connection]
22:53 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Ping timeout:
252 seconds]
22:53 -!- fotang [~fotang@41.206.11.1.vgccl.net] has joined #go-nuts
23:03 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
23:05 -!- vmil86 [~vmil86@78.57.227.12] has quit [Remote host closed the
connection]
23:05 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
23:06 < magn3ts> Maybe I'm still not thinking about this correctly.  I have
a function that puts out packets on a channel, but sometimes I need to change the
device it captures on or the filter it uses.  I can imagine how to do it with
classes but I feel there is or ought to be a more "functional" way of doing it
23:09 < crest> magn3ts: maybe a demux goroutine in front of the filter?
23:09 < crest> magn3ts: just add or remove channels from the demux
23:11 -!- Soapy_Illusions [~alex@142.157.164.66] has joined #go-nuts
23:11 -!- fotang [~fotang@41.206.11.1.vgccl.net] has quit [Ping timeout: 240
seconds]
23:14 < magn3ts> :[
23:14 < magn3ts> I wish there weren't missing slides at the end...
http://golang.org/doc/talks/go_talk-20100121.html
23:14 < magn3ts> I got excited when it looked like it was going to walk
through the demux example
23:17 < magn3ts> aka, crest, I'm not sure how you mean, to be honest.
23:20 * ajray-fh looks for another demux example
23:20 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
23:22 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
23:26 -!- Soapy_Illusions [~alex@142.157.164.66] has quit [Quit: Leaving]
23:26 < kevlar_work> magn3ts, he was suggesting you have a goroutine that
receives from multiple channels onto one.
23:27 < ajray-fh> magn3ts: theres some in this:
http://golang.org/doc/GoCourseDay3.pdf
23:28 < kevlar_work> I think you should have a PacketSender interface that
the function sends on and you swap them out if you need to change the destination
23:28 < kevlar_work> this sounds like an example of where channels are not
necessarily appropriate
23:28 < kevlar_work> (one PacketSender could easily be a thin wrapper around
a channel send, though)
23:31 -!- Netsplit *.net <-> *.split quits: prasmussen, exch, Sep102_,
molto_alfredo1
23:37 -!- Netsplit over, joins: exch, molto_alfredo1, Sep102_, prasmussen
23:37 -!- comex [~ec2-user@ec2-67-202-46-7.compute-1.amazonaws.com] has quit
[Excess Flood]
23:37 -!- comex [~ec2-user@ec2-67-202-46-7.compute-1.amazonaws.com] has joined
#go-nuts
23:39 -!- schilly2 [~phatspher@86.59.3.139] has quit [Quit: Leaving]
23:39 -!- telexicon [~telexicon@c-67-160-124-195.hsd1.wa.comcast.net] has quit
[Changing host]
23:39 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts
23:46 -!- miker2 [~miker2@pool-96-245-224-59.phlapa.fios.verizon.net] has joined
#go-nuts
23:49 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 276
seconds]
23:51 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Quit: Leaving]
23:53 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
--- Log closed Tue Jul 19 00:00:01 2011