--- Log opened Sat Oct 30 00:00:13 2010 00:15 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 00:24 -!- photron [~photron@port-92-201-55-104.dynamic.qsc.de] has quit [Ping timeout: 252 seconds] 00:31 -!- kanru [~kanru@61-228-155-150.dynamic.hinet.net] has joined #go-nuts 00:32 -!- sauerbraten [~sauerbrat@p508CE19B.dip.t-dialin.net] has joined #go-nuts 00:34 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts 00:39 -!- tvw [~tv@e176005246.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 00:48 -!- iant [~iant@67.218.104.238] has quit [Quit: Leaving.] 00:54 < sauerbraten> hi! I want to post something to an http server, therefore I use http.Post(). now Post() takes three parameters, url (which is clear), bodyType (which i assume is "application/x-www-form-urlencoded" in my case) and body of type io.Reader. now why has the body to be of type Reader? why not just string? 00:56 < nsf> because you can easily use string as Reader? 00:56 < sauerbraten> oh wait... may I just use http.PostForm() for POSTs of type "application/x-www-form-urlencoded"? 00:56 < nsf> I have no idea, never used http, but if you want to use string as io.Reader 00:56 < nsf> there is a package 'strings' which contains type "Reader" 00:57 < nsf> string.NewReader creates an io.Reader from a string 00:57 < sauerbraten> nsf: sorry I'm totally new to Go, only use Java until now... What does it mean that I can use string as Reader? 00:57 < sauerbraten> oh ok 00:57 < nsf> io.Reader is just an interface 00:57 < sauerbraten> I'll try that 00:57 < nsf> you can implement it using "string" as internal representation 00:57 < nsf> that's what strings.Reader does 00:58 < sauerbraten> would "Name=xyz&Age=42".newReader work? :-/ 00:58 < nsf> no 00:58 < sauerbraten> or is it string.NewReader("bla") 00:58 < nsf> strings.NewReader("Name=xyz&Age=42") 00:58 < sauerbraten> tah ok 00:58 < sauerbraten> thanks 00:59 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 00:59 < sauerbraten> now, PostForm needs the body data of txpe map[string][string]. How do I do that? 01:00 < sauerbraten> nevermind... 01:03 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 01:17 < nsf> lol, I was wondering how godoc deals with multiple implementations in syscall package 01:17 < nsf> it turns out that it doesn't 01:18 < nsf> http://golang.org/pkg/syscall/ 01:18 < nsf> this page has like three or more SYS_ constant groups 01:18 < nsf> actually more, yeah 01:18 < nsf> more like 5 01:19 < nsf> 80% of the page are repeating constant listings 01:19 < nsf> lol 01:21 < nsf> http://golang.org/search?q=SYS_ 01:22 < nsf> and search is useless 01:22 < nsf> it knows nothing about constants 01:22 < nsf> :\ 01:28 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 01:30 < sauerbraten> to := []string("user@host.com") <-- what's worng with that? 01:30 < nsf> you're trying to convert string literal to an array of strings 01:31 < nsf> to a slice of string* 01:31 < sauerbraten> eww.. so how should it be? 01:31 < nsf> if you just want a slice of strings with one string in it 01:31 < sauerbraten> ye 01:31 < nsf> s := []string{"123"} 01:31 < sauerbraten> ah ok 01:31 < sauerbraten> thanks again :) 01:31 < nsf> np 01:34 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts 01:39 < sauerbraten> can someone tell me why this http://pastie.org/1259322 exits with an error: EOF? 01:40 < nsf> never used smtp, can't tell 01:45 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 01:46 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined #go-nuts 02:10 -!- __david__ [~daviddavi@cpe-98-151-185-99.socal.res.rr.com] has quit [Quit: __david__] 02:13 -!- artefon [~thiago@189.59.161.16] has joined #go-nuts 02:15 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has joined #go-nuts 02:16 -!- sauerbraten [~sauerbrat@p508CE19B.dip.t-dialin.net] has quit [Remote host closed the connection] 02:32 -!- Arrow55 [~Arrow@bas9-quebec14-1168093772.dsl.bell.ca] has joined #go-nuts 02:33 < Arrow55> If I have a package that I want to gofmt, should I do it manually or add it to the Makefile? 02:36 < exch> Whatever is convenient 02:36 < exch> I usually add a 'format' rule to my makefiles which simply calls gofmt on the package code 02:37 < Arrow55> I tried adding the format rule like in hoisie's web.go, but it doesn't work when I call it 02:37 < Arrow55> I'm assuming the command is "gomake format" too, which I'm not certain about 02:39 < Arrow55> The error I usually get: Makefile:12: *** missing separator. Stop. 02:39 < Arrow55> line 12 being where I call ${GOFMT} file.go 02:47 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276 seconds] 02:49 < artefon> Arrow55: you have to use <tab> instead of spaces in makefile 02:49 < artefon> Arrow55: if u are using VIM you have to click <Ctrl + v> + tab 02:50 < Arrow55> I'm using gedit, and I do use tab, but I believe it converts it to spaces 02:51 < artefon> Arrow55: if the tab is converted to spaces it wont work, try to copy one tab from another line 02:51 < Arrow55> I'm checking it into my project on github and I'll post a link when it's there 02:51 < artefon> ok 02:51 < Arrow55> ok, I'll try checking that 02:54 -!- tabo [~tabot@camelot.tabo.pe] has joined #go-nuts 02:54 -!- tabo [~tabot@camelot.tabo.pe] has left #go-nuts [] 02:55 < Arrow55> http://github.com/Arrow/GoGCM/blob/master/atmos/Makefile 02:55 < Arrow55> but I haven't tried your suggestion artefon 02:55 < Arrow55> I'm checking that right now 02:55 < artefon> Arrow55: buut looks like you have a tab there 02:56 < Arrow55> yeah, I noticed when I checked it in 02:58 < Arrow55> I tried changing the tab to spaces and it's the same thing 02:58 < artefon> Arrow55: try 'make format' 02:58 < artefon> instead of gomake 02:59 < Arrow55> same error, but now it also can't find Make.inc and Make.pkg 03:01 < artefon> oo i get it 03:01 < artefon> :( 03:02 < Arrow55> the same error? 03:02 < artefon> Arrow55: the new version is without spaces.. the tab is mandatory 03:04 < Arrow55> so I should be using the first version 03:04 < Arrow55> ? 03:04 < artefon> in theory yes 03:04 < artefon> i will checkout your repos 03:04 < artefon> to try 03:04 < artefon> just a sec 03:05 < Arrow55> ok... thanks for the help 03:06 -!- lotrpy [~lotrpy@202.120.36.170] has quit [] 03:06 < artefon> Arrow55: here worked 03:06 < artefon> Arrow55: i only inserted a TAB 03:07 < artefon> Arrow55: i will put in pastebin 03:07 < Arrow55> I think gedit is auto inserting spaces 03:07 < artefon> yes 03:07 < artefon> Arrow55: this is probably the cause 03:07 < artefon> Arrow55: but spaces dont work with makefiles 03:07 < artefon> it should be a real tab 03:08 < Arrow55> ok, I didn't know that. learn something every day 03:08 < Arrow55> thanks for the help :) 03:09 < artefon> Arrow55: http://pastebin.com/hh9U0Xrv 03:09 < artefon> oops 03:09 < artefon> Arrow55: i think paste bin converted the tab 03:09 < Arrow55> yeah, I'll checkin what I have and I think it works 03:10 < artefon> :) 03:12 < Arrow55> ok, it's there now. 03:12 < Arrow55> Can I add -v to the command to get verbose 03:12 -!- msmarlboro [~crayolade@122-57-177-206.jetstream.xtra.co.nz] has quit [Ping timeout: 255 seconds] 03:13 < artefon> Arrow55: to what command? 03:13 < Arrow55> gofmt .. in the makefile or at the command line 03:13 < Arrow55> if I don't use gomake 03:17 < artefon> actually im a newcommer to go 03:18 < artefon> butt 03:18 < artefon> ops 03:18 < artefon> but 03:18 < artefon> i think that gomake is used for some go-specific stuff 03:18 < artefon> its just a special makefile 03:18 < artefon> so you can use your verbose output just like you would in the console 03:19 < Arrow55> I did "gofmt --help" and it seemed to give me my answer 03:19 < Arrow55> it seems there isn't a -v flag 03:21 -!- nf [~nf@124-171-9-193.dyn.iinet.net.au] has quit [Ping timeout: 276 seconds] 03:22 < Arrow55> artefon: Just curious, how do you like go so far? 03:22 < artefon> i dont know go very much but i am enjoying a lot 03:23 < artefon> one of the features that i find more interesting is the go coroutines 03:23 < artefon> for me writting concurrent programs is very important 03:23 < Arrow55> what type of programs are you interested in? 03:23 < Arrow55> That's also what I like about go 03:24 -!- kanru [~kanru@61-228-155-150.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 03:26 < artefon> im into distributed stuff 03:26 < artefon> and machine learning 03:26 < artefon> the distributed stuff is for information retrieval 03:26 < artefon> and you? 03:26 -!- sacho [~sacho@46.10.9.69] has joined #go-nuts 03:30 -!- lotrpy [~lotrpy@202.120.36.170] has joined #go-nuts 03:34 -!- msmarlboro [~crayolade@122-57-177-206.jetstream.xtra.co.nz] has joined #go-nuts 03:36 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 03:42 < artefon> Arrow55: i have to go 03:42 < artefon> Arrow55: see u soon 03:42 < artefon> :) 03:42 -!- artefon [~thiago@189.59.161.16] has quit [Quit: bye] 03:45 -!- Arrow55 [~Arrow@bas9-quebec14-1168093772.dsl.bell.ca] has quit [Quit: Leaving] 03:48 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 03:48 -!- mode/#go-nuts [+v iant] by ChanServ 03:50 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has quit [Ping timeout: 245 seconds] 04:05 < nsf> hahaha, C: multiple arguments, single return value; Go: multiple arguments, multiple return values, single optional receiver; ??: multiple arguments, multiple return values, multiple optional receivers? 04:05 < nsf> (a,b).methodX() or [a,b].methodX() 04:05 < nsf> :D 04:08 < nsf> I bet this will happen in this century 04:09 < nsf> multiple dispatch exists in the dynamic form already, few years and someone will make it static as well 04:10 < nsf> for god knows what reason 04:10 < nsf> :\ 04:42 < uriel> nsf: I bet D already has that 'feature' ;P 04:42 < nsf> as far as I know it hasn't 04:43 -!- lotrpy [~lotrpy@202.120.36.170] has quit [] 04:43 < uriel> does anyone know all the features D has? that would be like knowing all the prime numbers, you would need to be omniscient 04:43 < nsf> :) 04:43 < uriel> (sorry, forgot the " scare-quotes around "features" ;P) 04:44 < |Craig|> isn't that just a bit of syntactic sugar for a map function 04:44 < nsf> |Craig|: in some languages, yes 04:44 < nsf> maps have methods 04:44 < nsf> but that's not what I meant 04:46 -!- msmarlboro [~crayolade@122-57-177-206.jetstream.xtra.co.nz] has quit [] 04:47 < |Craig|> I've been writing too much SML lately. My thinking is getting too functional 04:51 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 04:52 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Read error: Connection reset by peer] 04:53 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts 05:05 -!- bjarneh [~bjarneh@1x-193-157-204-227.uio.no] has joined #go-nuts 05:12 -!- sjd [~sjd@204-195-89-40.wavecable.com] has quit [Quit: sjd] 05:32 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has joined #go-nuts 05:40 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 05:40 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 05:41 -!- aho [~nya@fuld-4d00d571.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 05:49 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 276 seconds] 05:49 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the connection] 05:53 -!- kanru [~kanru@61-228-155-150.dynamic.hinet.net] has joined #go-nuts 06:00 -!- no_mind [~orion@122.162.138.105] has joined #go-nuts 06:21 -!- chickamade [~chickamad@116.118.18.45] has joined #go-nuts 06:24 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 06:38 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:44 -!- chickamade [~chickamad@116.118.18.45] has quit [Quit: Leaving] 06:45 -!- __david__ [~daviddavi@cpe-98-151-185-99.socal.res.rr.com] has joined #go-nuts 06:47 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 06:58 -!- str1ngs [~strings@unaffiliated/str1ngs] has quit [Ping timeout: 240 seconds] 06:59 -!- str1ngs [~strings@unaffiliated/str1ngs] has joined #go-nuts 07:11 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has joined #go-nuts 07:11 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 07:17 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 245 seconds] 07:21 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:23 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined #go-nuts 07:35 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 07:42 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 07:42 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 07:42 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 07:51 < nsf> lol 07:51 < nsf> I've googled for "biggset problem in software development" 07:51 < nsf> and all agree that it's people 07:51 * nsf facepalms 07:57 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 08:10 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 08:18 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit: Leaving.] 08:19 -!- wrtp [~rog@92.17.83.15] has joined #go-nuts 08:22 < nsf> hehe, I think I will write cooperative javascript scheduler for gowtf 08:22 < nsf> :\ 08:23 -!- wrtp [~rog@92.17.83.15] has quit [Client Quit] 08:28 -!- bjarneh [~bjarneh@1x-193-157-204-227.uio.no] has quit [Quit: leaving] 08:28 -!- photron [~photron@port-92-201-4-158.dynamic.qsc.de] has joined #go-nuts 08:37 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has quit [Remote host closed the connection] 08:38 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 08:53 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 265 seconds] 08:57 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 09:02 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping timeout: 245 seconds] 09:06 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts 09:12 -!- piyushmishra [~piyushmis@117.200.227.202] has joined #go-nuts 09:14 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265 seconds] 09:17 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 09:21 -!- rlab [~Miranda@91.200.158.34] has quit [Client Quit] 09:22 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 09:29 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote host closed the connection] 09:32 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts 09:32 -!- impl [impl@atheme/member/impl] has quit [Ping timeout: 272 seconds] 09:33 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 09:36 -!- aquarion_ [~aquarion@88.248.141.169] has joined #go-nuts 09:36 -!- impl [impl@224-74.ip4.durham0.network.cynigram.com] has joined #go-nuts 09:36 -!- impl [impl@224-74.ip4.durham0.network.cynigram.com] has quit [Changing host] 09:36 -!- impl [impl@atheme/member/impl] has joined #go-nuts 09:39 -!- wrtp [~rog@92.17.83.15] has joined #go-nuts 09:42 -!- aquarion_ [~aquarion@88.248.141.169] has quit [Quit: Leaving] 09:44 -!- salviati [~salviati@88.248.141.169] has joined #go-nuts 09:51 -!- no_mind [~orion@122.162.138.105] has quit [Read error: Connection reset by peer] 09:52 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 09:53 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 09:57 -!- wrtp [~rog@92.17.83.15] has quit [Quit: wrtp] 10:01 -!- zozoR [~zozoR@5634798d.rev.stofanet.dk] has quit [Ping timeout: 250 seconds] 10:03 -!- boscop_ [~boscop@f050131043.adsl.alicedsl.de] has joined #go-nuts 10:04 -!- boscop [~boscop@g225209182.adsl.alicedsl.de] has quit [Ping timeout: 264 seconds] 10:07 -!- no_mind [~orion@122.173.236.122] has joined #go-nuts 10:11 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 10:16 -!- flix [~flix@APuteaux-152-1-39-130.w82-120.abo.wanadoo.fr] has joined #go-nuts 10:18 -!- tvw [~tv@e176002150.adsl.alicedsl.de] has joined #go-nuts 10:22 < nsf> hehe, I've made my gowtf template in an async fashion 10:22 < nsf> now it handles more or less well very big packages 10:24 -!- piyushmishra [~piyushmis@117.200.227.202] has quit [Quit: Leaving.] 10:26 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 265 seconds] 10:27 < nsf> http://jiss.convex.ru/gowtf/index.html 10:27 < nsf> check it out 10:27 < nsf> it is super smooth now 10:28 < nsf> this go/ast example is 50kb of json data 10:28 < nsf> I've tested it also with 850kb packages 10:28 < nsf> :D 10:28 < nsf> and it works 10:29 -!- nf [~nf@203-214-152-212.perm.iinet.net.au] has joined #go-nuts 10:29 -!- mode/#go-nuts [+o nf] by ChanServ 10:41 < nsf> oops 10:41 < nsf> doesn't work in ff :( 10:41 < nsf> bugowser 10:42 * nsf hates firefox 10:44 < nsf> chrome, opera, midori - all work, ff doesn't 10:44 < nsf> :\ 10:48 < nsf> http://benalman.com/news/2009/07/the-mysterious-firefox-settime/ 10:48 < nsf> that's just stupid 10:49 * nsf sighs 11:01 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 11:07 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 11:08 < Chopinn> db.o 11:09 < plexdev> http://is.gd/gu3Bd by [David Symonds] in go/misc/vim/syntax/ -- misc/vim: update list of builtins. 11:17 < nsf> ok, now firefox works as well 11:17 -!- wrtp [~rog@92.17.83.15] has joined #go-nuts 11:26 < plexdev> http://is.gd/gu4Yh by [Anthony Starks] in go/misc/bbedit/ -- misc/bbedit: support append, other builtins 11:29 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 11:30 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Quit: KBme kthxbye] 11:32 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined #go-nuts 11:32 -!- Chopinnn [~Chopin@ti0018a380-dhcp1420.bb.online.no] has joined #go-nuts 11:35 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 11:35 < uriel> nsf: doesn't work on links ;P 11:35 < nsf> hehe, indeed 11:36 < nsf> I'm tuning it now, hopefully I will try to build the static documentation for the Go lib tomorrow 11:36 -!- Chopinn [~Chopin@ti0018a380-dhcp1420.bb.online.no] has quit [Ping timeout: 264 seconds] 11:41 -!- Chopinn [~Chopin@ti0018a380-dhcp1420.bb.online.no] has joined #go-nuts 11:41 -!- Chopinnn [~Chopin@ti0018a380-dhcp1420.bb.online.no] has quit [Read error: Connection reset by peer] 11:45 -!- wrtp [~rog@92.17.83.15] has quit [Read error: Connection reset by peer] 11:45 -!- wrtp [~rog@92.17.83.15] has joined #go-nuts 11:47 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Quit: KBme kthxbye] 11:47 < napsy> Why doesn't a bufio.Reader.ReadString() end when confronted with EOF? It just blocks the probgram, waiting for input 11:48 -!- flix [~flix@APuteaux-152-1-39-130.w82-120.abo.wanadoo.fr] has quit [Quit: Quitte] 11:48 < napsy> http://pastie.org/private/4khhverhq9as5sv6yuqdg 11:48 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined #go-nuts 11:59 < nsf> http://jiss.convex.ru/gowtf 11:59 < nsf> yeah! 11:59 < nsf> that's what I call smooth 11:59 < nsf> :P 12:00 * nsf is a javascript mage 12:00 < nsf> :D 12:01 < nsf> it turns out that very interesting scheme works for javascript 12:01 < nsf> all processing through cooperative "async" events 12:01 < nsf> and drawing starts from enough data to fill the initial screen 12:02 < nsf> (because browser double buffers everything, and that way it avoids flickering) 12:03 < nsf> can't wait to stress test it 12:05 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Ping timeout: 276 seconds] 12:06 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts 12:10 < nsf> http://jiss.convex.ru/gowtf <- check it out 12:10 < nsf> everything x8 12:11 < nsf> 390kb of data 12:11 < nsf> still smooth 12:11 < nsf> :P 12:11 < nsf> and it's pretty big package 12:13 < plexdev> http://is.gd/gu962 by [Alex Brainman] in 2 subdirs of go/src/pkg/ -- syscall: fix Stat(path) where path is directory with trailing '/' on windows 12:17 -!- m_ [3a03aaa7@gateway/web/freenode/ip.58.3.170.167] has joined #go-nuts 12:17 -!- m_ [3a03aaa7@gateway/web/freenode/ip.58.3.170.167] has left #go-nuts [] 12:18 -!- moondial [3a03aaa7@gateway/web/freenode/ip.58.3.170.167] has joined #go-nuts 12:18 < moondial> hi. 12:23 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 12:33 < moondial> umm... 12:35 < exch> The funcs section lists a bunch functions multiple times 12:35 < exch> *bunch +of 12:35 < exch> same for the Consts section 12:36 < moondial> Could you tell me how to compile go in windows with minGW? 12:39 < nsf> exch: that's the point! 12:39 < nsf> it was stress test 12:39 < exch> ah 12:39 < nsf> I've just multiplied everything by 8 12:39 < nsf> to see how well it handles those 700+ items 12:39 < nsf> it turns out it handles them perfectly well! 12:40 < nsf> although I believe there will be UI issues with packages like syscall 12:40 < nsf> which has tons of constants 12:40 < nsf> they just will blow the screen 12:41 < nsf> maybe I'll make default "class" customizable, that way you'll be able to disable displaying consts by default 12:42 < nsf> I'm very excited about this new backend, it turns out that setTimeout saves my ass :D 12:43 < nsf> and +1 to using profiling for bottleneck detection before doing any kind of optimizations 12:44 < nsf> http://jiss.convex.ru/gowtf/gowtf.js check out the code :P 12:44 < nsf> fqStage* functions, nsf-style javascript :D 12:44 -!- wrtp [~rog@92.17.83.15] has quit [Read error: Connection reset by peer] 12:44 -!- wrtp [~rog@92.17.83.15] has joined #go-nuts 12:51 < nsf> hehe, I've figured out how can I hack the go lib to get all the files I need to look for the documentation 12:52 < nsf> each package uses standard Makefile, which contains magical GOFILES var 12:52 < nsf> I'm just adding rule at the end like: 12:52 < nsf> echogofiles: 12:52 < nsf> @echo $(GOFILES) 12:52 < nsf> and run it 12:52 < nsf> done.. :D 12:53 < nsf> I can get TARG as well, so I actually will know what the name of the package 12:53 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined #go-nuts 12:54 < nsf> it will remove multiplatform implementations duplication from packages like syscall as well 12:54 < nsf> strangely, godoc doesn't solve that problem 12:55 < nsf> well, it's not the best solution 12:55 < nsf> but imho it's ok 12:55 < nsf> omg, I talk too much 12:55 < nsf> should stop doing that :D 12:59 < nsf> I should probably rename the package to gortfm 13:00 < nsf> the project I mean 13:00 < plexdev> http://is.gd/gudya by [Alex Brainman] in go/src/pkg/syscall/ -- syscall: fix windows build 13:13 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 264 seconds] 13:17 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 240 seconds] 13:18 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined #go-nuts 13:21 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 13:21 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has quit [Quit: adu] 13:22 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 13:23 < moondial> I found gomingw, nice project. but I'd be happy if there is the link on golang.org/doc/install.html 13:29 -!- moondial [3a03aaa7@gateway/web/freenode/ip.58.3.170.167] has quit [Quit: Page closed] 13:31 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal] 13:33 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-pakqbhyohzzauwkq] has quit [Ping timeout: 245 seconds] 13:33 -!- ampleyfly [ampleyfly@gateway/shell/blinkenshell.org/x-xyrpcwthqavtrclk] has joined #go-nuts 13:39 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts 13:41 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has quit [Read error: Connection reset by peer] 13:49 -!- mattn_jp [~mattn_jp@180-144-130-238f1.hyg1.eonet.ne.jp] has joined #go-nuts 13:55 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has joined #go-nuts 14:02 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 14:09 -!- teop [~teop@78.138.171.130] has quit [Ping timeout: 240 seconds] 14:13 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 14:21 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has quit [Quit: adu] 14:23 -!- artefon [~thiago@187.114.52.56] has joined #go-nuts 14:23 -!- teop [~teop@78.138.171.130] has joined #go-nuts 14:25 -!- wrtp [~rog@92.17.83.15] has quit [Ping timeout: 276 seconds] 14:27 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 14:30 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has joined #go-nuts 14:35 -!- salviati_ [~salviati@88.248.141.169] has joined #go-nuts 14:36 -!- salviati [~salviati@88.248.141.169] has quit [Ping timeout: 276 seconds] 14:37 -!- wrtp [~rog@2.97.145.5] has joined #go-nuts 14:38 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-152-44.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 14:41 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Quit: Leaving.] 14:45 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 14:48 -!- gnuvince_ [~vince@70.35.165.60] has joined #go-nuts 14:51 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 14:54 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 14:57 -!- aho [~nya@fuld-4d00d173.pool.mediaWays.net] has joined #go-nuts 15:00 -!- iomox [~ios@180.191.92.73] has joined #go-nuts 15:16 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 15:38 -!- adu [~ajr@pool-173-66-10-221.washdc.fios.verizon.net] has quit [Quit: adu] 15:41 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts 15:54 -!- tumdum [~tumdum@aua166.neoplus.adsl.tpnet.pl] has joined #go-nuts 15:54 -!- tumdum [~tumdum@aua166.neoplus.adsl.tpnet.pl] has quit [Changing host] 15:54 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 16:00 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 265 seconds] 16:04 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 16:06 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote host closed the connection] 16:07 -!- mattn_jp [~mattn_jp@180-144-130-238f1.hyg1.eonet.ne.jp] has left #go-nuts [] 16:08 -!- Arrow55 [~Arrow@bas9-quebec14-1168093772.dsl.bell.ca] has joined #go-nuts 16:09 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 16:14 < artefon> Arrow55: hello 16:15 < Arrow55> artefon: hi 16:16 < Arrow55> I'm rebuilding go so I have a bit of a lag 16:16 < artefon> :) 16:16 < artefon> hehe 16:17 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has joined #go-nuts 16:17 < Arrow55> I didn't yesterday... 16:18 < Arrow55> sorry.. answer your question 16:18 < Arrow55> I'm interested in what go can do for modelling and control systems/robotics 16:19 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 16:24 < Arrow55> artefon: are you using go in your day to day job or just playing with it in your spare time? 16:24 < artefon> Arrow55: ohh nice i like robotics too :) 16:24 < artefon> Arrow55: im just playing with it but i intend to use it in production 16:25 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 16:27 < Arrow55> artefon: http://github.com/Arrow/GoCtrl I started this as a control system library 16:27 < Arrow55> artefon: I'd like it to develop into a general robotics library as well (or some offshoot of it) 16:28 < artefon> Arrow55: i found the atmos file name suggesting hehe 16:28 < Arrow55> artefon: but I'm not spending much time on it at the moment 16:28 < Arrow55> yeah 16:29 < artefon> Arrow55: but you want it to be a simulator or to use it embeded 16:29 < Arrow55> artefon: go to http://gogcm.blogspot.com/ if you want to know more about that project 16:29 < artefon> oo 16:29 < artefon> i will take a look 16:29 < Arrow55> I think go allows you to do both with the same library... IMHO 16:31 < Arrow55> for instance, say your function takes a channel for the timestep. you could set up a goroutine reading from the clock of an embeded application 16:31 < Arrow55> or you could have a timestep generator passing the next timestep in when the previous one is done 16:32 < artefon> yes 16:32 < artefon> this is a nice model 16:32 < artefon> ! 16:32 < Arrow55> thanks 16:32 < Arrow55> although I still see a few rough spots 16:33 < Arrow55> maybe I'm just picky 16:36 < artefon> or maybe you are just more experienced than me :) 16:36 < artefon> i worked with verilog and testing for some time 16:37 < artefon> but just a little 16:37 -!- skejoe [~skejoe@188.114.142.231] has quit [Ping timeout: 255 seconds] 16:39 -!- skejoe [~skejoe@188.114.142.231] has joined #go-nuts 16:42 -!- kanru [~kanru@61-228-155-150.dynamic.hinet.net] has quit [Ping timeout: 265 seconds] 16:43 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 16:56 -!- DerHorst [~Horst@e176115254.adsl.alicedsl.de] has joined #go-nuts 17:00 -!- salviati_ [~salviati@88.248.141.169] has quit [Remote host closed the connection] 17:03 -!- no_mind [~orion@122.173.236.122] has quit [Read error: Connection reset by peer] 17:04 < Arrow55> artefon: I don't think I'm more experienced than you. 17:05 < Arrow55> artefon: I've been following go since it's release, but only started hacking it back in April 17:06 < Arrow55> artefon: and as far as programming experience, I'm actually a mech engineer 17:07 < Arrow55> artefon: it's only in my last job that I was doing a bit more programming (although I already enjoyed it more than most mech eng) 17:09 -!- jhawk28 [~jhawk28@user-142gfrf.cable.mindspring.com] has quit [Read error: Connection reset by peer] 17:10 < artefon> Arrow55: i started using go recently, i wrote a simple raytracer and it was an extremly pleasent experience 17:11 < artefon> artefon: in which country do u live in? 17:11 < Arrow55> artefon: Canada 17:12 < artefon> sweet! 17:12 < artefon> Arrow55: what city? 17:13 < Arrow55> artefon: montreal 17:13 < artefon> Arrow55: i know some people in Alberta, i live in brazi 17:13 < artefon> Arrow55: i know some people in Alberta, i live in brazil * 17:14 < Arrow55> artefon: ok 17:15 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 17:15 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 17:25 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 17:30 -!- DrHennessy [~alex@c-24-10-221-165.hsd1.ut.comcast.net] has joined #go-nuts 17:30 -!- DrHennessy [~alex@c-24-10-221-165.hsd1.ut.comcast.net] has quit [Client Quit] 17:39 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 17:40 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 17:43 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 245 seconds] 17:48 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 17:55 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 240 seconds] 18:01 -!- tvw [~tv@e176002150.adsl.alicedsl.de] has quit [Remote host closed the connection] 18:04 -!- iomox [~ios@180.191.92.73] has quit [Quit: Leaving] 18:04 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 18:10 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Quit: Leaving.] 18:15 < artefon> is someone using hoisie's TwitterStream? 18:36 -!- b00m_chef [~watr@66.183.108.186] has joined #go-nuts 18:46 -!- DerHorst [~Horst@e176115254.adsl.alicedsl.de] has quit [Remote host closed the connection] 18:46 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts 18:47 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:59 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost terminal] 19:02 -!- b00m_chef [~watr@66.183.108.186] has quit [Ping timeout: 240 seconds] 19:22 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 19:25 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Client Quit] 19:26 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 19:30 -!- Arrow55 [~Arrow@bas9-quebec14-1168093772.dsl.bell.ca] has quit [Quit: Leaving] 19:35 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts 19:38 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 19:42 -!- artefon [~thiago@187.114.52.56] has quit [Quit: bye] 19:50 -!- crazy2be [~crazy2be@d205-206-130-118.abhsia.telus.net] has joined #go-nuts 20:41 -!- flaguy48 [~gallard@user-0c6s350.cable.mindspring.com] has joined #go-nuts 20:57 -!- TheMue [~TheMue@p5DDF5EAC.dip.t-dialin.net] has joined #go-nuts 20:57 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 21:03 -!- teop [~teop@78.138.171.130] has quit [Ping timeout: 265 seconds] 21:24 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Quit: Leaving] 21:25 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 21:25 -!- TheMue [~TheMue@p5DDF5EAC.dip.t-dialin.net] has quit [Quit: TheMue] 21:39 -!- skejoe [~skejoe@188.114.142.231] has quit [Quit: Lost terminal] 21:40 -!- nf [~nf@203-214-152-212.perm.iinet.net.au] has quit [Ping timeout: 250 seconds] 21:58 -!- nf [~nf@124-171-40-108.dyn.iinet.net.au] has joined #go-nuts 21:58 -!- mode/#go-nuts [+o nf] by ChanServ 22:07 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Quit: Leaving.] 22:10 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host closed the connection] 22:14 -!- wrtp [~rog@2.97.145.5] has quit [Quit: wrtp] 22:23 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 22:24 -!- Fumon [~fumon@CPE001d7e31d944-CM00222d6b6c85.cpe.net.cable.rogers.com] has joined #go-nuts 22:25 -!- Surma [~surma@91-65-183-76-dynip.superkabel.de] has joined #go-nuts 22:26 < Surma> Hey guys. I'm trying to do this: vector.Vector([]*somestruct) Why doesn't the compiler like that? 22:26 < Surma> I mean, *somestruct fulfills interface{} as well, doesn't it? 22:30 <@nf> it does, but you can't convert []foo to []bar with a type conversion 22:33 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the connection] 22:34 < Fumon> Hi, question about the reflect package. If I have a reflect.Value, how can I assert that reflect.Value's type implements an interface when the methods T implements the interface with use receivers (*T)? 22:36 -!- Surma [~surma@91-65-183-76-dynip.superkabel.de] has left #go-nuts [] 22:37 < Fumon> Perhaps an easier question would be how do I count the number of methods of a type if the methods use pointer receiver types? 22:48 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 22:53 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 23:02 -!- __david__ [~daviddavi@cpe-98-151-185-99.socal.res.rr.com] has quit [Quit: __david__] 23:03 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 23:08 -!- j`ey [jey2@gateway/shell/bshellz.net/x-sjpsziaixdfwctxv] has joined #go-nuts 23:10 -!- crazy2be [~crazy2be@d205-206-130-118.abhsia.telus.net] has quit [Read error: Connection reset by peer] 23:11 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Remote host closed the connection] 23:20 -!- ronnyy [~quassel@2001:6f8:12c6:1c86:224:1dff:fed7:9541] has joined #go-nuts 23:21 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 23:42 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 23:50 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 23:52 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: sudo rm -R /] --- Log closed Sun Oct 31 00:00:13 2010