--- Log opened Wed Mar 24 00:00:31 2010
00:01 < exch> im guessing the code is installed by the goinstall call
00:02 < exch> it's not redirecting for me btw
00:05 < nf> ditto.  it looks fine to me.  see:
http://code.google.com/p/goprotobuf/source/browse/README
00:06 * exch tries it out
00:06 < exch> this might actually be handy for my bot
00:06 < nf> exch: what sort of bot?
00:06 < exch> irc bot
00:07 < nf> there are so many projects i've worked on where i now wish I'd
had protobufs :)
00:07 < exch> it's really just becoming an experiment in distributed code
though.  which makes the protobufs handy..  the bot supports pluygins which should
be able to run independantly of the bot itself
00:07 < exch> right now it uses some bastardized version of a json based
webservice for communication, but i'm not happy with it
00:08 < exch> and netchan isn't really up to the task yet
00:09 < exch> I was considering wrapping the msgpack library.  It is
supposedly faster than protocol buffers, but i'll see how the protocol buffers
behave before I do that
00:09 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 260 seconds]
00:18 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined
#go-nuts
00:19 -!- TR2N [email@89-180-237-84.net.novis.pt] has joined #go-nuts
00:22 -!- alexbobp_ [~alex@66.112.249.238] has joined #go-nuts
00:23 -!- hotspant1 [vhellman@melkki.cs.helsinki.fi] has joined #go-nuts
00:23 -!- rsaarelm_ [~rsaarelm@cs181128175.pp.htv.fi] has joined #go-nuts
00:24 -!- drhodes_ [~none@209-20-72-61.slicehost.net] has joined #go-nuts
00:25 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit
[Read error: Connection reset by peer]
00:25 -!- alexbobp [~alex@66.112.249.238] has quit [Ping timeout: 260 seconds]
00:25 -!- rsaarelm [~rsaarelm@cs181128175.pp.htv.fi] has quit [Ping timeout: 260
seconds]
00:25 -!- hotspants [vhellman@melkki.cs.helsinki.fi] has quit [Ping timeout: 260
seconds]
00:25 -!- drhodes [~none@209-20-72-61.slicehost.net] has quit [Ping timeout: 260
seconds]
00:25 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Ping
timeout: 260 seconds]
00:25 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
00:26 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has quit [Quit:
Ex-Chat]
00:26 -!- _bakkdoor [~bakkdoor@s15229144.onlinehome-server.info] has left #go-nuts
[]
00:27 -!- andbelo_ [~ab@c-68-39-199-20.hsd1.de.comcast.net] has joined #go-nuts
00:27 -!- drhodes_ [~none@209-20-72-61.slicehost.net] has left #go-nuts []
00:28 -!- drhodes [~none@209-20-72-61.slicehost.net] has joined #go-nuts
00:30 -!- thomas_luce [~John@173-8-216-62-Oregon.hfc.comcastbusiness.net] has quit
[Quit: thomas_luce]
00:31 -!- andbelo_ [~ab@c-68-39-199-20.hsd1.de.comcast.net] has left #go-nuts []
00:32 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has joined #go-nuts
00:32 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has quit [Remote host
closed the connection]
00:33 < exch> hmm something isn't working well with the protoc install
00:34 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has joined #go-nuts
00:34 < exch> looks like /usr/local/bin isn't in my path -.-
00:38 -!- Xeon_ [~chatzilla@118.126.12.54] has quit [Ping timeout: 240 seconds]
00:40 -!- SecretofMana [~truthlimi@142.46.164.30] has quit [Ping timeout: 246
seconds]
00:42 -!- ShaunO|work [~shauno@210.48.87.118] has quit [Read error: Connection
reset by peer]
00:43 -!- ShaunO|work [~shauno@210.48.87.118] has joined #go-nuts
00:43 -!- Xeon [~chatzilla@118.126.12.53] has joined #go-nuts
00:44 -!- iant [~iant@67.218.107.94] has quit [Ping timeout: 245 seconds]
00:45 -!- iant [~iant@67.218.107.94] has joined #go-nuts
00:45 -!- mode/#go-nuts [+v iant] by ChanServ
00:45 -!- Cyprien_ [Cyprien@230-149.1-85.cust.bluewin.ch] has quit [Ping timeout:
264 seconds]
00:47 -!- SecretofMana [~truthlimi@142.46.164.30] has joined #go-nuts
00:48 < uriel> exch: now it works, oh well :)
00:48 < exch> goodie :)
00:49 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
00:49 -!- iant [~iant@67.218.107.94] has quit [Ping timeout: 252 seconds]
00:51 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has quit [Quit:
Ex-Chat]
00:52 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has joined #go-nuts
00:58 < andbelo> hello, i'm getting a segmentation violation in some code,
but I just can't find out why, could someone give some advice?
00:59 < andbelo> SIGSEGV: segmentation violation
00:59 < andbelo> Faulting address: 0x20
00:59 < andbelo> PC=0x417ac6
00:59 < andbelo> bio/seq.*Seq·String+0x1e
/home/ab/.go/src/pkg/bio/seq/seq.go:551
00:59 < andbelo> bio/seq.*Seq·String(0x0, 0x0, 0x459ec8, 0x0)
00:59 -!- b00m_chef__ [~watr@128.189.93.80] has joined #go-nuts
00:59 < KirkMcDonald> I am guessing it has something to do with those zeros.
01:01 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:12 -!- Cyprien_ [Cyprien@191-200.77-83.cust.bluewin.ch] has joined #go-nuts
01:16 -!- dshep [~user@dan75-7-88-166-185-201.fbx.proxad.net] has joined #go-nuts
01:23 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Quit:
Venom_X]
01:26 -!- Cyprien_ [Cyprien@191-200.77-83.cust.bluewin.ch] has quit [Ping timeout:
260 seconds]
01:27 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined
#go-nuts
01:30 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 240 seconds]
01:37 < ni|> uriel: do you know if russ wrote the codereview mercurial
extension
01:38 -!- andbelo [~ab@c-68-39-199-20.hsd1.de.comcast.net] has left #go-nuts
["Ex-Chat"]
01:44 < uriel> I think so, but your guess is as good as mine
01:46 < uriel> he had something similar for plan9port before Go was released
01:46 < uriel> but then he updated the plan9port with the version from Go,
so...
01:54 -!- nf [~nf@124-171-51-14.dyn.iinet.net.au] has quit [Read error: Network is
unreachable]
01:54 -!- nf [~nf@124-171-3-124.dyn.iinet.net.au] has joined #go-nuts
02:02 -!- SecretofMana [~truthlimi@142.46.164.30] has quit [Ping timeout: 248
seconds]
02:02 -!- SecretofMana [~truthlimi@142.46.164.30] has joined #go-nuts
02:17 -!- JimmyRcom [~jimmy@adsl-75-53-44-111.dsl.rcsntx.sbcglobal.net] has joined
#go-nuts
02:21 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
02:25 -!- SecretofMana [~truthlimi@142.46.164.30] has quit [Ping timeout: 258
seconds]
02:27 -!- SecretofMana [~truthlimi@142.46.164.30] has joined #go-nuts
02:33 -!- tcoppi
[~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has quit
[Quit: leaving]
02:35 -!- dshep [~user@dan75-7-88-166-185-201.fbx.proxad.net] has quit [Ping
timeout: 264 seconds]
02:38 < uriel> people have such a lack of sense of humour:
http://www.reddit.com/r/programming/comments/bhcnh/theres_a_pdp1_emulator_package_in_google_gos/
02:50 < exch> indeed
02:56 -!- SecretofMana [~truthlimi@142.46.164.30] has quit [Ping timeout: 258
seconds]
03:05 -!- jdp [~gu@75.97.120.11.res-cmts.senj.ptd.net] has joined #go-nuts
03:18 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
03:20 < ni|> uriel: seems like it, its well written :P
03:28 -!- nettok [~netto@200.119.157.47] has joined #go-nuts
03:31 < uriel> hehe :)
03:37 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
03:40 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
03:43 -!- nettok_ [~netto@200.119.157.47] has joined #go-nuts
03:46 -!- nettok [~netto@200.119.157.47] has quit [Ping timeout: 248 seconds]
03:48 -!- JimmyRcom [~jimmy@adsl-75-53-44-111.dsl.rcsntx.sbcglobal.net] has quit
[Ping timeout: 246 seconds]
03:49 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Quit: tor5]
03:52 -!- TR2N [email@89-180-237-84.net.novis.pt] has quit [Ping timeout: 264
seconds]
03:57 -!- X-Scale [email@89-180-145-101.net.novis.pt] has joined #go-nuts
04:02 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Quit:
Ex-Chat]
04:03 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Quit:
warthurton]
04:05 < adu> what's the difference between big and bignum?
04:05 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
04:05 -!- nettok__ [~netto@200.119.157.47] has joined #go-nuts
04:09 -!- nettok_ [~netto@200.119.157.47] has quit [Ping timeout: 276 seconds]
04:12 -!- b00m_chef__ [~watr@128.189.93.80] has quit [Ping timeout: 264 seconds]
04:15 < adu> also, do packages haveto be lowercase?
04:21 -!- aldaor [~chatzilla@201.250.127.156] has quit [Quit: ChatZilla 0.9.86
[Firefox 3.6/20100115144158]]
04:24 < uriel> adu: I don't think they 'have to', but I can't imagine why
one wouldn't keep them lowercase
04:25 -!- Alexandr [~Alexandr@unaffiliated/alexandr] has quit [Quit: Ухожу я от
вас (xchat 2.4.5 или старше)]
04:36 -!- nettok_ [~netto@200.119.157.47] has joined #go-nuts
04:39 -!- nettok__ [~netto@200.119.157.47] has quit [Ping timeout: 252 seconds]
04:47 -!- nsf [~nsf@jiss.convex.ru] has quit [Ping timeout: 276 seconds]
04:48 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
04:53 -!- jdp [~gu@75.97.120.11.res-cmts.senj.ptd.net] has left #go-nuts []
04:53 -!- nettok_ [~netto@200.119.157.47] has quit [Ping timeout: 246 seconds]
04:55 -!- Xeon [~chatzilla@118.126.12.53] has quit [Quit: quit]
05:04 -!- jshipley_ [~jshipley@174-23-125-69.slkc.qwest.net] has joined #go-nuts
05:07 -!- jshipley [~jshipley@ip67-88-113-150.z113-88-67.customer.algx.net] has
quit [Disconnected by services]
05:08 -!- jshipley_ [~jshipley@174-23-125-69.slkc.qwest.net] has left #go-nuts []
05:08 -!- jshipley [~jshipley@174-23-125-69.slkc.qwest.net] has joined #go-nuts
05:09 < jshipley> Are time.Sleep() or syscall.Sleep() functional?  If I call
time.Sleep(10000) or syscall.Sleep(10000), the program still finishes instantly.
05:09 < anticw> use time.Sleep()
05:09 < anticw> it's nanoseconds
05:09 < anticw> time.Sleep(1e9) is 1s
05:10 -!- nettok_ [~netto@200.119.157.47] has joined #go-nuts
05:13 < jshipley> Ok. I read nanoseconds, but I was still thinking
milliseconds anyway...  it works now.
05:14 < anticw> nanoseconds are the new black
05:16 -!- nettok__ [~netto@200.119.157.47] has joined #go-nuts
05:17 -!- \toothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has quit [Ping
timeout: 264 seconds]
05:17 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has joined #go-nuts
05:20 -!- nettok_ [~netto@200.119.157.47] has quit [Ping timeout: 276 seconds]
05:21 -!- nettok_ [~netto@200.119.157.47] has joined #go-nuts
05:22 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has quit [Ping timeout:
268 seconds]
05:24 -!- nettok__ [~netto@200.119.157.47] has quit [Ping timeout: 245 seconds]
05:44 -!- htoothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
05:45 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
05:45 -!- mode/#go-nuts [+v iant] by ChanServ
05:47 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
05:47 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit
[Ping timeout: 246 seconds]
05:48 -!- Altercation [~Altercati@ogygia.ethanschoonover.com] has joined #go-nuts
05:48 -!- Altercation [~Altercati@ogygia.ethanschoonover.com] has quit [Changing
host]
05:48 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
05:50 -!- jshipley [~jshipley@174-23-125-69.slkc.qwest.net] has quit [Quit:
leaving]
06:02 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-214.clienti.tiscali.it] has
joined #go-nuts
06:18 -!- TR2N [email@89-180-145-101.net.novis.pt] has quit [Ping timeout: 245
seconds]
06:19 -!- X-Scale [email@89.180.203.138] has joined #go-nuts
06:37 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:44 -!- nettok_ [~netto@200.119.157.47] has quit [Quit: Ex-Chat]
06:45 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
06:46 -!- Kashia [~Kashia@port-92-200-183-165.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
06:52 -!- nsf [~nsf@jiss.convex.ru] has left #go-nuts ["WeeChat 0.3.1.1"]
07:14 -!- matt_mastracci [~matthew@S0106000f66a57c24.cg.shawcable.net] has joined
#go-nuts
07:15 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
07:15 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts
07:17 -!- wuehlmaus [~wuehlmaus@p4FCC79E2.dip.t-dialin.net] has quit [Ping
timeout: 276 seconds]
07:18 -!- wuehlmaus [~wuehlmaus@p4FCC7F3B.dip.t-dialin.net] has joined #go-nuts
07:22 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
07:26 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:27 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu]
07:40 -!- Kashia [~Kashia@port-92-200-95-204.dynamic.qsc.de] has joined #go-nuts
07:42 -!- trickie [~trickie@94.100.112.225] has joined #go-nuts
07:50 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:13 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
08:18 -!- tricky [~Knave@dsl-240-185-105.telkomadsl.co.za] has joined #go-nuts
08:21 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts
08:24 -!- path[l] [~path@59.162.86.164] has quit [K-Lined]
08:25 -!- nf [~nf@124-171-3-124.dyn.iinet.net.au] has quit [Read error: Network is
unreachable]
08:25 -!- nf [~nf@124-168-134-18.dyn.iinet.net.au] has joined #go-nuts
08:27 -!- ikaros [~ikaros@f050226206.adsl.alicedsl.de] has joined #go-nuts
08:28 -!- rsaarelm_ [~rsaarelm@cs181128175.pp.htv.fi] has left #go-nuts []
08:28 -!- rsaarelm [~rsaarelm@cs181128175.pp.htv.fi] has joined #go-nuts
08:38 -!- nf [~nf@124-168-134-18.dyn.iinet.net.au] has quit [Read error: Network
is unreachable]
08:38 -!- nf [~nf@124-168-189-71.dyn.iinet.net.au] has joined #go-nuts
08:38 -!- Luixsia [~Luixsia@AToulouse-254-1-5-138.w83-203.abo.wanadoo.fr] has
joined #go-nuts
08:40 -!- Xurix [~Luixsia@AToulouse-254-1-98-17.w86-207.abo.wanadoo.fr] has quit
[Ping timeout: 246 seconds]
08:42 -!- allisterb [~allisterb@cuscon125943.tstt.net.tt] has joined #go-nuts
08:46 -!- Xurix [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has joined
#go-nuts
08:47 -!- Luixsia [~Luixsia@AToulouse-254-1-5-138.w83-203.abo.wanadoo.fr] has quit
[Ping timeout: 258 seconds]
08:55 -!- ShaunO|work [~shauno@210.48.87.118] has quit [Ping timeout: 246 seconds]
08:57 -!- ShaunO|work [~shauno@210.48.87.118] has joined #go-nuts
08:58 -!- ShaunO`wrk [~shauno@210.48.87.118] has joined #go-nuts
09:01 -!- ShaunO|work [~shauno@210.48.87.118] has quit [Ping timeout: 246 seconds]
09:21 -!- matt_mastracci [~matthew@S0106000f66a57c24.cg.shawcable.net] has left
#go-nuts []
09:29 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined
#go-nuts
09:37 -!- easytiger [~gerrys@gi0-0.cr1.vg1.core.bfs.wombatfs.net] has joined
#go-nuts
09:41 -!- wrtp [~rog@78.148.84.23] has joined #go-nuts
09:43 -!- emk [~emk@41.215.53.182] has joined #go-nuts
09:43 -!- HollyRain [~quassel@87.223.124.112] has joined #go-nuts
09:44 < HollyRain> how to convert an integer (uint64) to []string ?
09:47 < kmeyer> um
09:47 < kmeyer> what exactly does a uint64 in []string form look like?
09:47 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit
[Quit: <>]
09:49 < HollyRain> I need write a time into a file
09:49 < Kashia> look at strconv if all you want is a string
09:50 < HollyRain> ok
09:51 < dagle> Shouldn't string(uint64) do it?
09:54 < dagle> nvm.  looking at the source code for strconv i realized what
it does.
09:55 < HollyRain> dagle: cannot use string(dir.Mtime_ns) (type string) as
type []uint8 in function argument
09:56 < Kashia> :)
09:56 -!- Kashia [~Kashia@port-92-200-95-204.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:57 < dagle> HollyRain: Use Uitoa64
09:59 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has quit [Quit: Ухожу я
от вас (xchat 2.4.5 или старше)]
09:59 < HollyRain> I get the same failure
10:00 < HollyRain> hot to get the type of a data?
10:00 < HollyRain> *how
10:00 < wrtp> HollyRain: you can find out the type of anything by doing:
fmt.Printf("%T\n", obj)
10:02 < wrtp> HollyRain: i presume you actually want to convert a uint64 to
string, not []string ?
10:02 -!- micrypt [~micrypt@94-195-127-212.zone9.bethere.co.uk] has quit [Ping
timeout: 245 seconds]
10:03 < HollyRain> wrtp: ioutil.WriteFile needs a []string ->
http://golang.org/pkg/io/ioutil/
10:03 < HollyRain> ops, sorry, it's []byte
10:03 < HollyRain> so uint8
10:04 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...]
10:04 < wrtp> well, it's easy to convert a string to []byte, just cast it,
e.g.  []byte("hello")
10:04 < HollyRain> :) thanks
10:05 < wrtp> (in recentish versions of go anyway)
10:05 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 252 seconds]
10:08 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined
#go-nuts
10:11 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
10:22 -!- ni|_ [~james@dontpanic.union.edu] has joined #go-nuts
10:22 -!- ni| [~james@dontpanic.union.edu] has quit [Read error: Connection reset
by peer]
10:39 -!- dshep [~user@dan75-7-88-166-185-201.fbx.proxad.net] has joined #go-nuts
10:39 < HollyRain> is possible to "put" together several numbers without
using a string?  i.e: foo := 2; bar := 3 => to get that *foo_bar == 23*
10:43 -!- ni|_ [~james@dontpanic.union.edu] has quit [Ping timeout: 276 seconds]
10:44 < bortzmeyer> HollyRain: http://golang.org/pkg/fmt/#Sprintf ?
Sprintf("%d %d", foo, bar)
10:45 < HollyRain> I was thinking in using *[]int*
10:45 < HollyRain> but it's faster to use Sprintf
10:48 -!- ikaros [~ikaros@f050226206.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
10:48 -!- soundar [~soundar@180.151.49.130] has joined #go-nuts
11:07 < HollyRain> what's wrong with: *var data []int { P_W+P_R, P_R, P_R,
}* ?
11:07 < HollyRain> where P_? are integer constants
11:08 < HollyRain> unexpected {, expecting semicolon or newline or }
11:09 < dagle> is there an extra , ?
11:09 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined
#go-nuts
11:10 < HollyRain> I get the same removing that last comma
11:11 < HollyRain> in fact, I added it because it gives me that error
11:13 -!- ni| [~james@dontpanic.union.edu] has joined #go-nuts
11:20 < tricky> have you tried var data = []int { P_W+P_R, P_R, P_R, } ?
11:22 < HollyRain> tricky: I has ':=' and then I deleted all
11:23 < HollyRain> *I had
11:25 < tricky> so you had data := []int { P_W+P_R, P_R, P_R, } and then you
deleted it?  is that what you are saying?
11:27 < HollyRain> yes, that is it, sorry
11:28 < HollyRain> I've to use '=' in arraies
11:41 -!- awidegreen_ [~quassel@p5B0627A9.dip.t-dialin.net] has joined #go-nuts
11:42 -!- awidegreen [~quassel@p5B063212.dip.t-dialin.net] has quit [Ping timeout:
276 seconds]
11:53 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
12:00 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.1.1]
12:02 < wrtp> that last version looks as if it should work
12:03 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts
12:04 -!- soundar [~soundar@180.151.49.130] has quit [Quit: Leaving.]
12:05 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-214.clienti.tiscali.it] has
quit [Read error: Connection reset by peer]
12:06 < HollyRain> when you create a function with a array as parameter,
func a(foo []string)
12:07 < HollyRain> when you access to it, there is do it as: a([]string
{"one", "two"}) ?
12:08 < HollyRain> instead of simply *a("one", "two")* or *a({"one",
"two"})* ?
12:20 < wrtp> HollyRain: neither of the examples on the last line will work
12:21 < HollyRain> I know, I tested them
12:21 < wrtp> if you want a("one", "two") to work, you could declare a as
func a(foo ...  string)
12:27 -!- rsaarelm [~rsaarelm@cs181128175.pp.htv.fi] has quit [Quit: leaving]
12:27 -!- rsaarelm [~rsaarelm@cs181128175.pp.htv.fi] has joined #go-nuts
12:28 -!- mikedee [~quassel@91.111.5.225] has quit [Remote host closed the
connection]
12:28 -!- allisterb_ [~allisterb@cuscon125971.tstt.net.tt] has joined #go-nuts
12:29 -!- allisterb [~allisterb@cuscon125943.tstt.net.tt] has quit [Ping timeout:
260 seconds]
12:33 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has joined #go-nuts
12:35 -!- vdrab [~vdrab@cap008-116.kcn.ne.jp] has joined #go-nuts
12:39 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping
timeout: 268 seconds]
12:41 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
12:42 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has quit [Remote host
closed the connection]
12:50 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
12:52 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
12:53 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has joined #go-nuts
12:55 < Surma> hey guys.  Can i somehow have a map as const?
12:55 < wrtp> Surma: no
12:56 < Surma> okay then ^^ var() it is
12:56 < wrtp> you could hide it behind an interface that doesn't allow it to
be modified
12:57 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has joined #go-nuts
12:57 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Ping
timeout: 240 seconds]
12:57 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
12:58 < Surma> well, it's not about being unmodifiable, just about being a
constant - for better reading
12:58 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
12:59 < wrtp> isn't being a constant all about being unmodifiable?
13:03 -!- mikedee [~quassel@91.111.5.225] has joined #go-nuts
13:03 -!- mikedee [~quassel@91.111.5.225] has quit [Client Quit]
13:03 -!- mikedee [~quassel@91.111.5.225] has joined #go-nuts
13:06 < Surma> wrtp: well yeah, or in this case "not being modifed thruout
the whole program"
13:06 < Surma> that's why I would have liked to put it in there, but it's
really not that bad
13:07 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Ping timeout: 252
seconds]
13:07 -!- megaboz [~megaboz@201.86.72.213.dynamic.adsl.gvt.net.br] has joined
#go-nuts
13:09 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
13:10 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has joined #go-nuts
13:15 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
13:15 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
13:16 < HollyRain> which is the way to exit from a function after of an
error?  using fmt.Println("error..."); sys.exit(1)
13:17 < HollyRain> I've seen that any functions use as return parameter an
error string too
13:25 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 276 seconds]
13:25 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
13:26 -!- tricky [~Knave@dsl-240-185-105.telkomadsl.co.za] has quit []
13:28 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined
#go-nuts
13:30 -!- l00t [~i-i3id3r_@189.105.91.194] has joined #go-nuts
13:30 < l00t> hi ppl
13:30 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 245 seconds]
13:30 < l00t> does go lang supports overload?
13:31 < bortzmeyer> l00t: you mean two functions with the same name and
different parameters?  Unfortunately, no
13:32 < l00t> bortzmeyer, ok
13:34 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has quit [Ping timeout: 245
seconds]
13:35 < wrtp> it's very deliberate & not unfortunate!
13:35 < wrtp> it means you can know what function you're calling without
needing to know the types of its parameters
13:35 < bortzmeyer> wrtp: i regret it
13:36 < wrtp> i don't think that overloaded functions would work with the
way constants are treated in go
13:47 < cthom> plus if you said func add(int) {} func add(string) {} x :=
add; what's in x?
13:48 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has joined #go-nuts
13:52 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has quit [Read error:
Operation timed out]
13:53 -!- lux` [lucs@151.95.169.212] has joined #go-nuts
13:54 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Quit: Quitte]
13:59 < bortzmeyer> cthom: yes, function overloading never mixed well with
type inference.
14:00 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
14:00 -!- path[l] [~path@122.182.0.38] has quit [Client Quit]
14:00 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
14:02 < rsaarelm> Haskell manages it.  But it gets kinda complicated there.
14:04 < wrtp> rsaarelm: i don't think haskell does function overloading
14:05 < rsaarelm> It has the type class thing.
14:05 -!- l00t [~i-i3id3r_@189.105.91.194] has quit [Quit: Leaving]
14:05 < wrtp> that's not function overloading
14:06 -!- ssb [~ssb@213.167.39.150] has quit [Read error: Operation timed out]
14:06 < rsaarelm> How's it different?
14:07 < wrtp> you don't call a different function if you call a name with
differently typed args
14:07 < wrtp> type classes are more like specifying methods on an object
14:08 < rsaarelm> You could say that, yes.
14:09 -!- allisterb_ [~allisterb@cuscon125971.tstt.net.tt] has quit [Read error:
Connection reset by peer]
14:09 -!- allisterb [~allisterb@cuscon129339.tstt.net.tt] has joined #go-nuts
14:11 < wrtp> if you call that overloading, then go has overloading - you
can have two differently-typed methods of the same name on two different types.
14:13 < bortzmeyer> wrtp: As a former Haskell programmer, I agree with you.
Haskell, like Go, does not really have overloading.
14:13 < rsaarelm> wrtp: Well you couldn't write an algorithm in Go that
works with everything that has that name.  You can in Haskell.
14:13 -!- iant [~iant@67.218.103.125] has joined #go-nuts
14:13 -!- mode/#go-nuts [+v iant] by ChanServ
14:14 < wrtp> rsaarelm: no you can't
14:14 -!- ssb [~ssb@213.167.39.150] has joined #go-nuts
14:14 < wrtp> rsaarelm: you have to associate the instance with a given type
class AFAIR
14:15 < rsaarelm> Yeah, I was assuming that.
14:16 < rsaarelm> Should've been clearer.
14:16 < wrtp> ok, so we're assuming it's the correct type.  in which case
go's interfaces work just fine.
14:17 < rsaarelm> Pretty much.
14:18 < wrtp> anyway, the lack of overloading is quite fundamental to go's
design.  i don't think it's something to be regretted...
14:21 < rsaarelm> And if you really need it, you can always take a
performance hit and lose compile-time checking and make a function that takes
(...interface{}) and parses the arguments at runtime.
14:21 -!- nocturnal [~nocturnal@83.209.24.174] has joined #go-nuts
14:21 < nocturnal> name string
14:21 < nocturnal> oops sorry
14:22 < wrtp> rsaarelm: yeah
14:22 < nocturnal> i was going to ask about the name string in the File
struct.  when i'm opening stdin, what name do i use?
14:22 < nocturnal> the source code of file.go doesn't say that name can be
nil
14:22 < wrtp> nocturnal: you use os.Stdin
14:22 < nocturnal> oh, so 0 as int and os.Stdin as name?
14:23 < nocturnal> i was trying to do the other way around at first but the
compiler complained about the int field
14:23 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
14:23 < nocturnal> i expected os.Stdin to be a constant of an int but i
guess it's not like c
14:23 < wrtp> nocturnal: os.Stdin is an already open file
14:23 < nocturnal> oh i see, so it's a *File to descriptor 0
14:23 < nocturnal> thanks for your information wrtp
14:23 < wrtp> yup
14:24 -!- nocturnal [~nocturnal@83.209.24.174] has quit [Client Quit]
14:24 -!- allisterb_ [~allisterb@cuscon127851.tstt.net.tt] has joined #go-nuts
14:24 < wrtp> np
14:25 -!- allisterb [~allisterb@cuscon129339.tstt.net.tt] has quit [Ping timeout:
264 seconds]
14:28 -!- emk [~emk@41.215.53.182] has quit [Read error: Connection reset by peer]
14:30 -!- Wiz126 [Wiz126@72.20.221.127] has quit [Ping timeout: 258 seconds]
14:31 -!- HollyRain [~quassel@87.223.124.112] has left #go-nuts
["http://quassel-irc.org - Chat comfortably.  Anywhere."]
14:36 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit
[Ping timeout: 245 seconds]
14:39 -!- mwarning [~mwarning@ip-78-94-222-65.unitymediagroup.de] has joined
#go-nuts
14:43 -!- allisterb_ [~allisterb@cuscon127851.tstt.net.tt] has quit [Ping timeout:
268 seconds]
14:44 -!- allisterb [~allisterb@cuscon127894.tstt.net.tt] has joined #go-nuts
14:46 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has joined #go-nuts
14:47 -!- Wiz126 [Wiz126@72.20.223.253] has joined #go-nuts
14:48 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined
#go-nuts
14:52 -!- souffledev__ [~soufflede@110-174-144-249.static.tpgi.com.au] has joined
#go-nuts
14:54 -!- iant [~iant@67.218.103.125] has quit [Ping timeout: 246 seconds]
14:54 -!- souffledev__ [~soufflede@110-174-144-249.static.tpgi.com.au] has quit
[Client Quit]
14:55 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit
[Ping timeout: 248 seconds]
14:55 -!- drewr [~drewr@valve.draines.com] has quit [Ping timeout: 252 seconds]
14:59 -!- XniX23 [vegy@89-212-10-29.dynamic.dsl.t-2.net] has joined #go-nuts
15:00 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
15:00 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
15:00 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
15:01 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined
#go-nuts
15:01 -!- thakis [~thakis@67.218.102.237] has joined #go-nuts
15:02 -!- drewr [~drewr@valve.draines.com] has joined #go-nuts
15:03 -!- lucs__ [lux`@151.95.169.212] has joined #go-nuts
15:05 -!- mwarning [~mwarning@ip-78-94-222-65.unitymediagroup.de] has left
#go-nuts []
15:06 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has quit [Read error: No
route to host]
15:06 -!- lux` [lucs@151.95.169.212] has quit [Ping timeout: 245 seconds]
15:07 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has joined #go-nuts
15:11 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has quit [Quit: Leaving]
15:13 -!- defmacro [~defn@beigetower/jaene] has joined #go-nuts
15:15 -!- thakis [~thakis@67.218.102.237] has quit [Quit: thakis]
15:15 -!- fusion44 [~quassel@p5B286FD3.dip.t-dialin.net] has joined #go-nuts
15:23 -!- iant [~iant@nat/google/x-ppxiztlftlxqgmrk] has joined #go-nuts
15:23 -!- mode/#go-nuts [+v iant] by ChanServ
15:24 -!- defmacro [~defn@beigetower/jaene] has left #go-nuts []
15:26 -!- m1ndwarp [~m1ndwarp@client084.funk4.fh-aachen.de] has joined #go-nuts
15:29 -!- sschober [~schober@hysbald.informatik.uni-ulm.de] has joined #go-nuts
15:29 -!- gnuvince_ [~vince@70.35.167.101] has joined #go-nuts
15:31 -!- plexdev [~plexdev@arthur.espians.com] has joined #go-nuts
15:32 -!- thomas_luce [~John@173-8-216-62-Oregon.hfc.comcastbusiness.net] has
joined #go-nuts
15:33 -!- ath [~ath@omega.lambda.fi] has quit [Ping timeout: 268 seconds]
15:33 -!- gnuvince [~vince@72.0.216.87] has quit [Ping timeout: 258 seconds]
15:34 -!- allisterb_ [~allisterb@cuscon126451.tstt.net.tt] has joined #go-nuts
15:36 -!- fusion44 [~quassel@p5B286FD3.dip.t-dialin.net] has quit [Remote host
closed the connection]
15:36 -!- allisterb [~allisterb@cuscon127894.tstt.net.tt] has quit [Ping timeout:
268 seconds]
15:41 -!- ath [~ath@omega.lambda.fi] has joined #go-nuts
15:47 < souffledev> night folks
15:47 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit
[Remote host closed the connection]
15:49 -!- Wiz126 [Wiz126@72.20.223.253] has quit [Ping timeout: 276 seconds]
15:52 -!- m1ndwarp [~m1ndwarp@client084.funk4.fh-aachen.de] has quit [Remote host
closed the connection]
15:53 -!- m1ndwarp_ [~m1ndwarp@client084.funk4.fh-aachen.de] has joined #go-nuts
15:54 -!- Wiz126 [Wiz126@72.20.223.253] has joined #go-nuts
16:05 < plexdev> http://is.gd/aWH3F by [Russ Cox] in go/src/cmd/cc/ -- cc:
fix typo
16:09 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:10 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
16:11 -!- ni| [~james@dontpanic.union.edu] has left #go-nuts []
16:11 -!- ni| [~james@dontpanic.union.edu] has joined #go-nuts
16:11 < ni|> iant: ping
16:12 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has left
#go-nuts []
16:18 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has quit [Quit: Leaving]
16:19 -!- Venom_X [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
16:21 -!- meatmanek [~meatmanek@mesingw.student.cwru.edu] has joined #go-nuts
16:21 < plexdev> http://is.gd/aWIWn by [Charles L. Dorian] in
go/src/pkg/math/ -- math: add J0 and Y0 (Bessel functions)
16:22 -!- Wiz126 [Wiz126@72.20.223.253] has quit [Ping timeout: 276 seconds]
16:23 -!- Wiz126 [Wiz126@72.20.223.253] has joined #go-nuts
16:23 < wrtp> i wonder if os.NewFile should really SetFinalizer to close;
after all, it hasn't actually opened the file.
16:24 < wrtp> currently if you do os.NewFile(2), everything that uses
os.Stderr can fail.
16:25 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
16:25 -!- vdrab [~vdrab@cap008-116.kcn.ne.jp] has quit [Quit: vdrab]
16:27 < anticw> wrtp: the finalizer for that object runs and fd 2 is closed
...
16:29 < anticw> wrtp: that's a bit nasty ...  and set SetFinalizer to nill
would be racy, it might be better than NewFile clones the fds ...  and uses that
16:29 < anticw> wrtp: ah, i see it calls SetFinalizer explicitly, i think
you can argue that's a problem
16:30 < wrtp> SetFinalizer to nil wouldn't be racy, i don't think
16:30 < wrtp> but i'm coming to the conclusion that it's not sufficient
16:30 < wrtp> you get the same problem if you just Close the file
16:31 < anticw> no, racy it's fine since f will have a reference for that
lifetime
16:31 < anticw> but it's not clear if that makes sense
16:31 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
16:31 < anticw> for example, if i do stderr := os.NewFile(2)
16:31 < anticw> and write to that ...  i want the finalizer behavior
sometimes, it's when i *mix* things it's a problem
16:32 < wrtp> i think it would be better if os.File held a "needclose"
boolean, which is false when the file's created via os.NewFile
16:32 < wrtp> then it doesn't matter if it's closed (by finalizer or
explicitly)
16:33 -!- trickie [~trickie@94.100.112.225] has quit [Ping timeout: 260 seconds]
16:33 -!- meatmanek [~meatmanek@mesingw.student.cwru.edu] has quit [Quit: Leaving]
16:33 < wrtp> anticw: currently, stderr := os.NewFile(2) is always a
mistake.
16:35 -!- allisterb_ [~allisterb@cuscon126451.tstt.net.tt] has quit [Remote host
closed the connection]
16:38 < plexdev> http://is.gd/aWKI6 by [Russ Cox] in 5 subdirs of go/ --
runtime: malloc sampling, pprof interface
16:41 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has joined #go-nuts
16:41 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined
#go-nuts
16:42 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has left
#go-nuts []
16:42 -!- thakis [~thakis@nat/google/x-okrzcfkhtketjedq] has joined #go-nuts
16:43 -!- ikaros [~ikaros@f050226206.adsl.alicedsl.de] has joined #go-nuts
16:58 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
17:00 -!- m1ndwarp_ [~m1ndwarp@client084.funk4.fh-aachen.de] has quit [Quit:
m1ndwarp_]
17:02 -!- m1ndwarp [~m1ndwarp@client084.funk4.fh-aachen.de] has joined #go-nuts
17:06 -!- m1ndwarp [~m1ndwarp@client084.funk4.fh-aachen.de] has quit [Client Quit]
17:09 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has quit [Quit:
Leaving]
17:11 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
17:12 -!- ikaros [~ikaros@f050226206.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
17:15 <+iant> ni|: pong
17:16 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has joined #go-nuts
17:22 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 246
seconds]
17:23 -!- Wiz126 [Wiz126@72.20.223.253] has quit [Ping timeout: 264 seconds]
17:35 -!- espadrine_ [~86d6a3df@gateway/web/freenode/x-pmtourioylhetzii] has
joined #go-nuts
17:40 -!- espadrine_ [~86d6a3df@gateway/web/freenode/x-pmtourioylhetzii] has quit
[Ping timeout: 252 seconds]
17:43 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-214.clienti.tiscali.it] has
joined #go-nuts
17:44 -!- akrill [~akrill@ip65-47-28-158.z28-47-65.customer.algx.net] has joined
#go-nuts
17:57 -!- Cyprien_ [Cyprien@202-48.1-85.cust.bluewin.ch] has joined #go-nuts
18:03 -!- Wiz126 [Wiz126@72.20.223.253] has joined #go-nuts
18:08 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
18:08 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host
closed the connection]
18:08 -!- Demp [~Demp@bzq-109-64-29-116.red.bezeqint.net] has joined #go-nuts
18:10 -!- nf [~nf@124-168-189-71.dyn.iinet.net.au] has quit [Ping timeout: 264
seconds]
18:15 -!- Demp [~Demp@bzq-109-64-29-116.red.bezeqint.net] has quit []
18:16 -!- mikedee [~quassel@91.111.5.225] has quit [Remote host closed the
connection]
18:17 -!- nf [~nf@124-168-169-232.dyn.iinet.net.au] has joined #go-nuts
18:18 -!- mikedee [~quassel@91.111.5.225] has joined #go-nuts
18:36 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has quit [Quit: Leaving]
18:38 -!- g0bl1n [~anonymous@a213-22-18-86.cpe.netcabo.pt] has joined #go-nuts
18:44 -!- DerHorst [~Horst@e176099161.adsl.alicedsl.de] has joined #go-nuts
18:48 -!- ikaros [~ikaros@g226221180.adsl.alicedsl.de] has joined #go-nuts
19:01 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
19:02 < ni|> iant: i'm fixing a problem with the codereview extension -- i
already spoke to russ
19:02 < ni|> sorry for the noise
19:05 -!- Venom_bbiab [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Ping
timeout: 260 seconds]
19:05 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has joined #go-nuts
19:10 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
19:16 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has joined #go-nuts
19:20 -!- DerHorst [~Horst@e176099161.adsl.alicedsl.de] has quit [Quit:
Verlassend]
19:30 -!- grahame [~grahame@billy.angrygoats.net] has quit [Ping timeout: 246
seconds]
19:31 -!- grahame [~grahame@billy.angrygoats.net] has joined #go-nuts
19:47 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-145-125.netcologne.de] has joined
#go-nuts
19:51 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
19:54 -!- fwiffo [~fwiffo@unaffiliated/fwiffo] has quit [Quit: Lost terminal]
20:07 -!- Venom_X_ [~pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined
#go-nuts
20:10 -!- aho [~nya@f051153028.adsl.alicedsl.de] has joined #go-nuts
20:10 -!- Surma [~surma@p54BD0AF7.dip0.t-ipconnect.de] has quit [Quit: Leaving.]
20:11 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Ping timeout: 258 seconds]
20:13 -!- nanoo [~nano@95-89-189-46-dynip.superkabel.de] has quit [Quit: Leaving]
20:25 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has quit [Quit: Leaving]
20:33 -!- Wiz126 [Wiz126@72.20.223.253] has quit [Ping timeout: 248 seconds]
20:34 -!- megaboz [~megaboz@201.86.72.213.dynamic.adsl.gvt.net.br] has quit [Quit:
Lost terminal]
20:35 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
20:37 -!- thakis [~thakis@nat/google/x-okrzcfkhtketjedq] has quit [Quit: thakis]
20:38 -!- ericvh [~ericvh@32.97.110.63] has left #go-nuts []
20:38 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has joined #go-nuts
20:41 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has quit [Client Quit]
20:45 -!- Wiz126 [Wiz126@72.20.222.100] has joined #go-nuts
20:55 -!- Akapaka [~rooms@gprs13.swisscom-mobile.ch] has joined #go-nuts
20:55 -!- g0bl1n [~anonymous@a213-22-18-86.cpe.netcabo.pt] has quit [Quit: g0bl1n]
21:02 -!- NinoScript [~Adium@219-214-223-201.adsl.terra.cl] has joined #go-nuts
21:03 -!- thakis [~thakis@nat/google/x-lbsqzvpndvmfoqsw] has joined #go-nuts
21:04 -!- m1ndwarp [~m1ndwarp@xdsl-78-35-145-125.netcologne.de] has quit [Quit:
m1ndwarp]
21:04 -!- megaboz [~megaboz@unaffiliated/megaboz] has joined #go-nuts
21:15 -!- aldaor [~chatzilla@201.250.119.10] has joined #go-nuts
21:16 -!- NinoScript [~Adium@219-214-223-201.adsl.terra.cl] has left #go-nuts []
21:19 -!- tcoppi
[~nuclear@57c3ed63-1294-45bd-a8e8-cdcc07cfa16f.static.grokthis.net] has joined
#go-nuts
21:21 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the
connection]
21:21 -!- Akapaka [~rooms@gprs13.swisscom-mobile.ch] has quit [Ping timeout: 258
seconds]
21:31 -!- SecretofMana [~truthlimi@142.46.164.30] has joined #go-nuts
21:36 < megaboz> http://codereview.appspot.com/670041/diff/2001/3003
21:37 < megaboz> i don't understand the use of lines 133,134
21:42 < thakis> megaboz: i think that creates an unnamed var of a certain
type
21:42 < thakis> so that the type is checked at compile time, like the
comment says
21:43 -!- HollyRain [~quassel@87.223.124.112] has joined #go-nuts
21:45 -!- g0bl1n [~anonymous@a213-22-18-86.cpe.netcabo.pt] has joined #go-nuts
21:46 -!- bmm [~bram@giveme.xs4all.nl] has joined #go-nuts
21:46 < HollyRain> how to get an octal number?  I believe that is prepending
a zero
21:47 < HollyRain> then, how to know if it's octal?  since that that zero
isn't showed
21:50 -!- thakis [~thakis@nat/google/x-lbsqzvpndvmfoqsw] has quit [Quit: thakis]
21:51 < KirkMcDonald> An integer is an integer.
21:51 -!- wrtp [~rog@78.148.84.23] has quit [Quit: wrtp]
21:54 -!- thakis [~thakis@nat/google/x-wjpowhyorycfuwcb] has joined #go-nuts
21:54 -!- thakis [~thakis@nat/google/x-wjpowhyorycfuwcb] has quit [Client Quit]
21:55 < HollyRain> ok, but if is stored a number as 0444, it's being stored
as octal, isn't?
21:56 < plexdev> http://is.gd/aXgfL by [Robert Griesemer] in
go/src/cmd/godoc/ -- godoc: use http GET for remote search instead of rpc
21:57 < megaboz> HollyRain: it's converted to an 'integer' at compile time
21:57 < KirkMcDonald> HollyRain: It is an integer.
21:58 < KirkMcDonald> HollyRain: If you like, it is being stored in binary,
regardless of how it was represented in the source code.
22:08 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
22:09 -!- meatmanek [~meatmanek@mesingw.STUDENT.CWRU.Edu] has joined #go-nuts
22:10 -!- jackman [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has quit [Read
error: Operation timed out]
22:11 -!- hevalbaranov [~hevalbara@88.247.204.111] has joined #go-nuts
22:13 -!- lucs__ [lux`@151.95.169.212] has quit [Read error: Connection reset by
peer]
22:13 < plexdev> http://is.gd/aXhLU by [Rob Pike] in go/doc/ -- Delete
panicln from the spec.
22:14 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts
22:24 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
22:24 < Eridius> when I create a new change, is that immediately mailed to
the listed reviewers?
22:26 -!- Kashia [~Kashia@port-92-200-85-135.dynamic.qsc.de] has joined #go-nuts
22:28 < exch> only when yuo use the 'hg mail' command I think
22:28 -!- scm [justme@c155190.adsl.hansenet.de] has quit [Ping timeout: 276
seconds]
22:28 < exch> *you
22:29 -!- scm [justme@c132015.adsl.hansenet.de] has joined #go-nuts
22:30 < Eridius> thanks
22:47 < KirkMcDonald> So I have discovered what I would classify as a bug in
Go: http://paste.pocoo.org/show/193540/
22:47 < KirkMcDonald> This program prints 'foo' twice.
22:47 < KirkMcDonald> Using x, y instead of x, _ prints 'foo' once.
22:48 < KirkMcDonald> Should I file a ticket?
22:48 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
22:49 -!- bmm [~bram@giveme.xs4all.nl] has quit [Ping timeout: 246 seconds]
22:49 -!- aldaor [~chatzilla@201.250.119.10] has quit [Quit: ChatZilla 0.9.86
[Firefox 3.6.2/20100316074819]]
22:50 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
22:50 < KirkMcDonald> I guess I'll file a ticket.
22:50 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
22:53 -!- thakis [~thakis@nat/google/x-eediolllxrwbjesk] has joined #go-nuts
22:55 -!- thakis_ [~thakis@nat/google/x-ujafmbepfsrdekty] has joined #go-nuts
22:58 -!- thakis [~thakis@nat/google/x-eediolllxrwbjesk] has quit [Ping timeout:
276 seconds]
22:59 -!- wuehlmaus [~wuehlmaus@p4FCC7F3B.dip.t-dialin.net] has quit [Read error:
Operation timed out]
23:00 -!- wuehlmaus [~wuehlmaus@p4FCC6D55.dip.t-dialin.net] has joined #go-nuts
23:00 -!- ahihi [~generic@cs27127176.pp.htv.fi] has quit [Read error: Operation
timed out]
23:03 < KirkMcDonald> Done: http://code.google.com/p/go/issues/detail?id=692
23:04 < exch> is it really a bug?  You are defining 2 variables, which each
should be assigned the return value of F()
23:04 < exch> so it calls it twice
23:04 < exch> seems logical to me
23:04 < KirkMcDonald> exch: So why does using "x, y" instead of "x, _" call
it once?
23:04 < exch> oh wait
23:04 < exch> it has 2 return values
23:05 < KirkMcDonald> Yes.
23:05 < exch> hmm
23:05 < exch> yup.  that is a bit peculiar
23:10 -!- ahihi [~generic@cs27127176.pp.htv.fi] has joined #go-nuts
23:12 -!- akrill [~akrill@ip65-47-28-158.z28-47-65.customer.algx.net] has quit
[Remote host closed the connection]
23:12 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Remote host closed the
connection]
23:12 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
23:12 -!- HollyRain [~quassel@87.223.124.112] has left #go-nuts
["http://quassel-irc.org - Chat comfortably.  Anywhere."]
23:12 -!- supertr4mp [~hevalbara@88.247.204.219] has joined #go-nuts
23:13 -!- hevalbaranov [~hevalbara@88.247.204.111] has quit [Read error:
Connection reset by peer]
23:15 -!- Cyprien_ [Cyprien@202-48.1-85.cust.bluewin.ch] has quit [Ping timeout:
276 seconds]
23:20 -!- skelterjohn [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has joined
#go-nuts
23:24 -!- jackman_ [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has joined
#go-nuts
23:24 -!- jackman_ [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has quit [Client
Quit]
23:24 -!- iant [~iant@nat/google/x-ppxiztlftlxqgmrk] has quit [Ping timeout: 276
seconds]
23:30 < plexdev> http://is.gd/aXovm by [Robert Griesemer] in 2 subdirs of
go/ -- godoc: show relative file names without leading '/' (per r's request)
23:36 -!- toni_ [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts
23:36 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Read
error: Connection reset by peer]
23:43 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[Ping timeout: 252 seconds]
23:43 -!- megaboz_ [~megaboz@201.86.77.6.dynamic.adsl.gvt.net.br] has joined
#go-nuts
23:46 < plexdev> http://is.gd/aXpSV by [Rob Pike] in 25 subdirs of go/ --
delete all uses of panicln by rewriting them using panic or,
23:47 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Ping timeout: 276
seconds]
23:47 -!- jackman [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has joined
#go-nuts
23:48 -!- iant [~iant@67.218.107.254] has joined #go-nuts
23:48 -!- mode/#go-nuts [+v iant] by ChanServ
23:50 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
23:50 -!- roto [~roto@64.79.202.154] has quit [Remote host closed the connection]
23:55 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-176-214.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
23:57 -!- thakis [~thakis@nat/google/x-ujafmbepfsrdekty] has quit [Quit: thakis]
--- Log closed Thu Mar 25 00:00:32 2010