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

--- Log opened Fri Jun 10 00:00:53 2011
00:02 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Ping
timeout: 250 seconds]
00:02 -!- shvntr [~shvntr@119.121.31.56] has joined #go-nuts
00:03 -!- boscop [~boscop@unaffiliated/boscop] has quit [Ping timeout: 255
seconds]
00:03 -!- boscop_ [~boscop@f055253043.adsl.alicedsl.de] has joined #go-nuts
00:03 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has quit [Read error:
Connection reset by peer]
00:04 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
00:06 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Client Quit]
00:07 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Ping
timeout: 255 seconds]
00:12 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 276 seconds]
00:14 -!- shvntr [~shvntr@119.121.31.56] has quit [Ping timeout: 260 seconds]
00:15 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
00:16 -!- shvntr [~shvntr@119.121.31.56] has joined #go-nuts
00:18 -!- boscop_ [~boscop@f055253043.adsl.alicedsl.de] has quit [Ping timeout:
255 seconds]
00:26 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has quit [Ping timeout: 240
seconds]
00:28 -!- TheCritic [~TheCritic@174-150-247-143.pools.spcsdns.net] has joined
#go-nuts
00:31 -!- shvntr [~shvntr@119.121.31.56] has quit [Quit: leaving]
00:37 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined
#go-nuts
00:37 -!- wchicken [~chicken@c-24-7-112-207.hsd1.ca.comcast.net] has joined
#go-nuts
00:40 -!- foocraft [~ewanas@78.101.164.76] has joined #go-nuts
00:43 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
00:44 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
00:44 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
00:52 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
00:55 -!- mkb218 [~mkb@pool-96-233-4-238.bstnma.east.verizon.net] has joined
#go-nuts
01:02 -!- iant1 [~iant@67.218.107.72] has quit [Quit: Leaving.]
01:31 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
01:40 -!- bmizerany [~bmizerany@204.14.152.118] has quit [Remote host closed the
connection]
01:40 -!- Count_Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Read error:
Connection reset by peer]
02:06 -!- adlan [~adlan@115.132.8.89] has joined #go-nuts
02:06 -!- boscop_ [~boscop@g226241001.adsl.alicedsl.de] has joined #go-nuts
02:06 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
02:08 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has quit [Quit: Off]
02:08 -!- Kami_ [~kami@unaffiliated/kami-/x-9078513] has joined #go-nuts
02:15 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
02:16 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
02:16 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
02:23 -!- shachaf [~shachaf@204.109.63.130] has quit [Remote host closed the
connection]
02:28 -!- keithcascio [~keithcasc@nat/google/x-gifrxjltqaqnuyge] has quit [Quit:
Leaving]
02:30 -!- rputikar [~240182H@203-206-21-179.dyn.iinet.net.au] has quit [Quit:
rputikar]
02:31 -!- Nitro [~Nitro@unaffiliated/nitro] has quit [Quit: Leaving]
02:35 -!- jyxent [~jyxent@129.128.191.96] has quit [Ping timeout: 240 seconds]
02:37 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
03:00 -!- Nisstyre [~nisstyre@109.74.204.224] has joined #go-nuts
03:09 < manveru> how can i access a "" key in a map[string]string ?
03:10 < manveru> i get `invalid operation: value[""]`
03:11 < manveru> oh, nm :)
03:12 < dfc> manveru: you can't use the zero value as a key
03:12 < manveru> that wasn't a map...
03:12 < manveru> dfc: apparently i can
03:12 < dfc> NFW
03:12 < manveru> well, for strings anyway
03:13 < dfc> try
03:13 < dfc> var v string
03:13 < manveru> v := ""
03:13 < manveru> that's my way
03:13 < dfc> q := theMap[v]
03:15 -!- TheCritic [~TheCritic@174-150-247-143.pools.spcsdns.net] has quit [Ping
timeout: 276 seconds]
03:17 < manveru> it works :)
03:18 < manveru> dfc: https://ideone.com/6wXcx
03:20 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
03:20 -!- mode/#go-nuts [+v iant] by ChanServ
03:20 < manveru> i get the map from parsing json, which uses an empty key,
so i'm really glad it works too
03:21 < dfc> wow
03:21 < dfc> i did not know that
03:24 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
03:27 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 252 seconds]
03:29 -!- foocraft [~ewanas@78.101.164.76] has quit [Quit: Leaving]
03:31 < manveru> DNS...  it seemed like a good idea at the time :P
03:31 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 255 seconds]
03:31 -!- TheCritic [~TheCritic@c-24-30-34-40.hsd1.ga.comcast.net] has joined
#go-nuts
03:33 -!- shachaf [~shachaf@204.109.63.130] has joined #go-nuts
03:34 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
03:36 -!- mnoel [~mnoel@c-75-65-250-60.hsd1.la.comcast.net] has joined #go-nuts
03:38 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
03:43 < Ekspluati> Oh god, I haven't written a single line of Go code during
last week.
03:44 * dfc offers Ekspluati a consoling pat on the shoulder
03:45 < nsf> I can't remember when I wrote the last line of Go code
03:46 < manveru> heh
03:46 < manveru> meh, i wish go had binary number notation
03:47 < dfc> adg, good to see you committing arm fixes
03:47 <@adg> :)
03:47 < dfc> ditto
03:47 <@adg> this was a 3-way effort from me, rob, and russ
03:47 < dfc> atomics on arm is/was a bloody nightmare
03:48 <@adg> russ deserves most of the credit, although he broke it in the
first place, so
03:48 < dfc> is your panda board dual core ?
03:48 <@adg> yep
03:48 < dfc> ahh, that'd explain why it shows up for you
03:48 <@adg> you should get one, $174
03:48 < dfc> i'm thinking about it
03:48 < dfc> did you get someone to mule it for you from the states ?
03:48 <@adg> i'm going to get one for home to use as an htpc
03:49 <@adg> we did a group order here at google sydney
03:49 <@adg> if you wanna order one let me know and i'll get in on it
03:49 < dfc> let me consult the chancelor of the exchequor
03:50 < dfc> awww snap
03:50 < dfc> the arm5 build just failed again
03:50 < dfc> i simply can't run 5g on that host anymore
03:50 < dfc> well, not with the overhead of gobuilder
03:51 < manveru> no way to get an uint4, is there
03:51 <@adg> dfc: :(
03:51 <@adg> manveru: nope
03:52 < dfc> adg: the oom killer just stomps on teh build
03:52 < dfc> exp/eval is the culprit
03:52 < dfc> for some reason compiling that package uses close to 140mb of
ram
03:54 <@adg> compiling or testing?
03:54 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has joined
#go-nuts
03:54 < dfc> compiling
03:54 < dfc> it's bizarro
03:54 < dfc> test/check64.go is a know issue
03:54 < dfc> that is over a mb of source
03:54 -!- franciscosouza [~francisco@187.105.21.125] has quit [Read error:
Connection reset by peer]
03:54 <@adg> very weird
03:54 < dfc> but exp/eval is nowhere near the largest packge
03:54 < dfc> compared to net
03:54 <@adg> oh well, thanks for the service while it lasted :)
03:54 < dfc> for example
03:54 -!- franciscosouza [~francisco@187.105.21.125] has joined #go-nuts
03:56 < dfc> make: Leaving directory `/home/dfc/go/src/pkg/exp/eval'
03:56 < dfc> 5.16user 0.70system 0:08.69elapsed 67%CPU (0avgtext+0avgdata
419344maxresident)k
03:56 < dfc> 0inputs+0outputs (239major+36030minor)pagefaults 0swaps
03:56 < dfc> that is make install in exp/eval
03:56 < dfc> o_O!
04:06 <@adg> wow
04:10 -!- rejb [~rejb@unaffiliated/rejb] has quit [Disconnected by services]
04:10 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
04:10 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
04:13 -!- TheCritic [~TheCritic@c-24-30-34-40.hsd1.ga.comcast.net] has quit [Quit:
TheCritic]
04:18 -!- Bigbear1 [~Cody@d173-181-44-106.abhsia.telus.net] has quit [Read error:
Connection reset by peer]
04:25 < dfc> adg: re the weekly
04:25 < dfc> don't forget Howard Fan's work on improving SQRT on arm7
04:27 < dfc>
http://code.google.com/p/go/source/detail?r=002945af78ccbfa51b7fe6eebe883ab9663c9f3a
04:29 < kuroneko> go on arm?  hmm.  :)
04:29 < kuroneko> maybe one of these days I'll get brave enough to actually
understand kencc well enough to do that itanic port I want to do.
04:30 * kuroneko is currently trying to work out signal handling.
04:30 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has quit
[Ping timeout: 244 seconds]
04:35 < kuroneko> has anybody been doing any significant work on signal
handling (in particular, selective handling) in the runtime?
04:35 -!- boscop_ [~boscop@g226241001.adsl.alicedsl.de] has quit [Ping timeout:
255 seconds]
04:39 -!- Ekspluati [~Ekspluati@a91-154-13-178.elisa-laajakaista.fi] has quit
[Read error: Connection reset by peer]
04:42 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
04:43 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 250
seconds]
04:43 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has joined #go-nuts
04:45 < cenuij> kuroneko: signal.UnixSignal?
04:45 < kuroneko> no - receiving
04:46 < kuroneko> sorry - that actually may be it
04:46 <@adg> dfc: yeah i did
04:46 < cenuij> oh, right, I had to update instances of signal.UnixSignal to
os.UnixSignal earlier today
04:46 < kuroneko> my head is currently full of the guts because I'm trying
to understand how to achieve the equivilent of SIGIGN/SIGDFL
04:46 < kuroneko> and unless I'm horribly out of date, the only mechanism
gives you all trappable signals
04:47 < kuroneko> on a channel.
04:47 < kuroneko> which means I need to understand how the default behaviour
for any given signal is invoked
04:47 < kuroneko> etc
04:50 < dfc> adg: thanks, i see it now
04:54 -!- SirPsychoS [~sp@64.80.128.39] has joined #go-nuts
05:07 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
05:11 -!- mnoel [~mnoel@c-75-65-250-60.hsd1.la.comcast.net] has quit [Quit: mnoel]
05:12 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-155-221.clienti.tiscali.it] has
joined #go-nuts
05:12 < kevlar> kuroneko: I have code that handles SIGQUIT (^/), SIGINT
(^C), SIGTSTP (^Z) and SIGHUP if you want a link
05:13 < kuroneko> I think I have it worked out now actually :)
05:14 < kuroneko> yeah, I do
05:14 < kuroneko> it was more I needed to establish what the correct default
behaviours should be - I'm used to being able to simply only hook the signals I
care about
05:14 < kuroneko> and leave the rest to be picked up by the default handlers
05:22 -!- ekipan [4cd4edf5@gateway/web/freenode/ip.76.212.237.245] has joined
#go-nuts
05:28 < kevlar> I'm too lazy to test this: am I allowed to copy(a[n+1:m+1],
a[n:m])?
05:29 < kevlar> it says they may overlap...
05:29 < elimisteve> are you sure that n <= m?
05:30 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has quit [Ping
timeout: 240 seconds]
05:31 < KirkMcDonald> kevlar: I would expect that to be allowed.
05:31 < kevlar> yeah.  Though it turns out it's even easier than that.
05:32 < kevlar> to insert and let the last element fall off the end:
copy(arr[idx+1:],arr[idx:]); arr[idx] = val
05:44 -!- Innominate [~sirrobin@cpe-076-182-074-143.nc.res.rr.com] has joined
#go-nuts
05:53 < manveru> damn, i always forget that go has goto
05:55 -!- Nisstyre [~nisstyre@109.74.204.224] has quit [Quit: Leaving]
05:55 -!- franciscosouza [~francisco@187.105.21.125] has quit [Read error:
Connection reset by peer]
05:57 -!- franciscosouza [~francisco@187.105.21.125] has joined #go-nuts
05:59 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
06:14 -!- tvw [~tv@e176001237.adsl.alicedsl.de] has joined #go-nuts
06:15 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has joined #go-nuts
06:16 -!- alehorst [~alehorst@189.114.187.67] has quit [Quit: Leaving.]
06:19 < meatmanek> dforsyth: I'm sure it's possible; we've got about 10
other languages in there
06:20 -!- Nisstyre [~nisstyre@109.74.204.224] has joined #go-nuts
06:26 -!- wrtp [~rog@92.23.129.173] has joined #go-nuts
06:35 -!- ronnyy [~quassel@p4FF1C5B7.dip0.t-ipconnect.de] has joined #go-nuts
06:39 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 276 seconds]
06:41 -!- ronnyy [~quassel@p4FF1C5B7.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
06:43 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts
06:50 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
06:55 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has joined #go-nuts
06:58 -!- boscop [~boscop@unaffiliated/boscop] has joined #go-nuts
07:01 -!- jrabbit [~babyseal@unaffiliated/jrabbit] has quit [Ping timeout: 252
seconds]
07:02 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has
quit [Quit: whitespacechar]
07:03 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has joined
#go-nuts
07:03 < hallas> Is there anyway I can update Go to a specific version?
07:03 < hallas> Im quite unfamiliar with hg
07:05 < dfc> hallas: yup
07:05 < dfc> hg pull
07:05 < dfc> then
07:05 < dfc> hg update -r REV
07:05 < dfc> where REV is
07:05 < dfc> weekly
07:05 < dfc> release
07:05 < dfc> or any sha1 hash from
07:05 < dfc> http://code.google.com/p/go/source/list
07:09 -!- alkavan [~alkavan@IGLD-84-229-168-152.inter.net.il] has quit [Read
error: Connection reset by peer]
07:10 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has joined #go-nuts
07:10 -!- _dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Client
Quit]
07:12 -!- dfc [~dfc@eth59-167-133-99.static.internode.on.net] has quit [Ping
timeout: 246 seconds]
07:18 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts
07:26 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has quit
[Remote host closed the connection]
07:27 -!- tvw [~tv@e176001237.adsl.alicedsl.de] has quit [Remote host closed the
connection]
07:33 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
07:42 -!- jrabbit [~babyseal@unaffiliated/jrabbit] has joined #go-nuts
07:44 < GeertJohan> goodmorning :)
07:48 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:48 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:51 < str1ngs> hello
07:56 < elimisteve> good night :-)
07:59 -!- virtualsue [~chatzilla@nat/cisco/x-iaeokmdyiybtrilp] has joined #go-nuts
08:01 < GeertJohan> I just showed Go to one of my colleagues (is that
spelled right?)..  Anyway..  He agrees that Go is awesome :D
08:01 < GeertJohan> I'm thinking of publishing a series of tutorial video's
(argumented screencaps) on Dojo with Go..
08:01 < GeertJohan> Dojo is a javascript framework
08:03 < GeertJohan> But I dont know if now is the time to do that since Go
is still under so much development..
08:03 < GeertJohan> any thoughts/comments?
08:06 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
08:07 -!- fvbommel [~fvbommel_@dyn068142.nbw.tue.nl] has joined #go-nuts
08:08 -!- zcram [~zcram@77-233-77-250.cdma.dyn.kou.ee] has joined #go-nuts
08:16 < str1ngs> its still pretty stable
08:17 < str1ngs> I would do it know, good excuse to have fun with go :P
08:17 < str1ngs> now*
08:19 < GeertJohan> hehe :p
08:27 -!- zcram [~zcram@77-233-77-250.cdma.dyn.kou.ee] has quit [Ping timeout: 240
seconds]
08:42 -!- Sisten [~Sisten@s213-103-208-147.cust.tele2.se] has joined #go-nuts
08:48 -!- bobody [~alexc@unaffiliated/alexc] has joined #go-nuts
08:54 -!- Fish [~Fish@exo3753.pck.nerim.net] has quit [Quit: So Long, and Thanks
for All the Fish]
08:54 -!- Fish [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
08:56 -!- zcram [~zcram@77-233-77-250.cdma.dyn.kou.ee] has joined #go-nuts
08:56 -!- zcram [~zcram@77-233-77-250.cdma.dyn.kou.ee] has quit [Remote host
closed the connection]
08:57 -!- hallas [~hallas@x1-6-30-46-9a-b2-c5-1f.k891.webspeed.dk] has quit [Read
error: Operation timed out]
09:03 -!- bobody [~alexc@unaffiliated/alexc] has quit [Quit: WeeChat 0.3.4]
09:18 -!- tvw [~tv@e176001237.adsl.alicedsl.de] has joined #go-nuts
09:26 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
09:53 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
09:53 -!- shvntr [~shvntr@119.121.31.56] has joined #go-nuts
10:01 -!- adlan [~adlan@115.132.8.89] has quit [Quit: Leaving]
10:12 -!- napsy [~luka@193.2.66.6] has joined #go-nuts
10:16 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
10:17 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Client
Quit]
10:17 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host
closed the connection]
10:23 -!- nannto__ [~nanto@pee5b70.tokyff01.ap.so-net.ne.jp] has quit [Quit:
Leaving...]
10:23 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
10:32 -!- virtualsue [~chatzilla@nat/cisco/x-iaeokmdyiybtrilp] has quit [Quit:
ChatZilla 0.9.87 [Firefox 4.0.1/20110413222027]]
10:34 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
10:40 < wrtp> darn, GOPATH doesn't work properly yet!
10:49 -!- alehorst [~alehorst@189.114.187.67] has joined #go-nuts
10:54 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has joined #go-nuts
10:54 -!- ekipan [4cd4edf5@gateway/web/freenode/ip.76.212.237.245] has quit []
10:54 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts
10:57 < krolaw> Quick question: are ++ and += operations thread safe?  I.E.
if multiple threads are incrementing the same variable is the ++ operation safe,
or will some increments be lost?
10:57 < wrtp> krolaw: they're not
10:57 < wrtp> see The Go Memory Model
10:58 < wrtp> threads can run in parallel
10:58 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has quit [Client
Quit]
10:58 < wrtp> you can use sync.Mutex or channel operations to make things
thread safe
10:59 < krolaw> Having a look.  Yeah threads do.  I'm thinking that a=a+1
might differ from a++ (no read required?).
10:59 < krolaw> Channel operations can be really slow on multiple processors
atm.
10:59 < nsf> krolaw: probably they are not atomic (if that's what you mean)
11:00 < nsf> krolaw: most lockfree algorithms (including various kinds of
thread-safe reference counting schemes) use CAS operation
11:00 < nsf> it's atomic
11:00 < nsf> (CAS measn compare-and-swap)
11:00 < nsf> means*
11:00 < nsf> and of course it's slower than usual increment
11:01 < nsf> the problem lies down deep in the processor architecture
11:01 < nsf> with all these caches
11:01 < krolaw> Ah, so a thread may have it's own cache of a given
variable...
11:01 < nsf> not a thread
11:01 < nsf> thread is an OS entity
11:02 < nsf> but processor can
11:02 < nsf> a core in multicore CPU
11:02 < krolaw> Ok, so each CPU may have it's own cache registers.
11:02 < nsf> registers and two/three level cache
11:03 < krolaw> So I see even an a ++ would get slaughtered.
11:03 < nsf> but the memory model says all processors have uniform access to
all of the memory
11:03 < nsf> yeah
11:03 < nsf> there have to be a special hardware instruction for that
11:03 < nsf> and there is
11:03 < nsf> called CAS
11:03 < nsf> I think most mutex implementations use CAS as well
11:04 < nsf> http://en.wikipedia.org/wiki/Compare-and-swap
11:04 < krolaw> I'm not yet familiar with mutex....
11:04 < nsf> just read the wikipedia
11:04 < nsf> it will tell more :)
11:04 < krolaw> :-)
11:04 < wrtp> A thread can have its own cache of a given variable actually -
the compiler's free to store a value in a register for a while.
11:04 < krolaw> Thanks.
11:04 -!- shvntr [~shvntr@119.121.31.56] has quit [Ping timeout: 252 seconds]
11:05 < nsf> threads do not have anything, CPUs have
11:05 < wrtp> even across function calls (assuming the function calls don't
use channels or sync)
11:05 < wrtp> nsf: sure, but there can be two versions of a value, one in a
register and one in main memory
11:05 < nsf> yes
11:05 < nsf> but register belongs to CPU :)
11:06 < nsf> threads are OS entities
11:06 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has joined #go-nuts
11:06 < nsf> software
11:06 < wrtp> yeah, but other threads look at main memory
11:06 < nsf> yep
11:06 < nsf> but I guess we should refer to context switching here
11:06 < nsf> if they are on the same CPU
11:06 < nsf> maybe there is no such problem
11:06 < wrtp> there can be
11:06 < nsf> but across different CPUs the problem is horrible
11:07 < nsf> wrtp: I'm still not sure about single CPU
11:07 < nsf> http://en.wikipedia.org/wiki/Context_switch
11:07 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has
joined #go-nuts
11:07 < nsf> context switching saves all the registers etc.
11:07 < nsf> hm..
11:07 < nsf> but ok
11:08 < nsf> maybe it's possible I don't know
11:08 < nsf> ah well, yes
11:08 < nsf> registers are being saved
11:08 < nsf> but the values may not be committed to the memory
11:08 < nsf> I guess
11:08 < wrtp> nsf: even on a single CPU the compiler is free not to store
back values from registers to main memory if there's no synchronisation
11:08 < wrtp> yeah
11:09 < nsf> I see
11:09 < wrtp> it means that the compiler can optimise: for i := 0; i < N;
i++ {foo.X += bar()}
11:09 < wrtp> if foo is a pointer
11:10 < wrtp> it could store X in a register
11:10 < wrtp> (assuming it knows that foo can't be accessed by bar)
11:10 < wrtp> (and that bar doesn't synchronise)
11:11 < nsf> :)
11:12 < wrtp> it's not just idle fancy - this sort of optimisation is the
kind of thing that could make go code really fast with cleverer compilers.
11:12 -!- shvntr [~shvntr@119.121.31.52] has joined #go-nuts
11:12 < nsf> yeah, sure
11:12 < nsf> D for example goes even further
11:12 < nsf> it uses different memory model
11:12 < nsf> where everything is thread local unless explicitly shared
11:12 < nsf> and therefore applying such optimizations is safe
11:13 < nsf> in D
11:13 < wrtp> if you share a pointer, does it automatically share everything
it points to?
11:13 < nsf> I have no idea :)
11:13 < nsf> but I guess, yes
11:13 < nsf> you simply can't have a shared pointer that points to
non-shared data
11:13 < wrtp> or maybe it's a type annotation rather than a runtime thing
11:14 < nsf> that's my guess though
11:14 < nsf> I don't know D much, just few bits from different talks and
presentations
11:15 -!- jemeshsu [~jemeshsu@bb220-255-88-127.singnet.com.sg] has joined #go-nuts
11:19 -!- Ekspluati [~Ekspluati@a91-154-13-178.elisa-laajakaista.fi] has joined
#go-nuts
11:20 -!- tvw [~tv@e176001237.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:21 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:24 < krolaw> Ok, I see why channels are so cool, they make all the
complex sync stuff disappear.  It's just unfortunate that it makes execution speed
lousy (http://golang.org/doc/go_faq.html#Why_GOMAXPROCS), which is usually the
purpose of writing multithreaded code...
11:24 < nsf> krolaw: it depends
11:25 < nsf> it's very hard to microoptimize threading
11:25 < nsf> you should parallelize big things
11:25 < nsf> the very good example of that is a typical (make, scons, waf,
etc.) build system
11:25 < nsf> for example waf written in python, and python has this GIL
11:26 < nsf> but still, threading gives a very big advantage
11:26 < nsf> the same tactics should be applied to Go
11:26 < nsf> I see Go as a high level language
11:26 < krolaw> You would :-p
11:26 < nsf> for doing all sorts of data processing clusters
11:27 < aiju> >which is usually the purpose of writing multithreaded code
11:27 < aiju> using multiple threads of execution can nicely simplify a lot
of things
11:27 < aiju> see pikes papers on concurrent window managers
11:27 < krolaw> Well, I'm still hopeful and improved scheduler will solve
these sorts of issues in future.
11:27 < nsf> oh man
11:27 < nsf> I have bad experience dealing with X11 concurrency
11:28 < nsf> I know X11 crap and all that
11:28 < nsf> but still
11:28 < nsf> it doesn't simplify anything imho
11:28 < aiju> X11 is about the worst example possible in that context
11:28 < nsf> ok
11:28 < nsf> all we got
11:29 < nsf> at least massively adopted I mean
11:32 -!- tncardoso [~thiago@189.59.186.58.dynamic.adsl.gvt.net.br] has joined
#go-nuts
11:33 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has joined #go-nuts
11:34 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
11:37 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has quit [Remote host closed
the connection]
11:38 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has joined #go-nuts
11:39 -!- TheCritic [~TheCritic@c-24-30-34-40.hsd1.ga.comcast.net] has joined
#go-nuts
11:41 < krolaw> Ok, thanks.  Does someone know how to catch kills sent to a
running go app?  I'm currently playing with web.go and I want to keep an sqlite
connection open, but want it closed properly if the app is killed.  I could have a
listening socket to receive commands, but kill seems more unix...
11:42 < Tonnerre> You can't do anything against a SIGKILL
11:42 -!- _dfc [~dfc@124-168-14-210.dyn.iinet.net.au] has joined #go-nuts
11:43 -!- dfc [~dfc@124-149-49-45.dyn.iinet.net.au] has quit [Ping timeout: 255
seconds]
11:44 < krolaw> Ok, I don't know much about kill, but kill alone sends a
different signal form kill -9 (which definitely kills the app), and other messages
can be sent using kill..
11:44 < nsf> krolaw: catch SIGTERM
11:44 < nsf> kill -9 cannot be catched and/or ignored
11:44 < nsf> but the default signal for kill command is SIGTERM afaik
11:44 < krolaw> That's sounds right.  Happy to catch SIGTERM.
11:44 < nsf> use os/signal
11:45 < nsf> https://github.com/nsf/gocode/blob/master/os_posix.go
11:45 < nsf> see here IsTerminationSignal
11:45 < nsf> that's how I check for termination signal
11:45 < nsf> SIGINT (Ctrl-C in terminal usually) and SIGTERM are most
important ones
11:46 < nsf> https://github.com/nsf/gocode/blob/master/server.go
11:46 < nsf> and here at the bottom the main loop
11:46 < nsf> which catches the signal
11:50 < TheCritic> nsf I am just now watching
http://nsf.110mb.com/gocode-demo.swf
11:50 < TheCritic> very very cool
11:50 < krolaw> Whoa, thanks.
11:50 < nsf> TheCritic: ;)
11:51 < nsf> I hope it works with today's weekly
11:51 < nsf> I haven't checked
11:51 < nsf> will check tomorrow I hope
11:51 < TheCritic> nsf I assume people are integrating it with their editor
of choice...  do you keep a list of known integrations?
11:52 < nsf> I don't keep it
11:52 < nsf> vim, emacs, goclipse, gedit
11:52 < nsf> that's the ones I remember
11:52 < aiju> i integrate languages into my editor by opening the files
11:52 < aiju> and then edit them
11:53 < nsf> but since goclipse acutally shows comments for autocompletion
functions now
11:53 < nsf> I'm not even sure they still use gocode
11:53 < nsf> because gocode can't do that :)
11:54 < TheCritic> :)
11:54 < nsf> Content Assist via Gocode (https://github.com/nsf/gocode or
prebuilt for 64bit OSX, Windows)
11:54 < nsf> gocode has been verified to work with goclipse as of May 10th,
2011 with the latest version of Go and Eclipse 3.6 available at the time
11:54 < nsf> ah well
11:54 < nsf> then, they still use it
11:54 < TheCritic> nice
11:55 < aiju> eclipse made me lose my faith in humanity
11:55 < nsf> yeah, I agree
11:56 < nsf> it's a horrible IDE
11:56 < aiju> i don't see at all why people use it
11:56 < aiju> i can imagine why people use MSVS
11:56 < nsf> the only one that is worse is MS visual studio
11:56 < nsf> and I haven't seen xcode on mac
11:56 < aiju> MSVS is much better
11:56 < nsf> nooo
11:56 < nsf> it installs like an hour
11:56 < nsf> how could this be better?
11:56 < nsf> :)
11:56 < nsf> although
11:56 < nsf> the last one I saw
11:56 < nsf> was 2003 or something
11:56 < nsf> pretty old
11:57 < aiju> i've had to use eclipse for some java stuff
11:59 -!- fvbommel [~fvbommel_@dyn068142.nbw.tue.nl] has quit [Ping timeout: 276
seconds]
12:00 < TheCritic> I use TextMate ...  and I just discovered that the go
bundle I use supports gocode :) time for me to dl/make/install
12:01 -!- _dfc [~dfc@124-168-14-210.dyn.iinet.net.au] has quit [Ping timeout: 252
seconds]
12:12 -!- PortatoreSanoDiI [~Marvin@82.84.69.202] has joined #go-nuts
12:13 -!- fvbommel [~fvbommel_@131.155.247.9] has joined #go-nuts
12:15 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-155-221.clienti.tiscali.it] has
quit [Ping timeout: 276 seconds]
12:15 -!- dfc [~dfc@124-149-60-140.dyn.iinet.net.au] has joined #go-nuts
12:20 < krolaw> Thanks nsf.  I found
12:21 < krolaw> <- signal.Incoming
12:21 < krolaw> Was enough to pause execution
12:21 < nsf> :)
12:26 < uriel> eclipse is a horrible everything
12:26 < uriel> TheCritic: http://go-lang.cat-v.org/text-editors/
12:27 < TheCritic> uriel: thanks!
12:31 < uriel> you are welcome
12:38 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
12:42 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 252 seconds]
12:42 -!- replore [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Read error: Connection reset by peer]
12:42 -!- virtualsue [~chatzilla@nat/cisco/x-kpmbplyidqvnbcfo] has joined #go-nuts
12:43 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
12:47 -!- _dfc [~dfc@124-149-60-140.dyn.iinet.net.au] has joined #go-nuts
12:50 -!- franciscosouza [~francisco@187.105.21.125] has quit [Quit:
franciscosouza]
12:51 -!- dfc [~dfc@124-149-60-140.dyn.iinet.net.au] has quit [Ping timeout: 244
seconds]
13:02 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
13:03 -!- niemeyer [~niemeyer@186.213.129.159] has joined #go-nuts
13:04 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts
13:08 -!- sebastianskejoe [~sebastian@188.114.142.217] has joined #go-nuts
13:09 -!- dj2 [~dj2@CPE001f5b35feb4-CM0014048e0344.cpe.net.cable.rogers.com] has
quit [Remote host closed the connection]
13:14 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
13:15 -!- franciscosouza [~francisco@201.7.186.67] has quit [Read error:
Connection reset by peer]
13:15 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Read
error: Operation timed out]
13:15 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
13:15 -!- niemeyer_ [~niemeyer@186.213.129.159] has joined #go-nuts
13:15 -!- niemeyer [~niemeyer@186.213.129.159] has quit [Read error: Connection
reset by peer]
13:17 -!- noodles775 [~michael@g225095125.adsl.alicedsl.de] has joined #go-nuts
13:17 -!- noodles775 [~michael@g225095125.adsl.alicedsl.de] has quit [Changing
host]
13:17 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
13:18 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
13:20 -!- SirPsychoS [~sp@64.80.128.39] has quit [Ping timeout: 255 seconds]
13:22 < jnwhiteh> hrm.  I missed nsf.
13:22 < jnwhiteh> I have an issue, needed to ask him a question =)
13:31 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined
#go-nuts
13:33 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Read error:
Connection reset by peer]
13:33 < skelterjohn> hah - a go/build package is introduced
13:37 -!- dj2 [~dj2@216.16.242.254] has joined #go-nuts
13:39 < skelterjohn> of course when i suggest such a thing i'm given 8
reasons why it's a waste of time
13:43 -!- _dfc [~dfc@124-149-60-140.dyn.iinet.net.au] has quit [Quit: Silly man, I
am a Baron!]
13:44 -!- Project-2501 [~Marvin@82.84.65.150] has joined #go-nuts
13:45 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
13:47 -!- PortatoreSanoDiI [~Marvin@82.84.69.202] has quit [Ping timeout: 260
seconds]
13:51 -!- fvbommel [~fvbommel_@131.155.247.9] has quit [Ping timeout: 276 seconds]
13:55 -!- PortatoreSanoDiI [~Marvin@82.84.73.142] has joined #go-nuts
13:55 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 246 seconds]
13:58 -!- Project-2501 [~Marvin@82.84.65.150] has quit [Ping timeout: 252 seconds]
14:02 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
14:05 -!- sebastianskejoe [~sebastian@188.114.142.217] has quit [Quit: Lost
terminal]
14:08 -!- fvbommel [~fvbommel_@131.155.246.127] has joined #go-nuts
14:11 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
14:14 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has
joined #go-nuts
14:16 -!- fvbommel [~fvbommel_@131.155.246.127] has quit [Ping timeout: 276
seconds]
14:21 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has joined #go-nuts
14:26 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has joined
#go-nuts
14:26 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has quit
[Changing host]
14:26 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
14:27 -!- niemeyer [~niemeyer@186.213.129.159] has quit [Ping timeout: 240
seconds]
14:28 -!- niemeyer [~niemeyer@201.86.216.135] has joined #go-nuts
14:40 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts
14:53 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has joined #go-nuts
14:56 -!- dj2_ [~dj2@216.16.242.254] has joined #go-nuts
14:57 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit:
leaving]
14:59 -!- dj2 [~dj2@216.16.242.254] has quit [Ping timeout: 260 seconds]
14:59 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit:
Leaving.]
15:00 -!- Project-2501 [~Marvin@82.84.86.84] has joined #go-nuts
15:02 -!- jyxent [~jyxent@129.128.191.96] has quit [Ping timeout: 260 seconds]
15:03 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
15:03 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw]
15:03 -!- PortatoreSanoDiI [~Marvin@82.84.73.142] has quit [Read error: Operation
timed out]
15:04 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts
15:06 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has joined
#go-nuts
15:07 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
15:10 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
15:12 -!- Queue29 [~Queue29@173-8-182-114-SFBA.hfc.comcastbusiness.net] has quit
[Remote host closed the connection]
15:21 -!- niemeyer [~niemeyer@201.86.216.135] has quit [Ping timeout: 240 seconds]
15:26 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw]
15:30 -!- tncardoso [~thiago@189.59.186.58.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 255 seconds]
15:30 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts
15:33 -!- ronnyy [~quassel@p4FF1C5B7.dip0.t-ipconnect.de] has joined #go-nuts
15:41 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host
closed the connection]
15:43 < mpl> alright, since it's a slow IRC day, for those who haven't heard
yet, here's a fine addition to go: http://codereview.appspot.com/4557047
15:44 < ww> we're all playing with http://www.xefer.com/wikipedia
15:44 < skelterjohn> lol
15:44 < skelterjohn> to the bikeshed pkg
15:47 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
15:48 < mpl> ww: I got a distance of 21 at my first try.  is that long?
what's the average?
15:49 < skelterjohn> what term did you use?
15:49 < mpl> brown dwarf
15:50 < mpl> (yes, I work in an astronomy institute, apologies ;) )
15:51 -!- Tv [~Tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 250
seconds]
15:53 < mdxi> i only got 17 on my first try (Ultimate Warrior)
15:53 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
15:54 < crunge> I just got 22
15:55 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
15:57 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
16:00 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Ping timeout: 255 seconds]
16:00 -!- GOP-USA_dotcom [~machine4@pool-74-111-197-200.lsanca.fios.verizon.net]
has joined #go-nuts
16:02 -!- piranha [~piranha@D57D1AB3.static.ziggozakelijk.nl] has quit [Quit:
Computer has gone to sleep.]
16:08 -!- niemeyer [~niemeyer@201.86.216.135] has joined #go-nuts
16:10 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has joined
#go-nuts
16:11 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has quit
[Remote host closed the connection]
16:11 -!- Venom_X [~pjacobs@66.54.185.130] has joined #go-nuts
16:15 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
16:15 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
16:18 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
16:18 -!- alehorst [~alehorst@189.114.187.67] has quit [Remote host closed the
connection]
16:18 -!- CoverSlide [~richard@pool-108-38-148-191.lsanca.fios.verizon.net] has
quit [Read error: No route to host]
16:20 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has joined #go-nuts
16:21 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has joined #go-nuts
16:21 -!- alehorst [~alehorst@189.114.187.67] has joined #go-nuts
16:21 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined
#go-nuts
16:22 -!- tncardoso [~thiagon@150.164.2.20] has joined #go-nuts
16:26 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
16:27 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
16:29 -!- pamera [~Pam@c-67-169-187-55.hsd1.ca.comcast.net] has joined #go-nuts
16:29 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Ping
timeout: 276 seconds]
16:30 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
16:30 -!- muke [~doobies@75-59-237-124.lightspeed.sntcca.sbcglobal.net] has quit
[Read error: Connection reset by peer]
16:30 -!- muke [~doobies@75-59-237-124.lightspeed.sntcca.sbcglobal.net] has joined
#go-nuts
16:31 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
16:31 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has joined
#go-nuts
16:34 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts
16:38 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has quit [Ping
timeout: 244 seconds]
16:40 -!- alehorst [~alehorst@189.114.187.67] has quit [Remote host closed the
connection]
16:47 * d_m just got 29 on the first try (hero quest)
16:50 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts
16:51 -!- alehorst [~alehorst@189.114.187.67] has joined #go-nuts
16:51 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined
#go-nuts
16:55 -!- virtualsue [~chatzilla@nat/cisco/x-kpmbplyidqvnbcfo] has quit [Quit:
ChatZilla 0.9.87 [Firefox 4.0.1/20110413222027]]
16:58 < wrtp> anyone know what the longest is?
16:58 < wrtp> maybe there's one that never terminates...
17:00 -!- eikenberry [~jae@ivanova.zhar.net] has joined #go-nuts
17:02 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has joined
#go-nuts
17:02 -!- ronnyy [~quassel@p4FF1C5B7.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
17:06 < mpl> wrtp: the author says he's hit endless loops
17:07 < mpl> hmm I got that wrong.
17:08 < mpl> he says there's a loop with "Telecommunication", but I don't
see why.
17:08 < mpl> at least it doesn't show in the graph.
17:09 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:14 < ahf> hmm, i read somewhere that google app engine has recently got
support for 'backends', which basically allows you to run code for more than 30
seconds.  do you guys know if it's possible to write backends in go too?
17:15 -!- init6 [~chad@ice.superfrink.net] has joined #go-nuts
17:16 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 255 seconds]
17:17 -!- iant [~iant@216.239.45.130] has joined #go-nuts
17:17 -!- mode/#go-nuts [+v iant] by ChanServ
17:19 -!- exch [~blbl@ip34-181-209-87.adsl2.static.versatel.nl] has joined
#go-nuts
17:19 -!- alehorst [~alehorst@189.114.187.67] has quit [Ping timeout: 255 seconds]
17:23 < wrtp> ahf: not yet i think
17:23 < ahf> damn
17:24 < ahf> it'd have been fun to play with this weekend
17:24 < wrtp> mpl: i read a bit more - if there's a loop, the code moves on
to the next link
17:24 < ahf> finally have a weekend off where i can just hack on pet
projects
17:24 < wrtp> ahf: i may be wrong
17:24 < ahf> wrtp: nah, i think you're right.  i have been unable to find
any information about it at least :-)
17:28 < kevlar_work> ahf, backends are not supported in Go yet, along with a
lot of the other newer features (concurrent requests, multithreading, pull queues,
channels, transactions)
17:28 < kevlar_work> but it is also brand new, and Java/Python have been
around for awhile, so I'm sure we can expect it to get a lot better.
17:29 < kevlar_work> (hopefully it can surpass python and java :D)
17:29 <+iant> people are working on all that stuff
17:29 <+iant> unfortunately I think it has to be people inside Google
17:30 <+iant> although I hear that AppScale has picked up Go support too,
now
17:30 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
17:30 < kevlar_work> yep, appscale already has (I believe) both concurrent
requests and multithreading on Go.
17:31 < ahf> kevlar_work: okay, cool
17:31 < ahf> guess i'll hack on my ircd project instead this weekend then :D
17:31 < kevlar_work> ahf, you're working on one too?
17:31 < ahf> one thing i have noticed after i started toying around with go
in the evenings here at home, is my complete lack of C++ skills in the mornings at
work
17:32 < ahf> i get so many "missing ;" errors now at work
17:32 < ahf> kevlar_work: i do
17:32 < kevlar_work> I've seen three (four if you count both of mine)
17:32 < ahf> it's something everyone is working on?  :-P
17:32 < ahf> hah
17:32 < kevlar_work> so far none are more than one developer.
17:32 < kevlar_work> (which is a shame, as I think a Go ircd could be really
successful)
17:32 < ahf> actually, the reason why i started looking into Go was to toy
around with WebSockets.  was working on WS support in ircd-ratbox
17:33 < ahf> i get jilles to review my code :-P
17:33 < ahf> høhø
17:33 < kevlar_work> lol, nice
17:33 < ahf> him and i are both on the irssi team together
17:33 < kevlar_work> I haven't worked with jillies much, but I used to hang
around nenolod and worked on TS6 and shadow
17:33 < ahf> and his input is so freakin' valuable
17:33 < ahf> yup
17:33 < ahf> he's mr.  irc :-P
17:34 < kevlar_work> sometimes it surprises me how small the IRC world can
be.
17:34 < ahf> how far is your project?  i have an extremely racy client
implementation now that i need to get fixed and two large "missing" concepts is
usermodes and channelmodes
17:34 < ahf> then i'll start looking into TS6
17:34 -!- alehorst [~alehorst@189.58.6.98.dynamic.adsl.gvt.net.br] has joined
#go-nuts
17:34 < ahf> even had a short talk with jilles about stuff that should be
fixed for TS6
17:34 < kevlar_work> I have basic channel support and basic TS6 server
(incoming) links
17:34 < ahf> oh, cool
17:34 < ahf> sounds like you are a bit ahead of me then
17:35 < kevlar_work> my first IRCd had a very complete local implementation
but hacking server support in was a pain because of my design so I scrapped it.
17:35 < ahf> aye
17:36 < ahf> i haven't spend much time thinking about the s2s side of mine
yet
17:36 < kevlar_work> this time I'm building from the ground up with server
linking support.
17:36 < ahf> the only thing i'd like to be able to do is to simulate entire
networks from the codebase easily
17:37 -!- PortatoreSanoDiI [~Marvin@82.84.91.83] has joined #go-nuts
17:38 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts
17:38 < ahf> kevlar_work: btw, is your code public?
17:38 < ahf> mine's here: https://github.com/ahf/ircd-novo
17:39 < kevlar_work> ahf, http://github.com/kevlar/ircd-blight/ (from
memory)
17:39 -!- pamera [~Pam@c-67-169-187-55.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
17:39 < kevlar_work> er, wrong
17:39 < kevlar_work> ahf, http://github.com/kylelemons/ircd-blight/ (from
memory)
17:39 < kevlar_work> lol
17:40 < ahf> gracias
17:40 < ahf> following you now 8)
17:40 -!- rutkowski [~adrian@178235050045.walbrzych.vectranet.pl] has joined
#go-nuts
17:41 -!- Project-2501 [~Marvin@82.84.86.84] has quit [Ping timeout: 244 seconds]
17:43 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has joined
#go-nuts
17:43 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has quit
[Changing host]
17:43 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
17:44 -!- alehorst [~alehorst@189.58.6.98.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 255 seconds]
17:48 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-166-123.clienti.tiscali.it] has
joined #go-nuts
17:50 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has quit [Quit:
This computer has gone to sleep]
17:52 -!- PortatoreSanoDiI [~Marvin@82.84.91.83] has quit [Ping timeout: 260
seconds]
17:53 -!- alehorst [~alehorst@189.114.185.182] has joined #go-nuts
18:00 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-161-245.clienti.tiscali.it]
has joined #go-nuts
18:03 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-166-123.clienti.tiscali.it] has
quit [Ping timeout: 252 seconds]
18:03 -!- init6 [~chad@ice.superfrink.net] has quit [Quit: Leaving]
18:05 < exch> where have os/signal.UnixSignal and the signal constants gone?
18:05 < exch> the constants are in syscall, but UniSignal has disappeared
18:08 < exch> ah nvm.  its in os
18:12 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has joined
#go-nuts
18:12 -!- Viriix [~joseph@c-67-169-172-251.hsd1.ca.comcast.net] has quit [Client
Quit]
18:15 -!- Venom_X [~pjacobs@66.54.185.130] has quit [Ping timeout: 246 seconds]
18:15 -!- Project-2501 [~Marvin@82.84.66.127] has joined #go-nuts
18:16 -!- MaL0 [~ircd@unaffiliated/mal0] has quit [Ping timeout: 258 seconds]
18:19 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-161-245.clienti.tiscali.it]
has quit [Ping timeout: 276 seconds]
18:20 -!- tavis_rain [~tavisb@24-104-129.146.hfc.mediarain.com] has joined
#go-nuts
18:22 -!- MaL0 [~ircd@unaffiliated/mal0] has joined #go-nuts
18:28 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has quit [Quit: Tv]
18:28 -!- Tv [~Tv@ip-66-33-206-8.dreamhost.com] has joined #go-nuts
18:37 -!- cco3 [~conleyo@nat/google/x-buamjgocorcwkkvg] has quit [Quit: Leaving.]
18:40 -!- rms^gnu [irclol@debianfoundation.org] has joined #go-nuts
18:40 < rms^gnu> sup
18:40 < exch> lo
18:41 -!- alehorst [~alehorst@189.114.185.182] has quit [Quit: Leaving.]
18:42 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote
host closed the connection]
18:42 -!- alehorst [~alehorst@189.114.185.182] has joined #go-nuts
18:43 -!- tncardoso [~thiagon@150.164.2.20] has quit [Quit: Leaving]
18:44 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has
joined #go-nuts
18:45 -!- TheMue [~TheMue@p5DDF6E4F.dip.t-dialin.net] has joined #go-nuts
18:50 -!- alehorst1 [~alehorst@189.114.185.182] has joined #go-nuts
18:50 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has quit [Read error:
Operation timed out]
18:51 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
18:53 -!- alehorst [~alehorst@189.114.185.182] has quit [Ping timeout: 255
seconds]
18:53 -!- vinisterx [~ryan@74-129-201-27.dhcp.insightbb.com] has joined #go-nuts
18:58 -!- chomp [~chomp@dap-209-166-184-50.pri.tnt-3.pgh.pa.stargate.net] has quit
[Quit: Leaving]
18:59 -!- huin [~huin@82.153.193.223] has joined #go-nuts
19:04 -!- alehorst1 [~alehorst@189.114.185.182] has quit [Quit: Leaving.]
19:07 -!- alehorst [~alehorst@189.114.185.182] has joined #go-nuts
19:14 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Ping timeout: 240
seconds]
19:27 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit:
wallerdev]
19:55 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has quit [Quit: Leaving.]
19:55 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 255 seconds]
19:56 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
19:57 -!- robteix [~robteix@192.55.54.36] has quit [Ping timeout: 240 seconds]
20:00 -!- keithcascio [~keithcasc@nat/google/x-aywqjonhcuytrtdq] has joined
#go-nuts
20:03 -!- kingless [~kingless@108-65-61-54.lightspeed.rlghnc.sbcglobal.net] has
joined #go-nuts
20:06 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has joined #go-nuts
20:14 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has
joined #go-nuts
20:17 -!- cco3 [~conleyo@nat/google/x-htejqlyjxdjnizex] has joined #go-nuts
20:24 -!- kingless [~kingless@108-65-61-54.lightspeed.rlghnc.sbcglobal.net] has
quit [Remote host closed the connection]
20:25 -!- Knirch [fatal@debian.as] has quit [Read error: Operation timed out]
20:25 -!- Knirch [fatal@debian.as] has joined #go-nuts
20:25 -!- fabled [~fabled@83.145.235.194] has quit [Read error: Operation timed
out]
20:26 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
20:26 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Read error:
Operation timed out]
20:27 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
20:28 -!- alehorst [~alehorst@189.114.185.182] has quit [Ping timeout: 255
seconds]
20:31 -!- viking [~stephej1@pdpc/supporter/21for7/viking] has joined #go-nuts
20:32 -!- shvntr [~shvntr@119.121.31.52] has quit [Quit: leaving]
20:33 < viking> it seems like Go uses the terms 'array' and 'slice'
interchangeably, even in package types (ex, sort.intArray is a int slice).  is
that right or am i missing something?  (i'm working my way through the tutorial)
20:33 < aiju> it's not entirely right
20:33 -!- Nisstyre [~nisstyre@109.74.204.224] has quit [Quit: Leaving]
20:34 -!- rutkowski [~adrian@178235050045.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
20:35 < skelterjohn> should probably be renamed
20:35 < viking> i know slices are reference types to access underlying
arrays, but to me, sort.IntArray is confusing
20:35 < skelterjohn> arrays and slices are different
20:35 < skelterjohn> in what way is it confusing?
20:35 < viking> it's confusing because it's not an array, it's a slice
20:35 < skelterjohn> so what are the multiple things that can be true that
you can't rule out
20:36 < skelterjohn> it's a poor name, but it's not confusing
20:36 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
20:36 < viking> skelterjohn: well, it's not confusing _now_ hehe
20:36 < viking> when i was trying to get my head around it, it was
20:36 < skelterjohn> :) sorry to chat and run, heading to the airport
20:36 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has quit [Quit:
skelterjohn]
20:37 < viking> i just wanted to make sure i understood correctly
20:40 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
20:41 < viking> i guess the right term is 'misleading' instead of
'confusing'
20:41 -!- ExtraSpice [XtraSpice@78-57-204-104.static.zebra.lt] has quit [Remote
host closed the connection]
20:44 -!- alehorst [~alehorst@189.58.0.153.dynamic.adsl.gvt.net.br] has joined
#go-nuts
20:44 -!- alehorst [~alehorst@189.58.0.153.dynamic.adsl.gvt.net.br] has quit
[Client Quit]
20:45 -!- dj2_ [~dj2@216.16.242.254] has quit [Remote host closed the connection]
20:45 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
20:50 -!- Venom_X [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit
[Quit: Leaving]
20:56 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts
20:58 -!- edsrzf [~edsrzf@122-61-221-144.jetstream.xtra.co.nz] has joined #go-nuts
20:58 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
21:01 -!- araujo [~araujo@190.73.44.29] has joined #go-nuts
21:01 -!- araujo [~araujo@190.73.44.29] has quit [Changing host]
21:01 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
21:02 -!- krolaw [~krolaw@203.100.208.229] has joined #go-nuts
21:05 -!- piranha [~piranha@5ED43A0B.cm-7-5a.dynamic.ziggo.nl] has quit [Quit:
Computer has gone to sleep.]
21:07 -!- bmizerany [~bmizerany@204.14.152.118] has joined #go-nuts
21:10 -!- huin [~huin@82.153.193.223] has quit [Ping timeout: 260 seconds]
21:10 -!- huin [~huin@82.153.193.223] has joined #go-nuts
21:11 -!- mehalelal [~mehalelal@76.103.175.11] has joined #go-nuts
21:17 -!- TheMue [~TheMue@p5DDF6E4F.dip.t-dialin.net] has quit [Quit: TheMue]
21:20 < uriel> adg: maybe it would be nice if the README (or a new INSTALL
file) mentioned that one just has to cd into src and run all.bash
21:21 < uriel> people to cat the readme, just to be told to check some site,
where it just says to run a very simple command
21:21 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Ping timeout: 255
seconds]
21:22 < uriel> (the README already mentions the setting of GOROOT)
21:26 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-160-163.clienti.tiscali.it]
has joined #go-nuts
21:27 -!- dshep [~dshep@c-76-103-91-143.hsd1.ca.comcast.net] has joined #go-nuts
21:29 -!- Fish- [~Fish@9fans.fr] has quit [Quit: So Long, and Thanks for All the
Fish]
21:29 -!- bmizerany [~bmizerany@204.14.152.118] has quit [Remote host closed the
connection]
21:30 -!- Project-2501 [~Marvin@82.84.66.127] has quit [Ping timeout: 252 seconds]
21:33 -!- freetz [~fritz@bc-proxy-2.sandia.gov] has quit [Ping timeout: 268
seconds]
21:39 -!- niemeyer [~niemeyer@201.86.216.135] has quit [Ping timeout: 240 seconds]
21:40 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
21:48 -!- dreadlorde [~dreadlord@c-24-11-39-160.hsd1.mi.comcast.net] has joined
#go-nuts
21:49 -!- jbooth1 [~jay@209.249.216.2] has quit [Quit: Leaving.]
21:49 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
276 seconds]
21:56 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
22:00 -!- PortatoreSanoDiI [~Marvin@dynamic-adsl-94-36-160-163.clienti.tiscali.it]
has quit [Quit: E se abbasso questa leva che succ...]
22:00 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-160-163.clienti.tiscali.it] has
joined #go-nuts
22:01 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:02 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-160-163.clienti.tiscali.it] has
quit [Client Quit]
22:06 -!- dfr|mac [~dfr|work@nat/google/x-ukapwvgyiumndgiu] has joined #go-nuts
22:07 -!- viking [~stephej1@pdpc/supporter/21for7/viking] has quit [Remote host
closed the connection]
22:13 -!- dfr|mac [~dfr|work@nat/google/x-ukapwvgyiumndgiu] has quit [Remote host
closed the connection]
22:13 -!- dfr|mac [~dfr|work@nat/google/x-ysnkixjtuwmyswdg] has joined #go-nuts
22:14 -!- huin [~huin@82.153.193.223] has quit [Quit: bedtime]
22:15 -!- cenuij [~cenuij@103.184.122.78.rev.sfr.net] has joined #go-nuts
22:15 -!- cenuij [~cenuij@103.184.122.78.rev.sfr.net] has quit [Changing host]
22:15 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
22:24 -!- GOP-USA_dotcom [~machine4@pool-74-111-197-200.lsanca.fios.verizon.net]
has quit [Quit: www.FaceFox.com]
22:32 -!- wrtp [~rog@92.23.129.173] has quit [Quit: wrtp]
22:34 -!- wchicken [~chicken@c-24-7-112-207.hsd1.ca.comcast.net] has quit [Ping
timeout: 258 seconds]
22:34 -!- photron [~photron@port-92-201-54-74.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
22:41 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has joined
#go-nuts
22:41 -!- hcatlin [~hcatlin@c-24-127-228-41.hsd1.fl.comcast.net] has quit
[Changing host]
22:41 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
22:46 -!- squeese_ [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
22:47 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Read error:
Connection reset by peer]
22:56 -!- sjbrown [~sjbrown@c-98-210-195-242.hsd1.ca.comcast.net] has joined
#go-nuts
23:11 -!- dfr|mac_ [~dfr|work@nat/google/x-szorluxkiloevoxm] has joined #go-nuts
23:11 -!- dfr|mac [~dfr|work@nat/google/x-ysnkixjtuwmyswdg] has quit [Read error:
Connection reset by peer]
23:12 -!- aat [~aat@rrcs-184-75-54-130.nyc.biz.rr.com] has quit [Quit: Computer
has gone to sleep.]
23:15 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has
quit [Quit: whitespacechar]
23:18 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
23:18 -!- whitespacechar [~whitespac@24-247-159-7.dhcp.klmz.mi.charter.com] has
joined #go-nuts
23:21 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
23:27 -!- krolaw [~krolaw@203.100.208.229] has quit [Quit: krolaw]
23:36 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Linkinus - http://linkinus.com]
23:42 -!- replore_ [~replore@ntkngw256114.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
23:42 -!- Crnobog [~crnobog@cpc3-nmal12-0-0-cust48.croy.cable.virginmedia.com] has
quit [Read error: Connection reset by peer]
23:42 -!- Bigbear1 [~Cody@d75-156-128-238.abhsia.telus.net] has joined #go-nuts
23:42 -!- Crnobog [~crnobog@cpc3-nmal12-0-0-cust48.croy.cable.virginmedia.com] has
joined #go-nuts
23:46 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Read error: Connection
reset by peer]
23:46 -!- mehalelal [~mehalelal@76.103.175.11] has quit [Remote host closed the
connection]
23:50 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
23:51 -!- dfr|mac [~dfr|work@nat/google/x-jodzxlfwfgigfxuq] has joined #go-nuts
23:52 -!- awidegreen [~quassel@h-170-226.A212.priv.bahnhof.se] has quit [Remote
host closed the connection]
23:52 -!- dfr|mac_ [~dfr|work@nat/google/x-szorluxkiloevoxm] has quit [Ping
timeout: 244 seconds]
23:58 -!- goon12 [~goon12@71-87-215-29.dhcp.oxfr.ma.charter.com] has quit [Ping
timeout: 255 seconds]
--- Log closed Sat Jun 11 00:00:03 2011