Go Language Resources Go, golang, go... NOTE: This page ceased updating in October, 2012

--- Log opened Sun Aug 29 00:00:05 2010
00:06 -!- vt3 [~vt3@m016020.ppp.asahi-net.or.jp] has joined #go-nuts
00:07 -!- ineol [~ineol@mar75-9-88-171-191-168.fbx.proxad.net] has quit [Remote
host closed the connection]
00:14 < nickaugust> how do I write text to the stdin line that is waiting
for user input?  i want to put some default text there that they can edit or
delete
00:15 < nickaugust> even using readline-go if that makes it easier
00:20 -!- luruke [~luruke@151.53.5.134] has quit [Ping timeout: 272 seconds]
00:26 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
00:29 -!- macroron [~macroron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
00:37 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has joined #go-nuts
00:39 -!- sukuri [~travis@246.45.101.97.cfl.res.rr.com] has joined #go-nuts
00:45 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-247.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
00:54 -!- mattikus [~mattikus@ip24-250-73-154.br.br.cox.net] has quit [Quit:
Computer has gone to sleep.]
00:59 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
01:02 -!- boscop [~boscop@g226229023.adsl.alicedsl.de] has quit [Ping timeout: 255
seconds]
01:02 -!- ninian [~ninian@h-66-134-232-34.lsanca54.static.covad.net] has joined
#go-nuts
01:03 -!- ninian [~ninian@h-66-134-232-34.lsanca54.static.covad.net] has left
#go-nuts []
01:09 < jessta> nickaugust: readline-go doesn't wrap all the functions of
readline
01:10 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
01:19 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has joined #go-nuts
01:24 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
01:28 -!- Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has joined
#go-nuts
01:32 -!- Transformer [~Transform@ool-4a59e397.dyn.optonline.net] has left
#go-nuts []
01:36 -!- royger [~root@179.19.21.95.dynamic.jazztel.es] has quit [Quit: leaving]
02:02 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts
02:04 -!- sukuri [~travis@246.45.101.97.cfl.res.rr.com] has quit [Quit: Leaving.]
02:14 -!- jdp [~justin@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
02:15 < nickaugust> jessta: hmm you know what i mean though?  to present an
editable line of text
02:18 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has left #go-nuts
[]
02:36 -!- kergoth [~kergoth@ip24-251-170-95.ph.ph.cox.net] has quit [Quit:
kergoth]
02:42 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 276
seconds]
02:46 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:46 < jessta> nickaugust: yeah, readline can do it, but readline-go
doesn't wrap those functions
02:48 < jessta> but you could wrap the nescessary functions yourself and
submit changes
02:49 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:53 -!- ericvh [~ericvh@cpe-70-123-128-44.austin.res.rr.com] has joined #go-nuts
02:55 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has left
#go-nuts []
02:58 < nickaugust> jessta: ok ill have a look at it and see if its within
my abilities
02:58 < nickaugust> thanks
02:59 -!- kergoth [~kergoth@ip24-251-170-95.ph.ph.cox.net] has joined #go-nuts
03:02 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:05 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
03:06 -!- smw [~smw@pool-71-161-218-53.burl.east.myfairpoint.net] has quit [Ping
timeout: 260 seconds]
03:14 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has quit [Ping
timeout: 245 seconds]
03:15 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
03:16 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has joined
#go-nuts
03:19 -!- smw [~smw@pool-71-169-142-166.burl.east.myfairpoint.net] has joined
#go-nuts
03:37 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
03:38 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
04:01 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Read error:
Connection reset by peer]
04:01 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
04:02 -!- samferry [sam@69-162-135-60.chi1.samferryholdings.net] has joined
#go-nuts
04:02 -!- samferry [sam@69-162-135-60.chi1.samferryholdings.net] has quit
[Changing host]
04:02 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
04:04 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
04:10 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has quit
[Quit: Leaving]
04:38 -!- gnuvince [~vince@72.0.221.62] has quit [Quit: Lost terminal]
04:38 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
04:45 -!- scm [justme@d134038.adsl.hansenet.de] has quit [Ping timeout: 272
seconds]
04:46 -!- scm [justme@d038041.adsl.hansenet.de] has joined #go-nuts
04:52 -!- gnuvince [~vince@72.0.221.62] has joined #go-nuts
05:02 -!- scm [justme@d038041.adsl.hansenet.de] has quit [Ping timeout: 245
seconds]
05:03 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
245 seconds]
05:04 -!- scm [justme@d056145.adsl.hansenet.de] has joined #go-nuts
05:05 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
05:05 -!- gnuvince [~vince@72.0.221.62] has quit [Quit: Via SOAP!  VIA SOAP!!]
05:06 -!- gnuvince [~vince@72.0.221.62] has joined #go-nuts
05:39 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has joined #go-nuts
05:43 -!- ExtraSpice [~XtraSpice@88.118.32.225] has joined #go-nuts
05:54 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
06:05 -!- idr [~idr@g225064047.adsl.alicedsl.de] has joined #go-nuts
06:07 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
06:07 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
06:13 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has quit [Quit:
itrekkie]
06:14 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
06:15 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has joined #go-nuts
06:15 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has quit [Client
Quit]
06:16 -!- kingfishr [~kingfishr@c-24-130-147-77.hsd1.ca.comcast.net] has joined
#go-nuts
06:18 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
06:24 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 240 seconds]
06:31 -!- InaV [~Ina@cc908229-a.zwoll1.ov.home.nl] has quit [Ping timeout: 245
seconds]
06:43 -!- bjarneh [~bjarneh@96.89-10-27.nextgentel.com] has left #go-nuts []
06:44 -!- InaV [~Ina@cc908229-a.zwoll1.ov.home.nl] has joined #go-nuts
07:00 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Remote host closed the
connection]
07:04 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 276 seconds]
07:27 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
07:27 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
07:33 -!- skelterjohn [~jasmuth@c-76-116-182-139.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
07:38 -!- sukuri [~travis@246.45.101.97.cfl.res.rr.com] has joined #go-nuts
07:42 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
07:43 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-247.clienti.tiscali.it] has
joined #go-nuts
07:52 -!- ucasano [~ucasano@95.74.102.121] has joined #go-nuts
07:55 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:59 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:04 -!- luruke [~luruke@151.53.34.134] has joined #go-nuts
08:19 -!- ExtraSpice [~XtraSpice@88.118.32.225] has joined #go-nuts
08:20 -!- luruke [~luruke@151.53.34.134] has quit [Quit: Leaving]
08:22 -!- photron [~photron@port-92-201-10-32.dynamic.qsc.de] has joined #go-nuts
08:24 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
240 seconds]
08:30 -!- idr [~idr@g225064047.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
08:33 -!- idr [~idr@g225096230.adsl.alicedsl.de] has joined #go-nuts
08:34 -!- sukuri [~travis@246.45.101.97.cfl.res.rr.com] has quit [Ping timeout:
264 seconds]
08:34 -!- fly-away [~fly@87.228.47.37] has joined #go-nuts
08:40 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has quit [Quit:
leaving]
08:41 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
08:44 -!- virtualsue [~chatzilla@nat/cisco/x-jjyrnqnzreilcyai] has quit [Ping
timeout: 272 seconds]
08:45 -!- aho [~nya@fuld-4d00d7c9.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
08:48 -!- sacho [~sacho@95-42-121-174.btc-net.bg] has joined #go-nuts
08:48 -!- virtualsue [~chatzilla@host81-139-166-185.in-addr.btopenworld.com] has
joined #go-nuts
08:53 -!- aho [~nya@fuld-4d00d7c9.pool.mediaWays.net] has joined #go-nuts
08:58 -!- acts_as [~acts_as@208.236.105.27] has quit [Quit: acts_as]
09:05 -!- virtualsue [~chatzilla@host81-139-166-185.in-addr.btopenworld.com] has
quit [Read error: Connection reset by peer]
09:06 -!- virtualsue [~chatzilla@nat/cisco/x-ufpnaerruiylozxk] has joined #go-nuts
09:10 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
09:22 -!- ucasano [~ucasano@95.74.102.121] has quit [Quit: ucasano]
09:23 -!- luruke [~luruke@151.53.34.134] has joined #go-nuts
09:34 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
09:34 -!- virtualsue [~chatzilla@nat/cisco/x-ufpnaerruiylozxk] has quit [Ping
timeout: 265 seconds]
09:37 -!- luruke [~luruke@151.53.34.134] has quit [Quit: Leaving]
09:39 < Namegduf> Hmm.
09:40 < Namegduf> I wonder how crazy it is to convert arbitrary data into a
"string" and back via unsafe to store it immutably.
09:40 -!- virtualsue [~chatzilla@host81-139-166-185.in-addr.btopenworld.com] has
joined #go-nuts
09:42 < Namegduf> Hmm, probably pretty crazy.
09:47 -!- DerHorst [~Horst@e176107125.adsl.alicedsl.de] has joined #go-nuts
09:54 < taruti> Namegduf: why not simply make a deep copy
09:55 < Namegduf> taruti: Because what I'm thinking of would be large.
09:55 < Namegduf> And often only updated a little at a time.
10:03 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
10:08 -!- ineol [~ineol@mar75-9-88-171-191-168.fbx.proxad.net] has joined #go-nuts
10:19 -!- DerHorst [~Horst@e176107125.adsl.alicedsl.de] has quit [Remote host
closed the connection]
10:21 -!- fly-away [~fly@87.228.47.37] has quit [Remote host closed the
connection]
10:27 -!- IRWolfie- [irwolfie@ircnoob.com] has quit [Ping timeout: 276 seconds]
10:31 -!- gonsalu [~gonsalu@static.238.120.46.78.clients.your-server.de] has
joined #go-nuts
10:31 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has joined
#go-nuts
10:32 -!- femtoo [~femto@95-89-196-193-dynip.superkabel.de] has joined #go-nuts
10:35 -!- nf [~nf@124-171-50-235.dyn.iinet.net.au] has joined #go-nuts
10:35 -!- tvw [~tv@e176001077.adsl.alicedsl.de] has joined #go-nuts
10:38 -!- boscop [~boscop@g226229023.adsl.alicedsl.de] has joined #go-nuts
10:42 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
10:51 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has joined #go-nuts
10:56 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Quit: Leaving]
10:57 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
10:59 -!- tvw [~tv@e176001077.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:01 -!- General13372 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 264 seconds]
11:03 -!- Shyde [~shyde@HSI-KBW-078-043-070-132.hsi4.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
11:06 -!- aho [~nya@fuld-4d00d7c9.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
11:08 -!- kashia_ [~Kashia@p4FEB2B2C.dip.t-dialin.net] has joined #go-nuts
11:09 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
11:10 -!- Kashia [~Kashia@p4FEB38ED.dip.t-dialin.net] has quit [Ping timeout: 245
seconds]
11:21 -!- royger [~royger@179.19.21.95.dynamic.jazztel.es] has joined #go-nuts
11:25 < royger> hi
11:27 < royger> I'm having some problems using RWMutex, is there any problem
to use recursive calls to RLock() in the same thread?  (provided that I do the
respective RUnlock() calls after)
11:27 < Namegduf> Yes.
11:27 < Namegduf> Calls to RLock will block if there's a writer waiting.
11:28 < Namegduf> The writer will block until all existing reader locks are
unlocked.
11:28 < Namegduf> It will deadlock.
11:28 < royger> yup, I just realized now.  Is there anyway to know if I have
already adquiered the mutex?
11:30 < royger> I will need reentrant mutexes
11:31 < Namegduf> I don't know, I'm afraid.
11:33 < royger> anyway, I will have to think of another way to do this,
thanks
11:34 -!- virtualsue [~chatzilla@host81-139-166-185.in-addr.btopenworld.com] has
quit [Ping timeout: 265 seconds]
11:38 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
11:40 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
11:43 -!- Zoopee [alsbergt@zoopee.org] has quit [Quit: Ejected]
11:44 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
11:44 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has quit [Quit:
Leave the magic to Houdini]
11:55 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
11:59 -!- smw [~smw@pool-71-169-142-166.burl.east.myfairpoint.net] has quit
[Remote host closed the connection]
12:02 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
12:02 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
12:04 < taruti> royger: the sync mutexes are all non-reentrant
12:34 -!- sacho [~sacho@95-42-121-174.btc-net.bg] has quit [Ping timeout: 272
seconds]
12:46 -!- sacho [~sacho@91.139.247.75] has joined #go-nuts
12:47 < royger> taruti: anyway, it's not a good idea to use reentrant
mutexes
12:54 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 260
seconds]
13:01 -!- sacho [~sacho@91.139.247.75] has quit [Ping timeout: 260 seconds]
13:02 -!- myrice [72f999b3@gateway/web/freenode/ip.114.249.153.179] has joined
#go-nuts
13:16 -!- sacho [~sacho@79-100-63-178.btc-net.bg] has joined #go-nuts
13:23 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has quit [Remote
host closed the connection]
13:24 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Remote host closed the
connection]
13:42 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
13:49 -!- tvw [~tv@e176001077.adsl.alicedsl.de] has joined #go-nuts
14:04 < napsy> Is there a practical tutorial for using cgo?
14:20 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Quit: Disappears
in a puff of smoke]
14:24 < napsy> Why can't I declare an object of C type "unsigned char *":
var _myptr *C.unsigned_char using cgo ?
14:28 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
14:30 -!- royger [~royger@179.19.21.95.dynamic.jazztel.es] has quit [Ping timeout:
276 seconds]
14:31 -!- royger [~royger@132.18.21.95.dynamic.jazztel.es] has joined #go-nuts
14:37 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has joined
#go-nuts
14:39 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
14:48 < falconindy> nsf: ping
14:48 < nsf> falconindy: pong
14:48 < falconindy> gocode is panicking on me.  can i post a backtrace for
you?
14:48 < nsf> sure
14:48 < falconindy> http://codepad.org/hFOIOb5u
14:48 < falconindy> happens whenever i try to complete
14:49 < falconindy> using git HEAD and hg release
14:49 < nsf> it happens no matter what you're trying to complete?
14:49 < falconindy> well, i get no response trying to complete packages and
it panics on keywords
14:50 -!- ericvh [~ericvh@cpe-70-123-128-44.austin.res.rr.com] has left #go-nuts
[]
14:50 < nsf> or maybe you have certain examples when it panics
14:50 -!- jessta [~jessta@124-168-116-223.dyn.iinet.net.au] has quit [Remote host
closed the connection]
14:50 < falconindy> ra<C-X><C-O>
14:51 -!- jessta [~jessta@124-168-116-223.dyn.iinet.net.au] has joined #go-nuts
14:51 < nsf> the full source code could help with that
14:51 < nsf> if it's possible of course
14:51 < falconindy> happens on something as simple as hello world
14:51 < nsf> ah..  I see
14:51 < nsf> interesting
14:52 < falconindy> hrm, ive got a few builds of gocode sitting around...
lemme see if rolling back gets me any joy.  might at least show if its something
purely on my end
14:52 < nsf> do you still have all the env vars after the latest go release?
14:52 < falconindy> i don't
14:52 < nsf> gocode requires you to have them
14:52 < falconindy> aha
14:53 < nsf> at least three of them
14:53 < falconindy> so, GOARCH, GOOS, GOBIN?
14:53 < nsf> GOOS, GOARCH and GOROOT
14:53 < falconindy> ok
14:53 < falconindy> that's probably it
14:53 < nsf> they simply point where gocode can find your libraries
14:54 < nsf> but still it dies with a panic and this is bad
14:54 < nsf> I'll try to figure out how to fix this
14:54 < falconindy> yup, that fixed it
14:54 < falconindy> maybe do a sanity check on start to make sure all 3 are
defined?
14:55 < nsf> well, that's the one case
14:55 < nsf> but you see for example if you have a source file that imports
only local packages
14:55 < nsf> it will work without them too
14:55 < falconindy> ah
14:55 < nsf> although it's a rare case
14:55 < nsf> but it is possible :)
14:56 -!- skelterjohn [~jasmuth@c-76-116-182-139.hsd1.nj.comcast.net] has joined
#go-nuts
14:56 < nsf> it simply should behave like it doesn't know what these
libraries are (e.g.  propose nothing)
14:56 < falconindy> nods
14:57 < nsf> but I guess adding a warning message to the server side is a
good idea
14:57 < nsf> because when user will try to figure out what's wrong he will
start the server manually
14:57 < nsf> and it will tell him :)
14:57 < falconindy> well, you _hope_ that users are smart enough to do that
=P
14:58 < nsf> I'm not interested in other kinds of users :) they don't pay me
money :)
14:58 < falconindy> haha
14:59 < nsf> thanks for a bug report btw :)
15:00 < falconindy> no prob, glad to help
15:02 < nsf> gocode segfaults indeed when these vars are missing
15:07 < nsf> I've fixed panic in that case
15:07 < nsf> not sure about warning though
15:07 < nsf> I guess I should add a variable instead
15:08 < nsf> 'libpath' or something
15:08 -!- scm [justme@d056145.adsl.hansenet.de] has quit [Read error: Operation
timed out]
15:08 < nsf> and update the README
15:08 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
15:09 < napsy> Hello.  Am I doing cgo type conversion the right way
http://gist.github.com/556363 ? Because I'm getting a segfault
15:09 < falconindy> eh, I would have been happy with the README mentioning
this
15:09 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
15:10 -!- scm [justme@c136073.adsl.hansenet.de] has joined #go-nuts
15:10 < nsf> falconindy: true
15:10 < falconindy> im from the same camp as you...  not interested in users
who can't debug on their own =P
15:11 < nsf> well, it's not like I'm not interested in them
15:11 < nsf> I don't mind that they will use my software
15:11 < nsf> but I'm not really interested in ugly bug reports
15:11 < nsf> that helps me in no way
15:11 -!- idr [~idr@g225096230.adsl.alicedsl.de] has quit [Remote host closed the
connection]
15:11 < nsf> and I think it's true for any developer
15:11 < falconindy> indeed
15:14 < nsf> added note to the README
15:15 -!- artefon [~thiago@189.107.188.188] has joined #go-nuts
15:15 < falconindy> much appreciated.  im surprised im the first to find
this
15:15 < nsf> well, I've actually posted a note about that on the ML
15:15 < nsf> which says that gocode still requires these vars
15:16 < falconindy> and i probably read that at some point
15:16 < nsf> :)
15:19 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
15:19 < nsf> hehe, I'm watching and old Rob Pike's 1 hour intro to Go
15:19 < nsf> and now I know what's wrong with that compilation demo
15:19 < nsf> he shows us the process of building libraries
15:19 < nsf> which doesn't involve linking )
15:20 < nsf> and 6l/8l is horribly slow :D
15:20 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has quit [Quit:
Leave the magic to Houdini]
15:20 < nsf> I mean for small projects it takes much more time than the
comilation itself
15:20 < nsf> compilation*
15:21 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Client
Quit]
15:22 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has joined
#go-nuts
15:23 -!- ronnyy [~quassel@p4FF1D52F.dip.t-dialin.net] has joined #go-nuts
15:25 < nsf> gocode compilation time: 0.333 secs
15:25 < nsf> gocode linking time: 0.950 secs
15:25 < nsf> almost 3 times as much time as compilation!
15:28 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Ping timeout: 245
seconds]
15:59 < royger> nsf: correct me if I'm wrong, but I think that part of this
is because of the static linking, the resulting executable have to contain all the
libraries.
15:59 < nsf> I have no idea about that :) linking process to me is a black
magic
15:59 < nsf> I tried to read iant's blog posts about that
15:59 < nsf> but when I've noticed that there are like 20 of them
15:59 < nsf> I gave up :D
16:13 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
16:15 < nsf> hehe, I'm reading an IBM paper now about GCs
16:15 -!- ikaros_ [~ikaros@188.107.58.211] has joined #go-nuts
16:15 < nsf> pause time for mark & sweep GC can be pretty high
16:15 < nsf> up to 1 sec
16:16 < nsf> and their concurrent ref counting gc shows pauses up to 2ms
16:16 < nsf> interesting numbers
16:17 < nsf> and overall time spent in the app for both GC almost the same
16:19 -!- ikaros [~ikaros@dslb-094-219-213-218.pools.arcor-ip.net] has quit [Ping
timeout: 258 seconds]
16:19 -!- ikaros_ [~ikaros@188.107.58.211] has quit [Client Quit]
16:25 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
16:29 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
16:54 -!- g0bl1n [~anonymous@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
17:02 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
17:07 -!- kanru [~kanru@61-228-157-227.dynamic.hinet.net] has quit [Ping timeout:
252 seconds]
17:21 -!- artefon [~thiago@189.107.188.188] has quit [Remote host closed the
connection]
17:23 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:34 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has joined #go-nuts
17:39 -!- ronnyy [~quassel@p4FF1D52F.dip.t-dialin.net] has quit [Remote host
closed the connection]
17:44 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
17:52 -!- sukuri [~travis@246.45.101.97.cfl.res.rr.com] has joined #go-nuts
18:13 -!- kashia_ [~Kashia@p4FEB2B2C.dip.t-dialin.net] has quit [Quit: Leaving]
18:19 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-177-247.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
18:28 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Remote host closed the connection]
18:28 -!- xash [~xash@d047201.adsl.hansenet.de] has joined #go-nuts
18:29 < xash> Hey!  How could I convert a float64 into [8]byte in the best
way?
18:30 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
18:31 < xash> Or give me another idea, how I can write some floats into a
file and load them back into float64 again :)
18:38 < royger> I would like to sort an array of structs that contains
different fields in different ways using the sort package, how can I implement it?
Using Interfaces and defining a whole set of "Less" methods?
18:41 -!- ikaros [~ikaros@188.107.58.211] has joined #go-nuts
18:52 -!- InaV [~Ina@cc908229-a.zwoll1.ov.home.nl] has quit [Ping timeout: 265
seconds]
18:55 -!- myrice [72f999b3@gateway/web/freenode/ip.114.249.153.179] has quit
[Quit: Page closed]
18:59 -!- aho [~nya@fuld-4d00d23e.pool.mediaWays.net] has joined #go-nuts
19:17 -!- drguildo [~drguildo@w-226.cust-6392.ip.static.uno.net.uk] has joined
#go-nuts
19:19 < yiyus> xash: the fastest way is to use unsafe
19:19 < yiyus> that, or a lot of bit operators
19:19 < yiyus> but unsafe will be easier i guess, have a look at Float64bits
in the math package
19:24 < xash> Ah, nice, thank you :-)
19:43 < fluffle> after a long hiatus, i've just (hg pull; hg update) my go
repo and run src/all.bash
19:44 < fluffle> the http pkg is failing some tests -- looks like the DNS
resolver is complaining that my local network is unreachable
19:44 < fluffle> known problem?
19:46 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
19:47 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
19:47 -!- VonLipwig [~contact@cpc2-pete8-0-0-cust715.4-4.cable.virginmedia.com]
has joined #go-nuts
19:49 < VonLipwig> Hi, I have two questions relating to Go. Firstly, is
there a simple way to run and compile Go files on a Window's machine?  Secondly
can anyone recommend a book to get started with Go?
19:49 < jessta> xash: you could use the gob pkg
19:51 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has quit
[Remote host closed the connection]
19:52 < fluffle> jessta: ohai -- noticed your fork of goirc (in June) when
someone sent me a pull request last week for the same patches :)
19:52 -!- VonLipwig [~contact@cpc2-pete8-0-0-cust715.4-4.cable.virginmedia.com]
has left #go-nuts []
19:53 -!- jcao219 [~jcao219@pool-173-74-61-111.dllstx.fios.verizon.net] has joined
#go-nuts
19:56 < fluffle> urg, seems hg update left lots of old stulff lying around
19:56 * fluffle rebuilds from scratch
20:00 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
20:03 -!- femtoo [~femto@95-89-196-193-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
20:08 -!- IRWolfie- [irwolfie@ircnoob.com] has joined #go-nuts
20:12 < fluffle> http://code.google.com/p/go/issues/detail?id=890 # bam
20:20 -!- curtisschlak [~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net]
has joined #go-nuts
20:20 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
20:21 -!- curtisschlak [~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net]
has left #go-nuts []
20:22 -!- realistschuckle
[~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net] has joined #go-nuts
20:26 -!- realistschuckle
[~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net] has quit [Quit:
ChatZilla 0.9.86 [Firefox 3.6.8/20100722150226]]
20:26 -!- realistschuckle
[~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net] has joined #go-nuts
20:26 -!- realistschuckle
[~chatzilla@99-63-25-108.lightspeed.hstntx.sbcglobal.net] has left #go-nuts []
20:28 -!- ericvh [~ericvh@cpe-70-123-128-44.austin.res.rr.com] has joined #go-nuts
20:31 -!- drguildo [~drguildo@w-226.cust-6392.ip.static.uno.net.uk] has quit
[Quit: Leaving]
20:32 -!- artefon [~thiago@189.107.191.174] has joined #go-nuts
20:32 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: Lost
terminal]
20:37 -!- royger [~royger@132.18.21.95.dynamic.jazztel.es] has quit [Read error:
Connection reset by peer]
20:37 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
20:40 -!- royger [~royger@86.19.21.95.dynamic.jazztel.es] has joined #go-nuts
20:43 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost
terminal]
20:44 -!- samferry [sam@atheme/member/samferry] has quit [Read error: Operation
timed out]
20:47 -!- samferry [sam@atheme/member/samferry] has joined #go-nuts
20:48 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
21:03 -!- xash [~xash@d047201.adsl.hansenet.de] has quit [Ping timeout: 258
seconds]
21:07 -!- itrekkie [~itrekkie@ip72-211-155-194.tc.ph.cox.net] has quit [Quit:
itrekkie]
21:18 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
21:36 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
21:42 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
21:52 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 265 seconds]
21:53 -!- GoBIR [~gobir@res-128-61-89-71.res.gatech.edu] has joined #go-nuts
21:55 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
21:56 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
21:56 < fenicks> hello
21:56 -!- boscop_ [~boscop@g227003039.adsl.alicedsl.de] has joined #go-nuts
21:56 -!- boscop [~boscop@g226229023.adsl.alicedsl.de] has quit [Ping timeout: 252
seconds]
22:00 < jessta> fenicks: hello
22:07 < plexdev> http://is.gd/eKp52 by [Rob Pike] in go/src/pkg/rpc/ -- rpc:
fix bug that caused private methods to attempt to be registered.
22:28 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
22:35 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has joined
#go-nuts
22:39 -!- luruke [~luruke@151.53.34.134] has joined #go-nuts
22:45 -!- CrAzYbEaR [~crazybear@67-225-52-149.estv.hsdb.sasknet.sk.ca] has joined
#go-nuts
22:47 -!- CrAzYbEaR [~crazybear@67-225-52-149.estv.hsdb.sasknet.sk.ca] has left
#go-nuts []
22:50 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
22:51 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
22:57 -!- General13372 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has joined
#go-nuts
22:59 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: Lost
terminal]
23:01 -!- General1337 [~support@71-84-244-55.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 265 seconds]
23:01 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
23:05 -!- tvw [~tv@e176001077.adsl.alicedsl.de] has quit [Remote host closed the
connection]
23:06 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
23:08 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:10 -!- photron [~photron@port-92-201-10-32.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
23:12 -!- ikaros [~ikaros@188.107.58.211] has quit [Remote host closed the
connection]
23:19 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
23:20 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
23:24 -!- artefon [~thiago@189.107.191.174] has quit [Remote host closed the
connection]
23:40 -!- gigatropolis [~chatzilla@c-76-102-52-104.hsd1.ca.comcast.net] has quit
[Ping timeout: 255 seconds]
23:41 -!- zero7 [~crazy@86.36.49.1] has joined #go-nuts
23:42 -!- mbohun [~mbohun@202.124.72.96] has joined #go-nuts
23:44 -!- jmettraux [~jmettraux@211.19.55.177] has joined #go-nuts
23:46 -!- napsy_ [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
23:46 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
272 seconds]
23:54 -!- Guest89248 [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping
timeout: 258 seconds]
23:55 -!- luruke [~luruke@151.53.34.134] has quit [Quit: Leaving]
23:55 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has joined
#go-nuts
23:55 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
--- Log closed Mon Aug 30 00:00:05 2010