--- Log opened Sat Jan 15 00:00:03 2011 00:09 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-148-187.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 00:25 -!- jramnani [~jramnani@chml01.drwholdings.com] has quit [Quit: Leaving.] 00:29 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 276 seconds] 00:31 -!- cafesofie [~cafesofie@dhcp-140-254-204-17.osuwireless.ohio-state.edu] has joined #go-nuts 00:35 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 00:42 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has joined #go-nuts 00:42 -!- tvw [~tv@e176000238.adsl.alicedsl.de] has quit [Remote host closed the connection] 00:52 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 255 seconds] 00:56 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined #go-nuts 00:58 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 01:00 -!- shvntr [~shvntr@113.84.151.137] has joined #go-nuts 01:04 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Quit: LeNsTR] 01:07 -!- jeff2 [~sername@c-67-164-29-36.hsd1.ca.comcast.net] has joined #go-nuts 01:21 -!- georgekollias [~georgekol@men75-1-81-57-41-176.fbx.proxad.net] has quit [Ping timeout: 255 seconds] 01:23 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Read error: Operation timed out] 01:25 -!- dforsyth_ [~dforsyth@bastion.inap.yelpcorp.com] has quit [Quit: Computer has gone to sleep.] 01:28 -!- shvntr [~shvntr@113.84.151.137] has quit [Quit: leaving] 01:38 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 01:41 -!- ssb [~ssb@213.167.39.150] has quit [Ping timeout: 264 seconds] 01:41 -!- ssb [~ssb@213.167.39.150] has joined #go-nuts 02:01 -!- binarypie [~binarypie@adsl-99-37-224-209.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 02:04 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 02:07 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 240 seconds] 02:10 -!- m4dh4tt3r1 [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined #go-nuts 02:10 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 02:15 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 246 seconds] 02:17 < tav> sorry about the plexdev spam earlier guys 02:18 < tav> i was on holiday for a few weeks and came back to find that the machine which handles the mirroring to github had gone to happy sleep =) 02:19 < tav> anyways, the machine is awake again after being asleep for 5 days and both the github mirror and plexdev are back in sync with upstream 02:19 < yebyen> plexdev? 02:19 < tav> sorry for any inconvenience caused 02:19 < yebyen> what's that about 02:20 < tav> yebyen: plexdev is the bot that informs the channel about commits made to the Go repository, e.g. 02:20 < tav> <plexdev> http://is.gd/BIABr4 by [Brad Fitzpatrick] in go/src/pkg/http/ -- http: fix scheme-relative URL parsing; add ParseRequestURL 02:20 < yebyen> oh 02:20 < yebyen> here i am thinking it's a go module 02:20 < tav> ah, heh, sorry 02:21 < yebyen> and why anyone would be upset that he's not been updated in 5 days 02:21 < yebyen> but that makes more sense 02:22 < tav> i sync the hg repo to a github repo, and then use a post-commit hook on github to update the bot which then informs the channel 02:24 < tav> i surprisingly got several emails and github messages asking me about the git mirror, so i figured if a few people were willing to go to the trouble of hunting down my email address to let me know the mirror wasn't updated... 02:25 < tav> anyways, what you hacking on yebyen ? 02:27 -!- raylu [raylu@c-24-131-193-106.hsd1.pa.comcast.net] has quit [Ping timeout: 264 seconds] 02:28 -!- raylu [raylu@c-24-131-193-106.hsd1.pa.comcast.net] has joined #go-nuts 02:29 < yebyen> i haven't written any go code in a while 02:29 < yebyen> unfortunately 02:29 < yebyen> i'm trapped in php land 02:29 < yebyen> libevent, libindicate, pino-twitter 02:29 < yebyen> are some things i'd like to get compiled 02:29 < yebyen> exherbo 02:29 < yebyen> trying to get this debian system finished right now 02:30 -!- cafesofie [~cafesofie@dhcp-140-254-204-17.osuwireless.ohio-state.edu] has quit [Remote host closed the connection] 02:33 < tav> sorry about the php trap 02:34 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 02:34 < tav> but, thanks for the pointers to libindicate and pino-twitter 02:34 < Broady> anyone here used redis? 02:34 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Quit: leaving] 02:34 < tav> Broady: me... 02:34 -!- [Pete_27] [~noname@110-174-103-31.static.tpgi.com.au] has joined #go-nuts 02:34 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 02:34 < Broady> tav: general thoughts/impressions? 02:35 < tav> i love it =) 02:35 < tav> depending on what you're trying to do, it's a very useful tool to have in your toolbox 02:35 < Broady> cool. have an idea for a little project that could make use of it :) 02:35 < Broady> basically a micro-blog, but with a focus/structure in mind 02:36 < tav> aha, nice 02:36 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Client Quit] 02:37 < tav> at some point this year, i hope to release an app-engine-like datastore written in Go and using a slightly forked redis 02:37 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 02:37 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Client Quit] 02:38 < Broady> tav: great 02:38 < adu> noooooooooo not php 02:39 < tav> adu: heh, well, it's not always by choice... 02:39 < Broady> if it pays the bills 02:39 < adu> ya i know 02:39 < adu> I need to pay the bills 02:39 < adu> I've applied to approx 2 companies a week 02:40 < tav> no luck yet? 02:40 < adu> and I've gone to 5 interviews so far 02:40 < adu> nope 02:40 < Broady> awesome. i love how redis docs tell you the time complexity of every operation 02:40 < tav> adu: damn, sorry to hear that =( 02:40 < Namegduf> adu: Do you visibly wince when they tell you the languages they're working with? 02:41 < tav> Broady: yeah, i hear that gives people a very good impression =) 02:41 < tav> Namegduf: lol 02:41 < adu> I think they see "Haskell" on my resume, and think... "this guy must be making stuff up" 02:41 < tav> heh 02:41 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 02:41 < adu> Namegduf: only if its VB 02:42 < Namegduf> Understandable. 02:42 * adu visibly winces at C# too 02:42 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Client Quit] 02:42 < adu> not at Java tho 02:42 < adu> after making 3 Android apps, Java is OK 02:42 < Broady> I kind of like c# 02:43 < exch> I think it's a good idea to find out about their languages of choice, before you write the letters 02:43 < Broady> though I've spent limited time with it, and a lot with Java 02:43 < tav> exch: good advice 02:43 < adu> exch: good idea 02:45 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 02:45 -!- MaybeSo [~jimr@lions.Stanford.EDU] has quit [Client Quit] 02:46 < jeff2> 6l: go/pkg/darwin_amd64/lua51.a(golua.o)(__TEXT/__text): luaL_checkudata: not defined -- how can I diagnose this error? it occurs in a cgo-based library. I've ensured it is linking with the C library where the symbols are found 02:46 -!- bmizerany [~bmizerany@204.14.152.118] has quit [Remote host closed the connection] 02:46 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has left #go-nuts [] 02:47 -!- MaybeSo [~jimr@lions.Stanford.EDU] has joined #go-nuts 02:47 -!- bmizerany [~bmizerany@204.14.152.118] has joined #go-nuts 02:48 < jeff2> i.e., CGO_LDFLAGS is set to -llua 02:48 < exch> Is it the correct library version you are linking against? 02:49 < exch> I don't know if this works on darwin, but I usually set CGO_LDFLAGS to `pkg-config --libs lua` 02:49 < exch> or whatever lib I am linking to 02:50 < exch> when I run that in my shell, it yields '-llua -lm' 02:50 < jeff2> yeah that's what I'm doing actually 02:51 < jeff2> though you might be onto something that I may have multiple versions of lua installed and it could be finding different pieces from each..looking into it 02:52 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts 02:54 < jeff2> nope I only have one version installed, 5.1.4... hmm 02:56 < exch> hmm. perhaps the package itself was written against an outdated version, and references code that doesnt exist anymore. Not really sure what else it could be 03:00 < jeff2> well I can find the symbols in the library I'm linking to. 6l's linking model is confusing.. with ld, I'd just specify the libraries as command-line arguments 03:03 < adu> i think 6*'s linking is confusing 03:03 < jeff2> how does it work? 03:03 < adu> i dunno 03:03 < adu> i just like the language 03:04 < adu> but I would like it more if there was a Go-- mode 03:04 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has joined #go-nuts 03:04 < adu> that worked kinda like C with closures 03:05 < adu> jeff2: have you seen by blog? 03:07 < jeff2> adu: not that I know of, what is it? 03:07 < adu> http://straymindcough.blogspot.com/2011/01/golang-proposals.html 03:07 < adu> apparently, there have been billions of generics requests from people not groking the "beauty" of Go interfaces 03:08 < Namegduf> Not just interfaces 03:08 < adu> apparently, I'm one of them 03:08 < Namegduf> Anything and everything 03:08 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 03:08 < adu> Namegduf: you mean proposals for everything? 03:09 < Namegduf> Proposals finding issue with anything and everything 03:09 < Namegduf> Not essentially for everything 03:09 < adu> ah 03:11 < exch> The gist of most of them is "I love Go, I just wish it wasn't like Go" 03:11 < adu> lol 03:12 < adu> anyways, I'm not expecting anyone to scratch my itch 03:12 -!- boscop_ [~boscop@g229215158.adsl.alicedsl.de] has joined #go-nuts 03:12 < Namegduf> Then you'd scratch theirs 03:12 < adu> my compiler will have a Go-- mode 03:12 < Namegduf> And soon Go would become full of itch-scratching 03:12 < Namegduf> And that'd be weird 03:12 < adu> lol 03:14 -!- boscop [~boscop@f055151188.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 03:20 -!- keithgcascio [~keithcasc@nat/google/x-xfxoattkubgcjogl] has quit [Quit: Leaving] 03:39 -!- decaf [~mehmet@88.231.216.96] has joined #go-nuts 04:06 -!- bmizerany [~bmizerany@204.14.152.118] has quit [Remote host closed the connection] 04:11 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Leaving...] 04:12 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote host closed the connection] 04:14 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276 seconds] 04:26 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds] 05:08 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 05:09 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has quit [Ping timeout: 264 seconds] 05:10 -!- foocraft [~dsc@78.101.112.199] has quit [Quit: Leaving] 05:10 -!- amacleod [~amacleod@pool-96-252-93-11.bstnma.fios.verizon.net] has quit [Quit: Bye Bye] 05:19 -!- tav [~tav@92.7.83.241] has quit [Quit: tav] 05:42 -!- boscop_ [~boscop@g229215158.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 06:03 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit: adu] 06:15 -!- teejae [~teejae@softbank219185095092.bbtec.net] has joined #go-nuts 06:22 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has joined #go-nuts 06:39 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #go-nuts 06:41 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has quit [Ping timeout: 276 seconds] 06:42 -!- tav [~tav@92.7.83.241] has joined #go-nuts 06:44 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Ping timeout: 240 seconds] 06:46 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has joined #go-nuts 06:55 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 07:04 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 240 seconds] 07:17 < plexdev> http://is.gd/jNplga by [Rob Pike] in go/src/pkg/bytes/ -- bytes.Buffer: fix typo in comment (doubled 'to') 07:30 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has quit [Remote host closed the connection] 07:37 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has joined #go-nuts 07:38 -!- sacho [~sacho@90.154.217.231] has quit [Read error: No route to host] 07:42 -!- cafesofie [~cafesofie@rnwifi-164-107-92-3.resnet.ohio-state.edu] has quit [Remote host closed the connection] 07:46 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Read error: Operation timed out] 07:47 -!- Xenith [~xenith@xenith.org] has quit [Read error: Operation timed out] 07:48 -!- adg [~nf@2001:470:21:20::4444:61d9] has quit [Read error: Operation timed out] 07:48 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts 07:48 -!- adg [~nf@2001:470:21:20::4444:61d9] has joined #go-nuts 07:48 -!- mode/#go-nuts [+o adg] by ChanServ 07:48 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts 07:52 -!- sacho [~sacho@95-42-103-162.btc-net.bg] has joined #go-nuts 07:53 -!- Xenith [~xenith@xenith.org] has joined #go-nuts 08:00 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 08:04 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 08:14 -!- chressie [~chressie@dreggn.in-ulm.de] has quit [Quit: WeeChat 0.3.3] 08:15 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts 08:27 -!- teejae [~teejae@softbank219185095092.bbtec.net] has quit [Quit: teejae] 08:35 -!- photron [~photron@port-92-201-112-16.dynamic.qsc.de] has joined #go-nuts 08:52 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:59 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 09:05 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 09:05 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 09:05 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 09:13 -!- m4dh4tt3r1 [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 09:29 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts 09:43 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 09:57 -!- sauerbraten [~sauerbrat@p508CFE17.dip.t-dialin.net] has joined #go-nuts 10:06 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-148-187.clienti.tiscali.it] has joined #go-nuts 10:09 -!- WonTu [~WonTu@p57B555ED.dip.t-dialin.net] has joined #go-nuts 10:10 -!- WonTu [~WonTu@p57B555ED.dip.t-dialin.net] has left #go-nuts [] 10:23 -!- beneth` [~beneth`@ks358244.kimsufi.com] has quit [Ping timeout: 250 seconds] 10:28 -!- karshan [~karshan@122.163.96.30] has joined #go-nuts 10:41 -!- andreas_hindborg [~andreas@x1-6-00-1e-2a-29-58-14.k776.webspeed.dk] has quit [Quit: leaving] 10:49 -!- boscop [~boscop@g229215158.adsl.alicedsl.de] has joined #go-nuts 10:55 -!- Fish- [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts 11:08 -!- sacho [~sacho@95-42-103-162.btc-net.bg] has quit [Ping timeout: 240 seconds] 11:10 -!- sacho [~sacho@90.154.201.105] has joined #go-nuts 11:12 -!- decaf [~mehmet@88.231.216.96] has quit [Quit: Leaving] 11:18 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts 11:19 -!- nettok [~quassel@200.119.168.231] has quit [Ping timeout: 276 seconds] 11:19 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 11:25 < KBme> how does one delete a slice element? 11:26 -!- tav [~tav@92.7.83.241] has quit [Quit: tav] 11:30 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the connection] 11:32 < taruti> KBme: append+copy 11:33 -!- shvntr [~shvntr@113.84.151.137] has joined #go-nuts 11:34 < KBme> ah, ok 11:43 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 11:44 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 11:44 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds] 11:57 -!- piranha [~piranha@94-248-73-228.dynamic.peoplenet.ua] has joined #go-nuts 12:06 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:08 -!- karshan [~karshan@122.163.96.30] has quit [Quit: Leaving] 12:10 < aiju> hm not really go-specific question, but anyway 12:10 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds] 12:11 < aiju> i have a list of possibly overlapping intervals and want to convert it into a list of non-overlapping ones by dividing them appropriately 12:11 < aiju> anyone know an algorithm for that? 12:15 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined #go-nuts 12:21 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:21 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has joined #go-nuts 12:25 < nsf> aiju: I can imagine a brute force solution for that 12:25 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit] 12:30 -!- ios_ [~ios@180.191.133.144] has joined #go-nuts 12:31 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 12:31 -!- ios_ [~ios@180.191.133.144] has left #go-nuts [] 12:38 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts 12:44 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has joined #go-nuts 12:44 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has quit [Changing host] 12:44 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 12:47 -!- artefon [~thiago@189.59.196.3] has joined #go-nuts 12:56 -!- snearch [~snearch@f053003087.adsl.alicedsl.de] has joined #go-nuts 13:08 < quantumelixir> aiju: sort the intervals by their beginning time and then iterate through the intervals checking if the end time of the previous interval is before/after the begin time of the current interval 13:08 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 13:08 < aiju> quantumelixir: that one fails if several intervals overlap 13:08 < quantumelixir> then, you would create new intervals appropriately 13:09 < aiju> i'm right working on iterating through the interval limits currently 13:09 < quantumelixir> aiju: what is the behaviour you expect in that case? 13:09 -!- kashia_ [~Kashia@port-92-200-22-224.dynamic.qsc.de] has joined #go-nuts 13:09 < quantumelixir> the algo I'm referrin to, would make sure that at each point in time there is at most one interval only 13:10 -!- Kashia [~Kashia@port-92-200-61-19.dynamic.qsc.de] has quit [Ping timeout: 260 seconds] 13:31 -!- quantumelixir [~chillu@203.110.240.41] has quit [Quit: leaving] 13:34 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal] 13:34 -!- mattn_jp [~mattn@180-144-131-184f1.hyg1.eonet.ne.jp] has joined #go-nuts 13:42 -!- quantumelixir [~chillu@203.110.240.41] has joined #go-nuts 13:42 < quantumelixir> aiju: http://www.ideone.com/G061K 13:43 < aiju> eh i already solved it 13:43 < aiju> https://code.google.com/p/gofy/source/browse/kernel/frame.go processe820() 13:43 < quantumelixir> was that the behaviour you wanted? 13:44 < aiju> well; your example doesn't compile 13:45 < quantumelixir> it doesn't compile on that website 13:45 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 13:45 < quantumelixir> but it does on my computer 13:45 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has joined #go-nuts 13:45 < quantumelixir> aiju: did you try it on your machine? 13:49 < aiju> no 13:54 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 14:07 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit [Quit: skelterjohn] 14:14 -!- tobik [~tobik@p54895F15.dip.t-dialin.net] has joined #go-nuts 14:20 < zozoR> fmt.Printf("%0000d", 522) isnt that supposed to output "0522"? if not, how would i do that 14:22 < zozoR> nevermind 14:22 < zozoR> fmt.Printf("%0.4d") 14:23 < zozoR> oh, %.4d is enough 14:24 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 14:28 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has joined #go-nuts 14:32 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 14:37 -!- tvw [~tv@e176000085.adsl.alicedsl.de] has joined #go-nuts 14:41 -!- artefon [~thiago@189.59.196.3] has quit [Read error: Connection reset by peer] 14:41 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts 14:52 < aiju> *(*uint64)(unsafe.Pointer(uintptr(pdp0))) = uint64(pd0) | PAGEAVAIL | PAGEWRITE 14:52 < aiju> my ass 14:54 -!- georgekollias [~georgekol@men75-1-81-57-41-176.fbx.proxad.net] has joined #go-nuts 14:55 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Quit: WeeChat 0.3.3] 15:00 -!- tobik [~tobik@p54895F15.dip.t-dialin.net] has quit [Quit: WeeChat 0.3.3] 15:05 < aiju> frame.go:132: internal compiler error: agen: not tptr: uint64 15:05 < aiju> i accidentally the Go compiler 15:08 -!- im2ee [~calif@apn-77-115-226-159.dynamic.gprs.plus.pl] has joined #go-nuts 15:08 -!- jkakar [~jkakar@176.Red-79-155-139.dynamicIP.rima-tde.net] has joined #go-nuts 15:09 < aiju> uint64(uintptr(unsafe.Pointer(&tmppt))) 15:09 < aiju> any idea what's wrong with this? 15:14 -!- teejae [~teejae@softbank219185095092.bbtec.net] has joined #go-nuts 15:16 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 15:17 < aiju> should i file a bug? 15:24 -!- xash [~xash@d183121.adsl.hansenet.de] has joined #go-nuts 15:26 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has joined #go-nuts 15:28 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout: 240 seconds] 15:29 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has quit [Quit: vdrab] 15:37 -!- shvntr [~shvntr@113.84.151.137] has quit [Quit: leaving] 15:39 < skelterjohn> aiju: if it says internal compile error, definitely file a bug 15:39 < aiju> http://code.google.com/p/go/issues/detail?id=1417 15:40 < skelterjohn> i get the error too 15:40 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit: DarthShrine] 15:40 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 272 seconds] 15:40 -!- Qvist_ [~erik@host-95-194-110-60.mobileonline.telia.com] has joined #go-nuts 15:41 < skelterjohn> interesting - if instead of having the var tmppt, i just put &[]uint64{}, it compiles 15:41 < aiju> lol 15:41 < skelterjohn> &[512]uint64{} that is 15:42 < skelterjohn> oh well, above my pay grade 15:42 < aiju> i find those casts pretty obnoxious 15:42 < aiju> sure type safety BUT WHY THE FUCK DO I HAVE TO CAST WITH OVER 9000 INTERMEDIATE TYPES? 15:43 < Namegduf> Because you're fucking with unsafe code that could derive bad pointers 15:43 < Namegduf> :P 15:43 < aiju> well, yeah, it's supposed to be a "systems programming language" 15:44 < Namegduf> Or result in pointers stored in a way the GC can't recognise 15:44 < Namegduf> And thus when screwed with and recast back point at nothing because it got GCed 15:45 < Namegduf> Why should use as a systems programming language have most of the code doing things which aren't type safe? 15:46 < aiju> computers aren't type safe … 15:47 < aiju> i hope everything gets nicer after i set up the heap 15:47 < Namegduf> Type safety is not a property of a computer, it's a property of a language or code in that language 15:47 < aiju> yeah 15:48 < aiju> i'd be happy if i could work without unsafe, but i simply can't 15:48 -!- Scorchin [~Scorchin@host86-186-246-184.range86-186.btcentralplus.com] has joined #go-nuts 15:48 < taruti> Is there a way to read a file to a string without intermediate copies? 15:49 < skelterjohn> do you have a max on the size of the file? 15:49 < skelterjohn> read it into a [theRightLength]byte 15:49 < Namegduf> That won't do it. 15:49 -!- artefon [~thiago@189.59.196.3] has joined #go-nuts 15:49 < Namegduf> Converting a []byte to a string results in a copy 15:50 < skelterjohn> then i was going to say "and use that []byte" 15:50 < skelterjohn> because you can't read anything directly to a string, and making a string always copies 15:50 < skelterjohn> unless you use unsafe in a way that i don't advice 15:50 < skelterjohn> advise 15:51 < Namegduf> If that's a solution, then ioutil.ReadFile() will return you a []byte containing the whole thing. 15:51 < taruti> anyone got the unsafe wrapping around? 15:52 < aiju> "wrapping around"? 15:52 < taruti> aiju: reading as strings without copy using unsafe. 15:52 < skelterjohn> taruti: I'm having trouble imagining a case where this is appropriate 15:52 < aiju> why would you do that? 15:52 < skelterjohn> maybe give us some context? 15:52 < Namegduf> I suspect it'd involve casting the []byte to string 15:52 < Namegduf> In a way. 15:53 < taruti> skelterjohn: need a string for external api. got a file of several megabytes. want to avoid a multimb copy because the types don't match. 15:53 -!- mattn_jp [~mattn@180-144-131-184f1.hyg1.eonet.ne.jp] has quit [Quit: Ex-Chat] 15:53 < Namegduf> Or rather, converting it into a string with the same len and data pointer. 15:53 < skelterjohn> does a string have the same layout as a slice? 15:53 < Namegduf> No. 15:53 < Namegduf> strings do not have cap. 15:53 < skelterjohn> ah 15:53 < skelterjohn> does the cap come last? O:-) 15:53 < Namegduf> It might just work if you do a pointer cast if the cap is the last thing in-haha. 15:53 < Namegduf> I don't know, maybe, but it'd break if the implementation changed. 15:54 < Namegduf> I think it might. Still, though. 15:54 < skelterjohn> taruti: maybe use a bytes.Buffer, and call its String() method 15:55 < Namegduf> I suspect that will do a copy as well 15:55 < taruti> skelterjohn: that does a copy 15:55 < Namegduf> It'd have to, or later changes to the buffer could break the immutability of strings. 15:57 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts 15:57 < Namegduf> If a []byte is created in the function, never copied, and cast to a string to return, and never passed to anything else, the compiler could hypothetically safely assume there's no copies existing 15:58 -!- mattn_jp [~mattn@180-144-131-184f1.hyg1.eonet.ne.jp] has joined #go-nuts 15:58 < Namegduf> And the only reference to that data is there, and do it without a copy. 15:58 < Namegduf> But I don't think it does. 15:58 -!- artefon [~thiago@189.59.196.3] has quit [Ping timeout: 265 seconds] 15:59 < Namegduf> It'd be a kinda sensitive optimisation, too. 16:00 < skelterjohn> taruti: if you read in a few MB from disk, and then copy a few MB in memory, the disk part is most definitely the bottleneck 16:00 < skelterjohn> i think that you should not worry about this copy 16:07 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts 16:11 -!- artefon [~thiago@189.59.130.73.dynamic.adsl.gvt.net.br] has joined #go-nuts 16:13 -!- piranha [~piranha@94-248-73-228.dynamic.peoplenet.ua] has quit [Quit: Computer has gone to sleep.] 16:19 < im2ee> Are there anyone from Poland? :) 16:20 < aiju> i am from your former overlord country 16:20 < jumzi> me too! 16:20 < jumzi> (Sweden ruled the world once upon a time) 16:20 < aiju> i am from your all future overlord country 16:21 < Namegduf> Where? 16:21 < im2ee> :) 16:21 < aiju> ^„^ <-- that one 16:21 < im2ee> Funny. :) 16:22 < im2ee> I don't understand human hatred. :) 16:24 < jumzi> You don't? Weird 16:25 < im2ee> I don't.. 16:25 < skelterjohn> quite a non sequitur 16:25 < aiju> back to programing^Wprogramming 16:26 < aiju> *progaming 16:26 < aiju> screw it 16:26 < skelterjohn> hah 16:26 < skelterjohn> fail 16:26 < aiju> yeah :( 16:26 < aiju> back to crying why qemu doesn't like my code 16:27 < im2ee> heh. :) 16:27 < im2ee> Ahh, this is so funny. 16:28 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 16:28 < aiju> eh any way to force alignment? 16:29 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping timeout: 240 seconds] 16:29 < Namegduf> No. 16:30 -!- piranha [~piranha@94-248-73-228.dynamic.peoplenet.ua] has joined #go-nuts 16:30 < im2ee> Yes. But it's a personal thing for each. :) 16:31 < im2ee> Peace and Love. :) 16:31 < im2ee> hah 16:31 < skelterjohn> i think you are high 16:31 < aiju> pml4h := (*SliceHeader)(unsafe.Pointer(&pml4)) 16:31 < aiju> pml4h.Data = uintptr(falloc(1)) 16:31 < aiju> pml4h.Len = 512 16:31 < skelterjohn> anyone want to test a build tool that i've been working on? 16:31 < aiju> make() the old-fashioned way 16:31 < skelterjohn> go-gb.googlecode.com 16:31 < Namegduf> You could just cast it to an array 16:31 < Namegduf> Then slice it 16:32 < Namegduf> Well, a pointer to an array. 16:32 < aiju> slicing something uses new() 16:32 < aiju> which is kind of stupid without a heap 16:32 < aiju> or rather suicidal 16:32 < Namegduf> Does it? 16:32 < aiju> yeah 16:32 < aiju> in most cases 16:32 < aiju> i have yet to find a pattern 16:33 < Namegduf> Even with an existing array? 16:33 < aiju> the paging initialization code is full of bureaucracy 16:33 < aiju> yes 16:33 < Namegduf> What gets put on the heap? 16:33 < aiju> the slice 16:33 < aiju> http://p.remotehost.co/pastes/2011-01-15T11:34:05.raw :< 16:33 -!- kashia_ [~Kashia@port-92-200-22-224.dynamic.qsc.de] has quit [Quit: This computer has gone to sleep] 16:34 < aiju> the whole thing is kind of fragile 16:34 < aiju> e.g. it relies on falloc choosing pages in the identity mapped region 16:35 < Namegduf> What is it being used for? 16:35 < aiju> OS 16:35 < aiju> https://code.google.com/p/gofy/ 16:35 < Namegduf> Neat. 16:38 < aiju> mappage is going to be REALLY ugly 16:40 < skelterjohn> "GoFY is a new revolutionary radical operating system" :) 16:41 < Namegduf> Breaking ALL the rules. 16:41 < Namegduf> Every last one. 16:41 < aiju> yeah 16:41 < aiju> rules like "thou shalt not use bubblesort in an operating system kernel" 16:41 < skelterjohn> bubblesort has its uses 16:41 < skelterjohn> what if you can't move a piece of data more than one spot at a time? 16:42 < aiju> i used it out of lazyness 16:42 < aiju> n is small anyway 16:42 < aiju> and it's only executed once 16:42 < skelterjohn> i write selectionsort when i'm being lazy 16:42 < skelterjohn> i feel like bubblesort is harder to write 16:45 < aiju> when i'm being lazy i use sort lol 16:46 < aiju> (i can't in this case) 16:53 -!- artefon [~thiago@189.59.130.73.dynamic.adsl.gvt.net.br] has quit [Read error: Connection reset by peer] 16:56 -!- im2ee [~calif@apn-77-115-226-159.dynamic.gprs.plus.pl] has quit [Quit: leaving] 16:57 < aiju> hm do i get this right that constants without a type specified have their type guessed depending on the context? 16:58 -!- rafadc [~rafael@18.Red-83-46-187.dynamicIP.rima-tde.net] has joined #go-nuts 16:58 -!- rafadc [~rafael@18.Red-83-46-187.dynamicIP.rima-tde.net] has left #go-nuts [] 17:02 < skelterjohn> it's not so much guessed 17:02 < Namegduf> They have their type set when assigned. 17:02 < skelterjohn> but saying "const a = 123; var b int = a" and "var b int = 123" mean the same thing 17:02 < Namegduf> If an untyped constant is used to set the type of the thing being assigned to with :=, it does a default. 17:03 < skelterjohn> same way "b := 123" gives b a type of int 17:03 < Namegduf> Yeah. 17:03 < skelterjohn> it's useful to think of consts as pattern substitutions 17:04 < skelterjohn> and "const a int64 = 123; b:=a" as "b:=int64(123)" 17:08 -!- rlab_ [~Miranda@91.200.158.34] has joined #go-nuts 17:10 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds] 17:17 -!- tvw [~tv@e176000085.adsl.alicedsl.de] has quit [Remote host closed the connection] 17:18 -!- Qvist_ [~erik@host-95-194-110-60.mobileonline.telia.com] has quit [Ping timeout: 255 seconds] 17:18 < aiju> is there any preffered datatype for sizes (like size_t)? 17:18 < Namegduf> int seems commonly used. 17:18 < aiju> bah 17:19 < Namegduf> Remember that Go has explicit casts. 17:19 < aiju> yes 17:19 < Namegduf> It prefers to avoid hundreds of types for no real reason that're only sustainable by disabling type safety and the point of having them 17:19 < aiju> well, sizes should at least be uintptr then 17:20 < aiju> which seems bad as well … ugh 17:21 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 17:29 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 17:38 -!- sauerbraten [~sauerbrat@p508CFE17.dip.t-dialin.net] has quit [Read error: Operation timed out] 17:41 -!- snearch [~snearch@f053003087.adsl.alicedsl.de] has quit [Quit: Verlassend] 17:42 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit: Leaving...] 17:48 -!- piranha [~piranha@94-248-73-228.dynamic.peoplenet.ua] has quit [Quit: Computer has gone to sleep.] 17:50 -!- jkakar [~jkakar@176.Red-79-155-139.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 17:50 -!- jkakar [~jkakar@176.Red-79-155-139.dynamicIP.rima-tde.net] has joined #go-nuts 17:53 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 17:59 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds] 18:02 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: leaving] 18:11 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has joined #go-nuts 18:11 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts 18:12 -!- vinisterx [~ryan@74-129-194-67.dhcp.insightbb.com] has quit [Client Quit] 18:18 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 18:18 -!- mode/#go-nuts [+v iant] by ChanServ 18:23 -!- mattn_jp [~mattn@180-144-131-184f1.hyg1.eonet.ne.jp] has quit [Ping timeout: 255 seconds] 18:31 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has joined #go-nuts 18:33 < aiju> hm can i modify range variables in the loop? 18:33 < cbeck> no 18:33 < cbeck> they're copies 18:34 -!- xash [~xash@d183121.adsl.hansenet.de] has quit [Ping timeout: 246 seconds] 18:35 -!- illya77 [~illya77@216-104-133-95.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 18:35 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has left #go-nuts [] 18:40 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts 19:02 -!- Kashia [~Kashia@p4FEB5326.dip.t-dialin.net] has joined #go-nuts 19:07 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has quit [Quit: Lost terminal] 19:07 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has joined #go-nuts 19:11 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 19:13 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 19:16 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout: 240 seconds] 19:27 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has joined #go-nuts 19:27 -!- ShadowIce [~pyoro@HSI-KBW-109-193-120-162.hsi7.kabel-badenwuerttemberg.de] has quit [Changing host] 19:27 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 19:30 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout: 240 seconds] 19:45 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 19:48 -!- artefon [~thiago@189.59.130.73.dynamic.adsl.gvt.net.br] has joined #go-nuts 19:55 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Read error: Operation timed out] 19:58 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined #go-nuts 20:01 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3] 20:05 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts 20:15 -!- cafesofie [~cafesofie@dhcp-140-254-204-17.osuwireless.ohio-state.edu] has joined #go-nuts 20:17 -!- waqas [~waqas@jaim.at] has joined #go-nuts 20:22 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has joined #go-nuts 20:29 -!- nettok [~quassel@200.119.164.230] has joined #go-nuts 20:34 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-148-187.clienti.tiscali.it] has joined #go-nuts 20:37 -!- jlouis_ [jlouis@horus.0x90.dk] has joined #go-nuts 20:38 -!- jeff2_ [~sername@c-67-164-29-36.hsd1.ca.comcast.net] has joined #go-nuts 20:38 -!- Fish-- [~Fish@exo3753.pck.nerim.net] has joined #go-nuts 20:38 -!- rickard2_ [~rickard@netra.esec.du.se] has joined #go-nuts 20:38 -!- JBeshir [~namegduf@eu.beshir.org] has joined #go-nuts 20:39 -!- AndyP_ [~andyp@baud.org.uk] has joined #go-nuts 20:40 -!- boscop_ [~boscop@g229215158.adsl.alicedsl.de] has joined #go-nuts 20:41 -!- niekie_ [~niek@CAcert/Assurer/niekie] has joined #go-nuts 20:41 -!- Adys_ [~Adys@unaffiliated/adys] has joined #go-nuts 20:42 -!- homa_ran1 [~erice@hmsvelociraptor.csail.mit.edu] has joined #go-nuts 20:43 -!- Qvist_ [~erik@c-9ec7e455.05-294-6c6b701.cust.bredbandsbolaget.se] has joined #go-nuts 20:43 -!- skelterjohn_ [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined #go-nuts 20:44 -!- Natch [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #go-nuts 20:45 -!- Rennex_ [rennex@giraf.fi] has joined #go-nuts 20:45 -!- Natch| [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 20:46 -!- Netsplit *.net <-> *.split quits: Namegduf, homa_rano, skelterjohn, jlouis, Rennex, Scorchin, Fish, niekie, Adys, Project_2501, (+7 more, use /NETSPLIT to show all of them) 20:46 < aiju> how to get the address of a function? 20:47 -!- jkakar [~jkakar@176.Red-79-155-139.dynamicIP.rima-tde.net] has joined #go-nuts 20:49 < JBeshir> Use the function's name. 20:49 -!- tgall_foo [~tgall@206.9.88.154] has quit [Changing host] 20:49 -!- tgall_foo [~tgall@linaro/tgall-foo] has joined #go-nuts 20:49 < aiju> it won't convert that to unsafe.Pointer 20:49 < JBeshir> Hmm. 20:50 < aiju> TEXT main·funcaddr(SB), $0 PUSHQ 8(SP) RET 20:50 < aiju> seems like i have to do this 20:50 -!- sacho [~sacho@90.154.201.105] has joined #go-nuts 20:52 < aiju> eh it complains about PUSHQ 20:52 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #go-nuts 20:52 < aiju> it's wrong anyway 20:55 < skelterjohn> apologies if you already saw this message - got netsplat 20:55 -!- Skola [~ik@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Client Quit] 20:55 < skelterjohn> does anyone know of a simple cgo example? 20:55 < skelterjohn> i tried looking at the runtime and syscall packages, but they seem like complex cgo examples 20:56 -!- decaf [~mehmet@88.231.216.96] has joined #go-nuts 20:57 -!- quantumelixir [~chillu@203.110.240.41] has joined #go-nuts 21:00 < skelterjohn> or if anyone has any cgo experience 21:00 < skelterjohn> i'd like to ask some questions 21:00 < Urmel|> go ahead and ask :) 21:01 < skelterjohn> great! I'm trying to compile a little basic example 21:01 < skelterjohn> i have a file test.c with one function, foo(), which does printf("Hello, world!\n") 21:01 < skelterjohn> i have a file test.h that just gives the foo prototype 21:02 < skelterjohn> and a file test.go with a main function that calls C.foo() 21:02 < skelterjohn> and imports "C" 21:02 -!- nekoh [~nekoh@p4FD8849C.dip0.t-ipconnect.de] has joined #go-nuts 21:02 < skelterjohn> i do "cgo test.go", and it says error: test.h: No such file or directory 21:02 < skelterjohn> which is reasonable 21:02 < skelterjohn> i do "cgo -I. test.go" 21:03 < skelterjohn> and it tells me flag provided but not defined: -I. 21:03 < skelterjohn> and i don't know exactly how to react to that 21:03 < waqas> Do you do this before importing C: //#include "test.h" 21:03 < skelterjohn> oh and i had //#include "test.h" 21:03 < skelterjohn> before C 21:03 < skelterjohn> actually no 21:03 < skelterjohn> i had it in <> instead of "" 21:03 < skelterjohn> and that fixed it, thanks 21:03 < skelterjohn> :) 21:04 < Urmel|> nice 21:04 < skelterjohn> actually, now i'm getting this: http://pastebin.com/B0qjnJTT 21:05 -!- plexdev` [~plexdev@arthur.espians.com] has joined #go-nuts 21:05 -!- bugQ [~bug@c-67-171-127-76.hsd1.ut.comcast.net] has joined #go-nuts 21:06 -!- decaf_ [~mehmet@88.231.216.96] has joined #go-nuts 21:06 -!- \toothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined #go-nuts 21:06 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Ping timeout: 264 seconds] 21:06 -!- plexdev [~plexdev@arthur.espians.com] has quit [Ping timeout: 264 seconds] 21:06 -!- roto [~roto@64.79.202.154] has quit [Ping timeout: 264 seconds] 21:06 -!- rup [~rupert@deathknight.net] has quit [Ping timeout: 264 seconds] 21:06 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Ping timeout: 264 seconds] 21:06 -!- decaf [~mehmet@88.231.216.96] has quit [Ping timeout: 264 seconds] 21:07 -!- rup [~rupert@78.159.100.188] has joined #go-nuts 21:07 < skelterjohn> any insight into what's going wrong there? 21:10 -!- roto [~roto@64.79.202.154] has joined #go-nuts 21:10 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts 21:11 -!- gits [~gits@77.94.219.158] has joined #go-nuts 21:11 -!- bugQ [~bug@c-67-171-127-76.hsd1.ut.comcast.net] has quit [Read error: Operation timed out] 21:11 < Urmel|> hmm 21:11 < Urmel|> what is the code in the .h file? 21:11 < skelterjohn> one line: "void foo()" 21:12 < Urmel|> try making that "extern void foo()" 21:12 < skelterjohn> no change 21:14 < skelterjohn> i tried just doing C.atoi("123") and //#include <stdlib.h> 21:14 < skelterjohn> that seems to work fine 21:14 -!- mafs_ [~maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined #go-nuts 21:14 < skelterjohn> or at least, it doesn't complain, and creates many files 21:15 -!- rlab_ [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds] 21:15 -!- mafs [~maikeru@unaffiliated/maikeru/x-7708887] has quit [Ping timeout: 240 seconds] 21:16 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 21:16 < Urmel|> yeah that pretty much means it works 21:16 < Urmel|> it's a weird error you get, i haven't encountered it before 21:18 -!- niekie [~niek@CAcert/Assurer/niekie] has quit [Read error: Operation timed out] 21:18 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit [Read error: Operation timed out] 21:18 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Read error: Operation timed out] 21:19 -!- Natch| [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has quit [Read error: Operation timed out] 21:21 -!- niekie [~niek@CAcert/Assurer/niekie] has joined #go-nuts 21:21 -!- Natch| [~natch@c-2bcfe155.25-4-64736c10.cust.bredbandsbolaget.se] has joined #go-nuts 21:22 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts 21:23 -!- bugQ [~bug@c-67-171-127-76.hsd1.ut.comcast.net] has joined #go-nuts 21:24 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined #go-nuts 21:24 < Urmel|> skelterjohn, i created a test similar to yours 21:24 < Urmel|> and it works 21:24 < Urmel|> maybe something is wrong with your makefile? 21:27 < Urmel|> my test: http://pastebin.com/t2LmgENF 21:28 -!- krig_ [kegie@stalin.acc.umu.se] has joined #go-nuts 21:28 -!- d_m_ [d6@SDF.ORG] has joined #go-nuts 21:29 -!- krig [kegie@stalin.acc.umu.se] has quit [Ping timeout: 240 seconds] 21:29 -!- d_m [d6@SDF.ORG] has quit [Ping timeout: 240 seconds] 21:29 -!- welterde [welterde@thinkbase.srv.welterde.de] has quit [Ping timeout: 240 seconds] 21:30 < waqas> How hard would it be to export symbols from the cgo+gcc generated binary? 21:31 < waqas> i.e., create a dynamic library 21:35 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has joined #go-nuts 21:40 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 264 seconds] 21:42 -!- Fish- [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So Long, and Thanks for All the Fish] 21:42 -!- welterde [welterde@thinkbase.srv.welterde.de] has joined #go-nuts 21:45 -!- vomjom [~vomjom@99-162-150-88.lightspeed.sntcca.sbcglobal.net] has quit [Quit: Leaving] 21:46 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 265 seconds] 21:48 -!- windlestraw [~bug@c-67-171-127-76.hsd1.ut.comcast.net] has quit [Ping timeout: 250 seconds] 21:49 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined #go-nuts 21:51 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 21:57 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined #go-nuts 21:58 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has joined #go-nuts 22:03 -!- waqas [~waqas@jaim.at] has left #go-nuts [] 22:09 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has quit [Ping timeout: 276 seconds] 22:15 -!- virtualsue [~chatzilla@nat/cisco/x-fjurxykrhkntguyq] has joined #go-nuts 22:15 -!- skejoe [~skejoe@188.114.142.162] has quit [Ping timeout: 240 seconds] 22:17 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts 22:19 -!- decaf [~mehmet@88.231.216.96] has left #go-nuts ["Leaving"] 22:20 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection reset by peer] 22:24 -!- alkavan [~alkavan@IGLD-84-229-231-169.inter.net.il] has joined #go-nuts 22:30 -!- cafesofie [~cafesofie@dhcp-140-254-204-17.osuwireless.ohio-state.edu] has quit [Remote host closed the connection] 22:36 -!- virtualsue [~chatzilla@nat/cisco/x-fjurxykrhkntguyq] has quit [Read error: Connection reset by peer] 22:37 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Quit: Leaving.] 22:38 -!- virtualsue [~chatzilla@93-97-176-250.zone5.bethere.co.uk] has joined #go-nuts 22:44 -!- Qvist_ [~erik@c-9ec7e455.05-294-6c6b701.cust.bredbandsbolaget.se] has quit [Quit: Lost terminal] 22:47 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-148-187.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 22:57 -!- femtoo [~femto@95-89-248-100-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 22:58 -!- shvntr [~shvntr@123.89.100.83] has joined #go-nuts 23:07 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten. Desu~] 23:12 -!- raylu [raylu@c-24-131-193-106.hsd1.pa.comcast.net] has quit [Quit: leaving] 23:14 -!- vdrab [~vdrab@pd3e9b4.kyotnt01.ap.so-net.ne.jp] has joined #go-nuts 23:17 -!- photron [~photron@port-92-201-112-16.dynamic.qsc.de] has quit [Ping timeout: 265 seconds] 23:40 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal] 23:45 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] --- Log closed Sun Jan 16 00:00:03 2011