--- Log opened Mon Sep 05 00:00:24 2011
00:04 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
00:08 -!- replore [~replore@203.152.213.161.static.zoot.jp] has joined #go-nuts
00:20 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
00:21 -!- nekoh [~nekoh@dslb-178-004-078-040.pools.arcor-ip.net] has quit [Quit:
nekoh]
00:22 -!- tsung [~jon@112.104.89.101] has quit [Ping timeout: 264 seconds]
00:29 -!- tsung [~jon@175.180.141.107] has joined #go-nuts
00:32 -!- NiteRain [~NiteRain@c-98-254-236-21.hsd1.fl.comcast.net] has quit [Quit:
KVIrc 4.1.1 Equilibrium http://www.kvirc.net/]
00:34 -!- ukai [~ukai@nat/google/x-thdvlkccljaivaaf] has joined #go-nuts
00:42 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
00:42 -!- temoto [~temoto@188.255.19.51] has quit [Ping timeout: 240 seconds]
00:43 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
01:02 -!- yugge [~yugge@taurus.ludd.ltu.se] has joined #go-nuts
01:02 < yugge> Hello
01:04 < yugge> I'm trying to set up a little webserver with Go, and I can't
seem to get relative links working, for example <img
src="[url]/img/banner.png"> works great but <img src="img/banner.png">
doesn't.
01:05 < yugge> I'm guessing it's just me not sending relative requests to a
handler, but I can't find how to match them
01:06 < smw> yugge, did you try /img/banner.png?
01:06 < smw> yugge, that should work...
01:11 < yugge> *facepalms* Yep, that works.  Well, that's good enought.
Thanks!
01:13 -!- bemasher [~bemasher@host-69-146-93-159.lar-wy.client.bresnan.net] has
joined #go-nuts
01:14 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has joined
#go-nuts
01:14 < bemasher> i haven't yet found an equivelant to the Tell() method
used for file IO in other languages in golang yet
01:14 < bemasher> is there such a method?
01:15 < Ginto8> bemasher, I'm not familiar with Tell().  Could you describe
how it's used and what it does?
01:15 -!- franciscosouza [~francisco@187.105.26.180] has quit [Read error:
Connection reset by peer]
01:16 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
01:16 < bemasher> i just need a simple way to determine the current position
in the file while reading data
01:16 < Ginto8> keep track of how much you're read?
01:16 < Ginto8> you've*
01:17 < bemasher> the program i need it for is reading binary data of
arbitrary sizes, so it's not really a trivial sort of thing
01:17 < bemasher> just wondering if there was already a function for this in
the standard library
01:19 < jessta> bemasher: offset, err := file.Seek(0,os.SEEK_CUR)
01:20 -!- franciscosouza [~francisco@187.105.26.180] has quit [Client Quit]
01:20 < bemasher> oh, perfect, thanks jessta
01:27 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts
01:32 -!- Niedar [~dgdfg@host-173-230-2-133.vanodod.clients.pavlovmedia.com] has
quit [Read error: Connection reset by peer]
01:38 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has quit
[Ping timeout: 268 seconds]
01:54 -!- danrzeppa [~danrzeppa@cpe-66-61-15-236.neo.res.rr.com] has quit []
02:04 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has joined
#go-nuts
02:10 -!- nu7hatch_ [~nu7hatch@r190-134-7-157.dialup.adsl.anteldata.net.uy] has
joined #go-nuts
02:10 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has quit
[Quit: infynyxx]
02:13 -!- nu7hatch [~nu7hatch@r190-134-24-155.dialup.adsl.anteldata.net.uy] has
quit [Ping timeout: 250 seconds]
02:13 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined
#go-nuts
02:15 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit
[Client Quit]
02:21 -!- Chile` [~calva@c-76-21-112-88.hsd1.ca.comcast.net] has quit [Quit: Lost
terminal]
02:25 -!- tsung [~jon@175.180.141.107] has quit [Ping timeout: 268 seconds]
02:26 -!- tsung [~jon@175.180.141.57] has joined #go-nuts
02:31 -!- qeed [~qeed@adsl-98-85-47-71.mco.bellsouth.net] has quit [Quit: Leaving]
02:32 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has joined
#go-nuts
02:36 -!- nu7hatch_ [~nu7hatch@r190-134-7-157.dialup.adsl.anteldata.net.uy] has
quit [Quit: Lost terminal]
02:37 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has quit [Ping timeout:
276 seconds]
02:46 -!- freetz [~fritz@r74-195-245-106.stl1cmta01.stwrok.ok.dh.suddenlink.net]
has joined #go-nuts
02:47 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
02:49 -!- benjack [~benjack@bb116-15-174-30.singnet.com.sg] has joined #go-nuts
02:50 < tdnrad> is there an easy way to do square root of an integer?  or do
I just convert it to float and use the math.Sqrt function?
02:54 -!- niemeyer [~niemeyer@201-2-135-152.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
02:56 < Ginto8> tdnrad, int(math.Sqrt(float64(x)))
02:57 -!- freetz [~fritz@r74-195-245-106.stl1cmta01.stwrok.ok.dh.suddenlink.net]
has quit [Changing host]
02:57 -!- freetz [~fritz@unaffiliated/freetz] has joined #go-nuts
02:58 -!- infynyxx [~infynyxx@cpe-76-180-222-116.buffalo.res.rr.com] has quit
[Quit: infynyxx]
02:59 -!- meling [~meling@134.81-167-41.customer.lyse.net] has quit [Read error:
Connection reset by peer]
02:59 -!- meling [~meling@134.81-167-41.customer.lyse.net] has joined #go-nuts
03:03 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 264 seconds]
03:09 < tdnrad> Ginto8: thanks
03:19 -!- angasule [~angasule@190.2.33.49] has quit [Quit: Konversation
terminated!]
03:21 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
04:04 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:18 -!- adlan [~adlan@175.144.133.2] has joined #go-nuts
04:31 -!- odoacre [~antonio@218.241.169.34] has joined #go-nuts
04:38 -!- freetz [~fritz@unaffiliated/freetz] has quit [Quit: Leaving]
04:40 -!- pothos [~pothos@111-240-164-242.dynamic.hinet.net] has quit [Read error:
Connection reset by peer]
04:40 -!- pothos_ [~pothos@111-240-164-242.dynamic.hinet.net] has joined #go-nuts
04:41 -!- chickamade [~chickamad@115.78.135.244] has joined #go-nuts
04:44 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Quit:
Leaving.]
04:59 -!- adlan [~adlan@175.144.133.2] has quit [Ping timeout: 240 seconds]
05:03 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:03 -!- adlan [~adlan@175.144.133.2] has joined #go-nuts
05:05 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has quit [Quit:
zzzzz…..]
05:17 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
05:19 -!- adlan [~adlan@175.144.133.2] has quit [Read error: Connection reset by
peer]
05:19 -!- adlan_ [~adlan@175.144.133.2] has joined #go-nuts
05:28 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has quit [Quit:
leaving]
05:32 -!- btipling [~btipling@unaffiliated/sk/x-5968384] has joined #go-nuts
05:36 -!- chickamade [~chickamad@115.78.135.244] has quit [Quit: chickamade]
05:39 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
05:46 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
05:47 -!- shoenig [~seth@rrcs-71-42-216-104.sw.biz.rr.com] has joined #go-nuts
05:49 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
05:52 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Ping
timeout: 264 seconds]
06:13 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
06:13 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has joined #go-nuts
06:18 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined
#go-nuts
06:20 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts
06:27 -!- alexluya [~alexluya@111.186.5.36] has joined #go-nuts
06:27 < alexluya> how to handle enum?
06:28 < vegai> handle?
06:30 < alexluya> yes
06:30 < vegai> with care
06:31 < alexluya> maybe,I should ask how to define a type that only limited
values are allowed?
06:32 < vegai> http://golang.org/doc/effective_go.html mentions enums at
least
06:33 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has joined
#go-nuts
06:33 < remy_o> alexluya: I don't you can do such a thing in go
06:33 < remy_o> I don't think
06:34 < alexluya> any alternative way?
06:35 < vsmatck> alexluya: Look at line 35.
http://golang.org/src/pkg/exp/template/lex.go
06:35 < remy_o> define some interface and declare constants that implement
that interface
06:35 < alexluya> thx,I will try it
06:36 < alexluya> are you using xchat?
06:36 < remy_o> also: http://golang.org/src/pkg/os/error_posix.go
06:37 < alexluya> thx
06:37 < alexluya> see this:vsmatck> alexluya: Look at line 35.
http://golang.org/src/pkg/exp/template/lex.go
06:37 < alexluya> you replied to me
06:38 < vsmatck> np
06:39 < alexluya> so,I know somebody is talking to me,otherwise if many
people are chatting,I can identify which line is to me
06:41 < alexluya> so,I am just wondering,is xchat support to reply specified
people?I mean when I reply him,it will show as:my name>her/his
name:...content......
06:42 < vsmatck> Hm. I haven't used xchat in a while.  I generally manually
type out someones name (finch has autocomplete).
06:42 < alexluya> thx,vsmatck
06:44 < remy_o> yes, we just type people's names manually (with
autocompletion if needed)
06:45 -!- meling [~meling@134.81-167-41.customer.lyse.net] has quit [Remote host
closed the connection]
06:45 < alexluya> ok
06:51 -!- sinclair [~chatzilla@ip-118-90-5-90.xdsl.xnet.co.nz] has joined #go-nuts
06:51 -!- TimKack [~tkack@e196069.upc-e.chello.nl] has joined #go-nuts
07:01 < alexluya> vegai:I don't spec indeed mentioned real enum
07:01 < alexluya> I don't think
07:02 < alexluya> can you point out?
07:02 < vegai> real enum?
07:02 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 258
seconds]
07:03 < alexluya> yeah
07:03 < vegai> vsmatck's link line 35 is a good example of one
07:03 < vegai> line 35 and onwards
07:03 < alexluya> I know
07:03 < vegai> is there something unreal about it?  :)
07:06 < alexluya> I need a little bit time to digest it.sorry,only learning
this language
07:07 < vegai> no worries
07:07 < vegai> there's no 'enum' keyword
07:07 < vegai> they're just integer constants that have been given a name
07:07 < vegai> they're not even typesafe
07:08 < vegai> if you need something safe, I guess remy_o's suggestion is
one way
07:09 < alexluya> actually,I need more time to understand this words"define
some interface and declare constants that implement that interface",but I will
07:13 -!- hnry [576c168e@gateway/web/freenode/ip.87.108.22.142] has joined
#go-nuts
07:14 -!- meling [~meling@pico.ux.uis.no] has joined #go-nuts
07:16 -!- chickamade [~chickamad@118.69.67.203] has joined #go-nuts
07:17 -!- chickamade [~chickamad@118.69.67.203] has quit [Client Quit]
07:24 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has quit [Quit:
Lost terminal]
07:28 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
07:30 -!- yogib [~yogib@webauth-79-196.uni-paderborn.de] has joined #go-nuts
07:32 -!- photron [~photron@port-92-201-122-98.dynamic.qsc.de] has joined #go-nuts
07:32 < jessta> vegai: consts can have types
07:33 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:35 < vegai> jessta: yeah, I was actually thinking of a slightly different
case
07:39 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts
07:41 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
07:41 -!- Project_2501 [~progettin@dynamic-adsl-94-36-156-220.clienti.tiscali.it]
has joined #go-nuts
07:48 -!- hnry [576c168e@gateway/web/freenode/ip.87.108.22.142] has quit [Ping
timeout: 252 seconds]
07:50 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:51 -!- valentin [~valentin@darkstar2.fullsix.com] has joined #go-nuts
07:53 -!- almaisan-away [~al-maisan@li351-175.members.linode.com] has quit [Remote
host closed the connection]
07:55 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer
has gone to sleep.]
07:56 -!- almaisan-away [~al-maisan@li351-175.members.linode.com] has joined
#go-nuts
07:57 -!- unCork[home] [Cork@h27n1c1o1042.bredband.skanova.com] has joined
#go-nuts
07:57 -!- Cork[home] [Cork@firefox/community/cork] has quit [Disconnected by
services]
08:02 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Read error:
Connection reset by peer]
08:02 -!- replore [~replore@203.152.213.161.static.zoot.jp] has joined #go-nuts
08:13 -!- photron [~photron@port-92-201-122-98.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
08:18 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
08:18 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
08:43 -!- hnry [576c168e@gateway/web/freenode/ip.87.108.22.142] has joined
#go-nuts
09:02 -!- theli_ua [~theli@188.163.238.74] has joined #go-nuts
09:15 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts
09:16 -!- foxen [~foxen@212.12.18.237] has left #go-nuts []
09:18 -!- hnry [576c168e@gateway/web/freenode/ip.87.108.22.142] has left #go-nuts
[]
09:19 -!- BigBlackDog
[~BigBlackD@HSI-KBW-109-192-007-188.hsi6.kabel-badenwuerttemberg.de] has joined
#go-nuts
09:23 -!- simonsd_ [8258c3a9@gateway/web/freenode/ip.130.88.195.169] has joined
#go-nuts
09:24 < simonsd_> Hi - I'm trying to work out which version of the Go
compiler I've got installed.  When I run "6g -V" all I get is "6g version", which
isn't very helpful.  Any ideas?
09:24 -!- Weltraumschaf [~Weltraums@dslb-178-002-179-069.pools.arcor-ip.net] has
joined #go-nuts
09:24 < Weltraumschaf> hello
09:28 -!- simonsd_ [8258c3a9@gateway/web/freenode/ip.130.88.195.169] has quit
[Client Quit]
09:28 -!- alexluya [~alexluya@111.186.5.36] has quit [Quit: Leaving]
09:29 < Weltraumschaf> i try to complile golang after long time again.  the
newest revision from hg says on src/all.bash: ./env.bash: line 93: export: ` not a
valid identifier
09:30 < Weltraumschaf> for me the problem is not obvious in ./env.bash
09:39 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
09:39 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Remote host
closed the connection]
09:41 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 246 seconds]
09:52 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
09:54 -!- rajender [~rajender@122.183.102.226] has joined #go-nuts
09:58 -!- benjack [~benjack@bb116-15-174-30.singnet.com.sg] has quit [Quit:
Leaving.]
10:11 -!- adlan_ [~adlan@175.144.133.2] has quit [Quit: Leaving]
10:12 -!- Noiano [~Noiano@unaffiliated/noiano] has joined #go-nuts
10:12 -!- pbgc [~pbgc@bl20-102-248.dsl.telepac.pt] has joined #go-nuts
10:12 < Noiano> hello!
10:13 < Noiano> I am eclipse guy and now I am switching to vim because there
is no ufficial go support in eclipse...I was wondering which is vim's counterpart
of eclipse's ctrl+space for autocompetion?
10:14 < valentin> Ctrl+X
10:14 < valentin> Ctrl+O
10:14 < Noiano> both of them?
10:14 < valentin> but you've to install gocode and enable autocompletion
plugins in your vim
10:15 < Noiano> you mean the 'sfuff' from misc folder?
10:15 < Noiano> I did that
10:15 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Read error: Connection
reset by peer]
10:15 < valentin> okay so, Ctrl+X => switch in completion mode
10:16 < valentin> in completion mode Ctrl+O == omni : seek a completion in
all available namespaces
10:17 < Noiano> how do I see all methods of an object?
10:17 < Noiano> ctrl.o?
10:17 < valentin> both
10:18 < valentin> being in insert mode, you type ctrl+x and then ctrl+o
10:18 < Noiano> I googled 'gocode' and I found this
https://github.com/nsf/gocode
10:18 < Noiano> maybe is what I need to have autocomplete working
10:18 < valentin> LGTM
10:18 < valentin> absolutly
10:19 < Noiano> I thought that the vim stuff under misc folder were enough
10:19 < Noiano> I was sooo wrong then ;)
10:19 -!- Weltraumschaf [~Weltraums@dslb-178-002-179-069.pools.arcor-ip.net] has
quit [Quit: Weltraumschaf]
10:20 < goraes> come back, Weltraumschaf, now that i'd answer.
10:23 -!- goraes [~goraes@189.103.177.124] has quit [Quit: Leaving]
10:28 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts
10:31 < jnwhiteh> Noiano: the vim plugins only cover indentation/syntax and
:Drop :Import and :Fmt, mainly now!
10:33 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
10:39 -!- deepfuture [~liuxing@58.45.150.54] has joined #go-nuts
10:42 -!- vmil86 [~vmil86@88.118.38.213] has joined #go-nuts
10:43 -!- Project_2502 [~progettin@dynamic-adsl-94-36-152-9.clienti.tiscali.it]
has joined #go-nuts
10:43 -!- Project_2501 [~progettin@dynamic-adsl-94-36-156-220.clienti.tiscali.it]
has quit [Disconnected by services]
10:47 -!- xyproto [~alexander@77.40.159.131] has quit [Ping timeout: 245 seconds]
10:49 -!- bemasher [~bemasher@host-69-146-93-159.lar-wy.client.bresnan.net] has
quit [Read error: Connection reset by peer]
10:51 < TimKack> k
10:52 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
11:00 -!- Boney_ [~paul@124-148-184-56.dyn.iinet.net.au] has joined #go-nuts
11:01 -!- temoto [~temoto@81.19.91.47] has joined #go-nuts
11:03 -!- Boney [~paul@124.168.124.201] has quit [Ping timeout: 260 seconds]
11:08 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Read
error: Connection reset by peer]
11:08 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
11:22 -!- zeebo_ [~zeebo@ip72-218-115-129.hr.hr.cox.net] has joined #go-nuts
11:22 -!- zeebo [~zeebo@ip72-218-115-129.hr.hr.cox.net] has quit [Read error:
Connection reset by peer]
11:22 -!- meling_ [~meling@pico.ux.uis.no] has joined #go-nuts
11:23 -!- meling [~meling@pico.ux.uis.no] has quit [Read error: Connection reset
by peer]
11:23 -!- nekoh [~nekoh@dslb-088-068-016-139.pools.arcor-ip.net] has joined
#go-nuts
11:24 -!- coffeejunk [~max@static.58.62.47.78.clients.your-server.de] has quit
[Ping timeout: 260 seconds]
11:26 -!- coffeejunk [~max@static.58.62.47.78.clients.your-server.de] has joined
#go-nuts
11:30 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has joined
#go-nuts
11:37 -!- tncardoso [~thiago@187.59.187.178] has joined #go-nuts
11:40 -!- Noiano [~Noiano@unaffiliated/noiano] has quit [Quit: Leaving]
11:41 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has joined
#go-nuts
11:44 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit:
pyrhho]
11:45 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
11:45 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Client
Quit]
11:46 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
11:48 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Client
Quit]
11:54 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
12:06 -!- deepfuture [~liuxing@58.45.150.54] has quit [Read error: Connection
reset by peer]
12:07 -!- deepfuture [~liuxing@220.170.28.213] has joined #go-nuts
12:19 -!- replore [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
12:19 -!- replore [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
12:25 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has joined #go-nuts
12:29 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
12:30 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
12:37 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
12:41 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
12:42 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
12:49 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
12:54 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
12:56 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
13:18 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
13:18 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
13:22 -!- temoto [~temoto@81.19.91.47] has left #go-nuts ["Leaving"]
13:29 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined
#go-nuts
13:38 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
13:38 -!- qeed [~qeed@adsl-98-85-57-217.mco.bellsouth.net] has joined #go-nuts
13:40 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
13:40 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has quit [Ping timeout:
252 seconds]
13:43 -!- Argue [~Argue@112.201.172.5] has joined #go-nuts
13:48 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping
timeout: 258 seconds]
13:50 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
13:54 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
13:57 -!- theli_ua [~theli@188.163.238.74] has quit [Quit: Leaving]
14:02 -!- xyproto [~alexander@77.40.159.131] has joined #go-nuts
14:04 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has joined #go-nuts
14:18 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined #go-nuts
14:21 -!- deepfuture [~liuxing@220.170.28.213] has quit [Remote host closed the
connection]
14:23 -!- rajender [~rajender@122.183.102.226] has quit [Remote host closed the
connection]
14:25 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts
14:26 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Client
Quit]
14:27 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts
14:36 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts
14:44 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 268 seconds]
14:47 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit:
Leaving.]
14:51 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
15:01 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
15:06 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has quit [Quit:
leaving]
15:09 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts
15:09 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Read error:
Operation timed out]
15:10 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
15:12 -!- niemeyer [~niemeyer@200-102-220-181.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
15:14 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts
15:15 -!- tncardoso [~thiago@187.59.187.178] has quit [Quit: bye]
15:23 -!- Bigbear11 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts
15:25 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Ping
timeout: 260 seconds]
15:25 -!- goraes [~goraes@189.103.177.124] has quit [Remote host closed the
connection]
15:35 -!- FX80 [~MX80@cust151.253.117.74.dsl.g3telecom.net] has quit [Ping
timeout: 258 seconds]
15:40 -!- FX80 [~MX80@cust151.253.117.74.dsl.g3telecom.net] has joined #go-nuts
15:44 -!- pbgc [~pbgc@bl20-102-248.dsl.telepac.pt] has quit [Ping timeout: 255
seconds]
15:45 -!- meling_ [~meling@pico.ux.uis.no] has quit [Remote host closed the
connection]
15:47 -!- Project_2501 [~progettin@dynamic-adsl-94-36-149-139.clienti.tiscali.it]
has joined #go-nuts
15:49 -!- Project_2502 [~progettin@dynamic-adsl-94-36-152-9.clienti.tiscali.it]
has quit [Ping timeout: 240 seconds]
15:54 -!- pbgc [~pbgc@2.81.102.248] has joined #go-nuts
15:54 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Quit:
ChatZilla 0.9.87 [Firefox 6.0.1/20110830092941]]
15:55 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer
has gone to sleep.]
16:04 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
16:04 < Sh4rK> hi!
16:04 < Sh4rK> can I set structure packing?
16:04 < Sh4rK> somehow
16:11 < hnry> Sh4rK, no as far as I know.
16:11 -!- Project_2502 [~progettin@82.84.74.39] has joined #go-nuts
16:11 -!- Project_2501 [~progettin@dynamic-adsl-94-36-149-139.clienti.tiscali.it]
has quit [Disconnected by services]
16:12 < Sh4rK> so how can I use c functions that need a struct of bytes that
need to be pack(1)-ed?
16:14 -!- Ginto8 [~ginto8@pool-173-72-17-110.cmdnnj.fios.verizon.net] has quit
[Read error: Connection timed out]
16:15 -!- Ginto8 [~ginto8@pool-173-72-17-110.cmdnnj.fios.verizon.net] has joined
#go-nuts
16:17 < nsf> Sh4rK: in Go everything is packed by default
16:17 < nsf> aka byte aligned
16:17 < Sh4rK> ok
16:17 < Sh4rK> then if I want to align with bigger values I just insert
dummy fields
16:17 < Sh4rK> :P
16:17 < nsf> if you take a look at some cgo output
16:18 < nsf> it inserts padding for C structs
16:18 < nsf> yes
16:18 < Sh4rK> any success on windows?
16:18 < Sh4rK> :P
16:18 < nsf> no
16:18 < nsf> I can't build go
16:19 < nsf> but I can't say I'm trying hard either
16:19 < Sh4rK> do you want me to send you all the built executables?
16:19 < nsf> no
16:19 < Sh4rK> :D
16:20 < jlaffaye> I need some advice :)
16:20 < jlaffaye> I am writing a STOR function (ftp)
16:20 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts
16:21 < jlaffaye> what is the most go-ish, takes a io.Reader and the
function deal with writing to the conn, or returns a special io.Writer so the
client of the lib write to the conn
16:22 < Sh4rK> look at other libs
16:22 < Sh4rK> :P
16:22 < Sh4rK> jlaffaye: what about this?
https://github.com/smallfish/ftp.go
16:24 < jlaffaye> https://github.com/jlaffaye/goftp :p
16:25 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
16:25 < jlaffaye> I've seen both, for example the http.Post takes a
io.Reader
16:25 < jlaffaye> and some return a Writer
16:26 < Sh4rK> then just choose one
16:26 < jlaffaye> oh and what the hell, io.Pipe() is there for a reason!
16:27 -!- gobeginner [~nwood@2a02:16c8:40:0:21e:37ff:fed2:cf06] has left #go-nuts
[]
16:33 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
16:34 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
16:38 -!- Project_2501 [~progettin@dynamic-adsl-94-36-177-103.clienti.tiscali.it]
has joined #go-nuts
16:41 -!- Project_2502 [~progettin@82.84.74.39] has quit [Read error: Operation
timed out]
16:42 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-121-123.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
16:42 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-121-123.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
16:42 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:44 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
16:55 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined
#go-nuts
16:56 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:01 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit:
pyrhho]
17:02 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
17:04 -!- tsung [~jon@175.180.141.57] has quit [Ping timeout: 240 seconds]
17:05 -!- lebel [~lebel@2001:470:1f11:af1:224:8cff:fe8c:97fe] has quit [Quit:
Quitte]
17:06 -!- tsung [~jon@203-67-8-184.adsl.dynamic.seed.net.tw] has joined #go-nuts
17:12 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Read
error: Connection reset by peer]
17:16 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Ping
timeout: 252 seconds]
17:21 -!- Argue [~Argue@112.201.172.5] has quit [Quit: Leaving]
17:24 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
17:26 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
17:27 < jnwhiteh> Does anyone have a guess as to why I might be running into
this issue: http://paste.pocoo.org/show/470800/
17:27 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
17:28 < jnwhiteh> Basically, I'm doing a combined channel receive/type
assertion and the channel receive never happens.  And yes, the type is correct,
and will always be correct.
17:30 < jessta> the recieve blocks indefiniately?  or is just skipped over?
17:30 < jnwhiteh> it blocks indefinitely
17:30 < jnwhiteh> its very curious
17:35 -!- TheMue [~FMueller@p5DDF516B.dip.t-dialin.net] has joined #go-nuts
17:38 -!- Bigbear11 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Ping
timeout: 240 seconds]
17:40 -!- Bigbear11 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts
17:41 -!- clr_ [~colin@2620:0:2820:2208:224:d7ff:fe3e:71b4] has joined #go-nuts
17:42 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
17:44 < jessta> jnwhiteh: are you sure it's related to just that change?
17:44 < jnwhiteh> absolutely and 100% positive, reproducable
17:44 < jessta> it seems to work fine on a simple example
17:44 < jnwhiteh> I have those three sections in place, running a single
test in isolation, to get those results
17:44 < jnwhiteh> aye
17:44 < jnwhiteh> I'm trying to produce a minimal example
17:44 < jnwhiteh> but that is the only change required to fix/break it
17:45 < jnwhiteh> just trying to understand what might trigger it :P
17:47 < jnwhiteh> okay, i have what isn't a *minimal* example, but its quite
small and directly mirrors the pattern I am using.
17:48 < jnwhiteh> hrm..  hold please :P
17:49 -!- fhs [~fhs@pool-108-41-69-211.nycmny.east.verizon.net] has joined
#go-nuts
17:50 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts
17:56 < jnwhiteh> jessta: https://gist.github.com/1195562 there's the code
if you're intrigued
17:56 < jnwhiteh> i'm reverting to r59 to make sure the issue isn't with
escape analysis (somehow)
17:59 < jnwhiteh> for me it doesn't break on r59, but breaks on tip
18:01 -!- lebel [~lebel@2001:470:1f11:af1:224:8cff:fe8c:97fe] has joined #go-nuts
18:01 -!- valentin [~valentin@darkstar2.fullsix.com] has quit [Remote host closed
the connection]
18:05 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
18:06 -!- yogib [~yogib@webauth-79-196.uni-paderborn.de] has quit [Quit: yogib]
18:10 -!- Project_2502 [~progettin@dynamic-adsl-94-36-150-218.clienti.tiscali.it]
has joined #go-nuts
18:10 -!- Project_2501 [~progettin@dynamic-adsl-94-36-177-103.clienti.tiscali.it]
has quit [Disconnected by services]
18:14 -!- huin [~huin@91.85.139.164] has joined #go-nuts
18:20 < jnwhiteh> jessta: http://code.google.com/p/go/issues/detail?id=2232
(in case you were interested)
18:28 -!- fenicks [~fenicks@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
18:29 < huin> jnwhiteh: wow, weird :/
18:29 < jnwhiteh> tell me about it =)
18:30 < huin> i wonder what the assembly output in each case looks like
18:30 < jnwhiteh> blew 3 hours trying to figure out what was happening
18:30 -!- prip [~foo@host36-124-dynamic.11-87-r.retail.telecomitalia.it] has quit
[Ping timeout: 264 seconds]
18:30 -!- Project_2501 [~progettin@82.84.71.83] has joined #go-nuts
18:31 < jnwhiteh> that was my next thing to look at, but I've already spent
too much time on this for today
18:31 < huin> especially glad that i'm working to the release branch now :)
18:31 < jnwhiteh> I was on a release branch (pre-59, I think) and had the
same issue
18:32 < jnwhiteh> I just am having issues tracking down what rev that was on
18:32 -!- hnry [50dd1047@gateway/web/freenode/ip.80.221.16.71] has joined #go-nuts
18:32 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
18:33 -!- Project_2502 [~progettin@dynamic-adsl-94-36-150-218.clienti.tiscali.it]
has quit [Ping timeout: 258 seconds]
18:34 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has joined
#go-nuts
18:37 -!- Project_2502 [~progettin@dynamic-adsl-94-36-176-52.clienti.tiscali.it]
has joined #go-nuts
18:37 -!- Project_2501 [~progettin@82.84.71.83] has quit [Disconnected by
services]
18:41 -!- c00w [~colin@2620:0:2820:2208:224:d7ff:fe3e:71b4] has quit [Ping
timeout: 260 seconds]
18:42 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving]
18:44 -!- prip [~foo@host55-122-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
18:44 -!- reggna [~reggna@godis.olf.sgsnet.se] has joined #go-nuts
18:45 < reggna> Hi, I'm having some problems with os.StartProcess.
18:45 < reggna> It seems like it doesn't get my arguments.
18:46 < reggna> http://pastebin.com/MntRC9Jb
18:47 < reggna> It's probably me missunderstanding something, but I can't
figure out what...
18:47 < reggna> That piece of code will result in a list of the files in my
current working directory, and not my /home
18:48 < huin> reggna: apart from anything else, you know that you can get
directory listings from system calls rather than shelling out to ls, right?
18:49 < tux21b> i think args[0] should be the name of the program
18:49 < tux21b> so you might want to try: args := []string{"ls", "/home/"}
18:50 < reggna> tux21b: Aha!  Right you are.
18:50 < huin> that sounds correct
18:50 < reggna> Worked.
18:50 < reggna> Thanks a lot.  :)
18:50 < huin> reggna: http://golang.org/pkg/os/#File.Readdir
18:50 < reggna> huin: Yea, this was just a small test.  Thanks anyway.  :)
18:50 < huin> ah ok
18:53 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has joined #go-nuts
18:57 -!- c00w [~colin@cpe-24-92-60-252.nycap.res.rr.com] has joined #go-nuts
18:57 < fenicks> hello
18:57 < jessta> hello
19:00 -!- Weltraumschaf [~Weltraums@dslb-178-002-179-069.pools.arcor-ip.net] has
joined #go-nuts
19:00 < Weltraumschaf> hello
19:06 < brandini> hello
19:07 < brandini> (I dunno why you say goodbye I say hello)
19:08 -!- qeed [~qeed@adsl-98-85-57-217.mco.bellsouth.net] has quit [Read error:
Connection reset by peer]
19:23 -!- remy_tel [~remy_tel@89.95.59.132] has joined #go-nuts
19:23 -!- qeed [~qeed@adsl-98-85-44-178.mco.bellsouth.net] has joined #go-nuts
19:25 < Weltraumschaf> when i compile the golang source on mac os 10.6 with
an unprivileged user without sudo i got an error: ./env.bash: line 93: export: `
not a valid identifier
19:25 < Weltraumschaf> is it intented that it is installed as root?
19:25 -!- Sh4rK_ [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
19:26 < remy_o> it's not
19:27 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Ping timeout: 260
seconds]
19:28 < jessta> Weltraumschaf: what version of the sources?
19:29 < Weltraumschaf> jessta: fresh clone of -u release
19:29 < Weltraumschaf> i#d installed it some times weeks ago, now i did an
update of the repo and got the error.  on new checkout, too.
19:30 < remy_o> are you using bash as a shell ?
19:31 -!- Cork[home] [Cork@h27n1c1o1042.bredband.skanova.com] has quit [Changing
host]
19:31 -!- Cork[home] [Cork@firefox/community/cork] has joined #go-nuts
19:33 -!- TimKack [~tkack@e196069.upc-e.chello.nl] has quit [Quit: TimKack]
19:34 -!- pbgc [~pbgc@2.81.102.248] has quit [Quit: Textual IRC Client:
http://www.textualapp.com/]
19:34 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has quit [Ping timeout: 245
seconds]
19:35 -!- Sh4rK_ [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Quit: I'm out]
19:36 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts
19:37 < Weltraumschaf> remy_o: jes
19:37 < Weltraumschaf> yes
19:37 < Weltraumschaf> the default of mac os
19:38 -!- Bigbear11 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Ping
timeout: 276 seconds]
19:39 < remy_o> Weltraumschaf: what's the output of "make
--no-print-directory -f Make.inc go-env" ?
19:40 < Weltraumschaf> remy_o:
19:40 < Weltraumschaf> http://pastebin.com/u9uDYR63
19:41 < jnwhiteh> huin: and my bug is already fixed
19:41 < jnwhiteh> you can't beat service like that =)
19:41 < remy_o> Weltraumschaf: can you run bash -x ./all.bash ?
19:41 < Weltraumschaf> mompl
19:43 < Weltraumschaf> remy_o: i striped some lines above.  say if you need
more: http://pastebin.com/GiDev7Rb
19:44 < Weltraumschaf> is there a nexport missing in the eval statement?
19:44 -!- tvw [~tv@e176002203.adsl.alicedsl.de] has joined #go-nuts
19:44 -!- tncardoso [~thiago@187.59.187.178] has joined #go-nuts
19:46 < remy_o> that's very weird
19:53 < Weltraumschaf> i've installed macports coreutils
(http://hocuspokus.net/2008/01/a-better-ls-for-mac-os-x/) but after deinstallation
the problem still exist
19:55 < remy_o> Weltraumschaf: what is your environment (use the env
command)
19:57 < ptrb> I have an application that creates a bunch of channels, each
of which should send values at a regular interval.  If the channel consumer is
ready to consume them on schedule, it should do so; otherwise, the values should
be discarded.  The rate is roughly 50,000 values every second.  Is there an idiom
I can use for this?  At what point do I stress channels beyond their capabilities?
19:57 < Weltraumschaf> remy_o: http://pastebin.com/YA9d32Vk
19:57 < ptrb> (I'm using a Ticker to signal the channel producers)
19:58 -!- alehorst [~alehorst@189.114.234.61.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
19:59 < huin> jnwhiteh: nice :D
19:59 < |Craig|> ptrb: use a select to try and send, with an empty default
which effectivly discards
20:00 < ptrb> |Craig|: doesn't the fair queue ensure that every other value
gets dropped?
20:00 < ptrb> (in that situation)?
20:00 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has quit [Quit:
Lost terminal]
20:01 < ptrb> or is default: only if all named cases fail
20:01 < remy_o> ptrb: you can use len on a channel to know the number of
currently queued elements
20:01 -!- yogib [~yogib@dslb-178-009-020-204.pools.arcor-ip.net] has joined
#go-nuts
20:02 < ptrb> remy_o: yes, but (assuming you mean to use a buffer size=1
channel and check if the value was consumed) wouldn't N*50000 len()s per second
destroy performance?
20:02 < remy_o> well, you need to check something in order to discard
elements
20:02 < remy_o> you cannot know magically when to do so
20:02 < |Craig|> ptrb: if your channel is unbuffered, and the handler is
blocking waiting for data, the send will succeed.  if its not blocking on the
read, then the send will fail since its not ready
20:02 < |Craig|> no need to use len
20:03 < remy_o> Weltraumschaf: i really don't have an idea :(
20:03 < Weltraumschaf> remy_o: ok
20:03 < Weltraumschaf> i come back when i new more
20:03 < |Craig|> ptrb: default only happens if non of the others can go, it
is not chosen randomly
20:04 -!- Weltraumschaf [~Weltraums@dslb-178-002-179-069.pools.arcor-ip.net] has
quit [Quit: Weltraumschaf]
20:06 -!- alanl [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has quit [Ping
timeout: 276 seconds]
20:06 -!- wallerdev [~wallerdev@72.44.102.30] has joined #go-nuts
20:06 -!- alanl [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has joined
#go-nuts
20:09 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has quit [Ping timeout:
260 seconds]
20:10 -!- eikenberry [~jae@c-24-22-21-98.hsd1.or.comcast.net] has joined #go-nuts
20:12 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has joined #go-nuts
20:13 -!- tsung [~jon@203-67-8-184.adsl.dynamic.seed.net.tw] has quit [Ping
timeout: 260 seconds]
20:15 -!- tsung [~jon@112.104.88.137] has joined #go-nuts
20:16 -!- yogib [~yogib@dslb-178-009-020-204.pools.arcor-ip.net] has quit [Quit:
yogib]
20:23 < TheMue> So, just published my new Tideland Redis Database Client
release.2011-09-05
20:23 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
20:28 < ptrb> |Craig|: cool, thanks!
20:32 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
20:33 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
20:36 -!- tvw [~tv@e176002203.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
20:36 < Ginto8> in a range statement for a channel, if the channel is closed
before the actual statement, will it just skip the loop?
20:38 -!- BigBlackDog
[~BigBlackD@HSI-KBW-109-192-007-188.hsi6.kabel-badenwuerttemberg.de] has quit
[Quit: WeeChat 0.3.6-dev]
20:38 < Ginto8> the answer is yes, I've tested it
20:38 < Ginto8> :P
20:41 -!- Project_2501 [~progettin@82.84.73.157] has joined #go-nuts
20:44 -!- Project_2502 [~progettin@dynamic-adsl-94-36-176-52.clienti.tiscali.it]
has quit [Ping timeout: 268 seconds]
20:46 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
20:46 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
20:49 < jessta> Ginto8: yeah, range will read until the channel is closed
20:50 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 245 seconds]
20:50 < huin> Ginto8: yes, provided there is nothing in the channel
20:51 < huin> (and all items consumed from it)
20:54 -!- twolfe18 [~twolfe18@65.196.126.11] has joined #go-nuts
20:55 -!- c00w [~colin@cpe-24-92-60-252.nycap.res.rr.com] has quit [Ping timeout:
240 seconds]
20:56 -!- XenoPhoenix [~Xeno@cpc13-aztw24-2-0-cust23.aztw.cable.virginmedia.com]
has joined #go-nuts
20:58 -!- Fish- [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5]
20:59 -!- freetz [~fritz@unaffiliated/freetz] has joined #go-nuts
21:04 -!- TheMue [~FMueller@p5DDF516B.dip.t-dialin.net] has quit [Quit: leaving]
21:05 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
21:06 -!- Project_2502 [~progettin@dynamic-adsl-94-36-155-195.clienti.tiscali.it]
has joined #go-nuts
21:06 -!- Project_2501 [~progettin@82.84.73.157] has quit [Disconnected by
services]
21:08 -!- huin [~huin@91.85.139.164] has quit [Quit: leaving]
21:12 -!- felipernb [~Adium@80.174.29.120.dyn.user.ono.com] has joined #go-nuts
21:22 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:29 -!- remy_tel [~remy_tel@89.95.59.132] has quit [Remote host closed the
connection]
21:29 -!- confab [~confab@c-24-10-60-185.hsd1.ca.comcast.net] has left #go-nuts []
21:33 -!- twolfe18 [~twolfe18@65.196.126.11] has quit [Quit: twolfe18]
21:35 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
21:36 < Sh4rK> is it possible to include structs in other structs, but not
embedding them?
21:38 < jessta> Sh4rK: what are you trying to achieve?
21:39 < Sh4rK> I want to put a struct in another one
21:39 < jessta> that's embedding
21:39 < Sh4rK> but only want to reach its fields by
outerstruct.innerstruct.field
21:39 < goraes> name the field
21:39 < jessta> ah, then it's just a field in a sturct
21:39 < Sh4rK> but in go if you put a struct in another one, its fields
become directly accessible no?
21:40 < goraes> not if you name it
21:40 < Sh4rK> ok
21:40 < Sh4rK> zhanks
21:40 < Sh4rK> *t
21:40 < goraes> zhanks sounds better
21:41 < jessta> Sh4rK: eg.  type Foo struct {A struct{B string}}
21:41 < Sh4rK> ok
21:41 < Sh4rK> zhanks :Ö
21:41 < Sh4rK> *:)
21:43 -!- freetz [~fritz@unaffiliated/freetz] has quit [Quit: Leaving]
21:56 -!- hnry [50dd1047@gateway/web/freenode/ip.80.221.16.71] has quit [Quit:
Page closed]
22:00 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:03 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 258
seconds]
22:05 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Quit: I'm out]
22:05 -!- tncardoso [~thiago@187.59.187.178] has quit [Read error: Connection
reset by peer]
22:13 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:16 -!- felipernb [~Adium@80.174.29.120.dyn.user.ono.com] has left #go-nuts []
22:17 -!- madari_ [madari@idm.irc-galleria.net] has quit [Ping timeout: 264
seconds]
22:17 -!- madari [madari@idm.irc-galleria.net] has joined #go-nuts
22:19 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping
timeout: 252 seconds]
22:23 < Ginto8> with godoc, can you provide documentation for individual
methods of an interface?
22:24 < exch> Ginto8: put a comment above it
22:25 < Ginto8> does that work for individual methods, or do I just have to
do it for the whole interface?
22:25 < Ginto8> none of the examples I've seen in the go packages have ones
for individual methods
22:26 < exch> Ginto8: it works on individual methods
22:27 < Ginto8> okey dokey, thanks
22:27 < exch> Well, more or less.  It just shows the comment itself in the
interface definition
22:27 < Ginto8> ohh ok thanks
22:28 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Quit:
Leaving.]
22:28 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts
22:34 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Read
error: Connection reset by peer]
22:34 < qeed> hmm why is print builtin to golang whats the point of using
some of fmt print then
22:35 < zeebo> print is builtin?
22:35 < qeed> it works here
22:35 < qeed> print("some stuff")
22:35 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
22:35 < qeed> it also has println
22:35 < goraes> just convenience.  spec says that it may go away one day.
22:35 < jlaffaye> I'd like to have some feedback for this piece of code:
https://github.com/jlaffaye/goftp
22:36 < zeebo> well i did not know that.
22:36 < goraes> qeed, http://golang.org/doc/go_spec.html#Bootstrapping
22:40 < jessta> qeed: print() and println() are useful for debugging since
they don't yield
22:40 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Quit: Lost terminal]
22:41 < jessta> which is also why they shouldn't be used outside development
22:43 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
22:44 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has quit [Ping timeout:
246 seconds]
22:47 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has joined #go-nuts
22:47 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
22:47 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 240 seconds]
22:48 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Remote host closed the connection]
22:54 -!- vmil86 [~vmil86@88.118.38.213] has quit [Read error: Connection reset by
peer]
22:59 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined
#go-nuts
23:00 -!- ccc_ [~macroron@c-98-249-244-254.hsd1.fl.comcast.net] has joined
#go-nuts
23:03 -!- Project_2502 [~progettin@dynamic-adsl-94-36-155-195.clienti.tiscali.it]
has quit [Quit: E se abbasso questa leva che succ...]
23:10 -!- Bigbear1 [~Cody@S010678cd8e7c81a8.cg.shawcable.net] has quit [Read
error: Connection reset by peer]
23:13 < Ginto8> if an exported interface X has unexported methods, and types
A and B in the package implement the interface, can you reference variables of
types A and B as X's?
23:13 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
23:15 < jessta> Ginto8: yep
23:16 < Ginto8> but types C and D outside the package, even if they
implement those non-exported methods, will they work?
23:24 < jessta> they won't
23:25 < Ginto8> ok, thanks
23:26 -!- angasule [~angasule@190.2.33.49] has quit [Quit: Konversation
terminated!]
23:26 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
23:35 -!- nekoh [~nekoh@dslb-088-068-016-139.pools.arcor-ip.net] has quit [Quit:
nekoh]
23:45 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
23:54 -!- Ginto8 [~ginto8@pool-173-72-17-110.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
23:58 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
--- Log closed Tue Sep 06 00:00:24 2011