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

--- Log opened Mon Oct 11 00:00:10 2010
00:00 < exch> what do you mean by that?
00:02 < strtok> i have an object called Dispatcher that receives a message
over a channel.  It then sets a local string to point to a slice in that message.
00:02 < strtok> later on, the string is no longer set to the slice
00:03 < strtok> now, there would be no reference anymore to the original
string this slice points to
00:03 < strtok> but i figured if the slice still has reference, the string
should be valid
00:03 < exch> If the value in that slice changed at some point, the string
will to.  In essence it's just a pointer to the string data
00:04 < strtok> hrm
00:04 < exch> At least that is what I would guess.  I'd have to try it out
to be sure
00:05 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-bbvoqizqaoegkelf]
has quit [Read error: Operation timed out]
00:05 -!- napsy [~luka@] has joined #go-nuts
00:05 < exch> hmm or not
00:06 < strtok> but strings are immutable
00:06 < exch> yes
00:06 < exch> nope.  the string assignment copies the string to the new
00:07 < exch> so changing the slice should not matter
00:08 * exch is puzzled
00:09 < strtok> http://pastebin.com/gTKg5Gg0
00:09 < strtok> the dis.ircPass and dis.ircNick are the assignments
00:10 < strtok> they're fine until Dispatch returns and is called again,
then they're empty once again
00:10 < exch> oh..  you are calling DispatchIRC() on a Value of Dispatcher.
It should be a pointer
00:11 < strtok> i just noticed that
00:11 < exch> Field changes do not persist, because DispatchIRC() operates
on a copy
00:11 < strtok> yes
00:11 < strtok> ugh
00:11 < strtok> i have that everywhere!:D
00:11 < exch> hehe
00:11 < strtok> thanks
00:12 < skelterjohn> one of the more common go bugs
00:14 < strtok> yeah
00:14 < strtok> a lot of the syntax is new
00:28 -!- yebyen [~yebyen@martyfunkhouser.csh.rit.edu] has joined #go-nuts
01:03 -!- mikespook [~mikespook@] has joined #go-nuts
01:05 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:08 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
01:11 -!- nsf [~nsf@jiss.convex.ru] has quit [Client Quit]
01:11 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
01:23 -!- Project_2501 [~Marvin@] has quit [Quit: E se abbasso questa
leva che succ...]
01:40 -!- emmanueloga [~emmanuelo@] has joined #go-nuts
01:41 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-ifyhcqmrqhbpbthh]
has joined #go-nuts
02:05 -!- napsy [~luka@] has quit [Ping timeout: 264 seconds]
02:23 -!- nettok [~quassel@] has joined #go-nuts
02:25 -!- nettok [~quassel@] has left #go-nuts []
02:26 -!- nettok_ [~quassel@] has joined #go-nuts
02:36 -!- jsquared_ [~jjenkins@pool-108-21-231-66.nycmny.fios.verizon.net] has
joined #go-nuts
02:42 -!- lmoura__ [~lauromour@] has joined #go-nuts
02:42 -!- lmoura_ [~lauromour@] has quit [Read error: Operation timed
02:52 < plexdev> http://is.gd/fW3O3 by [Andrew Gerrand] in go/src/pkg/time/
-- time: add After
03:00 -!- lmoura_ [~lauromour@] has joined #go-nuts
03:03 -!- lmoura__ [~lauromour@] has quit [Ping timeout: 245 seconds]
03:04 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:05 -!- napsy [~luka@] has joined #go-nuts
03:13 -!- nettok_ [~quassel@] has left #go-nuts []
03:26 -!- Cyprien__ [~Cyprien@100-70.78-83.cust.bluewin.ch] has joined #go-nuts
03:28 -!- Cyprien_ [~Cyprien@248-23.79-83.cust.bluewin.ch] has quit [Ping timeout:
240 seconds]
03:33 -!- jsquared_ [~jjenkins@pool-108-21-231-66.nycmny.fios.verizon.net] has
left #go-nuts []
03:35 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts
03:43 -!- lmoura__ [~lauromour@] has joined #go-nuts
03:44 < SirPsychoS> is there any interest in / use for libcurl bindings for
Go? or is there some equivalent functionality I'm overlooking in the standard
package library?
03:45 -!- lmoura_ [~lauromour@] has quit [Ping timeout: 245 seconds]
03:59 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
04:00 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts
04:04 -!- 30BAAAUB0 [~kirill@net089023017079.pskovline.ru] has quit [Remote host
closed the connection]
04:10 -!- lmoura_ [~lauromour@] has joined #go-nuts
04:11 -!- lmoura__ [~lauromour@] has quit [Read error: Connection
reset by peer]
04:16 < uriel> SirPsychoS: there is equivalent functionality in the http
04:16 < uriel> but there are libcurl bindings too, I think, check
04:17 < uriel> hmmmmm...  or maybe not there, I think I have seen it at some
04:17 < uriel> let me know if you find/make them, and I will add them there
04:19 -!- EthanG [~none@sourcemage/guru/eekee] has quit [Ping timeout: 245
04:26 -!- b00m_chef [~watr@] has joined #go-nuts
04:28 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
04:32 -!- bookses [~John@] has joined #go-nuts
04:32 -!- bookses [~John@] has left #go-nuts []
04:40 -!- ExtraSpice [~XtraSpice@] has joined #go-nuts
04:43 < SirPsychoS> heh, go-lang.cat-v.org was the second place I looked for
libcurl bindings (only after golang.org)
04:43 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
04:44 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Client
04:46 -!- lmoura__ [~lauromour@] has joined #go-nuts
04:48 -!- lmoura_ [~lauromour@] has quit [Ping timeout: 240 seconds]
04:54 -!- lmoura__ [~lauromour@] has quit [Read error: Connection
reset by peer]
04:54 -!- lmoura_ [~lauromour@] has joined #go-nuts
04:56 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Quit: Morten.  Desu~]
05:00 -!- scm [scm@d071105.adsl.hansenet.de] has quit [Ping timeout: 264 seconds]
05:00 -!- b00m_chef [~watr@] has quit [Ping timeout: 240 seconds]
05:01 -!- scm [scm@d070116.adsl.hansenet.de] has joined #go-nuts
05:01 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
05:02 -!- lmoura_ [~lauromour@] has joined #go-nuts
05:04 -!- napsy [~luka@] has quit [Ping timeout: 255 seconds]
05:07 -!- fabled [~fabled@mail.fi.jw.org] has joined #go-nuts
05:24 -!- lmoura__ [~lauromour@] has joined #go-nuts
05:24 -!- lmoura_ [~lauromour@] has quit [Read error: Connection reset
by peer]
05:30 -!- lmoura__ [~lauromour@] has quit [Read error: Connection
reset by peer]
05:31 -!- lmoura__ [~lauromour@] has joined #go-nuts
05:33 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has joined
05:38 -!- lmoura__ [~lauromour@] has quit [Ping timeout: 245 seconds]
05:39 -!- lmoura__ [~lauromour@] has joined #go-nuts
05:41 -!- Cyprien__ [~Cyprien@100-70.78-83.cust.bluewin.ch] has quit [Ping
timeout: 240 seconds]
05:42 -!- lmoura__ [~lauromour@] has quit [Read error: Connection
reset by peer]
05:42 -!- lmoura_ [~lauromour@] has joined #go-nuts
05:44 -!- aho [~nya@fuld-4d00d57e.pool.mediaWays.net] has quit [Quit:
05:45 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has joined #go-nuts
05:46 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte]
05:49 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
05:50 -!- sacho [~sacho@] has quit [Ping timeout: 276 seconds]
05:50 -!- lmoura_ [~lauromour@] has joined #go-nuts
05:55 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
05:58 -!- lmoura_ [~lauromour@] has joined #go-nuts
06:05 -!- lmoura_ [~lauromour@] has quit [Ping timeout: 245 seconds]
06:05 -!- napsy [~luka@] has joined #go-nuts
06:05 -!- gabriel9 [~gabriel9@] has quit [Remote host closed the
06:05 -!- lmoura_ [~lauromour@] has joined #go-nuts
06:11 -!- gabriel9 [~gabriel9@] has joined #go-nuts
06:11 -!- gabriel9 [~gabriel9@] has quit [Remote host closed the
06:11 -!- gabriel9 [~gabriel9@] has joined #go-nuts
06:15 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
06:17 -!- NachnaOndaNei [~AtlasSold@unaffiliated/atlassoldier] has joined #go-nuts
06:17 < NachnaOndaNei> party time!
06:17 * NachnaOndaNei dances
06:18 < AtlasSoldier> You guys is boring, yo.
06:18 -!- AtlasSoldier [~AtlasSold@unaffiliated/atlassoldier] has left #go-nuts []
06:18 -!- lmoura_ [~lauromour@] has joined #go-nuts
06:22 -!- rlab [~Miranda@] has joined #go-nuts
06:23 < SirPsychoS> 01:20am < NachnaOndaNei> party time!  <- makes
me wonder whether #go-nuts is the best name for this channel, due to the possible
confusion of people who actually wish to go nuts
06:24 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts
06:24 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
06:24 < Bombe> :)
06:25 -!- lmoura_ [~lauromour@] has joined #go-nuts
06:26 -!- lmoura_ [~lauromour@] has quit [Read error: Connection
reset by peer]
06:29 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
06:30 -!- lmoura_ [~lauromour@] has joined #go-nuts
06:32 -!- ikaros_ [~ikaros@2001:41b8:9bf:fe04:f45f:48ff:fe4b:a217] has joined
06:46 -!- rlab [~Miranda@] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
06:58 -!- napsy [~luka@] has quit [Quit: Lost terminal]
07:00 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has quit [Quit: Computer
has gone to sleep]
07:06 -!- Cyprien__ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
07:08 -!- mikespook1 [~mikespook@] has joined #go-nuts
07:09 -!- mikespook [~mikespook@] has quit [Ping timeout: 276 seconds]
07:09 -!- ucasano [~ucasano@] has joined #go-nuts
07:10 -!- araujo [~araujo@] has joined #go-nuts
07:10 -!- araujo [~araujo@] has quit [Changing host]
07:10 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
07:16 -!- Fish [~Fish@] has joined #go-nuts
07:30 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has left #go-nuts []
07:51 -!- wjlroe [~will@] has joined #go-nuts
08:16 -!- ucasano [~ucasano@] has quit [Quit: ucasano]
08:17 -!- ucasano [~ucasano@] has joined #go-nuts
08:18 -!- ronnyy [~quassel@p4FF1CCB6.dip.t-dialin.net] has joined #go-nuts
08:30 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
08:30 -!- mduft [~mduft@] has joined #go-nuts
08:30 -!- mduft [~mduft@] has quit [Changing host]
08:30 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
08:41 -!- emmanueloga [~emmanuelo@] has quit [Read error: Operation
timed out]
08:43 -!- wrtp [~rog@] has joined #go-nuts
08:47 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
08:48 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 250
08:54 -!- ikaros_ [~ikaros@2001:41b8:9bf:fe04:f45f:48ff:fe4b:a217] has quit [Quit:
Leave the magic to Houdini]
09:00 -!- tvw [~tv@] has joined #go-nuts
09:11 -!- Fish [~Fish@] has quit [Ping timeout: 272 seconds]
09:14 -!- scyth [~scyth@rots.in.rs] has quit [Quit: Leaving]
09:17 -!- Kylarr [Kylarr@122-148-63-115.static.dsl.dodo.com.au] has quit []
09:19 -!- Fish [~Fish@] has joined #go-nuts
09:25 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
09:28 < jnwhiteh> I am writing a library that a number of executables
(commands) will need, and I'm developing them side-by-side.  What sort of
build/make process would you guys use in a situation like that?
09:31 -!- mikespook1 [~mikespook@] has quit [Quit: Leaving.]
09:40 < SirPsychoS> jnwhiteh: I'm facing this same issue at the moment, and
what I'm doing (not sure if it's an acceptable solution or not) is having the
Makefiles for the commands add dependencies on
09:40 < jnwhiteh> I'm trying to avoid building anything to GOROOT during
09:40 < jnwhiteh> since it seems to me that I shouldn't need to =/
09:40 < SirPsychoS> I haven't found any way to avoid that
09:40 < jnwhiteh> I have a makefile that supports this, I just dont like
doing things in an idiomatic way.
09:41 < SirPsychoS> I couldn't get the Make.cmd makefiles to properly link
my own packages unless they were in $GOROOT
09:41 < jnwhiteh> I'm not using Make.cmd for that reason
09:41 -!- ronnyy [~quassel@p4FF1CCB6.dip.t-dialin.net] has quit [Ping timeout: 255
09:42 < SirPsychoS> well that works, although I don't really see why
Make.cmd doesn't handle packages rooted in ./pkg, or wherever else
09:42 < jnwhiteh> if they're properly namespaced, I agree.
09:42 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Remote host
closed the connection]
09:42 < jnwhiteh> I'm sure there's a reason, I just dunno what it is.
09:42 < jnwhiteh> there was a topic recently on the mailing list, I'm just
not sure where that thread is now.
09:43 < SirPsychoS> as far as I can tell, though, you're expected to install
every package you use into $GOROOT
09:43 -!- ucasano [~ucasano@] has quit [Quit: ucasano]
09:44 < SirPsychoS> and I guess I can see the benefits of that, but I'm not
sure I like it - what if you've got packages that are really only useful for one
executable, for example
09:44 < jnwhiteh> I think the concern came from what happens when two
packages conflict
09:44 < jnwhiteh> i.e.  if you have a regexp package, which one gets
09:44 < jnwhiteh> err linked in
09:45 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
09:45 < jnwhiteh> lemme see if I can find that thread, it may be on another
09:45 < wrtp> SirPsychoS: Make.cmd works fine for code outside $GOROOT
09:45 < wrtp> you have to include $GOROOT/src/Make.cmd
09:45 < wrtp> not ../../Make.cmd
09:45 < SirPsychoS> wrtp: yeah, I know it compiles things properly
09:46 < wrtp> sorry, i thought that was your problem
09:46 < jnwhiteh> wrtp: it does not work if you want to link against a
package that is local, not global.
09:46 < SirPsychoS> but it can't seem to link in packages that aren't
goinstall-ed or (make install)ed
09:46 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 245 seconds]
09:46 < wrtp> i see
09:46 < SirPsychoS> yes, what jnwhiteh said
09:46 < wrtp> you're right, packages are assumed to be installed under
09:47 < wrtp> but why not?  it's not much of a hardship
09:47 < jnwhiteh> and I would say that packages don't need to be installed,
they can be linked into the executable just fine
09:47 < jnwhiteh> it just bothers me in principle =)
09:47 < wrtp> which principle is that :-)
09:47 < jnwhiteh> and changes my development in a bad way
09:47 < wrtp> ?
09:47 < SirPsychoS> I agree, it's not much of a hardship, and I've got my
Makefile working such that I can deal with it
09:48 < jnwhiteh> I don't like having to make install one thing so I can
make another thing
09:48 < jnwhiteh> what if I have a stable version of the package installed
in my GOROOT
09:48 < jnwhiteh> and want to test changes to it without disrupting that
stable version
09:48 < jnwhiteh> I then have to change my target in my makefile in order to
do that
09:48 < jnwhiteh> that seems silly
09:48 < jnwhiteh> I should be able to write code and test in isolation until
the point where I want to install the files.
09:48 < wrtp> i think that seems quite sensible actually
09:49 < wrtp> you change the target to something temporary
09:49 < wrtp> i.e.  temporarily forking the original version of the package
09:49 < jnwhiteh> why should I have to change anything?
09:49 < jnwhiteh> why can't "make" and "make install" be distinct?
09:49 < jnwhiteh> or rather, why shouldn't.
09:50 < wrtp> you need some way of distinguishing between different versions
of a package
09:50 < SirPsychoS> or: if I want to make a command that has gotest-testable
components (aka components that aren't allowed to be in package main), so most of
the code is in a package that is literally only useful for that command, then I
have to goinstall or make install that package into $GOROOT, even though it really
doesn't belong there
09:50 < wrtp> they are distinct
09:50 < jnwhiteh> wrtp: when finished, yes..  during development its just a
09:50 < jnwhiteh> I can write my own makefile that does this, I just fail to
see why it can't be supported.
09:50 < jnwhiteh> its not difficult
09:51 < soul9> i like it, everything is confined in *one* directory
09:51 < jnwhiteh> sure, for _INSTALLED_ files
09:51 < jnwhiteh> but that's not what I am talking about here
09:51 < jnwhiteh> and my source is already in another directory
09:51 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
09:51 < soul9> so just replace the libraries in your src/pkg
09:51 < jnwhiteh> I'm just asking that I be able to use files from the
directory I am already in
09:51 < wrtp> i don't see that changing one string at the top of the file
and one in the makefile is a great hardship
09:51 < jnwhiteh> its not
09:52 < jnwhiteh> but I fail to see any argument here for why what I'm
asking about can't be supported.
09:52 < soul9> you can, just do import "./pkg"
09:52 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
09:52 < soul9> or even "./dir/pkg"
09:52 < SirPsychoS> won't that import $GOROOT/pkg/$GOOS_$GOARCH/./pkg?
09:52 < soul9> no, it won't
09:53 < SirPsychoS> I could've sworn I tried that...
09:53 < soul9> not hard enough ;)
09:53 -!- Cyprien__ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 240
09:53 -!- ucasano [~ucasano@] has joined #go-nuts
09:53 < wrtp> personally, i keep a pseudo domain for test forks of packages.
then it installs there, but doesn't affect anything else
09:55 < wrtp> one problem with using local versions of globally available
packages is that there can be a conflict if some other package has linked against
the original version (which has the same path).  using a unique path gets around
that problem
09:56 < jnwhiteh> Aye, I understand that difficulty.
09:56 < jnwhiteh> my work is a bit bizarre, the packages I work on are never
installed *shrug*
09:57 < wrtp> do you mean "i never install them" or "nobody else installs
09:57 < jnwhiteh> both
09:57 < soul9> so just include them in your source and import
"./lib/foo/_obj/pkg" or something
09:57 < jnwhiteh> soul9: I have my makefile set up so I don't have to do
that, but yes, that is an option.
09:57 < wrtp> just install them.  i really don't see the problem in having
some object files in a directory under $GOROOT
09:58 < soul9> there still is no make uninstall
09:58 < soul9> which sucks imho
09:58 < soul9> everything is pooped all over by stale object files
09:58 < jnwhiteh> wrtp: I don't need my development 'crap' going into my go
09:58 < SirPsychoS> soul9: heh, I wrote my own
09:58 < jnwhiteh> I need stuff in one place, so that is how I'm developing.
09:59 < SirPsychoS> wow, it does in fact work
09:59 < SirPsychoS> never tried "./pkgname/_obj/packagename"
10:00 * SirPsychoS slaps SirPsychoS
10:00 * soul9 slaps SirPsychoS
10:00 < wrtp> jnwhiteh: but go keeps things nicely separated.  so even if
your dev stuff is under $GOROOT, it's still not really mixed up with the core
10:01 < SirPsychoS> wrtp: when I goinstall something, it gets dumped
straight in $GOROOT/pkg/linuxwhatever/
10:01 < soul9> of course it's not, just in pkg/os_arch/
10:01 < SirPsychoS> which is where all the included packages are as well,
10:01 < wrtp> SirPsychoS: $GOROOT/pkg/os_arch/install_path_root/....
10:02 < jnwhiteh> you can disagree with the way I choose to do my
development, but I really don't think its an unreasonable thing to want to do
10:02 < wrtp> the point is that install_path_root is unique for your stuff
10:02 < soul9> jnwhiteh: we just showed you a way to do it.
10:02 < jnwhiteh> soul9: I know, I'm not talking to you =)
10:02 < SirPsychoS> jnwhiteh: the new solution in light of the 'import
"./pkg/_obj/pkg"' method can be implemented fairly easily
10:02 < jnwhiteh> yes, again guys
10:03 < jnwhiteh> I already HAD a solution
10:03 < soul9> so you want *two* ways of doing it
10:03 < jnwhiteh> its worked perfectly for quite some time
10:03 < soul9> ah, then three
10:03 < jnwhiteh> soul9: no
10:03 < jnwhiteh> I was asking.
10:03 < jnwhiteh> a simple question
10:03 < soul9> sorry
10:03 < jnwhiteh> that doesn't indicate a demand or desire
10:03 * soul9 reads the backlog and slaps himself
10:03 < wrtp> you could do ln -s $HOME/path/to/my/tmp/obj/direct
10:03 < soul9> 11:54 jnwhiteh: I'm just asking that I be able to use files
from the directory I am already in
10:04 < SirPsychoS> jnwhiteh: what you're wishing for is a way to both use
local packages and use Make.cmd, right?
10:04 < jnwhiteh> soul9: yes, and I already have solutions for that.
10:04 < soul9> ah
10:04 < jnwhiteh> my original question was how people handled this sort of
10:04 < jnwhiteh> I personally dont' like having to install everything to
GOROOT for every single compilation
10:04 < SirPsychoS> ah, well I'm about to redefine how I handle it, lol
10:04 < jnwhiteh> but that's just me
10:04 < jnwhiteh> and there are alternatives
10:04 < jnwhiteh> so that works out.
10:04 < soul9> i just do import normalpkgname "/path/to/pkg/obj"
10:05 < wrtp> you don't like it because...  why?
10:05 -!- Project_2501 [~Marvin@] has joined #go-nuts
10:05 < jnwhiteh> because I don't.
10:05 < wrtp> ok, good reason
10:05 < jnwhiteh> Last time I checked this wasn't a hostile confrontation
10:05 < jnwhiteh> I don't see why I need to justify my personal development
decisions to you?
10:06 < jnwhiteh> I'm not sure why you're being so confrontational about the
whole topic, honestly.
10:07 < SirPsychoS> jnwhiteh: the (new) what I handle it is to make a
standard Make.cmd makefile, and prepend to it 'targetname:
-C includedpackage'
10:07 < SirPsychoS> err, that's entirely unreadable...  sorry
10:07 < jnwhiteh> lol
10:08 < SirPsychoS> anyway, just add a dependency on the .a file you need,
then define that target to call make recursively on the package directory
10:10 -!- napsy [~luka@] has joined #go-nuts
10:11 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
10:12 -!- skejoe [~skejoe@] has joined #go-nuts
10:12 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Client Quit]
10:13 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has joined #go-nuts
10:14 < SirPsychoS> although it would be much easier if we could just have a
way to coerce Make.cmd to pass a -I flag to 6g
10:15 < SirPsychoS> and -L to 6l
10:15 < jnwhiteh> I'd even take a rigid directory structure and
DEPLOCAL_PKGS or something like that, but I'll just keep happily doing what I'm
10:34 -!- virtualsue [~chatzilla@nat/cisco/x-ztspaglmcknqxgqh] has joined #go-nuts
10:36 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
10:36 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
10:42 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
10:43 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
10:53 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
10:55 -!- ucasano [~ucasano@] has quit [Ping timeout: 265 seconds]
10:57 -!- gabriel9 [~gabriel9@] has quit [Ping timeout: 264 seconds]
11:01 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 260
11:06 -!- virtualsue [~chatzilla@nat/cisco/x-ztspaglmcknqxgqh] has quit [Ping
timeout: 276 seconds]
11:06 -!- napsy [~luka@] has quit [Ping timeout: 245 seconds]
11:07 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
11:07 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
11:08 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Remote host
closed the connection]
11:09 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
11:13 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping
timeout: 276 seconds]
11:25 -!- gmurphy [~gmurphy@203-206-29-72.dyn.iinet.net.au] has joined #go-nuts
11:26 -!- gmurphy [~gmurphy@203-206-29-72.dyn.iinet.net.au] has left #go-nuts []
11:39 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
11:42 -!- gabriel9 [~gabriel9@] has joined #go-nuts
11:55 -!- gabriel9 [~gabriel9@] has quit [Ping timeout: 264 seconds]
11:57 -!- gabriel9 [~gabriel9@] has joined #go-nuts
12:02 -!- ProNihilist
[~anathema@cpc4-cani1-0-0-cust597.14-2.cable.virginmedia.com] has left #go-nuts []
12:03 -!- niemeyer [~niemeyer@200-102-196-209.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
12:07 < wrtp> jnwhiteh: sorry, i didn't want to sound hostile
12:08 -!- napsy [~luka@] has joined #go-nuts
12:08 < wrtp> it's just that there are many design decisions in go that are
made for good reason, and it's not that helpful if the only reason for arguing
against them is just "because."
12:09 -!- niemeyer_ [~niemeyer@201-40-152-123.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
12:12 -!- niemeyer [~niemeyer@200-102-196-209.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 245 seconds]
12:17 -!- virtualsue [~chatzilla@nat/cisco/x-hlgwpkypsmcgqlng] has joined #go-nuts
12:18 -!- rlab [~Miranda@] has joined #go-nuts
12:30 -!- gabriel9 [~gabriel9@] has quit [Ping timeout: 276 seconds]
12:38 -!- skejoe [~skejoe@] has quit [Quit: Lost terminal]
12:50 -!- gabriel9 [~gabriel9@] has joined #go-nuts
12:54 -!- DerHorst [~Horst@e176106004.adsl.alicedsl.de] has joined #go-nuts
13:04 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined
13:08 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
13:12 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
13:13 -!- wrtp [~rog@] has quit [Ping timeout: 245 seconds]
13:14 -!- snearch [~snearch@f053001217.adsl.alicedsl.de] has joined #go-nuts
13:20 -!- wrtp [~rog@] has joined #go-nuts
13:20 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
13:21 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Ping
timeout: 260 seconds]
13:21 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Read error: Connection
reset by peer]
13:22 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
13:26 -!- sacho [~sacho@] has joined #go-nuts
13:26 -!- l00t [~i-i3id3r_@] has quit [Remote host closed the
13:31 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
13:33 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
13:36 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
13:36 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
13:46 -!- prip [~foo@host247-125-dynamic.36-79-r.retail.telecomitalia.it] has quit
[Quit: Leaving]
13:55 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:58 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
14:06 -!- artefon [~thiago@] has joined #go-nuts
14:06 -!- napsy [~luka@] has quit [Ping timeout: 240 seconds]
14:07 -!- napsy [~luka@] has joined #go-nuts
14:11 -!- snearch [~snearch@f053001217.adsl.alicedsl.de] has quit [Quit:
14:13 -!- gabriel9 [~gabriel9@] has quit [Read error: Connection
reset by peer]
14:15 -!- gabriel9 [~gabriel9@] has joined #go-nuts
14:17 < jnwhiteh> wrtp: Well I understand that, but I had already given a
number of reasons why.  You were asking why I choose to do development that way,
and me answering _THAT_ question isn't productive to the discussion at all.
14:17 < jnwhiteh> The fact of the matter is I prefer to keep all of my
projects in their own little world, with a stock Go world on the outside that
helps me run my little world.  I do precisely the same thing when working with
dynamic scripting languages, and as often as possible even with C-like projects.
14:18 < jnwhiteh> Either way, no hard feelings and thank you for the
14:20 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
14:23 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Remote host
closed the connection]
14:27 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 260
14:36 -!- ExtraSpice [~XtraSpice@] has quit [Quit: Leaving]
14:42 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 245 seconds]
14:42 < plexdev> http://is.gd/fXbzt by [Adam Langley] in
go/src/pkg/crypto/tls/ -- crypto/tls: better error messages for certificate
14:42 < plexdev> http://is.gd/fXbzJ by [Adam Langley] in
go/src/pkg/crypto/tls/ -- crypto/tls: make SetReadTimeout work.
14:43 -!- nickaugust [~nickaugus@li181-40.members.linode.com] has quit [Quit:
14:43 -!- iant [~iant@] has joined #go-nuts
14:43 -!- mode/#go-nuts [+v iant] by ChanServ
14:44 -!- nickaugust [~nickaugus@li181-40.members.linode.com] has joined #go-nuts
14:44 -!- awidegreen [~quassel@] has joined #go-nuts
15:06 -!- emmanueloga [~emmanuelo@] has joined #go-nuts
15:07 -!- napsy [~luka@] has quit [Read error: Operation timed out]
15:08 -!- napsy [~luka@] has joined #go-nuts
15:14 -!- littlebobby [~bob@unaffiliated/littlebobby] has joined #go-nuts
15:14 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
15:17 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 264
15:21 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts
15:22 -!- kanru [~kanru@118-168-232-124.dynamic.hinet.net] has joined #go-nuts
15:22 -!- araujo [~araujo@] has joined #go-nuts
15:22 -!- araujo [~araujo@] has quit [Changing host]
15:22 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
15:26 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 260 seconds]
15:27 -!- idr [~idr@g225020014.adsl.alicedsl.de] has joined #go-nuts
15:27 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
15:32 -!- Fish [~Fish@] has quit [Remote host closed the connection]
15:32 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts
15:33 -!- Fish9 [~Fish@] has joined #go-nuts
15:36 < nickaugust> 8l is returning this error:
15:36 < nickaugust> augo.Index: undefined: runtime.catstring
15:37 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts
15:40 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has joined #go-nuts
15:43 -!- gnuvince1 [~vince@] has joined #go-nuts
15:43 -!- gnuvince [~vince@] has quit [Ping timeout: 240 seconds]
15:45 -!- gnuvince_ [~vince@] has quit [Remote host closed the
15:45 -!- gnuvince [~vince@] has joined #go-nuts
15:46 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
15:46 -!- zerd [~quassel@tor.zerd.net] has quit [Read error: Connection reset by
15:46 -!- zerd [~quassel@tor.zerd.net] has joined #go-nuts
15:46 -!- sahid_ [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined
15:46 -!- jgh- [~jgh-@bas2-toronto61-2925080400.dsl.bell.ca] has joined #go-nuts
15:47 < nickaugust> hmmmmmmm...  wtf
15:47 -!- jgh- [~jgh-@bas2-toronto61-2925080400.dsl.bell.ca] has left #go-nuts []
15:47 -!- gabriel9 [~gabriel9@] has quit [Remote host closed the
15:47 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Ping timeout: 260 seconds]
15:47 -!- gabriel9 [~gabriel9@] has joined #go-nuts
15:48 -!- Cyprien_ [~Cyprien@pub1.heig-vd.ch] has quit [Ping timeout: 250 seconds]
15:51 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Read error:
Connection reset by peer]
15:52 -!- niemeyer [~niemeyer@201-40-152-123.pltce701.dsl.brasiltelecom.net.br]
has quit [Read error: Connection reset by peer]
15:53 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping
timeout: 240 seconds]
15:55 -!- DerHorst [~Horst@e176106004.adsl.alicedsl.de] has quit [Remote host
closed the connection]
15:56 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
15:57 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
15:58 -!- virtualsue [~chatzilla@nat/cisco/x-hlgwpkypsmcgqlng] has quit [Ping
timeout: 264 seconds]
16:01 -!- niemeyer [~niemeyer@201-40-152-123.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
16:01 -!- SirPsychoS [~sp@mobile-111-178.near.uiuc.edu] has joined #go-nuts
16:03 -!- skejoe [~skejoe@] has joined #go-nuts
16:03 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has left #go-nuts []
16:06 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has joined #go-nuts
16:09 -!- kanru [~kanru@118-168-232-124.dynamic.hinet.net] has quit [Ping timeout:
250 seconds]
16:13 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
16:14 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
16:16 -!- ericvh [~ericvh@dsl081-167-067.sea1.dsl.speakeasy.net] has joined
16:16 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has joined #go-nuts
16:18 -!- ericvh [~ericvh@dsl081-167-067.sea1.dsl.speakeasy.net] has left #go-nuts
16:28 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
16:28 -!- tvw [~tv@] has quit [Read error: Connection reset by peer]
16:28 -!- SirPsychoS [~sp@mobile-111-178.near.uiuc.edu] has quit [Read error:
Operation timed out]
16:31 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has joined #go-nuts
16:39 -!- sahid_ [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
16:40 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
16:53 < wrtp> nickaugust: rebuild from scratch, and make sure you haven't
left any old object files around.
16:53 -!- Venom_X [~pjacobs@] has joined #go-nuts
16:53 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:00 -!- rlab [~Miranda@] has quit [Ping timeout: 264 seconds]
17:01 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has joined
17:02 -!- cco3-hampster [~conleyo@nat/google/x-dlmqrdamihzyrnjr] has joined
17:02 -!- wrtp [~rog@] has quit [Quit: wrtp]
17:03 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Read error:
Connection reset by peer]
17:04 -!- dacc [~Adium@c-67-171-32-251.hsd1.wa.comcast.net] has quit [Quit:
17:04 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts
17:04 -!- rlab [~Miranda@] has joined #go-nuts
17:04 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat]
17:05 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
17:06 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
17:10 -!- tasosos [~tasosos@] has joined #go-nuts
17:14 -!- Cyprien_ [~Cyprien@100-70.78-83.cust.bluewin.ch] has joined #go-nuts
17:15 < plexdev> http://is.gd/fXnUL by [Russ Cox] in go/ -- CONTRIBUTORS:
link sam.thorogood@gmail.com for code review
17:15 < plexdev> http://is.gd/fXnUQ by [Sam Thorogood] in go/src/pkg/expvar/
-- expvar: add (*Int).Set
17:16 -!- Cyprien_ [~Cyprien@100-70.78-83.cust.bluewin.ch] has quit [Read error:
Connection reset by peer]
17:18 -!- prip [~foo@host247-125-dynamic.36-79-r.retail.telecomitalia.it] has
joined #go-nuts
17:24 -!- tvw [~tv@e176000205.adsl.alicedsl.de] has joined #go-nuts
17:32 -!- photron [~photron@port-92-201-255-234.dynamic.qsc.de] has joined
17:35 -!- gabriel9 [~gabriel9@] has quit [Read error: Connection
reset by peer]
17:37 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit:
17:38 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined
17:38 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Read error:
Operation timed out]
17:43 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
17:45 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
17:48 -!- tvw [~tv@e176000205.adsl.alicedsl.de] has quit [Ping timeout: 240
18:11 -!- rlab_ [~Miranda@] has joined #go-nuts
18:13 -!- rlab [~Miranda@] has quit [Ping timeout: 276 seconds]
18:14 -!- napsy [~luka@] has quit [Ping timeout: 260 seconds]
18:18 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
18:21 -!- gabriel9 [~gabriel9@] has joined #go-nuts
18:21 -!- wrtp [~rog@] has joined #go-nuts
18:32 < plexdev> http://is.gd/fXtDI by [Russ Cox] in go/ -- A+C: Jim McGrath
(individual CLA)
18:40 -!- tav [~tav@] has quit [Ping timeout: 245 seconds]
18:41 -!- dacc [~Adium@D-128-95-10-171.dhcp4.washington.edu] has joined #go-nuts
18:42 -!- napsy [~luka@] has joined #go-nuts
18:45 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
18:46 -!- tav [~tav@] has joined #go-nuts
18:49 < plexdev> http://is.gd/fXuRY by [Jim McGrath] in go/src/cmd/ld/ --
6l: fix Mach-O LC_RPATH
18:49 < plexdev> http://is.gd/fXuSa by [Jim McGrath] in go/src/cmd/ld/ --
6l: correct offset for __nl_symbol_ptr in Mach-O.
18:50 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
18:54 -!- gchoat [~gchoat@pixout.appriss.com] has joined #go-nuts
18:55 -!- gchoat [~gchoat@pixout.appriss.com] has left #go-nuts []
19:00 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined
19:05 < Xenith> Does Go have a dynamic loading mechanism for
19:05 -!- matti_ [~mumboww@c-98-207-108-218.hsd1.ca.comcast.net] has joined
19:05 < nsf> Xenith: currently no
19:06 < Xenith> Ah. Planned feature down the road sometime maybe?
19:07 < skelterjohn> definitely
19:07 < skelterjohn> critical thing to have, in general.  go is in the early
stages, though.
19:08 < anticw> is it critical?
19:08 < anticw> plan9 doesn't have it
19:08 < skelterjohn> both of those statements are just in my opinion, of
19:08 < anticw> certainly you could fudge something now w/ gccgo and a
little effort i think
19:09 < Xenith> I dunno about critical, but more useful than not, certainly.
19:10 < anticw> iant: has anyone tried dlopen w/ gccgo?
19:11 < nsf> gccgo actually supports shared objects, as far as I know
19:11 < Xenith> How's gccgo coming along?  I haven't tried it yet since its
not in any gcc release, and I'm too lazy to compile gcc at the moment.
19:12 -!- ronnyy [~quassel@p4FF1CCB6.dip.t-dialin.net] has joined #go-nuts
19:12 < napsy> Xenith: it's scheduled to be released together with gcc 4.6
19:12 < anticw> nsf: it's working very well here
19:13 < anticw> i update 2-3 times a week and usually don't see any
problems, the biggest issue for me now is the ...  changes in 6g
19:13 < nsf> last time I tried gccgo
19:13 < nsf> its std library was out-dated
19:14 < anticw> it's updated from time to time, it's not too bad now
19:14 < nsf> and apparently supporting two compilers for a Go project isn't
fun, because Go changes rapidly
19:14 < nsf> maybe later in future it will be ok
19:14 < nsf> when std lib will be more solid
19:14 < nsf> as well as the language itself
19:14 < anticw> it's really not that bad, iant updates it enough to keep it
quite usable
19:15 < anticw> certainly xml, http, gzip, json, net, etc all work well
enough i can use either compiler just fine
19:15 < nsf> well, that's just my experience trying it out
19:15 < nsf> I wasn't able to compile gocode with gccgo
19:15 < anticw> oh god, i just publically admitted to using xml ...  ill me
19:15 < anticw> kill
19:17 < nsf> don't worry a lot of people use xml
19:18 < anticw> a lot of flies eat shit, that's hardly an endorsement
19:18 < nsf> http://code.google.com/p/obkey/ <- I've acutally ended up
writing a program that serves as a GUI to an XML-based config format
19:18 < nsf> well, XML is not that bad
19:19 < nsf> XML haters are overreacting
19:20 < nsf> but if you use xslt
19:20 < nsf> :D
19:20 < anticw> nsf: what did you do the screencast with?
19:21 < nsf> pyvnc2swf
19:21 < anticw> ok ...  i've used that as well
19:21 < anticw> so you just have a shared vnc to localhost ?
19:21 < nsf> I guess
19:21 < nsf> I've found some kind of a script that does all for me
19:22 < nsf> starts vnc server, does the job and shuts it down
19:22 < anticw> anyhow ...  neat, i wanted some sort of gui thang
19:22 < anticw> ill look more at that
19:22 < anticw> ideally i wanted something like Qt so it could be
19:22 < nsf> uhm..  Qt is a good idea for a cross-platform GUI
19:23 < nsf> but it's written in C++ and compilation times kill me
19:23 < exch> oo openbox user
19:23 < exch> <3
19:24 < nsf> I am, yes
19:24 < anticw> there are non-c++ bindings to Qt ...  i hoped that would
19:24 < anticw> things like wxWindows never seem to get far, i should check
19:25 < nsf> wxWindows is nice, but it has some issues if you want a true
cross-platform gui
19:25 < nsf> it uses native look for all platforms
19:25 < nsf> sounds good
19:25 < nsf> but in practice it means that you will have to tweak your app
for each platform
19:25 < anticw> native look is really what i would prefer, some tweak is OK
19:25 < anticw> but there are no bindings for it yet
19:25 < nsf> then use wxwidgets, it is quite decent
19:26 < nsf> and yeah, if you want to do your GUI in Go
19:26 < nsf> it's a bad idea for now
19:26 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts
19:26 < anticw> gtk+ has bindings, but it's a bit weird for non-gnome users
esp win32 & mac
19:26 < nsf> bindings will be an issue
19:27 < nsf> we have go-gtk yes
19:27 < nsf> but it still in a stage where API changes
19:27 < nsf> so..
19:27 < nsf> there will be some pain with that too
19:27 < anticw> sure, but something is better than nothing
19:27 < anticw> clearly it works well enough for ou
19:27 < anticw> you
19:27 < nsf> obkey is not written in Go
19:27 -!- aho [~nya@fuld-4d00d161.pool.mediaWays.net] has joined #go-nuts
19:27 < nsf> it's python
19:28 < nsf> we were talking about XML, not about Go :)
19:36 < plexdev> http://is.gd/fXxV8 by [Roger Peppe] in go/src/pkg/netchan/
-- netchan: zero out request to ensure correct gob decoding.
19:37 -!- wrtp [~rog@] has quit [Quit: wrtp]
19:40 <+iant> I don't know if anybody has tried dlopen with Go; I wrote the
libraries so that it should work, but like so much else I've never gotten around
to testing it
19:41 < KirkMcDonald> Callbacks are still an issue.
19:42 <+iant> Sorry, I meant with gccgo; I agree that dlopen doesn't work
with 6g/8g today
19:43 < KirkMcDonald> Ah.
19:43 -!- EthanG [~none@sourcemage/guru/eekee] has joined #go-nuts
19:47 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
19:53 < plexdev> http://is.gd/fXz2T by [Rob Pike] in 3 subdirs of go/src/ --
new command gotry.
19:54 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping
timeout: 240 seconds]
19:59 -!- wjlroe [~will@] has quit [Quit: Computer has gone to
20:01 -!- SirPsychoS [~sp@mobile-108-147.near.uiuc.edu] has joined #go-nuts
20:02 -!- hoisie [~hoisie@70-36-139-126.dsl.dynamic.sonic.net] has joined #go-nuts
20:07 -!- unRuhe [~pn@HSI-KBW-078-042-068-097.hsi3.kabel-badenwuerttemberg.de] has
joined #go-nuts
20:07 -!- sacho [~sacho@] has quit [Ping timeout: 265 seconds]
20:10 < unRuhe> hey can someone have a look at this
20:10 < unRuhe> I don't quite get why I cant use my version without pointers
20:11 < unRuhe> i want x and y to be unexported
20:11 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
20:11 < KirkMcDonald> unRuhe: Is this all in the same package?
20:12 < unRuhe> the calls are in another package
20:13 < unRuhe> i new to the language and i'm playing with visibility
20:13 < KirkMcDonald> When you call NewPoint, it returns a "point" by value.
20:13 < KirkMcDonald> When you assign that value to a variable, it is
implicitly assigning the (unexported) fields.
20:14 < KirkMcDonald> To put it another way, it makes no sense to deal with
a struct by value when that struct contains unexported fields.
20:14 < unRuhe> ahh then i misread the compiler output.  because i thought
he dislikes that x and y gets assigned
20:14 < KirkMcDonald> They are getting assigned, in that the entire struct
value is getting assigned.
20:15 < KirkMcDonald> unRuhe: The last function is acceptable, since it is
in the same package as the struct.
20:15 < unRuhe> so when i write p1 := NewPoint(1,2) in my main i will have
p1 wich is something i'm not allowed to see
20:16 < unRuhe> i think i got it, you helped me
20:18 -!- DerHorst [~Horst@e176106004.adsl.alicedsl.de] has joined #go-nuts
20:18 -!- ikaros [~ikaros@dslb-188-097-076-206.pools.arcor-ip.net] has quit [Quit:
Leave the magic to Houdini]
20:18 < unRuhe> i just got kinda pissed because the second thing i was
implementing was a line.  and then i had to pass *points insteads of points to the
initialisation method
20:19 -!- rlab_ [~Miranda@] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
20:21 < unRuhe> anyway thx for the helb KirkMcDonald
20:22 < skelterjohn> x and y should probably be X and Y
20:22 < skelterjohn> something like a point doesn't really need hidden
20:22 < hoisie> it's kind of a pedantic issue..  I'd always return a pointer
in NewPoint
20:23 < unRuhe> i was just fiddeling
20:23 < skelterjohn> sure, but it's a pretty small structure
20:23 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
20:23 < skelterjohn> i'd use "p := Point{x,y}" rather than a newing function
20:24 < unRuhe> yeah i was just trying to not confuse u with big codeblocks
20:24 < unRuhe> its was just for the sake of testing
20:24 < unRuhe> but i got it by kirks statment
20:24 < unRuhe> To put it another way, it makes no sense to deal with a
struct by value when that struct contains unexported fields.
20:24 < unRuhe> that seemed pretty obvious afterwards
20:25 < skelterjohn> it's not obvious to me that it has to be that way.  it
is clear that this is the way it is, though.
20:25 < plexdev> http://is.gd/fXBgd by [Russ Cox] in go/src/cmd/ld/ -- ld:
be less picky about bad line number info
20:26 < unRuhe> what i figured is, if i want to go the objecoriented way
where i only alter fieldvalues by calling methods.  i will only need pointers
instead of the types by value
20:27 < skelterjohn> that's certainly true, but i think that you should not
feel constrained by some canonical "OO style"
20:27 < skelterjohn> opinions vary
20:28 < unRuhe> yeah ure sure but i will give a talk at my uni and these
guys know only java
20:28 -!- zozoR [~zozoR@4705ds1-ris.0.fullrate.dk] has quit [Quit: Morten.  Desu~]
20:28 < unRuhe> i currently figuiring out how go's objectorientaition works
for java minds
20:29 < skelterjohn> it's not really object oriented
20:29 < skelterjohn> more "interface-oriented", i guess
20:29 < unRuhe> yeah, but i think i can do most of the stuff i want from an
objectoriented languege
20:29 < skelterjohn> no concept of, for instance, polymorphism
20:30 < unRuhe> to put it that way
20:30 < skelterjohn> you can kind of fake inheritence
20:30 < skelterjohn> it's better to start from new ideas than to try to
shoe-horn it into old
20:30 < unRuhe> with anonymous fields i read that too
20:30 < skelterjohn> might be enlightening for your students :)
20:30 < unRuhe> i'm a student too
20:30 < unRuhe> :D
20:31 < unRuhe> but I get your point
20:31 < skelterjohn> you can be a student with students :)
20:32 < unRuhe> ok ty for ur opinons..  appreciate
20:32 < unRuhe> hf and byebye
20:32 < skelterjohn> later
20:32 -!- SirPsychoS [~sp@mobile-108-147.near.uiuc.edu] has quit [Ping timeout:
264 seconds]
20:33 -!- unRuhe [~pn@HSI-KBW-078-042-068-097.hsi3.kabel-badenwuerttemberg.de] has
quit [Quit: Verlassend]
20:41 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
20:45 -!- wjlroe [~will@78-86-14-131.zone2.bethere.co.uk] has joined #go-nuts
20:46 -!- napsy [~luka@] has quit [Ping timeout: 255 seconds]
20:48 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Read error:
Connection timed out]
20:49 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
20:50 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
20:53 -!- napsy [~luka@] has joined #go-nuts
20:59 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
21:02 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 245 seconds]
21:03 -!- DerHorst [~Horst@e176106004.adsl.alicedsl.de] has quit [Remote host
closed the connection]
21:08 -!- yiyus [~124271242@] has quit [Ping timeout: 255 seconds]
21:10 -!- idr [~idr@g225020014.adsl.alicedsl.de] has quit [Disconnected by
21:11 -!- idr0 [~idr@g225020014.adsl.alicedsl.de] has joined #go-nuts
21:13 < skelterjohn> when catching something from recover(), is there a way
to see where the panic came from?
21:13 <+iant> you can call runtime.Caller
21:15 < skelterjohn> the stack below the recover isn't unwound?
21:15 -!- yiyus [~124271242@] has joined #go-nuts
21:16 < cbeck> Someone (nsf?) gave me a tidy func to print a stacktrace on
error, it's in github.com/ckolbeck/go-irc
21:17 <+iant> skelterjohn: right, defer functions are called without
unwinding the stack, the stack is only unwound afterward
21:17 < skelterjohn> neat, thanks
21:17 <+iant> that way you get a good stack trace when a panic occurs
21:17 -!- tav [~tav@] has quit [Ping timeout: 276 seconds]
21:17 < skelterjohn> makes sense
21:17 < skelterjohn> was worried that the info might be stuffed into a
structure you got out of recover()'s return, or something
21:17 < skelterjohn> but that would be ridiculous
21:21 -!- tav [~tav@] has joined #go-nuts
21:29 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
21:30 -!- gabriel9 [~gabriel9@] has quit [Remote host closed the
21:31 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Client
21:32 -!- tvw [~tv@e176011104.adsl.alicedsl.de] has joined #go-nuts
21:32 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has quit
[Remote host closed the connection]
21:32 -!- gabriel9 [~gabriel9@] has joined #go-nuts
21:32 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Ping
timeout: 240 seconds]
21:34 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined
21:36 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
21:36 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has joined #go-nuts
21:36 -!- ronnyy [~quassel@p4FF1CCB6.dip.t-dialin.net] has quit [Remote host
closed the connection]
21:42 < matti_> does a goroutine automatically join the main thread after
its finished its program execution?
21:43 < skelterjohn> i'm not sure that question makes sense
21:43 < exch> not if the main thread exits first.  You have to wait for it
to finish
21:43 < skelterjohn> once a goroutine is finished, how could it join
21:44 < skelterjohn> maybe exch understood the question behind the question
21:44 -!- photron [~photron@port-92-201-255-234.dynamic.qsc.de] has quit [Ping
timeout: 250 seconds]
21:44 < skelterjohn> or i'm dumb.  both are possible.
21:44 < exch> :p
21:44 <+iant> it refers to pthread_join, but goroutines are not threads
21:44 < matti_> i guess im thinking of goroutine as sort of like a thread
21:44 <+iant> and goroutines don't have return values
21:44 < bartbes> but it wouldn't make sense for a thread to join the main
thread either, would it?
21:45 < bartbes> it should just..  die
21:45 <+iant> there is no way to wait for a goroutine to exit; you can only
wait for a goroutine to send a value on a channel
21:45 < matti_> iant: do you know of any good resources for reading up on
the mechanics of goroutines?
21:45 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:46 < matti_> how a programmer should use it, best practices, etc.
21:46 <+iant> I can't think of any, just the source code and the mailing
21:46 < matti_> i see...  ok
21:46 < skelterjohn> i wonder if the fact that "go foo()" doesn't evaluate
to anything will ever change
21:46 < skelterjohn> like, a channel that will send what foo() returns or
21:47 < skelterjohn> though i think it's been suggested and shot down a few
times so far
21:48 < skelterjohn> and it could be compiled away to nothing when the go
statement isn't assigned to anything
21:48 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
21:48 <+iant> you can do it yourself using a wrapper and recover; I don't
think there is a clear implementation that would work generally
21:49 < skelterjohn> don't need recover...not talking about panics
21:50 < matti_> what does a goroutine do after its program of execution is
21:50 < skelterjohn> evaporates?
21:50 < matti_> does it just kill itself automatically?
21:51 < matti_> i went through the language specification at golang.org but
it was ambiguous
21:51 < skelterjohn> w/r/t go foo() returning a chan, this is the behavior i
meant: http://pastebin.com/SYw4EQZs
21:51 < matti_> just said that to "fork" a goroutine to use the go semantics
21:52 < skelterjohn> except it would have to have the right parameters and
return value
21:53 < skelterjohn> matti_: if a goroutine has nothing left to do, what
else can it do but disappear?
21:53 < KirkMcDonald> matti_:
21:53 < KirkMcDonald> matti_: "When main.main() returns, the program exits.
It does not wait for other (non-main) goroutines to complete."
21:53 < skelterjohn> oh, i misunderstood
21:53 < skelterjohn> you mean the program in which it is running exits?
21:53 < skelterjohn> then yeah, what KirkMcDonald said
21:53 < matti_> nah, i was referring to the goroutines themselves
21:54 < skelterjohn> then i'm still misunderstanding
21:54 < skelterjohn> how can a goroutine "do something" once it is finished?
21:54 < matti_> but from KirkMcDonald's line, i would imagine that implies
that the goroutines themselves exit as well?
21:55 < matti_> as i understand it, goroutines are another "thread" of
21:55 < skelterjohn> when main.main returns, all goroutines halt and
evaporate it
21:55 < skelterjohn> and they aren't threads
21:55 < matti_> they aren't really threads though
21:55 -!- awidegreen [~quassel@] has quit [Read error: Connection
reset by peer]
21:55 < matti_> they have their own stack management
21:56 < matti_> and a programmer forks these goroutines to get better
21:56 < skelterjohn> or any, really
21:56 -!- niemeyer [~niemeyer@201-40-152-123.pltce701.dsl.brasiltelecom.net.br]
has quit [Remote host closed the connection]
21:56 < skelterjohn> since "go" is the only parallelization construct in the
21:57 -!- niemeyer [~niemeyer@201-40-152-123.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
21:57 -!- awidegreen [~quassel@] has joined #go-nuts
22:01 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
22:05 -!- artefon [~thiago@] has quit [Read error: Operation timed
22:10 -!- awidegreen [~quassel@] has quit [Remote host closed the
22:23 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
22:25 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
22:28 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Client Quit]
22:29 -!- Project_2501 [~Marvin@] has quit [Quit: E se abbasso questa
leva che succ...]
22:35 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
22:37 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has
joined #go-nuts
22:40 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
22:45 -!- Venom_X [~pjacobs@] has quit [Quit: Venom_X]
22:56 -!- ajstarks [~ajstarks@] has joined #go-nuts
22:56 -!- gnuvince [~vince@] has quit [Quit: ""]
22:57 -!- napsy [~luka@] has quit [Ping timeout: 272 seconds]
22:58 -!- kanru [~kanru@118-168-232-124.dynamic.hinet.net] has joined #go-nuts
22:59 -!- cthom [~cthom@] has joined #go-nuts
23:03 -!- tvw [~tv@e176011104.adsl.alicedsl.de] has quit [Remote host closed the
23:04 < anticw> iant: do the gc changes that crop up from time to time make
life hard for you?
23:04 <+iant> not really
23:04 <+iant> I just have to do regular merges
23:04 < anticw> iant: looking over your commits makes everything look easy
23:04 < ajstarks> nope.  so far they've been eary
23:04 < ajstarks> -- I mean easy
23:05 -!- dacc [~Adium@D-128-95-10-171.dhcp4.washington.edu] has left #go-nuts []
23:05 < anticw> iant: so doing the []T{ T{...} } -> {}T{ {...} } isn't
going to be problematic?
23:06 <+iant> it should be straightforward
23:06 <+iant> I hope
23:07 <+iant> the really painful change was when we dropped any requirement
for declaring a function or variable before its use in the same package; that
happened before the public release, though
23:07 <+iant> I had to rewrite a lot of stuff to make that work
23:07 < anticw> yeah, i see mixed style there
23:08 < anticw> moslty i tend to declare before use as a C habit, i'm not
that's always friendly though
23:08 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265
23:08 < anticw> iant: post gcc-4.6 are you doing to drop your repo and just
use mainline gcc's ?
23:08 <+iant> I'm not going to drop the gofrontend-dev repository, if that
is what you are asking
23:09 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping
timeout: 240 seconds]
23:09 <+iant> my agreement with the gcc steering committee is that that is
the master source for the non-gcc-specific parts of the Go frontend, and that the
version in gcc is a copy
23:11 < enferex> hello iant
23:11 <+iant> howdy
23:11 < enferex> I just want to personally thank you for all your replies to
my threads on the mailing list
23:11 <+iant> you're welcome
23:12 < enferex> its for my PhD thesis work
23:12 < enferex> just starting now to want to target go as my language I
implement my ideas in
23:12 < cthom> enferex: do u go.to odu?
23:13 < enferex> now im scared
23:14 < enferex> I graduated with my masters from there in 2007
23:14 < cthom> haha.  recognized the handle from hrgeeks
23:14 < cthom> small world
23:14 < enferex> im in Melbourne Australia, decided to take a leave of
absence from my employer of 5.5 years to go back to school
23:15 < enferex> cthom: wow well greets from Oz
23:20 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
23:21 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
23:21 -!- cthom [~cthom@] has quit [Ping timeout: 264 seconds]
23:28 -!- noktoborus [~noktoboru@host-208-107.hosts.vtc.ru] has quit [Ping
timeout: 250 seconds]
23:31 -!- jmettraux [~jmettraux@] has joined #go-nuts
23:32 -!- b00m_chef [~watr@] has joined #go-nuts
23:32 -!- rup [~rupert@deathknight.net] has quit [Quit: leaving]
23:36 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
23:46 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts
23:46 -!- kingless [~kingless@adsl-242-215-95.rmo.bellsouth.net] has joined
23:48 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
23:49 -!- bugQ [~bug@c-67-171-127-76.hsd1.ut.comcast.net] has joined #go-nuts
23:56 < ajstarks> any interest in graphics programming?
23:56 -!- Tv [~tv@gige.bur.digisynd.com] has quit [Ping timeout: 245 seconds]
23:56 -!- ExtraSpice [~XtraSpice@78-57-137-162.static.zebra.lt] has quit [Ping
timeout: 240 seconds]
23:57 -!- kingless [~kingless@adsl-242-215-95.rmo.bellsouth.net] has quit [Remote
host closed the connection]
23:58 -!- napsy [~luka@] has joined #go-nuts
--- Log closed Tue Oct 12 00:00:10 2010