--- Log opened Fri Nov 12 00:00:15 2010
00:01 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has joined #go-nuts
00:01 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has joined
#go-nuts
00:03 -!- artefon [~thiago@187.114.50.102] has joined #go-nuts
00:06 -!- photron [~photron@port-92-201-142-254.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
00:07 -!- Altercato [~Altercati@ogygia.ethanschoonover.com] has quit [Excess
Flood]
00:07 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
00:12 -!- lilpenguina [~penguina@adsl-71-146-23-139.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
00:12 -!- lilpenguina1 [~penguina@adsl-71-146-23-139.dsl.pltn13.sbcglobal.net] has
quit [Read error: Connection reset by peer]
00:15 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has quit [Quit:
KVIrc 4.0.0 Insomnia http://www.kvirc.net/]
00:17 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has quit [Quit: Leaving.]
00:18 -!- artefon [~thiago@187.114.50.102] has quit [Quit: bye]
00:18 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
00:19 -!- lilpenguina1 [~penguina@adsl-71-146-23-139.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
00:19 -!- lilpenguina [~penguina@adsl-71-146-23-139.dsl.pltn13.sbcglobal.net] has
quit [Quit: Leaving.]
00:35 -!- lilpenguina1 [~penguina@adsl-71-146-23-139.dsl.pltn13.sbcglobal.net] has
quit [Quit: Leaving.]
00:46 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has joined
#go-nuts
00:47 < CodeWar> is there a collection library
00:49 < KirkMcDonald> What sort of collection are you looking for?
00:52 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 265
seconds]
00:52 < CodeWar> basics ...hashmap / treeset
00:56 < KirkMcDonald> Maps are built in to the language.
00:56 < KirkMcDonald> (And they are hash tables.)
00:57 < KirkMcDonald> I don't know about any tree libraries for Go, though
they might be out there somewhere.
00:59 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 240 seconds]
01:00 < CodeWar> thanks
01:01 -!- kanru [~kanru@118-160-173-237.dynamic.hinet.net] has quit [Read error:
Operation timed out]
01:09 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
01:14 -!- tvw [~tv@e176006111.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
01:15 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined
#go-nuts
01:20 -!- thhooommmm [~thhooommm@70-139-188-39.lightspeed.hstntx.sbcglobal.net]
has joined #go-nuts
01:21 -!- thhooommmm [~thhooommm@70-139-188-39.lightspeed.hstntx.sbcglobal.net]
has quit [Client Quit]
01:25 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 250 seconds]
01:25 -!- tux21b [~christoph@trujillo.srv.pocoo.org] has quit [Ping timeout: 245
seconds]
01:32 -!- prip [~foo@host130-134-dynamic.42-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 240 seconds]
01:33 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
01:34 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has quit [Quit:
Leaving]
01:35 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has quit
[Remote host closed the connection]
01:37 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined
#go-nuts
01:45 -!- prip [~foo@host200-196-dynamic.17-79-r.retail.telecomitalia.it] has
joined #go-nuts
01:46 -!- cco3-hampster [~conleyo@nat/google/x-laxwqqlmfiulrurp] has quit [Quit:
Leaving.]
01:51 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
01:53 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:55 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Remote
host closed the connection]
01:57 -!- tux21b [~christoph@trujillo.srv.pocoo.org] has joined #go-nuts
02:01 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
02:07 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has joined
#go-nuts
02:11 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
02:14 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has quit [Quit:
Leaving.]
02:14 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has joined
#go-nuts
02:16 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
02:16 -!- CodeWar [~CodeWar@c-24-23-206-137.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
02:21 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has quit [Quit:
Leaving.]
02:23 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
joined #go-nuts
02:24 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has joined
#go-nuts
02:25 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 255 seconds]
02:39 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Read
error: Connection reset by peer]
02:39 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
02:39 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
02:42 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has joined
#go-nuts
02:45 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 245 seconds]
02:51 -!- dougmmms [~douglas@pool-173-79-120-40.washdc.fios.verizon.net] has
joined #go-nuts
03:07 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
03:08 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
03:26 -!- kr [~kr@208.66.27.62] has quit [Quit: WeeChat 0.3.2]
03:26 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
quit [Quit: ajstarks]
03:28 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts
03:33 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Remote
host closed the connection]
03:33 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:34 -!- dougmmms [~douglas@pool-173-79-120-40.washdc.fios.verizon.net] has quit
[Ping timeout: 240 seconds]
03:36 -!- fumblebee [~kgay@142.166.116.234] has quit [Quit: Leaving.]
03:37 -!- fumblebee1 [~kgay@142.166.116.234] has joined #go-nuts
03:41 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
03:48 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 245
seconds]
03:50 -!- thhooommmm [~thhooommm@70-139-188-39.lightspeed.hstntx.sbcglobal.net]
has joined #go-nuts
03:52 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping
timeout: 265 seconds]
03:55 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has quit [Quit:
This computer has gone to sleep]
04:00 < plexdev> http://is.gd/gXmYh by [Ken Thompson] in 4 subdirs of
go/src/ -- last of the arm conversions
04:07 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has quit [Read error:
Connection reset by peer]
04:07 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has joined #go-nuts
04:18 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined
#go-nuts
04:28 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
04:42 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
05:01 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
276 seconds]
05:07 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
05:16 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
05:19 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
05:35 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
05:35 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
05:38 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
05:50 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 255
seconds]
05:56 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 272 seconds]
05:57 -!- fabled [~fabled@mail.fi.jw.org] has joined #go-nuts
06:03 -!- fumblebee1 [~kgay@142.166.116.234] has quit [Ping timeout: 245 seconds]
06:05 -!- aconran_ [~aaron@c-76-21-4-69.hsd1.ca.comcast.net] has joined #go-nuts
06:05 -!- iant [~iant@216.239.45.130] has joined #go-nuts
06:05 -!- mode/#go-nuts [+v iant] by ChanServ
06:05 < aconran_> is there a list of packages that people desire/want?  not
seeing it in the contribution section...
06:06 < nsf> aconran_: I don't think so, people usually have no idea what
they want
06:07 < aconran_> :) this is true
06:11 < |Craig|> I'd be kinda cool for the png package to be able to stream
out png files from an ordered stream of pixels in constant space, but I don't
think many people would really use something like that as it can cause some losses
in the compression quality.
06:13 < |Craig|> the only option as it stands requests pixels in a non
predictable manner, and I believe brute force tries compressing each row with all
the algorithms, which while gets good compression, is computationally expensive
and requires the whole image to be accessible at once
06:15 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Ping timeout: 245
seconds]
06:15 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts
06:17 < aconran_> well I'll just keep writing some small things; I'm sure
i'll find some stuff missing that i need
06:21 < nsf> writing good library bindings and maintaing them is always a
good idea
06:21 < nsf> maintaining*
06:31 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Ping timeout: 264
seconds]
06:36 -!- prip [~foo@host200-196-dynamic.17-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 240 seconds]
06:38 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has joined
#go-nuts
06:42 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit
[Excess Flood]
06:42 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
06:45 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
06:48 -!- prip [~foo@host103-122-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
06:52 -!- wrtp [~rog@92.17.50.1] has joined #go-nuts
07:00 -!- Vick [viktor.oge@dhcp-078188.eduroam.chalmers.se] has joined #go-nuts
07:12 -!- morrildl_ [~morrildl@c-98-248-38-72.hsd1.ca.comcast.net] has quit [Quit:
Lost terminal]
07:17 -!- prip [~foo@host103-122-dynamic.35-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 264 seconds]
07:29 -!- Vick [viktor.oge@dhcp-078188.eduroam.chalmers.se] has left #go-nuts []
07:30 -!- prip [~foo@host28-120-dynamic.35-79-r.retail.telecomitalia.it] has
joined #go-nuts
07:55 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has joined #go-nuts
08:00 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
08:02 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
08:06 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:24 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
08:24 -!- wrtp [~rog@92.17.50.1] has quit [Read error: Connection reset by peer]
08:24 -!- wrtp [~rog@92.17.50.1] has joined #go-nuts
08:25 < nsf> http://github.com/nsf/mktemplates-go
08:26 < nsf> another template for local libraries for Go projects
08:26 < nsf> requires make version 3.81 and uses eval-based templates
08:27 < nsf> (it is possible to create rules after some kind of evaluation
these days in Makefiles)
08:27 < nsf> sad that very few people actually use that
08:27 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
08:33 < nsf> also I think it is possible to remove recursive make evil from
the Go
08:33 < nsf> but it requires a pretty big amount of work
08:37 < wrtp> i'd really like a build environment where i could be working
on a command, change a library 3 levels deep and the command rebuilds correctly
08:37 < wrtp> it's really awkward currently
08:37 < nsf> wrtp: well, my template should be more or less correct
08:38 < Namegduf> I have a custom single makefile I use for my project, but
it's weird.
08:38 < nsf> not sure about multiple levels though
08:38 < Namegduf> It builds outside the Go tree, for example.
08:38 < Namegduf> The only really desirable feature would be automatic
dependency calculation.
08:38 < wrtp> yeah, the multiple levels thing is the tricky bit (and hits
performance too, as you have to check all the source files that go into the
binary.
08:39 < wrtp> )
08:39 < nsf> there is a question about dependencies also
08:39 < nsf> when you have 3 libs and 1 app
08:39 < nsf> and lib don't have crossdeps
08:39 < nsf> like 1 lib depends on another
08:39 < nsf> it's easy
08:39 < nsf> other cases are complex
08:39 < nsf> and libs don't have crossdeps*
08:40 < wrtp> i dunno, make should be able to deal with it...  if everything
was evaluated in the same make instance
08:40 < wrtp> it's made easier by the fact that go packages can't be
mutually dependent
08:41 < nsf> oops, no, I lied..  my template is crappy
08:41 < nsf> well, technically we should move away from recursive make stuff
08:41 < nsf> because it's evil
08:41 < nsf> maybe I'll try to do something in that area
08:42 < wrtp> the other thing that avoiding recursive make should give you
is the ability to rebuild only those packages that are affected by a given library
change
08:42 < nsf> yes
08:42 < wrtp> so make all doesn't require make clean first like now
08:42 < nsf> yes yes, I hate that
08:42 < nsf> :D
08:42 < wrtp> me too!
08:43 < wrtp> i'd love it if you did something along those lines
08:43 < nsf> imagine: hg pull && hg update -r release
08:43 < nsf> and not having to rebuild everything from scratch
08:43 < nsf> it's amazing :)
08:43 < wrtp> yeah
08:43 < wrtp> even the tests could be made dependent
08:44 < wrtp> 'cos they take ages
08:44 < wrtp> everything would have to depend on the compiler
08:44 < nsf> I'll think about it, but you know..  it's a lot of work..
probably I'll start with small things like rewriting Make.* files
08:44 < nsf> to use a non-recursive approach
08:45 < nsf> well it is recursive anyway, but without calling make zillion
times :)
08:46 < wrtp> what about approaching it the other way: write a little tool
to calculate dependencies.  then you could use that to automatically run make in
all the places that need it.
08:46 < nsf> bad idea
08:46 < nsf> because it's another dependency, I want to avoid that as well
08:46 < wrtp> at least it'd be better than the current situation, where you
either have to do it manually or run all.bash
08:47 < wrtp> and it doesn't involve rewriting all the system Makefiles
08:47 -!- virtualsue [~chatzilla@nat/cisco/x-wfmzodluhhzrveko] has joined #go-nuts
08:51 < nsf> took a glance on the Go tree
08:51 < nsf> that is a LOT of work :D
08:57 < wrtp> % find $GOROOT -name Make* | xargs cat | wc
08:57 < wrtp> 5231 13574 112106
08:57 < wrtp> yup
08:58 < nsf> :D
08:58 < nsf> I guess the good idea is to start with $GOROOT/src/pkg
09:12 -!- photron [~photron@port-92-201-222-157.dynamic.qsc.de] has joined
#go-nuts
09:17 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has quit [Read error:
Connection reset by peer]
09:17 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has joined #go-nuts
09:18 -!- virtualsue [~chatzilla@nat/cisco/x-wfmzodluhhzrveko] has quit [Ping
timeout: 265 seconds]
09:42 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
09:49 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
#go-nuts
09:54 -!- piyushmishra [~piyushmis@117.200.225.231] has joined #go-nuts
09:55 -!- iomox [~ios@180.191.87.62] has joined #go-nuts
10:09 -!- exch [~exch@h78233.upc-h.chello.nl] has quit [Quit: hmmm]
10:11 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts
10:11 < nsf> lol, I've made first non-recursive example
10:11 < nsf> looks freaking horrible
10:11 < nsf> I don't understand how it works :)
10:12 -!- piyushmishra [~piyushmis@117.200.225.231] has quit [Read error:
Connection reset by peer]
10:18 < nsf> but it works faster
10:18 < nsf> much faster
10:19 < nsf> http://pastie.org/1292231
10:19 < nsf> that's how it looks like
10:19 < nsf> :D
10:20 < nsf> $(eval $(call TEMPLATE_pkg_in_dir,mydirx))
10:20 < nsf> generates few rules
10:20 < nsf> like
10:20 < nsf> mydirx/all
10:20 < nsf> mydirx/clean
10:20 < nsf> for building stuff in mydirx
10:21 < nsf> and maintaining all this template meta i don't know what
requires clear understanding of how make expands its variables
10:21 < nsf> otherwise - good luck :D
10:22 < nsf> oops there is a minor bug
10:24 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Ping timeout: 240 seconds]
10:24 < nsf> now I got the principles, the goal is to build the whole
$GOROOT/src/pkg
10:24 * nsf sighs
10:25 -!- virtualsue [~chatzilla@nat/cisco/x-fjhfkzpordjmjgiw] has joined #go-nuts
10:26 < nsf> mantra for today: "make is just a perverted form of lisp"
10:26 < nsf> :D
10:29 -!- piyushmishra [~piyushmis@117.200.224.23] has joined #go-nuts
10:30 -!- basbak [58a88e7d@gateway/web/freenode/ip.88.168.142.125] has joined
#go-nuts
10:31 < vegai> nsf: isn't everything?
10:31 < nsf> yeah
10:31 < nsf> :)
10:31 < nsf> but today it's all about make
10:32 < basbak> hi
10:32 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.2]
10:32 -!- prip [~foo@host28-120-dynamic.35-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 276 seconds]
10:33 < basbak> i'm just compiling go tools using the getting started
guidelines, and when i run ./all.bash in go/src I get the following error:
10:33 < basbak> ./env.bash: line 41: 1:export : commande introuvable
10:33 < basbak> would you have an idea of what is going on ?
10:34 < nsf> well, it says that export command is missing
10:34 < nsf> something wrong with bash or I don't know
10:34 < basbak> yes
10:34 -!- piyushmishra [~piyushmis@117.200.224.23] has quit [Ping timeout: 272
seconds]
10:34 < wrtp> nsf: what does the $$(...) syntax do?
10:35 < basbak> but I'm on linux and I thought I had a working bash
10:35 < nsf> wrtp: it escapes evaluation, $(eval) evaluates stuff inside
once it's called and then all that is converted to the Make syntax and then
evaluated by make second time
10:36 < nsf> anyway, the point is to avoid double evaluation
10:36 < nsf> I know that it's crazy and unmaintainable stuff
10:36 < nsf> but I believe it's the way to go :)
10:37 < wrtp> mk enables you to run a shell script and use its output as
part of the mkfile.  that seems a little bit less insane...
10:38 < nsf> uhm..  I can do that with make as well
10:38 < nsf> I guess
10:38 -!- tav_ [~tav@92.7.102.64] has joined #go-nuts
10:38 < nsf> $(eval $(shell ...))
10:41 -!- tav [~tav@92.7.102.64] has quit [Ping timeout: 245 seconds]
10:41 < wrtp> might be a nicer approach than using gnumake templates
10:41 < wrtp> YYMV :)
10:41 < nsf> not really
10:41 < nsf> it will still add another dependency
10:41 < nsf> the only thing I need
10:42 < wrtp> i wasn't suggesting using mk
10:42 < nsf> is to be able to evaluate variables once inside rule recipes
10:42 < nsf> $(call) does that
10:42 < wrtp> but to use that capability of gnumake
10:42 < nsf> using external app for the same purpose
10:42 < nsf> i don't see why it's better
10:42 < wrtp> "right tool for the job" ?
10:43 < nsf> make is fine
10:43 < nsf> bash is fine too
10:43 < nsf> but thinking in terms of the same syntax
10:43 < nsf> is a good idea imho
10:44 < nsf> although I guess I still have to use something for dependency
extraction
10:44 < nsf> deps.bash or my own
10:44 < nsf> don't know yet
10:44 -!- prip [~foo@host167-83-dynamic.11-87-r.retail.telecomitalia.it] has
joined #go-nuts
10:44 < nsf> also I want to avoid "make deps" step
10:44 < nsf> not sure if it's possible
10:45 -!- basbak [58a88e7d@gateway/web/freenode/ip.88.168.142.125] has quit [Ping
timeout: 265 seconds]
10:45 < nsf> technically it should be
10:45 < nsf> dependencies list depends on:
10:45 < nsf> - dependencies of each file in the package
10:45 < nsf> e.g.  on each file
10:45 < nsf> but also we need to detect when one adds new files
10:46 < nsf> it can be done by tracking something that describes all files
of the package
10:46 < nsf> e.g.  makefile
10:46 < nsf> looks trivial
10:46 < nsf> :D
10:47 < nsf> and one more thing to consider
10:47 < wrtp> you could just use all files not ending with _test
10:47 < nsf> I need to preserve this way to build stuff: cd
$GOROOT/src/pkg/whatever && make
10:47 < wrtp> that's probably good enough
10:47 < nsf> wrtp: but they are listed inside Makefile
10:47 < nsf> as GOFILES
10:47 < nsf> so I can use that list
10:48 < nsf> there is no "all files in dir" make works with lists
10:48 -!- piyushmishra [~piyushmis@117.200.230.23] has joined #go-nuts
10:48 < nsf> I can't say to make: update that list when one file added or
deleted in that dir
10:48 < wrtp> you have to eval the makefile in order to find out what value
GOFILES ends up as
10:48 < nsf> I do that
10:48 < nsf> but my Makefile is not like Go's
10:49 < nsf> it just defines two variables and doesn't include anything
10:49 < nsf> because I include it
10:49 < wrtp> sure
10:49 < wrtp> `all files in dir` can easily be obtained by running a shell
command
10:50 < nsf> yes, but read next statement
10:50 < nsf> I need to track the event when this list was changed
10:50 < nsf> because it means one or more files were added or deleted from
the package
10:50 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
10:50 < nsf> therefore deps are out of date
10:50 < wrtp> either you read all the directories or you read all the
makefiles.  i don't see too much difference.
10:50 < nsf> and all packages that depend on it are out of date
10:51 < nsf> Makefile is a file!
10:51 < nsf> I can use it as dependency in make
10:51 < nsf> I can't use dir as dependency
10:51 < nsf> or can I? :)
10:51 < wrtp> why not?
10:52 < nsf> but dir becomes out of date when something got modified inside
10:52 < wrtp> when the file list changes
10:52 < nsf> hm..
10:52 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 272
seconds]
10:52 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat]
10:52 < wrtp> ...  or something is removed, true
10:52 < nsf> anyway, I'll make it work one way or another
10:53 < nsf> then feel free to experiment with it
10:53 < nsf> :D
10:53 < wrtp> du -a $GOROOT/src/pkg takes 0.13 seconds on my machine.
that's doesn't seem like a great price to pay.
10:54 < wrtp> anyway, i'll be interested to see what you come up with
10:54 < nsf> I don't like theory, in order to choose one variant I have to
implement both
10:54 < nsf> I'll start with one
10:54 < wrtp> gfi
10:58 -!- iomox [~ios@180.191.87.62] has quit [Quit: Leaving]
11:00 -!- piyushmishra [~piyushmis@117.200.230.23] has quit [Read error:
Connection reset by peer]
11:18 -!- napsy [~luka@193.2.72.254] has joined #go-nuts
11:19 -!- rboyd [~rboyd@69-29-69-78.dyn.centurytel.net] has joined #go-nuts
11:26 -!- alkavan [~alkavan@87.68.82.218.cable.012.net.il] has quit [Quit:
Leaving]
11:27 -!- fumblebee [~kgay@142.166.116.234] has joined #go-nuts
11:28 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:32 < Gertm> do panic/recover have a big perfomance impact?
11:33 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has quit
[Quit: ZNC - http://znc.sourceforge.net]
11:34 -!- jnwhiteh [~jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire] has joined
#go-nuts
11:34 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
11:40 < yiyus> Gertm: probably not, compared to what?
11:46 -!- rboyd [~rboyd@69-29-69-78.dyn.centurytel.net] has quit [Quit: rboyd]
11:47 < Gertm> yiyus: compared to checking multiple return values for errors
every time
11:47 -!- fumblebee [~kgay@142.166.116.234] has quit [Ping timeout: 245 seconds]
11:50 < yiyus> Gertm: i don't think you can notice any difference, the defer
implementation is quite lightweight
11:53 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
11:54 < Gertm> I'll try it.  Maybe write some benchmark function to get a
feel for the difference.
12:01 -!- fumblebee [~kgay@142.166.116.234] has joined #go-nuts
12:19 -!- fumblebee [~kgay@142.166.116.234] has quit [Ping timeout: 255 seconds]
12:21 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has joined
#go-nuts
12:24 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has quit [Client
Quit]
12:27 -!- belkiss [~kvirc@82.242.58.196] has joined #go-nuts
12:28 < wrtp> Gertm: recover does involve at least one memory allocation
12:30 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 245 seconds]
12:31 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts
12:32 -!- artefon [~thiago@187.114.50.102] has joined #go-nuts
12:39 -!- welterde [welterde@thinkbase.srv.welterde.de] has quit [Excess Flood]
12:43 -!- welterde [welterde@thinkbase.srv.welterde.de] has joined #go-nuts
12:43 -!- snearch [~snearch@f053010154.adsl.alicedsl.de] has joined #go-nuts
12:48 -!- napsy [~luka@193.2.72.254] has quit [Quit: Lost terminal]
13:03 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has joined
#go-nuts
13:14 -!- dougmmms [~douglas@pool-173-79-120-40.washdc.fios.verizon.net] has
joined #go-nuts
13:16 * nsf feels like he can write a raytracer in make
13:16 < nsf> :D
13:18 < photron> do it :)
13:19 < nsf> nah, I have work to do
13:19 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
13:22 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
276 seconds]
13:24 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
13:28 < Gertm> if a, err := f(x); err != nil { /* a is only available here?
*/ }
13:28 < nsf> yes
13:28 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
13:28 < Gertm> hmm, there's probably a good reason for that, yet it would be
convenient if it were available afterwards too
13:29 < Gertm> for brevity, that is
13:30 < wrtp> Gertm: it's also available in the else clause, if there is one
13:31 < wrtp> nsf: you could write a raytracer in sed if you wanted, but it
doesn't make it a good idea...
13:31 < nsf> yep
13:39 < nsf> wrtp: what do you thing about deps.bash?  should I replace it
with Go-based app?
13:40 < nsf> note that it won't be a problem for bootstrapping, because
usually dep files come as a part of the source tree
13:41 < nsf> or I can leave it as a shell script
13:42 -!- belkiss [~kvirc@82.242.58.196] has quit [Quit: KVIrc 4.0.2 Insomnia
http://www.kvirc.net/]
13:47 < wrtp> nsf: i would like to see a go app that did dependency
checking, but you'll probably have a bash dependency anyway and the script is
quite small.  and bootstrapping is a potential issue in some cases.
13:47 < nsf> ok, I'll leave the bash script
13:47 < nsf> I will make an automatic deps generation though
13:48 < nsf> no need to run ./deps.bash manually
13:48 < nsf> which is good
14:01 -!- bjarneh [~bjarneh@1x-193-157-193-45.uio.no] has joined #go-nuts
14:05 -!- fumblebee [~kgay@198.164.31.242] has joined #go-nuts
14:08 -!- artefon [~thiago@187.114.50.102] has quit [Quit: bye]
14:09 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
14:16 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
14:22 < nsf> I'm building 50 packages already
14:22 < nsf> it's like half of the go lib
14:23 < nsf> well, actually I can build more (all packages with simple .go
files and .s files)
14:23 < nsf> more complex builds require more attention
14:26 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has joined
#go-nuts
14:30 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 265 seconds]
14:31 < nsf> gotest uses Makefile
14:31 < nsf> :(
14:31 < nsf> sad
14:33 -!- skelterjohn [~jasmuth@c-76-99-92-40.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
14:40 -!- iant [~iant@67.218.104.238] has joined #go-nuts
14:40 -!- mode/#go-nuts [+v iant] by ChanServ
14:46 < uriel> nsf: why sad?  it makes sense to me
14:47 -!- sauerbraten [~sauerbrat@p508CAEBA.dip.t-dialin.net] has joined #go-nuts
14:48 < uriel> 13:39 < nsf> wrtp: what do you thing about deps.bash?
should I replace it with Go-based app?
14:48 < uriel> nice idea
14:49 -!- wrtp [~rog@92.17.50.1] has quit [Quit: wrtp]
14:49 < nsf> uriel: makes sense, but if gotest calls 'make' it means I can't
do testing without recursive make evel
14:49 < nsf> evil*
14:51 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
15:03 -!- DerHorst [~Horst@e176098206.adsl.alicedsl.de] has joined #go-nuts
15:04 < nsf> now I'm building all lib
15:04 < nsf> with few exceptions
15:04 < nsf> 3 to be exact
15:04 < nsf> runtime, runtime/pprof, os/signal
15:06 < nsf> preliminary timing results:
15:06 < nsf> 12.7 - standard go lib
15:06 < nsf> 7.8 - my version
15:06 < nsf> in seconds
15:07 < nsf> (building the whole pkg tree)
15:09 < nsf> time varies also
15:09 < nsf> now it's 6.2 secs
15:09 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
15:11 * nsf sighs
15:11 < nsf> ok, enough for today
15:13 < nsf> http://pastie.org/1292831
15:13 < nsf> the result of today's work, not it's much more readable :D
15:16 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
15:17 < nsf> s/not/now/g
15:17 < nsf> :\
15:19 -!- melter [~Melter@2001:4930:116:0:21c:c0ff:feef:eaf5] has joined #go-nuts
15:20 -!- dougmmms [~douglas@pool-173-79-120-40.washdc.fios.verizon.net] has quit
[Quit: Leaving]
15:25 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
15:26 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal]
15:27 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
15:31 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
15:45 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:47 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
15:54 < nsf> $(eval $(shell cat file)) doesn't work
15:54 < nsf> does anyone know the way to make that work?
15:54 < nsf> 'file' in that case could define few rules
15:56 -!- iant [~iant@67.218.104.238] has quit [Quit: Leaving.]
15:56 < nsf> oh, nice
15:56 < nsf> nevermind
16:02 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
16:09 -!- iant [~iant@nat/google/x-fmelcuqgmssbezph] has joined #go-nuts
16:09 -!- mode/#go-nuts [+v iant] by ChanServ
16:09 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:16 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 265 seconds]
16:21 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Read error:
Connection reset by peer]
16:22 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
16:25 < nsf> I'm wondering what's the best way to convert that kind of
makefiles to non-recursive style: http://golang.org/src/pkg/os/signal/Makefile
16:25 < nsf> currently the only way I see it: http://pastie.org/1293015
16:26 < nsf> because most people want to define custom rules for current
dir, there should be some kind of a context and the only way to make it nice is
through templates like in that snippet
16:27 < nsf> but for some reason I think people won't understand that
16:27 * nsf needs help
16:30 < nsf> or I can use vpath
16:30 < nsf> somehow
16:30 < nsf> like 'vpath curdir/% $(curdir)'
16:30 < nsf> hm..
16:31 < nsf> or it won't work
16:32 -!- strtok [~strtok@thales.strtok.net] has left #go-nuts []
16:45 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
16:45 -!- boscop [~boscop@g227132035.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
16:46 -!- cco3-hampster [~conleyo@nat/google/x-mkgesqjtrkhahuiu] has joined
#go-nuts
16:48 -!- wrtp [~rog@static-93.158.79.103.got.public.icomera.com] has joined
#go-nuts
16:49 -!- boscop [~boscop@f055205243.adsl.alicedsl.de] has joined #go-nuts
16:49 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit:
Leaving]
16:51 < nsf> wrtp: what do you think: http://pastie.org/1293015
16:52 < nsf> it is how this file:
http://golang.org/src/pkg/os/signal/Makefile gets converted
16:52 -!- bjarneh [~bjarneh@1x-193-157-193-45.uio.no] has quit [Quit: leaving]
16:52 < nsf> downside of using non-recursive approach
16:53 < nsf> and I don't know a better way to do this
16:54 < nsf> runtime pkg will contain a lot of that crap :(
16:55 < nsf> unless someone will propose a better way
16:55 < wrtp> (won't be on here long - you only get 15 mins of free wi-fi on
east coast trains)
16:55 < nsf> :D
16:56 < nsf> me too..  it's late I should go to bed
16:56 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
16:57 < nsf> the thing I'm afraid of..  Go devs won't take that as a valid
approach for creating build systems
16:57 < wrtp> it doesn't look too bad to me
16:57 < wrtp> you're using gnumake to do the conversion?
16:57 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Client Quit]
16:57 < nsf> yes
16:57 < skelterjohn> nsf: what is your goal?
16:58 < nsf> skelterjohn: non-recursive make-based build system for Go
16:58 < nsf> I'm already building all packages but two
16:58 < nsf> runtime and runtime/pprof are TODO
16:58 < wrtp> cool
16:58 < nsf> 30-40% average speedup
16:58 < nsf> and other yet to be determined features
16:58 < nsf> I haven't done deps yet
16:59 < wrtp> so if i change something in bytes and then remake, say, godoc,
it'll rebuild all the intermediate packages necesary?
16:59 < skelterjohn> scanning for deps?  or specifying them
16:59 < wrtp> s/necesary/necessary/
16:59 < nsf> wrtp: not yet
17:00 < wrtp> ok
17:00 < nsf> I hope so in future yes it would be possible to do that :)
17:00 < nsf> skelterjohn: both
17:00 < wrtp> so it's not loading all the dependency tree into the single
make instance then?
17:00 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
245 seconds]
17:00 < nsf> it is
17:00 < nsf> but now there is no dependencies tree
17:00 < nsf> :)
17:00 < skelterjohn> is this a "one makefile to rule them all" scenario?  as
in, packages wouldn't need their own?
17:01 < nsf> well sort of, yes
17:01 -!- DerHorst [~Horst@e176098206.adsl.alicedsl.de] has quit [Remote host
closed the connection]
17:01 < nsf> the thing is that packages are being built using template
system
17:01 < nsf> and you can use top-level makefiles
17:01 < wrtp> skelterjohn: i think you'd want *some* makefile in each
package, so that you could type make in a given package and have it build
17:01 < nsf> to generate dep trees for all packages
17:01 < nsf> or for just one
17:01 < skelterjohn> wrtp: or type "make packagename" at the top
17:02 < wrtp> don't like that so much
17:02 < nsf> skelterjohn: yes, that will work too
17:02 < wrtp> when you're working in a package directory
17:02 < wrtp> anyway, you have to specify the target somewhere
17:02 < skelterjohn> i've thought about this problem - not from a make
standpoint but from a custom build-tool standpoint
17:02 < wrtp> so you might as well have a two line makefile in each package.
include ...; TARGET=....
17:03 < skelterjohn> dho and a guy whose name i always forget were planning
something last winter, but it didn't come to anything
17:03 < nsf> the main difference is:
17:03 < nsf> currently each package has makefile which includes common data
17:03 < skelterjohn> wrtp: definitely need to specify the target per-package
- sometimes it cannot be inferred.  for instance, most of my stuff has goinstall
friendly targets
17:03 < nsf> I have a build system where common data includes each package's
makefile :)
17:04 < skelterjohn> and "gomatrix.googlecode.com/hg/matrix" appears
nowhere, though that is definitely where i want it put
17:05 -!- Archwyrm [~archwyrm@archwyrm.net] has quit [Ping timeout: 245 seconds]
17:05 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit
[Ping timeout: 250 seconds]
17:06 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
17:07 -!- wrtp [~rog@static-93.158.79.103.got.public.icomera.com] has quit [Ping
timeout: 276 seconds]
17:07 < skelterjohn> default target could certainly be the package name,
though
17:08 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
17:08 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
17:08 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
17:08 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
17:08 < skelterjohn> or maybe say "mybuilder
mypackage.googlecode.com/hg/mypackage", something like that
17:09 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
17:11 -!- virtualsue [~chatzilla@nat/cisco/x-fjhfkzpordjmjgiw] has quit [Ping
timeout: 264 seconds]
17:15 -!- Archwyrm [~archwyrm@archwyrm.net] has joined #go-nuts
17:44 -!- Nitro [~Nitro@modemcable189.58-82-70.mc.videotron.ca] has quit [Quit:
This computer has gone to sleep]
17:45 -!- Archwyrm [~archwyrm@archwyrm.net] has quit [Ping timeout: 245 seconds]
17:46 -!- Archwyrm [~archwyrm@archwyrm.net] has joined #go-nuts
17:52 -!- fumblebee [~kgay@198.164.31.242] has quit [Ping timeout: 276 seconds]
17:53 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245
seconds]
18:02 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
18:08 < plexdev> http://is.gd/gYxIf by [Anschel Schaffer-Cohen] in go/doc/
-- Fixed recover() documentation.
18:10 -!- exch [~exch@h78233.upc-h.chello.nl] has quit [Ping timeout: 245 seconds]
18:11 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts
18:13 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
18:19 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
18:22 -!- virtualsue [~chatzilla@nat/cisco/x-sngcbmyubqfimvuo] has joined #go-nuts
18:29 -!- Nitro [~Nitro@142.137.223.65] has joined #go-nuts
18:30 -!- Nitro [~Nitro@142.137.223.65] has quit [Client Quit]
18:31 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
245 seconds]
18:34 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
18:55 -!- virtualsue [~chatzilla@nat/cisco/x-sngcbmyubqfimvuo] has quit [Ping
timeout: 240 seconds]
18:56 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
18:56 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
19:19 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
19:21 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout:
240 seconds]
19:21 -!- belkiss [~kvirc@82.242.58.196] has joined #go-nuts
19:21 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
19:22 -!- |Craig| [455bbb9a@gateway/web/freenode/ip.69.91.187.154] has joined
#go-nuts
19:26 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined
#go-nuts
19:32 -!- |Craig| [455bbb9a@gateway/web/freenode/ip.69.91.187.154] has quit [Ping
timeout: 265 seconds]
19:35 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Read error:
Operation timed out]
19:42 -!- aho [~nya@fuld-4d00d77a.pool.mediaWays.net] has joined #go-nuts
19:46 -!- al-maisan [~al-maisan@static.124.133.47.78.clients.your-server.de] has
joined #go-nuts
19:52 -!- TheMue [~TheMue@p5DDF7C8C.dip.t-dialin.net] has joined #go-nuts
19:56 < plexdev> http://is.gd/gYGE7 by [Adam Langley] in 2 subdirs of
go/src/pkg/ -- crypto/elliptic: add package
20:03 -!- belkiss [~kvirc@82.242.58.196] has quit [Quit: KVIrc 4.0.2 Insomnia
http://www.kvirc.net/]
20:08 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 255 seconds]
20:09 -!- quag_ [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping
timeout: 260 seconds]
20:11 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
#go-nuts
20:18 -!- danslo [~daniel@s5593965d.adsl.wanadoo.nl] has joined #go-nuts
20:23 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
20:36 -!- captn [~root@pD9FE2FEE.dip.t-dialin.net] has joined #go-nuts
20:38 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has quit [Read error:
Connection reset by peer]
20:39 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has joined #go-nuts
20:46 < captn> iant: what's --enable-build-with-cxx for?  I thought c,c++ is
mandatory for go
20:47 <+iant> captn: --enable-build-with-cxx is actually an older project of
mine, getting all of gcc to build in C++ rather than C
20:47 <+iant> it's not Go related in itself
20:54 < captn> iant: ah, thanks.  If I try to build go without c, c++ it
uses the local (old) g++ instead the one built from previous stage.  I guess this
should not happen?
20:55 <+iant> yeah, that shouldn't happen; I think I know how to fix it,
though
20:58 -!- pothos_ [~pothos@111-240-215-136.dynamic.hinet.net] has joined #go-nuts
20:58 < plexdev> http://is.gd/gYM57 by [Rob Pike] in go/src/cmd/gc/ -- gc:
fix arm build
20:59 < plexdev> http://is.gd/gYM5s by [Benny Siegert] in 2 subdirs of
go/src/pkg/ -- strings: add LastIndexAny
21:00 -!- pothos [~pothos@111-240-205-159.dynamic.hinet.net] has quit [Ping
timeout: 272 seconds]
21:02 < captn> iant: is it already possible to cross-compile gccgo to arm?
21:03 <+iant> I've never tried
21:03 <+iant> I don't know
21:05 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
21:05 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Client Quit]
21:06 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
21:08 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
21:12 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Remote
host closed the connection]
21:12 -!- phreed [~phreed@129.59.140.61] has joined #go-nuts
21:15 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
21:20 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has quit [Read error:
Connection reset by peer]
21:26 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has joined #go-nuts
21:27 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
21:27 -!- sauerbraten [~sauerbrat@p508CAEBA.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:28 < phreed> Is it possible to write a go program which will interface
with a COM dll?
21:29 -!- aho [~nya@fuld-4d00d77a.pool.mediaWays.net] has quit [Ping timeout: 240
seconds]
21:30 -!- aho [~nya@fuld-4d00d3d5.pool.mediaWays.net] has joined #go-nuts
21:31 < skelterjohn> phreed: you can write a go program that will interface
with C code, which can presumably do stuff with a COM dll
21:32 < skelterjohn> though i personally know zip about COM or even DLLs,
really
21:32 -!- ako [~nya@fuld-4d00d40e.pool.mediaWays.net] has joined #go-nuts
21:35 -!- aho [~nya@fuld-4d00d3d5.pool.mediaWays.net] has quit [Ping timeout: 245
seconds]
21:37 < skelterjohn> what's the package/function that will give you the raw
command line []string?
21:37 < skelterjohn> nevermind - the variable os.Args
21:37 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
21:37 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
21:42 -!- inittab [~dlbeer@ip-118-90-23-185.xdsl.xnet.co.nz] has joined #go-nuts
21:43 -!- ikaros_ [~ikaros@dslb-094-219-214-009.pools.arcor-ip.net] has joined
#go-nuts
21:47 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
21:49 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
21:50 < |Craig|> Today I discovered gomatrix can't invert identity matrixes.
I wonder how that happened
21:52 -!- snearch [~snearch@f053010154.adsl.alicedsl.de] has quit [Quit:
Verlassend]
21:53 < |Craig|> or maybe I just don't understand its error reporting
21:55 < |Craig|> I wonder why it gives nil for Errors sometimes if it has an
error type that has a no error value and a method to check if there is no error.
Is there some standard in go for what to return for errors?
21:56 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Read error:
Connection reset by peer]
21:58 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
22:01 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
22:09 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has joined
#go-nuts
22:11 -!- belkiss [~kvirc@feu30-1-82-242-58-196.fbx.proxad.net] has quit [Client
Quit]
22:15 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal]
22:18 -!- sjohnson [~sjohnson@ptr-208-68-18-67.rdns.thinktel.ca] has left #go-nuts
["WeeChat 0.3.3"]
22:20 -!- niemeyer [~niemeyer@189-10-175-46.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 245 seconds]
22:23 -!- lmoura [~lauromour@187.113.103.137] has quit [Quit: Leaving]
22:25 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
22:27 -!- inittab [~dlbeer@ip-118-90-23-185.xdsl.xnet.co.nz] has quit [Quit:
leaving]
22:27 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
22:27 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
22:28 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
22:29 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 255
seconds]
22:30 -!- TheMue [~TheMue@p5DDF7C8C.dip.t-dialin.net] has quit [Quit: TheMue]
22:31 < plexdev> http://is.gd/gYU9X by [Ken Thompson] in go/src/pkg/syscall/
-- arm is not little-endian
22:31 -!- phreed [~phreed@129.59.140.61] has left #go-nuts []
22:34 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
22:34 < skelterjohn> |Craig|: can't invert the identity?  that certainly
sounds like a bug...
22:35 < skelterjohn> and about the error stuff...  that was part of the
learning process that got forgotten about
22:35 < |Craig|> skelterjohn: I can inver it acutually, but it returns nil
for an error I discovered
22:35 < skelterjohn> oh
22:35 < |Craig|> which confused me
22:35 < skelterjohn> yeah i should fix the error reporting at some time
22:36 < skelterjohn> well, it's confusing
22:36 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
22:36 < |Craig|> there are 2 ways it can report errors, 2 of which are
equivelent and interchangable (err.OK() and the no error value)
22:36 < |Craig|> *3 way
22:36 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 265 seconds]
22:38 < |Craig|> I was trying to track down why I couldn't invert my affine
identity transforms, which I believe is the only invertible but non unique affine
transform.
22:38 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has quit
[Changing host]
22:38 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts
22:39 < |Craig|> maybe is is unique, but my inversion failed on it.  Fixed
now though
22:42 < skelterjohn> any reflect package experts here?
22:42 < skelterjohn> I have a *reflect.Value representing an object, and i
want to have an interface{} wrap its pointer
22:43 < skelterjohn> I'm trying making a *reflect.PtrValue and then calling
its SetValue function on my *reflect.Value, but that doesn't work
22:43 < skelterjohn> panic
22:46 < skelterjohn> tells me "panic: cannot set x; cannot point to x"
22:46 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:46 < skelterjohn> after doing "subPtr := new(reflect.PtrValue);
subPtr.PointTo(subValue)"
22:46 < skelterjohn> where subValue is the reflect.Value representing the
thing i want a pointer of
22:47 < skelterjohn> |Craig|: would you mind filing an issue about the error
garbage on the gomatrix project page?
22:48 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
22:49 < |Craig|> skelterjohn: sure, will do
22:49 < skelterjohn> thanks
22:49 < |Craig|> its more of an ambiguous api than a bug, but still should
be fixed
22:50 < skelterjohn> bug or no, it's certainly an "issue"
22:52 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X]
22:58 < |Craig|> skelterjohn: the issues list on google code is throwing a
500 Server Error, so I'll have to add it later
22:59 < skelterjohn> doh
22:59 < |Craig|> oh, it works agin :)
23:02 -!- gnuvince_ [~vince@70.35.171.223] has quit [Quit: ""]
23:03 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Ping timeout:
245 seconds]
23:08 < skelterjohn> so here is the issue with reflect that i'm having
trouble with
23:09 < skelterjohn> i want to create a value that is a reflect.PtrValue
whose pointer type matches another reflect.Value i've got
23:09 < skelterjohn> if i check the value, I can use
reflect.NewValue(x).(*reflect.PtrValue), where x is of type *float
23:09 < skelterjohn> but it seems like that shouldn't be necessary
23:11 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
23:11 -!- markcol [~markcol@74.125.59.1] has joined #go-nuts
23:12 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has quit [Read error:
Connection reset by peer]
23:13 < skelterjohn> especially considering that the type of this value can
be a struct that i don't have compile-time access to
23:18 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has joined #go-nuts
23:21 -!- drd [~eric@compassing.net] has left #go-nuts []
23:33 < plexdev> http://is.gd/gYZiK by [Kyle Consalus] in
go/src/pkg/reflect/ -- Remove unnecessary casts in Get() methods.
23:39 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
23:47 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has joined
#go-nuts
23:49 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: Lost terminal]
23:52 -!- markcol [~markcol@74.125.59.1] has quit [Quit: markcol]
23:54 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 265
seconds]
23:58 -!- rlab_ [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
--- Log closed Sat Nov 13 00:00:15 2010