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

--- Log opened Sun Apr 18 00:00:00 2010
--- Day changed Sun Apr 18 2010
00:00 < stage2> http://www2.research.att.com/~bs/interviews.html
00:03 -!- melba [~blee@unaffiliated/lazz0] has quit [Read error: Connection reset
by peer]
00:08 -!- marsu [~marsu@17.78.202-77.rev.gaoland.net] has quit [Quit: Leaving]
00:12 -!- stage2 [~ryan@unaffiliated/stagedsh] has quit [Quit: leaving]
00:15 -!- gnuvince [~vince@64.235.212.25] has quit [Ping timeout: 276 seconds]
00:17 -!- NinoScript [~Adium@190.163.107.51] has quit [Quit: Leaving.]
00:17 -!- gnuvince [~vince@70.35.166.147] has joined #go-nuts
00:19 < uriel> exch: does it matter if it is 'real' or not?  what it says in
it is true enough
00:20 < exch> oh I absolutely agree that c++ is the spawn of satan himself,
but still it would have added that extra bit of 'See, I knew it!!' feeling :p
00:42 -!- gnuvince_ [~vince@70.35.170.183] has joined #go-nuts
00:42 -!- tor5 [~tor@c-c17071d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Quit: tor5]
00:44 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has joined #go-nuts
00:45 -!- gnuvince [~vince@70.35.166.147] has quit [Ping timeout: 252 seconds]
00:54 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined
#go-nuts
00:56 -!- bmizerany [~bmizerany@76-218-213-138.lightspeed.sntcca.sbcglobal.net]
has joined #go-nuts
00:59 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts
01:03 < hstimer> what is the minimum byte overhead for a go routine and
channel?
01:07 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
01:10 < uriel> hstimer: what you mean by 'minimum byte overhead'?
01:13 < hstimer> when you do 'go foo()' there is some kind of data structure
created to hold a reference to foo() and various go routine stuff.  How big is it?
01:13 < hstimer> and how big is a channel with nothing in it?
01:14 < hstimer> this is the basic programming model overhead that if you
were creating a simulation with millions of go routines
01:17 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
01:31 -!- kanru [~kanru@61-228-145-6.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.1.1]
01:40 -!- gnuvince [~vince@70.35.170.183] has quit [Ping timeout: 246 seconds]
01:42 -!- gnuvince [~vince@70.35.162.82] has joined #go-nuts
01:44 -!- kssreeram [~kssreeram@122.174.139.125] has quit [Quit: kssreeram]
01:45 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
01:53 -!- anticop [tritao@a81-84-26-232.cpe.netcabo.pt] has joined #go-nuts
01:54 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has quit [Ping
timeout: 252 seconds]
01:55 -!- lloyda2 [~adam@lloyda2.stu.rpi.edu] has quit [Read error: Operation
timed out]
01:57 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
02:06 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Read error: Connection reset by peer]
02:06 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
02:07 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Read error: Connection reset by peer]
02:15 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
02:15 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Quit:
Connection reset by peer.]
02:22 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Quit: (
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )]
02:39 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
02:40 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
02:46 -!- aho [~nya@f052221029.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
03:02 -!- aho [~nya@f051083041.adsl.alicedsl.de] has joined #go-nuts
03:07 -!- pvh [~pvh@76-218-213-138.lightspeed.sntcca.sbcglobal.net] has joined
#go-nuts
03:13 -!- ACh [~leo@pc-225-74-74-200.cm.vtr.net] has joined #go-nuts
03:18 -!- Wiz126 [Wiz126@72.20.220.115] has quit [Ping timeout: 240 seconds]
03:24 -!- ACh [~leo@pc-225-74-74-200.cm.vtr.net] has quit [Quit: leaving]
03:28 -!- ACh [~leo@pc-225-74-74-200.cm.vtr.net] has joined #go-nuts
03:32 -!- ACh [~leo@pc-225-74-74-200.cm.vtr.net] has quit [Client Quit]
03:47 -!- Wiz126 [Wiz126@72.20.220.115] has joined #go-nuts
03:55 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
03:59 -!- pvh [~pvh@76-218-213-138.lightspeed.sntcca.sbcglobal.net] has quit
[Quit: pvh]
04:09 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 265 seconds]
04:09 -!- bmizerany [~bmizerany@76-218-213-138.lightspeed.sntcca.sbcglobal.net]
has quit [Remote host closed the connection]
04:15 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
04:16 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
04:36 -!- zyichi [~zyichi@124.205.180.154] has joined #go-nuts
04:47 -!- gnuvince_ [~vince@70.35.167.173] has joined #go-nuts
04:50 -!- gnuvince [~vince@70.35.162.82] has quit [Ping timeout: 276 seconds]
05:00 -!- scm [justme@c162198.adsl.hansenet.de] has quit [Read error: Operation
timed out]
05:05 -!- scm [justme@c178015.adsl.hansenet.de] has joined #go-nuts
05:22 -!- ikaros [~ikaros@g226148162.adsl.alicedsl.de] has joined #go-nuts
05:25 -!- OpenSpace [~ja@93.86.67.200] has quit [Remote host closed the
connection]
05:57 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Quit: leaving]
05:57 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
05:59 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Client Quit]
06:00 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
06:05 -!- drry [~drry@unaffiliated/drry] has quit [Quit: Tiarra 0.1+svn-37177M:
SIGTERM received; exit]
06:20 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
06:22 -!- ikaros [~ikaros@g226148162.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
06:24 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Quit: leaving]
06:24 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
06:26 -!- fusion44 [~quassel@p5B286A13.dip.t-dialin.net] has joined #go-nuts
06:29 -!- kssreeram [~kssreeram@122.174.139.125] has joined #go-nuts
06:30 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
06:39 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
06:40 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
06:40 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
06:48 -!- OpenSpace [~ja@93.86.226.23] has joined #go-nuts
06:51 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
06:51 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:58 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
06:59 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Remote host closed
the connection]
07:03 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 245 seconds]
07:05 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout:
276 seconds]
07:10 -!- anticw [~anticw@c-67-169-41-113.hsd1.ca.comcast.net] has joined #go-nuts
07:22 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
07:23 -!- pjm0616 [~user@61.250.113.98] has quit [Read error: Operation timed out]
07:23 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:23 -!- jeek [~jeek@pedobear.jeek.net] has quit [Read error: Operation timed
out]
07:23 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts
07:24 -!- jeek [~jeek@pedobear.jeek.net] has joined #go-nuts
07:27 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
07:28 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
07:30 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
07:32 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
07:43 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
07:47 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
07:51 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has joined #go-nuts
07:54 -!- d_m_ [~d_m@207.245.124.125] has joined #go-nuts
07:55 -!- meatmanek_ [~meatmanek@mesingw.student.cwru.edu] has joined #go-nuts
07:55 -!- nf_ [~nf@124-168-148-186.dyn.iinet.net.au] has joined #go-nuts
07:55 -!- Netsplit *.net <-> *.split quits: d_m, nighty^, nf, grahame,
tokuhirom, Zoopee, meatmanek, samferry, tsung_
07:56 -!- Xeon [~chatzilla@74.86.150.154] has joined #go-nuts
07:56 -!- tsung [~jon@112.104.53.151] has joined #go-nuts
07:58 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
07:59 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
08:03 -!- grahame [~grahame@billy.angrygoats.net] has joined #go-nuts
08:26 -!- OpenSpace [~ja@93.86.226.23] has quit [Ping timeout: 264 seconds]
08:36 -!- NoPyGod [~no@122-57-174-147.jetstream.xtra.co.nz] has joined #go-nuts
08:38 -!- OpenSpace [~ja@93.86.142.30] has joined #go-nuts
08:48 -!- NoPyGod [~no@122-57-174-147.jetstream.xtra.co.nz] has quit []
09:00 -!- samferry [sam@invidia.samferry.net] has joined #go-nuts
09:00 -!- Xeon_ [~chatzilla@222.73.189.44] has joined #go-nuts
09:03 -!- Xeon [~chatzilla@74.86.150.154] has quit [Ping timeout: 268 seconds]
09:05 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Remote
host closed the connection]
09:07 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has joined
#go-nuts
09:25 -!- pjm0616 [~user@61.250.113.98] has quit [Ping timeout: 260 seconds]
09:25 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts
09:31 -!- Kashia [~Kashia@p4FEB563C.dip.t-dialin.net] has quit [Quit: Leaving]
09:43 -!- ayo [~nya@e180235013.adsl.alicedsl.de] has joined #go-nuts
09:46 -!- aho [~nya@f051083041.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
09:56 -!- Xeon [~chatzilla@222.73.189.44] has quit [Ping timeout: 276 seconds]
09:56 -!- zyichi [~zyichi@124.205.180.154] has left #go-nuts []
09:57 -!- lux` [lucs@151.95.163.239] has joined #go-nuts
09:57 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
joined #go-nuts
10:02 -!- jimki_ [jmaki@sisapiiri.net] has quit [Quit: leaving]
10:18 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has joined #go-nuts
10:18 -!- dju [~dju@sd-13356.dedibox.fr] has quit [Quit: Quitte]
10:20 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
10:21 -!- ayo [~nya@e180235013.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
10:22 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:26 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 252 seconds]
10:31 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
11:02 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has joined #go-nuts
11:02 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has quit [Quit: gpciceri]
11:03 < micrypt> Is there anything resembling a Go style guide?
11:04 -!- dju [~dju@89-158-252-87.rev.dartybox.com] has joined #go-nuts
11:04 < JBeshir> micrypt: gofmt
11:05 < JBeshir> Instead of a document prone to human interpretation, gofmt
takes code in and spits good code out.
11:05 < micrypt> JBeshir: Thanks
11:05 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has joined #go-nuts
11:21 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has quit [Quit: gpciceri]
11:24 < exch> also helpful for auto-fixing your existing code when something
has changed in a new release
11:35 -!- tor5 [~tor@c-c17071d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
11:41 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
11:45 -!- kanru [~kanru@61-228-145-6.dynamic.hinet.net] has joined #go-nuts
11:53 -!- aowi [~arkanoid@exherbo/developer/arkanoid] has left #go-nuts []
11:55 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
11:55 < fenicks> hello
12:06 < exch> ello
12:08 < micrypt> llo
12:09 < andreer> lo
12:10 -!- Xeon [~chatzilla@222.73.189.44] has joined #go-nuts
12:10 -!- AmirMohammad [~amir@unaffiliated/gluegadget] has quit [Ping timeout: 240
seconds]
12:14 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
12:25 -!- dju [~dju@89-158-252-87.rev.dartybox.com] has quit [Quit: Quitte]
12:27 -!- ikaros [~ikaros@g226148162.adsl.alicedsl.de] has joined #go-nuts
12:28 -!- dju [~dju@sd-13356.dedibox.fr] has joined #go-nuts
12:43 -!- bert2_ [~IceChat7@p4FDC9F62.dip.t-dialin.net] has joined #go-nuts
12:43 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
12:48 -!- dju [~dju@sd-13356.dedibox.fr] has quit [Quit: Quitte]
12:50 -!- ahf [ahf@irssi/staff/ahf] has joined #go-nuts
12:50 * ahf waves and says hello.
12:50 -!- dju [dju@sd-13356.dedibox.fr] has joined #go-nuts
12:56 -!- zyichi [~zyichi@113.44.0.68] has joined #go-nuts
13:06 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has quit [Ping
timeout: 240 seconds]
13:16 -!- ShadowIce` [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
13:19 -!- ikaros [~ikaros@g226148162.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
13:19 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout:
268 seconds]
13:22 -!- lux` [lucs@151.95.163.239] has quit [Ping timeout: 268 seconds]
13:40 -!- Xurix [~Luixsia@AToulouse-254-1-34-53.w81-250.abo.wanadoo.fr] has quit
[Read error: Connection reset by peer]
13:52 -!- bert2_ [~IceChat7@p4FDC9F62.dip.t-dialin.net] has quit [Ping timeout:
268 seconds]
13:52 -!- bert2_ [~IceChat7@p4FDC9F62.dip.t-dialin.net] has joined #go-nuts
14:12 -!- soswow [~alekmot@sa-84-52-17-32.saturn.infonet.ee] has joined #go-nuts
14:18 -!- AmirMohammad [~amir@unaffiliated/gluegadget] has joined #go-nuts
14:20 -!- lux` [~lux`@151.95.191.32] has joined #go-nuts
14:25 -!- truchisoft [~Wally@186.124.210.168] has joined #go-nuts
14:26 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has joined #go-nuts
14:28 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.15/2009101909]]
14:29 -!- alehorst [~alehorst@187.59.76.171] has joined #go-nuts
14:31 -!- truchisoft [~Wally@186.124.210.168] has quit [Quit: Leaving.]
14:34 -!- Xurix [~Luixsia@AToulouse-254-1-34-53.w81-250.abo.wanadoo.fr] has joined
#go-nuts
14:39 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
14:40 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
14:42 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
joined #go-nuts
14:44 -!- surma [~surma@77-21-87-176-dynip.superkabel.de] has joined #go-nuts
14:50 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
14:54 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
14:57 -!- Wiz126 [Wiz126@72.20.220.115] has quit [Ping timeout: 258 seconds]
15:10 -!- Xurix [~Luixsia@AToulouse-254-1-34-53.w81-250.abo.wanadoo.fr] has quit
[Remote host closed the connection]
15:12 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has quit [Quit:
Leaving.]
15:14 -!- no_mind [~orion@122.163.55.54] has joined #go-nuts
15:20 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has joined #go-nuts
15:26 < micrypt> Hi, looking for guidance on resources related to basic
authentication in Go. Any suggestions?
15:27 -!- bert2_ [~IceChat7@p4FDC9F62.dip.t-dialin.net] has quit [Ping timeout:
246 seconds]
15:33 < uriel> micrypt: you mean http's basic auth?  or something else?
15:33 < micrypt> uriel: http basic auth
15:34 < micrypt> uriel: looking through go-twitter's implementation now
though.  I think I should be okay.  Thanks.
15:36 -!- ikaros [~ikaros@g226157242.adsl.alicedsl.de] has joined #go-nuts
15:37 -!- smw [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Remote host
closed the connection]
15:39 -!- Xurix [~Luixsia@AToulouse-254-1-34-53.w81-250.abo.wanadoo.fr] has joined
#go-nuts
15:42 -!- ikaros [~ikaros@g226157242.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
15:51 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
16:00 -!- thehumph [~andrew@5ac2f5ea.bb.sky.com] has joined #go-nuts
16:04 -!- alehorst [~alehorst@187.59.76.171] has quit [Ping timeout: 248 seconds]
16:06 -!- alehorst [~alehorst@187.59.16.238] has joined #go-nuts
16:13 -!- nocturnal [~nocturnal@83.209.24.174] has joined #go-nuts
16:18 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
16:20 < nocturnal> http://pastebin.com/5MhpQ4pJ i'm trying to learn how you
replaced the select(2) procedure of adding file descriptors to poll, using
goroutines.  but i'm failing to understand how they're used.  can anyone give me
some pointers?
16:23 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has joined #go-nuts
16:23 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
16:28 < kimelto> morning!
16:28 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
16:29 -!- cmarcelo [~cmarcelo@187.113.107.159] has joined #go-nuts
16:29 -!- cmarcelo [~cmarcelo@187.113.107.159] has quit [Changing host]
16:29 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
16:30 < nocturnal> good evening to you kimelto =)
16:34 -!- hstimer [~hstimer@2002:62ea:197d:0:226:bbff:fe05:dd9b] has quit [Quit:
hstimer]
16:35 -!- soswow [~alekmot@sa-84-52-17-32.saturn.infonet.ee] has quit [Read error:
Connection reset by peer]
16:36 < jessta> nocturnal: get rid of that for{} and put it in _read and
_write around the switch
16:36 < jessta> nocturnal: something like, http://pastebin.com/EVpSEzrr
16:43 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
16:47 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:49 < nocturnal> jessta: thank you, you have been very helpful on the
mailing list too, i recognize your nick name =)
16:50 < nocturnal> so basically i need channels, even if i don't want to
communicate data, i need them to wait
16:50 < nocturnal> i thought i'd be able to do it without channels, at least
for simple i/o
16:52 < jessta> it's just that when the main goroutine finishes it kills all
the other goroutines
16:53 < jessta> so you have to block it with something
16:54 < jessta> you could just remove the 'go' from one of the calls to
_read() or _write()
16:54 < nocturnal> ok i see, i'll give it another shot.  thank you.  i'm
just used to looping forever and polling but i guess you're moving away from this
model with goroutines.
16:55 < nocturnal> one thing i don't understand about your code on pastebin,
how do the spawned goroutines know about exitchan?  is that some sort of standard
name?
16:56 < nocturnal> i really need to learn more about channels
16:56 < jessta> nah
16:57 < nocturnal> looks like a trick to make the main goroutine wait, as if
exitchan doesn't do anything but wait because there is no one that uses it.
16:57 < jessta> yep
16:57 < nocturnal> oh i see
16:58 < jessta> it's reading from a channel that will never be writen too
16:58 < jessta> so it will block forever
16:58 < nocturnal> so if a goroutine wrote to this exitchan the main routine
would exit
16:58 < nocturnal> thanks for that explanation, it helped a great deal
16:59 < jessta> if something wrote to the exitchan the main goroutine would
continue and exit
17:02 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:09 < nocturnal> works perfectly now jessta, i appreciate your patience
with me =) i made catchInterrupt return by setting the wait channel to true
instead of using os.Exit, also put the read and write operations in for loops
within their indivudal functions, i call the first with a goroutine and let the
second run in the main routine.  works perfectly
17:09 < nocturnal> finally i learned that.
17:18 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts
17:24 -!- micrypt [~micrypt@41-184-21-79.rv.ipnxtelecoms.com] has quit [Ping
timeout: 276 seconds]
17:28 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
17:29 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts []
17:30 -!- fusion44 [~quassel@p5B286A13.dip.t-dialin.net] has quit [Remote host
closed the connection]
17:32 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has quit [Quit: gpciceri]
17:33 -!- bechmoul [~joel@lolnet.org] has left #go-nuts []
17:38 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
17:43 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
17:44 -!- cmarcelo [~cmarcelo@187.113.107.159] has joined #go-nuts
17:44 -!- cmarcelo [~cmarcelo@187.113.107.159] has quit [Changing host]
17:44 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
17:47 -!- az_ordog_maga [~lzskiss@netacc-gpn-4-86-77.pool.pannon.hu] has joined
#go-nuts
17:47 < az_ordog_maga> aloha
17:48 -!- gnuvince_ [~vince@70.35.167.15] has joined #go-nuts
17:48 < az_ordog_maga> anybody?
17:49 < jessta> az_ordog_maga: hi
17:51 -!- gnuvince [~vince@70.35.167.173] has quit [Ping timeout: 252 seconds]
17:51 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
17:52 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
17:59 < az_ordog_maga> what is the prefered programer's editor for the go?
17:59 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
17:59 < nocturnal> whatever you work best in would be my answer =D
18:00 < az_ordog_maga> :D
18:00 < nocturnal> but if you look in $GOROOT/misc you'll see some files for
various editors
18:00 < nocturnal> so one of those editors would have better golang support
than others
18:00 < nocturnal> for example i use vim with the supplied vim syntax file
from the golang developers.
18:01 < az_ordog_maga> hmm
18:01 < az_ordog_maga> vim is ok for me
18:02 < az_ordog_maga> can u use the dbms with go?
18:02 < hstimer> textmate
18:02 < az_ordog_maga> nope teddyos
18:03 < az_ordog_maga> :)
18:04 < hstimer> http://go-lang.cat-v.org/text-editors/
18:05 < jessta> az_ordog_maga: dbms?
18:05 < hstimer> I use this bundle --
http://github.com/AlanQuatermain/go-tmbundle
18:07 < az_ordog_maga> dbms like mysql postgresql
18:08 < jessta> az_ordog_maga: http://go-lang.cat-v.org/pure-go-libs
18:09 < az_ordog_maga> ok ok
18:09 < az_ordog_maga> open the link:)
18:10 < az_ordog_maga> thx for the answers
18:10 < az_ordog_maga> this is a good community quick and friendly:)
18:12 < jessta> yeah, we're here every week, tell your friends
18:18 < az_ordog_maga> hmm hmm
18:18 -!- nocturnal [~nocturnal@83.209.24.174] has left #go-nuts []
18:19 -!- gpciceri [~gpciceri@host84-117-dynamic.8-87-r.retail.telecomitalia.it]
has joined #go-nuts
18:21 -!- gpciceri [~gpciceri@host84-117-dynamic.8-87-r.retail.telecomitalia.it]
has quit [Client Quit]
18:24 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
18:27 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
18:40 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 248 seconds]
18:47 -!- az_ordog_maga [~lzskiss@netacc-gpn-4-86-77.pool.pannon.hu] has quit
[Quit: Lost terminal]
18:51 -!- gnuvince [~vince@70.35.168.210] has joined #go-nuts
18:54 -!- gnuvince_ [~vince@70.35.167.15] has quit [Ping timeout: 264 seconds]
19:05 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has joined #go-nuts
19:14 -!- aho [~nya@e180235013.adsl.alicedsl.de] has joined #go-nuts
19:27 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
19:28 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
19:29 -!- thehumph [~andrew@5ac2f5ea.bb.sky.com] has quit [Quit: Leaving]
19:33 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Remote
host closed the connection]
19:39 -!- gnuvince_ [~vince@70.35.167.183] has joined #go-nuts
19:40 -!- gnuvince [~vince@70.35.168.210] has quit [Ping timeout: 265 seconds]
19:40 -!- Xurix [~Luixsia@AToulouse-254-1-34-53.w81-250.abo.wanadoo.fr] has quit
[Read error: Connection reset by peer]
19:43 -!- surma [~surma@77-21-87-176-dynip.superkabel.de] has quit [Quit:
Leaving.]
19:50 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined
#go-nuts
20:01 -!- KingOfKarlsruhe [~nice@p5B1323D7.dip.t-dialin.net] has joined #go-nuts
20:15 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
20:16 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
20:21 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
20:26 -!- _| [~joe@pdpc/supporter/student/joeDeuce] has joined #go-nuts
20:28 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 260 seconds]
20:36 -!- zyichi [~zyichi@113.44.0.68] has quit [Quit: zyichi]
20:45 -!- Wiz126 [Wiz126@72.20.220.179] has joined #go-nuts
20:46 -!- bmizerany [~bmizerany@adsl-68-127-146-142.dsl.pltn13.pacbell.net] has
joined #go-nuts
20:50 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
20:59 -!- bmizerany [~bmizerany@adsl-68-127-146-142.dsl.pltn13.pacbell.net] has
quit [Ping timeout: 240 seconds]
21:04 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
21:06 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:12 < gpciceri> hi all, any goconf expert here?
21:16 < gpciceri> I've found that if a configuration file ends with an empty
line, the reader freezes
21:17 < gpciceri> and I'd like to know if anyone has already found this
behaviour
21:26 -!- gnuvince [~vince@64.235.207.220] has joined #go-nuts
21:30 -!- gnuvince_ [~vince@70.35.167.183] has quit [Ping timeout: 276 seconds]
21:30 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
21:39 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Remote host
closed the connection]
21:40 -!- allengeorge [~allengeor@74.12.151.31] has joined #go-nuts
21:44 -!- Guest99733 [sam@invidia.samferry.net] has quit [Quit: leaving]
21:44 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
21:51 < plexdev> http://is.gd/bywQ2 by [Russ Cox] in go/src/pkg/json/ --
json: scanner, Compact, Indent, and tests
21:51 < plexdev> http://is.gd/bywQb by [Michael Hoisie] in go/src/pkg/net/
-- net: fix bugs in packStructValue
21:53 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:57 -!- ShadowIce` [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:04 -!- xspager [~dlemos@187-16-152-35.turbonet.inf.br] has joined #go-nuts
22:09 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has quit [Remote host
closed the connection]
22:10 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
22:22 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit [Quit: This
computer has gone to sleep]
22:22 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
22:23 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Quit: Changing server]
22:23 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
22:23 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Client Quit]
22:24 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
22:24 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping
timeout: 265 seconds]
22:26 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 268 seconds]
22:27 -!- KingOfKarlsruhe [~nice@p5B1323D7.dip.t-dialin.net] has left #go-nuts
["Konversation terminated!"]
22:28 -!- kklimonda [~kklimonda@syntaxhighlighted.com] has joined #go-nuts
22:28 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has left #go-nuts []
22:32 -!- tav [~tav@92.28.228.226] has quit [Ping timeout: 276 seconds]
22:38 < plexdev> http://is.gd/byz6N by [Raif S. Naffah] in 2 subdirs of
go/src/pkg/ -- reflect: add FieldByNameFunc
22:39 -!- tav [~tav@89.240.198.215] has joined #go-nuts
22:42 -!- kklimonda [~kklimonda@syntaxhighlighted.com] has left #go-nuts ["WeeChat
0.3.0"]
22:43 -!- lux` [~lux`@151.95.191.32] has quit [Ping timeout: 264 seconds]
22:46 -!- yaroslav [~yaroslav@ppp91-78-102-156.pppoe.mtu-net.ru] has joined
#go-nuts
22:50 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has joined #go-nuts
22:50 -!- gpciceri [~gpciceri@host234-112-dynamic.10-79-r.retail.telecomitalia.it]
has left #go-nuts []
22:52 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
22:53 -!- niekie [~niek@CAcert/Assurer/niekie] has quit [Read error: Operation
timed out]
22:53 -!- pvh [~pvh@dsl017-119-078.sfo1.dsl.speakeasy.net] has joined #go-nuts
22:55 -!- niekie [~niek@CAcert/Assurer/niekie] has joined #go-nuts
23:01 < pvh> Has anyone looked at netchan since Rob Pike made the
connections bidirectional a few days ago?
23:05 -!- xspager [~dlemos@187-16-152-35.turbonet.inf.br] has left #go-nuts []
23:09 -!- ikaros [~ikaros@g227042253.adsl.alicedsl.de] has joined #go-nuts
23:12 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Ping timeout: 265 seconds]
23:12 -!- kanru [~kanru@61-228-145-6.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.1.1]
23:12 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
23:16 -!- pvh [~pvh@dsl017-119-078.sfo1.dsl.speakeasy.net] has quit [Quit: pvh]
23:17 -!- gnuvince [~vince@64.235.207.220] has quit [Read error: Connection reset
by peer]
23:18 -!- gnuvince [~vince@64.235.201.7] has joined #go-nuts
23:21 -!- wuehlmaus [~wuehlmaus@p4FCC3B97.dip.t-dialin.net] has quit [Ping
timeout: 258 seconds]
23:21 -!- wuehlmaus [~wuehlmaus@p4FCC7CC0.dip.t-dialin.net] has joined #go-nuts
23:22 -!- defectiv [~clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts
23:24 < exch> he did?  nice
23:24 < exch> should check it out
23:24 -!- allengeorge [~allengeor@74.12.151.31] has quit [Remote host closed the
connection]
23:25 -!- pvh [~pvh@dsl017-119-078.sfo1.dsl.speakeasy.net] has joined #go-nuts
23:27 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
23:28 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
23:31 -!- allengeorge [~allengeor@74.12.151.31] has joined #go-nuts
23:37 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
23:46 -!- kobkrit_ [~kobkrit@2001:200:141:6151:224:21ff:fe1e:4d16] has joined
#go-nuts
23:55 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Remote host closed the
connection]
--- Log closed Mon Apr 19 00:00:49 2010