--- Log opened Sun Nov 29 00:00:15 2009 --- Day changed Sun Nov 29 2009 00:00 < eferuzi> kfx: its black I have not set as I am following the instructions on the golang.org 00:00 < eferuzi> kfx: is this folder suppose to be in the $GOROOT 00:00 < kfx> it doesn 00:01 < kfx> if $GOBIN is not set, it defaults to $HOME/bin 00:01 -!- Kibiz0r1 [n=Adium@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit [Read error: 60 (Operation timed out)] 00:02 -!- kmc [n=keegan@206-71-236-70.c3-0.nyw-ubr1.nyr-nyw.ny.cable.rcn.com] has joined #go-nuts 00:02 < kimelto> by the way, what's the point with these env var? I mean, why not look to the PATH, etc? 00:05 < KirkMcDonald> kimelto: The compiler is always cross-compiling, in effect. 00:05 < eferuzi> i have created the bin folder and export GOBIN to the folder and also updated the $PATH to also point to the $GOBIN and its compiling 00:05 -!- skyyy [i=caw@res55551479.rh.rit.edu] has joined #go-nuts 00:06 < kimelto> KirkMcDonald: what do you mean? 00:06 < KirkMcDonald> kimelto: This means you have to explicitly tell it which OS and architecture to compile for. 00:07 < kimelto> oh I see 00:10 -!- server987 [n=avery56@209-42-184-177.wispnet.net] has joined #go-nuts 00:11 -!- JPascal [n=jpascal@78-106-107-39.broadband.corbina.ru] has left #go-nuts [] 00:12 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [] 00:13 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the connection] 00:13 -!- path[l] [n=path@115.240.75.242] has quit [Read error: 110 (Connection timed out)] 00:14 -!- server987 [n=avery56@209-42-184-177.wispnet.net] has left #go-nuts [] 00:20 < exch> prepare to be dazzled and horrified all at the same time! http://github.com/jteeuwen/go-templates 00:21 < exch> disclaimer: I take no responsibility for loss of sanity after observing what is behind that link. 00:22 < poe> exch oh 00:23 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 00:27 -!- The_Doctor [n=Dalek@cpe-98-150-247-183.hawaii.res.rr.com] has joined #go-nuts 00:27 < hipe> uriel, earlier you mentioned "sam -d" . i'm curious what is that ? is it a sed/awk-like utility? 00:29 < hipe> timmcd: ping 00:29 * sladegen bets it's gui version of ed. 00:32 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has joined #go-nuts 00:32 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has left #go-nuts [] 00:33 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has joined #go-nuts 00:35 -!- gkmngrgn [n=gkmngrgn@unaffiliated/gkmngrgn] has quit [Remote closed the connection] 00:37 < bogen> exch: heh.... I guess go-templates are might not be as bad as go "macros" : golang-ctfe - Project Hosting on Google Code <http://code.google.com/p/golang-ctfe/> 00:39 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has joined #go-nuts 00:40 < exch> hehe macro's are probably a bit more versatile than templates. 00:40 < exch> certainly it's current state (templates that is) :p 00:43 < hipe> this is the most ... random question ... not really on topic: do any of you know of languages in which you can do something like build case statements programmatcially? 00:44 < hipe> the equivalent can certainly be achieved with a clever use of lists, function pointers, procs, whatever but i'm just curious 00:45 < exch> I suppose anything with an eval() function should be able to do that 00:45 < hipe> exch: yeah .. i actually don't need it for anything at the moment, but something i was doing reminded me of something like that. ok thanks 00:47 -!- directrixx [n=aleksand@ip68-231-189-247.tc.ph.cox.net] has joined #go-nuts 00:48 -!- chexov [n=chexov@c-67-169-24-85.hsd1.ca.comcast.net] has quit ["Leaving"] 00:52 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has joined #go-nuts 00:53 -!- eferuzi [n=eferuzi@213.236.150.122] has quit ["Leaving"] 00:55 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 60 (Operation timed out)] 00:55 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 00:58 -!- StDan [n=danielb@124-197-59-227.callplus.net.nz] has joined #go-nuts 00:58 -!- ehird [n=ehird@91.104.237.227] has joined #go-nuts 01:01 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [] 01:02 -!- alathon [n=alathon@h59ec0ac9.dkkoyno.dyn.perspektivbredband.net] has joined #go-nuts 01:02 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 01:03 -!- alathon [n=alathon@h59ec0ac9.dkkoyno.dyn.perspektivbredband.net] has quit [Client Quit] 01:03 -!- GuilhermeCunha [n=guilherm@unaffiliated/guilhermecunha] has quit [Read error: 110 (Connection timed out)] 01:05 < mythz> you can use c# and reflection.emit or expression trees 01:06 -!- brunov [n=bruno@190.191.110.64] has quit [Read error: 110 (Connection timed out)] 01:06 < KirkMcDonald> With regards to macros, I would prefer AST macros to textual macros. 01:07 -!- pdusen [n=pdusen@crob4-55.flint.umich.edu] has quit ["Leaving"] 01:08 < Gracenotes> Haskell has those. they're pretty much as flexible as possible (except, you do need special brackets to set them off there) 01:09 < KirkMcDonald> They were proposed for D, but were never implemented. 01:10 < Gracenotes> not to say they're easy to use, by merit of ASTs being idiosyncratic representations 01:10 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 110 (Connection timed out)] 01:15 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts 01:17 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 01:22 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has left #go-nuts [] 01:23 -!- mbarkhau [n=koloss@p54A7BFD4.dip.t-dialin.net] has quit [Success] 01:24 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has joined #go-nuts 01:24 -!- lux` [n=lux@151.54.240.211] has quit [Remote closed the connection] 01:27 -!- Kibiz0r1 [n=Adium@adsl-99-39-184-169.dsl.klmzmi.sbcglobal.net] has joined #go-nuts 01:28 < alexsuraci> hmmm, types are bein' tricky. 01:29 < Gracenotes> how so? 01:29 < alexsuraci> i'll paste, sec. kind of hard to explain. 01:30 < alexsuraci> Gracenotes: http://gopaste.org/view/qoHoM See line 16. 01:30 < alexsuraci> Parser is defined below, in the parsec package, as "func (Vessel) (Output, bool)" 01:31 < alexsuraci> however, defining call as "func call(in Vessel) ..." apparently won't fit that type if I try to pass it to an argument to something in parsec that expects a Parser 01:31 -!- server987 [n=avery56@209-250-50-144.wispnet.net] has left #go-nuts [] 01:31 < alexsuraci> since Any uses reflection and casts its arguments as Parsers 01:32 < alexsuraci> so, I get an error "interface is func(parsec.Vessel) (parsec.Output, bool), not parsec.Parser" 01:32 < Gracenotes> so what you have there does compile, right? 01:32 < alexsuraci> yeah 01:32 < alexsuraci> works fine 01:33 < alexsuraci> unless I change call to be a regular func ... definition, where the Parser type isn't explicitly defined 01:33 < Gracenotes> hm. if you make it a declaration, but explicitly convert it to a Parser with Parser(call), does that work? 01:34 < alexsuraci> so essentially if I have "type B A", Go won't know that A conforms to B. 01:34 < alexsuraci> Probably, sec 01:34 < alexsuraci> yes, that works 01:34 < alexsuraci> rather unsightly though 01:35 < Gracenotes> they are assignment compatible 01:35 < uriel> hipe: for sam see: http://sam.cat-v.org 01:35 < Gracenotes> (as you can see, by merit of the fact that the pasted version works) 01:35 < hipe> uriel: thanks 01:35 < alexsuraci> yeah 01:35 < uriel> hipe: as for how sam -d works, see http://doc.cat-v.org/bell_labs/sam_lang_tutorial/ 01:35 < hipe> fantastic. thanks 01:35 < Gracenotes> anyway, whether it's implicit or explicit is important to the typechecker: it does do certain things in certain cases 01:35 < alexsuraci> and I suppose it makes sense from the perspective of not expecting "foo" to be B in "type B string" 01:36 < alexsuraci> otherwise you could add methods willy nilly 01:36 < alexsuraci> (and by "foo" I mean the string "foo") 01:36 < Gracenotes> so assignment essentially adds an implicit cast 01:36 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 01:36 < Gracenotes> and an explicit cast is, well, a cast. But no cast, explicit or implicit, Go might not be happy with 01:36 < alexsuraci> yep. unfortunately that's sort of ugly to do with functions 01:37 < alexsuraci> since you have to change it to a var decl 01:37 < uriel> hipe: also, recommended reading is rob's paper on structural regexps: http://doc.cat-v.org/bell_labs/structural_regexps/ 01:37 < sladegen> hipe: http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-10.html#%_sec_7.3 not sure if tree of if's is equivalent to case statements. 01:37 < Gracenotes> another example of an implicit cast is having a function with Parser as a parameter, and sending call to it 01:37 < Gracenotes> call in its unwrapped form 01:37 < hipe> oh boy i've got my reading cut out for me! thanks uriel / sladegen 01:38 < alexsuraci> Gracenotes: yep, it only fails here because it uses reflection and casts on an interface, which is more ambiguous 01:38 < alexsuraci> other functions work fine 01:39 < Gracenotes> hmm. not too familiar with reflection. whatever works :) 01:39 < alexsuraci> Gracenotes: it uses it because Any(...) takes a variable number of arguments 01:39 < alexsuraci> which you have to reflect on to use 01:40 < alexsuraci> http://gopaste.org/view/qoHoM#LC139 there's the line at fault 01:40 -!- crakrjak_ [n=merc@70.62.156.154] has quit [Read error: 60 (Operation timed out)] 01:41 < Gracenotes> so with a naked declaration, there's no compile error, but a runtime one? 01:41 < alexsuraci> Gracenotes: yep 01:42 < Gracenotes> hm. All parses them simultaneously? 01:42 < Gracenotes> i.e. intersection 01:43 < alexsuraci> nah, just parses them in order, essentially what parsec's monad does 01:43 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 01:45 -!- mythz [n=mythz@5ac47b17.bb.sky.com] has left #go-nuts [] 01:45 < Gracenotes> anyway, parsec is not one for intersection.. backtracking is more the other of the day (with Try). 01:45 -!- jordyd [n=jordyd@99-177-65-75.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 01:46 < Gracenotes> ReadP does try alternatives simultaneously, not sure how the parser primitives differ though 01:47 < Gracenotes> *s/other/order/, incidentally 01:48 -!- mitchellh1 [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has joined #go-nuts 01:51 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has quit ["Quitte"] 01:51 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 01:56 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 01:56 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts 01:57 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has quit [Read error: 110 (Connection timed out)] 02:00 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 02:01 -!- The_Doctor [n=Dalek@cpe-98-150-247-183.hawaii.res.rr.com] has quit ["Leaving..."] 02:02 -!- mitchellh1 [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has quit ["Leaving."] 02:03 -!- gislan [n=gislan@host-81-190-16-19.torun.mm.pl] has quit [Read error: 113 (No route to host)] 02:04 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 02:04 -!- smooge [n=smooge@int.smoogespace.com] has quit ["-ENOBRAIN"] 02:05 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 02:06 -!- The_Doctor [n=Dalek@cpe-98-150-247-183.hawaii.res.rr.com] has joined #go-nuts 02:11 -!- hipe_ [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 02:11 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 02:12 -!- nightmouse [n=scheiber@c-69-247-77-241.hsd1.nm.comcast.net] has joined #go-nuts 02:13 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 02:13 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [Remote closed the connection] 02:14 -!- cjuner_ [n=cjuner@frnk-5f744ae4.pool.mediaWays.net] has quit [Remote closed the connection] 02:15 < goplexian> Ok, not sure if this is more of an algorithm question or a go question, but how would you compare the 3rd digit in a six digit number with the 3rd digit in another six digit number for lets say one thousand numbers? 02:16 < exch> argh. why do make files suck so much? -.- 02:16 < exch> I hates em with every fiber of my being 02:17 < goplexian> for a string I know what I would do, but having trouble thinking of a way to do this in go with numbers 02:18 < anticw> make files are wonderful 02:18 < anticw> goplexian: convert it to a string? 02:18 < s_mosher> goplexian, integers? divide by 100, mod 10 02:18 < goplexian> yeah other than that I mean 02:19 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Connection timed out] 02:19 < s_mosher> er wait 02:19 < s_mosher> you probably mean the other 3rd digit 02:19 < goplexian> that may work 02:19 < s_mosher> divide by 1000 instead 02:20 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 02:23 < goplexian> thats the answer, thanks s_mosher, I just started working on euler #4 and need to find the largest palindrome number which is the product of two 3 digit numbers 02:24 < goplexian> so the largest will be a six digit number, so I needed a way to compare the first digit to the last, the second to the fifth, etc etc, looking for a number like 987789 02:26 < s_mosher> ah right 02:26 < goplexian> so if x / 100000 % 10 == x / 1 % 10 then I should have a match 02:26 < goplexian> for the first and sixth digit 02:27 < goplexian> and string conversions for that would just be silly 02:28 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 54 (Connection reset by peer)] 02:28 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 02:35 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 02:37 < ni|> hello! 02:42 -!- bentley` [n=bentley`@97-119-167-212.albq.qwest.net] has quit [Read error: 104 (Connection reset by peer)] 02:47 < jessta> `/q ned 02:47 -!- alc [n=alc@114.245.252.98] has joined #go-nuts 02:50 < ni|> @eval 22|2 02:50 < rndbot> 22 02:50 < ni|> @help 02:51 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has joined #go-nuts 02:52 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 02:52 -!- hipe_ [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 02:54 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has joined #go-nuts 02:56 -!- skelterjohn [n=jasmuth@c-71-58-123-111.hsd1.nj.comcast.net] has quit [Read error: 110 (Connection timed out)] 02:58 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Remote closed the connection] 02:59 -!- Kibiz0r1 [n=Adium@adsl-99-39-184-169.dsl.klmzmi.sbcglobal.net] has quit ["Leaving."] 03:00 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 03:14 < Ibw> No more bytes.Copy 03:18 < Whtiger> Doesn't it kinda do the same thing Add does? 03:18 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 03:18 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 03:22 -!- skelterjohn [n=jasmuth@c-76-116-177-32.hsd1.nj.comcast.net] has joined #go-nuts 03:24 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has quit [Remote closed the connection] 03:24 -!- jepler [n=jepler@emc/developer/pdpc.active.jepler] has joined #go-nuts 03:25 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 03:26 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 03:27 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Remote closed the connection] 03:27 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 03:30 -!- Tyr [n=tyr_god_@CPE0013103d67c8-CM0012254318f6.cpe.net.cable.rogers.com] has joined #go-nuts 03:30 -!- teedex [n=teedex@204.14.155.161] has quit [Remote closed the connection] 03:32 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Read error: 110 (Connection timed out)] 03:35 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has quit ["Computer has gone to sleep"] 03:35 < tyr42> Is there a way to get a float from stdin? 03:35 < tyr42> I found strconv, but it doesn't work on []byte 03:36 -!- adiabatic [n=adiabati@dsl-206-55-130-248.tstonramp.com] has joined #go-nuts 03:37 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Remote closed the connection] 03:37 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 03:38 < tyr42> hello? 03:38 < Whtiger> will you accept cheating? 03:39 < Whtiger> wait, what's wrong with Atof 03:39 < Whtiger> convert []byte to string 03:39 < clip9> binary.Read could also work 03:39 < tyr42> I could use it on a string, but I can only get a slice of bytes 03:40 < tyr42> how do I convert it? 03:40 < tyr42> I tried buf.String() 03:40 -!- anon476 [n=none@pool-71-178-218-5.washdc.fios.verizon.net] has joined #go-nuts 03:40 < tor7> typ42: string(buf) 03:40 < tyr42> ok 03:40 < clip9> strconv.Atof(string(buf)) 03:41 < clip9> could also do the trick. 03:42 < tyr42> "cannot convert buf (type [512]uint8) to type string" 03:43 < anon476> what is this channel about 03:43 < tor7> that's not a slice, that's an array 03:43 < tyr42> your right 03:43 -!- pdusen [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has joined #go-nuts 03:43 < tor7> you need to take a slice of the array before you can convert it to a string 03:45 < tyr42> and now it works 03:45 < tyr42> mostly 03:47 < Zeffrin> anon476: Go programming language, check out the link in the topic 03:48 < Whtiger> hilake: it's about love 03:49 < alexsuraci> wish the %#v outut was prettier. 03:49 < alexsuraci> very difficult to read structs and things like syntax strees 03:49 < Zeffrin> prettier in which way? 03:49 < alexsuraci> whitespace, mainly 03:49 < alexsuraci> maybe some other variant of %v for "prettiness" ;) 03:50 < Ibw> How to pass maps as function arguments? What's the syntax? 03:51 < clip9> func mf(m map[string]string)? 03:51 < Ibw> thanks 03:51 < Ibw> clip9: I was missing the second string 03:51 < clip9> heh. ok. 03:52 < tor7> %+v is prettier 03:54 < alexsuraci> tor7: but that excludes too much 03:54 < hilake> cool 03:54 < Zeffrin> it only excludes the type? 03:54 < tor7> a linebroken and indented version of %#v would indeed be awesome 03:55 < alexsuraci> Zeffrin: yes. too much. 03:55 < alexsuraci> http://gopaste.org/view/k6yi3 03:55 < Zeffrin> though Im lookin at the output in #go-run atm and see %#v put some funny chars in there :\ 03:55 < alexsuraci> gofmt saves the day, granted with a lot of manual effort 03:55 * alexsuraci is toying with a little pseudo-regexp parser with his parsec lib 03:56 < alexsuraci> that is `a((b)?ccc)*` 03:57 < Zeffrin> wow, hardcore thunder just started up over here, i hope my phone system goes down >:) 03:57 -!- naressi [n=kklwl@200.204.230.143] has joined #go-nuts 03:58 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [] 04:01 -!- KillerX [n=anant@59.92.130.141] has joined #go-nuts 04:03 -!- halfdan_ [n=halfdan@p57A9669D.dip.t-dialin.net] has joined #go-nuts 04:03 -!- Kibiz0r1 [n=Adium@adsl-99-39-184-169.dsl.klmzmi.sbcglobal.net] has joined #go-nuts 04:05 -!- Necrogami [n=djnecrog@unaffiliated/necrogami] has joined #go-nuts 04:05 < Necrogami> o/ 04:05 < Necrogami> how goes everyone! 04:05 < alexsuraci> \o 04:05 < hilake> on two feet 04:07 -!- Ibw [n=isaac@cpe-67-241-42-134.twcny.res.rr.com] has quit [Remote closed the connection] 04:08 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has joined #go-nuts 04:11 -!- peter-k [n=petergre@117.136.19.5] has joined #go-nuts 04:11 -!- BMeph [n=black_me@65.103.151.24] has joined #go-nuts 04:11 < goplexian> wheels for some though... 04:12 < hilake> true 04:13 < peter-k> what is the topic of this room ? 04:13 < hilake> ? 04:14 < peter-k> what is this room for ? 04:14 < peter-k> the name is "go nuts" 04:14 < Whtiger> peter-k: we, love, nuts. 04:15 < hilake> no idea 04:15 < hilake> im a nut 04:15 < Whtiger> hilake: peter-k: read the topic? 04:15 -!- decriptor [n=decripto@174-27-134-202.slkc.qwest.net] has quit [Read error: 110 (Connection timed out)] 04:15 < peter-k> it's a place let people abreact? 04:16 < peter-k> hi Whtiger 04:16 < Whtiger> peter-k: hello. 04:16 < peter-k> can't open the website listed in the room 04:17 < Whtiger> peter-k: Go is a programming language. 04:18 < peter-k> oh :) 04:18 < peter-k> you guys are computer experts 04:18 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts 04:19 < peter-k> :D 04:19 < Whtiger> peter-k: well, this is a help channel, there's a few of us which are "experts" and the rest ask questions >_> 04:19 -!- th98 [n=jfodw98@c-24-218-4-142.hsd1.ma.comcast.net] has joined #go-nuts 04:20 < Whtiger> (not everyone that can program are computer experts.) 04:20 < peter-k> :) 04:20 -!- halfdan [n=halfdan@p57A94268.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:22 < Necrogami> Anyone know if somoene is working on a SOAP Server/client? 04:22 < peter-k> if i wan to unblock the blocked websites such as youtub .facebook etc,which software i can use ? 04:22 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has quit [Client Quit] 04:22 < Necrogami> peter-k: try #help 04:22 -!- Kibiz0r1 [n=Adium@adsl-99-39-184-169.dsl.klmzmi.sbcglobal.net] has quit ["Leaving."] 04:22 -!- amacleod [n=amacleod@c-24-34-33-96.hsd1.ma.comcast.net] has joined #go-nuts 04:22 < Whtiger> peter-k: try net.Dial() 04:23 -!- HeavensRevenge [n=quassel@CPE001d0fe73b7d-CM00111ae5c642.cpe.net.cable.rogers.com] has quit [Remote closed the connection] 04:24 < peter-k> thank you Necrogami Whtiger 04:24 -!- pdusen [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has quit ["Ex-Chat"] 04:25 -!- th98 [n=jfodw98@c-24-218-4-142.hsd1.ma.comcast.net] has quit ["Leaving"] 04:25 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts 04:26 < peter-k> what is "#help" Necrogami? 04:26 < Necrogami> Freenode's help channel 04:26 < Whtiger> peter-k: it's either a twitter hashtag or an IRC channel. 04:28 < hilake> use https:// 04:30 -!- nightmouse [n=scheiber@c-69-247-77-241.hsd1.nm.comcast.net] has quit ["Ex-Chat"] 04:30 -!- pdusen [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has joined #go-nuts 04:31 < goplexian> should Go be capitalized when talking about it, or is the proper name simply 'go' 04:32 < Whtiger> pretty sure it's Go. 04:35 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 04:35 -!- TankND [n=thomaszi@EV1-DSL-74-83-9-175.fuse.net] has quit [Remote closed the connection] 04:36 < goplexian> thx 04:38 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Client Quit] 04:39 < goplexian> Here is Euler Project exercise 4 in Go if anyone cares, http://www.goplexian.com/2009/11/project-euler-problem-4.html 04:40 < goplexian> if anyone can teach me a better way to do it in Go, comments or suggestions are always welcome 04:42 < goplexian> hmm int64 isnt needed, forgot to change that 04:43 -!- peter-k [n=petergre@117.136.19.5] has left #go-nuts [] 04:43 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 04:43 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 04:46 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Remote closed the connection] 04:46 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 04:50 -!- noeleon [n=nonr@dsl-58-6-1-160.wa.westnet.com.au] has quit [Read error: 110 (Connection timed out)] 04:50 -!- noeleon [n=nonr@dsl-58-6-1-160.wa.westnet.com.au] has joined #go-nuts 04:51 -!- path[l] [n=path@115.240.97.103] has joined #go-nuts 04:54 -!- pdusen_ [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has joined #go-nuts 04:59 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has joined #go-nuts 05:00 < path[l]> the go net test dial google is failing here 05:00 < anticw> fw/dns 05:04 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts 05:05 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has joined #go-nuts 05:06 -!- amacleod [n=amacleod@c-24-34-33-96.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 05:06 -!- pdusen [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has quit [Read error: 110 (Connection timed out)] 05:06 < path[l]> sorry? 05:06 < Whtiger> something about firewall or dns. 05:09 < adiabatic> same here, I got the "do you want the system firewall to let this program out?" dialog 05:10 -!- OwlHuntr_ [n=Artem@166.192.188.6] has joined #go-nuts 05:10 < OwlHuntr_> hey 05:11 < OwlHuntr_> anyone know how to unzip .zip archives? 05:11 < path[l]> no I can ping www.google.com 05:11 < Whtiger> My dns doesn't properly resolve. 05:11 < path[l]> it cant be either of those 05:11 < Whtiger> (with go) 05:11 < hilake> with winzip 05:11 < hilake> or peazip 05:11 < OwlHuntr_> no, using code in Go 05:11 < Whtiger> hilake: I'm assuming he means with Go. 05:11 < Whtiger> hilake: since this is a channel about Go. 05:12 < OwlHuntr_> cause i've been trying tiwth compress/flate 05:12 < OwlHuntr_> i just can't find enough docs 05:12 -!- loureiro [n=loureiro@201008194213.user.veloxzone.com.br] has quit ["Quit"] 05:13 < Whtiger> OwlHuntr_: you might not be able to yet >_> 05:13 < OwlHuntr_> i'm currently playing around with some code i found in the tests for zlib in the src 05:13 < OwlHuntr_> so that should work? 05:13 < adiabatic> I thought zlib was for bzip, not zip zip 05:13 < Whtiger> zlib and gzip are there 05:14 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 05:14 < OwlHuntr_> yea, that's what i thought, but i still run into another problem where unzipping directories would be crazy 05:15 -!- dschn [n=dschn@pool-70-22-163-173.bos.east.verizon.net] has quit [Read error: 110 (Connection timed out)] 05:18 < path[l]> it still fails on dial tcp 05:18 < path[l]> Im running on mac os 05:18 < OwlHuntr_> what are you trying to do? 05:18 < OwlHuntr_> i've gotten some nice code that can download shit 05:19 < anticw> Whtiger: others have reported issues, there might be some fragility in the resolver code 05:20 < path[l]> Im just trying to run the tests 05:20 < path[l]> to build go 05:20 < Whtiger> path[l]: skip the net tests then. 05:20 < path[l]> ah 05:21 < Whtiger> anticw: yeah, that's what I was thinking. 05:21 < path[l]> Im running it via ./all.bash. Im not sure what runs after this, where can I skip just those tests? 05:22 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 05:24 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:24 < path[l]> oh I found a thread explaining the problem 05:24 < path[l]> http://groups.google.com/group/golang-nuts/browse_thread/thread/b57fd5b636453813/94577779631e3ce7?lnk=raot 05:25 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:26 < path[l]> hmm my firewall is off 05:26 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:27 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:27 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:27 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:27 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:27 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:27 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 05:30 < path[l]> ok how can I skip just those tests please? 05:30 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has left #go-nuts [] 05:30 < anticw> rename/remove the *_test.go files 05:30 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:35 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:37 -!- droid001 [n=g1@p4FDCCC3F.dip.t-dialin.net] has joined #go-nuts 05:37 < OwlHuntr_> promising project? http://github.com/OwlHuntr/GoGems/ 05:38 < path[l]> oh 05:38 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 05:38 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 05:38 < path[l]> thanks anticw 05:41 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Read error: 110 (Connection timed out)] 05:41 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 05:42 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:42 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:42 < path[l]> I only see .go files, no test.go 05:44 < anticw> which test fails? 05:45 -!- niekie [i=quasselc@dreamworld.bergnetworks.com] has quit [Client Quit] 05:46 -!- niekie [i=quasselc@dreamworld.bergnetworks.com] has joined #go-nuts 05:46 -!- OwlHuntr_ [n=Artem@166.192.188.6] has quit [Read error: 104 (Connection reset by peer)] 05:47 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has quit ["Leaving."] 05:49 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has joined #go-nuts 05:50 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."] 05:51 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 05:52 -!- droid0011 [n=g1@p4FDCF9B6.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:52 < path[l]> the net tests 05:52 < path[l]> --- FAIL: http.TestClient 05:52 < path[l]> Get http://www.google.com/robots.txt: dial tcp www.google.com:http: lookup www.google.com. on 202.138.96.2:53: no answer from server 05:52 < path[l]> --- FAIL: http.TestRedirect 05:53 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit [Read error: 113 (No route to host)] 05:54 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 05:54 -!- drusepth [n=drusepth@ppp-70-134-48-25.dsl.spfdmo.swbell.net] has joined #go-nuts 05:55 -!- werdan7 [n=w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 05:59 -!- drusepth [n=drusepth@ppp-70-134-48-25.dsl.spfdmo.swbell.net] has quit ["Leaving"] 06:00 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 06:00 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 06:02 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts 06:08 -!- pdusen_ [n=pdusen@68-188-190-192.dhcp.bycy.mi.charter.com] has quit [Client Quit] 06:12 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 06:12 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit ["Leaving..."] 06:13 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 06:14 < alexsuraci> path[l]: that test isn't anything to worry about, usually the result of a firewall or something 06:14 < alexsuraci> i believe you can just do ./make.bash to skip the tests 06:14 < path[l]> ah 06:16 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 06:17 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 06:17 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 06:18 -!- teedex [n=teedex@204.14.155.161] has quit [Remote closed the connection] 06:19 -!- gisikw [n=gisikw@137.28.246.58] has joined #go-nuts 06:19 -!- cpr420 [n=cpr420@67.165.199.143] has quit ["Vision[0.9.7-H-090423]: i've been blurred!"] 06:21 < path[l]> thanks 06:21 < path[l]> its done 06:21 < alexsuraci> np 06:22 < gisikw> Out of curiosity, does Go have a socket library as of yet, or is that something to leave to C callouts? 06:23 -!- chickamade [n=chickama@222.254.2.3] has joined #go-nuts 06:24 < alexsuraci> have you checked golang.org/pkg? 06:24 -!- freespace [i=foobar@72.232.203.85] has quit [Nick collision from services.] 06:24 < alexsuraci> (no idea, just guessing) 06:24 < gisikw> alexsuraci, Ahhhh, that was the one page I didn't hit. Danke 06:24 < gisikw> w00t. All there. 06:25 < alexsuraci> yep, surprising amount of stuff ;P 06:31 -!- highb [n=highb@shell.onid.oregonstate.edu] has quit [Connection timed out] 06:31 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 06:31 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 06:35 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts 06:39 -!- chickamade [n=chickama@222.254.2.3] has quit ["Leaving"] 06:39 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has quit ["Leaving."] 06:41 -!- fosho [n=notroot@ool-43570f3c.dyn.optonline.net] has joined #go-nuts 06:42 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has quit [Read error: 60 (Operation timed out)] 06:45 -!- gnibbler_ [n=duckman@210-84-2-13.dyn.iinet.net.au] has joined #go-nuts 06:45 -!- hilake [n=none@pool-71-178-218-5.washdc.fios.verizon.net] has quit [No route to host] 06:47 -!- gnibbler [n=duckman@124-168-35-89.dyn.iinet.net.au] has quit [Read error: 101 (Network is unreachable)] 06:49 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 06:49 -!- triplez [n=triplez@116.197.253.70] has joined #go-nuts 06:49 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts 06:57 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has joined #go-nuts 06:58 -!- highb [n=highb@shell.onid.oregonstate.edu] has joined #go-nuts 07:04 -!- The_Doctor [n=Dalek@cpe-98-150-247-183.hawaii.res.rr.com] has quit [Remote closed the connection] 07:05 -!- triplez [n=triplez@116.197.253.70] has quit [] 07:06 -!- alexsuraci` [n=alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Remote closed the connection] 07:06 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 07:07 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 07:11 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has quit [Read error: 131 (Connection reset by peer)] 07:15 -!- Esmil [n=esmil@4704ds1-gjp.0.fullrate.dk] has joined #go-nuts 07:23 < Zeffrin> surprised theres no smtp pkg yet 07:25 -!- iwikiwi [n=iwikiwi@121.247.120.182] has joined #go-nuts 07:28 < s_mosher> smtp :( 07:28 < s_mosher> I used to manage hosting servers 07:29 < s_mosher> email can die 07:29 < Zeffrin> lol 07:29 < Zeffrin> yeah f' smtp servers 07:29 < Zeffrin> client shouldn't be too hard 07:29 -!- highb [n=highb@shell.onid.oregonstate.edu] has quit [Read error: 104 (Connection reset by peer)] 07:30 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 07:32 -!- highb [n=highb@shell.onid.oregonstate.edu] has joined #go-nuts 07:32 -!- highb [n=highb@shell.onid.oregonstate.edu] has quit [Read error: 104 (Connection reset by peer)] 07:33 < jessta> it's a terrible thing that terrible technology may never die 07:33 < jessta> I imagine we'll be stuck with email for the next 1000 years 07:36 < Gracenotes> there's nothing much wrong with email, is there? 07:36 < Gracenotes> then again I've never run email servers.. but the problems encountered there seem intrinsic to any sort of email-like communication 07:37 -!- highb [n=highb@shell.onid.oregonstate.edu] has joined #go-nuts 07:37 < s_mosher> Gracenotes, the protocol design did not take into the fact that deep down humans are douchebags on average 07:39 < s_mosher> *into account 07:39 < Gracenotes> the design of the protocols makes it difficult to filter out spam? 07:39 < Gracenotes> like, spoofing headers? 07:41 < s_mosher> it makes it difficult to identify spammers 07:41 < sqweek> hahaha, that is a great quote 07:42 -!- rhelmer [n=rhelmer@adsl-69-107-65-140.dsl.pltn13.pacbell.net] has joined #go-nuts 07:42 < Gracenotes> s_mosher: what are some changes to the protocol that might make it easier? 07:43 < s_mosher> starting over :) 07:43 < Gracenotes> well. you have to start somewhere, you know :) 07:43 < Gracenotes> but, mmm, I don't see very many protocols announced nowadays, though. 07:44 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has quit [Client Quit] 07:44 < AndrewBC_> There might be some changes to the protocol that could help reduce spoofing of headers, like maybe redundant messages sent via different routes 07:44 < s_mosher> smtp auth helps, but you can't really verify it on the receiving end. the decentralized nature of the whole thing is problematic. 07:44 < AndrewBC_> But I think a large part of it is in the nature of the internet, a decentralized graph wherein everything must go through many nodes 07:44 < s_mosher> actually a lot has been done to make spamming difficult, and filtering easier 07:45 -!- k0fein [n=k0fein@feynman.dnp.fmph.uniba.sk] has joined #go-nuts 07:45 < AndrewBC_> I can see that you're probably going to say everything I am, so I'll go back to lurking 07:45 < Gracenotes> that's interesting 07:45 < k0fein> hello all, I'd like to ask you - since it's not in FAQ 07:45 < k0fein> s 07:45 < k0fein> how it is with Go and ORACLE ? 07:45 < s_mosher> AndrewBC_, go ahead if you like 07:46 < k0fein> i mean the database access support 07:46 < AndrewBC_> No, I didn't mean that as a sleight at all, I'm just lazy :) 07:46 < k0fein> something like OCI/OCCI for Go 07:46 < AndrewBC_> and you're pretty much saying the same thing I am, so might as well kick my feet up. :) 07:46 -!- iwikiwi [n=iwikiwi@121.247.120.182] has quit ["Computer has gone to sleep"] 07:46 < s_mosher> AndrewBC_, haha, so am I, I was hoping you'd take over :P 07:47 < jessta> k0fein: I don't think there is anything yet 07:47 < Gracenotes> it must not be so fun to talk about if you have to deal with it day in/day out >_> 07:47 < k0fein> jessta: do you have any info related to this topic ? (for example plans to have one?) 07:48 -!- iwikiwi [n=iwikiwi@121.247.120.182] has joined #go-nuts 07:48 < uriel> gisikw: to search for stuff if you don't know where it is, you can use http://go-lang.cat-v.org/go-search 07:48 < jessta> k0fein: Someone will probably make one in the future 07:48 < s_mosher> Gracenotes, for all that's wrong with the protocol, my true hate is qmail. 07:48 < gisikw> uriel, neat, thanks! 07:48 < jessta> k0fein: there are currently mysql,sqlite and postgresql stuff 07:49 < Gracenotes> s_mosher: oh, really 07:49 < k0fein> jessta: well that's nice, but when I need to access the oracle then it's not much of a help :-) 07:50 < k0fein> jessta: but thanks for the info anyway 07:51 -!- rhelmer [n=rhelmer@adsl-69-107-65-140.dsl.pltn13.pacbell.net] has quit [] 07:51 < k0fein> ok guys, I've got the answer I've been looking for, bye 07:51 -!- k0fein [n=k0fein@feynman.dnp.fmph.uniba.sk] has left #go-nuts [] 07:51 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 07:52 < s_mosher> Gracenotes, it's my #1 rant. I'll spare the channel the details, but it's pretty badly broken and bundled with certain hosting platform software. 07:52 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 07:52 < Gracenotes> plus, it's not gay enough 07:53 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has joined #go-nuts 07:53 < s_mosher> not gay enough? 07:54 < Gracenotes> well, as sendmail. never mind <_< 07:55 < s_mosher> heh, m4 nonsense (and that's if you're lucky) 07:55 < gisikw> Whoohoo! I just discovered bufio 07:55 -!- path[l]_ [n=path@115.240.97.103] has joined #go-nuts 07:55 * gisikw is very easily pleased 07:56 < uriel> sendmail.cf for the win! 07:56 -!- path[l] [n=path@115.240.97.103] has quit [Read error: 104 (Connection reset by peer)] 07:56 < uriel> fuck go, we should all program in sendmail.cf! 07:56 < s_mosher> uriel, turing-complete line noise that puts perl to shame 07:57 < uriel> s_mosher: oh, you ignorant fool! sendmail.cf is the most exquisite, refined, powerful and elegant language ever created by man! 07:57 < s_mosher> that's entirely possible, but who would know? 07:58 < s_mosher> actually it's not much 07:58 < s_mosher> I don't mind it though 07:58 < uriel> hehehe 07:59 < uriel> actually, back when I still was using sendmail (seems like a thousand years ago now...) I prefered hacking on sendmail.cf than on the m4.. 07:59 < uriel> mostly because when I messed up with m4, I couldn't understand the output file at all 07:59 < s_mosher> yeah, it doesn't help that m4 has.... quirks 07:59 < uriel> at least when changing sendmail.cf, you needed a vague idea of what the hell you were changing 08:00 < uriel> s_mosher: I really wonder what was going through dmr and bwk's heads when they created it :)) 08:00 < uriel> (as in what kinds of drugs) 08:00 < s_mosher> oh wow, I haven't written anything in m4 since like 1999 08:02 < s_mosher> my recent dealings with sendmail have been through .cf or handy configurators 08:03 -!- mkanat [n=mkanat@c-67-188-1-39.hsd1.ca.comcast.net] has quit ["Bye!"] 08:03 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 08:03 < s_mosher> I think they probably wanted to make sure every unix admin knew how to write code, and read other people's code 08:04 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 08:04 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 08:07 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 08:08 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 08:08 -!- mitchellh [n=mitchell@pool-72-67-7-78.lsanca.fios.verizon.net] has quit ["Leaving."] 08:08 < uriel> s_mosher: my recent dealings with sendmail were in like 1999 ;) 08:08 < uriel> s_mosher: I don't think m4 was designed for unix admins, I guess that is part of the problem 08:09 < s_mosher> I was thinking cf 08:09 < s_mosher> but yeah 08:09 < s_mosher> same goes 08:10 < uriel> heheh 08:10 -!- directrixx [n=aleksand@ip68-231-189-247.tc.ph.cox.net] has quit ["Adios"] 08:11 -!- tyr42 [n=tyr_god_@CPE0013103d67c8-CM0012254318f6.cpe.net.cable.rogers.com] has left #go-nuts [] 08:11 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 08:11 -!- hipe_ [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 08:14 -!- elmar [n=elmar@dslb-188-097-072-130.pools.arcor-ip.net] has joined #go-nuts 08:18 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 08:19 -!- iwikiwi [n=iwikiwi@121.247.120.182] has quit ["Computer has gone to sleep"] 08:32 -!- path[l] [n=path@115.240.97.103] has quit [Read error: 110 (Connection timed out)] 08:37 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts 08:37 -!- crashR [n=crasher@codextreme.pck.nerim.net] has joined #go-nuts 08:39 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has quit [Read error: 110 (Connection timed out)] 08:40 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 08:42 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit [Read error: 60 (Operation timed out)] 08:43 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 08:43 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 08:49 -!- savy [n=s@w.opr.im] has joined #go-nuts 08:52 -!- Nanoo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 110 (Connection timed out)] 08:54 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has joined #go-nuts 08:55 -!- teedex [n=teedex@204.14.155.161] has quit [Read error: 110 (Connection timed out)] 08:55 -!- hipe_ [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 08:56 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 08:56 -!- alc [n=alc@114.245.252.98] has quit ["Ex-Chat"] 09:04 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 09:04 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 09:08 -!- gpuserver [n=ken@adsl-71-146-137-220.dsl.pltn13.sbcglobal.net] has joined #go-nuts 09:09 < gpuserver> Wow. I'm impressed. Who would have thought that the first step to perfecting object oriented programming is to eliminate classes and inheritance. Cool! 09:10 < gpuserver> I have a question: Is there a way to invoke javascript programmatically from Go? 09:11 < gisikw> gpuserver, aw, come on, that's not an entirely new idea 09:11 < gpuserver> I have another question: Is there a package for implementing a simple GUI? 09:11 < gisikw> You've got the Rubyists with the whole duck-typing and module thing 09:13 < gpuserver> Sure, python too. But in any case, Ruby doesn't get rid of classes, although I would agree that it makes it possible to do OOP without classes. 09:14 < gpuserver> What I like about Go is the absense of classes. Since if you can do OOP better with interfaces, classes become redundant, which violates the idea of being orthagonal. 09:15 < gisikw> I'll drink to that! 09:15 < gpuserver> Go manages to get the duck-typing thing down with perfect type-safety. Anyway, I think it is very nice. 09:16 < gpuserver> :) 09:16 < elmar> did anybody get spacewar running? 09:16 -!- alamar [i=alamar@oops.kernel.de] has quit [Read error: 110 (Connection timed out)] 09:17 < uriel> gpuserver: for gui bindings see http://go-lang.cat-v.org/library-bindings 09:17 -!- hcatlin [n=hcatlin@host81-154-246-241.range81-154.btcentralplus.com] has joined #go-nuts 09:18 < uriel> I don't think anyone has added js bindings, but there are lua bindings 09:20 < gpuserver> I'm not sure if lua helps. I want to write a simple browser based game, and I need to be able to dynamically change content programatically without reloading the page. 09:21 -!- iwikiwi [n=iwikiwi@121.247.120.182] has joined #go-nuts 09:21 < adiabatic> can't you write the server in Go, and then send the JS to the browser to have it run that? 09:22 < uriel> gpuserver: uhu? use json then! 09:23 < gpuserver> Sure, but since the point of this is to learn Go, I'd like to implement the login in Go. 09:23 < adiabatic> if you want to dynamically change stuff without a full reload, look into XHR and jquery or dojo or mochikit or... 09:23 < gpuserver> login => logic 09:23 < gpuserver> sorry about typo 09:23 -!- BMeph [n=black_me@65.103.151.24] has quit [Read error: 110 (Connection timed out)] 09:23 < uriel> gpuserver: I still have no clue what you are asking for 09:24 < uriel> if you want to generate js from go, what stops you? if you want to communicate with js running on a browser, json is the obvious and only sane option 09:24 < adiabatic> gpuserver: if you want to change stuff without reloading the page, you won't be able to do it without Javascript and XHR 09:24 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has joined #go-nuts 09:24 < adiabatic> Don't worry, your game will still have lots of Go code, too! ;) 09:26 -!- illya77 [n=illya77@234-105-112-92.pool.ukrtel.net] has joined #go-nuts 09:26 < gpuserver> Okay, so specifically, I'd like Go code to be able to specify that I want to replace the content of a tag with id='foo' with "hello world". Where the data and the desired id are determined to Go code. 09:27 < gpuserver> So I'm happy to write some js 09:28 < gpuserver> Specifically, I'm happy to write a js function that takes an id and a string and sets the content of the specified tag. But I want to invoke that function from Go. 09:30 < uriel> do you understand how javascript and web browsers work? 09:30 < gpuserver> uriel: Ah, I think you answered my question! The "json" package. 09:30 < gpuserver> yes 09:30 < uriel> yes, just like you would do in any other language in the universe 09:33 -!- keeto [n=keeto@121.54.92.149] has quit [Read error: 113 (No route to host)] 09:35 -!- msbranco [n=msbranco@64-172.61-188.cust.bluewin.ch] has joined #go-nuts 09:36 -!- Fl1pFl0p [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has left #go-nuts [] 09:37 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has quit [Remote closed the connection] 09:38 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 09:38 -!- ritolatu [n=quassel@84.251.84.201] has quit [Remote closed the connection] 09:39 < gisikw> Hmm, is there any way to join goroutines? 09:40 -!- skelterjohn [n=jasmuth@c-76-116-177-32.hsd1.nj.comcast.net] has quit [] 09:40 < gisikw> I'm seeing examples of setting up completion channels, but it'd be really convenient to just join up like pthreads 09:43 < uriel> gisikw: what is wrong with using channels for synchronization? 09:44 < uriel> it is infinitely better than anything pthreads ever had 09:44 < gisikw> uriel, Oh, nothing wrong with that. Just a bit of extra typing for extremely simple cases 09:44 < anticw> it's less typing 09:44 < uriel> and less headaches 09:45 < gisikw> well, I'm talking _really_ simple cases 09:45 < gisikw> go { listening server } 09:45 < gisikw> / more procedural stuff 09:45 -!- fosho [n=notroot@ool-43570f3c.dyn.optonline.net] has quit [Read error: 110 (Connection timed out)] 09:45 < gisikw> join 09:45 < gisikw> In cases like that, pthreads are dead simple. 09:45 < anticw> <-x 09:51 < uriel> pthreads are *never* simple 09:51 < uriel> and what anticw said, it is hard to get simpler than <-x 09:51 < gisikw> hehe, fair enough. 09:54 -!- The_Doctor [n=The_Doct@cpe-98-150-247-183.hawaii.res.rr.com] has joined #go-nuts 09:57 -!- karpar [n=Adium@58.253.62.55] has joined #go-nuts 09:57 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has quit ["Leaving."] 09:59 -!- karpar [n=Adium@58.253.62.55] has left #go-nuts [] 10:03 -!- Popog [n=Adium@pool-71-121-200-233.sttlwa.dsl-w.verizon.net] has left #go-nuts [] 10:13 -!- chid [n=ikhtj@c122-106-95-175.rivrw1.nsw.optusnet.com.au] has quit [Read error: 113 (No route to host)] 10:13 -!- chid_ [n=dpizoijk@c122-106-95-175.rivrw1.nsw.optusnet.com.au] has joined #go-nuts 10:15 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 10:15 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 10:17 -!- nomism [n=nomism@e179247081.adsl.alicedsl.de] has joined #go-nuts 10:17 -!- nomism [n=nomism@e179247081.adsl.alicedsl.de] has left #go-nuts ["Verlassend"] 10:21 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 10:22 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 10:22 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts 10:23 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 10:28 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 10:28 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 10:29 -!- iwikiwi [n=iwikiwi@121.247.120.182] has quit ["Computer has gone to sleep"] 10:31 -!- iwikiwi [n=iwikiwi@121.247.120.182] has joined #go-nuts 10:36 -!- lux` [n=lux@151.54.240.211] has joined #go-nuts 10:38 -!- The_Doctor [n=The_Doct@cpe-98-150-247-183.hawaii.res.rr.com] has quit [Remote closed the connection] 10:40 -!- illya77 [n=illya77@234-105-112-92.pool.ukrtel.net] has quit [Read error: 54 (Connection reset by peer)] 10:42 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 10:44 -!- path[l] [n=path@115.240.118.53] has joined #go-nuts 10:44 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 10:50 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 10:50 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 10:55 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts 10:57 -!- aho [n=nya@f051147015.adsl.alicedsl.de] has quit ["EXEC_over.METHOD_SUBLIMATION"] 10:59 -!- iwikiwi_ [n=iwikiwi@59.162.204.86] has joined #go-nuts 11:00 -!- iwikiwi [n=iwikiwi@121.247.120.182] has quit [Nick collision from services.] 11:02 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 11:03 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:03 -!- GeoBSD [n=geocalc@lns-bzn-45-82-65-149-118.adsl.proxad.net] has joined #go-nuts 11:04 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 11:05 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:05 -!- rowdog [n=jth@h220.145.30.71.dynamic.ip.windstream.net] has joined #go-nuts 11:07 -!- rowdog [n=jth@h220.145.30.71.dynamic.ip.windstream.net] has quit [Client Quit] 11:10 -!- lotrpy [n=lotrpy@202.38.97.230] has quit [] 11:11 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 11:11 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:13 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has quit ["Computer has gone to sleep"] 11:15 -!- malkomalko [n=malkomal@66-234-41-82.nyc.cable.nyct.net] has joined #go-nuts 11:16 -!- rowdog [n=jth@h220.145.30.71.dynamic.ip.windstream.net] has joined #go-nuts 11:17 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 11:17 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 11:17 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:19 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 11:20 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 11:21 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 11:23 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 11:24 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:25 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 11:27 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 11:29 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 11:32 -!- rowdog [n=jth@h220.145.30.71.dynamic.ip.windstream.net] has quit ["leaving"] 11:33 -!- path[l] [n=path@115.240.118.53] has quit [Remote closed the connection] 11:34 -!- path[l] [n=path@115.240.118.53] has joined #go-nuts 11:34 -!- JPascal [n=jpascal@195.239.8.22] has joined #go-nuts 11:35 -!- Fraeon [n=kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined #go-nuts 11:35 < JPascal> How I can user '\s' in regexp ? Right now i took error: unknown escape sequence: s 11:35 < hipe> JPascal: did you try \\s ? 11:35 < JPascal> *use 11:35 < JPascal> no, not help 11:36 < JPascal> i try it 11:36 < hipe> in other languages some times i have to use several (four or five!) backslashes to properly escape things 11:36 < hipe> JPascal: sorry - i'm tired, do you want /\s/ to represent a space character? then i don't know! sorry 11:37 < JPascal> Unexpected error compiling "\\s+": illegal backslash escape 11:37 < hipe> you may be stuck using / +/ then! 11:38 < exch> you can prevent the double quoting by using `fooo` as the string.. like `\s+` 11:38 < exch> I don't think the current regex has support for \s though 11:38 < exch> or \w or \b for that matter 11:38 < JPascal> hm... 11:38 -!- nuggien [n=Adium@c-71-198-205-240.hsd1.ca.comcast.net] has quit ["Leaving."] 11:40 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 11:42 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts 11:43 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined #go-nuts 11:48 -!- path[l]_ [n=path@115.240.118.53] has joined #go-nuts 11:48 -!- path[l] [n=path@115.240.118.53] has quit [Read error: 54 (Connection reset by peer)] 11:51 < exch> JPascal: if you really need those in yuor regexp, you can try out the PCRE bindings here: http://github.com/jteeuwen/go-pkg-pcre They are not perfect, but do support everything. 11:54 -!- falconair [n=foo@208.123.162.2] has joined #go-nuts 11:56 < falconair> is there an ubuntu package for go yet? i'd like to be able to use "apt-get go" rather than doing a manual install 12:03 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 12:03 -!- clearscreen [n=clearscr@e248070.upc-e.chello.nl] has joined #go-nuts 12:03 -!- ehird [n=ehird@91.104.237.227] has quit [] 12:05 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 12:07 -!- avinoamr [n=avinoamr@91.198.254.100] has joined #go-nuts 12:11 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 12:13 -!- double [n=double@host13-212-dynamic.45-79-r.retail.telecomitalia.it] has joined #go-nuts 12:13 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 12:13 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 12:14 -!- Makavel [n=eddw@hoasb-ff08dd00-36.dhcp.inet.fi] has quit [Remote closed the connection] 12:15 -!- falconair [n=foo@208.123.162.2] has quit [] 12:15 -!- chid_ [n=dpizoijk@c122-106-95-175.rivrw1.nsw.optusnet.com.au] has quit [] 12:18 -!- pshahmumbai [n=prashant@59.164.25.29] has joined #go-nuts 12:21 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 12:21 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 12:23 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has joined #go-nuts 12:27 < Gracenotes> as for Ubuntu packages. setting up the binaries and libraries would be easy, but.. where would you put them? :) 12:27 < Gracenotes> there does need to be *some* kind of semblance of a flexible packaging system 12:34 < Zeffrin> you dont just need the stuff from $GOBIN once its compiled? 12:35 < JBeshir> Right. 12:36 < Zeffrin> i see theres the libs actually but it couldn't be setup to install to /usr/local/bin and /usr/local/lib ? though the env vars might be a problem 12:39 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has joined #go-nuts 12:39 -!- grizzlysmit [n=grizzlys@123-243-91-241.tpgi.com.au] has left #go-nuts [] 12:46 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read error: 60 (Operation timed out)] 12:48 -!- ukl [n=ukl@f053120232.adsl.alicedsl.de] has joined #go-nuts 12:48 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined #go-nuts 12:51 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 12:52 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 12:53 < dagle> Hmmm. How does the ... (for varargs) work? 12:53 < dagle> Want the documentation and can't find it. :/ 12:58 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 12:58 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 13:04 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 13:04 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 13:10 -!- StiffUpperLip [n=chatzill@c-94-255-223-16.cust.bredband2.com] has joined #go-nuts 13:13 -!- JPascal [n=jpascal@195.239.8.22] has quit [Read error: 104 (Connection reset by peer)] 13:13 -!- illya77 [n=illya77@89-86-112-92.pool.ukrtel.net] has joined #go-nuts 13:21 -!- alc [n=alc@114.245.252.98] has joined #go-nuts 13:23 < alc> > for p, c := range "hello, 世界" { fmt.Printf("%d %c\n", p, c) } 13:23 < rndbot> <Error: invalid identifier character 0x3000, syntax error near > 13:24 < alc> > for p, c := range "hello" { fmt.Printf("%d %c\n", p, c) } 13:24 < rndbot> <Error: invalid identifier character 0x3000, syntax error near > 13:25 < alc> > for p, c := range "hello, 世界" { fmt.Printf("%d %c\n", p, c) } 13:25 < rndbot> 0 h 1 e 2 l 3 l 4 o 5 , 6 7 世 10 界 13:29 -!- mythz [n=mythz@5ac47b17.bb.sky.com] has joined #go-nuts 13:34 < exch> http://www.my-wishlist.nl/2009/11/waste-of-time 13:34 < exch> ^ totally random 13:34 -!- path[l] [n=path@115.240.118.53] has quit [Read error: 110 (Connection timed out)] 13:34 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 13:41 < mpl> exch: meh, this makes it look like fucking lolspeak 13:42 < exch> hehe I think that was the point of the rather sarcastic article ;) 13:42 < exch> I have to agree though that English needs a lot of work before it can be considered a viable global language. If at all 13:43 < vegai> even though it already is? :P 13:43 < exch> it's bene forced onto everyone :p Not because it's such a great language 13:43 < exch> for asian language speakers it's an absolutely abysmal language. 13:44 < exch> very difficult to learn 13:44 < vegai> I like English (it's my second language), but I agree it may be difficult to learn in the bad way 13:44 < vegai> that is, by studying 13:45 < exch> Personally I have no problem with English as i've been reading/writing/speaking it since I was a little kid, but as a native Dutch speaker, English isn't a very big leap. Many others will have different opinions about that :) 13:46 < mpl> exch: but then wouldn't any european language be difficult for asian language speakers? 13:46 < exch> yup 13:46 < vegai> Finnish was my first, and it's in a different family 13:46 < exch> hence why any real global language should not have european roots 13:46 < vegai> it's more (like all things?) about motivation 13:46 < exch> or just asian roots for that matter 13:47 < mpl> exch: are you saying it should be a new language? or do you have an existing one in mind? 13:47 < exch> finnish is in a league of it's own :D I've tried understnding it, but it is just mind bogglingly insane 13:48 < exch> lojban is a candidate. It takes hints from all major roots on the planet, but does it in a way to make it completely new. Which makes it equally difficult for everyone to learn 13:48 < vegai> lojban sounded strangely chinese and russian to me, though 13:48 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 13:48 -!- XniX23 [n=XniX23@we.will.never-be.afraid.org] has quit [Remote closed the connection] 13:48 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 13:49 < exch> from our perspective, yes a bit. It borrows some aspects from chinese and russian, but also from arabic and european languages 13:49 < vegai> (as if I've heard any native speaker talk in lojban :) 13:49 < exch> hehe 13:49 < exch> true 13:49 -!- Anders__ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 13:49 < exch> lojban has the added bonus of being culturally neutral. Which imho, is very important for a language that has tobe used by everyone. 13:49 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 13:50 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 13:50 < exch> *to be 13:50 < exch> Maybe we should all just learn to speak Go :p 13:50 -!- karpar [n=Adium@58.253.163.254] has joined #go-nuts 13:52 -!- karpar [n=Adium@58.253.163.254] has left #go-nuts [] 13:53 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 13:54 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:00 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:00 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:00 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 14:00 -!- Adys [n=Adys@unaffiliated/adys] has quit ["I ♥ Unicode"] 14:03 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has quit [Read error: 110 (Connection timed out)] 14:06 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:06 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:07 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit [Read error: 110 (Connection timed out)] 14:08 -!- pshahmumbai [n=prashant@59.164.25.29] has quit ["Ex-Chat"] 14:09 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 14:12 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has joined #go-nuts 14:12 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:13 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:17 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 14:19 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:19 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:19 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 14:21 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 14:21 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:27 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:27 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:32 < dagle> mi tavla ze lojban 14:33 -!- mbarkhau [n=koloss@p54A7BECE.dip.t-dialin.net] has joined #go-nuts 14:33 < dagle> Or something. Have forgotten a lot. 14:33 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:34 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:34 -!- avinoamr [n=avinoamr@91.198.254.100] has left #go-nuts [] 14:36 -!- Raziel2p [n=Raziel2p@ti0032a380-dhcp0316.bb.online.no] has joined #go-nuts 14:37 -!- Anders__ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit [Read error: 110 (Connection timed out)] 14:38 -!- gpuserver [n=ken@adsl-71-146-137-220.dsl.pltn13.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 14:40 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:40 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:46 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:46 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:50 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 14:52 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:52 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 14:57 -!- codehai [n=codehai@xdsl-78-34-32-141.netcologne.de] has joined #go-nuts 14:58 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 14:59 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:04 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 104 (Connection reset by peer)] 15:05 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:05 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:05 -!- bogen [n=bogen@cpe-76-186-22-145.tx.res.rr.com] has left #go-nuts [] 15:11 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:11 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:12 -!- nareaisd [n=kklwl@187.35.245.167] has joined #go-nuts 15:12 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has quit [Read error: 104 (Connection reset by peer)] 15:13 -!- lolsuper_ [n=super_@unaffiliated/lolsuper-/x-9881387] has joined #go-nuts 15:14 < jessta> exch: the problem with lojban is that nobody speaks it. 15:15 < exch> hehe true. that's a bit of a self-enforcing problem unfortunately 15:16 < jessta> self-enforcing? 15:16 < exch> nobody speaks it. And nobody will speak it because nobody else does. 15:17 -!- alc [n=alc@114.245.252.98] has quit [] 15:17 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:17 < exch> The only way to solve something like that is for governments to say "alrighty kids, from now on you all learn language X in school!" 15:17 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:18 < exch> I doubt that'll ever happen though. Specially with lojban. 15:23 < uriel> yay for trolls in the mailing list! 15:23 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:23 < uriel> hey, can't they come up with something else to complain about? like that Gordon is scary to little children or something? 15:24 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:25 -!- jordyd [n=jordyd@99-177-65-75.lightspeed.wepbfl.sbcglobal.net] has joined #go-nuts 15:25 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has quit [Read error: 110 (Connection timed out)] 15:26 < Zaba> uriel, what did they complain about? 15:26 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has joined #go-nuts 15:26 * ukl <3 Gordon 15:27 < uriel> Zaba: they complained because Go *includes* implementations of MD5, SHA-1 and AES-256! 15:28 * uriel <3 Glenda ;P 15:28 < Zaba> uriel, omfgbloat!!111 15:29 < uriel> apparently they are 'not secure', and it is evil for a language to include implementations of such evil things! 15:29 < exch> -.- 15:29 < Zeffrin> wonder if someone has a moment to tell me, am I thinking the right way about these data structures? 15:29 < Zeffrin> http://gopaste.org/view/private:J5hb0 15:29 < exch> can someone remind them that nothing is truly secure? 15:30 < uriel> hey, go allows overwriting files! that is dangerous! somebody complain fast! 15:30 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:30 -!- naressi [n=kklwl@200.204.230.143] has quit [Read error: 110 (Connection timed out)] 15:30 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:31 < uriel> alexsuraci: do you seriously use :parameters for gopaste? *UGH* 15:31 < uriel> for the love of sanity, please replace : with / 15:32 < exch> mod_rewrite <3 15:32 < uriel> exch: maybe somebody should warn the guy that his computer is not secure, and he should unplug it, put it on a steel safe, destroy the key and then bury the whole thing under 25m of concrete 15:32 < uriel> exch: *yickes*! 15:35 < exch> Zeffrin: the data structure looks ok to me. To make it a lil more consistent tiwht the standard API, I would turn those error codes into os.Error instances though 15:35 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 15:35 < exch> and have send return one of those if things go trippy 15:35 * Zeffrin nods, i'd just noticed that and remembered teh go way of things 15:36 < Zeffrin> thanks for taking the time to look for me though hey, not feeling confident with go :/ 15:36 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:36 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 15:36 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:36 < Zeffrin> im a bit confused about what in there is going to be stored by referenced or not 15:36 < exch> Not that i'm an authority on the subject :p 15:37 < exch> anything that is not a pointer will be a value really 15:37 < Zeffrin> how does that work with the []byte where size is not set? 15:38 < Zeffrin> and []somestructhere 15:38 < exch> []byte is a slice.. slices and maps are always references to underlying data structures 15:38 < Zeffrin> ok awesome 15:38 < tor7> the only "magic" that happens with referencing is with slices, and if you just think about slices as special pointers with a built in length there's nothing to be scared of :) 15:38 < exch> indeed 15:39 < tor7> and go slices are the best thing since sliced bread! (sorry) 15:39 -!- Anders__ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 15:40 -!- Amaranth_ [n=travis@ubuntu/member/Amaranth] has quit [Client Quit] 15:40 < Zeffrin> > var hrm []int; hrm[0] = 1 15:40 < rndbot> <no output> 15:40 < Zeffrin> > var hrm []int; hrm[100] = 1 15:40 < rndbot> <no output> 15:41 < tor7> that'll crash with a segfault (or out of range) 15:41 < Zeffrin> > var hrm []int; hrm[100] = 1; fmt.Printf("%d", hrm[100]) 15:41 < rndbot> <no output> 15:41 < Zeffrin> k 15:41 < exch> rndbot doesn't show the segfault 15:41 < tor7> var hrm []int; hrm = make([]int, 3); fmt.Printf("%v\n", hrm); 15:42 < Zeffrin> > var hrm []int; hrm = make([]int, 10); hrm[9] = 1; fmt.printf("%#v", hrm); 15:42 < rndbot> <Error: cannot refer to fmt.printf, undefined: fmt.printf> 15:42 < Zeffrin> > var hrm []int; hrm = make([]int, 10); hrm[9] = 1; fmt.Printf("%#v", hrm); 15:42 < rndbot> []int{0, 0, 0, 0, 0, 0, 0, 0, 0, 1} 15:42 < Zeffrin> kk sweet 15:42 < tor7> you still need to allocate the memory the slice points to with make() 15:42 < Zeffrin> thanks guys, ive read the stuff on golang.org but for whatever reason it doesn't stick from just reading 15:42 < exch> or the shorter form: hrm := make([]int, 10); 15:42 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:42 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:45 < vegai> 17:19 <exch> I doubt that'll ever happen though. Specially with lojban. 15:46 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit [Read error: 60 (Operation timed out)] 15:46 -!- pshahmumbai [n=prashant@59.164.24.64] has joined #go-nuts 15:46 < vegai> happens all the time, actually. Not with lojban, though 15:48 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:49 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:55 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 15:55 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 15:55 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 15:56 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #go-nuts 15:59 < alexsuraci> uriel: when you write gopaste feel free to make your own decisions. i'll fix the quirks when I have the time/will. 15:59 -!- lux` [n=lux@151.54.240.211] has quit ["Sto andando via"] 16:01 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:01 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:03 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 16:06 -!- Makdaam [n=lhx@unaffiliated/makdaam] has joined #go-nuts 16:06 < Makdaam> hello 16:06 < exch> lo 16:07 < Zeffrin> to make this send function goroutine friendly can/should I have an option which takes a channel as an input param for writing out result? 16:07 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 16:07 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:07 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:08 < exch> probably. Either that, or provide some mechanism to notify the caller of it's completion. Which will likely also be a channel 16:11 -!- mainman__ [n=Adium@host87-156-dynamic.21-79-r.retail.telecomitalia.it] has joined #go-nuts 16:11 -!- mainman__ [n=Adium@host87-156-dynamic.21-79-r.retail.telecomitalia.it] has left #go-nuts [] 16:12 -!- sktrdie [i=sktrdie@71-87-115-213.dhcp.mdsn.wi.charter.com] has joined #go-nuts 16:13 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:14 < sktrdie> go for windows? 16:14 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:14 < exch> there are some ports around. http://go-lang.cat-v.org/os-ports 16:16 -!- tomestla [n=tom@78.251.220.156] has joined #go-nuts 16:17 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Remote closed the connection] 16:17 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 16:20 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:20 -!- lux` [n=lux@151.54.240.211] has joined #go-nuts 16:20 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:21 -!- alexsuraci [n=Alex@pool-71-188-133-67.aubnin.fios.verizon.net] has joined #go-nuts 16:24 -!- amacleod [n=amacleod@c-24-34-33-96.hsd1.ma.comcast.net] has joined #go-nuts 16:25 < sktrdie> exch: wow, catv likes go? 16:26 < exch> apparently :p 16:26 < exch> ask uriel about that 16:26 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:26 < sktrdie> whos he? 16:26 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:27 < exch> the one who maintains the go pages on cat-v 16:27 < sktrdie> oh damn 16:27 < sktrdie> he's retarted 16:27 < exch> he's in here, you know that right? :p 16:28 -!- inittab- [n=dlbeer@ip-118-90-107-65.xdsl.xnet.co.nz] has joined #go-nuts 16:33 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:33 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:35 -!- tomestla [n=tom@78.251.220.156] has quit ["Leaving."] 16:35 -!- tomestla [n=tom@78.251.220.156] has joined #go-nuts 16:39 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:39 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:41 -!- inittab [n=dlbeer@ip-118-90-62-32.xdsl.xnet.co.nz] has quit [Read error: 110 (Connection timed out)] 16:41 < mikedee> Does anyone know what iota means? It is used in enums. 16:41 -!- F1sh [n=Fish@86.65.182.194] has quit [Read error: 110 (Connection timed out)] 16:42 -!- sktrdie [i=sktrdie@71-87-115-213.dhcp.mdsn.wi.charter.com] has left #go-nuts [] 16:43 < jordyd> mikedee: It's a variable that is reset to 0 everytime you use const. 16:43 < exch> iota is a special case name that contains an integer value. it's set to 0 at every const( declaration and incremented by 1 everytime a ; occurs after a constant.. so const( foo = iota; bar; ) means foo = 0 and bar = 1 16:44 -!- inittab [n=dlbeer@ip-118-90-113-124.xdsl.xnet.co.nz] has joined #go-nuts 16:44 < mikedee> interesting, thanks 16:44 < jordyd> mikedee: http://golang.org/doc/go_spec.html#Iota 16:45 -!- msbranco [n=msbranco@64-172.61-188.cust.bluewin.ch] has quit [Read error: 110 (Connection timed out)] 16:45 < exch> you can have it repeat funky expressions to.. foo = iota << 1; bar; <- that will automatically apply iota << 1 to bar and any subsequent constants as well, using the current value of iota 16:45 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:45 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:45 < mikedee> I assume that const (c0 = iota;c1 = iota;) is the same as const (c0 = iota;c1;) 16:45 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit [Read error: 113 (No route to host)] 16:45 < exch> yup 16:46 < mikedee> The docs use the former, but the package code seems to use the latter 16:48 -!- skelterjohn [n=jasmuth@c-76-116-177-32.hsd1.nj.comcast.net] has joined #go-nuts 16:48 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit ["Leaving..."] 16:49 < exch> meh. os.ForkExec is giving me a headache. http://pastebin.com/m4c6d4d59 16:50 < poe> maybe 6g uses the $GO* environment variables? 16:51 < exch> can't it see them if I use forkexec? 16:51 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 16:51 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:52 < exch> mm same problem if I pass them in the envv list 16:53 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts 16:54 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 16:54 -!- shambler [i=kingrat@mm-52-166-84-93.dynamic.pppoe.mgts.by] has quit [Read error: 104 (Connection reset by peer)] 16:55 -!- iwikiwi [n=iwikiwi@59.162.204.86] has quit ["I ascend to reality!"] 16:55 -!- shambler [i=kingrat@mm-52-166-84-93.dynamic.pppoe.mgts.by] has joined #go-nuts 16:55 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 16:58 -!- iwikiwi [n=iwikiwi@59.162.204.86] has joined #go-nuts 16:58 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 16:59 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:01 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 17:01 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:01 -!- inittab- [n=dlbeer@ip-118-90-107-65.xdsl.xnet.co.nz] has quit [Read error: 110 (Connection timed out)] 17:05 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has joined #go-nuts 17:06 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 17:07 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:07 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:08 < Zeffrin> hrm, whats the go equiv to \r\n ? 17:08 < JBeshir> \n? 17:08 < Zeffrin> really? strings.HasPrefix is complaiing about \r\n 17:09 < Zeffrin> though I think to connect to SMTP I'm going to need to ensure it's 7bit US ASCII anyway 17:09 < exch> \r and \n both seem to work fine 17:09 -!- teedex [n=teedex@204.14.155.161] has quit [Read error: 110 (Connection timed out)] 17:09 < Zeffrin> why 7 bit I have nfi, im assuming its still stored in 8 bit bytes cuz otherwise that's going to be series pain 17:09 < Zeffrin> serious even 17:10 < Zeffrin> mail.go:97: cannot use "\x0d\n" (type string) as type uint8 in function argument 17:11 < Zeffrin> from these lines: 17:11 < Zeffrin> buf, err = r.ReadString("\r\n"); 17:11 < Zeffrin> oh i see 17:11 < Zeffrin> it expects a single char 17:11 < exch> yup 17:11 < Zeffrin> thats 3am for you 17:12 < exch> :) 17:13 -!- Necrogami [n=djnecrog@unaffiliated/necrogami] has quit ["Client Exiting"] 17:13 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:14 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:16 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 17:17 -!- tomestla [n=tom@78.251.220.156] has quit [Read error: 60 (Operation timed out)] 17:18 < JoLeClodo> there is a dbus binding ? 17:19 < exch> not that I am aware of 17:20 < exch> grr. this fork stuff is starting to piss me off 17:20 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:20 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:22 < zimbatm> exch: how is your invoke line ? 17:22 < zimbatm> did you try with exec.Run ? 17:23 < exch> havn't tried run yet 17:23 < exch> there really is no reason why forkexec shouldn't work though 17:28 < exch> same deal with exec.Run 17:29 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 17:31 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:31 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:33 < exch> http://pastebin.com/m7c6b265e 17:34 < zimbatm> on line 40, try replacing "nil" by "os.Environ()" 17:35 < exch> nope. same error 17:36 -!- loureiro [n=loureiro@201008207105.user.veloxzone.com.br] has joined #go-nuts 17:37 < zimbatm> also, prepend "defer" before line 45 17:37 -!- Zaba_ [n=zaba@about/goats/billygoat/zaba] has joined #go-nuts 17:37 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:38 < exch> that causes the writer to stay open and make it a blocking call 17:38 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:39 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 17:40 < zimbatm> I believe you don't need to put additional quotes in your args array 17:41 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 17:41 -!- savy [n=s@w.opr.im] has quit [Read error: 104 (Connection reset by peer)] 17:41 < exch> probably not.. I've tried it without the quotes, but no change 17:41 -!- Zaba [n=zaba@about/goats/billygoat/zaba] has quit [Read error: 110 (Connection timed out)] 17:42 -!- savy [n=s@w.opr.im] has joined #go-nuts 17:43 < exch> or not. removing the quotes + adding os.Environ() for envv seems to fix it \o/ 17:43 < exch> thanks 17:44 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:44 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:46 < zimbatm> exch: you're welcome 17:46 -!- Anders__ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit [Read error: 110 (Connection timed out)] 17:47 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 17:47 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:52 -!- Clooth [n=Clooth@cs27062173.pp.htv.fi] has quit [Remote closed the connection] 17:52 -!- aaront [n=aaront@d226-110-84.home.cgocable.net] has joined #go-nuts 17:53 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:53 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 17:54 -!- amacleod [n=amacleod@c-24-34-33-96.hsd1.ma.comcast.net] has quit [Read error: 110 (Connection timed out)] 17:55 -!- Clooth [n=Clooth@cs27062173.pp.htv.fi] has joined #go-nuts 17:59 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 17:59 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has joined #go-nuts 17:59 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:01 -!- teedex [n=teedex@204.14.155.161] has joined #go-nuts 18:01 -!- iwikiwi_ [n=iwikiwi@59.162.204.201] has joined #go-nuts 18:02 -!- iwikiwi [n=iwikiwi@59.162.204.86] has quit [Nick collision from services.] 18:05 -!- fosho [n=notroot@ool-43570f3c.dyn.optonline.net] has joined #go-nuts 18:06 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:06 -!- dqminh [n=dqminh@cm215.psi151.maxonline.com.sg] has joined #go-nuts 18:06 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:09 < uriel> yay, russ is back in town 18:09 < uriel> and kicking ass as usual 18:10 -!- fosho [n=notroot@ool-43570f3c.dyn.optonline.net] has quit [Remote closed the connection] 18:12 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:12 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:17 -!- teedex [n=teedex@204.14.155.161] has quit [Remote closed the connection] 18:18 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:18 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:18 < zimbatm> does go have something like pkg-config ? 18:19 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts 18:19 < zimbatm> I'm building a project with multiple command-line and packages and looking at the best ways of doing it 18:19 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit [Read error: 110 (Connection timed out)] 18:21 -!- malkomalko [n=malkomal@66-234-41-82.nyc.cable.nyct.net] has quit [] 18:24 < uriel> no, and AFAIK at the moment the recomended way to install extra pkgs are just to put them on your go/pkg/ dir 18:24 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:24 < uriel> then gc will 18:24 < uriel> just find them without any effort 18:25 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:25 -!- zhaozhou [n=zhaozhou@linfast76.bitnet.nu] has joined #go-nuts 18:25 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 18:31 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:31 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:32 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has joined #go-nuts 18:33 -!- sm [n=sm@cpe-76-173-194-242.socal.res.rr.com] has quit [] 18:34 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 18:34 -!- Nanooo [n=Nano@95-89-198-45-dynip.superkabel.de] has quit [Client Quit] 18:34 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has joined #go-nuts 18:37 < zimbatm> thx uriel, this is what I thought too 18:37 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:37 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:37 < zimbatm> I will look into the Makefiles to see if that behavior can be expandedd 18:38 -!- iwikiwi [n=iwikiwi@59.162.204.201] has quit ["I ascend to reality!"] 18:40 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 18:40 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has joined #go-nuts 18:41 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:42 < KirkMcDonald> zimbatm: I filed a related issue: http://code.google.com/p/go/issues/detail?id=347 18:44 -!- ni| [n=ni|@cpe-72-191-33-69.satx.res.rr.com] has quit [Remote closed the connection] 18:45 < zimbatm> KirkMcDonald: nice, this saves me some headache :-) 18:46 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has joined #go-nuts 18:47 < kimelto> morning! 18:47 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:47 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:47 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Read error: 54 (Connection reset by peer)] 18:47 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 18:48 -!- loureiro [n=loureiro@201008207105.user.veloxzone.com.br] has quit [Read error: 110 (Connection timed out)] 18:48 -!- HeavensRevenge [n=quassel@CPE001d0fe73b7d-CM00111ae5c642.cpe.net.cable.rogers.com] has joined #go-nuts 18:50 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 18:51 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has quit [Client Quit] 18:51 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:53 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts 18:53 -!- cylix [n=frederic@occm-15.static.grp1-rng1.tnmmrl.infoave.net] has joined #go-nuts 18:54 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts 18:55 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 18:57 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 18:57 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 18:57 -!- pshahmumbai [n=prashant@59.164.24.64] has quit ["Ex-Chat"] 18:59 -!- zhaozhou [n=zhaozhou@linfast76.bitnet.nu] has quit [Read error: 110 (Connection timed out)] 19:00 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 19:00 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:01 -!- jvogel [n=jonathan@friedpancakes.com] has quit ["leaving"] 19:01 -!- Clooth [n=Clooth@cs27062173.pp.htv.fi] has quit [Remote closed the connection] 19:02 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [SendQ exceeded] 19:06 -!- Clooth [n=Clooth@cs27062173.pp.htv.fi] has joined #go-nuts 19:08 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has joined #go-nuts 19:09 -!- directrixx [n=aleksand@ip68-231-189-247.tc.ph.cox.net] has joined #go-nuts 19:12 < HeavensRevenge> hello 19:13 < qbit_> hi 19:13 -!- mitchellh [n=mitchell@cpe-76-95-29-3.socal.res.rr.com] has quit ["Leaving."] 19:14 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:14 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:14 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts 19:15 -!- loureiro [n=loureiro@201008194161.user.veloxzone.com.br] has joined #go-nuts 19:20 -!- directrixx [n=aleksand@ip68-231-189-247.tc.ph.cox.net] has quit ["Adios"] 19:20 -!- ikke [n=1kk3@unaffiliated/ikkebr] has joined #go-nuts 19:20 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:20 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:21 -!- directrixx [n=directri@ip68-231-189-247.tc.ph.cox.net] has joined #go-nuts 19:25 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Connection timed out] 19:26 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:26 -!- dqminh [n=dqminh@cm215.psi151.maxonline.com.sg] has quit [Read error: 113 (No route to host)] 19:26 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:27 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has quit [Read error: 104 (Connection reset by peer)] 19:27 -!- wollw [n=wollw4@75-101-22-68.dsl.dynamic.sonic.net] has joined #go-nuts 19:32 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:33 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:37 -!- jvogel [n=jonathan@friedpancakes.com] has joined #go-nuts 19:39 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:39 -!- jvogel_ [n=jonathan@friedpancakes.com] has joined #go-nuts 19:39 -!- jvogel_ [n=jonathan@friedpancakes.com] has quit [Client Quit] 19:39 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:39 -!- jvogel_ [n=jonathan@friedpancakes.com] has joined #go-nuts 19:40 -!- jvogel_ [n=jonathan@friedpancakes.com] has quit [Client Quit] 19:40 -!- jvogel [n=jonathan@friedpancakes.com] has quit [Client Quit] 19:43 < drhodes> is there a C to Go source translator? 19:45 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:45 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:46 -!- jvogel [n=jonathan@friedpancakes.com] has joined #go-nuts 19:46 -!- jvogel [n=jonathan@friedpancakes.com] has quit [Client Quit] 19:50 -!- HeavensRevenge [n=quassel@CPE001d0fe73b7d-CM00111ae5c642.cpe.net.cable.rogers.com] has quit [Remote closed the connection] 19:51 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 19:52 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:53 < gisikw> :-( Go likes SIGSEGV's 19:53 -!- jvogel [n=jonathan@friedpancakes.com] has joined #go-nuts 19:54 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 19:54 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 19:58 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has joined #go-nuts 19:58 -!- illya77 [n=illya77@89-86-112-92.pool.ukrtel.net] has quit [Read error: 54 (Connection reset by peer)] 20:00 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:00 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:00 -!- Rob_Russell [n=chatzill@206-248-157-156.dsl.teksavvy.com] has quit [Read error: 113 (No route to host)] 20:04 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 20:04 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:09 -!- bravvve [n=user@41.201.117.3] has joined #go-nuts 20:10 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:11 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:12 -!- geocalc [n=geocalc@lns-bzn-38-82-253-115-21.adsl.proxad.net] has joined #go-nuts 20:17 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:17 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:17 -!- path[l] [n=path@115.240.59.71] has joined #go-nuts 20:23 -!- emit [n=emit@unaffiliated/emit] has quit [Read error: 113 (No route to host)] 20:23 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:23 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:29 -!- GeoBSD [n=geocalc@lns-bzn-45-82-65-149-118.adsl.proxad.net] has quit [Read error: 110 (Connection timed out)] 20:29 -!- Anders_ [n=Anders@c83-253-2-206.bredband.comhem.se] has quit ["Leaving"] 20:29 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:29 -!- qbit_ [n=qbit_@c-75-71-160-106.hsd1.co.comcast.net] has quit ["WinPants!"] 20:29 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:29 -!- zju [n=t@87.252.230.12] has quit [Read error: 104 (Connection reset by peer)] 20:30 -!- cactii [n=t@87.252.230.12] has joined #go-nuts 20:35 -!- __ed [i=bitch@anal-co.it] has quit ["changing servers"] 20:36 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:36 -!- nuggien [n=Adium@c-71-198-205-240.hsd1.ca.comcast.net] has joined #go-nuts 20:36 -!- telemachus [n=telemach@user-0cev9bh.cable.mindspring.com] has joined #go-nuts 20:36 -!- telemachus [n=telemach@user-0cev9bh.cable.mindspring.com] has left #go-nuts ["Leaving..."] 20:37 -!- fluffle [n=camelid@s.pl0rt.org] has joined #go-nuts 20:37 < fluffle> ohai, anyone else working on IRC client libraries? i just put together some basic stuff as a learning exercise :) 20:39 -!- __ed [i=bitch@anal-co.it] has quit [Read error: 60 (Operation timed out)] 20:41 -!- __ed [i=bitch@anal-co.it] has joined #go-nuts 20:42 -!- The_Doctor [n=The_Doct@cpe-98-150-247-183.hawaii.res.rr.com] has joined #go-nuts 20:42 < uriel> fluffle: there are a few irc libs already, see: http://go-lang.cat-v.org/pure-go-libs 20:42 -!- bravvve [n=user@41.201.117.3] has left #go-nuts [] 20:42 -!- codehai [n=codehai@xdsl-78-34-32-141.netcologne.de] has quit [Remote closed the connection] 20:44 -!- shambler [i=kingrat@mm-52-166-84-93.dynamic.pppoe.mgts.by] has quit ["we're generation of men raised by women, I'm wondering if another woman is really the answer we need"] 20:44 -!- shambler [i=kingrat@mm-52-166-84-93.dynamic.pppoe.mgts.by] has joined #go-nuts 20:45 < fluffle> uriel: woo, okai 20:45 -!- shambler [i=kingrat@mm-52-166-84-93.dynamic.pppoe.mgts.by] has quit [Client Quit] 20:46 -!- jordyd [n=jordyd@99-177-65-75.lightspeed.wepbfl.sbcglobal.net] has left #go-nuts ["Leaving"] 20:46 -!- hcatlin [n=hcatlin@host81-154-246-241.range81-154.btcentralplus.com] has quit [] 20:47 < uriel> fluffle: you are welcome 20:49 -!- rog [n=rog@89.240.136.210] has quit [] 20:50 -!- ehird [n=ehird@91.104.237.227] has joined #go-nuts 20:54 -!- drry [n=drry@unaffiliated/drry] has quit ["Tiarra 0.1+svn-35634M: SIGTERM received; exit"] 20:55 < fluffle> uriel: interesting, one of those takes a very similar apprach to the one I chose :) 20:56 -!- syd [n=sydcogs@118.127.19.220] has quit ["No Ping reply in 180 seconds."] 20:56 -!- syd [n=sydcogs@118.127.19.220] has joined #go-nuts 20:56 < uriel> fluffle: let me know if you release something, I'll add it to the list 20:58 -!- TheBlueWizard [i=tbw@dialup-4.249.51.69.Dial1.Washington2.Level3.net] has joined #go-nuts 20:58 < fluffle> uriel: well, i've got a git repository ;p 20:58 < fluffle> but it's not hugely complete yet 20:59 < uriel> well, up to you 21:00 -!- syd [n=sydcogs@118.127.19.220] has quit [Client Quit] 21:00 -!- syd [n=sydcogs@118.127.19.220] has joined #go-nuts 21:00 < fluffle> git://git.pl0rt.org/alex/code/goirc.git 21:00 < fluffle> Gracenotes: ping? 21:00 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has joined #go-nuts 21:00 < Gracenotes> pong 21:00 -!- rog [n=rog@89.240.136.210] has joined #go-nuts 21:01 < TheBlueWizard> out of curiosity, is there a Debian package for Go? 21:01 < Gracenotes> IRC libs? :o good stuff 21:01 < clip9> uriel: this one is not in yuor list.. http://github.com/thoj/Go-IRC-Client-Library .. not that we really need any more irc libs :P 21:01 -!- Necrogami [n=djnecrog@unaffiliated/necrogami] has joined #go-nuts 21:01 < Gracenotes> I find it makes sense to use chans heavily.. particularly, you can even model IRC channels with chans, although I haven't done this yet 21:02 < Gracenotes> and it's not always how you want to organize things 21:02 < fluffle> Gracenotes: i was just looking at your code, it's certainly an educational thing for me :) 21:02 < Necrogami> fluffle: gotta link to that code. I'd like to look at it? 21:02 < fluffle> Necrogami: git clone ;) 21:03 < Necrogami> fluffle: what? 21:03 < fluffle> Necrogami: [21:01] <fluffle> git://git.pl0rt.org/alex/code/goirc.git 21:04 < Necrogami> fluffle: thanks i wasn't here when the link was posted. 21:04 < fluffle> or if you mean Gracenotes' code; http://code.google.com/p/go-bot/source/browse/ 21:04 < Gracenotes> whoa, what's your fancy protocol about? http is good enough for this channel! -.- 21:04 < Gracenotes> ;) 21:04 < fluffle> Necrogami: ah, so you weren't, i apologise :) 21:05 -!- syd [n=sydcogs@118.127.19.220] has quit [Remote closed the connection] 21:05 < fluffle> Gracenotes: I've not put a gitweb install on my colo box, maybe i should just migrate to github :) 21:06 < uriel> clip9: cool, thanks, added it to the list now 21:06 < clip9> github is really great' 21:06 < Necrogami> I donno i'm kinda torn right now. Between migrating my desktop to Slackware or Windows 7.. ugh ~.~ I'm doing all of my coding on Windows via Notepad++ and compiling on my local linux server 21:06 < Gracenotes> I see if you've taken a somewhat more synchronous approach 21:06 < fluffle> Gracenotes: too used to perl ;) 21:07 < tor7> Necrgami: virtual box helps if you can't decide 21:07 < Necrogami> Gracenotes: an interesting implementation .. i've been wanting to migrate my PHP Irc bot to go. 21:07 < fluffle> Gracenotes: i really liked the async reader/writer channels, was tempted to nick the idea ;) 21:08 < Necrogami> tor7 yeah that's what i was thinking about doing. 21:08 < Gracenotes> currently I do con.Write <- "PRIVMSG #chan :whoa", but I could even have channel-specific chans, and do chanChan <- "whoa"; 21:09 < Gracenotes> the approach is pretty extensible 21:09 < fluffle> yes, and way more idiomatic than using send() etc 21:10 < Gracenotes> mm, if you happen to like chan things flying all of the place 21:10 < Gracenotes> *over 21:10 < Necrogami> Any news on the Sqlite db connection for go? 21:11 -!- TheBlueWizard [i=tbw@dialup-4.249.51.69.Dial1.Washington2.Level3.net] has left #go-nuts [] 21:11 -!- blAckEn3d [i=alex@79.117.154.67] has joined #go-nuts 21:11 -!- shambler [i=kingrat@mm-139-196-84-93.dynamic.pppoe.mgts.by] has joined #go-nuts 21:12 < fluffle> Gracenotes: the features of the language match quite nicely with the requirements of an IRC library, makes sense to use them :) 21:12 < blAckEn3d> hey, what's the equivalent for void * in go? 21:13 < Kibiz0r> interface{} 21:13 < blAckEn3d> thanks 21:13 -!- syd [n=sydcogs@118.127.19.220] has joined #go-nuts 21:13 * uriel wants a real irc client and mail client in Go! 21:13 * Kibiz0r wants a game engine in Go. :P 21:13 < saati> uriel: hf writing it :D 21:14 < uriel> hf? 21:14 < saati> have fun 21:14 < uriel> ah! 21:14 < uriel> eh 21:14 < Kibiz0r> gl hf dd 21:14 < Necrogami> Kiviz0r i'm working on a web game engine backed on go. 21:14 < uriel> Necrogami: that sounds fun ... 21:15 < Gracenotes> once I comprehend FRP in Haskell, the second thing I'll do is try making such a system in Go. 21:15 < Gracenotes> should be some interesting, and pretty much nothing else 21:15 < uriel> actually, I lied, what I want is an alternative to bitlbee, which is a wonderful idea, but the implementation could use some improvement 21:16 < JBeshir> Minbif? 21:16 < Necrogami> uriel: yeah should be i want to have a SOAP interface for data transfers though. 21:16 < uriel> Necrogami: hah! 21:16 < clip9> i can't live without bitlbee :P 21:16 < exch> uh oh 21:16 < JBeshir> uriel: Minbif is a competing implementation. 21:16 * uriel is too easily trolled, and everyone knows how to troll me :( 21:16 < uriel> JBeshir: let me see 21:16 < clip9> all other MSN clients are annoying 21:16 < Gracenotes> I just end up using VPS services 21:17 < uriel> JBeshir: oh, it uses the damned libpurple, which use glib *yuck* :( 21:17 < uriel> uh, worse, it is c++! 21:17 < exch> libpurple. that sounds familiar.. isn't that what drives pidgin? 21:17 < kfx> just writing a decent mail client would be an achievement, regardless of language 21:18 < Necrogami> kfx: I've not found a mail client that can handle my gmail without completely choking tod eath 21:18 < Necrogami> death* 21:19 < kfx> sup is worth looking at, but it's off-topic for this channel :) 21:19 < uriel> kfx: well, Michael R. Elkin, author of mutt, was hanging out here for a while 21:19 < uriel> maybe there is some hope.. 21:19 -!- hstimer [n=hans@c-98-234-25-125.hsd1.ca.comcast.net] has joined #go-nuts 21:19 < Necrogami> 1 - 100 of 82920 <-- my gmail.... 21:20 < kfx> it's easier to configure sendmail than mutt 21:20 < mpl> huh? mutt is dead easy to configure. 21:20 < mpl> at least on distros which provide a .muttrc where you only have to uncomment what you want, granted. 21:21 < uriel> mpl: yea, a .muttrc longer and more convoluted than sendmail.cf 21:21 < mpl> uriel: long, but easy to understand. sendmail is not. 21:21 < hstimer> is there a function in the go libs that escapes text properly for html? 21:22 < uriel> damn, an on-topic question! Perhaps in the templating package? 21:22 < exch> http.URLEncode I believe 21:22 < uriel> (random guess, sorry) 21:22 < exch> and URLDecode 21:22 < uriel> exch: url-encoding is not the same as html-escaping 21:22 < exch> close enough :p 21:22 < uriel> (that they are different is quite sad, but then both urls and html are a mess) 21:22 < Necrogami> actually not even close 21:22 < uriel> not close enough, more like completely different 21:23 < Necrogami> since url encoding for a space is %20 21:23 < mpl> kfx: btw, upas/mailfs from plan9port might be able to cope with gmail. I think I tried once; it took ages to load the few thousand mails but I think it worked. 21:24 < exch> hstimer: you mean you want to convert unicode characters to html entities and vice versa? 21:24 < Necrogami> haha @ my modem port blocking freenode's ping bot / port scan 21:24 < hstimer> exch: yes 21:24 < exch> http://github.com/jteeuwen/go-pkg-xmlx/blob/master/src/entitymap.go me to the rescue then 21:24 < hstimer> exch: like ampersand 21:24 < exch> I take cookies as payment. 21:24 -!- existsec [n=existsec@76.228.31.64] has quit [Remote closed the connection] 21:25 < hstimer> exch: very cool! 21:25 < exch> is that close enough? :p 21:25 < hstimer> exch: perfect :) 21:26 < exch> goodie :) 21:28 < Kibiz0r> loadNonStandardEntities... I hope you didn't write that all by hand... 21:28 < exch> copy/paste with a bit of search/replace magic :p 21:28 < hstimer> sed, I would hope 21:29 < Necrogami> anyone know of a good working sqlite package for go? 21:29 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has joined #go-nuts 21:30 < Kibiz0r> I wonder if they called it Go so that the inevitable port of xUnit would be called gUnit. 21:31 < Null-A> go-go-gadget 21:32 < KirkMcDonald> Kibiz0r: It's so they would have a good debugger name. 21:32 < KirkMcDonald> Kibiz0r: Go Ogle 21:32 < Null-A> gdb? 21:34 -!- hcatlin [n=hcatlin@host81-154-246-241.range81-154.btcentralplus.com] has joined #go-nuts 21:37 -!- msbranco [n=msbranco@64-172.61-188.cust.bluewin.ch] has joined #go-nuts 21:39 -!- aaront [n=aaront@unaffiliated/aaront] has quit ["And that's all he wrote..."] 21:42 -!- hcatlin [n=hcatlin@host81-154-246-241.range81-154.btcentralplus.com] has quit [] 21:45 -!- lux` [n=lux@151.54.240.211] has quit [Read error: 60 (Operation timed out)] 21:46 -!- elmar [n=elmar@dslb-188-097-072-130.pools.arcor-ip.net] has quit ["Leaving"] 21:48 -!- skelterjohn [n=jasmuth@c-76-116-177-32.hsd1.nj.comcast.net] has quit [] 21:56 -!- djanderson [n=dja@hltncable.pioneerbroadband.net] has joined #go-nuts 21:57 -!- lux` [n=lux@151.54.240.211] has joined #go-nuts 21:58 -!- blAckEn3d [i=alex@79.117.154.67] has quit ["Leaving"] 21:59 -!- vz [n=vz@static133-147.adsl.no] has left #go-nuts [] 22:02 -!- lux` [n=lux@151.54.240.211] has quit [Read error: 60 (Operation timed out)] 22:03 -!- mythz [n=mythz@5ac47b17.bb.sky.com] has left #go-nuts [] 22:06 -!- ukl [n=ukl@f053120232.adsl.alicedsl.de] has quit ["bye"] 22:11 -!- Null-A_ [n=jason@65-119-47-100.dia.static.qwest.net] has joined #go-nuts 22:14 -!- melba [n=blee@unaffiliated/lazz0] has quit ["MICROSOFT WORD IS A FUN GAME"] 22:15 -!- alexf [n=alexf@adsl-99-35-9-200.dsl.klmzmi.sbcglobal.net] has quit ["Leaving"] 22:18 -!- skyyy [i=caw@res55551479.rh.rit.edu] has quit [Client Quit] 22:18 -!- lux` [n=lux@151.54.240.211] has joined #go-nuts 22:19 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #go-nuts 22:19 < plexdev> http://is.gd/5797g by [Robert Griesemer] in go/src/pkg/go/parser/ -- Correct expression level for argument lists. 22:20 < plexdev> http://is.gd/5797i by [Fumitoshi Ukai] in go/ -- Add myself to CONTRIBUTORS 22:20 -!- rog [n=rog@89.240.136.210] has quit [] 22:25 -!- hipe [n=hipe@pool-74-101-72-105.nycmny.east.verizon.net] has joined #go-nuts 22:26 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has quit [Read error: 110 (Connection timed out)] 22:27 -!- dpb [i=dpb@unaffiliated/dpb] has quit [Remote closed the connection] 22:30 -!- shambler [i=kingrat@mm-139-196-84-93.dynamic.pppoe.mgts.by] has quit ["we're generation of men raised by women, I'm wondering if another woman is really the answer we need"] 22:36 < plexdev> http://is.gd/579O8 by [Austin Clements] in go/misc/emacs/ -- Make comment-start/-end changes buffer-local instead of global. 22:36 < plexdev> http://is.gd/579Oe by [Fumitoshi Ukai] in 2 subdirs of go/src/pkg/ -- Add WebSocket server framework hooked into http. 22:38 -!- dpb [n=dpb@xob.kapsi.fi] has joined #go-nuts 22:40 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has quit [] 22:42 -!- getisboy [n=Family@71.174.56.27] has joined #go-nuts 22:44 < getisboy> I'm getting an error that 2147483648 overflows int. Can't an int can be 32 or 64 bits? 22:44 < JBeshir> Yes, as determined by the implementation, not however you're using it. 22:45 -!- aho [n=nya@g226207009.adsl.alicedsl.de] has joined #go-nuts 22:46 < getisboy> The implementation of what? The compiler? 22:48 < JBeshir> For the architecture, yes. 22:48 -!- rhelmer [n=rhelmer@adsl-69-107-65-140.dsl.pltn13.pacbell.net] has joined #go-nuts 22:48 < JBeshir> The idea is that it can be 32bit on 32bit systems and 64bit on 64bit systems, as most efficient for each. 22:48 < getisboy> Ah. Thanks. 22:49 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit [Read error: 110 (Connection timed out)] 22:49 -!- getisboy [n=Family@71.174.56.27] has left #go-nuts [] 22:49 -!- mitchellh [n=mitchell@12.130.118.17] has joined #go-nuts 22:51 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has joined #go-nuts 22:54 -!- fosho [n=afitz@12.130.119.17] has joined #go-nuts 22:56 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has joined #go-nuts 22:57 -!- Fl1pFl0p [i=flipflop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts 22:58 -!- msbranco [n=msbranco@64-172.61-188.cust.bluewin.ch] has quit [Read error: 110 (Connection timed out)] 22:58 -!- jdp [n=gu@ool-435238c0.dyn.optonline.net] has joined #go-nuts 22:59 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection] 22:59 -!- Adys [n=Adys@APoitiers-259-1-44-57.w90-55.abo.wanadoo.fr] has joined #go-nuts 22:59 -!- path[l] [n=path@115.240.59.71] has quit [Read error: 110 (Connection timed out)] 23:01 < exch> int is 32 bits on my 64 bit system 23:01 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has quit [Connection timed out] 23:02 < alexsuraci> woo, parser now handles the comment portions of the language "spec" 23:02 < alexsuraci> now for nested multiline comments. 23:06 < alexsuraci> done. that was easier than I expected... /me investigates 23:08 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has quit [] 23:08 -!- sm [n=sm@cpe-76-173-105-131.socal.res.rr.com] has joined #go-nuts 23:10 -!- shoafb [n=The_Doct@cpe-98-150-247-183.hawaii.res.rr.com] has joined #go-nuts 23:10 -!- The_Doctor [n=The_Doct@cpe-98-150-247-183.hawaii.res.rr.com] has quit [Read error: 110 (Connection timed out)] 23:12 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has joined #go-nuts 23:15 -!- nigwil [n=chatzill@berkner.ccamlr.org] has joined #go-nuts 23:15 -!- ikke [n=1kk3@unaffiliated/ikkebr] has quit [] 23:16 -!- sm_ [n=sm@cpe-76-173-194-242.socal.res.rr.com] has joined #go-nuts 23:16 -!- Null-A [n=jason@65-119-47-100.dia.static.qwest.net] has left #go-nuts [] 23:17 < r2p2> ./8.out foo 23:17 < r2p2> do i need the flag package to get parameters? 23:18 < KirkMcDonald> r2p2: os.Args 23:18 < r2p2> ah os - thanks :D 23:18 -!- maacl [n=mac@0x573526c8.virnxx17.dynamic.dsl.tele.dk] has quit [] 23:23 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has quit [Connection timed out] 23:24 -!- drry [n=drry@unaffiliated/drry] has joined #go-nuts 23:26 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Client Quit] 23:29 < gisikw> Any chance I could get a one-liner to right-pad a byte-array? 23:29 -!- fosho [n=afitz@12.130.119.17] has quit [Read error: 60 (Operation timed out)] 23:30 -!- hd_ [n=hd_@253.176.233.220.static.exetel.com.au] has joined #go-nuts 23:32 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 23:33 -!- Wiz126 [n=Wiz126@24.102.254.150.res-cmts.sm.ptd.net] has joined #go-nuts 23:37 -!- double [n=double@host13-212-dynamic.45-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 23:41 < kfx> does go have something like http://search.cpan.org/~pjf/Acme-ButFirst-1.00/lib/Acme/ButFirst.pm 23:42 -!- sm [n=sm@cpe-76-173-105-131.socal.res.rr.com] has quit [Read error: 110 (Connection timed out)] 23:44 -!- Cyanure [n=cyanure@212-198-164-142.rev.numericable.fr] has quit ["Quitte"] 23:46 -!- s4b0t4g3 [n=magicman@cpe-76-95-85-87.socal.res.rr.com] has joined #go-nuts 23:47 -!- s4b0t4g3 [n=magicman@cpe-76-95-85-87.socal.res.rr.com] has left #go-nuts [] 23:55 -!- realloc [n=realloc@unaffiliated/realloc] has joined #go-nuts 23:55 < Zeffrin> kfx: that doc says it all "Any use of this module should be considered a bug." 23:56 < kfx> Zeffrin: that doesn't really answer my question 23:57 -!- skammer [n=skammer@ppp94-29-59-119.pppoe.spdop.ru] has joined #go-nuts --- Log closed Mon Nov 30 00:00:29 2009