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

--- Log opened Mon Jan 31 00:00:05 2011
00:06 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
00:06 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
00:17 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
00:18 -!- watr_ [~watr@S0106000352031b27.vc.shawcable.net] has joined #go-nuts
00:30 -!- MX80 [~MX80@cust141.253.117.74.dsl.g3telecom.net] has joined #go-nuts
00:30 -!- jdp__ [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
00:42 -!- Fish- [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
00:44 -!- Fish [~Fish@exo3753.pck.nerim.net] has quit [Ping timeout: 240 seconds]
00:54 < KBme> skelterjohn: i haad that a little while back, just remove all
goinstalled src and all of pgk/ and then rerun all.bash and goinstall -a -u
(goinstall will check everything out again)
00:54 < KBme> at least that worked for me
00:54 < skelterjohn> i removed the goinstalled src and binaries, it worked
yeah
00:56 < KBme> still, it's weird
00:56 < KBme> sounds kind of like goinstall doesn't clean up well after
itself
00:57 < skelterjohn> a segfault in the linker is never a good thing
01:00 -!- JamesMD [pushupsjev@124-168-136-151.dyn.iinet.net.au] has joined
#go-nuts
01:04 -!- boscop_ [~boscop@f055201030.adsl.alicedsl.de] has quit [Ping timeout:
240 seconds]
01:08 < skelterjohn> any windows users here?
01:08 < skelterjohn> willing to test a project builder i've been working on?
01:11 -!- Scorchin [~Scorchin@host109-155-3-42.range109-155.btcentralplus.com] has
quit [Quit: Scorchin]
01:13 -!- tvw [~tv@e176002106.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
01:21 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
01:30 -!- watr_ [~watr@S0106000352031b27.vc.shawcable.net] has quit [Ping timeout:
240 seconds]
01:31 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
01:31 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
01:32 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
01:39 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
01:49 -!- jdp__ [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
01:50 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
01:53 -!- JamesMD [pushupsjev@124-168-136-151.dyn.iinet.net.au] has quit []
02:41 -!- cafesofie [~cafesofie@rnwifi-164-107-93-176.resnet.ohio-state.edu] has
joined #go-nuts
02:41 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
02:46 -!- niemeyer [~niemeyer@189-10-154-68.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
02:50 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has quit [Read error:
Operation timed out]
02:51 -!- cafesofie [~cafesofie@rnwifi-164-107-93-176.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
02:57 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
03:04 -!- fzzbt [~fuzzybyte@77.79.7.8] has joined #go-nuts
03:06 -!- jdp [~jdp@nj-76-1-233-159.dhcp.embarqhsd.net] has joined #go-nuts
03:39 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
03:39 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Remote
host closed the connection]
03:43 -!- nettok_ [~quassel@200.119.167.194] has joined #go-nuts
03:43 -!- nettok [~quassel@200.119.185.127] has quit [Ping timeout: 240 seconds]
03:44 -!- decaf [~mehmet@85.106.167.2] has quit [Remote host closed the
connection]
03:51 -!- jdp [~jdp@nj-76-1-233-159.dhcp.embarqhsd.net] has quit [Read error:
Connection reset by peer]
03:51 -!- jdp [~jdp@nj-76-1-233-159.dhcp.embarqhsd.net] has joined #go-nuts
03:53 -!- jdp [~jdp@nj-76-1-233-159.dhcp.embarqhsd.net] has quit [Remote host
closed the connection]
03:56 -!- icbh [~icbh@ntszok033003.szok.nt.adsl.ppp.infoweb.ne.jp] has joined
#go-nuts
04:16 -!- millergarym [~chatzilla@203-219-89-242.static.tpgi.com.au] has joined
#go-nuts
04:23 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:25 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit
[Quit: JusticeFries]
04:36 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
04:36 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
04:41 < krakensden> KBme: wait, goinstall takes a -a option?
04:42 < krakensden> not on my machine :(, and I'm pretty sure I have the
latest release..
04:46 -!- Dr_Who [~tgall@206.9.88.154] has joined #go-nuts
04:47 -!- nettok [~quassel@200.119.187.236] has joined #go-nuts
04:48 -!- tgall_foo [~tgall@206.9.88.154] has quit [Ping timeout: 255 seconds]
04:50 -!- nettok_ [~quassel@200.119.167.194] has quit [Ping timeout: 240 seconds]
05:03 < plexdev> http://is.gd/lxdpG1 by [Alex Brainman] in go/src/ --
run.bash: disable doc/codelab/wiki test on windows
05:03 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
05:08 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
05:08 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
05:17 -!- sacho [~sacho@95-42-75-129.btc-net.bg] has joined #go-nuts
05:26 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
05:26 -!- mode/#go-nuts [+v iant] by ChanServ
05:47 -!- nettok_ [~quassel@200.119.161.123] has joined #go-nuts
05:48 -!- nettok [~quassel@200.119.187.236] has quit [Ping timeout: 240 seconds]
06:02 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
06:07 -!- nettok [~quassel@200.119.151.181] has joined #go-nuts
06:11 -!- nettok_ [~quassel@200.119.161.123] has quit [Ping timeout: 264 seconds]
06:13 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:00 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
07:07 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
07:10 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Excess
Flood]
07:14 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
07:23 -!- nettok [~quassel@200.119.151.181] has quit [Ping timeout: 240 seconds]
07:35 -!- Project_2501 [~Marvin@82.84.92.245] has joined #go-nuts
07:45 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
07:45 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
07:54 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
08:01 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
08:03 -!- idr [~idr@g225066200.adsl.alicedsl.de] has joined #go-nuts
08:05 < plexdev> http://is.gd/ONkR16 by [Andrew Gerrand] in
go/src/pkg/bufio/ -- bufio: make Flush a no-op when the buffer is empty
08:11 -!- adu [~ajr@pool-173-73-0-57.washdc.fios.verizon.net] has joined #go-nuts
08:15 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:31 -!- wrtp [~rog@92.17.35.133] has joined #go-nuts
08:35 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts
08:41 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
08:48 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 240 seconds]
08:48 -!- ronnyy [~quassel@p4FF1C605.dip0.t-ipconnect.de] has joined #go-nuts
08:50 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
08:56 -!- adu [~ajr@pool-173-73-0-57.washdc.fios.verizon.net] has quit [Quit: adu]
09:03 -!- adu [~ajr@pool-173-73-0-57.washdc.fios.verizon.net] has joined #go-nuts
09:03 -!- ronnyy [~quassel@p4FF1C605.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
09:05 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
09:22 -!- dccmx [~chatzilla@61.172.241.100] has joined #go-nuts
09:23 -!- dccmx [~chatzilla@61.172.241.100] has quit [Client Quit]
09:40 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
09:48 -!- pankajm [~pankajm@202.3.77.219] has quit [Quit: Lost terminal]
10:14 -!- cafesofie [~cafesofie@rnwifi-164-107-92-33.resnet.ohio-state.edu] has
joined #go-nuts
10:27 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
10:34 -!- cafesofie [~cafesofie@rnwifi-164-107-92-33.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
10:37 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
10:39 -!- cafesofie [~cafesofie@rnwifi-164-107-92-33.resnet.ohio-state.edu] has
joined #go-nuts
10:39 -!- artefon [~thiago@189.59.164.40] has joined #go-nuts
10:43 -!- virtualsue [~chatzilla@nat/cisco/x-unvfwqpshdfvdftv] has joined #go-nuts
11:00 -!- temoto [~temoto@81.19.91.9] has joined #go-nuts
11:01 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
11:09 -!- artefon [~thiago@189.59.164.40] has quit [Read error: Connection reset
by peer]
11:10 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping
timeout: 240 seconds]
11:13 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts
11:27 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping
timeout: 240 seconds]
11:27 -!- vzx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts
11:33 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the
connection]
11:35 -!- idr [~idr@g225066200.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:38 < plexdev> http://is.gd/14nNds by [Luuk van Dijk] in 8 subdirs of
go/src/ -- runtime: generate Go defs for C types.
11:47 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
11:49 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
11:50 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
11:50 -!- decaf [~mehmet@85.106.167.2] has joined #go-nuts
11:52 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
11:52 -!- niemeyer [~niemeyer@189-10-154-68.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
11:56 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
11:58 -!- idr [~idr@g225066200.adsl.alicedsl.de] has joined #go-nuts
12:01 -!- millergarym_ [~chatzilla@203-219-89-242.static.tpgi.com.au] has joined
#go-nuts
12:03 -!- vzx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping timeout: 246
seconds]
12:05 -!- millergarym [~chatzilla@203-219-89-242.static.tpgi.com.au] has quit
[Ping timeout: 265 seconds]
12:14 -!- vzx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts
12:19 < wrtp> anyone know how to get gdb to start running a program and stop
immediately on the first instruction?
12:20 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
12:24 -!- ildorn [~ildorn@dslb-188-099-198-218.pools.arcor-ip.net] has joined
#go-nuts
12:24 -!- Project-2501 [~Marvin@82.84.89.141] has joined #go-nuts
12:25 < temoto> wrtp, file program ; start
12:26 < wrtp> temoto: thanks a lot!
12:27 < wrtp> why doesn't "run" cross-reference "start"?
12:27 < temoto> wrtp, actually 'start' makes it to entrance to C main().
12:27 < wrtp> oh, it skips crt0?
12:27 -!- Project_2501 [~Marvin@82.84.92.245] has quit [Read error: Operation
timed out]
12:27 < wrtp> i don't think i mind that actually
12:28 < temoto> well it executes everything, but doesn't break on crt0, yes
12:43 -!- shvntr [~shvntr@116.26.130.15] has joined #go-nuts
12:44 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
12:44 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
12:48 -!- cafesofie [~cafesofie@rnwifi-164-107-92-33.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
12:52 < wrtp> unfortunately a go program doesn't have any main so start
isn't good enough
12:53 < wrtp> "Make breakpoint pending on future shared library load?  (y or
[n]) n" - there's no shared library load!
12:54 < wrtp> i suppose i could add a shared library dependency
12:58 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
12:59 < wrtp> "break main.main" works
12:59 < wrtp> now to try and remember how to print out the current
instruction on each step.  i hate gdb.
12:59 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts
13:02 < wrtp> display/i $pc
13:04 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Ping timeout: 264 seconds]
13:08 -!- ios_ [~ios@180.191.129.64] has joined #go-nuts
13:17 -!- ios_ [~ios@180.191.129.64] has left #go-nuts ["Leaving"]
13:29 < artefon> how do i get the compiler and linker (e.g.  6g) inside the
makefile?
13:35 -!- dipoll [~dmytro@193.227.120.3] has joined #go-nuts
13:39 < wrtp> artefon: what are you trying to do?
13:40 < artefon> wrtp, i want to create a rule in the makefile to compile a
sample use of my library
13:40 < artefon> wrtp, eg.  6g sample.go
13:41 < artefon> but i dont want to use 6g in the makefile, i want to use
the var that holds the compiler and linker names
13:42 < bortzmeyer> artefon: use $(GC)
13:42 < skelterjohn> $(GC)
13:42 -!- cafesofie [~cafesofie@dhcp-140-254-202-183.osuwireless.ohio-state.edu]
has joined #go-nuts
13:42 < bortzmeyer> If you included $(GOROOT)/src/Make.inc, it will work
13:44 < artefon> thanks!
13:44 < artefon> and the linker?  GL?
13:44 < skelterjohn> yes
13:45 < artefon> o
13:45 < skelterjohn> are you just building one executable target?  if so,
you should just use the standard make template
13:45 < artefon> skelterjohn, in fact $(LD), worked lika a charm :)
13:45 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
13:45 < artefon> skelterjohn, i am using the includes
13:45 < skelterjohn> include Make.inc at the top, Make.cmd at the bottom
13:45 < skelterjohn> and TARG=myExe
13:46 < skelterjohn> GOFILES = the source
13:46 < artefon> skelterjohn, but it is a lib, i am generating a lib and if
the user wants, a sample
13:46 < skelterjohn> two makefiles :)
13:46 < artefon> humm
13:46 < skelterjohn> you could also use one of a number of 3rd party project
builders
13:46 < artefon> skelterjohn, yes, this can be interesting
13:46 < skelterjohn> it's been a while since i've plugged the one i created
- go-gb.googlecode.com
13:49 < skelterjohn> gb can also create a set of makefiles and a build
script that will do incremental building, if you want to distribute your project
to someone without gb
13:50 < artefon> thats nice!  the problem with most build tools is making
the user download it
13:50 < skelterjohn> yeah
13:51 < skelterjohn> just gotta convince the go team to add gb to the core
:) (not gonna happen, at least not any time soon)
13:51 < artefon> hehehe
13:56 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
14:15 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
14:20 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: leaving]
14:30 < decaf> is this normal?  godoc uses 220 MiB memory when using as web
server
14:32 < wrtp> decaf: it holds a lot of indexing data in memory
14:36 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
14:40 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts
14:41 -!- adu [~ajr@pool-173-73-0-57.washdc.fios.verizon.net] has quit [Quit: adu]
14:41 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:53 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
15:02 < wrtp> more gdb: anyone know how to display segment register base &
limit values?
15:03 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
15:04 < wrtp> that is, when the runtime does: mov %gs:0x8a0,%rcx; how can i
find out what address is actually about to be accessed?
15:05 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
15:06 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
15:06 < wrtp> just execute it i guess, doh.
15:09 < skelterjohn> gdb seems hard :)
15:09 < wrtp> unfortunately it's unavoidable
15:09 < KBme> sure it is: fmt.Printf!
15:10 < skelterjohn> do you need to do anything special with the compiler to
allow gdb?
15:11 < KBme> skelterjohn: i don't think so, debuggins symbols are in by
default
15:11 < KBme> ing*
15:11 < skelterjohn> i guess slightly larger executables won't make a
difference at this point
15:12 < wrtp> KBme: not if you're trying to debug the low level runtime
stuff
15:12 < wrtp> somewhere a large stack frame is messing things up.
fmt.Printf (or even println) will just confuse the issue.
15:13 < KBme> wrtp: yeah, i was half-joking...;)
15:14 < wrtp> KBme: yeah i know, but fmt.Printf *is* often a better answer
than using a debugger...
15:14 < KBme> right
15:14 < KBme> hehe, at least gdb
15:15 -!- Fish- [~Fish@exo3753.pck.nerim.net] has quit [Quit: So Long, and Thanks
for All the Fish]
15:16 -!- Fish [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
15:21 < Belg> If I have the data of a struct returned from a method as
interface{}, how exactly do access the methods of that struct?  Is there a way to
type-assert that I am missing?
15:23 < wrtp> Belg: foo.(someType)
15:23 < wrtp> it panics if the type of foo isn't someType
15:23 < Belg> wrtp: Excellent!  Thanks :)
15:24 < skelterjohn> you can also do "val, ok := foo.(SomeType)" and instead
of a panic, ok will be set to false
15:25 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts
15:27 < Belg> And if I have a slice ([]interface{}), is it possible to
convert that to a slice of whatever type I need without looping through the slice
and copying the data?
15:29 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
15:29 < wrtp> nope
15:29 < wrtp> different types have different representations in memory
15:32 < Belg> Ok
15:32 -!- shvntr [~shvntr@116.26.130.15] has quit [Ping timeout: 272 seconds]
15:36 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
15:36 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
15:40 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
15:49 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
15:50 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
15:51 -!- sauerbraten [~sauerbrat@p508CFA4F.dip.t-dialin.net] has joined #go-nuts
15:52 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:58 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
16:01 -!- virtualsue [~chatzilla@nat/cisco/x-unvfwqpshdfvdftv] has quit [Ping
timeout: 240 seconds]
16:10 -!- virtualsue [~chatzilla@nat/cisco/x-ddnqdptukaxbgbqm] has joined #go-nuts
16:10 -!- qjcg1 [~qjcg@208.88.110.46] has joined #go-nuts
16:10 -!- qjcg [~qjcg@208.88.110.46] has quit [Read error: Operation timed out]
16:11 -!- ismtrn [~andreas@85.218.137.25] has joined #go-nuts
16:12 -!- wm_eddie [~wm_eddie@kanna.wm-eddie.info] has joined #go-nuts
16:13 < ismtrn> slice = append(slice, thingToAppend) .Is this how you
normally add to a slice?
16:14 < KBme> yes
16:16 < ismtrn> ok...
16:16 < rm445> http://golang.org/src/pkg/runtime/slice.c << you can
see the sensibly things the runtime does to avoid excess allocations
16:20 < aiju> i have a really weird linker problem
16:20 -!- artefon [~thiago@189.59.164.40] has joined #go-nuts
16:20 < aiju> some otherwise perfect table has a null dword where it really
shouldn't be
16:20 < aiju> ELF output is fine, just a.out is wrong o.O
16:24 -!- thiago__ [~thiago@189.115.126.116] has joined #go-nuts
16:26 -!- artefon [~thiago@189.59.164.40] has quit [Ping timeout: 240 seconds]
16:27 -!- mattn_jp [~mattn@112-68-53-15f1.hyg1.eonet.ne.jp] has joined #go-nuts
16:27 -!- qjcg1 [~qjcg@208.88.110.46] has quit [Quit: qjcg1]
16:29 -!- jdp__ [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
16:29 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
16:30 -!- [muttox] [muttox@creep.bur.st] has joined #go-nuts
16:35 < wm_eddie> I wonder what's wrong with my setup.  I'm getting a syntax
error when I try and compile a hello world program.
16:36 < wm_eddie> 'syntax error near "<string>"'
16:36 < KBme> paste
16:36 < KBme> to pastebin
16:36 -!- cafesofie [~cafesofie@dhcp-140-254-202-183.osuwireless.ohio-state.edu]
has quit [Remote host closed the connection]
16:38 < wm_eddie> http://pastebin.com/JpCY8JqY
16:38 -!- soapy_illusions [~soapy_ill@vpn144141.Wireless.McGill.CA] has joined
#go-nuts
16:38 < wm_eddie> oh, did import change?
16:39 < KBme> no
16:39 < KBme> wm_eddie: maybe a newline at the end of the file?
16:39 < KBme> but it works fine in the go sandbox so that *is* weird
16:39 < soapy_illusions> hi everyone, I am getting 'conflicting definitions
for "os".File' when trying to compile my application on Fedora, yet on my Ubuntu
partition it compiles just fine and throws no errors, any thoughts?
16:40 < KBme> soapy_illusions: you could try removing $GOROOT/pkg/* and all
goinstalled source from $GOROOT/src/pkg
16:40 < aiju> wm_eddie: windows?
16:40 < wm_eddie> I think I'll wipe my go installation.  It's been a while
since I've updated so maybe there's a fair amount of cruft in there.
16:40 < KBme> then rerun all.bash and goinstall -a -u
16:40 < wm_eddie> aiju: Nope Ubuntu.
16:40 < aiju> *cough*
16:41 < KBme> heheh
16:41 < aiju> 9vx doesn't work at all on Ubuntu (or at least, some
installations) and nobody can figure out why
16:42 < soapy_illusions> KBme, ya I did just try and rerun all.bash, it
froze when leaving the net/ directory, but ran when I did a 'hg pull && hg
update'...  I'm confused lol
16:42 < KBme> soapy_illusions: you should update often.
16:42 < soapy_illusions> KBme, I do, all the time whenever Andrew announces
a new release
16:43 < KBme> soapy_illusions: oh, and that didn't freeze, it timeouts after
a while
16:43 < KBme> soapy_illusions: but yeah, just update to devel version for
now
16:44 < KBme> net tests in the release are borken for now afaik
16:44 < soapy_illusions> so to get devel I just run an hg pull && hg update?
16:44 < aiju> or just hg pull -u :P
16:45 < KBme> yip
16:45 < soapy_illusions> ok well I did that and passed the net tests, but
now I have a conflicting definitions for os.File
16:46 < KBme> soapy_illusions: or checkout the release and skip the net
tests
16:46 < KBme> i don't remember the envvar to set for that..anyone?
16:46 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
16:47 < soapy_illusions> well I mean release version or not, does that
explain the conflicting definition for os.File??
16:47 < KBme> the devel version might well be broken at the moment...no
clue.
16:47 < pharris> soapy_illusions: Try rebuilding all your stuff.  If you
have old .6 files around, they might be referencing the previous version of the os
library.
16:48 < KBme> pharris: that's what is giving him the error
16:48 < soapy_illusions> ahh you guys are exactly right
16:48 < soapy_illusions> thanks a lot
16:49 < KBme> soapy_illusions: what was it?
16:49 < soapy_illusions> old files I think, a nice make clean in every
directory of my project fixed the error
16:50 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
16:50 -!- DerHorst [~Horst@e176102102.adsl.alicedsl.de] has joined #go-nuts
16:51 < soapy_illusions> ohh and another quick question while I am here is
it possible to have a go Makefile build a required library then build itself?
16:51 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
16:52 -!- virtualsue [~chatzilla@nat/cisco/x-ddnqdptukaxbgbqm] has quit [Ping
timeout: 250 seconds]
16:53 < KBme> soapy_illusions: not really, my solution is to install the app
with goinstall ;)
16:53 < wm_eddie> I've completely cleaned out go and I still get that
strange syntax error...
16:53 < wm_eddie> hello2.go:3: syntax error near "<string>"
16:56 < plexdev> http://is.gd/t0HznU by [Russ Cox] in go/src/pkg/unicode/ --
unicode: build maketables during build, take 2
16:57 < wm_eddie> Woah, I'm using an ancient 6g that I forgot was in my
PATH.
17:00 < wm_eddie> Ok, now everything is sane again.
17:05 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
17:05 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
quit [Read error: Connection reset by peer]
17:05 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
17:05 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
17:05 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-161-170.clienti.tiscali.it] has
joined #go-nuts
17:08 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
17:09 -!- Project-2501 [~Marvin@82.84.89.141] has quit [Ping timeout: 260 seconds]
17:11 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
quit [Read error: Connection reset by peer]
17:12 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 276 seconds]
17:13 -!- iant [~iant@216.239.45.130] has joined #go-nuts
17:13 -!- mode/#go-nuts [+v iant] by ChanServ
17:14 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Quit: leaving]
17:15 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
17:16 < skelterjohn> soapy_illusions: you might want to give gb
(go-gb.googlecode.com) a try
17:16 -!- franksalim_ [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
17:16 < skelterjohn> i think it can take care of these issues you're having
very nicely
17:16 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
quit [Read error: Connection reset by peer]
17:16 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
17:19 -!- franksalim_ [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
quit [Read error: Connection reset by peer]
17:20 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
joined #go-nuts
17:21 -!- qjcg [~qjcg@208.88.110.46] has quit [Quit: qjcg]
17:24 -!- soapy_illusions [~soapy_ill@vpn144141.Wireless.McGill.CA] has quit [Ping
timeout: 255 seconds]
17:25 -!- soapy_illusions [~soapy_ill@vpn144141.Wireless.McGill.CA] has joined
#go-nuts
17:31 -!- vermi [4086ae0c@gateway/web/freenode/ip.64.134.174.12] has joined
#go-nuts
17:32 < vermi> so i've got this really simple restart function, but
something perplexing is happening
17:32 -!- deso_ [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:32 < vermi> it will restart once, but if i try to restart it more than
once exec.Run returns an error
17:32 < vermi> http://pastie.org/1515328
17:33 < aiju> func main() {restart: and then goto restart :P
17:33 < aiju> vermi: what error?
17:34 < skelterjohn> vermi: the first parameter to exec.Run has to be an
absolute path
17:34 < skelterjohn> maybe that is the issue?
17:34 < skelterjohn> you can use exec.LookPath to find it
17:34 < vermi> i thought it was supposed to be the name of the binary
17:34 < skelterjohn> the absolute name of the binary :)
17:34 < skelterjohn> so, instead of, for instance, "cp", it would be
"/usr/bin/cp"
17:35 < aiju> /bin/cp
17:35 < skelterjohn> right
17:35 < aiju> (stupid /usr/bin <insert rant here>)
17:35 < vermi> so then dir is the working directory.
17:35 < vermi> let me give that a go and see if it helps
17:37 -!- nettok [~quassel@200.119.155.150] has joined #go-nuts
17:37 < temoto> vermi, argv[0] is always what user typed to run the program.
17:37 -!- gudhbay__ [~gudhbay@187.114.146.118] has quit [Read error: Connection
reset by peer]
17:37 < temoto> (when run from shell)
17:38 < vermi> switching buildings, i'll be back
17:38 -!- vermi [4086ae0c@gateway/web/freenode/ip.64.134.174.12] has quit [Quit:
Page closed]
17:40 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
17:43 < plexdev> http://is.gd/wRX6Kb by [Russ Cox] in go/src/lib9/utf/ --
lib9: update to Unicode 6.0.0
17:44 < aiju> Unicode 6.0 now with pile of shit suppot
17:44 < aiju> *rt
17:44 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
17:45 -!- thiago__ [~thiago@189.115.126.116] has quit [Ping timeout: 240 seconds]
17:54 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
17:57 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
18:00 < plexdev> http://is.gd/Zhm00M by [Mikio Hara] in go/src/pkg/syscall/
-- syscall: add network interface constants for darwin/386, darwin/amd64
18:00 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
18:04 -!- mattn_jp [~mattn@112-68-53-15f1.hyg1.eonet.ne.jp] has quit [Quit:
Ex-Chat]
18:15 -!- snearch [~snearch@f053011158.adsl.alicedsl.de] has joined #go-nuts
18:19 -!- soapy_illusions [~soapy_ill@vpn144141.Wireless.McGill.CA] has quit [Ping
timeout: 255 seconds]
18:22 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
18:23 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
18:23 -!- boscop [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
18:26 -!- savio [~savio@67.18.186.81] has joined #go-nuts
18:27 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
18:28 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
18:32 -!- keithcascio [~keithcasc@nat/google/x-qdfnglbgynvfotfv] has joined
#go-nuts
18:34 -!- sacho [~sacho@95-42-75-129.btc-net.bg] has quit [Read error: Connection
reset by peer]
18:35 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
18:36 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
18:36 -!- idr [~idr@g225066200.adsl.alicedsl.de] has quit [Remote host closed the
connection]
18:38 -!- idr [~idr@g225066200.adsl.alicedsl.de] has joined #go-nuts
18:54 -!- DerHorst [~Horst@e176102102.adsl.alicedsl.de] has quit [Remote host
closed the connection]
18:55 -!- dforsyth_ [~dforsyth@bastion.inap.yelpcorp.com] has joined #go-nuts
19:03 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
joined #go-nuts
19:03 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
19:07 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
19:07 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has joined #go-nuts
19:08 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
19:08 -!- qjcg [~qjcg@208.88.110.46] has left #go-nuts []
19:16 -!- fhs [~fhs@pool-74-101-66-112.nycmny.east.verizon.net] has joined
#go-nuts
19:17 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
19:19 -!- photron [~photron@port-92-201-92-132.dynamic.qsc.de] has joined #go-nuts
19:22 -!- illya77 [~illya77@203-178-133-95.pool.ukrtel.net] has joined #go-nuts
19:32 < plexdev> http://is.gd/muoCtL by [Roger Peppe] in go/src/cmd/cgo/ --
cgo: improve error reporting slightly.
19:35 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
19:42 -!- tvw [~tv@e176001053.adsl.alicedsl.de] has joined #go-nuts
19:43 -!- tvw [~tv@e176001053.adsl.alicedsl.de] has quit [Remote host closed the
connection]
19:43 -!- tvw [~tv@e176001053.adsl.alicedsl.de] has joined #go-nuts
19:44 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read
error: Connection reset by peer]
19:51 -!- boscop_ [~boscop@f055052101.adsl.alicedsl.de] has quit [Ping timeout:
240 seconds]
19:56 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:58 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-151-193.clienti.tiscali.it] has
joined #go-nuts
20:01 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-161-170.clienti.tiscali.it] has
quit [Ping timeout: 265 seconds]
20:02 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
20:03 < wrtp> i seem to remember a (blog?) post from someone (perhaps rsc?)
talking about Go's segmented stacks.  anyone remember something like this?
20:03 < plexdev> http://is.gd/alEi1E by [Albert Strasheim] in go/src/pkg/os/
-- os: add ETIMEDOUT
20:10 -!- idr [~idr@g225066200.adsl.alicedsl.de] has quit [Disconnected by
services]
20:11 -!- idr0 [~idr@g225066200.adsl.alicedsl.de] has joined #go-nuts
20:12 -!- ildorn [~ildorn@dslb-188-099-198-218.pools.arcor-ip.net] has quit [Quit:
Leaving.]
20:20 -!- cco3-hampster [~conleyo@nat/google/x-ktwohaxiywhqrpax] has joined
#go-nuts
20:22 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
20:22 -!- pothos [~pothos@111-240-166-53.dynamic.hinet.net] has quit [Read error:
Connection reset by peer]
20:23 -!- franksalim [~frank@108-65-76-174.lightspeed.sntcca.sbcglobal.net] has
quit [Quit: Ex-Chat]
20:23 -!- illya77 [~illya77@203-178-133-95.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
20:24 -!- pothos [~pothos@111-240-167-72.dynamic.hinet.net] has joined #go-nuts
20:24 < niemeyer> wrtp: I don't think I've read it
20:26 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Quit:
Leaving...]
20:27 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
20:35 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
quit [Ping timeout: 255 seconds]
20:37 -!- nettok_ [~quassel@200.119.177.29] has joined #go-nuts
20:39 -!- nettok [~quassel@200.119.155.150] has quit [Ping timeout: 240 seconds]
20:40 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
20:45 -!- ismtrn [~andreas@85.218.137.25] has quit [Quit: Leaving]
20:50 < plexdev> http://is.gd/sSnecv by [Rob Pike] in go/doc/ -- effective
go: remove non-blocking ops in leaky bucket example
20:50 -!- ildorn [~ildorn@dslb-188-099-198-218.pools.arcor-ip.net] has joined
#go-nuts
20:52 -!- ildorn [~ildorn@dslb-188-099-198-218.pools.arcor-ip.net] has quit
[Client Quit]
20:56 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
21:01 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
21:05 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
21:10 -!- nettok [~quassel@200.119.158.248] has joined #go-nuts
21:12 -!- nettok_ [~quassel@200.119.177.29] has quit [Ping timeout: 276 seconds]
21:18 -!- vermi [4086ae0c@gateway/web/freenode/ip.64.134.174.12] has joined
#go-nuts
21:19 < vermi> whoever suggested using the absolute filename in exec.Run()
earlier was right on
21:19 < vermi> thanks for that :)
21:19 -!- rejb [~rejb@unaffiliated/rejb] has quit [Quit: .]
21:20 -!- vermi [4086ae0c@gateway/web/freenode/ip.64.134.174.12] has quit [Client
Quit]
21:21 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
21:22 < plexdev> http://is.gd/vxYzJA by [Eric Eisner] in
go/src/pkg/index/suffixarray/ -- suffixarray: fix construction bug
21:22 < plexdev> http://is.gd/vgIFL0 by [Ian Lance Taylor] in go/ --
.hgignore: Add some more files created by all.bash.
21:26 -!- idr0 [~idr@g225066200.adsl.alicedsl.de] has quit [Remote host closed the
connection]
21:33 -!- Scorchin [~Scorchin@host86-162-75-190.range86-162.btcentralplus.com] has
joined #go-nuts
21:35 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
21:38 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Quit: JusticeFries]
21:39 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has joined #go-nuts
21:42 -!- camnaes [~cm@c-76-100-200-8.hsd1.md.comcast.net] has joined #go-nuts
21:42 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
21:47 -!- qjcg [~qjcg@208.88.110.46] has quit [Quit: qjcg]
21:47 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
21:49 -!- sauerbraten [~sauerbrat@p508CFA4F.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:49 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
21:49 -!- deso_ [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:54 -!- JusticeFries [~JusticeFr@173-8-247-218-Colorado.hfc.comcastbusiness.net]
has quit [Quit: JusticeFries]
21:54 -!- wrtp [~rog@92.17.35.133] has quit [Quit: wrtp]
21:57 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
21:59 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
22:00 -!- qjcg [~qjcg@208.88.110.46] has left #go-nuts []
22:02 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Ping
timeout: 255 seconds]
22:05 -!- nettok [~quassel@200.119.158.248] has quit [Quit: No Ping reply in 180
seconds.]
22:05 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
joined #go-nuts
22:05 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Quit: Bye!]
22:06 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
22:06 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
22:07 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has left #go-nuts []
22:07 -!- nettok [~quassel@200.119.158.248] has joined #go-nuts
22:12 -!- nettok [~quassel@200.119.158.248] has quit [Quit: No Ping reply in 180
seconds.]
22:12 -!- nettok [~quassel@200.119.158.248] has joined #go-nuts
22:13 -!- photron [~photron@port-92-201-92-132.dynamic.qsc.de] has quit [Ping
timeout: 255 seconds]
22:16 -!- aconran_ [~aconran-o@adsl-67-119-205-150.dsl.pltn13.pacbell.net] has
joined #go-nuts
22:17 -!- Rennex [rennex@giraf.fi] has quit [Ping timeout: 272 seconds]
22:19 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Quit:
Leaving...]
22:19 -!- aconran [~aconran-o@adsl-67-119-205-150.dsl.pltn13.pacbell.net] has quit
[Remote host closed the connection]
22:24 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:33 -!- savio [~savio@67.18.186.81] has quit [Ping timeout: 240 seconds]
22:37 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
22:39 < Eridius> anyone familiar with cgo?  I'm trying to write a function
which calls a C macro and returns the result, but it isn't working.  When
compiling instead I get told that it can't find the symbol that matches the macro
I'm trying to call
22:40 < exch> Eridius: macro's can't be called directly from Go code.  Write
C function that wraps the macro, and point the Go function to the C wrapper
22:40 < Eridius> :/
22:40 < exch> bit of a roundabout way to do it, but there ya go :p
22:41 < exch> macro's are preprocessor directives.  They don't survive the
compilation process, so naturally they don't generate symbols you can bind to
22:43 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
22:47 < Eridius> exch: I don't see any way to support this with the default
Makefile.  Is there some easy way I can tell it to compile my .c file?
22:50 -!- camnaes [~cm@c-76-100-200-8.hsd1.md.comcast.net] has quit [Quit: ]
22:51 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 255 seconds]
22:52 < Eridius> whoa, I think I can skip the .c file and just use inline
functions in a .h file
22:52 < exch> ya
22:54 < plexdev> http://is.gd/nL4R0k by [Rob Pike] in go/doc/progs/ --
doc/progs: make sure all programs compile and run
22:54 < plexdev> http://is.gd/7p3Bp3 by [Russ Cox] in 2 subdirs of go/ --
ebnflint: exit with non-zero status on error
22:59 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
22:59 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Read
error: Connection reset by peer]
22:59 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
23:00 < Eridius> there's no way I can use CPP to process my cgo file, is
there?  My .h file uses a macro to generate the inline functions, and I'd like to
do somethign similar on the .go side
23:08 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
23:09 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
23:14 -!- napsy_ [~luka@88.200.96.18] has quit [Ping timeout: 246 seconds]
23:15 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 264 seconds]
23:15 -!- nettok_ [~quassel@200.119.191.184] has joined #go-nuts
23:18 -!- nettok [~quassel@200.119.158.248] has quit [Ping timeout: 255 seconds]
23:20 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
23:21 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
23:23 -!- cafesofie [~cafesofie@rnwifi-164-107-92-152.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
23:24 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
23:25 -!- napsy_ [~luka@88.200.96.18] has quit [Ping timeout: 250 seconds]
23:26 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:26 < plexdev> http://is.gd/AO3Cpl by [Rob Pike] in go/src/pkg/unicode/ --
unicode: update to unicode 6.0.0
23:28 -!- virtualsue [~chatzilla@nat/cisco/x-xldwnxxdjihqtbss] has joined #go-nuts
23:28 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
23:28 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
23:43 < plexdev> http://is.gd/v6n8qc by [Russ Cox] in 12 subdirs of go/ --
replace non-blocking send, receive syntax with select
23:59 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-151-193.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
--- Log closed Tue Feb 01 00:00:05 2011