--- Log opened Sat Mar 27 00:00:36 2010 00:05 -!- thakis [~thakis@216.239.45.19] has quit [Quit: thakis] 00:07 < gregc> Google should hire whytheluckystiff. 00:07 < gregc> He'd be good at working on Golang. 00:09 < JBeshir> Of course; when one thinks of performance, compile-type safety checks, sane syntax and sensible looping constructs, you can't help but think of Ruby. 00:10 < gregc> Haha 00:10 < gregc> Did you ever see his Potion language? 00:10 < JBeshir> No. 00:11 < gregc> It was compiled straight to x86 machine code, if I remember correctly. 00:11 * exch saw it earlier today. seems interesting 00:11 < exch> it can compile to x86 or x86_64 00:11 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts 00:11 < gregc> He was working on a generational copying garbage collector I believe. 00:12 < gregc> But, I don't think he was giving all that much thought to concurrency, which is the hardest part of a good GC for Go, I think. 00:12 -!- Guest49582 [~john@192.5.109.49] has quit [Client Quit] 00:12 -!- meanburr1to920 [~john@192.5.109.49] has joined #go-nuts 00:13 < gregc> _why was a Ruby star, but he wasn't tied to Ruby. 00:14 -!- lmoura [~lmoura@187.78.183.251] has joined #go-nuts 00:17 -!- wrtp [~rog@78.146.132.16] has quit [Ping timeout: 258 seconds] 00:30 -!- wrtp [~rog@89.242.175.228] has joined #go-nuts 00:30 -!- iant [~iant@67.218.106.122] has joined #go-nuts 00:30 -!- mode/#go-nuts [+v iant] by ChanServ 00:32 -!- meanburr1to920 [~john@192.5.109.49] has quit [Quit: leaving] 00:32 -!- meanburr1to920 [~john@192.5.109.49] has joined #go-nuts 00:41 -!- BlackBook [~sjs@kernel-panic/member/TiBook] has quit [Quit: This computer has gone to sleep] 00:52 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 252 seconds] 00:53 -!- nettok [~netto@200.119.150.106] has joined #go-nuts 00:56 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 00:57 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Client Quit] 00:58 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 01:02 -!- taruti [taruti@aoi.yi.org] has quit [Ping timeout: 258 seconds] 01:02 -!- nettok [~netto@200.119.150.106] has quit [Ping timeout: 248 seconds] 01:03 -!- Xeon_ [~chatzilla@118.126.12.54] has joined #go-nuts 01:05 -!- Xeon [~chatzilla@118.126.12.53] has quit [Ping timeout: 240 seconds] 01:06 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts 01:09 < plexdev> http://is.gd/b1dOt by [Russ Cox] in 6 subdirs of go/ -- gc: allow taking address of out parameters 01:12 -!- taruti [taruti@aoi.yi.org] has joined #go-nuts 01:13 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 01:16 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit [Read error: Connection reset by peer] 01:16 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined #go-nuts 01:18 -!- boscop_ [~boscop@g226225204.adsl.alicedsl.de] has joined #go-nuts 01:19 -!- boscop [~boscop@g227139127.adsl.alicedsl.de] has quit [Ping timeout: 258 seconds] 01:22 -!- lux` [~lux`@151.71.209.29] has quit [Read error: Connection reset by peer] 01:25 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit: g0bl1n] 01:25 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts [] 01:26 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 01:27 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined #go-nuts 01:29 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 01:31 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 276 seconds] 01:33 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 01:36 -!- gnuvince [~vince@72.0.219.6] has joined #go-nuts 01:37 -!- megaboz_ [~megaboz@201.22.75.96.dynamic.adsl.gvt.net.br] has joined #go-nuts 01:39 -!- megaboz [~megaboz@201.22.75.96.dynamic.adsl.gvt.net.br] has quit [Quit: Lost terminal] 01:40 -!- megaboz_ [~megaboz@201.22.75.96.dynamic.adsl.gvt.net.br] has left #go-nuts [] 01:40 -!- megaboz [~megaboz@unaffiliated/megaboz] has joined #go-nuts 01:42 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 01:42 -!- boscop_ [~boscop@g226225204.adsl.alicedsl.de] has left #go-nuts [] 01:43 -!- boscop [~boscop@g226225204.adsl.alicedsl.de] has joined #go-nuts 01:47 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 01:48 -!- iant [~iant@67.218.106.122] has quit [Ping timeout: 240 seconds] 01:49 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Quit: megaboz] 01:52 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 01:56 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 01:58 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has joined #go-nuts 02:20 -!- BlackBook [~sjs@kernel-panic/member/TiBook] has joined #go-nuts 02:21 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has joined #go-nuts 02:23 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 02:27 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 02:36 -!- michael| [~maikeru@unaffiliated/maikeru/x-7708887] has quit [Ping timeout: 264 seconds] 02:37 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit: Leaving] 02:37 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 02:40 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 02:41 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 02:43 -!- michael| [~maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts 02:44 -!- gregc [~gregc@c-71-205-120-185.hsd1.mi.comcast.net] has quit [Quit: Leaving] 02:55 -!- taruti [taruti@aoi.yi.org] has quit [Ping timeout: 260 seconds] 02:56 -!- taruti [taruti@aoi.yi.org] has joined #go-nuts 02:58 -!- m1ndwarp [~m1ndwarp@c200065.adsl.hansenet.de] has quit [Quit: m1ndwarp] 03:19 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts 03:19 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Ping timeout: 260 seconds] 03:21 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 03:21 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 03:22 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Client Quit] 03:25 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 03:29 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 245 seconds] 03:41 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 03:46 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu] 03:49 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 03:56 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 03:59 -!- mikedee_ [~quassel@91.111.32.139] has joined #go-nuts 04:02 -!- lmoura [~lmoura@187.78.183.251] has quit [Ping timeout: 276 seconds] 04:02 -!- mikedee [~quassel@91.111.5.225] has quit [Ping timeout: 245 seconds] 04:04 -!- meanburrito920_ [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 258 seconds] 04:07 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 04:08 -!- meanburrito920_ [~john@unaffiliated/meanburrito920] has joined #go-nuts 04:19 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 04:24 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined #go-nuts 04:35 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping timeout: 258 seconds] 04:40 -!- jshipley [~jshipley@174-23-125-69.slkc.qwest.net] has joined #go-nuts 04:41 < jshipley> Using os/signal, how can I catch interrupts, but let any other signals through? 04:42 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has quit [Quit: nchaimov] 04:42 < jshipley> Right now, I'm catching everything with a "sig := <-signal.Incoming" 04:48 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 04:48 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts 04:49 -!- nchaimov [~cowtown@c-71-237-208-209.hsd1.or.comcast.net] has joined #go-nuts 04:50 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 04:50 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 04:50 -!- mode/#go-nuts [+v iant] by ChanServ 04:52 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 04:52 -!- meanburr1to920 [~john@192.5.109.49] has quit [Changing host] 04:52 -!- meanburr1to920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 05:02 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has joined #go-nuts 05:24 * BlackBook hates tabs 05:28 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 05:43 -!- meanburrito920_ [~john@unaffiliated/meanburrito920] has quit [Quit: Leaving] 05:50 -!- lmoura [~lmoura@187.78.183.251] has joined #go-nuts 05:53 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 05:54 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has quit [Quit: thakis] 05:57 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 05:59 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 06:02 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 06:04 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 06:08 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 06:09 < KirkMcDonald> You prefer buffers? 06:10 -!- megaboz [~none@unaffiliated/megaboz] has quit [Remote host closed the connection] 06:10 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 06:11 -!- megaboz [~megaboz@unaffiliated/megaboz] has joined #go-nuts 06:14 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 06:15 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 06:19 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 240 seconds] 06:29 < plexdev> http://is.gd/b1B1t by [Dean Prichard] in 2 subdirs of go/ -- arm: fix build 06:29 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 06:30 -!- lmoura [~lmoura@187.78.183.251] has quit [Quit: Leaving] 06:31 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Read error: Operation timed out] 06:33 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 06:35 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 06:37 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Quit: itrekkie] 06:39 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 276 seconds] 06:40 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts 06:42 -!- kanru [~kanru@61-228-152-186.dynamic.hinet.net] has joined #go-nuts 06:44 -!- Xeon_ [~chatzilla@118.126.12.54] has quit [Remote host closed the connection] 06:44 -!- nettok__ [~netto@200.119.150.106] has quit [Ping timeout: 264 seconds] 06:45 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts 06:49 -!- Xeon [~chatzilla@118.126.12.54] has joined #go-nuts 06:54 -!- nettok__ [~netto@200.119.150.106] has joined #go-nuts 06:58 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 258 seconds] 07:02 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Read error: Operation timed out] 07:03 -!- nettok__ [~netto@200.119.150.106] has quit [Quit: Ex-Chat] 07:16 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts 07:25 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 07:32 -!- KingOfKarlsruhe [~nice@p5B133334.dip.t-dialin.net] has joined #go-nuts 07:33 < BlackBook> I'm having a bit of a conceptual issue, it seems. 07:36 < BlackBook> I can define an interface with "type Foo interface { Bar( baz *string, blah blah blah) }" and then if I have a "func (s *sometype) Bar( baz *string, blah blah blah ) {...}" I should be able to pass a variable of "sometype" to a fuction wanting a *Foo, yes? 07:36 < BlackBook> ..of *sometype, I mean. 07:41 -!- cchengz [~Changchen@115.131.34.53] has joined #go-nuts 07:42 -!- cchengz [~Changchen@115.131.34.53] has left #go-nuts [] 07:52 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit [Quit: <>] 08:02 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined #go-nuts 08:18 -!- Xeon [~chatzilla@118.126.12.54] has quit [Remote host closed the connection] 08:22 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 08:41 -!- awidegreen [~quassel@p5B060C13.dip.t-dialin.net] has joined #go-nuts 08:56 -!- TR2N [email@89.180.157.14] has joined #go-nuts 08:59 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 09:04 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 09:05 -!- awidegreen [~quassel@p5B060C13.dip.t-dialin.net] has quit [Remote host closed the connection] 09:07 -!- awidegreen [~quassel@p5B060C13.dip.t-dialin.net] has joined #go-nuts 09:14 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Quit: Fraeon] 09:26 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Quit: rhelmer] 09:27 -!- wrtp [~rog@89.242.175.228] has quit [Quit: wrtp] 09:37 -!- BlackBook [~sjs@kernel-panic/member/TiBook] has quit [Quit: This computer has gone to sleep] 09:48 -!- pcgod [~pcgod@pr.0xy.org] has joined #go-nuts 09:48 -!- OpenSpace [~ja@93.86.183.139] has quit [Remote host closed the connection] 09:49 -!- OpenSpace [~ja@93.86.183.139] has joined #go-nuts 09:49 -!- rlab [~Miranda@30-125-113-92.pool.ukrtel.net] has joined #go-nuts 09:52 -!- OpenSpace [~ja@93.86.183.139] has quit [Client Quit] 09:57 -!- OpenSpace [~ja@109.93.230.135] has joined #go-nuts 10:02 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 10:24 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 10:30 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 10:37 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This computer has gone to sleep] 10:40 -!- it_diver [~it_diver@dslb-088-068-254-249.pools.arcor-ip.net] has joined #go-nuts 10:43 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts 11:01 -!- HollyRain [~quassel@87.223.124.112] has joined #go-nuts 11:02 < HollyRain> if I've an argument as i.e. foo, and I use inner that function a new variable with that name (foo), then 11:03 < HollyRain> when I "call" to foo, does it access to the value that has been asigned inner of the function? not to the argument 11:03 < HollyRain> right? 11:07 -!- ikaros [~ikaros@f051118245.adsl.alicedsl.de] has joined #go-nuts 11:13 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit [Read error: Operation timed out] 11:16 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has joined #go-nuts 11:18 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has joined #go-nuts 11:29 -!- souffledev [~soufflede@110-174-144-249.static.tpgi.com.au] has quit [Quit: <>] 11:31 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has quit [Quit: m1ndwarp] 11:32 -!- ikaros [~ikaros@f051118245.adsl.alicedsl.de] has quit [Ping timeout: 258 seconds] 11:32 -!- ikaros [~ikaros@f051118245.adsl.alicedsl.de] has joined #go-nuts 11:37 -!- prip_ [~foo@host224-129-dynamic.36-79-r.retail.telecomitalia.it] has quit [Read error: Connection timed out] 11:38 -!- prip_ [~foo@host224-129-dynamic.36-79-r.retail.telecomitalia.it] has joined #go-nuts 11:44 -!- awidegreen_ [~quassel@p5B061F9A.dip.t-dialin.net] has joined #go-nuts 11:45 -!- awidegreen [~quassel@p5B060C13.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 11:45 -!- wrtp [~rog@89.242.175.228] has joined #go-nuts 11:45 -!- KingOfKarlsruhe [~nice@p5B133334.dip.t-dialin.net] has quit [Remote host closed the connection] 11:48 -!- prip_ [~foo@host224-129-dynamic.36-79-r.retail.telecomitalia.it] has quit [Ping timeout: 248 seconds] 11:48 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has joined #go-nuts 11:48 -!- rlab_ [~Miranda@174-237-113-92.pool.ukrtel.net] has joined #go-nuts 11:50 -!- rlab [~Miranda@30-125-113-92.pool.ukrtel.net] has quit [Ping timeout: 258 seconds] 12:00 -!- prip_ [~foo@host224-129-dynamic.36-79-r.retail.telecomitalia.it] has joined #go-nuts 12:00 -!- sudi [~chatzilla@dslb-084-056-030-097.pools.arcor-ip.net] has joined #go-nuts 12:01 -!- yashi [~yashi@dns1.atmark-techno.com] has quit [Ping timeout: 265 seconds] 12:05 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 12:14 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has joined #go-nuts 12:25 -!- wrtp [~rog@89.242.175.228] has quit [Quit: wrtp] 12:26 -!- wrtp [~rog@89.242.175.228] has joined #go-nuts 12:29 -!- wrtp [~rog@89.242.175.228] has quit [Client Quit] 12:43 -!- lux` [~lux`@151.71.209.29] has joined #go-nuts 12:51 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has joined #go-nuts 13:00 -!- sudi [~chatzilla@dslb-084-056-030-097.pools.arcor-ip.net] has quit [Remote host closed the connection] 13:04 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]] 13:04 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts 13:12 -!- napsy_ [~luka@88.200.96.14] has joined #go-nuts 13:13 < napsy_> Hello. How can I get the command-line arguments in go? 13:14 < uriel> napsy_: http://golang.org/pkg/flag/ 13:15 < napsy_> ok thanks 13:18 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 13:28 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined #go-nuts 13:31 -!- Demp [~Demp@bzq-79-176-41-93.red.bezeqint.net] has joined #go-nuts 13:31 -!- Demp [~Demp@bzq-79-176-41-93.red.bezeqint.net] has quit [Client Quit] 13:31 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 268 seconds] 13:31 -!- tor5 [~tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 13:36 < napsy_> go doesn't support dynamic bounds for arrays? 13:42 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Quit: Ex-Chat] 13:43 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts 13:46 -!- ikaros [~ikaros@f051118245.adsl.alicedsl.de] has quit [Quit: Leave the magic to Houdini] 13:49 -!- ikaros [~ikaros@f051055048.adsl.alicedsl.de] has joined #go-nuts 13:54 -!- kssreeram [~kssreeram@122.174.136.32] has joined #go-nuts 13:54 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Ping timeout: 260 seconds] 13:57 -!- yashi [~yashi@dns1.atmark-techno.com] has joined #go-nuts 13:58 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 14:01 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 246 seconds] 14:02 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 14:02 -!- mode/#go-nuts [+v iant] by ChanServ 14:03 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts 14:14 -!- lux` [~lux`@151.71.209.29] has quit [Read error: Connection reset by peer] 14:16 -!- megaboz [~megaboz@201.22.75.96.dynamic.adsl.gvt.net.br] has joined #go-nuts 14:17 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has joined #go-nuts 14:17 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 14:18 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has quit [Quit: m1ndwarp] 14:19 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 14:19 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 14:19 -!- General1337 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 246 seconds] 14:25 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has joined #go-nuts 14:26 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has quit [Client Quit] 14:31 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 14:34 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]] 14:34 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts 14:35 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 14:45 -!- Project_2501 [~Marvin@82.84.74.219] has joined #go-nuts 14:46 -!- cthom [~cthom@ip68-10-255-97.hr.hr.cox.net] has joined #go-nuts 14:48 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has joined #go-nuts 14:52 -!- napsy_ [~luka@88.200.96.14] has quit [Quit: Lost terminal] 14:56 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has quit [Quit: thakis] 14:59 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has joined #go-nuts 14:59 -!- ndrry [~drry@unaffiliated/drry] has quit [Ping timeout: 260 seconds] 14:59 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: Leaving] 15:01 -!- rlab_ [~Miranda@174-237-113-92.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 15:01 -!- ndrry [~drry@unaffiliated/drry] has joined #go-nuts 15:01 -!- ndrry [~drry@unaffiliated/drry] has quit [Excess Flood] 15:02 -!- ndrry [~drry@unaffiliated/drry] has joined #go-nuts 15:05 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 15:06 -!- TR2N [email@89.180.157.14] has left #go-nuts [] 15:08 -!- ikaros [~ikaros@f051055048.adsl.alicedsl.de] has quit [Quit: Leave the magic to Houdini] 15:16 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts 15:17 -!- ndrry [~drry@unaffiliated/drry] has quit [Ping timeout: 258 seconds] 15:28 -!- fusion44 [~quassel@p5B283758.dip.t-dialin.net] has joined #go-nuts 15:29 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 15:29 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 15:31 -!- rbancrof1 [~rumble@S01060014bf54b5eb.cg.shawcable.net] has quit [Ping timeout: 260 seconds] 15:33 -!- Nexoro1 [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 15:35 -!- dju [dju@89-158-252-87.rev.dartybox.com] has quit [Quit: Quitte] 15:35 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 15:38 < exch> how do packages get submitted to http://godashboard.appspot.com/package ? 15:39 < exch> nvm 15:45 -!- finkler [~finkler@e179054201.adsl.alicedsl.de] has joined #go-nuts 15:48 -!- plexdev [~plexdev@arthur.espians.com] has quit [Remote host closed the connection] 15:49 -!- plexdev [~plexdev@arthur.espians.com] has joined #go-nuts 16:01 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 16:04 -!- pjm0616 [~user@61.250.113.98] has quit [Ping timeout: 246 seconds] 16:05 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has left #go-nuts [] 16:05 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has joined #go-nuts 16:13 -!- ath [~ath@193.167.161.3] has quit [Ping timeout: 268 seconds] 16:15 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has quit [Remote host closed the connection] 16:15 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has joined #go-nuts 16:16 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has left #go-nuts [] 16:16 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts 16:17 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has joined #go-nuts 16:19 -!- kashia_ [~Kashia@p4FEB7BE7.dip.t-dialin.net] has joined #go-nuts 16:20 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 252 seconds] 16:22 -!- Kashia [~Kashia@p4FEB73F7.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 16:26 * exch starts porting example programs 16:29 -!- Xeon [~chatzilla@118.126.12.53] has joined #go-nuts 16:30 < jshipley> How would I catch an Interrupt signal in Go? I've figured out how to catch /all/ signals with os/signal, but that's not quite what I want. 16:33 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 16:36 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 16:39 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 16:44 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has quit [Ping timeout: 260 seconds] 16:47 -!- Luixsia [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 16:47 -!- fusion44 [~quassel@p5B283758.dip.t-dialin.net] has quit [Remote host closed the connection] 16:57 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 16:58 -!- kssreeram [~kssreeram@122.174.136.32] has quit [Read error: Connection reset by peer] 16:58 -!- kssreeram [~kssreeram@122.174.136.32] has joined #go-nuts 16:59 -!- megaboz [~megaboz@201.22.75.96.dynamic.adsl.gvt.net.br] has quit [Changing host] 16:59 -!- megaboz [~megaboz@unaffiliated/megaboz] has joined #go-nuts 16:59 < megaboz> jshipley: paste your code 17:02 -!- OpenSpace [~ja@109.93.230.135] has quit [Ping timeout: 245 seconds] 17:02 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has left #go-nuts [] 17:10 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit: leaving] 17:11 -!- ath [~ath@omega.lambda.fi] has joined #go-nuts 17:16 < jshipley> http://pastebin.com/9zT65dLB 17:19 -!- wrtp [~rog@89.242.175.228] has joined #go-nuts 17:19 < megaboz> jshipley: you're only testing for SIGINT 17:19 -!- OpenSpace [~ja@93.86.171.79] has joined #go-nuts 17:20 -!- finkler [~finkler@e179054201.adsl.alicedsl.de] has quit [Remote host closed the connection] 17:23 < megaboz> jshipley: you'll probably want to break out of the loop if you receive a signal you don't want to handle 17:24 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 17:30 < jshipley> I tried that, but I don't think that's enough. If I do that, and try to press ctrl+z, then it doesn't suspend the process like it should. 17:36 -!- General1337 [~support@24-205-0-228.static.lsan.ca.charter.com] has joined #go-nuts 17:36 < megaboz> i see, i think that's a bug in the signal package then 17:36 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 17:37 < jshipley> I also noticed that if I hit ctrl+\ (SIGABRT) that I got a stacktrace 17:37 < megaboz> the signal receiving goroutine in os/signal never stops, maybe it should? 17:38 -!- General13372 [~support@71-84-246-14.dhcp.gldl.ca.charter.com] has quit [Ping timeout: 258 seconds] 17:39 -!- sku [~sk@93.190.177.208] has joined #go-nuts 17:40 -!- snearch [~olaf@e179134166.adsl.alicedsl.de] has joined #go-nuts 17:42 < jshipley> I think what I need is the ability to do something like runtime.Sigrecv(syscall.SIGINT) 17:42 < HollyRain> it isn't possible to access to the last value from a string using s[-1], is it? 17:42 < jshipley> HollyRain: no, I don't believe so 17:42 < megaboz> HollyRain: nope 17:42 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit: g0bl1n] 17:42 < jshipley> s[len(s)-1] would work though 17:42 < HollyRain> it shows: constant -1 overflows uint 17:42 < megaboz> s[:len(s)-1] 17:42 < HollyRain> ok 17:42 < megaboz> wait, no 17:42 < KirkMcDonald> I think you need a zero in there. 17:42 < megaboz> s[0:len(s)-1] 17:43 < jshipley> that would get the whole string, not just the last value 17:43 < KirkMcDonald> And, anyway, that's not what he asked for. 17:43 < KirkMcDonald> jshipley: The whole string except the last byte. 17:43 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts 17:46 -!- General1337 [~support@24-205-0-228.static.lsan.ca.charter.com] has quit [Ping timeout: 252 seconds] 17:55 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 17:55 -!- Mana|Linux [~mana@142.46.164.30] has joined #go-nuts 17:55 -!- General1337 [~support@24-205-0-231.static.lsan.ca.charter.com] has joined #go-nuts 17:56 -!- SecretofMana [~mana@142.46.164.30] has quit [Read error: Connection reset by peer] 17:57 -!- nf [~nf@124-168-151-239.dyn.iinet.net.au] has quit [Ping timeout: 258 seconds] 17:58 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Quit: Lost terminal] 17:58 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has joined #go-nuts 17:58 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts 17:59 -!- nf [~nf@124-168-151-239.dyn.iinet.net.au] has joined #go-nuts 17:59 < HollyRain> jshipley: s[len(s)-1:] --> last char. 17:59 < HollyRain> now, the problem is that I cann't compare it with a char, why? 18:00 < HollyRain> lastChar := s[len(s)-1:] ; if lastChar == 's' {...} 18:00 < HollyRain> invalid operation: ((node SLICESTR)) == 47 (type string == int) 18:00 < HollyRain> they're different types 18:01 < KirkMcDonald> HollyRain: Don't use a slice, just index it. 18:01 < megaboz> you're comparing a slice with a char, not char with char 18:01 < KirkMcDonald> s[len(s)-1] 18:01 < megaboz> use index 18:01 -!- General1337 [~support@24-205-0-231.static.lsan.ca.charter.com] has quit [Ping timeout: 258 seconds] 18:01 < HollyRain> ok, now yes 18:02 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has joined #go-nuts 18:02 < HollyRain> I was confused because at printing lastChar it returns the decimal value 18:02 < HollyRain> I was expecting the char. 18:02 < jshipley> then again, on a test program without using os/signal, ctrl+z was completely ignored, and ctrl+\ still quit with a stacktrace 18:02 < megaboz> does it print a [] around it? 18:04 -!- nf [~nf@124-168-151-239.dyn.iinet.net.au] has quit [Remote host closed the connection] 18:04 -!- nf [~nf@124-171-24-153.dyn.iinet.net.au] has joined #go-nuts 18:05 < conra> Someone from poland? 18:14 < jshipley> hmm... ctrl+z doesn't do anything, but a kill -STOP (should be the same thing, right?) does suspend the process 18:14 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined #go-nuts 18:19 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has joined #go-nuts 18:21 -!- prip_ [~foo@host224-129-dynamic.36-79-r.retail.telecomitalia.it] has quit [Ping timeout: 276 seconds] 18:22 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined #go-nuts 18:22 -!- nf [~nf@124-171-24-153.dyn.iinet.net.au] has quit [Ping timeout: 252 seconds] 18:22 < usausa> jshipley: control-z should generate the same as kill -TSTP, a signal that can be caught. It will not generate such a signal if the input is in "raw" mode (and also if it is not the controlling tty - don't ask) 18:23 -!- nf [~nf@124-168-171-32.dyn.iinet.net.au] has joined #go-nuts 18:23 < usausa> This assumes standard setup of your "stty" settings and a job control shell. 18:24 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts 18:24 -!- meanburrito920 [~john@192.5.109.49] has quit [Changing host] 18:24 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 18:35 -!- rhelmer [~rhelmer@adsl-69-107-74-210.dsl.pltn13.pacbell.net] has joined #go-nuts 18:35 -!- m1ndwarp [~m1ndwarp@d016173.adsl.hansenet.de] has quit [Quit: m1ndwarp] 18:36 -!- nettok [~netto@200.119.159.106] has joined #go-nuts 18:49 -!- GilJ [~gilles@62.88.27.142] has joined #go-nuts 18:52 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has quit [Quit: zard] 18:52 -!- zard [~dpx@c-68-35-150-172.hsd1.nm.comcast.net] has joined #go-nuts 18:55 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 18:56 -!- OpenSpace [~ja@93.86.171.79] has quit [Ping timeout: 245 seconds] 19:01 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has quit [] 19:02 -!- skelterjohn_ [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has joined #go-nuts 19:06 -!- lux` [~lux`@151.71.209.29] has joined #go-nuts 19:14 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 19:25 -!- OpenSpace [~ja@93.86.209.157] has joined #go-nuts 19:26 < jshipley> That would explain why ctrl+z doesn't suspend the program, even though kill -STOP does 19:26 -!- it_diver [~it_diver@dslb-088-068-254-249.pools.arcor-ip.net] has quit [Read error: Connection reset by peer] 19:26 < jshipley> kill -TSTP doesn't seem to do anything to a go program 19:48 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has quit [Ping timeout: 258 seconds] 20:00 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 20:01 -!- tav [~tav@89.240.57.83] has quit [Quit: tav] 20:02 -!- nettok [~netto@200.119.159.106] has quit [Ping timeout: 246 seconds] 20:03 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error: Connection reset by peer] 20:03 -!- tav [~tav@89.240.57.83] has joined #go-nuts 20:03 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has joined #go-nuts 20:17 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 20:18 -!- sku [~sk@93.190.177.208] has quit [Remote host closed the connection] 20:18 -!- nettok [~netto@200.119.159.106] has joined #go-nuts 20:26 -!- irc [~irc@209.17.191.58] has joined #go-nuts 20:27 -!- Guest98495 [~irc@209.17.191.58] has quit [Ping timeout: 265 seconds] 20:28 -!- gnuvince [~vince@72.0.219.6] has quit [Read error: Connection reset by peer] 20:28 -!- gnuvince [~vince@72.0.219.6] has joined #go-nuts 20:32 -!- nettok [~netto@200.119.159.106] has quit [Ping timeout: 248 seconds] 20:33 -!- nettok [~netto@200.119.159.106] has joined #go-nuts 20:33 -!- prip [~foo@host149-132-dynamic.43-79-r.retail.telecomitalia.it] has joined #go-nuts 20:39 -!- tav [~tav@89.240.57.83] has quit [Quit: tav] 20:41 -!- keithpoole [~keithpool@cpc3-bagu8-0-0-cust84.bagu.cable.ntl.com] has quit [Quit: keithpoole] 20:42 -!- nettok [~netto@200.119.159.106] has quit [Ping timeout: 260 seconds] 20:43 -!- analogue [~analogue@toulouse.jfg-networks.net] has quit [Ping timeout: 248 seconds] 20:43 -!- analogue [~analogue@toulouse.jfg-networks.net] has joined #go-nuts 20:51 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts 20:59 -!- nettok [~netto@200.119.159.106] has joined #go-nuts 21:04 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has quit [Quit: ericvh] 21:05 -!- Project-2501 [~Marvin@82.84.73.161] has joined #go-nuts 21:07 -!- Project_2501 [~Marvin@82.84.74.219] has quit [Ping timeout: 264 seconds] 21:07 -!- ThunderChicken [~bofh@kernel-panic/member/ThunderChicken] has quit [Quit: Leaving] 21:10 < smw> anyone here know how to use gg? 21:15 -!- mssm [~mssm@ip-95-221-225-22.bb.netbynet.ru] has joined #go-nuts 21:18 -!- mssm [~mssm@ip-95-221-225-22.bb.netbynet.ru] has quit [Client Quit] 21:21 < anticw> gg? 21:23 < smw> it is a go build utility 21:31 < jshipley> the regexp package is a Thompson NFA, right? Is there any reason a good grep implementation couldn't be written using the regexp package to match lines? 21:33 < smw> My only problem with it is that there is no non-greedy matching. I don't see a problem for your use though. DISCLAMER: I am not an expert (or even that smart) 21:36 < exch> non-greedy is indeed not in there 21:36 < smw> but it should do what jshipley wants. I have never had a problem with what it does support. 21:43 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has joined #go-nuts 21:44 -!- lux` [~lux`@151.71.209.29] has quit [Ping timeout: 252 seconds] 21:44 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has quit [Client Quit] 21:45 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has joined #go-nuts 21:47 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has quit [Client Quit] 21:47 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has joined #go-nuts 21:49 -!- Project-2501 [~Marvin@82.84.73.161] has quit [Quit: E se abbasso questa leva che succ...] 21:50 -!- b00m_chef__ [~watr@128.189.95.119] has joined #go-nuts 21:55 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has quit [Quit: Leaving] 21:57 -!- sjbrown [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has joined #go-nuts 21:59 -!- Nexoro1 [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 21:59 -!- Nexoro1 [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 22:04 -!- nettok_ [~netto@200.119.159.106] has joined #go-nuts 22:08 -!- nettok [~netto@200.119.159.106] has quit [Ping timeout: 276 seconds] 22:11 -!- skelterjohn_ [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has quit [Quit: skelterjohn_] 22:18 -!- megaboz [~none@unaffiliated/megaboz] has quit [Ping timeout: 245 seconds] 22:18 -!- nettok__ [~netto@200.119.159.106] has joined #go-nuts 22:19 -!- garbeam [~arg@212.13.194.175.rev.bitfolk.com] has quit [Quit: leaving] 22:22 -!- nettok_ [~netto@200.119.159.106] has quit [Ping timeout: 276 seconds] 22:27 -!- scm [justme@c132160.adsl.hansenet.de] has quit [Read error: Operation timed out] 22:27 -!- nettok__ [~netto@200.119.159.106] has quit [Ping timeout: 246 seconds] 22:30 -!- scm [justme@c190054.adsl.hansenet.de] has joined #go-nuts 22:37 -!- Xurix [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has joined #go-nuts 22:44 -!- nettok__ [~netto@200.119.159.106] has joined #go-nuts 22:45 -!- kssreeram [~kssreeram@122.174.136.32] has quit [Quit: kssreeram] 22:54 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has quit [Quit: Leaving] 22:54 -!- napsy [~luka@88.200.96.14] has joined #go-nuts 22:54 -!- megaboz [~none@unaffiliated/megaboz] has joined #go-nuts 22:55 < napsy> is it possible to declare an array with bounds determined on runtime? 22:56 < taruti> use slices 22:56 < napsy> can a slice be two-dimensional? 22:57 -!- nettok_ [~netto@200.119.156.103] has joined #go-nuts 22:58 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 246 seconds] 22:58 < HollyRain> I'm storing an uin64 into a file *[]byte(string(number))*, but at get it, it shows 0 22:58 < HollyRain> I'm converting using: *strconv.Atoui64(string(data))* 22:59 < napsy> t := make([][]int, n) 23:00 < napsy> I'm not sure if this really creates a n*n array 23:00 < napsy> *slice 23:00 < HollyRain> i'm using io.WriteFile, but it's saved as a binary, is it correct? 23:00 -!- nettok__ [~netto@200.119.159.106] has quit [Ping timeout: 248 seconds] 23:01 -!- GilJ [~gilles@62.88.27.142] has quit [Remote host closed the connection] 23:01 < HollyRain> it's saved as text 23:01 < HollyRain> UTF-8 Unicode text, with no line terminators 23:02 < HollyRain> although it shows a strange character 23:02 -!- weechat2 [~weechat@quepasa.solcon.nl] has quit [Read error: Connection reset by peer] 23:02 -!- wuehlmaus [~wuehlmaus@p4FCC5E7A.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 23:02 -!- weechat2 [~weechat@quepasa.solcon.nl] has joined #go-nuts 23:02 -!- wuehlmaus [~wuehlmaus@p4FCC3A29.dip.t-dialin.net] has joined #go-nuts 23:02 < HollyRain> any idea? 23:03 -!- nettok [~netto@200.119.156.103] has joined #go-nuts 23:05 < anticw> HollyRain: io.WriteFile writes bytes ... if you have non-text bytes it seems likely you're writing them out 23:05 < HollyRain> I'm writing a number converted to bytes 23:06 < anticw> post the code somewhere 23:07 -!- nettok_ [~netto@200.119.156.103] has quit [Ping timeout: 276 seconds] 23:10 < HollyRain> http://pastie.org/private/xtmijtnku2pwc3h1pbew6a 23:10 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 23:10 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 23:11 -!- sjbrown [~sjbrown@c-69-181-182-137.hsd1.ca.comcast.net] has left #go-nuts ["Leaving"] 23:12 -!- nettok [~netto@200.119.156.103] has quit [Ping timeout: 260 seconds] 23:15 < anticw> HollyRain: lastMtime is a [u]int64? right? 23:15 < HollyRain> uint64 23:16 < anticw> string(...) doesn't so what you think it does 23:16 < HollyRain> http://golang.org/src/pkg/os/types.go#L16 23:16 < anticw> you want strconv or fmt.Sprintf 23:16 < HollyRain> Mtime_ns uint64 23:17 < HollyRain> ok, thanks 23:17 < HollyRain> so, it's better use always strconv 23:17 < HollyRain> more safe 23:18 < anticw> what you're doing won't work, safe or otherwise 23:24 -!- thakis [~thakis@nat/google/x-vawzriuvajimrphy] has joined #go-nuts 23:24 < HollyRain> it's being saved at the file => %s(uint64=1269384511000000000) 23:24 < HollyRain> fmt.Sprintf("%s", lastMtime) 23:25 < anticw> this is not python :-) 23:25 < anticw> "%d" 23:25 < HollyRain> now yes, thanks 23:25 < HollyRain> it takes time to forget python ;) 23:26 < smw> anticw: do you know github well? do you know how to contact the author of software on it? 23:26 < smw> do I need an account? 23:27 < anticw> im not sure, i've never tried... i assume you need an account 23:27 < anticw> what is the project and ill check 23:27 < smw> http://github.com/msbranco/goconfig 23:27 < HollyRain> yes, you need an account 23:27 < smw> He did not put his email anywhere :-\ 23:28 < HollyRain> and then you can contact with whatever developer there 23:29 < anticw> google finds his email 23:30 < smw> ah, Miguel S. Branco 23:30 < smw> lol 23:30 < smw> +1 google 23:30 -!- nettok [~netto@200.119.156.103] has joined #go-nuts 23:32 -!- snearch [~olaf@e179134166.adsl.alicedsl.de] has quit [Quit: Ex-Chat] 23:33 < napsy> hum go doesnt support the ++ incrementor? 23:33 < smw> It doesn't? lol 23:33 < anticw> it does, only as a sufix 23:34 < napsy> I get "syntax error: unexpected ++, expecting semicolon or newline or }" 23:34 < napsy> with table[i][j] = count++ 23:34 < anticw> not valid 23:34 < anticw> = count ; count ++ 23:34 < napsy> oh ok 23:35 < anticw> http://golang.org/doc/go_spec.html#IncDecStmt 23:35 < napsy> ok thanks 23:36 -!- wrtp [~rog@89.242.175.228] has quit [Quit: wrtp] 23:37 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined #go-nuts 23:42 -!- HollyRain [~quassel@87.223.124.112] has left #go-nuts ["http://quassel-irc.org - Chat comfortably. Anywhere."] 23:53 -!- nettok_ [~netto@200.119.156.103] has joined #go-nuts 23:56 -!- nettok [~netto@200.119.156.103] has quit [Ping timeout: 260 seconds] 23:58 -!- nettok__ [~netto@200.119.156.103] has joined #go-nuts --- Log closed Sun Mar 28 00:00:36 2010