--- Log opened Mon Nov 01 00:00:13 2010
00:01 < sauerbraten> uriel: because person["name"] = "mike" but
person["age"] = 23 ;)
00:02 < uriel> sauerbraten: then why not use a struct?
00:03 < sauerbraten> next problem: I've got a string s := "fooasdfoo", then
s[1:5] == "ooasd" ?
00:03 < sauerbraten> uriel: because I got it out of a json object, and
json.Unmarshal returns an objec as map[string]interface{}
00:05 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
00:05 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined
#go-nuts
00:05 -!- drobole [~drobole@145.84-49-242.nextgentel.com] has joined #go-nuts
00:09 -!- SoniaKeys [~soniakeys@c-76-118-178-209.hsd1.ma.comcast.net] has quit []
00:09 -!- drobole [~drobole@145.84-49-242.nextgentel.com] has left #go-nuts []
00:12 -!- kingless [~kingless@adsl-162-136-191.rmo.bellsouth.net] has joined
#go-nuts
00:12 -!- kingless [~kingless@adsl-162-136-191.rmo.bellsouth.net] has quit [Remote
host closed the connection]
00:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:21 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
00:24 < cbeck> not if you give it something else
00:33 < crazy2be> sauerbraten: Give it a pointer to a struct
00:38 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left
#go-nuts []
00:42 < cbeck> or a *map[string]Person
00:44 -!- artefon [~thiago@187.114.52.56] has quit [Read error: Connection reset
by peer]
00:45 < sauerbraten> it's okay with a map[string]interface{}
00:45 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 265 seconds]
00:45 < sauerbraten> but how may I concatenate strings and ints and floats?
00:45 < KBme> it's also a pita with a map[string]interface{}
00:45 < KBme> no, you may not
00:45 < sauerbraten> (string formatting)
00:46 < KBme> oh, that, sure
00:46 < SirPsychoS> fmt.Sprintf("%s%d", str, integer)
00:46 < sauerbraten> oh that's easy :D
00:48 -!- ayo [~nya@fuld-4d00d75c.pool.mediaWays.net] has quit [Ping timeout: 252
seconds]
00:49 -!- mikespook [~mikespook@219.137.254.200] has joined #go-nuts
00:51 -!- aho [~nya@fuld-4d00d585.pool.mediaWays.net] has joined #go-nuts
00:55 < plexdev> http://is.gd/gxUu2 by [Rob Pike] in go/src/lib9/utf/ --
mkrunetype: install a Makefile and tweak it slightly so it can be built.
00:55 < plexdev> http://is.gd/gxUu7 by [Rob Pike] in go/src/pkg/gob/ -- gob:
documentation.  this time for sure.
01:05 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:07 -!- gnuvince_ [~vince@64.235.204.88] has joined #go-nuts
01:09 -!- tvw [~tv@e176006129.adsl.alicedsl.de] has quit [Remote host closed the
connection]
01:15 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
01:16 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
01:18 < sauerbraten> I have a unix time stamp as int, like 1288544685.  How
do I convert it into human readable time, UTC+1?
01:18 < sauerbraten> *UTC-1
01:18 < cbeck> check out time.Format()
01:20 < crazy2be> how can i read an io.Reader into a string?
01:21 < crazy2be> oh isn't it in ioutil
01:21 < SirPsychoS> ioutil.ReadAll(io.Reader) String
01:22 < sauerbraten> cbeck: I can only find functions to get the time in
seconds since unix epoche, nothing to convert it :/
01:22 < SirPsychoS> err, (String, os.Error)
01:23 < crazy2be> er, that actually returns a []byte...  But that's easy
enough to convert
01:23 < SirPsychoS> ah my bad
01:23 < crazy2be> i made the same mistake :P
01:24 < crazy2be> heh
01:24 < crazy2be> i don't really understand the distinction between string
and []byte, other than the fact that []byte is modifyable
01:26 -!- aho [~nya@fuld-4d00d585.pool.mediaWays.net] has quit [Ping timeout: 245
seconds]
01:29 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
01:30 < crazy2be> is there any way to issue a GET request with custom
headers?
01:31 < crazy2be> using the http library that is
01:35 -!- scyth [~scyth@rots.in.rs] has quit [Quit: Leaving]
01:41 < crazy2be> or, really, any other reasonably small library
01:44 < uriel> there is an alternative/forked http lib I think
01:46 -!- aho [~nya@fuld-4d00d408.pool.mediaWays.net] has joined #go-nuts
02:12 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
02:14 -!- zyrox [~drobole@145.84-49-242.nextgentel.com] has joined #go-nuts
02:16 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Ping timeout: 245
seconds]
02:16 -!- zyrox [~drobole@145.84-49-242.nextgentel.com] has quit [Quit: leaving]
02:16 -!- Archwyrm [~archwyrm@archwyrm.net] has quit [Ping timeout: 265 seconds]
02:25 < crazy2be> huh
02:26 -!- Archwyrm [~archwyrm@archwyrm.net] has joined #go-nuts
02:26 < crazy2be> it exists in the http library, but it is non-public
because of future expected changes
02:28 -!- i__ [~none@69.164.206.224] has joined #go-nuts
02:30 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
02:30 -!- zyrox [~drobole@145.84-49-242.nextgentel.com] has joined #go-nuts
02:31 -!- sauerbraten [~sauerbrat@p508CF338.dip.t-dialin.net] has quit [Remote
host closed the connection]
02:34 -!- i__ [~none@69.164.206.224] has quit [Changing host]
02:34 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
02:43 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
02:55 -!- matti_ [~mumboww@c-98-207-108-218.hsd1.ca.comcast.net] has quit [Ping
timeout: 265 seconds]
03:00 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has left
#go-nuts []
03:00 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]
03:02 -!- matti_ [~mumboww@c-98-207-108-218.hsd1.ca.comcast.net] has joined
#go-nuts
03:06 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
03:25 -!- aho [~nya@fuld-4d00d408.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
03:35 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts
03:35 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:38 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
03:56 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
04:31 -!- zyrox [~drobole@145.84-49-242.nextgentel.com] has quit [Quit: leaving]
04:35 < SirPsychoS> Hmm, what would happen if you had "type t struct { f
func() int }", and "func (p t) f() int", and you try to call new(t).f() ? Would it
call the method or the first-class function?
04:36 < nsf> is it compiles?
04:36 < nsf> I think it will result in a compilation error
04:37 < SirPsychoS> I'm typing it out now - I was randomly musing, but I'm
actually checking now
04:37 < SirPsychoS> "ambiguous DOT reference f as both field and method"
04:37 < SirPsychoS> yep, compiler error
04:38 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
04:38 < SirPsychoS> which brings up the question, will struct { f func() int
} satisfy interface { f() int } ? ...  trying that, too
04:39 < nsf> no
04:39 < nsf> it won't
04:39 < SirPsychoS> awwww D:
04:39 < SirPsychoS> lol
04:39 < nsf> because apparently struct should have a method like in
interface
04:39 < nsf> and not a field
04:40 < SirPsychoS> yeah, it makes sense that way - but it would certainly
be possible and not unreasonable for it to be the other way
04:40 < nsf> I mean they are different, but they share the same namespace
and the same calling syntax
04:40 < SirPsychoS> yeah, I'm not sure I like that ambiguity...
04:41 < SirPsychoS> you can't tell from the line "t.f()" whether you're
calling a method or a field that happens to be a function
04:41 < SirPsychoS> (without knowing details about t)
04:41 < nsf> I think it's ok
04:41 < SirPsychoS> well it's definitely not going to kill anyone
04:41 < nsf> in practice the same thing is really bad in C++
04:41 < nsf> because of crazy overloading/inheritance rules
04:42 < SirPsychoS> yeah, I'm with you there
04:42 < nsf> but in Go it's quite ok
04:42 < SirPsychoS> you can call a method "func (this *t) test(x int) int"
as test(t, int), right?
04:43 < nsf> I'm not sure about that
04:44 < nsf> there was some dark corner in the Go regarding that
04:44 < nsf> but I don't remember what it was :)
04:44 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
04:44 < SirPsychoS> hmmm, well I remember according to the spec that methods
are just function types with the receiver prepended to the argument list
04:45 < SirPsychoS> but you can't call them that way, apparently
04:45 < SirPsychoS> I stand somewhat corrected
04:46 < SirPsychoS> you can call "func (this t) f() int" as "t.f(test)"
04:47 < SirPsychoS> so maybe it would be appropriate to have the above
ambiguity always result in calling the field f, since you can access the method
through different syntax?
04:47 < nsf> I don't think so
04:47 < nsf> variables with func type are rare in go
04:48 < nsf> because there is an interface
04:48 < nsf> which sort of does the same thing
04:48 < nsf> almost
04:48 < SirPsychoS> well there's still an issue whenever you have a field
with the same name as a method - although why you would want to do that ...  I
can't think of any reasons
04:49 < nsf> there is no such issue
04:49 < nsf> because it's not legal go code
04:49 < SirPsychoS> well, yeah, that's the "issue"
04:49 < nsf> it's more like your issue :)
04:49 < nsf> I'm fine with it :D
04:50 < SirPsychoS> lol it doesn't really bother me, just amusing myself
messing with the language spec
04:51 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
05:10 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 245 seconds]
05:11 -!- iant [~iant@216.239.45.130] has joined #go-nuts
05:11 -!- mode/#go-nuts [+v iant] by ChanServ
05:11 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts
05:25 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 252 seconds]
05:25 < crazy2be> hmm
05:26 < crazy2be> so i get a request of type multipart/form-data or w/e
05:26 < crazy2be> and i read it with http.MultipartReader()
05:28 < crazy2be> now
05:28 < crazy2be> i want to send this data off to picasa, since the user is
uploading a photo
05:28 < crazy2be> how best to go about this?
05:28 < crazy2be> right now i wrote some of my own http utility functions
05:28 < crazy2be> and make a reques
05:29 < crazy2be> set the required headers
05:29 < crazy2be> and then assign req.Body = part
05:29 < crazy2be> where part is the file
05:29 < crazy2be> it compiles, and i would think that it would work
conceptually
05:30 < crazy2be> but it hangs on the send funtion call
05:30 < crazy2be> and then crashes about a minute later with an unexpected
EOF
05:31 < crazy2be> the crash is caused because i don't have proper error
checking yet
05:31 < crazy2be> but why would a setup like this fail?
05:31 < crazy2be> and is it best to save to disk, then upload to picasa?
05:41 -!- shvntr [~shvntr@113.84.147.86] has joined #go-nuts
05:46 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
06:10 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
06:33 < crazy2be> hmm well
06:33 < crazy2be> i must sleep now
06:33 < crazy2be> goodnight
06:33 -!- awidegreen [~quassel@p5DF1CAA3.dip.t-dialin.net] has joined #go-nuts
06:34 -!- crazy2be [~crazy2be@d205-206-130-118.abhsia.telus.net] has quit [Remote
host closed the connection]
06:52 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 252
seconds]
06:58 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:04 -!- pgas [~user@pdpc/supporter/active/pgas] has joined #go-nuts
07:21 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
07:21 -!- ShadowIce
[~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
07:21 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:23 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:26 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has
joined #go-nuts
07:26 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit
[Ping timeout: 252 seconds]
07:33 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
07:48 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:17 -!- impl [impl@atheme/member/impl] has quit [Ping timeout: 276 seconds]
08:17 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
272 seconds]
08:17 -!- photron [~photron@port-92-201-4-158.dynamic.qsc.de] has joined #go-nuts
08:17 -!- quag [nobody@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
08:21 -!- impl [impl@224-74.ip4.durham0.network.cynigram.com] has joined #go-nuts
08:21 -!- impl [impl@224-74.ip4.durham0.network.cynigram.com] has quit [Changing
host]
08:21 -!- impl [impl@atheme/member/impl] has joined #go-nuts
08:24 -!- quag [nobody@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping
timeout: 265 seconds]
08:28 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has joined
#go-nuts
08:30 -!- tumdum [~tumdum@aui85.neoplus.adsl.tpnet.pl] has joined #go-nuts
08:30 -!- tumdum [~tumdum@aui85.neoplus.adsl.tpnet.pl] has quit [Changing host]
08:30 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
08:31 -!- quag [nobody@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
08:49 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
08:54 -!- awidegreen_ [~quassel@p5DF1E2CD.dip.t-dialin.net] has joined #go-nuts
08:55 -!- awidegreen [~quassel@p5DF1CAA3.dip.t-dialin.net] has quit [Ping timeout:
245 seconds]
09:06 -!- tav [~tav@92.7.105.120] has quit [Quit: tav]
09:07 -!- tav [~tav@92.7.105.120] has joined #go-nuts
09:12 -!- tvw [~tv@e176002155.adsl.alicedsl.de] has joined #go-nuts
09:17 -!- zcram [~zcram@34.102.235.80.sta.estpak.ee] has joined #go-nuts
09:25 -!- virtualsue [~chatzilla@nat/cisco/x-aqccazowpfofiiil] has joined #go-nuts
09:31 -!- mikespook [~mikespook@219.137.254.200] has quit [Quit: Leaving.]
09:43 -!- wrtp [~rog@92.17.51.106] has joined #go-nuts
09:47 < nsf> http://nsf.github.com/gowtf/index.html
09:47 < nsf> update documentation
09:47 < nsf> now I claim that it's usable without mouse
09:48 < nsf> updated*
09:52 < nsf> hehe, I should focus the input field by default
09:54 < nsf> but now at least it's sort of usable
09:58 < nsf> also I should fix expire stuff in html
10:04 -!- tvw [~tv@e176002155.adsl.alicedsl.de] has quit [Remote host closed the
connection]
10:09 -!- boscop_ [~boscop@f055017095.adsl.alicedsl.de] has joined #go-nuts
10:10 -!- boscop [~boscop@f055253058.adsl.alicedsl.de] has quit [Ping timeout: 264
seconds]
10:10 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts
10:15 -!- TaskFall [taskfall@bbis.us] has joined #go-nuts
10:15 -!- TaskFall [taskfall@bbis.us] has left #go-nuts []
10:16 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
10:24 -!- MashTomato [~ed@unaffiliated/mashpotato] has joined #go-nuts
10:35 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
10:56 -!- virtualsue [~chatzilla@nat/cisco/x-aqccazowpfofiiil] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.5.15/20101026200251]]
11:04 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
11:07 -!- DerHorst [~Horst@e176100110.adsl.alicedsl.de] has joined #go-nuts
11:20 -!- gr0gmint [~quassel@87.60.23.38] has joined #go-nuts
11:21 < gr0gmint> Anyone know if there exist Go syntax highlighting for Kate
(KDE editor) ?
11:22 < gr0gmint> woo nvm found it
11:32 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 255 seconds]
11:33 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:35 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally
caught me]
11:36 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
11:38 -!- tvw [~tv@212.79.9.150] has joined #go-nuts
11:51 -!- DerHorst [~Horst@e176100110.adsl.alicedsl.de] has quit [Remote host
closed the connection]
11:51 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
11:54 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
11:55 -!- lotrpy [~lotrpy@202.120.36.170] has quit []
11:58 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts
12:00 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts
12:01 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
12:03 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Ping
timeout: 240 seconds]
12:13 -!- plainhao [~plainhao@mail.xbiotica.com] has joined #go-nuts
12:14 < KBme> is there a way to delete an element from a map?
12:14 < KBme> oops, found it i think
12:21 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 250 seconds]
12:29 -!- matti_ [~mumboww@c-98-207-108-218.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
12:33 -!- sauerbraten [~sauerbrat@p508CF04E.dip.t-dialin.net] has joined #go-nuts
12:34 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost
terminal]
12:36 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
12:39 -!- bjarneh [~bjarneh@1x-193-157-204-227.uio.no] has joined #go-nuts
12:40 < skelterjohn> KBme: myMap[myKey] = _, false
12:42 < KBme> oh, you can do _, false
12:42 < KBme> sweet!
12:42 -!- rlab_ [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
12:42 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:43 < KBme> skelterjohn: nope: cannot use _ as value
12:43 < KBme> i can use type{}, false though
12:43 < skelterjohn> ah
12:43 -!- napsy [~luka@88.200.45.109] has joined #go-nuts
12:44 < skelterjohn> i wonder if that's something that changed, or if i'm
just crazy
12:44 < skelterjohn> leaning towards the latter
12:47 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
12:50 -!- napsy [~luka@88.200.45.109] has quit [Ping timeout: 265 seconds]
12:50 < KBme> ☺
12:51 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
12:54 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
12:54 -!- iomox [~ios@180.191.91.207] has joined #go-nuts
13:04 -!- iomox [~ios@180.191.91.207] has quit [Quit: Leaving]
13:08 < KBme> anyone know why fmt.Sprintf would trun my ☺ into \u263a?
13:11 <@nf> i just see that as "my \u263a into \u263a"
13:11 <@nf> (ie, they're the same)
13:13 < KBme> because your irc isn't unicode
13:13 < KBme> it's the unicode smiley
13:13 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
13:14 < KBme> nvm, though, i found the problem
13:18 < KBme> strconv.Quote("☺") gives \u263a
13:27 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 240
seconds]
13:31 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
13:34 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
13:40 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
13:41 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 252
seconds]
13:46 -!- skelterjohn [~jasmuth@c-76-124-135-199.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:54 -!- gr0gmint [~quassel@87.60.23.38] has quit [Remote host closed the
connection]
13:57 -!- emmanueloga [~emmanuelo@190.244.15.163] has joined #go-nuts
14:01 -!- mattn_jp [~mattn_jp@180-144-131-224f1.hyg1.eonet.ne.jp] has joined
#go-nuts
14:07 -!- shvntr [~shvntr@113.84.147.86] has quit [Ping timeout: 255 seconds]
14:09 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: leaving]
14:13 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
14:14 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
14:14 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
14:16 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
14:17 -!- ericvh [~ericvh@32.97.110.63] has joined #go-nuts
14:20 -!- napsy [~luka@88.200.96.18] has quit [Quit: leaving]
14:21 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:26 -!- ericvh1 [~Adium@32.97.110.63] has joined #go-nuts
14:26 -!- ericvh1 [~Adium@32.97.110.63] has left #go-nuts []
14:27 -!- ericvh [~ericvh@32.97.110.63] has left #go-nuts []
14:27 -!- artefon [~thiago@189.26.238.228] has joined #go-nuts
14:36 -!- zcram [~zcram@34.102.235.80.sta.estpak.ee] has quit [Quit: Leaving]
14:40 -!- photron [~photron@port-92-201-4-158.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
14:47 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
14:52 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
14:58 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
15:01 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
15:05 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
15:10 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
15:17 -!- kanru [~kanru@118-168-232-114.dynamic.hinet.net] has joined #go-nuts
15:22 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts
15:22 -!- skelterjohn [~jasmuth@c-71-230-156-50.hsd1.nj.comcast.net] has joined
#go-nuts
15:28 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
15:50 -!- wrtp [~rog@92.17.51.106] has quit [Ping timeout: 245 seconds]
15:50 -!- niemeyer [~niemeyer@187.53.254.172] has joined #go-nuts
15:52 -!- skelterjohn [~jasmuth@c-71-230-156-50.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:52 -!- niemeyer [~niemeyer@187.53.254.172] has quit [Remote host closed the
connection]
15:54 -!- niemeyer [~niemeyer@187.53.254.172] has joined #go-nuts
15:55 -!- wrtp [~rog@92.17.51.106] has joined #go-nuts
16:00 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
16:07 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
16:09 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245
seconds]
16:11 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts
16:14 -!- kanru [~kanru@118-168-232-114.dynamic.hinet.net] has quit [Ping timeout:
250 seconds]
16:17 -!- mattn_jp [~mattn_jp@180-144-131-224f1.hyg1.eonet.ne.jp] has quit [Remote
host closed the connection]
16:18 -!- mattn_jp [~mattn_jp@180-144-131-224f1.hyg1.eonet.ne.jp] has joined
#go-nuts
16:43 -!- Tv [~tv@gige.bur.digisynd.com] has joined #go-nuts
16:43 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has joined
#go-nuts
16:48 -!- binarypie [~binarypie@adsl-99-33-26-93.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
16:58 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts
17:01 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined
#go-nuts
17:02 -!- twittard [~acts_as@208.236.105.27] has quit [Quit: twittard]
17:04 -!- mattn_jp [~mattn_jp@180-144-131-224f1.hyg1.eonet.ne.jp] has left
#go-nuts []
17:10 -!- twittard [~acts_as@208.236.105.27] has joined #go-nuts
17:13 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 265 seconds]
17:15 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
17:19 -!- Fish [~Fish@9fans.fr] has quit [Ping timeout: 250 seconds]
17:34 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
17:37 -!- sacho [~sacho@46.10.9.69] has quit [Read error: Connection reset by
peer]
17:37 -!- sacho_ [~sacho@46.10.9.69] has joined #go-nuts
17:37 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:48 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240
seconds]
17:50 -!- photron [~photron@port-92-201-4-158.dynamic.qsc.de] has joined #go-nuts
18:01 < Gertm> is there an example somewhere on how to use fmt.Scan?
18:01 < Gertm> I just want to read a sentence into 1 string
18:05 -!- wrtp [~rog@92.17.51.106] has quit [Ping timeout: 255 seconds]
18:06 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection]
18:10 -!- wrtp [~rog@92.17.51.106] has joined #go-nuts
18:15 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
18:16 -!- artefon [~thiago@189.26.238.228] has quit [Quit: bye]
18:18 < plainhao> how do you organize packages?  is it reasonable to put
your stuff under your domain name, like in java packages?  e.g.: import foo
"com/domain/foo"
18:19 < cbeck> That works, if you're using Make.pkg just specify
TARGET=com/domain/foo
18:20 < plainhao> thanks, cbeck
18:25 -!- tav [~tav@92.7.105.120] has quit [Read error: Connection reset by peer]
18:25 -!- tav [~tav@92.7.105.120] has joined #go-nuts
18:29 -!- aho [~nya@fuld-4d00d66b.pool.mediaWays.net] has joined #go-nuts
18:31 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
18:42 -!- sjbrown [~sjbrown@adsl-63-204-27-202.dsl.snfc21.pacbell.net] has joined
#go-nuts
18:43 -!- sjbrown [~sjbrown@adsl-63-204-27-202.dsl.snfc21.pacbell.net] has quit
[Client Quit]
18:50 -!- KBme_ [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined
#go-nuts
18:51 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Ping
timeout: 276 seconds]
18:54 -!- KirkMcDonald [~Kirk@24.143.227.33] has joined #go-nuts
18:54 -!- KirkMcDonald [~Kirk@24.143.227.33] has quit [Changing host]
18:54 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined
#go-nuts
18:59 < ptrb> plainhao: such explicitness and depth is typically frowned
upon as unnecessary
18:59 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined
#go-nuts
19:00 < plainhao> ptrb, i think i’ll use a flatter structure, but i’m still
learning
19:00 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
19:00 < Namegduf> plainhao: No, it's not normal to put packages into "domain
names".
19:01 < Namegduf> One organisational package, like "somecorp" could be a
good idea, though.
19:01 < ptrb> plainhao: I can't imagine any depth greater than 1 is
appropriate
19:02 < plainhao> agreed, but i’m about to try porting a java library
19:02 < ptrb> ah.  ok!
19:02 < Namegduf> Use Go idioms and naming.
19:02 < plainhao> i think i’ll try flattening out the structure, but i’m
still wrapping my head around go
19:03 < plainhao> the use of interfaces is confusing me a bit too
19:03 < ptrb> yeah, copying the structure verbatim is probably a bad idea
19:04 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 276 seconds]
19:04 < plainhao> thanks, Namegduf and ptrb, if i succeed in getting the
port working, i’ll announce it on the list
19:11 -!- philth [~philth@d24-235-136-68.home1.cgocable.net] has joined #go-nuts
19:13 -!- tav [~tav@92.7.105.120] has quit [Ping timeout: 255 seconds]
19:19 -!- tav [~tav@2.96.44.52] has joined #go-nuts
19:28 -!- tav [~tav@2.96.44.52] has quit [Ping timeout: 272 seconds]
19:29 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:30 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
19:40 -!- tav [~tav@92.24.229.117] has joined #go-nuts
19:42 -!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]
19:42 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has quit [Ping
timeout: 255 seconds]
19:43 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 240 seconds]
19:50 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
19:51 < plexdev> http://is.gd/gAe5A by [Robert Griesemer] in
go/src/pkg/go/scanner/ -- go/scanner: don't accept '\x0g' character escape (bug
fix)
19:55 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has quit
[Remote host closed the connection]
19:56 -!- gmilleramilar [~gmiller@184-106-207-119.static.cloud-ips.com] has joined
#go-nuts
20:02 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
20:05 -!- femtooo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping
timeout: 250 seconds]
20:08 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote
host closed the connection]
20:09 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined
#go-nuts
20:10 -!- tvw [~tv@e176002155.adsl.alicedsl.de] has joined #go-nuts
20:23 < plexdev> http://is.gd/gAhkR by [Evan Shaw] in go/src/cmd/6l/ --
6a/6l: fix MOVOU encoding
20:23 < plexdev> http://is.gd/gAhl3 by [Anthony Martin] in go/src/lib9/utf/
-- libutf: update to Unicode 5.2.0 to match pkg/unicode
20:23 < plexdev> http://is.gd/gAhlx by [Russ Cox] in go/src/ -- build:
fiddle with make variables
20:23 < plexdev> http://is.gd/gAhlM by [Michael Hoisie] in go/src/pkg/http/
-- http server: don't send trailing '0' for chunked encoding when responding with
304 NotModified
20:23 < plexdev> http://is.gd/gAhmd by [Roger Peppe] in 2 subdirs of go/src/
-- testing: add Benchmark to allow benchmarks to be run without gotest.
20:27 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
20:36 -!- bjarneh [~bjarneh@1x-193-157-204-227.uio.no] has quit [Quit: leaving]
20:36 -!- luruke [~luruke@151.53.50.76] has joined #go-nuts
20:38 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
20:40 < plexdev> http://is.gd/gAjm6 by [Fazlul Shahriar] in
go/lib/codereview/ -- codereview: fix 'hg sync' and 'hg download' in Python 2.7
20:43 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
20:44 -!- pgas [~user@pdpc/supporter/active/pgas] has quit [Quit: /quit]
20:44 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 250 seconds]
20:45 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Client Quit]
20:47 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts
20:53 -!- SirPsychoS [~sp@c-24-13-132-255.hsd1.il.comcast.net] has joined #go-nuts
20:54 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit:
Leaving]
20:57 < plexdev> http://is.gd/gAldA by [Albert Strasheim] in
go/src/pkg/syscall/ -- syscall: SIO constants for Linux
21:00 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 245
seconds]
21:04 -!- teop [~teop@78.138.171.130] has quit [Ping timeout: 240 seconds]
21:07 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
21:08 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit
[Remote host closed the connection]
21:08 -!- TheMue [~TheMue@p5DDF4DBD.dip.t-dialin.net] has joined #go-nuts
21:12 -!- tvw [~tv@e176002155.adsl.alicedsl.de] has quit [Remote host closed the
connection]
21:13 -!- tvw [~tv@e176002155.adsl.alicedsl.de] has joined #go-nuts
21:14 -!- KBme [~KBme@2001:470:1f08:66b::2] has joined #go-nuts
21:16 -!- luruke [~luruke@151.53.50.76] has quit [Quit: Leaving]
21:16 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
21:17 -!- teop [~teop@78.138.171.130] has joined #go-nuts
21:22 -!- tumdum [~tumdum@aui85.neoplus.adsl.tpnet.pl] has joined #go-nuts
21:22 -!- tumdum [~tumdum@aui85.neoplus.adsl.tpnet.pl] has quit [Changing host]
21:22 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
21:23 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X]
21:25 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
21:26 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
21:27 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
21:29 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
21:29 < plexdev> http://is.gd/gAoQA by [Rob Pike] in go/src/cmd/gotest/ --
gotest: if the benchmark list is empty, print it in a way that
21:32 -!- tav_ [~tav@92.7.93.11] has joined #go-nuts
21:33 -!- tav [~tav@92.24.229.117] has quit [Ping timeout: 240 seconds]
21:35 -!- sauerbraten [~sauerbrat@p508CF04E.dip.t-dialin.net] has quit [Remote
host closed the connection]
21:36 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection
reset by peer]
21:43 -!- photron [~photron@port-92-201-4-158.dynamic.qsc.de] has quit [Ping
timeout: 245 seconds]
21:44 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
21:46 < plexdev> http://is.gd/gAqWh by [Brad Fitzpatrick] in 6 subdirs of
go/src/pkg/ -- strings: Contains
21:51 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:52 -!- tsykoduk [~tsykoduk@184.78.195.79] has quit [Ping timeout: 264 seconds]
21:54 -!- tsykoduk [~tsykoduk@184.78.195.79] has joined #go-nuts
21:56 -!- TheMue [~TheMue@p5DDF4DBD.dip.t-dialin.net] has quit [Quit: TheMue]
21:58 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
22:03 < plexdev> http://is.gd/gAsWf by [Wei Guangjing] in 5 subdirs of
go/src/ -- debug/pe, cgo: add windows support
22:05 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
22:11 -!- DerHorst [~Horst@e176112057.adsl.alicedsl.de] has joined #go-nuts
22:13 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
22:15 -!- vpit3833 [~user@d110-33-214-48.mas801.nsw.optusnet.com.au] has joined
#go-nuts
22:18 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts
22:20 < plexdev> http://is.gd/gAuVe by [Robert Griesemer] in
go/src/pkg/go/ast/ -- go/ast: add Inspect function for easy AST inspection w/o a
visitor
22:20 < plexdev> http://is.gd/gAuVo by [Robert Griesemer] in 2 subdirs of
go/src/pkg/go/printer/ -- go/printer: do not remove parens around composite
literals starting with a type name in control clauses
22:20 < plexdev> http://is.gd/gAuWb by [Brad Fitzpatrick] in 2 subdirs of
go/src/cmd/ -- Use strings.Contains in src/cmd/...
22:37 < plexdev> http://is.gd/gAwQA by [Robert Griesemer] in
go/src/pkg/go/printer/testdata/ -- fix build
22:38 -!- vpit3833 [~user@d110-33-214-48.mas801.nsw.optusnet.com.au] has left
#go-nuts ["ERC Version 5.3 (IRC client for Emacs)"]
22:40 < TheSeeker> ooh, cgo in next gomingw release?
22:45 -!- creack [~charme_g@163.5.84.215] has quit [Ping timeout: 252 seconds]
22:55 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts
23:16 -!- awidegreen_ [~quassel@p5DF1E2CD.dip.t-dialin.net] has quit [Read error:
Connection reset by peer]
23:24 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
23:25 -!- wrtp [~rog@92.17.51.106] has quit [Ping timeout: 245 seconds]
23:27 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote
host closed the connection]
23:29 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Quit: leaving]
23:30 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts
23:30 -!- wrtp [~rog@92.17.31.208] has joined #go-nuts
23:44 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: Lost terminal]
23:44 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
23:47 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
joined #go-nuts
23:54 -!- kanru [~kanru@118-168-232-114.dynamic.hinet.net] has joined #go-nuts
23:55 < plexdev> http://is.gd/gAFRd by [Alex Brainman] in 2 subdirs of
go/src/cmd/ -- 8l: pe generation fixes
23:55 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:57 -!- crazy2be [~crazy2be@d205-206-130-118.abhsia.telus.net] has joined
#go-nuts
--- Log closed Tue Nov 02 00:00:13 2010