--- Log opened Fri Aug 06 00:00:05 2010 00:05 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 00:05 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 00:08 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Excess Flood] 00:08 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 00:10 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has joined #go-nuts 00:17 -!- zeroXten [~zeroXten@0x10.co.uk] has quit [Ping timeout: 265 seconds] 00:17 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer] 00:18 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 00:18 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Ping timeout: 240 seconds] 00:19 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 260 seconds] 00:23 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche] 00:24 -!- kanru [~kanru@118-168-239-91.dynamic.hinet.net] has quit [Ping timeout: 260 seconds] 00:25 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts 00:25 -!- ikaros [~ikaros@188.107.214.192] has quit [Quit: Leave the magic to Houdini] 00:31 -!- dionysiac [~dionysiac@S01060013102db8c7.cg.shawcable.net] has joined #go-nuts 00:31 -!- dionysiac [~dionysiac@S01060013102db8c7.cg.shawcable.net] has quit [Client Quit] 00:31 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts 00:31 -!- dionysiac [~dionysiac@S01060013102db8c7.cg.shawcable.net] has joined #go-nuts 00:43 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer] 00:44 -!- Tiger__ [~chatzilla@118.126.12.53] has quit [Ping timeout: 260 seconds] 00:50 -!- mikespook [~mikespook@219.137.51.161] has joined #go-nuts 01:01 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts 01:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 01:08 -!- artefon [~thiago@189.107.227.111] has quit [Read error: Connection reset by peer] 01:11 -!- carllerche [~carllerch@208.87.61.203] has quit [Read error: Connection reset by peer] 01:11 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts 01:12 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts 01:16 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 01:18 < smw> when using the http pkg for fetching a url, how do you add a header? 01:21 < saracen> Just took at look at the http clients source, it appears you have to create a request object 01:22 < saracen> so I assume you've already got one of those. request.Header['key'] = value 01:22 < smw> saracen, but there is no way to send a request object 01:22 -!- photron [~photron@port-92-201-17-36.dynamic.qsc.de] has quit [Ping timeout: 276 seconds] 01:22 < saracen> Send appears to be a method on the request object 01:23 < saracen> Oh, wait, thats private 01:23 < smw> send is something else 01:23 < smw> I am trying to add gzip support, I think I did it, but I can't test it :-\ 01:24 < smw> I need to send "Accept-Encoding: gzip" 01:25 < saracen> Yeah, interally it sets it on the request objects. If you dont have access to that... :( 01:25 < smw> that is lame 01:25 < smw> you can't change anything that is sent :-\ 01:26 < smw> some headers are important like user agent 01:28 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined #go-nuts 01:28 < smw> saracen, well, I found my project. I thought it was adding gzip support. I guess they need a few extra functions for actually pulling urls ;-). 01:29 < saracen> Yeah, lol. It doesn't seem very complete. There's only get, post, head for request methods. Ideally, you'd want to be able to manipulate the request object - to cover everything. Then just implement the basic http verbs (get, post, delete, put, head etc.) 01:30 < smw> yeah 01:30 < smw> I was thinking of making a NewRequest(url, post, headers) 01:31 < smw> where post and new request are empty if you want defaults 01:31 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 264 seconds] 01:31 < smw> then make req.Get, req.Post, etc 01:33 < smw> hm 01:33 < smw> maybe just NewRequest(url) 01:33 < smw> then req.AddHeader(s) 01:34 < smw> then req.Post(params) 01:34 < smw> actually, you would probably want to make a factory... (now I get why python does what it does) 01:35 < saracen> Yeah. Sounds ok. If you have the convenience methods, say .Post, .Get, also make sure you can do req.SetMethod('SomeVerbIMadeUp) 01:35 < saracen> opps. ') 01:35 < smw> yeah 01:35 < smw> you can edit that manually 01:36 < saracen> It appears the current code doesn't support https either :) 01:37 < smw> I have a lot of fun on my hands :-P 01:37 < smw> It would be quicker to just port libcurl :-P 01:37 < smw> omg, what about cookies?! 01:37 < smw> :-) 01:37 < saracen> Actually, binding libcurl isn't that bad an idea 01:37 < smw> saracen, didn't someone say cgo is broken? 01:38 < saracen> If you kinda do what PHP does with it's http/https etc. wrappers, you'd gain all of the protocols libcurl supports with a common interface 01:38 < smw> yeah 01:38 < smw> bottom line is to give up and port libcurl :-\ 01:40 < saracen> Yeah, it'd be a pretty nice addition 01:40 < smw> and adding gzip support looked so easy! 01:42 < smw> is there any reason to have the multi interface? Isn't that what goroutines are for? 01:42 < smw> I could never figure out multi interface (I am not a very good C programmer) 01:44 -!- Tiger_ [~chatzilla@118.126.12.53] has joined #go-nuts 01:53 -!- boscop_ [~boscop@g226248236.adsl.alicedsl.de] has joined #go-nuts 01:55 -!- boscop [~boscop@g227154161.adsl.alicedsl.de] has quit [Ping timeout: 265 seconds] 01:59 -!- skelterjohn [~jasmuth@lawn-net168-in.rutgers.edu] has quit [Quit: skelterjohn] 02:04 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 02:05 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 02:09 < nickaugust> have you guys used the exp.draw package? can this be used in place of ncurses? 02:10 < nickaugust> to provide a graphical interface in the console? 02:18 < smw> nickaugust, I am not sure, but I do not think it works like ncurses 02:20 < nickaugust> im just trying to figure out if it works in the terminal or requires X... i see the X stuff is broken out 02:21 < Namegduf> nickaugust: You may want to look at termbox. 02:21 -!- TheSaint [~thesaint@166.205.11.88] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 02:21 < Namegduf> I believe draw requires X11, in the sense that it was designed to potentially have any number of backends, but that is the only one at present, but I could be wrong. 02:22 < nickaugust> Namegduf: yeah I am looking at termbox too. this just looked interesting... a plan9 type drawing implementation 02:26 -!- Iszak [~Iszak@unaffiliated/supavisah] has joined #go-nuts 02:26 -!- Iszak [~Iszak@unaffiliated/supavisah] has left #go-nuts [] 02:36 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 02:42 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has quit [Quit: derferman] 02:42 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 02:43 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 03:07 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 03:07 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 03:09 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer] 03:10 < smw> how do you deal with overloaded functions in cgo? 03:11 < smw> I am trying to get a very basic binding of curl easy handles. When you set options. The option can be many different types :-\, 03:11 < exch> You can't call them directly. probably best to create C wrappers with unique names which forward their calls 03:11 < smw> ah, I can take an interface and then check it 03:12 < exch> Not sure what 'overloaded' means in this context though.. C doesn't allow multiple functions with the same name? 03:12 < smw> exch, I thought it did :-\ 03:12 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 03:13 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 03:13 < smw> same name different signature x(int) vs x(int, int) 03:13 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host closed the connection] 03:13 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Read error: Operation timed out] 03:13 < exch> I could be wrong. just haven't seen it yet myself 03:15 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts 03:16 < smw> exch, you are right, it is only in c++ 03:17 < smw> exch, ah, all the things passed to it can be long ints (in C): long, function pointer, object pointer, curl_off_t 03:18 < smw> but in go I need to take an interface and figure out what it is :-\ 03:19 < smw> got to love how obvious stuff in C is (I was never a C programmer. God only knows why I am trying to make bindings) 03:19 < exch> cos you can! :p 03:19 < exch> that's mostly why I do it anyways 03:19 -!- bmizerany [~bmizerany@208.66.27.62] has quit [Remote host closed the connection] 03:19 < exch> I've made a bunch I'm never actually going to use 03:20 < smw> exch, well, have you ever made programs in C? 03:20 < smw> I haven't (if you don't count my hi low game :-P) 03:20 < exch> nope 03:21 < exch> but C isn't exactly rocket science. At least not to the extent needed to write Go bindings for it 03:22 < exch> At some point I'd like to actually port stuff to go though 03:22 < smw> exch, if I am given an integer in an interface (int, int64, any number type) how can figure out if it is a number and convert it to an int64? 03:23 < exch> the reflection package is probably the easiest way. 03:23 < smw> ok 03:24 < exch> otherwise you'll have to settle for manual type assertions and just keep going until you find the right type 03:24 < smw> ok 03:26 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche] 03:31 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:32 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts 03:36 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 03:40 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined #go-nuts 03:41 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 03:41 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined #go-nuts 03:45 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has quit [Remote host closed the connection] 03:51 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has joined #go-nuts 03:52 -!- gid [~gid@220-253-29-69.VIC.netspace.net.au] has joined #go-nuts 04:23 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has quit [Quit: derferman] 04:32 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 04:35 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined #go-nuts 04:37 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host closed the connection] 04:38 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts 04:38 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts 04:45 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 04:58 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host closed the connection] 05:03 -!- scm [justme@d057062.adsl.hansenet.de] has quit [Ping timeout: 265 seconds] 05:04 -!- scm [justme@d056096.adsl.hansenet.de] has joined #go-nuts 05:10 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts 05:10 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Remote host closed the connection] 05:10 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts 05:11 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 264 seconds] 05:12 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 265 seconds] 05:17 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined #go-nuts 05:22 -!- snearch [~snearch@f053001119.adsl.alicedsl.de] has joined #go-nuts 05:26 -!- nettok [~quassel@200.119.154.235] has joined #go-nuts 05:28 -!- roop [~roop@122.167.52.135] has joined #go-nuts 05:32 -!- ghiu [~gu@93-32-144-8.ip33.fastwebnet.it] has joined #go-nuts 05:33 -!- ghiu [~gu@93-32-144-8.ip33.fastwebnet.it] has quit [Client Quit] 05:33 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 05:38 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 05:42 -!- roop_ [~roop@122.167.7.238] has joined #go-nuts 05:42 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche] 05:43 -!- roop [~roop@122.167.52.135] has quit [Ping timeout: 248 seconds] 06:02 -!- mahemoff_ [~mahemoff@74.125.121.49] has joined #go-nuts 06:03 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Read error: Connection reset by peer] 06:06 -!- snearch [~snearch@f053001119.adsl.alicedsl.de] has quit [Quit: Verlassend] 06:08 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote host closed the connection] 06:27 -!- sacho [~sacho@95-42-108-60.btc-net.bg] has quit [Ping timeout: 265 seconds] 06:49 -!- roop_ [~roop@122.167.7.238] has quit [Read error: Connection reset by peer] 06:55 -!- roop_ [~roop@122.167.34.224] has joined #go-nuts 06:57 -!- wrtp [~rog@92.16.115.185] has joined #go-nuts 06:59 -!- mahemoff_ [~mahemoff@87-194-3-205.bethere.co.uk] has joined #go-nuts 07:03 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Ping timeout: 276 seconds] 07:07 -!- roop__ [~roop@122.166.131.79] has joined #go-nuts 07:07 -!- roop_ [~roop@122.167.34.224] has quit [Ping timeout: 248 seconds] 07:11 -!- wrtp [~rog@92.16.115.185] has quit [Ping timeout: 240 seconds] 07:11 -!- ssb [~ssb@213.167.39.150] has quit [Read error: Operation timed out] 07:11 -!- ssb [~ssb@213.167.39.150] has joined #go-nuts 07:16 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has quit [Ping timeout: 258 seconds] 07:16 -!- wrtp [~rog@92.16.115.185] has joined #go-nuts 07:19 -!- ronnyy [~quassel@p4FF1D963.dip.t-dialin.net] has joined #go-nuts 07:26 -!- mahemoff [~mahemoff@87-194-3-205.bethere.co.uk] has quit [Quit: mahemoff] 07:27 -!- mahemoff [~mahemoff@87-194-3-205.bethere.co.uk] has joined #go-nuts 07:41 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 07:44 -!- ct529 [~quassel@envpc1758.york.ac.uk] has joined #go-nuts 07:49 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 08:03 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 08:04 -!- roop__ [~roop@122.166.131.79] has quit [Ping timeout: 245 seconds] 08:12 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined #go-nuts 08:14 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:27 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Quit: WeeChat 0.3.2] 08:31 -!- ct529 [~quassel@envpc1758.york.ac.uk] has quit [Remote host closed the connection] 08:34 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 240 seconds] 08:34 -!- ct529 [~quassel@envpc1758.york.ac.uk] has joined #go-nuts 08:39 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 08:40 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts 08:41 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 08:42 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 08:44 -!- wrtp [~rog@92.16.115.185] has quit [Quit: wrtp] 08:44 < hokapoka> How do get the pointer to a instance? 08:45 -!- wrtp [~rog@92.16.115.185] has joined #go-nuts 08:46 < rsaarelm> hokapoka: &instance? 08:48 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 08:48 -!- mikespook [~mikespook@219.137.51.161] has quit [Read error: Connection reset by peer] 08:49 < hokapoka> OMG, thanks rsaarelm I must be having a stoopid day! 08:49 -!- ako [~nya@fuld-4d00d391.pool.mediaWays.net] has joined #go-nuts 08:50 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 08:52 -!- aho [~nya@fuld-4d00d5e2.pool.mediaWays.net] has quit [Ping timeout: 245 seconds] 08:54 -!- simulacrum [~qtninja@unaffiliated/wistful] has joined #go-nuts 09:01 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 260 seconds] 09:02 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 09:03 -!- nettok [~quassel@200.119.154.235] has left #go-nuts [] 09:05 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 09:07 -!- ikaros [~ikaros@188.107.214.192] has joined #go-nuts 09:10 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Ping timeout: 258 seconds] 09:10 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving] 09:10 -!- boscop__ [~boscop@g226248236.adsl.alicedsl.de] has joined #go-nuts 09:12 -!- boscop_ [~boscop@g226248236.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 09:13 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 09:16 -!- saschpe [~saschpe@mgdb-4d0cf1bb.pool.mediaWays.net] has joined #go-nuts 09:19 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 276 seconds] 09:22 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]] 09:23 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts 09:24 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 09:26 -!- ExtraSpice [~XtraSpice@88.118.32.225] has joined #go-nuts 09:27 -!- snearch [~snearch@f053001119.adsl.alicedsl.de] has joined #go-nuts 09:28 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 240 seconds] 09:29 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 252 seconds] 09:33 -!- sacho [~sacho@90-154-149-17.btc-net.bg] has joined #go-nuts 09:48 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 09:50 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined #go-nuts 09:51 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-180-250.clienti.tiscali.it] has joined #go-nuts 09:57 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has quit [Ping timeout: 265 seconds] 10:01 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 10:02 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 276 seconds] 10:03 -!- path[l] [~path@122.182.0.38] has joined #go-nuts 10:07 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has joined #go-nuts 10:08 -!- peterdn [~peterdn@nat1a.vpn.ox.ac.uk] has joined #go-nuts 10:08 -!- peterdn [~peterdn@nat1a.vpn.ox.ac.uk] has quit [Client Quit] 10:16 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit [Read error: Connection reset by peer] 10:16 -!- photron [~photron@port-92-201-73-163.dynamic.qsc.de] has joined #go-nuts 10:17 -!- ako [~nya@fuld-4d00d391.pool.mediaWays.net] has quit [Ping timeout: 240 seconds] 10:19 -!- aho [~nya@fuld-4d00d0d1.pool.mediaWays.net] has joined #go-nuts 10:21 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 10:26 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: Lost terminal] 10:26 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 10:35 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has left #go-nuts [] 10:35 -!- hokapoka [~hokapoka@hoka.hokapoka.com] has joined #go-nuts 10:35 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 252 seconds] 10:35 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has quit [Ping timeout: 246 seconds] 10:38 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 10:43 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Ping timeout: 252 seconds] 10:54 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]] 10:54 -!- path[l] [~path@122.182.0.38] has joined #go-nuts 10:57 -!- ender2070 [~ender2070@bas22-toronto12-2925103053.dsl.bell.ca] has quit [Remote host closed the connection] 10:58 -!- alkavan [~alkavan@77.125.120.34] has joined #go-nuts 11:08 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]] 11:12 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit [Quit: Ex-Chat] 11:12 -!- alkavan_ [~alkavan@87.68.77.91.cable.012.net.il] has joined #go-nuts 11:14 -!- alkavan [~alkavan@77.125.120.34] has quit [Ping timeout: 246 seconds] 11:22 -!- TheSaint [~thesaint@166.205.11.88] has joined #go-nuts 11:30 -!- TheSaint [~thesaint@166.205.11.88] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 11:30 -!- crashR [~crasher@codextreme.pck.nerim.net] has quit [Quit: (◣_◢) BigBrowser is watching ⓎⓄⓊ] 11:32 -!- roop__ [~roop@122.172.181.91] has joined #go-nuts 11:34 -!- sacho [~sacho@90-154-149-17.btc-net.bg] has quit [Ping timeout: 265 seconds] 11:36 -!- TheSaint [~thesaint@166.205.11.88] has joined #go-nuts 11:37 -!- artefon [~thiago@189.107.227.111] has joined #go-nuts 11:51 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 246 seconds] 11:51 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 11:52 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 11:52 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Client Quit] 11:59 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 12:03 -!- path[l] [~path@59.162.86.164] has joined #go-nuts 12:05 -!- TheSaint [~thesaint@166.205.11.88] has quit [Remote host closed the connection] 12:14 -!- Ina [~ina@75.150.229.190] has joined #go-nuts 12:16 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]] 12:20 -!- path[l] [~path@59.162.86.164] has joined #go-nuts 12:20 -!- alkavan_ [~alkavan@87.68.77.91.cable.012.net.il] has quit [Quit: Leaving] 12:23 -!- boscop__ [~boscop@g226248236.adsl.alicedsl.de] has left #go-nuts [] 12:23 -!- boscop [~boscop@g226248236.adsl.alicedsl.de] has joined #go-nuts 12:24 -!- mahemoff_ [~mahemoff@74.125.121.49] has joined #go-nuts 12:26 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]] 12:26 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 12:27 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 12:28 -!- mahemoff [~mahemoff@87-194-3-205.bethere.co.uk] has quit [Ping timeout: 276 seconds] 12:33 -!- roop__ [~roop@122.172.181.91] has left #go-nuts [] 12:44 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 12:50 -!- kanru [~kanru@61-228-156-150.dynamic.hinet.net] has joined #go-nuts 12:56 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode] 13:07 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has joined #go-nuts 13:07 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts 13:17 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Ping timeout: 265 seconds] 13:35 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 13:35 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 13:41 -!- angasule [c80571ea@gateway/web/freenode/ip.200.5.113.234] has joined #go-nuts 13:49 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit: WeeChat 0.3.3-dev] 13:57 -!- Tiger_ [~chatzilla@118.126.12.53] has quit [Ping timeout: 264 seconds] 13:57 -!- Tiger__ [~chatzilla@118.126.12.53] has joined #go-nuts 14:02 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Ping timeout: 276 seconds] 14:06 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 14:06 -!- mahemoff [~mahemoff@74.125.121.49] has joined #go-nuts 14:07 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2] 14:08 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has joined #go-nuts 14:11 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 14:12 -!- nickaugust [~nick@li181-40.members.linode.com] has quit [Quit: WeeChat 0.2.6] 14:12 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Ping timeout: 248 seconds] 14:13 -!- nickaugust [~nick@li181-40.members.linode.com] has joined #go-nuts 14:17 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has quit [Quit: Morten. Desu~] 14:18 -!- ronnyy [~quassel@p4FF1D963.dip.t-dialin.net] has quit [Remote host closed the connection] 14:24 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n] 14:26 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 14:30 -!- rup [Rupert@deathcoil.net] has joined #go-nuts 14:31 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Quit: Leaving] 14:37 -!- simulacrum [~qtninja@unaffiliated/wistful] has left #go-nuts [] 14:38 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 14:45 -!- ct529 [~quassel@envpc1758.york.ac.uk] has quit [Remote host closed the connection] 15:00 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: leaving] 15:00 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:09 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 265 seconds] 15:10 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:14 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has joined #go-nuts 15:16 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 260 seconds] 15:16 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:17 -!- millertimek1a2m3 [~Adam@68.69.53.101] has joined #go-nuts 15:18 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 15:19 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Client Quit] 15:20 -!- artefon [~thiago@189.107.227.111] has quit [Quit: bye] 15:22 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 15:24 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 252 seconds] 15:25 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:32 < gent00r> Hi, i am wondering if we have any SOAP libraries? 15:32 < gent00r> or on demand WSDL generators for webservices? 15:32 -!- mahemoff [~mahemoff@74.125.121.49] has joined #go-nuts 15:33 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 264 seconds] 15:33 < jessta> gent00r: I don't think we do 15:33 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:33 < jessta> but that's probably a good thing 15:35 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 15:37 < gent00r> why? 15:37 < gent00r> isnt go a General Purpose Systems language? 15:39 < Namegduf> "Because no one has written one yet" 15:40 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 240 seconds] 15:40 < Tonnerre> Also, because SOAP is awful 15:40 < gent00r> Tonnerre, can you suggest something better? 15:40 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:41 < Namegduf> Looking at it, I'd suggest "TCP" 15:41 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 258 seconds] 15:42 -!- nomo [~nomo@mobile-166-137-138-216.mycingular.net] has joined #go-nuts 15:42 < saracen> gent00r: REST :) 15:42 < gent00r> saracen, now we are talking ;) 15:43 -!- sacho [~sacho@87-126-67-117.btc-net.bg] has joined #go-nuts 15:44 < saracen> There's a package for json, and there's a http package. There's a small tutorial here for writing web applications: http://golang.org/doc/codelab/wiki/ 15:46 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 15:46 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 15:47 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 276 seconds] 15:47 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 15:50 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 15:51 -!- nomo [~nomo@mobile-166-137-138-216.mycingular.net] has quit [Remote host closed the connection] 15:52 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 15:54 -!- Xiaobo [~Xiaobo@61.48.214.128] has joined #go-nuts 15:56 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Ping timeout: 276 seconds] 15:57 -!- sacho [~sacho@87-126-67-117.btc-net.bg] has quit [Ping timeout: 276 seconds] 16:01 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 16:01 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 16:09 -!- sacho [~sacho@90-154-149-17.btc-net.bg] has joined #go-nuts 16:09 -!- dacresni [~dacresni@216.114.69.194] has joined #go-nuts 16:14 < dacresni> how does one impliment system calls in Go? can one execute assymbly in go? 16:16 -!- gnuvince_ [~vince@70.35.170.41] has quit [Quit: What the fruit is goin' on here!?] 16:16 -!- mahemoff [~mahemoff@74.125.121.49] has joined #go-nuts 16:17 < exch> the syscall package gives access to sytem calls. Assembly code can be used by compiling in independant assembly files. check out the source for the bytes package for an example of that: $GOROOT/src/pkg/bytes 16:18 < dacresni> thanks 16:18 < dacresni> the first time I scanned through the package listing, i missed that 16:18 < dacresni> http://golang.org/pkg/syscall/ 16:21 < dacresni> so really, you can do anything you can imagine in this language. cool 16:22 -!- dacresni [~dacresni@216.114.69.194] has left #go-nuts [] 16:22 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving] 16:22 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts 16:23 -!- Davidian2024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has quit [Remote host closed the connection] 16:23 < exch> that's the general idea :) 16:24 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 252 seconds] 16:24 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit: Leaving] 16:24 -!- Davidian1024 [~Davidian1@cpe-98-27-192-193.neo.res.rr.com] has joined #go-nuts 16:27 -!- mahemoff [~mahemoff@74.125.121.49] has quit [Ping timeout: 265 seconds] 16:28 -!- lorilan [~lorilan@41.141.11.233] has joined #go-nuts 16:29 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 16:30 -!- lorilan [~lorilan@41.141.11.233] has left #go-nuts [] 16:33 -!- rlab_ [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds] 16:35 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 16:36 -!- sacho_ [~sacho@213.91.244.15] has joined #go-nuts 16:39 -!- sacho [~sacho@90-154-149-17.btc-net.bg] has quit [Ping timeout: 240 seconds] 16:42 < gent00r> Which compiler generates less code? 6g or gccgo? 16:42 < gent00r> and does any of them support dynamic loading? 16:43 < exch> gccgo generated faster code, last I heard, but that was quite a while ago. There's been a lot of work done in the meantime 16:43 < exch> As far as I know, neither support dynamic linking 16:43 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 16:49 -!- Tiger_ [~chatzilla@118.126.12.53] has joined #go-nuts 16:52 -!- Tiger__ [~chatzilla@118.126.12.53] has quit [Ping timeout: 248 seconds] 16:52 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 16:53 < gent00r> exch, thanks 16:53 < gent00r> If i have a package installed using goinstall 16:53 < gent00r> and then specify import "github.com/blah/Blah" 16:54 < gent00r> how do i create new Blah objects? 16:54 < gent00r> do i have to specify the complete path again? 16:54 < exch> nope. just the name of the package. presumably 'blah' 16:55 < saracen> So if github.com/blah/Blah contains an object called Blah, also, it'd be: var bleh blah.Blah 16:56 < exch> yes 16:57 < gent00r> i find this weird however 16:57 < gent00r> if i import github.com/Philio/GoMySQL 16:57 < gent00r> why do i have to specify the object as mysql.New() as opposed to GoMySQL.New() ? 16:58 < saracen> http://github.com/Philio/GoMySQL/blob/master/mysql.go 16:58 < saracen> Becuase the package is mysql 16:58 < saracen> Because* 16:58 < exch> the name given to the package in the code does not have to be the name given to the github repo 16:58 < exch> it's a bit confusing I suppose 16:58 < gent00r> cool. makes sense now 16:59 < saracen> For some reason, everybody likes naming their projects with a prefixed or postfixed "go", I've found I can just guess the package name by removing it :) 17:02 < exch> I do that to on github. 'go-pkg-foobar' or 'go-app-foobar' depending on whther it's a program or package. The language bit makes it easier to filter out repos for a specific language 17:02 < exch> I suppose it cna be a bit confusing if you don't know the actual package name 17:03 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 17:04 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined #go-nuts 17:11 < hokapoka> I'm been making an OAuth package, say "oauth" and I've got different persistance packages for the accesstokens for mongoDB, crouchDB and a text file. How should I structure the packages? 17:11 < hokapoka> Say oauth/mongodb oauth/crouchdb & oauth/text 17:12 < hokapoka> Or should I have them as seperate packages, not a "subpackage" (If that's what they are called. 17:13 < exch> if they contain only storage code relevant to the oauth lib, then subpackages seem fine 17:13 < exch> If they are full fledged DB bindings, then perhaps keep them separated 17:13 < hokapoka> Yeah they implyment interfaces defined in oauth. 17:14 -!- bcall [~Adium@97-115-60-160.ptld.qwest.net] has joined #go-nuts 17:14 < hokapoka> No they import the DB binding from other packages. 17:14 < exch> keeping them under oauth/ is fine then 17:14 < hokapoka> Okay that's what I thought, it felt logical. 17:14 < hokapoka> Thanks exch 17:15 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds] 17:15 < saracen> hokapoka: Does your oauth lib support https? 17:19 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 17:21 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 264 seconds] 17:22 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 17:25 -!- saracen [~saracen@81-5-140-201.dsl.eclipse.net.uk] has quit [Ping timeout: 240 seconds] 17:25 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Read error: Operation timed out] 17:27 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 17:27 -!- saracen [~saracen@81-5-140-201.dsl.eclipse.net.uk] has joined #go-nuts 17:28 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 17:33 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 240 seconds] 17:34 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 17:36 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 17:40 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 240 seconds] 17:41 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 17:41 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Ping timeout: 265 seconds] 17:46 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Remote host closed the connection] 17:47 -!- Guest46325 [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 17:52 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 17:52 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 17:55 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit [Excess Flood] 17:55 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined #go-nuts 17:55 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 17:58 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 17:59 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts 18:00 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts 18:13 -!- derferman [~derferman@dsl092-048-218.sfo4.dsl.speakeasy.net] has joined #go-nuts 18:15 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 18:17 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts 18:17 -!- aho [~nya@fuld-4d00d0d1.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 18:18 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 18:18 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:18 -!- wrtp [~rog@92.16.115.185] has quit [Quit: wrtp] 18:22 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 18:23 -!- wrtp [~rog@92.16.115.185] has joined #go-nuts 18:23 -!- wrtp [~rog@92.16.115.185] has quit [Client Quit] 18:26 -!- millertimek1a2m3 [~Adam@68.69.53.101] has quit [Ping timeout: 246 seconds] 18:27 -!- Xiaobo [~Xiaobo@61.48.214.128] has quit [Quit: Leaving] 18:28 < nsf> niiice, first tests show that autocompletion time was dropped to 20-30ms 18:29 < nsf> it's quite funny actually that I've rewritten the whole structure of more than 2k lines of code and it actually works almost without any compile-run-fix cycles 18:31 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving] 18:31 -!- jessta [~jessta@li7-205.members.linode.com] has quit [Ping timeout: 245 seconds] 18:31 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 18:31 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 18:32 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:33 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 18:34 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 18:34 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Client Quit] 18:34 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:37 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Excess Flood] 18:38 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:40 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 18:41 < nsf> and with GOMAXPROCS=2 on my 2 core cpu it's 30% faster 18:42 < nsf> that's a good result I think 18:43 -!- Guest46325 [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: leaving] 18:43 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 18:46 < gent00r> nsf, code autocompletion? 18:46 < nsf> yes 18:46 -!- sacho_ [~sacho@213.91.244.15] has quit [Remote host closed the connection] 18:46 < gent00r> this is new to me. How are you doing it? 18:47 < nsf> you mean technically or you are interested in the app itself? 18:47 < gent00r> i assume you are talking about the editor you programmed in? 18:47 < nsf> http://groups.google.com/group/golang-nuts/browse_thread/thread/8f97b86cd5c5f30b/6d850429993b40be 18:47 < nsf> yes 18:47 < nsf> I've written a go autocompletion daemon 18:47 < nsf> and a plugin for vim 18:47 < nsf> see link 18:48 < gent00r> sweet 18:48 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Quit: Konversation terminated!] 18:48 < nsf> it can be integrated in any kind of editor actually 18:48 < saracen> Is the author of gomongo in here? 18:48 < nsf> I have a proof-of-concept emacs script 18:49 < gent00r> i use vim though. So, i guess i am pretty much covered :) 18:49 < nsf> you're lucky, yes 18:49 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:49 -!- Fish-Work [~Fish@86.65.182.207] has quit [Read error: Connection reset by peer] 18:54 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 18:55 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 18:56 < nsf> few more tests, autocompletes gl. namespace in 80ms with warm cache and in 200ms with cold cache (gl. contains 1680 entries) 18:56 < nsf> nice :) 18:57 < nsf> as far as I remember it was around 400ms in previous version (which is currently in git) 18:59 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost terminal] 19:02 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de] has quit [Remote host closed the connection] 19:03 < cw> nsf: where is the emacs script? 19:04 < nsf> um.. it's a proof-of-concept 19:05 < nsf> it means that it wasn't finished 19:05 < nsf> sec, I had a paste somewhere 19:05 < nsf> http://gist.github.com/480261 19:05 < nsf> but it's missing few things 19:05 < nsf> and currently it won't even work 19:06 -!- millertimek1a2m3 [~Adam@68.69.53.101] has joined #go-nuts 19:07 < nsf> cw: http://gist.github.com/511807 19:08 < nsf> that one is more close to reality 19:08 < cw> ok thanks ... ill look more that later 19:08 < nsf> although it misses file name specification and you still have to enable auto-complete-mode for Go manually and set ac-sources too 19:09 < cw> the current go-mode is a bit raw ... i looked at redoing it but docs on this are pretty sparse 19:09 < nsf> those pieces of code are for this mode: http://www.emacswiki.org/emacs/AutoComplete 19:09 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche] 19:10 < nsf> cw: nice, but frankly I'm not interested in emacs at all :) 19:10 < nsf> but I'll be happy if someone will provide a nice and working script for gocode 19:10 < nsf> I mean adding support for more editors is a good thing for me 19:11 < nsf> but I will support only vim 19:11 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: g0bl1n] 19:20 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 19:20 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 19:21 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 19:22 -!- cthom [~cthom@wsip-70-169-149-118.hr.hr.cox.net] has quit [Quit: Leaving] 19:22 < Namegduf> Hmm. 19:23 < Namegduf> Godoc appears to always try to use IPv6 if the machine has IPv6 support in any form, including if an IPv4 address is explicitly given. 19:23 < Namegduf> That's not particularly helpful behaviour. 19:27 -!- Ginto8 [~joe@pool-173-61-45-40.cmdnnj.fios.verizon.net] has quit [Ping timeout: 265 seconds] 19:33 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2] 19:42 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 19:42 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 19:48 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 19:48 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 19:59 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 20:00 < nickaugust> ok so im writing an autocomplete for a contact lookup in my project so i'm indexing all the contacts and im going to keep the index in memory for fast lookups. what type of data structure do you think i should hold the index in? there is the comany and city fields that will be used for the index then attached to each result will be a few other small fields like default contact and phone number. 20:01 < nickaugust> should i make an contact_index struct and then []contact_index 20:02 < nickaugust> because im going to get/sort/show results every keypress so I want it to be as efficent as possible 20:05 < Namegduf> A trie seems like the right kind of thing 20:05 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving] 20:06 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 252 seconds] 20:07 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 20:07 < nickaugust> Namegduf: you mean tree? 20:07 < Namegduf> http://en.wikipedia.org/wiki/Trie 20:07 < Namegduf> Useful for autocompletion, due to the ability to readily query for things "starting with" a string. 20:08 < nickaugust> Namegduf: looks about right :) thanks man 20:08 < Namegduf> No problem. 20:15 -!- millertimek1a2m3 [~Adam@68.69.53.101] has quit [Ping timeout: 260 seconds] 20:17 < plexdev> http://is.gd/e6sZL by [Russ Cox] in go/ -- A+C: Nicholas Waples and Mathieu Lonjaret (individual CLA) 20:18 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 20:18 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:18 -!- carllerche [~carllerch@99.13.242.166] has joined #go-nuts 20:18 -!- Ginto8 [~joe@pool-173-61-45-40.cmdnnj.fios.verizon.net] has joined #go-nuts 20:19 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:27 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:28 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:30 -!- saschpe [~saschpe@mgdb-4d0cf1bb.pool.mediaWays.net] has quit [Remote host closed the connection] 20:32 -!- bcall [~Adium@97-115-60-160.ptld.qwest.net] has quit [Quit: Leaving.] 20:33 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:34 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:40 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:41 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:47 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:48 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:49 -!- lmoura [~lauromour@200.184.118.130] has quit [Read error: Operation timed out] 20:54 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 240 seconds] 20:56 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 20:57 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 20:59 -!- snearch [~snearch@f053001119.adsl.alicedsl.de] has quit [Quit: Verlassend] 21:00 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 272 seconds] 21:05 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 240 seconds] 21:05 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 21:05 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts 21:12 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the connection] 21:17 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 246 seconds] 21:17 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 21:17 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 21:19 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 21:25 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 21:25 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 21:31 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 240 seconds] 21:31 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 21:35 -!- lmoura [~lauromour@200.184.118.130] has quit [Quit: Leaving] 21:38 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 246 seconds] 21:39 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts 21:39 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has quit [Client Quit] 21:39 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 21:42 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 21:44 -!- Fish [~Fish@ARennes-752-1-12-179.w90-12.abo.wanadoo.fr] has joined #go-nuts 21:55 -!- Makoryu [~vt920@pool-71-174-191-10.bstnma.fios.verizon.net] has joined #go-nuts 21:56 -!- atsampson [~ats@193.60.168.73] has quit [Quit: signing off until Internet is provided in new flat] 22:01 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-180-250.clienti.tiscali.it] has quit [Quit: nottola o.o] 22:02 -!- Fish [~Fish@ARennes-752-1-12-179.w90-12.abo.wanadoo.fr] has quit [Remote host closed the connection] 22:02 -!- Fish [~Fish@ARennes-752-1-12-179.w90-12.abo.wanadoo.fr] has joined #go-nuts 22:03 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 22:06 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:13 -!- Fish [~Fish@ARennes-752-1-12-179.w90-12.abo.wanadoo.fr] has quit [Remote host closed the connection] 22:18 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined #go-nuts 22:19 < plexdev> http://is.gd/e6Bgz by [Robert Griesemer] in go/test/ -- test/peano: use directly recursive type def 22:22 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 260 seconds] 22:28 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Ping timeout: 276 seconds] 22:29 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:35 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 22:36 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:37 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Ping timeout: 265 seconds] 22:39 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Excess Flood] 22:40 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:40 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:42 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 22:43 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Excess Flood] 22:45 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:51 < nickaugust> . 22:51 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 22:52 -!- Paradox924X_ [~Paradox92@adsl-067-035-118-148.sip.bct.bellsouth.net] has joined #go-nuts 22:52 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:54 < nickaugust> where do i define a map to make it available globally? 22:55 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has quit [Ping timeout: 246 seconds] 22:56 -!- Netsplit *.net <-> *.split quits: saracen 22:56 < exch> somewhere outside a function as a var I'd say 22:56 < nickaugust> exch: but do i do it with make? 22:56 -!- i__ [~none@unaffiliated/i--/x-3618442] has quit [Quit: Lost terminal] 22:56 < exch> to actually make() it, use the init() function. func init() { mymap = make(...) } 22:56 < nickaugust> i guess define it as a var and than make() it in main() 22:56 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Excess Flood] 22:56 < nickaugust> or init() yeah ok... makes sense 22:57 < exch> init() is a specialcase function that gets executed when the program starts. Good for running initialization code like this 22:57 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts 22:57 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 22:59 < vrtical> by the way, Effective Go says "each source file can define its own init() function to set up whatever state is required." 23:00 < vrtical> Presumably it actually means "each package"? 23:01 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 23:02 -!- Netsplit over, joins: saracen 23:03 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 23:03 < exch> nope. each file 23:06 < vrtical> oh, actually, in the spec: "A package may contain multiple init() functions, even within a single source file; they execute in unspecified order." 23:07 < exch> bit weird.. it indicates init() is the only violation of the 'unique name' convention 23:07 < exch> I'm guessing it's a preprocessor in disguise 23:10 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]] 23:10 < vrtical> I wouldn't say I have a problem with the idea as such, perhaps it makes life easier for certain tasks... but it just makes me go O_o 23:12 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 23:13 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 23:13 < nickaugust> ah wait maps cant have duplicate keys right? 23:14 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Quit: Leaving] 23:17 < nickaugust> i'll just have to use an array 23:22 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection reset by peer] 23:29 -!- angasule [c80571ea@gateway/web/freenode/ip.200.5.113.234] has quit [Quit: Page closed] 23:36 < plexdev> http://is.gd/e6FM0 by [Russ Cox] in go/ -- A+C: Anschel Schaffer-Cohen (individual CLA) 23:38 -!- Paradox924X_ [~Paradox92@adsl-067-035-118-148.sip.bct.bellsouth.net] has left #go-nuts [] 23:38 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts 23:44 -!- ikaros [~ikaros@188.107.214.192] has quit [Quit: Leave the magic to Houdini] 23:49 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the connection] 23:53 < plexdev> http://is.gd/e6GO3 by [Anschel Schaffer-Cohen] in go/src/pkg/exp/iterable/ -- exp/iterable: add UintArray 23:53 < plexdev> http://is.gd/e6GOa by [Roger Peppe] in go/src/pkg/encoding/binary/ -- encoding/binary: add complex 23:53 < plexdev> http://is.gd/e6GOr by [Charles L. Dorian] in go/src/pkg/math/ -- math: fix amd64 Hypot. --- Log closed Sat Aug 07 00:00:05 2010