--- Log opened Mon Jul 05 00:00:12 2010
00:05 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
00:20 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
00:23 -!- path[l] [~path@122.172.10.188] has quit [Ping timeout: 245 seconds]
00:34 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has quit [Ping timeout:
265 seconds]
00:41 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has joined #go-nuts
00:48 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:49 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
00:54 -!- mikespook [~mikespook@219.137.48.205] has joined #go-nuts
00:55 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Ping
timeout: 240 seconds]
00:55 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
01:06 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
01:09 -!- ikkebr [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 260 seconds]
01:10 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 245 seconds]
01:10 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 260 seconds]
01:12 -!- thomas_b [~thomasb@cm-84.215.37.40.getinternet.no] has joined #go-nuts
01:19 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has quit [Ping timeout:
265 seconds]
01:22 -!- Genome_ [~Do@unaffiliated/genome] has quit []
01:22 -!- Xurix [~Luixsia@AToulouse-254-1-86-154.w86-201.abo.wanadoo.fr] has quit
[Read error: Connection reset by peer]
01:23 -!- Bombe [~droden@freenet/developer/Bombe] has quit [Excess Flood]
01:24 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts
01:27 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
01:27 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
01:57 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
01:59 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has joined
#go-nuts
02:31 < nsf> http://omploader.org/vNHU3eA/quick.png <- totally useless
for now, but already works!  first vim autocompletion screenshot for Go :)
(development of the Go autocompletion/refactoring daemon is in progress)
02:31 < nsf> :P
02:36 -!- adu [~ajr@pool-96-255-9-193.washdc.fios.verizon.net] has joined #go-nuts
02:37 < Archwyrm> Interesting.
02:37 < Archwyrm> nsf: What would be the difference between this and using
something ctags based?  Incremental updates?
02:38 < Archwyrm> I just patched egotags for the latest Go release.  Haven't
gotten around to trying completion for vim though.
02:38 < nsf> Archwyrm: ctags is quite limited I guess, mostly it's just a
database format (not a big deal)
02:39 < Archwyrm> True, I guess it has a very limited vision.
02:40 < adu> most things have limited vision
02:40 < nsf> My intention is to make an assistant daemon that can be used
with any editor, it will contain different kinds of actions (like autocomplete in
current cursor position, change symbol name everywhere, etc.)
02:40 < Archwyrm> adu: Well, the right tool for the right job.  ;)
02:40 < adu> no
02:40 < nsf> currently however it's just an executable tool
02:40 < nsf> works fast though
02:41 < adu> Archwyrm: we need more people following standards
02:41 < nsf> it does all the parsing of import clause and following package
files (.a) and presents autocomplete variants in 0.1 sec
02:41 < Archwyrm> nsf: Ah, symbol name stuff could be very interesting.
02:41 < adu> and we also need smarter people developing those standards
02:41 < adu> so we don't get things like SOAP
02:42 < Archwyrm> heh, just don't use bad standards.
02:42 < nsf> Archwyrm: anyway, it's just the beginning and totally unusable
:) When I'll have something more or less useful I'll drop a post on the ML
02:42 < adu> well, the only things I find which aren't bad are nonstandard
02:43 < adu> for example, BeOS, Go, Parrot, Dalvik, ...
02:43 < Archwyrm> nsf: Cool, I'll look forward to that.
02:44 < adu> speaking of which, are there any plans for a go compiler to
target ARM, JVM, or Dalvik?
02:44 < Archwyrm> adu: There already is an ARM compiler.
02:45 < adu> you mean gccgo?
02:45 < adu> how hard is that to setup?
02:45 < nsf> adu: gc compiler supports arm: 5g 5l, etc.
02:45 < Archwyrm> adu: No, I mean 5c
02:45 < adu> o cool
02:45 < Archwyrm> Err, 5g, yeah
02:46 -!- niemeyer [~niemeyer@201-11-242-47.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
02:46 < Archwyrm> I doubt there will ever be anything for any VM, at least
not from the official Go team.
02:47 < nsf> Rob Pike says that it's not possible to implement Go backend on
JVM
02:47 < Archwyrm> One of the big points of Go is that is a compiled systems
language.
02:47 < nsf> it has something to do with goroutines I guess
02:47 < Archwyrm> Ah yes, that sounds familiar.
02:50 < jessta> a port to llvm would be nice
02:51 -!- napsy [~luka@88.200.96.14] has quit [Read error: Operation timed out]
02:51 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
02:52 < adu> is there any help that there is already an llvm-gcc, or is that
completely incompatible with the gcc source-tree?
02:52 < nsf> I've been looking for alternatives too, but now I really like
gc compiler suite :)
02:53 < nsf> and I don't need anything else
02:53 < nsf> adu: there is also a project called dragonegg
02:53 < nsf> it's a plugin for gcc 4.5.0
02:54 < nsf> that basically works as a backend for gcc using LLVM
02:54 < nsf> so, technically maybe it will be possible to use gccgo with
LLVM backend someday
02:54 < nsf> or maybe not
02:55 < nsf> the gc compiler suite rocks..  it's fast and it's simple
02:55 < nsf> maybe the generated code isn't super optimized, but who cares,
it's a way faster than python anyway :)
02:57 < nsf> actually I've never felt with C or C++ like I feel myself while
programming Go
02:57 < nsf> I can write Go for hours :)
02:57 * nsf loves Go
02:57 < Archwyrm> =)
03:00 < adu> lol
03:04 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
03:11 < jer> nsf, and just what are you writing for hours?
03:12 < adu> i can only think of one thing i would write for hours
03:12 < adu> in Go, and that would be a Go AI (for the board game :)
03:13 < adu> that would be phun
03:13 < jessta> nsf: is your autocomplete program code up anywhere?
03:13 < nsf> jer: the code :)
03:13 < jer> nsf, sounds horribly inefficient to me
03:13 < nsf> jessta: it is, but it's useless
03:14 < nsf> jessta: http://github.com/nsf/gocode
03:14 < nsf> mostly there is only a ".a" files (aka packages) parser
03:14 < nsf> (last time I tried it was able to parse all standard go libs)
03:15 < jessta> sweet
03:15 < adu> do you mean static libs?
03:15 < nsf> yes
03:15 < nsf> they contain type information too
03:15 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
03:16 < nsf> you can actually autocomplete without the libraries source
code, it's quite nice
03:16 < adu> jer: most "modern" software is horribly inefficient
03:16 < jer> adu, that was a blatent troll
03:16 < jer> =]
03:17 < nsf> jessta: you can compile it, and try something like: ./gocode
gocode.go strings.Trim
03:17 < adu> i think the core of the problem is in what people perceive to
be "primitive"
03:17 < nsf> or
03:17 < nsf> ./gocode gocode.go strings
03:18 < adu> http://en.wikipedia.org/wiki/Go_code
03:18 < nsf> well, that's nice, there is something about Russia and nuclear
bombs, and I'm from Russia..  sweet
03:19 < nsf> :D
03:19 < adu> lol
03:19 < adu> from another time, another era
03:20 < nsf> yep, cold war is over (sort of, at least we should kinda think
that way, actually it's not)
03:20 < jer> Holodnaya voĭna yeshche ne okonchena!!
03:21 < nsf> nice
03:21 * jer <3 google translate
03:21 < jer> =D
03:23 < adu> really?  that's news
03:23 < adu> why?
03:26 < jer> adu, didn't you hear?  russian sleeper cell rounded up recently
-- the director of CSIS (Canada's CIA) reports that several municipal politicians
in british columbia, and several provincial cabinet members in some part of Canada
have been 'infultrated'
03:26 < jer> rest assured the cold war is back
03:26 < adu> what?  when?
03:27 < jer>
http://www.washingtonpost.com/wp-dyn/content/article/2010/06/29/AR2010062905401.html
03:28 < jer>
http://www.nationalpost.com/news/Foreign+powers+have+infiltrated+Canadian+politics+CSIS+head+says/3188357/story.html
03:28 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit: Mac
has gone to sleep]
03:29 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
03:29 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Client
Quit]
03:30 < adu> shit, i gotta move out of DC before 2015:
http://www.johntitor.com/Pages/CivilWar.html
03:32 < jer> adu, they don't say who won the world war!
03:33 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has joined #go-nuts
03:33 < adu> jer: John Titor does say that his timeline is 4% different from
ours...
03:33 < jer> adu, oh i see, so that means in his timeline in the here and
present, he isn't crazy?
03:33 < jer> =]
03:34 < adu> lolol
03:34 < adu> if he was crazy, then he'd still be posting today
03:35 < jer> maybe he's off writing go code to inspect static libraries =p
03:37 < adu> :)
03:39 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
03:43 < jessta> jer: nah, he got lost stuck reading the SOAP spec.
03:44 < adu> lolol
03:45 -!- gnuvince [~vince@70.35.167.7] has quit [Read error: Connection reset by
peer]
03:45 < adu> to this day, I don't know what the advantages are of SOAP over
HTTP
03:47 < jessta> it's about transactions
03:47 < adu> that's what TCP is for
03:47 < jessta> business transactions
03:48 < adu> that's what XMPP is for
03:48 < jer> adu, it's business, there are 75 ways to do the same thing, all
spirred by NIH
03:49 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
03:49 < adu> have you seen
http://www.ted.com/talks/john_underkoffler_drive_3d_data_with_a_gesture.html ?
03:50 < jessta> xmpp isn't all that much different, and doesn't SOAP predate
xmpp?
03:50 < adu> i wonder if they use XMPP...
03:50 < adu> i believe it does
03:50 < adu> predate i mean
03:50 -!- gnuvince [~vince@64.235.207.165] has joined #go-nuts
03:51 < adu> i think XMPP is starting to slip from an app-layer protocol to
a link-layer protocol
03:51 < jessta> you make like http?
03:51 < adu> ya
03:51 < adu> people are starting to use XMPP like its TCP
03:52 < jessta> yeah, millions of developer who don't know what a socket is
03:52 < adu> lol
03:53 < jessta> if 9p had of taken off, we'd have a much more interesting
internet
03:54 < adu> you mean plan9?
03:54 < jessta> the 9p protocol
03:54 < jessta> yeah, from plan9
03:54 < jer> describe me the 9p protocol, using 100 words or less
03:55 < adu> Inferno still uses 9p, according to wikipedia
03:55 < jessta> http is a stupid protocol, because people don't even use it
for it's original purpose
03:55 < adu> i personally thing UNIX is unix 1.0, plan9 is unix 2.0, and
inferno is unix 3.0
03:55 < adu> think*
03:55 < jessta> jer: 9p is pretty much the File interface
03:55 < jer> oh
03:56 < jessta> Read(),Write(),seek() etc.
03:56 < jessta> you mount remote resources as filesystems
03:56 < adu> i think there are 2 methods everything in the world should have
03:56 < adu> "help" and "main"
03:57 < jer> you can have main, i'll take _start
03:57 < jessta> you mean, 'man' and 'main'
03:57 < adu> jessta: yes
03:57 < adu> jessta: or "usage" and "main"
03:57 < jessta> I always have a usage function
03:58 < adu> jessta: then your apps already conform :)
03:59 < adu> but then theres also 2 other methods i think
every-threaded-thing should have: init and quit
03:59 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
03:59 < adu> or should i say every-volitile-thing
04:01 < adu> but they shouldn't be limited to executables, they should be
implemented by chairs, hammers, shoes, iPods, girls...
04:01 < adu> gf.help()
04:02 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Client
Quit]
04:03 < jessta> I have access to that interface
04:03 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
04:04 -!- mikespook [~mikespook@219.137.48.205] has quit [Remote host closed the
connection]
04:11 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined
#go-nuts
04:14 -!- Davidian2024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has quit
[Ping timeout: 260 seconds]
04:25 -!- mikespook [~mikespook@219.137.48.205] has joined #go-nuts
04:32 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has quit [Ping timeout:
245 seconds]
04:38 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
04:39 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
04:50 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds]
05:00 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
05:00 -!- scm [justme@d070069.adsl.hansenet.de] has quit [Ping timeout: 260
seconds]
05:01 -!- scm [justme@d070096.adsl.hansenet.de] has joined #go-nuts
05:05 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 248 seconds]
05:07 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
05:38 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
05:43 < yebyen> foo
05:49 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
05:52 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
05:54 -!- gnuvince [~vince@64.235.207.165] has quit [Remote host closed the
connection]
05:54 -!- gnuvince [~vince@64.235.207.73] has joined #go-nuts
05:59 -!- GeoBSD [~geobsd@lns-bzn-29-82-248-249-203.adsl.proxad.net] has joined
#go-nuts
06:13 -!- aho [~nya@f052189092.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
06:16 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 240
seconds]
06:17 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
06:19 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
06:25 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
06:26 -!- Project_2501 [~Marvin@82.84.72.83] has joined #go-nuts
06:29 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 252 seconds]
06:29 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 276 seconds]
06:32 < plexdev> http://is.gd/dfLqm by [Andrew Gerrand] in go/doc/ --
doc/go_tutorial: mention order of compilation
06:34 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
06:38 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
06:57 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
06:58 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
07:02 -!- Tiger_ [~chatzilla@118.126.12.53] has joined #go-nuts
07:09 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
07:10 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
07:10 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
07:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
07:41 < Eko> anyone know how I ask the maintainer of go-lang.cat-v.org to
update a link?
07:42 < Eko> I renamed my gobuild to gofr (Go Object File Recompiler) to
avoid any more naming confusion
07:44 < nf> Eko: that's uriel in this channel
07:44 < nf> Eko: there's also godashboard.appspot.com/project - is it there?
07:45 < Eko> nf: it's a binary, so (to my knowledge) goinstall can't handle
it
07:47 < Eko> uriel: if you're around, first of all thanks for linking to my
(Kyle Lemons') gobuild so quickly, but it's been renamed to "gofr" from "gobuild"
(same link, just change the one dir name) thanks!
07:47 < nf> Eko: project is distinct from package
07:48 < Eko> oh!  is that new?
07:48 < Eko> wow, neato, how'd I miss that
07:48 < nf> Eko: yep it's quite new
07:54 < Eko> neat neat.  who has the dubiously joyous job of maintaining
that?  lol
07:55 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
07:55 < uriel> Eko: fixed
07:55 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
07:55 < Eko> uriel: thanks!  kudos for being on top of posting links from
things like the mailing list.
07:56 < uriel> nf: any idea when your oz or google-io talks will be put
online?
07:56 < uriel> Eko: actually I'm somewhat behind, really busy with various
stuff offline
08:04 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts []
08:05 -!- trustin [~trustin@redhat/jboss/trustin] has quit [Quit: Leaving]
08:11 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
08:14 -!- mertimor [~mertimor@132.252.243.9] has joined #go-nuts
08:18 -!- mertimor [~mertimor@132.252.243.9] has quit [Client Quit]
08:20 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
08:27 -!- lulu [~lulu@lo1-156.srmd01.resnet.ubc.ca] has joined #go-nuts
08:29 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
08:31 -!- halfie_ [~lulu@v-115-28.vpn.dhcp.ubc.ca] has quit [Ping timeout: 252
seconds]
08:31 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
08:34 -!- ikaros [~ikaros@f050253096.adsl.alicedsl.de] has joined #go-nuts
08:37 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
connection]
08:37 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
08:37 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
08:38 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
connection]
08:39 -!- mduft [~mduft@gentoo/developer/mduft] has joined #go-nuts
08:40 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
08:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
08:53 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
09:01 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
09:02 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
09:06 < Archwyrm> http://pastebin.com/v4BBSZYW Anyone know why line 2 is
fine, but line 3 creates the following error:
09:06 < Archwyrm> cannot use entities (type *EntityList) as type *State in
assignment
09:06 < Archwyrm> EntityList satisfies the State interface, of course.
09:09 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
09:14 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
09:19 -!- Kashia [~Kashia@port-92-200-92-166.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:27 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
09:32 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has quit [Ping
timeout: 260 seconds]
09:36 -!- mikespook [~mikespook@219.137.48.205] has quit [Quit: Leaving.]
09:39 -!- Wi11 [~william@dhcp-0-14-bf-38-80-9c.cpe.powergate.ca] has joined
#go-nuts
09:40 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
09:58 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
10:11 -!- TR2N [email@89-180-232-89.net.novis.pt] has left #go-nuts []
10:19 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
10:24 -!- wrtp [~rog@92.17.34.60] has joined #go-nuts
10:24 -!- Netsplit *.net <-> *.split quits: Davidian1024, GeoBSD
10:24 -!- path[l] [~path@122.167.242.150] has joined #go-nuts
10:24 -!- Netsplit over, joins: GeoBSD
10:24 < wrtp> has anyone here got go nacl building/working under mac os?
10:30 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined
#go-nuts
10:31 < vrtical> did anyone figure out Archwyrm's question?  It looks to me
like the 'good' line is normal assigning a variable to an interface variable, and
the 'bad' line is some sort of incompatible pointer assignment.
10:33 < Archwyrm> vrtical: I figured out that things work when I don't have
interfaces as pointers, but I still don't know why.
10:34 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
10:35 < vrtical> Archwyrm: I'm new to this, so don't take anything I say as
gospel, but an interface type is already something like pointer to type info +
pointer to data.
10:35 < vrtical> I don't see any reason you couldn't have a pointer to an
interfce variable, but I wouldn't expect to be able to assign a pointer to some
other type of variable to one.
10:35 < Archwyrm> Yeah, I recall reading something like that a long time
ago.
10:37 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 248
seconds]
10:39 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 276
seconds]
10:40 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
10:49 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
10:53 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
10:58 < wrtp> Archwyrm: what was your question?
10:59 < Archwyrm> 03:10:14 < Archwyrm> http://pastebin.com/v4BBSZYW
Anyone know why line 2 is fine, but line 3 creates the following error:
10:59 < Archwyrm> 03:10:16 < Archwyrm> cannot use entities (type
*EntityList) as type *State in assignment
10:59 < Archwyrm> 03:10:34 < Archwyrm> EntityList satisfies the State
interface, of course.
11:00 < wrtp> Archwyrm: what's the definition of State?
11:01 < wrtp> oh it's an interface
11:01 < Archwyrm> type State interface
11:01 < Archwyrm> Yeah
11:01 -!- Shyde [~Shyde^^@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
11:02 < wrtp> in which case var test2 *State = &entities woul work
11:02 < wrtp> s/woul/would/
11:02 < wrtp> a pointer to an interface is not the same as an interface
11:03 < wrtp> why do you want to declare test2 as a pointer to an interface
anyway?
11:04 < Archwyrm> wrtp: I don't, but I had some arrays of interface pointers
because I am trying to avoid any copying at all costs.
11:04 < Archwyrm> That code was just to simplify my problem.
11:04 < wrtp> that's premature optimisation, i'd say
11:04 < wrtp> an interface is just two words
11:05 < Archwyrm> Yeah, you are right.  And it bit me in the ass, haha..
11:05 < wrtp> actually, i don't think my suggestion will work sorry
11:05 < Archwyrm> Ah, I hadn't tried it yet.  (just out of curiousity)
11:05 < wrtp> you'd need var test2 *State = &test
11:06 < Archwyrm> I already converted my code to not store interface
pointers.
11:06 < Archwyrm> Well, here is the (maybe) weird thing (at least to me it
was).
11:07 < Archwyrm> I could store a value struct just fine in a *State.
11:07 < wrtp> i doubt it :-)
11:07 < wrtp> a *State is only compatible with another *State...
11:07 < Archwyrm> No, I had written quite a lot of code already that way.
11:08 < wrtp> can you show me an example?
11:08 < Archwyrm> So, with this code something like this should work: var
ent *Entity = ...
11:08 < Archwyrm> var test *State = ent
11:09 < Archwyrm> I could make a small compilable example if you like.
11:09 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
11:09 < wrtp> type Foo interface{}; var y struct {a int}; var x *Foo = y
11:10 < wrtp> /Users/rog/src/tst.go:9: cannot use y (type struct { a int })
as type *Foo in assignment
11:10 < wrtp> go on then...
11:12 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 260 seconds]
11:12 < Archwyrm> Well, that's weird.
11:15 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
11:19 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
11:21 < Archwyrm> wrtp: I have no idea how that worked before.  I can't
reproduce it.  And the code is quite permanently changed.
11:21 < Archwyrm> Well, I could hit undo a lot, but I would have to get each
buffer at the right state, haha..
11:25 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit:
mxweas]
11:34 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
11:36 -!- ikaros_ [~ikaros@drms-4d01573b.pool.mediaWays.net] has joined #go-nuts
11:38 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
11:40 -!- thiago [~thiago@189.107.196.163] has joined #go-nuts
11:40 -!- ikaros [~ikaros@f050253096.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
11:49 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4519, sources date: 20100519, built on: 2010-06-24
07:22:03 UTC http://www.kvirc.net/]
11:50 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
11:54 < wrtp> Archwyrm: i'm pretty sure that you assumed something that
wasn't actually the case...
11:54 < Archwyrm> Could be.
11:58 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
12:18 -!- monokrome [~monokrome@monokro.me] has joined #go-nuts
12:19 -!- niemeyer [~niemeyer@201-11-242-47.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
12:43 -!- mduft [~mduft@gentoo/developer/mduft] has quit [Remote host closed the
connection]
12:45 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: (◣_◢)
BigBrowser is watching ⓎⓄⓊ]
13:07 -!- wrtp_ [~rog@92.17.34.60] has joined #go-nuts
13:10 -!- wrtp [~rog@92.17.34.60] has quit [Ping timeout: 260 seconds]
13:10 -!- Guest1449 [~thiago@189.107.196.163] has quit [Quit: bye]
13:14 -!- wrtp_ [~rog@92.17.90.233] has joined #go-nuts
13:15 -!- wrtp__ [~rog@92.17.90.233] has joined #go-nuts
13:15 -!- wrtp_ [~rog@92.17.90.233] has quit [Read error: Connection reset by
peer]
13:16 -!- wrtp [~rog@92.17.34.60] has quit [Ping timeout: 265 seconds]
13:20 -!- nsf [~nsf@jiss.convex.ru] has quit [Ping timeout: 260 seconds]
13:23 -!- scoeri [~jdekoste@arriba.vub.ac.be] has quit [Ping timeout: 276 seconds]
13:23 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 260
seconds]
13:27 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
13:42 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
13:57 -!- Genome [~Do@unaffiliated/genome] has joined #go-nuts
14:05 -!- path[l] [~path@122.167.242.150] has quit [Read error: Connection reset
by peer]
14:05 -!- wrtp [~rog@92.17.90.233] has quit [Ping timeout: 248 seconds]
14:06 -!- wrtp [~rog@92.17.90.233] has joined #go-nuts
14:12 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
14:16 -!- kanru [~kanru@118-168-237-28.dynamic.hinet.net] has joined #go-nuts
14:22 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has joined #go-nuts
14:23 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
14:23 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has joined
#go-nuts
14:24 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
14:25 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
14:28 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has quit [Ping
timeout: 240 seconds]
14:29 -!- Fish-Work [~Fish@86.65.182.207] has quit [Read error: Connection reset
by peer]
14:29 -!- Fish-Work [~Fish@86.65.182.207] has joined #go-nuts
14:29 < nimmen> a/c
14:34 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has joined
#go-nuts
14:34 -!- jhawk28 [~jhawk28@72.40.31.201] has joined #go-nuts
14:41 -!- Bombe [~droden@weltgehirnmaschine.de] has quit [Changing host]
14:41 -!- Bombe [~droden@freenet/developer/Bombe] has joined #go-nuts
14:42 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
14:45 -!- adu [~ajr@pool-96-255-9-193.washdc.fios.verizon.net] has quit [Quit:
adu]
14:50 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
14:53 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
14:57 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 248 seconds]
14:59 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
15:10 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Quit:
Leaving.]
15:12 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:18 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
15:31 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has quit [Ping timeout:
265 seconds]
15:33 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
15:34 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
15:34 -!- emmanueloga [~emmanuelo@190.247.41.202] has joined #go-nuts
15:35 -!- Venom_X [~pjacobs@71.21.124.111] has joined #go-nuts
16:03 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has joined
#go-nuts
16:12 -!- jhawk28 [~jhawk28@72.40.31.201] has quit [Read error: Connection reset
by peer]
16:13 -!- jhawk28 [~jhawk28@72.40.31.201] has joined #go-nuts
16:18 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has quit [Quit:
Leaving]
16:19 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
16:19 -!- scm [justme@d070096.adsl.hansenet.de] has quit [Quit: leaving]
16:21 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
16:22 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
16:23 -!- skelterjohn [~jasmuth@c-76-116-181-134.hsd1.nj.comcast.net] has joined
#go-nuts
16:32 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
16:37 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:37 -!- Project_2501 [~Marvin@82.84.72.83] has quit [Read error: Connection
reset by peer]
16:45 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
16:46 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
16:47 -!- scm [justme@c136119.adsl.hansenet.de] has joined #go-nuts
16:53 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:58 -!- bl3u [~kate@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts
16:58 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
16:59 < bl3u> i am using channels for synchronization of a vector; how do i
initialize the channel w/o getting the error "throw: all goroutines are asleep -
deadlock!"
17:00 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
17:01 < MizardX> bl3u: Which OS, and version of gc are you using?
17:01 < bl3u> MizardX: darwin, 8g
17:03 < bl3u> i believe the problem is that there are no threads waiting on
a message from that channel yet
17:03 < bl3u> but logically i don't know a way around that
17:05 < MizardX> On the windows version, there was a compiler bug that
caused deadlock.  For you, I don't know.
17:05 < wrtp> can you show some code that illustrates the problem?
17:05 < bl3u> i can type some in here, would that be ok?
17:06 < MizardX> http://ideone.com/
17:06 < bl3u> i am pretty sure it is not a compiler error; rather an error
by design
17:06 < bl3u> ok one second, thank you :)
17:08 -!- kanru [~kanru@118-168-237-28.dynamic.hinet.net] has quit [Ping timeout:
260 seconds]
17:10 < wrtp> i've used channels and 8g under darwin lots with no probken
17:10 < wrtp> s/ken/lem
17:10 < bl3u> http://ideone.com/CnLuF
17:10 < bl3u> yes i think it's a logic bomb
17:11 < bl3u> i am doing something wrong, not the poor compiler :)
17:11 < wrtp> you are sending on a channel with nothing to receive
17:11 < bl3u> right
17:11 < bl3u> bc there is nothing to receive yet
17:11 < bl3u> there will only be something to receive when an rpc call comes
in
17:12 < MizardX> You could add a buffer to the channel.  make(chan
*vector.Vector, 1)
17:12 < wrtp> you either need to make a buffered channel or create a
goroutine to do the send
17:12 < wrtp> depends why you want the send really
17:12 < bl3u> well really i'm just using the chan as a synchronization
block; maybe i am misusing it?
17:12 < bl3u> in jave
17:12 < bl3u> in java
17:12 < bl3u> i would initialize
17:12 < bl3u> and then in PingFoo i would wrap with a lock {}
17:13 < wrtp> if you just need a mutual exclusion lock, you can use
sync.Mutex
17:13 < wrtp> but it's often unecessary in go
17:14 < bl3u> yeah that was what gave me pause...  they discourage its use
17:14 < bl3u> i mean i really am looking for a sync block, so is that
appropriate in this case?
17:14 < wrtp> a more standard solution is to have a goroutine doing useful
work, receiving requests to do work and sending replies
17:15 < bl3u> if i spawn a goroutine to listen via rpc, will that make a
difference?
17:16 < wrtp> yes, because then you're guaranteed that you're executing
single-threaded
17:16 < wrtp> so you don't need the lock
17:16 < bl3u> do you mind if i expand my example, maybe it will help clear
things up
17:16 < wrtp> do.
17:16 < wrtp> i have to go soon but i'll reply when i can
17:17 < wrtp> what time zone are you in?
17:17 < bl3u> ok :) shouldn't take long
17:17 < bl3u> CST
17:17 < bl3u> GMT+6
17:17 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
17:17 < wrtp> ok.  i'm GMT+1
17:18 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 240 seconds]
17:18 < bl3u> http://ideone.com/IHldI
17:18 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
17:19 < bl3u> so the rpc call comes in and manipulates the vector
17:19 -!- Genome [~Do@unaffiliated/genome] has quit [Remote host closed the
connection]
17:20 < bl3u> but at any time, a "regular" call could come in and need to
look at the vector as well
17:20 < bl3u> thus the lock
17:20 < wrtp> looks like a good case for a single 'server' goroutine
17:20 < wrtp> no lock needed
17:21 < bl3u> maybe i'm not familiar with that idiom...  could you modify my
code?  just a rough draft so i can get the idea
17:21 < wrtp> select on two channels, one for the RPC, one for the ping
17:23 < wrtp> gotta go now.  have a read of
http://golang.org/doc/codewalk/sharemem/
17:23 < bl3u> ok thanks a lot wrtp
17:23 < wrtp> no probs
17:23 -!- wrtp [~rog@92.17.90.233] has quit [Quit: wrtp]
17:25 -!- wrtp [~rog@92.17.90.233] has joined #go-nuts
17:28 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:33 -!- MizardX- [~MizardX@unaffiliated/mizardx] has joined #go-nuts
17:36 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 260
seconds]
17:37 -!- g0bl1n [~anonymous@a213-22-76-1.cpe.netcabo.pt] has joined #go-nuts
17:44 -!- ExtraSpice [~ExtraSpic@78-62-86-161.static.zebra.lt] has joined #go-nuts
17:45 -!- wrtp [~rog@92.17.90.233] has quit [Quit: wrtp]
17:47 -!- g0bl1n [~anonymous@a213-22-76-1.cpe.netcabo.pt] has quit [Quit: g0bl1n]
17:47 -!- g0bl1n [~anonymous@a213-22-76-1.cpe.netcabo.pt] has joined #go-nuts
17:47 -!- g0bl1n [~anonymous@a213-22-76-1.cpe.netcabo.pt] has quit [Client Quit]
17:49 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
17:49 < skelterjohn> if i have a type A, then *A is a valid receiver type.
But if I have a "type APtr *A", then APtr is not a valid receiver type.  can
anyone help me understand why this is?
17:51 -!- EthanG [~ethan@sourcemage/guru/eekee] has left #go-nuts []
18:03 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
18:04 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
18:05 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
18:10 -!- marsu [~marsu@93.12.55.27] has joined #go-nuts
18:14 -!- surma [~surma@95-88-90-24-dynip.superkabel.de] has joined #go-nuts
18:14 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
18:15 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
18:18 -!- Kashia [~Kashia@port-92-200-92-166.dynamic.qsc.de] has joined #go-nuts
18:20 -!- surma [~surma@95-88-90-24-dynip.superkabel.de] has left #go-nuts []
18:23 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 248 seconds]
18:24 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
18:25 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Read
error: Connection reset by peer]
18:25 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
18:25 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:27 -!- krzyma [~krzyma@93-181-190-1.as.kn.pl] has joined #go-nuts
18:29 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
18:37 -!- photron [~photron@port-92-201-2-213.dynamic.qsc.de] has joined #go-nuts
18:38 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
18:44 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
18:49 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
18:52 -!- geocalc [~geobsd@lns-bzn-58-82-251-232-135.adsl.proxad.net] has joined
#go-nuts
18:52 -!- GeoBSD [~geobsd@lns-bzn-29-82-248-249-203.adsl.proxad.net] has quit
[Ping timeout: 240 seconds]
18:54 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
19:02 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
19:03 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
19:16 -!- jhawk28 [~jhawk28@72.40.31.201] has quit [Read error: Connection reset
by peer]
19:17 -!- napsy [~luka@88.200.96.14] has quit [Quit: Lost terminal]
19:18 -!- b00m_chef [~watr@216.251.138.130] has joined #go-nuts
19:20 -!- krzyma [~krzyma@93-181-190-1.as.kn.pl] has left #go-nuts []
19:56 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
19:59 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Read error: Operation timed out]
19:59 -!- b00m_chef [~watr@216.251.138.130] has quit [Read error: Connection reset
by peer]
20:12 -!- wrtp [~rog@92.17.90.233] has joined #go-nuts
20:12 -!- aho [~nya@e180235033.adsl.alicedsl.de] has joined #go-nuts
20:13 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
20:17 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has quit [Remote host
closed the connection]
20:17 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
20:23 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7550:2226:c967:7248] has joined
#go-nuts
20:27 -!- Bombe [~droden@freenet/developer/Bombe] has quit [Excess Flood]
20:27 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts
20:27 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts []
20:29 -!- wrtp_ [~rog@92.17.90.233] has joined #go-nuts
20:29 -!- wrtp [~rog@92.17.90.233] has quit [Read error: Connection reset by peer]
20:30 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 260
seconds]
20:33 < nsf> note to myself: never concatenate a lot of big strings in Go,
use bytes.Buffer instead
20:36 -!- Venom_X [~pjacobs@71.21.124.111] has quit [Quit: Venom_X]
20:40 -!- Ideal [~Ideal@212.98.177.48] has joined #go-nuts
20:47 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
20:48 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4519, sources date: 20100519, built on: 2010-06-24
07:22:03 UTC http://www.kvirc.net/]
20:48 -!- Bombe [~droden@weltgehirnmaschine.de] has quit [Excess Flood]
20:49 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts
20:50 -!- Shyde [~Shyde^^@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Quit: Shyde]
20:52 -!- wrtp [~rog@92.17.90.233] has quit [Ping timeout: 260 seconds]
20:56 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7550:2226:c967:7248] has quit
[Quit: Leaving.]
20:59 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 265 seconds]
21:02 -!- wrtp [~rog@92.17.90.233] has joined #go-nuts
21:03 -!- KinOfCain [~KinOfCain@rrcs-64-183-61-2.west.biz.rr.com] has quit [Remote
host closed the connection]
21:03 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
21:06 -!- wrtp [~rog@92.17.90.233] has quit [Ping timeout: 245 seconds]
21:07 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Operation
timed out]
21:10 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:10 -!- gr0gmint [~joebiden@87.60.23.38] has joined #go-nuts
21:11 -!- scoeri [~jdekoste@soft.vub.ac.be] has joined #go-nuts
21:12 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
21:15 -!- wrtp [~rog@92.17.90.233] has joined #go-nuts
21:19 -!- Ideal [~Ideal@212.98.177.48] has quit [Quit: Ideal]
21:24 < Eko> nsf: my problem with bytes.Buffer is that I'm not entirely sure
I like the overhead of converting everything to []byte and then back
21:25 < nsf> Eko: there is no overhead, when you basically do only
WriteString
21:25 < nsf> it's just a copy
21:26 < nsf> well, anyway, my parser has a lot of string concats and I've
changed it to bytes.Buffer, now it takes 1.0 sec to parse 120 Go packages (it was
3.0 secs before)
21:26 < nsf> huge win to me
21:26 < nsf> it's not a big deal anyway, but now I'm happy :)
21:28 < jessta> yeah, concating string requires an allocation and a copy for
each concat
21:34 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:34 -!- mk64ftw_ [~mk64ftw@stillraging.xen.prgmr.com] has quit [Quit: Lost
terminal]
21:38 -!- micrypt [~micrypt@94-195-127-212.zone9.bethere.co.uk] has joined
#go-nuts
21:43 -!- george3 [~george3@cpe-229590.ip.primehome.com] has joined #go-nuts
21:49 < Eko> nsf: hmm.  Will definitely have to look into that.
21:50 < Eko> hey, anyone know who is maintaining godashboard?  I submitted
some links that I'm about to break because I'm actually following through with my
resolution to move over to mercurial from subversion, and I don't want to break
them all before they even get posted.
21:53 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
21:56 < skelterjohn> Eko: nope - I have a feeling that many of those links
are taken from golang.cat-v.org though.  some of the descriptions are exactly the
same
21:56 < skelterjohn> for instance, goconc is "A collection of useful
concurrency idioms and functions for Go, compiled"
21:56 < skelterjohn> and on cat-v it's "A collection of useful concurrency
idioms and functions for Go, compiled by John Asmuth" (me)
21:58 < nf> i maintain it
21:58 < nf> and uriel gave me permission to take his list
22:00 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:00 < skelterjohn> oh i figured
22:00 < skelterjohn> i didn't suspect foul play, sorry if i implied it
22:00 < Eko> nf: would you prefer me to submit more links that work with
identical "project" names or would you prefer an email with a list of the project
names and what the new URLs should be?
22:02 < Eko> (also, I'm probably not the only squirrely developer out there,
so someday a "request a change" form should probably go on there, unless there's
plans to have people log in and add their own projects and be able to maintain the
links themselves (possibly with moderation))
22:02 < nf> i'm currently tossing up the best approach
22:02 < nf> i think probably just 'submit a change' is the simplest
22:02 < nf> because it all needs to be approved regardless
22:03 < nf> i might put that on my list to do today
22:03 < nf> eko: either email the changes to adg@golang.org or just resubmit
under slightly different names
22:04 < Eko> nf: k, I'll send you an email.  thanks
22:04 < nf> np
22:05 < skelterjohn> i wish one of googlecode's licenses was "public domain"
22:07 < nf> IKWYM
22:07 < nf> BSD is close
22:07 < nf> close enough for me
22:07 < nf> if you use a BSD license with no copyright notice, is that the
same?
22:09 < skelterjohn> no idea.  i know almost nothing about the demands of a
license, except for GPL's self-propogation
22:09 < Eko> as far as I know, New BSD without a copyright notice is the
license equivalent of public comain
22:10 < skelterjohn> but i could really not care less if anyone wants to use
this hashset/map code i'm about to post up there.  took 30 minutes to write.
22:10 < Eko> it also has the rather handy upshot that you can be somewhat
less vigilant about including license notices in every directory and souce file,
lol
22:10 < Eko> skelterjohn: post it on gosnippets?
22:10 < skelterjohn> well, i'd like it to be goinstall-able
22:10 < Eko> aha.
22:11 < skelterjohn> so i can use it in other code i write
22:11 < skelterjohn> which was the reason i created it in the first place.
i didn't see anything on the library listings that had hashmaps the way i wanted
22:13 < skelterjohn> gohash.googlecode.com if nf or uriel are watching
22:14 < Eko> I finally started making too many small, silly projects that I
thought other people might almost find interesting or useful that I made myself a
googlecode project that I commit them all to, lol
22:15 < Eko> so that I didn't have to make individual ones until/unless
other people actually liked it.
22:15 < skelterjohn> that's reasonable, i suppose
22:15 < skelterjohn> but most of the things i make have nothing to do with
each other
22:15 < Eko> and it's now doubly convenient that I'm using hg, because they
all have separate repositories at proj.kylelemons.googlecode.com/hg
22:15 < jer> skelterjohn, "public domain" simply doesn't exist in some
jurisdictions, meaning the author of said code grants no permissions in such
jurisdictions
22:16 < skelterjohn> ah.
22:16 < jer> and in others, with public domain, something can only be placed
into it after copyright expires -- i.e., death + 75 years
22:16 < Eko> jer: oh interesting.
22:16 < jer> well 50/75 in most jurisdictions
22:17 -!- george3 [~george3@cpe-229590.ip.primehome.com] has left #go-nuts []
22:18 -!- ikaros_ [~ikaros@drms-4d01573b.pool.mediaWays.net] has quit [Quit: Leave
the magic to Houdini]
22:19 -!- wrtp [~rog@92.17.90.233] has quit [Quit: wrtp]
22:23 -!- Bombe [~droden@weltgehirnmaschine.de] has quit [Excess Flood]
22:23 -!- Bombe [~droden@weltgehirnmaschine.de] has joined #go-nuts
22:25 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has joined #go-nuts
22:26 -!- Genome [~Do@unaffiliated/genome] has joined #go-nuts
22:31 < nf> skelterjohn: submit it to godashboard.appspot.com/project please
:)
22:34 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has quit [Quit: SIGINT:
interrupt]
22:35 -!- GoBIR [~gobir@DHCP-159-138.caltech.edu] has joined #go-nuts
22:38 -!- Genome [~Do@unaffiliated/genome] has quit [Ping timeout: 240 seconds]
22:41 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
22:42 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
22:47 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
22:52 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
22:53 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 245 seconds]
22:54 -!- kanru [~kanru@118-168-237-28.dynamic.hinet.net] has joined #go-nuts
22:57 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR]
22:57 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
23:00 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
23:01 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
23:02 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2]
23:14 < nf> Eko: i don't see gowebapp onthe list
23:16 -!- gregc [~gregc@c-68-42-97-89.hsd1.mi.comcast.net] has quit [Ping timeout:
245 seconds]
23:16 -!- gr0gmint [~joebiden@87.60.23.38] has quit [Quit: leaving]
23:22 -!- photron [~photron@port-92-201-2-213.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
23:31 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 248
seconds]
23:32 -!- jer [~jtregunna@unaffiliated/jer] has quit [Read error: Operation timed
out]
23:37 -!- marsu [~marsu@93.12.55.27] has quit [Quit: Leaving]
23:43 < nf> nsf: not constructive!  haha
23:46 -!- pl3 [~noam@77.126.172.17] has joined #go-nuts
23:57 -!- jer [~jtregunna@unaffiliated/jer] has joined #go-nuts
--- Log closed Tue Jul 06 00:00:12 2010