--- Log opened Sun Jan 23 00:00:05 2011 00:05 -!- nettok [~quassel@200.119.151.131] has quit [Ping timeout: 255 seconds] 00:21 -!- acetoline [~acetoline@122.58.180.208] has quit [Ping timeout: 276 seconds] 00:27 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 00:30 -!- cafesofie [~cafesofie@dhcp-140-254-204-61.osuwireless.ohio-state.edu] has joined #go-nuts 00:36 -!- acetoline [~acetoline@122.58.180.208] has joined #go-nuts 00:41 -!- snearch [~snearch@f053009197.adsl.alicedsl.de] has quit [Quit: Verlassend] 00:46 -!- DerHorst [~Horst@e176122210.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 00:50 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 240 seconds] 00:56 -!- nettok [~quassel@200.119.189.154] has joined #go-nuts 00:56 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 01:08 -!- nettok [~quassel@200.119.189.154] has quit [Ping timeout: 276 seconds] 01:20 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 01:45 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 01:50 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has quit [Ping timeout: 240 seconds] 01:54 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has joined #go-nuts 02:01 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has quit [Ping timeout: 265 seconds] 02:02 -!- rm445 [rm445@pip.srcf.societies.cam.ac.uk] has quit [Remote host closed the connection] 02:03 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has joined #go-nuts 02:03 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 02:07 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 265 seconds] 02:30 -!- cafesofie [~cafesofie@dhcp-140-254-204-61.osuwireless.ohio-state.edu] has quit [Remote host closed the connection] 02:44 -!- cafesofie [~cafesofie@dhcp-140-254-204-61.osuwireless.ohio-state.edu] has joined #go-nuts 02:46 -!- elimisteve [~elimistev@pool-71-102-138-52.snloca.dsl-w.verizon.net] has left #go-nuts ["Peace"] 03:28 -!- boscop__ [~boscop@f055157200.adsl.alicedsl.de] has joined #go-nuts 03:30 -!- brownee [~brownee@209.34.56.106] has quit [Ping timeout: 240 seconds] 03:30 -!- boscop_ [~boscop@g227004047.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 03:46 -!- cafesofie [~cafesofie@dhcp-140-254-204-61.osuwireless.ohio-state.edu] has quit [Ping timeout: 240 seconds] 03:48 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has joined #go-nuts 03:49 -!- mosva [~mosva@unaffiliated/mosva] has quit [Ping timeout: 276 seconds] 03:50 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has quit [Quit: Leaving] 03:56 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 04:00 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Read error: Connection reset by peer] 04:01 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 04:13 -!- jkakar [~jkakar@106.Red-79-156-160.staticIP.rima-tde.net] has quit [Ping timeout: 255 seconds] 04:13 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has joined #go-nuts 04:25 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has joined #go-nuts 04:25 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 04:26 -!- shvntr [~shvntr@113.84.150.79] has joined #go-nuts 04:34 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Read error: Connection reset by peer] 04:34 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 04:38 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 05:00 -!- DerHorst [~Horst@e176096051.adsl.alicedsl.de] has joined #go-nuts 05:13 -!- boscop__ [~boscop@f055157200.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 05:18 -!- allengeorge [~allengeor@70.26.100.141] has quit [Quit: allengeorge] 05:21 -!- Natch [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #go-nuts 05:21 -!- Natch| [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 05:38 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 05:39 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has joined #go-nuts 05:53 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping timeout: 240 seconds] 05:53 -!- karpar [~karpar@112.96.255.14] has joined #go-nuts 05:54 < quantumelixir> How do I get an object of type that satisfies the io.Reader interface associated with a file? 05:56 <+iant> quantumelixir: os.Open 05:56 < quantumelixir> ah, I was looking in syscall.. 05:56 < quantumelixir> iant: thanks 05:57 <+iant> syscall is a low level system dependent library which programs are not expected to call 05:58 < quantumelixir> then the go/doc/progs/ section needs a cleanup :) 05:58 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 05:58 < quantumelixir> it has an example program file.go that does this 06:01 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit: adu] 06:02 <+iant> those programs aren't really expected to be read by themselves, they are part of http://golang.org/doc/go_tutorial.html 06:02 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts 06:05 < quantumelixir> hmm.. I suppose, for that specific program, they intentionally did not use os.Open to show how to roll out a package 06:11 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit: Lost terminal] 06:15 < quantumelixir> Is this the best way to read a file line by line in Go? http://pastie.org/1489094 06:17 < quantumelixir> The problem is that it's rather slow for large files 06:20 -!- illya77 [~illya77@191-4-133-95.pool.ukrtel.net] has joined #go-nuts 06:22 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #go-nuts 06:24 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping timeout: 240 seconds] 06:28 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Remote host closed the connection] 06:31 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 06:34 < Soultaker> quantumelixir: any idea why it's slow? 06:35 < Soultaker> e.g. would ReadSlice be faster, maybe, because you wouldn't need to construct so many strings? 06:39 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 06:40 < quantumelixir> It's a file with 500k lines. I don't know which of the two will be faster -- buffered/unbuffered. It would be ideal to get a []string result. 06:41 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Remote host closed the connection] 06:45 -!- nettok [~quassel@200.119.168.166] has joined #go-nuts 06:51 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 06:59 -!- mosva [~mosva@unaffiliated/mosva] has quit [Quit: mosva] 07:00 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 07:02 -!- bmizerany [~bmizerany@c-76-21-40-207.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 07:02 -!- mosva [~mosva@unaffiliated/mosva] has quit [Client Quit] 07:05 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 07:05 -!- karpar [~karpar@112.96.255.14] has quit [Quit: Bye!] 07:06 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined #go-nuts 07:07 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Client Quit] 07:07 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 07:07 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 07:11 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping timeout: 246 seconds] 07:28 < taruti> Are the len and cap fields of a slice 4 or 8 bytes long on amd64? i.e. is a slice 16 or 24 bytes? 08:09 < Soultaker> according to runtime.h it's byte* array; uint32 len; uint32 cap; 08:10 < Soultaker> so 12 bytes on x86, 16 bytes on amd64. 08:11 -!- gits [~gits@77.94.219.158] has joined #go-nuts 08:14 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 08:18 -!- DerHorst [~Horst@e176096051.adsl.alicedsl.de] has quit [Remote host closed the connection] 08:20 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 08:20 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 08:29 -!- sav [~lsd@189001130056.usr.predialnet.com.br] has quit [Quit: Leaving] 08:29 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 08:35 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 08:37 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 08:37 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 08:40 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 08:53 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Remote host closed the connection] 08:58 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 255 seconds] 08:58 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 09:01 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has joined #go-nuts 09:05 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 09:12 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 246 seconds] 09:16 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has joined #go-nuts 09:18 -!- xash [~xash@d073140.adsl.hansenet.de] has joined #go-nuts 09:26 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 09:31 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 264 seconds] 09:33 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 09:43 -!- Ina [~Ina@524AF477.cm-4-3d.dynamic.ziggo.nl] has joined #go-nuts 09:44 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts 09:49 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts 09:50 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 09:52 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 09:54 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts 09:56 -!- cafesofie [~cafesofie@rnwifi-164-107-92-196.resnet.ohio-state.edu] has quit [Remote host closed the connection] 10:03 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 10:03 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 10:03 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 10:03 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 10:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-121.clienti.tiscali.it] has joined #go-nuts 10:17 -!- Project-2501 [~Marvin@82.84.98.244] has joined #go-nuts 10:20 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-121.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 10:20 < bXi> hmm i'm having some trouble understanding this 10:21 < bXi> i found some example code concerning websockets 10:21 < bXi> but when i try to make some sense of it with print statements i see the ascii representation of the text i send. 10:25 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se] has joined #go-nuts 10:25 < aiju> bXi: printing byte slices? 10:26 < bXi> looks like it 10:26 < aiju> you need to convert those to strings 10:26 < bXi> okay 10:27 < aiju> might be as simple as string(slice) but i'm undercaffeinated 10:27 < bXi> same here 10:27 < bXi> well it is as simple as that! 10:28 < bXi> if i were to do string := string(slice) would i just get a string i can work with? 10:28 < aiju> yeah 10:28 < bXi> awesome 10:28 -!- nettok [~quassel@200.119.168.166] has quit [Ping timeout: 255 seconds] 10:29 < aiju> note that UTF-8 decoding is done by some string functions, so you shouldn't do this with binary data 10:30 < bXi> well i understand that websockets pass bytes around 10:31 < bXi> hmm 10:31 < bXi> even if i use weird chinese characters on the web front end the go stuff actually sees the characters 10:31 < aiju> すごい 10:31 < aiju> ("awesome") 10:34 < bXi> now to find something that handles config files 10:34 < aiju> plain text 10:34 < aiju> for the love of ken 10:36 -!- erus` [~tommo@cpc1-gill2-0-0-cust436.basl.cable.virginmedia.com] has joined #go-nuts 10:38 < taruti> bXi: just use json 10:39 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has joined #go-nuts 10:41 < bXi> i was thinking about json 10:42 < bXi> but our config files might become fairly large and json wont be that easy to edit then 10:42 < aiju> INI format 10:42 < bXi> does go handle that nativly? 10:43 < bXi> i have found a project called goconf which looks fairly good 10:44 < bXi> pretty INI like as well 10:45 -!- rm445 [rm445@pip.srcf.societies.cam.ac.uk] has joined #go-nuts 10:45 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has quit [Quit: Reconnecting…] 10:46 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has joined #go-nuts 10:49 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts 10:57 < mosva> Any documents on comipler architecture? 10:57 < aiju> many 10:57 < aiju> or you mean the Go compiler? 10:57 < mosva> yeah 10:57 -!- larva [~larvanitr@ec2-46-51-171-183.eu-west-1.compute.amazonaws.com] has quit [Remote host closed the connection] 10:58 < aiju> i couldn't find any documents on Go internals 10:58 < aiju> i just read source 10:58 < mosva> aiju, so you understood the architecture? 10:58 < aiju> no :> 10:58 -!- larva [~larvanitr@ec2-46-51-171-183.eu-west-1.compute.amazonaws.com] has joined #go-nuts 10:58 < jumzi> i love the word architecture 10:59 < mosva> :) 10:59 < taruti> http://goin.wikispot.org 10:59 < aiju> hey! 10:59 < aiju> why does nobody tell me this shit if i ask? 11:00 < jumzi> You're making everyone feel dum 11:01 < taruti> that was linked on go-nuts at some point 11:01 < mosva> I can't find information in there 11:02 < taruti> what would you like know about? 11:02 < taruti> rsc's blog also has lots of info 11:04 * jumzi shivers at the word "blog" 11:04 < jumzi> Suppose i'll have to accept what the world has becomed eventually tough 11:04 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 11:06 < mosva> jumzi, What is the problemw the word blog? 11:07 < jumzi> It's not the word perse! 11:07 < jumzi> Obviously 11:07 < aiju> i call them "stupid pointless websites" 11:09 < mosva> I wouldn't call this: http://research.swtch.com/search/label/Go pointless 11:09 < jumzi> It's more the culture thats been built up around it, and yeah the fact that we are so full of ourself that we write a often highly opiniated diary and put it on the web so other people can see who we are and be... i don't know... affected by us? 11:10 < jumzi> "I'm that important and intressting" 11:10 < jumzi> "And i gave my cat some eggs this morning" 11:10 < amro> a blog is no different than a forum or other website, it could be useful just as it could be a waste of time 11:11 < aiju> fora are usually useless as well 11:12 < jumzi> I ofcourse oversimplify 11:13 -!- Kashia [~Kashia@port-92-200-29-154.dynamic.qsc.de] has joined #go-nuts 11:14 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 272 seconds] 11:14 < jumzi> But blogs generally have a high volume of crap in it, not saying i sometimes enjoy reading some stuff 11:14 < jumzi> don't w/e 11:15 < amro> the interenet generally has a high volume of crap 11:15 < amro> the trick is to find the good stuff 11:15 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping timeout: 240 seconds] 11:15 < jumzi> Obsolutely, and looking trough blogs generally is a waste of time 11:16 * jumzi is facinated by the fact that he can almost spell 11:17 < amro> looking through any form of website in general is a waste of time 11:17 < amro> stop singling out blogs 11:18 < jumzi> as i said, it's more the culture around them tough, newpapers and the alike that put emphasiz on them 11:19 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read error: Connection reset by peer] 11:22 -!- tensorpudding [~user@99.23.127.179] has quit [Read error: Connection reset by peer] 11:36 < mosva> Is the parser in Go? 11:37 -!- wrtp [~rog@92.17.17.115] has joined #go-nuts 11:38 < mosva> hello wrtp 11:38 < wrtp> hiya 11:45 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts 11:47 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Ping timeout: 265 seconds] 11:49 < aiju> mosva: the Compiler? no 11:49 -!- acetoline [~acetoline@122.58.180.208] has quit [Ping timeout: 276 seconds] 12:05 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 12:12 -!- femtoo [~femto@95-89-198-16-dynip.superkabel.de] has joined #go-nuts 12:20 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has quit [Read error: Operation timed out] 12:23 -!- Kashia [~Kashia@port-92-200-29-154.dynamic.qsc.de] has quit [Ping timeout: 246 seconds] 12:24 -!- atsampson [~ats@94-194-126-16.zone8.bethere.co.uk] has left #go-nuts [] 12:33 -!- Kashia [~Kashia@port-92-200-22-196.dynamic.qsc.de] has joined #go-nuts 12:43 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts 12:48 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal] 12:55 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the connection] 12:56 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR] 12:59 -!- im2ee [im2ee@gateway/shell/bshellz.net/x-nlzxhzizpdbtqsob] has joined #go-nuts 13:12 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 13:32 -!- erus` [~tommo@cpc1-gill2-0-0-cust436.basl.cable.virginmedia.com] has quit [Remote host closed the connection] 13:33 -!- erus` [~tommo@cpc1-gill2-0-0-cust436.basl.cable.virginmedia.com] has joined #go-nuts 13:34 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Ping timeout: 240 seconds] 13:39 -!- DerHorst [~Horst@e176096051.adsl.alicedsl.de] has joined #go-nuts 13:57 -!- TheMue [~TheMue@p5DDF6E44.dip.t-dialin.net] has joined #go-nuts 13:57 -!- MX80 [~MX80@cust141.253.117.74.dsl.g3telecom.net] has joined #go-nuts 13:58 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 240 seconds] 14:00 -!- dju [dju@fsf/member/dju] has joined #go-nuts 14:08 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Remote host closed the connection] 14:11 -!- wrtp [~rog@92.17.17.115] has quit [Quit: wrtp] 14:20 -!- boscop__ [~boscop@f055157200.adsl.alicedsl.de] has joined #go-nuts 14:36 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 15:00 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 15:00 -!- illya77 [~illya77@191-4-133-95.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 15:16 -!- rutkowski [~adrian@078088207135.walbrzych.vectranet.pl] has joined #go-nuts 15:22 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Quit: ciao] 15:27 -!- shvntr [~shvntr@113.84.150.79] has quit [Quit: leaving] 15:30 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 15:36 -!- wwkeyboard [~aaron@115.108.33.53] has joined #go-nuts 15:40 < aiju> Go damages the brain 15:40 < aiju> i just wrote e820limits[i], e820limits[k-1] = e820limits[k-1], e820limits[i]; in C 15:45 < nsf> I'm writing a client/server app in C right now, it's such a pain in comparison with Go 15:45 < aiju> BSD sockets? 15:45 < nsf> yes 15:46 < aiju> BSD sockets require massive amounts of LSD to work with 15:46 < nsf> ugly standard API, lack of libraries (for some reason most of the nice libraries are C++ ones) 15:47 < nsf> it's a suprise that no one did a better API for bsd sockets in a form of a library 15:47 < nsf> at least I haven't found anything 15:47 < aiju> there is p9p stuff 15:47 < aiju> which implements dial() 15:47 < nsf> there is and I don't want to use it :) 15:47 < erus`> What are you writing? 15:48 < nsf> libclang-based autocompletion daemon for C 15:48 < nsf> like gocode 15:49 < nsf> it doesn't require much in terms of functionality, simple IPC stuff (I use AF_UNIX), simple serialization (I write it by hand) 15:49 < nsf> and that's it 15:49 < aiju> sounds thoroughly evil 15:50 < nsf> writing stuff like that should be easy 15:51 < nsf> in Go it's a nice dial API + RPC 15:51 < nsf> in C... 15:51 < nsf> I don't know, maybe there are some libraries 15:51 < nsf> but I'm bad at using google 15:51 < nsf> I guess 15:52 -!- wwkeyboard [~aaron@115.108.33.53] has quit [Ping timeout: 240 seconds] 15:52 < fzzbt> it's hard to google anything as the language is called "go" 15:52 < aiju> golang 15:52 < nsf> I was talking about C 15:52 < aiju> and we have that complaint every 10 minutes 15:53 < nsf> you don't need to google stuff for Go 15:53 < fzzbt> aiju: yes, it should be officially named a "golang" 15:53 < aiju> we should put it into topic 15:53 < aiju> "HOLY SHIT WE KNOW GO IS HARD TO GOOGLE TELL /DEV/NULL" 15:53 < nsf> most of it is on the ML or on the one of the pages with packages 15:53 < nsf> like go-lang.cat-v.org 15:53 < nsf> or another one which I don't use 15:53 < fzzbt> just like Ericsson's erlang isn't just "er" 15:54 < nsf> it's hard to google stuff for C! 15:54 < amro> erlang is actually called erlang 15:54 < nsf> because it's just one letter, and internet is full of bullshit for C++ and C# 15:54 < nsf> I use something like: "C library <whatever> -C++ -C#" 15:54 < nsf> gives nice results :) 15:54 < fzzbt> amro: that's what i said 15:54 < nsf> sometimes.. :( 15:55 < amro> fzzbt: golang isn't called golang, it's a keyword 15:55 < amro> er, go isn't* 15:56 < fzzbt> but "go" is short for Google just like erlang stands for Ericsson language, so it would make sense to call it golang as in Google language 15:56 < fzzbt> or nevermind 15:57 < Namegduf> Go isn't short for Google. It's a verb. 15:58 < amro> fzzbt: my point is that nobody ever refers to erlang as er or the Er Programming Language as is done with Go 15:58 < Namegduf> That's because Erlang is called Erlang, not Er, and Go is called Go, not Golang. 15:58 < amro> indeed 15:59 < Namegduf> Golang is just the official website and commonly in the vicinity of information on Go, it seems 16:00 < amro> it's a helpful keyword to disambiguate in searches 16:01 < nsf> haha, it's funny, after I've written serialization by hand, I checked out what protobuf-c generate, and roughly functions for a message were the same, like 1 to 1.. size, pack, unpack, free_unpacked <- I had these ones too 16:01 < nsf> generates* 16:04 -!- dRbiG [p@irc.kaer.tk] has quit [Ping timeout: 260 seconds] 16:05 < nsf> http://www.and.org/ustr/ I wish there were more libraries like this one for C 16:06 < aiju> i never had too much of a problem with C strings 16:07 < nsf> well, define "problem", snprintf is hard to use in my opinion 16:07 < nsf> char buf[512]; // <- is ugly 16:08 < nsf> std api stays away from memory management as much as possible 16:08 < nsf> and it is a reasonable decision 16:08 < aiju> asprintf 16:08 < nsf> asprintf is a non-standard GNU extension 16:08 < aiju> either it's in the library (GNU/BSD) or you just write those 20 lines for yourself 16:09 < nsf> and basically all it does is allocation, you still can't reuse memory 16:09 < aiju> "reuse memory"? 16:09 < nsf> yes 16:09 < aiju> what's that supposed to mean? 16:09 < aiju> like with C buffers? 16:09 < nsf> reusing memory? :) 16:09 < nsf> first of all shared strings with copy on write semantics 16:09 < aiju> you don't reuse memory with Go string routines either 16:09 -!- artefon [~thiago@189.59.176.64.dynamic.adsl.gvt.net.br] has joined #go-nuts 16:10 < nsf> anyway, I think ustr is nice 16:11 < aiju> Go strings become really funny if you can't allocate memory 16:11 < aiju> Go in general becomes funny (read: unusable) if you can't allocate memory 16:12 < amro> I'd imagine quite a few languages would 16:12 < aiju> those aren't systems programming languages :P 16:12 < aiju> i'm right now rewriting some lower level parts of gofy into C 16:14 -!- im2ee [im2ee@gateway/shell/bshellz.net/x-nlzxhzizpdbtqsob] has quit [Quit: leaving] 16:21 < aiju> yuck 16:21 < aiju> Go runtime doesn't compile with -v 16:21 < aiju> eh -w 16:24 -!- wwkeyboard [~wwkeyboar@115.108.33.53] has joined #go-nuts 16:31 -!- wwkeyboard [~wwkeyboar@115.108.33.53] has quit [Quit: wwkeyboard] 16:35 -!- rutkowski [~adrian@078088207135.walbrzych.vectranet.pl] has quit [Quit: WeeChat 0.3.3-dev] 16:36 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 16:38 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 16:46 -!- wwkeyboard [~wwkeyboar@115.108.33.53] has joined #go-nuts 16:46 < wwkeyboard> What is the preferred method to interact with MySQL? libmysqlgo is the most recently updated library I could find on github, but it throws an error when I try to build it. 16:46 -!- brownee [~brownee@209.34.56.106] has joined #go-nuts 16:48 < fzzbt> wwkeyboard: i doubt there's yet any "preferred" binding for mysql. 16:49 < wwkeyboard> fzzbt: Thanks, I'll keep looking for one that works. 16:50 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has quit [Read error: Operation timed out] 16:50 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 16:50 < uriel> fzzbt: whatever Erlang stands for "Ericsson Language" is not clear 16:50 < uriel> in any case, who cares? 16:51 < fzzbt> wwkeyboard: here is 3 listed, but i couldnt get any ofthem working the last time i tried during fall http://go-lang.cat-v.org/library-bindings 16:51 < fzzbt> maybe you could fork your own 16:52 < wwkeyboard> fzzbt: Thanks, if I get one working I'll do that. 16:52 * uriel wonders why in this day and age anyone would willingly use mysql for anything 16:53 < fzzbt> legacy systems, past familiarity, etc. 16:54 < uriel> past familiarity plus masochism, I guess, because I have past familiarity with mysql, and I hope to keep it that way: in the past, and ideally to whippe it from my memory 16:56 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection reset by peer] 17:00 < wwkeyboard> uriel: You have to talk to it if thats where someone put your data. 17:00 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 17:04 -!- WatermelonStorm [~wms@p5DF2D108.dip.t-dialin.net] has joined #go-nuts 17:06 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has joined #go-nuts 17:15 < erus`> Whats th easiest way to get a copy of an array 17:15 < aiju> a = b 17:15 < erus`> a[1] = 9 17:15 < erus`> b[1] == 0 17:16 -!- jdp [~justin@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts 17:16 < erus`> i need a deep copy 17:17 < aiju> duh write it manually 17:17 < erus`> theres no copy() or something? 17:17 < aiju> there is copy, which copies slices 17:17 < aiju> but there is no ass wiping function :P 17:17 < jodaro> i could totally use one of those 17:18 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined #go-nuts 17:18 < erus`> feature request 17:18 -!- TheMue [~TheMue@p5DDF6E44.dip.t-dialin.net] has quit [Quit: TheMue] 17:21 < uriel> erus`: it should be just a handful of lines 17:22 < taruti> reflect.Deepcopy ;) 17:22 < erus`> it is but i can't help but think its used enough to be automated 17:22 < aiju> why the fuck are people so afraid of writing shit manually? 17:22 < erus`> code replication? 17:22 < aiju> who cares? 17:22 < WatermelonStorm> aiju: Three slices: lay-zee-ness. 17:23 < aiju> it often takes much longer to search for it than to write it yourself 17:23 < Namegduf> A deep copy is not something that can be generically provided 17:23 < Namegduf> Because a shallow copy is not something that is generically provided 17:23 < Namegduf> And a deep copy is just that, recursively. 17:24 < erus`> I allways tend to re-write built in functions of whatever-language-im-learning because i dont realize theyre built in. So i thought id ask this time 17:24 < Namegduf> Struct types with unexported members are also A) Impossible to copy from outside the package, aside by providing a method for it. B) The primary case where it might be useful. 17:26 < Namegduf> Just provide a copy method for your type which does the Right Thing to copy that type. 17:26 < Namegduf> And don't worry about a generic thing for it. 17:28 -!- wrtp [~rog@92.17.17.115] has joined #go-nuts 17:29 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts 17:39 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 17:42 -!- jumzi [~jumzi@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts 17:48 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Quit: Computer has gone to sleep.] 17:49 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 18:00 < KBme> how would one make sure a method is only called once at a time? 18:01 < KBme> i have a few methods of my "object" that would need to not run duplicated 18:01 < taruti> there is "once" 18:01 < KBme> i'm guessing a lock, but i'd love it if there was an other way 18:01 < KBme> hmm 18:01 < taruti> sync.Mutex 18:02 < KBme> problem is I don't exactly understand how Once works 18:02 -!- artefon [~thiago@189.59.176.64.dynamic.adsl.gvt.net.br] has quit [Read error: Connection reset by peer] 18:05 < WatermelonStorm> I'm new to Go. Seems like a pretty awesome language. 18:06 < kimelto> it is! 18:09 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:b48a:3961:143f:dbb2] has joined #go-nuts 18:24 -!- wwkeyboard [~wwkeyboar@115.108.33.53] has quit [Quit: wwkeyboard] 18:24 -!- wwkeyboard [~wwkeyboar@115.248.178.161] has joined #go-nuts 18:26 -!- wwkeyboard [~wwkeyboar@115.248.178.161] has quit [Client Quit] 18:29 < taruti> What is the easiest way to express e.g. 0xFFFFFFFFFFFFFFFF in Go? (i.e. uint64(-1) which doesn't work) 18:32 < WatermelonStorm> I just happen to be looking at the Effective Go document. 18:33 < WatermelonStorm> taruti: It says this for regular signed ints: "min := int(^uint(0) >> 1) // largest int" 18:34 < taruti> so ^uint(0) instead of ^0 18:35 < WatermelonStorm> Apparently. 18:35 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 18:36 -!- femtoo [~femto@95-89-198-16-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 18:36 < dario_> how would i go about having only one instance of an object in my app that can be accessed by other modules via a getLogger() func ? 18:36 < WatermelonStorm> I'm pretty sure int(^uint(0) >> 1) will return the largest positive int, so what you'll be looking for is ûint64(0). 18:36 < WatermelonStorm> *^ûint64(0). 18:36 < WatermelonStorm> ... 18:36 < WatermelonStorm> Argh. 18:37 < WatermelonStorm> It seems to work, taruti. 18:37 -!- tsykoduk [~tsykoduk@174-24-219-133.tukw.qwest.net] has quit [Ping timeout: 250 seconds] 18:37 < WatermelonStorm> taruti: fmt.Println(^uint64(0)) outputs 18446744073709551615. 18:38 < taruti> yes :) 18:38 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 18:39 -!- Fish- [~Fish@9fans.fr] has quit [Ping timeout: 260 seconds] 18:40 < dario_> ah, i might do something in the init() func ... thx guys 8-) 18:44 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 18:45 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 18:49 -!- Project_2501 [~Marvin@82.84.82.21] has joined #go-nuts 18:51 -!- DeSoVoDaMu [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 18:52 -!- Project-2501 [~Marvin@82.84.98.244] has quit [Ping timeout: 250 seconds] 18:55 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Quit: Computer has gone to sleep.] 19:03 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts 19:07 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 240 seconds] 19:14 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 19:22 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-170-240.clienti.tiscali.it] has joined #go-nuts 19:23 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined #go-nuts 19:25 -!- Project_2501 [~Marvin@82.84.82.21] has quit [Ping timeout: 246 seconds] 19:27 -!- Project_2501 [~Marvin@82.84.75.103] has joined #go-nuts 19:28 -!- chee [~chee@unaffiliated/chee] has joined #go-nuts 19:28 -!- chee [~chee@unaffiliated/chee] has left #go-nuts ["WeeChat 0.3.4"] 19:30 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-170-240.clienti.tiscali.it] has quit [Ping timeout: 255 seconds] 19:30 -!- cenuij [~cenuij@2001:470:1f13:45c::100] has joined #go-nuts 19:30 -!- cenuij [~cenuij@2001:470:1f13:45c::100] has quit [Changing host] 19:30 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 19:33 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 19:37 -!- acetoline [~acetoline@122.58.180.208] has joined #go-nuts 19:37 -!- Scorchin [~Scorchin@host86-181-88-61.range86-181.btcentralplus.com] has joined #go-nuts 19:42 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection reset by peer] 19:43 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 19:45 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Ping timeout: 264 seconds] 19:50 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 19:50 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts 19:51 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has joined #go-nuts 19:52 -!- Project-2501 [~Marvin@82.84.72.253] has joined #go-nuts 19:53 -!- Project-2501 [~Marvin@82.84.72.253] has quit [Client Quit] 19:54 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by peer] 19:54 -!- go-irc-ch [~go-irc-ch@2001:470:1f13:3b4:20a:e4ff:fe49:b68c] has joined #go-nuts 19:55 -!- go-irc-ch [~go-irc-ch@2001:470:1f13:3b4:20a:e4ff:fe49:b68c] has quit [Remote host closed the connection] 19:55 -!- _go-irc-c [~go-irc-ch@195-132-124-203.rev.numericable.fr] has joined #go-nuts 19:55 -!- Project_2501 [~Marvin@82.84.75.103] has quit [Ping timeout: 250 seconds] 19:55 -!- _go-irc-c [~go-irc-ch@195-132-124-203.rev.numericable.fr] has quit [Remote host closed the connection] 20:01 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection reset by peer] 20:01 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping timeout: 265 seconds] 20:01 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-245.clienti.tiscali.it] has joined #go-nuts 20:02 -!- virtualsue [~chatzilla@nat/cisco/x-ukgemkjiwjgaxohk] has joined #go-nuts 20:02 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 20:04 -!- femtoo [~femto@95-89-198-16-dynip.superkabel.de] has joined #go-nuts 20:08 < erus`> Could someone test this on a 32bit computer please. I got a report of a seg fault on run. https://github.com/tm1rbrt/fly 20:09 < nsf> erus`: http://code.google.com/p/go/issues/detail?id=1262 20:09 < nsf> it's a known bug 20:09 < nsf> with nvidia drivers 20:11 < erus`> ah thanks 20:21 < quantumelixir> What's the use case for a private type with exported fields? 20:25 < nsf> quantumelixir: you can use it in your module internally 20:26 < quantumelixir> why export the fields then? 20:26 < quantumelixir> oh ok 20:26 < nsf> some APIs require that 20:26 < nsf> like json, etc. 20:26 < quantumelixir> nsf: thanks 20:27 < nsf> or.. for no reason 20:27 < quantumelixir> hehe 20:27 < nsf> maybe someone just likes VariablesStartingWithACapitalLetter 20:31 -!- virtualsue [~chatzilla@nat/cisco/x-ukgemkjiwjgaxohk] has quit [Ping timeout: 272 seconds] 20:36 -!- clip9 [clip9@er.en.svarteper.com] has quit [Ping timeout: 255 seconds] 20:36 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 20:36 -!- clip9 [clip9@er.en.svarteper.com] has joined #go-nuts 20:37 -!- xash [~xash@d073140.adsl.hansenet.de] has quit [Ping timeout: 272 seconds] 20:37 -!- kosiini [~janne@pdpc/supporter/student/kosiini] has joined #go-nuts 20:37 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 20:54 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has joined #go-nuts 20:55 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection reset by peer] 20:56 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 20:57 -!- nettok [~quassel@200.119.180.147] has joined #go-nuts 20:57 -!- erus` [~tommo@cpc1-gill2-0-0-cust436.basl.cable.virginmedia.com] has quit [Ping timeout: 265 seconds] 21:03 -!- TheMue [~TheMue@p5DDF6E44.dip.t-dialin.net] has joined #go-nuts 21:06 -!- gits [~gits@77.94.219.158] has quit [Remote host closed the connection] 21:09 -!- foocraft [~dsc@78.100.221.189] has joined #go-nuts 21:20 -!- bmizerany [~bmizerany@adsl-99-40-54-193.dsl.pltn13.sbcglobal.net] has joined #go-nuts 21:22 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Quit: leaving] 21:22 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 21:23 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 21:24 -!- Sgeo [~Sgeo@ool-18bf618a.dyn.optonline.net] has joined #go-nuts 21:32 -!- allengeorge [~allengeor@70.26.100.141] has joined #go-nuts 21:33 -!- allengeorge [~allengeor@70.26.100.141] has quit [Client Quit] 21:33 -!- allengeorge [~allengeor@70.26.100.141] has joined #go-nuts 21:34 -!- ronnyy [~quassel@p4FF1C423.dip0.t-ipconnect.de] has joined #go-nuts 21:40 -!- temoto [~temoto@89-178-204-23.broadband.corbina.ru] has joined #go-nuts 21:40 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection timed out] 21:41 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 21:42 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 21:43 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se] has quit [Read error: Connection reset by peer] 21:44 -!- nettok_ [~quassel@200.119.170.118] has joined #go-nuts 21:47 -!- nettok [~quassel@200.119.180.147] has quit [Ping timeout: 246 seconds] 21:51 -!- cenuij [~cenuij@2001:470:1f13:45c::c0a8:164] has joined #go-nuts 21:53 -!- Guest42851 [~cenuij@2001:470:1f13:45c::c0a8:164] has quit [Changing host] 21:53 -!- Guest42851 [~cenuij@base/student/cenuij] has joined #go-nuts 21:54 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection reset by peer] 21:58 -!- mosva [~mosva@unaffiliated/mosva] has joined #go-nuts 21:58 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 22:04 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit: Computer has gone to sleep.] 22:04 -!- DeSoVoDaMu [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the connection] 22:04 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined #go-nuts 22:05 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Client Quit] 22:10 -!- cenuij- [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 22:11 -!- cenuij- [~cenuij@base/student/cenuij] has joined #go-nuts 22:12 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:b48a:3961:143f:dbb2] has quit [Quit: Leaving.] 22:13 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined #go-nuts 22:14 -!- ronnyy [~quassel@p4FF1C423.dip0.t-ipconnect.de] has quit [Ping timeout: 272 seconds] 22:24 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 250 seconds] 22:25 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Leaving...] 22:26 -!- exch [~exch@h78233.upc-h.chello.nl] has quit [Ping timeout: 240 seconds] 22:26 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 22:28 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the Fish] 22:28 -!- exch [~exch@h78233.upc-h.chello.nl] has joined #go-nuts 22:28 -!- TheMue [~TheMue@p5DDF6E44.dip.t-dialin.net] has quit [Quit: TheMue] 22:31 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 22:31 -!- allengeorge [~allengeor@70.26.100.141] has quit [Quit: allengeorge] 22:32 -!- femtoo [~femto@95-89-198-16-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 22:32 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-162-243.clienti.tiscali.it] has joined #go-nuts 22:33 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 22:36 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-158-245.clienti.tiscali.it] has quit [Ping timeout: 264 seconds] 22:36 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 22:39 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Client Quit] 22:42 < WatermelonStorm> Say, how can I make a map that spans multiple lines in source code? 22:42 < WatermelonStorm> *in the 22:42 < aiju> WatermelonStorm: by just writing it down? 22:43 < WatermelonStorm> Well... 22:43 < WatermelonStorm> algorithms := map[string]hash.Hash{"md5": md5.New()} works, of course. 22:43 < WatermelonStorm> But I'd like to have the map on multiple lines. 22:43 < WatermelonStorm> ... 22:43 < WatermelonStorm> I mean, I'd like to add more entries to that map. 22:43 -!- mosva [~mosva@unaffiliated/mosva] has quit [Read error: Connection reset by peer] 22:43 -!- DerHorst [~Horst@e176096051.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 22:44 < WatermelonStorm> Nevermind, I did something unrelated wrong which caused this to fail. 22:46 < skelterjohn> WatermelonStorm: have the comma at the end of the line 22:46 < WatermelonStorm> Yeah, skelter. 22:46 < WatermelonStorm> It works now. 22:46 < skelterjohn> so, map[key]val{key1:val1,\nkey2:val2 etc 22:46 < WatermelonStorm> I forgot to import a package which caused this to fail. 22:46 < skelterjohn> cool 22:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 22:53 -!- WatermelonStorm [~wms@p5DF2D108.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 23:04 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 23:10 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 23:14 -!- wrtp [~rog@92.17.17.115] has quit [Quit: wrtp] 23:17 -!- Wiz126 [Wiz@h29.117.232.68.ip.windstream.net] has quit [Ping timeout: 240 seconds] 23:31 -!- rbraley [~rbraley@ip72-222-134-229.ph.ph.cox.net] has quit [Remote host closed the connection] 23:36 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 23:50 -!- Wiz126 [Wiz@h29.117.232.68.ip.windstream.net] has joined #go-nuts 23:53 -!- jkakar [~jkakar@252.Red-88-0-173.dynamicIP.rima-tde.net] has joined #go-nuts 23:53 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts 23:53 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 23:57 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts --- Log closed Mon Jan 24 00:00:05 2011