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

--- Log opened Fri Dec 25 00:00:36 2009
00:07 -!- dipoll [n=dmytro@212.92.227.60] has quit ["Leaving."]
00:15 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
00:16 -!- Alkavan__ [n=alkavan@87.68.32.29.cable.012.net.il] has quit [Read error:
54 (Connection reset by peer)]
00:16 -!- Alkavan__ [n=alkavan@87.68.32.29.cable.012.net.il] has joined #go-nuts
00:17 -!- plexdev [n=plexdev@arthur.espians.com] has joined #go-nuts
00:24 -!- ayo [n=nya@f052026138.adsl.alicedsl.de] has joined #go-nuts
00:27 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the
connection]
00:29 -!- hiromtz [n=hiromtz@p4004-ipbf1304akatuka.ibaraki.ocn.ne.jp] has quit
["Leaving..."]
00:30 -!- Alkavan__ [n=alkavan@87.68.32.29.cable.012.net.il] has quit [Read error:
54 (Connection reset by peer)]
00:30 -!- lux` [n=lux@151.95.189.174] has quit [Remote closed the connection]
00:30 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
00:33 -!- aho [n=nya@f050212253.adsl.alicedsl.de] has quit [Read error: 110
(Connection timed out)]
00:34 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts
00:35 -!- plexdev [n=plexdev@arthur.espians.com] has quit [Remote closed the
connection]
00:37 -!- plexdev [n=plexdev@arthur.espians.com] has joined #go-nuts
00:38 -!- plexdev [n=plexdev@arthur.espians.com] has quit [Remote closed the
connection]
00:40 -!- herlahr [n=herlahr@bzq-79-183-113-14.red.bezeqint.net] has joined
#go-nuts
00:41 -!- Kibiz0r [n=Adium@adsl-99-35-9-222.dsl.klmzmi.sbcglobal.net] has joined
#go-nuts
00:42 -!- plexdev [n=plexdev@arthur.espians.com] has joined #go-nuts
00:43 < herlahr> I'm trying to compile to "Initialization example" from
GoCourseDay1 (slide 62).  I created init.go, transcendental.go but not sure how to
compile these (init imports the package transcendental but the compiler says it
doesn't know where to find it).  Anyone know how to do this?
00:45 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:50 -!- Guest44257 [n=elmar@dslb-094-219-213-255.pools.arcor-ip.net] has quit
["Leaving"]
00:57 < KirkMcDonald> You need to compile the package before it can be
imported.
01:05 < herlahr> i ran "8g transcendental.go" and it created transcendent.8.
it's all in the same directory.  I still get an error
01:06 -!- Kibiz0r [n=Adium@adsl-99-35-9-222.dsl.klmzmi.sbcglobal.net] has quit
["Leaving."]
01:06 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has quit [Read
error: 54 (Connection reset by peer)]
01:06 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit []
01:07 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
01:08 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts
01:08 -!- mbarkhau [n=koloss@p54A7E33A.dip.t-dialin.net] has quit ["Leaving."]
01:09 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [Client Quit]
01:14 -!- kashia_ [n=Kashia@p4FEB490C.dip.t-dialin.net] has quit [Read error: 60
(Operation timed out)]
01:17 -!- dacresni [n=dacresni@adsl-70-130-187-56.dsl.stlsmo.swbell.net] has
joined #go-nuts
01:18 -!- amuck [n=amuck@h122.78.88.75.dynamic.ip.windstream.net] has joined
#go-nuts
01:18 < dacresni> is there any way to download (or checkout) gccgo without
downloading the entire compiler tree?
01:19 < dacresni> svn checkout
svn://gcc.gnu.org/svn/gcc/branches/gccgo/libgo gccgo
01:19 < dacresni> ?
01:23 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit []
01:26 -!- herlahr_ [i=herlahr@bzq-79-183-108-115.red.bezeqint.net] has joined
#go-nuts
01:29 -!- itrekkie_afk [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit []
01:34 -!- herlahr_ [i=herlahr@bzq-79-183-108-115.red.bezeqint.net] has quit
["Leaving"]
01:38 -!- fyusy [n=fyusman@110.174.144.171] has joined #go-nuts
01:38 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts
01:42 -!- JBeshir [n=namegduf@82.27.24.89] has quit ["Reconnecting"]
01:42 -!- pshahmumbai [n=prashant@59.164.24.117] has joined #go-nuts
01:43 -!- JBeshir [n=namegduf@82.27.24.89] has joined #go-nuts
01:43 -!- dacresni [n=dacresni@adsl-70-130-187-56.dsl.stlsmo.swbell.net] has left
#go-nuts []
01:45 -!- samferry [i=sam@unaffiliated/samferry] has joined #go-nuts
01:47 -!- herlahr [n=herlahr@bzq-79-183-113-14.red.bezeqint.net] has quit [Read
error: 110 (Connection timed out)]
02:00 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has quit [Read
error: 104 (Connection reset by peer)]
02:00 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
02:01 -!- jhh [n=jhh@i577B93BA.versanet.de] has quit []
02:03 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit ["Computer
has gone to sleep"]
02:03 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has joined #go-nuts
02:03 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit [Client
Quit]
02:11 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has joined #go-nuts
02:12 -!- Alkavan_ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
02:15 -!- itrekkie [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts
02:19 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has quit [Read
error: 60 (Operation timed out)]
02:21 -!- Alkavan_ [n=alkavan@87.68.75.130.cable.012.net.il] has quit [Read error:
104 (Connection reset by peer)]
02:21 -!- Alkavan_ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
02:23 -!- yashi [n=yashi@dns1.atmark-techno.com] has quit [Remote closed the
connection]
02:25 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts
02:27 -!- vizzord [n=exn@195.49.206.202] has quit ["see you"]
02:31 -!- yashi_ [n=chatzill@dns1.atmark-techno.com] has joined #go-nuts
02:33 -!- yashi_ [n=chatzill@dns1.atmark-techno.com] has quit [Client Quit]
02:34 -!- yashi [n=yashi@dns1.atmark-techno.com] has quit [Remote closed the
connection]
02:34 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts
02:35 -!- yashi [n=yashi@dns1.atmark-techno.com] has left #go-nuts []
02:36 -!- yashi_ [n=chatzill@dns1.atmark-techno.com] has joined #go-nuts
02:37 -!- pshahmumbai [n=prashant@59.164.24.117] has quit [Read error: 60
(Operation timed out)]
02:37 -!- yashi_ [n=chatzill@dns1.atmark-techno.com] has quit [Remote closed the
connection]
02:41 -!- yashi [n=yashi@dns1.atmark-techno.com] has joined #go-nuts
02:42 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
02:48 -!- Kibiz0r [n=Adium@adsl-99-35-9-222.dsl.klmzmi.sbcglobal.net] has joined
#go-nuts
02:56 -!- path[l] [i=UPP@120.138.102.34] has quit []
03:16 -!- Kibiz0r [n=Adium@adsl-99-35-9-222.dsl.klmzmi.sbcglobal.net] has quit
["Leaving."]
03:20 -!- JSharpe2 [n=jamie@5ad50252.bb.sky.com] has joined #go-nuts
03:21 < defectiv> how would i declare a variable to store a map like this
json hash?  { "foo": {"bar": 1}}
03:27 -!- Alkavan__ [n=alkavan@87.68.75.130.cable.012.net.il] has joined #go-nuts
03:28 < tav> defectiv: var foo map[string]map[string]int
03:29 < tav> ?
03:30 -!- michael| [n=maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined
#go-nuts
03:30 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts
03:33 -!- lux` [n=lux@151.95.189.174] has quit [Remote closed the connection]
03:36 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has quit [Read error: 110
(Connection timed out)]
03:44 < Ycros> defectiv: make a struct that holds the maps though, it'll be
easier to deal with nesting
03:45 -!- Alkavan_ [n=alkavan@87.68.75.130.cable.012.net.il] has quit [Read error:
110 (Connection timed out)]
03:50 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
03:54 -!- murodese [n=James@203.59.139.167] has joined #go-nuts
03:58 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
04:01 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has joined #go-nuts
04:01 -!- murodes1 [n=James@203-59-16-205.dyn.iinet.net.au] has quit [Read error:
60 (Operation timed out)]
04:09 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
04:13 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
04:21 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has quit []
04:39 -!- itrekkie [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit []
04:44 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
04:45 -!- tav [n=tav@89.243.205.194] has quit []
04:52 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit []
04:52 -!- amuck_ [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has joined
#go-nuts
04:58 -!- amuck [n=amuck@h122.78.88.75.dynamic.ip.windstream.net] has quit [Read
error: 110 (Connection timed out)]
05:00 -!- amuck_ [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has quit
[Read error: 60 (Operation timed out)]
05:02 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error:
110 (Connection timed out)]
05:02 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
05:13 -!- amuck_ [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has joined
#go-nuts
05:14 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
05:19 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
05:27 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has quit [Read error:
110 (Connection timed out)]
05:30 -!- Zarutian [n=zarutian@194-144-84-110.du.xdsl.is] has quit []
05:43 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
05:46 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
05:53 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
05:55 < defectiv> say you're doing some loop on a variable, i.  you multiply
it by, say, some floats.  should you still make it an int, and do conversion
however you need to as you use it, or just use a higher precision type for it, so
you don't have to keep converting it?
05:57 < ayo> doesn't really matter
05:57 -!- uxp [n=uxp@uxp.dsl.xmission.com] has quit [Read error: 113 (No route to
host)]
05:58 -!- uxp [n=uxp@uxp.dsl.xmission.com] has joined #go-nuts
05:58 -!- webbpa [n=chatzill@c-69-243-169-178.hsd1.in.comcast.net] has quit
["ChatZilla 0.9.86 [Firefox 3.5.6/20091215231754]"]
05:59 < defectiv> well doesn't the conversion expend needless processor
time?
06:00 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
06:03 -!- amuck_ [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has quit
[Remote closed the connection]
06:05 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
06:24 -!- Sungem_ [i=ss@220-136-229-64.dynamic.hinet.net] has joined #go-nuts
06:32 -!- Sungem [i=ss@220-136-229-64.dynamic.hinet.net] has quit [Read error: 60
(Operation timed out)]
06:37 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
06:39 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
06:44 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
06:53 -!- keet [n=o@unaffiliated/keet] has joined #go-nuts
06:54 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
06:58 < defectiv> what's wrong with this line?  win_lose :=
map[string]map[string]int{"frontrunner": {"win": 0, "lose": 0}};
07:08 -!- Macpunk [n=macpunk@c-98-200-57-48.hsd1.tx.comcast.net] has joined
#go-nuts
07:11 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
07:13 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
07:13 -!- path[l] [i=UPP@120.138.102.34] has quit []
07:14 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
07:20 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
07:31 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
07:50 -!- Macpunk [n=macpunk@c-98-200-57-48.hsd1.tx.comcast.net] has quit
["Leaving"]
07:52 < defectiv> oh had to do this => win_lose :=
map[string]map[string]int{"frontrunner": map[string]int{"win": 0, "lose": 0}, "n
onfrontrunner": map[string]int{"win": 0, "lose": 0}};
08:05 < slashus2> defectiv: Seems like there could be potential for type
inference with that.
08:06 -!- tar_ [n=tom@cpe-24-210-143-83.woh.res.rr.com] has joined #go-nuts
08:09 -!- ayo [n=nya@f052026138.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
08:11 -!- jhh [n=jhh@i577BBEFE.versanet.de] has joined #go-nuts
08:14 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
08:19 < exitstate> with the os.Chown, theres no resursive bit?
08:19 -!- alc [n=alc@222.128.147.182] has joined #go-nuts
08:27 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit []
08:28 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts
08:28 -!- jhh [n=jhh@i577BBEFE.versanet.de] has quit []
08:32 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [Client
Quit]
08:34 -!- Oejet [n=s022018@glint10.gbar.dtu.dk] has joined #go-nuts
08:37 -!- Alkavan [n=alkavan@87.68.75.130.cable.012.net.il] has quit ["Leaving"]
08:51 -!- path[l] [n=path@59.162.86.164] has quit []
08:52 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
08:52 -!- path[l] [n=path@59.162.86.164] has quit [Client Quit]
08:53 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has joined #go-nuts
08:58 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has quit [Read error: 110 (Connection
timed out)]
09:07 -!- GeoBSD [n=geocalc@lns-bzn-31-82-252-237-170.adsl.proxad.net] has joined
#go-nuts
09:10 -!- PuniSheR [n=PuniSheR@88.232.3.167] has joined #Go-Nuts
09:10 < PuniSheR> a
09:12 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has joined #go-nuts
09:14 < MaJeSTe> S.a
09:14 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:15 < tar_> S.a()
09:18 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has quit [Client
Quit]
09:23 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
09:29 < keet> I'm giving go a first try..  whats a scanf equivalent in go?
09:43 -!- trickie [n=trickie@86.93.227.181] has joined #go-nuts
09:43 < MaJeSTe> a.s tar_ :D
09:44 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
09:47 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts
09:48 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
10:08 -!- neynenmo [n=neynenmo@pD9E63BC2.dip.t-dialin.net] has joined #go-nuts
10:09 -!- neynenmo [n=neynenmo@pD9E63BC2.dip.t-dialin.net] has quit [Client Quit]
10:15 -!- alc [n=alc@222.128.147.182] has quit []
10:24 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
10:28 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
10:36 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Read error: 104
(Connection reset by peer)]
10:48 -!- trickie [n=trickie@86.93.227.181] has quit ["Computer has gone to
sleep"]
10:55 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has joined #go-nuts
11:09 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts
11:12 -!- dju_ [i=dju@89-158-203-122.rev.dartybox.com] has quit ["Quitte"]
11:12 -!- elmar [n=elmar@dslb-188-097-065-138.pools.arcor-ip.net] has joined
#go-nuts
11:21 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts
11:30 -!- lux` [n=lux@151.95.189.174] has quit [Remote closed the connection]
11:33 -!- JBeshir [n=namegduf@82.27.24.89] has quit ["Off for Christmas"]
11:45 -!- trickie [n=trickie@86.93.227.181] has joined #go-nuts
11:47 -!- path[l] [n=path@59.162.86.164] has quit []
11:53 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
11:57 -!- syd [n=sydcogs@118.127.19.220] has quit [Read error: 60 (Operation timed
out)]
11:57 -!- syd [n=sydcogs@118.127.19.220] has joined #go-nuts
11:58 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [Read error: 104
(Connection reset by peer)]
12:17 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 110 (Connection
timed out)]
12:19 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts
12:19 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has joined #go-nuts
12:29 -!- murodes1 [n=James@124-169-145-61.dyn.iinet.net.au] has joined #go-nuts
12:29 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has quit []
12:34 -!- jewel [n=jewel@vc-41-30-87-153.umts.vodacom.co.za] has joined #go-nuts
12:44 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 54 (Connection
reset by peer)]
12:47 -!- kanru [n=kanru@61-228-167-8.dynamic.hinet.net] has joined #go-nuts
12:47 -!- murodese [n=James@203.59.139.167] has quit [Read error: 110 (Connection
timed out)]
12:48 -!- DerHorst [n=Horst@e176116161.adsl.alicedsl.de] has joined #go-nuts
12:56 -!- jewel [n=jewel@vc-41-30-87-153.umts.vodacom.co.za] has quit [Read error:
60 (Operation timed out)]
13:06 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has quit
["Leaving..."]
13:12 -!- path[l] [n=path@122.182.0.38] has quit []
13:14 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts
13:16 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts
13:35 -!- path[l] [n=path@59.162.86.164] has quit []
13:37 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 104 (Connection reset by peer)]
13:38 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
13:40 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the
connection]
13:45 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined
#go-nuts
13:47 -!- trickie [n=trickie@86.93.227.181] has quit ["Computer has gone to
sleep"]
13:48 -!- MaJeSTe [n=PuniSheR@88.232.3.167] has left #Go-Nuts []
13:49 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
13:50 -!- scm_ [i=justme@c190237.adsl.hansenet.de] has joined #go-nuts
13:51 -!- alc [n=alc@222.128.147.182] has joined #go-nuts
14:00 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts
14:01 -!- trickie [n=trickie@86.93.227.181] has joined #go-nuts
14:01 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Read error: 110 (Connection
timed out)]
14:02 -!- scm [i=justme@c133193.adsl.hansenet.de] has quit [Read error: 110
(Connection timed out)]
14:13 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"]
14:27 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
14:31 -!- ryniek [n=RYNIEK@host-89-231-117-44.warszawa.mm.pl] has joined #go-nuts
14:31 < ryniek> hi evrbdy
14:39 -!- ephoenix [n=jellison@cpe-98-14-20-241.nyc.res.rr.com] has quit [Remote
closed the connection]
14:44 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
14:50 -!- dannybrain [n=dannybra@AStrasbourg-151-1-98-27.w81-50.abo.wanadoo.fr]
has joined #go-nuts
14:50 -!- ukl [n=ukl@p4FD71AF2.dip0.t-ipconnect.de] has joined #go-nuts
15:07 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts
15:23 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
15:27 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
15:38 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
15:41 -!- Zarutian [n=zarutian@194-144-84-110.du.xdsl.is] has joined #go-nuts
16:03 -!- jewel [n=jewel@vc-41-27-32-76.umts.vodacom.co.za] has joined #go-nuts
16:11 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error:
110 (Connection timed out)]
16:14 -!- tav [n=tav@89.243.205.194] has joined #go-nuts
16:15 -!- t2zhu_ [n=quassel@76-10-140-122.dsl.teksavvy.com] has joined #go-nuts
16:15 -!- t2zhu_ [n=quassel@76-10-140-122.dsl.teksavvy.com] has quit [Remote
closed the connection]
16:18 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has quit [Remote
closed the connection]
16:35 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has joined #go-nuts
16:46 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
16:47 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Read error: 54 (Connection
reset by peer)]
16:48 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
16:52 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts
16:56 -!- vizzord [n=exn@195.49.206.202] has quit ["see you"]
17:02 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has quit []
17:04 -!- alc [n=alc@222.128.147.182] has quit []
17:06 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
17:09 -!- jewel_ [n=jewel@vc-41-27-136-199.umts.vodacom.co.za] has joined #go-nuts
17:10 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
17:10 -!- jewel [n=jewel@vc-41-27-32-76.umts.vodacom.co.za] has quit [Read error:
110 (Connection timed out)]
17:15 -!- dannybrain [n=dannybra@AStrasbourg-151-1-98-27.w81-50.abo.wanadoo.fr]
has quit [Remote closed the connection]
17:15 -!- lux` [n=lux@151.95.176.190] has joined #go-nuts
17:25 -!- zhaozhou [n=zhaozhou@81-230-150-107-o864.telia.com] has joined #go-nuts
17:26 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts
17:26 -!- lux` [n=lux@151.95.176.190] has quit [Remote closed the connection]
17:34 -!- KillerX [n=anant@adsl-065-012-176-096.sip.asm.bellsouth.net] has joined
#go-nuts
17:34 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit [Remote closed the
connection]
17:34 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection]
17:35 -!- ukl [n=ukl@p4FD71AF2.dip0.t-ipconnect.de] has quit ["bye"]
17:41 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts
17:44 -!- drry_ [n=drry@unaffiliated/drry] has quit ["Tiarra 0.1+svn-35634M:
SIGTERM received; exit"]
17:50 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has quit ["See you..."]
18:02 -!- mbarkhau [n=koloss@p54A7E2EB.dip.t-dialin.net] has joined #go-nuts
18:05 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"]
18:16 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
18:17 -!- zhaozhou [n=zhaozhou@81-230-150-107-o864.telia.com] has quit ["Lost
terminal"]
18:28 -!- path[l] [i=UPP@120.138.102.34] has quit []
18:31 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has joined
#go-nuts
18:32 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
18:33 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has quit [Client
Quit]
18:33 -!- jewel_ [n=jewel@vc-41-27-136-199.umts.vodacom.co.za] has quit [Read
error: 110 (Connection timed out)]
18:34 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Read
error: 110 (Connection timed out)]
18:35 -!- jewel_ [n=jewel@vc-41-29-77-24.umts.vodacom.co.za] has joined #go-nuts
18:36 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts
18:40 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts
18:47 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
18:52 -!- Null-A [n=jason@CPE000f3d4488bf-CM0011aea10bb2.cpe.net.cable.rogers.com]
has joined #go-nuts
18:54 -!- Null-A [n=jason@CPE000f3d4488bf-CM0011aea10bb2.cpe.net.cable.rogers.com]
has quit [Client Quit]
18:54 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
18:55 -!- binaryjohn_ [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
18:55 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [Read
error: 104 (Connection reset by peer)]
18:56 -!- slashus2 [n=slashus2@74-137-77-71.dhcp.insightbb.com] has quit [Read
error: 110 (Connection timed out)]
18:57 -!- tar_ [n=tom@cpe-24-210-143-83.woh.res.rr.com] has quit []
19:03 -!- JBeshir [n=namegduf@82.27.24.89] has joined #go-nuts
19:06 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
19:12 -!- jewel__ [n=jewel@vc-41-27-3-35.umts.vodacom.co.za] has joined #go-nuts
19:13 -!- jewel_ [n=jewel@vc-41-29-77-24.umts.vodacom.co.za] has quit [Connection
timed out]
19:14 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
19:19 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
19:19 < defectiv> type inference?  i didn't know go had that.
19:20 < defectiv> if anyone knows how to shorten this, let me know =>
win_lose := map[string]map[string]int{"frontrunner": map[string]int{"win": 0,
"lose": 0}, "n onfrontrunner": map[string]int{"win": 0, "lose": 0}};
19:20 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
19:20 < exDM69> no, go does not have type inference
19:20 < exDM69> at least hindley-milner type inference
19:20 < exDM69> but it has limited support for guessing types, in particular
when initializing variables
19:20 -!- amuck [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has joined
#go-nuts
19:20 < exDM69> and when using interfaces
19:21 -!- Kashia [n=Kashia@p4FEB4FF7.dip.t-dialin.net] has joined #go-nuts
19:25 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
joined #go-nuts
19:26 -!- difekta [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts
19:26 -!- jhh [n=jhh@i577B939B.versanet.de] has joined #go-nuts
19:30 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has joined #go-nuts
19:32 -!- stalled_ [n=411@unaffiliated/stalled] has joined #go-nuts
19:34 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts
19:35 -!- JPascal [n=jpascal@95-27-9-56.broadband.corbina.ru] has joined #go-nuts
19:35 < JPascal> Hello all!  )
19:37 -!- stalled [n=411@unaffiliated/stalled] has quit [Read error: 60 (Operation
timed out)]
19:43 -!- jewel__ [n=jewel@vc-41-27-3-35.umts.vodacom.co.za] has quit [Read error:
110 (Connection timed out)]
19:44 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has joined #go-nuts
19:44 -!- sinuhe [n=user@97-126-210-17.slkc.qwest.net] has joined #go-nuts
19:45 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has left #go-nuts []
19:47 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read
error: 110 (Connection timed out)]
19:52 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has joined #go-nuts
19:54 -!- sinuhe [n=user@97-126-210-17.slkc.qwest.net] has quit [Read error: 60
(Operation timed out)]
19:57 -!- Vova [n=Vova@87.68.157.139] has quit [Read error: 60 (Operation timed
out)]
19:57 -!- Vova [n=Vova@87.68.157.139] has joined #go-nuts
19:59 < difekta> word
19:59 < difekta> happy solstice thingie
20:01 -!- raichoo [n=raichoo@i59F51D35.versanet.de] has joined #go-nuts
20:04 -!- difekta [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
20:07 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has left #go-nuts []
20:11 -!- codehai [n=codehai@xdsl-78-34-42-106.netcologne.de] has left #go-nuts []
20:20 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
20:22 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts
20:23 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Client
Quit]
20:25 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has joined #go-nuts
20:27 -!- Vova [n=Vova@87.68.157.139] has quit [Read error: 60 (Operation timed
out)]
20:28 -!- Vova [n=Vova@87.68.157.139] has joined #go-nuts
20:31 -!- Chile [n=chile@corn22.Stanford.EDU] has left #go-nuts []
20:32 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
20:36 -!- zhaozhou [n=zhaozhou@linfast76.bitnet.nu] has joined #go-nuts
20:45 -!- ryniek [n=RYNIEK@host-89-231-117-44.warszawa.mm.pl] has quit ["X-Chat
det :"<"]
20:52 -!- trickie [n=trickie@86.93.227.181] has quit ["Computer has gone to
sleep"]
20:54 -!- hd_2 [n=hd_@253.176.233.220.static.exetel.com.au] has joined #go-nuts
20:57 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has quit [Read error:
60 (Operation timed out)]
21:05 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
21:05 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
21:05 -!- mode/#go-nuts [+v iant] by ChanServ
21:06 -!- itrekkie [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts
21:09 -!- sinuhe [n=user@97-126-210-17.slkc.qwest.net] has joined #go-nuts
21:09 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has joined #go-nuts
21:09 -!- ekidd [n=ekidd@cpe-24-25-163-126.maine.res.rr.com] has quit []
21:17 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Remote
closed the connection]
21:21 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
21:25 -!- sinuhe [n=user@97-126-210-17.slkc.qwest.net] has quit ["ERC Version 5.3
(IRC client for Emacs)"]
21:35 -!- JPascal [n=jpascal@95-27-9-56.broadband.corbina.ru] has quit
["Leaving."]
21:35 -!- ThunderChicken [n=bofh@kernel-panic/member/ThunderChicken] has quit
["Cat Demanding Attention Exception."]
21:36 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 54 (Connection
reset by peer)]
21:39 -!- difekta [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts
21:39 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This
computer has gone to sleep"]
21:40 -!- difekta [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Client
Quit]
21:42 -!- zhaozhou [n=zhaozhou@linfast76.bitnet.nu] has quit [Read error: 110
(Connection timed out)]
21:44 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
21:55 -!- itrekkie [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit []
21:56 -!- youngbull [n=youngbul@ti0025a380-dhcp1720.bb.online.no] has joined
#go-nuts
21:57 -!- zhaozhou [n=zhaozhou@linfast109.bitnet.nu] has joined #go-nuts
21:58 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined
#go-nuts
21:59 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."]
22:00 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has quit [Read
error: 104 (Connection reset by peer)]
22:01 < youngbull> Hey, I'm having some problem with type casting..  It's
kinda hard to explain what's happening and it's kinda big, but I do have an exampe
on this paste: http://gopaste.org/view/2xUP0
22:04 -!- zhaozhou [n=zhaozhou@linfast109.bitnet.nu] has quit [""Some cause
happiness wherever they go; others whenever they go." --Oscar Wilde"]
22:04 < Kashia> well...  you return a new apple from .Eat()
22:05 < Kashia> hmm..
22:05 < Kashia> nevermind
22:06 < youngbull> I guess I could of made it a bit simpler to read...  I'm
sorry about that
22:06 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has joined
#go-nuts
22:06 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts
22:07 < anticw> youngbull: why do you think it should be false?
22:07 < youngbull> no, It should be true
22:08 < youngbull> right?
22:12 < youngbull> just updated it, and yes, still not working
22:12 -!- rafadc [n=rafael@cm-93-156-105-53.telecable.es] has quit []
22:13 < anticw> youngbull: func (fc *FoodContainer) Eat() { fc.Contained =
fc.Contained.Eat() }
22:13 < anticw> fc *...
22:13 < anticw> try that
22:15 < youngbull> that did it...  why didn't it work the way I did it?
22:15 < anticw> Eat wasn't changing theFood
22:15 < ShadowIce> structs will be copied if you don't use pointers
22:15 < youngbull> ahhh...  ok
22:16 < anticw> it's fairly common to make this mistake, along with
shadowing return values it's something i think a warning might be suitable for
22:16 < youngbull> thanks a lo anticw and shadowice
22:16 < anticw> $5 please
22:16 < ShadowIce> *g*
22:16 < youngbull> ##gives $5
22:16 < youngbull> and cupcakes for everyone
22:16 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has
quit ["Leaving."]
22:16 < ShadowIce> anticw: what's a shadowing return value?
22:18 -!- skypce [n=skypce@pc-48-76-241-201.cm.vtr.net] has joined #go-nuts
22:18 < anticw> func (a *t) (err int) { err := blah() ...  ; return }
22:19 < skypce> hi
22:19 < ShadowIce> ah, have yet to do that ;)
22:19 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
22:19 < skypce> does have some ide for go?
22:19 < anticw> ShadowIce: i've seen it done a few times, so i think there
is some value in a warning
22:20 < ShadowIce> yeah, that would be good
22:20 < anticw> teacking gc about these seems hard, maybe something using
go/parser would be best, it's low on my list right now though
22:21 < anticw> bleh, s/teacking/teaching/
22:22 < defectiv> what's up with this nonsense?  cannot define new methods
on non-local type int
22:24 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has quit [Read
error: 60 (Operation timed out)]
22:24 < ShadowIce> isn't it just a check if the variable name already
exists?
22:26 < anticw> defectiv: what it says, why not do something like "type Bar
int" and define the methods on that?
22:26 -!- jamuraa [n=jamuraa@c-24-118-48-176.hsd1.mn.comcast.net] has joined
#go-nuts
22:30 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error:
60 (Operation timed out)]
22:32 < ShadowIce> skypce: there's syntax highlighting for several editors
if you are looking for that (more here: http://go-lang.cat-v.org/text-editors/)
22:32 < Gracenotes> defectiv: to define methods (as opposed to just plain
functions), the datatype has to be in the same package
22:32 < skypce> thank you shadowice
22:33 < skypce> it is compiled?
22:33 < ShadowIce> compiled?
22:34 < skypce> it dont use framework like java to work?
22:34 < defectiv> i did.
22:34 < defectiv> i see the point.  it means your package won't affect
others.
22:35 < defectiv> just seems like a strange restriction.
22:35 -!- c0nfl|ct [n=tiago@248-118.dial.nortenet.pt] has joined #go-nuts
22:36 < defectiv> i don't know that i like that.
22:36 < defectiv> for instance, look at how cache-money works in rails.  it
redifines ORM methods to make them use memcache transparently.
22:36 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit []
22:37 < ShadowIce> skypce: Go programs are compiled to machine code if you
mean that
22:37 < defectiv> don't think you could do that with Go.
22:37 < defectiv> also it doesn't appear that Go has iterator methods like
some_int.each()
22:37 < defectiv> so i have to make my own.  meh.
22:37 < defectiv> how's this for an error?  <epoch>: fatal error:
dowidth: unknown type: ideal
22:38 < skypce> thank you shadowice
22:44 < defectiv> how can i see what methods are available for the different
types?
22:46 < defectiv> i don't understand syntax like "p *int"
22:46 < defectiv> if *p is an int, then "*p int" is equivalent to "p &int"
22:47 < Kashia> p is a pointer to an int
22:47 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."]
22:48 < Kashia> I mean, the rules are way easier than in C :)
22:48 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
22:57 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
22:58 -!- slashus2 [n=slashus2@173-25-18-77.client.mchsi.com] has joined #go-nuts
22:58 -!- c0n [n=tiago@248-22.dial.nortenet.pt] has joined #go-nuts
22:58 -!- slashus2 [n=slashus2@173-25-18-77.client.mchsi.com] has quit [Client
Quit]
22:59 < youngbull> A lot of things are easier than in C, however there are
still a lot of pain points for me...  Like the exporting rules, lack of generics
and some small stuff that I find contra intuitive, but I think it has a lot of
niceness too...
23:01 < Kashia> the only real pain for me is the lack of proper C calling.
23:02 -!- c0nfl|ct [n=tiago@248-118.dial.nortenet.pt] has quit [Read error: 60
(Operation timed out)]
23:03 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts
23:06 -!- Kibiz0r [n=Adium@c-68-42-195-215.hsd1.mi.comcast.net] has joined
#go-nuts
23:08 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."]
23:08 < youngbull> Kashia: I guess it's on it's way...
23:09 < ShadowIce> what's missing there?
23:09 < Kashia> that would be quite nice.  I'm not sure on how the
integration should work however.
23:10 < Kashia> missing?  you mean the cgo cruft?  :)
23:10 < youngbull> however don't you guys also think that having to pull out
search-replace just to export something from a package is a bit tedious?  then
ofcourse writing public/private all the time is kinda tedious too...
23:10 < youngbull> I like how haskell exports from packages though
23:10 < youngbull> it's the best imo
23:10 < ShadowIce> Kashia: I didn't look at it yet....is it that bad?
23:11 * Kashia shrugs.  gofmt does that search-replace for you if you want.  but
you're right that it might be tedious.  better think before coding ;)
23:12 < Kashia> ShadowIce, I don't like it, it's a weird system built around
a code generator
23:12 < Kashia> and you have to wrap each C function with another C function
23:12 < Kashia> I mean, I totally get why it's done like that
23:13 < ShadowIce> hm, that doesn't sound too good :/
23:13 < Kashia> well, it is..  "safe" :)
23:13 < youngbull> Kashia how do you do the public/private stuff in gofmt?
23:14 < Kashia> gofmt has functions for string replacement
23:14 -!- Vova [n=Vova@87.68.157.139] has quit []
23:14 < youngbull> soooo....  basicly search-replace then?
23:14 < youngbull> or more intelligent?
23:15 < Kashia> well, if you properly named your methods/functions it isn't
a problem (except for comments)
23:15 < youngbull> you know I might have a function Eat, and an interface
Eater, and want to hide Eat but not hide Eater...
23:16 < Kashia> /Eat\(/eat(/
23:16 < youngbull> true...
23:16 < youngbull> but I shouldn't have to worry about that imo
23:16 < Kashia> that's only a guess however, I never used it
23:17 < Kashia> maybe it is clever and works on symbols
23:17 < JBeshir> youngbull: Given the interface is defined as "can call Eat
on it"
23:17 < JBeshir> youngbull: That wouldn't make *sense*.
23:17 < JBeshir> You can't call a function without knowing it exists,
conceptually or otherwise.
23:18 < Kashia> I think it was only an example
23:18 < Kashia> the point was the similarity of the method names
23:18 < Kashia> and the exporting of one or the other
23:18 < Kashia> (as an afterthought)
23:18 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts
23:18 < youngbull> well I could have had like (p *poison)don'tEatme{..}
Eater interface{...}
23:19 -!- raichoo [n=raichoo@i59F51D35.versanet.de] has quit []
23:19 < youngbull> he he he, just another argument for using CamelCase I
guess...  (:D)
23:22 < youngbull> if there is one thing that I really would like to see in
go it's exporting ala Haskell with package fruit(ImbeeingExported,
ImbeeingexportedToo)
23:23 < Kashia> I'm not sure if that's only an academic point
23:23 < Kashia> I haven't written a big system with go yet.  so I'm not sure
on how often that happens
23:24 < Kashia> you plan a software, define boundaries
23:25 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read
error: 110 (Connection timed out)]
23:26 < youngbull> It sure does happen too me a lot.  I guess I haven't
gotten to think ahead with that yet as I'm used to just slapping on private on the
fields I want to hide, and I can perfect that in the end...
23:27 -!- eno [n=eno@nslu2-linux/eno] has quit [Read error: 104 (Connection reset
by peer)]
23:27 -!- eno [n=eno@nslu2-linux/eno] has joined #go-nuts
23:29 -!- gkmngrgn [n=gkmngrgn@78.185.220.154] has joined #go-nuts
23:33 -!- GeoBSD [n=geocalc@lns-bzn-31-82-252-237-170.adsl.proxad.net] has quit
[Remote closed the connection]
23:42 -!- c0nfl|ct [n=tiago@248-22.dial.nortenet.pt] has joined #go-nuts
23:44 -!- DerHorst [n=Horst@e176116161.adsl.alicedsl.de] has quit ["Verlassend"]
23:47 -!- Kibiz0r [n=Adium@c-68-42-195-215.hsd1.mi.comcast.net] has quit
["Leaving."]
23:48 -!- Larry_P_US_EST [n=chatzill@pool-96-237-236-37.bstnma.fios.verizon.net]
has joined #go-nuts
23:55 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined
#go-nuts
23:55 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"]
23:59 -!- c0n [n=tiago@248-22.dial.nortenet.pt] has quit [Read error: 110
(Connection timed out)]
--- Log closed Sat Dec 26 00:00:37 2009