--- Log opened Tue Nov 30 00:00:35 2010
00:10 -!- kanru [~kanru@118-168-236-72.dynamic.hinet.net] has quit [Ping timeout:
276 seconds]
00:16 -!- hagna [~hagna@74-92-245-181-Utah.hfc.comcastbusiness.net] has quit [Ping
timeout: 245 seconds]
00:16 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:22 -!- crazy2be [~justin@d209-89-244-205.abhsia.telus.net] has joined #go-nuts
00:23 -!- jdp [PHUNK@24.238.32.162.res-cmts.segr.ptd.net] has quit [Ping timeout:
276 seconds]
00:29 -!- krutcha [~krutcha@remote.icron.com] has quit [Quit: Leaving]
00:30 -!- jdp [PHUNK@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
00:34 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:46 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 255 seconds]
00:48 -!- Scorchin [~Scorchin@host86-161-247-74.range86-161.btcentralplus.com] has
quit [Quit: Scorchin]
00:48 -!- cco3-hampster [~conleyo@nat/google/x-pgcgilscpwheuouc] has quit [Ping
timeout: 260 seconds]
00:49 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
00:54 -!- thiago__ [~thiago@189.26.195.50.dynamic.adsl.gvt.net.br] has quit [Quit:
bye]
00:57 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
00:58 -!- cco3-hampster [~conleyo@nat/google/x-nbzxwcyldxsfwbrl] has joined
#go-nuts
01:11 -!- Tuller_ [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined
#go-nuts
01:14 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Ping
timeout: 245 seconds]
01:17 -!- shvntr [~shvntr@113.84.150.240] has joined #go-nuts
01:26 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:29 -!- watr_ [~watr@66.183.100.58] has joined #go-nuts
01:49 -!- tvw [~tv@e176003081.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
01:53 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
01:55 -!- crazy2be [~justin@d209-89-244-205.abhsia.telus.net] has quit [Ping
timeout: 240 seconds]
02:08 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
02:42 -!- devrim [~Adium@160.79.7.234] has quit [Ping timeout: 250 seconds]
02:43 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 276 seconds]
02:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
03:03 -!- moraes [~moraes@187.39.149.135] has quit [Read error: Operation timed
out]
03:06 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has quit
[Ping timeout: 260 seconds]
03:16 -!- moraes [~moraes@187.39.149.135] has joined #go-nuts
03:17 -!- Tuller_ [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
03:27 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
03:27 -!- gnuvince1 [~vince@70.35.168.68] has joined #go-nuts
03:28 -!- gnuvince [~vince@70.35.166.61] has quit [Ping timeout: 250 seconds]
03:40 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
03:44 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Client Quit]
03:51 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has joined
#go-nuts
03:51 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has quit
[Changing host]
03:51 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts
03:55 -!- jvolkman [~jvolkman@unaffiliated/jvolkman] has joined #go-nuts
04:16 -!- BlaSux [7f000001@69.195.144.4] has quit [Ping timeout: 240 seconds]
04:30 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:32 -!- BlaSux [7f000001@69.195.144.4] has joined #go-nuts
04:50 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
04:57 -!- res99 [~anonymous@201.237.130.70] has quit [Quit: res99]
05:06 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has quit
[Quit: powerje]
05:07 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 240 seconds]
05:18 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
05:24 -!- alc [~arx@222.128.135.169] has joined #go-nuts
05:41 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
05:50 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
05:53 -!- tteras_ [~fabled@mail.fi.jw.org] has joined #go-nuts
05:54 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
05:56 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has joined
#go-nuts
05:56 -!- fabled [~fabled@83.145.235.194] has quit [Ping timeout: 264 seconds]
06:02 -!- piyushmishra [~piyushmis@117.200.226.95] has joined #go-nuts
06:11 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
06:18 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
06:20 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
06:36 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
06:39 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
06:43 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Quit: leaving]
06:45 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
06:52 -!- piyushmishra [~piyushmis@117.200.226.95] has quit [Ping timeout: 255
seconds]
06:56 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 272
seconds]
06:58 -!- niemeyer_ [~niemeyer@189.73.142.213] has joined #go-nuts
07:02 -!- TheSaint [~thesaint@166.205.10.111] has joined #go-nuts
07:07 -!- piyushmishra [~piyushmis@117.200.227.136] has joined #go-nuts
07:12 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has quit [Quit:
Leaving]
07:12 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
07:15 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts
07:19 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
07:21 -!- bjarneh [~bjarneh@1x-193-157-200-53.uio.no] has joined #go-nuts
07:21 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
07:21 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
07:21 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:22 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has left
#go-nuts []
07:22 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
07:22 -!- photron [~photron@port-92-201-120-127.dynamic.qsc.de] has joined
#go-nuts
07:23 < DarthShrine> Hey all.  Just wondering if it's possible to get all
the keys out of a map as a slice or something?  Otherwise, how would I best
implement some kind of set data structure?  Or would I have to do it all myself?
07:27 -!- TheSaint [~thesaint@166.205.10.111] has quit [Quit: Colloquy for iPhone
- http://colloquy.mobi]
07:28 < |Craig|> DarthShrine: You can use a for loop to iterate over the
keys in a map I believe
07:28 < DarthShrine> |Craig|: for k, v := range myMap?
07:29 < |Craig|> DarthShrine: I havent actually ever used a map in go, so I
can't detail the syntax, but that does look right
07:29 < |Craig|> I've been looking into them to use as sets as well though
07:29 < DarthShrine> And you can just do it as for k := range myMap
07:29 -!- prip [~foo@host166-123-dynamic.32-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 255 seconds]
07:30 < DarthShrine> Well, I guess that'll have to do.  There's a hashset
library in the third-party packages, but it's a bit fiddly.
07:30 < |Craig|> I tend to use a lot of sets in python and java, I suppose a
map with just nil values is pretty close to a set
07:31 < DarthShrine> Yeah, I've got a map[string]bool...  Seems to work
07:32 < |Craig|> DarthShrine: if you are simply looking for a fast insertion
and removal collection (meaning like a set, but no membership tests and allows
duplicates), I have a handy package I wrote
07:32 < DarthShrine> |Craig|: I'm looking for membership tests,
unfortunately.
07:33 < DarthShrine> Or disallowing duplicates, which would fail on insert
or something.
07:33 < |Craig|> I figured, thats the usual use of sets
07:38 -!- gnuvince [~vince@64.235.202.209] has joined #go-nuts
07:40 -!- gnuvince1 [~vince@70.35.168.68] has quit [Ping timeout: 250 seconds]
07:41 -!- niemeyer [~niemeyer@189.73.142.213] has quit [Ping timeout: 245 seconds]
07:42 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 245
seconds]
07:42 -!- prip [~foo@host163-9-dynamic.7-79-r.retail.telecomitalia.it] has joined
#go-nuts
07:43 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:45 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:51 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
08:01 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
08:07 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Remote host
closed the connection]
08:18 -!- piyushmishra [~piyushmis@117.200.227.136] has quit [Ping timeout: 240
seconds]
08:20 -!- Project_2501 [~Marvin@82.84.79.101] has joined #go-nuts
08:21 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:23 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
08:25 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
08:28 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has joined #go-nuts
08:30 -!- tvw [~tv@e176002109.adsl.alicedsl.de] has joined #go-nuts
08:33 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: leaving]
08:35 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
08:36 -!- piyushmishra [~piyushmis@117.200.224.167] has joined #go-nuts
08:55 -!- Spacejoker [~Jens@193.182.113.253] has joined #go-nuts
09:05 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:16 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed
the connection]
09:18 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
09:32 -!- g0bl1n [~g0blin@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
09:38 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has joined #go-nuts
09:40 < mpl> hmm weird, I got an XSRF error when trying to add a comment in
the codereview web thingie
09:57 -!- shvntr [~shvntr@113.84.150.240] has quit [Quit: leaving]
10:00 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[Ping timeout: 252 seconds]
10:01 -!- shvntr [~shvntr@113.84.150.240] has joined #go-nuts
10:04 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
10:19 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
10:19 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has joined #go-nuts
10:34 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
10:35 -!- artefon [~thiago@189.26.195.50.dynamic.adsl.gvt.net.br] has joined
#go-nuts
10:37 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[Ping timeout: 245 seconds]
10:40 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
10:49 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 265 seconds]
10:55 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
10:55 -!- virtualsue [~chatzilla@nat/cisco/x-nhaqqlftauncillj] has joined #go-nuts
10:59 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
11:01 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
11:02 -!- piyushmishra [~piyushmis@117.200.224.167] has quit [Ping timeout: 245
seconds]
11:10 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
11:10 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has joined #go-nuts
11:15 -!- alc [~arx@222.128.135.169] has quit [Read error: Connection reset by
peer]
11:16 -!- alc [~arx@222.128.135.169] has joined #go-nuts
11:19 -!- alc [~arx@222.128.135.169] has quit [Remote host closed the connection]
11:30 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
11:58 -!- boscop [~boscop@g227135043.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
11:58 -!- niemeyer [~niemeyer@189.73.142.213] has joined #go-nuts
12:03 -!- ww [~ww@river.styx.org] has joined #go-nuts
12:03 -!- boscop [~boscop@f055112201.adsl.alicedsl.de] has joined #go-nuts
12:03 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 240 seconds]
12:04 -!- boscop_ [~boscop@f055075114.adsl.alicedsl.de] has joined #go-nuts
12:07 -!- boscop__ [~boscop@g226244138.adsl.alicedsl.de] has joined #go-nuts
12:08 -!- boscop [~boscop@f055112201.adsl.alicedsl.de] has quit [Ping timeout: 276
seconds]
12:10 -!- boscop_ [~boscop@f055075114.adsl.alicedsl.de] has quit [Ping timeout:
255 seconds]
12:10 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
12:10 -!- noam [noam@77.126.219.215] has joined #go-nuts
12:11 -!- boscop [~boscop@f055220218.adsl.alicedsl.de] has joined #go-nuts
12:12 -!- boscop_ [~boscop@f055170028.adsl.alicedsl.de] has joined #go-nuts
12:14 -!- boscop__ [~boscop@g226244138.adsl.alicedsl.de] has quit [Ping timeout:
255 seconds]
12:15 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 240 seconds]
12:16 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
12:16 -!- boscop [~boscop@f055220218.adsl.alicedsl.de] has quit [Ping timeout: 260
seconds]
12:22 -!- noam [noam@77.126.219.215] has joined #go-nuts
12:22 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
12:22 -!- noam [noam@77.126.219.215] has joined #go-nuts
12:54 -!- Zoopee [alsbergt@zoopee.org] has quit [Quit: Ejected]
12:55 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
13:00 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
13:14 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
13:15 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 272 seconds]
13:16 -!- wrtp [~rog@92.17.41.184] has joined #go-nuts
13:16 -!- noam [noam@77.126.219.215] has joined #go-nuts
13:21 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 240
seconds]
13:23 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
13:28 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
13:28 -!- mbohun [~user@ppp115-156.static.internode.on.net] has quit [Remote host
closed the connection]
13:31 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 265 seconds]
13:36 -!- noam [~noam@77.126.219.215] has joined #go-nuts
13:37 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
13:40 -!- wrtp [~rog@92.17.41.184] has quit [Quit: wrtp]
13:42 -!- wrtp [~rog@92.17.41.184] has joined #go-nuts
13:45 -!- wrtp [~rog@92.17.41.184] has quit [Client Quit]
13:55 -!- kanru [~kanru@118-168-236-72.dynamic.hinet.net] has joined #go-nuts
14:02 -!- artefon [~thiago@189.26.195.50.dynamic.adsl.gvt.net.br] has quit [Quit:
bye]
14:02 -!- wrtp [~rog@92.17.41.184] has joined #go-nuts
14:06 -!- iant [~iant@216.239.45.130] has quit [Quit: Leaving.]
14:06 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
14:06 -!- mode/#go-nuts [+v iant] by ChanServ
14:07 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Client
Quit]
14:11 -!- sxs [~sxs@HSI-KBW-078-042-201-030.hsi3.kabel-badenwuerttemberg.de] has
joined #go-nuts
14:11 < sxs> hi
14:28 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:28 -!- Axsuul [Axsuul@97-93-99-133.static.mtpk.ca.charter.com] has quit [Ping
timeout: 250 seconds]
14:39 -!- iant [~iant@67.218.104.238] has joined #go-nuts
14:39 -!- mode/#go-nuts [+v iant] by ChanServ
14:47 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Quit: E se abbasso questa
leva che succ...]
14:52 -!- noam [~noam@77.126.219.215] has quit [Ping timeout: 276 seconds]
14:55 -!- sauerbraten [~sauerbrat@p508CAB42.dip.t-dialin.net] has joined #go-nuts
15:01 -!- bjarneh [~bjarneh@1x-193-157-200-53.uio.no] has quit [Quit: leaving]
15:04 -!- Scorchin [~Scorchin@host109-152-113-23.range109-152.btcentralplus.com]
has joined #go-nuts
15:06 -!- noam [noam@77.126.219.215] has joined #go-nuts
15:12 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
15:18 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
15:21 -!- artefon [~thiago@dhcp17.usuarios.dcc.ufmg.br] has joined #go-nuts
15:29 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
15:33 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Ping
timeout: 240 seconds]
15:34 -!- noktoborus_ [~noxless@gateway/tor-sasl/noktoborus] has quit [Remote host
closed the connection]
15:36 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts
15:41 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Ping timeout: 240
seconds]
15:43 -!- shvntr [~shvntr@113.84.150.240] has quit [Ping timeout: 240 seconds]
15:45 -!- shvntr [~shvntr@221.172.251.53] has joined #go-nuts
15:45 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
15:45 -!- noam [noam@77.126.219.215] has joined #go-nuts
15:50 -!- noam [noam@77.126.219.215] has quit [Ping timeout: 245 seconds]
15:53 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
15:56 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
15:58 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
15:58 -!- noam [noam@77.126.219.215] has joined #go-nuts
16:03 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Read error: No
route to host]
16:05 -!- iant [~iant@67.218.104.238] has quit [Quit: Leaving.]
16:08 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245
seconds]
16:09 -!- kanru [~kanru@118-168-236-72.dynamic.hinet.net] has quit [Ping timeout:
240 seconds]
16:13 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
16:13 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts
16:16 -!- piyushmishra [~piyushmis@117.200.229.136] has joined #go-nuts
16:17 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
16:18 -!- piyushmishra [~piyushmis@117.200.229.136] has quit [Client Quit]
16:18 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed
the connection]
16:19 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts
16:20 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
16:26 -!- noam [noam@77.126.219.215] has joined #go-nuts
16:34 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 255
seconds]
16:37 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
16:39 -!- sxs [~sxs@HSI-KBW-078-042-201-030.hsi3.kabel-badenwuerttemberg.de] has
quit [Quit: sxs]
16:41 -!- shvntr [~shvntr@221.172.251.53] has quit [Quit: leaving]
16:42 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
16:42 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Client Quit]
16:45 -!- eikenberry [~jae@ivanova.zhar.net] has quit [Quit: End of line.]
16:48 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
16:50 < artefon> what is the best way to extend an object behavior in GO?
since i only have interfaces how can i reuse code if i just want to change 1
function behavior for instance?  any suggestions?
16:58 < uriel> how can you reuse code in C! it has no classes and no
inheritance!  oh my god!
16:58 < uriel> if you want to change the behavior of a function you can...
write a funcion?  dunno, just an idea
16:58 < Namegduf> artefon: You use embedding.
16:58 < Namegduf> But if you're doing that often you're generating a lot of
crap.
16:59 < uriel> Namegduf: really, it very much depends on what the hell you
are doing
16:59 < uriel> and how your codebase is tructured, etc., if you are trying
to write Go code as if it was Java, you are doomed before you start
16:59 < Namegduf> In general, yeah.  I'm assuming that "extending an object
behaviour" is the right thing to do, except for the parts where objects don't
exist.
17:02 < Namegduf> Don't reason with objects.  Just write code, use
signatures similar to those used elsewhere for methods providing the same
functionality, and define interfaces as necessary later.
17:03 < Namegduf> Or do some other non-Java-like design method.
17:04 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 245 seconds]
17:04 -!- i__ [~none@69.164.206.224] has quit [Changing host]
17:04 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
17:05 < willdye> uriel: fwiw, i "re-use" C code often.  sometimes it's a
well-written function that i can use off the shelf.  sometimes it's code that i
"re-use" in the sense that i can read it, understand it, and modify it for my own
purposes.
17:05 < artefon> uriel: in c threre are other ways to do it
17:05 < artefon> uriel: i can pass a function as a parameter for example
17:05 < Namegduf> You can in Go, as well.
17:06 < Namegduf> Reuse in Go is closer to reuse in C.
17:06 < artefon> ok
17:07 < artefon> i'm asking to learn about the good practices you are using
17:07 < artefon> since i dont know go in a deep level
17:07 < artefon> i usually try not to take conclusions
17:07 < artefon> and to a poll before doing something
17:07 < artefon> hehe
17:07 < Namegduf> willdye: I think uriel was joking.
17:07 < artefon> because go has a lot of features i still dont know
17:07 < uriel> willdye: exactly my point
17:08 < artefon> that way i can learn more
17:08 < taruti> including structs in each other can simulate "inheritance"
17:08 < Namegduf> Well, in short, Go doesn't have objects and inheritance,
so if you try to write stuff like you would in OO languages, based around
subclassing things, it'll end poorly.
17:08 < uriel> artefon: you can pass a function as a parameter in C too
17:08 < uriel> er, in Go too
17:08 < Namegduf> It's definitely not idiomatic.
17:08 -!- virtualsue [~chatzilla@nat/cisco/x-nhaqqlftauncillj] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]]
17:09 < uriel> 17:08 < taruti> including structs in each other can
simulate "inheritance"
17:09 < uriel> taruti: if you think of it that way, it is usually a sign
that you are not thinking about things the Go way
17:09 < uriel> artefon: the best way is to read existing Go code
17:09 < willdye> Namegduf: heh.  sorry, i got trolled too easily there.
i've had trouble with fancy OOP code that seems to be good only for playing
buzzword bingo.
17:09 < uriel> and there aren't many features in Go (thankfuly), you can
read the intro docs, and you will know almost everything there is to know
17:09 < taruti> uriel: sometimes it is quite a handy trick
17:10 < uriel> embedding is certainly a handy trick, but it is not a
substitute for 'inheritance', it is more like a fancy and neat way of doing
composition
17:10 < Namegduf> It's useful when you want to pass around a type that
includes an existing type.
17:10 < Namegduf> Embedding existed in C.
17:11 < uriel> Namegduf: at least in ken's Plan 9 C ;)
17:12 < artefon> ok
17:12 < artefon> i got it
17:13 -!- virtualsue [~chatzilla@nat/cisco/x-isgdlfehphfyperf] has joined #go-nuts
17:14 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
17:20 -!- iant [~iant@nat/google/x-sgxzgvtqctojcmko] has joined #go-nuts
17:20 -!- mode/#go-nuts [+v iant] by ChanServ
17:23 -!- g0bl1n [~g0blin@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n]
17:26 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X]
17:29 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
17:36 -!- sauerbraten [~sauerbrat@p508CAB42.dip.t-dialin.net] has quit [Remote
host closed the connection]
17:42 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:45 < gmilleramilar> Am I correct in surmising that the output from 8g -S
is not valid input for 8a?
17:47 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
17:50 -!- Project_2501 [~Marvin@82.84.79.101] has joined #go-nuts
17:59 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
18:04 < cde> hi sxs
18:11 -!- sauerbraten [~sauerbrat@p508CAB42.dip.t-dialin.net] has joined #go-nuts
18:17 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
18:19 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has left
#go-nuts []
18:22 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
18:35 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
#go-nuts
18:36 -!- artefon [~thiago@dhcp17.usuarios.dcc.ufmg.br] has quit [Ping timeout:
265 seconds]
18:41 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed
the connection]
18:41 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has joined #go-nuts
18:42 -!- moraes [~moraes@187.39.149.135] has quit [Quit: Leaving]
18:44 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 245 seconds]
18:44 -!- virtualsue [~chatzilla@nat/cisco/x-isgdlfehphfyperf] has quit [Ping
timeout: 245 seconds]
18:50 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
18:51 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
18:52 < plexdev> http://is.gd/i0npn by [Luuk van Dijk] in 7 subdirs of
go/src/pkg/runtime/ -- runtime: parallel definitions in Go for all C structs.
18:52 < plexdev> http://is.gd/i0npz by [Robert Griesemer] in go/ -- add
Eoghan Sherry as author and contributor
18:52 < plexdev> http://is.gd/i0npZ by [Eoghan Sherry] in go/src/pkg/big/ --
big: fix (*Rat) SetFrac64(a, b) when b < 0.
18:52 < plexdev> http://is.gd/i0nqm by [Rob Pike] in go/src/pkg/sort/ --
sort: avoid overflow in pivot calculation.
18:57 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
19:01 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 245 seconds]
19:07 -!- meanburrito920 [~john@tmp6c626d05a70e.STUDENT.CWRU.Edu] has joined
#go-nuts
19:07 -!- meanburrito920 [~john@tmp6c626d05a70e.STUDENT.CWRU.Edu] has quit
[Changing host]
19:07 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
19:13 -!- TheMue [~TheMue@p5DDF6693.dip.t-dialin.net] has joined #go-nuts
19:39 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
19:39 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
19:49 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
19:54 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 276 seconds]
19:56 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
20:01 -!- boscop [~boscop@f055170028.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
20:25 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
20:27 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
20:35 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
20:35 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit: Lost
terminal]
20:36 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
20:41 -!- noam [noam@77.126.219.215] has quit [Read error: Connection reset by
peer]
20:42 -!- noam [noam@77.126.219.215] has joined #go-nuts
20:49 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
20:51 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
20:54 -!- Axsuul [Axsuul@97-93-99-133.static.mtpk.ca.charter.com] has joined
#go-nuts
20:55 < plexdev> http://is.gd/i0Ca9 by [Rob Pike] in go/src/pkg/strconv/ --
strconv: Atof on Infs and NaNs
20:59 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
21:05 -!- sauerbraten [~sauerbrat@p508CAB42.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:12 < plexdev> http://is.gd/i0EnO by [Rob Pike] in go/src/pkg/fmt/ --
fmt.Scan: accept Inf and NaN
21:14 -!- watr_ [~watr@66.183.100.58] has joined #go-nuts
21:17 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
21:37 -!- lmoura [~lauromour@186.212.100.234] has quit [Read error: Connection
reset by peer]
21:37 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
21:39 -!- pothos_ [~pothos@111-240-220-12.dynamic.hinet.net] has joined #go-nuts
21:41 -!- pothos [~pothos@111-240-219-12.dynamic.hinet.net] has quit [Ping
timeout: 255 seconds]
21:42 -!- pothos_ [~pothos@111-240-220-12.dynamic.hinet.net] has quit [Read error:
Connection reset by peer]
21:42 -!- pothos [~pothos@111-240-220-12.dynamic.hinet.net] has joined #go-nuts
21:42 -!- lmoura [~lauromour@187.59.118.235] has joined #go-nuts
21:52 -!- photron [~photron@port-92-201-120-127.dynamic.qsc.de] has quit [Ping
timeout: 255 seconds]
21:53 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 240 seconds]
21:59 < plexdev> http://is.gd/i0KRz by [Adam Langley] in
go/src/pkg/crypto/elliptic/ -- crypto/elliptic: use a Jacobian transform
21:59 < plexdev> http://is.gd/i0KRQ by [Adam Langley] in 9 subdirs of
go/src/pkg/ -- utf8: make EncodeRune's destination the first argument.
22:02 -!- TheMue [~TheMue@p5DDF6693.dip.t-dialin.net] has quit [Quit: TheMue]
22:07 < TheSeeker> ooh, that sounds like it'll break a lot of existing
code...
22:24 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:29 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
22:30 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
22:31 < plexdev> http://is.gd/i0Pjb by [Rob Pike] in go/src/pkg/fmt/ -- fmt:
fix documentation format glitch.  no content to change.
22:36 -!- napsy [~luka@88.200.96.18] has quit [Quit: leaving]
22:38 -!- wrtp [~rog@92.17.41.184] has quit [Read error: Connection reset by peer]
22:38 -!- wrtp [~rog@92.17.41.184] has joined #go-nuts
22:48 -!- iant [~iant@nat/google/x-sgxzgvtqctojcmko] has quit [Quit: Leaving.]
22:48 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
23:01 -!- kanru [~kanru@118-168-236-72.dynamic.hinet.net] has joined #go-nuts
23:02 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
23:02 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
23:12 -!- iant [~iant@nat/google/x-vadjvjysnlfkiwpr] has joined #go-nuts
23:12 -!- mode/#go-nuts [+v iant] by ChanServ
23:12 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
23:14 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Quit: E se abbasso questa
leva che succ...]
23:18 < plexdev> http://is.gd/i0VKB by [Luuk van Dijk] in
go/src/pkg/runtime/windows/ -- runtime: fix windows breakage
23:18 -!- alexis [~alexis@lolnet.org] has left #go-nuts []
23:25 -!- Method [~Method@nat-3-135.snu.edu] has joined #go-nuts
23:25 -!- Method [~Method@nat-3-135.snu.edu] has quit [Changing host]
23:25 -!- Method [~Method@unaffiliated/method] has joined #go-nuts
23:26 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
23:26 -!- Method [~Method@unaffiliated/method] has quit [Read error: Connection
reset by peer]
23:26 -!- Method [~Method@unaffiliated/method] has joined #go-nuts
23:30 < fenicks> hello
23:32 < DarthShrine> Hi fenicks
23:47 -!- krutcha [~krutcha@remote.icron.com] has joined #go-nuts
23:47 -!- hendrikus [~hendrikus@84-107-57-221.dsl.quicknet.nl] has joined #go-nuts
23:56 < hendrikus> Please is there anybody out here wo will help me?
>>> 8g hello.go 8g: command not found
23:57 < DarthShrine> hendrikus: Are you on a 32-bit system?  Is $GOROOT/bin
in your $PATH?
23:59 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
23:59 < hendrikus> DarthShrine: Hello Yes i am on a 32 bit system
--- Log closed Wed Dec 01 00:00:03 2010