--- Log opened Thu Dec 24 00:00:36 2009 00:04 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [] 00:05 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 00:06 -!- culinor [n=man@93.155.248.18] has joined #go-nuts 00:10 -!- DerHorst [n=Horst@e176111048.adsl.alicedsl.de] has joined #go-nuts 00:11 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit [Read error: 54 (Connection reset by peer)] 00:13 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 00:15 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [] 00:21 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 00:22 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 00:23 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit [Client Quit] 00:24 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 00:29 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit [Client Quit] 00:29 -!- DerHorst [n=Horst@e176111048.adsl.alicedsl.de] has quit [Read error: 60 (Operation timed out)] 00:32 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts [] 00:32 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 00:33 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 60 (Operation timed out)] 00:36 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 00:36 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"] 00:40 -!- jammyd [n=james@cpc7-dudl3-0-0-cust37.wolv.cable.virginmedia.com] has quit [Read error: 110 (Connection timed out)] 00:41 -!- iant [n=iant@nat/google/x-lefbfzomrkicxuhh] has quit [Read error: 110 (Connection timed out)] 00:47 < bakkdoor> is there some kind of parser generation kit for go yet? 00:47 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has joined #go-nuts 00:48 -!- culinor [n=man@93.155.248.18] has left #go-nuts [] 00:51 -!- randomiser [n=james@78-105-103-158.zone3.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 00:54 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 00:54 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-173-194.adsl.proxad.net] has quit [Remote closed the connection] 00:55 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 01:08 -!- Chaba [i=3f933e87@gateway/web/freenode/x-tmlpkdzhzmvatgbs] has quit ["Page closed"] 01:11 -!- sfuentes [n=sfuentes@cpe-98-154-70-216.socal.res.rr.com] has quit ["leaving"] 01:14 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 01:14 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 01:16 -!- Ryan_ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 01:16 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 01:17 -!- tyr42 [n=tyr_god_@CPE0022b0b261a1-CM0012254318f6.cpe.net.cable.rogers.com] has joined #go-nuts 01:19 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 01:19 -!- felipe [n=felipe@my.nada.kth.se] has quit [Client Quit] 01:19 -!- smooge [n=smooge@int.smoogespace.com] has quit [Read error: 60 (Operation timed out)] 01:26 -!- itrekkie [n=itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts 01:29 -!- Tuller [n=Tuller@pool-72-84-246-12.rcmdva.fios.verizon.net] has quit [] 01:29 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 01:35 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 01:36 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 01:37 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts 01:38 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has joined #go-nuts 01:40 -!- triplez [n=triplez@cm52.sigma225.maxonline.com.sg] has quit [] 01:43 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 01:45 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 01:45 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 01:48 < goplexian> is #go-nuts logged? 01:50 -!- smooge [n=smooge@int.smoogespace.com] has quit [Read error: 54 (Connection reset by peer)] 01:50 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 01:53 < jessta> goplexian: there are logs here, http://go-lang.cat-v.org/irc-logs/ 01:54 < goplexian> thx jessta :) 01:58 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts 02:02 < goplexian> I understand the rest, I'm a little puzzled just by what the [0] is doing in this statement, anyone care to explain? 02:02 < goplexian> [2][2]int{[2]int{1,2}, [2]int{3,4}}[0:1][0][0:1] 02:03 < goplexian> [0:1] selects the first slice, then [0], and then [0:1] selects the first element of the first slice 02:04 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit [Remote closed the connection] 02:04 -!- triplez [n=triplez@bb116-14-30-219.singnet.com.sg] has joined #go-nuts 02:05 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 02:07 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 02:11 < jessta> goplexian: I don't think the [0:1] are doing anything 02:12 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 02:14 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 02:14 < goplexian> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1:][0][0:1] 02:14 < rndbot> [3] 02:15 < goplexian> [1:] selects second slice, then [0] for some strange reason, then [0:1] selects first item of second slice 02:15 < goplexian> the [0] bugs me, maybe drhodes knows but I think he is idle 02:15 < jessta> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1:][0][0:1] 02:15 < rndbot> [3] 02:15 < jessta> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1][0][0:1] 02:15 < rndbot> <Error: cannot slice (((node ARRAYLIT))[1])[0] (type int)> 02:16 < jessta> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1][0:1] 02:16 < rndbot> [3] 02:16 < goplexian> we should take this to #go-run not to annoy anyone 02:16 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 02:17 < jessta> the [1:] is the same as [1] for a 2 item array 02:18 < goplexian> yes, i see, that helps, i can throw away the [0] now 02:20 < goplexian> seems strange though 02:20 < goplexian> I would have thought these two would be the same 02:20 < goplexian> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1:][1:] 02:20 < rndbot> [] 02:20 < goplexian> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1][1:] 02:20 < rndbot> [4] 02:21 < goplexian> @eval [2][2]int{[2]int{1,2}, [2]int{3,4}}[1][1] 02:21 < rndbot> 4 02:22 * goplexian boggles. 02:25 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Read error: 110 (Connection timed out)] 02:25 < jessta> ah, good point, [1:] is a slice, [1] is an int 02:26 < goplexian> so thats whats going on, hmm 02:29 -!- felipe [n=felipe@my.nada.kth.se] has joined #go-nuts 02:30 -!- Guest26185 [n=elmar@dslb-188-097-000-035.pools.arcor-ip.net] has quit ["Leaving"] 02:32 -!- Sungem [i=ss@220-136-228-91.dynamic.hinet.net] has joined #go-nuts 02:37 < exitstate> file.Readdir is similar to 'ls' yes? 02:38 < Gracenotes> what's the best route for parsing config files? 02:39 < Gracenotes> I suppose it's not so hard to scan line by line, ignoring those without ='s reading until #s, and parsing manually, but... trivial batteries included, maybe? 02:39 -!- tyr42 [n=tyr_god_@CPE0022b0b261a1-CM0012254318f6.cpe.net.cable.rogers.com] has left #go-nuts [] 02:43 -!- usa [n=usa@pool-71-116-81-237.snfcca.dsl-w.verizon.net] has joined #go-nuts 02:56 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 02:57 < goplexian> I wish there was function overloading 02:58 * goplexian sniffles a little. 03:02 -!- path[l] [i=UPP@120.138.102.34] has quit [] 03:06 < Ycros> goplexian: aye. But then you have interfaces 03:07 < Gracenotes> function overloading, that evil hack? :/ 03:07 < goplexian> maybe I just dont know how to do what I want to do 03:07 < Gracenotes> function overloading is trivial, but annoying, to translate into non-overloaded names. So it doesn't provide you too much abstraction. 03:08 < Gracenotes> annoying if you make your compiler do it, mainly 03:08 < Ycros> goplexian: what do you want to do? 03:08 < Gracenotes> so you want to dispatch somehow, right? I'm sure Go can help.. perhaps. 03:08 < goplexian> I'm writing a little library wrapper type thing and I want the user to be able to call structthing.addfoo(blah, blah) but also structthing.addfoo(blah, blah, blah) 03:09 < Ycros> goplexian: yeah 03:09 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has quit ["Computer has gone to sleep"] 03:09 < Ycros> goplexian: well, you could accept nil for the last argument, or you could use var args 03:10 < goplexian> computer explain var args 03:10 < dho> go supports varargs. 03:11 < dho> see eg. template/template.go 03:11 < dho> or log/log.go 03:11 < dho> in src/pkg 03:13 < goplexian> am I looking for `= itoa` ? 03:16 < goplexian> dho, I'm not sure what you mean by varargs, do you mean looking up a variable with reflect? 03:23 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts 03:27 -!- ekidd [n=ekidd@71.169.183.174] has joined #go-nuts 03:37 -!- rndbot [n=bot@wikipedia/Gracenotes] has quit [Remote closed the connection] 03:37 -!- rndbot [n=bot@wikipedia/Gracenotes] has joined #go-nuts 03:38 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 03:38 < exitstate> hmm 03:38 < Gracenotes> rndbot should be more privy to private messages now 03:39 < exitstate> On my other machine, i have an issue building go, I get cat /tmp/gotest1-....-user: No such file or directory, when it gets to testing on a few hundred files 03:41 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit [Remote closed the connection] 03:43 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 104 (Connection reset by peer)] 03:44 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 03:49 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has quit [] 03:51 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 03:51 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 04:01 < kevinwatt> How to know the key is exist in a maps or not? 04:05 < jessta> kevinwatt: item,ok := somemap[key] 04:05 < jessta> and then check that ok is true 04:07 < kevinwatt> jessta: understand, thx. :) 04:09 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 04:09 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 04:10 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 04:14 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 04:17 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has joined #go-nuts 04:19 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 04:22 -!- viirya [n=viirya@cml506-25.csie.ntu.edu.tw] has quit ["leaving"] 04:23 -!- path[l]_ [i=UPP@120.138.102.34] has joined #go-nuts 04:23 -!- path[l] [i=UPP@120.138.102.34] has quit [Read error: 104 (Connection reset by peer)] 04:25 -!- viirya [n=viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts 04:27 -!- uman [n=uman@ip98-165-123-27.ph.ph.cox.net] has joined #go-nuts 04:28 -!- ekidd [n=ekidd@71.169.183.174] has quit [] 04:39 < exitstate> ugh, can't build go with grsec 04:39 < exitstate> fun 04:47 -!- JSharpe2 [n=jamie@5ad93950.bb.sky.com] has quit [Read error: 60 (Operation timed out)] 04:47 -!- JSharpe2 [n=jamie@5ad9395e.bb.sky.com] has joined #go-nuts 04:48 -!- arquebus [n=shintaro@201.139.156.133.cable.dyn.cableonline.com.mx] has joined #go-nuts 04:52 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit [Read error: 113 (No route to host)] 04:57 -!- XniX23 [n=XniX23@89-212-185-98.dynamic.dsl.t-2.net] has quit [Remote closed the connection] 04:59 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 05:00 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 05:09 -!- Soak [n=Soak@mst45-1-82-231-239-194.fbx.proxad.net] has joined #go-nuts 05:12 < Ycros> exitstate: ouch 05:12 < anticw> exitstate: what error(s) do you get? 05:17 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 05:17 < defectiv> does go have an associative array concept? 05:17 < Ycros> defectiv: yes, it has maps - they are built-in. 05:17 < defectiv> oh, that's what a map is.. 05:18 < defectiv> can arrays/maps have mixed types? 05:18 -!- SoniaKiss [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 05:18 < jessta> defectiv: nope 05:19 < Ycros> unless you store an interface{} and use type checks to get values out 05:19 < jessta> but you can declare them as an interface type, and put things in there that have that interface 05:19 < SoniaKiss> oh my, look at all the people (my first time here) 05:21 < kfx> thanks for letting us know 05:24 < defectiv> what's wrong with this? var win_lose = map[map]{"frontrunner": map[int]{"win": 0, "lose":0}, "nonfrontrunner": map[int]{"win": 0, "lose": 0}} 05:27 < defectiv> oh i think i see 05:27 < exitstate> found a weird build bug 05:27 < exitstate> if I run ./all.bash with grsec kernel, it fails on the test folder. 05:28 < exitstate> saying cat: /tmp/gotest1-3213-xorl: No such file or directory on every file in the dir 05:28 < defectiv> is google actually using go to run mainstream products yet? 05:28 < exitstate> but if I run ./run in the test dir on its own, it works 05:28 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read error: 54 (Connection reset by peer)] 05:28 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 05:29 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read error: 54 (Connection reset by peer)] 05:29 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 05:30 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Connection reset by peer] 05:30 < SoniaKiss> ./all.bash doesn't quite give me a clean test result, but the build seems to work ok 05:30 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 05:30 < exitstate> SoniaKiss: do you get the cat tmp errors? 05:31 < skelterjohn> ./all.bash very rarely completes successfully, for me, but has always worked with what i did 05:32 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 05:32 < SoniaKiss> no, i get a fail: ken/chan.go 05:32 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 05:33 < SoniaKiss> and yes sj, it's working pretty well. i'm having a problem with the gob package though 05:33 -!- Solver [n=robert@capella.opentrend.net] has quit [Client Quit] 05:33 < exitstate> builds for me, just doesn't finish the test 05:34 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 05:35 < Soak> how install a library please? 05:35 < Soak> like http://github.com/banthar/Go-SDL 05:36 -!- rillianbis [n=giles@s66-183-19-247.bc.hsia.telus.net] has joined #go-nuts 05:38 -!- ejb [n=ejb@unaffiliated/ejb] has quit [Remote closed the connection] 05:42 < skelterjohn> Soak: "make install" 05:42 -!- arquebus [n=shintaro@201.139.156.133.cable.dyn.cableonline.com.mx] has left #go-nuts ["Konversation terminated!"] 05:43 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 05:44 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has quit [] 05:45 -!- Soak [n=Soak@mst45-1-82-231-239-194.fbx.proxad.net] has quit [] 05:45 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 05:47 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 05:48 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts 06:03 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 06:03 -!- mode/#go-nuts [+v iant] by ChanServ 06:05 -!- rrr [i=rrr@gateway/gpg-tor/key-0x9230E18F] has joined #go-nuts 06:06 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 06:06 -!- SoniaK [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has joined #go-nuts 06:09 -!- SoniaK [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit [] 06:28 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 06:33 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has quit [Read error: 60 (Operation timed out)] 06:38 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 06:46 -!- kanru1 [n=kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 06:46 -!- kanru [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Read error: 110 (Connection timed out)] 06:51 -!- uman [n=uman@ip98-165-123-27.ph.ph.cox.net] has quit [Read error: 110 (Connection timed out)] 06:55 -!- carllerche [n=carllerc@c-69-181-129-204.hsd1.ca.comcast.net] has quit [] 06:56 -!- trops [n=tascote@unaffiliated/trops] has joined #go-nuts 06:59 -!- aho [n=nya@f051020200.adsl.alicedsl.de] has quit ["EXEC_over.METHOD_SUBLIMATION"] 07:02 -!- trops [n=tascote@unaffiliated/trops] has left #go-nuts ["on my way out"] 07:03 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts 07:09 -!- amuck [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has joined #go-nuts 07:10 -!- path[l] [i=UPP@120.138.102.34] has quit [] 07:14 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 07:18 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error: 104 (Connection reset by peer)] 07:18 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 60 (Operation timed out)] 07:18 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has joined #go-nuts 07:20 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 07:24 -!- gnuvince [n=vince@64.235.202.24] has quit [Read error: 113 (No route to host)] 07:25 -!- dju [i=dju@89-158-203-122.rev.dartybox.com] has joined #go-nuts 07:29 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 07:31 -!- dju_ [i=dju@89-158-203-122.rev.dartybox.com] has quit [Read error: 110 (Connection timed out)] 07:32 -!- Sungem [i=ss@220-136-228-91.dynamic.hinet.net] has quit [Client Quit] 07:37 -!- amuck [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has quit [Remote closed the connection] 07:38 -!- path[l] [n=path@122.182.0.38] has joined #go-nuts 07:45 -!- path[l] [n=path@122.182.0.38] has quit [] 07:47 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 07:47 -!- trickie [n=trickie@94.100.112.225] has quit [Client Quit] 07:47 -!- trickie [n=trickie@94.100.112.225] has joined #go-nuts 07:50 -!- Sungem [i=ss@220-136-229-64.dynamic.hinet.net] has joined #go-nuts 07:51 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 08:06 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 08:06 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 08:19 -!- amuck [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has joined #go-nuts 08:20 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has joined #go-nuts 08:23 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 08:23 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 08:27 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts 08:32 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts 08:32 -!- lux` [n=lux@151.95.189.174] has quit [Read error: 54 (Connection reset by peer)] 08:32 -!- lux_ [n=lux@151.95.189.174] has joined #go-nuts 08:36 -!- rillianbis [n=giles@s66-183-19-247.bc.hsia.telus.net] has quit ["This computer has gone to sleep"] 08:48 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 60 (Operation timed out)] 08:53 -!- p0g0_ [n=pogo@unaffiliated/p0g0] has joined #go-nuts 08:56 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts 08:56 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 08:57 -!- p0g0__ [n=pogo@unaffiliated/p0g0] has quit [Read error: 113 (No route to host)] 09:05 -!- SoniaKiss [n=soniakey@c-76-118-178-209.hsd1.ma.comcast.net] has quit [] 09:05 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 09:06 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has quit [Remote closed the connection] 09:09 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 09:09 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 09:16 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 09:17 -!- Oejet [n=s022018@glint10.gbar.dtu.dk] has joined #go-nuts 09:19 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 09:29 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 09:34 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts 09:37 -!- iwikiwi [n=iwikiwi@202.3.77.134] has joined #go-nuts 09:39 -!- gnuvince [n=vince@70.35.167.40] has joined #go-nuts 09:44 -!- murodes1 [n=James@203-206-70-192.dyn.iinet.net.au] has joined #go-nuts 09:49 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [Read error: 110 (Connection timed out)] 09:49 -!- triplez [n=triplez@bb116-14-30-219.singnet.com.sg] has quit [] 09:53 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 09:53 -!- path[l] [n=path@59.162.86.164] has quit [] 09:54 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has quit [Read error: 110 (Connection timed out)] 09:55 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 09:57 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 09:59 -!- murodes1 [n=James@203-206-70-192.dyn.iinet.net.au] has left #go-nuts [] 10:02 -!- jammyd [n=james@cpc7-dudl3-0-0-cust37.wolv.cable.virginmedia.com] has joined #go-nuts 10:08 -!- iwikiwi [n=iwikiwi@202.3.77.134] has quit ["Computer has gone to sleep"] 10:14 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Read error: 54 (Connection reset by peer)] 10:16 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has joined #go-nuts 10:17 -!- randomiser [n=james@78-105-103-158.zone3.bethere.co.uk] has joined #go-nuts 10:28 -!- gnuvince_ [n=vince@72.0.201.143] has joined #go-nuts 10:31 -!- path[l] [n=path@59.162.86.164] has quit [] 10:33 -!- chickamade [n=chickama@123.16.73.41] has joined #go-nuts 10:35 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 10:35 -!- kanru1 [n=kanru@61-30-10-70.static.tfn.net.tw] has quit [Client Quit] 10:37 -!- gnuvince [n=vince@70.35.167.40] has quit [Read error: 60 (Operation timed out)] 10:38 -!- fredmorcos [n=fred@82.201.168.85] has joined #go-nuts 10:40 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has joined #go-nuts 10:43 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has joined #go-nuts 10:43 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-173-194.adsl.proxad.net] has joined #go-nuts 10:48 -!- Fish-Work [n=Fish@194.182.65-86.rev.gaoland.net] has quit [Read error: 104 (Connection reset by peer)] 10:48 -!- Fish-Work [n=Fish@86.65.182.194] has joined #go-nuts 10:50 -!- Fish-Work [n=Fish@86.65.182.194] has quit [Remote closed the connection] 10:57 -!- alc [n=alc@114.245.253.178] has joined #go-nuts 11:03 -!- afurlan [n=afurlan@scorpion.mps.com.br] has joined #go-nuts 11:04 -!- Guest28846 [n=james@cpc7-dudl3-0-0-cust37.wolv.cable.virginmedia.com] has quit ["Leaving"] 11:07 -!- jhh [n=jhh@i577BA21D.versanet.de] has joined #go-nuts 11:07 -!- randomiser [n=james@78-105-103-158.zone3.bethere.co.uk] has quit ["making the jump..."] 11:12 -!- fredmorcos [n=fred@82.201.168.85] has quit ["Ex-Chat"] 11:13 -!- tomestla [n=tom@87.100.115.249] has joined #go-nuts 11:16 -!- fredmorcos [n=fred@82.201.168.85] has joined #go-nuts 11:20 -!- chickamade [n=chickama@123.16.73.41] has quit ["Leaving"] 11:21 -!- fwiffo [n=fwiffo@unaffiliated/fwiffo] has quit ["Lost terminal"] 11:27 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 11:36 -!- Associat0r [n=Associat@h163153.upc-h.chello.nl] has joined #go-nuts 11:37 -!- ikke [n=ikke@unaffiliated/ikkebr] has quit [Read error: 60 (Operation timed out)] 11:39 -!- ikke [n=ikke@unaffiliated/ikkebr] has joined #go-nuts 11:49 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection reset by peer)] 11:50 -!- fredmorcos [n=fred@82.201.168.85] has quit [Read error: 110 (Connection timed out)] 11:55 -!- path[l] [n=path@59.162.86.164] has quit [] 11:59 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Remote closed the connection] 12:22 -!- ekidd [n=ekidd@71.169.186.204] has joined #go-nuts 12:32 -!- ekidd [n=ekidd@71.169.186.204] has quit [] 12:36 -!- ekidd [n=ekidd@71.169.186.204] has joined #go-nuts 12:38 -!- fredmorcos [n=fred@41.196.101.37] has joined #go-nuts 12:45 -!- kanru [n=kanru@61-228-152-168.dynamic.hinet.net] has joined #go-nuts 12:46 -!- fredmorcos [n=fred@41.196.101.37] has quit ["Ex-Chat"] 12:51 -!- JSharpe2 [n=jamie@5ad9395e.bb.sky.com] has quit [Client Quit] 12:51 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [Read error: 54 (Connection reset by peer)] 12:51 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has joined #go-nuts 12:52 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts 12:54 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has quit [Client Quit] 12:54 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [Read error: 104 (Connection reset by peer)] 12:54 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has joined #go-nuts 12:55 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has joined #go-nuts 12:57 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts 12:58 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has quit [Client Quit] 12:59 -!- JSharpe [n=jamie@5ad9395e.bb.sky.com] has joined #go-nuts 13:00 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 13:02 -!- dju_ [i=dju@89-158-203-122.rev.dartybox.com] has joined #go-nuts 13:06 < ekidd> Is there an efficient way to recompile Go after making tiny changes? "make all" always does a full build from scratch for me. 13:12 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 13:13 -!- mertimor [n=mertimor@p4FE75DAA.dip.t-dialin.net] has joined #go-nuts 13:15 -!- uman [n=uman@unaffiliated/uman] has joined #go-nuts 13:19 -!- uman [n=uman@unaffiliated/uman] has quit [Remote closed the connection] 13:19 -!- dju [i=dju@89-158-203-122.rev.dartybox.com] has quit [Read error: 110 (Connection timed out)] 13:20 -!- DerHorst [n=Horst@e176098148.adsl.alicedsl.de] has joined #go-nuts 13:21 -!- raichoo [n=raichoo@i5387E5A6.versanet.de] has joined #go-nuts 13:23 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 13:24 -!- ikke [n=ikke@unaffiliated/ikkebr] has quit [] 13:31 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 13:35 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has joined #go-nuts 13:36 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read error: 104 (Connection reset by peer)] 13:38 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 13:38 -!- mode/#go-nuts [+v iant] by ChanServ 13:39 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 13:39 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 104 (Connection reset by peer)] 13:40 -!- Guest14270 [n=lux@151.95.189.174] has quit [Read error: 54 (Connection reset by peer)] 13:42 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"] 13:45 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts 13:45 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit [Read error: 60 (Operation timed out)] 13:46 -!- ekidd [n=ekidd@71.169.186.204] has quit [] 13:48 -!- scm [i=justme@c133223.adsl.hansenet.de] has quit [Read error: 60 (Operation timed out)] 13:50 -!- scm [i=justme@c133193.adsl.hansenet.de] has joined #go-nuts 13:51 -!- lux` [n=lux@151.95.189.174] has quit [Remote closed the connection] 13:52 -!- afurlan [n=afurlan@scorpion.mps.com.br] has quit [Remote closed the connection] 13:54 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts 13:57 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 14:03 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 14:07 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has joined #go-nuts 14:08 -!- raichoo [n=raichoo@i5387E5A6.versanet.de] has quit [] 14:18 -!- melba [n=blee@unaffiliated/lazz0] has joined #go-nuts 14:18 -!- alc [n=alc@114.245.253.178] has quit [] 14:19 -!- melba [n=blee@unaffiliated/lazz0] has quit [Read error: 104 (Connection reset by peer)] 14:20 -!- path[l] [n=path@59.162.86.164] has quit [] 14:21 -!- path[l] [n=path@59.162.86.164] has joined #go-nuts 14:29 < dagle> On the first day of christmas google gave to me, a lang that could be compiled but looked nicer then C. 14:31 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has quit [] 14:32 -!- lux` [n=lux@151.95.189.174] has quit [Read error: 54 (Connection reset by peer)] 14:35 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts 14:41 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"] 14:47 -!- tomestla [n=tom@87.100.115.249] has quit ["Leaving."] 14:48 -!- trickie [n=trickie@94.100.112.225] has quit [Read error: 60 (Operation timed out)] 14:50 -!- ekidd [n=ekidd@71.169.190.30] has joined #go-nuts 14:55 < dho> On the day before the first day of christmas the rats outside of my house gave to me 14:55 < dho> two chewed through spark plug wires 14:56 < dho> one chewed through encasing 14:56 < dho> that partridge must be eluding me somewhere. 14:57 -!- ekidd [n=ekidd@71.169.190.30] has quit [] 15:01 -!- jimdagem [n=jimdagem@69.57.198.88] has joined #go-nuts 15:01 -!- jhh_ [n=jhh@i577B93BA.versanet.de] has joined #go-nuts 15:01 -!- GoNoGo_ [n=penalva@pc115.pallas.cines.fr] has quit [Client Quit] 15:04 < dagle> dho: They didn't make you food like in the movie? :( 15:04 < dho> no, they ate my car 15:04 < dho> my new 2010 ford fusion 15:05 < dho> like, just-bought-two-weeks-ago-and-only-have-800-miles-on-it new 15:05 < dagle> :( 15:05 < dagle> That sucks. 15:05 < dho> yep, and insurance is closed tomorrow through the weekend 15:05 < dho> so if it doesn't get taken care of today i'm fucked 15:06 < kfx> dho: stop smearing peanut butter on important engine components 15:07 < dho> kfx: the only thing i can think of is that it was warm near the engine block. 15:07 < dho> there's snow and ice all over 15:07 < kfx> yeah that happens 15:08 < kfx> go to a pet store, get some 'bitters' of the sort used to keep rabbits from eating furniture 15:08 < kfx> apply to the cabling and hoses when you park for the night 15:08 < kfx> it'll hold you out until you can pay someone to come in and rain death down upon the enemy 15:09 * dho feels like the city should do that :( 15:09 < kfx> probably 15:10 < dho> i'm gonna have to tell the neighbors to watch out too. 15:10 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has joined #go-nuts 15:10 < dho> sigh. 15:10 < jimdagem> you had animals nest in your car? 15:11 < dho> at least i decided to spend the extra $8 a month for the $100 deductible plan 15:11 < dho> when your premium is >200 a month, $8 extra doesn't matter that much anyway 15:12 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has quit [Read error: 110 (Connection timed out)] 15:14 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 104 (Connection reset by peer)] 15:14 -!- p4p4 [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Read error: 60 (Operation timed out)] 15:16 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts 15:16 -!- jhh [n=jhh@i577BA21D.versanet.de] has quit [Read error: 110 (Connection timed out)] 15:25 -!- ekidd [n=ekidd@71.169.190.30] has joined #go-nuts 15:25 -!- kanru [n=kanru@61-228-152-168.dynamic.hinet.net] has quit ["WeeChat 0.3.1-dev"] 15:26 -!- Meidor_ [n=quassel@cl-936.ams-05.nl.sixxs.net] has quit [Read error: 60 (Operation timed out)] 15:33 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 15:37 -!- KillerX [n=anant@adsl-065-012-176-096.sip.asm.bellsouth.net] has joined #go-nuts 15:40 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 15:41 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has quit [Client Quit] 15:42 -!- skelterjohn [n=jasmuth@c-76-99-92-193.hsd1.nj.comcast.net] has joined #go-nuts 15:44 -!- kanru [n=kanru@220-132-104-233.HINET-IP.hinet.net] has joined #go-nuts 15:51 -!- kanru [n=kanru@220-132-104-233.HINET-IP.hinet.net] has quit ["WeeChat 0.3.1-dev"] 15:54 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 15:56 -!- chickamade [n=chickama@123.16.73.41] has joined #go-nuts 15:57 -!- lux` [n=lux@151.95.189.174] has quit [Read error: 104 (Connection reset by peer)] 15:58 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."] 15:59 -!- jimdagem [n=jimdagem@69.57.198.88] has quit [] 16:00 -!- KillerX [n=anant@adsl-065-012-176-096.sip.asm.bellsouth.net] has joined #go-nuts 16:07 -!- decriptor [n=decripto@67.137.29.22] has joined #go-nuts 16:07 -!- chickamade [n=chickama@123.16.73.41] has quit ["Leaving"] 16:19 -!- amorpisseur [n=analogue@toulouse.jfg-networks.net] has quit [] 16:21 -!- tibshoot [n=tibshoot@linagora-230-146.pr0.nerim.net] has quit [Remote closed the connection] 16:22 -!- ekidd [n=ekidd@71.169.190.30] has quit [] 16:24 -!- tkmorris [n=unknown@187.58.174.42] has joined #go-nuts 16:26 -!- Ryan____ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 16:28 -!- tkmorris [n=unknown@187.58.174.42] has left #go-nuts ["Killed!"] 16:35 -!- fynn [n=fynn@unaffiliated/fynn] has joined #go-nuts 16:35 < fynn> Quick question: I know Go has support for automatic garbage collection. can I turn that off and manage memory myself, the way I did in C? 16:42 -!- [[sroracle]] [n=sroracle@c-98-215-178-14.hsd1.in.comcast.net] has joined #go-nuts 16:43 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 16:44 -!- rakd [n=rakd@219.117.252.7.static.zoot.jp] has quit ["See you..."] 16:44 -!- yaroslav [n=yaroslav@93.157.184.185] has joined #go-nuts 16:47 -!- iwikiwi [n=iwikiwi@202.3.77.160] has quit ["I ascend to reality!"] 16:47 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has joined #go-nuts 16:47 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 110 (Connection timed out)] 16:59 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined #go-nuts 17:01 -!- iwikiwi [n=iwikiwi@202.3.77.160] has joined #go-nuts 17:04 < anticw> fynn: no 17:07 < fynn> anticw: hm, that's a problem for me, but thanks. 17:07 < fynn> are there plans to add support for that at any future time? 17:07 < fynn> (kind of hard to use Go as a "systems language" if I can't control memory) 17:09 -!- ziyu4huang [n=ziyu_hua@220-133-3-82.HINET-IP.hinet.net] has joined #go-nuts 17:10 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit [] 17:11 < anticw> i dont think it would work that same way you do things in C 17:11 < anticw> as to whether this prevents it being a systems language, time will tell 17:13 -!- path[l] [n=path@59.162.86.164] has quit [] 17:13 < exDM69> I'm sure you can call malloc yourself 17:13 < exDM69> but that wouldn't really make any sense in most cases 17:14 < exDM69> in other cases, it might. for example if you need "page locked" memory for DMA transfer or something similar 17:14 < exDM69> memory mapping, etc 17:17 < anticw> special allocations and page pinning aren't entirely the same as doing alloc/free explicitly 17:18 < anticw> both of those make sense and it's been suggested the runtime (or something) support such cases 17:18 < anticw> do all memory management yourself though would likely mean subverting some aspects of the type system... which certainly you can do, but it's hard to see why you would do this as the norm 17:19 < exDM69> no, not exactly the same but from a go programmer's view calling malloc/free is similar to calling mmap/munmap 17:19 < dho> i believe someone's working on mmap support. 17:19 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has quit [] 17:20 < anticw> dho: i thought about that, for both array backing store and also zero-or-touch for large objects ... got a reference? 17:20 < dho> seem to recall it on the ml or maybe from talking with russ 17:20 -!- Adys [n=Adys@unaffiliated/adys] has quit [Remote closed the connection] 17:21 < anticw> i have code here that uses unsafe.Pointer for some 'hacks' to deal with large int arrays, but even so those are pretty contained 17:21 -!- Kibiz0r [n=kibiyama@99-48-204-31.lightspeed.brhmmi.sbcglobal.net] has quit ["Leaving."] 17:25 -!- Ryan____ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 17:26 -!- murodes1 [n=James@203-59-16-205.dyn.iinet.net.au] has joined #go-nuts 17:27 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts 17:30 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 17:30 < anticw> dho: ok, it looks to work if you dod the syscall directly and then futz with unsafe.Pointer ... that's really not that bad 17:31 < anticw> dho: you do have to be careful with what you're doing sure, and lack of finalizers makes tracking when to free a bit ugly, but it's not greatly worse than C then 17:32 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 17:32 < dho> I dunno. There are times when I do wish it had that support. 17:34 < anticw> dho: how would you use it? i mean, for the most part you can make a package to do this for you doing just what i did 17:34 < anticw> when finalizers are supported you can use that for the free/release path 17:35 < dho> Would be cool to have just a native pointer type that you can do anything with. The native type system knows what sizes your types are, so you could just read directly into them 17:35 < dho> it would probably have to go through some sort of interface, but it would be nice. 17:38 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 17:38 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 17:38 < anticw> dho: i dont really see how that's work that using some package that uses reflection + unsafe to allocate for you 17:39 < anticw> s/work/better/ 17:39 < anticw> dho: i'm more concerned about that fact ints are used everywhere so i can't have really large arrays easily 17:39 -!- fynn [n=fynn@unaffiliated/fynn] has left #go-nuts ["Leaving"] 17:42 < dho> i haven't played with unsafe really, so if that's a possibility cool. reflection is slow though, so it almost defeats the purpose in a lot of cases, i imagine. 17:43 < dho> i don't know what you mean by prevalence of ints meaning you can't have really large arrays 17:45 -!- murodese [n=James@203-206-70-192.dyn.iinet.net.au] has quit [Read error: 110 (Connection timed out)] 17:48 < anticw> dho: over 2^32 elements 17:49 < dho> Oh, I see. 17:49 -!- Venom_X [n=pjacobs@c-76-31-231-95.hsd1.tx.comcast.net] has joined #go-nuts 17:49 < dho> hm, array access is int offset? 17:50 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [] 17:50 < anticw> lots of APIs are int as well 17:50 < dho> fail. 17:50 < dho> that seems short-sighted. 17:51 * dho thinks it should be using whatever type carries intptr 17:51 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts 17:51 < anticw> well, int64 sucks on 32-bit platforms ... and even on 64-bit platforms is bloaty 17:51 < dho> on 32-bit platforms intptr is 32 bits 17:57 -!- mertimor [n=mertimor@p4FE75DAA.dip.t-dialin.net] has quit [] 17:58 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 17:58 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 60 (Operation timed out)] 18:05 < dho> anticw: and 64-bit platforms are bloaty anyway because they're 64-bits. that's why you get more ram for them :) 18:06 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 18:07 -!- Meidor [n=quassel@cl-936.ams-05.nl.sixxs.net] has joined #go-nuts 18:07 -!- vizzord [n=exn@195.49.206.202] has quit ["see you"] 18:09 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [Read error: 110 (Connection timed out)] 18:10 -!- yaroslav [n=yaroslav@93.157.184.185] has quit [] 18:12 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 18:12 -!- nop_coder [n=diomedes@77.125.211.78] has joined #go-nuts 18:18 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit ["Leaving..."] 18:26 -!- lux` [n=lux@151.95.189.174] has joined #go-nuts 18:26 < taruti> anticw: nothing is stopping you of specifying the array element types to be 8/16/32 bits. 18:27 < taruti> anticw: using native word sized ints in most interfaces is sensible. 18:27 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit ["Client exited."] 18:29 -!- Venom_X [n=pjacobs@c-76-31-231-95.hsd1.tx.comcast.net] has quit [] 18:31 -!- Venom_X [n=pjacobs@c-76-31-231-95.hsd1.tx.comcast.net] has joined #go-nuts 18:34 -!- raichoo [n=raichoo@i5387E5A6.versanet.de] has joined #go-nuts 18:36 -!- nop_coder [n=diomedes@77.125.211.78] has left #go-nuts ["Closed channel window."] 18:38 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit ["( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )"] 18:39 -!- Alkavan [n=alkavan@87.68.244.60.adsl.012.net.il] has joined #go-nuts 18:40 -!- skyyy [n=lol@cpe-24-58-178-87.twcny.res.rr.com] has joined #go-nuts 18:40 -!- snearch [n=olaf@g225051191.adsl.alicedsl.de] has joined #go-nuts 18:50 -!- Kashia [n=Kashia@p4FEB5844.dip.t-dialin.net] has joined #go-nuts 18:59 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts 18:59 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts 19:01 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts 19:05 -!- Ortzinator [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined #go-nuts 19:14 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined #go-nuts 19:15 < KirkMcDonald> Hmm, I haven't used Go in a few weeks. 19:15 < KirkMcDonald> They went and made newlines significant? 19:17 < exDM69> is that a recent change 19:18 < KirkMcDonald> Well, I got a patch from someone for my Go project which "Updates the source code to match the recent parsing changes 19:18 < KirkMcDonald> (specifically the implicit semicolon on newline)" 19:18 < KirkMcDonald> And I'm just wondering where I can see more about this change. 19:19 -!- dju__ [i=dju@209-99-13-255.fwd.datafoundry.com] has joined #go-nuts 19:20 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts 19:22 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has quit [Read error: 60 (Operation timed out)] 19:23 < drhodes> KirkMcDonald: there's some debate on the mailing list about it 19:23 -!- dju [i=dju@138.199.66.8] has joined #go-nuts 19:25 -!- dju_ [i=dju@89-158-203-122.rev.dartybox.com] has quit [Read error: 60 (Operation timed out)] 19:26 < KirkMcDonald> It appears to interfere with the style I was using for very long function declarations. 19:27 < KirkMcDonald> For fuctions with long parameter lists and multiple return types, I was using: func name \n (arg, arg, arg, arg, string) \n (r1 int, err os.Error) 19:27 < KirkMcDonald> That is, spreading it across three lines. 19:27 < dho> newlines are only significant in a few cases, and that's because every line gets an implicit semicolon. 19:28 -!- gasreaa [n=atwong@nat/slide/x-dupkpmllicrytlqy] has joined #go-nuts 19:28 -!- gasreaa [n=atwong@nat/slide/x-dupkpmllicrytlqy] has left #go-nuts [] 19:30 -!- dju__ [i=dju@209-99-13-255.fwd.datafoundry.com] has quit [Read error: 60 (Operation timed out)] 19:30 < KirkMcDonald> Oh, wait, that's not the style I was using. 19:31 < KirkMcDonald> It was: func (r *ReceiverType) \n name(arg, arg, arg, arg string) \n (ret int, err os.Error) 19:32 < dho> same answer applies 19:32 < dho> func and { must appear on the same line. 19:32 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has joined #go-nuts 19:32 < KirkMcDonald> Barring line continuations. 19:33 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit [Read error: 110 (Connection timed out)] 19:33 < dho> well, which effectively makes it the same line :) 19:33 < KirkMcDonald> Yes. :-) 19:34 < KirkMcDonald> I don't know if I like this. 19:35 -!- dju_ [i=dju@89-158-203-122.rev.dartybox.com] has joined #go-nuts 19:35 < KirkMcDonald> I was going to ask "but can a semicolon even appear between 'func' and '{'," but then I realized that a semicolon can appear wherever a type is required. 19:37 < KirkMcDonald> Still. I would think that this meaning of a newline could be limited to contexts in which a semicolon is used. 19:37 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 110 (Connection timed out)] 19:39 -!- kashia_ [n=Kashia@p4FEB490C.dip.t-dialin.net] has joined #go-nuts 19:41 -!- stevenyvr [n=schan@76-10-184-108.dsl.teksavvy.com] has joined #go-nuts 19:41 < KirkMcDonald> The proposed change is a lexical change, which seems like the wrong way to do it. 19:43 < dho> KirkMcDonald: it does simplify the parser quite a bit. 19:43 < KirkMcDonald> I would do something like: Add a 'newline' token to the lexer. Change all occurances of ';' in the grammar to be a new production: Semicolon = ';' | newline. Ignore newlines in all other contexts. 19:43 < dho> KirkMcDonald: Having done most of my actually in-Go coding post-change, I must say I rather like it. 19:45 < KirkMcDonald> Mostly I want to capture the relative elegance of how Python does it. 19:45 -!- Vova [n=Vova@IGLD-84-228-226-52.inter.net.il] has joined #go-nuts 19:45 < dho> i'm not fond of how python does it 19:45 < KirkMcDonald> No? 19:46 < dho> no, every scope gets its own tab convention 19:46 < KirkMcDonald> I am not referring to how Python delimits blocks. 19:46 < KirkMcDonald> I am referring to how Python uses newlines as statement separators. 19:47 < KirkMcDonald> But then ignores newlines in other contexts. 19:48 < KirkMcDonald> It does this by making newlines part of the grammer, rather than doing some weird lexical hack. 19:49 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [] 19:52 < KirkMcDonald> Which isn't to say that these two parts of the grammar are not related. 19:52 -!- dju [i=dju@138.199.66.8] has quit [Read error: 110 (Connection timed out)] 19:52 < KirkMcDonald> (Blocks and statements, I mean.) 19:56 -!- Kashia [n=Kashia@p4FEB5844.dip.t-dialin.net] has quit [Read error: 101 (Network is unreachable)] 19:58 -!- skyyy [n=lol@cpe-24-58-178-87.twcny.res.rr.com] has quit [Client Quit] 20:08 -!- vizzord [n=exn@195.49.206.202] has joined #go-nuts 20:12 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has joined #go-nuts 20:14 -!- decriptor [n=decripto@67.137.29.22] has quit [Read error: 110 (Connection timed out)] 20:14 -!- zhaozhou [n=zhaozhou@81-230-150-107-o864.telia.com] has joined #go-nuts 20:14 -!- teedex [n=teedex@adsl-75-36-137-249.dsl.pltn13.sbcglobal.net] has joined #go-nuts 20:20 -!- adaro [n=jelmerku@ip3e83565d.speed.planet.nl] has quit [] 20:22 -!- Larry_P_US_EST [n=chatzill@pool-96-237-236-37.bstnma.fios.verizon.net] has joined #go-nuts 20:22 -!- Larry_P_US_EST [n=chatzill@pool-96-237-236-37.bstnma.fios.verizon.net] has left #go-nuts [] 20:24 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has joined #go-nuts 20:29 -!- DerHorst [n=Horst@e176098148.adsl.alicedsl.de] has quit [Remote closed the connection] 20:47 < anticw> taruti: 32-bits isn't enough 20:47 < anticw> dho: x86-64 isn't that bloaty actually, not nearly as much as some other 64-bit platforms 20:48 -!- KillerX [n=anant@gentoo/developer/KillerX] has quit ["Leaving."] 20:50 -!- defectiv [n=clays@c-24-18-24-124.hsd1.wa.comcast.net] has quit ["This computer has gone to sleep"] 20:57 -!- Alkavan [n=alkavan@87.68.244.60.adsl.012.net.il] has quit [Read error: 54 (Connection reset by peer)] 20:58 -!- Alkavan [n=alkavan@87.68.244.60.adsl.012.net.il] has joined #go-nuts 21:05 -!- aho [n=nya@f050212253.adsl.alicedsl.de] has joined #go-nuts 21:06 -!- Alkavan_ [n=alkavan@87.68.244.60.adsl.012.net.il] has joined #go-nuts 21:10 -!- Alkavan_ [n=alkavan@87.68.244.60.adsl.012.net.il] has quit [Read error: 54 (Connection reset by peer)] 21:11 -!- fyusy [n=fyusman@110.174.144.171] has quit [Read error: 60 (Operation timed out)] 21:11 -!- Alkavan_ [n=alkavan@87.68.32.29.cable.012.net.il] has joined #go-nuts 21:16 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has joined #go-nuts 21:16 < timmcd> Does anyone else have issues when trying to build Golua? 21:23 -!- Vova [n=Vova@IGLD-84-228-226-52.inter.net.il] has quit [Read error: 60 (Operation timed out)] 21:23 -!- Alkavan [n=alkavan@87.68.244.60.adsl.012.net.il] has quit [Read error: 110 (Connection timed out)] 21:24 -!- Vova [n=Vova@87.68.157.139] has joined #go-nuts 21:24 < dho> timmcd: I haven't actually tried it :) 21:24 -!- Guest44257 [n=elmar@dslb-094-219-213-255.pools.arcor-ip.net] has joined #go-nuts 21:24 < dho> timmcd: it may not be gofmted with the new stuff. 21:28 < timmcd> dho: So running gofmt on the files should fix it? 21:28 < dho> maybe, that's just a shot in the dark 21:31 -!- dipoll [n=dmytro@212.92.227.60] has joined #go-nuts 21:34 -!- mbarkhau [n=koloss@p54A7E33A.dip.t-dialin.net] has joined #go-nuts 21:38 -!- cw [n=cw@71.6.196.126] has joined #go-nuts 21:40 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has left #go-nuts [] 21:41 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has quit ["weirdness"] 21:43 < dho> hm, what happened to plexdev? 21:45 -!- zhaozhou [n=zhaozhou@81-230-150-107-o864.telia.com] has quit ["Lost terminal"] 21:52 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has joined #go-nuts 21:52 -!- timmcd [n=Adium@97-117-100-106.slkc.qwest.net] has left #go-nuts [] 21:54 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has joined #go-nuts 21:56 -!- slashus2 [n=slashus2@74-137-26-8.dhcp.insightbb.com] has joined #go-nuts 21:58 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has quit [Client Quit] 22:00 -!- anticw [n=anticw@c-76-126-87-56.hsd1.ca.comcast.net] has joined #go-nuts 22:01 * dho considers writing a hello world kernel in go 22:03 -!- path[l] [i=UPP@120.138.102.34] has quit [] 22:04 < Guest44257> hello dho, I remember you talking about writing down some porting notes, any news? 22:06 < dho> haven't had time over the holidays 22:06 < dho> it's still on my todo list 22:08 < dho> i'm happy to answer specific questions in the meantime 22:08 < dho> those are probably best addressed via email 22:08 < Guest44257> did you want to port to openbsd? or is someone working on that right now? 22:09 < dho> someone was doing it; i made some preliminary code, but I haven't figured out all the specifics for ELF on openbsd 22:09 < dho> (and haven't had the time) 22:09 < dho> it would probably be easier for me to give someone a patch for openbsd and direct them. 22:10 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has joined #go-nuts 22:10 < dho> i'm heading home; probably will have access to email but no irc for the holiday weekend 22:10 < dho> later! 22:11 -!- spelljammer [n=chatzill@p50849E2A.dip0.t-ipconnect.de] has joined #go-nuts 22:12 -!- path[l] [i=UPP@120.138.102.34] has joined #go-nuts 22:17 -!- nanoo [n=nano@95-89-198-45-dynip.superkabel.de] has quit ["Leaving"] 22:17 -!- smooge [n=smooge@int.smoogespace.com] has quit [Read error: 113 (No route to host)] 22:19 -!- tumdum [n=tumdum@unaffiliated/tumdum] has quit [Remote closed the connection] 22:19 -!- tumdum [n=tumdum@unaffiliated/tumdum] has joined #go-nuts 22:20 -!- Alkavan__ [n=alkavan@87.68.32.29.cable.012.net.il] has joined #go-nuts 22:21 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 22:27 -!- Alkavan_ [n=alkavan@87.68.32.29.cable.012.net.il] has quit [Read error: 60 (Operation timed out)] 22:30 -!- Oejet [n=s022018@glint10.gbar.dtu.dk] has left #go-nuts [] 22:31 -!- Venom_X [n=pjacobs@c-76-31-231-95.hsd1.tx.comcast.net] has quit [] 22:31 -!- spelljammer [n=chatzill@p50849E2A.dip0.t-ipconnect.de] has left #go-nuts [] 22:35 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has quit [Read error: 60 (Operation timed out)] 22:42 -!- GeoBSD [n=geocalc@lns-bzn-59-82-252-173-194.adsl.proxad.net] has quit [Remote closed the connection] 22:43 -!- snearch [n=olaf@g225051191.adsl.alicedsl.de] has quit ["Ex-Chat"] 22:43 -!- Maxdamantus [n=Maxdam@203-97-238-106.cable.telstraclear.net] has joined #go-nuts 22:45 -!- p4p4_ [n=P4p4@24.121.113.82.net.de.o2.com] has quit [Client Quit] 22:58 -!- tav [n=tav@89.243.205.194] has joined #go-nuts 22:58 -!- Plnt [n=someone@rhea.pwn.cz] has left #go-nuts [] 23:01 -!- sfuentes [n=sfuentes@cpe-98-154-70-216.socal.res.rr.com] has joined #go-nuts 23:07 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has joined #go-nuts 23:07 -!- amuck [n=amuck@h196.105.117.75.dynamic.ip.windstream.net] has quit [Remote closed the connection] 23:08 -!- b00m_chef [n=watr@host-212-68-232-232.brutele.be] has quit [Read error: 110 (Connection timed out)] 23:09 -!- Ryan__ [n=ryan@cpe-98-27-166-221.neo.res.rr.com] has quit [Remote closed the connection] 23:11 < sfuentes> anyone mind helping me out with my makefile? : http://pastie.org/756028 23:11 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts 23:13 < sfuentes> agh. nm 23:20 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit ["Verlassend"] 23:26 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit ["( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"] 23:28 -!- dacresni [n=dacresni@adsl-70-130-187-56.dsl.stlsmo.swbell.net] has joined #go-nuts 23:31 < dacresni> crickets 23:31 < dacresni> any plans to port Go to the PPC? 23:31 < dacresni> mac os or otherwise? 23:33 < sinuhe> dacresni: I seem to remember a mailing list post on the topic. 23:33 < dacresni> I'll look there thanks 23:34 -!- raichoo [n=raichoo@i5387E5A6.versanet.de] has quit [] 23:34 < dacresni> hopefully they can say if its trivial on gcc 23:36 < dacresni> sweet, they also seem to suggest Gccgo 23:38 < dacresni> thank you 23:38 -!- dacresni [n=dacresni@adsl-70-130-187-56.dsl.stlsmo.swbell.net] has left #go-nuts [] 23:39 -!- webbpa [n=chatzill@c-69-243-169-178.hsd1.in.comcast.net] has joined #go-nuts 23:45 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 23:46 -!- tumdum [n=tumdum@unaffiliated/tumdum] has quit [] 23:49 -!- [[sroracle]] [n=sroracle@unaffiliated/sroracle] has quit ["<sresp.co.cc>"] 23:53 -!- hat0 [n=hat@cpe-67-9-132-238.austin.res.rr.com] has joined #go-nuts 23:53 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"] 23:58 -!- sfuentes [n=sfuentes@cpe-98-154-70-216.socal.res.rr.com] has left #go-nuts [] --- Log closed Fri Dec 25 00:00:36 2009