--- Log opened Sat May 28 00:00:51 2011 00:06 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 248 seconds] 00:11 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 00:25 -!- m4dh4tt3r [~Adium@c-98-210-145-213.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 00:25 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 00:27 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has left #go-nuts [] 00:28 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 00:32 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has quit [Quit: twolfe18] 00:34 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has joined #go-nuts 00:35 -!- rputikar [~240182H@203-59-121-184.dyn.iinet.net.au] has joined #go-nuts 00:44 -!- pvarga [~pvarga@pool-71-172-108-117.nwrknj.east.verizon.net] has joined #go-nuts 00:46 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has quit [Ping timeout: 240 seconds] 00:50 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has quit [Quit: twolfe18] 00:50 -!- gummibr [~gummibr@dslb-188-105-237-191.pools.arcor-ip.net] has joined #go-nuts 00:50 -!- robteix [~robteix@host40.201-253-152.telecom.net.ar] has quit [Remote host closed the connection] 00:52 -!- pamera [~Pam@c-76-102-255-99.hsd1.ca.comcast.net] has joined #go-nuts 00:52 -!- kr [~Keith@204.14.152.118] has quit [Quit: WeeChat 0.3.4] 00:53 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 00:53 -!- pvarga [~pvarga@pool-71-172-108-117.nwrknj.east.verizon.net] has quit [Quit: pvarga] 00:58 -!- chomp [~chomp@c-67-186-35-69.hsd1.pa.comcast.net] has joined #go-nuts 00:59 -!- iant [~iant@66.109.103.84] has quit [Ping timeout: 248 seconds] 01:00 -!- m4dh4tt3r [~Adium@99-117-98-39.lightspeed.sntcca.sbcglobal.net] has joined #go-nuts 01:00 -!- m4dh4tt3r [~Adium@99-117-98-39.lightspeed.sntcca.sbcglobal.net] has quit [Client Quit] 01:02 -!- m4dh4tt3r [~Adium@99-117-98-39.lightspeed.sntcca.sbcglobal.net] has joined #go-nuts 01:11 -!- gummibr [~gummibr@dslb-188-105-237-191.pools.arcor-ip.net] has quit [Ping timeout: 244 seconds] 01:13 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has joined #go-nuts 01:36 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 01:40 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts 01:46 -!- exch [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has joined #go-nuts 01:48 < exch> uriel: can you remove go-pkg-njb from the bindings page, and change go-pkg-mtp to link to https://github.com/jteeuwen/go-mtp please. I've done some housekeeping and completely rewrote the mtp bindings 01:49 -!- m4dh4tt3r [~Adium@99-117-98-39.lightspeed.sntcca.sbcglobal.net] has quit [Quit: Leaving.] 01:50 < tylerl> what "version" is Go? Is there a sense of such a thing? Or do we just have build numbers? 01:51 < exch> tylerl: there are only the weeklies and 'release' builds 01:53 < tylerl> is it possible to call a Go library from a C program within its own process space? 01:54 < exch> the entrypoint always has to be a go program afaik 01:54 < tylerl> And thats because Go requires a specific runtime environment which wouldn't otherwise be available, right? 01:55 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-nueiyazzrxsytazh] has quit [Read error: Connection reset by peer] 01:55 < Namegduf> It's because Go's runtime requires initialisation 01:56 < tylerl> So, couldn't you theroetically call some sort of go_init() and go_cleanup() from C? 01:56 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-ailveiyjldpizbsl] has joined #go-nuts 01:57 < exch> I believe there is a discussion about that going in the mailinglist 01:57 < exch> notably about doing that sort of wizardry to get Go to run natively on android 01:58 < exch> It's all a bit beyond me though, so I won't be of much use there 01:58 < tylerl> exch: you remember any keywords from the mailinglist thread that I can search for to find it? 01:59 < exch> tylerl: not really, but it should be in the top 20. I'll have a look 02:00 < tylerl> exch: thanks! 02:00 < skelterjohn> https://groups.google.com/d/topic/golang-nuts/NPgKM_0hZHw/discussion 02:00 < tylerl> thanks! 02:02 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has quit [Quit: Leaving...] 02:02 < exch> thats it 02:05 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 02:08 -!- sunfmin [~sunfmin@115.197.40.182] has joined #go-nuts 02:11 < chomp> does it seem like a waste of effort to implement a base128 encoding package? 02:11 < chomp> (primarily for binary over utf-8 websocket) 02:12 < exch> if you have a use for it, it's never a waste 02:13 < chomp> touche :) 02:13 < exch> whether it'll end up in the standard libs is another matter though. But there is nothing stopping you from putting it up on github or something like that 02:14 < chomp> yeah i'm wrestling with the value vs. just using base64 02:15 < chomp> seems like for large data it might be worthwhile but otherwise, meh. 02:37 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 02:56 -!- sav_ [~quassel@189001131052.usr.predialnet.com.br] has joined #go-nuts 03:32 -!- sav_ [~quassel@189001131052.usr.predialnet.com.br] has quit [Ping timeout: 240 seconds] 03:36 -!- sav_ [~quassel@189001131052.usr.predialnet.com.br] has joined #go-nuts 03:39 -!- sav_ [~quassel@189001131052.usr.predialnet.com.br] has quit [Read error: Connection reset by peer] 03:51 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 03:53 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 03:54 -!- foocraft [~ewanas@89.211.201.143] has quit [Quit: if you're going....to san. fran. cisco!!!] 03:54 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit: wallerdev] 03:55 -!- tncardoso [~thiago@189.59.129.101.dynamic.adsl.gvt.net.br] has quit [Quit: bye] 04:06 -!- aho [~nya@fuld-590c61a2.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 04:11 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 258 seconds] 04:12 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services] 04:13 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 04:14 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 04:32 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined #go-nuts 04:42 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 04:42 -!- mode/#go-nuts [+v iant] by ChanServ 04:59 -!- exch [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Ping timeout: 244 seconds] 05:13 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 05:14 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined #go-nuts 05:26 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit: wallerdev] 05:40 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 05:48 -!- alanlian1 [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has quit [Quit: leaving] 05:51 -!- gedevan [~gedevan@83.167.106.253] has quit [Quit: Linkinus - http://linkinus.com] 05:56 -!- chomp [~chomp@c-67-186-35-69.hsd1.pa.comcast.net] has quit [Quit: Leaving] 05:59 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 06:21 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Read error: Operation timed out] 06:24 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 06:30 -!- tylerl [~tylerl@ip24-251-232-171.ph.ph.cox.net] has quit [Ping timeout: 250 seconds] 06:43 -!- araujo [~araujo@190.73.44.29] has joined #go-nuts 06:43 -!- araujo [~araujo@190.73.44.29] has quit [Changing host] 06:43 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 06:44 -!- tylerl [~tylerl@ip24-251-232-171.ph.ph.cox.net] has joined #go-nuts 06:46 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 06:55 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 06:56 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 07:00 -!- shachaf [~shachaf@208.69.183.87] has quit [Ping timeout: 248 seconds] 07:02 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 07:06 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Client Quit] 07:08 -!- shachaf [~shachaf@208.69.183.87] has joined #go-nuts 07:15 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 276 seconds] 07:19 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 07:33 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has joined #go-nuts 07:35 -!- snearch [~snearch@f053004166.adsl.alicedsl.de] has joined #go-nuts 07:36 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 07:38 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 07:43 -!- alexc [~alexc@unaffiliated/alexc] has joined #go-nuts 07:45 -!- abra [~abra@178.47.224.185] has quit [Ping timeout: 250 seconds] 07:57 -!- abra [~abra@178.47.224.191] has joined #go-nuts 07:57 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:03 -!- moraes [~moraes@189.103.188.201] has quit [Remote host closed the connection] 08:05 -!- mikespook [~mikespook@219.137.234.156] has quit [Ping timeout: 276 seconds] 08:07 -!- mikespook [~mikespook@219.137.234.156] has joined #go-nuts 08:08 -!- alexc [~alexc@unaffiliated/alexc] has quit [Quit: WeeChat 0.3.4] 08:11 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 08:11 -!- alexc [~alexc@unaffiliated/alexc] has joined #go-nuts 08:12 -!- huin [~huin@91.85.171.238] has joined #go-nuts 08:12 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined #go-nuts 08:17 -!- |shad0w| [junglist@unaffiliated/shad0w/x-9754281] has joined #go-nuts 08:27 -!- alexc [~alexc@unaffiliated/alexc] has quit [Quit: WeeChat 0.3.4] 08:28 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 08:33 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 08:36 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 08:41 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Client Quit] 08:43 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Read error: Connection reset by peer] 08:43 -!- tvw [~tv@e176005122.adsl.alicedsl.de] has joined #go-nuts 08:43 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 08:49 -!- wrtp [~rog@92.30.154.99] has joined #go-nuts 08:54 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 09:02 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Read error: Connection reset by peer] 09:03 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 09:15 -!- wrtp [~rog@92.30.154.99] has quit [Quit: wrtp] 09:16 -!- wrtp [~rog@92.30.154.99] has joined #go-nuts 09:18 -!- tylerl [~tylerl@ip24-251-232-171.ph.ph.cox.net] has quit [Quit: leaving] 09:30 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Read error: Connection reset by peer] 09:31 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 09:42 -!- rputikar [~240182H@203-59-121-184.dyn.iinet.net.au] has quit [Quit: rputikar] 09:47 -!- snearch [~snearch@f053004166.adsl.alicedsl.de] has quit [Quit: Verlassend] 09:54 -!- tvw [~tv@e176005122.adsl.alicedsl.de] has quit [Remote host closed the connection] 10:04 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 10:05 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 10:06 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined #go-nuts 10:22 -!- sebastianskejoe [~sebastian@89.249.0.154] has joined #go-nuts 10:23 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:9462:dd95:ff32:3f1] has joined #go-nuts 10:23 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has joined #go-nuts 10:26 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has joined #go-nuts 10:27 -!- sunfmin [~sunfmin@115.197.40.182] has quit [Quit: sunfmin] 10:28 < tyha2> I am getting "@" for http.Request.RemoteAddr after a trivial request handler is invoked. Both server and client are local, so I expected to see something like "127.0.0.1:xxx". Anyone know what's up with "@"? 10:30 -!- sunfmin [~sunfmin@115.197.40.182] has joined #go-nuts 10:34 -!- boscop_ [~boscop@f050140024.adsl.alicedsl.de] has joined #go-nuts 10:36 -!- boscop [~boscop@f050177078.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 10:40 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote host closed the connection] 10:40 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 10:46 -!- sunfmin [~sunfmin@115.197.40.182] has quit [Quit: sunfmin] 11:03 -!- DerHorst [~Horst@e176099210.adsl.alicedsl.de] has joined #go-nuts 11:12 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 11:13 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 252 seconds] 11:13 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts 11:14 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts [] 11:14 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 11:35 -!- sebastianskejoe [~sebastian@89.249.0.154] has quit [Quit: Lost terminal] 11:42 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has left #go-nuts [] 11:46 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has quit [Ping timeout: 248 seconds] 11:50 -!- shvntr [~shvntr@116.26.139.41] has joined #go-nuts 11:53 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has quit [Quit: Leaving...] 11:59 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has joined #go-nuts 12:11 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has joined #go-nuts 12:19 -!- shvntr [~shvntr@116.26.139.41] has quit [Quit: leaving] 12:26 -!- scyth [~scyth@rots.in.rs] has quit [Quit: Leaving] 12:36 -!- exch [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has joined #go-nuts 12:38 -!- tyha2 [48be4003@gateway/web/freenode/ip.72.190.64.3] has quit [Ping timeout: 252 seconds] 12:43 -!- coud [~coud@81.25.16.87] has joined #go-nuts 12:44 -!- Fish [~Fish@81.253.5.123] has joined #go-nuts 12:46 < icy> I try to get some values out of /proc/meminfo using regexp but somehow I can only get the first match. the regex looks like "(MemTotal|MemFree): +([0-9]+) " and I use FindAllStringSubmatch(). what am I overlooking? 12:46 -!- Guest53795 [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has left #go-nuts [] 12:55 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has quit [Ping timeout: 259 seconds] 13:06 -!- phanidee [3ef316ab@gateway/web/freenode/ip.62.243.22.171] has joined #go-nuts 13:13 < icy> nvm 13:22 -!- vzx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Quit: WeeChat 0.3.4] 13:23 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has joined #go-nuts 13:24 -!- adlan [~adlan@175.138.44.229] has quit [Remote host closed the connection] 13:24 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 13:29 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:34 -!- grncdr [~stephen@sdo.csc.UVic.CA] has quit [Read error: Operation timed out] 13:41 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has quit [Ping timeout: 240 seconds] 13:43 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has joined #go-nuts 13:43 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has quit [Client Quit] 13:44 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has joined #go-nuts 13:51 -!- Fish [~Fish@81.253.5.123] has quit [Quit: So Long, and Thanks for All the Fish] 13:53 -!- boscop [~boscop@f050140024.adsl.alicedsl.de] has quit [Changing host] 13:53 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts 13:56 -!- sebastianskejoe [~sebastian@89.249.0.154] has joined #go-nuts 14:00 -!- exch [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has joined #go-nuts 14:03 -!- wrtp [~rog@92.30.154.99] has quit [Quit: wrtp] 14:03 -!- phanidee [3ef316ab@gateway/web/freenode/ip.62.243.22.171] has quit [Quit: Page closed] 14:04 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 14:08 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts 14:16 -!- madveru [~manveru@b08s28ur.corenetworks.net] has joined #go-nuts 14:16 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has joined #go-nuts 14:19 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has quit [Read error: Operation timed out] 14:24 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 276 seconds] 14:24 -!- foocraft [~ewanas@89.211.152.135] has joined #go-nuts 14:26 -!- curiousorange [5ec3831b@gateway/web/freenode/ip.94.195.131.27] has joined #go-nuts 14:30 -!- manveru [~manveru@64.85.160.244] has quit [Quit: ZNC - http://znc.sourceforge.net] 14:34 < curiousorange> Hi all, anyone able to help me out with a fairly basic zlib reader problem? 14:39 < curiousorange> I'm having a go at learning go by attempting to decode minecraft world files, and they contain chunks of zlib-compressed data, which I have extracted into []byte arrays, but I cannot figure out how to set up a reader(/writer?) to uncompress each of these into new, uncompressed []byte arrays (http://pastebin.com/u6JrtepM). I have been looking at the documentation for io and bufio readers, writers but cannot work out how to do 14:39 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has joined #go-nuts 14:42 -!- kaichenxyz [~kaichenxy@115.196.141.164] has joined #go-nuts 14:46 < curiousorange> My last strategy was to use a strings.Reader on the compressed []byte array, and pass that to a zlib.NewReader, then attempt to Read() a []byte array out - but I could not get that to work. I fear I am mis-understanding some fairly basic things about how readers work. 14:49 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 14:51 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has joined #go-nuts 14:53 -!- kaichenxyz [~kaichenxy@115.196.141.164] has quit [Ping timeout: 260 seconds] 14:54 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 14:56 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has quit [Ping timeout: 246 seconds] 14:59 -!- binarit [~binary@80.239.96.162] has quit [Quit: leaving] 15:11 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 15:19 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has joined #go-nuts 15:22 -!- DerHorst [~Horst@e176099210.adsl.alicedsl.de] has quit [Read error: Connection reset by peer] 15:22 -!- hpvincent [~zig@nap13-11-83-156-121-34.fbx.proxad.net] has quit [Remote host closed the connection] 15:22 -!- intellectronica [~intellect@cpc7-hari11-2-0-cust42.hari.cable.virginmedia.com] has joined #go-nuts 15:25 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 15:26 -!- mkrautz [~mkrautz@poipu/developer/krejler] has joined #go-nuts 15:26 < intellectronica> hi, i'm having a problem creating a binding to a c library using cgo. my library package compiles and installs fine, but when i try to use it in a program i get "unexpected R_X86_64_64 relocation for dynamic symbol" during make. 15:26 < intellectronica> any ideas? 15:29 -!- steven___ [~steven@pidsley.praxxium.com] has quit [Changing host] 15:29 -!- steven___ [~steven@unaffiliated/steven] has joined #go-nuts 15:30 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Ping timeout: 240 seconds] 15:32 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has quit [Ping timeout: 246 seconds] 15:33 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has joined #go-nuts 15:35 -!- coud [~coud@81.25.16.87] has quit [Read error: Connection reset by peer] 15:36 -!- tux21b [~tux21b@chello213047047175.3.graz.surfer.at] has quit [Ping timeout: 246 seconds] 15:36 -!- coudX [~coud@81.25.16.87] has joined #go-nuts 15:38 -!- rael_wiki [~chatzilla@unaffiliated/rael-wiki/x-8420294] has joined #go-nuts 15:38 -!- coudX [~coud@81.25.16.87] has quit [Read error: Connection reset by peer] 15:38 < rael_wiki> hello 15:39 < rael_wiki> today's question: if I create a chan inside a function what happens if someone writes on that chan after the function has returned? 15:40 < exch> the channl will continue to remain valid until all references to it are gone. But, if something writes to it while nothing reads from it, you'll have yourself a deadlock 15:41 -!- DerHorst [~Horst@e176099210.adsl.alicedsl.de] has joined #go-nuts 15:41 < rael_wiki> as I suspected... 15:42 < rael_wiki> unless it has enough buffer I guess... 15:42 < exch> yea 16:04 -!- rputikar [~240182H@203-59-121-184.dyn.iinet.net.au] has joined #go-nuts 16:13 < rael_wiki> if I have understood the differences between an array and a slice, when I write "a []int{1,2,3}; ch <- a" on the channel I will get a pointer to the slice, right? 16:16 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 16:18 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 16:19 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has quit [Quit: leaving] 16:21 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping timeout: 246 seconds] 16:24 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 16:24 -!- DerHorst [~Horst@e176099210.adsl.alicedsl.de] has quit [Remote host closed the connection] 16:28 -!- intellectronica [~intellect@cpc7-hari11-2-0-cust42.hari.cable.virginmedia.com] has quit [Remote host closed the connection] 16:34 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 252 seconds] 16:34 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 16:37 -!- th0re [~thre@p5B3B4EE3.dip.t-dialin.net] has joined #go-nuts 16:49 -!- th0re [~thre@p5B3B4EE3.dip.t-dialin.net] has quit [Quit: Der weg zur erkenntniss ist der richtige.] 16:49 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection timed out] 16:50 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 16:52 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined #go-nuts 16:53 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 16:56 -!- rputikar [~240182H@203-59-121-184.dyn.iinet.net.au] has quit [Quit: rputikar] 16:56 -!- intellectronica [~intellect@cpc7-hari11-2-0-cust42.hari.cable.virginmedia.com] has joined #go-nuts 17:00 -!- coderendezvous [~coderende@adsl-98-66-2-41.mem.bellsouth.net] has joined #go-nuts 17:01 < vsmatck> Slices are a reference type. It's similar to a pointer except you don't have to dereference it. 17:03 < vsmatck> Only difference between a array and slice is that the array has a fixed size. 17:05 -!- curiousorange [5ec3831b@gateway/web/freenode/ip.94.195.131.27] has quit [Quit: Page closed] 17:08 -!- Ekspluati [5b9a0fda@gateway/web/freenode/ip.91.154.15.218] has joined #go-nuts 17:10 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 17:14 -!- bickfordb [~bran@70-36-197-162.dsl.dynamic.sonic.net] has joined #go-nuts 17:17 < bickfordb> hi, i need help setting up a Makefile for a project with a local libraries and with cgo files. is there an easy way to do it within one Makefile? 17:18 -!- aho [~nya@fuld-590c7272.pool.mediaWays.net] has joined #go-nuts 17:18 -!- wwkeyboard [~wwkeyboar@75-1-145-222.lightspeed.snantx.sbcglobal.net] has joined #go-nuts 17:19 < str1ngs> bickfordb: generally no you need one Makefile per dir 17:19 < str1ngs> bickfordb: then a top level Makefile with rules for each dir 17:21 < str1ngs> bickfordb: something like this https://gist.github.com/997048 17:21 < str1ngs> there is more in there then you probably need though 17:23 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts 17:24 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 260 seconds] 17:25 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts 17:27 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 17:28 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 17:37 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 17:41 -!- adlan [~adlan@175.138.44.229] has quit [Ping timeout: 246 seconds] 17:44 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 17:47 -!- rael_wiki [~chatzilla@unaffiliated/rael-wiki/x-8420294] has quit [Quit: ChatZilla 0.9.86.1 [Iceweasel 3.5.19/20110430164311]] 17:48 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has quit [Quit: This computer has gone to sleep] 17:49 < str1ngs> Is there a writer type that writes to two writers? I swear I saw one in the docs, but now I can not find it. 17:53 -!- intellectronica [~intellect@cpc7-hari11-2-0-cust42.hari.cable.virginmedia.com] has quit [Remote host closed the connection] 17:56 < Ekspluati> str1ngs, io.MultiWriter http://golang.org/pkg/io/#Writer.MultiWriter 17:57 < str1ngs> Ekspluati: ah thats it thank you 17:57 < str1ngs> must be blind today 17:59 < Ekspluati> It's easy to miss. 17:59 < Ekspluati> I had hard time finding it yesterday when I needed it. 18:02 < str1ngs> I think I was looking for a type not a func 18:04 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Remote host closed the connection] 18:07 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has quit [Quit: Leaving...] 18:08 < nictuku> what's a good way to sort a slice of bytes? Make them ints and use SortInts() from the sort package? 18:09 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection timed out] 18:10 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts 18:11 < Ekspluati> nictuku, Have you tried sort.Sort()? http://golang.org/pkg/sort/#Sort 18:11 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:9462:dd95:ff32:3f1] has quit [Quit: Leaving.] 18:11 < nictuku> oh, I guess that was too obvious for me to see that ;-). I'll try it, thanks Ekspluati 18:12 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 18:13 -!- coderendezvous [~coderende@adsl-98-66-2-41.mem.bellsouth.net] has quit [Quit: Leaving] 18:17 < nictuku> sort.Sort() requires a sort.Interface, so I'll have to write that. It's pretty simple, sure. I wonder if it's worth adding it to the sort package? .. I'll open a bug and see what the team thinks. 18:18 < Ekspluati> Maybe you could add the required methods to bytes.Buffer? 18:21 < nictuku> I don't need a buffer in this case so I can just create a ByteArray like the ones in the sort package. 18:21 < nictuku> another option is to make a string from the slice of bytes. 18:21 < nictuku> not super efficient though. 18:23 < exch> writing the 3 Sort interface methods is hardly rocket science :) 18:25 < nictuku> the concern here is obviously not challenge, but convenience for us all. 18:31 < Ekspluati> I might have asked this before but are there any SDL or similar bindings working on Windows? 18:39 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection timed out] 18:40 < kevlar> Ekspluati: last time I looked, cgo support on windows is spotty or nonexistent. 18:40 < kevlar> (so no) 18:40 < kevlar> however, I could be out of date; it's hard enough to keep up with golang when you *don't* track the arm/windows status. 18:40 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 18:40 -!- alehorst [~alehorst@186.212.214.44] has quit [Remote host closed the connection] 18:41 < Ekspluati> I think cgo works but I haven't bothered with it yet. 18:42 < kevlar> orly? I thought they didn't want to fool around with dlls. 18:48 -!- alehorst [~alehorst@186.212.214.44] has joined #go-nuts 18:48 -!- hargettp [~hargettp@pool-71-184-185-93.bstnma.east.verizon.net] has joined #go-nuts 19:02 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-56.clienti.tiscali.it] has joined #go-nuts 19:03 -!- abra [~abra@178.47.224.191] has quit [Quit: Leaving] 19:06 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection timed out] 19:07 -!- dannyd_ [~dannyd@122.164.114.113] has joined #go-nuts 19:09 -!- brtk [~brtk@c83-248-35-158.bredband.comhem.se] has joined #go-nuts 19:10 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 19:11 -!- exch [~abcd@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Read error: Operation timed out] 19:11 -!- dannyd_ [~dannyd@122.164.114.113] has left #go-nuts ["Leaving"] 19:16 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has joined #go-nuts 19:17 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 19:19 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has left #go-nuts [] 19:26 -!- foocraft [~ewanas@89.211.152.135] has quit [Ping timeout: 246 seconds] 19:26 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 19:27 -!- foocraft [~ewanas@178.152.80.141] has joined #go-nuts 19:28 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection timed out] 19:29 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 19:37 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 246 seconds] 19:43 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 19:44 < uriel> exch: done, thanks for th eheads up 19:48 < exch> uriel: cool, np 19:53 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 19:54 -!- foocraft [~ewanas@178.152.80.141] has quit [Quit: if you're going....to san. fran. cisco!!!] 20:03 -!- TheMue [~TheMue@p5DDF5BC5.dip.t-dialin.net] has joined #go-nuts 20:10 -!- adlan [~adlan@175.138.44.229] has quit [Ping timeout: 252 seconds] 20:12 -!- adlan [~adlan@175.138.44.229] has joined #go-nuts 20:12 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts 20:15 -!- phanidee [3ef316ab@gateway/web/freenode/ip.62.243.22.171] has joined #go-nuts 20:16 -!- phanidee [3ef316ab@gateway/web/freenode/ip.62.243.22.171] has quit [Client Quit] 20:29 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has quit [Read error: Operation timed out] 20:33 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 260 seconds] 20:38 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Quit: Leaving.] 20:44 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts 20:45 -!- sebastianskejoe [~sebastian@89.249.0.154] has quit [Quit: Lost terminal] 20:52 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 20:54 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 20:55 -!- adlan [~adlan@175.138.44.229] has quit [Read error: Connection reset by peer] 20:55 -!- ccc [~ron@c-76-26-54-186.hsd1.fl.comcast.net] has joined #go-nuts 20:56 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has joined #go-nuts 20:57 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 21:19 -!- huin [~huin@91.85.171.238] has quit [Quit: bedtime] 21:25 -!- TheMue [~TheMue@p5DDF5BC5.dip.t-dialin.net] has quit [Quit: TheMue] 21:29 -!- bickfordb [~bran@70-36-197-162.dsl.dynamic.sonic.net] has quit [Ping timeout: 260 seconds] 21:29 -!- kamaji [~kamaji@cpc2-aztw22-2-0-cust775.aztw.cable.virginmedia.com] has quit [Read error: No route to host] 21:36 -!- hungrygruffalo [~hungrygru@host86-161-13-173.range86-161.btcentralplus.com] has joined #go-nuts 21:41 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 21:41 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Quit: WeeChat 0.3.4] 21:46 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts 21:47 < nictuku> uriel, hi. suggestion for http://go-lang.cat-v.org/text-editors/ => https://github.com/mikhailt/tabby 21:48 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 21:49 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has quit [Remote host closed the connection] 21:49 -!- ctimmerm [~ctimmerm@83.150.80.193] has joined #go-nuts 21:51 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts 21:52 < uriel> I think it is mentioned in http://go-lang.cat-v.org/go-code (can't check now, got to run) 21:52 < uriel> nictuku: but probably should be mentioned there too, thanks for the hint, remind me again if I don't add it when I'm back ;) 21:53 < nictuku> uriel, ok :-) 21:54 < nictuku> indeed it's in go-code 22:13 < hallas> Does anyone have any clue about how video capture software work? Technically, I tried Googling ofc, but my skills aren't good enough 22:14 < hallas> Sorry its not a go question, you guys are just pretty clever, thought I'd try here 22:16 < vsmatck> hallas: You should not ask here. 22:17 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 22:20 -!- noam [noam@87.69.42.61.cable.012.net.il] has quit [Read error: Connection reset by peer] 22:20 -!- noam [noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 22:24 -!- ctimmerm_ [~ctimmerm@cs181050011.pp.htv.fi] has joined #go-nuts 22:25 -!- ctimmerm [~ctimmerm@83.150.80.193] has quit [Ping timeout: 240 seconds] 22:25 -!- bugQ [~bug@c-67-186-255-54.hsd1.ut.comcast.net] has joined #go-nuts 22:26 -!- ctimmerm [~ctimmerm@cs181050011.pp.htv.fi] has quit [Remote host closed the connection] 22:33 -!- grncdr [~stephen@sdo.csc.UVic.CA] has joined #go-nuts 22:33 -!- brtk [~brtk@c83-248-35-158.bredband.comhem.se] has quit [Ping timeout: 252 seconds] 22:46 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:52 -!- tobier_ [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has joined #go-nuts 22:52 -!- tobier [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 22:55 -!- tobier_ [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 22:57 -!- tobier [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has joined #go-nuts 23:05 -!- brandini [~orbit@adsl-99-164-59-155.dsl.akrnoh.sbcglobal.net] has quit [Ping timeout: 258 seconds] 23:05 -!- tobier [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 23:05 -!- tobier_ [~tobier@c-1c9de055.712-1-64736c11.cust.bredbandsbolaget.se] has joined #go-nuts 23:11 -!- nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has joined #go-nuts 23:11 -!- bickfordb [~bran@70-36-197-162.dsl.dynamic.sonic.net] has joined #go-nuts 23:18 -!- wwkeyboard [~wwkeyboar@75-1-145-222.lightspeed.snantx.sbcglobal.net] has quit [Quit: wwkeyboard] 23:21 < str1ngs> hmmm what does this mean netchan export: value decode:EOF; type chan int 23:22 -!- brtk_ [~brtk@c83-248-35-158.bredband.comhem.se] has joined #go-nuts 23:27 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-56.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 23:28 -!- brandini [~orbit@adsl-69-221-167-43.dsl.akrnoh.ameritech.net] has joined #go-nuts 23:31 < mpl> what's the common practice to store bool and/or ints with json as we can only put strings in there? just convert them to the type you want after unmarshalling? 23:32 < manveru> mpl: you can only put strings into json?? 23:33 < mpl> I had hoped if the type of the field in my struct was bool the unmarshaller would magically convert the "true" I had in the json file but no luck. 23:33 < manveru> i hope not :) 23:33 < mpl> ah my bad 23:33 < nsf> mpl: json has true and false 23:34 < mpl> the key in the map/ struct must be a string, not the values 23:34 < nsf> ah 23:34 < mpl> nsf: yeah just realized that, thx 23:34 < nsf> for map keys 23:34 < mpl> ok, problem solved then, thx. 23:34 < nsf> :P 23:35 < mpl> the simplicity of both go + json is such a delight :) 23:35 < nsf> I don't like json 23:35 < manveru> oO 23:35 < nsf> it's better than XML though 23:36 < nsf> but something like YAML is much more readable :) 23:36 < manveru> implementing parser/serializer for YAML is a PITA though 23:36 < nsf> yes, it's not that trivial 23:36 < nsf> but it's quite popular, and there is a C parser 23:37 < manveru> the only time i'd use YAML is if i have to define my own types 23:37 -!- nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has quit [Quit: leaving] 23:48 -!- gummibr [~gummibr@dslb-188-099-092-252.pools.arcor-ip.net] has quit [Ping timeout: 240 seconds] 23:53 -!- bickfordb [~bran@70-36-197-162.dsl.dynamic.sonic.net] has quit [Ping timeout: 260 seconds] --- Log closed Sun May 29 00:00:51 2011