--- Log opened Sun May 16 00:00:46 2010
--- Day changed Sun May 16 2010
00:00 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
00:02 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
00:08 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
00:09 -!- SecretofMana [~mana@142.46.164.30] has quit [Client Quit]
00:15 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
00:20 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
00:30 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
00:30 -!- yebyen [~yebyen@harrydavis.csh.rit.edu] has joined #go-nuts
00:41 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Ping timeout: 264 seconds]
00:42 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 252
seconds]
00:57 -!- smw [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Read error:
Connection reset by peer]
00:57 -!- smw [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has joined #go-nuts
01:00 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
01:14 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has quit [Quit:
Null-A]
01:15 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has joined
#go-nuts
01:24 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
01:25 -!- ikke [~ikke@187.7.120.105] has joined #go-nuts
01:25 -!- ikke [~ikke@187.7.120.105] has quit [Changing host]
01:25 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
01:27 -!- ikkebr [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 246 seconds]
01:32 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit:
nchaimov]
01:37 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
01:50 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 248 seconds]
01:58 -!- jeek [~jeek@pedobear.jeek.net] has quit [Ping timeout: 246 seconds]
02:01 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
02:02 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined
#go-nuts
02:10 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has quit [Quit:
Null-A]
02:12 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
02:16 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has joined
#go-nuts
02:39 -!- ikke [~ikke@unaffiliated/ikkebr] has quit []
02:43 -!- jeek [~jeek@pedobear.jeek.net] has joined #go-nuts
03:29 -!- Pete_27 [~noname@115-64-1-61.static.tpgi.com.au] has quit [Ping timeout:
252 seconds]
03:31 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
03:35 -!- dave_r5 [~d@adsl-75-55-127-140.dsl.sfldmi.sbcglobal.net] has joined
#go-nuts
03:35 -!- Herr_Tatze [~tazjin@p5DC82A16.dip.t-dialin.net] has joined #go-nuts
03:39 -!- tazjin [~tazjin@p5DC83F2C.dip.t-dialin.net] has quit [Ping timeout: 265
seconds]
03:52 -!- rhelmer__ [~rhelmer@adsl-69-107-94-119.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer__]
04:18 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
04:30 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
04:40 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Ping timeout: 246 seconds]
04:41 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
04:54 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Read error:
Connection reset by peer]
04:55 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
05:02 -!- scm [justme@d071135.adsl.hansenet.de] has quit [Ping timeout: 248
seconds]
05:04 -!- scm [justme@d070028.adsl.hansenet.de] has joined #go-nuts
05:29 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Quit: leaving]
05:29 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
05:34 -!- kobkrit [~kobkrit@2001:200:141:6151:224:21ff:fe1e:4d16] has quit [Quit:
Ex-Chat]
05:44 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
05:59 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 264 seconds]
06:25 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 246 seconds]
06:34 -!- gospch [~gospch@unaffiliated/gospch] has joined #go-nuts
07:03 -!- richardr [~richard@124-169-205-151.dyn.iinet.net.au] has quit [Quit:
Lost terminal]
07:07 -!- gospch [~gospch@unaffiliated/gospch] has quit [Read error: Connection
reset by peer]
07:08 -!- Null-A [~Null-A@c-98-210-102-188.hsd1.ca.comcast.net] has left #go-nuts
[]
07:09 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
07:12 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
07:13 -!- gospch [~gospch@unaffiliated/gospch] has joined #go-nuts
07:13 < taruti> meh
07:13 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has joined #go-nuts
07:14 < taruti> is it possible to build packages with files like
foo_$GOOS.go with goinstall?
07:20 < jessta> I'd assume so
07:20 < jessta> doesn't goinstall just run make?
07:20 < taruti> jessta: but for remote packages it *generates* a Makefile
containing all the files in the directory
07:21 < taruti> http://golang.org/src/cmd/goinstall/make.go see domake()
there
07:25 < yebyen> is that the infamous gomake?
07:25 -!- Guest1752 [~itorres@gandi.bedynamic.net] has left #go-nuts []
07:25 < yebyen> i tried a project called gomake that was supposed to
generate makefiles
07:25 < yebyen> didn't do much
07:29 < taruti> yebyen: gomake is a different beast.
07:29 < taruti> posted to the ml
07:30 < yebyen> there's gomake in the source tree
07:30 < yebyen> and there's gomake of google code
07:30 < taruti> yes, that is just a wrapper on make
07:30 < taruti> the golang.org one
07:30 < yebyen> so, how do I trigger domake in goinstall?
07:31 < yebyen> i've got a directory full of files with different packages
that are all not package main
07:31 < yebyen> that sounds kind of kinky
07:31 < yebyen> domake in goinstall
07:31 < taruti> the code is simple
07:31 < taruti> see especially "local" for the case I am tripping up with
07:33 < yebyen> what's goinstall supposed to do?
07:33 < yebyen> makefile generation?
07:33 < yebyen> i can't make it go
07:45 -!- BrowserUk [~irc1_20_B@2.99.171.27] has joined #go-nuts
07:51 < BrowserUk> Does go allow anonymous functions?
07:53 < jessta> BrowserUk: an anonoymous function is kind of silly, how do
you call it?
07:54 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:54 < jessta> go has http://golang.org/doc/go_spec.html#Function_literals
07:55 < jessta> and http://golang.org/doc/go_spec.html#Function_types
07:56 < BrowserUk> Jessta: Not in other languages . Ever heard of the
Y-combinaor?
08:02 < jessta> they just give it a name in a different way
08:06 -!- lux` [~lux`@151.95.180.63] has joined #go-nuts
08:07 < BrowserUk> Okay.  Function literals are what I need.  Thanks jessta.
08:07 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Ping timeout: 240 seconds]
08:10 -!- engla [~ulrik@90-229-236-112-no153.tbcn.telia.com] has joined #go-nuts
08:10 -!- engla [~ulrik@90-229-236-112-no153.tbcn.telia.com] has quit [Changing
host]
08:10 -!- engla [~ulrik@wikipedia/Sverdrup] has joined #go-nuts
08:18 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
08:21 -!- wrtp [~rog@89.242.170.31] has joined #go-nuts
08:26 < BrowserUk> jessta: Got time to try http://pastebin.com/yB6ftMUU and
see if the panic is a win port phenomena only?
08:28 -!- kel_ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has joined #go-nuts
08:28 < jessta> BrowserUk: what's it supposed to do?
08:31 < BrowserUk> the outer bit just monitors teh value of x every second
whilst the go routine runs a ano^H^H^H function literal that closes over X and
increments it.
08:32 < jessta> lol, an "anonymous function" named "b" :P
08:32 < BrowserUk> If you comment out the loop and uncomment the two lines
above it, everything works as expected.
08:32 < jessta> anyway, where is it panicing?
08:33 < BrowserUk> It's just terminology jessta.  Different langs differ.  I
could call it a closure (lisp) lambda (Haskell) whatever...
08:33 -!- Project_2501 [~Marvin@82.84.68.182] has joined #go-nuts
08:34 < BrowserUk> jessta: I get http://pastebin.com/NTnyTX1i here
08:37 < BrowserUk> jessta: http://pastebin.com/djEksEV7 There you go [:)},
now it's anonymous.
08:43 < jessta> BrowserUk: I think you found a bug, because that code
shouldn't panic
08:43 < BrowserUk> jessta: Thought so, but is it just on the windows port or
more general?
08:46 < jessta> it doesn't panic here, 386/linux
08:47 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
08:48 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
08:50 < BrowserUk> jessta: Okay thanks.  I guess I'll just back off until
the windows port is a bit more mature.  :(
08:56 -!- BrowserUk [~irc1_20_B@2.99.171.27] has left #go-nuts []
08:56 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
08:57 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
09:00 -!- BrowserUk [~irc1_20_B@2.99.171.27] has joined #go-nuts
09:04 < BrowserUk> jessta: do any of the windows port developers hang around
here?  (Or am I the only fool trying to use it?)
09:07 -!- lux` [~lux`@151.95.180.63] has quit [Remote host closed the connection]
09:30 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
09:32 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
09:34 < BrowserUk> jessta: was it something I said?  Will a rose make up for
my mistake?  @>--`-,-`-,--
09:34 -!- BrowserUk [~irc1_20_B@2.99.171.27] has left #go-nuts []
09:37 -!- marsu [~marsu@249.51.202-77.rev.gaoland.net] has joined #go-nuts
09:38 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
09:41 -!- hcatlin [~hcatlin@host81-154-247-157.range81-154.btcentralplus.com] has
joined #go-nuts
09:42 -!- hcatlin [~hcatlin@host81-154-247-157.range81-154.btcentralplus.com] has
quit [Changing host]
09:42 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
09:43 < madari> hmm
09:44 < madari> is it a bad idea to implement long-polling timeout in this
way:
09:44 < madari> http://pastie.org/private/zhaa9lht9qbmt31t1d0phq
09:46 < madari> that also catches the EOFs on the line
09:46 < madari> but is that silly?
10:02 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
10:03 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
10:16 -!- damn3d [damn3d@unaffiliated/morpheus/x-0931003] has quit [Ping timeout:
258 seconds]
10:20 -!- Damn3d [damn3d@r26653.ovh.net] has joined #go-nuts
10:21 -!- Herr_Tatze [~tazjin@p5DC82A16.dip.t-dialin.net] has left #go-nuts []
10:25 -!- tazjin [~tazjin@p5DC82A16.dip.t-dialin.net] has joined #go-nuts
10:32 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
10:33 -!- Project_2501 [~Marvin@82.84.68.182] has quit [Quit: E se abbasso questa
leva che succ...]
10:33 -!- ayo [~nya@e183149084.adsl.alicedsl.de] has joined #go-nuts
10:37 -!- aho [~nya@f051189218.adsl.alicedsl.de] has quit [Ping timeout: 265
seconds]
10:56 -!- tvw [~tv@e176008132.adsl.alicedsl.de] has joined #go-nuts
10:56 < wrtp> is there a standard way to round a float to the nearest int in
go?
11:02 < madari> dunno, maybe just int(yourFloat + 0.5)
11:20 -!- engla [~ulrik@wikipedia/Sverdrup] has quit [Ping timeout: 260 seconds]
11:26 -!- unomi [~unomi@unaffiliated/unomi] has joined #go-nuts
11:27 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined
#go-nuts
11:35 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 252 seconds]
11:36 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
11:38 -!- Kashia [~Kashia@p4FEB5CD2.dip.t-dialin.net] has joined #go-nuts
11:39 -!- unomi [~unomi@unaffiliated/unomi] has quit [Quit: WeeChat 0.2.6]
11:41 -!- tvw [~tv@e176008132.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:42 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
11:44 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
11:44 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
12:04 -!- wtfness [~wtfness@89.211.205.129] has joined #go-nuts
12:19 -!- kel_ [~kel@cpc2-leat2-0-0-cust98.hers.cable.ntl.com] has quit [Ping
timeout: 265 seconds]
12:21 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
12:21 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
12:25 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
12:27 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Ping
timeout: 276 seconds]
12:42 -!- marsu [~marsu@249.51.202-77.rev.gaoland.net] has quit [Ping timeout: 264
seconds]
12:46 -!- wtfness [~wtfness@89.211.205.129] has quit [Read error: Connection reset
by peer]
12:47 -!- wtfness [~wtfness@78.101.250.182] has joined #go-nuts
12:49 -!- ayo [~nya@e183149084.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
12:56 -!- marsu [~marsu@18.92.202-77.rev.gaoland.net] has joined #go-nuts
12:57 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
12:59 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
13:04 < wrtp> madari: doesn't work if yourFloat < 0
13:05 < wrtp> madari: so you have to do it with an if statement.  and that
still doesn't give you round to even, which would be nice
13:27 -!- rinzai [~rinzai@host81-157-103-101.range81-157.btcentralplus.com] has
joined #go-nuts
13:33 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
13:33 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has quit
[Client Quit]
13:46 -!- xenplex [~xenplex@195.46.241.226] has joined #go-nuts
14:00 < madari> wrtp: what do you mean that it doesn't give you round to
even?
14:01 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
14:10 -!- kashia_ [~Kashia@p4FEB39F9.dip.t-dialin.net] has joined #go-nuts
14:13 -!- Kashia [~Kashia@p4FEB5CD2.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
14:21 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
14:24 -!- ly- [~ly-@unaffiliated/ly-] has joined #go-nuts
14:28 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
14:28 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
14:40 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 264 seconds]
14:45 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
14:53 -!- smw_ [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has joined #go-nuts
14:53 -!- smw [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Read error: No
route to host]
14:57 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
14:57 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
14:58 -!- Ginto8__ [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
15:01 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
15:07 -!- ukai [~ukai@220.109.219.244] has quit [Ping timeout: 276 seconds]
15:09 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
15:09 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
15:14 -!- wtfness [~wtfness@78.101.250.182] has quit [Quit: TEA Enlightment and
Amusment]
15:17 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally
caught me]
15:19 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
15:19 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
15:20 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
15:25 -!- rinzai [~rinzai@host81-157-103-101.range81-157.btcentralplus.com] has
quit [Quit: Leaving]
15:42 -!- Xurix [~Luixsia@AToulouse-254-1-44-216.w81-250.abo.wanadoo.fr] has
joined #go-nuts
15:44 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
15:47 -!- smw_ [~stephen@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Remote host
closed the connection]
15:50 -!- mertimor [~mertimor@p4FE75B2B.dip.t-dialin.net] has joined #go-nuts
15:51 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Ping timeout: 260
seconds]
15:51 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
15:52 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
15:57 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Ping timeout:
260 seconds]
15:58 -!- ikaros [~ikaros@g228076039.adsl.alicedsl.de] has joined #go-nuts
15:59 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined
#go-nuts
16:00 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
16:02 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
16:05 -!- Damn3d [damn3d@r26653.ovh.net] has quit [Read error: Connection reset by
peer]
16:06 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
16:07 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
16:08 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
16:08 -!- tazjin|off [~tazjin@tmo-100-178.customers.d1-online.com] has joined
#go-nuts
16:09 -!- marsu [~marsu@18.92.202-77.rev.gaoland.net] has quit [Quit: Leaving]
16:09 -!- tazjin|off [~tazjin@tmo-100-178.customers.d1-online.com] has quit
[Remote host closed the connection]
16:10 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
16:12 -!- tazjin [~tazjin@p5DC82A16.dip.t-dialin.net] has quit [Ping timeout: 264
seconds]
16:12 -!- tazjin [~tazjin@tmo-100-178.customers.d1-online.com] has joined #go-nuts
16:12 -!- ukai [~ukai@220.109.219.244] has joined #go-nuts
16:14 -!- Guest505150932 [~81151c0a@gateway/web/freenode/x-xwizbsvrmzsbcyhl] has
joined #go-nuts
16:14 -!- tazjin [~tazjin@tmo-100-178.customers.d1-online.com] has quit [Read
error: Connection reset by peer]
16:14 -!- tazjin [~tazjin@p5DC83FE8.dip.t-dialin.net] has joined #go-nuts
16:16 -!- Guest505150932 [~81151c0a@gateway/web/freenode/x-xwizbsvrmzsbcyhl] has
quit [Client Quit]
16:18 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
16:23 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
16:24 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
16:25 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
16:34 -!- tazjin|off [~tazjin@p5DC82313.dip.t-dialin.net] has joined #go-nuts
16:36 -!- tazjin|of [~tazjin@p5DC82313.dip.t-dialin.net] has joined #go-nuts
16:36 -!- tazjin|off [~tazjin@p5DC82313.dip.t-dialin.net] has quit [Read error:
Connection reset by peer]
16:36 -!- tazjin [~tazjin@p5DC83FE8.dip.t-dialin.net] has quit [Ping timeout: 276
seconds]
16:37 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
16:37 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 246
seconds]
16:45 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
16:46 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
16:51 -!- tazjin [~tazjin@p5DC82313.dip.t-dialin.net] has joined #go-nuts
16:52 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
16:52 -!- gospch [~gospch@unaffiliated/gospch] has quit [Read error: Connection
reset by peer]
16:55 -!- tazjin|of [~tazjin@p5DC82313.dip.t-dialin.net] has quit [Ping timeout:
268 seconds]
16:55 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
16:55 < kimelto> morning!
16:57 < madari> yo!  it's evening here
16:57 < madari> 8pm :)
16:58 < madari> how expensive are string([]byte) and []byte(string)
conversions?  IIRC strings are immutable by design and hence both of these make
copies of the data
16:58 < madari> or ?
16:58 < madari> Am I just wrong :D
17:03 < jessta> madari: http://www.total-knowledge.com/~ilya/mips/ugt.html
17:03 < jessta> madari: that sounds about right
17:08 < madari> jessta: ok =) thanks for the UGT knowledge
17:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
17:11 < exch> madari: yes, strings are immutable.  If you need speed, use
bytes.Buffer instead
17:13 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
17:17 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
17:18 < madari> exch: I'll do my best.  thanks
17:19 -!- ikke [~ikke@187.7.120.105] has joined #go-nuts
17:19 -!- ikke [~ikke@187.7.120.105] has quit [Changing host]
17:19 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
17:21 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 248 seconds]
17:23 < mk64ftw_> is there an easy way to control where packages built with
cgo look for their shared object counterpart?
17:29 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:f54a:7c8e:480:66f4] has joined
#go-nuts
17:30 -!- TR2N [email@89.180.215.53] has joined #go-nuts
17:35 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
17:36 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
17:38 -!- engla [~ulrik@90-229-236-112-no153.tbcn.telia.com] has joined #go-nuts
17:38 -!- engla [~ulrik@90-229-236-112-no153.tbcn.telia.com] has quit [Changing
host]
17:38 -!- engla [~ulrik@wikipedia/Sverdrup] has joined #go-nuts
17:41 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has joined
#go-nuts
18:00 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
18:01 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
18:03 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
18:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
18:10 -!- Ginto8__ [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Read error: Connection reset by peer]
18:11 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
18:31 -!- kashia_ [~Kashia@p4FEB39F9.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
18:32 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Read error: Connection reset by peer]
18:37 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
18:42 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
18:56 -!- mertimor [~mertimor@p4FE75B2B.dip.t-dialin.net] has quit [Quit:
mertimor]
18:57 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:01 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client
Quit]
19:02 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
joined #go-nuts
19:11 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
19:14 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 264 seconds]
19:14 -!- eikenberry [~jae@mail.zhar.net] has joined #go-nuts
19:19 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
19:26 -!- tvw [~tv@e176015177.adsl.alicedsl.de] has joined #go-nuts
19:33 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:33 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Client
Quit]
19:40 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts
19:41 < hstimer> I'm going to wrap a c library.  What is the best example to
look at?
19:42 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
19:44 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
19:44 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
19:47 < MizardX> hstimer: Here you have a few:
http://go-lang.cat-v.org/library-bindings
19:48 < hstimer> Thanks, seen that.  I was just wondering if there is one
that is consider the "model citizen" of how it is done
19:48 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has quit [Quit:
marchdown]
19:49 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:53 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has joined
#go-nuts
19:56 -!- tvw [~tv@e176015177.adsl.alicedsl.de] has quit [Remote host closed the
connection]
19:56 < MizardX> I haven't been able to find much documentation except for
what is on http://golang.org
19:57 < Ginto8> Well go-sdl at least attempts to make a bitwise-equivalent
struct and cast the raw pointer data to that
19:59 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
20:06 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
20:07 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has joined #go-nuts
20:12 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
joined #go-nuts
20:13 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
20:22 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has quit [Quit:
marchdown]
20:28 -!- engla [~ulrik@wikipedia/Sverdrup] has quit [Quit: leaving]
20:33 -!- aho [~nya@f051160179.adsl.alicedsl.de] has joined #go-nuts
20:34 -!- xenplex [~xenplex@195.46.241.226] has quit [Quit: xenplex]
20:38 < wrtp> madari:
http://en.wikipedia.org/wiki/Rounding#Round_half_to_even
20:41 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has joined
#go-nuts
20:42 -!- ns-nen [~ns-nen@95-29-70-119.broadband.corbina.ru] has joined #go-nuts
20:54 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:f54a:7c8e:480:66f4] has quit
[Quit: Leaving.]
21:00 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has joined
#go-nuts
21:00 -!- ns-nen [~ns-nen@95-29-70-119.broadband.corbina.ru] has left #go-nuts []
21:06 -!- wrtp [~rog@89.242.170.31] has quit [Quit: wrtp]
21:08 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
21:09 -!- zozoR [~zozoR@0x5da69cf2.cpe.ge-0-1-0-1105.hsnqu1.customer.tele.dk] has
quit [Quit: Morten.  Desu~]
21:10 -!- ly- [~ly-@unaffiliated/ly-] has quit [Ping timeout: 246 seconds]
21:12 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:20 -!- Kashia [~Kashia@port-92-200-112-166.dynamic.qsc.de] has joined #go-nuts
21:20 -!- ly- [~ly-@56.8.75-86.rev.gaoland.net] has joined #go-nuts
21:20 -!- ly- [~ly-@56.8.75-86.rev.gaoland.net] has quit [Changing host]
21:20 -!- ly- [~ly-@unaffiliated/ly-] has joined #go-nuts
21:24 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:39 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has quit [Quit:
marchdown]
21:40 -!- petar [~petar@178-83-236-2.dclient.hispeed.ch] has joined #go-nuts
21:41 -!- belkiss [~belkiss@drn13-1-78-235-168-105.fbx.proxad.net] has quit [Quit:
KVIrc Insomnia 4.0.0, revision: 4246, sources date: 20100125, built on: 2010-04-11
09:49:35 UTC http://www.kvirc.net/]
21:46 -!- petar [~petar@178-83-236-2.dclient.hispeed.ch] has left #go-nuts []
21:48 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
21:49 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
21:52 -!- marchdown [~marchdown@ppp79-139-171-114.pppoe.spdop.ru] has joined
#go-nuts
21:55 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:00 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:01 -!- gospch [~gospch@unaffiliated/gospch] has joined #go-nuts
22:03 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
22:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
22:05 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
22:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
22:10 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
22:12 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
22:23 -!- awidegreen [~quassel@62.176.237.78] has quit [Read error: Connection
reset by peer]
22:23 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
22:36 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Read error:
Operation timed out]
22:49 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
22:49 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 248 seconds]
22:50 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Remote
host closed the connection]
22:53 -!- Project_2501 [~Marvin@82.84.68.182] has joined #go-nuts
23:00 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche]
23:05 -!- ikaros [~ikaros@g228076039.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
23:11 < MizardX> Is there any library function for handling UTF-16/32
encoded text?
23:11 < Ginto8> I believe so
23:11 < Ginto8> lemme check
23:12 < Ginto8> well there's the package utf16
23:13 < Ginto8> I can't find a utf32 interface
23:13 < MizardX> Ah, now I see it.  I guess I can write something based on
the two other packages.  Thanks.
23:16 -!- Abablabab [~Boggy-B|H@93-96-78-46.zone4.bethere.co.uk] has joined
#go-nuts
23:17 < Abablabab> Hello
23:18 < Abablabab> Silly question, to get array lengths can i just query
<array>.Length()?
23:18 < Ginto8> nope
23:18 < Ginto8> len(<array>)
23:18 < Ginto8> and cap(<array>) is the capacity, but it's really only
useful for slices
23:18 < Abablabab> thanks a lot
23:18 < Ginto8> np
23:19 < Ginto8> and arrays aren't really used in situations where you don't
know their lengths
23:19 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
23:19 < Ginto8> slices tend to be
23:19 < Ginto8> but not arrays
23:19 < Abablabab> well I'm doing some messing with strings, and i just need
everything after the ':' so im using Split() limited to 1 substring
23:20 < Abablabab> but i wanted to not limit it, and then use a for to print
out the full content, which id guess you need the length for
23:20 < Ginto8> nope
23:20 < Ginto8> for i,x := range v {}
23:20 < Ginto8> where v is a slice/array/channel/map
23:21 < Ginto8> i is the index and x is the value (not the reference!) of
v[i]
23:21 < Abablabab> that's brilliant, thanks
23:22 < Ginto8> np I have a thing for remembering small things that are
useful in any language I use =D
23:23 < Abablabab> Well like a lot of college students i have the stank of
Java on me, and I'm coming into Go form a concurrent angle, rather than a C-like
one
23:23 < Abablabab> so some of this is over my head :)
23:26 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
23:26 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit
[Read error: Connection reset by peer]
23:32 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
23:34 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
23:34 -!- braddunbar [~brad@rrcs-24-172-225-206.midsouth.biz.rr.com] has joined
#go-nuts
23:40 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit
[Quit: Svarthandske]
23:43 -!- jhawk28 [~jhawk28@72.40.31.201] has joined #go-nuts
23:47 -!- Project_2501 [~Marvin@82.84.68.182] has quit [Quit: E se abbasso questa
leva che succ...]
23:50 -!- tazjin [~tazjin@p5DC82313.dip.t-dialin.net] has quit [Quit: Leaving...]
23:50 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
23:54 -!- ikkebr [~ikke@unaffiliated/ikkebr] has joined #go-nuts
23:56 -!- fishpond1 [~ca7a95c3@gateway/web/freenode/x-oclzyxkipamhezfi] has joined
#go-nuts
23:56 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 265 seconds]
23:57 -!- ajbouh [~adamb@c-71-233-151-63.hsd1.ma.comcast.net] has joined #go-nuts
--- Log closed Mon May 17 00:00:56 2010