--- Log opened Thu Apr 22 00:00:21 2010 --- Day changed Thu Apr 22 2010 00:00 < uriel> I'm not a native speaker, and my English sucks, and I still cringe every time I try to parse one of his sentences.. 00:00 < uriel> I was starting to wonder if he uses google-translate or something like that to write his emails 00:00 < uriel> but then I realized that google translate probably would produce more coherent output 00:00 < ptrb> uriel.... sprechen sie deutsch? 00:01 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined #go-nuts 00:01 < uriel> ptrb: nej ;P 00:01 < ptrb> ahar 00:01 < ptrb> i live in south africa at the moment, afrikaans is quite similar to yours 00:02 < ptrb> wait, no, nej is swedish 00:03 < sladegen> isn't uriel chroat? 00:03 < ptrb> ignorance! ignorance on display, step right up folks, this week only 00:05 < uriel> hahaha 00:05 < nf> uriel: i thought you were norwegian or of some other scandinavian nationality 00:05 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts 00:05 < uriel> nf: I'm from Spain, but I live in Sweden 00:05 < uriel> oh, nf! 00:05 < nf> right, that makes sense 00:05 < uriel> nf: got your private msg, go ahead with the wiki 00:05 < uriel> I was planning to work on it myself, but I'm lazy/been-distracted-by-other-shit 00:06 < nf> okay cool 00:06 < uriel> I'm still thinking of setting up an app engine site to manage the list of libs 00:06 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 00:06 < uriel> it is getting rather unweildy to manage by hand, and probably something like tags/categories/etc would make it more useful 00:06 < sladegen> there goes my imaginary slavic solidarity... :-o 00:07 < uriel> sladegen: heh 00:07 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Remote host closed the connection] 00:07 < uriel> I love the Balkans if it is consolation ;P 00:08 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 00:09 -!- willdye [~willdye@fern.dsndata.com] has quit [Ping timeout: 258 seconds] 00:09 -!- soo2 [~user@bas3-toronto02-1279612800.dsl.bell.ca] has joined #go-nuts 00:10 * sladegen is a bit up north from the Balkans, though. 00:14 < nsheretic> running Go on ubuntu need help getting goroutine to run 00:16 < nsheretic> using code from golang.org I define 2 funcs send and recieve, but when I call them with "go send(channel1);" and "go recieve(channel1)" nothing happens 00:19 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined #go-nuts 00:20 -!- danopia_ [~danopia@fullcirclemagazine/developer/danopia] has quit [Quit: 2b||!2b] 00:21 < plexdev> http://is.gd/bCN7j by [Evan Shaw] in go/src/pkg/big/ -- big: Add some tests 00:24 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts 00:25 < uriel> nf: btw, were in .au are you located? 00:25 -!- ender2070 [~ender2070@bas1-brampton13-1177973356.dsl.bell.ca] has joined #go-nuts 00:25 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has quit [Remote host closed the connection] 00:26 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 00:27 < uriel> and do you know Bruce Ellis? 00:28 -!- travlr [~palexande@c-69-254-44-10.hsd1.fl.comcast.net] has joined #go-nuts 00:34 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping timeout: 265 seconds] 00:38 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout: 240 seconds] 00:41 -!- felipe [~felipe@my.nada.kth.se] has quit [Quit: felipe] 00:43 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts 00:47 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has quit [Quit: twolfe18] 00:48 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts 00:48 -!- b00m_chef [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping timeout: 246 seconds] 00:51 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has joined #go-nuts 00:54 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 268 seconds] 00:55 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has quit [Client Quit] 00:58 -!- Gil_J [~gilles@78-22-170-204.access.telenet.be] has quit [Remote host closed the connection] 00:59 -!- kota1111 [~kota1111@gw2.kbmj.jp] has joined #go-nuts 01:00 < nsheretic> getting a throw: all goroutines are asleep when trying to run a send and recieve func on a channel, any help much appreciated 01:02 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined #go-nuts 01:04 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 01:07 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has joined #go-nuts 01:14 < nf> uriel: sydney. no. 01:17 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 01:19 < Archwyrm> nsheretic: pastebin your code? 01:23 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts [] 01:24 -!- kssreeram [~kssreeram@122.174.139.125] has quit [Ping timeout: 252 seconds] 01:25 -!- DrDuck [~DrDuck@adsl-81-6-119.hsv.bellsouth.net] has joined #go-nuts 01:28 -!- b00m_chef [~watr@128.189.66.61] has joined #go-nuts 01:28 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 01:28 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 01:31 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts 01:31 -!- twolfe18 [~twolfe18@c-71-61-180-11.hsd1.pa.comcast.net] has quit [Quit: twolfe18] 01:32 -!- aanderse [~aanderse@CPE001b11cc67d3-CM0019475d7f5e.cpe.net.cable.rogers.com] has joined #go-nuts 01:34 -!- b00m_chef [~watr@128.189.66.61] has quit [Ping timeout: 268 seconds] 01:35 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts 01:41 -!- willdye [~willdye@fern.dsndata.com] has quit [Ping timeout: 258 seconds] 01:42 -!- _nano [~code@p0pslyna.vth.sgsnet.se] has joined #go-nuts 01:52 -!- kssreeram [~kssreeram@122.174.139.125] has joined #go-nuts 01:52 -!- felipe [~felipe@my.nada.kth.se] has joined #go-nuts 01:53 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit [Ping timeout: 252 seconds] 01:53 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 260 seconds] 01:55 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 02:03 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]] 02:11 < uriel> nf: oh, Brucee is an ex-Bell Labs guy and co-conspirator with Rob in a few infamous incidents like Mark V Shaney 02:11 < uriel> really smart and cool guy 02:11 < uriel> http://en.wikipedia.org/wiki/Bruce_Ellis 02:12 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Quit: Venom_X] 02:15 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 265 seconds] 02:16 < nf> cool. yeah, i'm a google guy, not a bell labs guy :) 02:17 < uriel> heh, I know, anyway, if you have a chance maybe when rob drops by or whatever, I really recommend to hang out with brucee, he is a truly awesome guy 02:18 < uriel> I'm surprised he has not got into Go, he is probably the best Limbo hacker out there 02:19 < uriel> he maintains his own version of Inferno (OzInferno :)) that he has ported to the PS2 and a bunch of other crazy platforms 02:19 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit: leaving] 02:19 < uriel> actually, he did the 64bit port of the plan9 compilers, not sure if that is what ken used as basis for the compilers in the Go distribution 02:20 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 02:31 -!- tor5 [~tor@c-c17071d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit [Quit: tor5] 02:41 < nsheretic> running Go on ubuntu can anyone tell me why my goroutines won't run until another line of code runs? 02:42 < nsheretic> I have go myPackage.IsReady("tea",1); just like the tutorial but it doesn't execute unless I put another line of code underneath like fmt.Println("needs another line of code for some reason") 02:43 < nsheretic> very confused 02:45 < jessta> nsheretic: pastebin your code 02:47 -!- DrDuck [~DrDuck@adsl-81-6-119.hsv.bellsouth.net] has quit [Ping timeout: 260 seconds] 02:48 < jessta> goroutines are cooperative, so the current one needs to yield(do some kind of I/O or call Gosched()) for the others to run 02:53 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 02:58 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit [Remote host closed the connection] 02:58 < nsheretic> i thought goroutines were concurrent? why should one have to yield to another? 02:58 < nf> nsheretic: http://golang.org/doc/go_programming_faq.html#Why_no_multi_CPU 02:59 < nsheretic> ah so goroutines won't multiplex themselves inside an os thread 02:59 < nf> they will 03:00 < nf> if you actually show your code, it can be explained better 03:01 < nsheretic> http://pastebin.com/e6whx0F6 03:02 < nf> your main() is exiting before the goroutines can execute 03:02 < nf> they're not guaranteed to do anything in that case, even with the 'needs more code' println 03:02 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit: This computer has gone to sleep] 03:02 < nf> when main() returns, the program stops; any running goroutines are aborted 03:02 < nsheretic> ah, so i need to make main stick around long enough 03:03 < nf> the proper way to do it is, redefine isReady 03:03 < nsheretic> in what way? 03:03 < nf> func IsReady(what string, done chan bool) { 03:03 < nf> then at the end of IsReady 03:03 < nf> done <- true 03:03 < nf> in fact, i'll modify your example so you can see what i mean 03:03 < nsheretic> cool thanks 03:05 < nf> http://pastebin.com/VuduJ7f6 03:05 < nf> so at the bottom of main() now, it will block until it's done two receives from 'done' 03:05 < nsheretic> i see 03:05 < nf> oh, i forgot to pass 'done' to each of the IsReady calls 03:06 < nf> in practice, you're never going to want to launch goroutines without some sort of channel attached to them 03:06 < nsheretic> gotcha 03:06 < nf> so the runtime behaves kinda unintuitively if you don't 03:06 < nsheretic> well i did try to run some goroutines with channels in them, but i got a throw: all goroutines are sleeping 03:06 < nf> i'd have to see the code to comment on that 03:06 < nsheretic> probably because of the same reason 03:07 < nf> probably, no receivers for a send 03:07 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 03:07 < nsheretic> right 03:07 < nsheretic> it was the pump / suck code straight from the online tutorial 03:07 < nsheretic> there weren't any done chan bool's in there, so i didn't figure i needed anything else 03:07 < nf> which tutorial? 03:08 < nsheretic> in the powerpoint pdfs for the 3 day course 03:08 < nsheretic> lemme see if i can find it again... 03:09 < nsheretic> http://golang.org/doc/GoCourseDay3.pdf 03:09 < nsheretic> slide 16 03:09 < nf> yep i see it 03:09 < nf> i don't see anything specific wrong with it 03:09 < nsheretic> so it doesn't need a done chan bool or anything to block? 03:10 < nf> unless you create a buffered channel (by providing an int parameter to make()), a send or receive will block until the other side is ready 03:11 < nsheretic> ok 03:11 < nf> which is why the pump function in that slide doesn't chew up 100% cpu. every time it sends a new number to 'ch', it waits until a receiver is ready 03:11 < nsheretic> ah 03:11 < nsheretic> i tried putting those exact functions into the main package and running them 03:11 < nf> let me try 03:11 < nsheretic> ok 03:12 < nf> adg ~/test$ ./6.out 03:12 < nf> 0 03:13 < nf> part 1 works fine: http://pastie.org/929122 03:14 < nsheretic> here's mine: http://pastebin.com/26SgBmzE 03:14 < nf> again, the problem there is that main() will exit 03:14 < nf> and then everything stops 03:14 < nsheretic> thought that might be it 03:15 < nsheretic> how do you resolve that without handing the pump or suck func a channel with a bool? 03:15 < nsheretic> i got a 503 error on your pastie url 03:15 < nf> well instead of launching suck in a goroutine, you can just run call suck(ch1) 03:16 < nsheretic> i've tried that too, will try again 03:16 < nf> as there are only two things you want to happen simultaneously (pump and suck), it makes no sense for there to be 3 goroutines (pump, suck, and main) 03:16 < nsheretic> ah 03:16 < nsheretic> so i only have to call go on one of them 03:16 < nf> yep 03:16 < nf> unless there's something _else_ you want to do while they're going at it ;) 03:17 < nf> eg: http://pastebin.com/7d8P8ZfZ 03:17 < nsheretic> yes i found that example humorous as well 03:17 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation timed out] 03:18 -!- samferry [~sam@atheme/member/samferry] has joined #go-nuts 03:18 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 260 seconds] 03:18 < nsheretic> does it make a difference that you have those func's set up before main? 03:18 < nf> as an experiment, try putting a time.sleep inside the for loop in suck 03:18 < nsheretic> ok 03:19 < nf> you mean instead of defining them inside main? 03:19 < nsheretic> no i put them beneath main 03:19 < nsheretic> like you would in a java class 03:19 < nf> no it doesn't matter 03:19 < nsheretic> didn't think so 03:19 < nf> that's just my style 03:19 < nsheretic> Go is really quite OO for how procedural it looks at first 03:19 < nf> it is object-oriented 03:19 < nf> it's just not class/inheritance-oriented 03:20 -!- no_mind [~orion@122.163.54.240] has quit [Quit: Leaving] 03:20 < nsheretic> which is quite handy 03:21 < nf> i quite like it. 03:21 -!- Plest [~Plest@91.192.150.1] has quit [Ping timeout: 240 seconds] 03:21 < nf> the more i write with it, the more i appreciate Go's design 03:21 < nsheretic> i'm doing a term project on it, which is why i'm such a newb yet have so many questions 03:21 < nsheretic> and i'm running it on ubuntu via virtual pc 03:22 < nsheretic> on a mac that runs windows :D 03:23 -!- Plest [~Plest@91.192.150.1] has joined #go-nuts 03:24 < nsheretic> so the sleep at the end of main() is what really let's those routines get started? 03:28 < nf> well it prevents them from being terminated before the program exits 03:28 < nsheretic> right, and after that second is up, the pum/suck stops 03:28 < nsheretic> that makes sense 03:28 < nf> exactly 03:28 < nsheretic> (would have been nice if that was in the course pdf lol) 03:28 < nf> nsheretic: see this http://golang.org/doc/go_spec.html#Program_execution 03:29 < nf> the course is really designed to be followed by observation, i think 03:29 < nsheretic> right 03:29 < nf> it's hard to communicate everything you want to with fully working code snippets 03:29 < nf> sometimes you have to gloss over things to make your point 03:30 < nsheretic> well good thing there's experts on this channel 03:30 < nf> that said, we can definitely improve our tutorial materials (something I'm doing personally) 03:30 < nsheretic> ah so are you one of the developers of Go? 03:30 < nf> yes 03:31 < nsheretic> wow. It's an honor. 03:31 < nf> i'm adg@golang.org 03:31 < nf> haha 03:31 < nf> i'm just some guy ;) 03:31 < nf> don't feel honoured hehe 03:32 < nsheretic> lol probably because people like me are butchering your language trying to learn it cuz we're not so good at it 03:32 < nf> it's to be expected. it is a different way of doing things. if people don't "get it", then that's something we need to work hard to fix 03:33 < nsheretic> for what it's worth, I've really liked what i've seen so far 03:34 < nf> great! :) 03:34 < nsheretic> figuring out packaging stuff is still a bit over my head i think 03:34 < nf> creating a package, you mean? 03:34 < nsheretic> well creating a package isn't so tough, but making it a part of the source tree is 03:35 < nsheretic> or making changes to a package reflected in compiling 03:35 < nf> seen this? http://golang.org/doc/code.html#New_package 03:35 < nsheretic> lol yup i've read that so many times 03:35 < nf> if you create a makefile for your package, you can just 'make install', and then when you rebuild something that imports that package, it'll bring in the changes 03:35 < nf> (and if the exported interface of the package hasn't changed, you can just re-link, instead of re-compiling) 03:36 < nsheretic> re link the package itself? 03:36 < nsheretic> or the one that imports it? 03:36 < nf> when you link, you link to create a binary, so both 03:36 < nf> eg, you have the package 'nuts' 03:36 < nf> in there, there's a makefile, and you can 'make install' 03:36 < nf> now in your program, you can 'import "nuts"' 03:37 < nf> and then, compiling the program, you just: 03:37 < nf> 6g program.go 03:37 < nf> 6l program.6 03:37 < nf> ./6.out 03:37 < nsheretic> ah 03:37 < nsheretic> ok 03:37 < nsheretic> what dir should i be in when i do make install for "nuts"? 03:37 < nf> if you change nuts somewhere internally, you just need to "make install" again 03:37 < nf> you should be in the nuts package directory 03:37 < nsheretic> ok 03:38 < nf> and the Makefile should be in there (the one talked about at the above link) 03:38 < nsheretic> cuz i'm in a package myPackage, and when i do "make install" it says "make: Nothing to be done for 'install' " 03:38 < nsheretic> and there is a make file in there 03:38 < nf> show me the contents of the Makefile in myPackage 03:38 < nsheretic> sure 03:39 < nsheretic> http://pastebin.com/NeMT62Gu 03:39 < nsheretic> i have to do that because you can't copy/paste from virtual pc, which is really annoying 03:40 < nf> where's myPackage ? 03:40 < nf> $GOROOT/src/pkg/myPackage ? 03:40 < nsheretic> in $GOROOT/src/pkg/myPackage 03:40 < nsheretic> yup 03:40 < nf> that's ... weird 03:40 < nsheretic> ? should it be somewhere else? 03:41 < nf> well it could already be installed? 03:41 < nsheretic> i put it there myself, so it's probably my own blunder 03:41 < nf> yeah 03:41 < nsheretic> what exactly does install do? 03:41 < nf> if it's already installed, it'll say 'nothing to do' 03:41 < nsheretic> gotcha 03:42 < nf> it will build (if not already), and then copy the object file to $GOROOT/pkg/$GOOS_$GOARCH 03:42 < nsheretic> so if it's already installed does it skip the build part? 03:43 -!- aanderse [~aanderse@CPE001b11cc67d3-CM0019475d7f5e.cpe.net.cable.rogers.com] has quit [] 03:44 < nsheretic> oh and a question i had from before - you can only "8l" things from package main right? or should i be able to link additions from the library? 03:44 < nf> no, it'll rebuild if the source has changed 03:44 < nf> the linker should find imports automatically 03:44 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276 seconds] 03:44 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 03:45 < nf> or, you can specify the -L flag to tell it to look in a specific directory 03:45 < nf> but yes, you just link the package main object files together 03:45 < nsheretic> makes sense 03:45 < nsheretic> and yes i see that if i change the source file make install has something to do 03:46 < nsheretic> amazing how things just start working when you're talking to someone who know's what they're doing 03:46 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Read error: Connection reset by peer] 03:46 < nf> or when you start to know what _you're_ doing :) 03:47 < nsheretic> what is the difference between make clean and make all? 03:48 -!- cco3 [~conley@c-69-181-139-23.hsd1.ca.comcast.net] has joined #go-nuts 03:49 -!- carllerche [~carllerch@208.87.61.146] has joined #go-nuts 03:52 < nf> not sure. 03:52 < nsheretic> is there any kind of "IDE" out there for go? right now i'm just using gedit which is very painful 03:52 < nf> what do you usually use? 03:53 < nsheretic> not sure what you were asking there - I use make clean and then make all, or if you were asking about the IDE I've been using gedit the whole time cuz i don't know of anything else for linux that would be more than a text editor for go code 03:53 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 03:54 < nf> what i mean is, what IDE do you usually use? 03:54 < nsheretic> ah 03:54 < sladegen> http://go-lang.cat-v.org/text-editors/ 03:54 < nsheretic> well for my other programming i use NetBeans, Eclipse, Notepad++ 03:55 < sladegen> there are text-editors' support files in the golang source tree, too. 03:55 < nsheretic> oh cool 03:56 < sladegen> misc dir 03:56 < nsheretic> thanks 03:57 < nsheretic> just something with line numbers is better than what i'm using now lol 03:57 < jessta> gedit has line numbers 03:57 < nsheretic> ah then i would have to turn them on 03:58 < sladegen> cat file.go | nl | less 03:59 < jessta> you should try using acme, it doesn't have line numbers or syntax highlighting 03:59 < jessta> it's awesome 03:59 < nsheretic> sounds fun 03:59 < nsheretic> does go have an interactive console? 03:59 < jessta> not yet 04:00 < jessta> umm...there are a few 04:01 < jessta> nsheretic: http://github.com/vito/go-repl 04:01 < nsheretic> sweet 04:09 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Quit: warthurton] 04:10 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 04:12 -!- Xeon [~chatzilla@222.73.189.45] has joined #go-nuts 04:14 -!- Xeon_ [~chatzilla@222.73.189.44] has quit [Ping timeout: 264 seconds] 04:15 < kmeyer> jessta: does that work now? 04:15 < kmeyer> last time I tried it it was broken 04:16 -!- robot12 [~robot12@robot12.kgts.ru] has joined #go-nuts 04:18 < jessta> I've no idea 04:24 -!- Xeon [~chatzilla@222.73.189.45] has quit [Ping timeout: 245 seconds] 04:29 -!- Wiz126 [Wiz126@72.20.220.220] has quit [Ping timeout: 264 seconds] 04:32 -!- carllerche [~carllerch@208.87.61.146] has quit [Quit: carllerche] 04:32 -!- Discoloda [~vincent@adsl-76-231-56-49.dsl.frs2ca.sbcglobal.net] has joined #go-nuts 04:34 -!- Wiz126 [Wiz126@72.20.220.220] has joined #go-nuts 04:36 -!- Boney [~paul@124-168-78-229.dyn.iinet.net.au] has quit [Ping timeout: 246 seconds] 04:39 -!- Boney [~paul@124-168-21-107.dyn.iinet.net.au] has joined #go-nuts 04:39 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined #go-nuts 04:40 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts 04:44 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 265 seconds] 04:50 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 05:03 -!- scm [justme@c178062.adsl.hansenet.de] has quit [Ping timeout: 258 seconds] 05:03 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has joined #go-nuts 05:04 -!- scm [justme@c210204.adsl.hansenet.de] has joined #go-nuts 05:05 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts 05:05 -!- dizm [~dizm@121.98.168.127] has left #go-nuts [] 05:08 -!- arquebus [~shintaro@201.139.156.133.cable.dyn.cableonline.com.mx] has joined #go-nuts 05:08 -!- Xeon [~chatzilla@222.73.189.45] has joined #go-nuts 05:12 -!- jwillia3_ [~chatzilla@71.23.157.238] has joined #go-nuts 05:13 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 246 seconds] 05:14 -!- grg [~grg@eth7090.sa.adsl.internode.on.net] has joined #go-nuts 05:23 -!- nsheretic [~Nick@PC42-047.dordt.edu] has left #go-nuts [] 05:24 -!- JasonWoof [~JasonWoof@fsf/member/herkamire] has quit [Ping timeout: 265 seconds] 05:28 -!- robot12 [~robot12@robot12.kgts.ru] has left #go-nuts [] 05:32 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts 05:33 -!- willdye [~willdye@fern.dsndata.com] has quit [Ping timeout: 258 seconds] 05:33 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has joined #go-nuts 05:34 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has quit [Client Quit] 05:34 -!- Maxdamantus [~m@203-97-238-106.cable.telstraclear.net] has joined #go-nuts 05:38 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts 05:39 -!- dizm [~dizm@121.98.168.127] has quit [Read error: Connection reset by peer] 05:39 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts 05:44 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has quit [Remote host closed the connection] 05:46 -!- dizm [~dizm@121.98.168.127] has quit [Ping timeout: 245 seconds] 05:48 -!- prip [~foo@host87-128-dynamic.36-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 05:49 -!- pshahmumbai [~prashant@58.146.97.252] has joined #go-nuts 05:50 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts 05:50 -!- cco3 [~conley@c-69-181-139-23.hsd1.ca.comcast.net] has quit [Ping timeout: 260 seconds] 05:52 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts 05:53 -!- dizm [~dizm@121.98.168.127] has left #go-nuts [] 06:00 -!- arquebus [~shintaro@201.139.156.133.cable.dyn.cableonline.com.mx] has quit [Read error: Connection reset by peer] 06:01 -!- prip [~foo@host128-197-dynamic.17-79-r.retail.telecomitalia.it] has joined #go-nuts 06:01 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Read error: Connection reset by peer] 06:03 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 06:04 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Quit: iFail] 06:04 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts 06:06 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has joined #go-nuts 06:09 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined #go-nuts 06:10 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Read error: Operation timed out] 06:11 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has quit [Quit: itrekkie] 06:13 -!- grg [~grg@eth7090.sa.adsl.internode.on.net] has quit [Ping timeout: 260 seconds] 06:30 -!- grg [~grg@eth7090.sa.adsl.internode.on.net] has joined #go-nuts 06:35 -!- krzyma [~krzyma@156.17.230.195] has joined #go-nuts 06:47 -!- krzyma [~krzyma@156.17.230.195] has left #go-nuts [] 06:51 -!- kaigan|work [~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts 06:53 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined #go-nuts 06:54 -!- Xeon_ [~chatzilla@74.86.150.154] has joined #go-nuts 06:56 -!- Xeon [~chatzilla@222.73.189.45] has quit [Ping timeout: 276 seconds] 07:04 -!- pshahmumbai [~prashant@58.146.97.252] has quit [Quit: Ex-Chat] 07:04 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 07:08 -!- Xeon_ [~chatzilla@74.86.150.154] has quit [Ping timeout: 276 seconds] 07:08 -!- Netsplit *.net <-> *.split quits: djm, hotspants, eikenberry, fuzzybyte, Boriskr, thomas_b, prip, nighty^, Innominate, mitsuhiko, (+11 more, use /NETSPLIT to show all of them) 07:08 -!- tibshoot [~tibshoot@gw-puteaux.linagora.com] has joined #go-nuts 07:09 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 07:13 -!- Netsplit over, joins: SRabbelier, prip, nf, djm, Boriskr, mitsuhiko, thomas_b, nighty^, fluffle, MadMethod (+11 more) 07:13 -!- Kashia [~Kashia@port-92-200-37-101.dynamic.qsc.de] has quit [Quit: Leaving] 07:16 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Read error: Connection reset by peer] 07:17 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 07:17 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts 07:24 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts 07:24 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 07:28 -!- traph_ [~traph@95-42-77-18.btc-net.bg] has left #go-nuts [] 07:29 -!- grg [~grg@eth7090.sa.adsl.internode.on.net] has quit [Quit: zzz] 07:31 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 07:33 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Read error: Operation timed out] 07:45 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has quit [Remote host closed the connection] 07:47 -!- surma [~surma@95-88-88-188-dynip.superkabel.de] has joined #go-nuts 07:47 -!- ikaros [~ikaros@e181183025.adsl.alicedsl.de] has joined #go-nuts 07:52 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 07:56 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 08:00 -!- DrDuck [~DrDuck@adsl-81-6-119.hsv.bellsouth.net] has joined #go-nuts 08:02 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 258 seconds] 08:02 -!- bjarneh [~bjarneh@1x-193-157-195-81.uio.no] has joined #go-nuts 08:08 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 08:09 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 08:13 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has joined #go-nuts 08:14 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 08:16 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has joined #go-nuts 08:20 -!- ikaros [~ikaros@e181183025.adsl.alicedsl.de] has quit [Ping timeout: 248 seconds] 08:21 -!- path[l] [~path@59.162.86.164] has joined #go-nuts 08:21 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 08:28 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has quit [Ping timeout: 276 seconds] 08:29 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has quit [Remote host closed the connection] 08:29 -!- Xeon [~chatzilla@74.86.150.154] has joined #go-nuts 08:31 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 08:32 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 08:37 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts 08:47 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 08:48 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 08:54 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 08:56 -!- ikaros [~ikaros@g226218162.adsl.alicedsl.de] has joined #go-nuts 08:59 -!- ikaros_ [~ikaros@f051052104.adsl.alicedsl.de] has joined #go-nuts 09:01 -!- ikaros [~ikaros@g226218162.adsl.alicedsl.de] has quit [Ping timeout: 276 seconds] 09:01 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 09:04 -!- surma [~surma@95-88-88-188-dynip.superkabel.de] has quit [Quit: Leaving.] 09:08 -!- OpenSpace [~ja@109.93.131.6] has quit [Ping timeout: 265 seconds] 09:09 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 09:14 -!- bert2_ [IceChat7@cr-hafen-210-191.rz.uni-frankfurt.de] has joined #go-nuts 09:20 -!- OpenSpace [~ja@79.101.248.28] has joined #go-nuts 09:25 -!- path[l]_ [~path@59.162.86.164] has joined #go-nuts 09:25 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 09:29 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 09:29 -!- path[l] [~path@59.162.86.164] has quit [Ping timeout: 264 seconds] 09:30 -!- path[l]_ [~path@59.162.86.164] has quit [Ping timeout: 265 seconds] 09:32 -!- path[l] [~path@122.182.0.38] has joined #go-nuts 09:32 -!- asmo [~asmo@c83-248-32-75.bredband.comhem.se] has quit [Remote host closed the connection] 09:32 -!- Surma [~surma@95-88-88-188-dynip.superkabel.de] has joined #go-nuts 09:46 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 09:46 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 09:48 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 09:49 < taruti> Is there a method in the library for replacing a file with a new one? (write into temporary, fsync, rename) 09:49 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined #go-nuts 09:49 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] 09:52 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has quit [Ping timeout: 264 seconds] 09:52 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 09:53 -!- peterdn_ [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 09:53 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Ping timeout: 265 seconds] 09:54 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts 09:58 -!- peterdn_ [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 09:58 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 10:03 -!- jvogel_ [~jonathan@friedpancakes.com] has joined #go-nuts 10:03 -!- zerd_ [~quassel@rex.zerd.net] has quit [Read error: Operation timed out] 10:03 -!- eiro [~marc@phear.org] has quit [Read error: Operation timed out] 10:03 -!- Netsplit *.net <-> *.split quits: michael|, Guest42955, bert2_, jvogel, alus, preflex, drhodes, akheron, Gracenotes, d_m_, (+5 more, use /NETSPLIT to show all of them) 10:04 < taruti> Something like ioutil.WriteFile but safe even if the system happens to crash between truncating and writing the new contents. 10:05 -!- bert2_ [IceChat7@cr-hafen-210-191.rz.uni-frankfurt.de] has joined #go-nuts 10:05 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 10:05 -!- wuehlmaus [~wuehlmaus@p4FCC7A9F.dip.t-dialin.net] has joined #go-nuts 10:05 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts 10:05 -!- d_m_ [~d_m@207.245.124.125] has joined #go-nuts 10:05 -!- Guest42955 [~irc@209.17.191.58] has joined #go-nuts 10:05 -!- akheron [~akheron@lilja.asteriski.fi] has joined #go-nuts 10:05 -!- alexbobp [~alex@66.112.249.162] has joined #go-nuts 10:05 -!- rbn [~ruben@134.102.3.25] has joined #go-nuts 10:05 -!- michael| [~maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts 10:05 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts 10:05 -!- Goneri [~goneri@nana.rulezlan.org] has joined #go-nuts 10:05 -!- drhodes [~none@209-20-72-61.slicehost.net] has joined #go-nuts 10:05 -!- Goneri [~goneri@nana.rulezlan.org] has quit [Ping timeout: 241 seconds] 10:06 -!- zerd [~quassel@rex.zerd.net] has joined #go-nuts 10:06 -!- bert2_ [IceChat7@cr-hafen-210-191.rz.uni-frankfurt.de] has quit [Ping timeout: 276 seconds] 10:08 -!- Goneri [~goneri@nana.rulezlan.org] has joined #go-nuts 10:10 -!- OpenSpace [~ja@79.101.248.28] has quit [Ping timeout: 260 seconds] 10:10 -!- TMKCodes [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping timeout: 248 seconds] 10:10 -!- ikaros_ [~ikaros@f051052104.adsl.alicedsl.de] has quit [Remote host closed the connection] 10:11 -!- TMKCodes [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts 10:11 -!- eiro [~marc@phear.org] has joined #go-nuts 10:16 -!- TMKCodes [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping timeout: 252 seconds] 10:17 -!- TMKCodes [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts 10:18 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]] 10:22 -!- OpenSpace [~ja@91.150.122.225] has joined #go-nuts 10:23 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined #go-nuts 10:26 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 246 seconds] 10:32 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 10:32 -!- kota1111 [~kota1111@gw2.kbmj.jp] has quit [Quit: Leaving...] 10:50 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 10:57 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 10:59 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 10:59 -!- Ikke [~ikkibr@189.58.219.165.dynamic.adsl.gvt.net.br] has joined #go-nuts 10:59 -!- Ikke [~ikkibr@189.58.219.165.dynamic.adsl.gvt.net.br] has quit [Changing host] 10:59 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts 10:59 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit: Leaving.] 11:06 -!- nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 11:06 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:06 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has quit [Quit: Leaving.] 11:07 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Ping timeout: 260 seconds] 11:17 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 11:21 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:22 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 11:24 -!- DrDuck [~DrDuck@adsl-81-6-119.hsv.bellsouth.net] has left #go-nuts [] 11:24 -!- tor5 [~tor@c-c17071d5.04-50-6c756e10.cust.bredbandsbolaget.se] has joined #go-nuts 11:26 -!- fwiffo [~none@unaffiliated/fwiffo] has joined #go-nuts 11:28 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Ping timeout: 276 seconds] 11:28 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:29 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 11:33 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:37 -!- lux` [lux`@151.95.191.32] has joined #go-nuts 11:40 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 11:44 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 11:45 -!- merlin83 [~merlin83@unaffiliated/merlin83] has quit [Ping timeout: 240 seconds] 11:47 -!- b0gg1e [~boman@wlan-020-111.zib.de] has joined #go-nuts 11:47 < b0gg1e> i can haz plain pthreads in go if i want to? 11:50 -!- path[l] [~path@59.162.86.164] has joined #go-nuts 11:51 < Surma> b0gg1e: a) why would you want that and b) I can't say for sure, but you might be able to use c-bindings (cgo) 11:51 < b0gg1e> thinking about writing a zeromq binding for golang, zmq sockets are thread-bound. 11:52 < b0gg1e> So far I only found LockThread() which looks like barely enough but i wonder if one can do more. 11:54 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 11:55 -!- ikaros [~ikaros@guests42.externals.de] has joined #go-nuts 11:56 < b0gg1e> That would allow to bridge between go channels and zeromq sockets. But this would still entail busy looping on two select calls (one fore zeromq the other for go's channels) with a timeout of zero. 11:59 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 11:59 < JBeshir> Why with a timeout of zero? 11:59 -!- warthurton [~warthurto@cpe-67-246-229-53.rochester.res.rr.com] has joined #go-nuts 11:59 -!- warthurton [~warthurto@cpe-67-246-229-53.rochester.res.rr.com] has quit [Changing host] 11:59 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined #go-nuts 12:00 < b0gg1e> Because you dont know which of the two selects is ready. Ok can be some other, small value, but still not nice. 12:01 < b0gg1e> Maybe what Im asking is if i can write my own implementation of a channel and bind the use of that to a single thread. 12:01 < taruti> Is the godoc syntax defined somewhere? (I'd like to have a list ordered or bulleted of items in the documentation) 12:02 < b0gg1e> - or a way to wakeup a blocking thread. 12:04 < taruti> b0gg1e: zeromq doesn't have an API that isn't closely tied to pthreads? 12:06 < b0gg1e> It has its own API with the sole condition that a socket (what you get after connect or bind) be used from the pthread that obtained it. 12:06 < rsaarelm> taruti: Godoc seems to show indented parts of the doc comment as unformatted fixed-width text, here's an example of a comment with a list: http://golang.org/pkg/rpc/ 12:06 < b0gg1e> Now that raises the question of to map that onto goroutines which get scheduled to arbitrary threads without having to reobtain a socket again and again. 12:07 < taruti> rsaarelm: hmm, that is enough 12:07 < taruti> b0gg1e: hmm, the Haskell API doesn't seem to honor that... 12:08 < b0gg1e> ouch ;-) 12:08 < taruti> (just tried to look for an example how other bindings handle it) 12:10 < b0gg1e> A ØMQ context is thread safe and may be shared among as many application threads as the application has requested using the app_threads parameter to zmq_init(), without any additional locking required on the part of the caller. Each ØMQ socket belonging to a particular context may only be used by the thread that created it using zmq_socket(). (from man zmq) 12:11 < b0gg1e> That being the case, what are my options? 12:11 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 12:12 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 12:14 < taruti> I would probably just spawn a thread in C and use a pipe to queue messages to that. 12:15 < b0gg1e> Best I came up with (beyond modifying the go runtime) was to use goroutines with LockThread. But than I have to alternativley check for go messages and zmq messages. Though zmq can poll other fd's in its zmq_poll call, maybe that can be exploited. 12:15 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 258 seconds] 12:17 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 12:19 < b0gg1e> Alternatively have multiple layers: first goroutine, solely deals zmq. second goroutine listens for incoming messages and send on using zmq inproc, third goroutine listens for incoming zmq messages and sends on using golang channels + some wrapper that hides all this complexity. 12:19 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts 12:20 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Max SendQ exceeded] 12:20 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 12:22 < b0gg1e> That should work but sounds like way to many threads to me. 12:22 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 12:22 < b0gg1e> zmq is about reducing latency not about adding thread switch delays, after all. 12:24 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Max SendQ exceeded] 12:24 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has joined #go-nuts 12:25 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 12:28 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Max SendQ exceeded] 12:28 < b0gg1e> @taruti thanks for helping maybe i actually will do it this way, at least this is safe and portable 12:32 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts 12:34 -!- rlab [~Miranda@10-184-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 12:45 -!- Xeon [~chatzilla@74.86.150.154] has quit [Ping timeout: 268 seconds] 12:52 -!- rlab [~Miranda@111-174-95-178.pool.ukrtel.net] has joined #go-nuts 12:54 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit [Quit: Svarthandske] 12:55 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts 12:58 < taruti> Has anyone written a realpath replacement in Go? 12:58 < andreer> How should I import pacakages that are not in the go distribution file tree? In this case I wish to separate some functionality of my program into a package and keep it in a subdir of the program main package. 12:59 < taruti> Not using the libc is painful :( 12:59 -!- merlin83 [~merlin83@cm16.delta196.maxonline.com.sg] has joined #go-nuts 13:00 -!- merlin83 [~merlin83@cm16.delta196.maxonline.com.sg] has quit [Changing host] 13:00 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts 13:01 -!- rbraley [~rbraley@ip72-222-129-178.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 13:01 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 13:02 -!- jesusaurus [jesusaur@firefly.cat.pdx.edu] has quit [Read error: Operation timed out] 13:05 -!- jesusaurus [jesusaur@firefly.cat.pdx.edu] has joined #go-nuts 13:06 -!- zyichi [~zyichi@125.39.108.24] has joined #go-nuts 13:06 -!- Wiz126 [Wiz126@72.20.220.220] has quit [Ping timeout: 245 seconds] 13:08 -!- Wiz126 [Wiz126@72.20.220.220] has joined #go-nuts 13:12 -!- Wiz126 [Wiz126@72.20.220.220] has quit [Ping timeout: 252 seconds] 13:16 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts 13:16 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host] 13:16 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined #go-nuts 13:18 -!- rlab [~Miranda@111-174-95-178.pool.ukrtel.net] has quit [Ping timeout: 258 seconds] 13:19 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts 13:19 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat 0.3.1.1] 13:22 -!- TR2N [email@89.180.184.178] has joined #go-nuts 13:22 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 13:23 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has joined #go-nuts 13:30 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 13:47 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 13:48 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has joined #go-nuts 13:49 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 13:52 -!- perdix [~perdix@g230081205.adsl.alicedsl.de] has joined #go-nuts 13:52 -!- perdix [~perdix@g230081205.adsl.alicedsl.de] has quit [Changing host] 13:52 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts 13:54 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has quit [Ping timeout: 240 seconds] 13:55 -!- TR2N [email@89.180.184.178] has quit [Ping timeout: 276 seconds] 13:58 -!- alehorst [~alehorst@201.47.14.118.dynamic.adsl.gvt.net.br] has joined #go-nuts 13:58 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 13:58 < b0gg1e> What is the current build tool of choice for go? 13:59 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping timeout: 245 seconds] 14:04 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has joined #go-nuts 14:05 < rsaarelm> b0gg1e: Makefiles that include the helper files that come with the distribution seems to be the standard way. 14:05 < b0gg1e> k thanks 14:05 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts 14:07 -!- ikaros [~ikaros@guests42.externals.de] has quit [Quit: Leave the magic to Houdini] 14:14 -!- merlin83 [~merlin83@unaffiliated/merlin83] has quit [Ping timeout: 240 seconds] 14:21 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 14:31 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 14:32 -!- willdye [~willdye@fern.dsndata.com] has quit [Read error: Connection reset by peer] 14:35 -!- lucs__ [lux`@151.71.147.225] has joined #go-nuts 14:36 -!- willdye [~willdye@fern.dsndata.com] has joined #go-nuts 14:36 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has joined #go-nuts 14:37 -!- lux` [lux`@151.95.191.32] has quit [Ping timeout: 246 seconds] 14:39 -!- TR2N [email@89.180.184.178] has joined #go-nuts 14:40 -!- Nitro [~nitro@modemcable242.66-203-24.mc.videotron.ca] has joined #go-nuts 14:50 -!- soo2` [~user@bas3-toronto02-1279426020.dsl.bell.ca] has joined #go-nuts 14:52 -!- soo2 [~user@bas3-toronto02-1279612800.dsl.bell.ca] has quit [Ping timeout: 265 seconds] 14:53 -!- cco3 [~conley@c-69-181-139-23.hsd1.ca.comcast.net] has joined #go-nuts 14:58 < plexdev> http://is.gd/bDCup by [Evan Shaw] in go/src/pkg/container/vector/ -- vector: Don't always regenerate {int,string}vector.go 14:59 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 276 seconds] 15:01 -!- alehorst [~alehorst@201.47.14.118.dynamic.adsl.gvt.net.br] has quit [Remote host closed the connection] 15:01 -!- ender2070 [~ender2070@bas1-brampton13-1177973356.dsl.bell.ca] has quit [Remote host closed the connection] 15:04 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts 15:06 -!- rlab [~Miranda@62-211-95-178.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 15:09 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 15:10 -!- TR2N [email@89.180.184.178] has quit [Ping timeout: 260 seconds] 15:11 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]] 15:11 -!- path[l] [~path@122.182.0.38] has joined #go-nuts 15:13 -!- Xeon [~chatzilla@222.73.189.45] has joined #go-nuts 15:18 -!- tumdum [~tumdum@auo184.neoplus.adsl.tpnet.pl] has joined #go-nuts 15:18 -!- tumdum [~tumdum@auo184.neoplus.adsl.tpnet.pl] has quit [Changing host] 15:18 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 15:19 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 264 seconds] 15:23 -!- kaigan|work [~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit: kaigan|work] 15:29 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 15:29 -!- Wiz126 [Wiz126@72.20.224.103] has joined #go-nuts 15:30 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 15:30 -!- ContraSF [email@89.180.184.178] has joined #go-nuts 15:31 -!- analogue [~analogue@toulouse.jfg-networks.net] has quit [] 15:32 -!- fwiffo_ [~none@189.115.2.143] has joined #go-nuts 15:33 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 15:33 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 15:35 -!- fwiffo [~none@unaffiliated/fwiffo] has quit [Ping timeout: 276 seconds] 15:40 -!- fusion44 [~quassel@p5B283B61.dip.t-dialin.net] has joined #go-nuts 15:41 -!- ContraSF [email@89.180.184.178] has quit [Ping timeout: 264 seconds] 15:41 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has joined #go-nuts 15:46 -!- bjarneh [~bjarneh@1x-193-157-195-81.uio.no] has quit [Quit: leaving] 15:48 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]] 15:50 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Read error: Connection reset by peer] 15:52 -!- TR2N [email@89.180.184.178] has joined #go-nuts 15:52 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 15:58 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Quit: A cow. A trampoline. Together they fight crime!] 16:04 -!- carllerche [~carllerch@99.13.242.166] has joined #go-nuts 16:15 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 16:16 -!- terrex [~terrex@226.38.222.87.dynamic.jazztel.es] has joined #go-nuts 16:16 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 260 seconds] 16:17 -!- cco3 [~conley@c-69-181-139-23.hsd1.ca.comcast.net] has quit [Ping timeout: 252 seconds] 16:21 -!- Wiz126 [Wiz126@72.20.224.103] has quit [Ping timeout: 276 seconds] 16:23 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts 16:25 -!- Venom_X [~pjacobs@71.20.102.220] has joined #go-nuts 16:26 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 16:29 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has joined #go-nuts 16:30 -!- tsung [~jon@112.104.53.151] has quit [Ping timeout: 268 seconds] 16:35 -!- Wiz126 [Wiz126@72.20.222.180] has joined #go-nuts 16:35 -!- Wiz126 [Wiz126@72.20.222.180] has quit [Read error: Connection reset by peer] 16:36 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has joined #go-nuts 16:36 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has quit [Changing host] 16:36 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts 16:36 -!- tsung [~jon@112.104.53.151] has joined #go-nuts 16:44 -!- path[l] [~path@59.162.86.164] has joined #go-nuts 16:54 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 16:54 -!- carllerche [~carllerch@99.13.242.166] has quit [Quit: carllerche] 16:56 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]] 17:05 -!- nf [~nf@203-214-149-224.perm.iinet.net.au] has quit [Ping timeout: 240 seconds] 17:05 -!- tumdum [~tumdum@auo184.neoplus.adsl.tpnet.pl] has joined #go-nuts 17:05 -!- tumdum [~tumdum@auo184.neoplus.adsl.tpnet.pl] has quit [Changing host] 17:05 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 17:06 -!- nf [~nf@124-170-15-33.dyn.iinet.net.au] has joined #go-nuts 17:07 -!- terrex [~terrex@226.38.222.87.dynamic.jazztel.es] has quit [Read error: Connection reset by peer] 17:08 -!- terrex [~terrex@226.38.222.87.dynamic.jazztel.es] has joined #go-nuts 17:10 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has joined #go-nuts 17:12 -!- Wiz126 [Wiz126@72.20.222.123] has joined #go-nuts 17:13 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 17:15 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 17:17 -!- zyichi [~zyichi@125.39.108.24] has quit [Ping timeout: 240 seconds] 17:18 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts 17:18 < kimelto> morning! 17:18 -!- alehorst [~alehorst@201.47.14.118.dynamic.adsl.gvt.net.br] has joined #go-nuts 17:21 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts 17:22 -!- marsu [~marsu@93.10.91.215] has joined #go-nuts 17:24 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 248 seconds] 17:26 -!- Project_2501 [~Marvin@82.84.91.170] has joined #go-nuts 17:28 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts 17:30 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 17:31 < plexdev> http://is.gd/bDMOw by [Evan Shaw] in go/doc/ -- spec: Fix run-time panic header id 17:33 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 264 seconds] 17:38 -!- Boriskr [~Boriskr@95.104.195.1] has quit [Read error: Connection reset by peer] 17:38 -!- Boriskr [~Boriskr@95.104.195.1] has joined #go-nuts 17:40 -!- mikol [~5c993d9a@gateway/web/freenode/x-grhmwmnydpjvrjql] has joined #go-nuts 17:46 -!- Wiz126 [Wiz126@72.20.222.123] has quit [Ping timeout: 246 seconds] 17:50 -!- robot12 [~robot12@inferno.kgts.ru] has joined #go-nuts 17:52 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has joined #go-nuts 17:53 -!- robot12 [~robot12@inferno.kgts.ru] has quit [Client Quit] 17:54 -!- Xeon_ [~chatzilla@74.86.150.154] has joined #go-nuts 17:56 -!- Xeon [~chatzilla@222.73.189.45] has quit [Ping timeout: 264 seconds] 17:59 -!- Wiz126 [Wiz126@72.20.220.74] has joined #go-nuts 18:01 -!- dju__ [dju@sd-13356.dedibox.fr] has joined #go-nuts 18:01 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 18:02 -!- Netsplit *.net <-> *.split quits: cw, scoeri, homa_rano, _nano, MacCoaster, KirkMcDonald, dju_, ukai, nf, comboy, (+5 more, use /NETSPLIT to show all of them) 18:07 -!- nf [~nf@124-170-15-33.dyn.iinet.net.au] has joined #go-nuts 18:07 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts 18:07 -!- _nano [~code@p0pslyna.vth.sgsnet.se] has joined #go-nuts 18:07 -!- MacCoaster [~MacCoaste@amrutlar.com] has joined #go-nuts 18:07 -!- scoeri [~jdekoste@arriba.vub.ac.be] has joined #go-nuts 18:07 -!- Rondel [~JoLeClodo@vian.wallinfire.net] has joined #go-nuts 18:07 -!- ukai [~ukai@220.109.219.244] has joined #go-nuts 18:07 -!- KirkMcDonald [~Kirk@pysoy/developer/KirkMcDonald] has joined #go-nuts 18:07 -!- cw [~cw@parsec.stupidest.org] has joined #go-nuts 18:07 -!- JBeshir [~namegduf@eu.beshir.org] has joined #go-nuts 18:07 -!- mat_ [~mat@prod2.absolight.net] has joined #go-nuts 18:07 -!- homa_rano [~erice@LAPDANCE.MIT.EDU] has joined #go-nuts 18:07 -!- kmeyer [~konrad@fedora/kmeyer] has joined #go-nuts 18:07 -!- comboy [~comboy@tesuji.pl] has joined #go-nuts 18:19 -!- b0gg1e [~boman@wlan-020-111.zib.de] has quit [Ping timeout: 260 seconds] 18:23 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping timeout: 264 seconds] 18:24 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit: Leaving] 18:24 -!- Goneri [~goneri@nana.rulezlan.org] has quit [Read error: Operation timed out] 18:25 -!- Goneri [~goneri@nana.rulezlan.org] has joined #go-nuts 18:26 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 18:27 -!- nettok [~netto@200.119.154.155] has joined #go-nuts 18:32 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has joined #go-nuts 18:33 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts 18:36 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 18:37 -!- nettok [~netto@200.119.154.155] has quit [Ping timeout: 260 seconds] 18:37 -!- Fish [~Fish@9fans.fr] has joined #go-nuts 18:44 -!- ikaros [~ikaros@g228087252.adsl.alicedsl.de] has joined #go-nuts 18:47 -!- willdye [~willdye@fern.dsndata.com] has left #go-nuts [] 18:50 -!- jwillia3_ [~chatzilla@71.23.157.238] has joined #go-nuts 18:50 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit: slashus2] 18:51 -!- bfrank [~98340003@gateway/web/freenode/x-kmarujowjpjprykv] has joined #go-nuts 18:51 < bfrank> Hi, why would a program panic when trying to use goroutines? 18:51 < bfrank> with a message like this 18:51 < bfrank> panic: runtime error: invalid memory address or nil pointer dereference panic PC=0x9fcddc 18:51 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 18:51 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 252 seconds] 18:53 -!- nettok [~netto@200.119.154.155] has joined #go-nuts 18:59 -!- jwillia3_ [~chatzilla@71.23.157.238] has joined #go-nuts 18:59 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has joined #go-nuts 19:00 -!- nettok [~netto@200.119.154.155] has quit [Quit: Ex-Chat] 19:01 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 276 seconds] 19:05 < jessta> bfrank: because you're trying to access a nil pointer 19:05 < bfrank> what does that mean? 19:05 < bfrank> all I did was put go before a function call 19:05 < bfrank> using an example from the tutorial 19:06 < jessta> pastebin your code 19:07 < bfrank> http://pastebin.com/Hsqtg1tS 19:10 -!- Boriskr [~Boriskr@95.104.195.1] has quit [] 19:10 < jessta> bfrank: in your code the func main() is going to finish before goroutines have a chance to get through that sleep() 19:11 < jessta> when the func main() finishes it kills all the running goroutines along with it 19:11 < bfrank> hmm, so I need a sleep in the main also? 19:11 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has joined #go-nuts 19:12 < jessta> that would work 19:13 < bfrank> I added time.Sleep(20*60*1e9) at the end of main 19:13 < bfrank> but still get the panic 19:13 -!- Pkmn_Knight [~Luixsia@AToulouse-254-1-44-10.w81-250.abo.wanadoo.fr] has quit [Read error: Connection reset by peer] 19:14 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum] 19:14 -!- nf [~nf@124-170-15-33.dyn.iinet.net.au] has quit [Ping timeout: 276 seconds] 19:15 < jesusaurus> jessta: wouldnt it be better to use a channel to notify main when the goroutines are done? 19:15 < jessta> yes it would 19:17 -!- nf [~nf@124-168-174-16.dyn.iinet.net.au] has joined #go-nuts 19:18 -!- Xeon [~chatzilla@74.86.150.154] has quit [Ping timeout: 245 seconds] 19:18 < jessta> bfrank: it works fine here 19:19 < bfrank> hmm, something must be broke 19:19 < bfrank> :( 19:19 < jessta> are you recompling it when you make changes? 19:19 < bfrank> yes 19:19 < bfrank> 8g and 8l 19:19 < bfrank> when I remove the go from the calls, it works fine 19:20 < bfrank> so something weird with goroutines 19:21 < jessta> using the latest release? 19:21 < bfrank> I could try pulling down the latest 19:24 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 258 seconds] 19:24 -!- terrex [~terrex@226.38.222.87.dynamic.jazztel.es] has quit [Remote host closed the connection] 19:25 -!- TMKCodes_ [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts 19:25 -!- TMKCodes_ [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Client Quit] 19:25 -!- ender2070 [~ender2070@HMTNON14-1168102834.sdsl.bell.ca] has joined #go-nuts 19:29 -!- ikaros [~ikaros@g228087252.adsl.alicedsl.de] has quit [Quit: Leave the magic to Houdini] 19:32 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 19:36 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts 19:41 -!- Xurix [~Luixsia@AToulouse-254-1-44-10.w81-250.abo.wanadoo.fr] has joined #go-nuts 19:48 -!- mikol [~5c993d9a@gateway/web/freenode/x-grhmwmnydpjvrjql] has quit [Ping timeout: 248 seconds] 19:49 -!- bfrank [~98340003@gateway/web/freenode/x-kmarujowjpjprykv] has quit [Ping timeout: 248 seconds] 19:50 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts 19:50 -!- TMKCodes_ [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined #go-nuts 19:50 -!- TMKCodes_ [~TMKCodes@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Client Quit] 19:57 -!- Macpunk [~macpunk@cpe-72-177-26-221.austin.res.rr.com] has quit [Ping timeout: 276 seconds] 19:59 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 264 seconds] 20:01 -!- conra [~conrad@host-89-229-12-166.torun.mm.pl] has quit [Ping timeout: 260 seconds] 20:03 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping timeout: 265 seconds] 20:03 -!- fusion44 [~quassel@p5B283B61.dip.t-dialin.net] has quit [Remote host closed the connection] 20:03 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 20:04 -!- kssreeram [~kssreeram@122.174.139.125] has quit [Read error: Connection reset by peer] 20:04 -!- kssreeram [~kssreeram@122.174.139.125] has joined #go-nuts 20:11 -!- Xeon_ [~chatzilla@222.73.189.45] has joined #go-nuts 20:16 -!- ender2070 [~ender2070@HMTNON14-1168102834.sdsl.bell.ca] has quit [Ping timeout: 240 seconds] 20:17 -!- Xeon__ [~chatzilla@74.86.150.154] has joined #go-nuts 20:17 -!- andreer [andreer@flode.pvv.ntnu.no] has quit [Ping timeout: 246 seconds] 20:17 -!- andreer [andreer@flode.pvv.ntnu.no] has joined #go-nuts 20:19 -!- Xeon_ [~chatzilla@222.73.189.45] has quit [Ping timeout: 276 seconds] 20:20 -!- andreer [andreer@flode.pvv.ntnu.no] has quit [Read error: Operation timed out] 20:22 -!- andreer [andreer@flode.pvv.ntnu.no] has joined #go-nuts 20:23 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 245 seconds] 20:25 -!- ender2070 [~ender2070@HMTNON14-1168102834.sdsl.bell.ca] has joined #go-nuts 20:26 -!- Surma [~surma@95-88-88-188-dynip.superkabel.de] has quit [Quit: Leaving.] 20:27 -!- bmizerany [~bmizerany@dsl081-064-072.sfo1.dsl.speakeasy.net] has joined #go-nuts 20:29 -!- nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit: Leaving.] 20:29 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 260 seconds] 20:30 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 20:38 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed the connection] 20:45 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has joined #go-nuts 20:46 -!- andreer [andreer@flode.pvv.ntnu.no] has quit [Quit: zzz.] 20:47 -!- fwiffo_ [~none@189.115.2.143] has quit [Quit: Lost terminal] 20:50 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 20:52 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection] 20:53 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Remote host closed the connection] 20:58 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined #go-nuts 20:58 -!- GilJ [~gilles@78-22-170-204.access.telenet.be] has quit [Remote host closed the connection] 21:01 -!- Wiz126 [Wiz126@72.20.220.74] has quit [Ping timeout: 248 seconds] 21:04 < plexdev> http://is.gd/bE0zD by [Rob Pike] in 3 subdirs of go/src/pkg/ -- FileInfo: regularize the types of some fields. 21:04 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit: hcatlin] 21:12 -!- ender2070 [~ender2070@HMTNON14-1168102834.sdsl.bell.ca] has quit [Remote host closed the connection] 21:13 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]] 21:13 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 21:15 -!- b0gg1e [~boman@pool-2-1-196-89.dbd-ipconnect.net] has joined #go-nuts 21:16 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 21:20 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 21:21 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Client Quit] 21:26 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has quit [] 21:26 -!- rinzai [~rinzai@host86-138-155-30.range86-138.btcentralplus.com] has joined #go-nuts 21:32 -!- Wiz126 [Wiz126@72.20.219.132] has joined #go-nuts 21:33 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the connection] 21:37 -!- Project_2501 [~Marvin@82.84.91.170] has quit [Quit: E se abbasso questa leva che succ...] 21:37 -!- b0gg1e [~boman@pool-2-1-196-89.dbd-ipconnect.net] has quit [Quit: b0gg1e] 21:43 -!- lucs__ [lux`@151.71.147.225] has quit [Read error: Connection reset by peer] 21:46 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts 21:52 -!- Nexo [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit: Leaving.] 21:59 -!- hstimer [~hstimer@70.90.170.37] has quit [Quit: hstimer] 22:03 -!- jwillia3 [~chatzilla@71.23.157.238] has joined #go-nuts 22:10 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the connection] 22:11 -!- Nitro [~nitro@modemcable242.66-203-24.mc.videotron.ca] has quit [Ping timeout: 258 seconds] 22:12 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 22:16 -!- Svarthandske [~nn@dsl-tkubrasgw1-fe3cdc00-28.dhcp.inet.fi] has quit [Quit: Svarthandske] 22:18 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts 22:22 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined #go-nuts 22:25 -!- Kashia [~Kashia@port-92-200-37-101.dynamic.qsc.de] has joined #go-nuts 22:26 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 246 seconds] 22:35 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit: leaving] 22:41 -!- alehorst [~alehorst@201.47.14.118.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 248 seconds] 22:45 -!- tvw [~tv@e182078240.adsl.alicedsl.de] has quit [Remote host closed the connection] 22:46 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit [Quit: carllerche] 22:56 -!- alehorst [~alehorst@201.22.63.241.dynamic.adsl.gvt.net.br] has joined #go-nuts 22:59 < jesusaurus> is the <- operator implicitly a goroutine? 23:00 < kmeyer> No. 23:01 < jesusaurus> hmm, im getting an error saying all goroutines are asleep - deadlock 23:01 < jesusaurus> and all i did was add an write to a channel 23:01 < jesusaurus> im not using any goroutines yet 23:03 < Eridius> jesusaurus: if the channel isn't buffered, then there needs to be a goroutine somewhere that reads from the channel 23:04 < jesusaurus> how do i buffer the channel? 23:04 < Eridius> it's part of the arguments to make() a chan. Go read the language spec 23:05 -!- rinzai [~rinzai@host86-138-155-30.range86-138.btcentralplus.com] has quit [Quit: Leaving] 23:07 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping timeout: 240 seconds] 23:07 < jesusaurus> ahh, thank you Eridius 23:11 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts 23:17 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has quit [Ping timeout: 245 seconds] 23:17 -!- newsham [~chat@thenewsh.com] has joined #go-nuts 23:18 < newsham> could someone point me towards instructions for getting or building golang on win32? 23:19 < sladegen> there was recent thread about it on mailing list... 23:23 < newsham> ty, found it 23:23 -!- itrekkie [~itrekkie@ip68-228-245-244.ph.ph.cox.net] has joined #go-nuts 23:24 < newsham> hmm no "net" yet 23:24 -!- wuehlmaus [~wuehlmaus@p4FCC7A9F.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 23:24 -!- Venom_X [~pjacobs@71.20.102.220] has quit [Ping timeout: 260 seconds] 23:24 -!- wuehlmaus [~wuehlmaus@p4FCC7A55.dip.t-dialin.net] has joined #go-nuts 23:27 -!- kssreeram [~kssreeram@122.174.139.125] has quit [Quit: kssreeram] 23:32 -!- marsu [~marsu@93.10.91.215] has quit [Quit: Leaving] 23:36 -!- Xeon__ [~chatzilla@74.86.150.154] has quit [Ping timeout: 240 seconds] 23:42 -!- newsham [~chat@thenewsh.com] has left #go-nuts [] 23:42 -!- millertimek1a2m3 [~adam@rrcs-67-79-54-130.sw.biz.rr.com] has joined #go-nuts 23:42 -!- gnuvince [~vince@70.35.173.48] has quit [Quit: What the fruit is goin' on here!?] 23:45 < uriel> jesusaurus: making the channel buffered would still be quite pointless if it is not being used by another goroutine on the other end 23:45 < uriel> so using a buffered channel is most likely *not* what you want to do 23:47 -!- gnuvince [~vince@70.35.173.48] has joined #go-nuts 23:48 < jesusaurus> actually it is, because i wanted to work on my read_input function worked before starting on my parse_input function 23:48 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts 23:48 < jesusaurus> s/worked// 23:48 -!- hstimer [~hstimer@70.90.170.37] has quit [Client Quit] 23:48 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 23:48 -!- mode/#go-nuts [+v iant] by ChanServ 23:49 -!- hstimer [~hstimer@70.90.170.37] has joined #go-nuts 23:50 < uriel> jesusaurus: in that case it is still probably better for testing to just have a dummy 'parse_input' function that just has a look reading from the channel 23:52 -!- jeek [~jeek@pedobear.jeek.net] has quit [Ping timeout: 245 seconds] 23:53 < jesusaurus> true 23:57 -!- jwillia3 [~chatzilla@71.23.157.238] has quit [Ping timeout: 240 seconds] --- Log closed Fri Apr 23 00:00:50 2010