--- Log opened Thu Jan 14 00:00:46 2010 00:03 -!- TWD|dissed [n=twdsje@c-67-186-236-75.hsd1.ut.comcast.net] has quit [] 00:05 -!- tomestla [n=tom@AToulouse-151-1-51-105.w81-250.abo.wanadoo.fr] has joined #go-nuts 00:14 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit [] 00:14 -!- raichoo1 [n=raichoo@i577BA21F.versanet.de] has joined #go-nuts 00:14 < mrd`> sktrdie: Yes, it can compile to native code. You can send it to other computers running the same OS and CPU architecture. 00:23 -!- raichoo [n=raichoo@i577BA6DC.versanet.de] has quit [Read error: 110 (Connection timed out)] 00:26 < damjan> afaik it also links statically, so you don't need to bother about dependencies, right? 00:29 -!- mward [n=mward@231.sub-75-207-66.myvzw.com] has quit [Read error: 110 (Connection timed out)] 00:30 < dho> is there a way to get hg log to show a log of changes since a given revision? 00:34 < olegfink> hg log -r 1234:tip ? 00:34 < plexdev> http://is.gd/6dNkz by [Russ Cox] in 3 subdirs of go/ -- create doc/talks/. 00:40 -!- iant [n=iant@nat/google/x-axgsngnkyxfloval] has quit [Read error: 110 (Connection timed out)] 00:44 -!- raichoo [n=raichoo@i577BA21F.versanet.de] has left #go-nuts [] 00:45 -!- pavelz [n=root@CPE000c32111133-CM00223a6aa629.cpe.net.cable.rogers.com] has quit [Read error: 60 (Operation timed out)] 00:45 -!- _rog [n=rog@89.241.197.228] has quit [Read error: 60 (Operation timed out)] 00:49 -!- rog_ [n=rog@89.241.197.228] has joined #go-nuts 00:50 < plexdev> http://is.gd/6dPzQ by [Russ Cox] in go/doc/ -- contribute.html: suggest hg mail instead of hg upload 00:50 -!- iant [n=iant@67.218.106.32] has joined #go-nuts 00:50 -!- mode/#go-nuts [+v iant] by ChanServ 00:50 < plexdev> http://is.gd/6dPBp by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: Only allow numeric / string / character type constants for references 00:53 -!- TWD [n=twdsje@c-67-186-236-75.hsd1.ut.comcast.net] has joined #go-nuts 00:53 -!- b00m_chef [n=watr@128.189.65.42] has quit [Connection timed out] 01:03 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 01:04 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 01:05 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined #go-nuts 01:06 -!- Venom_X [n=pjacobs@66.54.185.131] has quit [] 01:06 < plexdev> http://is.gd/6dS78 by [Rob Pike] in go/src/pkg/time/ -- clean up handling of numeric time zones 01:07 -!- fifoman [n=fifoman@p4FCC6E68.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 01:17 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 01:20 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 01:24 < plexdev> http://is.gd/6dUF1 by [Russ Cox] in 2 subdirs of go/ -- release.2010-01-13: final checkin, release notes 01:25 -!- TWD [n=twdsje@c-67-186-236-75.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)] 01:25 < plexdev> http://is.gd/6dUMN by [Russ Cox] in go/ -- .hgtags: add release, release.2010-01-13 01:26 < Eridius> huh, mercurial tags are controlled by a dotfile in the root of the repo? curious 01:26 < plexdev> http://is.gd/5NoPu by [Russ Cox] in go/ -- release.2010-01-05 01:27 < Eridius> huh, really? these messages are coming from a git mirror of the repo? that's amusing 01:27 < plexdev> http://is.gd/5Oizj by [Ivan Krasin] in go/src/pkg/json/ -- Propagate error to the caller in json.Marshal. Fixes issue 445. 01:30 -!- GeoBSD [n=geobsd@lns-bzn-31-82-252-205-200.adsl.proxad.net] has quit [Remote closed the connection] 01:30 < 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. 01:31 < 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 01:34 < plexdev> http://is.gd/5PiK7 by [Jan H. Hosang] in go/ -- Added me to authors and contributors. 01:34 <+iant> oh no, the plexdev release storm 01:34 < plexdev> http://is.gd/5PxJW by [Rob Pike] in go/src/pkg/time/ -- New time formatter, time.Format(formatString) 01:35 < Eridius> why, does it only mirror named tags? 01:35 < 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. 01:35 < Eridius> or is it just really stupid? 01:35 < plexdev> http://is.gd/5PzQF by [Russ Cox] in go/src/pkg/http/ -- http: avoid header duplication - take struct fields out of Header map 01:35 <+iant> I have no idea why it happens, but it does 01:35 < plexdev> http://is.gd/5PzR6 by [Austin Clements] in go/misc/emacs/ -- Use remove-text-properties instead of 01:35 < Eridius> ah no, it definitely mirrors tip (as there's one commit past the tag) 01:35 < plexdev> http://is.gd/5PzRA by [Russ Cox] in go/doc/devel/ -- add release log as doc/devel/release.html 01:35 <+iant> when a release is made, it recapitulates all the commits made in that release 01:35 < plexdev> http://is.gd/5PzRZ by [Russ Cox] in go/src/cmd/godoc/ -- godoc: serve index.html in place of directory listing, when present 01:36 < Eridius> I'm guessing it picked up on the new tag and has started broadcasting it 01:36 < plexdev> http://is.gd/5PFJw by [Russ Cox] in go/src/pkg/time/ -- time: fix Makefile so deps.bash is happy (fixes build) 01:36 < Eridius> where's the plexdev source? 01:36 < plexdev> http://is.gd/5PPq5 by [Hector Chu] in 8 subdirs of go/src/pkg/runtime/ -- Ported runtime to Windows. 01:36 < plexdev> http://is.gd/5PPqi by [Russ Cox] in go/src/pkg/ -- deps.bash: handle space between .go and \ in GOFILES= 01:38 -!- triplez [n=triplez@bb116-14-64-165.singnet.com.sg] has joined #go-nuts 01:38 < plexdev> http://is.gd/5PRsb by [Russ Cox] in go/src/cmd/8c/ -- 8c: only refer to extern register variables in MOVL instructions 01:41 < plexdev> http://is.gd/5PRsi by [Russ Cox] in go/src/ -- sync make-arm.bash with make.bash 01:41 < Eridius> hrm, it's not using the RSS feed.. that only goes back 10 entries 01:41 < plexdev> http://is.gd/5PTla by [Rob Pike] in go/src/pkg/io/ -- add a standard interface that wraps ReadByte, io.ReadByter 01:42 < plexdev> http://is.gd/5Q0xT by [Russ Cox] in go/src/pkg/runtime/ -- runtime: close TODO now that 8c bug is fixed 01:42 < plexdev> http://is.gd/5Q0y5 by [Evan Shaw] in go/src/libmach/ -- libmach: Add disassembly for newly implemented opcodes 01:45 < plexdev> http://is.gd/5Q0yC by [Evan Shaw] in go/src/cmd/8g/ -- 8g: float->uint64 conversion optimization 01:46 -!- preflex_ [n=preflex@95-88-118-220-dynip.superkabel.de] has joined #go-nuts 01:46 < plexdev> http://is.gd/5Q0zk by [Rob Pike] in go/test/bench/ -- update timing logs for benchmarks. 01:48 < Eridius> who runs plexdev? 01:48 < plexdev> http://is.gd/5Q0A8 by [Rob Pike] in go/src/pkg/time/ -- make Format about twice as fast by removing allocations, using a bytes.Buffer 01:49 -!- gnuvince_ [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has joined #go-nuts 01:49 < plexdev> http://is.gd/5RHTz by [Robert Griesemer] in go/src/pkg/unicode/ -- added some missing periods 01:52 < plexdev> http://is.gd/5TitT by [Rob Pike] in go/src/pkg/time/ -- Add a parser to the time package, the inverse of time.Format 01:52 -!- jb55_ [n=jb55@bas11-kitchener06-1088793613.dsl.bell.ca] has joined #go-nuts 01:52 < plexdev> http://is.gd/5Tiui by [Russ Cox] in go/src/pkg/http/ -- http: most of a URL shouldn't use URL-escaping 01:52 < plexdev> http://is.gd/5TiuN by [Russ Cox] in go/lib/codereview/ -- codereview: repeated hg mail sends "PTAL" 01:53 -!- tomestla [n=tom@AToulouse-151-1-51-105.w81-250.abo.wanadoo.fr] has quit [Read error: 110 (Connection timed out)] 01:53 < plexdev> http://is.gd/5Tivc by [Russ Cox] in 2 subdirs of go/ -- add doc/devel/index.html, linked from nav bar 01:53 < plexdev> http://is.gd/5TivC by [Adam Langley] in 2 subdirs of go/misc/dashboard/ -- Add builder scripts. 01:54 -!- murodese [n=James@124-169-196-46.dyn.iinet.net.au] has joined #go-nuts 01:54 -!- preflex [n=preflex@95-88-118-220-dynip.superkabel.de] has quit [Connection timed out] 01:57 < plexdev> http://is.gd/5TFPs by [Rob Pike] in go/src/pkg/template/ -- Rewrite tokenizer to clean up and fix a bug with spaces before delimited block. 02:00 -!- gnuvince [n=vince@ip-250.45.99.216.dsl-cust.ca.inter.net] has quit [Read error: 110 (Connection timed out)] 02:00 < plexdev> http://is.gd/5TJAd by [Russ Cox] in 2 subdirs of go/ -- gc: bug241 02:00 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit ["Leaving"] 02:00 < plexdev> http://is.gd/5TLB7 by [Russ Cox] in 3 subdirs of go/ -- gc: bug219, bug239, bug240 02:03 < plexdev> http://is.gd/5TPEK by [Russ Cox] in 4 subdirs of go/ -- gc: bug238 02:03 -!- jb55 [n=jb55@bas11-kitchener06-2925076894.dsl.bell.ca] has quit [Read error: 110 (Connection timed out)] 02:03 < plexdev> http://is.gd/5VwJX by [Rob Pike] in go/doc/ -- fix typo 02:05 -!- iant [n=iant@67.218.106.32] has quit [Read error: 110 (Connection timed out)] 02:05 < plexdev> http://is.gd/5VIhS by [Charles L. Dorian] in go/ -- math: special cases for Atan, Asin and Acos 02:06 -!- divoxx [n=divoxx@c925af25.virtua.com.br] has joined #go-nuts 02:06 < plexdev> http://is.gd/5Y3o3 by [Russ Cox] in go/lib/codereview/ -- codereview: do not send mail when submitting for others 02:07 < plexdev> http://is.gd/5Y3oi by [Russ Cox] in go/src/pkg/runtime/ -- runtime: check for preemption due to garbage collection 02:07 -!- carllerche [n=carllerc@enginey-9.border1.sfo002.pnap.net] has quit [] 02:07 < plexdev> http://is.gd/627bR by [Charles L. Dorian] in go/src/pkg/math/ -- math: Sqrt using 386 FPU. 02:09 < plexdev> http://is.gd/6534e by [Robert Griesemer] in 2 subdirs of go/src/pkg/go/printer/ -- Partial work-around for gofmt bug. 02:12 < plexdev> http://is.gd/65bgP by [David Symonds] in 2 subdirs of go/ -- Replicate signal names from syscall in os/signal. 02:15 < plexdev> http://is.gd/65bgY by [Russ Cox] in go/src/pkg/math/ -- math: fix pow10 comment, test portable Sqrt 02:15 < Eridius> huh, the "Contribute to Go" link seems to be cone from the sidebar 02:15 < plexdev> http://is.gd/65oOz by [Rob Pike] in go/src/pkg/math/ -- Clean up and make consistent the comments in the math package. 02:17 -!- selby_fiedler [n=selby_fi@174-145-42-123.pools.spcsdns.net] has joined #go-nuts 02:17 < plexdev> http://is.gd/65rIb by [Robert Griesemer] in 4 subdirs of go/src/ -- Remove -oldprinter flag from gofmt; all code is 02:20 < plexdev> http://is.gd/65rIl by [Yongjian Xu] in go/src/cmd/gc/ -- gc: clean opnames.h 02:22 < plexdev> http://is.gd/65uu5 by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: Make constants #define'd in C available to Go (as consts) 02:25 < plexdev> http://is.gd/65uui by [Bill Neubauer] in go/doc/ -- doc/contribute.html: change copyright year 02:28 < plexdev> http://is.gd/65YWw by [Charles L. Dorian] in go/src/pkg/math/ -- math: special cases for Fmod 02:29 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Connection timed out] 02:29 < plexdev> http://is.gd/663DR by [Rob Pike] in go/src/cmd/prof/ -- add pprof output format to prof. 02:32 < plexdev> http://is.gd/66aV0 by [Rob Pike] in go/src/cmd/prof/ -- delete debugging prints 02:35 < plexdev> http://is.gd/66aV7 by [Rob Pike] in go/src/cmd/prof/ -- delete debugging prints 02:38 < plexdev> http://is.gd/66nfp by [Adam Langley] in go/src/pkg/asn1/ -- asn1: fix parsing of elements after a string in a structure. 02:39 -!- ikuta [n=ikuta@61-62-1-105-adsl-tpe.STATIC.so-net.net.tw] has joined #go-nuts 02:39 < plexdev> http://is.gd/66nfB by [Adam Langley] in go/src/pkg/asn1/ -- asn1: fix marshaling of structures with >1 elements. 02:42 < plexdev> http://is.gd/66JEm by [Charles L. Dorian] in go/src/pkg/math/ -- math: special cases for Ceil, Exp, Floor, Log, Log10 02:45 -!- selby_fiedler [n=selby_fi@174-145-42-123.pools.spcsdns.net] has quit [Read error: 104 (Connection reset by peer)] 02:45 < plexdev> http://is.gd/68HBH by [Roger Peppe] in go/src/cmd/gofmt/ -- Fix bug that prevented the gofmt test script being run on more 02:45 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 02:45 < plexdev> http://is.gd/68LcO by [Russ Cox] in go/src/pkg/runtime/ -- runtime: fix bug in preemption checks; was causing "lock count" panics 02:47 -!- ikuta [n=ikuta@61-62-1-105-adsl-tpe.STATIC.so-net.net.tw] has quit [] 02:47 < plexdev> http://is.gd/69B6Q by [Evan Shaw] in go/misc/kate/ -- kate: Highlighting improvements 02:48 < skelterjohn> sorta wish it wouldn't spam the channel like that when there's a release 02:48 < plexdev> http://is.gd/69O1L by [Adam Langley] in 2 subdirs of go/src/ -- Add 'bench' target to makefiles. 02:51 < plexdev> http://is.gd/69ZKP by [Robert Griesemer] in 2 subdirs of go/src/pkg/ -- Light-weight scanner for general use. 02:54 < plexdev> http://is.gd/6a09z by [Rob Pike] in go/doc/ -- fix typo found by kevin ballard 02:57 < plexdev> http://is.gd/6a0ok by [Rob Pike] in go/src/pkg/gob/ -- to improve the chances for compatibility, open a window of unused ids 03:00 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined #go-nuts 03:00 < plexdev> http://is.gd/6adS7 by [Kevin Ballard] in go/misc/emacs/ -- Fix minor issues with updating go-mode in an empty buffer 03:02 < plexdev> http://is.gd/6anEw by [Rob Pike] in 2 subdirs of go/src/cmd/ -- ignore $GOARCH inside the compiler and linker. 03:05 < plexdev> http://is.gd/6anK5 by [Rob Pike] in go/src/pkg/time/ -- don't worry about the number of spaces when parsing. 03:06 -!- divoxx [n=divoxx@c925af25.virtua.com.br] has quit [Read error: 110 (Connection timed out)] 03:06 < plexdev> http://is.gd/6cv3W by [Russ Cox] in go/src/pkg/runtime/386/ -- runtime: reset DF flag after running external code on 386 03:07 -!- encolpe [n=encolpe@89.83.167.147] has quit [Read error: 110 (Connection timed out)] 03:07 < plexdev> http://is.gd/6cv9z by [Russ Cox] in go/lib/codereview/ -- codereview: split name list only on commas; some user names have spaces 03:08 -!- rah_ [n=robh@75.46.213.219] has joined #go-nuts 03:08 < plexdev> http://is.gd/6cJG5 by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: handle C99 bool type 03:08 < rah_> hello go folks 03:08 < plexdev> http://is.gd/6dbk6 by [Ian Lance Taylor] in go/doc/ -- Clarify when expressions are evaluated for a range clause. 03:09 < dho> dude 03:09 < plexdev> http://is.gd/6deuQ by [Russ Cox] in 2 subdirs of go/ -- godoc: skip template wrapping for complete HTML files 03:10 < dho> GOOS=pchw = sex 03:10 < plexdev> http://is.gd/6dhaJ by [Russ Cox] in go/src/pkg/container/vector/ -- vector: drop rule for bench, now in Make.pkg 03:10 < dho> I'm totally going to do stuff with that 03:10 < plexdev> http://is.gd/6dDRL by [Robert Griesemer] in 2 subdirs of go/ -- Distinguish between html generation and html quoting in godoc formatters. 03:10 -!- mjburgess [n=michael@m1.mjburgess.co.uk] has quit [Remote closed the connection] 03:10 < plexdev> http://is.gd/6dNkz by [Russ Cox] in 3 subdirs of go/ -- create doc/talks/. 03:10 < rah_> anyone mind fielding a newbish semi-go related question? 03:10 < plexdev> http://is.gd/6dPzQ by [Russ Cox] in go/doc/ -- contribute.html: suggest hg mail instead of hg upload 03:10 < dho> yes, all of us mind *terribly* 03:10 < plexdev> http://is.gd/6dPBp by [Devon H. O'Dell] in go/src/cmd/cgo/ -- cgo: Only allow numeric / string / character type constants for references 03:11 < rah_> well, damn. 03:11 < plexdev> http://is.gd/6dS78 by [Rob Pike] in go/src/pkg/time/ -- clean up handling of numeric time zones 03:11 < dho> :) 03:11 < plexdev> http://is.gd/6dUF1 by [Russ Cox] in 2 subdirs of go/ -- release.2010-01-13: final checkin, release notes 03:11 * dho murders plexdev 03:11 < plexdev> http://is.gd/6eaIm by [Russ Cox] in 5 subdirs of go/src/pkg/runtime/ -- runtime cleanup. 03:11 < dho> stupid bot 03:11 < plexdev> http://is.gd/6eaJj by [Devon H. O'Dell] in go/src/pkg/runtime/linux/386/ -- runtime: GS already set up by setldt in Linux/386; remove duplicate 03:11 < goplexian> ok whats with plexdev 03:11 < plexdev> http://is.gd/6eaJq by [Russ Cox] in go/doc/devel/ -- doc/devel/release.html: fix dumb typo 03:11 < dho> goplexian: got backed up 03:11 < goplexian> I'm getting a bit annoyed 03:11 < goplexian> ah i see 03:11 < dho> also there have been about 50 commits in the past 2 hours 03:11 < dho> rah_: I was kidding. 03:12 < goplexian> yikes, I guess teh shipment of redbull arrived 03:12 -!- mjburgess [n=mjburges@m1.mjburgess.co.uk] has joined #go-nuts 03:12 < rah_> dho: thanks, i am just trying to think how to ask :) 03:12 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 03:12 -!- Pistahh [n=szekeres@mzilikazi.debian.hu] has quit [Read error: 60 (Operation timed out)] 03:13 -!- mjburgess [n=mjburges@m1.mjburgess.co.uk] has quit [Remote closed the connection] 03:13 < rah_> it seems go is very big on arrays and slices. i understand the benefit of slices but it seems arrays are limited in that once you declare them with a certain capacity, that's it 03:13 < rah_> e.g. can't re-point a slice to a different array that might be bigger 03:14 < rah_> what is the advantage of go using arrays, versus some support for a higher-level container e.g. vector? 03:14 < rah_> (well, c++ vector, or c# List<> or java ArrayList, etc..) 03:14 < dho> go has a vector container 03:14 < rah_> but slices are array-only, correct? 03:15 < dho> there's a Slice method on them 03:15 < jessta> rah_: arrays are smaller and simpler in the cases where you don't need a variable size 03:15 < dho> (it does a copy) 03:15 < rah_> ah 03:15 < rah_> ok, thanks 03:15 < rah_> it was kind of a higher level question 03:16 < dho> but yeah, the recommendation is to use vector in the case that you need that 03:16 < rah_> okay, thanks :) 03:16 -!- Pistahh [n=szekeres@mzilikazi.debian.hu] has joined #go-nuts 03:16 < dho> (there's also container/list, but that's a doubly-linked list, so somewhat higher overhead) 03:16 < dho> http://golang.org/pkg/container/vector/ 03:16 < rah_> i've been stuck in high level languages the past few years, where you get insulated from that kind of stuff... trying to work my way lower 03:16 < dho> also http://golang.org/pkg/ 03:17 < rah_> so a vector inherently incurs overhead in its operations that a raw array does not.. would that be a fair statement? 03:18 < rah_> oh, i didn't even see that the package sources were linked like that... that is nice. 03:19 < rah_> dho, jessta: thanks :) 03:19 < dho> no problem 03:28 -!- rah_ [n=robh@75.46.213.219] has quit [] 03:30 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts 03:30 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts 03:31 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 03:34 < happy_> can someone tell me how to work with an interface{} like the one returned from a reflexvaluetype.Interface()? 03:34 < happy_> I just don't get what it is. fmt.Println() prints it fine. But I can't do anything to it. 03:36 < happy_> oops. I meant reflect value type 03:36 < KirkMcDonald> happy_: You need to use a type assertion to turn it into a more concrete type. 03:36 < KirkMcDonald> happy_: As in: foo.(SomeActualType) 03:36 -!- techsurvivor [n=fenris@ppp-70-242-230-49.dsl.lgvwtx.swbell.net] has joined #go-nuts 03:36 < KirkMcDonald> happy_: Or a type switch, etc. 03:37 < happy_> type switch? 03:37 < jessta> happy_: an interface{} is the empty interface it has no methods 03:37 < KirkMcDonald> http://golang.org/doc/go_spec.html#Switch_statements 03:37 < happy_> thanks 03:38 < techsurvivor> so is there a roadmap or timeline for go releases? 03:39 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 03:49 < goplexian> go seems to compile faster with each release 03:50 < anticw> techsurvivor: not really 03:52 < techsurvivor> okay just curious, what is it considered currently? alpha, beta, release? 03:53 < goplexian> gamma 03:53 < goplexian> so don't make it angry 03:56 < jessta> techsurvivor: it's alpha I guess 03:56 < jessta> since it's still in development 03:56 < jessta> and big things can still change, like the GC and syntax etc. 03:58 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 03:58 < plexdev> http://is.gd/6eho7 by [Russ Cox] in 5 subdirs of go/src/ -- runtime: add demo running Go on raw (emulated) hw 03:59 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts 04:00 < techsurvivor> thanks jessta, that's what I was going for :) . 04:01 < jessta> techsurvivor: there is a broad roadmap here, http://go.googlecode.com/hg/doc/devel/roadmap.html 04:07 < anticw> via gofmt: http://golang.org/doc/devel/roadmap.html 04:09 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Read error: 60 (Operation timed out)] 04:11 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"] 04:13 -!- scm [i=justme@d019237.adsl.hansenet.de] has quit [Read error: 60 (Operation timed out)] 04:15 -!- scm [i=justme@c222049.adsl.hansenet.de] has joined #go-nuts 04:16 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 04:20 -!- triplez [n=triplez@bb116-14-64-165.singnet.com.sg] has quit [] 04:20 -!- triplez [n=triplez@bb116-14-64-165.singnet.com.sg] has joined #go-nuts 04:39 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 04:43 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 04:43 -!- mode/#go-nuts [+v iant] by ChanServ 04:45 -!- selby_fiedler [n=selby_fi@68-29-15-76.pools.spcsdns.net] has joined #go-nuts 04:45 -!- selby_fiedler [n=selby_fi@68-29-15-76.pools.spcsdns.net] has quit [Client Quit] 04:49 -!- yangkun [n=yangkun@204.12.225.113] has joined #go-nuts 04:53 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has quit [Read error: 110 (Connection timed out)] 04:54 -!- Eridius [n=kevin@growl/Eridius] has quit [Read error: 110 (Connection timed out)] 04:57 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has joined #go-nuts 05:06 -!- stalled [n=411@unaffiliated/stalled] has quit [] 05:08 -!- stalled [n=411@unaffiliated/stalled] has joined #go-nuts 05:11 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has quit ["Lost terminal"] 05:12 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"] 05:13 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 05:19 -!- roo [n=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 05:26 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 05:39 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read error: 110 (Connection timed out)] 05:49 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined #go-nuts 05:50 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 05:50 -!- jauaor [n=araujo@gentoo/developer/araujo] has quit [] 05:52 -!- Vova [n=Vova@IGLD-84-228-96-143.inter.net.il] has quit [Read error: 60 (Operation timed out)] 05:52 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error: 60 (Operation timed out)] 05:57 -!- pjm0616 [n=user@61.250.113.98] has joined #go-nuts 06:04 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit [] 06:12 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 06:12 -!- fifoman [n=fifoman@p4FCC6DF6.dip.t-dialin.net] has joined #go-nuts 06:21 -!- Kashia [n=Kashia@port-92-200-231-27.dynamic.qsc.de] has quit ["This computer has gone to sleep"] 06:24 < goplexian> hmm 06:24 < goplexian> seems there have been undocumented language changes in this release 06:25 < goplexian> This doesn't seem to work, is this a new change or have I just not used it for a while? `if file, err := os.Open(); err != nil {` 06:27 < goplexian> eg. if n, err := fd.Write(buf); err != nil { ... } 06:28 < goplexian> or is that just not working for me? 06:28 < spikebike> I thought they got rid of ";" 06:29 < goplexian> just at the end of lines, not in cases in the middle, at least thats what I thought 06:30 < fifoman> that's what i read also; there is a lexer putting that ; in at the end but only at the end 06:32 < goplexian> can anyone do a quick two variable initialization statement in a basic if statement and see if it works, cause I just updated to the newest release and it doesn't seem to be working, its not a big deal, a regular if works fine, but when I throw in an intialization statement it gets a syntax error 06:39 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read error: 60 (Operation timed out)] 06:48 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 06:52 -!- yangkun [n=yangkun@204.12.225.113] has quit ["暂离"] 07:04 -!- bortzmeyer [n=stephane@central.sources.org] has joined #go-nuts 07:05 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts 07:19 -!- RobRussell [n=rob@c-24-13-214-153.hsd1.il.comcast.net] has joined #go-nuts 07:24 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 07:28 -!- anticw [n=anticw@c-67-169-42-129.hsd1.ca.comcast.net] has quit ["reboot the tubes"] 07:28 -!- anticw [n=anticw@c-67-169-42-129.hsd1.ca.comcast.net] has joined #go-nuts 07:29 -!- dju [n=dju@89-158-236-229.rev.dartybox.com] has joined #go-nuts 07:32 -!- eno [n=eno@nslu2-linux/eno] has joined #go-nuts 07:34 -!- Fl1pFl0p [n=FlipFlop@unaffiliated/fl1pfl0p] has quit ["Leaving."] 07:38 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 07:38 -!- trickie [n=trickie@94.100.112.225] has quit [Client Quit] 07:39 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined #go-nuts 07:39 -!- CodeBlock [n=CodeBloc@about/windows/regular/CodeBlock] has quit [Read error: 60 (Operation timed out)] 07:39 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts 07:39 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 07:40 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has left #go-nuts ["ERC Version 5.3 (IRC client for Emacs)"] 07:43 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit [Client Quit] 07:43 -!- eno__ [n=eno@adsl-70-137-161-187.dsl.snfc21.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 07:45 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com] has joined #go-nuts 07:50 -!- CodeBlock [n=CodeBloc@about/windows/regular/CodeBlock] has joined #go-nuts 08:10 -!- RobRussell [n=rob@c-24-13-214-153.hsd1.il.comcast.net] has quit ["Leaving."] 08:14 -!- snearch [n=olaf@92.225.50.26] has joined #go-nuts 08:15 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 08:16 -!- snearch [n=olaf@92.225.50.26] has quit [Client Quit] 08:16 -!- snearch_ [n=olaf@92.225.50.26] has joined #go-nuts 08:25 -!- snearch_ [n=olaf@92.225.50.26] has quit ["Ex-Chat"] 08:26 -!- snearch_ [n=olaf@92.225.50.26] has joined #go-nuts 08:26 -!- snearch_ [n=olaf@92.225.50.26] has quit [Read error: 104 (Connection reset by peer)] 08:28 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 08:30 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read error: 110 (Connection timed out)] 08:40 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has quit [Read error: 60 (Operation timed out)] 08:44 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts 08:45 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:55 -!- shasbot [n=shasbot@ip70-171-218-55.tc.ph.cox.net] has joined #go-nuts 09:07 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has joined #go-nuts 09:10 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com] has quit [Remote closed the connection] 09:18 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit [] 09:24 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 09:26 -!- GeoBSD [n=geobsd@lns-bzn-60-82-254-210-157.adsl.proxad.net] has joined #go-nuts 09:27 -!- kaigan|work [n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts 09:32 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 09:32 -!- jontore [n=jontore@kybpc850.ad.itk.ntnu.no] has quit [Remote closed the connection] 09:42 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 10:09 -!- triplez [n=triplez@bb116-14-64-165.singnet.com.sg] has quit [] 10:12 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has quit ["Coyote finally caught me"] 10:14 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts 10:15 -!- Spaghettini [n=Spaghett@vaxjo6.150.cust.blixtvik.net] has quit [Read error: 60 (Operation timed out)] 10:23 -!- ukai [n=ukai@220.109.219.244] has quit [Read error: 110 (Connection timed out)] 10:26 -!- toed [n=toad@81.2.80.65] has joined #go-nuts 10:27 -!- toed [n=toad@81.2.80.65] has left #go-nuts [] 10:33 -!- Tigge_ [n=tigge@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has joined #go-nuts 10:34 -!- ukai [n=ukai@220.109.219.244] has joined #go-nuts 10:38 -!- tomestla [n=tom@AToulouse-151-1-92-110.w86-217.abo.wanadoo.fr] has joined #go-nuts 10:38 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 10:42 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts 10:50 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit ["WeeChat 0.3.0"] 10:52 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 11:01 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has quit ["Rockin’ music will set you free."] 11:09 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 54 (Connection reset by peer)] 11:09 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 11:10 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 11:12 -!- tor7_ [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 11:17 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 11:20 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Read error: 110 (Connection timed out)] 11:27 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 104 (Connection reset by peer)] 11:28 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 11:32 -!- araujo [n=araujo@gentoo/developer/araujo] has quit [Read error: 60 (Operation timed out)] 11:32 < scoeri> if true { foo, bar := 22, 22; bar += foo } 11:32 < scoeri> works fine here 11:33 < scoeri> damn, I only read the line above, that was not what you meant 11:34 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 11:35 < scoeri> if foo, bar := true, true; foo && bar { fmt.Println("It works!") } 11:36 < scoeri> this one also works for me 11:38 < jhh> for me, too 11:38 < jhh> goplexian is not here anymore though 11:38 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts 11:46 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 104 (Connection reset by peer)] 11:46 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 12:03 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 54 (Connection reset by peer)] 12:03 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 12:21 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 104 (Connection reset by peer)] 12:21 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 12:25 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts 12:27 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 12:38 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts 12:39 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 60 (Operation timed out)] 12:44 -!- pct [n=pct@122.116.130.101] has joined #go-nuts 12:47 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has quit [Read error: 110 (Connection timed out)] 12:49 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 12:50 -!- happy_ [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Remote closed the connection] 12:50 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 12:51 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 12:55 -!- jontore [n=jontore@kybpc850.ad.itk.ntnu.no] has joined #go-nuts 12:57 -!- mward [n=mward@190.sub-70-194-71.myvzw.com] has joined #go-nuts 13:03 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 13:05 < jontore> Hi, Does anyone know where the threads that run go routines is teared down in the backend? 13:06 -!- tor7_ [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 13:06 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Read error: 104 (Connection reset by peer)] 13:08 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts 13:08 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 110 (Connection timed out)] 13:08 -!- JSharpe [n=jamie@5ad5024d.bb.sky.com] has joined #go-nuts 13:15 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 13:19 -!- JSharpe [n=jamie@5ad5024d.bb.sky.com] has quit [Remote closed the connection] 13:30 -!- triplez [n=triplez@124.155.195.6] has joined #go-nuts 13:32 -!- senneth [i=senneth@irssi/staff/senneth] has quit [Remote closed the connection] 13:32 -!- senneth [i=senneth@irssi/staff/senneth] has joined #go-nuts 13:39 < dagle> jontore: Huh? go routines are not threads. 13:39 -!- plainhao [n=plainhao@mail.xbiotica.com] has joined #go-nuts 13:42 -!- mward_ [n=mward@chml01.drwholdings.com] has joined #go-nuts 13:44 -!- Alkavan [n=alkavan@77.126.173.170] has joined #go-nuts 13:45 < dho> dagle: yes, but they run on OS-level threads 13:47 < dho> jontore: they die with the program. Once an OS-level thread is created, it is not destroyed, theoretically 13:48 < dho> jontore: in every implementation (other than FreeBSD) threads are exited when they return. But nothing makes them return 13:50 < dho> I'm gonna see if I can boot the pchw target on vmware 13:53 -!- mward [n=mward@190.sub-70-194-71.myvzw.com] has quit [Read error: 110 (Connection timed out)] 13:57 -!- mbarkhau [n=koloss@p54A7EDCB.dip.t-dialin.net] has joined #go-nuts 14:00 -!- Wiz126 [i=Wiz126@72.20.221.147] has quit [] 14:01 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 14:02 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"] 14:07 -!- buidangchung [n=buidangc@118.71.26.131] has joined #go-nuts 14:09 < buidangchung> hi all 14:10 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined #go-nuts 14:13 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read error: 110 (Connection timed out)] 14:17 -!- triplez [n=triplez@124.155.195.6] has quit [Read error: 113 (No route to host)] 14:17 -!- senneth [i=senneth@irssi/staff/senneth] has quit [Remote closed the connection] 14:17 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This computer has gone to sleep"] 14:17 -!- senneth [i=senneth@irssi/staff/senneth] has joined #go-nuts 14:18 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:20 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts 14:20 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:23 < buidangchung> allooooooooooooooo 14:23 < buidangchung> i have a question 14:23 < buidangchung> i run command 8g hello.go 14:23 < buidangchung> but error 14:23 < buidangchung> 8g: command not found 14:24 < buidangchung> may U help me? 14:24 < usa> So you don't have 8g in a directory listed in yout PATH variable 14:25 < usa> What shell do you use? 14:25 < buidangchung> how to set 8g in my PATH var? 14:25 < buidangchung> i use bash 14:25 < buidangchung> on Ubuntu 9.10 14:27 < usa> What is the value of $GOBIN and $GOROOT? 14:28 -!- rah_ [n=robh@75.46.213.219] has joined #go-nuts 14:29 < usa> If you have $GOBIN set correctly, then "export PATH=$PATH:$GOBIN" should add the needed directory 14:30 < jontore> dho, Thanks, That what I also got from reading the source code 14:31 < usa> If you don't have GOBIN set, then 14:31 < dho> if you don't have GOBIN set, you didn't build it. 14:31 < usa> export PATH=$PATH:$HOME/bin 14:31 < usa> is what you need 14:31 < dho> or 14:31 < dho> that 14:31 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:31 * dho needs to wake up 14:31 < dho> i wrote that :( 14:31 < rah_> coffee for dho 14:32 < buidangchung> thanks all 14:32 < buidangchung> :D 14:32 < dho> anybody looked at the pchw target? 14:32 < rah_> no, what is it? 14:32 < dho> runs on raw pc hardware... 14:32 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:32 < rah_> that is quite interesting 14:32 < buidangchung> command "8g hello.go" is active 14:33 < buidangchung> :) 14:33 < rah_> woohoo 14:33 < dho> I'm trying to make it work for amd64 14:33 < dho> anybody else interested? 14:34 < rah_> yes 14:34 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:34 < rah_> though i'm not sure what i can do :) 14:34 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:35 < dho> I can't tell if the go assembler can switch whether it does 16/32/64 bit operations dynamically 14:37 < dho> it doesn't look like it 14:37 < rah_> that's 6a/8a and friends? 14:38 < dho> which means a boot block will probably need to be compiled with gcc or nasm. 14:38 < dho> yes 14:38 < taruti> dho: look at how it is done in plan9 14:38 < dho> I guess there are insn(B|L|W) suffixes 14:39 < dho> oh yeah 14:39 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:40 < rah_> time to go put food on the table (figuratively).. good luck dho :) 14:40 < dho> this toolchain doesn't have BIOSCALL or CALL16 for instance 14:40 < buidangchung> my first Go program 14:40 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:41 < rah_> does it work, buidangchung? 14:41 < buidangchung> "Hello Go World!" 14:41 < dho> oh wait, those are macros 14:41 < buidangchung> :)) 14:41 < rah_> awesome :) 14:41 < buidangchung> thanks all 14:41 < taruti> dho: why not use grub as an interrim measure? 14:41 < rah_> seeya folks 14:41 -!- rah_ [n=robh@75.46.213.219] has quit [] 14:41 < buidangchung> rah_, it worked 14:41 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:41 < dho> taruti: does grub set up long mode? 14:41 < taruti> dho: most realistic cases end up with grub in any case. 14:42 < taruti> dho: iirc yes 14:42 < dho> yeah, i don't have a problem relying on grub 14:42 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 54 (Connection reset by peer)] 14:43 < taruti> ah no. 14:43 < dho> If it doesn't, I can set that up in _rt0_pchw_amd64 or something 14:43 < dho> not a big deal 14:44 < dho> wait 14:44 < dho> the multiboot spec says `an os image may be an ordinary 32-bit executable file' 14:47 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:47 < taruti> yes, seems like you have to do the setup by hand at the moment 14:48 < dho> what exactly does grub set up 14:48 -!- triplez [n=triplez@210.193.47.87] has quit [Connection reset by peer] 14:49 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 14:49 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:50 < buidangchung> why do I have to set environment varialbes every restart my bash? 14:50 < dho> put them in ~/.bashrc 14:50 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:51 < usa> Because you do not have them set in your ~/.bashrc or ~/.bash_profile 14:51 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 14:53 -!- triplez [n=triplez@210.193.47.87] has joined #go-nuts 14:53 < buidangchung> usa, I can write a script to set the environment variables, isn't? 14:54 -!- triplez [n=triplez@210.193.47.87] has quit [Read error: 104 (Connection reset by peer)] 14:55 < usa> Yes, but there is a twist 14:55 < usa> You have to use "source scriptname" to run it, 14:56 < usa> Either that or else your script looks like "export GOBIN=...; bash" 14:57 < dho> i don't know why the script would need to execute a shell 14:57 < usa> The reason is that environment variables pass from parent processes to children, but not the other way, 14:57 < dho> oh, hence sourcing 14:57 < dho> i really do need to wake up 14:57 -!- chachan [n=chachan@150.187.40.27] has joined #go-nuts 14:57 -!- rrr_ [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the connection] 14:58 < buidangchung> usa, may u help me? 14:58 < usa> I may. 14:59 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts 14:59 -!- ikke [n=ikke@unaffiliated/ikkebr] has joined #go-nuts 15:00 < buidangchung> so what do I do? 15:00 < dho> 09:54 < dho> put them in ~/.bashrc 15:00 < dho> 09:54 < usa> Because you do not have them set in your ~/.bashrc or ~/.bash_profile 15:01 < usa> As dho and I have said, add the variables to one of your BASH startup files. 15:02 < usa> I put them in my ~/.bash_profile file, as I keep my ~/.bashrc file very small. 15:03 < usa> cat ~/.bashrc 15:03 < usa> set -a 15:03 < usa> shopt -s extglob checkwinsize 15:03 < usa> type xtermprompt >/dev/null 2>&1 && xtermprompt 15:03 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts 15:07 -!- divoxx [n=divoxx@c9154350.virtua.com.br] has joined #go-nuts 15:08 -!- pure_x01 [i=d4d12a84@gateway/web/freenode/x-wxrpvykhblsmuzuf] has joined #go-nuts 15:09 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 110 (Connection timed out)] 15:10 < pure_x01> is the go lang code available as tar balls somewhere so i dont have to install mercurial @ work 15:10 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit [Read error: 60 (Operation timed out)] 15:10 -!- tomaw_ [i=tom@freenode/staff/tomaw] has quit [Read error: 60 (Operation timed out)] 15:10 -!- Tigge_ [n=tigge@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has quit [Read error: 60 (Operation timed out)] 15:10 -!- deufrai [n=deu@www.wardsback.org] has quit [Read error: 60 (Operation timed out)] 15:10 -!- Gussi [n=gussi@gussi.is] has quit [Read error: 60 (Operation timed out)] 15:10 -!- theGussi [n=gussi@gussi.is] has joined #go-nuts 15:11 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts 15:11 -!- deufrai [n=deu@www.wardsback.org] has joined #go-nuts 15:11 -!- tomaw_ [i=tom@freenode/staff/tomaw] has joined #go-nuts 15:13 -!- zeotrope [n=sazeinel@bas3-kitchener06-1096650646.dsl.bell.ca] has joined #go-nuts 15:15 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has quit [Nick collision from services.] 15:15 -!- Garen_ [n=garen@cpe-75-87-255-36.natnow.res.rr.com] has joined #go-nuts 15:15 -!- O1athe [n=Olathe@173-19-108-228.client.mchsi.com] has joined #go-nuts 15:15 < pure_x01> anyone here? 15:15 -!- Tigge [n=tigge@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has joined #go-nuts 15:15 -!- htoothrot [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has joined #go-nuts 15:15 -!- SRabbelier1 [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has joined #go-nuts 15:16 < jessta> pure_x01: you can get it from here, http://github.com/tav/go/tree/ 15:17 < pure_x01> jessta: thank you 15:17 < usa> pure_x01, if you already have python installed then mercurial is pretty small (284Kb installed according to Debian). Of course if you don't have python already that is a big package 15:18 < pure_x01> usa: i have python but i am behind a proxy also and i want to get going quickly.. server RHEL 5.3 .. 15:22 < bortzmeyer> No readLine standard function in pkgs? To read one line from a text file? I grepped and googled but without success 15:25 < zeotrope> bortzmeyer: something like this? http://golang.org/pkg/bufio/#Reader.ReadString 15:26 < bortzmeyer> zeotrope: yes, although I would prefer not to have t use bufio (there is no reason) 15:26 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has quit [Remote closed the connection] 15:26 < bortzmeyer> zeotrope: But "line, _ := rd.ReadString('\n')" is a good idea 15:27 -!- pure_x01 [i=d4d12a84@gateway/web/freenode/x-wxrpvykhblsmuzuf] has quit [] 15:28 < zeotrope> bortzmeyer: I feel it should have been implemented here as a utility function http://golang.org/pkg/io/ioutil/ 15:28 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts 15:30 < zeotrope> I'm not sure where to put this but here is the syntax highlighting for gedit http://pastebin.com/m26ec9b6c 15:31 -!- jb55_ [n=jb55@bas11-kitchener06-1088793613.dsl.bell.ca] has quit [Read error: 60 (Operation timed out)] 15:32 -!- Olathe [n=Olathe@173-19-108-228.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 15:32 < bortzmeyer> zeotrope:yes because, otherwise, I'm forced to wrap the file in a bufio.REader without any (IMHO) good reason 15:33 -!- \toothrot [n=mux@66-169-117-157.dhcp.ftwo.tx.charter.com] has quit [No route to host] 15:33 -!- Garen [n=garen@75.87.255.36] has quit [Read error: 110 (Connection timed out)] 15:33 -!- ikke [n=ikke@unaffiliated/ikkebr] has quit [] 15:34 -!- jb55 [n=jb55@64.231.41.220] has joined #go-nuts 15:37 < zeotrope> bortzmeyer: I'm not sure but I think that function only requires a general reader 15:38 < zeotrope> bortzmeyer: in other words it implements this interface http://golang.org/pkg/io/#Reader 15:39 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts 15:40 < dho> bortzmeyer: File is already a Reader, and that function only requires a Reader. 15:40 < zeotrope> dho: exactly what I meant :) 15:41 < dho> yep 15:41 -!- Vova [n=Vova@77.125.6.107] has joined #go-nuts 15:41 < Vova> someone knows whats new in the last update? 15:42 < bortzmeyer> dho: are you sure that file is a Reader? map+file.go:28: file.ReadString undefined (type os.File has no field ReadString) 15:45 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined #go-nuts 15:46 < dho> you don't call file.ReadString 15:46 < dho> Vova: http://www.golang.org/doc/devel/release.html 15:47 < dho> bortzmeyer: You call b := bufio.NewReader(file); b.ReadString 15:50 < Vova> thanks :] 15:51 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 15:51 -!- mode/#go-nuts [+v iant] by ChanServ 15:52 < dho> iant: quick question 15:53 < dho> iant: an amd64 pchw target could use the bootloader that's provided with the current pchw and just set up pae and then long mode 15:53 <+iant> dho: sure 15:53 < dho> iant: but I'm not sure how I'd do that with the current build setup, any thoughts? 15:53 < bortzmeyer> dho: thanks. Another urgent task, then I'll test 15:53 < dho> bortzmeyer: no problem 15:54 <+iant> I actually haven't looked at the pchw at all 15:54 < dho> it's rather cool 15:54 < dho> does very little 15:54 < dho> but shows how you could theoretically make goos 15:54 < skelterjohn> heh, a go os would certainly be code-named "the goose" 15:55 < dho> skelterjohn: I'm going to write one 15:55 -!- x-ip [n=sakura@unaffiliated/x-ip] has joined #go-nuts 15:55 < buidangchung> usa, dho thanks U 15:55 < dho> np 15:55 <+iant> cool 15:55 < dho> only runs concurrently on UP right now, but one could `easily' just add some code to start APs 15:55 < skelterjohn> dho: good luck! how does it feel to have scheduled the next ten years of your life? ;) 15:55 < dho> lonely, would be nice to have someone to join me on my island 15:56 * skelterjohn knows very little about OS fundamentals 15:56 < dho> it's not that complicated 15:56 < skelterjohn> piece by piece, i imagine not 15:56 < skelterjohn> but there sure is a lot of it 15:57 < dho> sure, if you want to make the best fastest thing ever 15:57 -!- tbourdon [n=tbourdon@wsip-72-215-204-133.ph.ph.cox.net] has left #go-nuts ["Leaving"] 15:57 < buidangchung> i have added variable to my ~/.bashrc and it works ^^ 16:00 -!- mbarkhau [n=koloss@p54A7EDCB.dip.t-dialin.net] has quit ["Leaving."] 16:05 < dagle> Woho. Parsing torrents i go. :) 16:08 -!- gisikw [n=gisikw@137.28.186.120] has joined #go-nuts 16:14 -!- kaigan|work [n=kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [] 16:28 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Client Quit] 16:29 -!- abiosoft [n=Ibrahim@41.219.234.199] has joined #go-nuts 16:33 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit [] 16:33 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 16:33 < mpl> dagle: I've been meaning to ask, would you like some help with whatever you're doing with torrents? I've started a bt client on plan 9 but I haven't finished it yet. and I would like to take some perspective away from it, so redoing some stuff in Go could be fun. 16:35 -!- DerHorst [n=Horst@e176105031.adsl.alicedsl.de] has joined #go-nuts 16:37 -!- path[l] [n=path@122.182.0.38] has quit [] 16:38 -!- Alkavan [n=alkavan@77.126.173.170] has quit ["Leaving"] 16:40 -!- idea_squirrel [n=ct2rips@77-22-20-3-dynip.superkabel.de] has joined #go-nuts 16:43 -!- jdp [n=justin@75.97.120.11.res-cmts.senj.ptd.net] has joined #go-nuts 16:44 -!- chachan [n=chachan@150.187.40.27] has quit ["KVIrc Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2009/06/06 11:44:47 UTC http://www.kvirc.net/"] 16:45 -!- GeoBSD [n=geobsd@lns-bzn-60-82-254-210-157.adsl.proxad.net] has quit [Remote closed the connection] 16:45 -!- sinuhe [n=user@97-117-67-167.slkc.qwest.net] has joined #go-nuts 16:46 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 113 (No route to host)] 16:50 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has joined #go-nuts 16:51 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 16:54 -!- abiosoft1 [n=Ibrahim@41.219.243.80] has joined #go-nuts 16:57 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit ["Leaving"] 16:58 -!- smooge [n=smooge@int.smoogespace.com] has quit ["-ENOBRAIN"] 16:58 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 17:01 -!- mertimor [n=mertimor@p578EDB1A.dip.t-dialin.net] has joined #go-nuts 17:06 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts 17:09 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts 17:14 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 17:16 -!- Kashia [n=Kashia@port-92-200-231-27.dynamic.qsc.de] has joined #go-nuts 17:17 -!- pshahmumbai [n=prashant@59.164.24.63] has joined #go-nuts 17:17 -!- abiosoft [n=Ibrahim@41.219.234.199] has quit [Read error: 110 (Connection timed out)] 17:19 -!- Venom_X_ [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has joined #go-nuts 17:22 -!- drhodes [n=none@209-20-72-61.slicehost.net] has quit [Read error: 60 (Operation timed out)] 17:22 -!- drhodes [n=none@209-20-72-61.slicehost.net] has joined #go-nuts 17:24 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 17:24 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Nick collision from services.] 17:25 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has joined #go-nuts 17:26 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 17:26 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined #go-nuts 17:28 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts 17:35 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts 17:39 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit [Remote closed the connection] 17:44 -!- abiosoft1 [n=Ibrahim@41.219.243.80] has left #go-nuts [] 18:00 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [] 18:00 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit ["KVIrc Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2009/06/06 11:44:47 UTC http://www.kvirc.net/"] 18:04 -!- esm [n=esm@aperture.logic.net] has left #go-nuts [] 18:04 -!- b00m_chef [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts 18:16 -!- rog_ [n=rog@89.241.197.228] has quit [Remote closed the connection] 18:18 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has joined #go-nuts 18:19 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts 18:29 -!- gasreaa [n=atwong@nat/slide/x-jlkarpscqspvhpow] has joined #go-nuts 18:30 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has quit ["Ex-Chat"] 18:33 -!- gasreaa [n=atwong@nat/slide/x-jlkarpscqspvhpow] has left #go-nuts [] 18:36 -!- crashR [n=crasher@codextreme.pck.nerim.net] has quit ["Leaving."] 18:39 -!- rog_ [n=rog@89.241.197.228] has joined #go-nuts 18:41 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has joined #go-nuts 18:44 -!- SRabbelier1 [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has quit [SendQ exceeded] 18:44 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 18:47 -!- araujo [n=araujo@gentoo/developer/araujo] has joined #go-nuts 18:47 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has joined #go-nuts 18:48 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has quit [Client Quit] 18:48 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has joined #go-nuts 18:56 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 18:58 < tav> hmz 18:58 < tav> anyone know of any libxml2 bindings for go ? 19:06 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 19:06 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read error: 54 (Connection reset by peer)] 19:07 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 19:10 < skelterjohn> go-lang.cat-v.org has a lot of go resources 19:10 < skelterjohn> check there maybe 19:15 -!- pshahmumbai [n=prashant@59.164.24.63] has quit [Read error: 60 (Operation timed out)] 19:23 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit [] 19:23 -!- gisikw [n=gisikw@137.28.186.120] has quit [] 19:27 -!- flavioglock [n=chatzill@f209090.upc-f.chello.nl] has joined #go-nuts 19:30 -!- clip9 [i=tj@12.81-166-62.customer.lyse.net] has joined #go-nuts 19:31 -!- alec [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined #go-nuts 19:32 -!- Wiz126 [i=Wiz126@72.20.227.178] has joined #go-nuts 19:34 < fglock> hi 19:35 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 19:36 < fglock> I've updated Go (from nov-2009 version), this code now gives a syntax error: http://pastebin.com/m128a5925 19:37 < fglock> it worked fine with previous version; I can't find the problem :( 19:37 < skelterjohn> almost certainly has to do with newlines 19:37 < skelterjohn> most newlines are "considered" to end with a semicolon 19:37 < jhh> try the operators (+) at the end of the lines 19:37 < jhh> instead of the beginning of the lines 19:37 < skelterjohn> lines ending with + are excepted :) 19:38 -!- Demp_ [n=Demp@109.66.37.162] has joined #go-nuts 19:38 < skelterjohn> I believe gofmt can convert from files that compiled with old go to the form 19:38 < fglock> I'll try moving the '+' - thanks! 19:38 < skelterjohn> i forget what the switch is 19:39 < jhh> the parser has to know if a statement is finished so he can insert ';' before '\n', and he can only know if he saw an operator but no second operand yet 19:40 < fglock> removing the newlines worked - yay! 19:43 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 19:45 -!- Demp_ [n=Demp@109.66.37.162] has quit [Read error: 104 (Connection reset by peer)] 19:45 -!- Demp_ [n=Demp@bzq-79-183-20-16.red.bezeqint.net] has joined #go-nuts 19:53 -!- techsurvivor [n=fenris@ppp-70-242-230-49.dsl.lgvwtx.swbell.net] has quit [Read error: 104 (Connection reset by peer)] 19:56 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined #go-nuts 19:57 -!- Demp [n=Demp@bzq-79-177-30-49.red.bezeqint.net] has quit [Read error: 110 (Connection timed out)] 20:00 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit [Remote closed the connection] 20:00 -!- michael| [n=maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined #go-nuts 20:08 -!- techsurvivor [n=fenris@ppp-70-254-33-69.dsl.lgvwtx.swbell.net] has joined #go-nuts 20:08 -!- tav_ [n=tav@92.27.163.126] has joined #go-nuts 20:11 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the connection] 20:15 -!- mmw [n=mmw@2002:51f2:994b:0:223:6cff:fe84:1914] has joined #go-nuts 20:17 -!- Eridius [n=kevin@growl/Eridius] has joined #go-nuts 20:17 -!- tav [n=tav@92.27.163.221] has quit [Read error: 113 (No route to host)] 20:23 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has joined #go-nuts 20:23 -!- Wiz126 [i=Wiz126@72.20.227.178] has quit [Success] 20:23 -!- Wiz126 [i=Wiz126@72.20.227.178] has joined #go-nuts 20:31 -!- rhelmer [n=rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined #go-nuts 20:32 -!- snearch_ [n=olaf@e179143031.adsl.alicedsl.de] has quit ["Ex-Chat"] 20:41 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 20:44 -!- JSharpe [n=jamie@5ad5024d.bb.sky.com] has joined #go-nuts 20:45 -!- jb55 [n=jb55@64.231.41.220] has quit [Client Quit] 20:47 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has quit [] 20:57 -!- JSharpe [n=jamie@5ad5024d.bb.sky.com] has quit [Client Quit] 20:59 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 104 (Connection reset by peer)] 21:04 -!- plainhao [n=plainhao@mail.xbiotica.com] has quit [] 21:06 -!- buidangchung [n=buidangc@118.71.26.131] has quit ["Leaving"] 21:16 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 21:18 -!- Cyanure[cn] [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read error: 110 (Connection timed out)] 21:19 -!- buidangchung [n=buidangc@118.71.26.131] has joined #go-nuts 21:21 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 110 (Connection timed out)] 21:24 -!- idea_squirrel [n=ct2rips@77-22-20-3-dynip.superkabel.de] has quit ["zu müde oder muss afk ... suchs dir aus"] 21:26 -!- buidangchung [n=buidangc@118.71.26.131] has quit ["Leaving"] 21:26 -!- buidangchung [n=buidangc@118.71.26.131] has joined #go-nuts 21:30 -!- divoxx [n=divoxx@c9154350.virtua.com.br] has left #go-nuts [] 21:33 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the connection] 21:40 -!- fglock [n=chatzill@f209090.upc-f.chello.nl] has left #go-nuts [] 21:49 -!- chung [n=buidangc@118.71.26.131] has quit ["Leaving"] 21:51 -!- Arathorn [n=arathorn@78-86-114-145.zone2.bethere.co.uk] has joined #go-nuts 21:52 -!- squirrel [n=squirrel@APoitiers-257-1-42-132.w90-38.abo.wanadoo.fr] has joined #go-nuts 21:52 -!- deso [n=deso@x0561a.wh30.tu-dresden.de] has quit [Remote closed the connection] 21:52 < Arathorn> hi all - has anyone written a libpcap-style wrapper/lib for Go yet? 21:53 < squirrel> Hi all, what is the language Go ? Please 21:56 < squirrel> Simplify the appication program for Android ? To make it lighter. 21:56 < Kashia> Arahttp://go-lang.cat-v.org/library-bindings 21:57 < Kashia> Arathorn, ^^ 21:57 -!- chachan [n=chachan@ccscliente156.ifxnetworks.net.ve] has quit [Read error: 104 (Connection reset by peer)] 21:57 < Arathorn> Kashia: thanks - /me waits for it to load 21:58 < Arathorn> aaah, perfect! 22:00 -!- bortzmeyer [n=stephane@central.sources.org] has quit [Read error: 60 (Operation timed out)] 22:00 < squirrel> Seen you soon and good day ! squirrel and spip.org 22:00 -!- squirrel [n=squirrel@APoitiers-257-1-42-132.w90-38.abo.wanadoo.fr] has quit ["Leaving"] 22:16 -!- nigwil [n=chatzill@berkner.ccamlr.org] has joined #go-nuts 22:16 -!- nigwil [n=chatzill@berkner.ccamlr.org] has left #go-nuts [] 22:28 -!- ugo [n=ugo@host12-40-dynamic.60-82-r.retail.telecomitalia.it] has joined #go-nuts 22:28 -!- Venom_X_ [n=pjacobs@66.54.185.131] has joined #go-nuts 22:28 -!- Venom_X [n=pjacobs@cpe-67-9-131-167.austin.res.rr.com] has quit [Nick collision from services.] 22:31 < Arathorn> are there known problems with cgo under 32-bit OSX? 22:31 < skelterjohn> dho is the one to ask about that 22:31 * Arathorn is failing to build gopcap due to a "dwarf.Type struct sockaddr reports unknown size" error whilst cgo'ing pcap.go 22:33 -!- korfuri [n=korfuri@eth0.korfuri.fr] has quit [Read error: 60 (Operation timed out)] 22:33 -!- korfuri [n=korfuri@eth0.korfuri.fr] has joined #go-nuts 22:34 -!- ugo [n=ugo@host12-40-dynamic.60-82-r.retail.telecomitalia.it] has quit [Client Quit] 22:35 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit [] 22:35 < Tigge> When comparing pointers, is it not enough that they point to the same location? I have two pointers of different type pointing to the same location... and a compare between the two returns false 22:35 < skelterjohn> gopaste.org 22:36 < Tigge> hmm.. It's quite a bit of code involved 22:37 < skelterjohn> http://gopaste.org/view/14WiW 22:38 < Tigge> but here, pa and pb have the same type 22:38 < skelterjohn> if two pointers point to the same location, then i can think of no way in which they can be inequal 22:38 < skelterjohn> ah i see 22:38 < skelterjohn> so you are treating one piece of memory as two different types 22:38 < skelterjohn> and using pointers to fidget it 22:39 < Tigge> Something like that, yes 22:39 < skelterjohn> compiler doesn't let you make that assignment in the first place, unless you use the unsafe package i assume 22:39 < skelterjohn> but i've never done anything with unsafe 22:40 < KirkMcDonald> There should be at least one legal way to have two pointers of different types which point to the same address. 22:40 < Tigge> Nope, I'm not using the unsafe package 22:40 < Tigge> They do use a common interface 22:40 < KirkMcDonald> Consider a pointer to a struct, and a pointer to the first field of the struct. 22:40 < skelterjohn> ah 22:41 < skelterjohn> oh Tigge if you're using interfaces, the problem might be that the location of an interface is not the same as the location of the object it wraps 22:42 < skelterjohn> compiler won't let me compare a pointer to a struct{int} and a pointer to an int 22:42 < Tigge> hmm.. 22:42 < Tigge> http://gopaste.org/view/8O9xG 22:42 < Tigge> This is sort of the relevant context 22:43 -!- hcatlin [n=hcatlin@pdpc/supporter/professional/hcatlin] has left #go-nuts [] 22:44 < skelterjohn> Window(d) and GetActiveWindow() return a Window interface? 22:44 < Tigge> The compiler let's me compare the pointers but it always returns false.. 22:44 < skelterjohn> even if they have the same underlying object, they can be different 22:44 < Tigge> skelterjohn: Both return a Window interface, yes 22:45 < KirkMcDonald> Tigge: So Input is a struct which contains an anonymous field of Base? 22:45 < skelterjohn> is it Base that implements Window, or *Base? 22:45 < Tigge> KirkMcDonald: correct 22:45 < skelterjohn> if it's *Base, then try Window(d).(*Base) == GetActiveWindow().(*Base) 22:45 < Tigge> skelterjohn: *Base and *Input implements Window 22:46 < skelterjohn> of course, you will have to watch out for type assertion errors there 22:46 < skelterjohn> since it could be either *Base or *Input 22:46 < Tigge> hm, you can do that? 22:46 < KirkMcDonald> Tigge: When you say Window(d), you are getting a Window referring to the *anonymous field*, not the Input instance. 22:46 < skelterjohn> yes - doing .(*Base) will get you the actual pointer 22:46 < skelterjohn> Window(d) is the interface, which wraps a pointer 22:47 < skelterjohn> it's not just syntactic sugar for a special way of dealing with a *Base 22:47 < KirkMcDonald> Tigge: Where as (I assume) GetActiveWindow() is returning a Window referring to the Input instance. 22:47 < KirkMcDonald> s/Where as/Whereas/ 22:48 < Tigge> So.. I get this: main.Window is *main.Container, not *main.Base 22:48 < Tigge> throw: interface conversion 22:48 < skelterjohn> aha, another issue :) 22:48 < KirkMcDonald> Tigge: The takeaway message is that anonymous fields are not inheritance. 22:48 < skelterjohn> is there an easy way to test if the things two interfaces are holding have the same type? 22:49 -!- nutate [n=rseymour@cacsag4.usc.edu] has joined #go-nuts 22:49 < KirkMcDonald> reflect.Typeof 22:49 < KirkMcDonald> Or %T, I suppose. 22:49 < Tigge> KirkMcDonald: I was kind of doing some kind of inheritance I guess 22:50 -!- frem [n=frem___@66.185.73.137] has joined #go-nuts 22:50 < KirkMcDonald> (I would add that &d is not a very useful value.) 22:50 < Tigge> KirkMcDonald: yeah, not sure where that would be useful 22:51 < Tigge> (or why it is possible) 22:51 < KirkMcDonald> It's the address of the local variable. 22:51 < KirkMcDonald> So, some location on the stack. 22:51 < Tigge> Ahh, I see.. so basically useless yes :) 22:51 < Tigge> Perhaps I'm approaching this problem the wrong way.. 22:52 < skelterjohn> if you take the address of a local variable, the compiler puts that variable on the heap instead of the stack 22:52 < KirkMcDonald> skelterjohn: That would explain why the address it prints is similar to the other addresses which are printed. 22:55 -!- rsc9 [n=Adium@nat/google/x-gibuvwsdmihtarqu] has joined #go-nuts 22:55 -!- mode/#go-nuts [+v rsc9] by ChanServ 22:55 < Tigge> I'm trying to make some sort of basic UI library with different type of widgets.. Perhaps there is some better way to design it? 22:55 < Tigge> The widgets do share a lot of code, and are just specialized in some ways 22:55 -!- skelterjohn [n=jasmuth@lawn-net168-in.rutgers.edu] has quit [] 22:57 -!- rsc9 [n=Adium@nat/google/x-gibuvwsdmihtarqu] has left #go-nuts [] 23:00 -!- DerHorst [n=Horst@e176105031.adsl.alicedsl.de] has quit [Remote closed the connection] 23:03 -!- mmw [n=mmw@2002:51f2:994b:0:223:6cff:fe84:1914] has quit [] 23:04 < Tigge> KirkMcDonald: I'm still a bit confused by the language, but I guess you can tell :) 23:06 < frem> How would one read console input? I've tried "s:=""; os.Stdin.Read(s);', but it complains that I'm using a string instead of a []uint8 23:09 < frem> Ooh, never mind. Using "var s []byte" seems to work. 23:11 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 23:11 -!- Wiz126 [i=Wiz126@72.20.227.178] has quit [Read error: 110 (Connection timed out)] 23:14 -!- GabydeWilde_ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has joined #go-nuts 23:16 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the connection] 23:17 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 23:18 -!- GabydeWilde__ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has quit [Read error: 104 (Connection reset by peer)] 23:18 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [] 23:23 -!- soul9 [n=none@unaffiliated/johnnybuoy] has quit [Excess Flood] 23:27 -!- soul9 [n=none@unaffiliated/johnnybuoy] has joined #go-nuts 23:27 -!- Toink [n=tony@89.208.253.111] has joined #go-nuts 23:28 < Toink> :D 23:29 -!- x-ip [n=sakura@unaffiliated/x-ip] has quit ["Leaving"] 23:31 -!- mward_ [n=mward@10.sub-70-194-214.myvzw.com] has joined #go-nuts 23:34 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Success] 23:36 -!- rog_ [n=rog@89.241.197.228] has quit [] 23:39 -!- Toink [n=tony@89.208.253.111] has quit [Read error: 60 (Operation timed out)] 23:39 -!- mward [n=mward@chml01.drwholdings.com] has quit [Read error: 110 (Connection timed out)] 23:46 -!- skyfive [n=skyfive@173-11-110-86-SFBA.hfc.comcastbusiness.net] has joined #go-nuts 23:47 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"] 23:50 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 23:58 -!- mertimor [n=mertimor@p578EDB1A.dip.t-dialin.net] has quit [] --- Log closed Fri Jan 15 00:00:46 2010