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

--- Log opened Sat Feb 05 00:00:05 2011
00:00 -!- JusticeFries [~JusticeFr@c-24-9-171-36.hsd1.co.comcast.net] has joined
#go-nuts
00:01 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
00:06 -!- photron [~photron@port-92-201-120-86.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
00:07 -!- itrekkie [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has joined #go-nuts
00:11 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
00:13 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
00:18 -!- jodaro [~user@poquito.divinia.com] has quit [Ping timeout: 255 seconds]
00:19 -!- fhs [~fhs@pool-74-101-66-112.nycmny.east.verizon.net] has joined
#go-nuts
00:31 -!- artefon [~thiago@189.59.156.24.dynamic.adsl.gvt.net.br] has joined
#go-nuts
00:32 -!- iant [~iant@nat/google/x-jfcxyzrlqgaqyigb] has quit [Quit: Leaving.]
00:35 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
00:37 -!- artefon [~thiago@189.59.156.24.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 255 seconds]
00:42 -!- kr [~kr@c-24-5-193-165.hsd1.ca.comcast.net] has quit [Quit: WeeChat
0.3.2]
00:44 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has joined #go-nuts
00:46 < plexdev> http://is.gd/q9kOxi by [Kyle Consalus] in
go/src/pkg/template/ -- template: Add simple formatter chaining.
00:49 -!- artefon [~thiago@189.59.129.235.dynamic.adsl.gvt.net.br] has joined
#go-nuts
01:00 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has quit [Quit:
adu]
01:00 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
01:02 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
01:02 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has joined
#go-nuts
01:03 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Client
Quit]
01:04 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
01:05 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has joined
#go-nuts
01:05 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
01:08 -!- tvw [~tv@e176005006.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
01:08 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has joined #go-nuts
01:17 -!- dforsyth [~dforsyth@bastion.inap.yelpcorp.com] has quit [Quit: Computer
has gone to sleep.]
01:17 -!- franksalim [~frank@99-123-6-19.lightspeed.sntcca.sbcglobal.net] has quit
[Quit: Ex-Chat]
01:32 < Xenith> Hah.  That's amusing.  Installing go failed on my debian
system because it doesn't have ed installed.
01:34 < MaybeSo> *boggle* everyone knows ed is the one true editor!  :)
01:35 -!- iant [~iant@67.218.104.194] has joined #go-nuts
01:36 -!- mode/#go-nuts [+v iant] by ChanServ
01:36 < Xenith> Yea, odd that ed wasn't included by default.
01:40 -!- gmilleramilar [~gmiller@38.104.67.234] has quit [Ping timeout: 240
seconds]
01:42 < Xenith> Has anyone ever used Doxygen with go projects?
01:43 <+iant> we already have godoc
01:43 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
01:48 < plexdev> http://is.gd/M1onD3 by [Robert Griesemer] in 3 subdirs of
go/src/pkg/ -- go/printer, gofmt: smarter handling of multi-line raw strings
01:54 < rm445> surely ed is in Debian base?  Had you actively removed it?
01:56 -!- gmilleramilar [~gmiller@38.104.67.234] has joined #go-nuts
02:04 -!- shvntr [~shvntr@123.89.110.17] has joined #go-nuts
02:05 < Xenith> rm445: I never removed it by hand.  No idea why it wasn't
installed.
02:09 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has quit [Quit:
Sleeping with the fishes...]
02:10 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has joined #go-nuts
02:16 -!- MX80 [~MX80@cust223.253.117.74.dsl.g3telecom.net] has quit [Remote host
closed the connection]
02:23 -!- niemeyer [~niemeyer@201-66-207-103.pltce701.dsl.brasiltelecom.net.br]
has quit [Ping timeout: 240 seconds]
02:31 -!- MX80 [~MX80@cust223.253.117.74.dsl.g3telecom.net] has joined #go-nuts
02:50 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has joined
#go-nuts
02:50 < crazy2be> hey how do you get godoc to generate documentation for
custom pacakges?
02:57 -!- jhawk28_ [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Quit:
Leaving...]
02:57 -!- tav [~tav@92.7.116.65] has quit [Quit: Hakuna Matata]
02:58 -!- tav [~tav@92.7.116.65] has joined #go-nuts
03:06 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
03:07 < crazy2be> bbl
03:07 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has quit [Remote
host closed the connection]
03:10 -!- artefon [~thiago@189.59.129.235.dynamic.adsl.gvt.net.br] has quit [Read
error: Connection reset by peer]
03:13 -!- iant [~iant@67.218.104.194] has quit [Quit: Leaving.]
03:14 -!- Tuller [~tuller@c-69-143-52-174.hsd1.va.comcast.net] has quit [Remote
host closed the connection]
03:23 -!- nutate [~rseymour@cacsag4.usc.edu] has quit [Quit: nutate]
03:25 -!- sauerbraten [~sauerbrat@p508CBA2C.dip.t-dialin.net] has quit [Quit:
Leaving]
03:36 -!- boscop [~boscop@f055113077.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
03:40 -!- hcl2 [~akuma@75.41.110.112] has quit [Read error: Operation timed out]
03:54 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has joined
#go-nuts
03:54 < crazy2be> so any ideas for how to get godoc to generate
documentation for custom packages?
03:58 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has quit [Remote host closed the
connection]
04:07 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
04:07 -!- mode/#go-nuts [+v iant] by ChanServ
04:09 -!- cafesofie [~cafesofie@ool-4a5978f2.dyn.optonline.net] has quit [Remote
host closed the connection]
04:09 < |Craig|> crazy2be: don't you just install the packages (such as with
goinstall) and it works?
04:10 < crazy2be> well i use the go make files with inc src/Make.pkg or w/e
04:10 < crazy2be> *makefiles
04:10 < crazy2be> do i have to goinstall them as well?
04:14 < |Craig|> crazy2be: Depends on the makefile, they can install things
or not.  There may be a way (there prabably is) to run godoc on some arbitrary
source directory though
04:14 < crazy2be> well goinstall doesn't seem to want to install them :/
04:15 < crazy2be> i try to install one, and it complains about missing deps.
Then, i go and try to install the deps.  They seem to install without errors.
04:15 < crazy2be> however, the main one will still not install, complaining
about the missing debs
04:15 < crazy2be> *deps
04:15 < |Craig|> "The -path flag accepts a list of colon-separated paths" -
http://golang.org/cmd/godoc/
04:17 < crazy2be> yeah i tried that
04:17 < crazy2be> it doesn't work right away, and isn't supposed to
04:17 < crazy2be> so i left it for a bit
04:17 < crazy2be> came back, and godoc was using 45% of my RAM
04:17 < crazy2be> and still didn't have them
04:17 < crazy2be> i couldn't work with my computer like that so i had to
kill it :/
04:19 < crazy2be> wish it could just generate static html or something
04:23 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:27 -!- keithcascio [~keithcasc@nat/google/x-fchxeeptsjuuohta] has quit [Quit:
Leaving]
04:44 < fhs> crazy2be: you can cd into the package directory, and do 'godoc
-html .'
04:47 < crazy2be> fhs: OOOH!
04:47 < crazy2be> thank you!
04:47 < crazy2be> that's a lot closer to what i was looking for!
05:53 -!- bmizerany [~bmizerany@c-76-21-40-53.hsd1.ca.comcast.net] has joined
#go-nuts
05:57 -!- crazy2be [~justin@S0106001ac401d400.cg.shawcable.net] has quit [Remote
host closed the connection]
06:15 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
06:27 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has joined
#go-nuts
06:32 -!- Wiz126 [Wiz@h29.117.232.68.ip.windstream.net] has quit [Ping timeout:
250 seconds]
06:32 -!- Wiz126 [Wiz@h29.117.232.68.ip.windstream.net] has joined #go-nuts
06:35 -!- fzzbt [~fzzbt@77.79.7.8] has quit [Ping timeout: 240 seconds]
06:36 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
06:39 -!- pai [~CrazyThin@unaffiliated/mosva] has quit [Read error: Connection
reset by peer]
06:44 -!- pai [~CrazyThin@unaffiliated/mosva] has joined #go-nuts
06:52 -!- fzzbt [~fzzbt@77.79.7.8] has joined #go-nuts
07:03 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has quit [Quit:
Sleeping with the fishes...]
07:06 -!- nettok_ [~quassel@200.119.178.161] has joined #go-nuts
07:06 -!- nettok [~quassel@200.119.159.171] has quit [Ping timeout: 240 seconds]
07:14 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
07:20 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Ping
timeout: 245 seconds]
07:27 -!- Sumo- [~sumodefen@60-241-0-5.static.tpgi.com.au] has joined #go-nuts
07:30 -!- nettok_ [~quassel@200.119.178.161] has quit [Ping timeout: 260 seconds]
07:37 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has joined
#go-nuts
07:37 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
07:41 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
07:44 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
07:48 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:52 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has quit [Quit:
Leaving.]
07:59 < adu> WOOT!  my parser works :)
08:05 -!- bmizerany [~bmizerany@c-76-21-40-53.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
08:08 -!- photron [~photron@port-92-201-95-155.dynamic.qsc.de] has joined #go-nuts
08:24 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has joined #go-nuts
08:25 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has quit [Client Quit]
08:28 -!- adu [~ajr@pool-173-79-54-138.washdc.fios.verizon.net] has quit [Quit:
adu]
08:34 -!- ronnyy [~quassel@p4FF1C4B5.dip0.t-ipconnect.de] has joined #go-nuts
08:36 -!- itrekkie [~itrekkie@ip72-211-129-122.tc.ph.cox.net] has quit [Quit:
itrekkie]
08:37 -!- gmilleramilar [~gmiller@38.104.67.234] has quit [Ping timeout: 240
seconds]
08:38 -!- gmilleramilar [~gmiller@38.104.67.234] has joined #go-nuts
08:51 -!- pai [~CrazyThin@unaffiliated/mosva] has quit [Quit: pai]
08:55 -!- pothos [~pothos@111-240-165-153.dynamic.hinet.net] has quit [Remote host
closed the connection]
08:55 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has joined #go-nuts
08:56 -!- pothos [~pothos@111-240-165-153.dynamic.hinet.net] has joined #go-nuts
09:00 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
09:05 -!- Sumo- [~sumodefen@60-241-0-5.static.tpgi.com.au] has quit [Read error:
Connection reset by peer]
09:09 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
09:13 -!- boscop [~boscop@f055204211.adsl.alicedsl.de] has joined #go-nuts
09:21 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
09:21 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
09:26 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has quit [Quit:
Sleeping with the fishes...]
09:41 -!- wrtp [~rog@92.17.35.133] has joined #go-nuts
09:48 -!- CoconutCrab [~cua@unaffiliated/coconutcrab] has joined #go-nuts
09:52 -!- _jgr [~jgr@CPE-123-211-173-81.lnse3.woo.bigpond.net.au] has quit [Ping
timeout: 240 seconds]
09:52 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
09:52 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:54 -!- _jgr [~jgr@CPE-123-211-173-81.lnse3.woo.bigpond.net.au] has joined
#go-nuts
10:00 -!- _jgr [~jgr@CPE-123-211-173-81.lnse3.woo.bigpond.net.au] has quit [Ping
timeout: 260 seconds]
10:01 -!- _jgr [~jgr@CPE-123-211-173-81.lnse3.woo.bigpond.net.au] has joined
#go-nuts
10:09 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has joined #go-nuts
10:24 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
10:27 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
10:39 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
10:45 -!- vegai [vegai@archlinux/developer/vegai] has joined #go-nuts
10:54 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
10:55 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
11:13 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:18 -!- Belg [~kim@gw-gbg.ilait.se] has quit [Ping timeout: 240 seconds]
11:23 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
11:27 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
11:32 -!- shvntr [~shvntr@123.89.110.17] has quit [Ping timeout: 246 seconds]
11:34 -!- shvntr [~shvntr@59.35.234.32] has joined #go-nuts
11:37 -!- tensorpudding [~user@99.23.127.179] has quit [Remote host closed the
connection]
11:41 -!- Project_2501 [~Marvin@82.84.90.207] has joined #go-nuts
11:41 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
11:41 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
11:42 -!- pai [~CrazyThin@unaffiliated/mosva] has joined #go-nuts
11:54 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
11:59 -!- CoconutCrab [~cua@unaffiliated/coconutcrab] has quit [Quit: rơm]
12:08 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:13 -!- dRbiG [drbig@unhallowed.pl] has quit [Ping timeout: 240 seconds]
12:13 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 276 seconds]
12:14 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:19 -!- dRbiG [drbig@unhallowed.pl] has joined #go-nuts
12:20 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
12:21 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
12:21 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
12:31 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
12:31 -!- roo [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout: 600
seconds]
12:31 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
612 seconds]
12:36 -!- gastal [~gastal@186.214.48.80] has joined #go-nuts
12:37 -!- gits [~gits@77.94.219.158] has joined #go-nuts
12:39 < gastal> Trying to update go(hg pull -u) results in "abort: error:
Name or service not known".  Any ideas what the problem might be?
12:40 < aiju> server down?
12:40 < gastal> I've been having that problem for 2 days now and I can ping
go.googlecode.com without a problem....
12:42 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 255 seconds]
12:43 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:46 -!- kashia_ [~Kashia@p4FE87B9C.dip.t-dialin.net] has quit [Ping timeout: 240
seconds]
12:46 -!- quantumelixir [~chillu@203.110.240.41] has joined #go-nuts
12:51 -!- kashia_ [~Kashia@2001:0:53aa:64c:0:3260:b017:9550] has joined #go-nuts
13:01 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
13:02 -!- Scorchin [~Scorchin@host109-158-116-182.range109-158.btcentralplus.com]
has joined #go-nuts
13:07 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
13:12 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 240 seconds]
13:13 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
13:14 -!- piranha [~piranha@5ED4B890.cm-7-5c.dynamic.ziggo.nl] has joined #go-nuts
13:23 -!- gastal [~gastal@186.214.48.80] has quit [Remote host closed the
connection]
13:28 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 245 seconds]
13:33 -!- sauerbraten [~sauerbrat@p508CFC4D.dip.t-dialin.net] has joined #go-nuts
13:39 -!- cafesofie [~cafesofie@ool-4a5978f2.dyn.optonline.net] has joined
#go-nuts
13:41 -!- chee [~chee@unaffiliated/chee] has joined #go-nuts
13:43 -!- creack [~charme_g@163.5.84.215] has quit [Read error: Operation timed
out]
13:45 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:48 -!- creack [~charme_g@163.5.84.215] has joined #go-nuts
13:58 -!- erus_ [519f126f@gateway/web/freenode/ip.81.159.18.111] has joined
#go-nuts
14:01 < erus_> Does anyone know of a tutorial for reading/using JSON files
as configuration files, for dummies?
14:01 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
14:02 < aiju> erus_: c'mon, it's really not hard
14:02 < erus_> Some people are telling me to load into a map
14:02 < erus_> other are telling me not to
14:02 < aiju> how about trying it out?
14:03 < erus_> I may be able to learn from others mistakes rather than my
own and save some time?
14:04 < aiju> now really c'mon
14:04 < aiju> does it take that long to try out?
14:06 < erus_> I guess not
14:09 < erus_> aiju: I want a list/array of scenenodes.  Each scenenode has
different properties like sphere has radius and plane has normal
14:09 < rm445> aiju being a bit harsh IMO.  There is almost certainly room
for 'for dummies' documentation for Go. There's certainly room for *something*
more helpful than the package documentation and source code.
14:10 < rm445> For now I think the JSON tutorial on the Go blog is as much
as there is.  If you can follow that you can probably start rolling your own stuff
immediately.
14:10 -!- ronnyy [~quassel@p4FF1C4B5.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
14:13 < aiju> erus_: you can also read in a struct
14:13 < erus_> yes but i wont know which type it is until i read it
14:20 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
14:29 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
14:31 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has joined #go-nuts
14:39 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has quit [Quit:
illya77]
14:51 -!- wrtp [~rog@92.17.35.133] has left #go-nuts []
15:03 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
15:12 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
15:15 -!- thomas_b [~thomasb@cm-84.215.47.51.getinternet.no] has quit [Quit:
leaving]
15:16 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
15:17 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Operation timed out]
15:22 -!- walt [~walt@c-4f6615da-74736162.cust.telenor.se] has joined #go-nuts
15:27 < dario_> so, whats the most effective way of converting between byte
slice and string ?
15:28 < aiju> byte[]() and string()
15:28 < aiju> ehm
15:28 < aiju> ([]byte) and (string)
15:28 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
15:29 < dario_> oh, right
15:29 < dario_> cuz i was fuzzing with bytes.Buffer and shit ...
15:30 < nsf> aiju: () are not necessary
15:30 < nsf> []byte(..) works
15:30 < nsf> they are necessary only for pointer types
15:30 < aiju> oic
15:30 < nsf> with prefix * operator
15:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
15:30 < aiju> so cast syntax is type(value)?
15:31 < nsf> yes
15:31 < nsf> C: (type)var, Go: type(var)
15:32 < aiju> i think C99 also supports the latter
15:32 < dario_> but (*type)(var)
15:34 < nsf> aiju: never heard anything like that
15:34 < aiju> oh then nvm
15:34 < aiju> but C++ does :>
15:34 < nsf> test.c:6:11: error: expected expression
15:34 < nsf> char c = char(x);
15:34 < nsf> C++, yes
15:34 < nsf> but not C
15:34 < aiju> although it's obsoloted in favour of
wtf_the_fuck_is_this_cast<int>(x)
15:35 < aiju> *e
15:35 < nsf> static_cast usually
15:35 < aiju> almost COBOL like
15:35 < aiju> CAST X TO INT
15:35 < nsf> whatever, I don't use C++
15:35 < nsf> I'm working on a C99 completion daemon right now :D
15:36 < nsf> http://ompldr.org/vN2FzMQ/2011-02-05-191453_644x410_scrot.png
15:36 < nsf> :P
15:36 < nsf> like gocode, but for C
15:36 < nsf> uses libclang
15:36 < aiju> eww localization :P
15:36 < nsf> :)
15:36 * jumzi aims and shoots locale!
15:37 < nsf> btw, I have no idea why I'm using it
15:37 < nsf> for example in GIMP I turn it off explicitly, because it's
nearly impossible to use it with my native locale
15:38 < erus_> Hey skelterjohn
15:45 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
15:45 < aiju> nsf: i turned it off everywhere, i even start telling sites
i'm from US, i can't stand the localized bullshit
15:46 < nsf> hehe
15:46 < aiju> okay, my windows installations are still localized, because of
their fucking licenses
15:46 < nsf> on windows I use english Steam as well, and hate localized
version of the team fortress 2
15:46 < nsf> but anyway
15:47 < nsf> it's not because like I hate russian, simply because most
translations suck
15:47 < nsf> sadly
15:47 < aiju> yeah same with me and german
15:47 < nsf> or not, I think it's kind of natural
15:47 < jumzi> Hmm, i hate both german and russian
15:47 < nsf> lol
15:48 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
15:49 < aiju> i only know да and водка
15:49 < nsf> :D
15:49 < aiju> okay, also nyet, but i have no clue how it is spelled
15:49 < nsf> нет
15:49 < nsf> :)
15:49 < aiju> an implicit y somewhere?
15:50 < nsf> um..  no, it's just like that
15:50 < aiju> е is ye or something?
15:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
15:50 < nsf> N letter makes it soft, I don't know
15:50 < aiju> oic
15:50 < nsf> we have another letter for hard E
15:50 < nsf> it's э
15:51 < nsf> english 'net' reads more like нэт
15:51 < nsf> but russian 'нет' more like nyet, yes
15:53 < aiju> also bolsheviki and mensheviki, but i forget what they mean ..
majority and minority?
15:53 < nsf> about N letter making it soft is nonsense, sorry
15:53 < nsf> uhm..  yes, sort of
15:53 < nsf> bolshe means more
15:53 < nsf> menshe means less
15:53 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Quit: Leaving]
15:54 < aiju> there is probably some Clockwork Orange vocabulary i picked up
as well, but that one's all over the slavic languages
15:54 < nsf> hehe
15:55 < aiju> koshka, was that cat?  *scratcheshead*
15:55 < erus_> Ñ
15:55 < nsf> yes
15:55 < nsf> it's a female cat actually, male cat is 'kot'
15:55 < nsf> :)
15:55 < aiju> in german the female term is generic
15:55 < aiju> a random cat is said to be female
15:56 < jumzi> Woho!  #go-nuts has been transformed into russian and german
101
15:56 < nsf> hehe
15:56 < nsf> jumzi: don't worry, there is an implicit irc rule, if no one
has on-topic questions, off-topic is allowed :D
15:56 < nsf> we're just chatting :P
15:57 < jumzi> s/if on one has on-topic question//
15:58 < nsf> lol
15:58 < nsf> indeed
16:01 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
16:02 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has joined #go-nuts
16:04 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
16:08 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
16:10 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
16:16 -!- walt [~walt@c-4f6615da-74736162.cust.telenor.se] has quit [Ping timeout:
272 seconds]
16:24 -!- niemeyer [~niemeyer@189.30.48.133] has joined #go-nuts
16:26 < chee> go is good
16:28 -!- dRbiG [drbig@unhallowed.pl] has quit [Quit: leaving]
16:28 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
16:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
16:30 -!- dRbiG [drbig@unhallowed.pl] has joined #go-nuts
16:31 -!- quantumelixir [~chillu@203.110.240.41] has left #go-nuts []
16:32 -!- jesusaurus [jesusaur@firefly.cat.pdx.edu] has joined #go-nuts
16:33 -!- shvntr [~shvntr@59.35.234.32] has quit [Quit: leaving]
16:37 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
16:38 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
16:45 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 260 seconds]
16:45 -!- maattd [~maattd@esc31-1-78-245-92-71.fbx.proxad.net] has quit [Remote
host closed the connection]
16:45 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
16:48 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
16:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
16:53 -!- KingPhilroy [~kingphilr@shc-nat-newhall.stonehill.edu] has joined
#go-nuts
16:55 < uriel> 01:54 < rm445> surely ed is in Debian base?  Had you
actively removed it?
16:56 < uriel> Debian (and other distros) are badly broken by default, the
include tons and tons of useless crap, but are missing something as basic and
fundamental to unix as ed(1)
16:56 < aiju> Ed is the standard text editor.
16:57 < uriel> it is
16:57 < uriel> and a damned useful command line/scripting tool
16:59 < chee> Debian base comes without ed!?
16:59 < chee> i didn't think that was even legal
16:59 -!- jodaro [~user@70-36-136-156.dsl.dynamic.sonic.net] has joined #go-nuts
16:59 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
17:00 < jodaro> nutz
17:08 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
17:10 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
17:12 < plexdev> http://is.gd/xTmAxg by [Adam Langley] in
go/src/pkg/crypto/openpgp/packet/ -- crypto/openpgp/packet: two more packet types.
17:15 -!- gits [~gits@77.94.219.158] has joined #go-nuts
17:27 -!- tvw [~tv@e176007081.adsl.alicedsl.de] has quit [Remote host closed the
connection]
17:28 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
17:29 -!- The_Cog [~steve@i-195-137-123-15.freedom2surf.net] has joined #go-nuts
17:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
17:38 < erus_> hey skelterjohn
17:38 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
17:42 -!- DerHorst [~Horst@e176106061.adsl.alicedsl.de] has joined #go-nuts
17:44 -!- The_Cog [~steve@i-195-137-123-15.freedom2surf.net] has left #go-nuts []
17:47 -!- visof [~visof@41.238.234.238] has joined #go-nuts
17:47 -!- visof [~visof@41.238.234.238] has quit [Changing host]
17:47 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
17:48 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
17:49 -!- sauerbraten [~sauerbrat@p508CFC4D.dip.t-dialin.net] has quit [Ping
timeout: 272 seconds]
17:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
17:52 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
17:53 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Read
error: Connection reset by peer]
17:54 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
17:55 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has joined #go-nuts
18:00 -!- dforsyth [~dforsyth@c-76-21-40-117.hsd1.ca.comcast.net] has joined
#go-nuts
18:02 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 276 seconds]
18:09 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
18:10 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
18:16 -!- pai [~CrazyThin@unaffiliated/mosva] has quit [Quit: pai]
18:19 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
18:29 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
18:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
18:39 -!- erus_ [519f126f@gateway/web/freenode/ip.81.159.18.111] has quit [Quit:
Page closed]
18:41 -!- visof_ [~visof@41.238.234.144] has joined #go-nuts
18:42 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has joined #go-nuts
18:42 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
18:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
18:51 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
18:58 -!- WatermelonStorm [~wms@p5DF2E941.dip.t-dialin.net] has joined #go-nuts
18:59 < WatermelonStorm> I ponder if somebody already made some kind of
social community with Go as a backend.
18:59 -!- Project-2501 [~Marvin@82.84.81.169] has joined #go-nuts
18:59 < plexdev> http://is.gd/dIJPMK by [Adam Langley] in
go/src/pkg/crypto/tls/ -- crypto/tls: load a chain of certificates from a file.
19:00 < aiju> so-ci-al?
19:00 < plexdev> http://is.gd/wz2oGJ by [Adam Langley] in go/src/pkg/asn1/
-- asn1: marshal true as 255, not 1.
19:00 < plexdev> http://is.gd/79ZThT by [Adam Langley] in
go/src/pkg/crypto/tls/ -- crypto/tls: select best ciphersuite, not worst.
19:00 < WatermelonStorm> aiju: Yes.
19:00 < Ina> It should be possible, at least.
19:00 < WatermelonStorm> Or at least some kind of...  well, frequently
accessed website with Go as a backend.
19:00 < WatermelonStorm> Ina: Of course.
19:00 < aiju> oh you mean a website
19:01 < aiju> i thought you thought of some club which meet each thursday at
the pub to discuss Go
19:01 < aiju> i forgot community means something different in Web 2.0
parlance
19:01 < WatermelonStorm> Heck, you can make a web server with something
running on top of it in this here:
http://www.wordiq.com/definition/L33t_programming_language
19:02 < WatermelonStorm> Probably.
19:02 < WatermelonStorm> ( That is one of the only Esoteric programming
languages I found that have native socket support, actually.  )
19:02 -!- Project_2501 [~Marvin@82.84.90.207] has quit [Ping timeout: 240 seconds]
19:03 < Ina> lol
19:03 < WatermelonStorm> Actually, wait.  Silly me, that's just a TCP client
connection it can make.
19:03 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
19:03 < jumzi> lol, made a social community with go as backend
19:03 -!- illya77 [~illya77@54-117-112-92.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
19:03 < jumzi> those words just fits my mouth
19:05 -!- rbraley [~rbraley@ip72-222-134-229.ph.ph.cox.net] has joined #go-nuts
19:05 -!- nettok [~quassel@200.119.181.6] has joined #go-nuts
19:05 -!- visof_ [~visof@41.238.234.144] has quit [Quit: Leaving]
19:09 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
19:10 -!- WatermelonStorm [~wms@p5DF2E941.dip.t-dialin.net] has left #go-nuts []
19:11 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
19:11 -!- eikenberry [~jae@ivanova.zhar.net] has joined #go-nuts
19:22 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 250 seconds]
19:22 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
19:24 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
19:28 -!- sussman_ [~sussman@apache/committer/sussman] has joined #go-nuts
19:29 < sussman_> greetings: I usually pull & build every few weeks, but my
mac is getting pegged/hung on the build process today
19:29 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
19:29 < sussman_> the command 'cgo -- gmp.go' hangs for 3+ hours, eating
most CPU
19:30 < sussman_> the last thing the build process prints before hanging is
"throw: runtime: cannot reserve memory bitmap virtual address space"
19:30 < sussman_> is this a known prob?
19:30 < aiju> probably
19:31 < aiju> might be fixed in a few hours
19:31 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
19:31 < sussman_> maybe I'll backdate a day or two.  :-)
19:33 < madari_> is it normal that the vsize of my running app is 3986GB
according to'top'
19:34 < aiju> haha no
19:35 < madari_> also, htop looks pretty funny:
http://grab.by/grabs/9183cfbaa7303a46e45265ebf2446d8a.png
19:36 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
19:51 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
19:51 -!- cafesofie [~cafesofie@ool-4a5978f2.dyn.optonline.net] has quit [Remote
host closed the connection]
19:54 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 255 seconds]
19:54 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
19:56 -!- adu [~ajr@64.134.96.109] has joined #go-nuts
20:01 -!- femtooo [~femto@95-89-197-149-dynip.superkabel.de] has joined #go-nuts
20:02 < jodaro> are there any ~regular go specific meetups in the bay area?
20:03 < aiju> which bay?  :P
20:03 < Xenith> The only one that matters, of course.
20:04 < jodaro> heh
20:04 < jodaro> sorry
20:04 < jodaro> the "San Francisco Bay Area"
20:04 < jodaro> that one
20:04 -!- femtoo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Ping
timeout: 240 seconds]
20:05 -!- ssalbiz [~ssalbiz@taurine.csclub.uwaterloo.ca] has joined #go-nuts
20:09 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
20:09 < jodaro> maybe i'll see how much interest there is and organize
something
20:11 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
20:11 -!- bmizerany [~bmizerany@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
20:15 -!- TheMue [~TheMue@p5DDF63C7.dip.t-dialin.net] has joined #go-nuts
20:23 -!- erus_ [519f126f@gateway/web/freenode/ip.81.159.18.111] has joined
#go-nuts
20:23 < erus_> whats the go idiomatic alternative to enums?
20:23 < TheMue> iota
20:23 < TheMue> const (
20:23 < TheMue> foo = iota
20:23 < TheMue> bar
20:23 < TheMue> yadda
20:23 < TheMue> )
20:26 < exch> more precisely, specific types for constants.  type T uint8;
const( foo T = iota; bar; yadda; )
20:26 < exch> you can then define funcitons to accept params of type T
20:26 < exch> That doesnt strictly limit param values to foo, bar or yadda,
but different values have to be cast to T
20:27 < exch> simply passing uint8 will not work
20:27 < aiju> don't you have to declare bar and yadda as T as well?
20:27 < TheMue> http://golang.org/doc/go_spec.html#Iota
20:28 < exch> Nope.  the first declaraiton of iota is automatically copied
to all subsequent constant values in the same const() block
20:28 < exch> including the T bit
20:28 < TheMue> iota always represents untyped integers
20:29 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.4]
20:29 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
20:30 < aiju> i can pass other values like 42 perfectly fine
20:30 -!- niemeyer [~niemeyer@189.30.48.133] has quit [Ping timeout: 240 seconds]
20:31 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
20:31 < jumzi> woot what!?  Someone said 42!?
20:32 < erus_> thats a strange way todo enums :)
20:32 < exch> hm, thats not right
20:32 < aiju> erus_: you can do some nice tricks with it
20:32 < exch> it suggest Go is doing an implicit conversion from an int to
T. Go shuoldn't be doing implicit conversions, bar some edge cases
20:32 < aiju> like 1<<iota to have 1,2,4,8 instead
20:32 < aiju> exch: 42 is untyped
20:33 < erus_> yeh its cool
20:33 < exch> ah yes
20:33 < aiju> i tend to be explicit with enums
20:34 < aiju> usually just because i need explicit values in some other
context ....
20:36 -!- Urmel| [~11087Urme@82-136-196-44.ip.telfort.nl] has quit [Ping timeout:
272 seconds]
20:36 -!- Urmel| [~11087Urme@82-136-196-44.ip.telfort.nl] has joined #go-nuts
20:39 -!- bmizerany [~bmizerany@adsl-99-27-43-230.dsl.pltn13.sbcglobal.net] has
quit [Remote host closed the connection]
20:42 < adu> my parser is starting to parse real stuff
20:42 < adu> e.g.  it successfully parsed src/pkg/go/typechecker/universe.go
20:44 < erus_> god i keep putting semicolons by accident
20:44 < aiju> s/;$//
20:44 < aiju> ed power can remove them
20:44 < aiju> eh +1,$ of course
20:46 < erus_> since when did println() add spaces between parameters?  i
knew fmt.Println() did...
20:47 < adu> it took me 2 days to get semicolon insertion working
20:48 < erus_> adu what does your parser do?
20:48 < adu> parse
20:48 < adu> hackage.haskell.org/package/language-go
20:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
20:49 -!- jdp [~jdp@24.238.32.162.res-cmts.segr.ptd.net] has quit [Remote host
closed the connection]
20:49 < adu> eventually, I plan to use it to do source transformations, like
a full-fledged (Go--)-to-C, and C-to-Go compilers
20:50 -!- sussman_ [~sussman@apache/committer/sussman] has quit [Quit: sussman_]
20:50 < adu> granted, part of that will be to define Go--
20:51 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
20:52 < adu> but for right now, all it does is build an AST
20:52 < adu> also, I haven't even started on the pretty-printer
20:53 -!- photron [~photron@port-92-201-95-155.dynamic.qsc.de] has quit [Quit:
Leaving]
21:01 -!- wrtp [~rog@92.17.35.133] has joined #go-nuts
21:02 -!- m4dh4tt3r [~Adium@c-69-181-223-245.hsd1.ca.comcast.net] has joined
#go-nuts
21:03 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has quit [Remote host
closed the connection]
21:05 -!- jumzi [~none@c-89-233-234-125.cust.bredband2.com] has joined #go-nuts
21:09 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
21:11 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:14 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
21:16 < erus_> adu: I've seen that somewhere.  Reddit or something?
21:26 -!- foocraft [~dsc@78.101.46.240] has quit [Ping timeout: 240 seconds]
21:29 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
21:31 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:34 < adu> erus_: cool
21:34 < adu> I'm famous!
21:34 < adu> anyways, I have a question about semicolon insertion
21:34 < adu> in "func (tok Token) IsLiteral() bool { return literal_beg <
tok && tok < literal_end }"
21:35 < adu> the return does not have a semicolon after it
21:35 < adu> but it's not at the end of a line, so it's not subject to Go's
rules
21:35 < adu> but 6g obviously handles it
21:35 < adu> what should I do?
21:36 < aiju> why don't you lookup how 6g handles it?
21:36 < erus_> if statement before '\'' insert(';')
21:36 < erus_> put my name in the commit logs
21:36 < adu> o crap, it _is_ in the rules ...  rule #2 haha
21:38 < adu> erus_: ok, I need your full name + email
21:39 < adu> the rules clearly state semicolons get inserted before }
21:41 -!- foocraft [~dsc@178.152.69.68] has joined #go-nuts
21:48 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 264 seconds]
21:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
21:50 -!- cafesofie [~cafesofie@ool-4a5978f2.dyn.optonline.net] has joined
#go-nuts
21:51 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
21:54 -!- nettok [~quassel@200.119.181.6] has quit [Ping timeout: 250 seconds]
21:56 -!- virtualsue [~chatzilla@nat/cisco/x-snygxkcclfcyzvta] has joined #go-nuts
22:00 -!- tensorpudding [~user@99.23.127.179] has joined #go-nuts
22:02 -!- sekistner [~sk@e181005143.adsl.alicedsl.de] has joined #go-nuts
22:07 -!- adu [~ajr@64.134.96.109] has quit [Quit: adu]
22:11 -!- skelterjohn_ [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
22:12 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Ping timeout: 240 seconds]
22:14 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has joined
#go-nuts
22:14 -!- Adys [~Adys@cpc3-chap8-2-0-cust26.aztw.cable.virginmedia.com] has quit
[Changing host]
22:14 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
22:15 -!- femtooo [~femto@95-89-197-149-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
22:18 < creack> Hi all
22:18 < creack> I have a question
22:18 < creack> Is it normal that any single program in Go takes 16Go in
virt ram?
22:18 < creack> And that it takes one process for each goroutine?
22:19 < aiju> gccgo?
22:19 < creack> gc
22:19 < aiju> no
22:19 < creack> func main() { go time.Sleep(1e11) time.Sleep(1e11) }
22:19 < creack> 6 process
22:19 < creack> 16go in virt ram
22:20 < creack> hg up -r release
22:20 < creack> linux/amd64
22:20 < creack> with the last rev, it takes 17go in virt ram
22:20 < creack> and even func main() { time.Sleep(1e10) } take 16G in virt
ram
22:21 < creack> with gc, not gccgo
22:21 < creack> any idea?
22:21 < aiju> yeah
22:21 < aiju> current build is broken :P
22:21 < creack> :(
22:22 -!- TheMue [~TheMue@p5DDF63C7.dip.t-dialin.net] has quit [Quit: TheMue]
22:22 < sekistner> the last time i was in this irc was some months ago and i
read the exact same thing
22:25 -!- Adys_ [~Adys@unaffiliated/adys] has joined #go-nuts
22:26 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
22:27 -!- sekistner [~sk@e181005143.adsl.alicedsl.de] has left #go-nuts []
22:29 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
22:30 < madari_> creack: i also noticed something strange: 21:34 <
madari_> is it normal that the vsize of my running app is 3986GB according
to'top'
22:31 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
22:31 < wrtp> creack: 16GB VM isn't 16GM of memory actually used.
22:32 < wrtp> s/GM/GB/
22:33 -!- Adys_ [~Adys@unaffiliated/adys] has quit [Quit: Quit]
22:34 < wrtp> also, each goroutine blocked on a syscall (and Sleep counts)
uses one real os thread
22:36 < creack> but one thread != 1 process, no?
22:36 < aiju> Linux is fuzzy about thread/process
22:36 < aiju> (that dichotomy is just stupid)
22:37 < creack> oki
22:39 < wrtp> i dunno about thread vs process - it depends on the os
22:39 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has quit [Ping
timeout: 240 seconds]
22:39 < aiju> iirc setting the CLONE_THREAD flag on clone() creates a
"formal" thread
22:39 -!- sav [~lsd@189001136104.usr.predialnet.com.br] has joined #go-nuts
22:40 < aiju> which doesn't imply anything like sharing memory or other
things usually associated with threads
22:49 -!- Adys [~Adys@cpc7-chap8-2-0-cust19.aztw.cable.virginmedia.com] has joined
#go-nuts
22:49 -!- Adys [~Adys@cpc7-chap8-2-0-cust19.aztw.cable.virginmedia.com] has quit
[Changing host]
22:49 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
22:49 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
22:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
22:51 -!- adu [~ajr@64.134.100.20] has joined #go-nuts
22:55 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
22:58 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
22:58 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has joined #go-nuts
23:07 -!- jhawk28 [~jhawk28@user-387c58d.cable.mindspring.com] has quit [Ping
timeout: 246 seconds]
23:08 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
23:10 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:16 -!- htoothrot [~mux@66-169-185-121.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
23:16 -!- gits [~gits@77.94.219.158] has quit [Ping timeout: 240 seconds]
23:17 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
23:28 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
23:28 -!- niemeyer [~niemeyer@189.30.48.133] has joined #go-nuts
23:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:48 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has quit
[Read error: Connection reset by peer]
23:50 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
23:52 -!- dju [dju@at.dmz.me] has joined #go-nuts
23:52 -!- dju [dju@at.dmz.me] has quit [Changing host]
23:52 -!- dju [dju@fsf/member/dju] has joined #go-nuts
--- Log closed Sun Feb 06 00:00:05 2011