--- Log opened Mon May 16 00:00:50 2011 00:01 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has quit [Client Quit] 00:06 -!- ab3 [~abe@83.101.90.66] has quit [Ping timeout: 250 seconds] 00:06 -!- Squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 00:16 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 00:29 -!- di3gopa [~diego@cpe-d85d4cb9d439.cpe.cableonda.net] has joined #go-nuts 00:46 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Quit: whitespacechar] 00:53 -!- mikespook [~mikespook@119.131.232.236] has joined #go-nuts 00:53 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Read error: Connection reset by peer] 00:53 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 01:01 -!- rael_wiki [~chatzilla@unaffiliated/rael-wiki/x-8420294] has quit [Quit: ChatZilla 0.9.86.1 [Iceweasel 3.5.19/20110430164311]] 01:04 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 240 seconds] 01:07 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 01:17 -!- mehalelal [~mehalelal@76.103.175.11] has quit [Quit: Leaving] 01:19 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has quit [Read error: Connection reset by peer] 01:20 -!- ExsysTech [~ExsysTech@50-46-213-60.evrt.wa.frontiernet.net] has joined #go-nuts 01:22 -!- djbrown [~djbrown@unaffiliated/djbrown] has quit [Read error: Operation timed out] 01:23 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 01:27 -!- KingPhilroy [~kingphilr@c-66-31-213-108.hsd1.ma.comcast.net] has joined #go-nuts 01:28 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 01:33 -!- nteon [~nteon@c-98-210-195-105.hsd1.ca.comcast.net] has joined #go-nuts 01:38 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 01:38 -!- djbrown [~djbrown@h236n2-g-va-a12.ias.bredband.telia.com] has joined #go-nuts 01:48 -!- twopoint718 [~chris@fsf/member/twopoint718] has joined #go-nuts 02:06 -!- nictuku [~yvesj@unaffiliated/nictuku] has quit [Ping timeout: 246 seconds] 02:16 -!- krutcha_ [~krutcha@S010600045a27676a.vs.shawcable.net] has quit [Quit: Leaving] 02:26 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts 02:31 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 02:39 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has quit [Ping timeout: 246 seconds] 02:42 -!- bubb [~AndChat@S01065cd9985ba2e7.va.shawcable.net] has quit [Ping timeout: 246 seconds] 02:44 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #go-nuts 02:49 -!- benjack [~benjack@bb121-6-95-38.singnet.com.sg] has joined #go-nuts 03:13 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 03:13 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Client Quit] 03:14 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 246 seconds] 03:32 -!- alanliang [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 03:34 -!- alanliang [~yogafire@c-71-204-189-190.hsd1.ca.comcast.net] has joined #go-nuts 03:51 -!- danilo04 [~danilo04@rm2348358874.student.rit.edu] has quit [Quit: Saliendo] 03:51 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has quit [Ping timeout: 246 seconds] 03:57 -!- sys2 [89ba252c@gateway/web/freenode/ip.137.186.37.44] has joined #go-nuts 03:58 -!- twopoint718 [~chris@fsf/member/twopoint718] has quit [Ping timeout: 240 seconds] 03:58 -!- sys2 [89ba252c@gateway/web/freenode/ip.137.186.37.44] has left #go-nuts [] 04:05 -!- gaxxx [~woo@219.143.166.16] has quit [Ping timeout: 246 seconds] 04:06 -!- gaxxx [~woo@219.143.166.16] has joined #go-nuts 04:06 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 246 seconds] 04:11 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 04:14 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 04:14 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services] 04:15 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 04:15 -!- mikespook [~mikespook@119.131.232.236] has quit [Quit: Leaving.] 04:28 -!- djbrown [~djbrown@h236n2-g-va-a12.ias.bredband.telia.com] has quit [Changing host] 04:28 -!- djbrown [~djbrown@unaffiliated/djbrown] has joined #go-nuts 04:29 -!- grncdr [~stephen@sdo.csc.UVic.CA] has joined #go-nuts 04:48 -!- moraes [~moraes@189.103.176.38] has quit [Remote host closed the connection] 04:58 -!- photron [~photron@port-92-201-173-17.dynamic.qsc.de] has joined #go-nuts 05:04 -!- Squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 05:07 -!- ako [~nya@fuld-590c6172.pool.mediaWays.net] has quit [Quit: EXEC_over.METHOD_SUBLIMATION] 05:15 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has quit [Quit: EOF()] 05:15 -!- di3gopa [~diego@cpe-d85d4cb9d439.cpe.cableonda.net] has quit [Ping timeout: 260 seconds] 05:18 -!- ExtraSpice [XtraSpice@88.118.35.153] has joined #go-nuts 05:23 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 246 seconds] 05:24 -!- Wiz126 [~Wiz@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts 05:24 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined #go-nuts 05:26 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts 05:28 -!- jamesmiller5 [~jamesmill@184.17.105.74] has joined #go-nuts 05:30 -!- Squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 05:32 -!- drhodes [~none@drhodes.xen.prgmr.com] has quit [Remote host closed the connection] 05:39 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has joined #go-nuts 05:43 -!- photron [~photron@port-92-201-173-17.dynamic.qsc.de] has quit [Ping timeout: 260 seconds] 05:45 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 246 seconds] 05:48 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts 05:48 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts 06:09 -!- benjack [~benjack@bb121-6-95-38.singnet.com.sg] has quit [Quit: Leaving.] 06:14 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit: Computer has gone to sleep.] 06:19 -!- monsieur_max [~monsieur_@212.234.251.58] has joined #go-nuts 06:23 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Read error: Connection reset by peer] 06:30 -!- Project_2501 [~Marvin@82.84.73.218] has joined #go-nuts 06:37 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has left #go-nuts ["Leaving"] 06:46 -!- Project_2501 [~Marvin@82.84.73.218] has quit [Ping timeout: 260 seconds] 06:49 -!- chomp [~chomp@c-67-186-35-69.hsd1.pa.comcast.net] has quit [Quit: Leaving] 06:51 -!- ExtraSpice [XtraSpice@88.118.35.153] has quit [Ping timeout: 276 seconds] 06:59 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 07:02 -!- stalled [~stalled@unaffiliated/stalled] has quit [Ping timeout: 252 seconds] 07:05 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts 07:09 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts 07:12 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 07:12 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 07:12 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 260 seconds] 07:13 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping timeout: 260 seconds] 07:14 -!- GeertJohan [~Squarc@clal-0-227.eduroam.inholland.nl] has joined #go-nuts 07:16 -!- monsieur_max1 [~monsieur_@212.234.251.58] has joined #go-nuts 07:17 -!- monsieur_max [~monsieur_@212.234.251.58] has quit [Ping timeout: 246 seconds] 07:21 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts 07:28 -!- benjack [~benjack@bb121-6-95-38.singnet.com.sg] has joined #go-nuts 07:29 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Ping timeout: 260 seconds] 07:30 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has quit [Remote host closed the connection] 07:31 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts 07:31 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:37 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 07:38 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 07:40 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has joined #go-nuts 07:43 -!- Project_2501 [~Marvin@82.84.93.2] has joined #go-nuts 07:43 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts 07:46 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 07:51 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 08:09 -!- photron [~photron@port-92-201-173-17.dynamic.qsc.de] has joined #go-nuts 08:12 -!- foocraft [~ewanas@78.101.55.174] has joined #go-nuts 08:25 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has quit [Quit: Page closed] 08:32 -!- oal [~oal@5.79-160-122.customer.lyse.net] has joined #go-nuts 08:33 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has quit [Remote host closed the connection] 08:53 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:58 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has joined #go-nuts 08:59 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has joined #go-nuts 09:00 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has joined #go-nuts 09:03 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has quit [Client Quit] 09:06 -!- foocraft [~ewanas@78.101.55.174] has quit [Quit: Leaving] 09:07 -!- chowmeined [~chow@unaffiliated/chowmeined] has quit [Ping timeout: 258 seconds] 09:12 -!- cenuij [~cenuij@237.129.26.93.rev.sfr.net] has joined #go-nuts 09:12 -!- cenuij [~cenuij@237.129.26.93.rev.sfr.net] has quit [Changing host] 09:12 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts 09:13 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has joined #go-nuts 09:33 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 09:40 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 276 seconds] 09:41 -!- moraes [~moraes@189.103.179.31] has joined #go-nuts 09:42 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 09:42 -!- napsy [~luka@88.200.96.18] has quit [Client Quit] 09:43 -!- dju_ [dju@fsf/member/dju] has quit [Read error: Connection reset by peer] 09:43 -!- dju__ [dju@fsf/member/dju] has joined #go-nuts 09:44 < oal> What do you do when you're googling for go specific information? "go" gives all sorts of results, "golang" is rather limited. Any thoughts? 09:45 < str1ngs> oal: go lang helps some 09:45 < str1ngs> what are you looking for? 09:46 < xyproto> oal: have you tried this search page? http://go-lang.cat-v.org/go-search 09:46 < oal> I was searching for some benchmarks to compare it with c, more than just running a loop. Something more like a real-world application benchmarked 09:46 < xyproto> oal: also, "go", "go programming" or "golang" combined with what you're searching for should help 09:46 -!- chowmeined [~chow@unaffiliated/chowmeined] has joined #go-nuts 09:47 < oal> xyproto, is it down? 09:49 < xyproto> oal: the link to go-search? no 09:50 < oal> Doesn't load for me. Will try again later 09:50 < xyproto> oal: Also, there are benchmarks trying to compare Go to other languages. Here's one, appropriately named "The Computer Language Benchmarks Game": http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=go&lang2=python3 09:50 < xyproto> oal: Strange. I just tried it again. Works here. 09:51 < xyproto> Mind that Go is a new language, so the benchmark code samples has not had as much time to settle as for C. 09:51 < oal> Looks like several sites have stopped loaring. Maybe my isp is having trouble 09:51 < xyproto> (And gccgo creates code that is quicker than 6g/8g, afaik) 09:52 < xyproto> oal: dns problem? You could try another dns-server. 09:52 < str1ngs> xyproto: gccgo can optimize code with gcc, how ever goroutines are not as good. so its pretty even 09:52 < oal> shootout loaded now, but not the other one. Yup, maybe I should switch to opendns again? 09:53 < xyproto> str1ngs: I see. 09:53 < str1ngs> xyproto: gccgo also has smaller binaries 09:55 < xyproto> oal: when it comes to speed compared to C, I think we will see a lot of improvement over the next years. I think the focus is still to polish the language inself instead of approaching C in speed. 09:55 < str1ngs> oal: you are better of just writing some things in go. from what I have seen it is not as fast as C. but its faster then scripting etc. 09:56 < oal> Sounds good. :) 09:56 < str1ngs> keep in mind it tends to be faster to develop in go then C. and if cross compile or build go alot. its much easier then working with say gcc 09:56 -!- achoo [~achoo@71-80-179-102.dhcp.wsco.ca.charter.com] has joined #go-nuts 09:56 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 09:56 < hallas> hey all 09:56 < str1ngs> 40min to build gcc 40s to build go :P 09:57 < hallas> hehe 09:57 < oal> I saw some of the videos at golang, and the build speeds are very impressive 09:57 < xyproto> Also, things like garbage collectors may not look as happy shiny as pure assembly in benchmarks, but it may still be something you want in a million-line project (and may even make it faster, overall?) 09:57 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has joined #go-nuts 09:58 < xyproto> oal: yeah, the suitedness for large projects (static typing, unused includes not allowed, quick compilation times) is one of the great things about Go, I think 09:58 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 09:59 -!- bombuzal [~bombuzal@cpc5-newc14-2-0-cust836.gate.cable.virginmedia.com] has quit [Ping timeout: 246 seconds] 09:59 < oal> If I wanted to create a blog with go, would you recommend me starting with web.go, or to create it all from the bottom up? 10:00 < fzzbt> bottom up 10:00 < jnwhiteh> on app engine :P 10:00 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has quit [Client Quit] 10:03 < str1ngs> oal: bottom up would be better you would learn alot more that way. 10:03 < str1ngs> there is a wiki codelab in the go source tree 10:04 < jnwhiteh> and the http package is very quickly becoming a major focus of Go, so it's quite good to learn that. 10:04 -!- wrtp [~rog@92.17.93.207] has joined #go-nuts 10:05 < oal> Thanks, then I have something to start off with. :) 10:05 < xyproto> oal: web.go is nice, but the feel is not that different from neither the http package nor the app engine. 10:12 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 10:14 -!- benjack [~benjack@bb121-6-95-38.singnet.com.sg] has quit [Quit: Leaving.] 10:20 -!- ab3 [~abe@83.101.90.66] has joined #go-nuts 10:21 -!- rejb [~rejb@unaffiliated/rejb] has quit [Quit: .] 10:26 -!- GeertJohan [~Squarc@clal-0-227.eduroam.inholland.nl] has quit [Quit: Leaving.] 10:30 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 10:32 -!- achoo [~achoo@71-80-179-102.dhcp.wsco.ca.charter.com] has quit [Quit: achoo] 10:44 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 10:50 -!- alehorst [~alehorst@201.22.42.246.dynamic.adsl.gvt.net.br] has joined #go-nuts 10:51 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Quit: whitespacechar] 10:52 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 10:53 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping timeout: 246 seconds] 10:55 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Client Quit] 10:59 -!- alehorst [~alehorst@201.22.42.246.dynamic.adsl.gvt.net.br] has quit [Remote host closed the connection] 10:59 -!- alehorst [~alehorst@201.22.42.246.dynamic.adsl.gvt.net.br] has joined #go-nuts 11:03 -!- marten_ [~marten@62.21.178.171] has joined #go-nuts 11:03 -!- alehorst [~alehorst@201.22.42.246.dynamic.adsl.gvt.net.br] has quit [Read error: Connection reset by peer] 11:04 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 11:05 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has joined #go-nuts 11:05 -!- alehorst [~alehorst@189.58.4.224.dynamic.adsl.gvt.net.br] has joined #go-nuts 11:06 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has quit [Client Quit] 11:06 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has joined #go-nuts 11:08 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Ping timeout: 240 seconds] 11:09 -!- nictuku [~yvesj@84-72-7-79.dclient.hispeed.ch] has joined #go-nuts 11:09 -!- nictuku [~yvesj@84-72-7-79.dclient.hispeed.ch] has quit [Changing host] 11:09 -!- nictuku [~yvesj@unaffiliated/nictuku] has joined #go-nuts 11:22 -!- GeertJohan [~Squarc@clal-0-227.eduroam.inholland.nl] has joined #go-nuts 11:22 -!- GeertJohan1 [~Squarc@clal-0-227.eduroam.inholland.nl] has joined #go-nuts 11:22 -!- GeertJohan1 [~Squarc@clal-0-227.eduroam.inholland.nl] has quit [Client Quit] 11:29 -!- GeertJohan1 [~Squarc@clal-0-227.eduroam.inholland.nl] has joined #go-nuts 11:30 -!- GeertJohan [~Squarc@clal-0-227.eduroam.inholland.nl] has quit [Ping timeout: 246 seconds] 11:32 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 11:34 -!- pearle [~pearle@blk-224-181-222.eastlink.ca] has joined #go-nuts 11:39 -!- di3gopa [~diego@190.140.56.68] has joined #go-nuts 11:41 -!- genbattle [~nick@203-173-207-1.dialup.ihug.co.nz] has quit [Quit: Leaving] 11:41 -!- tncardoso [~thiago@150.164.2.20] has joined #go-nuts 11:47 -!- virtualsue [~chatzilla@nat/cisco/x-huaqqowbnjuknful] has joined #go-nuts 11:55 -!- oal [~oal@5.79-160-122.customer.lyse.net] has quit [Quit: oal] 11:58 -!- hernan43 [~ray@dev.reslife.msu.edu] has joined #go-nuts 12:01 -!- alehorst [~alehorst@189.58.4.224.dynamic.adsl.gvt.net.br] has quit [Remote host closed the connection] 12:02 -!- alehorst [~alehorst@189.58.4.224.dynamic.adsl.gvt.net.br] has joined #go-nuts 12:19 -!- oal [~oal@5.79-160-122.customer.lyse.net] has joined #go-nuts 12:31 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 12:43 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 12:44 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 12:45 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has joined #go-nuts 12:47 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has quit [Client Quit] 12:47 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has joined #go-nuts 12:48 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has quit [Client Quit] 12:48 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has joined #go-nuts 12:50 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts 12:53 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has joined #go-nuts 12:53 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has joined #go-nuts 12:56 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has quit [Client Quit] 13:00 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined #go-nuts 13:00 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 13:05 < taruti> Has anyone got email parsing code in Go? 13:05 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 13:17 -!- tmk [~TMKCodes@unaffiliated/tmkcodes] has quit [Ping timeout: 240 seconds] 13:18 < wrtp> taruti: email address, or email message parsing? 13:18 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the connection] 13:18 < taruti> wrtp: message 13:20 < wrtp> taruti: no, sorry 13:20 -!- abc [db494691@gateway/web/freenode/ip.219.73.70.145] has joined #go-nuts 13:22 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 13:30 -!- Ekspluati [576c168c@gateway/web/freenode/ip.87.108.22.140] has quit [Quit: Page closed] 13:32 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined #go-nuts 13:33 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 13:39 < hallas> Anyway I can smoothly concatenate two slices into one? 13:40 < pharris> concatenated := append(slice1, slice2…) 13:42 < pharris> That's three dots, not an ellipsis (as my irc client is wont to do) 13:42 < aiju> heh 13:42 < aiju> what irc client does such abominable things? 13:42 < pharris> Adium. 13:42 -!- boscop_ [~boscop@g226250196.adsl.alicedsl.de] has joined #go-nuts 13:42 < Tonnerre> I can write «…» too, it's easy: compose . . 13:43 < aiju> alt gr + . here 13:43 < aiju> not done automatically though 13:43 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 13:45 -!- boscop [~boscop@f055145097.adsl.alicedsl.de] has quit [Ping timeout: 250 seconds] 13:49 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:53 -!- yebyen [~yebyen@martyfunkhouser.csh.rit.edu] has joined #go-nuts 14:06 -!- Dr_Who [~tgall@206.9.88.154] has quit [Quit: Leaving] 14:11 -!- twopoint718 [~chris@fsf/member/twopoint718] has joined #go-nuts 14:13 -!- tmk [~TMKCodes@unaffiliated/tmkcodes] has joined #go-nuts 14:15 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts 14:15 -!- tgall_foo [~tgall@206.9.88.154] has quit [Changing host] 14:15 -!- tgall_foo [~tgall@linaro/tgall-foo] has joined #go-nuts 14:17 -!- g0g0g0 [42cbcf42@gateway/web/freenode/ip.66.203.207.66] has joined #go-nuts 14:17 < g0g0g0> ahoy! 14:19 < g0g0g0> have a simple question about go 14:19 < g0g0g0> what's the diff between "=" and ":=" ? 14:20 -!- di3gopa [~diego@190.140.56.68] has quit [Ping timeout: 240 seconds] 14:20 -!- alehorst [~alehorst@189.58.4.224.dynamic.adsl.gvt.net.br] has quit [Read error: Connection reset by peer] 14:20 < g0g0g0> /? 14:21 -!- marten_ [~marten@62.21.178.171] has quit [Quit: marten_] 14:22 < dlowe> g0g0g0: := declares the variable too 14:23 < g0g0g0> dlowe: ah! ok, so no need of "var <varname> = <val> " 14:23 < dlowe> var <varname> <type> = <val> :) 14:23 < dlowe> not having to type in the type is the big win here 14:24 < g0g0g0> I see, thanks so much dlowe, it was bugging me, (just a noob passing through) 14:24 < g0g0g0> :) 14:25 < dlowe> it can be confusing, especially since := is the assignment operator in some languages 14:25 < moraes> or a big nose in smilies :=) 14:27 < g0g0g0> dlowe: yes, i looked under assignment in the spec, but did'nt find it there, so thought i'd pester the good folks at IRC :=) 14:27 < moraes> the tutorial tells about it: http://golang.org/doc/go_tutorial.html 14:27 < moraes> "The := operator is used a lot in Go to represent an initializing declaration" ... 14:27 -!- alehorst1 [~alehorst@189.114.234.79.dynamic.adsl.gvt.net.br] has joined #go-nuts 14:29 < g0g0g0> moraes: thanks! "initializing declaration" ... I saw it in for loops (haven't gone through the tutorial yet ... just watched the IO talks ,,, so I was curious) 14:29 < dlowe> heh. I gave Pike a hard time in the Q/A at one of those talks 14:29 < dlowe> he had a good answer, though. I was impressed 14:32 < g0g0g0> Pike and Gerrand did very well, very good presenters 14:33 < fzzbt> was there another talk somewhere? 14:33 < hallas> dlowe: what wsa your question? 14:33 < hallas> was* 14:34 < dlowe> criticisms of mark and sweep garbage collection trashing the cpu cache 14:35 < hallas> I havent had the pleasure to work with gc yet 14:35 < hallas> :p 14:35 -!- fvbommel [~fvbommel_@dyn069064.nbw.tue.nl] has quit [Ping timeout: 276 seconds] 14:35 < dlowe> haven't allocated anything in Go? 14:35 < skelterjohn> hehe 14:35 < hallas> Not like that ;-) 14:36 < hallas> But for me to know about mark and sweep, moving vs non moving etc 14:36 < hallas> dont know shit 14:36 < hallas> except the names :P 14:36 < dlowe> Ah, I see 14:36 -!- foocraft [~ewanas@86.36.49.200] has joined #go-nuts 14:36 < dlowe> Well, the point of gc is so you don't have to think about that stuff 14:37 < dlowe> unless, you know, you really want to 14:37 < hallas> I know what it is though :-) 14:37 < hallas> But, the GC in Go, is a feature added because you use the g compilers yes? 14:37 < dlowe> The gcc Go has gc too 14:38 < hallas> So its a compiler thing 14:38 < dlowe> heck, you can have gc in C if you install the right libraries 14:38 < hallas> Say i had a go compiler that didnt, then I could very well have allocated something in Go without playing with a gc :-) 14:39 < hallas> what did rob answer? 14:44 < g0g0g0> I remember the question, but don't remember the ansewr Pike gave ... lol 14:46 < xyproto> dlowe: is the mark and sweep method considered ineffective in some circumstances? What did Pike say? :) 14:47 < g0g0g0> hallas: I think that question is around 00:47 onwards http://www.youtube.com/watch?v=-i0hat7pdpk 14:47 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 246 seconds] 14:47 -!- iant [~iant@216.239.45.130] has joined #go-nuts 14:47 -!- mode/#go-nuts [+v iant] by ChanServ 14:47 < g0g0g0> "you have to know what you're doing, but at least it's possible" 14:48 < xyproto> g0g0g0: ah, I haven't watched that one yet. Thanks for the link. :) 14:48 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts 14:54 -!- photron [~photron@port-92-201-173-17.dynamic.qsc.de] has quit [Ping timeout: 276 seconds] 14:56 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 14:57 < wrtp> xyproto: it's an interesting talk, well worth watching 14:59 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has joined #go-nuts 15:01 < skelterjohn> the problem with having no GC is the memory safety feature for things passed around in closures, etc 15:01 < skelterjohn> and things put on the heap automatically 15:01 < skelterjohn> basically, things for which you don't call make explicitly 15:01 < wrtp> skelterjohn: not to mention concurrency 15:01 -!- apc [~bigpanda@211.102.146.128] has joined #go-nuts 15:01 < skelterjohn> i'm not sure what you're referring to 15:01 < wrtp> who has responsibility for an object in a concurrent environment? 15:02 < skelterjohn> up to the dev 15:02 < skelterjohn> that isn't a fundamental block in the way that the other issue is 15:03 < skelterjohn> a hybrid gc/explicit system would be interesting 15:03 < skelterjohn> every call to make has to be matched by a free, other things are GC'd 15:03 < wrtp> skelterjohn: doesn't that give you the worst of both worlds? 15:03 < skelterjohn> then if you really wanted to get down to it, you could run an analysis to weed out all the implicit allocations 15:03 < skelterjohn> don't be a downer, i'm just thinking out loud O:-) 15:03 < wrtp> i.e. the unsafety of being able to free something that you didn't alloc, and the cache-breaking cost of the GC 15:04 < wrtp> :-) 15:04 < skelterjohn> that's why you'd run the analysis 15:04 < skelterjohn> such an analysis tool would be very useful even without this setuo 15:04 < skelterjohn> setup 15:04 < wrtp> what kind of analysis? 15:05 < wrtp> static or dynamic? 15:05 < skelterjohn> a tool to tell you what got put on the heap w/out make() 15:05 -!- aho [~nya@fuld-590c6955.pool.mediaWays.net] has joined #go-nuts 15:05 < wrtp> at run time? 15:05 < skelterjohn> compile time 15:05 < skelterjohn> that is, var x int; foo(&x) 15:05 < skelterjohn> x is on the heap 15:06 < skelterjohn> i know that because i read something 15:06 < wrtp> that's not going to be necessarily true forever 15:06 < skelterjohn> but having a tool tell me that for all cases, no misses, would be very useful 15:06 < skelterjohn> more reason to have a tool for that 15:06 < skelterjohn> maybe a compiler flag 15:06 < skelterjohn> who knows what the best approach is 15:07 < wrtp> yeah, a tool to show allocation points might be useful 15:07 < skelterjohn> but the information exists and isn't necessarily easy for a person to figure out by hand 15:07 < ww> who was it that was doing pos tagging in go? 15:07 < wrtp> ww: pos tagging? 15:07 * ww apologises for terrible memory 15:07 < skelterjohn> part of speech 15:07 < ww> part of speech 15:07 < skelterjohn> great acronym. 15:08 < skelterjohn> man, i don't get all the activity about this bitset package on the ML 15:08 < wrtp> i don't remember that 15:08 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 15:08 < skelterjohn> every time i see the new post count, i say to myself "nothing more can be said about such a simple idea" 15:09 < wrtp> skelterjohn: Will is keen, so why not? 15:09 < skelterjohn> sure, i'd never reply to the thread with such toughts 15:09 < skelterjohn> thoughts 15:09 < wrtp> skelterjohn: but you can use big.Int for the same purpose - it'll work quite well 15:09 < wrtp> (better in some ways) 15:11 < Kissaki> PENG! 15:13 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has quit [Quit: leaving] 15:13 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has joined #go-nuts 15:16 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 15:16 -!- abc [db494691@gateway/web/freenode/ip.219.73.70.145] has quit [Quit: Page closed] 15:16 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 15:20 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.] 15:20 -!- apc [~bigpanda@211.102.146.128] has quit [Quit: Leaving] 15:22 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has joined #go-nuts 15:32 < ab3> is there a way to get a single value from a multi-value context? 15:32 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts 15:32 < wrtp> ab3: yes, but it's usually better just to write out the assignment 15:33 < wrtp> you can do, for instance: n := func()int{n, _ = r.Read(buf); return n} 15:34 < ab3> ok that is ugly :D 15:35 < dlowe> n := func()int{n, _ = r.Read(buf); return n}() 15:35 < dlowe> ? 15:35 < dlowe> otherwise the type of n is func()int 15:35 < wrtp> dlowe: yes 15:35 < dlowe> but yes. fugly. 15:36 < wrtp> ab3: there was a thread on golang-nuts recently. 15:36 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 15:37 < wrtp> if you need to do it (for example at global level) then i think the consensus was writing a little named function to do it was probably the best way 15:38 < ab3> k, i will look at that 15:40 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 15:40 < dlowe> Common lisp has a function called nth-value that might be worth replicating 15:41 < aiju> a[n]? 15:42 -!- moraes [~moraes@189.103.179.31] has quit [Ping timeout: 240 seconds] 15:43 < hallas> why is a, _, c ugly? 15:43 < hallas> its so pretty 15:43 < wrtp> dlowe: lisp is much must expression-based than go 15:43 < hallas> remins me of ML 15:44 < wrtp> go tends to keep expressions at a relatively low level of nesting 15:44 < ab3> hallas: inlining a function that only selects one of them is ugli imo 15:44 < wrtp> ab3: it is, but you don't need to do it 15:45 < wrtp> i've written quite a bit of go code and i've never felt the need 15:45 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 15:45 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 240 seconds] 15:46 -!- freetz [~fritz@198.102.153.2] has joined #go-nuts 15:46 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts 15:46 -!- freetz [~fritz@198.102.153.2] has quit [Remote host closed the connection] 15:47 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 15:49 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts 15:49 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts [] 15:49 -!- m4dh4tt3r [~Adium@c-98-210-145-213.hsd1.ca.comcast.net] has joined #go-nuts 15:51 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts 15:57 -!- skelterjohn [~jasmuth@128.6.168.245] has joined #go-nuts 15:58 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has quit [Ping timeout: 276 seconds] 16:06 -!- r_linux [~r_linux@smtp.mandique.com.br] has joined #go-nuts 16:07 < freetz> would like to redirect stdio over netchans, what's the right (or a good) way to pass this into os.ProcAttr? 16:07 < freetz> i would expect something like 16:07 < freetz> f := []*os.File(netchan, netchan, netchan) 16:07 < freetz> os.ProcAttr(... f) 16:07 < freetz> do i just need to write an interface around it? 16:08 < skelterjohn> what doe sit mean to redirect a reader over a chan? 16:09 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 16:09 < skelterjohn> a reader is something you .Read() from. a chan is something you send<- to or <-recv from 16:12 < wrtp> freetz: you'd have to write a type which turned reads into channel receives 16:12 < wrtp> i've done this before - it's not too hard 16:12 < freetz> that's what i thought, i just didn't know if there was a builtin way 16:12 < wrtp> freetz: no, there's not AFAIK 16:13 < freetz> thanks 16:13 < wrtp> freetz: i'm not entirely sure what you mean by "redirecting stdio over netchan" actually 16:13 < wrtp> do you want fmt.Printf to send to netchan? 16:13 < skelterjohn> if you want something that takes a reader and makes a chan out of it (you have to tell it how), you could try https://github.com/skelterjohn/exp/tree/master/iochan 16:13 < freetz> yes, 16:14 < skelterjohn> oh, that's the other direction 16:14 < skelterjohn> it wouldn't be much work to subtype a chan string and give it a Print(format string, args ...string) method 16:15 < skelterjohn> it would call fmt.Sprintf and send it on the chan 16:15 < skelterjohn> oh but i'm probably still misunderstanding 16:15 < skelterjohn> you want to hijack stdout? 16:15 < freetz> I want to redirect the stdio from os.StartProcess 16:16 < freetz> i can just wrap a new type around it, i just wondered if there was a builtin way to do it 16:16 < skelterjohn> ah - then maybe my iochan will work for you 16:16 < skelterjohn> it takes a reader and gives you a channel 16:17 < freetz> looking at it now, it just amy' 16:17 < freetz> may 16:17 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it] has quit [Quit: ucasano] 16:19 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost terminal] 16:23 < wrtp> skelterjohn: what's the separator for in iochan? 16:24 < skelterjohn> to separate the messages that get sent on the channel 16:24 -!- moraes [~moraes@189.103.179.31] has joined #go-nuts 16:24 < skelterjohn> for insteance, maybe you want to read lines from a file 16:24 < skelterjohn> maybe your protocol uses a colon 16:24 < skelterjohn> *shrug* 16:26 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Quit: whitespacechar] 16:26 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 16:27 -!- nick125 [~nick@pdpc/supporter/student/nick125] has joined #go-nuts 16:27 < wrtp> freetz: if you don't need to split the input, this code might do what you want: http://pastebin.com/FmUABrvK 16:27 < wrtp> freetz: it's probably more than you need because it implements timeouts too, but it would be easy to strip down 16:28 < skelterjohn> what does it mean to not split the input - wait until eof and send one big string? 16:29 < freetz> ahh thanks, that looks like it will work 16:33 -!- niemeyer [~niemeyer@200-102-196-125.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 16:34 < ab3> what is a good dumy operation i can do on a var while debugging, so i don't have to replace every unused var with _ and comment out a lot of stuff 16:34 < skelterjohn> _ = x 16:35 < skelterjohn> it's a noop and suppresses the "unused var x" message 16:35 < wrtp> skelterjohn: just split the input at arbitrary places (usually buffer boundaries) 16:35 < ab3> skelterjohn: k thx 16:35 < wrtp> skelterjohn: that's what the network usually does 16:36 < skelterjohn> then sending it on a chan seems like the wrong thing to do 16:36 < skelterjohn> but, every tool has a use 16:37 < wrtp> skelterjohn: if you want to use it with netchan, there's no alternative 16:38 < skelterjohn> one might ask why you're using netchan instead of regular sockets in such a case 16:38 < skelterjohn> if all you want to do is forward data to another machine, that is easily done 16:39 -!- saschpe [~quassel@opensuse/member/saschpe] has joined #go-nuts 16:40 -!- bombuzal [~bombuzal@unaffiliated/bombuzal] has joined #go-nuts 16:41 -!- jamesmiller5 [~jamesmill@184.17.105.74] has quit [Quit: Leaving] 16:41 < wrtp> skelterjohn: netchan allows you to multiplex many conversations over a single connection 16:41 < wrtp> if you're not going to do that, i agree 16:45 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 16:45 -!- monsieur_max [~monsieur_@212.234.251.58] has quit [Quit: Leaving.] 16:46 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 16:46 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 16:47 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 16:50 -!- keithcascio [~keithcasc@nat/google/x-ctkgrgeplirnptth] has joined #go-nuts 16:51 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has quit [Quit: whitespacechar] 16:58 -!- snearch [~snearch@f053003239.adsl.alicedsl.de] has joined #go-nuts 17:06 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has joined #go-nuts 17:06 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 252 seconds] 17:14 -!- twopoint718 [~chris@fsf/member/twopoint718] has quit [Ping timeout: 248 seconds] 17:16 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 17:17 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 17:25 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has joined #go-nuts 17:26 < jeremy_c> How can I make a C string 4096 in size and then populate it with the contents of a go string? 17:27 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 17:27 < skelterjohn> you don't want to use C.CString() 17:27 < jeremy_c> The problem is I need 4096 in length but the initial string may only be 10 characters, or event empty. 17:28 < skelterjohn> you'll have to do it by hand 17:28 < jeremy_c> the C function I am calling could possibly populate the memory I allocated with a string up to 4096 characters. 17:28 < skelterjohn> in the C code, probably 17:28 < wrtp> jeremy_c: c := make([]byte, 4096); copy(c, s); c[len(s)] = 0 17:28 < skelterjohn> i think in _cgo_export.h it might give you a struct for go strings 17:28 < wrtp> then pass &c[0] to C 17:28 < skelterjohn> or you can take advantage of the fact that it happens to be the first word in the struct :) 17:29 < skelterjohn> it = the char* 17:29 < wrtp> jeremy_c: i think what i wrote above should work. i don't there's any need for unsafe hackery here. 17:30 < skelterjohn> passing &c[0] is unsafe hackery. it's just not import "unsafe" hackery. 17:30 < wrtp> it's not unsafe, i don't think 17:30 < wrtp> (apart from the fact that anything you do in C is unsafe) 17:30 < skelterjohn> is the layout of a gostring in the spec? 17:31 < wrtp> &c[0] doesn't rely on the layout of a gostring 17:31 < skelterjohn> i mean a []byte 17:31 < skelterjohn> sorry 17:31 < wrtp> it just uses the address of the first byte 17:31 < skelterjohn> what if the []byte had the length and cap first, and then the data? 17:31 < wrtp> it doesn't rely on the layout of a slice either 17:31 < skelterjohn> oh duh 17:31 < skelterjohn> of course, my mistake 17:31 -!- vsayer [~vivek@c-67-170-236-166.hsd1.ca.comcast.net] has quit [Read error: Operation timed out] 17:31 < skelterjohn> it depends on the fact that the data is contiguous 17:32 < skelterjohn> which is a pretty safe bet 17:32 < wrtp> sure. that's guaranteed, i think 17:32 < jeremy_c> thanks guys, the copy() trick does work. I've not used copy before. 17:32 < wrtp> copy is dead useful 17:32 < wrtp> jeremy_c: you could have written a loop to copy the bytes yourself, but copy is faster and easier 17:33 < skelterjohn> ideally it would be just as fast w/ go code 17:34 < wrtp> skelterjohn: you'd need a *much* better optimiser 17:35 < wrtp> skelterjohn: i don't know if even gcc can optimise a for(i := 0; i < n; i++){c[i] = s[i]} to a memmove... 17:36 < skelterjohn> isn't copy more than that? 17:36 < skelterjohn> something about guarantees for overlapping regions 17:38 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 17:38 -!- GeertJohan1 [~Squarc@clal-0-227.eduroam.inholland.nl] has quit [Quit: Leaving.] 17:41 < wrtp> skelterjohn: that's what memmove does, but it's only one check at the start. 17:42 < skelterjohn> i guess it counts down instead of up, in those cases? 17:42 < wrtp> yes, i think so 17:42 < taruti> Did someone write a llvm binding? 17:42 < skelterjohn> wait, i don't know if that makes sense 17:42 < wrtp> if you were writing the loop by hand, that's what you'd do, so to get code as fast, the compiler would have to recognise it and call memmove (which uses assembly tricks to be really quick) 17:42 < taruti> ah found it 17:43 -!- TheMue [~TheMue@p5DDF6506.dip.t-dialin.net] has joined #go-nuts 17:44 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has joined #go-nuts 17:45 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 17:45 -!- huin [~huin@91.85.171.238] has joined #go-nuts 17:46 < wrtp> skelterjohn: see http://golang.org/src/pkg/runtime/amd64/memmove.s 17:46 < skelterjohn> i'm not much for assembler:s 17:47 -!- twopoint718 [~chris@fsf/member/twopoint718] has joined #go-nuts 17:48 -!- elephants [~elephants@76.9.192.146] has joined #go-nuts 17:48 < wrtp> skelterjohn: well, it's fast, trust me :-) (the main loop is one instruction) 17:52 < skelterjohn> wrtp: if you've got a minute, there's a completely different issue that's been baffling me 17:52 < wrtp> skelterjohn: go on 17:52 < skelterjohn> and i know you have some experience with the internals of cgo 17:53 < wrtp> not that much... :-) 17:53 < skelterjohn> when gb tries to link with gcc, sometimes it fails 17:53 < skelterjohn> but if i run the exact same command in the same place, except from the terminal 17:53 < skelterjohn> it works fine 17:53 < skelterjohn> so i figure it's an env issue 17:53 < skelterjohn> but i'm having trouble figuring out what i'm missing 17:53 < wrtp> what error do you get? 17:53 < skelterjohn> undefined symbols 17:54 < skelterjohn> the symbols will be _x 17:54 < skelterjohn> where x is a function in the framework i'm trying to bring in 17:54 < skelterjohn> (a framework i wrote, but this happens with other libs too) 17:56 < wrtp> skelterjohn: have you tried running with a pristine environment? 17:56 -!- saschpe [~quassel@opensuse/member/saschpe] has quit [Read error: Connection reset by peer] 17:56 < skelterjohn> running gb or gcc? 17:58 < skelterjohn> the only difference in the env vars is PATH 17:58 < skelterjohn> and _ 17:59 < skelterjohn> (comparing os.Env right before i invoke gcc from gb and "env" run in the shell) 17:59 < skelterjohn> and os.Env has [invalid string] for one of them 18:01 < skelterjohn> and i'm passing nil to exec.Run, which should just pass the parent env vars through 18:05 -!- twopoint718 [~chris@fsf/member/twopoint718] has quit [Ping timeout: 258 seconds] 18:08 < wrtp> skelterjohn: PATH can make quite a difference... does it change when the two PATHs are identical? 18:09 < skelterjohn> there is no path in the env inside gb. i'm not sure why this is the case 18:10 < skelterjohn> setting it by hand in the source didn't change anything 18:11 < skelterjohn> i'm pretty sure the issue is it not finding frameworks - it works for regular libraries like -lm etc 18:11 < skelterjohn> just not -framework myframework 18:12 < skelterjohn> or any other framework 18:13 -!- tvw [~tv@212.79.9.150] has quit [Read error: Connection reset by peer] 18:13 < skelterjohn> and the framework is in /Library/Frameworks, so it's not anywhere clever 18:15 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 18:18 < skelterjohn> oh - i think i found the error 18:18 < skelterjohn> "-framework myframework" is being passed as a single command line argument 18:19 < skelterjohn> rather than two, "-framework" and "myframework" 18:19 < skelterjohn> with "-lm" it isn't a problem 18:24 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 18:26 < skelterjohn> that was it :) 18:26 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 18:27 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 18:33 < skelterjohn> (thanks for sound-boarding) 18:36 < ebering> I'm using container/ring to hold a ring of points and I'd like to implement various max and min queries against this. The Schemer in me says that there should be a ring.Fold method that folds a ring in the same style as foldl and foldr from scheme and I should write in terms of that. There isn't one in the standard library, so is this the go way or is there some other way that is more idiomatic in go? 18:38 < skelterjohn> is there a particular reason to be clever? 18:38 < skelterjohn> why not just iterate through and track the max/min? 18:38 < skelterjohn> with go code, i try to not be clever if i can avoid it 18:39 < skelterjohn> it's much easier to find mistakes in obvious code 18:46 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 18:47 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 18:50 < jeremy_c> Is there a reason not to be clever? Go has many clever things in it. 18:50 -!- sacho [~sacho@83.228.17.177] has quit [Read error: Connection reset by peer] 18:51 < skelterjohn> there is a quote out there, somewhere, that can be paraphrased like this: everyone knows that debugging is twice as hard as coding, so if you're as clever as you can be while coding, how can you ever hope to debug? 18:52 < jeremy_c> I would think reducing multiple lines of code into a well testing method would decrease bugs, increase debugability (new word? :-)) 18:53 < skelterjohn> i have found that to not be the case 18:53 -!- matt__ [~matt@utdpat242007.utdallas.edu] has joined #go-nuts 18:53 < skelterjohn> conciseness is good to a point 18:53 < skelterjohn> but not to the extreme 18:54 < jeremy_c> that seems strange to me, I wonder how it could not be. Now... using methods that are voodoo and not understood is terrible. 18:54 < skelterjohn> well, just reducing things to smaller functions isn't really the "clever" i'm talking about 18:54 -!- ako [~nya@fuld-590c644d.pool.mediaWays.net] has joined #go-nuts 18:54 < jeremy_c> but if you are use to and understand what foldl/foldr does, I can't see how it hurts but only helps. 18:55 < chomp> the conciseness of an expression says nothing about its complexity 18:55 < jeremy_c> skelterjohn: I do agree with you *100%* making things "clever" for the sake of reducing line count is a waste of time. 18:55 < skelterjohn> but some code i wrote many years in python that has three list comprehensions on the same line comes to mind 18:55 < chomp> complexity is what makes debugging hard 18:55 -!- Lacesso [~matt@utdpat242007.utdallas.edu] has joined #go-nuts 18:55 -!- matt__ [~matt@utdpat242007.utdallas.edu] has left #go-nuts [] 18:55 < skelterjohn> i couldn't figure out what it did the next day 18:56 < jeremy_c> right. that *is* bad. but one who uses list comprehension day in and day out may not have a problem 2 years later knowing what is going on. 18:56 < skelterjohn> it's nice to have other people be able to read your code, too 18:57 < jeremy_c> yes, other people who are similarly skilled I'd suppose. I don't wish to write for the lowest common denominator. 18:57 -!- aho [~nya@fuld-590c6955.pool.mediaWays.net] has quit [Ping timeout: 250 seconds] 18:57 < chomp> code that can be read efficiently by a very small number of people has no long-term value. it will inevitably be rewritten. 18:57 < skelterjohn> but something like just finding a max/min ... as long as you wrap the calls to fold in a function called "Max()" or "Min()", i wouldn't mind 18:57 < chomp> there's a middle ground between "lowest common denominator" and "5000 people in the universe" 18:57 < jeremy_c> indeed. 18:58 < jeremy_c> is foldr/foldl really > middle ground though? 18:58 < chomp> certainly not 18:58 < chomp> though applied to a ring i'm not sure there's much sense to it conceptually 18:58 < jeremy_c> skelterjohn: who did you say the maintainer of the project dashboard is? 18:59 < skelterjohn> adg/andrew gerrand 18:59 < jeremy_c> chomp: you're probably right there. 19:03 < str1ngs> I think I'll paint my shed blue! 19:03 < wrtp> ebering: idiomatic Go style doesn't use higher order functions much. this doesn't seem to make the code much bigger, in most cases. 19:04 < skelterjohn> it's hard to write higher order functions without generics 19:04 < skelterjohn> i did some experiments a while back with interface{}, but it was annoying 19:05 < wrtp> yeah. 19:06 < wrtp> given that ring.Ring implements, Do, you could write some higher order functions that worked on type interface {Do(func(interface{}))} 19:06 -!- twopoint718 [~chris@fsf/member/twopoint718] has joined #go-nuts 19:07 < wrtp> it would be nicer if Do returned bool, to request iteration termination 19:07 < skelterjohn> using Do to compute min/max by storing it in a closer would be neat 19:07 < skelterjohn> i think ebering should do it that way :) 19:10 < ebering> skelterjohn: hm yes after some thinking that is what I have done 19:11 < skelterjohn> cool 19:11 -!- snearch [~snearch@f053003239.adsl.alicedsl.de] has quit [Quit: Verlassend] 19:11 < ebering> well, fold can be implemented in terms of Do 19:11 < ebering> in fact you can do fancier things 19:12 < ebering> not that I really want to 19:12 -!- Lacesso [~matt@utdpat242007.utdallas.edu] has quit [Read error: Operation timed out] 19:15 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 19:24 < ebering> }/win 2 19:30 -!- Bigbear1 [~Cody@d173-181-43-12.abhsia.telus.net] has quit [Read error: Connection reset by peer] 19:30 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts 19:32 < skelterjohn> i don't get it 19:32 -!- tncardoso [~thiago@150.164.2.20] has quit [Ping timeout: 246 seconds] 19:32 < skelterjohn> what does "}/win 2" mean 19:32 < skelterjohn> oh probably an irc macro that got messed up 19:32 < Tonnerre> Exactly 19:37 -!- foocraft [~ewanas@86.36.49.200] has quit [Quit: if you're going....to san. fran. cisco!!!] 19:46 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has joined #go-nuts 19:51 -!- Squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts 19:56 -!- Project-2501 [~Marvin@82.84.71.95] has joined #go-nuts 19:57 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has quit [Read error: Connection reset by peer] 19:57 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has joined #go-nuts 19:57 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost terminal] 19:59 -!- Project_2501 [~Marvin@82.84.93.2] has quit [Ping timeout: 240 seconds] 20:02 -!- skelterjohn [~jasmuth@128.6.168.245] has quit [Quit: skelterjohn] 20:03 -!- jstemmer [~cheetah@mrpwn.stemmertech.com] has quit [Quit: leaving] 20:05 -!- boomtopper [~boomtoppe@cpc12-nrte22-2-0-cust249.8-4.cable.virginmedia.com] has quit [Quit: Lost terminal] 20:06 -!- welterde [welterde@thinkbase.srv.welterde.de] has quit [Quit: WeeChat 0.3.5-dev] 20:06 < ebering> skelterjohn was correct 20:07 -!- twopoint718 [~chris@fsf/member/twopoint718] has quit [Ping timeout: 240 seconds] 20:11 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has joined #go-nuts 20:12 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has quit [Read error: Connection reset by peer] 20:12 -!- monsieur_max1 [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has joined #go-nuts 20:12 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has quit [Client Quit] 20:12 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has joined #go-nuts 20:13 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has quit [Client Quit] 20:13 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has joined #go-nuts 20:17 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit [Quit: Leaving] 20:17 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 248 seconds] 20:29 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 20:39 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has joined #go-nuts 20:40 -!- TheMue [~TheMue@p5DDF6506.dip.t-dialin.net] has quit [Quit: TheMue] 20:40 -!- monsieur_max1 [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has quit [Ping timeout: 246 seconds] 20:43 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Remote host closed the connection] 20:45 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-165-61.clienti.tiscali.it] has joined #go-nuts 20:45 -!- alehorst1 [~alehorst@189.114.234.79.dynamic.adsl.gvt.net.br] has quit [Quit: Leaving.] 20:47 -!- wrtp [~rog@92.17.93.207] has quit [Quit: wrtp] 20:48 -!- Project-2501 [~Marvin@82.84.71.95] has quit [Ping timeout: 246 seconds] 20:50 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 20:51 -!- gtaylor [~gtaylor@99-5-124-9.lightspeed.gnvlsc.sbcglobal.net] has joined #go-nuts 20:51 < Tonnerre> Has anybody here tried to build the Go supported libthrift yet? 20:51 < Tonnerre> I applied the SVN patch and I always get: No generator named 'go' could be found! 20:52 < Tonnerre> Also, for some reason I get 20:52 < Tonnerre> THRIFT_GEN_go_FALSE='#' 20:52 < Tonnerre> THRIFT_GEN_go_TRUE='' 20:52 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 246 seconds] 20:52 < Tonnerre> So it seems to have silently set it to false 20:53 < Tonnerre> I can't find anything about it in config.log 20:53 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 20:53 < Tonnerre> So if anyone tried to use libthrift with Go I'd be glad for input 20:54 -!- huin [~huin@91.85.171.238] has quit [Quit: leaving] 20:55 -!- welterde [welterde@thinkbase.srv.welterde.de] has joined #go-nuts 20:55 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 20:56 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 20:57 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 21:01 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 21:05 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.] 21:05 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 21:06 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 21:06 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Remote host closed the connection] 21:07 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts 21:08 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has joined #go-nuts 21:08 -!- cafesofie [~cafesofie@ool-18b97779.dyn.optonline.net] has joined #go-nuts 21:11 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the Fish] 21:15 -!- kr [~Keith@204.14.152.118] has joined #go-nuts 21:18 -!- dfc [~dfc@124-149-171-115.dyn.iinet.net.au] has quit [Quit: dfc] 21:21 -!- monsieur_max [~maxime@ip-78.net-89-2-171.rev.numericable.fr] has quit [Quit: Leaving.] 21:34 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has quit [Remote host closed the connection] 21:35 -!- prip [~foo@host131-130-dynamic.36-79-r.retail.telecomitalia.it] has quit [Ping timeout: 260 seconds] 21:37 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-154-63.clienti.tiscali.it] has joined #go-nuts 21:40 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 21:40 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-165-61.clienti.tiscali.it] has quit [Ping timeout: 258 seconds] 21:42 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 21:44 < uriel> Tonnerre: might be a good idea to ask the thrift people as it is in their lib :) 21:44 < Tonnerre> uriel: sure but they don't have IRC ;) 21:44 < Tonnerre> uriel: also, I figured someone here might know 21:47 -!- drhodes [~none@drhodes.xen.prgmr.com] has joined #go-nuts 21:47 -!- prip [~foo@host72-9-dynamic.7-79-r.retail.telecomitalia.it] has joined #go-nuts 21:48 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:51 -!- tncardoso [~thiago@189.59.181.197.dynamic.adsl.gvt.net.br] has quit [Quit: bye] 21:52 < uriel> Tonnerre: it was worth checking, but I have not seen anyone around here trying thrift, might be worth trying the gonuts list too 21:54 < Tonnerre> In the end what I want is to use Go to talk to Apache Cassandra 21:54 -!- g0g0g0 [42cbcf42@gateway/web/freenode/ip.66.203.207.66] has quit [Ping timeout: 252 seconds] 21:59 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 258 seconds] 21:59 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined #go-nuts 22:00 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts 22:02 -!- napsy [~luka@88.200.96.18] has quit [Quit: leaving] 22:09 -!- oal [~oal@5.79-160-122.customer.lyse.net] has quit [Remote host closed the connection] 22:13 -!- r_linux [~r_linux@smtp.mandique.com.br] has quit [Quit: lalala caindo fora] 22:14 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Ping timeout: 258 seconds] 22:18 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit: Computer has gone to sleep.] 22:22 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has joined #go-nuts 22:41 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 22:44 -!- moraes [~moraes@189.103.179.31] has quit [Quit: Leaving] 22:52 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 22:53 -!- Squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host closed the connection] 22:58 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Remote host closed the connection] 22:59 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Quit: Venom_X] 23:00 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-154-63.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 23:15 < jeremy_c> Any users of kuroneko's sqlite3 on windows? last_insert_id always retruns bogus values. I a bit concerned it might be a go bug? I then tried gosqlite.googlecode.com and it has the same problem (after I added the wrapper for it). 23:16 < jeremy_c> a C example doing the exact same thing returns the correct id. 23:19 -!- dfr|mac [~dfr|work@173-166-160-241-washingtondc.hfc.comcastbusiness.net] has joined #go-nuts 23:21 < mjard> jeremy_c: I just started getting into it 23:22 < jeremy_c> I'm in the process of writing a test wrapper that just has 4 methods, open, exec, last insert id and close to see if I have the same problem. 23:22 < jeremy_c> mjard: did you try last insert id? 23:23 < mjard> not yet, I'll give it a run 23:24 < jeremy_c> mjard: http://pastie.org/1913542 is a simple test that I set up. 23:26 -!- tobym [~tobym@cpe-72-229-2-6.nyc.res.rr.com] has joined #go-nuts 23:28 -!- eikenberry [~jae@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #go-nuts 23:29 < mjard> id=1 23:29 < mjard> seems to be correct? 23:29 < jeremy_c> yup, that's right. 23:29 < jeremy_c> You're on windows? 23:29 < mjard> linux 23:29 < jeremy_c> ah, ok. I've not had a problem with it on Linux, only Windows. 23:29 < mjard> works in my example too 23:29 < mjard> ah 23:30 < mjard> the same in c works on windows? 23:30 < jeremy_c> yup. 23:31 < mjard> should be fairly easy to come up with a test case to give to the golang developers 23:31 < jeremy_c> http://pastie.org/1913574 ... that's the C code 23:32 < jeremy_c> just about done. 23:39 -!- kevineaton [~kevineato@c-71-232-140-76.hsd1.nh.comcast.net] has joined #go-nuts 23:41 -!- m4dh4tt3r [~Adium@c-98-210-145-213.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 23:42 < jeremy_c> Ok, my simple wrapper returns bogus values as well :-/ 23:44 -!- boscop [~boscop@g226250196.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 23:44 -!- kevineaton [~kevineato@c-71-232-140-76.hsd1.nh.comcast.net] has left #go-nuts [] 23:45 -!- achoo [~achoo@host-134-71-204-221.allocated.csupomona.edu] has joined #go-nuts 23:47 -!- binarypie [~binarypie@adsl-76-254-24-124.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 23:48 < mjard> don't know enough about go/cgo, but I bet you could trim your example down to: garbage := int64(C.Int64(1)) 23:50 < jeremy_c> Int64 is undeclared 23:50 -!- boscop [~boscop@g226231178.adsl.alicedsl.de] has joined #go-nuts 23:52 < mjard> yeah, I kinda made that up 23:56 < jeremy_c> nope that didn't expose the bug. 23:57 < jeremy_c> I made a C function: long long int one() { return 1; } ... and then the equiv Go wrapper. The go result is 1. 23:59 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit [Ping timeout: 252 seconds] 23:59 < uriel> Tonnerre: there are clients for casandra I think 23:59 < jeremy_c> Any C expert who is also on windows? My test code (very small) is on http://github.com/jcowgar/sqlite3gotest 23:59 -!- eikenberry [~jae@173-164-68-213-Oregon.hfc.comcastbusiness.net] has quit [Quit: End of line.] --- Log closed Tue May 17 00:00:23 2011