--- Log opened Fri Feb 04 00:00:05 2011
00:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
00:08 -!- nettok [~quassel@200.119.152.215] has joined #go-nuts
00:09 -!- dmytro_ [~dmytro@193.227.120.3] has quit [Read error: Operation timed
out]
00:11 < plexdev> http://is.gd/5oez1e by [Robert Griesemer] in
go/src/cmd/godoc/ -- godoc: minor internal fix
00:14 -!- keithgcascio [~keithcasc@nat/google/x-akzetmrrfwiavfvq] has joined
#go-nuts
00:14 -!- Project-2501 [~Marvin@82.84.96.25] has quit [Quit: E se abbasso questa
leva che succ...]
00:15 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:16 -!- erus_ [56a2e2a0@gateway/web/freenode/ip.86.162.226.160] has joined
#go-nuts
00:23 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:24 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
00:24 -!- MX80 [~MX80@cust141.253.117.74.dsl.g3telecom.net] has quit [Read error:
Operation timed out]
00:25 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
00:37 -!- tvw [~tv@e176006120.adsl.alicedsl.de] has quit [Remote host closed the
connection]
00:37 -!- artefon [~thiago@189.59.156.24.dynamic.adsl.gvt.net.br] has joined
#go-nuts
00:38 -!- Iain__ [~Iain@cpc4-linl7-2-0-cust464.sgyl.cable.virginmedia.com] has
joined #go-nuts
00:43 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
00:44 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
00:45 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
00:49 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has quit
[Quit: Leaving.]
01:02 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
01:06 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
01:09 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
01:11 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
01:13 -!- Iain__ [~Iain@cpc4-linl7-2-0-cust464.sgyl.cable.virginmedia.com] has
quit [Quit: Leaving]
01:24 -!- niemeyer [~niemeyer@189.30.51.218] has quit [Ping timeout: 240 seconds]
01:37 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 246 seconds]
01:43 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
01:43 < plexdev> http://is.gd/Ykj4FI by [Yasuhiro Matsumoto] in
go/src/cmd/gopack/ -- gopack: unused variable.
01:43 -!- sav [~lsd@189001131180.usr.predialnet.com.br] has joined #go-nuts
01:44 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 255 seconds]
01:47 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: leaving]
01:49 -!- sav [~lsd@189001131180.usr.predialnet.com.br] has quit [Ping timeout:
265 seconds]
01:49 -!- ddoman31 [~root@24.83.96.98] has quit [Remote host closed the
connection]
01:53 -!- artefon [~thiago@189.59.156.24.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 255 seconds]
02:11 -!- decaf [~mehmet@88.231.215.80] has quit [Remote host closed the
connection]
02:13 -!- Viriix [~joseph@c-24-130-195-91.hsd1.ca.comcast.net] has joined #go-nuts
02:14 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Ping timeout:
240 seconds]
02:15 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
02:16 -!- erus` [56a2e2a0@gateway/web/freenode/ip.86.162.226.160] has quit [Ping
timeout: 245 seconds]
02:16 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
02:16 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
02:18 -!- dforsyth_ [~dforsyth@bastion.inap.yelpcorp.com] has quit [Quit: Computer
has gone to sleep.]
02:24 -!- lmoura_ [~lauromour@186.212.244.7] has quit [Ping timeout: 260 seconds]
02:35 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
255 seconds]
02:37 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
02:37 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Read error:
Connection reset by peer]
02:43 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[Quit: must reboot]
02:46 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Remote host closed the
connection]
02:47 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
02:47 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
02:50 -!- mosva [~CrazyThin@unaffiliated/mosva] has joined #go-nuts
02:52 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
240 seconds]
02:53 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
02:54 -!- CrazyThinker [~CrazyThin@unaffiliated/mosva] has quit [Ping timeout: 240
seconds]
03:03 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
03:05 -!- mosva [~CrazyThin@unaffiliated/mosva] has left #go-nuts []
03:13 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Ping
timeout: 265 seconds]
03:14 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
255 seconds]
03:15 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
03:24 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has joined
#go-nuts
03:25 -!- Pai [~CrazyThin@unaffiliated/mosva] has joined #go-nuts
03:28 -!- jdp__ [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
03:28 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Ping timeout:
265 seconds]
03:37 -!- htoothrot [~mux@184.250.39.80] has joined #go-nuts
03:38 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
03:39 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has joined
#go-nuts
03:39 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
03:41 -!- htoothrot [~mux@184.250.39.80] has quit [Ping timeout: 240 seconds]
03:41 -!- Viriix [~joseph@c-24-130-195-91.hsd1.ca.comcast.net] has quit [Ping
timeout: 255 seconds]
03:42 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
240 seconds]
03:43 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
03:43 < plexdev> http://is.gd/zgkzOH by [Alex Brainman] in 6 subdirs of
go/src/ -- os: implement new Process api
03:45 -!- htoothrot [~mux@184.250.39.80] has joined #go-nuts
03:47 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[Quit: yay more rebooting]
03:48 -!- htoothrot [~mux@184.250.39.80] has quit [Quit: here we are]
03:50 -!- htoothrot [~mux@184.250.39.80] has joined #go-nuts
03:57 -!- htoothrot [~mux@184.250.39.80] has quit [Quit: here we are]
03:57 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
03:59 -!- htoothrot [~mux@184.250.39.80] has joined #go-nuts
04:03 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
04:04 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
04:04 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
04:06 -!- \toothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
04:06 -!- Viriix [~joseph@c-24-130-195-91.hsd1.ca.comcast.net] has joined #go-nuts
04:09 -!- htoothrot [~mux@184.250.39.80] has quit [Ping timeout: 265 seconds]
04:16 -!- keithgcascio [~keithcasc@nat/google/x-akzetmrrfwiavfvq] has quit [Quit:
Leaving]
04:23 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:26 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 276
seconds]
04:31 -!- Viriix [~joseph@c-24-130-195-91.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
04:36 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
240 seconds]
04:39 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
04:41 -!- snearch [~snearch@f053010222.adsl.alicedsl.de] has joined #go-nuts
04:41 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Ping timeout: 241 seconds]
04:43 -!- CoconutC1ab [~cua@unaffiliated/coconutcrab] has joined #go-nuts
04:48 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
04:57 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has quit
[]
05:02 -!- hcl2 [~akuma@75.41.110.112] has quit [Ping timeout: 240 seconds]
05:03 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
05:04 -!- dRbiG [drbig@unhallowed.pl] has quit [Read error: Operation timed out]
05:06 -!- dRbiG [drbig@unhallowed.pl] has joined #go-nuts
05:10 < plexdev> http://is.gd/gbInEP by [Robert Griesemer] in 3 subdirs of
go/test/ -- issue 1402: added test case
05:12 -!- shvntr [~shvntr@123.89.110.17] has quit [Quit: leaving]
05:20 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
05:28 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has quit [Read error:
Operation timed out]
05:29 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
05:36 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has quit [Ping timeout:
260 seconds]
05:36 -!- Cobi [~Cobi@2002:1828:88fb:0:aede:48ff:febe:ef03] has joined #go-nuts
06:12 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
06:17 -!- snearch [~snearch@f053010222.adsl.alicedsl.de] has quit [Quit:
Verlassend]
07:05 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has quit [Quit:
adu]
07:11 -!- niemeyer [~niemeyer@201-11-229-91.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
07:15 -!- niemeyer_ [~niemeyer@201-66-215-208.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
07:16 -!- niemeyer [~niemeyer@201-11-229-91.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
07:17 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
07:17 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 265 seconds]
07:18 -!- cafesofie [~cafesofie@rnwifi-164-107-93-240.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
07:24 -!- niemeyer [~niemeyer@201-11-231-26.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
07:24 -!- niemeyer_ [~niemeyer@201-66-215-208.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
07:29 -!- nevdull [~bjames@c-24-9-104-250.hsd1.co.comcast.net] has quit [Read
error: Operation timed out]
07:31 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-183-188.clienti.tiscali.it] has
joined #go-nuts
07:34 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
07:34 -!- mode/#go-nuts [+v iant] by ChanServ
07:36 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:39 -!- tensorpudding [~user@99.23.127.179] has quit [Read error: Connection
reset by peer]
07:46 -!- TheMue [~TheMue@p5DDF6DE6.dip.t-dialin.net] has joined #go-nuts
07:46 -!- Project-2501 [~Marvin@82.84.88.237] has joined #go-nuts
07:49 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-183-188.clienti.tiscali.it] has
quit [Ping timeout: 265 seconds]
07:54 -!- Ina [~Ina@dsl-087-195-206-242.solcon.nl] has quit [Ping timeout: 272
seconds]
08:01 -!- nettok_ [~quassel@200.119.173.156] has joined #go-nuts
08:02 -!- nettok [~quassel@200.119.152.215] has quit [Ping timeout: 255 seconds]
08:03 -!- TheMue [~TheMue@p5DDF6DE6.dip.t-dialin.net] has quit [Quit: TheMue]
08:08 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
08:16 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit
[Ping timeout: 250 seconds]
08:16 -!- wrtp [~rog@92.17.35.133] has joined #go-nuts
08:21 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
08:29 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
08:33 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Read error:
Connection reset by peer]
08:35 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
08:36 -!- arexus [~andrew@c-98-207-173-169.hsd1.ca.comcast.net] has quit [Read
error: Operation timed out]
08:36 -!- arexus [~andrew@c-98-207-173-169.hsd1.ca.comcast.net] has joined
#go-nuts
08:37 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
08:37 -!- anticw [~anticw@c-67-169-68-180.hsd1.ca.comcast.net] has joined #go-nuts
08:40 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
08:44 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
08:46 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
08:51 -!- shvntr [~shvntr@123.89.110.17] has quit [Ping timeout: 272 seconds]
08:51 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
08:57 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
09:07 -!- cenuij [~cenuij@78.122.228.32] has joined #go-nuts
09:07 -!- cenuij [~cenuij@78.122.228.32] has quit [Changing host]
09:07 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
09:08 -!- cafesofie [~cafesofie@rnwifi-164-107-93-240.resnet.ohio-state.edu] has
joined #go-nuts
09:19 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the
connection]
09:27 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
09:41 -!- niemeyer [~niemeyer@201-11-231-26.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
09:44 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
09:49 -!- tvw [~tv@e176005006.adsl.alicedsl.de] has joined #go-nuts
09:51 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
09:51 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 276 seconds]
09:59 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
10:13 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
10:14 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Ping timeout: 245 seconds]
10:21 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
joined #go-nuts
10:23 -!- petrux [~petrux@host16-224-static.53-82-b.business.telecomitalia.it] has
quit [Client Quit]
10:23 -!- artefon [~thiagon@150.164.2.20] has joined #go-nuts
10:28 -!- Ina [~Ina@62.140.137.128] has joined #go-nuts
10:31 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Quit:
Computer has gone to sleep.]
10:32 -!- nettok_ [~quassel@200.119.173.156] has quit [Ping timeout: 272 seconds]
10:36 -!- cafesofie [~cafesofie@rnwifi-164-107-93-240.resnet.ohio-state.edu] has
quit [Remote host closed the connection]
10:48 -!- virtualsue [~chatzilla@nat/cisco/x-hwhipbpohisoooku] has joined #go-nuts
10:53 -!- brett [~brett@rdnzl.net] has quit [Ping timeout: 255 seconds]
10:54 -!- adg [~nf@2001:470:21:20::4444:61d9] has quit [Read error: Operation
timed out]
10:55 -!- rphillips [~rphillips@unaffiliated/rphillips] has quit [Ping timeout:
272 seconds]
10:59 -!- CoconutCrab [~cua@unaffiliated/coconutcrab] has quit [Quit: kimchi]
11:02 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
11:04 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
11:19 -!- Ina [~Ina@62.140.137.128] has quit [Ping timeout: 265 seconds]
11:20 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
11:39 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Read error:
Connection reset by peer]
11:39 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
11:43 -!- shvntr [~shvntr@123.89.110.17] has quit [Ping timeout: 272 seconds]
11:44 -!- niemeyer [~niemeyer@201-11-231-26.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
11:44 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
11:47 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Remote host
closed the connection]
11:54 -!- adg [~nf@2001:470:21:20::4444:61d9] has joined #go-nuts
11:54 -!- mode/#go-nuts [+o adg] by ChanServ
11:54 -!- Guest80131 [~brett@rdnzl.net] has joined #go-nuts
11:55 -!- rphillips [~rphillips@unaffiliated/rphillips] has joined #go-nuts
12:05 -!- niemeyer [~niemeyer@201-11-231-26.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
12:17 -!- jcdny [~davis@mailrelay1.pbclients.com] has joined #go-nuts
12:22 -!- JHaskly [~Juz30@c122-108-245-123.kelvn3.qld.optusnet.com.au] has joined
#go-nuts
12:27 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
12:27 < JHaskly> Hey all, I'm using Go to create some rather large image
files.  My code was working great, but I recently re-wrote it all to make it a
fair bit neater and OO it up.  I'm using a rather large slice (upwards of 10
million element) that contains a struct describing each pixel (the main slice is
itself part of a struct).  Accessing each pixel works great, but I have a function
to initialize every pixel-struct with the correct values
12:27 < JHaskly> There are some odd hangups that I don't understand after I
have initialized about 14%, 33%, and 73% of the structs.  Does anyone know what
could explain this?
12:28 < aiju> could you paste code?
12:28 < JHaskly> Sure
12:29 < JHaskly> I'm afraid it may not be the neatest or very well designed
(I'm fairly new to Go)
12:29 < JHaskly> http://pastie.org/1528028
12:30 < aiju> that's a huge pixel struct
12:31 < JHaskly> The one that contains the slice?
12:31 < aiju> the Pixel struct
12:32 < aiju> why do you use []*Pixel?
12:32 < JHaskly> Instead of []Pixel?
12:32 < aiju> yeah
12:32 < aiju> the latter is *much* more memory efficient
12:32 < JHaskly> Really?
12:32 < aiju> yeah
12:33 < aiju> much less memory allocator overhead
12:33 < JHaskly> I figured that as all I need to do is modify them in place,
it would make more sense to use pointers
12:33 < JHaskly> I'm fairly new to pointers as well :P
12:33 < aiju> it's far easier (and cheaper) to allocate one giant block
([]Pixel) than million tiny ones ([]*Pixel)
12:34 < JHaskly> Right
12:36 < aiju> the whole thing is about 800 MB
12:36 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
12:37 < JHaskly> Wow
12:38 -!- erus_ [56a2e2a0@gateway/web/freenode/ip.86.162.226.160] has joined
#go-nuts
12:39 -!- boscop [~boscop@f055113077.adsl.alicedsl.de] has joined #go-nuts
12:41 < JHaskly> What would be the best way to create a Pixel (without using
a struct initializer) without receiving a Pointer?
12:41 < aiju> why without a struct initializer?
12:41 < aiju> struct initializers are the way to go
12:41 < JHaskly> Ok
12:42 < JHaskly> It's just that initializing those structs means creating a
superfluous NRGBA64Color (I think)
12:43 -!- kashia_ [~Kashia@2001:0:53aa:64c:0:3260:b017:897e] has quit [Read error:
Operation timed out]
12:43 < aiju> Pixel{} is just what it means to create a Pixel
12:44 < JHaskly> Ah
12:44 < aiju> &Pixel{} is equivalent to new(Pixel)
12:44 < JHaskly> Ok, that makes sense
12:44 < JHaskly> I'm too new to this :P
12:45 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Remote host closed
the connection]
12:45 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
12:46 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
12:46 < JHaskly> Ah, great
12:47 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:47 < aiju> you might want your Iterate methods work on pointers
nevertheless
12:48 -!- leeeeeeee [~user@nat/cisco/x-kvxybpfcutnxjeju] has joined #go-nuts
12:49 -!- kashia_ [~Kashia@p4FE87B9C.dip.t-dialin.net] has joined #go-nuts
12:49 < leeeeeeee> hi!
12:49 < JHaskly> So, in the Canvas.Iterate function, use p := &c...  ?
12:51 -!- Boney_ [~paul@124-168-218-184.dyn.iinet.net.au] has joined #go-nuts
12:53 < JHaskly> Rather than p := c...
12:54 -!- Boney [~paul@124-168-100-192.dyn.iinet.net.au] has quit [Ping timeout:
276 seconds]
12:54 < aiju> yeah
12:55 < leeeeeeee> anyone going to fosdem over the weekend?
12:55 < JHaskly> aiju, thanks for all the help!  :D
12:56 -!- niemeyer [~niemeyer@187.91.47.18] has joined #go-nuts
12:59 < JHaskly> I just tried to run the program with the slice size as 16
million, and I got: mmap: errno=0xc
12:59 < JHaskly> throw: mmap
12:59 < JHaskly> throw: malloc/free - deadlock
12:59 < JHaskly> double panic
13:00 < JHaskly> Is this just because it's too large a slice?
13:01 -!- hypertux [~legasse@vps1.joelegasse.com] has joined #go-nuts
13:01 < JHaskly> It seems not to like anything over 3700^2
13:04 -!- creack [~charme_g@163.5.84.215] has quit [Ping timeout: 250 seconds]
13:05 < JHaskly> Actually, running it at 3700^2 it pretty much freezes up at
about two thirds of the way through initializing the Pixels
13:09 -!- hcl2 [~akuma@75.41.110.112] has joined #go-nuts
13:09 -!- JHaskly [~Juz30@c122-108-245-123.kelvn3.qld.optusnet.com.au] has left
#go-nuts []
13:11 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts
13:12 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
13:12 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
13:14 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
13:16 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
13:22 -!- shvntr [~shvntr@123.89.110.17] has quit [Ping timeout: 276 seconds]
13:23 -!- shvntr [~shvntr@113.84.147.131] has joined #go-nuts
13:26 -!- hypertux [~legasse@vps1.joelegasse.com] has quit [Quit: leaving]
13:29 -!- XenoPhoenix [~Xeno@cpc13-aztw24-2-0-cust23.aztw.cable.virginmedia.com]
has quit [Ping timeout: 276 seconds]
13:29 -!- Ina [~Ina@62.140.137.128] has joined #go-nuts
13:31 -!- plainhao [~plainhao@208.75.85.237] has joined #go-nuts
13:33 -!- XenoPhoenix [~Xeno@cpc13-aztw24-2-0-cust23.aztw.cable.virginmedia.com]
has joined #go-nuts
13:37 -!- wrtp [~rog@92.17.35.133] has quit [Quit: wrtp]
13:37 -!- femtooo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
13:41 -!- lmoura [~lauromour@187.112.12.76] has joined #go-nuts
13:41 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Ping
timeout: 272 seconds]
13:42 < niemeyer> JusticeFries: A slice of what?
13:43 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
13:50 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
13:54 -!- MX80 [~MX80@cust223.253.117.74.dsl.g3telecom.net] has joined #go-nuts
13:57 < jnwhiteh> Afternoon =)
13:57 < leeeeeeee> morning
13:58 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 246 seconds]
13:58 < niemeyer> Lunch..
13:58 < leeeeeeee> what's new
14:00 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
14:02 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:07 -!- leeeeeeee [~user@nat/cisco/x-kvxybpfcutnxjeju] has quit [Ping timeout:
276 seconds]
14:09 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
14:11 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 255 seconds]
14:12 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:15 < plexdev> http://is.gd/QaFczB by [Adam Langley] in
go/src/pkg/crypto/openpgp/packet/ -- crypto/openpgp/packet: add public key support
14:18 -!- hypertux [~hypertux@vps1.joelegasse.com] has joined #go-nuts
14:19 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
14:23 -!- Ina [~Ina@62.140.137.128] has quit [Ping timeout: 246 seconds]
14:24 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
14:24 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
14:28 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Quit:
Leaving.]
14:31 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:42 -!- napsy_ [~luka@88.200.96.18] has joined #go-nuts
14:42 -!- nettok [~quassel@200.119.168.233] has joined #go-nuts
14:42 -!- iant [~iant@67.218.109.241] has joined #go-nuts
14:42 -!- mode/#go-nuts [+v iant] by ChanServ
14:43 -!- qjcg [~qjcg@208.88.110.46] has left #go-nuts []
14:44 -!- Nitro [~Nitro@unaffiliated/nitro] has joined #go-nuts
14:47 -!- wmat [~btraynor@gromit.mixdown.ca] has left #go-nuts []
14:55 -!- iant [~iant@67.218.109.241] has quit [Ping timeout: 240 seconds]
14:55 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
14:55 -!- iant [~iant@216.239.45.130] has joined #go-nuts
14:55 -!- mode/#go-nuts [+v iant] by ChanServ
14:58 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
15:00 -!- DerHorst [~Horst@e176099083.adsl.alicedsl.de] has joined #go-nuts
15:02 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
15:02 -!- _nil [~aiden@c-24-147-65-44.hsd1.ma.comcast.net] has quit [Remote host
closed the connection]
15:06 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
15:07 -!- _nil [~caine@c-24-147-65-44.hsd1.ma.comcast.net] has joined #go-nuts
15:09 -!- cafesofie [~cafesofie@69-214-171-3.ded.ameritech.net] has joined
#go-nuts
15:09 -!- wrtp [~rog@92.17.35.133] has joined #go-nuts
15:14 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
15:16 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
15:21 -!- cafesofie [~cafesofie@69-214-171-3.ded.ameritech.net] has quit [Remote
host closed the connection]
15:25 -!- napsy_ [~luka@88.200.96.18] has quit [Quit: Lost terminal]
15:27 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has joined #go-nuts
15:31 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
15:32 -!- shvntr [~shvntr@113.84.147.131] has quit [Ping timeout: 240 seconds]
15:34 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
15:41 -!- Urtie [~urtie@90-227-159-22-no57.tbcn.telia.com] has quit [Ping timeout:
250 seconds]
15:46 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has joined #go-nuts
15:48 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
15:53 < skelterjohn> wrtp: i've gone through some iterations with gb, if
you're interested in taking a look
15:57 -!- emjayess [~emjayess@pix1.i29.net] has joined #go-nuts
15:57 -!- iant [~iant@216.239.45.130] has quit [Quit: Leaving.]
16:00 < wrtp> skelterjohn: yes, glad to
16:01 < skelterjohn> i also significantly updated the doc on the website
16:01 < skelterjohn> but the main things you said were lacking, having to do
with working w/ GOROOT, are in
16:01 < skelterjohn> gb will treat things located in the goroot as special,
and know how to name them correctly
16:02 < skelterjohn> and you can use -R when working from outside to tell gb
to update things in goroot as well
16:02 < skelterjohn> at the very bottom of the web page there are some
examples of that
16:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-149-117.clienti.tiscali.it] has
joined #go-nuts
16:02 -!- Ina [~Ina@524AF477.cm-4-3d.dynamic.ziggo.nl] has joined #go-nuts
16:02 -!- tvw [~tv@e176005006.adsl.alicedsl.de] has quit [Remote host closed the
connection]
16:06 -!- Project_2501 [~Marvin@82.84.88.237] has quit [Ping timeout: 276 seconds]
16:06 -!- nettok_ [~quassel@200.119.159.171] has joined #go-nuts
16:06 -!- iant [~iant@nat/google/x-znlyrzpjxtfzcmcz] has joined #go-nuts
16:06 -!- mode/#go-nuts [+v iant] by ChanServ
16:06 < wrtp> i'm not sure that detecting a cgo file by finding ".c" or
cgo_*.c files is great.  better to detect any .go file that does import "C"...
16:07 < skelterjohn> that's on the todo list, actually
16:07 < skelterjohn> i feel like i say that a lot...
16:07 < skelterjohn> it's a long todo list
16:09 < skelterjohn> i don't recommend reading the gb source, btw...  it's a
mess and i'm in the process of cleaning it up
16:10 -!- nettok [~quassel@200.119.168.233] has quit [Ping timeout: 272 seconds]
16:12 -!- erus_ [56a2e2a0@gateway/web/freenode/ip.86.162.226.160] has quit [Quit:
Page closed]
16:12 -!- iant [~iant@nat/google/x-znlyrzpjxtfzcmcz] has quit [Ping timeout: 246
seconds]
16:12 -!- piranha [~piranha@5ED42E59.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
16:14 -!- TheMue [~TheMue@p5DDF6DE6.dip.t-dialin.net] has joined #go-nuts
16:15 < skelterjohn> oh - i actually do check if there is a dep "C" to say
it's cgo
16:15 < skelterjohn> but it will also think it's cgo if there are c source
files
16:16 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
16:16 -!- qjcg [~qjcg@208.88.110.46] has left #go-nuts []
16:19 < nsf> skelterjohn: Go can use 6c's C, without cgo
16:19 < nsf> import "C" thing is a better indicator
16:20 < skelterjohn> gb will rely on make to build if the package imports
"C" or has *.c, cgo_*.go, *.s
16:20 < skelterjohn> so maybe calling something with only *.c files is
misleading
16:20 < skelterjohn> but gb still treats it appropriately
16:22 < niemeyer> skelterjohn: To mimic the makefile infrastructure, if you
find import "C", any .c's are taken as gcc's
16:22 < skelterjohn> i'm confused
16:22 < niemeyer> skelterjohn: If there is no import "C", it's currently an
error to have other .c files as far as goinstall is concerned at least
16:23 < skelterjohn> why would it use gcc instead of 6c?
16:23 < niemeyer> skelterjohn: Sorry, to be clear, this is about goinstall's
behavior
16:23 < skelterjohn> goinstall supports cgo, now?
16:23 < niemeyer> skelterjohn: It does, since the last release
16:23 < skelterjohn> very cool - another item for my todo list
16:23 < niemeyer> skelterjohn: Or the one before the last, I forget
16:24 < skelterjohn> i try to keep gb consistent with goinstall
16:24 < niemeyer> skelterjohn: and it will do a better work with
arch/os-specific directives on the next one
16:24 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has joined
#go-nuts
16:25 < skelterjohn> niemeyer: a good way to do that i figure is to have
*_SomeArch* files only included for the right architecture
16:25 < skelterjohn> a lot of the source in goroot follows this rule
16:25 -!- iant [~iant@nat/google/x-jfcxyzrlqgaqyigb] has joined #go-nuts
16:25 -!- mode/#go-nuts [+v iant] by ChanServ
16:25 < niemeyer> skelterjohn: Potentially, but they are explicitly handled
in the Makefile
16:26 < skelterjohn> yes, but goinstall (and gb) doesn't get to work with
makefiles, so it needs a bit extra
16:26 < niemeyer> skelterjohn: What I was talking about is cgo directives
which work on both goinstall and the Makefile
16:26 < niemeyer> skelterjohn: and can be made to work in gb too
16:26 < skelterjohn> right - anything that goinstall does, gb will do
16:27 < skelterjohn> on the ML, russ said something about compiler
directives to help know what .so files to link
16:27 < niemeyer> skelterjohn: Right, that's what I'm talking about too
16:27 < skelterjohn> cool
16:28 < niemeyer> skelterjohn: http://golang.org/cmd/cgo/
16:28 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
16:36 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
16:36 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
16:43 -!- femtooo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
16:48 < plexdev> http://is.gd/IgwXNC by [Robert Griesemer] in go/doc/ -- go
spec, effective go: cleanups
16:48 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit
[Quit: JusticeFries]
16:56 -!- ggordan [~ggordan@91.106.49.200] has joined #go-nuts
17:01 -!- gits [~gits@77.94.219.158] has joined #go-nuts
17:07 -!- hypertux [~hypertux@vps1.joelegasse.com] has quit [Quit: leaving]
17:09 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
17:11 -!- ggordan [~ggordan@91.106.49.200] has quit [Quit: This computer has gone
to sleep]
17:13 -!- ggordan [~ggordan@91.106.49.200] has joined #go-nuts
17:16 -!- leeeeeeee [~user@85.234.197.29] has joined #go-nuts
17:20 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has joined #go-nuts
17:21 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has quit [Quit:
adu]
17:24 -!- jodaro [~user@poquito.divinia.com] has joined #go-nuts
17:25 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
17:25 -!- itrekkie [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has quit [Quit:
itrekkie]
17:26 -!- dRbiG [drbig@unhallowed.pl] has quit [Read error: Operation timed out]
17:29 -!- TheMue [~TheMue@p5DDF6DE6.dip.t-dialin.net] has quit [Quit: TheMue]
17:30 -!- dRbiG [drbig@unhallowed.pl] has joined #go-nuts
17:35 < plexdev> http://is.gd/OFjiQx by [Gustavo Niemeyer] in go/doc/ --
spec: fix Typeof() return type
17:36 -!- hypertux [~hypertux@vps1.joelegasse.com] has joined #go-nuts
17:38 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Quit: Leaving]
17:48 -!- ponce [~ponce@rps7623.ovh.net] has left #go-nuts []
17:52 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 250 seconds]
18:05 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has quit [Quit:
Leaving]
18:06 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has joined #go-nuts
18:06 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
18:16 < artefon> niemeyer, you sad goinstall is supporting cgo, do I have to
do something special?  when I try to goinstall my lib it seems that the c lib is
not being linked (undefined reference errors)
18:23 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
18:25 < skelterjohn> artefon: I think having goinstall support linking is
still in the future
18:26 < skelterjohn> for now, I think if your function is defined in a C
source you include, goinstall can bring it in via cgo
18:26 < skelterjohn> i haven't actually tried this...just jumping to
conclusions
18:27 < artefon> skelterjohn, makes sense though
18:27 < artefon> :)
18:28 < niemeyer> skelterjohn: No, it works now
18:28 < niemeyer> artefon: You have to do something specific, hold on
18:28 < niemeyer> artefon: Check this: http://golang.org/cmd/cgo/
18:30 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Ping
timeout: 245 seconds]
18:30 < artefon> niemeyer, this went unnoticed
18:30 < artefon> niemeyer, thanks a lot!
18:30 < niemeyer> artefon: np!
18:31 -!- keithcascio [~keithcasc@nat/google/x-fchxeeptsjuuohta] has joined
#go-nuts
18:34 -!- tvw [~tv@e176005006.adsl.alicedsl.de] has joined #go-nuts
18:41 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
18:48 -!- decaf [~mehmet@95.7.189.229] has joined #go-nuts
18:52 -!- leeeeeeee [~user@85.234.197.29] has quit [Ping timeout: 255 seconds]
18:54 -!- snearch [~snearch@f053010222.adsl.alicedsl.de] has joined #go-nuts
18:55 -!- jdp__ [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
18:55 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
19:00 -!- dforsyth [~dforsyth@bastion.inap.yelpcorp.com] has joined #go-nuts
19:08 < jodaro> "go will go the way of the dodo unless easy install package
is ..."
19:08 < jodaro> wow
19:08 < jodaro> just read that
19:08 < jodaro> funny, i feel totally the opposite
19:08 -!- leeeeeeee [~user@85.234.197.29] has joined #go-nuts
19:08 < jodaro> i love having things like goinstall and godoc that are just
included and ready to rock
19:09 < jodaro> maybe its a windows thing
19:09 -!- niemeyer [~niemeyer@187.91.47.18] has quit [Ping timeout: 272 seconds]
19:10 < leeeeeeee> i love goftm!
19:10 < leeeeeeee> go fmt!
19:11 < skelterjohn> it's useful, yeah
19:12 < leeeeeeee> :-)
19:15 -!- skelterjohn [~jasmuth@lawn-gw.rutgers.edu] has quit [Quit: skelterjohn]
19:16 < mpl> jodaro: he probably was just trolling for the lulz.  I can't
imagine any real programmer thinking that way.
19:17 -!- leeeeeeee [~user@85.234.197.29] has quit [Ping timeout: 272 seconds]
19:18 < jodaro> yeah
19:18 -!- fabled [~fabled@mail.fi.jw.org] has quit [Quit: Ex-Chat]
19:21 -!- Project_2501 [~Marvin@82.84.83.75] has joined #go-nuts
19:21 -!- niemeyer [~niemeyer@201-66-207-103.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
19:21 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
19:22 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has quit [Remote
host closed the connection]
19:22 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X]
19:24 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-149-117.clienti.tiscali.it] has
quit [Ping timeout: 240 seconds]
19:30 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
19:31 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 240 seconds]
19:35 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 240 seconds]
19:37 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
19:38 < plexdev> http://is.gd/3lYqZo by [Russ Cox] in go/src/pkg/runtime/ --
runtime: fix asm.h on Windows
19:38 < plexdev> http://is.gd/jFBZr6 by [Russ Cox] in 3 subdirs of go/src/
-- build: allow clean.bash to work on fresh checkout
19:38 < plexdev> http://is.gd/zepWnN by [Yuval Pavel Zholkover] in 2 subdirs
of go/src/cmd/ -- 8l: fix crash writing Plan 9 binaries
19:42 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
19:42 -!- Project-2501 [~Marvin@82.84.71.15] has joined #go-nuts
19:43 -!- photron [~photron@port-92-201-120-86.dynamic.qsc.de] has joined #go-nuts
19:44 -!- Project_2501 [~Marvin@82.84.83.75] has quit [Ping timeout: 245 seconds]
19:51 -!- qjcg [~qjcg@208.88.110.46] has joined #go-nuts
19:58 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
20:20 < Xenith> jodaro: Where was that from?
20:20 < Xenith> Oh, nevermind.  There's the thread.
20:21 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
20:22 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
20:23 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 276 seconds]
20:23 -!- shvntr [~shvntr@123.89.110.17] has quit [Quit: leaving]
20:24 -!- dahankzter1 [~henrik@92-244-3-192.customers.ownit.se] has joined
#go-nuts
20:24 -!- snearch [~snearch@f053010222.adsl.alicedsl.de] has quit [Quit:
Verlassend]
20:25 -!- dahankzter [~henrik@92-244-3-192.customers.ownit.se] has quit [Read
error: Connection reset by peer]
20:26 -!- Project-2501 [~Marvin@82.84.71.15] has quit [Read error: Connection
reset by peer]
20:26 -!- Project-2501 [~Marvin@82.84.71.15] has joined #go-nuts
20:27 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined
#go-nuts
20:30 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has joined
#go-nuts
20:31 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
20:32 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has joined
#go-nuts
20:32 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has quit
[Changing host]
20:32 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
20:33 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
20:35 -!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]
20:35 -!- virtualsue [~chatzilla@nat/cisco/x-hwhipbpohisoooku] has quit [Ping
timeout: 255 seconds]
20:41 -!- DerHorst [~Horst@e176099083.adsl.alicedsl.de] has quit [Remote host
closed the connection]
20:44 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Read error:
Operation timed out]
20:45 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
21:02 -!- nsfx [~nsfx@pool-96-225-70-167.nwrknj.fios.verizon.net] has quit [Ping
timeout: 240 seconds]
21:07 -!- nsfx [~nsfx@pool-96-225-70-167.nwrknj.fios.verizon.net] has joined
#go-nuts
21:08 -!- qjcg [~qjcg@208.88.110.46] has quit [Quit: qjcg]
21:09 -!- napsy [~luka@88.200.96.18] has quit [Read error: No route to host]
21:12 -!- Project-2501 [~Marvin@82.84.71.15] has quit [Read error: Connection
reset by peer]
21:13 -!- Project-2501 [~Marvin@82.84.71.15] has joined #go-nuts
21:18 -!- Project-2501 [~Marvin@82.84.71.15] has quit [Read error: Connection
reset by peer]
21:18 -!- Project-2501 [~Marvin@82.84.71.15] has joined #go-nuts
21:24 -!- dahankzter1 [~henrik@92-244-3-192.customers.ownit.se] has quit [Remote
host closed the connection]
21:25 < plexdev> http://is.gd/Q7ORDF by [Rob Pike] in go/src/pkg/fmt/ --
scan: permit base prefixes 0nnn and 0xnn when scanning
21:38 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
21:53 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
21:55 -!- illya77 [~illya77@245-213-112-92.pool.ukrtel.net] has joined #go-nuts
21:56 -!- ggordan [~ggordan@91.106.49.200] has quit [Quit: Leaving]
21:59 -!- _jgr [~jgr@CPE-123-211-173-81.lnse3.woo.bigpond.net.au] has joined
#go-nuts
21:59 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
21:59 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
22:08 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
22:08 -!- illya77 [~illya77@245-213-112-92.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
22:17 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Read error: Connection reset by peer]
22:19 < _jgr> so opening braces can't be on their own line?
22:20 < homa_rano> nope
22:20 < _jgr> :(
22:20 < homa_rano> if everyone gets used to the canonical gofmt syntax,
there's hopefully less friction on collaboration
22:21 < aiju> it's not a bug, it's a feature!
22:21 < homa_rano> it's at least better than how javascript allows
alternative syntaxes, and occasionally generates very different code than what
you're thinking
22:23 < _jgr> that seems like a silly restriction
22:24 < _jgr> besides, in collaboration code can be reformatted with the
myriad of tools available to do so
22:24 < aiju> _jgr: it was not as much a deliberate restriction as a result
of another feature
22:24 < aiju> namely automatic semicolon placing
22:25 < jodaro> being knee deep in a c++ project where every library uses a
different style, i have to say i welcome there being one way and one way only in
go
22:26 < jodaro> at least with regard to formatting
22:26 < aiju> being knee deep in C++ sounds like being knee deep in feces
and innards
22:26 -!- jbooth1 [~jay@209.249.216.2] has left #go-nuts []
22:27 < exch> gofmt is a godsend imho
22:27 < Xenith> gofmt is great
22:27 -!- gmilleramilar [~gmiller@38.104.67.234] has quit [Ping timeout: 260
seconds]
22:28 < Xenith> No more giant style document for my projects!
22:28 < _jgr> why is it great :/
22:29 < aiju> it also stops silly stupid bikeshed discussions
22:29 < jodaro> aiju: could be similar, yeah
22:29 < aiju> and encourages people to do real work instead of formatting
source code and flaming about how to do it
22:31 < jodaro> yeah
22:32 < jodaro> or at least the get real work done by playing with Go
instead of doing their real work
22:32 < exch> Having to read other peoepl's code, I usually spend half an
hour reformatting it to my own style before I actually read it.  With gofmt there
is no more need for that
22:33 < _jgr> lol..
22:33 < _jgr> there are code reformatters for other languages
22:33 < jodaro> i just realized that godoc will add the docs for the
packages i've install
22:33 < jodaro> ed
22:33 < jodaro> that?  is awesome.
22:33 < jodaro> in http mode, i mean
22:34 < exch> _jgr: i'm sure there are.  But with Go, it comes standard
issue.
22:34 < exch> which greatly encourages people to actually use it as opposed
to having to download/install it from some third party source
22:35 < jodaro> our perl guys use perltidy
22:35 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:35 < jodaro> and then they argue about which options to use
22:35 < exch> ha
22:36 < exch> Good thing then gofmt doesn't really any options to speak of.
22:36 < exch> +have
22:36 < Xenith> I have to revert changes to .indentpro quite often.  :)
22:36 < jodaro> i intentionally mix spaces, tabs, and move braces around and
whatnot just to see them get all worked up about it
22:36 < exch> hehe
22:36 < exch> sadist ;p
22:36 < jodaro> its like my own little experiment
22:36 < aiju> 23:33 < exch> Having to read other peoepl's code, I
usually spend half an hour reformatting it to my own style before I actually read
it.  With gofmt there is no more need for that
22:36 < aiju> really?
22:37 < exch> yes
22:37 < jodaro> oh sure, but they are the ones using perl in the first place
22:37 < aiju> i literally never have to reformat source to read it, no
matter what style
22:37 < jodaro> i can't be blamed 100%
22:37 < exch> I'm very anal like that :p
22:37 < aiju> i've read simh code
22:37 < exch> jodaro: good point
22:37 < aiju> which has a very peculiar "indent-less" style
22:37 < jodaro> so i'm confused
22:37 < jodaro> why does go need an installer on windows
22:38 < jodaro> can't you just do it like you would on linux?
22:38 -!- gmilleramilar [~gmiller@38.104.67.234] has joined #go-nuts
22:38 < exch> It doesnt, except for that one pedantic windows user who found
the mailing list
22:38 < jodaro> ok
22:38 < aiju> you mean forcing people to install bash?
22:38 < exch> apparently he can't really handle anything that requires more
effort than a single button press
22:39 < aiju> exch: those are mac users
22:39 < aiju> Windows users *can* handle multiple button presses, you just
need to label the button "next"
22:39 < exch> lol
22:40 < aiju> or "I accept"
22:40 < exch> I'll just stick with my shell
22:40 < aiju> JCL was the best interfaces
22:47 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
22:53 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
22:53 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
22:54 -!- artefon [~thiagon@150.164.2.20] has quit [Quit: Leaving]
22:59 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
23:01 -!- wrtp [~rog@92.17.35.133] has quit [Quit: wrtp]
23:03 -!- decaf [~mehmet@95.7.189.229] has quit [Remote host closed the
connection]
23:06 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Quit:
Computer has gone to sleep.]
23:07 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Read error:
Connection reset by peer]
23:07 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
23:09 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
23:13 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
23:14 -!- creack [~charme_g@163.5.84.215] has quit [Ping timeout: 240 seconds]
23:16 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts
23:19 -!- emjayess [~emjayess@pix1.i29.net] has quit [Quit: Leaving]
23:23 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has quit
[Quit: JusticeFries]
23:23 -!- franksalim [~frank@99-123-6-19.lightspeed.sntcca.sbcglobal.net] has
joined #go-nuts
23:24 -!- j3parker [j3parker@artificial-flavours.csclub.uwaterloo.ca] has joined
#go-nuts
23:26 < j3parker> are package names not supposed to seperate code internally
in a project?
23:26 < aiju> packages are libraries
23:27 < Namegduf> They are, for a sufficiently large project.
23:27 < plexdev> http://is.gd/FbPJDg by [Rob Pike] in go/src/pkg/template/
-- template: allow a leading '*' to indicate that evaulation should
23:28 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has joined
#go-nuts
23:28 < MaybeSo> generally I think I've seen folks split sub-components of
libraries into different files that share the same package name, and use public
and private names for further organization
23:28 < MaybeSo> beyond a certain size they use multiple packages, separate
projects
23:28 < j3parker> i want something like this: http://pastebin.com/snhVG3rg
23:29 < Namegduf> You can do that.
23:29 < Namegduf> You need to capitalise baz as Baz so it's public.
23:29 < j3parker> ok, i must be doing the compilation wrong then - what
would the line to 6g be to build that into one executable?
23:29 < j3parker> (6g/6l)
23:29 < j3parker> er yeah :P
23:29 < Namegduf> You would need to build them separately.
23:30 < aiju> you need to write bar.Baz()
23:30 < Namegduf> That too.
23:30 < Namegduf> The non-main packages get made into a .a file
23:30 < j3parker> heh, whoops that too.
23:30 < aiju> or use import . (or similar), but that's discouraged
23:30 < j3parker> ah, meh
23:30 < Namegduf> Which needs to be in the search path of 6l when linking
the main one.
23:31 < j3parker> i guess i am thinking too c/c++ like
23:31 < Namegduf> A package per file is not generally the right way to do
it.
23:31 < Namegduf> Perhaps too C++ like.
23:31 < Namegduf> Packages are not classes; they're bigger.
23:31 < j3parker> yeah, i was thinking one pakcage per file.
23:31 < aiju> j3parker: if you're new, fuck writing packages
23:31 < j3parker> thanks
23:31 < aiju> just pack everything into the main package
23:32 < Namegduf> Packages are a significant block of functionality, similar
to what you might call a module of a program if you were writing C
23:32 < Namegduf> They cannot have circular dependencies.
23:32 < j3parker> ah, ok, that is important.
23:32 < j3parker> main it is :) thanks guys
23:32 < Namegduf> No problem.
23:33 < rm445> by the way you don't need to compile packages into a .a -- a
.6 (or .5 or .8) will do
23:35 < rm445> if you DO want to compile two packages, you just compile the
non-main one with 6g (or whatever), then the main one, then just 6l main.6
23:38 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:39 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has joined
#go-nuts
23:41 < skelterjohn> evening
23:44 < plexdev> http://is.gd/DUmDRJ by [Robert Griesemer] in
go/src/cmd/gofmt/ -- gofmt: no need for lexical compare of src and res
(optimization)
23:45 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
23:47 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
23:50 -!- Project-2501 [~Marvin@82.84.71.15] has quit [Quit: E se abbasso questa
leva che succ...]
23:51 -!- kr [~kr@c-24-5-193-165.hsd1.ca.comcast.net] has joined #go-nuts
23:51 -!- nettok [~quassel@200.119.159.171] has joined #go-nuts
23:52 -!- nettok_ [~quassel@200.119.159.171] has quit [Ping timeout: 240 seconds]
23:53 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Quit:
Computer has gone to sleep.]
23:55 -!- cafesofie [~cafesofie@ool-4a5978f2.dyn.optonline.net] has joined
#go-nuts
--- Log closed Sat Feb 05 00:00:05 2011