--- Log opened Sun Jan 02 00:00:01 2011
00:05 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
00:10 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Remote
host closed the connection]
00:11 -!- tylergillies [~quassel@unaffiliated/tylergillies] has quit [Ping
timeout: 255 seconds]
00:15 -!- _DerHorst_ [~Horst@e176106175.adsl.alicedsl.de] has joined #go-nuts
00:18 -!- DerHorst [~Horst@e176101044.adsl.alicedsl.de] has quit [Ping timeout:
240 seconds]
00:24 -!- tjgillies [~quassel@204-232-205-180.static.cloud-ips.com] has joined
#go-nuts
00:24 -!- ios_ [~ios@180.191.32.215] has joined #go-nuts
00:32 -!- Scorchin [~Scorchin@host86-145-52-138.range86-145.btcentralplus.com] has
quit [Quit: Scorchin]
00:40 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined
#go-nuts
00:41 -!- Santeh [~jacob@212.242.211.127] has joined #go-nuts
00:41 < hallas> noob!  :)
00:41 < Santeh> så er det godt du
00:49 < cbeck> I'm working on packaging Go for my school's systems.  (We use
a homebrewed packaging system for things like Go).
00:49 < cbeck> I'm trying to figure out the best way to deal with pkgs
00:50 < cbeck> Namely that J. User obviously won't have write perms for the
shared package tree
00:53 < cbeck> I wrote a script which wraps the compilers and creates a fake
pkg heirarchy in the user's homedir with symlinks
00:54 < cbeck> It seems to work, but eats ~500k
00:54 < cbeck> Ideas of other ways to do it?  Suggestions?  Abuse?
00:58 -!- iant [~iant@216.239.45.130] has joined #go-nuts
00:59 -!- mode/#go-nuts [+v iant] by ChanServ
01:03 -!- boscop [~boscop@g226225253.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
01:04 -!- boscop [~boscop@g226225253.adsl.alicedsl.de] has joined #go-nuts
01:05 -!- boscop [~boscop@g226225253.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
01:08 -!- skejoe_ [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
01:29 -!- gid [~gid@220.253-236-148.VIC.netspace.net.au] has joined #go-nuts
01:29 -!- bgentry_ [~bgentry@75.85.173.206] has joined #go-nuts
01:30 -!- shvntr [~shvntr@116.26.132.70] has joined #go-nuts
01:31 -!- bgentry [~bgentry@75.85.173.206] has quit [Ping timeout: 240 seconds]
01:34 -!- smnbn [~goofy@12.68.149.131] has joined #go-nuts
01:41 < uriel> cbeck: ~500K doesn't seem a significant amount of space in
this day and age
01:41 < uriel> if it works for you, should be fine
01:42 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined
#go-nuts
01:43 < smnbn> can't seem to cast *struct to interface, yet assigning to
interface var works: https://gist.github.com/762182 any ideas?
01:43 -!- binarypie_ [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined
#go-nuts
01:45 < cbeck> uriel: It's not a lot of space certainly, but students only
get 1G of quota
01:47 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit
[Ping timeout: 250 seconds]
01:47 < cbeck> smnbn: That's a type assertion, not a cast
01:47 < smnbn> goodness me I thought it was an explicit cast
01:47 < cbeck> A cast would be FooWriter(bw)
01:48 < cbeck> A type assertion lets you cast an interface object to it's
concrete type
01:48 < smnbn> cbeck: that clears up my confusion.  many thanks.
01:48 < cbeck> s/it's/its/
01:48 < cbeck> 'course
01:56 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has joined
#go-nuts
02:23 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has left
#go-nuts []
02:27 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
02:31 -!- daxt [~daxt@112.135.64.223] has joined #go-nuts
02:32 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276
seconds]
02:35 -!- daxt_ [~daxt@112.135.82.89] has joined #go-nuts
02:35 -!- daxt [~daxt@112.135.64.223] has quit [Ping timeout: 240 seconds]
02:37 < KBme> i have really weird stuff happening with tickers, anyone got
an idea how to debug?
02:37 -!- smnbn [~goofy@12.68.149.131] has quit [Remote host closed the
connection]
02:38 < KBme> i'm using time.NewTicker extensively throughout my code (with
Stop() wherever necessary), and i'm getting random big inaccuracies, like for a
tick that should come in 2 seconds it comes in 10-20 or even more seconds
02:39 < uriel> cbeck: 500K is 0.005% of that quota
02:39 < uriel> er, 0.05% anyway...
02:40 < cbeck> I know, I'm just bing anal
02:40 < uriel> heh
02:45 < cbeck> Anywho, ideas or constructive criticism to improve the
following is very welcome
02:46 < cbeck> Update script: http://paste.pocoo.org/show/312972/
02:46 < cbeck> [568]g wrapper script: http://paste.pocoo.org/show/312973/
02:46 < cbeck> That wrapper is a template, it gets sed'd in the update
script
02:47 < Namegduf> KBme: Is there significant system load?
02:48 < Namegduf> It could be that the process isn't being scheduled.
02:48 < Namegduf> 102-0 would be extreme, though.
02:48 < Namegduf> *10-20
02:58 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
03:01 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
03:04 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined
#go-nuts
03:19 -!- daxt_ [~daxt@112.135.82.89] has quit [Remote host closed the connection]
03:20 -!- _DerHorst_ [~Horst@e176106175.adsl.alicedsl.de] has quit [Remote host
closed the connection]
03:21 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
03:24 < adu> hi nsf
03:24 < nsf> hi
03:25 < adu> how goes?
03:25 < nsf> fine
03:25 < adu> any plans?
03:25 < KBme> Namegduf: yeah, not *that* significant system load :D
03:25 < nsf> nope :)
03:26 * adu needs a plan
03:28 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 240
seconds]
03:30 -!- xash [~xash@d142245.adsl.hansenet.de] has quit [Ping timeout: 246
seconds]
03:33 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
03:54 -!- ios_ [~ios@180.191.32.215] has quit [Quit: Leaving]
04:02 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has joined
#go-nuts
04:11 -!- smnbn [~goofy@12.68.149.131] has joined #go-nuts
04:18 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
04:18 -!- smnbn [~goofy@12.68.149.131] has quit [Remote host closed the
connection]
04:21 -!- smnbn [~goofy@12.68.149.131] has joined #go-nuts
04:27 -!- binarypie [~binarypie@c-24-130-113-34.hsd1.ca.comcast.net] has quit
[Ping timeout: 246 seconds]
04:30 -!- smnbn [~goofy@12.68.149.131] has quit [Quit: leaving]
04:30 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:32 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
04:43 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
04:44 -!- nettok [~quassel@200.119.184.59] has joined #go-nuts
04:48 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
04:48 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
04:48 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
04:50 < cbeck> Anyone else get "Syntax error: word unexpected (expecting
")")" when attempting to build cgo projects in 12-22?
04:53 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
04:53 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
04:55 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
04:56 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
04:58 -!- boscop_ [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
04:58 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
05:08 -!- boscop_ [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
05:10 -!- boscop_ [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
05:12 -!- boscop_ [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
05:12 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
05:17 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
05:18 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
05:29 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
05:30 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
05:39 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
05:41 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has joined #go-nuts
05:42 -!- boscop [~boscop@g226238010.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
05:51 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
05:51 -!- noktoborus [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 240 seconds]
05:58 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
06:04 -!- bgentry [~bgentry@75.85.173.206] has quit [Remote host closed the
connection]
06:04 -!- bgentry [~bgentry@75.85.173.206] has joined #go-nuts
06:13 -!- boscop [~boscop@f050128225.adsl.alicedsl.de] has joined #go-nuts
06:13 -!- gid [~gid@220.253-236-148.VIC.netspace.net.au] has quit [Quit: Leaving.]
06:22 -!- Urtie [~kim@90-227-159-22-no57.tbcn.telia.com] has quit [Ping timeout:
276 seconds]
06:26 -!- DarthShrine [~angus@58-6-93-222.dyn.iinet.net.au] has joined #go-nuts
06:26 -!- DarthShrine [~angus@58-6-93-222.dyn.iinet.net.au] has quit [Changing
host]
06:26 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
06:53 -!- kanru1 [~kanru@61-228-157-40.dynamic.hinet.net] has quit [Read error:
Connection reset by peer]
06:58 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
07:22 -!- bgentry_ [~bgentry@75.85.173.206] has joined #go-nuts
07:22 -!- bgentry [~bgentry@75.85.173.206] has quit [Read error: Connection reset
by peer]
07:25 -!- illya77 [~illya77@29-118-133-95.pool.ukrtel.net] has joined #go-nuts
07:34 -!- bgentry [~bgentry@75.85.173.206] has quit [Read error: Connection reset
by peer]
07:34 -!- bgentry [~bgentry@75.85.173.206] has joined #go-nuts
07:35 -!- bgentry [~bgentry@75.85.173.206] has quit [Read error: Connection reset
by peer]
07:35 -!- bgentry_ [~bgentry@75.85.173.206] has joined #go-nuts
07:37 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
07:47 < tjgillies> how can i reverse a slice?
07:47 < tjgillies> so 0 is the last item
07:52 < vsmatck> tjgillies:
http://en.wikipedia.org/wiki/In-place_algorithm#Examples
07:53 < vsmatck> I found that by searching for "reverse array algorithm" on
google.
07:54 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:55 < tjgillies> thnx
07:55 < tjgillies> still learning differences between array/slice
07:57 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
08:20 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
08:34 < adu> I did it!
08:35 < adu> http://hackage.haskell.org/package/language-go
08:35 -!- bgentry_ [~bgentry@75.85.173.206] has joined #go-nuts
08:39 -!- bgentry [~bgentry@75.85.173.206] has quit [Ping timeout: 240 seconds]
08:42 -!- tvw [~tv@e176008065.adsl.alicedsl.de] has joined #go-nuts
08:56 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:01 -!- photron_ [~photron@port-92-201-27-142.dynamic.qsc.de] has joined
#go-nuts
09:03 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
09:07 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
09:07 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:10 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
09:14 -!- xash [~xash@d073143.adsl.hansenet.de] has joined #go-nuts
09:19 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
09:20 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-161-127.clienti.tiscali.it] has
joined #go-nuts
09:26 -!- Santeh [~jacob@212.242.211.127] has quit [Quit: Lost terminal]
09:43 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
09:43 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
09:52 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
09:52 < taruti> iant: any idea when will swig be back working?
09:58 -!- nettok [~quassel@200.119.184.59] has quit [Ping timeout: 276 seconds]
10:03 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
10:09 -!- bgentry [~bgentry@75.85.173.206] has quit [Quit: bgentry]
10:24 -!- 50UAABS9W [clip9@er.en.svarteper.com] has quit [Read error: Operation
timed out]
10:31 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
10:31 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
10:31 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
10:34 -!- clip9 [clip9@er.en.svarteper.com] has joined #go-nuts
10:38 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
10:41 -!- clip9 [clip9@er.en.svarteper.com] has quit [Ping timeout: 276 seconds]
10:41 -!- femtooo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
10:43 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Ping timeout:
240 seconds]
10:44 -!- boscop [~boscop@f050128225.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
10:45 -!- boscop [~boscop@f050128225.adsl.alicedsl.de] has joined #go-nuts
10:48 -!- Tbb___ [~tbb__@HSI-KBW-109-193-105-152.hsi7.kabel-badenwuerttemberg.de]
has joined #go-nuts
10:54 -!- clip9 [clip9@er.en.svarteper.com] has joined #go-nuts
11:00 -!- piranha_ [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined
#go-nuts
11:00 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Read
error: Connection reset by peer]
11:11 -!- femtooo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Ping
timeout: 260 seconds]
11:12 -!- Scorchin [~Scorchin@host86-135-214-19.range86-135.btcentralplus.com] has
joined #go-nuts
11:15 -!- shvntr [~shvntr@116.26.132.70] has quit [Ping timeout: 260 seconds]
11:16 -!- shvntr [~shvntr@116.26.132.70] has joined #go-nuts
11:33 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has quit [Quit:
adu]
11:35 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has joined
#go-nuts
11:52 -!- xash [~xash@d073143.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
11:53 -!- wrtp [~rog@88.210.132.85] has quit [Quit: wrtp]
11:55 -!- stalled [~stalled@unaffiliated/stalled] has quit [Quit: ...]
11:57 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
11:58 -!- wrtp [~rog@88.210.132.85] has joined #go-nuts
12:10 < uriel> taruti: if I had to guess, in a week or two
12:10 -!- gid [~gid@220.253-236-148.VIC.netspace.net.au] has joined #go-nuts
12:14 -!- wrtp [~rog@88.210.132.85] has quit [Ping timeout: 246 seconds]
12:22 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
12:43 -!- go^lang [~newblue@113.84.228.35] has joined #go-nuts
12:59 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
13:00 -!- DerHorst [~Horst@e176106175.adsl.alicedsl.de] has joined #go-nuts
13:21 -!- tvw [~tv@e176008065.adsl.alicedsl.de] has quit [Read error: Connection
reset by peer]
13:37 -!- angasule_ [~angasule@190.2.33.49] has joined #go-nuts
13:44 -!- adu [~ajr@pool-173-66-253-179.washdc.fios.verizon.net] has quit [Quit:
adu]
13:54 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So
Long, and Thanks for All the Fish]
13:54 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
13:58 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
13:58 -!- ronny [~quassel@drsd-4dbd9c88.pool.mediaWays.net] has joined #go-nuts
13:58 -!- ios_ [~ios@180.191.128.188] has joined #go-nuts
14:06 -!- nsf [~nsf@jiss.convex.ru] has quit [Ping timeout: 276 seconds]
14:14 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 250 seconds]
14:20 -!- XenoPhoenix [~Xeno@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com]
has quit [Remote host closed the connection]
14:23 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Ping timeout: 240
seconds]
14:33 -!- DerHorst [~Horst@e176106175.adsl.alicedsl.de] has quit [Remote host
closed the connection]
14:38 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So
Long, and Thanks for All the Fish]
14:44 -!- boscop [~boscop@f050128225.adsl.alicedsl.de] has quit [Read error:
Connection reset by peer]
15:03 -!- shvntr [~shvntr@116.26.132.70] has quit [Ping timeout: 240 seconds]
15:05 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
15:25 -!- rlab [~Miranda@36-50-113-92.pool.ukrtel.net] has joined #go-nuts
15:33 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the
connection]
15:34 -!- gid [~gid@220.253-236-148.VIC.netspace.net.au] has quit [Quit: Leaving.]
15:49 < KBme> i found the bug in ticker!
15:49 < KBme> (i think :)
15:59 < taruti> :)
16:01 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:04 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Max SendQ exceeded]
16:04 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
16:10 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Read error: Connection
reset by peer]
16:24 -!- ios_ [~ios@180.191.128.188] has quit [Quit: Leaving]
16:27 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
16:37 -!- tvw [~tv@e176008065.adsl.alicedsl.de] has joined #go-nuts
16:38 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
16:45 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
16:46 -!- Sh4pe [~Sh4pe@p5083C9AE.dip.t-dialin.net] has joined #go-nuts
16:54 -!- Fish [~Fish@88.162.170.133] has joined #go-nuts
16:59 -!- femtooo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
16:59 -!- xash [~xash@d073143.adsl.hansenet.de] has joined #go-nuts
17:01 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Ping timeout:
240 seconds]
17:07 -!- fabled [~fabled@83.145.235.194] has quit [Read error: Operation timed
out]
17:09 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
17:10 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
17:23 -!- Sh4pe [~Sh4pe@p5083C9AE.dip.t-dialin.net] has quit [Quit: Sh4pe]
17:35 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
17:35 -!- camnaes [~sean@c-69-255-143-16.hsd1.md.comcast.net] has joined #go-nuts
17:37 -!- femtooo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
17:37 -!- rlab_ [~Miranda@21-244-95-178.pool.ukrtel.net] has joined #go-nuts
17:38 -!- wrtp [~rog@88.210.132.85] has joined #go-nuts
17:40 -!- rlab [~Miranda@36-50-113-92.pool.ukrtel.net] has quit [Ping timeout: 276
seconds]
17:47 -!- wrtp [~rog@88.210.132.85] has quit [Quit: wrtp]
17:50 -!- camnaes [~sean@c-69-255-143-16.hsd1.md.comcast.net] has quit [Quit:
camnaes]
17:51 -!- wrtp [~rog@88.210.132.85] has joined #go-nuts
17:52 -!- wrtp [~rog@88.210.132.85] has quit [Client Quit]
18:07 -!- WonTu [~WonTu@p57B572F3.dip.t-dialin.net] has joined #go-nuts
18:08 -!- WonTu [~WonTu@p57B572F3.dip.t-dialin.net] has left #go-nuts []
18:08 -!- foocraft [~dsc@89.211.107.85] has quit [Ping timeout: 255 seconds]
18:14 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
18:15 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
18:23 < cbeck> Any idea what could cause the following:
"/pkgs/golang/current/bin/cgo: 1: Syntax error: word unexpected (expecting ")")"
when attempting to make cgo projects?
18:28 * TheSeeker thought he saw a post somewhere about cgo being broken since the
lib change.
18:29 < dforsyth> is there a way to add headers to a http request before it
is sent?
18:29 < cbeck> TheSeeker: lib change?
18:30 < dforsyth> other than ripping send() out of client.go
18:33 < TheSeeker> wasn't libcgo removed recently?
18:34 < cbeck> I'm not sure
18:34 < cbeck> I'm going to try it with the 12-15 release
18:35 < cbeck> This is in a sort of odd env, so it may not be a cgo problem,
but I'm at a loss to explain it.
18:35 < cbeck> (See
http://groups.google.com/group/golang-nuts/msg/67ba0a2dbd278fc6)
18:36 < cbeck> So far everything works except cgo
18:38 -!- bgentry [~bgentry@75.85.173.206] has joined #go-nuts
18:47 -!- nettok [~quassel@200.119.168.190] has joined #go-nuts
18:54 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:10 -!- prip [~foo@host64-135-dynamic.43-79-r.retail.telecomitalia.it] has quit
[Remote host closed the connection]
19:11 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
19:13 -!- prip [~foo@host64-135-dynamic.43-79-r.retail.telecomitalia.it] has
joined #go-nuts
19:15 < cbeck> Looks like it's an issue with the 12-22 release, 12-15 works
19:15 -!- camnaes [~sean@c-69-255-143-16.hsd1.md.comcast.net] has joined #go-nuts
19:17 -!- angasule_ [~angasule@190.2.33.49] has quit [Remote host closed the
connection]
19:18 -!- camnaes [~sean@c-69-255-143-16.hsd1.md.comcast.net] has quit [Client
Quit]
19:20 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
19:33 -!- sxs [~sxs@dslb-188-104-178-168.pools.arcor-ip.net] has joined #go-nuts
19:43 -!- sxs [~sxs@dslb-188-104-178-168.pools.arcor-ip.net] has quit [Quit: sxs]
19:51 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-161-127.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
20:12 -!- foocraft [~dsc@89.211.107.85] has joined #go-nuts
20:24 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:fca8:618c:9195:66eb] has joined
#go-nuts
20:26 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has quit [Read error: Connection
reset by peer]
20:27 -!- LeNsTR [~lenstr@79.165.23.176] has joined #go-nuts
20:27 -!- LeNsTR [~lenstr@79.165.23.176] has quit [Changing host]
20:27 -!- LeNsTR [~lenstr@unaffiliated/lenstr] has joined #go-nuts
20:33 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
20:34 < raylu> so 56e39c466cc1 release.2010-12-08 works for my 32-bit system
but no release after that does
20:35 < raylu> with the error: https://pastee.org/7r4cw
20:36 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
20:40 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has joined #go-nuts
20:41 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
20:42 -!- Fish [~Fish@88.162.170.133] has quit [Quit: So Long, and Thanks for All
the Fish]
20:46 < cbeck> os?
20:46 < raylu> debian testing
20:46 < raylu> on my 64-bit debian testing machine all the releases build
fine
20:46 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
20:47 < raylu> wait...  i think i know the problem
20:47 < raylu> i'm using binutils-gold
20:49 < cbeck> Probably, 12-15 builds fine on my ubuntu 10.10 386 box
20:58 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has quit [Remote host closed the connection]
21:01 < raylu> yeah, that was it
21:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
21:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:07 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
21:09 -!- cafesofie [~cafesofie@dhcp-140-254-204-210.osuwireless.ohio-state.edu]
has joined #go-nuts
21:09 -!- illya77 [~illya77@29-118-133-95.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
21:16 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
21:19 -!- Guest15252 [~quassel@drsd-4dbd9c88.pool.mediaWays.net] has quit [Remote
host closed the connection]
21:19 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
21:23 -!- niemeyer__ [~niemeyer@189.30.51.90] has joined #go-nuts
21:25 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:26 -!- xash [~xash@d073143.adsl.hansenet.de] has quit [Ping timeout: 264
seconds]
21:32 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
21:32 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
21:32 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
21:34 -!- coldturnip1 [~COLDTURNI@118-166-67-145.dynamic.hinet.net] has joined
#go-nuts
21:35 -!- cafesofie [~cafesofie@dhcp-140-254-204-210.osuwireless.ohio-state.edu]
has quit [Remote host closed the connection]
21:36 -!- coldturnip [~COLDTURNI@118-166-80-142.dynamic.hinet.net] has quit [Ping
timeout: 250 seconds]
21:43 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
21:44 -!- rlab_ [~Miranda@21-244-95-178.pool.ukrtel.net] has quit [Quit: Miranda
IM! Smaller, Faster, Easier.  http://miranda-im.org]
21:44 -!- tvw [~tv@e176008065.adsl.alicedsl.de] has quit [Remote host closed the
connection]
21:45 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:47 -!- photron_ [~photron@port-92-201-27-142.dynamic.qsc.de] has quit [Read
error: Operation timed out]
21:49 -!- ronnyy [~quassel@drsd-4dbd9c88.pool.mediaWays.net] has joined #go-nuts
21:54 -!- bgentry [~bgentry@75.85.173.206] has quit [Ping timeout: 250 seconds]
21:55 -!- bgentry [~bgentry@75.85.173.206] has joined #go-nuts
21:56 -!- joatmon54 [~engest@cpe-66-74-195-46.san.res.rr.com] has joined #go-nuts
21:59 -!- ronnyy [~quassel@drsd-4dbd9c88.pool.mediaWays.net] has quit [Remote host
closed the connection]
22:01 -!- fabled [~fabled@83.145.235.194] has quit [Ping timeout: 264 seconds]
22:05 -!- skelterjohn_ [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
22:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
22:09 -!- bgentry [~bgentry@75.85.173.206] has quit [Quit: bgentry]
22:12 -!- femtoo [~femto@95-89-249-94-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
22:18 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:fca8:618c:9195:66eb] has quit
[Quit: Leaving.]
22:18 < tjgillies> how do you set a limit for ranging over a chan?  e.g func
foo(bar chan *sometype){ for thing := range bar {
22:19 < tjgillies> like say i only wanted the first 3 things
22:25 < cbeck> There's nothing builtin, you'd just need to increment a var
and use break, or not use range
22:25 -!- skelterjohn_ [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
22:25 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
22:26 -!- Fish [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
22:30 < tjgillies> cbeck: thnx
22:35 -!- joatmon54 [~engest@cpe-66-74-195-46.san.res.rr.com] has quit [Quit:
Ex-Chat]
22:41 -!- preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
22:44 -!- Netsplit *.net <-> *.split quits: Scorchin, ShadowIce,
coldturnip1, sav, piranha, devrim, MX80, homa_rano, Adys, preflex, (+15 more, use
/NETSPLIT to show all of them)
22:45 -!- Netsplit over, joins: MX80, niekie, jlouis, niemeyer__, piranha, LeNsTR,
devrim, ShadowIce, Scorchin, sav (+7 more)
22:45 -!- Netsplit over, joins: drry, skelterjohn
22:45 -!- drry [~drry@unaffiliated/drry] has quit [Excess Flood]
22:46 -!- Netsplit over, joins: foocraft, coldturnip1, nettok, htoothrot, segy
22:46 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
22:47 -!- virtualsue [~chatzilla@host81-139-101-46.in-addr.btopenworld.com] has
joined #go-nuts
22:54 -!- Netsplit *.net <-> *.split quits: djcapelis, rejb, bartbes, ukai_,
DarthShrine, c9s_, coldturnip1, htoothrot, felipe, grumpytoad, (+5 more, use
/NETSPLIT to show all of them)
22:56 < tjgillies> how do you get a string representation for a byteslice?
i don't want string([]byte("foobar")), i want what you see if you do
fmt.Println([]byte("foobar")) thinking theres an sprintf or something, need to
look at that
22:56 < aiju> doesn't string(byteslice) do exactly what you want?
22:57 -!- bartbes [~bartbes@love/developer/bartbes] has joined #go-nuts
22:57 < aiju> oh i see what you mean
22:58 -!- djcapelis [~djc@blender/coder/DJCapelis] has joined #go-nuts
22:58 < tjgillies> i want to get the actual byte representation as a string
22:58 -!- c9s [~c9s@59-126-64-204.HINET-IP.hinet.net] has joined #go-nuts
22:59 < exch> fmt.Sprintf("%v\n", mybyteslice)
22:59 < exch> %+v and %#v give progressively more verbose output
22:59 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
22:59 < exch> *fmt.Printf
22:59 -!- bgentry [~bgentry@75.85.173.206] has joined #go-nuts
23:00 < tjgillies> oh the "s" series of print returns a string, always why
there were called that heh (/me is new to static typed languages)
23:00 < tjgillies> s/always/always wondered/
23:01 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
23:01 < exch> Sprint returns a string, Fprint prints to the io.Writer you
supply and Print prints to os.Stdout (basically an alias for
fmt.Fprintf(os.Stdout, "foobar") )
23:03 -!- coldturnip1 [~COLDTURNI@118-166-67-145.dynamic.hinet.net] has joined
#go-nuts
23:03 -!- foocraft [~dsc@89.211.107.85] has joined #go-nuts
23:03 -!- nettok [~quassel@200.119.168.190] has joined #go-nuts
23:03 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
23:03 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
23:03 -!- TheSeeker [~n@99-153-250-110.lightspeed.irvnca.sbcglobal.net] has joined
#go-nuts
23:04 < tjgillies> exch: thnx
23:04 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
23:05 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
23:05 -!- skelterjohn_ [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:05 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
23:05 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
23:09 -!- go^lang [~newblue@113.84.228.35] has joined #go-nuts
23:10 -!- grumpytoad [~niel@t1004.greatnet.de] has joined #go-nuts
23:10 -!- preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has quit [Remote host
closed the connection]
23:11 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
23:22 -!- ukai_ [~ukai@nat/google/x-qdbxqqazkpbllgvq] has joined #go-nuts
23:24 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
23:26 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:27 -!- Netsplit *.net <-> *.split quits: Scorchin, sav, devrim, MX80,
homa_rano, Wiz126, Adys, aimxhaisse, niemeyer__, rickard2, (+8 more, use /NETSPLIT
to show all of them)
23:28 -!- Netsplit over, joins: MX80, niekie, jlouis, Guest55373, chressie,
Wiz126, niemeyer__, LeNsTR, devrim, Scorchin (+8 more)
23:30 -!- soapy_illusions [~alex@modemcable202.70-37-24.mc.videotron.ca] has
joined #go-nuts
23:32 -!- camnaes [~sean@c-69-255-143-16.hsd1.md.comcast.net] has joined #go-nuts
23:35 -!- sxs [~sxs@dslb-188-104-178-168.pools.arcor-ip.net] has joined #go-nuts
23:35 < sxs> hi
23:37 < sxs> what is the best practice to signal an error in a NewSomeType()
func?  I consider func NewSomeType() (*SomeType, os.Error)
23:38 < aiju> sxs: why could it fail?
23:38 < exch> that is the standard way of passing errors up the callchain.
Not sure if that applies in a type 'constructor' though.  That one should
generally not be allowed to fail, but it is just another function, so if you must
then apply the same 'rule'
23:39 < aiju> i simply wouldn't call the function New*
23:40 -!- virtualsue [~chatzilla@host81-139-101-46.in-addr.btopenworld.com] has
quit [Ping timeout: 240 seconds]
23:41 < sxs> my SomeType holds a field of type os.File and i wanna set this
by the given filename by os.Open() in the constructor function: NewSomeType(fn
string) ...  { ...  st.file = os.Open(fn) ...}
23:41 < sxs> os.Open() can fail
23:42 < sxs> and IMHO its not good to return nil by a constructor function
isn't it?
23:42 < aiju> i'd rather call it OpenFoo then
23:43 -!- sacho [~sacho@46.10.4.198] has quit [Ping timeout: 260 seconds]
23:44 < exch> In those cases, I tend to avoid calling it NewT().  But add a
distinct Open() method to T which should be called separately after creating the
type.  It's a bit of a grey area though.  There are no strict rules for that
23:44 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
23:45 < sxs> ahhh, no no no,.  you are right.  because i rember a golden
rule: dont do work in constructors.  makes code untestable.  i will add a second
open method.  thx for hinting :)
23:45 < exch> The only example in the standard libs I can think of is the
regexp package.  It has a regexp intializer that can fail.  It's called 'Compile()
(*Regexp, os.Error)'
23:46 < exch> It could just have easily been called New(), but I think they
wanted to avoid that purposefuly
23:46 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:46 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Remote
host closed the connection]
23:46 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
23:48 < sxs> yes, the problem is, when a object does to much in the
constructor you will get hassle on testing it, because every time you create an
object for testing a simple method you need to consider that.  So you only need to
consider on testing this one Compile(), or whatever method.
23:56 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
--- Log closed Mon Jan 03 00:00:01 2011