--- Log opened Mon Dec 27 00:00:01 2010 00:00 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Ping timeout: 276 seconds] 00:01 -!- DarthShrine [~angus@58-6-93-222.dyn.iinet.net.au] has joined #go-nuts 00:01 -!- DarthShrine [~angus@58-6-93-222.dyn.iinet.net.au] has quit [Changing host] 00:01 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined #go-nuts 00:27 -!- ronnyy [~quassel@drsd-4dbda0d7.pool.mediaWays.net] has quit [Remote host closed the connection] 00:45 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 00:45 -!- Scorchin [~Scorchin@host86-186-246-246.range86-186.btcentralplus.com] has quit [Quit: Scorchin] 00:47 < inv_arp> hmm.. is it easy to decompile a go binary as say java .class files? 00:48 < Namegduf> No 00:48 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Read error: Connection reset by peer] 00:48 < Namegduf> Go binaries are compiled in a similar manner to C 00:48 < Namegduf> As opposed to an intermediary form 00:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 00:56 < inv_arp> Namegduf: ah ok.. 01:03 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR] 01:04 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts 01:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 01:21 -!- tensai_cirno [~cirno@77.232.15.216] has quit [Ping timeout: 240 seconds] 01:21 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds] 01:40 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276 seconds] 02:13 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Read error: Operation timed out] 02:15 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 02:23 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has joined #go-nuts 02:39 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 260 seconds] 02:45 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 02:53 -!- boscop_ [~boscop@g226235020.adsl.alicedsl.de] has joined #go-nuts 02:55 -!- boscop [~boscop@g226235228.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 03:01 -!- niemeyer_ [~niemeyer@200-203-59-56.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 03:53 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 04:31 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 04:32 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit: Leaving.] 04:35 -!- boscop_ [~boscop@g226235020.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 04:45 < vsmatck> Seems like error handling is very verbose in Go. Just finished a 33 line function. 21 lines are if err != nil {return err}. 04:46 < vsmatck> It's not usually this bad I guess. Just db stuff and lots of converting from interface to type. 04:49 < vsmatck> I'm not sure if this is a bad thing even. When I use exceptions in other languages I often don't even think about what exceptions might be thrown. With this verbose error handling I always know exactly every way in which a function might fail. 04:49 < uriel> vsmatck: maybe the api you are using is not very well designed? 04:49 < nsf> vsmatck: there is a type of code which is a very error prone 04:49 < nsf> usually it's I/O 04:50 < nsf> and correct handling of that is a verbose 04:50 < vsmatck> The API is not very good. It's the mongogo API. However, I'm working to improve it. 04:50 < vsmatck> It's just that designing a good API is hard. :) 04:50 < nsf> other things usually are not that bad 04:50 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 240 seconds] 04:50 < uriel> also, the if foo, ok; ok { } idiom makes things much nicer 04:51 < uriel> er + := blah() obviously 04:51 < vsmatck> nsf: Now that I think about it IO code does seem worse. 04:51 < nsf> it is pretty bad, yeah 04:51 < vsmatck> I saw that idiom before. I need to start using it. 04:51 < nsf> almost each Write* function returns an os.Error 04:52 < nsf> even in bufio 04:52 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 04:52 < nsf> but usually the resulting code isn't really bad 04:52 < nsf> it contains a bit of noise 04:52 < nsf> just add nice commented sections for that 04:52 < vsmatck> yeah, it's straitforward, just verbose. 04:52 < nsf> like // do this 04:53 < nsf> / do that 04:53 < nsf> etc. 04:53 < nsf> yeah 04:56 < nsf> http://pastie.org/1407867 04:56 < nsf> that's the way I write it 04:56 < nsf> oops, noticed a typo 04:56 < nsf> hehe 04:57 < nsf> "wrute rune" :D 05:04 < fuzzybyte> so there's now (at least) three mongodb bindings: gomongo, go-mongo and mongogo? which one of them works the best? 05:06 < fuzzybyte> gomongo apparently has the most forks and watchers in github than other 05:06 -!- d_m [d6@SDF.ORG] has quit [Ping timeout: 240 seconds] 05:06 < Namegduf> I suggest forking your own 05:06 < nsf> :D 05:06 < Namegduf> It seems to be what everyone else is doing 05:06 < Namegduf> So it must be right 05:08 < fuzzybyte> well i already did fork gomongo before.. so yeah 05:08 < Namegduf> Best make another fork. 05:08 < fuzzybyte> i just haven't tried the other two bindings (and their forks) 05:09 < Namegduf> I suspect they're mostly forked for maintenance reasons. 05:09 < Namegduf> It seems to be the case that whenever a package is improperly maintained they fork it themselves and maintain it for a fortnight, then it repeats, if not immediately then next time they aren't paying attention for a week. 05:15 -!- d_m [d6@SDF.ORG] has joined #go-nuts 05:18 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has joined #go-nuts 05:50 -!- tensai_cirno [~cirno@77.232.15.216] has joined #go-nuts 05:58 -!- fabled [~fabled@mail.fi.jw.org] has joined #go-nuts 05:59 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Read error: Connection reset by peer] 06:00 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts 06:04 -!- Thamna [~mIRCTR@78.172.31.51] has joined #go-nuts 06:05 -!- Thamna [~mIRCTR@78.172.31.51] has left #go-nuts [] 06:05 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has quit [Read error: Connection reset by peer] 06:05 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has joined #go-nuts 06:19 -!- ios_ [~ios@180.191.134.28] has joined #go-nuts 06:32 -!- rhencke [~rhencke@ppp-70-247-243-221.dsl.ltrkar.swbell.net] has quit [Quit: rhencke] 06:38 -!- joatmon54 [~engest@cpe-66-74-195-46.san.res.rr.com] has joined #go-nuts 06:43 -!- shvntr [~shvntr@116.26.132.29] has joined #go-nuts 06:43 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 260 seconds] 06:51 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 604 seconds] 06:54 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 06:56 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 06:57 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined #go-nuts 07:04 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has quit [Quit: adu] 07:10 -!- tensai_cirno [~cirno@77.232.15.216] has quit [Quit: Leaving] 07:11 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 265 seconds] 07:22 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has joined #go-nuts 07:25 < reiddraper> anyone give a hint to what the compile error "used as value" means? 07:29 < cbeck> Are you using a statement as a value? 07:29 < cbeck> Paste the offending line, or perhaps pastebin some context? 07:30 < reiddraper> app.Route(request.URL.Path)(conn.Writer, request) 07:31 < reiddraper> app.Route returns a func 07:31 < cbeck> (app.Route(request.URL.Path))(conn.Writer, request) 07:32 < reiddraper> cbeck: same error 07:32 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 07:33 < cbeck> Hrmm 07:34 < cbeck> pastebin a bit more context? 07:34 -!- reiddraper_ [~reid@c-68-33-177-129.hsd1.md.comcast.net] has joined #go-nuts 07:34 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has quit [Read error: Connection reset by peer] 07:34 < reiddraper> here is the file 07:34 < reiddraper> https://gist.github.com/755944 07:34 < reiddraper> cbeck: with your change 07:36 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 07:36 < cbeck> lookin' 07:36 < reiddraper> cbeck: appreciate it 07:43 < cbeck> reiddraper: https://gist.github.com/755948 07:43 < cbeck> Try that 07:43 < cbeck> in newConn you were effectively double-buffering, what wasn't the issue, but probably wasn't what you wanted 07:47 < reiddraper> cbeck: ok, think I understand what you mean. Still not sure what my problem with using the function returned by app.Route could be 07:53 < cbeck> I don't think it was app.Route, I think it was conn.Writer 07:53 < cbeck> conn implements writer, I think the confusion stems from how interfaces work 07:54 < cbeck> I don't have a toolchain on this box to test it 07:56 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Remote host closed the connection] 07:56 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 07:57 < reiddraper> cbeck: ok, will dig into the a bit. thanks. 07:57 < reiddraper> for what it's worth, with the original gist i sent you, changing this line: 07:58 < reiddraper> (app.Route(request.URL.Path))(conn.Writer, request) 07:58 < reiddraper> to 07:58 < reiddraper> helloHandler(conn.Writer, request) 07:58 < reiddraper> / just hardcoding that handler 07:58 < reiddraper> works OK 07:58 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Remote host closed the connection] 07:58 < reiddraper> compiles, and serves http 07:58 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 07:59 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 08:05 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 08:06 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 08:14 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 08:16 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Ping timeout: 276 seconds] 08:24 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has quit [Quit: reiddraper] 08:32 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:33 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Quit: noktoborus] 08:43 < taruti> Anyone familiar with go9p here? Is there an elegant way to construct dynamic directories whose contents can differ on each lookup, i.e. no static srv.Files. 08:45 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Quit: tdc] 08:47 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Ping timeout: 260 seconds] 08:49 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 08:49 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Client Quit] 08:49 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined #go-nuts 08:50 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Client Quit] 08:50 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined #go-nuts 08:52 -!- d_m [d6@SDF.ORG] has quit [Read error: Connection reset by peer] 09:12 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-84.clienti.tiscali.it] has joined #go-nuts 09:13 -!- tensorpudding [~user@99.70.203.100] has joined #go-nuts 09:14 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 09:15 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Read error: Connection reset by peer] 09:15 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 09:17 -!- ios_ [~ios@180.191.134.28] has quit [Ping timeout: 240 seconds] 09:17 -!- tensai_cirno [~cirno@194.186.53.99] has joined #go-nuts 09:23 -!- chickamade [~chickamad@116.118.26.104] has joined #go-nuts 09:36 -!- ewanas [~wanas@78.101.178.79] has joined #go-nuts 09:41 -!- tensorpudding [~user@99.70.203.100] has quit [Remote host closed the connection] 09:45 -!- photron_ [~photron@port-92-201-42-169.dynamic.qsc.de] has joined #go-nuts 09:46 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit: DarthShrine] 09:56 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 240 seconds] 09:59 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has joined #go-nuts 10:01 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 10:03 -!- tensai_cirno [~cirno@194.186.53.99] has quit [Quit: Leaving] 10:12 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined #go-nuts 10:16 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 10:18 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping timeout: 255 seconds] 10:20 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 10:25 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 10:27 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has joined #go-nuts 10:27 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has joined #go-nuts 11:00 -!- jkakar [~jkakar@93.Red-79-151-184.dynamicIP.rima-tde.net] has left #go-nuts ["Ex-Chat"] 11:01 -!- xash [~xash@d170096.adsl.hansenet.de] has joined #go-nuts 11:18 -!- tensai_cirno [~cirno@77.232.15.216] has joined #go-nuts 11:22 -!- chickamade [~chickamad@116.118.26.104] has quit [Quit: Leaving] 11:23 -!- neur [~neuro@81.214.95.216] has quit [Changing host] 11:23 -!- neur [~neuro@unaffiliated/neurosys/x-283974] has joined #go-nuts 11:24 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving] 11:51 -!- wtfness [~dsc@78.101.66.85] has joined #go-nuts 11:53 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 11:53 -!- foocraft [~dsc@78.101.178.79] has quit [Ping timeout: 240 seconds] 11:53 -!- ewanas [~wanas@78.101.178.79] has quit [Ping timeout: 265 seconds] 11:54 -!- tvw [~tv@e176007188.adsl.alicedsl.de] has joined #go-nuts 11:55 -!- ewanas [~wanas@78.101.66.85] has joined #go-nuts 11:56 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping timeout: 240 seconds] 11:57 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 240 seconds] 11:57 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 11:58 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 12:13 < KBme> taruti: sure it is 12:14 < KBme> that's the point of 9p 12:14 < KBme> look at timefs 12:14 < KBme> it'll always have different contents 12:14 < KBme> srv/examples/timefs 12:14 < KBme> oops, .go ☺ 12:15 < KBme> now to debug my deadlock.. 12:18 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds] 12:23 -!- Xenith [~xenith@2001:470:1:9:8002::1] has quit [Read error: Operation timed out] 12:24 -!- Xenith [~xenith@2001:470:1:9:8002::1] has joined #go-nuts 12:31 -!- sauerbraten [~sauerbrat@p508CBF1B.dip.t-dialin.net] has joined #go-nuts 12:36 < KBme> ipv6 is really buggy :( 12:36 < aiju> with Go? 12:36 < KBme> yep 12:37 < KBme> first off it can't lookup ipv6 addresses on an ipv4 domain name server 12:45 < KBme> lookup in general is buggy with ipv6 12:45 < KBme> it couldn't resolve ipv6.chat.freenode.net for example. I don't even understand why 12:50 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 12:52 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 12:54 -!- bakedb [~kel@cpc4-lea21-0-0-cust755.6-3.cable.virginmedia.com] has joined #go-nuts 12:54 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded] 12:55 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 13:00 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 250 seconds] 13:02 -!- niemeyer_ [~niemeyer@200-203-59-56.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 13:03 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has joined #go-nuts 13:13 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has joined #go-nuts 13:14 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 240 seconds] 13:15 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 13:21 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 272 seconds] 13:22 -!- Netsplit *.net <-> *.split quits: Soultaker, dju, preflex, MaybeSo, Paradox924X, drd_, kanru, segy, ewanas, sacho 13:23 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has joined #go-nuts 13:23 -!- go-irc-c [~go-irc-ch@195-132-97-104.rev.numericable.fr] has quit [Ping timeout: 264 seconds] 13:25 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-84.clienti.tiscali.it] has quit [Ping timeout: 276 seconds] 13:26 -!- Paradox924X [~Paradox92@c-68-35-229-34.hsd1.fl.comcast.net] has joined #go-nuts 13:26 < taruti> KBme: that is for _files_, directories are different since the Read method of src.File is not called on them 13:26 -!- Netsplit over, joins: ewanas, kanru, sacho, dju, drd_, Soultaker, preflex, MaybeSo, segy 13:28 < KBme> taruti: yes, it is 13:28 < KBme> read is called the same for directories and files 13:28 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-84.clienti.tiscali.it] has joined #go-nuts 13:29 < KBme> at least that's the impression I get from http://is.gd/jyPSS 13:30 < taruti> at line 402 13:31 < taruti> it is *Fsvr Read that calls *File Read only on nondirectories 13:31 < taruti> and the directory part seems coded there 13:32 < taruti> (now I think I could subtype Fsvr and copy paste the code perhaps..) 13:33 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 13:33 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping timeout: 276 seconds] 13:35 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 13:35 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has quit [Read error: Operation timed out] 13:36 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 240 seconds] 13:36 -!- KBme [~KBme@9angled-2-pt.tunnel.tserv5.lon1.ipv6.he.net] has joined #go-nuts 13:37 -!- niekie [~niek@CAcert/Assurer/niekie] has quit [Remote host closed the connection] 13:37 -!- niekie [~niek@CAcert/Assurer/niekie] has joined #go-nuts 13:37 < KBme> also you'll have to implement it in stat 13:38 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts 13:41 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-159-21.clienti.tiscali.it] has joined #go-nuts 13:43 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-84.clienti.tiscali.it] has quit [Read error: Operation timed out] 13:44 -!- boscop_ [~boscop@g226235020.adsl.alicedsl.de] has joined #go-nuts 13:50 -!- Xenith [~xenith@2001:470:1:9:8002::1] has quit [Ping timeout: 260 seconds] 13:50 -!- Xenith [~xenith@2001:470:1:9:8002::1] has joined #go-nuts 13:55 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 272 seconds] 13:56 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 14:02 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts 14:03 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts [] 14:12 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-159-21.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 14:13 -!- bakedb [~kel@cpc4-lea21-0-0-cust755.6-3.cable.virginmedia.com] has quit [Quit: Ex-Chat] 14:15 -!- chickamade [~chickamad@116.118.26.104] has joined #go-nuts 14:30 -!- chickamade [~chickamad@116.118.26.104] has quit [Quit: Leaving] 14:32 -!- chickamade [~chickamad@116.118.26.104] has joined #go-nuts 14:48 < creack> ello 14:48 < creack> Do someone know if there is something like WAIT_ANY in go? 14:49 < creack> I tried to give -1 to os.Wait and syscall.Wait4 but it looks very random... 14:57 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 250 seconds] 15:01 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 15:05 -!- shvntr [~shvntr@116.26.132.29] has quit [Ping timeout: 255 seconds] 15:06 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 15:06 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Quit: tdc] 15:07 -!- shvntr [~shvntr@221.172.251.150] has joined #go-nuts 15:11 -!- DerHorst [~Horst@e176097199.adsl.alicedsl.de] has joined #go-nuts 15:11 -!- ymasory [~ymasory@adsl-2-40-178.mia.bellsouth.net] has joined #go-nuts 15:13 -!- tensai_cirno [~cirno@77.232.15.216] has quit [Ping timeout: 276 seconds] 15:14 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 260 seconds] 15:16 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 15:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 15:19 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts 15:24 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Read error: Connection reset by peer] 15:24 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 15:28 -!- tvw [~tv@e176007188.adsl.alicedsl.de] has quit [Remote host closed the connection] 15:31 < creack> and when I try to use waitpid() via cgo, I always get "no child process" 15:31 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has quit [Ping timeout: 240 seconds] 15:35 -!- Fish [~Fish@ARennes-752-1-23-56.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 276 seconds] 15:39 < skelterjohn> what behavior are you trying to achieve? 15:46 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 15:49 -!- Fish [~Fish@ARennes-752-1-22-79.w90-32.abo.wanadoo.fr] has joined #go-nuts 15:50 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has joined #go-nuts 15:53 -!- xash [~xash@d170096.adsl.hansenet.de] has quit [Ping timeout: 250 seconds] 15:55 -!- kanru [~kanru@118-160-160-44.dynamic.hinet.net] has joined #go-nuts 15:55 -!- d_m [d6@SDF.ORG] has joined #go-nuts 15:56 -!- Davidian1024 [~Davidian1@cpe-173-88-174-84.neo.res.rr.com] has joined #go-nuts 16:03 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 16:04 -!- ymasory [~ymasory@adsl-2-40-178.mia.bellsouth.net] has quit [Ping timeout: 260 seconds] 16:19 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Changing host] 16:19 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 16:28 -!- kanru [~kanru@118-160-160-44.dynamic.hinet.net] has quit [Ping timeout: 265 seconds] 16:35 -!- tensai_cirno [~cirno@95.143.210.205] has joined #go-nuts 16:41 -!- davidlt [~davidlt@guest-docking-nat-1-034.ethz.ch] has joined #go-nuts 16:41 -!- shvntr [~shvntr@221.172.251.150] has quit [Quit: leaving] 16:41 -!- davidlt [~davidlt@guest-docking-nat-1-034.ethz.ch] has left #go-nuts [] 16:42 -!- ewanas [~wanas@78.101.66.85] has quit [Quit: leaving] 16:42 -!- l00t [~i-i3id3r_@201008247247.user.veloxzone.com.br] has joined #go-nuts 16:47 -!- sauerbraten [~sauerbrat@p508CBF1B.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 16:50 -!- sauerbraten [~sauerbrat@p508CBF1B.dip.t-dialin.net] has joined #go-nuts 16:55 -!- chickamade [~chickamad@116.118.26.104] has quit [Quit: Leaving] 16:57 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-21.clienti.tiscali.it] has joined #go-nuts 16:57 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Quit: tdc] 17:05 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 17:11 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has quit [Quit: Changing server] 17:11 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 17:12 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has quit [Client Quit] 17:12 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has joined #go-nuts 17:15 -!- tensai_cirno [~cirno@95.143.210.205] has quit [Quit: Leaving] 17:18 -!- falconindy [~noclaf@archlinux/trusteduser/falconindy] has quit [Quit: leaving] 17:24 -!- lmoura_ [~lauromour@186.212.105.150] has joined #go-nuts 17:26 < Eko> Namegduf: so, I came up with (what I think is an) innovative way to blend the "locking" concept with my use of event channels 17:28 < Eko> I have an event cleverly called Lock that carries with it a new chan Event, and when it is received that event blocks the event loop, but by starting another event loop with the given channel. That way, only code with access to the new event channel can execute events. Then, when that channel is closed, event processing continues normaly. 17:29 -!- WonTu [~WonTu@p57B54176.dip.t-dialin.net] has joined #go-nuts 17:30 -!- WonTu [~WonTu@p57B54176.dip.t-dialin.net] has left #go-nuts [] 17:31 -!- ssb [~ssb@213.167.39.150] has quit [Ping timeout: 250 seconds] 17:37 -!- ssb [~ssb@213.167.39.150] has joined #go-nuts 17:37 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has joined #go-nuts 17:37 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 17:38 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Read error: Connection reset by peer] 17:38 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 17:42 -!- keithcascio [~keithcasc@nat/google/x-vnfvhhrkdixwesos] has joined #go-nuts 17:44 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Quit: tdc] 17:56 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat] 18:00 < reiddraper> anyone around to take a look at a runtime error? 18:06 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts 18:07 -!- tav [~tav@92.7.68.30] has quit [Ping timeout: 260 seconds] 18:08 < plexdev> http://is.gd/jzQ5c by [Adam Langley] in go/src/pkg/crypto/cipher/ -- crypto/cipher: fix OCFB 18:10 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-240.clienti.tiscali.it] has joined #go-nuts 18:12 -!- joatmon54 [~engest@cpe-66-74-195-46.san.res.rr.com] has quit [Quit: Ex-Chat] 18:13 -!- tav [~tav@92.29.40.112] has joined #go-nuts 18:14 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-159-21.clienti.tiscali.it] has quit [Ping timeout: 276 seconds] 18:18 -!- Netsplit *.net <-> *.split quits: segy, MaybeSo, drd_, dju, lmoura_, sacho, preflex, Soultaker, piranha 18:21 -!- Netsplit over, joins: lmoura_ 18:22 -!- lmoura_ [~lauromour@186.212.105.150] has quit [Remote host closed the connection] 18:22 -!- lmoura [~lauromour@186.212.105.150] has joined #go-nuts 18:24 < plexdev> http://is.gd/jzTTh by [Sebastien Binet] in go/src/pkg/exp/eval/ -- simple fix to not have 'exp/eval' panic in presence of slices like s[:2] 18:24 < plexdev> http://is.gd/jzTTr by [Stefan Nilsson] in go/src/pkg/strconv/ -- atof: added 'E' as valid token for exponent 18:26 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has joined #go-nuts 18:29 -!- tensai_cirno [~cirno@77.232.15.216] has joined #go-nuts 18:34 < Eko> reiddraper: don't ask to ask, just ask 18:35 < reiddraper> Eko: will do. got it figured out actually though. 18:36 < Eko> there are so many times I'll ask a question and come back later to find someone answered. Without a 24/7 active channel, sometimes we have to wait ^_^ 18:36 < aiju> or somebody will just rtfm it… 18:37 < aiju> (one of the major IRC annoyances, right before "that's a homework question") 18:37 -!- xuwen [~xuwen@pool-151-200-28-66.res.east.verizon.net] has joined #go-nuts 18:38 < Eko> lol. 18:38 < reiddraper> aiju: true. fortunately the go-nuts channel has been kind to me thus far 18:38 -!- xuwen [~xuwen@pool-151-200-28-66.res.east.verizon.net] has quit [Remote host closed the connection] 18:38 < Eko> I've actually never been told my question was a homework question, but then again, I sleep with Don S. Raymond's "How to ask a question" under my pilow at night. 18:39 -!- xuwen [~xuwen@pool-151-200-28-66.res.east.verizon.net] has joined #go-nuts 18:39 < aiju> Eko: depends on the channel 18:39 < aiju> Eko: common in ##electronics or ##math 18:39 < Eko> ah. 18:39 < aiju> never happened to me in an "IT" channel either 18:40 < aiju> but i often get RTFM'ed on actually difficult questions 18:40 < vsmatck> Eric S. Raymond? 18:40 < Eko> I usually only ask in language channels like C, C++, Java, Ruby, and OS channels like linux 18:40 < Eko> er, yeah, Eric 18:40 < Eko> I get his first name confused because one of my CS teachers was named Don S Raymond. 18:40 < aiju> haha 18:40 < Eko> (though he got fired for slamming a student's fingers in his locker) 18:40 < Eko> (twice) 18:40 < aiju> haha 18:40 < vsmatck> That's a great page. The "how to ask questions" page. 18:41 < Eko> yep. I routinely answer people bad questions and then provide, unadorned, a link to that page at the end hoping that they'll click it and take the hint. 18:41 < aiju> i think it's different with IRC… 18:41 < Eko> also, I think JFGI is the new RTFM. 18:42 < skelterjohn> i like to give links to lmgtfy.com 18:42 < aiju> JFGI? 18:42 < aiju> just fucking google it? 18:42 < Eko> yep. 18:42 < Eko> same idea as LMGTFY (let me google that for you) 18:42 < aiju> some questions are faster answered by actual people than by google… 18:42 < skelterjohn> lmgtfy is a bit punchier if the recipient isn't familiar with it 18:43 < aiju> especially bad with latex symbols 18:43 < Eko> rofl, I've never been to that website before 18:43 < Eko> that's freaking brilliant 18:43 < aiju> "just look in those 200 pages of documentation although i could tell it to you on the spot" 18:43 < aiju> and thinking "cuz i'm a pro and you're NOOOOOB" 18:43 < Eko> yeah. 18:43 < skelterjohn> there is something to be said for being self-sufficient 18:43 < Eko> it's true 18:44 < Namegduf> JFGI is an appropriate response where the question is irrelevant to the channel, though. 18:44 < Eko> but you also learn that by needing the answer when nobody is in the channel ;-) 18:44 < skelterjohn> if someone treats me as walking talking documentation, i find it irritating 18:44 -!- DerHorst [~Horst@e176097199.adsl.alicedsl.de] has quit [Remote host closed the connection] 18:44 < Namegduf> I see a lot of basic "How I use Linux" questions in server support channels 18:44 < Namegduf> It's a real irritation 18:44 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 18:44 < Eko> Namegduf: scroll up and look for my highlight 18:44 < aiju> skelterjohn: i really don't mind it too much 18:44 < aiju> skelterjohn: as long as it doesn't get too annoying i don't mind if people occasionally ask stupid questions 18:44 < skelterjohn> lmgtfy is sort of like teaching a man to fish 18:44 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-240.clienti.tiscali.it] has quit [Ping timeout: 240 seconds] 18:45 < skelterjohn> rather than giving him a fish 18:45 < skelterjohn> etc 18:45 < Eko> rof. 18:45 < Namegduf> Eko: That's an interesting idea. What're you using it for? 18:45 < aiju> Namegduf: hahaha 18:46 < Namegduf> Or things like "How I build" where an INSTALL file is provided, etc 18:46 -!- dju [~dju@fsf/member/dju] has joined #go-nuts 18:46 < Eko> Namegduf: the server routine uses it to lock the channel routines while unregistering a client and sending QUIT messages so that messages don't get sent to the dying *Client and cause things like "too many operations on closed channel" 18:46 < Namegduf> Ah. 18:46 < Namegduf> All of them? 18:46 -!- Project-2501 [~Marvin@82.84.72.6] has joined #go-nuts 18:46 < Eko> I'm sure I'll find more uses for it as I clean things up 18:46 < Eko> Namegduf: nope, just the ones that the client was on 18:46 < Namegduf> How about messages from other clients? 18:47 < Eko> what do you mean? 18:47 < Namegduf> Does a client sending a message to another client go through a channel goroutine? 18:48 < Eko> no, that'd go through the server routine, which is the one processing the QUIT or disconnect, so it's inherently blocked out 18:48 < Namegduf> Okay, that works. 18:49 < Eko> I'm sure I've got holes in my model, but hopefully I'll find them as I clean stuff up or other people will find them when (if?) people start using the server 18:49 < Eko> Namegduf: does yours support server-to-server links? If so, what protocol do they use? 18:50 -!- drd [~eric@compassing.net] has joined #go-nuts 18:50 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 18:50 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts 18:51 < Namegduf> Not yet. But I would implement TS6 18:51 < Namegduf> It's an accepted standard which will link with some existing IRCDs 18:51 < Namegduf> And more importantly, Services 18:52 -!- piranha_ [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts 18:53 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 18:56 -!- segy [~segfault@mail.hasno.info] has joined #go-nuts 18:56 -!- segy [~segfault@mail.hasno.info] has quit [Changing host] 18:56 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts 18:57 < Eko> Namegduf: that's what I'm thinking too 18:58 < Eko> though I thought I might be biased because I helped develop an early version of what became TS6 18:59 < Namegduf> There's no other really common ones. 19:01 -!- thhooommmm [~thom@70-139-188-39.lightspeed.hstntx.sbcglobal.net] has joined #go-nuts 19:03 -!- thhooommmm [~thom@70-139-188-39.lightspeed.hstntx.sbcglobal.net] has left #go-nuts [] 19:03 -!- sacho [~sacho@90.154.208.35] has joined #go-nuts 19:05 -!- Venom_X [~pjacobs@66.54.185.130] has joined #go-nuts 19:07 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 19:15 -!- Venom_X [~pjacobs@66.54.185.130] has quit [Ping timeout: 250 seconds] 19:18 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 19:30 -!- |Craig| [~|Craig|@216.145.25.27] has joined #go-nuts 19:31 -!- Netsplit *.net <-> *.split quits: |Craig| 19:46 -!- Fish [~Fish@ARennes-752-1-22-79.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 19:58 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Ping timeout: 276 seconds] 19:59 -!- Fish [~Fish@ARennes-752-1-4-156.w90-12.abo.wanadoo.fr] has joined #go-nuts 20:01 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined #go-nuts 20:02 < Eko> my system apparently can't really handle 500 simultaneous connections between a pair of very high CPU usage tasks or something. 20:02 < Eko> I can do 400, but when I up it to 500 suddenly the tasks become unkillable when they should be exiting and lots of really bad things start to happen. 20:03 < Eko> Guess I'll have to try it on my linux server later and make sure it's not something that the go runtime is causing. 20:03 < Namegduf> What OS are you using now? 20:04 < Namegduf> It certainly shouldn't happen on Linux. 20:04 < Eko> Namegduf: Mac OS X. 20:04 < Eko> Shouldn't really happen there either, with a BSD kernel, but who knows what Apple changed with Mach. 20:06 < tensai_cirno> any1 can help with ELisp? 20:06 < tensai_cirno> I got gocode working with emacs and autocomplete-mode 20:06 < tensai_cirno> but it is very crude 20:08 -!- ymasory [~ymasory@adsl-2-40-178.mia.bellsouth.net] has joined #go-nuts 20:09 < tensai_cirno> https://gist.github.com/756494 20:09 < tensai_cirno> here's code 20:12 < fuzzybyte> tensai_cirno: not sure if relevant, but nsf once told to me that the gocode's "emacs" mode was just experimental and not really used. 20:12 -!- _Eko_ [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has joined #go-nuts 20:12 -!- Eko [~eko@adsl-76-251-235-206.dsl.ipltin.sbcglobal.net] has quit [Read error: Connection reset by peer] 20:12 < tensai_cirno> fuzzybyte, i'am talked with him today 20:13 < tensai_cirno> he said to look at emacs script 20:13 < tensai_cirno> *write it :) 20:13 < Eko> Okay, no more of that. 20:13 < Eko> I shall limit myself to 200 clients to be safe. 20:13 < KBme> Eko: is your source available somewhere? :P 20:14 < Eko> KBme: http://bitbucket.org/kylelemons/jaid 20:14 < KBme> oh sweet 20:16 < Eko> just pushed the last few changes (mostly to the faker subdirectory that I'm trying to use to stress-test) 20:16 -!- tensai_cirno [~cirno@77.232.15.216] has quit [Quit: Leaving] 20:18 < KBme> well, i'll check the source out, sounds interesting 20:19 < Eko> currently it's using gofr in lieu of a makefile >_>. Because I'm lazy. 20:19 < Namegduf> Eko: RFC2810 and RFC2813 are ignored by everyone except IRCnet 20:20 < Eko> Namegduf: I'm starting to notice that. 20:20 < Namegduf> There's a few bits in there which became actual standards, but the bulk of it isn't. 20:20 -!- tensai_cirno [~cirno@77.232.15.216] has joined #go-nuts 20:21 < Eko> even a lot of 2811 is useless 20:21 < Eko> almost no networks support !channels or +channels 20:21 < Namegduf> Nope. 20:21 < Namegduf> (Shouldn't, either; they're a pretty awful idea) 20:21 * Eko +1 20:21 < Eko> I should change that to say RFC2812, TS6, and ISUPPORT. 20:22 < Namegduf> Only the original IRC RFC is actually respected as a 'standard'. 20:22 < Eko> even that though 20:22 < Eko> there are lots of things we think are "errors" 20:22 < KBme> the original irc rfc is a nice rfc 20:22 < KBme> the other ones are mostly bullshit 20:23 -!- coldturnip1 [~COLDTURNI@118-166-68-186.dynamic.hinet.net] has joined #go-nuts 20:23 < Namegduf> You should look at CAP and SASL support, though 20:23 < Eko> 2812 is pretty universal 20:23 * KBme notes that 20:23 < Namegduf> Only in that it duplicates the original RFC 20:24 < Eko> well, things like the USER command have been updated to make more sense 20:24 < Eko> and it specifies more clearly some things about valid characters, etc 20:24 < Namegduf> Except that it isn't implemented that way 20:24 < Namegduf> In other IRCDs 20:24 < Eko> lol, nope. 20:24 < Eko> hence ISUPPOR. 20:24 < Namegduf> <mode> is also a horrible hack 20:24 < Namegduf> Which is specific to the design of the IRCnet IRCD 20:24 < Eko> <mode>? 20:25 * KBme wonders if he should give a link to his irc client in go 20:25 < Namegduf> The second parameter to their idea of the USER command. 20:25 -!- coldturnip [~COLDTURNI@118-166-68-186.dynamic.hinet.net] has quit [Ping timeout: 264 seconds] 20:25 < Eko> hmm. 20:25 < Eko> most people seem to support it that way now, though, no? 20:25 < Namegduf> No. 20:25 < Namegduf> They do not. 20:25 < Eko> nevermind then, lol. 20:25 < KBme> USER? 20:25 < Namegduf> No one supports that mode parameter. 20:25 < Eko> my server just ignores the two middle parameters. 20:25 < Namegduf> That's what every other server does. 20:26 < KBme> heh 20:26 < Eko> what do you mean by CAP and SASL? 20:26 < Eko> secure connections? 20:26 < Namegduf> No. 20:26 < KBme> auth 20:26 < KBme> sasl is auth 20:26 < Namegduf> CAP and SASL are recent extensions; the first is for connection feature negotiation and the second is for authentication. 20:27 < Eko> ah, I thought SASL was something like that. 20:27 < Namegduf> They're portably supported in recent IRCDs but have no written RFC. 20:27 < Eko> I am wondering how hard it'll be to use go's TLS support to make secure ports. 20:27 < KBme> and are retardedly complicated 20:27 < KBme> at least sasl is 20:27 < Namegduf> CAP isn't too bad. SASL kinda is. 20:28 < KBme> is the entire stream just encrypted? 20:28 < Namegduf> If you use TLS 20:28 < KBme> shouldn't be hard then 20:28 < Namegduf> If not, no. 20:29 < Namegduf> IRC doesn't inherently have a STARTTLS thing; some people tried to invent one but it didn't take off. 20:29 < KBme> augh 20:32 < Eko> have either of you used "crypto/tls"? 20:32 < KBme> :( 20:33 < Eko> it looks as "simple" as making the right tls.Config and then using that to make a tls.Server whenever you get a new client on that port 20:34 -!- TheMue [~TheMue@p5DDF7736.dip.t-dialin.net] has joined #go-nuts 20:35 < Eko> or just getting a tls.Listener which implements net.Listener. 20:35 * Eko wonders. 20:42 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-168-112.clienti.tiscali.it] has joined #go-nuts 20:45 -!- Project-2501 [~Marvin@82.84.72.6] has quit [Ping timeout: 240 seconds] 20:58 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has joined #go-nuts 21:03 -!- Fish [~Fish@ARennes-752-1-4-156.w90-12.abo.wanadoo.fr] has quit [Quit: So Long, and Thanks for All the Fish] 21:07 < KBme> if anyone wants to take a look and tell me what they think https://github.com/soul9/go-irc-chans ;) 21:12 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined #go-nuts 21:16 < fenicks> hello 21:17 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Quit: ZNC - http://znc.sourceforge.net] 21:18 < Eko> I'm getting "version not supported" error messages when I try to make an SSL connection from xchat =/ 21:18 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts 21:21 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 21:37 -!- Project_2501 [~Marvin@82.84.67.225] has joined #go-nuts 21:40 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-168-112.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 21:41 < Eko> so, apparently crypto/tls only supports TLS v1.0... 21:41 < taruti> most things *should* support TLS 21:43 < Eko> apparently XChat wants it to be SSLv3, which is 3.0, and TLSv1.0 is 3.1 21:44 < Namegduf> TLS 1.0 was defined in 1999 21:45 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 265 seconds] 21:45 < Namegduf> I think that counts as XChat's problem 21:45 < Eko> indeed. 21:45 < Eko> my browser connects and handshakes 21:45 < Eko> it then has no idea what to do next, lol 21:47 < Eko> with respect to the TLS_VERSION flag on wikipedia: This field identifies the major and minor version of TLS for the contained message. For a ClientHello message, this need not be the highest version supported by the client. 21:47 < tensai_cirno> fuzzybyte, emacs auto-completion-mode cannot show type signatures 21:47 < tensai_cirno> only method/variable/const name 21:47 < tensai_cirno> :-(( 21:47 < Eko> I have a suspicion that that's exactly what's happening; xchat is advertising 3.0 and the server says NO. 21:51 * Eko downloads wireshark. 21:54 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 21:57 -!- femtoo [~femto@95-89-248-96-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 22:05 -!- TheMue [~TheMue@p5DDF7736.dip.t-dialin.net] has quit [Quit: TheMue] 22:06 -!- tdc [~santegoed@host217-44-173-250.range217-44.btcentralplus.com] has quit [Quit: tdc] 22:11 < tensai_cirno> bleh. emacs completion http://img502.imageshack.us/img502/492/201012280106331280x800s.png 22:11 < tensai_cirno> vim completion http://img821.imageshack.us/img821/7729/201012280107581280x800s.png 22:11 < tensai_cirno> :( 22:13 < fuzzybyte> i think you need to rewrite the EmacsFormatter interface in gocode.go 22:14 < tensai_cirno> this isn't hard 22:14 < tensai_cirno> main problem with auto-completion-mode 22:14 < tensai_cirno> i don't know how to print in popup any info except completion variants 22:14 < tensai_cirno> i can't even supply signatures 22:15 < fuzzybyte> oh 22:18 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 22:18 -!- jeff2 [~jeff@pool-108-13-140-226.lsanca.fios.verizon.net] has joined #go-nuts 22:23 < tensai_cirno> fuzzybyte, will try with other frameworks 22:30 -!- piranha_ [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 22:41 < fuzzybyte> im trying to make go-gedit-plugin with gocode support, but it is not ready yet. gedit has sloppy documentation for plugins :( 22:42 < aiju> fuzzybyte: just like every application *cough* 22:45 -!- tav [~tav@92.29.40.112] has quit [Ping timeout: 240 seconds] 22:47 < jeff2> printf("x = %f\n", 0.01); // prints x = 0.000000, when compiled with 6c from release.2010-12-22. what am I doing wrong? 22:50 < aiju> jeff2: maybe try 0.01f 22:52 -!- tav [~tav@92.7.124.152] has joined #go-nuts 22:52 < jeff2> aiju: same result. 0.01f, 0.01F, (float)0.01, (float)0.01f, (double)0.01. floating point in cgo seems to be screwy in general 22:52 < Eko> so, SSL is working on my IRC server, but not with xchat aqua. For instance, Adium connects properly (it just gets confused later). So, it may work with a later xchat. 22:52 < aiju> jeff2: really odd 22:53 < Eko> irc://irc.didntdoit.net:16697/#ssl if anyone wants to try. 22:57 -!- niemeyer_ [~niemeyer@200-203-59-56.pltce701.dsl.brasiltelecom.net.br] has quit [Ping timeout: 240 seconds] 22:57 -!- ymasory [~ymasory@adsl-2-40-178.mia.bellsouth.net] has quit [Ping timeout: 260 seconds] 23:01 < Eko> (that's ssl, btw) 23:07 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 23:22 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has quit [Quit: Leaving.] 23:30 -!- sauerbraten [~sauerbrat@p508CBF1B.dip.t-dialin.net] has quit [Remote host closed the connection] 23:34 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has quit [Quit: reiddraper] 23:35 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 23:39 -!- reiddraper [~reid@c-68-33-177-129.hsd1.md.comcast.net] has joined #go-nuts 23:41 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds] 23:45 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 23:53 -!- ios_ [~ios@180.191.39.7] has joined #go-nuts 23:56 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts --- Log closed Tue Dec 28 00:00:01 2010