--- Log opened Wed Jan 06 00:00:43 2010 00:01 -!- path[l] [i=UPP@120.138.102.34] has quit [Read error: 54 (Connection reset by peer)] 00:01 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts 00:11 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts 00:12 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Remote closed the connection] 00:15 < jhh> aninhumer: do you have code to show? 00:18 < aninhumer> http://pastebin.org/71551 00:18 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"] 00:18 < aninhumer> somewhat messy, as it has all my debugging code in 00:21 < aninhumer> This code also has another problem, that the ReadFromUDP also doesn't seem to write anything to the buffer I pass, which may be connected 00:22 < aninhumer> However it does correctly return the length of a packet it receives 00:25 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has left #go-nuts ["ERC Version 5.3 (IRC client for Emacs)"] 00:29 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined #go-nuts 00:35 < plexdev> http://is.gd/5Nm7p by [Devon H. O'Dell] in 2 subdirs of go/src/ -- Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of QUOTED_GOBIN 00:36 < exch> pparently 00:37 < exch> mt 00:41 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has quit [Connection timed out] 00:51 < plexdev> http://is.gd/5Nn2D by [Russ Cox] in go/src/pkg/big/ -- big: fix ProbablyPrime bug, comments 00:51 < plexdev> http://is.gd/5Nn2H by [Austin Clements] in go/misc/emacs/ -- Update Emacs go-mode for new semicolon rule. 00:51 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts 00:51 < plexdev> http://is.gd/5Nn2V by [Evan Shaw] in go/src/pkg/xml/ -- xml: Fix comment so that example code compiles 00:54 -!- aninhumer [n=aninhume@client-86-25-225-36.lds-bng-011.adsl.virginmedia.net] has quit ["Leaving"] 00:55 -!- dcestari [n=dcestari@190.199.175.219] has joined #go-nuts 00:58 < carllerche> I find the "variable __ declared but unused" error quite annoying. I wish there was a way to disable it 00:59 < carllerche> or at least switch that to a warning 01:00 < dcestari> hello, is there any way to test a go program without the need to writing a package? 01:01 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 01:03 < quag> dcestari: Is the question, "How do I run a go program?" 01:03 < dcestari> nope 01:03 < dcestari> test, as in gotest 01:04 < quag> ohhhh 01:04 < dcestari> or are all the go programs supposed to be a package? 01:06 < KirkMcDonald> There will at the very least be the "main" package. 01:07 < dcestari> but do I have to place it on src/pkg? 01:07 < KirkMcDonald> No. 01:07 < dcestari> src/pkg/main ? 01:07 < KirkMcDonald> This should not be required. 01:07 < plexdev> http://is.gd/5NnYy by [Russ Cox] in 2 subdirs of go/src/ -- rollback of http://codereview.appspot.com/181077 01:07 < plexdev> http://is.gd/5NnYE by [Evan Shaw] in 2 subdirs of go/src/cmd/ -- 8a, 8l: Add FCOMI, FCOMIP, FUCOMI, FUCOMIP instructions 01:08 -!- tedster [n=tedster@cpe-009231.dhcp009.wadsnet.net] has left #go-nuts [] 01:08 < dcestari> but gotest ask for a makefile with pkg configuration 01:09 < KirkMcDonald> dcestari: It is not difficult to use Make.pkg with something intended to be compiled to a binary. 01:10 < KirkMcDonald> Just insert a rule linking the binary after the GOFILES list and before including Make.pkg. 01:11 < KirkMcDonald> And have TARG=main 01:11 < KirkMcDonald> The rule would be something like: binary: package 01:11 < dcestari> !pastebin 01:11 < dcestari> is there a pastebin near? hehe 01:12 < KirkMcDonald> gopaste.org 01:12 < dcestari> http://gist.github.com/269913 01:12 < dcestari> sorry 01:14 < dcestari> so far I have that makefile 01:16 < KirkMcDonald> dcestari: See if this works: http://gopaste.org/view/5jl63 01:24 < plexdev> http://is.gd/5NoPl by [Russ Cox] in go/ -- hgtags: delete "release" (prepare for new release) 01:24 < plexdev> http://is.gd/5NoPu by [Russ Cox] in go/ -- release.2010-01-05 01:24 < plexdev> http://is.gd/5xK6o by [Russ Cox] in go/ -- hgtags: release.2009-12-22 01:24 < plexdev> http://is.gd/5xQXf by [Robert Griesemer] in go/src/pkg/exp/vector/ -- add comment (warning about generated files) 01:24 < plexdev> http://is.gd/5y1EL by [Robert Griesemer] in 3 subdirs of go/src/pkg/ -- Replace container/vector with exp/vector (faster). 01:24 < plexdev> http://is.gd/5y3zC by [Robert Griesemer] in go/src/pkg/container/vector/ -- Cleanup: remove Exp ending in identifiers 01:24 < plexdev> http://is.gd/5y3zE by [Rob Pike] in go/doc/ -- fix documentation bug in example 01:24 < plexdev> http://is.gd/5NoR6 by [Peter Froehlich] in go/src/pkg/os/ -- Fix comment for Chmod. 01:24 < plexdev> http://is.gd/5NoRf by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: don't overwrite p.Crefs 01:24 < plexdev> http://is.gd/5NoRD by [Adam Langley] in go/src/pkg/crypto/tls/ -- crypto/tls: extensions and Next Protocol Negotiation 01:24 < plexdev> http://is.gd/5NoS1 by [Rob Pike] in go/src/cmd/prof/ -- make 6prof (sic) architecture-independent. 01:24 < plexdev> http://is.gd/5NoSi by [Rob Pike] in go/src/pkg/template/ -- implement .repeats for maps. 01:24 < dcestari> it does work KirkMcDonald 01:24 < plexdev> http://is.gd/5NoSz by [Robert Griesemer] in go/src/pkg/container/vector/ -- remove nums.sh 01:25 < plexdev> http://is.gd/5NoSB by [Peter Froehlich] in go/src/pkg/regexp/ -- Add query to find number of subexpressions. 01:25 < dcestari> but, it seams hacky 01:25 < plexdev> http://is.gd/5NoSI by [Russ Cox] in go/doc/ -- go_spec: use PrimaryExpr as type switch expression 01:25 < plexdev> http://is.gd/5NoTu by [Ian Lance Taylor] in go/test/fixedbugs/ -- Add a test for issue 337. 01:25 < plexdev> http://is.gd/5NoTA by [Ian Lance Taylor] in go/src/pkg/os/signal/ -- Use t.Errorf for formatted error output. 01:25 < plexdev> http://is.gd/5NoTT by [Rob Pike] in go/doc/ -- fix naked < and > as reported by Peter Williams <> 01:25 < plexdev> http://is.gd/5NoU7 by [Devon H. O'Dell] in go/src/pkg/time/ -- Update documentation around time.Sleep to specify its precision, and suggest 01:25 < plexdev> http://is.gd/5CAo3 by [Rob Pike] in go/doc/devel/ -- add exceptions to the road map. i think this just was an oversight. 01:25 < plexdev> http://is.gd/5Dr5c by [Russ Cox] in go/src/cmd/gc/ -- gc: various C nits, found by plan 9 compiler. 01:25 < plexdev> http://is.gd/5EyNU by [Adam Langley] in go/src/pkg/crypto/tls/ -- crypto/tls: make Listener a pointer. 01:25 < plexdev> http://is.gd/5EBtw by [Robert Griesemer] in go/src/pkg/go/parser/ -- simplify some code that is using vectors 01:25 < plexdev> http://is.gd/5ECgm by [Rob Pike] in go/src/pkg/gob/ -- fix dumb bug: must write out default values inside arrays and slices 01:25 < plexdev> http://is.gd/5EIF5 by [Robert Griesemer] in go/doc/ -- Clarify section on tokens. 01:25 < plexdev> http://is.gd/5EMbc by [Robert Griesemer] in go/src/pkg/crypto/md5/ -- A couple of tighter loops. 01:25 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 01:26 < plexdev> http://is.gd/5EQN7 by [Robert Griesemer] in 2 subdirs of go/src/pkg/crypto/ -- Symmetric changes to md4.go as for md5.go. 01:26 < kimelto> maxipush? :) 01:26 < plexdev> http://is.gd/5EQN9 by [Robert Griesemer] in go/src/cmd/godoc/ -- Fix bug in godoc tab conversion filter: 01:26 < plexdev> http://is.gd/5EWuc by [Rob Pike] in go/src/pkg/gob/ -- remove all references to gobType() from the decoder. 01:26 < quag> hey, new release :) 01:26 < plexdev> http://is.gd/5EWuh by [Rob Pike] in go/src/pkg/gob/ -- add a debugging printer to the gob package. 01:26 < plexdev> http://is.gd/5F0EB by [Nigel Tao] in go/src/pkg/image/jpeg/ -- JPEG decoder now handles RST (restart) markers. 01:26 < plexdev> http://is.gd/5F0EE by [Nigel Tao] in go/src/pkg/image/png/ -- PNG decoder now handles transparent paletted images. 01:26 < plexdev> http://is.gd/5FPt6 by [Robert Griesemer] in 2 subdirs of go/src/pkg/crypto/ -- Apply symmetric changes to sha1 and sha256 as to md4 and md5. 01:26 < plexdev> http://is.gd/5FV39 by [Rob Pike] in go/src/pkg/gob/ -- improve some type switches now that multiple types per case are supported. 01:26 < plexdev> http://is.gd/5FWJB by [Robert Griesemer] in 2 subdirs of go/test/ -- test case for issue 471 01:26 < plexdev> http://is.gd/5FXYx by [Robert Griesemer] in go/ -- added author/contributor 01:26 < plexdev> http://is.gd/5FXYB by [Ken Friedenbach] in go/misc/xcode/ -- Improved Xcode support 01:26 < plexdev> http://is.gd/5FXYR by [Robert Griesemer] in 2 subdirs of go/test/ -- Test case for issue 475 and related bug. 01:26 < plexdev> http://is.gd/5FYH5 by [Ian Lance Taylor] in go/doc/ -- Document how to build gccgo to use gold. 01:26 < plexdev> http://is.gd/5H9Us by [Robert Griesemer] in go/misc/xcode/ -- More Xcode support. 01:26 < plexdev> http://is.gd/5HfWn by [Rob Pike] in go/src/pkg/gob/ -- trivial bug: []byte is special but [3]byte is not. 01:26 < plexdev> http://is.gd/5J8tL by [Yongjian Xu] in go/src/pkg/bytes/ -- Remove redundant size check in resize. Let callers worry about that and resize should just do "resize". 01:27 < plexdev> http://is.gd/5KZyq by [Rob Pike] in go/doc/ -- fix up YB and add ZB, EB in example 01:27 < plexdev> http://is.gd/5M6ZU by [Roger Peppe] in go/src/pkg/go/ast/ -- Allow a nil Ident to print without crashing. 01:27 < plexdev> http://is.gd/5MlMn by [Rob Pike] in go/src/pkg/json/ -- Check for errors when writing fields of a struct. 01:27 < plexdev> http://is.gd/5Modu by [Robert Griesemer] in 3 subdirs of go/src/ -- Simplified parser interface. 01:27 < plexdev> http://is.gd/5Modw by [Robert Griesemer] in go/doc/ -- remove reference to "basic literal" since it's never defined 01:27 < plexdev> http://is.gd/5MYZD by [Roger Peppe] in go/src/pkg/net/ -- net: make Dial correctly return nil on error. 01:27 < plexdev> http://is.gd/5MYZI by [Devon H. O'Dell] in go/src/pkg/syscall/ -- syscall: add nanosleep on FreeBSD 01:27 < plexdev> http://is.gd/5Nm7p by [Devon H. O'Dell] in 2 subdirs of go/src/ -- Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of QUOTED_GOBIN 01:27 < plexdev> http://is.gd/5Nn2D by [Russ Cox] in go/src/pkg/big/ -- big: fix ProbablyPrime bug, comments 01:27 < plexdev> http://is.gd/5Nn2H by [Austin Clements] in go/misc/emacs/ -- Update Emacs go-mode for new semicolon rule. 01:27 < plexdev> http://is.gd/5Nn2V by [Evan Shaw] in go/src/pkg/xml/ -- xml: Fix comment so that example code compiles 01:27 < plexdev> http://is.gd/5NnYy by [Russ Cox] in 2 subdirs of go/src/ -- rollback of http://codereview.appspot.com/181077 01:27 < plexdev> http://is.gd/5NnYE by [Evan Shaw] in 2 subdirs of go/src/cmd/ -- 8a, 8l: Add FCOMI, FCOMIP, FUCOMI, FUCOMIP instructions 01:27 < plexdev> http://is.gd/5NoPl by [Russ Cox] in go/ -- hgtags: delete "release" (prepare for new release) 01:30 -!- dcestari [n=dcestari@190.199.175.219] has quit [] 01:37 -!- selby_fiedler [n=selby_fi@c-76-106-49-240.hsd1.va.comcast.net] has quit [Read error: 110 (Connection timed out)] 01:40 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 01:41 -!- Daminvar [n=Daminvar@129.21.121.151] has joined #go-nuts 01:45 -!- triplez [n=triplez@bb116-14-64-56.singnet.com.sg] has joined #go-nuts 01:51 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit ["Computer has gone to sleep"] 01:52 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit [] 01:52 -!- pvanduse_ [n=pvanduse@raptor.csesp.umflint.edu] has joined #go-nuts 01:52 -!- rah_ [n=robh@75.46.213.219] has joined #go-nuts 01:54 -!- fifoman [n=fifoman@p4FCC5DA8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 01:55 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.14/2009090900]"] 01:58 -!- Venom_X [n=pjacobs@66.54.185.131] has quit [] 02:00 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit [] 02:05 -!- rog [n=rog@78.148.84.113] has quit [] 02:07 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit ["Leaving"] 02:10 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has joined #go-nuts 02:11 < goplexian> hmm 02:13 < goplexian> I'm experiencing a bug with go-mode in Emacs, if the person who looks after go-mode.el is reading this please check it out http://stackoverflow.com/questions/2010306/go-mode-for-emacs-has-a-small-bug-anyone-able-to-help 02:13 < anticw> i keep meaning to redo the emacs mode 02:14 < goplexian> please do 02:14 < anticw> but tbqh the pain threshold isn't high enough that i've bothered, i mostly let it do weirdness and throw in some semi's to make it behave then gofmt to fix 02:14 < anticw> (M-x gofmt) 02:14 < goplexian> I know, but as soon as I start to type or edit the line it auto-matically re-indents it 02:15 < goplexian> type gofmt type gofmt type gofmt 02:15 < goplexian> no joy 02:15 < goplexian> I take it you probably dont use go-mode 02:18 < goplexian> I guess I could just not use go-mode 02:20 < anticw> i use go-mode 02:20 < anticw> i just put in semi's like the old style required and it mostly indents right 02:20 < anticw> gofmt fixes 02:21 -!- Sungem [i=ss@118-160-169-236.dynamic.hinet.net] has joined #go-nuts 02:21 < anticw> i'll try to fix it in the next day or so, right now work keeps getting in the way :( 02:21 < goplexian> I really should learn lisp 02:22 < goplexian> anticw: I'd be really greatful 02:23 -!- x10 [n=x10@client-82-199-202-5.speedy.sellinet.net] has quit [Read error: 113 (No route to host)] 02:27 * goplexian runs off to learn elisp. 02:28 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has joined #go-nuts 02:28 < golispian> lispian hehe seens wrong somehow 02:32 < SoniaKeys> comes natural to me 02:36 -!- raichoo [n=raichoo@i577BA0DD.versanet.de] has left #go-nuts [] 02:36 -!- Daminvar [n=Daminvar@129.21.121.151] has quit ["Leaving"] 02:38 -!- dwilliamii [n=w@72.214.103.218] has joined #go-nuts 02:44 < rah_> i'm a little confused on type identity versus type compatibility 02:44 -!- dwilliamii [n=w@72.214.103.218] has left #go-nuts ["Leaving"] 02:44 < rah_> it seems they are in effect the same thing 02:45 < rah_> is there any case where type identity would allow you to do something type compatibility could not, or vice versa? 02:51 < SoniaKeys> i haven't used it much, but they're certainly not the same. some values can be compared or assigned if their types are compatible, even if they aren't identical 02:54 < rah_> is there ever a case where types must be identical? 02:55 < rah_> would a definition of compatible or incompatible alone would suffice, in go's current form? 02:56 < SoniaKeys> you're reading the language specification, right? 02:56 < rah_> yes.. i guess it shows? :) 02:57 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 02:57 -!- mnky [n=mcfyang@pool-151-202-91-228.ny325.east.verizon.net] has joined #go-nuts 03:00 < SoniaKeys> i think that first sentence, "...either compatible or incompatible" means yes 03:00 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 03:01 < rah_> i was thinking surely there is a reason there is a differentiation of identity from compatibility 03:01 < rah_> just haven't been able to find it yet 03:02 < rah_> ok, i think this may be it... type assertions 03:02 < rah_> x.(T) asserts that the dynamic type of x is identical to the type T 03:03 < rah_> that's the only thing i can find, but perhaps that is why 03:06 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 03:06 -!- scm [i=justme@c209025.adsl.hansenet.de] has quit [Read error: 60 (Operation timed out)] 03:08 -!- scm [i=justme@d019053.adsl.hansenet.de] has joined #go-nuts 03:09 < rah_> whoops, i made go panic 03:09 < rah_> poor go 03:12 < rah_> ok, that seems to hold true :) thanks soniakeys 03:13 < rah_> slowly learning all of this... 03:17 < SoniaKeys> searching for "compatible" finds a few mentions right in the spec, most obvious is in the subsequent defintions of assignment compatible and comparison compatible, but also in the sections on numeric conversions and map keys. 03:17 < rah_> so it seems compatibility matters a lot more than identity, for most operations, then 03:18 < SoniaKeys> i'm learning too... 03:19 < rah_> it's tricky, but interesting 03:19 < rah_> i guess reading the spec isn't exactly like doing 'hello world' though 03:20 < rah_> helps to have another brain to bounce things off of :) 03:21 < rah_> overall it seems well thought out, though 03:23 -!- NinoScript [n=Adium@pc-201-142-239-201.cm.vtr.net] has joined #go-nuts 03:24 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 03:24 -!- NinoScript [n=Adium@pc-201-142-239-201.cm.vtr.net] has left #go-nuts [] 03:31 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"] 03:31 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 03:34 -!- skyfive [n=skyfive@173-11-110-86-SFBA.hfc.comcastbusiness.net] has quit ["Leaving..."] 03:34 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit [Read error: 60 (Operation timed out)] 03:35 < KirkMcDonald> rah_: Note that with x.(T), T can be an interface type. 03:35 < rah_> ah 03:35 < rah_> ok, thanks 03:39 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 03:39 < rah_> slowly learning it all :) 03:44 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit ["This computer has gone to sleep"] 03:58 < golispian> anticw: thank you sir 04:01 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 04:02 < anticw> wasnt me :) 04:03 -!- kota1111_ [n=kota1111@gw2.kbmj.jp] has joined #go-nuts 04:04 < golispian> ah, well thank whoever fixed it, brb 04:05 -!- golispian [n=user@d154-20-0-9.bchsia.telus.net] has quit [Read error: 104 (Connection reset by peer)] 04:07 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit ["This computer has gone to sleep"] 04:13 -!- kota1111_ [n=kota1111@gw2.kbmj.jp] has quit [Read error: 104 (Connection reset by peer)] 04:15 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 04:15 -!- Josh__ [n=Josh@ip68-224-97-4.lv.lv.cox.net] has joined #go-nuts 04:16 -!- Josh__ [n=Josh@ip68-224-97-4.lv.lv.cox.net] has quit [Client Quit] 04:16 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 04:22 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has joined #go-nuts 04:34 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has joined #go-nuts 04:36 -!- cbeck [n=phylum@c-67-170-181-181.hsd1.or.comcast.net] has joined #go-nuts 04:38 -!- mnky [n=mcfyang@pool-151-202-91-228.ny325.east.verizon.net] has quit ["Leaving."] 05:16 < rah_> good night, folks 05:16 -!- rah_ [n=robh@75.46.213.219] has quit [] 05:18 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has quit [] 05:19 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts 05:21 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 05:36 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 05:58 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 06:03 -!- SoniaKeys [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit [] 06:10 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts 06:11 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 06:15 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 06:16 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 110 (Connection timed out)] 06:26 -!- Xavier [i=xavier@bitchx/dev/eth0] has joined #go-nuts 06:29 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has joined #go-nuts 06:38 -!- johan-s [n=johan@cm-84.215.111.48.getinternet.no] has quit [Remote closed the connection] 06:44 -!- path[l] [i=UPP@120.138.102.34] has quit [] 06:47 -!- Intelliware [n=danielb@124-197-59-227.callplus.net.nz] has quit [Read error: 60 (Operation timed out)] 06:51 -!- kerozen [n=virgule@80.86.194.199] has joined #go-nuts 06:55 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 06:56 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 07:18 -!- illya77 [n=illya77@30-85-133-95.pool.ukrtel.net] has joined #go-nuts 07:19 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 07:20 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 07:24 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Client Quit] 07:28 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has left #go-nuts [] 07:28 -!- brrant [n=John@168-103-78-133.hlrn.qwest.net] has joined #go-nuts 07:43 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 07:54 -!- civnetra [n=civnetra@58.253.22.16] has joined #go-nuts 08:01 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has quit [Read error: 104 (Connection reset by peer)] 08:03 -!- perdix [n=perdix@g227115189.adsl.alicedsl.de] has joined #go-nuts 08:05 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has joined #go-nuts 08:08 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 08:11 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 08:13 -!- trickie [n=trickie@94.100.112.225] has quit [Client Quit] 08:13 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 08:16 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has quit ["Leaving."] 08:16 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has joined #go-nuts 08:18 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has joined #go-nuts 08:23 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit ["Rockin’ music will set you free."] 08:24 -!- Demp_ [n=Demp@bzq-79-178-23-151.red.bezeqint.net] has quit [Excess Flood] 08:25 -!- Demp [n=Demp@bzq-79-178-23-151.red.bezeqint.net] has joined #go-nuts 08:26 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 08:26 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 08:40 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 08:42 -!- daaku [n=daaku@c-67-169-181-30.hsd1.ca.comcast.net] has joined #go-nuts 08:45 < daaku> hi all. i'm learning go by writing tests - and was wondering how to compare an array with a literal 08:48 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has joined #go-nuts 08:53 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has joined #go-nuts 08:56 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has quit [Read error: 113 (No route to host)] 08:56 -!- kashia__ [n=Kashia@p54AB4A3D.dip.t-dialin.net] has quit [Read error: 60 (Operation timed out)] 08:59 < anticw> daaku: directly? you can't ... you either loop or if it's not perf critical look at something like reflect.DeepEqual 08:59 -!- kashia__ [n=Kashia@p54AB4566.dip.t-dialin.net] has joined #go-nuts 09:01 < daaku> anticw: sweet, that's what i was looking for 09:02 < anticw> daaku: im not sure i would recommend you use that all over the place or for large structures, it really depends though 09:05 < daaku> anticw: i'm just doing some learning exercises, so it's fine for now. i'm usually wary of things with "reflect" in the name 09:09 -!- defectiv [n=clays@c-24-5-65-40.hsd1.ca.comcast.net] has quit ["This computer has gone to sleep"] 09:13 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 09:15 < anticw> daaku: actually, so i just timed it for laughs ... for [8]int it's 850x slower than using a loop 09:16 < daaku> anticw: wow 09:17 < anticw> for larger array's is even a greater difference, but this is to be exepected 09:17 < daaku> anticw: looking at what it does.. 09:18 < daaku> profiling it might be interesting 09:18 < daaku> (i assumed you used the benchmarking feature of the testing pkg?) 09:18 < anticw> no 09:18 < anticw> i just quickly wrote a few lines of code with timing in it 09:23 -!- path[l] [n=path@59.162.86.164] has quit [] 09:24 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 09:56 -!- rog [n=rog@78.148.84.113] has joined #go-nuts 10:07 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has joined #go-nuts 10:19 -!- prip [n=_prip@host76-195-dynamic.17-79-r.retail.telecomitalia.it] has quit [Read error: 60 (Operation timed out)] 10:24 -!- Spaghett1ni [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined #go-nuts 10:27 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [] 10:29 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Read error: 60 (Operation timed out)] 10:29 -!- kota1111 [n=kota1111@gw2.kbmj.jp] has quit ["Leaving..."] 10:31 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has joined #go-nuts 10:32 -!- Adys_ [n=Adys@unaffiliated/adys] has joined #go-nuts 10:32 -!- Adys_ [n=Adys@unaffiliated/adys] has quit [Read error: 104 (Connection reset by peer)] 10:35 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit ["Leaving..."] 10:35 -!- prip [n=_prip@host58-82-dynamic.11-87-r.retail.telecomitalia.it] has joined #go-nuts 10:39 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 10:46 -!- Adys_ [n=Adys@unaffiliated/adys] has joined #go-nuts 10:48 -!- triplez [n=triplez@bb116-14-64-56.singnet.com.sg] has quit [] 10:52 -!- b00m_chef [n=watr@91.178.229.192] has joined #go-nuts 10:53 < daaku> i'm not quite getting how to do interface/pointers/structs -- can't figure out why the compiler complains that "Adder is not Combiner" here - http://gist.github.com/270198 10:54 < skelterjohn> It's not. But Adder* is. 10:55 < skelterjohn> the compiler might let you put an & in front of Adder at the bottom, there 10:55 -!- raichoo [n=raichoo@i577B9D30.versanet.de] has joined #go-nuts 10:56 < daaku> ah, got it 10:56 < skelterjohn> also, 20-22 is -2, not -42 :) 10:57 < daaku> skelterjohn: both are subtracted from the 0 :) 10:58 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection] 10:58 < skelterjohn> oh right 10:58 < skelterjohn> carry on then 10:59 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 11:00 -!- mertimor [n=meowtime@vpn-ce242022.extern.uni-duisburg-essen.de] has joined #go-nuts 11:02 -!- mertimor [n=meowtime@vpn-ce242022.extern.uni-duisburg-essen.de] has quit [Client Quit] 11:02 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts 11:03 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 11:12 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 11:20 -!- Alkavan [n=alkavan@77.127.58.107] has joined #go-nuts 11:22 -!- kashia__ [n=Kashia@p54AB4566.dip.t-dialin.net] has quit ["This computer has gone to sleep"] 11:22 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts 11:43 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has quit [] 11:48 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts 11:50 -!- dju_ [i=dju@207-207-60-234.fwd.datafoundry.com] has joined #go-nuts 11:55 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 11:56 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has quit [Read error: 60 (Operation timed out)] 11:57 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts 11:59 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 12:01 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 12:05 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts 12:08 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit ["WeeChat 0.3.1-dev"] 12:08 -!- b00m_chef [n=watr@91.178.229.192] has quit [Read error: 113 (No route to host)] 12:12 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 12:12 -!- cmarcelo [n=cmarcelo@200.184.118.130] has joined #go-nuts 12:13 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 12:14 -!- mmw [n=mmw@2002:51f2:9799:0:223:6cff:fe84:1914] has joined #go-nuts 12:14 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 12:16 -!- dju__ [n=dju@89-158-236-229.rev.dartybox.com] has joined #go-nuts 12:22 -!- pvanduse_ [n=pvanduse@raptor.csesp.umflint.edu] has quit ["leaving"] 12:33 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 12:33 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 12:34 -!- dju_ [i=dju@207-207-60-234.fwd.datafoundry.com] has quit [Read error: 113 (No route to host)] 12:41 -!- mmw [n=mmw@2002:51f2:9799:0:223:6cff:fe84:1914] has quit [] 12:42 -!- yaroslav [n=yaroslav@93.157.184.185] has joined #go-nuts 12:44 -!- Xeon_ [n=chatzill@202.158.165.178] has joined #go-nuts 12:45 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 12:48 -!- ShadowIce` [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 12:51 -!- mjburgess [n=michael@m1.mjburgess.co.uk] has quit ["changing servers"] 12:51 -!- mjburgess [n=michael@m1.mjburgess.co.uk] has joined #go-nuts 12:52 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts 12:58 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has joined #go-nuts 13:02 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has joined #go-nuts 13:07 -!- Xeon_ [n=chatzill@202.158.165.178] has quit [Client Quit] 13:08 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 104 (Connection reset by peer)] 13:08 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit [Read error: 110 (Connection timed out)] 13:08 -!- pvandusen [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 54 (Connection reset by peer)] 13:08 -!- pvanduse [n=pdusen@crob4-55.flint.umich.edu] has quit [Read error: 54 (Connection reset by peer)] 13:08 -!- Xeon_ [n=chatzill@202.158.165.178] has joined #go-nuts 13:09 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has joined #go-nuts 13:11 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 13:12 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 13:14 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 13:21 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 13:22 -!- nddrylliog [n=nddrylli@78.234.54.84] has joined #go-nuts 13:22 -!- nddrylliog [n=nddrylli@78.234.54.84] has left #go-nuts ["*flash*"] 13:24 -!- b00m_chef [n=watr@91.178.229.192] has joined #go-nuts 13:26 -!- dcestari [n=dcestari@190.199.175.219] has joined #go-nuts 13:28 < dcestari> hello 13:34 < jhh> hey there 13:44 -!- dcestari_ [n=dcestari@190.199.175.219] has joined #go-nuts 13:44 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 13:45 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has quit ["Arr"] 13:46 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 13:47 < dcestari_> so, new release? 13:49 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has joined #go-nuts 13:51 -!- b00m_chef [n=watr@91.178.229.192] has quit [Read error: 113 (No route to host)] 13:51 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 13:57 -!- snearch [n=olaf@g225049083.adsl.alicedsl.de] has joined #go-nuts 14:02 -!- dcestari [n=dcestari@190.199.175.219] has quit [Read error: 110 (Connection timed out)] 14:03 -!- plainhao [n=plainhao@mail.xbiotica.com] has joined #go-nuts 14:09 -!- pure_x01 [n=pure@c83-248-3-188.bredband.comhem.se] has joined #go-nuts 14:09 < pure_x01> are all struct members private if they start with lowercase? 14:10 -!- yaroslav [n=yaroslav@93.157.184.185] has quit [] 14:11 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts 14:13 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 14:15 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 14:15 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has quit [Remote closed the connection] 14:16 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined #go-nuts 14:17 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has joined #go-nuts 14:17 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"] 14:19 < jhh> pure_x01: yes. meaning they cannot be read from another package. 14:19 < pure_x01> jhh: thanx 14:21 -!- yaroslav [n=yaroslav@93.157.184.185] has joined #go-nuts 14:21 < pure_x01> i just posted a message on the mailing list asking the question if it is a good idea to ever expose channels .. wrapping them in functions to control access to them .. 14:21 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 14:25 -!- mertimor [n=meowtime@vpn-ce242020.extern.uni-duisburg-essen.de] has quit ["Arr"] 14:30 -!- Spaghett1ni [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Success] 14:30 < jhh> It's probably not really a good idea to generally hide away channels. What's wrong with returning them from functions? 14:33 < pure_x01> jhh: in a situation where you have an api that is used by multiple applications it is not possible to add business logic or change types of the channel without breaking the api. the same reason as encapsulation member fields 14:34 < pure_x01> i mean synchronous bussiniess logic ex: validation of an email 14:35 < jhh> You mean you can exchange types of selectors without changes in user's code but not when you exchange types in channels? 14:35 < pure_x01> i have to leav 14:35 -!- pure_x01 [n=pure@c83-248-3-188.bredband.comhem.se] has quit ["in a hurry"] 14:35 < jhh> I don't think so. 14:35 < jhh> :) 14:36 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has joined #go-nuts 14:38 -!- Kashia [n=Kashia@85.116.200.189] has joined #go-nuts 14:45 -!- joeatwork [n=joeatwor@209.60.160.146] has joined #go-nuts 14:50 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has quit [] 14:51 < rog> it can be a good idea to hide away channels. just like it can be a good idea to hide away struct members 14:52 < rog> jhh: did you read my blog post about select functions? 14:52 -!- raichoo [n=raichoo@i577B9D30.versanet.de] has quit ["Leaving."] 14:53 < jhh> rog: nope 14:53 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Success] 14:54 < rog> it's about a way that channels might be hidden, but without losing the capability to select on the hidden channels 14:54 < rog> http://rogpeppe.wordpress.com/2010/01/04/select-functions-for-go/ 14:54 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts 14:55 < rog> i think it might be either incomprehensible or nonsensical though, as i haven't had a word of response :-( 14:57 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has quit ["Lost terminal"] 14:59 -!- yaroslav [n=yaroslav@93.157.184.185] has quit [] 14:59 < jhh> I had a quick look at it. I think it's comprehensible. To be honest I'm not educated enough about (or used to thinking about) language design, to participate in a serious discussion about that. 15:00 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 15:02 -!- illya77 [n=illya77@30-85-133-95.pool.ukrtel.net] has quit [Read error: 104 (Connection reset by peer)] 15:05 -!- ejb [n=ejb@unaffiliated/ejb] has joined #go-nuts 15:05 < jhh> Reading your articles is on my todo list. :) 15:07 < rog> :-) 15:09 < jhh> and if you write how to handle acme, you'd overtake "understand plan9" on the very same list ;) 15:10 < mpl> there are no handles in acme, only text ;) 15:11 < rog> jhh: don't quite understand that. overtake what, how? 15:12 < jhh> rog: just a joke. overtake the todo item "understand plan9" on my todo list, by writing about acme 15:13 < rog> i see. sorry, i'm slow! 15:13 < rog> acme's not too hard. 15:13 < rog> it's just a steep physical learning curve 15:14 -!- dcestari [n=dcestari@190.199.175.219] has quit [Read error: 60 (Operation timed out)] 15:14 < rog> and you need a three-button mouse 15:15 -!- johan-s [n=johan@106.80-203-21.nextgentel.com] has quit ["awaaaay"] 15:17 -!- snearch [n=olaf@g225049083.adsl.alicedsl.de] has quit ["Ex-Chat"] 15:18 -!- vizzord [n=exn@195.49.206.202] has quit [Remote closed the connection] 15:26 -!- DerHorst [n=Horst@e176119237.adsl.alicedsl.de] has joined #go-nuts 15:33 < jessta> rog: it took me a few years to put in the effort to find a three-button mouse 15:33 < plexdev> http://is.gd/5Oizj by [Ivan Krasin] in go/src/pkg/json/ -- Propagate error to the caller in json.Marshal. Fixes issue 445. 15:34 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has quit ["See you..."] 15:34 < jessta> and then I discovered the idea of 'guide files' and acme finally made sense 15:34 < rog> actually i just use any old mouse with a reasonable solid scroll-wheel/button 15:36 -!- nathanielk [n=quassel@frigga.summersault.com] has quit [Remote closed the connection] 15:36 -!- nathanielk [n=quassel@frigga.summersault.com] has joined #go-nuts 15:37 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has joined #go-nuts 15:39 -!- cbeck [n=phylum@c-67-170-181-181.hsd1.or.comcast.net] has quit ["Leaving."] 15:50 < plexdev> http://is.gd/5Om27 by [Ivan Krasin] in go/src/pkg/http/ -- Add http.CanonicalPath and tests for it. Remove BUG(rsc) from url.go. 15:50 < plexdev> http://is.gd/5Om2o by [Devon H. O'Dell] in 2 subdirs of go/src/ -- Fix missing explicit GOBIN in src/pkg/Makefile. Clean up creation of 15:53 -!- Demp_ [n=Demp@bzq-79-178-12-187.red.bezeqint.net] has joined #go-nuts 15:54 < jhh> Is there are reason for not having an extend method for container/list to extend a list by another list? 15:55 -!- rog [n=rog@78.148.84.113] has quit [] 15:56 -!- rog [n=rog@78.148.84.113] has joined #go-nuts 15:57 -!- kleinchris [n=kleinchr@project-ajax.de] has joined #go-nuts 15:57 -!- joeatwork [n=joeatwor@209.60.160.146] has quit [Remote closed the connection] 15:58 -!- dju__ [n=dju@89-158-236-229.rev.dartybox.com] has quit ["Quitte"] 15:58 -!- civnetra [n=civnetra@58.253.22.16] has quit ["leaving"] 15:59 -!- Demp [n=Demp@bzq-79-178-23-151.red.bezeqint.net] has quit [Read error: 60 (Operation timed out)] 16:00 -!- plexdev [n=plexdev@arthur.espians.com] has quit [Remote closed the connection] 16:00 -!- plexdev [n=plexdev@arthur.espians.com] has joined #go-nuts 16:01 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts 16:03 < ni|> morning 16:03 < ni|> rog: you using acme to dev on go? 16:04 -!- skelterjohn [n=jasmuth@h96-61-40-85.mdtnwi.dsl.dynamic.tds.net] has quit [] 16:05 < rog> ni|: yup 16:07 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 16:08 < dho> morning 16:11 < jhh> hey, dho 16:16 -!- Venom_X [n=pjacobs@66.54.185.131] has joined #go-nuts 16:17 -!- b00m_chef [n=watr@91.178.229.192] has joined #go-nuts 16:18 < ni|> rog: thats cool 16:18 < ni|> hey dho :) 16:19 < dho> hello 16:19 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [Read error: 104 (Connection reset by peer)] 16:19 < ni|> does anyone know what the status of things like semaphores and monitors are in go 16:19 < ni|> i'm interested in making some locking mechanisms 16:19 < dho> pkg/sync? 16:20 < ni|> ah ok 16:20 -!- gisikw [n=gisikw@137.28.246.58] has quit ["Leaving"] 16:20 < dho> it's suggested not to use them 16:20 < ni|> so basically simple mutex and rwmutex 16:20 < ni|> dho: why is that suggested? 16:20 < ni|> whats suggested for sync then lol 16:20 < jessta> channels 16:20 < ni|> i was thinking of doing an RCU implementation 16:20 < dho> the go philosophy is `share memory by communicating, not communicate by sharing memory' 16:21 < dho> i didn't say don't do it, i just said it wasn't recommended 16:21 < ni|> i know you didn't -- i was just curious 16:21 < dho> and what jessta said 16:21 < ni|> i have played wiht the channels a bit 16:22 < ni|> obviously not enough to see how they can eradicate the uses of mutex 16:22 < dho> you can effectively create a mutex by using a buffered channel where sending something over it is unlocking and reading from it is locking 16:22 < dho> ni|: instead of sharing datastructures, you pass them over channels 16:22 < ni|> would that allow for multiple readers? 16:22 < dho> yes 16:22 < ni|> actually before i waste more time -- i should read a doc 16:23 < ni|> is this just lang spec stuff or in effective go 16:23 < dho> effective go has a reasonable section 16:23 < ni|> lol whoops, sorry 16:26 < ni|> i wrote an iphone web app in go 16:26 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts 16:26 < ni|> i need to make it better :( 16:26 -!- Kashia [n=Kashia@85.116.200.189] has quit ["Leaving"] 16:28 < ni|> rog: was it you i was talking about web apps? 16:28 < ni|> nvm i think it was npe 16:30 -!- Jhdias [i=bb17b2c4@gateway/web/freenode/x-tjuzaieibodxdhyn] has joined #go-nuts 16:32 -!- Xera` [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 16:33 < dho> i really would like to get some good ideas for comp. sci. senior projects that might involve go 16:36 -!- daaku [n=daaku@c-67-169-181-30.hsd1.ca.comcast.net] has quit [] 16:37 < rog> ni|: i don't *think* so. but it's quite possible nonetheless... :-) 16:37 < anticw> dho: a go compiler ... in go 16:38 < anticw> dho: you already have a parser of sorts to start with and a reference code generator in c 16:38 < dho> I thought of that too :) 16:38 < dho> I've got that and two audio projects 16:40 < anticw> dho: another idea that might fit well with goroutines and channels is an irc/im interworking proxy thing 16:41 < rog> dho: what about something distributed - like a little compute-grid system 16:41 < anticw> something that daemonizes and holds state and allows multiple access remotely via various means 16:45 -!- b00m_chef [n=watr@91.178.229.192] has quit [Read error: 60 (Operation timed out)] 16:48 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 110 (Connection timed out)] 16:49 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts 16:51 -!- Alkavan [n=alkavan@77.127.58.107] has quit ["Leaving"] 16:53 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 113 (No route to host)] 17:03 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection] 17:04 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 17:11 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has joined #go-nuts 17:13 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts 17:13 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error: 104 (Connection reset by peer)] 17:14 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 17:15 -!- gisikw [n=gisikw@137.28.186.120] has joined #go-nuts 17:18 -!- Venom_X_ [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 17:20 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit ["Ex-Chat"] 17:31 -!- Jhdias [i=bb17b2c4@gateway/web/freenode/x-tjuzaieibodxdhyn] has quit [Ping timeout: 180 seconds] 17:34 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has quit [Read error: 60 (Operation timed out)] 17:34 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 17:34 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 17:35 -!- Venom_X [n=pjacobs@66.54.185.131] has quit [Read error: 113 (No route to host)] 17:35 -!- chickamade [n=chickama@222.254.0.77] has joined #go-nuts 17:39 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 17:52 -!- path[l] [n=path@59.162.86.164] has quit [] 18:00 -!- carllerche [n=carllerc@m7e0f36d0.tmodns.net] has joined #go-nuts 18:01 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has quit ["Leaving."] 18:02 -!- murodese [n=James@203-59-16-119.dyn.iinet.net.au] has joined #go-nuts 18:03 -!- Pete_27 [n=noname@115.64.1.61] has joined #go-nuts 18:07 -!- carllerche [n=carllerc@m7e0f36d0.tmodns.net] has quit [] 18:10 -!- [Pete_27] [n=noname@115.64.1.61] has quit [Read error: 110 (Connection timed out)] 18:10 -!- gasreaa [n=atwong@nat/slide/x-xbspdszyiwilydyy] has joined #go-nuts 18:11 -!- gasreaa [n=atwong@nat/slide/x-xbspdszyiwilydyy] has left #go-nuts [] 18:16 < dho> rog: how would that work theoretically? 18:16 < dho> cw_: what would you use that for? 18:16 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts 18:17 -!- chickamade [n=chickama@222.254.0.77] has quit ["Leaving"] 18:18 < dho> rog: (are you referring to something like MPI or something like distributed.net for instance) 18:18 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"] 18:19 -!- difekta [n=clays@75.101.111.19] has joined #go-nuts 18:21 < rog> dho: maybe just something that distributes an arbitrary go function across a network 18:21 -!- difekta [n=clays@75.101.111.19] has quit [Client Quit] 18:21 < rog> or perhaps an arbitrary command that reads & writes stdin/stdout, given that go doesn't have dynamic loading 18:23 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 18:24 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 18:26 < dho> hm 18:26 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 18:26 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has left #go-nuts ["Konversation terminated!"] 18:27 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 18:31 < happy> can someone help me install go? Here is my error http://pastebin.org/71796 18:32 < keeto> cd .. 18:32 < dho> no 18:32 < happy> make: *** No rule to make target `all'. Stop. 18:32 -!- petar_ [n=petar@c-24-91-153-59.hsd1.ma.comcast.net] has joined #go-nuts 18:32 < dho> happy: are you sure that GOROOT is in your environment 18:33 < dho> just adding it to .bashrc isn't enough; you still have to login or source it 18:33 < happy> dho, I cp and pasted from bashrc 18:33 < happy> I started a new konsole 18:33 < dho> ok, so if you echo $GOROOT, what do you see? 18:34 < happy> /home/stephen/sandbox/go 18:35 < dho> your error would imply that $GOROOT is not set 18:35 < happy> bash says it is set :-\ 18:35 < dho> if you edit the Makefile in that directory, and comment out the bash $(QUOTED_GOROOT)/src/make.bash and instead do echo $GOROOT && exit 1 18:35 < dho> er 18:36 < dho> echo $(QUOTED_GOROOT) 18:37 < happy> same error... 18:37 < dho> then you didn't do something right, because that shouldn't be executing if you did 18:37 < happy> ok 18:38 < happy> I am going to start from the beginning 18:38 < happy> can we agree I did the bashrc variables right? 18:38 < dho> pastebin is opening ads o_O 18:38 < dho> yes. 18:38 < dho> oh, that's pastebin.org 18:38 < dho> lame. 18:39 < happy> lol 18:39 < dho> use gopaste.org anyway 18:39 < happy> ok 18:40 < dho> what's the output of make -v | head -1 18:40 < happy> I have been trying to find a good pastebin. My favorite is pastebin.ca because it does not consider most of my stuff spam 18:40 < happy> GNU Make 3.81 18:41 < dho> that's really weird. 18:41 < dho> the only reason it should do that is if $GOROOT is empty 18:41 -!- snearch_ [n=olaf@g225049083.adsl.alicedsl.de] has joined #go-nuts 18:41 < dho> s/should/can/ 18:41 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [] 18:43 < happy> dho: I am now running: hg clone -r release https://go.googlecode.com/hg/ $GOROOT 18:43 < dho> ok. 18:43 -!- petar_ [n=petar@c-24-91-153-59.hsd1.ma.comcast.net] has quit [] 18:44 < dho> before running make, run env | grep ^GO just to make sure that everything's set correctly 18:44 -!- Venom_X [n=pjacobs@66.54.185.131] has joined #go-nuts 18:44 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."] 18:44 -!- crashR [n=crasher@codextreme.pck.nerim.net] has quit ["Leaving."] 18:45 < happy> dho: it looks right 18:46 < happy> it is working now :-\ 18:46 < dho> yep 18:46 < dho> cool 18:47 < happy> thanks for the help 18:47 < dho> np 18:47 < dho> gotta hold your tongue right. 18:47 < happy> I think it was the fact that I did not install python-setuptools 18:47 < dho> the build doesn't use python 18:48 < happy> yeah... but that was the only thing I changed... 18:48 -!- cbeck [n=phylum@host-246-194.pubnet.pdx.edu] has joined #go-nuts 18:48 < dho> You could have had a bad checkout 18:48 < happy> maybe it was just redownloading it 18:48 < happy> yeah 18:49 < dho> happy: What're you looking to use Go for? 18:50 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has joined #go-nuts 18:53 < happy> dho: the ubuntu build of firefox has serious memory leaks :-\ 18:53 -!- Kashia [n=Kashia@84.171.69.102] has joined #go-nuts 18:54 < happy> sorry I did not respond, I was trying to kill firefox 18:54 < dho> heh 18:54 < dho> np 18:54 < dho> I'm just curious 18:55 < happy> I am hoping to use go as a replacement for python. I use python to navigate websites and scrape information for the most part. 18:57 < KirkMcDonald> So you'll need an HTML parser and a replacement for urllib. 18:58 < happy> I also use it for reading rss feeds, xml, csv, pretty much anything that involves amassing information. 18:58 < happy> KirkMcDonald: I cheat and use regex 18:58 < happy> I was thinking that since go is new and I had some time I would try to make a replacement for urllib out of libcurl 18:58 < KirkMcDonald> happy: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 18:59 < happy> I have used both 19:00 < happy> KirkMcDonald: as I said, I "cheat" 19:00 < happy> KirkMcDonald: I find regex is smart enough 19:01 -!- joeatwork [n=joeatwor@209.60.160.146] has joined #go-nuts 19:01 -!- snearch_ [n=olaf@g225049083.adsl.alicedsl.de] has quit ["Ex-Chat"] 19:02 < KirkMcDonald> There is also the fact that Go's regexp package is incredibly minimal. 19:02 < KirkMcDonald> No non-greedy matching, for instance, which makes this use of it that much harder. 19:02 < happy> wow 19:03 < dho> libcurl is gross 19:03 < happy> that makes it near impossible... 19:03 < happy> dho: it is, I was thinking of using it as a backend for a saner interface :-) 19:03 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined #go-nuts 19:03 < happy> KirkMcDonald: how easy is it to use C libraries? 19:03 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has joined #go-nuts 19:04 < dho> Go provides you with pkg/http which is a significant amount of that work; I'd recommend implementing something on top of that 19:04 -!- difekta [n=clays@75.101.111.19] has joined #go-nuts 19:04 < happy> pcre can not go wrong 19:04 < dho> Cgo works. I'm `maintaining' it for the most part. 19:04 -!- difekta [n=clays@75.101.111.19] has quit [Client Quit] 19:04 < KirkMcDonald> Cgo still doesn't do callbacks, though. 19:04 < dho> It's fragile and callbacks into go code have to be hacked in 19:04 < KirkMcDonald> Which limits its utility. 19:04 < dho> KirkMcDonald: you *can*, it's just not straightforward 19:04 < KirkMcDonald> Ah! 19:04 < KirkMcDonald> That must be new, since the last time I checked. 19:05 < dho> the Lua thing does it, and someone posted an example of how to do it today 19:05 -!- Vova [i=Vova@77.125.96.18] has quit [Read error: 110 (Connection timed out)] 19:05 < dho> And the Lua bindings have been around for a fairly long time (relative to Go's public conception) 19:05 < happy> why doesn't go just use pcre? 19:05 < dho> Because two of the people who work on go are regexp experts 19:05 < dho> I suspect there will be more / better support at some point 19:05 < happy> lol 19:06 < dho> it's a new language; not yet 3 months old 19:06 < happy> yeah 19:06 < dho> (publically speaking, again) 19:06 < KirkMcDonald> Yeah, the regexp package smells like a stub, to be filled out later. 19:06 < happy> I am just here to play with it. I do not expect it to do much for a while. 19:06 < dho> Given both Russ and Rob's work with regexps, I imagine something very nice will be available. 19:10 < happy> dho: I want to play around with go a little. But in the future (long term if not even regex works right :-P) I wold like to see some libraries that are easy to use like urllib, feedparser, ect in python 19:10 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 19:11 < dho> happy: Become world-reknowned for writing them. 19:11 < happy> dho: that was what I was thinking of with the urllib :-P 19:12 < dho> again, the http package implements the nitty-gritty (what you might use libcurl for) 19:12 < dho> Also, I'm pretty sure there is a dom parser somewhere 19:13 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has joined #go-nuts 19:13 < dho> There's certainly XML at least, so I think that you shouldn't really need hacky regexp screen-scraping. 19:13 < happy> yeah. does libcurl or urllib use a dom parser? 19:14 < happy> dho: of course I would not use regex for something like that. I use regex for getting info from sites I know the exact format of. 19:14 < dho> curl is only an interface to http connections, ssl, cookies, and that sort of stuff 19:14 < dho> it's an http protocol library 19:14 < dho> that's what the http package implements 19:14 < happy> ok 19:15 < dho> I haven't used urllib much, so I don't really know much about it 19:15 < happy> I need to look into what the http package is before I continue to look stupid :-) 19:15 < dho> http://golang.org/pkg/http 19:15 < happy> it sounds like it is urllib 19:15 < dho> implements http client and server handling 19:16 < happy> why is that built into one package? 19:17 < dho> why not? they both implement http, just different sides of it. 19:17 < happy> because almost no program would implement both 19:18 < dho> well you don't have to use both :) 19:18 * dho turns on tntlly 19:18 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error: 110 (Connection timed out)] 19:18 -!- moraes [n=moraes@187.39.148.176] has joined #go-nuts 19:19 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 19:19 < moraes> entered #go: "go is the game (not the silly language)". :P 19:19 < moraes> then they point to here 19:19 < joeatwork> Say, just a sanity check- does string equality in go imply the strings contain the same characters in order? That is, 19:19 < dho> Ah well, ti's a silly game. 19:20 < joeatwork> s1 == "contents" && s2 == "contents" implies s1 == s2 ? 19:20 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 19:21 < dho> if string1 == string2 is the same as if (!strcmp(str1, str2)) in c 19:21 < joeatwork> Awesome 19:21 < dho> thought this is a fast comparison because strings are immutable 19:21 < joeatwork> Thanks for the great answer (to an awkwardly phrased question :) 19:21 < dho> though* 19:21 < dho> np 19:22 < dho> god i haven't listened to these guys in a while; forgot how fucking badass they are 19:23 -!- Robson [n=chatzill@189.75.93.247] has joined #go-nuts 19:23 < happy> dho: the go client does not support gzip, cookies, ssl, ect. This is going to be fun :-) 19:24 < dho> it should support ssl. 19:24 < dho> Rather, I thought it did 19:24 < happy> nope 19:25 < dho> well there is at least a gzip package 19:25 < happy> ok 19:25 < dho> it does support cookies by-way of headers 19:25 < dho> there's an issue out for the fact that putting in a header with the same name overwrites that header 19:25 < dho> (so you can't have multiple Set-Cookie calls) 19:25 -!- Pete_27 [n=noname@115.64.1.61] has quit [Read error: 60 (Operation timed out)] 19:26 < dho> but RFC2616 says that that is the same as X-Header: val1, val2 19:26 < dho> rather 19:26 < dho> X-Header: val1 19:26 < dho> X-Header: val2 19:26 < dho> is the same as what I just put 19:27 < happy> I am sorry, I have no idea what you mean 19:27 < dho> Cookies are sent in headers 19:27 < happy> I knew that 19:27 -!- [Pete_27] [n=noname@115.64.1.61] has joined #go-nuts 19:27 < dho> Typically in multiple headers with the same name 19:27 < dho> which is the same as one header with comma separation 19:27 < happy> ok 19:28 -!- rauli [i=x@luno.fi] has quit [Read error: 60 (Operation timed out)] 19:28 < dho> anyway 19:28 < dho> there are shortcomings all over the place man 19:28 < happy> lol 19:28 < dho> we need more people to use the language so that we can get more developers working on the language 19:28 < dho> and / or more people saying what they need from the language 19:28 -!- joeatwork [n=joeatwor@209.60.160.146] has left #go-nuts [] 19:29 < happy> catch 22 :-P 19:29 < dho> nah, not so much 19:29 < dho> the language itself is interesting enough 19:29 < dho> I think it is going to take about 2 years to really mature though. 19:30 < happy> and documentation would help too. I am finding it easier to read the source then what the site calls "documentation" 19:30 < dho> Yes, feel free to submit documentation patches (in the form of in-source comments) 19:31 -!- Cyanure [n=cyanure@81-65-189-254.rev.numericable.fr] has quit [Connection timed out] 19:31 < dho> I'm sure that will be appreciated. 19:31 -!- rauli [i=x@luno.fi] has joined #go-nuts 19:31 -!- iant [n=iant@nat/google/x-brkkiyjopfvpdlch] has joined #go-nuts 19:31 -!- mode/#go-nuts [+v iant] by ChanServ 19:32 < dho> i don't work for google, i just actively contribute to the project... so my suggestions on what would be appreciated are really more based on what i've seen on the lists and my own contributions 19:32 < happy> dho: I can only think of one more question for the moment. what is up with the rat? 19:32 < dho> the gopher? or the rat who ate my car? 19:32 < happy> gopher I guess 19:32 < dho> probably the gopher 19:32 < dho> his name is gordon, the gopher. he's go's mascot. 19:33 < happy> ok 19:33 < dho> Renee French is an artist who drew Glenda the Plan 9 Bunny 19:33 < dho> She's married to Rob Pike 19:33 < dho> so it works out :) 19:33 * dho personally finds most of her work intriguingly disturbing 19:41 < dagle> Gordon is the only reason I'm using the language. ;) 19:41 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has joined #go-nuts 19:42 < dho> What a silly reason to use cool new technology 19:42 < jhh> who should i add as a reviewer for a patch? 19:43 < dho> what's the patch 19:43 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 104 (Connection reset by peer)] 19:43 <+iant> jhh: if you don't know, you can just use golang-dev@googlegroups.com 19:43 < dho> but what iant said 19:43 < jhh> programmed extend functions for container/list 19:43 < dagle> dho: I am silly at internet. Belive it or not gordon is not my reason for using it. 19:44 < dho> i dunno if that's agl's territory, but golang-dev is the best idea if you don't know 19:44 < dho> dagle: It's ok; I said the same thing to someone who said they wouldn't use it because `google = bad' 19:44 -!- ejb [n=ejb@unaffiliated/ejb] has quit [Read error: 110 (Connection timed out)] 19:44 -!- ejb [n=ejb@unaffiliated/ejb] has joined #go-nuts 19:46 < dagle> dho: Was it stallman? 19:46 < dho> no, some idiot in ##freebsd 19:46 <+iant> I've never heard RMS say that google = bad 19:47 <+iant> he's certainly concerned about cloud computing conceptually 19:47 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined #go-nuts 19:47 < dagle> I have heard him say that irl. 19:47 < dho> he's certainly a nutcase 19:47 <+iant> that directly? that doesn't sound right 19:47 <+iant> The GNU project participates in Google Summer of Code, for example 19:48 <+iant> he refused the first year, but then he came around 19:48 < dho> iant: is Go applying for GSoC this year? 19:48 < dagle> I think he was sane at some point but people tried to make him into a god or something and he went nuts. 19:48 <+iant> dho: yes, we are applying 19:48 < dho> (If so, do you know if you guys will be looking for non-Google-Employee mentors?) 19:48 <+iant> dho: good question, actually, we haven't talked about it but I don't see why not 19:49 < dho> If not, I'll probably either admin Plan 9 again this year or nothing at all 19:49 <+iant> dagle: RMS has been the same since I've known him, but that was only since 1990, he might have been more normal before he started GNU 19:49 < dagle> Ok. 19:49 <+iant> actually I haven't spoken to him in several years, though 19:50 < dho> I was 7 in 1990 :( 19:50 <+iant> ouch 19:50 < mycroftiv> I really like Rob's story about Stallman organizing a fairly polite protest against him at a university 19:50 < dho> 1990 was a long time ago <_< 19:50 <+iant> yeah, that was funny 19:50 * dagle is glad that dho didn't see stallman when he was 7. 19:50 < sinuhe> esr indicates he was clean cut once 19:51 <+iant> what, when he was a kid? 19:51 < dho> heh 19:51 < mycroftiv> back in the 60s stallman hated the counterculture, apparently, wasnt part of it at all 19:51 < dho> I'll clearly never be a famous computing person 19:51 < dho> I can't grow a beard :( 19:52 < dagle> :( 19:52 -!- da4089 [n=d@gw-cogent.jersey.mantara.com] has joined #go-nuts 19:52 < sinuhe> I swapped GPG keys with him last year in San Francisco, and he was twirling his hair and couldn't stop, then he'd bite the split ends. Showed me his new Lemote laptop. I was smiling that he was running Debian, since he won't admit to using it on his website. 19:52 < dagle> :D 19:53 < sinuhe> Instead of programmng his own OS, he now has others do it for him (he's running gNewSense on the laptop now). 19:54 < sinuhe> Not a bad gig actually: your own team of gratis devs and get paid to say the same thing over and over again at universities. 19:55 < dho> I'd go nuts if I wasn't doing anything useful 19:55 < mycroftiv> well, i think he finally retired, but stallman was still emacs maintainer up til quite recently 19:55 -!- cbeck1 [n=phylum@host-244-95.pubnet.pdx.edu] has joined #go-nuts 19:56 < mycroftiv> as an acme user, i guess i wouldnt completely say that is 'useful', but to each their own ;) 19:56 -!- Jhdias [i=bb17b2c4@gateway/web/freenode/x-kdzkukgpozpegouh] has joined #go-nuts 19:57 < taruti> rms as a maintainer is not necessarily a good thing 19:57 < dho> I'd like to see some work in nvi 19:57 < dho> every time i try to read it, my eyes start to bleed and I go into a short coma though 19:57 < taruti> one reason gcc has been historically so cluttered up is that it was programmed to make writing plugins hard 19:58 < dho> iant: is that still the case? 19:58 <+iant> speaking as a gcc maintainer, that's not literally true, but it is true that it was not designed to support plugins 19:58 <+iant> plugins are now permitted in gcc 19:58 <+iant> that took years of arguing with RMS 19:58 < dho> why was he so against it? 19:58 <+iant> RMS's view of the compiler world is stuck in the 80's 19:58 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit ["Leaving"] 19:59 <+iant> back then there were lot of proprietary compilers 19:59 <+iant> he didn't want them to turn themselves into proprietary plugins for gcc 19:59 <+iant> biaw 20:04 -!- cbeck [n=phylum@host-246-194.pubnet.pdx.edu] has quit [Read error: 110 (Connection timed out)] 20:08 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 20:09 -!- Venom_X [n=pjacobs@66.54.185.131] has quit [Remote closed the connection] 20:13 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 60 (Operation timed out)] 20:14 < jhh> what can i do about it if "hg change" doesn't recognize my changes (because i "hg change"d already on them once)? 20:14 < jhh> reverting and redoing the editing doesn't seem to work 20:15 < sinuhe> rebase? 20:16 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 20:16 < dho> jhh: hg change [CL Number] 20:18 -!- nu-eve [n=chatzill@89.130.223.225] has joined #go-nuts 20:19 -!- Jhdias [i=bb17b2c4@gateway/web/freenode/x-kdzkukgpozpegouh] has quit [Ping timeout: 180 seconds] 20:23 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has quit [Remote closed the connection] 20:23 -!- GeoBSD [n=geobsd@lns-bzn-61-82-250-80-183.adsl.proxad.net] has joined #go-nuts 20:23 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [] 20:23 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [Read error: 104 (Connection reset by peer)] 20:23 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts 20:23 -!- tumdum [n=tumdum@unaffiliated/tumdum] has joined #go-nuts 20:25 < jhh> rebase is no hg command 20:25 -!- evilhackerdude [n=stephan@78.46.203.42] has quit [Read error: 104 (Connection reset by peer)] 20:26 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 20:26 < dho> jhh: what're you trying to do? 20:26 -!- cmarcelo [n=cmarcelo@enlightenment/developer/cmarcelo] has quit ["leaving"] 20:30 < jhh> I think I got it now. Is there a connection between the file list I see on "hg change" and files that get uploaded by "hg upload"? 20:30 -!- nu-eve [n=chatzill@89.130.223.225] has quit ["ChatZilla 0.9.86 [Firefox 3.5.6/20091215231400]"] 20:30 < jhh> I guess I had to type the files there and then do an upload 20:30 < dho> Yes 20:30 -!- evilhackerdude [n=stephan@78.46.203.42] has joined #go-nuts 20:31 < dho> that is the changed file list 20:31 < dho> worth noting that they must have a tab in front 20:31 < dho> spaces will cause things to go awry 20:32 < jhh> everything is fine if I see correct changes in the code review page? 20:34 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [] 20:38 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 20:38 -!- codedread [i=180dd699@gateway/web/freenode/x-bfmjagrscakdmkpo] has joined #go-nuts 20:38 -!- codedread [i=180dd699@gateway/web/freenode/x-bfmjagrscakdmkpo] has left #go-nuts [] 20:39 -!- ikke [n=ikkibr@unaffiliated/ikkebr] has quit [] 20:42 < dho> yep 20:42 < dho> have you contributed code before, jan? 20:45 < jhh> nope, i'm a contribution virgin 20:46 < dho> You'll need to add yourself to CONTRIBUTORS and AUTHORS and submit that in a separate CL 20:46 < dho> you'll also need to fill out a form for legal purposes 20:46 < dho> jhh: http://code.google.com/legal/individual-cla-v1.0.html 20:49 < jhh> electronically signing ftw 20:50 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the connection] 20:55 < jhh> thanks, devon 20:56 -!- gisikw [n=gisikw@137.28.186.120] has quit [] 20:57 -!- sheb [n=seb@AToulouse-152-1-54-43.w82-125.abo.wanadoo.fr] has joined #go-nuts 20:59 < dho> np 21:00 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 21:00 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Remote closed the connection] 21:01 < jhh> does that patch have to be accepted before i should modify the CONTRIBUTORS and AUTHORS file? 21:01 -!- Robson [n=chatzill@189.75.93.247] has quit [Remote closed the connection] 21:01 < dho> No, you have to do that before your patch can be submitted 21:03 < happy> Is there a move function in one of the go packages? 21:04 <+iant> what do you want to move? 21:04 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 21:04 < happy> iant: files 21:04 <+iant> happy: os.Rename 21:04 < happy> although moving directories could come in handy 21:05 -!- plainhao [n=plainhao@mail.xbiotica.com] has quit [] 21:05 < happy> iant: I do not want to rename. What if they are on different partitions? 21:05 <+iant> ah, then, no, I don't think so 21:05 -!- Fringehead [n=fringe@c-24-126-235-188.hsd1.ga.comcast.net] has quit [Read error: 60 (Operation timed out)] 21:06 < jhh> who's the reviewer for AUTHORS/CONTRIBUTORS files? 21:06 <+iant> anybody at Google 21:06 < jhh> like you? 21:06 < happy> iant: thanks anyways. I guess it is another thing to add to the wanted packages list :-). move, copy, ect 21:07 < dho> Such a thing might be a useful addition to the os package 21:08 < happy> dho: It would need to be its own package 21:08 < dho> Why? 21:09 < happy> os is just a frontend for the standard os stuff. I know python has the same type of OS stuff and you need to import another for the copy function 21:10 < happy> of course, I am no expert :-) 21:10 < dho> Fair enough 21:10 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 21:11 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts 21:11 -!- Fringehead [n=fringe@c-24-126-235-188.hsd1.ga.comcast.net] has joined #go-nuts 21:13 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["Quit!"] 21:20 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 21:21 -!- rhelmer [n=rhelmer@adsl-69-107-78-140.dsl.pltn13.pacbell.net] has joined #go-nuts 21:26 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Remote closed the connection] 21:28 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 21:32 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has quit [Read error: 60 (Operation timed out)] 21:32 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 21:41 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["Leaving"] 21:41 -!- cbeck1 [n=phylum@host-244-95.pubnet.pdx.edu] has quit [Read error: 104 (Connection reset by peer)] 21:41 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error: 104 (Connection reset by peer)] 21:42 < happy> anyone know how to get a list of all the files in a directory? 21:42 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 21:43 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 21:45 <+iant> happy: open the directory and call Readdirnames; see testReaddirnames in src/pkg/os/os_test.go 21:46 < happy> what do you mean "open" the directory? 21:46 < happy> stat it? 21:46 <+iant> os.Open 21:46 < happy> ok 21:46 < jhh> what's the right way to deepcopy a map or a linked list? 21:47 < happy> iant: will os.Open() understand . .. ~ ect 21:47 <+iant> . and .. yes, ~ no 21:47 < happy> ok 21:48 < happy> iant: about testReaddirnames, why does it have test in its name? 21:48 <+iant> that is code that tests the Readdirnames method, I'm suggesting that you look at it for how to use Readdirnames 21:48 <+iant> os_test.go is test code 21:48 < happy> ah 21:50 -!- cbeck [n=phylum@host-244-95.pubnet.pdx.edu] has joined #go-nuts 21:52 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 21:55 < plexdev> http://is.gd/5PiK7 by [Jan H. Hosang] in go/ -- Added me to authors and contributors. 22:00 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts 22:03 -!- DerHorst [n=Horst@e176119237.adsl.alicedsl.de] has quit ["Verlassend"] 22:07 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Read error: 104 (Connection reset by peer)] 22:07 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 22:14 -!- Gracenotes [n=person@wikipedia/Gracenotes] has quit [Remote closed the connection] 22:15 -!- tumdum [n=tumdum@unaffiliated/tumdum] has quit [] 22:21 -!- ikke [n=ikke@unaffiliated/ikkebr] has joined #go-nuts 22:27 -!- raichoo1 [n=raichoo@i577B98E3.versanet.de] has joined #go-nuts 22:31 -!- sheb [n=seb@AToulouse-152-1-54-43.w82-125.abo.wanadoo.fr] has left #go-nuts [] 22:31 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Read error: 110 (Connection timed out)] 22:35 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 22:35 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client Quit] 22:37 -!- blackmagik [n=blackmag@173.45.224.239] has quit [Remote closed the connection] 22:37 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 22:39 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client Quit] 22:42 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 22:47 < happy> is there a function that can print out internal structures like arrays for debugging purposes? 22:48 <+iant> fmt.Print can print arrays but there isn't an internal function which will 22:49 < happy> ok 22:50 < happy> thanks 22:53 -!- difekta [n=clays@75.101.111.19] has joined #go-nuts 22:57 -!- perdix [n=perdix@sxemacs/devel/perdix] has quit ["A cow. A trampoline. Together they fight crime!"] 22:57 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 22:59 -!- rog [n=rog@78.148.84.113] has quit [] 22:59 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 23:00 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["This computer has gone to sleep"] 23:08 -!- rog [n=rog@78.148.84.113] has joined #go-nuts 23:12 -!- jackman [n=jackman@75-169-148-56.slkc.qwest.net] has joined #go-nuts 23:15 -!- moraes [n=moraes@187.39.148.176] has quit [Read error: 60 (Operation timed out)] 23:16 -!- moraes [n=moraes@187.39.148.176] has joined #go-nuts 23:18 -!- philips [n=brandon@opensuse/member/philips] has quit [Read error: 113 (No route to host)] 23:21 < jackman> I'm back! 23:23 < happy> anyone know how to ignore a return value? When a function returns two values, but I only try to catch one, I get an error. But if I put in a random variable, it complains I initalized it but never used it. 23:23 < KirkMcDonald> happy: Use _ as the variable name for the one you want to ignore. 23:23 < happy> ok 23:23 -!- raichoo1 [n=raichoo@i577B98E3.versanet.de] has left #go-nuts [] 23:23 < happy> thanks again 23:26 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 23:27 -!- zohaib1020 [n=zohaib10@adsl-158-3-168.asm.bellsouth.net] has joined #go-nuts 23:27 -!- ShadowIce` [i=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 23:31 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client Quit] 23:31 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts 23:35 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:37 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 23:38 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 23:38 < dho> evening 23:39 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client Quit] 23:41 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 23:42 < plexdev> http://is.gd/5PxJW by [Rob Pike] in go/src/pkg/time/ -- New time formatter, time.Format(formatString) 23:47 -!- fhs [n=fhs@pool-72-89-203-117.nycmny.east.verizon.net] has joined #go-nuts 23:47 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 23:49 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 23:50 < happy> does go have anything like os.path in python? 23:57 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."] 23:58 < dho> what is os.path 23:58 < plexdev> http://is.gd/5PzQr by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: Use -fno-eliminate-unused-debug-types when calling gcc to for dwarf stabs. 23:58 < plexdev> http://is.gd/5PzQF by [Russ Cox] in go/src/pkg/http/ -- http: avoid header duplication - take struct fields out of Header map 23:58 < plexdev> http://is.gd/5PzR6 by [Austin Clements] in go/misc/emacs/ -- Use remove-text-properties instead of 23:59 < plexdev> http://is.gd/5PzRA by [Russ Cox] in go/doc/devel/ -- add release log as doc/devel/release.html 23:59 < plexdev> http://is.gd/5PzRZ by [Russ Cox] in go/src/cmd/godoc/ -- godoc: serve index.html in place of directory listing, when present --- Log closed Thu Jan 07 00:00:07 2010