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

--- Log opened Mon May 23 00:00:48 2011
--- Day changed Mon May 23 2011
00:00 < fumon> Okay.  I'll post the type definitions.
00:02 -!- eikenberry [~jae@74.85.239.23] has quit [Ping timeout: 246 seconds]
00:03 < fumon> https://gist.github.com/986030
00:05 < dfc> sorry, that doesnt' help me understand the problem much
00:05 < dfc> can you post the code that doesnt' work at the moment ?
00:05 < skelterjohn> fumon: just in case - there is no casting in go.  only
conversion.  that is, if you do a_B = B(a_C), a_B and a_C do not refer to the same
data
00:06 < fumon> skelterjohn: Yes, that's as I've experienced.  Wrong
terminology.
00:06 < skelterjohn> cool.  and, like dfc, i still don't understand what
you're trying to do, exactly
00:07 < skelterjohn> what is the type of the thing you used gob to encode?
00:07 < fumon> dfc: The issue is that I'm about to write the web-facing side
of this app and I've filled a database with my corpus gob encoded with that
CorpusText entry.
00:09 < skelterjohn> that is, you called theEncoder.Encode(x).  what type is
x?
00:09 < skelterjohn> a CorpusText?
00:09 < skelterjohn> a []CorpusText?
00:09 < fumon> Now I'm wondering if I have to go back and reencode all that
data into the base slice type instead since I've realized I want to just have one
template that gets passed the data and use .repeat section on it but to do that
I'd need to cast it to its underlying type each time...  and the type CorpusText
has as its underlying type has got the same issue.
00:09 < fumon> A single CorpusText
00:09 < skelterjohn> a CorpusEntry?
00:09 < skelterjohn> ok
00:10 < skelterjohn> converting a CorpusText to a []LogLinePlain should be
fast
00:10 < skelterjohn> it's only a 3-word structure it has to replicate
00:10 < fumon> It's then that I have to convert LogLinePlain into
[]LogLineToken for each LogLinePlain in []LogLinePlain...
00:11 < skelterjohn> check if you can convert the CorpusText to a
[][]LogLineToken
00:11 < fumon> And because I'm doing templates, I'll have to append to a
string or do a buffer to format them all.
00:11 < fumon> skelterjohn: That would be the ideal.  I'll do a test.
00:11 < skelterjohn> i don't promise that will work
00:11 < skelterjohn> but i think it might
00:12 < skelterjohn> a related question - why do you want a []LogLineToken
instead of a LogLinePlain?
00:12 < skelterjohn> you don't get any extra behavior out of a
[]LogLineToken
00:12 < skelterjohn> and you can still index into a LogLinePlain
00:13 < fumon> Index, yes.  But does it play nice with range?
00:14 < skelterjohn> yes
00:14 < fumon> I will go back and reencode if nessisary to make it work the
way I need it to.  I was just wondering if I was missing something completely
obvious because I've run into this problem before.
00:15 < skelterjohn> if you subtype a built-in type, you can use it exactly
like you'd use the built-in type
00:15 < skelterjohn> slices, maps, chans
00:16 -!- zcram [~zcram@78-28-97-134.cdma.dyn.kou.ee] has quit [Quit: Leaving]
00:17 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
00:18 < hallas> subtype
00:18 < hallas> :o
00:18 < hallas> I guess you could call it that
00:19 < skelterjohn> i'd like to use a more appropriate word
00:19 < skelterjohn> i just can't think of one right now
00:21 < fumon> Alias?
00:21 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error:
Connection reset by peer]
00:22 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
00:22 < hallas> subtype is probably apropiate enough
00:23 < hallas> but really, supertype is whwat it is?  as you usually expand
on the type when you declare it under a new name?
00:23 < skelterjohn> alias, like subtype, has a different meaning in a
different context
00:24 < skelterjohn> the normal meaning for subtype - the is-a relationship
in OOP - refers to the subtype expanding on the supertype
00:24 < hallas> screw it
00:24 < skelterjohn> :)
00:24 < hallas> we can call it what we want
00:24 < hallas> :P
00:24 < fumon> Well it looks like I can't cast it to a [][]LogLineToken.
00:25 < fumon> cannot convert tSliceLogLinePlain (type
[]corpus.LogLinePlain) to type [][]corpus.LogLineToken
00:25 < fumon> But from what you say, I should be able to range over it,
yes?
00:26 < skelterjohn> yes
00:26 < fumon> Actually, I think that it's just the first cast that I need.
I can see in the code how I managed it last time and it worked.  Just couldn't
range over the CorpusText for some reason.  Had to cast it.
00:27 < hallas> I hate coming up with names for your work
00:27 < skelterjohn> if CorpusText had the same definition in the gist you
posted earlier, you can range on it
00:28 < skelterjohn> https://gist.github.com/986048
00:29 < fumon> Yes.  Hold on.  I'm going to try recompiling that section of
code which I casted it for earlier.
00:32 < fumon> Hmm, no error with the compile.  I'll try running it.
00:32 < skelterjohn> one mistake i made a lot when i started with go was
"for value := range aSlice {"
00:32 < skelterjohn> value gets the index, not the value
00:33 < skelterjohn> but you can do "for _, value := range aSlice {" and get
the actual value
00:33 < fumon> Yeah.  I always do that.
00:33 < skelterjohn> so maybe that was it - the type you got out of range
was an int when you wanted a somethingElse
00:33 < fumon> No, the code is functional and I use the index, value syntax.
00:33 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
276 seconds]
00:34 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Remote
host closed the connection]
00:34 < fumon> Well, no run time error either.
00:34 < fumon> I guess I was being overly cautious.
00:35 < skelterjohn> heh
00:35 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
00:35 < fumon> I tried a similar thing in November that involved some even
less idomatic code and I guess it was a "once bitten twice shy" kind of thing.
00:37 < fumon> Alright well it looks like all my fears were unfounded.
Thanks for exposing my "trying to make things harder than they are" moment.  I
should really know better by now that Go "just works" a lot of the time.
00:38 < skelterjohn> my pleasure
00:38 < exch> caution is always a good thing.  One generally learns the hard
way that when things look too good to be true, they usually are.  Go just has a
knack for undermining that age old truth :p
00:39 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
00:40 < fumon> I think Go, like Plan 9, has that rare quality of follwing
the more modern adage "The ideal machine is one where the function is achived...
and there is no machine"
00:43 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 260
seconds]
00:50 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
250 seconds]
00:54 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left
#go-nuts []
00:57 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
01:00 -!- a2800276 [~a2800276@xdsl-87-78-237-176.netcologne.de] has quit [Ping
timeout: 260 seconds]
01:00 -!- a2800276 [~a2800276@xdsl-87-79-224-138.netcologne.de] has joined
#go-nuts
01:13 -!- electro [electro@c-bef570d5.033-10-67626721.cust.bredbandsbolaget.se]
has quit [Ping timeout: 240 seconds]
01:13 -!- electro [electro@c-bef570d5.033-10-67626721.cust.bredbandsbolaget.se]
has joined #go-nuts
01:15 -!- epenn [c7f8b916@gateway/web/freenode/ip.199.248.185.22] has quit [Quit:
Page closed]
01:31 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 240 seconds]
01:31 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
01:33 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
01:40 -!- johnlockwood [~johnlockw@99.175.94.132] has quit [Quit: johnlockwood]
01:43 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts
02:03 -!- Xenith [~xenith@xenith.org] has quit [Quit: leaving]
02:03 -!- aho [~nya@fuld-590c6edc.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
02:15 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 250 seconds]
02:35 -!- Xenith [~xenith@xenith.org] has joined #go-nuts
02:36 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit
[Read error: Connection reset by peer]
02:37 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined
#go-nuts
02:38 -!- Xenith [~xenith@xenith.org] has quit [Client Quit]
02:38 -!- Xenith [~xenith@xenith.org] has joined #go-nuts
03:06 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
03:07 -!- johnlockwood [~johnlockw@99.175.94.132] has joined #go-nuts
03:14 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has joined
#go-nuts
03:24 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 260 seconds]
03:38 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
03:44 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined
#go-nuts
03:44 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
04:04 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
04:13 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services]
04:13 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:13 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
04:21 -!- eimantas [~eimantas@88.118.232.20] has joined #go-nuts
04:24 -!- Ekspluati [5b9b5537@gateway/web/freenode/ip.91.155.85.55] has joined
#go-nuts
04:38 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
05:02 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
05:02 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts
05:02 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has left #go-nuts
["Leaving"]
05:05 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts
05:08 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
05:12 -!- b33p [~mgray@li226-224.members.linode.com] has joined #go-nuts
05:22 -!- photron [~photron@port-92-201-116-174.dynamic.qsc.de] has joined
#go-nuts
05:28 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 250
seconds]
05:30 -!- pamera [~Pam@c-76-102-255-99.hsd1.ca.comcast.net] has joined #go-nuts
05:33 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 240 seconds]
05:39 < manveru> alrighty
05:40 < manveru> i think my queue is finally getting somewhere :)
05:40 < manveru> http://pastie.org/1959577
05:47 < wallerdev> looks good
05:51 -!- photron [~photron@port-92-201-116-174.dynamic.qsc.de] has quit [Ping
timeout: 244 seconds]
05:59 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote
host closed the connection]
06:05 -!- krikulis [~krikulis@office.true-vision.net] has joined #go-nuts
06:08 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
06:09 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 246 seconds]
06:22 -!- tvw [~tv@e176001012.adsl.alicedsl.de] has joined #go-nuts
06:22 -!- a2800276 [~a2800276@xdsl-87-79-224-138.netcologne.de] has quit [Ping
timeout: 252 seconds]
06:38 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 276 seconds]
06:43 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
06:59 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
07:02 -!- Ekspluati [5b9b5537@gateway/web/freenode/ip.91.155.85.55] has quit
[Quit: Page closed]
07:04 -!- eimantas [~eimantas@88.118.232.20] has quit [Quit: eimantas]
07:06 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping
timeout: 246 seconds]
07:09 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has quit
[Quit: gtaylor]
07:19 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Read
error: Connection reset by peer]
07:21 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts
07:23 -!- noodles775 [~michael@g225095234.adsl.alicedsl.de] has joined #go-nuts
07:23 -!- noodles775 [~michael@g225095234.adsl.alicedsl.de] has quit [Changing
host]
07:23 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
07:29 -!- Ekspluati [5b9b5537@gateway/web/freenode/ip.91.155.85.55] has joined
#go-nuts
07:30 -!- a2800276 [~a2800276@80.187.192.117] has joined #go-nuts
07:31 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:33 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
07:41 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
07:45 -!- fvbommel [~fvbommel_@dyn068206.nbw.tue.nl] has joined #go-nuts
07:46 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
08:02 < kevlar> phew, that was one major refactor.
08:02 < kevlar> 299 insertions, 69 deletions, 13 files.  And all tests
passed out of the box when I finished :D
08:03 -!- mpl [~mpl@smgl.fr.eu.org] has quit [Disconnected by services]
08:03 < kevlar> I don't think that would have been possible in C or C++, and
it would have been really buggy in python
08:04 -!- mpl [~mpl@sd-18712.dedibox.fr] has joined #go-nuts
08:06 -!- napsy [~luka@193.2.66.6] has joined #go-nuts
08:07 -!- fudanchii [~adie@121.58.190.118] has joined #go-nuts
08:15 -!- b33p [~mgray@li226-224.members.linode.com] has quit [Quit: leaving]
08:17 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-151-116.clienti.tiscali.it] has
joined #go-nuts
08:25 -!- tvw [~tv@e176001012.adsl.alicedsl.de] has quit [Remote host closed the
connection]
08:28 -!- pamera [~Pam@c-76-102-255-99.hsd1.ca.comcast.net] has left #go-nuts []
08:29 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit
[Read error: Connection reset by peer]
08:31 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined
#go-nuts
08:31 < Ekspluati> kevlar, Nice
08:44 -!- krikulis [~krikulis@office.true-vision.net] has quit [Quit: leaving]
08:48 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 252
seconds]
09:01 -!- oal [~oal@5.79-160-122.customer.lyse.net] has joined #go-nuts
09:09 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote
host closed the connection]
09:13 -!- gregschlom [~quassel@187.118.210.62.te-dns.org] has joined #go-nuts
09:18 -!- virtualsue [~chatzilla@nat/cisco/x-gkwmalonnerumidk] has joined #go-nuts
10:00 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:02 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
10:09 -!- comex [comex@c-67-188-10-190.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
10:15 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit
[Read error: Connection reset by peer]
10:16 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined
#go-nuts
10:18 < vegai>
http://www.reddit.com/r/programming/comments/hhotd/research_and_development_are_two_different_things/c1viex5?context=3
10:18 < vegai> slightly too trolly, am I?
10:25 < jnwhiteh> i'm not sure what PL research Go allegedly 'ignores' here
10:26 < vegai> I suppose the groupthink is that if it doesn't include
feature X, it's ignoring feature X
10:26 < vegai> "because I like feature X, it must be good"
10:26 < jnwhiteh> that's an absurd premise =)
10:28 < jnwhiteh> kamatsu has a post that lists 5 things that Go is terrible
for ignoring.
10:28 < jnwhiteh> 1.  sum types (meh)
10:28 < jnwhiteh> 2.  parametric polymorphism (he claims that C++ and Java
have those, they don't, they have generics which are not the same as parametric
polymorphism.)
10:28 -!- snearch [~snearch@f053007058.adsl.alicedsl.de] has joined #go-nuts
10:29 -!- alehorst [~alehorst@189.58.28.206.dynamic.adsl.gvt.net.br] has joined
#go-nuts
10:29 < jnwhiteh> 3.  No effect control or immutable data model, 4.  No full
sybtyping (lulz) and 5.  Null pointers
10:29 < jnwhiteh> I'm so glad I ignore reddit.
10:30 < Fib> They would be nice features to have if they were pleasant to
use; go's main advantage is that it's an improvement on C that is actually
pleasant.
10:30 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
10:30 < jnwhiteh> The complaints amount to "Go doesn't have this feature I
consider a requirement"
10:30 < jnwhiteh> none of this has anythign to do with academic research
10:31 < jnwhiteh> as an academic researcher, this isn't difficult to see =)
10:34 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
10:36 < vegai> jnwhiteh: yeah, I'm considering that ignoring thing too
10:36 < vegai> it probably snarfs 90% of my time without giving anything
back as it is
10:36 < jnwhiteh> *if* I were to respond to those threads, it would be that
no one has (in the least) shown what 'research' Go has chosen to ignore
10:37 < jnwhiteh> the only case they can possibly make is null references,
which isn't research..  its just the opinion of Tony Hoare and it goes much deeper
than the surface title of the talk (which people seem to have not read)
10:37 -!- gregschlom [~quassel@187.118.210.62.te-dns.org] has quit [Ping timeout:
240 seconds]
10:38 * vegai deleted his account
10:38 < vegai> light feeling.
10:38 < jnwhiteh> I still have one, oddly so I can post links about Go when
relevant :;
10:38 < vegai> also, 127.0.0.1 reddit.com :)
10:39 < jnwhiteh> see, now you're the one ignoring research =)
10:39 -!- arun_ [~arun@unaffiliated/sindian] has joined #go-nuts
10:40 < vegai> Reddit University honorary PhD just has to wait :/
10:41 -!- comex [comex@c-98-210-197-113.hsd1.ca.comcast.net] has joined #go-nuts
10:52 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
10:53 -!- moraes [~moraes@189.103.179.188] has joined #go-nuts
10:56 -!- zcram [~zcram@78-28-80-89.cdma.dyn.kou.ee] has joined #go-nuts
10:59 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
11:10 -!- Ekspluati [5b9b5537@gateway/web/freenode/ip.91.155.85.55] has quit
[Quit: Page closed]
11:18 -!- ctimmerm [~ctimmerm@83.150.80.193] has joined #go-nuts
11:19 -!- fudanchii [~adie@121.58.190.118] has left #go-nuts []
11:31 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-150-129.clienti.tiscali.it] has
joined #go-nuts
11:34 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-151-116.clienti.tiscali.it] has
quit [Ping timeout: 240 seconds]
11:36 -!- tncardoso [~thiago@150.164.2.20] has joined #go-nuts
11:37 -!- a2800276 [~a2800276@80.187.192.117] has quit [Ping timeout: 258 seconds]
11:39 -!- pamera [~Pam@c-76-102-255-99.hsd1.ca.comcast.net] has joined #go-nuts
11:41 -!- Fish [~Fish@exo3753.pck.nerim.net] has quit [Read error: Operation timed
out]
11:45 < manveru> hm
11:45 < manveru> jnwhiteh: well, i'd love to see a way to get rid of null :)
11:46 < vegai> that I can agree with
11:48 < manveru> but i fear that would have quite severe performance issues
:|
11:48 < vegai> heh, I catch myself writing 'reddit.com' in my browser once
every ten minutes
11:49 < vegai> some psychologist should look into that
11:51 < manveru> i think that falls under procrastination, i'm trying to
limit myself to around 1h of news a day...  ain't easy
11:51 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
11:51 < vegai> indeed
11:52 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 240 seconds]
11:54 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
11:57 -!- Fish [~Fish@coss6.exosec.net] has joined #go-nuts
11:58 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
12:02 -!- COBOL2121 [~Null@usr018.bb160-01.udk.im.wakwak.ne.jp] has joined
#go-nuts
12:05 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has joined
#go-nuts
12:06 -!- arun_ [~arun@unaffiliated/sindian] has quit [Ping timeout: 246 seconds]
12:10 -!- snearch [~snearch@f053007058.adsl.alicedsl.de] has quit [Quit:
Verlassend]
12:12 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 246
seconds]
12:16 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
quit [Quit: Leaving...]
12:16 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
12:19 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-157-103.clienti.tiscali.it] has
joined #go-nuts
12:22 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-150-129.clienti.tiscali.it] has
quit [Ping timeout: 264 seconds]
12:27 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
12:38 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 246
seconds]
12:40 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
12:41 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has quit
[Quit: Page closed]
12:41 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
12:43 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
quit [Client Quit]
12:46 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
12:48 -!- COBOL2121 [~Null@usr018.bb160-01.udk.im.wakwak.ne.jp] has quit [Remote
host closed the connection]
12:52 -!- gregschlom [~quassel@187.118.210.62.te-dns.org] has joined #go-nuts
12:58 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
13:04 -!- exch [~exch@c74149.upc-c.chello.nl] has quit [Quit: leaving]
13:05 -!- exch [~exch@c74149.upc-c.chello.nl] has joined #go-nuts
13:10 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 246
seconds]
13:11 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts
13:16 -!- r_linux [~r_linux@smtp.mandique.com.br] has joined #go-nuts
13:19 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
13:23 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
13:26 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
13:28 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
13:40 -!- photron [~photron@port-92-201-221-51.dynamic.qsc.de] has joined #go-nuts
13:49 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts
13:53 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost
terminal]
13:55 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-183-197.clienti.tiscali.it] has
joined #go-nuts
13:58 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-157-103.clienti.tiscali.it] has
quit [Ping timeout: 264 seconds]
14:05 -!- alehorst [~alehorst@189.58.28.206.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 246 seconds]
14:05 -!- alehorst [~alehorst@201.22.45.36.dynamic.adsl.gvt.net.br] has joined
#go-nuts
14:06 -!- dfr|mac [~dfr|work@nat/google/x-amtkwtmgednkzhcp] has joined #go-nuts
14:07 -!- dfr|mac [~dfr|work@nat/google/x-amtkwtmgednkzhcp] has quit [Remote host
closed the connection]
14:07 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
14:11 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
14:12 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has joined
#go-nuts
14:14 -!- wallerdev [~wallerdev@72.44.102.30] has joined #go-nuts
14:16 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
14:18 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
14:20 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
14:21 -!- zcram [~zcram@78-28-80-89.cdma.dyn.kou.ee] has quit [Quit: Leaving]
14:23 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined
#go-nuts
14:23 -!- jarsen [~jarsen@76.8.206.34] has joined #go-nuts
14:25 -!- zaero [~eclark@2001:470:1f11:b82:e163:54ed:e02c:2a45] has quit [Ping
timeout: 264 seconds]
14:26 -!- jarsen [~jarsen@76.8.206.34] has quit [Remote host closed the
connection]
14:27 -!- zaero [~eclark@2001:470:1f11:b82:e163:54ed:e02c:2a45] has joined
#go-nuts
14:27 -!- alehorst [~alehorst@201.22.45.36.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 246 seconds]
14:28 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 276 seconds]
14:34 -!- hargettp_ [~hargettp_@dhcp-162.mirrorimage.net] has joined #go-nuts
14:36 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
14:36 -!- fvbommel [~fvbommel_@dyn068206.nbw.tue.nl] has quit [Ping timeout: 276
seconds]
14:41 -!- aho [~nya@fuld-590c71a5.pool.mediaWays.net] has joined #go-nuts
14:42 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
14:44 -!- alehorst [~alehorst@189.58.7.103.dynamic.adsl.gvt.net.br] has joined
#go-nuts
14:45 -!- zerohp [~eclark@173-28-217-101.client.mchsi.com] has joined #go-nuts
14:47 < xyproto> why is the number 5 chosen for Arm?
14:47 < xyproto> I can understand 8 for x86 and 6 for 64-bit, but 5?  :)
14:48 -!- zaero [~eclark@2001:470:1f11:b82:e163:54ed:e02c:2a45] has quit [Ping
timeout: 260 seconds]
14:50 -!- ctimmerm [~ctimmerm@83.150.80.193] has quit [Ping timeout: 252 seconds]
14:53 < dlowe> 6 is for amd64
14:53 < dlowe> and the instruction set is arm5
14:53 < mpl> http://man.cat-v.org/plan_9/1/2c
14:54 < dlowe> ah, funny.  I didn't know that's where it came from
14:54 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 250
seconds]
14:56 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
15:02 < taruti> Is there a reason freetype-go is gpl?
15:03 < dlowe> To ensure it's only used by GPL'd projects?
15:03 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has joined #go-nuts
15:06 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
15:06 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 240
seconds]
15:07 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
15:10 < xyproto> mpl: thanks!
15:10 < mpl> xyproto: np.  it doesn't really answer your question (since I
haven't found any reason on that page), but at least there's the historical why.
15:11 -!- virtualsue [~chatzilla@nat/cisco/x-gkwmalonnerumidk] has quit [Ping
timeout: 276 seconds]
15:13 < xyproto> mpl: it helps, I thought 6 was for 64-bit instead of amd64.
15:15 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
15:16 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
15:18 < jeremy_c> skelterjohn: the new gb works great on go-iup now.
15:21 -!- tncardoso [~thiago@150.164.2.20] has quit [Quit: bye]
15:25 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
15:28 -!- abra [~abra@178.47.224.150] has joined #go-nuts
15:29 -!- espeed [~espeed@63.246.231.57] has quit [Ping timeout: 246 seconds]
15:30 -!- gmilleramilar [~gmiller@pool-74-101-133-165.nycmny.fios.verizon.net] has
quit [Quit: Leaving.]
15:31 -!- johnlockwood [~johnlockw@99.175.94.132] has quit [Quit: johnlockwood]
15:33 -!- johnlockwood [~johnlockw@99.175.94.132] has joined #go-nuts
15:33 -!- dolch [~ftw@CPE002584096773-CM78cd8e5c9ddd.cpe.net.cable.rogers.com] has
quit [Quit: leaving]
15:39 -!- xyproto [~alexander@77.40.159.131] has quit [Quit: WeeChat 0.3.5]
15:39 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
15:41 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
15:41 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
15:45 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
15:45 -!- espeed [~espeed@63.246.231.57] has joined #go-nuts
15:45 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
15:49 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts
15:50 -!- willdye [~willdye@198.183.6.23] has joined #go-nuts
15:50 -!- willdye [~willdye@198.183.6.23] has left #go-nuts []
15:52 -!- espeed [~espeed@63.246.231.57] has quit [Ping timeout: 252 seconds]
15:55 -!- piranha [~piranha@94.212.58.11] has joined #go-nuts
15:55 -!- dolch [~ftw@CPE002584096773-CM78cd8e5c9ddd.cpe.net.cable.rogers.com] has
joined #go-nuts
15:56 -!- virtualsue [~chatzilla@nat/cisco/x-ftjfrbfxlgsefyva] has joined #go-nuts
15:57 -!- sacho [~sacho@82.137.67.126] has joined #go-nuts
15:59 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts
15:59 -!- willdye [~willdye@fern.dsndata.com] has quit [Read error: Connection
reset by peer]
16:02 -!- xyproto [~alexander@77.40.159.131] has joined #go-nuts
16:03 < freetz> was netchan.Import ever supposed to get a drain method?  I
saw something from rob last year about it, but the documentation still indicates
it's not there
16:05 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit:
leaving]
16:06 -!- espeed [~espeed@63.246.231.57] has joined #go-nuts
16:13 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has
joined #go-nuts
16:15 -!- mnoel [~mnoel@c-75-65-250-60.hsd1.la.comcast.net] has joined #go-nuts
16:20 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
16:22 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has joined #go-nuts
16:33 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has joined #go-nuts
16:34 -!- tncardoso [~thiago@189.59.196.250] has joined #go-nuts
16:36 -!- alehorst [~alehorst@189.58.7.103.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 246 seconds]
16:42 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-183-197.clienti.tiscali.it] has
quit [Ping timeout: 260 seconds]
16:46 -!- Ekspluati [5b9c45e1@gateway/web/freenode/ip.91.156.69.225] has joined
#go-nuts
16:46 -!- alehorst [~alehorst@189.114.188.190] has joined #go-nuts
16:49 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
16:50 -!- ako [~nya@fuld-590c6c70.pool.mediaWays.net] has joined #go-nuts
16:52 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
16:52 -!- aho [~nya@fuld-590c71a5.pool.mediaWays.net] has quit [Ping timeout: 250
seconds]
16:52 -!- cco3 [~conleyo@nat/google/x-wseknskhzajwsyny] has joined #go-nuts
16:56 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts
16:58 -!- willdye [~willdye@198.183.6.23] has joined #go-nuts
16:59 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
16:59 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
16:59 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
17:00 -!- willdye [~willdye@198.183.6.23] has left #go-nuts []
17:00 -!- sacho [~sacho@82.137.67.126] has quit [Read error: Connection reset by
peer]
17:02 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 260
seconds]
17:03 -!- alehorst [~alehorst@189.114.188.190] has quit [Ping timeout: 246
seconds]
17:05 -!- d_m [~d_m@64.186.128.169] has quit [Quit: leaving]
17:06 -!- Qvist_ [~erik@c-1ac3e455.05-294-6c6b701.cust.bredbandsbolaget.se] has
joined #go-nuts
17:08 -!- d_m [~d_m@64.186.128.169] has joined #go-nuts
17:11 -!- snearch [~snearch@f053007058.adsl.alicedsl.de] has joined #go-nuts
17:12 -!- alanliang [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has quit
[Read error: Connection reset by peer]
17:12 -!- alanliang [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has joined
#go-nuts
17:14 -!- sebastianskejoe [~sebastian@89.249.0.154] has joined #go-nuts
17:18 -!- alehorst [~alehorst@189.114.233.220.dynamic.adsl.gvt.net.br] has joined
#go-nuts
17:21 -!- a2800276 [~a2800276@xdsl-78-35-233-175.netcologne.de] has joined
#go-nuts
17:25 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 240
seconds]
17:27 -!- moraes [~moraes@189.103.179.188] has quit [Ping timeout: 260 seconds]
17:30 -!- alehorst [~alehorst@189.114.233.220.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 246 seconds]
17:31 -!- keithgcascio [~keithcasc@nat/google/x-yihstddfhdruyeyz] has joined
#go-nuts
17:31 -!- heatxsink [u956@gateway/web/irccloud.com/x-ngylfklxhmstihlb] has quit
[Remote host closed the connection]
17:33 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
17:36 -!- dfr|mac [~dfr|work@nat/google/x-msxxmmpgozjilhln] has joined #go-nuts
17:38 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts
17:39 -!- willdye [~willdye@fern.dsndata.com] has left #go-nuts []
17:43 -!- ayo [~nya@fuld-590c6e43.pool.mediaWays.net] has joined #go-nuts
17:46 -!- ako [~nya@fuld-590c6c70.pool.mediaWays.net] has quit [Ping timeout: 246
seconds]
17:47 -!- dfr|mac [~dfr|work@nat/google/x-msxxmmpgozjilhln] has quit [Remote host
closed the connection]
17:47 -!- alehorst [~alehorst@201.47.24.211.dynamic.adsl.gvt.net.br] has joined
#go-nuts
17:47 -!- dfr|mac [~dfr|work@nat/google/x-fislodrmhibgkwjg] has joined #go-nuts
17:48 < str1ngs> niemeyer: gorun TMPDIR nice work thanks
17:48 < niemeyer> str1ngs: My pleasure
17:48 -!- dfr|mac [~dfr|work@nat/google/x-fislodrmhibgkwjg] has quit [Remote host
closed the connection]
17:49 -!- dfr|mac [~dfr|work@nat/google/x-xhspuvrjcqklpsnm] has joined #go-nuts
17:53 -!- dfr|mac [~dfr|work@nat/google/x-xhspuvrjcqklpsnm] has quit [Remote host
closed the connection]
17:53 -!- dfr|mac [~dfr|work@nat/google/x-wgxhfmzlqtdppflo] has joined #go-nuts
17:56 -!- alehorst [~alehorst@201.47.24.211.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 246 seconds]
17:58 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
17:59 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit
[Read error: Connection reset by peer]
18:00 -!- alehorst [~alehorst@189.114.188.69] has joined #go-nuts
18:05 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
18:05 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
18:05 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
18:06 -!- eimantas [~eimantas@ip-212-52-52-163.kava.lt] has joined #go-nuts
18:06 < eimantas> good evening
18:08 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has quit [Ping timeout: 240
seconds]
18:08 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts
18:09 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Ping timeout: 276 seconds]
18:09 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
240 seconds]
18:10 -!- imsplitbit [~imsplitbi@64.39.4.132] has joined #go-nuts
18:13 -!- TheMue [~TheMue@p5DDF7261.dip.t-dialin.net] has joined #go-nuts
18:14 -!- alehorst [~alehorst@189.114.188.69] has quit [Read error: Connection
reset by peer]
18:14 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined
#go-nuts
18:15 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
18:15 -!- alehorst [~alehorst@189.58.4.252.dynamic.adsl.gvt.net.br] has joined
#go-nuts
18:16 -!- heatxsink [u956@gateway/web/irccloud.com/x-pxgutprpcqlqtimi] has joined
#go-nuts
18:16 < Ekspluati> Is the organization of programs to cmd/ and packages to
pkg/ a standard for go projects?
18:20 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
260 seconds]
18:20 -!- ako [~nya@fuld-590c6f4e.pool.mediaWays.net] has joined #go-nuts
18:20 -!- dfr|mac [~dfr|work@nat/google/x-wgxhfmzlqtdppflo] has quit [Ping
timeout: 240 seconds]
18:23 -!- aho [~nya@fuld-590c6e43.pool.mediaWays.net] has quit [Ping timeout: 246
seconds]
18:25 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
18:29 -!- rutkowski [~adrian@078088213097.walbrzych.vectranet.pl] has joined
#go-nuts
18:29 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
244 seconds]
18:30 -!- The_Cog [~chatzilla@239.24.187.81.in-addr.arpa] has joined #go-nuts
18:30 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Read error:
Connection reset by peer]
18:30 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts
18:31 < rutkowski> Hello, has anyone encountered similar error after
'all.bash' in latest trunk?: http://pastie.org/1962445
18:32 < str1ngs> rutkowski: what version of gcc?
18:32 < rutkowski> str1ngs: 4.6.0
18:33 < str1ngs> hmm first ./clean.bash
18:33 -!- virtualsue [~chatzilla@nat/cisco/x-ftjfrbfxlgsefyva] has quit [Ping
timeout: 240 seconds]
18:34 < rutkowski> hmm same
18:35 < str1ngs> gah I suck with hg
18:36 < str1ngs> hg log | head -1
18:36 < str1ngs> what changset to have
18:36 < rutkowski> str1ngs: changeset: 8484:29f2dc9c98e7
18:36 < str1ngs> ok and hg update?
18:36 < rutkowski> str1ngs: 0 files updated, 0 files merged, 0 files
removed, 0 files unresolved
18:37 < rutkowski> it's up to date
18:37 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts
18:38 < rutkowski> maybe my gcc is broken somehow :/
18:38 -!- wallerdev [~wallerdev@72.44.102.30] has quit [Quit: wallerdev]
18:38 -!- alehorst [~alehorst@189.58.4.252.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 246 seconds]
18:39 < str1ngs> no
18:39 < str1ngs> could be sed related
18:39 < str1ngs> sed --version
18:39 < rutkowski> GNU sed wersja 4.2.1
18:39 < str1ngs> same so its not that
18:40 < str1ngs> let me see if it fails for me
18:40 -!- Project_2501 [~Marvin@94.36.169.123] has joined #go-nuts
18:40 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has
joined #go-nuts
18:40 < str1ngs> what distro are you on gcc 4.6.0 is pretty new
18:41 < Tonnerre> Maybe Fedora
18:41 < rutkowski> Arch
18:41 < str1ngs> testing or core?
18:41 < rutkowski> testing...
18:41 < str1ngs> ah thats it then
18:41 < str1ngs> try with gcc from core
18:42 < rutkowski> no, 4.6.0 is allready in core in Arch :]
18:42 < str1ngs> yes but gcc uses snapshots
18:42 < str1ngs> which allan bases off of pkgrel
18:43 < str1ngs> see with gcc --version
18:43 < str1ngs> gcc (GCC) 4.6.0 20110513 (prerelease)
18:44 -!- eimantas [~eimantas@ip-212-52-52-163.kava.lt] has quit [Quit: eimantas]
18:48 -!- huin [~huin@91.85.171.238] has joined #go-nuts
18:48 -!- arun_ [~arun@unaffiliated/sindian] has joined #go-nuts
18:49 -!- arun_ [~arun@unaffiliated/sindian] has quit [Read error: Connection
reset by peer]
18:50 -!- arun_ [~arun@unaffiliated/sindian] has joined #go-nuts
18:52 -!- alehorst [~alehorst@187.58.246.204] has joined #go-nuts
18:53 < rutkowski> str1ngs: still same error, I've downgraded to gcc-4.5.2-6
18:54 < rutkowski> binutils...?
18:54 < str1ngs> hmm ya seems there is no gcc in testing I just checked
18:54 -!- The_Cog [~chatzilla@239.24.187.81.in-addr.arpa] has quit [Quit:
ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]]
18:54 < chomp> problem with gcc?
18:55 < rutkowski> not sure
18:55 < chomp> what's going on
18:55 < rutkowski> http://pastie.org/1962445
18:55 < chomp> yeah
18:55 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
18:55 < chomp> saw this a few nights ago
18:55 < chomp> problem seems to be that gcc 4.someversion+ is treating "foo"
as a const char*
18:55 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
18:56 < chomp> simplest solutions is to remove -Werror from the make
settings
18:56 < str1ngs> yes but that does not explain why it would work for me
18:57 < str1ngs> rutkowski: I would first try with a clean hg repo.  and
also pacman -Syu
18:57 < str1ngs> but this still seems odd
18:57 < rutkowski> will try
18:57 < str1ngs> pacman -Syyu to be double safe
18:58 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has joined #go-nuts
19:00 -!- sebastianskejoe [~sebastian@89.249.0.154] has quit [Quit: leaving]
19:04 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has joined #go-nuts
19:05 -!- gregschlom [~quassel@187.118.210.62.te-dns.org] has quit [Ping timeout:
240 seconds]
19:06 < chomp> so the problem is due to the presence or absense of
-Wwrite-strings
19:06 < chomp> which im assuming may be builtin as a default in some
distributions of GCC
19:06 -!- moraes [~moraes@187.39.145.158] has joined #go-nuts
19:07 < chomp> or so it seems.  i can reproduce the problem by explicitly
adding it to my ccflags
19:07 < str1ngs> yes but we are on the same distro and gcc and it builds for
me.
19:07 < str1ngs> why it seems strange
19:07 < chomp> yikes
19:07 < chomp> same exact systems...  that doesn't make sense at all
19:07 < str1ngs> yep
19:08 < str1ngs> mind you if removing -Werror resolves it go with that.  but
it I would want to investigate further
19:08 < chomp> same architecture?
19:08 < str1ngs> hmm good idea I'm on x86_64
19:09 < chomp> he is too it seems
19:09 < chomp> error is while building 6c
19:09 < str1ngs> 6c ya
19:09 < chomp> heh logic dictates that something has to be different :)
19:09 < chomp> rutkowski, any results from a clean clone?
19:10 < str1ngs> 6g -V . not so helpful lol
19:10 < str1ngs> I'll try from clean clone to be safe
19:12 < str1ngs> hg checkout tip;hg update is the same as git co master?
19:12 < chomp> unsure
19:12 < chomp> how about rm -rf go; hg clone ...  // :)
19:13 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Remote host
closed the connection]
19:13 < str1ngs> ya I'll do that
19:14 < chomp> only problem with my -Wwrite-strings theory is that it should
cause the build to fail before it even makes it to cmd
19:14 < chomp> lib9 fails to build with it set
19:15 < rutkowski> argh still the same problem.  I've rm -rf go; hg cloned
it; also did pacman -Syyu
19:16 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the
connection]
19:16 < str1ngs> build fine here fresh clone.  tests are running now
19:17 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
19:17 < chomp> rutkowski, if you just want to get it working, delete line 38
of src/quietgcc.bash (the one that reads "-Werror \")
19:17 < chomp> still want to understand this, but that'll get you building
ok
19:19 < chomp> you said you're both on the same distro str1ngs.  you sure
you both have the same version of bison?
19:20 < str1ngs> bison (GNU Bison) 2.4.3
19:20 < rutkowski> bison (GNU Bison) 2.5
19:20 < chomp> hrm.
19:21 < chomp> str1ngs, can you pop into your y1.tab.c and look at the
declaration of yerror and friends?
19:21 < str1ngs> ah there is a bison in testing
19:21 < chomp> or have you done that already
19:21 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts
19:21 < str1ngs> I can one sec chomp
19:22 < chomp> oddly enough i can't seem to find any trace of bison output
in my go sources ><
19:22 < rutkowski> removing -Werror helped
19:23 < mibocote> what happens if you run: echo -e "#include
<stdio.h>\nvoid test(char* a) { printf(\"%s\",a); }\nvoid main() {
test(\"blah\"); }" | gcc -o test.o -xc -
19:23 < str1ngs> rutkowski: ya removeing -Werror will fix that of course.
but now we know its bison related
19:24 < chomp> str1ngs, maybe bison related :)
19:25 < chomp> mibocote, he'll get a warning about discarding the const
qualifier, that much is almost certain
19:25 < str1ngs> chomp: I'm not sure where to look here
19:25 < str1ngs> I can install bison and test with that
19:25 < mibocote> which I don't get on gcc 4.4.3, which makes me think that
gcc has changed how it handles that
19:25 < chomp> mibocote, yes but the problem is that str1ngs and he are
using exactly the same GCC
19:25 < chomp> one sees the warning, the other doesn't
19:26 < chomp> but that was my first thought oo.  and in fact if you turn on
-Wwrite-strings you will see the warning too
19:26 < rutkowski> mibocote: it build test.o just fine
19:26 < chomp> rutkowski, no warning?  o_O
19:26 < rutkowski> mibocote: ./test.o -> 'blah'
19:26 < rutkowski> naw
19:27 < str1ngs> rutkowski: chomp confirmed fails with bison 2.5
19:27 < chomp> but it's not necessarily bison's fault now
19:27 < chomp> because mibocote's code should have produced the warning
19:27 < rutkowski> well this is with bison 2.5
19:27 < chomp> it does the same thing, passes a string literal as a char*
argument
19:27 < chomp> bison doesn't enter the picture with that example
19:28 < chomp> in other words if mibocote's example built with no warning,
bison 2.5's output should too
19:28 < str1ngs> I suck at C why I use go :P
19:28 < chomp> funky.  i don't suppose you have muliple gcc installs.
19:28 < mibocote> try: echo -e "#include <stdio.h>\nvoid test(char* a)
{ printf(\"%s\",a); }\nint main() { test(\"blah\"); return 0; }" | gcc -Wall -o
test.o -xc -
19:28 < rutkowski> god no..
19:28 < chomp> go build could be using one version, $PATH another
19:28 < mibocote> I wonder if Wall includes there warning?
19:29 < chomp> Wall does not include it
19:29 < chomp> well hmm, maybe in that version
19:29 < mibocote> I know it shouldn't
19:29 < rutkowski> mibocote: worked as well
19:29 < mibocote> but I can't figure out why go gives teh warning but my
test doesn't
19:30 < mibocote> I also found this in the bugtracker and it looks like
bison is to blame: https://code.google.com/p/go/issues/detail?id=1843
19:30 < chomp> i saw that too
19:31 < chomp> weird
19:31 < chomp> it doesn't make sense though, still
19:31 < mibocote> scratching my head
19:32 < chomp> it has to be string literal -> char*, which maybe is
emitted by bison 2.5 and wasnt in earlier versions
19:32 < chomp> but that should obviously have consistent results in gcc
19:33 < chomp> i have deb unstable at home, im guessing i can pull bison 2.5
onto it check it out later
19:34 < chomp> rutkowski, could you try something else?  add -Werror back
but also add -Wno-write-strings
19:34 < chomp> i think if the solution for now were to add
-Wno-writer-strings to quietgcc.bash, that would be cleaner than hacking the sed
command
19:34 < rutkowski> chomp: ok one sec
19:35 < chomp> no-write-strings, gah.
19:36 < rutkowski> chomp: it failed miserably :)
19:36 < rutkowski> same way
19:36 < chomp> interesting indeed
19:38 < chomp> what is on line 5203 of y1.tab.c anyway
19:38 < chomp> err y.tab.c i guess
19:39 < rutkowski> yyerror (yymsgp);
19:39 < chomp> ahh
19:40 < mibocote> can you put your y1.tab.c on pastbin?  (runners of bison
2.5)
19:40 < chomp> makes sense, now the problem is that yymsg is a const char*,
not a string literal
19:40 < chomp> and that should be an error even without -Werror
19:41 -!- photron [~photron@port-92-201-221-51.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
19:48 < chomp> im building 2.5 now
19:52 < chomp> hah well look at that
19:54 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Quit: Leaving.]
19:57 -!- mnoel [~mnoel@c-75-65-250-60.hsd1.la.comcast.net] has quit [Read error:
Connection reset by peer]
19:58 -!- mnoel [~mnoel@c-75-65-250-60.hsd1.la.comcast.net] has joined #go-nuts
19:58 -!- Qvist_ [~erik@c-1ac3e455.05-294-6c6b701.cust.bredbandsbolaget.se] has
quit [Quit: Lost terminal]
20:00 < chomp> well, i can confirm that this is definitely a bug in bison
2.5.  a pretty ludicrous bug, too
20:00 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
20:00 -!- zcram [~zcram@95-153-6-105.cdma.dyn.kou.ee] has joined #go-nuts
20:01 < chomp> what's surprising is that it doesn't break even without
-Werror, because an implicit cast from const char* down to char* shouldn't be
legal
20:03 -!- snearch [~snearch@f053007058.adsl.alicedsl.de] has quit [Remote host
closed the connection]
20:06 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Quit: ZNC -
http://znc.sourceforge.net]
20:10 < mibocote> bug or convention change?
20:10 < chomp> actually i think this might count as a go bug
20:11 < chomp> there are lots of places where things should be treated as
const char*
20:11 < chomp> but aren't
20:11 < chomp> there's no reason, for example, why yyerror shouldnt be
declared as yyerror(const char* fmt, ...)
20:12 < chomp> and making that change cascades into a whole host of other
const qualification errors
20:12 < mibocote> heh
20:12 < chomp> lib9 has them too
20:12 < chomp> why does strecpy take a non-const source pointer, for example
20:12 < chomp> broken
20:12 -!- ExsysHost [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined
#go-nuts
20:15 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit
[Ping timeout: 252 seconds]
20:18 -!- alehorst [~alehorst@187.58.246.204] has quit [Quit: Leaving.]
20:18 -!- rutkowski [~adrian@078088213097.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
20:20 -!- piranha [~piranha@94.212.58.11] has quit [Quit: Computer has gone to
sleep.]
20:21 -!- ayo [~nya@fuld-590c7468.pool.mediaWays.net] has joined #go-nuts
20:24 -!- oal [~oal@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
20:24 -!- ako [~nya@fuld-590c6f4e.pool.mediaWays.net] has quit [Ping timeout: 250
seconds]
20:24 -!- rinzai [~Rinzai@host81-154-11-34.range81-154.btcentralplus.com] has
joined #go-nuts
20:29 -!- pamera [~Pam@c-76-102-255-99.hsd1.ca.comcast.net] has left #go-nuts []
20:30 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts
20:36 -!- ako [~nya@fuld-590c7589.pool.mediaWays.net] has joined #go-nuts
20:36 -!- aho [~nya@fuld-590c7468.pool.mediaWays.net] has quit [Disconnected by
services]
20:45 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has quit [Quit: leaving]
20:46 -!- ako [~nya@fuld-590c762d.pool.mediaWays.net] has joined #go-nuts
20:46 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has joined
#go-nuts
20:47 -!- Project_2501 [~Marvin@94.36.169.123] has quit [Quit: E se abbasso questa
leva che succ...]
20:47 -!- moraes [~moraes@187.39.145.158] has quit [Ping timeout: 240 seconds]
20:47 -!- aho [~nya@fuld-590c7589.pool.mediaWays.net] has quit [Ping timeout: 246
seconds]
20:50 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.]
20:50 -!- TheMue [~TheMue@p5DDF7261.dip.t-dialin.net] has quit [Quit: TheMue]
20:51 -!- ako [~nya@fuld-590c762d.pool.mediaWays.net] has quit [Ping timeout: 246
seconds]
20:52 -!- aho [~nya@fuld-590c76ac.pool.mediaWays.net] has joined #go-nuts
20:54 -!- hargettp_ [~hargettp_@dhcp-162.mirrorimage.net] has quit [Quit:
hargettp_]
20:57 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
20:58 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
21:07 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
21:07 -!- huin [~huin@91.85.171.238] has quit [Quit: Lost terminal]
21:08 -!- r_linux [~r_linux@smtp.mandique.com.br] has quit [Ping timeout: 240
seconds]
21:11 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 246
seconds]
21:20 -!- r_linux [~r_linux@smtp.mandique.com.br] has joined #go-nuts
21:31 -!- johnlockwood [~johnlockw@99.175.94.132] has quit [Quit: johnlockwood]
21:33 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:34 -!- chimes [~chimes@24.104.130.118] has quit [Quit: chimes]
21:39 -!- b33p [~mgray@li226-224.members.linode.com] has joined #go-nuts
21:42 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:42 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Quit:
Geek insinde®]
21:45 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
21:48 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Ping timeout: 244
seconds]
21:50 -!- imsplitbit [~imsplitbi@64.39.4.132] has quit [Quit: Bye!]
21:52 -!- rinzai [~Rinzai@host81-154-11-34.range81-154.btcentralplus.com] has quit
[Quit: Leaving]
21:59 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has quit [Remote
host closed the connection]
22:03 -!- Tuller [~tuller@c-69-143-48-210.hsd1.va.comcast.net] has joined #go-nuts
22:04 -!- Ekspluati [5b9c45e1@gateway/web/freenode/ip.91.156.69.225] has quit
[Quit: Page closed]
22:04 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 258
seconds]
22:07 -!- a2800276 [~a2800276@xdsl-78-35-233-175.netcologne.de] has quit [Ping
timeout: 250 seconds]
22:11 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit
[Quit: Leaving]
22:15 -!- Urtie [~kim@90-227-159-22-no57.tbcn.telia.com] has joined #go-nuts
22:16 < Urtie> Is there a way to make http.Error() stop padding the body
with "Chrome/IE would ignore this error page if this text weren't here." messages?
They don't look all that professional..
22:17 < Urtie> Other than padding my own message with a bunch of spaces or
something silly like that, that is
22:22 -!- bmizerany [~bmizerany@c-76-21-40-53.hsd1.ca.comcast.net] has joined
#go-nuts
22:23 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has quit [Ping timeout: 250
seconds]
22:24 -!- r_linux [~r_linux@smtp.mandique.com.br] has quit [Quit: going home...]
22:24 < str1ngs> Urtie: I would think you wan to create your own then see
something like http://golang.org/doc/codelab/wiki/#tmp_192
22:25 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has joined #go-nuts
22:26 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
22:28 < Urtie> str1ngs: The issue seems to be that the http package always
pads the error output if the http code is 4xx or 5xx, no matter if I use my own
error handler or not.  The errorKludge method in the http package.
22:31 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
276 seconds]
22:34 < str1ngs> Urtie: that might be intended.  I think the idea is to
present you own 404 etc either static of handler if you will
22:35 -!- bugQ [~bug@67.186.255.54] has joined #go-nuts
22:36 < str1ngs> but still I would think there would be a way to have a less
verbose error string . even if it is designed to by pass IE and chrome.  maybe
post to the ML
22:36 < Urtie> str1ngs: Yeah, I understand it's intended, but I would really
like to turn it off.  A static handler doesn't help, since the package seems to
check the return code and padding the output with that message if the return code
is 4xx or 5xx, no matter if you use their handlers or your own.  My issue is that
users can supply their own 404-files, and they're sometimes shorter than the
1024-byte limit.
22:36 < str1ngs> ah
22:36 < Urtie> I can either take their 404-files and pad them with 1024
bytes worth of spaces, which I'm doing now, or I can find a way to turn it off
22:37 < str1ngs> ok maybe ask on the ML. since I think maybe this is there
to make testing easier . but its not so production friendly in the process
22:37 < Urtie> Yes, it looked a little like "we'll stick this here for now,
and then revisit".
22:38 < str1ngs> I think so to
22:38 -!- eikenberry [~jae@ivanova.zhar.net] has joined #go-nuts
22:40 -!- bugQ [~bug@67.186.255.54] has quit [Ping timeout: 240 seconds]
22:45 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
22:46 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts
22:47 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has quit [Ping timeout: 240
seconds]
22:49 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
22:49 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
252 seconds]
22:49 -!- hargettp [~hargettp@pool-71-174-139-181.bstnma.east.verizon.net] has
joined #go-nuts
22:50 -!- tylerl [~tylerl@ip24-251-232-171.ph.ph.cox.net] has joined #go-nuts
22:53 -!- zcram [~zcram@95-153-6-105.cdma.dyn.kou.ee] has quit [Quit: Leaving]
22:55 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
22:56 -!- b33p [~mgray@li226-224.members.linode.com] has quit [Ping timeout: 244
seconds]
22:56 -!- kr [~Keith@204.14.152.118] has joined #go-nuts
22:58 -!- GeertJohan [~Squarc@D978EC5D.cm-3-1d.dynamic.ziggo.nl] has quit [Quit:
Leaving.]
23:00 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
260 seconds]
23:03 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
23:07 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
23:07 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping
timeout: 246 seconds]
23:11 -!- tncardoso [~thiago@189.59.196.250] has quit [Quit: bye]
23:12 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
260 seconds]
23:13 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X]
23:17 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
23:22 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
246 seconds]
23:30 -!- Tuller [~tuller@c-69-143-48-210.hsd1.va.comcast.net] has quit [Quit:
muffins]
23:32 -!- bug- [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
23:36 -!- exch [~exch@c74149.upc-c.chello.nl] has quit [Ping timeout: 240 seconds]
23:37 -!- bug- [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout:
250 seconds]
23:37 -!- Urtie [~kim@90-227-159-22-no57.tbcn.telia.com] has quit [Remote host
closed the connection]
23:39 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has quit [Ping timeout: 246
seconds]
23:42 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts
23:45 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts
23:46 -!- bubb [~AndChat@S01065cd9985ba2e7.va.shawcable.net] has joined #go-nuts
23:58 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 264 seconds]
--- Log closed Tue May 24 00:00:50 2011