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

--- Log opened Fri Dec 03 00:00:06 2010
--- Day changed Fri Dec 03 2010
00:00 < rodpar07> thanks a lot guys...  I'm familiar unix permissions.  My
problem was that i used 777 instead of 0777 for example.  And I just got read only
permissions.
00:00 < rodpar07> What's the meaning of the first 0?  chmod doesn't use it
for example...
00:00 < nsf> yeah, as I've said, octal number starts with zero
00:00 < nsf> 0777 - is an octal number
00:00 < nsf> not decimal
00:00 < rodpar07> thanks nsf
00:00 < rodpar07> all clear now.
00:01 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:01 < nsf> because it specifies permissions per class (owner, group,
others) and each group has 3 bits of permissions
00:01 < nsf> octal number can be represented by 3 bits
00:01 < nsf> I mean one octal digit :)
00:02 -!- vhold [~vhold@adsl-67-114-158-146.dsl.sntc01.pacbell.net] has joined
#go-nuts
00:02 < nsf> rodpar07: np :)
00:02 < rodpar07> Got it nsf.  Thanks a lot!
00:04 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
00:07 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:10 -!- akavel [4dff73bb@gateway/web/freenode/ip.77.255.115.187] has quit [Ping
timeout: 265 seconds]
00:15 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X]
00:19 -!- kanru [~kanru@2001:c08:3700:ffff::1c:bc25] has quit [Read error:
Operation timed out]
00:20 -!- path[l] [~path@120.138.102.50] has joined #go-nuts
00:20 -!- path[l] [~path@120.138.102.50] has quit [Client Quit]
00:33 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts
00:41 < skelterjohn> any make savants around?
00:42 -!- Scorchin [~Scorchin@host109-152-112-138.range109-152.btcentralplus.com]
has quit [Quit: Scorchin]
00:42 < skelterjohn> i'm trying to create a makefile that will handle
multiple packages with interdependencies
00:42 < skelterjohn> and i have only basic knowledge of make
00:46 < |Craig|> skelterjohn: I gave up and made one make file per package,
and wrote a shell script to run them all
00:47 < exch> I usually use 1 makefile per package, which are each in their
own subdir of the main project.  There is one main makefile, which simply forwards
itself to each package in the right order
00:50 < |Craig|> exch: I considered that, but I didn't see a good way to do
that.  Would you mind pasting your main make file somewhere for me to look at?
00:53 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has joined
#go-nuts
00:53 < exch> |Craig|: like this:
https://github.com/jteeuwen/go-example-multipkg/blob/master/Makefile
00:54 < |Craig|> exch: ah, I guess not listing any dependancies is fine as
always running the sub files is fine as they avoid recompiling at that level.
Thanks
00:54 < |Craig|> I'm not sure why I didn't think of that
00:55 < plexdev> http://is.gd/i7joA by [Andrew Gerrand] in 2 subdirs of
go/doc/ -- doc: add gofrontend paper to talks/ and docs.html
00:55 < plexdev> http://is.gd/i7joK by [Andrew Gerrand] in 2 subdirs of go/
-- release.2010-12-02
00:55 < nsf> yay!
00:55 < exch> As long as the order in which they are listed there is
correct, you;ll have no problems
00:55 < nsf> :)
00:56 < nsf> [nsf @ go]$ hg update -r release
00:56 < nsf> abort: unknown revision 'release'!
00:56 < nsf> :((
00:56 < nsf> I think I should switch my go repo to the git mirror
00:57 < nsf> I totally suck at using hg
00:57 < krutcha> does the git mirror lag on commits at all?
00:57 < nsf> a little bit of course
00:58 < nsf> but it looks like it is being synced by a script
00:58 < krutcha> sold
00:58 < nsf> anyway, it's just guesses
00:58 < nsf> ask tav
01:00 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
01:01 < nsf> hm..  the release tag isn't here as well
01:01 < nsf> i guess i should wait
01:04 < krutcha> I tried go-gtk, the twitter example crashed with panic :(
01:09 -!- krutcha [~krutcha@remote.icron.com] has quit [Quit: Leaving]
01:10 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 250 seconds]
01:12 -!- noam [noam@77.124.83.75] has quit [Ping timeout: 245 seconds]
01:13 -!- soapy_illusions [~alex@vpn128031.Wireless.McGill.CA] has quit [Ping
timeout: 255 seconds]
01:15 -!- eikenberry [~jae@ivanova.zhar.net] has quit [Quit: End of line.]
01:19 -!- kanru [~kanru@2001:c08:3700:ffff::1c:caff] has joined #go-nuts
01:19 -!- l00t [~i-i3id3r_@187.127.167.253] has joined #go-nuts
01:20 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
01:27 -!- Wiz126 [Wiz@h62.126.232.68.ip.windstream.net] has joined #go-nuts
01:31 < nictuku> hmm hg update release isn't working.  "abort: unknown
revision 'release'!"
01:31 < nictuku> nf, ?
01:33 < tav> for future ref, if anyone else asks, the git mirror syncs every
15 minutes...
01:34 < nictuku> sorry, missed nsf complaining about the same thing above.
01:35 < nictuku> hg update release.2010-11-23 works FWIW
01:35 <@nf> nictuku: one moment
01:35 <@nf> just had to tag the release; sorry for the delay
01:40 -!- sabalaba [~sabalaba@221.220.254.3] has quit [Ping timeout: 240 seconds]
01:47 -!- gnuvince_ [~vince@70.35.164.242] has quit [Ping timeout: 240 seconds]
01:48 -!- gnuvince [~vince@205.189-ppp.3menatwork.com] has quit [Ping timeout: 245
seconds]
01:49 < plexdev> http://is.gd/i7pRI by [Andrew Gerrand] in go/ -- tag
release.2010-12-02
01:50 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
01:52 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
02:01 -!- shvntr [~shvntr@116.26.129.86] has joined #go-nuts
02:04 < drd> has anyone had to do FFTs in golang, or call out to a C library
for FFT?
02:10 < jesusaurus> i tried, but failed
02:26 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240
seconds]
02:29 -!- gnuvince [~vince@70.35.169.171] has joined #go-nuts
02:29 -!- gnuvince_ [~vince@64.235.203.167] has joined #go-nuts
02:39 -!- sabalaba [~sabalaba@119.57.31.97] has joined #go-nuts
02:43 -!- TheSaint [~thesaint@166.205.11.181] has joined #go-nuts
02:48 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
02:56 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has quit
[Quit: skelterjohn]
02:57 -!- rodpar07 [~rodpar07@host-9-57.a9.cmm.com.py] has quit [Quit: Saliendo]
03:01 -!- niemeyer [~niemeyer@189.73.142.213] has quit [Ping timeout: 245 seconds]
03:09 -!- TheSaint [~thesaint@166.205.11.181] has quit [Quit: Colloquy for iPhone
- http://colloquy.mobi]
03:15 -!- boscop_ [~boscop@f055108096.adsl.alicedsl.de] has joined #go-nuts
03:18 -!- boscop [~boscop@f055130239.adsl.alicedsl.de] has quit [Ping timeout: 264
seconds]
03:22 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has joined
#go-nuts
03:34 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
03:36 < plexdev> http://is.gd/i7Cy1 by [Andrew Gerrand] in 2 subdirs of go/
-- godoc: add separators between quick reference topics
03:38 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit:
This computer has gone to sleep]
03:39 -!- devrim1 [~Adium@160.79.7.234] has quit [Ping timeout: 240 seconds]
03:39 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error:
Operation timed out]
03:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
03:46 -!- powerje [~powerj@75.49.3.95] has quit [Quit: powerje]
03:58 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Quit: Leaving.]
04:02 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
04:03 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 276 seconds]
04:08 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
04:14 -!- bmizerany [~bmizerany@208.66.27.62] has quit [Remote host closed the
connection]
04:23 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 250 seconds]
04:27 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 265 seconds]
04:28 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
04:29 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:31 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has joined
#go-nuts
04:41 -!- eikenberry [~jae@ivanova.zhar.net] has joined #go-nuts
04:57 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has joined
#go-nuts
04:57 < jeff2> can this be written as one statement?  x=1; f(x);
04:58 < jesusaurus> f(1)
04:59 < jeff2> jesusaurus: but that doesn't set x to 1
05:03 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
05:04 < jesusaurus> then no
05:04 < jeff2> oh well
05:04 < jesusaurus> it has to be two
05:04 < krutcha> jeff2: you can write that, it's two statements on the same
line
05:04 < |Craig|> jeff2: yes, if f returns something, x,_:=1,f(1) but I don't
see the point
05:05 < |Craig|> thats just doing silly hacks at that point
05:06 < jeff2> would just be more convenient to be able to write something
like f((x=1)).  it's not much more typing to do x=1;f(x), though
05:06 < krutcha> what is the point over f(1)?
05:07 < jesusaurus> and it wouldnt change the final object code in the
slightest
05:07 < jeff2> krutcha: also needs to set x, which is used later.
jesusaurus: true, would be slightly more readable as well
05:08 < krutcha> why not x := f(1), and have f() return 1?  :P
05:09 < jeff2> krutcha: basically, I have a bunch of assignments to perform,
all which I have to call a function on the result in order to set some flags
05:20 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Read error: Operation
timed out]
05:30 -!- kanru [~kanru@2001:c08:3700:ffff::1c:caff] has quit [Ping timeout: 260
seconds]
05:43 -!- kanru [~kanru@2001:c08:3700:ffff::1c:f90d] has joined #go-nuts
05:44 -!- krutcha [~krutcha@S010600045a27676a.vs.shawcable.net] has quit [Quit:
Leaving]
05:48 -!- rmmh [~none@host-80-215.flgaroy.clients.pavlovmedia.com] has joined
#go-nuts
05:48 < rmmh> if I want to get 255 from "ff", what function should I use?
05:52 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined
#go-nuts
05:52 < DarthShrine> fmt.Scanf("%x", foo) would be my first suggestion, but
I come from C, so perhaps I'm horribly wrong :)
05:53 < rmmh> just wondering whether there was some atoi equivalent for hex
strings
05:54 * adu <3 Go
05:55 < adu> rmmh: everyone needs atoi
05:56 < adu> or more cowbell
06:05 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
06:21 -!- Project_2501 [~Marvin@82.84.79.101] has joined #go-nuts
06:23 -!- photron [~photron@port-92-201-80-30.dynamic.qsc.de] has joined #go-nuts
06:29 -!- alc [~arx@222.128.143.149] has joined #go-nuts
06:33 -!- alc [~arx@222.128.143.149] has quit [Ping timeout: 240 seconds]
06:34 -!- alc [~arx@222.128.143.149] has joined #go-nuts
06:38 -!- path[l] [~path@120.138.102.50] has joined #go-nuts
06:43 -!- Cyprien_ [~Cyprien@53-190.3-85.cust.bluewin.ch] has quit [Ping timeout:
255 seconds]
06:54 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:59 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
06:59 -!- Tv [~tv@76.168.227.45] has joined #go-nuts
07:03 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit
[Read error: Operation timed out]
07:03 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined
#go-nuts
07:04 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping
timeout: 260 seconds]
07:06 < Boney> Ready for dinners?  Liz and I will head towards darling
harbour.  hopefully on1
07:06 < Boney> wrong window.
07:09 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
07:10 < DarthShrine> Ooh, Darling Harbour
07:10 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has joined
#go-nuts
07:11 -!- SRabbelier [~SRabbelie@188.142.63.148] has quit [Read error: Connection
reset by peer]
07:13 -!- Tv [~tv@76.168.227.45] has quit [Quit: Leaving.]
07:28 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit:
adu]
07:43 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:48 -!- gnuvince [~vince@70.35.169.171] has quit [Ping timeout: 255 seconds]
07:53 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
07:55 -!- gnuvince [~vince@70.35.164.117] has joined #go-nuts
08:04 -!- felipe [~felipe@my.nada.kth.se] has quit [Ping timeout: 276 seconds]
08:06 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:07 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has joined
#go-nuts
08:07 -!- sabalaba [~sabalaba@119.57.31.97] has quit [Excess Flood]
08:07 -!- wrtp [~rog@92.17.51.151] has joined #go-nuts
08:07 -!- sabalaba [~sabalaba@119.57.31.97] has joined #go-nuts
08:08 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
08:09 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
08:12 -!- alc [~arx@222.128.143.149] has quit [Ping timeout: 240 seconds]
08:16 -!- TheSaint [~thesaint@166.205.11.181] has joined #go-nuts
08:18 -!- alc [~arx@222.128.143.149] has joined #go-nuts
08:21 -!- floppy_legs [~Adium@c-24-6-100-37.hsd1.ca.comcast.net] has joined
#go-nuts
08:26 -!- TheSaint [~thesaint@166.205.11.181] has quit [Quit: Colloquy for iPhone
- http://colloquy.mobi]
08:38 -!- path[l] [~path@120.138.102.50] has quit [Quit: path[l]]
08:41 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined
#go-nuts
08:41 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit
[Client Quit]
08:49 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 260 seconds]
08:54 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
08:59 -!- Kashia [~Kashia@port-92-200-121-2.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
09:03 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
09:04 -!- floppy_legs [~Adium@c-24-6-100-37.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
09:04 -!- Kashia [~Kashia@port-92-200-123-184.dynamic.qsc.de] has joined #go-nuts
09:09 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
09:13 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:45 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:03 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
10:13 -!- evilclone [~graham@dyn1065-152.hor.ic.ac.uk] has joined #go-nuts
10:13 < evilclone> hey there
10:14 < evilclone> is there a neat way of removing a certain value from the
middle of a slice?
10:14 < evilclone> obviously I can loop on the slice and find the value I
want to remove
10:14 < evilclone> but how would I then actually remove it?
10:21 -!- l00t [~i-i3id3r_@187.127.167.253] has quit [Quit: Leaving]
10:24 < wrtp> evilclone: do you need to keep the order of the other values
in the slice the same?
10:25 < evilclone> wrtp: I'm not so much bothered about the order
10:25 < wrtp> then, say i is the index of the value you want to remove, and
a is the slice: a[i] = a[len(a)-1]; a = a[0:len(a)-1]
10:26 < wrtp> i.e.  replace the value by the value of the last element, and
make the slice one element smaller
10:28 < evilclone> nice
10:28 < evilclone> thanks
10:29 < DarthShrine> Sneaky.
10:32 -!- wrtp_ [~rog@92.17.51.151] has joined #go-nuts
10:32 -!- wrtp [~rog@92.17.51.151] has quit [Read error: Connection reset by peer]
10:34 -!- artefon [~thiago@189.59.201.44] has joined #go-nuts
11:03 -!- beerpages [~beerpages@port-92-202-18-152.dynamic.qsc.de] has joined
#go-nuts
11:03 < beerpages> Schaut mal auf www.beerpages.de vorbei, dort könnt ihr
eigene Umfragen erstellen - Beispiel:
http://www.beerpages.de/view/1K/Was%20sagt%20ihr%20zum%20Thema%20Anal-SEX%3F
11:03 -!- beerpages [~beerpages@port-92-202-18-152.dynamic.qsc.de] has left
#go-nuts ["Kostenlose mini Homepages für Umfragen, Videos und vielem mehr auf
www.beerpages.de - Beispiel:
http://www.beerpages.de/view/1P/Magst%20du%20%C3%84pfel%3F"]
11:08 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
11:09 -!- noam [~noam@77.124.224.108] has joined #go-nuts
11:11 -!- kanru [~kanru@2001:c08:3700:ffff::1c:f90d] has quit [Ping timeout: 245
seconds]
11:13 -!- Axsuul [Axsuul@97-93-99-133.static.mtpk.ca.charter.com] has quit [Ping
timeout: 250 seconds]
11:18 -!- nsf [c340cb02@gateway/web/freenode/ip.195.64.203.2] has joined #go-nuts
11:20 < nsf> "You must restart your system for the configuration changes
made to TortoiseSVN 1.6.12.20536 (32 bit) to take effect."
11:20 < nsf> omg rly
11:20 * nsf facepalms
11:21 < TheSeeker> not really
11:21 < nsf> yeah, I got that
11:21 < nsf> I bet most people click 'yes'
11:22 < TheSeeker> easier than trying to walk users through restarting
services
11:23 < nsf> everything for users
11:23 < nsf> anyways, I've built gocode
11:23 < nsf> indeed it has few major issues on windows
11:24 < nsf> I'll fix those
11:26 < nsf> now I'm wondering what should I do to get .jar from java
sources :) want to fix gocode goclipse plugin as well
11:31 -!- alc [~arx@222.128.143.149] has quit [Ping timeout: 250 seconds]
11:37 * nsf sighs
11:37 < nsf> it wasn't that hard
11:43 -!- felipe [~felipe@my.nada.kth.se] has joined #go-nuts
11:45 < nsf> or it was
11:45 < nsf> :\
11:45 -!- niemeyer [~niemeyer@189.73.142.213] has joined #go-nuts
12:01 -!- noam [~noam@77.124.224.108] has quit [Ping timeout: 245 seconds]
12:02 -!- photron [~photron@port-92-201-80-30.dynamic.qsc.de] has quit [Ping
timeout: 255 seconds]
12:03 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
12:06 -!- noam [noam@77.124.224.108] has joined #go-nuts
12:12 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts
12:16 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
12:38 -!- wrtp [~rog@92.17.51.151] has quit [Quit: wrtp]
12:39 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
12:41 -!- photron [~photron@port-92-201-80-30.dynamic.qsc.de] has joined #go-nuts
12:46 -!- sabalaba [~sabalaba@119.57.31.97] has quit [Ping timeout: 260 seconds]
12:47 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has quit [Read
error: Operation timed out]
12:58 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit:
Leaving]
12:59 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
13:08 -!- MizardX [b21e59dc@gateway/web/freenode/ip.178.30.89.220] has joined
#go-nuts
13:24 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has joined
#go-nuts
13:30 -!- sabalaba [~sabalaba@123.123.4.193] has joined #go-nuts
13:38 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
13:39 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
13:45 -!- virtualsue [~chatzilla@nat/cisco/x-owprzprwgnypfmcz] has joined #go-nuts
13:48 -!- skelterjohn [~jasmuth@c-76-98-219-171.hsd1.pa.comcast.net] has quit
[Quit: skelterjohn]
13:49 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has joined #go-nuts
13:49 -!- kanru [~kanru@2001:c08:3700:ffff::1d:cbc8] has joined #go-nuts
13:59 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 276 seconds]
14:02 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:03 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
14:13 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
14:18 -!- foocraft [~dsc@89.211.88.3] has joined #go-nuts
14:18 < foocraft> hey all
14:19 < foocraft> I am planning on doing an independent study on parallel
programming, and was considering Go as the language to "go parallel" with, does
anyone anything about how Go goes about concurrency?
14:20 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
14:23 < exch> foocraft: the go website has some info on it.
http://golang.org/doc/docs.html this may also be interesting:
http://blog.golang.org/2010/09/go-concurrency-patterns-timing-out-and.html
14:24 < foocraft> the alternative that's being recommended to me is Cilk
14:24 < foocraft> but I like how Go handles inheritance :)
14:30 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
14:31 -!- artefon [~thiago@189.59.201.44] has quit [Quit: bye]
14:35 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
14:37 -!- slp9 [~sl@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has quit [Remote
host closed the connection]
14:40 -!- slp9 [~sl@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has joined
#go-nuts
14:41 -!- iant [~iant@66.109.105.230] has joined #go-nuts
14:41 -!- mode/#go-nuts [+v iant] by ChanServ
14:43 -!- kanru [~kanru@2001:c08:3700:ffff::1d:cbc8] has quit [Ping timeout: 260
seconds]
14:44 -!- sabalaba [~sabalaba@123.123.4.193] has quit [Ping timeout: 240 seconds]
14:47 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:48 -!- _nil [~aiden@c-24-147-65-44.hsd1.ma.comcast.net] has joined #go-nuts
14:49 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has quit
[Quit: powerje]
14:49 < _nil> nf: do you know if agl did curve-25519 in go yet?
14:50 < _nil> i was going to add that to the crypto lib today -- but wanted
to check if it was talked about yet
14:50 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts
14:51 < _nil> nf: i know there is an elliptic though
14:55 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has joined
#go-nuts
14:57 -!- sabalaba [~sabalaba@66.220.12.133] has joined #go-nuts
14:59 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
14:59 -!- sabalaba [~sabalaba@66.220.12.133] has quit [Max SendQ exceeded]
14:59 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
14:59 -!- sabalaba [~sabalaba@66.220.12.133] has joined #go-nuts
14:59 -!- artefon [~thiago@dhcp16.usuarios.dcc.ufmg.br] has joined #go-nuts
15:02 -!- sabalaba [~sabalaba@66.220.12.133] has quit [Max SendQ exceeded]
15:02 -!- sabalaba [~sabalaba@66.220.12.133] has joined #go-nuts
15:03 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has quit [Remote host
closed the connection]
15:04 -!- sabalaba [~sabalaba@66.220.12.133] has quit [Max SendQ exceeded]
15:05 -!- sabalaba [~sabalaba@66.220.12.133] has joined #go-nuts
15:07 -!- sabalaba [~sabalaba@66.220.12.133] has quit [Excess Flood]
15:07 -!- sabalaba [~sabalaba@66.220.12.133] has joined #go-nuts
15:08 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
15:08 -!- sauerbraten [~sauerbrat@p508CF905.dip.t-dialin.net] has joined #go-nuts
15:11 -!- nsf [c340cb02@gateway/web/freenode/ip.195.64.203.2] has quit [Quit: Page
closed]
15:14 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
15:24 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 272 seconds]
15:28 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Remote host
closed the connection]
15:33 -!- GrantB [~birchm20@38.99.212.18] has joined #go-nuts
15:35 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts
15:35 < skejoe> /quti
15:35 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: leaving]
15:36 < GrantB> Hi all.  Trying Go for the first time.  Question about
installation:
15:36 < GrantB> "Install Mercurial, if needed"
15:36 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat]
15:36 < GrantB> "if needed"....  how do I know if I need it?
15:36 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has left #go-nuts ["Oh
well!"]
15:36 < GrantB> do I need it beyond in the initial compiler download?
15:39 < skelterjohn> you need it if you haven't already got it
15:39 < skelterjohn> because it is what you use to download the compiler
15:39 < GrantB> do I need it beyond in the initial compiler download?
15:39 < skelterjohn> you need it for future compiler updates
15:39 < skelterjohn> which come on a regular basis
15:41 < GrantB> ok.  So really, Hg is not optional.  Install docs should
change "if needed" to "if you don't have it".  I was reading it to mean that Hg is
optional, which is wrong.
15:41 < GrantB> (maybe it's just me)
15:41 < GrantB> Anyway, thanks skelterjohn.
15:41 < skelterjohn> the "if needed" refers to you not needing to do it if
you already have
15:41 < nsf> well, actually you can use git
15:41 < GrantB> orly
15:41 < GrantB> ?
15:41 < nsf> or you can download snapshot directly from git mirror on github
15:42 < skelterjohn> didn't know about that
15:42 < nsf> http://github.com/tav/go
15:42 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
15:42 < skelterjohn> oh - a third party mirror?
15:42 < nsf> on this page there is a "Downloads" button
15:42 < GrantB> Eh, might as well just do it the Hg way, since that seems to
be the Go standard practice.
15:42 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Read error:
Connection reset by peer]
15:42 < nsf> I don't know, I use git
15:42 < skelterjohn> no guarantees that tav will keep the git mirror up to
date
15:42 < nsf> skelterjohn: so far it is up-to-date
15:43 < GrantB> I don't mind trying Hg. Can't be less intuitive than git :)
15:44 -!- sabalaba [~sabalaba@66.220.12.133] has quit [Ping timeout: 245 seconds]
15:44 < nsf> it's different from git, that's my main problem
15:44 < nsf> I don't want to know two ways of doing the same stuff
15:44 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts
15:44 < skelterjohn> while git has the right idea in *what* things it should
be able to do, it's version of *how* they are done leaves a lot to be desired, in
my opinion
15:44 < nsf> like 'hg pull' vs 'git pull'
15:45 < GrantB> We have started using git at my co.  I like the features, I
hate the interface.  (Better than svn though.)
15:45 < nsf> skelterjohn: I disagree
15:45 < skelterjohn> clearly
15:45 < skelterjohn> anything, except cvs, is better than svn
15:46 < nsf> but again, I don't want to start a flame war, I wanted to say
that there is an option of using git if someone really wants to
15:46 < nsf> or not using source control system at all
15:46 < GrantB> good to know, thanks
15:46 < nsf> it's sad that code.google.com hosting doesn't have "download"
feature
15:46 < GrantB> we don't have to argue about how many ways git sucks
15:46 < GrantB> har har har
15:47 < GrantB> (first time in a new room, and already I'm trolling.  way to
set a precedent.)
15:47 < skelterjohn> nsf brings it out ;)
15:48 < nsf> yeah, I'm an experienced troll
15:48 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has joined #go-nuts
15:49 -!- paulzhol [~yuval@46-116-247-251.bb.netvision.net.il] has joined #go-nuts
15:49 < nsf> skelterjohn: also I disagree that git mirror can easily die
15:49 < nsf> it is being hosted on a very solid hosting and all one needs is
a script that does the mirroring
15:49 -!- GrantB [~birchm20@38.99.212.18] has quit [Read error: Connection reset
by peer]
15:50 < nsf> it's not a big deal
15:50 < Namegduf> A very solid hosting, eh?
15:50 < Namegduf> Sounds good to me.
15:50 < nsf> Namegduf: github?
15:50 < Namegduf> I was just joking about the grammar, github is fine.  XD
15:50 < nsf> ah, i see
15:51 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
15:52 < skelterjohn> grammar was fine, there =p
15:52 -!- MizardX [b21e59dc@gateway/web/freenode/ip.178.30.89.220] has quit [Quit:
off]
15:53 < paulzhol> hi, a question about golang implimentation: Why do all the
files are opened with O_CLOEXEC on unix ?
15:54 -!- iant [~iant@66.109.105.230] has quit [Quit: Leaving.]
15:55 < paulzhol> then just before execv is called, only the ones we want to
leak to the child process are duped to clear the O_CLOEXEC flag
15:56 < skelterjohn> i'd answer your question, but i have no idea what
you're talking about
15:56 < paulzhol> why not just close the fd's we don't want to get to the
child ?
15:57 < paulzhol> skelterjohn: I'm talking about forkAndExecInChild in
syscall/exec_unix.go
16:00 < skelterjohn> while context is important, it's still a topic of which
I know nothing.  sorry!
16:01 < nsf> paulzhol: well, I guess you should ask the guy who wrote that
file
16:02 -!- GrantB [~birchm20@38.99.212.18] has joined #go-nuts
16:03 < nsf> and it was Russ Cox and he is not here :)
16:04 < paulzhol> nsf: right, I'll try bothering him on the mailing list :)
16:05 < nsf> that's is a good idea
16:05 < nsf> s/is//
16:05 -!- sabalaba [~sabalaba@123.123.4.193] has joined #go-nuts
16:07 -!- ct529 [~quassel@77-44-78-159.xdsl.murphx.net] has quit [Read error:
Connection reset by peer]
16:08 -!- iant [~iant@nat/google/x-teyosecbbpocmlxu] has joined #go-nuts
16:08 -!- mode/#go-nuts [+v iant] by ChanServ
16:08 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
16:10 -!- shvntr [~shvntr@116.26.129.86] has quit [Ping timeout: 250 seconds]
16:10 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:11 <+iant> paulzhol: did anybody answer your question?  O_CLOEXEC is
normally the right choice; you don't want descriptors to leak to an exec'ed
program
16:11 < paulzhol> iant: I'll copy-paste the context it is in
16:11 -!- virtualsue [~chatzilla@nat/cisco/x-owprzprwgnypfmcz] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]]
16:12 < paulzhol> I'm talking about forkAndExecInChild in
syscall/exec_unix.go
16:12 < paulzhol> just before execv is called, only the ones we want to leak
to the child process are duped to clear the O_CLOEXEC flag
16:12 < paulzhol> why not just close the fd's we don't want to get to the
child ?
16:12 <+iant> we don't know all the fd's
16:13 < paulzhol> is there no /proc/self/fd eqiv on darwin and freebsd ?
16:13 <+iant> that would get us into the question of whether we want to
explicitly close an FD which was open when the program was started but which we
did not open ourselves
16:15 < paulzhol> I'm trying to port the syscall package to Plan 9, and I
have rfork which allows me to make a copy of the file descriptor table for the
child
16:15 < paulzhol> so closing them in the child should not affect the
partent's table
16:15 < paulzhol> do you think it will work or am I missing something in the
unix implementation ?
16:16 <+iant> I know almost nothing about Plan 9 and rfork
16:16 <+iant> I don't know whether it will work or not
16:17 -!- shvntr [~shvntr@123.89.200.164] has joined #go-nuts
16:18 < paulzhol> iant: I'll bug Russ as nsf suggested, thanks though.
16:18 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
16:22 < paulzhol> iant: on second though, even on linux - after a fork and
before execv, isn't closing fd's in the child affects only it and not the parent ?
You'd call pipe in the parent, then call fork and dup close one end in the child
16:22 <+iant> that is correct
16:24 < paulzhol> so the code in exec_unix.go is just more portable between
the unixes ?
16:25 <+iant> I think I'm missing something
16:25 <+iant> as a general rule, Go opens file descriptors with O_CLOEXEC
16:26 <+iant> not just in exec_unix.go, but everywhere
16:26 <+iant> that means that the right thing will happen when we do the
exec
16:26 <+iant> what are you suggesting should happen instead?
16:27 < paulzhol> but in file_unix.go File.Open there is a test for
syscall.O_CLOEXEC==0, and if it is then syscall.CloseOnExec is called
16:29 < paulzhol> I am not suggesting it is not the required behaviour, I'm
just trying to understand it for my port
16:30 -!- shvntr [~shvntr@123.89.200.164] has quit [Quit: leaving]
16:30 < paulzhol> if you did have a way to get all open fd's before calling
forkExec, you could close all of them to achieve the same effect
16:30 < paulzhol> right ?
16:31 < paulzhol> s/before/after/
16:31 <+iant> yes, that is just for portability
16:31 <+iant> because O_CLOEXEC is relatively new in the Unix world
16:31 <+iant> right, but it would only be correct to do that for all fd's
which were actually opened by the Go program
16:31 <+iant> it would not really be correct to do it for fd's which were
open when the program started
16:31 <+iant> so, I approximately agree, but not precisely
16:32 < paulzhol> do you mean the stdin out and error one's ?
16:32 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
16:33 <+iant> those, yes, but in principle, on Unix, any file descriptor can
be open when a program starts
16:33 <+iant> and it may be intended that that file descriptor pass through
to a child program
16:33 <+iant> this is an unusual way of programming, but I've seen programs
which work that way
16:34 -!- sl [~stanleyli@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] has quit
[Quit: leaving]
16:36 < paulzhol> is it alright to assume the program expecting to use an
already open file descriptor to pass it in the fd []int array parameter to its
child ?
16:36 <+iant> No, because in the example I'm talking about the program
doesn't even know about the file descriptor at all
16:36 <+iant> it's going from the parent to the grandchild
16:36 <+iant> I'm not saying that you must care about this unusual case
16:37 <+iant> it's up to you whether you want to worry about it
16:37 <+iant> I gather than Plan 9 has no close-on-exec flag
16:37 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 265 seconds]
16:37 < paulzhol> iant: it actually has, it doesn't have an fcntl to clear
it
16:38 <+iant> huh
16:38 <+iant> an odd omission
16:38 <+iant> presumably dup'ing the descriptor will clear it, though?
16:39 < paulzhol> it doesn't have fcntl at all, the flag is set on open or
create.  dup does not clear it (at least from what I saw digging in the kernel
sources), it just increses the refcount on the equiv to the kernel's filep
16:40 <+iant> sigh
16:41 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
16:42 < paulzhol> I could break the ForkExec api when it is used on Plan 9
and omit the fd's..
16:42 <+iant> on Unix close-on-exec is the only flag attached to a file
descriptor
16:42 <+iant> rather than a filep
16:43 < paulzhol> that way if a file is opened without O_CLOEXEC, it will
get to the child, and if it does - it will be closed
16:44 <+iant> I think people would find it annoying if os.ForkExec behaved
differently
16:45 <+iant> sounds like you can't use O_CLOEXEC on Plan 9 to make that
happen
16:45 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
16:47 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has joined #go-nuts
16:48 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
16:48 < paulzhol> Thanks for your help Ian, I'll get something working with
a note concerning the already opened fd's not supported and see how some of the
Plan 9 people rect to it :)
16:49 < paulzhol> s/rect/react
16:49 < sl> paulzhol: nice!
16:49 < sl> paulzhol: i would like to try it
16:51 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 250 seconds]
16:51 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:51 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
16:51 < paulzhol> sl: I've got basic syscall without forkExec working, but
it is not very usable because I was planning to do Stat and Readdir in pkg os
16:53 < sl> paulzhol: understood.  i've been waiting for golang support in
openbsd or plan 9 to dive in.  :)
16:53 < sl> paulzhol: i appreciate your efforts.
16:54 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts
16:54 -!- GrantB [~birchm20@38.99.212.18] has left #go-nuts []
16:56 < paulzhol> sl: the runtime is still broken while waiting for
http://codereview.appspot.com/2674041/ to be approved, I'll post a note on
9fans/golang when I'll have a working syscall/os combo.
16:56 -!- Axsuul [Axsuul@97-93-99-133.static.mtpk.ca.charter.com] has joined
#go-nuts
16:56 < paulzhol> sl: or I can send you a syscall patch right now :(
16:57 < sl> paulzhol: awesome.  i'll try it if you don't mind sharing.
16:59 < sl> paulzhol: yes.
17:00 -!- noam [noam@77.124.224.108] has quit [Read error: Connection reset by
peer]
17:00 -!- noam [noam@77.124.224.108] has joined #go-nuts
17:02 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
17:02 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
17:02 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
17:03 < sl> paulzhol: got it, thanks.
17:04 < paulzhol> sl: I think I did not mention the runtime do not work in
9vx, I'm running under linux kvm.
17:05 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 245
seconds]
17:06 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has joined
#go-nuts
17:08 < sl> paulzhol: i'll be trying it on hardware (via c3 800mhz)
17:08 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
17:09 < paulzhol> sl: hope it works, I have a 733mhz one collecting dust
somwhere around here :)
17:10 < sl> paulzhol: graphics won't do better than 640x480x8, but it's a
great cpu server.  :)
17:12 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
17:14 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
17:14 -!- path[l] [~path@59.162.86.164] has quit [Client Quit]
17:15 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
17:18 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has quit [Quit:
This computer has gone to sleep]
17:29 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
17:39 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
17:45 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
17:45 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has quit [Remote host
closed the connection]
17:46 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has joined #go-nuts
17:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
17:54 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
18:01 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
18:01 -!- krutcha [~krutcha@remote.icron.com] has joined #go-nuts
18:03 -!- rbraley [~rbraley@ip72-204-243-89.ph.ph.cox.net] has joined #go-nuts
18:05 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit:
Leaving.]
18:05 -!- virtualsue [~chatzilla@nat/cisco/x-hjeqetxvuebsytvz] has joined #go-nuts
18:11 -!- paulzhol [~yuval@46-116-247-251.bb.netvision.net.il] has quit [Remote
host closed the connection]
18:14 -!- Cyprien_ [~Cyprien@241-13.3-85.cust.bluewin.ch] has joined #go-nuts
18:20 -!- suiside [~suiside@unaffiliated/suiside] has quit [Quit: leaving]
18:21 -!- suiside [tajnyman@unaffiliated/suiside] has joined #go-nuts
18:26 -!- floppy_legs [~Adium@adsl-99-32-113-237.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
18:27 < plexdev> http://is.gd/i9vHx by [Luuk van Dijk] in 2 subdirs of
go/src/ -- [68]l: generate debug info for builtin structured types.
prettyprinting in gdb.
18:32 -!- powerje [~powerj@dhcp-128-146-114-180.osuwireless.ohio-state.edu] has
joined #go-nuts
18:33 -!- photron [~photron@port-92-201-80-30.dynamic.qsc.de] has quit [Ping
timeout: 245 seconds]
18:38 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has quit [Remote host
closed the connection]
18:38 -!- l00t [~i-i3id3r_@187.127.164.49] has joined #go-nuts
18:38 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has joined #go-nuts
18:43 -!- gnuvince1 [~vince@70.35.165.233] has joined #go-nuts
18:45 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
18:45 -!- kashia_ [~Kashia@port-92-200-147-126.dynamic.qsc.de] has joined #go-nuts
18:45 -!- gnuvince_ [~vince@64.235.203.167] has quit [Ping timeout: 245 seconds]
18:47 -!- powerje [~powerj@dhcp-128-146-114-180.osuwireless.ohio-state.edu] has
quit [Quit: powerje]
18:48 -!- Kashia [~Kashia@port-92-200-123-184.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
18:54 < artefon> how do i return an interface object?  like this
http://pastebin.com/GprsdJDs
18:54 < KirkMcDonald> artefon: Don't return *Interface
18:54 < KirkMcDonald> artefon: Just return the interface type.
18:54 -!- hagna [~hagna@74-92-245-181-Utah.hfc.comcastbusiness.net] has joined
#go-nuts
18:55 < sauerbraten> who uses the Go plugin for Eclipse and knows what the
two directories "cmd" and "pkg" are ment for?  in which should I place source
files, and what is the other one for?
18:55 < artefon> KirkMcDonald: doing this MyFactory wont implement the
Factory interface
18:55 < KirkMcDonald> Which interface is this?
18:56 < artefon> KirkMcDonald: this is the signature NewIndividual ()
*Individual
18:56 < KirkMcDonald> And what is Individual?
18:56 < artefon> interface
18:56 < artefon> but i want the factory to have this interface
18:56 < KirkMcDonald> Pointers to interface types are relatively unusual.
18:56 < hagna> just reinstalled go and I when I try to make xplor I get
Makefile:1: /Users/hagna/go/src/Make.386: No such file or directory
18:56 < artefon> hummm
18:57 < KirkMcDonald> artefon: Did you define these interfaces?
18:57 < artefon> KirkMcDonald: yes
18:57 < KirkMcDonald> artefon: Just have it return Individual.
18:58 < krutcha> sauerbraten: I don't use it but my guess is they use
different makefiles to build the code therien, there's a std makefile to include
to build an executeable, and another to build an includeable package.  Those
directories probably reflect that.
18:58 < artefon> KirkMcDonald: if i return the struct is it going to be
copied?
18:58 < artefon> KirkMcDonald: i want only a reference
18:58 < sauerbraten> krutcha: hey, that might be true ;) thank you
18:59 < KirkMcDonald> artefon: If the type that implements the interface is
*MyFactory, then the items that you put into the interface will be pointers.
18:59 < artefon> KirkMcDonald: humm
18:59 < KirkMcDonald> artefon: Using pointers to the interface would
therefore be redundant.
19:00 < artefon> KirkMcDonald: ohh right
19:01 < artefon> KirkMcDonald: even removing the pointer keeps saying that
MyFactory doesnt implement Factory
19:01 < artefon> KirkMcDonald: because of the return
19:02 < KirkMcDonald> artefon: Are you returning a MyFactory or a
*MyFactory?
19:02 < artefon> KirkMcDonald: Factory returns the interface and MyFactory
the struct
19:02 < artefon> KirkMcDonald: i will write an example
19:02 < KirkMcDonald> artefon: And is MyFactory or *MyFactory the type which
implements the interface?
19:02 < KirkMcDonald> (That is, what is the receiver type for the method(s)
which implement the interface?
19:02 < KirkMcDonald> )
19:03 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
19:07 < artefon> KirkMcDonald: i wanted something like this
19:08 < artefon> KirkMcDonald: http://pastebin.com/LbHRUeA1
19:08 < sauerbraten> in java, I can just create a class, then create
attributes of the type the class itself is of (recursive).  I tried that with go's
structs, but that seems to be illegal :/ how should I do it?
19:08 < artefon> KirkMcDonald: the receiver is *MyFactory
19:08 < KirkMcDonald> artefon: You need to return a *B on line 25.
19:09 < KirkMcDonald> artefon: return &b
19:09 < KirkMcDonald> artefon: Or: return new(B)
19:09 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
19:09 < artefon> KirkMcDonald: oh right
19:09 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
19:10 < artefon> KirkMcDonald: so its better to return the object and not a
pointer right?
19:10 < KirkMcDonald> artefon: I'm not sure what you mean.
19:10 -!- ronnyy [~quassel@drsd-4db3194f.pool.mediaWays.net] has quit [Remote host
closed the connection]
19:10 < artefon> KirkMcDonald: in a new function
19:10 < artefon> KirkMcDonald: NewStruct
19:10 < sauerbraten> in particular: I want to define a new type node as a
struct, with pointers to other objects of type node
19:11 < artefon> KirkMcDonald: is it better to return *Struct or Struct?
19:11 < KirkMcDonald> artefon: Generally that function should return the
same type as is used as the method receiver type.
19:11 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
19:12 < KirkMcDonald> Which will also be the same type which implements
whatever the relevant interfaces are.
19:12 < KirkMcDonald> And this will nearly always be *Struct.
19:13 < artefon> KirkMcDonald: ok thanks!
19:14 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
19:18 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: leaving]
19:21 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
19:23 -!- bmizerany [~bmizerany@208.66.27.62] has joined #go-nuts
19:23 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
19:25 -!- bmizerany [~bmizerany@208.66.27.62] has quit [Remote host closed the
connection]
19:27 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
19:27 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:28 < artefon> what this error mean?  MyFactory does not implement
govolution.Factory (NewIndividual method requires pointer receiver)
19:31 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
19:32 < KirkMcDonald> Perhaps you forgot a '*' in the method receiver?
19:33 < artefon> KirkMcDonald: no :(
19:33 < KirkMcDonald> Show us.
19:33 < artefon> KirkMcDonald: if i pass a struct as a parameter it is
passed by reference or value?
19:34 < exch> by value
19:34 < KirkMcDonald> Go passes everything by value, always.
19:35 < KirkMcDonald> It is just that sometimes the value is a reference.
19:35 < artefon> ok
19:35 < artefon> in that example of mine
19:35 < artefon> i wanted to return a pointer to an interface
19:35 < artefon> because i dont wnat to copy the struct
19:35 < artefon> every time
19:36 < KirkMcDonald> You *actually* want to return an interface value
containing a pointer.
19:38 < artefon> i want to return a pointer to an instace that implements
the given interface
19:38 < artefon> KirkMcDonald: new example http://pastebin.com/7uAJGbaX
19:38 -!- noam [noam@77.124.224.108] has quit [Read error: Connection reset by
peer]
19:39 -!- noam [noam@77.124.224.108] has joined #go-nuts
19:39 < KirkMcDonald> artefon: *MyFactory does not implement the interface.
19:39 < KirkMcDonald> Its NewA method returns the wrong type.
19:39 < artefon> so
19:39 < artefon> ok
19:39 < artefon> but if a change to *A
19:39 < artefon> i get the following error
19:40 < KirkMcDonald> Change it to A.
19:40 < KirkMcDonald> Then change the interface so that it requires it to
return A.
19:40 < artefon> example.go:25: cannot use &b (type *B) as type *A in return
argument
19:40 < artefon> KirkMcDonald: but i dont want to be copying structs
19:40 < KirkMcDonald> Right.  *B may be implicitly converted to A, because
*B implements A.
19:40 < KirkMcDonald> artefon: You won't be.
19:40 < KirkMcDonald> artefon: The interface value will contain the
*pointer* to the struct.
19:41 < nsf> he will be :)
19:41 < KirkMcDonald> Because it is the *pointer* type that implements the
interface.
19:41 < nsf> the pointer to a copy of the struct
19:41 < KirkMcDonald> Yes.
19:41 < KirkMcDonald> But it won't be copied after that.
19:41 -!- tvw [~tv@e176006068.adsl.alicedsl.de] has joined #go-nuts
19:41 < nsf> I think it will be
19:41 < KirkMcDonald> Yeah?
19:41 < nsf> interface should behave as a value
19:42 < exch> I've never noticed anything like that
19:42 < nsf> let me check that :)
19:42 < exch> *B implements the A interface.  so return *B (or A) is
effectively the same.  You don't have to return *A.
19:42 < KirkMcDonald> Needing a pointer to an interface is fairly rare.
19:43 < KirkMcDonald> In my expierience, at least.
19:43 < KirkMcDonald> experience*
19:43 < exch> yar
19:44 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Ping timeout:
245 seconds]
19:47 < artefon> KirkMcDonald: i should do like htis?
http://pastebin.com/sV8KPMtz
19:48 < KirkMcDonald> artefon: That looks about right, yeah.
19:48 < nsf> it turns out that if a type uses pointer receiver for its
methods
19:48 < nsf> it cannot be converted to an interface as a value
19:48 < artefon> KirkMcDonald: i got this MyFactory does not implement
Factory (NewA method requires pointer receiver)
19:48 < nsf> only as a pointer to a value
19:48 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
19:49 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
19:49 < KirkMcDonald> artefon: Oh, right.  Your main function needs to be
passing a *MyFactory to test().
19:49 < KirkMcDonald> Since it is *MyFactory (and not MyFactory) which
implements the Factory interface.
19:49 < artefon> oohh right
19:50 < artefon> KirkMcDonald: worked...  but this is an ugly synta
19:50 < artefon> x
19:50 < KirkMcDonald> I'm a little unclear as to why you even need the
Factory interface in the first place.
19:51 < KirkMcDonald> You might just e.g.  type Factory func() A
19:52 < artefon> KirkMcDonald: because i have more than one function
19:53 < KirkMcDonald> In what sense?  More than one method in the interface?
Or more than one factory function which implements the interface?
19:54 -!- Drew1 [~Drew@96.251.16.252] has joined #go-nuts
19:55 < artefon> KirkMcDonald: more than one method in the interface
19:55 -!- krutcha [~krutcha@remote.icron.com] has quit [Quit: Leaving]
19:56 < artefon> KirkMcDonald: it worked, but i think passing run(&factory)
kind of strange hehe
19:56 < Drew1> Does anyone know how well Go is suited for Graphics
applications/running code on GPUs?
19:57 < nsf> Drew1: I think (my personal opinion) it's not suited for GPUs
at all
19:57 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
19:57 < TheSeeker> afaik, it has no native support for such, but people have
been able to make SDL bindings with cgo, so maybe it's possible that way?
19:58 < Rennex> well drawing graphics and computing on the GPU are vastly
different things :)
19:58 < nsf> and as far as I understand you were talking about using Go as a
shading language
19:59 < nsf> because it's the only area where GPU requires programming
language
19:59 < Rennex> well that'd be just crazy talk
19:59 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has quit
[Quit: powerje]
19:59 < Drew1> to be more specific, I was wondering if Go would ever be a
suitable alternative to OpenCL
20:00 < nsf> Drew1: probably not
20:00 < Rennex> nope
20:00 < nsf> Go isn't that different from C and its concurrency architecture
is far from GPU architecture
20:00 < Rennex> never say never though...  maybe when the GPUs become a few
orders of magnitude more like general-purpose CPUs :)
20:01 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 260 seconds]
20:01 < hagna> just reinstalled go and I when I try to make xplor I get
Makefile:1: /Users/hagna/go/src/Make.386: No such file or directory
20:02 < Drew1> Hmm..thanks guys, I guess I need to learn more about GPU
programming in general
20:02 < nsf> learn GPU architecture
20:02 < nsf> in some sense it's unique and affects a lot the way you do
programming
20:09 -!- pothos_ [~pothos@111-240-214-134.dynamic.hinet.net] has joined #go-nuts
20:10 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
20:10 -!- pothos [~pothos@111-240-220-12.dynamic.hinet.net] has quit [Ping
timeout: 240 seconds]
20:13 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
20:18 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error:
Operation timed out]
20:20 < frobnitz> Drew1: In theory, you should be able to use the "gl20"
version of Go-OpenGL to use GLSL shader programs.  I haven't tried it yet, though.
20:20 < anticw> iant: what branch should i track for updats now ...  i
assume things are as-is before and you just merge over from time to time
20:21 < rmmh> Drew1: go is a good bit higher level than opencl
20:22 <+iant> anticw: most changes will go onto trunk now
20:23 <+iant> I'm not quite sure what I will do with gccgo branch
20:23 <+iant> I suspect that after gcc goes back to full development mode, I
will keep gccgo as a more stable branch
20:23 <+iant> then all changes will go to both
20:23 <+iant> basically I'm not sure
20:23 <+iant> but trunk for now
20:24 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
20:24 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
20:25 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:25 < rmmh> would a Timsort implementation along with tests & general sort
algorithm benchmarks be a good thing to work on?
20:26 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
20:30 -!- noam [noam@77.124.224.108] has quit [Read error: Connection reset by
peer]
20:32 -!- noam [noam@77.124.224.108] has joined #go-nuts
20:36 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
20:41 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Quit: Leaving.]
20:41 -!- Tv1 [~tv@gige.bur.digisynd.com] has joined #go-nuts
20:46 -!- artefon [~thiago@dhcp16.usuarios.dcc.ufmg.br] has quit [Quit: bye]
20:47 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
265 seconds]
20:54 < hagna> when porting old go code to work with new go I found
bytes.Add, what's a good way to discover the new equivalent?
20:54 <+iant> hagna: read the release notes, I guess; the answer is: append
20:55 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
20:55 < hagna> iant: or ask an expert :)
20:55 < hagna> thanks
20:56 < hagna> iant: so the line bytes.Add(b, f.Data) should change to
append(b, f.Data) ?
20:57 <+iant> yes, probably b = append(b, f.Data)
20:58 < hagna> yeah
20:59 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
20:59 < rmmh> is there a standard location for benchmark tests?
21:01 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
21:05 < anticw> iant: oh, hmm...  i worry trunk will lag more than what
gccgo lags
21:05 < anticw> right now even with the ...T changes and a couple of other
things, gccgo branch was maybe 1 wk behind 6g IME ...  which is great
21:05 <+iant> anticw: I'm going to update trunk with changes to gofrontend
21:05 < anticw> iant: how stable is trunk?
21:05 <+iant> well, that lag is independent of whether I merge to trunk or
gccgo....
21:05 < anticw> my experience with tracking gcc aggressively is you just get
bad code
21:05 < anticw> sure
21:05 <+iant> it's fairly stable at the moment because gcc is moving toward
a release
21:06 < anticw> but gccgo as a branch has go churn not churn from IR and
what not
21:06 <+iant> but, yeah, after the release branch is made it may well be
appropriate to keep gccgo as a more stable branch
21:06 <+iant> true
21:07 < hagna> iant: cannot use f.Data (type []uint8) as type uint8 in
append.  Do I have to iterate over f.Data and call append each time?
21:07 -!- l00t [~i-i3id3r_@187.127.164.49] has quit [Ping timeout: 240 seconds]
21:07 < anticw> gccgo has given me very few problems ...  and update for
spec changes, so 1-2 times a month and i've never had some of the pain i had in
the 2.7.x gcc days tracking that more aggressively
21:07 < hagna> that's with the line b = append(b, f.Data)
21:07 <+iant> no....what does your line look like?
21:07 < exch> hagna: b = append(b, f.Data...)
21:07 <+iant> yeah
21:07 < hagna> dots eh
21:07 < hagna> ok
21:07 < exch> ^ that uses []uint as a varargs argument and expends it to n,
n, n, n, n, n, etc
21:08 <+iant> dots to append a slice
21:08 < rmmh> iant: how much faster is gccgo than gc on the language
shootout benchmarks?  it it near parity with gcc?
21:09 <+iant> rmmh: depends on the benchmark; there are some timings in
go/test/bench/timing.log
21:09 -!- l00t [~i-i3id3r_@187.127.164.49] has joined #go-nuts
21:09 < rmmh> ah I see
21:10 <+iant> gccgo even beats gcc on the fasta benchmark
21:10 <+iant> which is probably a bug somewhere but I haven't looked
21:10 <+iant> also reverse-complement
21:14 < nsf> binary-tree-freelist is weird on gccgo
21:14 < rmmh> saw the timings, that's really good
21:15 < nsf> it's slower than binary-tree, is it even possible?
21:15 < hagna> so import once should change to import sync/once ?
21:15 < hagna> oh nm
21:16 < nsf> oh, I'm watching old results
21:16 < nsf> hm..
21:16 < nsf> yeah, it's faster on the latest one :)
21:20 < rmmh> iant: how difficult is it to keep gccgo in sync with the main
repo?
21:20 <+iant> rmmh: not too hard
21:20 <+iant> just a periodic svn merge
21:21 -!- Drew1 [~Drew@96.251.16.252] has quit [Quit: Leaving]
21:22 < hagna> iant: how about once.Do?  it says I cannot refer to uexported
name sync.once
21:23 <+iant> sync.Once
21:24 <+iant> note capital 'O'
21:24 < hagna> :)
21:25 -!- foocraft [~dsc@89.211.88.3] has quit [Quit: Leaving]
21:26 < hagna> iant: so sync.Once.Do says it has no Do
21:27 <+iant> oh yeah, sorry, confusion on my part
21:27 <+iant> it's just sync.Do, which is a method on sync.Once
21:28 <+iant> http://golang.org/pkg/sync/#Once
21:29 < hagna> sync.Do comaplins about undefined sync.Do
21:29 < hagna> complains
21:32 < nsf> rmmh: also syncing with repo is not the biggest problem,
building gccgo is :)
21:32 < hagna> I guess I need a once variable
21:32 < nsf> gcc is a beast
21:32 <+iant> indeed
21:32 * nsf builds it right now
21:34 < rmmh> nsf: not as painful as building KDE :)
21:35 < nsf> I guess
21:35 < rmmh> using gentoo for any length of time desensitizes you to long
compiles
21:35 < KBme> because you don't know how painful building android is :P
21:35 * nsf doesn't like gentoo
21:35 < KBme> and ghc, also
21:36 < rmmh> heh, ghc
21:36 * KBme is patient
21:36 < nsf> I'm very impatient
21:37 < rmmh> it's pretty bad when the correctness of your program depends
on optimization passes
21:37 < nsf> most apps are buggy anyway :)
21:37 < KBme> rmmh: wat is bad?
21:38 < rmmh> okay maybe not correctness, but feasibility
21:39 < KBme> gentoo is?
21:40 < KBme> why?
21:40 < rmmh> no, haskell
21:40 < KBme> ah
21:41 < KBme> i don't know, my main thing against haskell is it's horribly
complicated syntax
21:41 < rmmh> programs that depend on optimization passes lowering
time/space complexity of the code
21:41 < KBme> i see
21:43 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has joined
#go-nuts
21:44 < crazy2be> i remember coming across a better template library at some
point
21:44 < crazy2be> but i can't remeber where it was
21:45 < KBme> maybe mustache?
21:46 < KBme> (the only one I know..)
21:46 < rmmh> template library for what?
21:46 < crazy2be> html
21:46 < rmmh> language
21:46 < crazy2be> like the normal template library
21:46 < crazy2be> oh, for go
21:49 -!- prip [~foo@host163-9-dynamic.7-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 260 seconds]
21:50 < crazy2be> technical question: what's the underlying difference
between []byte and string?
21:50 < crazy2be> other than that string is read-only
21:51 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
21:53 < KirkMcDonald> The slice also has a capacity.\
21:53 < KirkMcDonald> Also, you can't index the elements of a string.
21:54 < KirkMcDonald> Er.
21:54 < KirkMcDonald> You can't *address* the elements of a string.
21:55 < rmmh> iant: can gccgo generate .so files?
21:55 < nsf> there is no so much technical difference
21:56 < nsf> but a bit of semantical difference :)
21:56 -!- willdye [~willdye@fern.dsndata.com] has left #go-nuts []
21:56 <+iant> rmmh: sure
21:56 <+iant> in fact libgo is a .so file by default
21:56 <+iant> libgo is gccgo's version of the standard Go packages
21:57 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
21:58 < rmmh> neat.  someone mentioned that on the bugtracker as being
important for their web development
21:58 <+iant> b*Su
21:58 <+iant> sorry
21:59 < KirkMcDonald> That's the combination on my luggage!
22:00 -!- prip [~foo@host196-135-dynamic.43-79-r.retail.telecomitalia.it] has
joined #go-nuts
22:03 < nsf> 40 minutes..  still building gcc (counting svn checkout too)
22:03 < nsf> :\
22:04 < nsf> I mean gccgo
22:04 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has quit
[Quit: powerje]
22:04 < nsf> and I forgot to disable bootstrap :\
22:09 < KBme> heh
22:10 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts
22:10 -!- willdye [~willdye@fern.dsndata.com] has left #go-nuts []
22:11 -!- devinus [~devinus@ps23102.dreamhost.com] has joined #go-nuts
22:14 < crazy2be> KirkMcDonald: What do you mean?
22:15 < KirkMcDonald> crazy2be: With the address-of operator.  &s[x] is
invalid, where s is a string.
22:19 < nsf> almost an hour
22:19 < nsf> yay :\
22:19 < nsf> now I know why no one wants to use gccgo
22:20 < crazy2be> KirkMcDonald: Oh, that makes sence
22:20 < rmmh> doesn't bootstrapping take 2x longer
22:20 < nsf> rmmh: I guess
22:20 < nsf> :(
22:20 < rmmh> well, maybe not 2x
22:20 < nsf> but I don't want to do it once again
22:21 < nsf> without bootstrapping
22:21 < nsf> probably it's too late
22:21 < nsf> for that
22:24 -!- noam [noam@77.124.224.108] has quit [Read error: Connection reset by
peer]
22:24 -!- hcatlin [~hcatlin@host109-153-187-230.range109-153.btcentralplus.com]
has joined #go-nuts
22:24 -!- hcatlin [~hcatlin@host109-153-187-230.range109-153.btcentralplus.com]
has quit [Changing host]
22:24 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
22:24 -!- noam [noam@77.124.224.108] has joined #go-nuts
22:26 -!- evilclone [~graham@dyn1065-152.hor.ic.ac.uk] has quit [Quit: Leaving]
22:30 -!- foocraft [~dsc@89.211.88.3] has joined #go-nuts
22:36 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
22:37 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
22:40 -!- powerje [~powerj@adsl-75-49-3-95.dsl.wotnoh.sbcglobal.net] has joined
#go-nuts
22:46 < nsf> ok, this is the end of my patience :)
22:47 * nsf will wait binary gccgo packages
22:47 < nsf> for*
22:47 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:51 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X]
22:52 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
22:59 -!- virtualsue [~chatzilla@nat/cisco/x-hjeqetxvuebsytvz] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]]
23:00 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
23:08 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Quit: "Wait...  what?!"]
23:13 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Quit: Leaving.]
23:15 -!- Fish [~Fish@80.185.109.189] has joined #go-nuts
23:18 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
23:18 -!- Tuller_ [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined
#go-nuts
23:19 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Ping
timeout: 245 seconds]
23:22 -!- antonkovalyov [~antonkova@75-101-56-240.dsl.static.sonic.net] has joined
#go-nuts
23:26 -!- Project_2501 [~Marvin@82.84.79.101] has quit [Quit: E se abbasso questa
leva che succ...]
23:28 < foocraft> is there a manpage package for the go toolset?
23:28 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Ping timeout:
245 seconds]
23:29 < |Craig|> foocraft: looking for http://golang.org/cmd/ ?
23:31 < foocraft> thanks |Craig|
23:32 -!- noam [noam@77.124.224.108] has quit [Ping timeout: 245 seconds]
23:32 -!- noam [noam@77.124.224.108] has joined #go-nuts
23:36 < foocraft> well, these are html
23:36 < foocraft> although they're conversions of some manpage to html, so
now lets find the manfiles
23:36 < nsf> there are no man files I believe
23:39 < TheSeeker> nsf: any luck compiling goclipse?
23:39 < nsf> TheSeeker: nope, I've decided to fix gocode for win and make it
work in vim on windows
23:40 < nsf> then I will notify goclipse devs
23:40 < nsf> hopefully they will figure out how to fix gocode goclipse
plugin
23:41 < TheSeeker> *nod*
23:41 -!- devinus [~devinus@ps23102.dreamhost.com] has left #go-nuts []
23:41 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
23:47 < uriel> foocraft: there is an issue about providing man pages, you
can 'star' that
23:47 < uriel> I think they are waiting for things to stabilize a bit before
producing man pages
23:47 -!- gnuvince_ [~vince@70.35.163.150] has joined #go-nuts
23:50 -!- gnuvince1 [~vince@70.35.165.233] has quit [Ping timeout: 245 seconds]
23:56 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
23:58 < foocraft> so...Go is forcing me to use K&R-style bracing
23:59 < foocraft> hello.go:6: syntax error: unexpected semicolon or newline
before {
--- Log closed Sat Dec 04 00:00:36 2010