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

--- Log opened Sun May 09 00:00:56 2010
00:00 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has quit [Quit:
leaving]
00:09 -!- marsu [~marsu@ANancy-154-1-75-135.w81-49.abo.wanadoo.fr] has quit [Quit:
Leaving]
00:10 < hard_shooter> ok
00:10 < hard_shooter> it eats all of the memory...
00:12 < hard_shooter> more than 1G...
00:13 < hard_shooter> great work...
00:14 < exch> i'd say something is wrong then
00:14 < hard_shooter> with 5000 elements
00:15 < hard_shooter> it has a depth of 2500
00:15 < hard_shooter> so it's equivalent to 2500 arrays of 5ko
00:17 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
00:22 < hard_shooter> hmmm
00:22 < hard_shooter> 3.32sec
00:27 < hard_shooter> no more memory eating
00:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
00:27 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
00:34 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
00:40 < plexdev> http://is.gd/c0Go1 by [Michael Hoisie] in go/src/pkg/json/
-- json: accept escaped slash in string scanner
00:54 -!- hard_shooter [~hardshoot@fec76-1-78-234-124-105.fbx.proxad.net] has quit
[Quit: WeeChat 0.3.2]
01:09 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
01:17 -!- gospch [~gospch@p5088C0DB.dip.t-dialin.net] has joined #go-nuts
01:17 -!- gospch [~gospch@p5088C0DB.dip.t-dialin.net] has quit [Remote host closed
the connection]
01:18 -!- gospch [~gospch@p5088C0DB.dip.t-dialin.net] has joined #go-nuts
01:19 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit [Quit:
Leaving...]
01:19 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
01:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
01:35 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:08 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust512.4-3.cable.virginmedia.com] has
quit [Ping timeout: 246 seconds]
02:10 -!- General13372 [~support@71-93-96-131.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 268 seconds]
02:19 -!- jackman [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has quit [Ping
timeout: 246 seconds]
02:20 -!- jackman [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has joined
#go-nuts
02:27 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:30 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
02:34 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
02:38 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
02:41 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
02:42 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
02:42 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:43 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
02:43 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has quit
[Client Quit]
02:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
02:43 -!- kanru [~kanru@61-228-160-161.dynamic.hinet.net] has joined #go-nuts
02:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:43 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
02:44 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
02:50 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
02:50 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:51 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
02:54 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Ping timeout: 260
seconds]
03:04 -!- adu [~ajr@pool-173-66-16-26.washdc.fios.verizon.net] has joined #go-nuts
03:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
03:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
03:05 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
03:06 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
03:09 -!- SDR00 [~chatzilla@cpe-70-116-131-126.tx.res.rr.com] has joined #go-nuts
03:11 -!- ikke [~ikke@189-72-0-203.smace700.dsl.brasiltelecom.net.br] has joined
#go-nuts
03:11 -!- ikke [~ikke@189-72-0-203.smace700.dsl.brasiltelecom.net.br] has quit
[Changing host]
03:11 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
03:12 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has joined #go-nuts
03:13 -!- SDR00 [~chatzilla@cpe-70-116-131-126.tx.res.rr.com] has quit [Remote
host closed the connection]
03:15 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
03:23 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
03:31 -!- manveru [kailan@make-world.info] has quit [Ping timeout: 246 seconds]
03:38 -!- manveru [kailan@make-world.info] has joined #go-nuts
03:42 -!- ikke [~ikke@unaffiliated/ikkebr] has quit []
03:46 -!- no_mind [~orion@122.162.136.125] has quit [Quit: Leaving]
03:46 -!- General1337 [~support@71-93-96-131.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
03:51 -!- manveru [kailan@make-world.info] has quit [Ping timeout: 252 seconds]
03:56 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
03:57 -!- manveru [kailan@make-world.info] has joined #go-nuts
04:23 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
04:47 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
04:48 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
04:51 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has quit [Remote host
closed the connection]
04:55 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 248 seconds]
05:01 -!- scm [justme@c155072.adsl.hansenet.de] has quit [Ping timeout: 245
seconds]
05:03 -!- scm [justme@c222050.adsl.hansenet.de] has joined #go-nuts
05:06 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts
05:11 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
05:12 -!- anticw [~anticw@cwedgwood.broker.freenet6.net] has joined #go-nuts
05:13 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has joined
#go-nuts
05:18 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
05:20 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
05:28 -!- gospch [~gospch@p5088C0DB.dip.t-dialin.net] has quit [Disconnected by
services]
05:28 -!- gospch_ [~gospch@p5088BA12.dip.t-dialin.net] has joined #go-nuts
05:39 -!- adu [~ajr@pool-173-66-16-26.washdc.fios.verizon.net] has quit [Quit:
adu]
05:48 -!- tsykoduk [~tsykoduk@2001:470:1f04:671:20d:93ff:fe77:1dc4] has joined
#go-nuts
05:52 -!- gospch_ [~gospch@p5088BA12.dip.t-dialin.net] has quit [Remote host
closed the connection]
05:54 -!- gospch [~gospch@p5088BA12.dip.t-dialin.net] has joined #go-nuts
05:54 -!- david_ [~david@ip72-196-18-84.om.om.cox.net] has quit [Remote host
closed the connection]
06:09 -!- david_ [~david@ip72-196-18-84.om.om.cox.net] has joined #go-nuts
06:14 -!- kobkrit [~kobkrit@2001:200:141:6151:224:21ff:fe1e:4d16] has joined
#go-nuts
06:17 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
06:17 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
06:17 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has joined
#go-nuts
06:20 -!- XeonPaul [~chatzilla@222.73.189.44] has quit [Ping timeout: 265 seconds]
06:25 -!- bjarneh [~bjarneh@135.80-203-19.nextgentel.com] has quit [Quit: leaving]
06:49 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
07:02 -!- kobkrit [~kobkrit@2001:200:141:6151:224:21ff:fe1e:4d16] has quit [Remote
host closed the connection]
07:04 -!- merlin83 [~merlin83@unaffiliated/merlin83] has quit [Quit: rooted]
07:04 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:08 -!- illya77 [~illya77@79-239-133-95.pool.ukrtel.net] has joined #go-nuts
07:19 -!- illya77 [~illya77@79-239-133-95.pool.ukrtel.net] has quit [Ping timeout:
240 seconds]
07:24 -!- illya77 [~illya77@70-76-133-95.pool.ukrtel.net] has joined #go-nuts
07:31 -!- douglas19 [~douglas19@187.34.61.76] has joined #go-nuts
07:32 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit [Quit:
itrekkie]
07:35 -!- douglas19 [~douglas19@187.34.61.76] has quit [Client Quit]
07:36 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts
07:37 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
07:38 < napsy> Hello.  Why does binary.Write() work and binary.Read()
doesn't on the same structure?  http://gist.github.com/395002
07:39 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
07:41 -!- kingfishr [~kingfishr@c-98-201-60-173.hsd1.tx.comcast.net] has quit
[Remote host closed the connection]
07:41 -!- illya77 [~illya77@70-76-133-95.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
07:53 -!- pjm0616 [~user@61.250.113.98] has quit [Read error: Connection reset by
peer]
07:57 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
08:05 -!- mfoemmel [~mfoemmel@chml01.drwholdings.com] has quit [Ping timeout: 240
seconds]
08:10 -!- mfoemmel [~mfoemmel@chml01.drwholdings.com] has joined #go-nuts
08:11 -!- wrtp [~rog@78.144.165.123] has joined #go-nuts
08:14 -!- aho [~nya@g227087151.adsl.alicedsl.de] has joined #go-nuts
08:18 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
joined #go-nuts
08:20 -!- GilJ [~gilles@85.10.78.6] has joined #go-nuts
08:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
08:27 -!- pshahmumbai [~prashant@58.146.97.159] has joined #go-nuts
08:41 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts
08:59 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2/20100222071121]]
08:59 -!- Gil_J [~gilles@85.10.78.6] has joined #go-nuts
08:59 -!- GilJ [~gilles@85.10.78.6] has quit [Remote host closed the connection]
09:03 -!- jackman [~jackman@c-24-21-216-140.hsd1.or.comcast.net] has quit [Ping
timeout: 240 seconds]
09:10 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
joined #go-nuts
09:15 -!- noam [~k4jd095b@77.126.147.233] has quit [Read error: Connection reset
by peer]
09:20 < jlouis> napsy: I would guess that the struct has to be flat
09:24 -!- ikaros [~ikaros@g227029185.adsl.alicedsl.de] has joined #go-nuts
09:25 < jlouis> napsy: I would think you need the gob package
09:26 -!- wrtp [~rog@78.144.165.123] has quit [Quit: wrtp]
09:27 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 240 seconds]
09:33 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
09:43 -!- pshahmumbai [~prashant@58.146.97.159] has quit [Quit: Ex-Chat]
09:49 < napsy> any idea why binary.Write() works and binary.Read() doesn't
on the same structure?
09:52 < sladegen> 100509-11:21:45 < jlouis> napsy: I would guess that
the struct has to be flat
09:52 < sladegen> 100509-11:27:13 < jlouis> napsy: I would think you
need the gob package
09:52 * sladegen shrugs.
09:55 < napsy> oh ok thanks
09:56 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Ping timeout: 276
seconds]
09:57 -!- exch [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
10:00 -!- Xera` [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
10:01 < napsy> the problem is that gob.Encoder writes some extra stuff
10:01 < napsy> I don't want that
10:04 < MizardX> I'm a little confused with the difference between pointer-
and non-pointer arguments in Go. Does the program copy the value of struct values
unless I use a pointer?  Does the program store the address of a function, or the
whole function in the struct if I have a function field?
10:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Read
error: Connection reset by peer]
10:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
10:06 -!- ikaros [~ikaros@g227029185.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
10:19 -!- peterdn [~peterdn@cpc1-oxfd18-2-0-cust914.4-3.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.2/20100222071121]]
10:25 -!- lux` [~lux`@151.95.180.63] has joined #go-nuts
10:28 -!- ikaros [~ikaros@g227029185.adsl.alicedsl.de] has joined #go-nuts
10:34 -!- EXCHIM [~projetexc@ABayonne-157-1-173-71.w86-213.abo.wanadoo.fr] has
joined #go-nuts
10:50 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 260 seconds]
10:56 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
10:56 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:04 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
11:05 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
11:05 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:07 -!- napsy [~luka@88.200.96.14] has quit [Quit: Lost terminal]
11:14 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:8d22:5098:e0d7:2e66] has joined
#go-nuts
11:34 -!- Gil_J [~gilles@85.10.78.6] has left #go-nuts []
11:54 -!- ikaros [~ikaros@g227029185.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
11:56 -!- ikaros [~ikaros@g227029185.adsl.alicedsl.de] has joined #go-nuts
12:01 < taruti> Not being able to assign things containing sync.Mutex sucks
12:05 < taruti> I keep making definitions like:
12:06 < taruti> type FooData struct { ...  }; type Foo struct { sync.Mutex;
FooData }
12:11 < richardr> What does the & character in Go represent?
12:11 < Tonnerre> The address of an object
12:12 < richardr> p := &s ...  p would be a reference to s?
12:32 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has joined #go-nuts
12:35 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
12:35 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
12:41 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
12:53 -!- pct [~pct@deep.tw] has quit [Read error: Connection reset by peer]
12:55 < uriel> taruti: ? why can't you put the Mutex in FooData?
12:55 < uriel> and really, why do you need a mutex at all?
12:55 < taruti> uriel: because that breaks assignments
12:55 < uriel> ?
12:57 < taruti> uriel: one cannot assign a structure containing sync.Mutex
12:59 < taruti> (and I need assignments while jumbling things when
serializing structures parts of which are encrypted)
13:09 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
13:18 -!- alehorst [~alehorst@187.59.31.204] has quit [Ping timeout: 248 seconds]
13:21 -!- alehorst [~alehorst@187.59.26.159] has joined #go-nuts
13:23 -!- EXCHIM [~projetexc@ABayonne-157-1-173-71.w86-213.abo.wanadoo.fr] has
quit [Ping timeout: 240 seconds]
13:23 -!- EXCHIM [~projetexc@ABayonne-157-1-173-71.w86-213.abo.wanadoo.fr] has
joined #go-nuts
13:23 -!- wrtp [~rog@78.144.165.123] has joined #go-nuts
13:29 -!- thiago [~thiago@189.107.169.81] has joined #go-nuts
13:31 -!- pct [~pct@deep.tw] has joined #go-nuts
14:02 -!- mbarkhau [~koloss@dslb-084-059-161-165.pools.arcor-ip.net] has joined
#go-nuts
14:07 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has quit [Quit: Leaving...]
14:08 -!- genjix [~genjix@92.29.110.1] has joined #go-nuts
14:08 -!- genjix [~genjix@92.29.110.1] has left #go-nuts ["Konversation
terminated!"]
14:11 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:11 -!- wrtp [~rog@78.144.165.123] has quit [Quit: wrtp]
14:15 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has joined #go-nuts
14:24 < taruti> Is there any way to get nice hex literals to []byte?
14:24 < taruti> "FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
29024E08" -> 0xFF,0xFF,0xFF,0xFF, 0xFF,0xFF,0xFF,0xFF, 0xC9,0x0F,0xDA,0xA2,
0x21,0x68,0xC2,0x34, 0xC4,0xC6,0x62,0x8B, 0x80,0xDC,0x1C,0xD1, 0x29,0x02,0x4E,0x08
is quite ugly
14:28 -!- fenicks1 [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
14:28 -!- fenicks1 [~christian@log77-4-82-246-228-78.fbx.proxad.net] has left
#go-nuts []
14:30 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has quit [Ping
timeout: 246 seconds]
14:34 -!- General1337 [~support@71-93-96-131.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 260 seconds]
14:37 < smw> taruti: I don't understand your question
14:38 < taruti> smw: just thinking about prettier way to specify "binary"
literals.
14:39 < smw> with numbers?
14:39 < smw> as in decimal numbers
14:39 < smw> although, I don't see why you would not just use hex...
14:39 < taruti> hex numbers
14:40 < smw> you could always use chars for the numbers that have a readable
char...
14:40 < smw> I don't know what the problem with hex is though
14:48 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has quit [Quit: Leaving]
14:49 -!- aquarion_ [~aquarion@81.214.255.196] has joined #go-nuts
14:58 -!- OpenSpace [~ja@79.101.205.46] has quit [Ping timeout: 246 seconds]
14:59 -!- OpenSpace [~ja@109.93.144.12] has joined #go-nuts
15:01 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has quit [Quit: Leaving...]
15:12 -!- SugarBear [~stephen.s@91.86.14.156] has joined #go-nuts
15:12 -!- aquarion_ [~aquarion@81.214.255.196] has quit [Remote host closed the
connection]
15:25 -!- kanru [~kanru@61-228-160-161.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.2]
15:27 -!- orwhal [~pgorla@67.23.25.154] has left #go-nuts []
15:30 -!- tumdum [~tumdum@avb124.neoplus.adsl.tpnet.pl] has joined #go-nuts
15:30 -!- tumdum [~tumdum@avb124.neoplus.adsl.tpnet.pl] has quit [Changing host]
15:30 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
15:31 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has joined #go-nuts
15:34 -!- Chryson [~Chryson@c-71-61-11-114.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
15:39 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has joined #go-nuts
15:51 -!- SugarBear [~stephen.s@91.86.14.156] has quit [Ping timeout: 248 seconds]
15:56 -!- thiago [~thiago@189.107.169.81] has quit [Remote host closed the
connection]
15:58 -!- illya77 [~illya77@47-147-133-95.pool.ukrtel.net] has joined #go-nuts
15:58 -!- prip [~foo@host8-129-dynamic.36-79-r.retail.telecomitalia.it] has quit
[Ping timeout: 245 seconds]
16:04 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
16:11 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:12 -!- prip [~foo@host231-195-dynamic.17-79-r.retail.telecomitalia.it] has
joined #go-nuts
16:14 -!- ikke [~ikke@189-72-0-203.smace700.dsl.brasiltelecom.net.br] has joined
#go-nuts
16:14 -!- ikke [~ikke@189-72-0-203.smace700.dsl.brasiltelecom.net.br] has quit
[Changing host]
16:14 -!- ikke [~ikke@unaffiliated/ikkebr] has joined #go-nuts
16:15 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
16:15 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:15 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 260 seconds]
16:26 -!- ikkebr [~ikke@unaffiliated/ikkebr] has joined #go-nuts
16:27 -!- ikke [~ikke@unaffiliated/ikkebr] has quit [Ping timeout: 248 seconds]
16:28 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
16:29 -!- EXCHIM [~projetexc@ABayonne-157-1-173-71.w86-213.abo.wanadoo.fr] has
quit [Ping timeout: 240 seconds]
16:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
16:37 -!- jayba [~kuba@dhcp-146.eduroam.net.icm.edu.pl] has joined #go-nuts
16:37 -!- jayba [~kuba@dhcp-146.eduroam.net.icm.edu.pl] has quit [Client Quit]
16:44 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
16:51 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
17:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
17:21 -!- path[l] [UPP@120.138.102.34] has quit [Ping timeout: 252 seconds]
17:21 < kimelto> moin
17:23 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
17:43 < smw> hola
17:49 -!- surma [~surma@77-21-87-176-dynip.superkabel.de] has joined #go-nuts
18:07 -!- korfuri [~korfuri@eth0.korfuri.fr] has quit [Quit: Reconnecting]
18:08 -!- korfuri [~korfuri@eth0.korfuri.fr] has joined #go-nuts
18:08 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:18 -!- wrtp [~rog@78.144.165.123] has joined #go-nuts
18:43 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 240 seconds]
18:43 -!- illya77 [~illya77@47-147-133-95.pool.ukrtel.net] has quit [Quit:
illya77]
18:48 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:49 -!- [vertex] [~Alexandre@201.78.120.151] has joined #go-nuts
18:53 -!- terrex [~terrex@115.38.222.87.dynamic.jazztel.es] has joined #go-nuts
18:55 -!- [vertex] [~Alexandre@201.78.120.151] has left #go-nuts []
19:02 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 265 seconds]
19:07 -!- thiago [~thiago@189.107.167.126] has joined #go-nuts
19:11 -!- Discoloda [~vincent@adsl-75-37-71-165.dsl.frs2ca.sbcglobal.net] has quit
[Remote host closed the connection]
19:11 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
19:11 -!- surma [~surma@77-21-87-176-dynip.superkabel.de] has quit [Quit:
Leaving.]
19:15 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
19:33 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
19:44 -!- guest539483 [~asd@93.155.147.131] has quit [Quit: WeeChat 0.3.2]
19:53 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Read error: No route to
host]
19:55 -!- ikaros_ [~ikaros@g227029185.adsl.alicedsl.de] has joined #go-nuts
19:55 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
19:57 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:8d22:5098:e0d7:2e66] has quit
[Quit: Leaving.]
20:05 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Ping timeout: 245
seconds]
20:05 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
joined #go-nuts
20:06 -!- Zoopee [alsbergt@zoopee.org] has left #go-nuts []
20:15 -!- ajstarks [~ajstarks@pool-98-109-198-180.nwrknj.fios.verizon.net] has
quit [Quit: ajstarks]
20:21 -!- thiago [~thiago@189.107.167.126] has quit [Disconnected by services]
20:21 -!- artefon [~thiago@189.107.167.126] has joined #go-nuts
20:42 -!- Agon [~marcel@HSI-KBW-109-192-058-176.hsi6.kabel-badenwuerttemberg.de]
has quit [Remote host closed the connection]
20:43 -!- Saurabh [~o@117.98.66.169] has joined #go-nuts
20:47 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Remote host closed
the connection]
20:50 -!- Saurabh [~o@117.98.66.169] has left #go-nuts []
20:50 -!- keet [~o@unaffiliated/keet] has joined #go-nuts
20:50 < keet> how do I read input from keyboard on the console?
20:58 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 276
seconds]
20:59 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit [Quit:
itrekkie]
21:04 -!- keet [~o@unaffiliated/keet] has quit [Quit: Leaving]
21:08 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has left #go-nuts []
21:08 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has joined #go-nuts
21:08 < smw> keet, read from the os.stdin file
21:09 < smw> Keltia: I believe there is also a scanner implementation
somewhere
21:09 < smw> http://code.google.com/p/golang/source/browse/src/pkg/scanner
21:10 < smw> although, I have never used it before
21:11 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
21:12 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
21:12 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
21:14 -!- surma [~surma@91-64-29-245-dynip.superkabel.de] has joined #go-nuts
21:16 -!- surma [~surma@91-64-29-245-dynip.superkabel.de] has left #go-nuts []
21:18 -!- ikaros_ [~ikaros@g227029185.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
21:19 -!- bmizerany [~bmizerany@c-24-6-37-113.hsd1.ca.comcast.net] has joined
#go-nuts
21:19 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
21:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
21:30 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
21:32 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
21:40 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
21:56 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
21:58 -!- Ginto8 [~Ginto8@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
21:58 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:58 -!- wrtp [~rog@78.144.165.123] has quit [Quit: wrtp]
21:59 < Ginto8> hi guys I have a struct that has unexported fields but I
want to be able to copy one instance of the struct to another and the compiler
keeps saying that I can't
22:00 < Ginto8> any idea why?
22:01 -!- aho [~nya@g227087151.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
22:01 -!- aho [~nya@f052126134.adsl.alicedsl.de] has joined #go-nuts
22:01 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has quit [Quit:
Leaving]
22:02 < sladegen> i don't know why?  (who knows, it may be a bug) but if not
perhaps add explicit "Copy" method to its interface...?  /me shrugs.
22:04 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:04 < Ginto8> I think I found the offending source file (in the compiler)
but I have no experience with compilers/parsers so I can't really figure out why
22:05 < Ginto8> http://golang.org/src/cmd/gc/typecheck.c <- search
"implicit assignment of unexported field"
22:05 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
22:05 < exch> that usually occurs when you try to cast a pointer type to a
non-pointer type or vice-versa
22:06 < Ginto8> no I'm copying 2 structs of the same type
22:06 < sladegen> well, it may be language design decision...  but i haven't
played that deep to offer less theoretical workaround.
22:08 < sladegen> if not interface method you can just add function in the
structs package that returns copy...
22:09 < Ginto8> well the thing is when I try to assign the value of one to
the other
22:09 < Ginto8> say I have type S struct { X,y int }
22:09 < Ginto8> and S x,y
22:09 < Ginto8> I can't do x = y
22:10 < Ginto8> because it would be copying y which is unexported
22:12 < sladegen> try my suggestion...  if nobody pipes up later here and it
keeps bothering you try the mailing list.  it may be a bug after all.
22:12 -!- terrex [~terrex@115.38.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
22:20 -!- lilpenguina [~penguina@75.97.68.130.res-cmts.senj.ptd.net] has joined
#go-nuts
22:22 -!- lilpenguina [~penguina@75.97.68.130.res-cmts.senj.ptd.net] has quit
[Client Quit]
22:46 -!- lux` [~lux`@151.95.180.63] has quit [Remote host closed the connection]
22:51 -!- mbarkhau [~koloss@dslb-084-059-161-165.pools.arcor-ip.net] has quit
[Quit: Leaving.]
22:53 -!- tazjin [~tazjin@p5DC81FB6.dip.t-dialin.net] has quit [Quit: Leaving...]
23:15 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Read error:
Connection reset by peer]
23:16 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
23:28 -!- wuehlmaus [~wuehlmaus@p4FCC6B18.dip.t-dialin.net] has quit [Ping
timeout: 252 seconds]
23:28 -!- wuehlmaus [~wuehlmaus@p4FCC7AC6.dip.t-dialin.net] has joined #go-nuts
23:34 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Ping
timeout: 276 seconds]
23:49 < plexdev> http://is.gd/c1OQ7 by [Rob Pike] in go/src/pkg/template/ --
template: regularize the handling of interfaces, pointers, and
23:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Read
error: Connection reset by peer]
23:56 -!- tokuhirom [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
23:57 -!- Wiz126 [~Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has joined #go-nuts
23:59 -!- vsayer [~vivek@c-76-103-244-154.hsd1.ca.comcast.net] has joined #go-nuts
--- Log closed Mon May 10 00:00:56 2010