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

--- Log opened Sun Jan 17 00:00:42 2010
--- Day changed Sun Jan 17 2010
00:00 -!- exch [n=nuada@h144170.upc-h.chello.nl] has quit [Read error: 54
(Connection reset by peer)]
00:01 -!- XenoPhoenix [n=Xeno@cpc3-aztw22-2-0-cust104.aztw.cable.virginmedia.com]
has quit [Read error: 104 (Connection reset by peer)]
00:01 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
00:01 < skelterjohn> I solve that problem by never ironing anything
00:12 -!- xVova [n=Vova@77.126.208.95] has quit [Read error: 110 (Connection timed
out)]
00:12 -!- xVova [n=Vova@IGLD-84-228-78-148.inter.net.il] has joined #go-nuts
00:16 -!- Kibiz0r [n=Adium@99.24.251.60] has joined #go-nuts
00:17 -!- Xeon_ [n=chatzill@202.158.165.178] has quit [Read error: 110 (Connection
timed out)]
00:34 -!- peterallenwebb [n=peterall@64.134.170.67] has joined #go-nuts
00:36 -!- JSharpe [n=jamie@5adaea98.bb.sky.com] has quit [Client Quit]
00:38 -!- smooge [n=smooge@int.smoogespace.com] has quit [Remote closed the
connection]
00:40 -!- rares_ [n=rares@c-98-231-186-250.hsd1.va.comcast.net] has joined
#go-nuts
00:40 -!- rares_ [n=rares@c-98-231-186-250.hsd1.va.comcast.net] has quit [Client
Quit]
00:42 -!- rog_ [n=rog@78.148.245.57] has quit [Client Quit]
00:43 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the
connection]
00:45 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts
00:51 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
00:52 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
00:57 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Success]
01:00 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
01:10 -!- fifoman [n=fifoman@p4FCC4144.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
01:10 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Read
error: 110 (Connection timed out)]
01:10 -!- fifoman [n=fifoman@p4FCC6F72.dip.t-dialin.net] has joined #go-nuts
01:18 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
[]
01:20 -!- tomestla [n=tom@AToulouse-151-1-46-163.w83-203.abo.wanadoo.fr] has quit
[Read error: 110 (Connection timed out)]
01:24 -!- Kibiz0r [n=Adium@99.24.251.60] has quit ["Leaving."]
01:32 -!- taruti [i=taruti@aoi.yi.org] has quit [Excess Flood]
01:33 -!- taruti [i=taruti@aoi.yi.org] has joined #go-nuts
01:33 -!- taruti [i=taruti@aoi.yi.org] has quit [Excess Flood]
01:33 -!- jvogel [n=jonathan@friedpancakes.com] has quit [Excess Flood]
01:33 -!- jvogel [n=jonathan@friedpancakes.com] has joined #go-nuts
01:33 -!- taruti [i=taruti@aoi.yi.org] has joined #go-nuts
01:35 -!- b00m_chef__ [n=watr@128.189.91.154] has quit [Read error: 60 (Operation
timed out)]
01:38 -!- path[l] [i=UPP@120.138.102.34] has quit [Excess Flood]
01:38 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
01:39 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
01:39 -!- mode/#go-nuts [+v iant] by ChanServ
01:44 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has quit [K-lined]
01:47 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
01:49 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Read error: 54
(Connection reset by peer)]
01:50 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
02:02 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit ["leaving"]
02:03 -!- michael| [n=maikeru@24-107-56-173.dhcp.stls.mo.charter.com] has joined
#go-nuts
02:08 < jessta> skelterjohn: yeah, me too
02:08 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit ["leaving"]
02:09 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has joined #go-nuts
02:10 -!- droid001 [n=g1@p4FDCA526.dip.t-dialin.net] has quit [Excess Flood]
02:11 -!- droid001 [n=g1@p4FDCA526.dip.t-dialin.net] has joined #go-nuts
02:26 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Read error: 113 (No route to host)]
02:27 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
02:31 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
02:44 -!- peterallenwebb [n=peterall@64.134.170.67] has quit [Read error: 60
(Operation timed out)]
02:44 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has quit
[Excess Flood]
02:45 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has joined
#go-nuts
02:46 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has quit
[Excess Flood]
02:46 -!- bthomson [n=bthomson@c-69-255-188-5.hsd1.va.comcast.net] has joined
#go-nuts
02:55 -!- FlipFlop [n=FlipFlop@unaffiliated/fl1pfl0p] has left #go-nuts []
03:08 -!- Demp [n=Demp@bzq-79-183-0-48.red.bezeqint.net] has quit [Excess Flood]
03:09 -!- Demp [n=Demp@bzq-79-183-0-48.red.bezeqint.net] has joined #go-nuts
03:11 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts
03:17 -!- Kibiz0r [n=Adium@adsl-99-24-251-60.dsl.klmzmi.sbcglobal.net] has joined
#go-nuts
03:17 -!- Kibiz0r [n=Adium@adsl-99-24-251-60.dsl.klmzmi.sbcglobal.net] has quit
[Remote closed the connection]
03:47 -!- sinuhe [n=user@kaptah.deevans.net] has left #go-nuts ["ERC Version 5.2
(IRC client for Emacs)"]
03:49 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts
03:54 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
03:55 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
03:55 -!- mode/#go-nuts [+v iant] by ChanServ
04:06 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
04:09 -!- araujo [n=araujo@gentoo/developer/araujo] has joined #go-nuts
04:09 -!- geocalc [n=geobsd@lns-bzn-33-82-252-57-41.adsl.proxad.net] has joined
#go-nuts
04:09 -!- Wiz126 [n=Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Read
error: 110 (Connection timed out)]
04:09 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
04:10 -!- Wiz126 [n=Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has joined #go-nuts
04:12 -!- Amaranth [n=travis@ubuntu/member/Amaranth] has joined #go-nuts
04:18 -!- Selar [n=hussain@wire.dsl.frii.net] has joined #go-nuts
04:18 < Selar> Is there only one session on Go at I/O?
04:22 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
04:22 -!- GeoBSD [n=geobsd@lns-bzn-59-82-252-136-135.adsl.proxad.net] has quit
[Read error: 110 (Connection timed out)]
04:26 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:27 < happy> can someone help me out with my code?  I am trying to parse a
nzb file using the xml package.  I gave example output.
http://pastebin.com/d2b1803df
04:28 < happy> I am using the xml.Unmarshal function (not parser)
04:36 -!- jauaor [n=araujo@gentoo/developer/araujo] has joined #go-nuts
04:36 < jauaor> hello
04:37 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
04:39 < happy> hi
04:42 < jauaor> :)
04:42 < happy> jauaor: whats up?
04:43 < jauaor> happy: not much, getting back home at night, and reading a
bit about go
04:43 * jauaor looking for the difference between ":=" and "="
04:43 < happy> jauaor: := is for initalization = is for assignment
04:44 < jauaor> happy: one question, can i use ":=" everywhere i can use "="
too?, or this is something strict?
04:45 < happy> jauaor: not exactly sure :-).  I believe you can use :=
everywhere...
04:45 < happy> jauaor: test it :-P
04:45 < skelterjohn> no - you can't
04:45 < jauaor> happy: heh, good one, let's see
04:45 < skelterjohn> if a variable already exists, you can't use :=
04:46 < jauaor> skelterjohn: i see, ok
04:46 < skelterjohn> most of the time...
04:46 < happy> jauaor: skelterjohn knows more :-)
04:46 < skelterjohn> i think with named parameters you still can
04:46 < happy> skelterjohn: you think you can help me with my xml problem?
04:47 < jauaor> makes sense not to use it against an existent variable if it
is for initialization, yeah
04:47 < jauaor> thanks skelterjohn , happy
04:47 < happy> jauaor: np.  I am just a few days ahead of you :-)
04:48 < happy> skelterjohn: can you help with my problem?
04:48 < jauaor> hehe ok
04:48 < happy> can someone help me out with my code?  I am trying to parse a
nzb file using the xml package.  I gave example output.
http://pastebin.com/d2b1803df
04:48 < jauaor> just few days ahead and you are already happy ?
04:48 < jauaor> ;)
04:48 < happy> jauaor: if you want I can explain how I got the name...
04:49 < jauaor> hehe , go-related?
04:49 < happy> nope
04:49 < happy> I frequent freenode :-P
04:51 < jauaor> as any new language comes out, evidently many comments are
throw at it too , .....  i have seen so many comments in forums and stuff about
ugliness of the GO syntax ...  and I think it is one of the thing attracts me more
of the language, heh ......
04:52 * jauaor 's favorites languages syntax re usually considered "ugly" by most
people though
04:52 < skelterjohn> happy: what's the problem?
04:53 < happy> skelterjohn: it is not giving me the files.  It is gives back
nil
04:53 < happy> I mean []
04:53 < skelterjohn> I'm not familiar with the xml package
04:54 < happy> ok
04:54 < skelterjohn> line 16 - what is this?  i didn't think you could have
default values
04:54 < skelterjohn> that weren't zero
04:54 < happy> I am using this function http://golang.org/pkg/xml/#Unmarshal
. It is amazing :-)
04:55 < happy> skelterjohn: I think it is called a "tag"
04:55 < happy> skelterjohn: I just copied the example at
http://golang.org/pkg/xml/#Unmarshal
04:56 < happy> If I can get unmarshal to work, it looks like the easiest xml
parser ever invented :-)
04:56 < happy> definitally the cleanist
04:56 < skelterjohn> code.google.com/p/strxml ;)
04:56 < skelterjohn> i made a nice one for C++
04:57 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
04:58 < happy> skelterjohn: nothing can beat unmarshal :-P.  I do not think
it is possible to code something like it in C++
04:58 < happy> now if only I could get it to work...
04:58 < skelterjohn> XMLNode n; istream >> n;
04:58 < skelterjohn> that's how mine works
04:59 < skelterjohn> anyway, not relevant to this channel
04:59 < happy> whatever, it is not like anyone is talking about anything
else :-).
04:59 < happy> skelterjohn: do you think you could look at it and help me
figure out what is wrong?
05:00 < skelterjohn> in the middle of something atm
05:00 < skelterjohn> ps3 game: Demon's Souls
05:00 < happy> lol
05:02 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
05:10 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
05:15 -!- droid0011 [n=g1@p4FDCB496.dip.t-dialin.net] has joined #go-nuts
05:15 < happy> skelterjohn: I figured it out :-)
05:15 < happy> now I actually am happy
05:20 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
05:21 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
05:23 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has quit [Client Quit]
05:24 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
05:30 -!- droid001 [n=g1@p4FDCA526.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
05:36 -!- geocalc [n=geobsd@lns-bzn-33-82-252-57-41.adsl.proxad.net] has quit
[Remote closed the connection]
05:43 < skelterjohn> excellent :)
05:43 < skelterjohn> i enjoyed myself too
05:44 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has quit ["Coyote finally
caught me"]
05:45 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has quit [Remote closed
the connection]
05:45 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
05:50 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
05:50 -!- ivan` [n=ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
05:51 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
05:59 -!- vt3 [n=a431824@m016020.ppp.asahi-net.or.jp] has joined #go-nuts
06:00 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has joined #go-nuts
06:01 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
06:07 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
06:11 -!- trevor [n=trevor@adsl-70-143-44-82.dsl.tul2ok.sbcglobal.net] has quit []
06:19 -!- Fringehead [n=fringe@c-24-126-235-188.hsd1.ga.comcast.net] has quit
[Remote closed the connection]
06:20 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has quit []
06:45 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
06:46 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
06:46 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[Client Quit]
06:46 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
06:56 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has quit [Remote closed
the connection]
06:56 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
06:57 -!- rhelmer_ [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has
joined #go-nuts
06:57 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[Read error: 113 (No route to host)]
07:00 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
07:01 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
07:01 -!- mode/#go-nuts [+v iant] by ChanServ
07:05 -!- gnuvince [n=vince@72.0.215.236] has quit [Remote closed the connection]
07:05 -!- gnuvince [n=vince@64.235.203.103] has joined #go-nuts
07:09 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has joined #go-nuts
07:10 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.2 (IRC
client for Emacs)"]
07:16 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit []
07:23 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
07:25 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
07:26 -!- goplexian [n=user@d154-20-0-9.bchsia.telus.net] has quit [Remote closed
the connection]
07:28 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[Client Quit]
07:43 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit [Read error:
110 (Connection timed out)]
07:50 -!- jhnx [i=bb17b1d3@gateway/web/freenode/x-fohafadpzmozfbnf] has joined
#go-nuts
08:01 -!- lerenart [n=renaudb@c-71-202-17-175.hsd1.ca.comcast.net] has joined
#go-nuts
08:06 -!- ShadowIce [n=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
08:07 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:07 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Read error: 113 (No route to host)]
08:08 -!- trickie [n=trickie@86.93.227.181] has quit ["outty"]
08:28 -!- pshahmumbai [n=prashant@59.164.24.253] has joined #go-nuts
08:30 -!- MarkBao [n=MarkBao@pool-98-110-164-163.bstnma.fios.verizon.net] has
joined #go-nuts
08:47 -!- jauaor [n=araujo@gentoo/developer/araujo] has quit []
08:47 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has joined #go-nuts
09:16 -!- tomestla [n=tom@AToulouse-151-1-37-98.w83-203.abo.wanadoo.fr] has joined
#go-nuts
09:35 -!- lerenart [n=renaudb@c-71-202-17-175.hsd1.ca.comcast.net] has quit ["Lost
terminal"]
09:37 -!- jhnx [i=bb17b1d3@gateway/web/freenode/x-fohafadpzmozfbnf] has quit [Ping
timeout: 180 seconds]
09:53 -!- bortzmeyer [n=stephane@central.sources.org] has joined #go-nuts
09:53 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
09:54 -!- Timber [n=opera@triband-mum-59.182.106.145.mtnl.net.in] has joined
#go-nuts
09:55 -!- idea_squirrel [i=ct2rips@77-22-20-30-dynip.superkabel.de] has joined
#go-nuts
09:56 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
09:57 -!- LuitvD [n=LuitvD@beigetower/luitvd] has joined #go-nuts
09:57 < LuitvD> hi
09:59 -!- aho [n=nya@f050212057.adsl.alicedsl.de] has quit
["EXEC_over.METHOD_SUBLIMATION"]
09:59 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has joined #go-nuts
10:00 < Timber_87> what should i need to know before i begin coding with Go?
10:00 < LuitvD> what do you know about programming?
10:00 < Timber_87> a little bit of C and C#
10:01 < KirkMcDonald> Timber_87: Read the spec.
10:01 < LuitvD> watch the tech talk
10:01 -!- fwiffo [n=user@unaffiliated/fwiffo] has joined #go-nuts
10:01 < Timber_87> ok kewl thanks :)
10:02 < KirkMcDonald> Some small knowledge of make is useful, too.
10:02 < LuitvD> the tech talk is a whole hour of explanation from the big
man himself Rob Pike
10:02 < LuitvD> KirkMcDonald: doesn't the Makefile explain for itself?
10:02 < KirkMcDonald> While the spec is more comprehensive, covering the
entire language.
10:02 < LuitvD> (or is that my minor knowledge of make that's making it
self-explanatory?)
10:02 < Timber_87> ok
10:02 < KirkMcDonald> LuitvD: I've found it useful to know how to operate
make outside of copying and pasting the Makefile.
10:03 < LuitvD> KirkMcDonald: I know some make too, but the way Go wants to
use it is somewhat more difficult
10:04 < KirkMcDonald> LuitvD: Specifically I mean that I've found it useful
to insert additional rules before or after including Make.pkg.
10:04 * LuitvD took a short peek into the includes like Make.cmd
10:05 < LuitvD> Timber_87: odd question: why C#?
10:05 < KirkMcDonald> And it certainly does not hurt to be able to
understand the contents of Make.pkg and Make.cmd.
10:06 < KirkMcDonald> Which (if you're not familiar with make) may be
intimidating at first, but are actually not that complicated.
10:06 < LuitvD> KirkMcDonald: sure, but it's not mandatory to be able to
make some small pieces of Go software
10:06 < KirkMcDonald> Certainly.
10:06 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has quit [Read error:
110 (Connection timed out)]
10:07 < LuitvD> sofar I'm just hacking away with the unmodified include
Make.$(GOARCH) , gofiles = ..., include Make.cmd
10:07 < Timber_87> LuitvD: is there something wrong with C#?
10:08 < LuitvD> (is there something not wrong with C#?)
10:08 < LuitvD> Timber_87: just a simple question, why C#?
10:08 < LuitvD> why not C++, Java (god forbid), Python
10:09 < Timber_87> it was offered to me in a package alongwith SQl 2005
10:09 < LuitvD> hm, okay
10:09 < Timber_87> i am new to programming
10:09 -!- kashia_ [n=Kashia@p4FEB5571.dip.t-dialin.net] has joined #go-nuts
10:09 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
10:09 -!- mode/#go-nuts [+v iant] by ChanServ
10:10 < Timber_87> Python isn't taught here
10:10 < LuitvD> where?
10:10 < Timber_87> india
10:10 < LuitvD> strange
10:10 < Timber_87> hmm yup
10:10 < LuitvD> and Go is?  or is that pure hobby?
10:10 < Timber_87> Microsoft rules here :)
10:10 < Timber_87> nop was just curious
10:10 < LuitvD> not in my view :P
10:11 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
10:11 < Timber_87> where are you from LuitvD?
10:11 * LuitvD has a laptop without a single bit of Microsoft software
10:11 < LuitvD> the Netherlands
10:11 < dagle> Teaching C++ to people new to programming is stupid.
10:11 < Timber_87> kewl open source rules for you?
10:11 < LuitvD> knowing what my computer can do and using it optimally rules
for me
10:12 < LuitvD> with windows vista or windows 7 this laptop feels like it's
dragging it's feet all the time
10:12 < Timber_87> i thought the order to learn programming is C C++
followed by C#
10:12 < LuitvD> the order to learn programming is undefined
10:13 < Timber_87> hmm, ok
10:13 < Timber_87> then where should one begin from?
10:13 < LuitvD> a good one is ASM, C, Python, Go
10:13 < LuitvD> if you'd ask me
10:14 < Timber_87> ok
10:14 < LuitvD> ASM to learn the bare-metal way of the works of a computer
10:14 < LuitvD> and then a (quite) clean language to step away from that
hassle
10:14 < LuitvD> ('cause assembly language is quite some work)
10:15 < dagle> I would use go as a first learning language.
10:15 < LuitvD> Python to jump into clean scripting
10:15 < Timber_87> and what about Perl?
10:15 < LuitvD> and Go for going back to a good systems language
10:16 < LuitvD> Perl has had it's use
10:16 < dagle> Timber_87: Before or after rsa?  :)
10:16 < LuitvD> but it's not useful anymore
10:16 < LuitvD> now that we have Python
10:16 * Timber_87 is googling rsa
10:17 < LuitvD> dagle: you really think Go would be a good first language?
10:17 < Timber_87> umm whats rsas?
10:17 -!- fwiffo [n=user@unaffiliated/fwiffo] has quit [Remote closed the
connection]
10:17 < Timber_87> oops rsa*
10:17 < dagle> Timber_87: Oh. It's a joke.  Saying that perl looks so ugly
that applying encryption doesn't make it uglier.
10:17 -!- Calyptratus-LAP [n=Calyptra@84-217-64-126.tn.glocalnet.net] has joined
#go-nuts
10:18 < dagle> LuitvD: Yes.
10:18 < Calyptratus-LAP> Peek-a-boo!
10:18 -!- fwiffo [n=fwiffo@187.23.177.211] has joined #go-nuts
10:18 < Timber_87> lol ok :)
10:18 < dagle> LuitvD: easy and you quickly get results.
10:18 < LuitvD> dagle: isn't it worth a bit to learn the old ways (with C)
and then quickly make it seem useless with Go?
10:19 < Calyptratus-LAP> Hi, As a incurably qurios person, knowing nothing
about programming, i asked som coders on their thoughts an Google GO
10:19 < Calyptratus-LAP> Heres one response i got: "The documentation with
Google's programing language assumes the programer already knows other programing
languages so why use it?  The best show-stoper they build into is is 100% signed
applications, it seems a lot like that means you will need google's aproval before
you can run your own programs on your own computer.  AKA vendor lock in"
10:19 < dagle> LuitvD: I think it's easier to do learn C when you can
program.  C has many quirks to learn.
10:19 < Calyptratus-LAP> Any comments to that response anyone?
10:19 < LuitvD> dagle: people also need to learn what the hell happens
inside a computer
10:20 < LuitvD> in my opinion that's what you need a short look at ASM for
10:20 < LuitvD> not in-depth, just a peek
10:20 < Calyptratus-LAP> LuitvD: Any good sources for such information then?
10:20 < dagle> LuitvD: Depends.  Mathical correctness of a program has
nothing to do with asm.
10:21 -!- Kashia [n=Kashia@p4FEB6F99.dip.t-dialin.net] has quit [Read error: 110
(Connection timed out)]
10:21 < LuitvD> mathical...  mathical...
10:21 < LuitvD> ...
10:21 < LuitvD> mathical?
10:21 -!- rog_ [n=rog@92.26.188.22] has joined #go-nuts
10:21 < dagle> mathematical*
10:21 < LuitvD> right
10:21 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
10:22 < dagle> I would still say that knowing how to program is more
important in the beguinning.
10:22 < LuitvD> really?
10:22 < dagle> Yes.
10:22 < dagle> Then you can get how it transforms in to asm.
10:22 * LuitvD sees more in bottom-up learning
10:22 < dagle> I have seen (as a teacher assisten) people write really
horrible ASM.
10:23 < dagle> With no structure.
10:23 < LuitvD> so how did you learn?
10:23 < LuitvD> where did you start?
10:24 * LuitvD studied Electronic Engineering & Design
10:24 < dagle> hmmm.
10:24 < LuitvD> starting with the basics, AND, OR, NOR, NAND, XOR
10:25 < dagle> PHP/C -> Haskell -> ASM -> C -> Java -> *
10:25 < LuitvD> making a counter, an adder, clock divider
10:25 < dagle> The PHP/C was more toying then knowing.
10:25 < LuitvD> just about the same as me
10:25 < LuitvD> only Java comes even later for me, I guess
10:25 < LuitvD> no wait...
10:25 < dagle> Haskell was the first one in school.
10:27 < LuitvD> C64 BASIC -> HTML -> PHP -> Flash Actionscript
-> C -> PIC ASM -> ARM ASM -> VHDL -> Python -> Java -> Go
10:27 < LuitvD> and Java was the first in school
10:27 < dagle> hmtl.  :P
10:27 < LuitvD> even though I just learnt it by using it for a day
10:27 < LuitvD> yeah, well, it's a start
10:28 < LuitvD> and it's somewhat programming :P
10:28 < dagle> It's a markup language.
10:28 < LuitvD> I know
10:28 < Timber_87> Java in a day?
10:28 < LuitvD> but one thing goes in, another goes out
10:28 < LuitvD> yeah, java in a day
10:28 < Timber_87> O _ o
10:28 < LuitvD> because I forgot C++ in that list, which I learnt somewhere
in between C and VHDL in that list
10:28 < dagle> Java is really complicated if you want to really know it.
10:28 -!- Garen [n=garen@75.87.255.36] has quit [Client Quit]
10:29 < LuitvD> dagle: I know, but I have no other use of it than in school
10:29 < dagle> Oki.
10:29 < LuitvD> and my knowledge of Java after a day exceeded the needed
knowledge for the first year
10:29 < dagle> Atm me neither but workplaces might.
10:29 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has quit [Read error: 113 (No
route to host)]
10:30 < dagle> VHDL...  such a easy language to hate.  :)
10:30 < LuitvD> I don't want to work anywhere where they think Java is a
good language to use
10:30 < LuitvD> dagle: why?  it's awesome
10:30 < LuitvD> it's not quite a programming language
10:30 < LuitvD> it's a hardware description language
10:30 < dagle> It looks like modula-3!
10:30 < dagle> Never was a big fan of modula-3.
10:31 < LuitvD> /care
10:31 < LuitvD> VHDL works like a charm if you need it
10:31 < LuitvD> if you don
10:31 < LuitvD> if you don't need it, don't use it
10:31 < dagle> The order of the code is really dependent for correctness.
10:32 < dagle> The language has many quirks you need to know.
10:32 < dagle> The number of debuggers are like 0?
10:33 < LuitvD> you can't debug hardware
10:33 < LuitvD> there are debuggers though
10:33 < LuitvD> Modelsim
10:33 < dagle> Yes.
10:33 -!- fwiffo [n=fwiffo@187.23.177.211] has quit [Remote closed the connection]
10:33 < LuitvD> it's test-bench software, okay
10:33 < dagle> Still.
10:33 < LuitvD> but it can be used for debugging
10:34 < LuitvD> it's all you need
10:34 < dagle> The tools works, not saying that it doesn't.
10:34 < dagle> Just not to found of them.
10:35 < LuitvD> it's only needed for programming a FPGA
10:35 < LuitvD> other than that it has no use
10:35 < dagle> Ofc.
10:35 < LuitvD> so I don't see why you'd need incredibly sophisticated tools
for that language
10:36 < LuitvD> just...  describe, compile, simulate (if needed) and dump it
on your FPGA
10:36 -!- MarkBao [n=MarkBao@pool-98-110-164-163.bstnma.fios.verizon.net] has quit
[]
10:36 < dagle> Just compile and run!  Java is great!
10:38 < LuitvD> lol
10:38 < LuitvD> not on small hardware
10:38 < dagle> I was ironic.
10:38 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
10:38 < LuitvD> I know
10:38 < kashia_> real time java!
10:38 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
10:38 < LuitvD> O.o
10:38 < LuitvD> that'd be hell
10:39 < LuitvD> only worse
10:39 * kashia_ laughs
10:40 < Timber_87> brb
10:40 -!- Timber_87 [n=opera@triband-mum-59.182.106.145.mtnl.net.in] has left
#go-nuts []
10:41 < LuitvD> dagle: is Verilog any better?
10:41 < dagle> Haven't used verilog.
10:41 * LuitvD wouldn't try either
10:43 * LuitvD is trying to use cairo in Go
10:43 < LuitvD> does anyone know how to convert Go's integers to _C_int?
10:45 -!- r2p2 [n=billy@v32671.1blu.de] has joined #go-nuts
10:50 < kashia_> LuitvD, I'd have a look at the existing cairo wrapper
10:50 < LuitvD> kashia_: where?
10:50 < kashia_> http://go-lang.cat-v.org/library-bindings
10:52 < Calyptratus-LAP> I hope i don't come out as nagging, but i would
really like some response to that question i made =)
10:53 < kashia_> about " <Calyptratus-LAP> Heres one response i got" ?
10:53 < dagle> Calyptratus-LAP: Well, it's a good starting language but Im
afraid there there is no tutorial for none programmers atm.
10:53 < dagle> -1 there
10:54 < LuitvD> kashia_: that's via GTK, but I don't need GTK
10:54 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
10:55 < Calyptratus-LAP> kashia_: the Q wqas: Hi, As a incurably qurios
person, knowing nothing about programming, i asked som coders on their thoughts an
Google GO
10:55 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
10:55 < Calyptratus-LAP> Heres one response i got: "The documentation with
Google's programing language assumes the programer already knows other programing
languages so why use it?  The best show-stoper they build into is is 100% signed
applications, it seems a lot like that means you will need google's aproval before
you can run your own programs on your own computer.  AKA vendor lock in"'
10:55 < kashia_> LuitvD, ah, you misunderstood my intention.  I meant have a
look there about the conversion, not using it.
10:55 < LuitvD> kashia_: I have looked at it :)
10:56 < Calyptratus-LAP> dagle: so in your oppinion, would it be a good
starting point for anyone who wants to lern to code?
10:56 < kashia_> Calyptratus-LAP, the response seems confused (or maybe just
I am).  there is a few different topics in there.  I don't see how there's a
vendor lock in with golang
10:56 < dagle> Calyptratus-LAP: Yes.
10:56 < kashia_> ah, so just on if golang is a good programming language to
start with
10:56 < dagle> But things are not explained really good.  But if you have a
teacher it should be a fairly good language.
10:57 < Calyptratus-LAP> kashia_: right, that's my main concern acctually,
i'd sure like to have that notion crushed xD
10:57 < dagle> A teacher that can explain that is.
10:57 < LuitvD> dagle: no teacher can explain to everyone
10:57 < kashia_> I do not think it is a good language for starters.  The
concept of go has evolved from a lot of languages before.  If you don't follow
part of this train, I doubt one would really "see" the point of Go
10:57 < dagle> LuitvD: Ken could.  ;)
10:58 < LuitvD> ken who?
10:58 < LuitvD> thompson?
10:58 < dagle> Ken thompson.  :)
10:58 * LuitvD has doubts
10:58 < Calyptratus-LAP> i c.  well, i suppose there will be better
tutorials along the road.  Fromwhat i understand i'ts a major improvemet in some
aspects.  any real downsides?  Is there any suggestions wether it will be widely
used or not?
10:58 < LuitvD> everybody learns differently
10:58 < LuitvD> so everyone needs a different way of teaching
10:59 < LuitvD> no man can adapt to every way one wants to be taught
10:59 < Calyptratus-LAP> well, imo, most way of schooling is very
inefficient.  Sure there is differences, but still.
11:00 < LuitvD> 1 on 1 teaching still is the best way, though no school can
afford to do this
11:00 < LuitvD> so no school-based teaching is efficient
11:01 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
11:01 < kashia_> Go is still in progress, so the downsides now would maybe
be obsolete in a month; it's hard to comment on that.  I still think that you
should know at least one other systems language and one of the high level ones,
before using Go
11:01 < LuitvD> how nice of you to join us, tor7
11:01 < Calyptratus-LAP> i'm on a team developing learning methods for
spoken languages (not computer languages) There it certainly seems like there is
alot of improvememnts avaliable on tutoring/teaching
11:02 < LuitvD> kashia_: you think the Xen issues can ever be resolved?
11:02 < Calyptratus-LAP> LuitvD: i agree, no school-based teaching has EVER
been efficient ;I)
11:02 < kashia_> LuitvD, Xen issue?  xen is dead, a non-issue :)
11:02 < LuitvD> :(
11:03 < LuitvD> then I'll never be able to make nice software on my VPS
11:03 < Calyptratus-LAP> kashia_: sounds fair enough, any suggestions on one
or two other languages to have a peek at then?  (non-proprietary!)
11:04 < kashia_> Calyptratus-LAP, I would suggest C; it's the 'base'
(wouldn't go to asm unless you feel an itch), C is high level assembler anyway
11:04 < LuitvD> C and Python (one systems language and one really nice high
level)
11:05 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:05 < kashia_> for a high level language, python is ok, I'd suggest Ruby,
but the choice between them...  it's a matter of taste
11:05 < LuitvD> and my taste clearly says Python
11:05 < Calyptratus-LAP> yeah, assm seems to be debated to some extent
regarding it's prectic useability?
11:05 < kashia_> note, I didn't go into functional languages here (mainly
because my brain can't grok them)
11:05 < LuitvD> I'd hurl up Ruby in seconds
11:05 < Calyptratus-LAP> speaking as a total n00b
11:06 < JBeshir> Calyptratus-LAP: The vendor lock-in thing is a complete
fiction.
11:06 < LuitvD> functional programming is only for the mathematical
programmers
11:06 < Calyptratus-LAP> JBeshir: great!
11:06 < JBeshir> Calyptratus-LAP: And you should proceed to ignore anything
that person says again, for either fabricating or repeating junk
11:06 < JBeshir> :P
11:06 < tor7> morning LuitvD.  sounds like I dropped in on a language war in
the brewing :)
11:06 < kashia_> Calyptratus-LAP, it is used in the go plumbing extensively,
but I don't think a "normal" person has to know it :)
11:06 < Calyptratus-LAP> LuitvD: ok, what kind of practical stuff does
functional programming involve?
11:07 < LuitvD> tor7: it's a mix-match of language, teaching and Go
discussion
11:07 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
11:09 < tor7> if anyone wants my opinion, learn C well and then wrap your
brain around "weird" languages like Haskell and Prolog.  it'll make you a better
programmer if you can understand other ways of programming than the imperative,
object oriented stuff we use every day.
11:09 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 60 (Operation timed out)]
11:10 < LuitvD> I think my brain is too firm to be wrapped around Haskell or
Prolog
11:10 < LuitvD> I'd use a paper wrapper, it'll work better
11:10 < kashia_> for years I've tried to understand Caml, but I can't learn
a language from an academical standpoint; I have to actively have use for the
language (project based)
11:11 < LuitvD> wrapped in paper I can't be seduced to try it either, so
win-win if you'd ask me
11:11 < tor7> yes, you need a project, even if a toy project, to learn a
language
11:12 * LuitvD is sick of toy projects now
11:12 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
11:12 < LuitvD> (have been toying with software engineering for years now)
11:12 < tor7> if you need a big project in haskell, look no further than
darcs.
11:13 -!- Cyanure [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 60 (Operation timed out)]
11:13 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has quit [Read error:
60 (Operation timed out)]
11:17 < kashia_> ah "sick of toy projects"; a quote from my father: "natural
evolution in a human: learn, use, teach; each of those stages take years."
11:17 < LuitvD> I know
11:18 < LuitvD> and I know I'm not ready for the last one, even though my
colleague students think differently
11:18 < LuitvD> which is annoying
11:23 < LuitvD> does anybody know how I properly include something I
compiled with Make.pkg?
11:24 < kashia_> make install; and then somewhere else 'import "foo"' ?
11:27 -!- buidangchung [n=chatzill@118.71.49.153] has joined #go-nuts
11:27 < LuitvD> ah, right
11:27 < LuitvD> cp: cannot create regular file
`/opt/google/go/pkg/linux_386/cairo.a': Permission denied
11:27 < LuitvD> now what?  :P
11:27 < LuitvD> oh, never mind
11:27 < kashia_> :)
11:28 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Read
error: 104 (Connection reset by peer)]
11:28 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has joined #go-nuts
11:29 < LuitvD> wohoo, an empty .png file :D
11:29 < kashia_> instead of installing it at the central binary repository..
I think you can use -I too, but I haven't been able to make it work.
11:29 < LuitvD> my first bit of cairo graphics from Go
11:29 < LuitvD> (come to think of it, my first bit of cairo graphics EVER)
11:30 -!- jA_cOp [n=yakobu@p16091-ipngn100107osakakita.osaka.ocn.ne.jp] has joined
#go-nuts
11:32 < LuitvD> so, now the type conversion
11:32 < LuitvD> nobody here able to help with that?
11:32 < LuitvD> I just don't have a clue of how it should work...
11:34 < LuitvD> Go's int to _C_int
11:34 < LuitvD> :(
11:36 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
11:36 < kashia_> let me check, I have a psql wrapper somewhere around here..
11:37 < LuitvD> oh, I think I got it :D
11:37 < LuitvD> C.int(aRandomGoInt)
11:37 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
11:37 -!- mode/#go-nuts [+v iant] by ChanServ
11:37 * LuitvD facepalms
11:38 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
11:40 < LuitvD> oh wow, I seem to have made an infinite loop with my
Makefile
11:47 -!- buidangchung [n=chatzill@118.71.49.153] has quit ["ChatZilla 0.9.86
[Firefox 3.5.7/20100106054534]"]
11:54 -!- kashia_ [n=Kashia@p4FEB5571.dip.t-dialin.net] has quit [Read error: 101
(Network is unreachable)]
12:01 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has joined #go-nuts
12:09 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has quit [Remote closed the connection]
12:11 < LuitvD> hm, next hurdle: converting a Go string to something usable
in C
12:11 < LuitvD> in C that's a *char right?
12:13 < LuitvD> err, char*
12:14 < LuitvD> yay, found it
12:14 < LuitvD> C.CString() :D
12:24 -!- JSharpe [n=jamie@5adaea98.bb.sky.com] has joined #go-nuts
12:29 -!- chachan [n=chachan@201.208.209.90] has joined #go-nuts
12:32 -!- orkz [n=orkz@78.84.225.55] has joined #go-nuts
12:32 -!- orkz [n=orkz@78.84.225.55] has left #go-nuts []
12:42 -!- snearch [n=olaf@g225049242.adsl.alicedsl.de] has joined #go-nuts
12:47 -!- XenoPhoenix
[i=ead43962@cpc3-aztw22-2-0-cust104.aztw.cable.virginmedia.com] has joined
#go-nuts
12:48 -!- Kashia [n=Kashia@p4FEB5540.dip.t-dialin.net] has joined #go-nuts
12:53 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:53 -!- pshahmumbai [n=prashant@59.164.24.253] has quit ["Ex-Chat"]
12:53 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:53 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
12:53 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
12:54 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:54 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
12:55 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the
connection]
12:55 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
12:55 -!- jcb_ [n=jcb@cm-84.215.40.160.getinternet.no] has quit [Client Quit]
12:56 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
13:03 -!- JSharpe [n=jamie@5adaea98.bb.sky.com] has quit [Read error: 104
(Connection reset by peer)]
13:21 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit ["Leaving"]
13:25 -!- GeoBSD [n=geobsd@lns-bzn-33-82-252-57-41.adsl.proxad.net] has joined
#go-nuts
13:29 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 104 (Connection
reset by peer)]
13:29 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
13:35 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["This
computer has gone to sleep"]
13:36 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 104 (Connection reset by
peer)]
13:37 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 104 (Connection
reset by peer)]
13:37 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
13:48 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has joined #go-nuts
13:53 -!- mssm [n=mssmfs@ip-95-221-99-167.bb.netbynet.ru] has joined #go-nuts
13:54 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 104 (Connection
reset by peer)]
13:54 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
14:01 < LuitvD> geez, I fail miraculously
14:08 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 104 (Connection
reset by peer)]
14:08 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
14:10 -!- danopia_ [n=danopia@fullcirclemagazine/developer/danopia] has joined
#go-nuts
14:13 -!- Kniht [n=kniht@c-68-58-17-177.hsd1.in.comcast.net] has quit ["Leaving"]
14:20 < LuitvD> oh my, using cairo is way faster than my own scanline
renderer
14:21 < LuitvD> it can draw an anti-aliased rendering of a polygon five
times in the amount of time mine needed to render aliased graphics
14:30 < tor7> LuitvD: see, you should have listened to me the other day ;)
14:31 < LuitvD> ?
14:31 * LuitvD can't recall much from that day
14:31 < LuitvD> it was way to late to think straight
14:31 -!- LL [n=ll@78-21-35-139.access.telenet.be] has joined #go-nuts
14:32 < LuitvD> tor7: I've listened, but it wasn't my intention to build the
best I could get at that moment
14:32 < LuitvD> it was to try for myself
14:32 < LuitvD> now I'm trying something different
14:32 < LuitvD> both work, both taught me much about Go and programming in
general
14:35 < LuitvD> if only I could render a diff image
14:36 < tor7> pnmarith
14:36 < LuitvD> ?
14:37 < tor7> to diff images
14:40 < LuitvD> oh
14:40 < LuitvD> right :)
14:40 < LuitvD> that's one way
14:49 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
14:53 -!- nullpo [n=nullpo@221x252x46x83.ap221.ftth.ucom.ne.jp] has quit
["Leaving..."]
14:55 -!- Daminvar [n=Daminvar@129.21.121.222] has joined #go-nuts
14:56 -!- Daminvar [n=Daminvar@129.21.121.222] has quit [Client Quit]
14:57 -!- Daminvar [n=Daminvar@129.21.121.222] has joined #go-nuts
14:58 -!- Daminvar [n=Daminvar@129.21.121.222] has left #go-nuts []
15:04 -!- nighty^ [n=nighty@x122091.ppp.asahi-net.or.jp] has quit [Remote closed
the connection]
15:06 -!- nighty^ [n=nighty@x122091.ppp.asahi-net.or.jp] has joined #go-nuts
15:17 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["This
computer has gone to sleep"]
15:29 -!- mbarkhau [n=koloss@p54A7BBB9.dip.t-dialin.net] has joined #go-nuts
15:35 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
15:38 -!- binaryjohn [n=binaryjo@cpe-24-30-132-50.san.res.rr.com] has joined
#go-nuts
15:41 -!- ni|_ [n=james@149.106.192.131] has joined #go-nuts
15:42 -!- ni| [n=james@users.vu.union.edu] has quit ["leaving"]
15:48 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
15:51 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
16:02 -!- JBeshir [n=namegduf@138-38-226-61.resnet.bath.ac.uk] has quit
["leaving"]
16:02 -!- JBeshir [n=namegduf@138-38-226-61.resnet.bath.ac.uk] has joined #go-nuts
16:08 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
16:11 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has joined #go-nuts
16:15 -!- Metaphis [n=cyanure@81-65-198-68.rev.numericable.fr] has quit [Remote
closed the connection]
16:25 -!- rakd [n=rakd@EM114-51-21-124.pool.e-mobile.ne.jp] has joined #go-nuts
16:27 -!- kanru [n=kanru@61-228-153-103.dynamic.hinet.net] has quit ["WeeChat
0.3.0"]
16:30 -!- moraes_ [n=moraes@187.39.148.176] has joined #go-nuts
16:36 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
16:43 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has quit [Read error: 60
(Operation timed out)]
16:43 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
quit [Read error: 104 (Connection reset by peer)]
16:44 -!- moraes__ [n=moraes@187.39.148.176] has joined #go-nuts
16:45 -!- trevor [n=trevor@70.143.44.82] has joined #go-nuts
16:46 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has joined #go-nuts
16:48 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
16:48 -!- moraes [n=moraes@187.39.148.176] has quit [Read error: 110 (Connection
timed out)]
16:50 < LuitvD> http://gopaste.org/view/61Gt5
16:50 < LuitvD> anyone interested in helping me out?
16:50 < LuitvD> I have quite a strange error, and I have no idea where it's
going wrong
16:50 < bortzmeyer> LuitvD: simple quotes instead of double quotes for your
strings
16:51 < LuitvD> ooooh
16:52 -!- moraes_ [n=moraes@187.39.148.176] has quit [Read error: 60 (Operation
timed out)]
16:53 -!- kleinchris [n=kleinchr@project-ajax.de] has quit [Remote closed the
connection]
16:53 -!- nealmcb [n=neal@ubuntu/member/nealmcb] has joined #go-nuts
16:53 < LuitvD> now it's more errors
16:53 < LuitvD> like invalid field name "points" in struct initializer
16:55 < LuitvD> removed all names, now this:
16:55 < LuitvD> main.go:48: cannot use &(node STRUCTLIT) (type *Point) as
type Point in array index
16:56 < bortzmeyer> LuitvD:post code, hard to say otherwise
16:56 < LuitvD> if gopaste will work...
16:56 * LuitvD is lagging
16:57 < LuitvD> http://pastebin.com/d42bbc94c
16:57 < LuitvD> the first bit hasn't changed
16:58 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has joined #go-nuts
16:58 < jhh> you having an array of points
16:59 < jhh> but you're inserting *Points
16:59 < LuitvD> err
16:59 < LuitvD> no I'm not :P
16:59 < jhh> what is & doing then?
16:59 < LuitvD> err...
16:59 < LuitvD> should I skip those?
16:59 -!- hartcode [n=hartcode@82.132.139.159] has joined #go-nuts
17:00 < jhh> if you want []Point, yes, if you want []*Point, no
17:00 < LuitvD> oh my gosh, it works
17:00 < LuitvD> :D
17:00 < LuitvD> my code works
17:00 < LuitvD> (only the literals were fucked)
17:00 < LuitvD> sharp eye, jhh
17:01 < jhh> ;
17:01 < jhh> ;
17:01 < jhh> maaan
17:01 < LuitvD> :P
17:01 < jhh> ;)
17:01 < LuitvD> only eyes
17:01 < jhh> heh
17:01 < LuitvD> different definition of being 'all eyes'
17:01 < LuitvD> wait...
17:01 < LuitvD> does that even...
17:02 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
17:02 < LuitvD> there's "I'm all ears", but is there a visual equivalent?
17:02 < hartcode> Hi
17:02 < hartcode> Just started playing around with Go and instantly ran into
some "interesting" behaviour, thought I'd see if anyone has any throughts on it :D
17:03 < LuitvD> I don't know if I have any "throughts" at all...
17:05 < hartcode> So far I created a benchmark that just creates a large int
array, just to test the benchmarking utility - getting a sudden and very radical
drop in performance at a certain point of large array size
17:05 -!- scoopr_ [i=scoopr@et.vaan.osaa.fi] has joined #go-nuts
17:06 < jhh> How large?
17:06 < LuitvD> hartcode: is your memory filling up?
17:06 < LuitvD> hm, I'm gone
17:06 < hartcode> Yeah maybe that's it
17:07 < hartcode> Actually not
17:08 < hartcode> Just roughly at around 100 million ints it goes crunchy,
at 10 million it runs instantly
17:08 < hartcode> I see it eat up 400 MB of memory just fine but I still
have lots left
17:09 < hartcode> This is on 32 bit OS X
17:10 < hartcode> I should isolate this a bit more, cut out the benchmarking
17:10 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
17:11 -!- Wiz126 [n=Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has quit [Connection
timed out]
17:11 -!- Wiz126 [n=Wiz126@24.115.240.60.res-cmts.sm.ptd.net] has joined #go-nuts
17:13 < jhh> maybe it's the operating system which slows down to find large
memory chunks
17:13 < hartcode> Yeah something to do with the benchmarking - runs fine on
its own
17:13 -!- p4p4 [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Read error: 110
(Connection timed out)]
17:13 < jhh> ah okay
17:14 < hartcode> Ah well, going to move on - more interested in playing
with Go than bugfixing that :D
17:15 -!- chachan [n=chachan@201.208.209.90] has quit [Read error: 54 (Connection
reset by peer)]
17:16 -!- chachan [n=chachan@201.208.209.90] has joined #go-nuts
17:17 -!- scoopr [i=scoopr@et.vaan.osaa.fi] has quit [Read error: 110 (Connection
timed out)]
17:23 -!- lotrpy [n=lotrpy@202.38.97.230] has joined #go-nuts
17:25 -!- tor7 [n=tor@c-987a71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has quit
["Z?"]
17:26 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 54 (Connection
reset by peer)]
17:26 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
17:30 < hartcode> I love the scoped variable declaration in ifs :D
17:32 < dagle> Yupp.
17:35 < hartcode> Oooh, rand.Perm - nice
17:36 -!- codemac2 [n=codemac@cpe-076-182-083-019.nc.res.rr.com] has quit [Client
Quit]
17:37 -!- jA_cOp [n=yakobu@unaffiliated/ja-cop/x-9478493] has quit ["Leaving"]
17:38 -!- SRabbelier [n=SRabbeli@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
17:39 -!- nanooo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
17:41 -!- Ortzman [n=ortzinat@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
17:43 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit [Operation
timed out]
17:45 -!- r2p2 [n=billy@v32671.1blu.de] has left #go-nuts []
17:46 -!- Ortzinator [n=ortzinat@unaffiliated/ortzinator] has quit [Read error: 60
(Operation timed out)]
17:46 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 54 (Connection
reset by peer)]
17:46 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
17:47 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts
17:47 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has joined #go-nuts
17:49 -!- diltsman_ [n=diltsman@64.122.18.77] has joined #go-nuts
17:55 -!- kieki__ [n=kstg@p3016-ipbf4306marunouchi.tokyo.ocn.ne.jp] has joined
#go-nuts
17:58 -!- rakd [n=rakd@EM114-51-21-124.pool.e-mobile.ne.jp] has quit ["See
you..."]
17:59 -!- mssm [n=mssmfs@ip-95-221-99-167.bb.netbynet.ru] has quit ["WeeChat
0.3.0"]
18:01 -!- encolpe [n=encolpe@gai69-3-82-235-15-3.fbx.proxad.net] has joined
#go-nuts
18:03 -!- Fl1pFl0p [n=FlipFlop@unaffiliated/fl1pfl0p] has joined #go-nuts
18:03 -!- diltsman_ [n=diltsman@64.122.18.77] has quit []
18:06 -!- Sungem [i=ss@118-168-238-34.dynamic.hinet.net] has joined #go-nuts
18:07 < hartcode> Man the multiple assignment stuff can get pretty difficult
to read: for l, r := 0, 0; l < len(left) || r < len(right); l, r = l + 1, r
+ 1 {
18:08 < dagle> Hehe.
18:08 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Read error: 113 (No route to host)]
18:08 < hartcode> I should be used to it from other languages but somehow it
seems more difficult to read here, I ponder why
18:09 < Kashia> the () are missing and gofmt always puts them on a single
line?
18:11 < hartcode> I can't have () in for can I?
18:11 < hartcode> Right yeah, you're saying that's why, sorry
18:11 < hartcode> Yes
18:11 < hartcode> I think that's it
18:13 < hartcode> A comma operator would be handy too :D
18:14 < dagle> What does that normaly do?
18:14 < hartcode> But I guess a literal comma would clash badly with the
multiple assignment syntax
18:14 < hartcode> Just to allow you to do e.g.  "l++, r++" in the for
increment
18:16 < dagle> Ah.
18:17 < dagle> So l++,r++; = l++;r++; ?
18:19 < hartcode> Basically, except of course you can only have one
statement in the for increment
18:21 < dagle> as long as it is an assignment?
18:21 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 54 (Connection
reset by peer)]
18:21 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
18:23 < hartcode> I don't think it has to be an assignment, right?
18:23 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Client Quit]
18:24 < hartcode> Just typically that's what it ends up being
18:24 -!- GoTest [n=gotest@rps2867.ovh.net] has joined #go-nuts
18:24 -!- GoTest [n=gotest@rps2867.ovh.net] has quit [Remote closed the
connection]
18:25 -!- Fl1pFl0p1 [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has joined #go-nuts
18:26 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined
#go-nuts
18:27 -!- Alkavan [n=alkavan@77.126.160.64] has joined #go-nuts
18:28 < hartcode> Right, time to shoot - later :)
18:28 -!- hartcode [n=hartcode@82.132.139.159] has quit []
18:30 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has joined
#go-nuts
18:32 -!- skelterjohn [n=jasmuth@c-76-116-179-93.hsd1.nj.comcast.net] has quit
[Client Quit]
18:39 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read
error: 110 (Connection timed out)]
18:39 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
18:43 -!- Fl1pFl0p [n=FlipFlop@unaffiliated/fl1pfl0p] has quit [Connection timed
out]
18:51 < happy> does Go treat "" and '' differently?
18:51 < LuitvD> yeah
18:51 < LuitvD> '' defines a char, "" a string
18:52 < LuitvD> http://golang.org/doc/go_spec.html#Character_literals
18:52 < happy> LuitvD: ok.  is there an easy way to make a raw string line
in python?  r"this \ is literal"
18:52 -!- lotrpy [n=lotrpy@202.38.97.230] has quit []
18:53 < LuitvD> like in python?
18:53 < LuitvD> :P
18:53 < LuitvD> dunno...
18:53 < happy> yeah
18:53 < happy> like
18:53 < LuitvD> can't, I guess
18:53 < happy> LuitvD: I am trying to do regex
18:53 < LuitvD> oh, backticks
18:53 < happy> and it is difficult to keep track of all the \
18:53 < happy> backticks?
18:53 < LuitvD> `like this, is a \raw\ string`
18:54 < happy> cool
18:54 < dagle> happy: Multiline?
18:54 < LuitvD> dunno...
18:54 < LuitvD> guess so
18:54 < happy> dagle: what do you mean?
18:55 < LuitvD> see the spec
18:55 < happy> this is confusing enough without having to backslash each
backslash: regexp.MustCompile(`"(.*?)" [\(\[](.*?)[\)\]]`)
18:55 < LuitvD> `\n
18:55 < LuitvD> \n` // same as "\\n\n\\n"
18:56 < happy> LuitvD: It could take you years to reverse engineer that :-P
18:57 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has joined #go-nuts
18:57 -!- crakrjak_ [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Read
error: 110 (Connection timed out)]
18:57 < dagle> nvm.
18:58 < happy> dagle: does the regexp pkg support multiline?
18:59 < happy> how do you convert a string to a []byte?
19:01 -!- osaunders [n=osaunder@84.13.41.87] has joined #go-nuts
19:02 -!- Alkavan_ [n=alkavan@77.126.160.64] has joined #go-nuts
19:02 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has quit [Read error:
54 (Connection reset by peer)]
19:02 < osaunders> Any idea how I fix this?  (Trying to build go for first
time): http://codepad.org/QdyKfYh8
19:02 -!- crakrjak [n=merc@rrcs-70-62-156-154.central.biz.rr.com] has joined
#go-nuts
19:03 -!- catofzen [n=lc@ip-69-27-56-38.slm.blueriver.net] has joined #go-nuts
19:03 < LuitvD> looks like you have some network trouble, osaunders
19:03 < LuitvD> your binaries have compiled already, though
19:03 < LuitvD> so you can use Go's compilers, linkers, everything
19:04 -!- nanooo [n=nano@95-89-197-218-dynip.superkabel.de] has quit [Client Quit]
19:04 < LuitvD> a simple test failed
19:04 < LuitvD> that's all
19:04 < osaunders> LuitvD: Yeah.
19:04 < osaunders> I'm reading "common problems" apparently the test may
pass if I disable firewall, so I'm trying that now.
19:05 -!- Adys [n=Adys@unaffiliated/adys] has quit [Read error: 60 (Operation
timed out)]
19:06 < LuitvD> osaunders: or just bypass the test, in src/pkg/Makefile put
it in NOTEST or something
19:06 -!- scarabx [n=scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit ["This
computer has gone to sleep"]
19:07 < osaunders> OK, tests passed.
19:08 < osaunders> Awesome.
19:09 < happy> anyone know why I would get this runtime error?  regexp:
compiling " "(.*?)".*?[\[\(](.*?)[\)\]] ": unmatched '('
19:10 < happy> I do not understand where the unmatched ( is
19:10 -!- Fl1pFl0p1 [n=FlipFlop@ip68-8-225-187.sd.sd.cox.net] has left #go-nuts []
19:10 < kerozen> happy: you escaped last one ?
19:10 < osaunders> happy: I don't understand where your regexp starts.  You
have " and a space and another ".
19:10 -!- Fl1pFl0p [n=FlipFlop@unaffiliated/fl1pfl0p] has joined #go-nuts
19:11 < happy> osaunders: regexp.MustCompile(`"(.*?)".*?[\[\(](.*?)[\)\]]`)
19:11 < happy> that is the code.  If that answers your question
19:12 < osaunders> It does, thanks.
19:12 < happy> pretty much what it is supposed to do is find the info in ""
and then the info in [] or ()
19:12 < LuitvD> cannot use rand.Float64 (type func() (float64)) as type
float64
19:12 < LuitvD> ?
19:12 < LuitvD> oh, never mind
19:13 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
19:13 -!- LuitvD [n=LuitvD@beigetower/luitvd] has quit ["Gone"]
19:14 < osaunders> happy: I can't see anything wrong with that regexp.
19:14 < happy> osaunders: I decided I did not need to search for info in []
19:14 < happy> p := regexp.MustCompile(`"(.*?)".*?\((.*?)\)`)
19:14 < happy> same error
19:14 < happy> I am starting to think it does not understand \ ?
19:15 < osaunders> If you take out the \( and \), does it work?
19:16 < usa> happy, in general "[^"]*" will be at least as efficient, and
for certain regular expression implementatios a lot more efficient than ".*?"
19:16 < happy> compiling " "(.*?)".*?(.*?) ": unmatched '('
19:17 < happy> usa: I do not even know how that works.
19:17 < osaunders> Well, that's not good news go.
19:17 < osaunders> @happy ^
19:17 < osaunders> *for go
19:17 < happy> apparently :-\
19:17 < usa> [^"] matches a character that is not a double quote, [^"]*
matches a sequence of characters that are not double quotes.
19:17 < osaunders> "[^"]*" is: " followed by 0 or more anything not " and
another ".
19:18 < happy> oh.  Now it makes sense :-)
19:18 -!- bl3u [n=me@24-107-152-12.dhcp.stls.mo.charter.com] has joined #go-nuts
19:18 < osaunders> happy: Perhaps report it
http://code.google.com/p/go/issues/list
19:18 -!- Alkavan_ [n=alkavan@77.126.160.64] has quit ["Leaving"]
19:19 < usa> It does match different things than ".*?", but usually you are
after the thing that "[^"]*" matches.
19:19 < happy> osaunders: I will do that :-)
19:20 -!- LL77 [n=ll@78-21-35-139.access.telenet.be] has joined #go-nuts
19:20 -!- Adys [n=Adys@unaffiliated/adys] has joined #go-nuts
19:20 < happy> usa: in what circumstance would ".*?" and "[^"]*" be
different?
19:21 -!- Alkavan [n=alkavan@77.126.160.64] has quit [Read error: 110 (Connection
timed out)]
19:21 < usa> When thay are part of a larger expression.  Regular expressions
try realy hard to match:-)
19:21 < osaunders> happy: I think it's really only style.
19:21 < KirkMcDonald> usa: Note the ? in the first one.
19:22 < KirkMcDonald> usa: This causes the match to be non-greedy.
19:22 < usa> Yes, I know it causes the expression to be non-greedy.
19:23 -!- snearch [n=olaf@g225049242.adsl.alicedsl.de] has quit ["Ex-Chat"]
19:24 < usa> If the "[^"]" is part of a longer pattern, then it can never
match "hello""there", but ".*?" could match it all if it needed to to make the
rest of the pattern match.
19:24 < osaunders> How have people found go in general so far?
19:25 < usa> For example X"[^"]"Y does not match X"hi"there"Y, but X".*?"Y
does match it.
19:25 -!- Kashia [n=Kashia@p4FEB5540.dip.t-dialin.net] has quit ["This computer
has gone to sleep"]
19:26 < happy> usa: ah, that makes sense.
19:26 < happy> usa: I will keep that in mind :-)
19:26 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has joined
#go-nuts
19:26 < happy> osaunders: I find that go looks like it will be an awesome
language, but some things right now just don't make sense.
19:26 < osaunders> What things?
19:26 < usa> Russ Cox's recent papers on regular expressions are well worth
reading.
19:27 < happy> osaunders: It confused me that time.Nanoseconds() returns an
int64 and os.Dir.Mtime is a uint64.  They hold the same type of data
19:28 < happy> osaunders: It means you need to typecaste them before doing
arithmetic
19:29 < osaunders> Does go have implementation specific data types like in C
int can be any size?
19:29 < happy> osaunders: I believe so
19:29 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
19:30 < happy> osaunders: I think a normal int is the same as on C
19:30 -!- mejja [n=user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
joined #go-nuts
19:30 -!- LL33 [n=ll@78-21-35-139.access.telenet.be] has joined #go-nuts
19:31 < osaunders> Ok
19:31 -!- jajamana [n=jcb@cm-84.215.40.160.getinternet.no] has quit ["This
computer has gone to sleep"]
19:33 -!- LL55 [n=ll@78-21-35-139.access.telenet.be] has joined #go-nuts
19:33 -!- sinuhe [n=user@kaptah.deevans.net] has quit ["ERC Version 5.2 (IRC
client for Emacs)"]
19:34 -!- idea_squirrel [i=ct2rips@77-22-20-30-dynip.superkabel.de] has quit ["zu
müde oder muss afk ...  suchs dir aus"]
19:36 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has joined #go-nuts
19:36 -!- LL [n=ll@78-21-35-139.access.telenet.be] has quit [Read error: 110
(Connection timed out)]
19:41 -!- mycroftiv [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has quit ["leaving"]
19:47 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
19:47 -!- LL77 [n=ll@78-21-35-139.access.telenet.be] has quit [Read error: 110
(Connection timed out)]
19:49 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
19:49 -!- mode/#go-nuts [+v iant] by ChanServ
19:50 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has joined #go-nuts
19:50 -!- LL33 [n=ll@78-21-35-139.access.telenet.be] has quit [Read error: 110
(Connection timed out)]
19:54 -!- amacleod [n=amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
19:56 -!- nanoo [n=nano@95-89-197-218-dynip.superkabel.de] has quit ["Leaving"]
19:58 -!- rhelmer [n=rhelmer@adsl-69-107-89-176.dsl.pltn13.pacbell.net] has quit
[]
19:58 < osaunders> Do you have header files or anything like that in go?
19:58 < osaunders> Oh wait, you can't possibly.
19:58 < osaunders> That's good.
20:00 < happy> lol
20:10 -!- lepuspower [n=infernus@h69-128-47-243.mdsnwi.dedicated.static.tds.net]
has joined #go-nuts
20:10 -!- chachan [n=chachan@201.208.209.90] has quit [Read error: 104 (Connection
reset by peer)]
20:11 -!- chachan [n=chachan@201.208.209.90] has joined #go-nuts
20:17 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts
20:23 -!- ni| [n=james@149.106.192.131] has quit [Remote closed the connection]
20:27 -!- ni| [n=james@users.vu.union.edu] has joined #go-nuts
20:27 -!- frem [n=frem___@66.185.73.137] has quit [Remote closed the connection]
20:33 -!- exch [n=nuada@h144170.upc-h.chello.nl] has quit [Read error: 104
(Connection reset by peer)]
20:39 -!- exch [n=nuada@h144170.upc-h.chello.nl] has joined #go-nuts
20:40 -!- smooge [n=smooge@int.smoogespace.com] has joined #go-nuts
20:43 -!- LL77 [n=ll@78-21-35-139.access.telenet.be] has joined #go-nuts
20:47 -!- mssm [n=mssmfs@ip-95-221-99-167.bb.netbynet.ru] has joined #go-nuts
20:48 -!- LL [n=ll@78-21-35-139.access.telenet.be] has quit [Read error: 60
(Operation timed out)]
20:52 -!- JSharpe [n=jamie@5adaea98.bb.sky.com] has joined #go-nuts
20:54 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
20:56 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
20:56 -!- mode/#go-nuts [+v iant] by ChanServ
20:58 -!- Cyanure [n=cyanure@AMontsouris-151-1-90-26.w90-2.abo.wanadoo.fr] has
joined #go-nuts
21:02 -!- frem [n=frem___@66.185.73.137] has joined #go-nuts
21:09 -!- Xera^ [n=brit@87-194-208-246.bethere.co.uk] has quit ["(
www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )"]
21:11 -!- oal [n=olav@5.79-160-122.customer.lyse.net] has quit [Remote closed the
connection]
21:16 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
21:16 -!- Cyanure [n=cyanure@AMontsouris-151-1-90-26.w90-2.abo.wanadoo.fr] has
quit [Read error: 54 (Connection reset by peer)]
21:20 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
21:20 -!- mode/#go-nuts [+v iant] by ChanServ
21:23 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
21:24 -!- Kashia [n=Kashia@port-92-200-61-18.dynamic.qsc.de] has joined #go-nuts
21:24 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
21:24 -!- mode/#go-nuts [+v iant] by ChanServ
21:29 -!- DerHorst [n=Horst@e176123251.adsl.alicedsl.de] has joined #go-nuts
21:45 -!- bortzmeyer [n=stephane@central.sources.org] has quit ["Leaving."]
21:46 -!- fgb1 [n=fgb@190.246.85.45] has joined #go-nuts
21:47 -!- fgb [n=fgb@190.246.85.45] has quit [Read error: 110 (Connection timed
out)]
21:54 -!- gnuvince [n=vince@64.235.203.103] has quit ["What the fruit is goin' on
here!?"]
21:56 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
21:57 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Connection timed out]
21:58 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
21:58 -!- mode/#go-nuts [+v iant] by ChanServ
22:04 -!- Calyptratus-LAP [n=Calyptra@unaffiliated/calyptratus-tzm] has quit [Read
error: 60 (Operation timed out)]
22:07 -!- aho [n=nya@e181183222.adsl.alicedsl.de] has joined #go-nuts
22:07 -!- happy [n=stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
22:07 < frem> I think I may have torn a rift in the timespace continuum.
Something about ??none??: file not amd64 [/* ]
22:07 < frem> http://pastebin.com/m7bc3c1db
22:08 < happy> frem: 6l fish.6
22:08 < frem> happy: doh!  thanks.  >_<
22:08 < happy> lol
22:08 < happy> np
22:09 < happy> frem: how did you highlight part of the post?
22:09 < frem> It's a pastebin thingie.  Put @@ in front of a line.
22:10 < happy> thanks :-)
22:10 < frem> np :)
22:13 < ni|> i wonder why they chose hg instead of git
22:13 < ni|> i like them both
22:16 < happy> I know git better than hg (then again I do not know git the
well)
22:17 -!- fgb [n=fgb@190.246.85.45] has quit ["Leaving."]
22:17 -!- fgb [n=fgb@190.246.85.45] has joined #go-nuts
22:17 < jhh> i think because of the plugins for the code review
22:17 < ni|> git is supported by cr
22:20 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
22:21 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
22:21 -!- mode/#go-nuts [+v iant] by ChanServ
22:23 < usa> ni| If you want to change something, for example to alter the
way that you get files if you have pending changes, whould you rather work with a
script based system or a compiled C code based system?  On Debian hg is 284k
installed, git-core is 13Mb.
22:24 -!- tar_ [n=tom@c-24-7-89-37.hsd1.ca.comcast.net] has left #go-nuts []
22:33 -!- b00m_chef__ [n=watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
22:35 -!- mbarkhau [n=koloss@p54A7BBB9.dip.t-dialin.net] has quit [Client Quit]
22:39 -!- sinuhe [n=user@kaptah.deevans.net] has quit [Read error: 113 (No route
to host)]
22:42 -!- alexsuraci [n=alexsura@pool-71-188-133-67.aubnin.fios.verizon.net] has
joined #go-nuts
22:42 -!- rog_ [n=rog@92.26.188.22] has quit []
22:42 -!- sinuhe [n=user@kaptah.deevans.net] has joined #go-nuts
22:45 -!- GabydeWilde_ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has quit
[Read error: 54 (Connection reset by peer)]
22:48 < ni|> usa: i'm not complaining just wondering if that was a design
decision
22:48 < ni|> i think russ just likes hg
22:48 < ni|> and its not lunixy :)
22:49 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Read error: 104
(Connection reset by peer)]
22:55 -!- GabydeWilde_ [n=gabydewi@84-104-135-141.cable.quicknet.nl] has joined
#go-nuts
22:56 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has joined #go-nuts
23:00 -!- ShadowIce [i=pyoro@unaffiliated/shadowice-x841044] has quit
["Verlassend"]
23:01 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
23:01 -!- jauaor [n=araujo@190.38.49.150] has joined #go-nuts
23:01 -!- alexsuraci [n=alexsura@pool-71-188-133-67.aubnin.fios.verizon.net] has
quit [Read error: 113 (No route to host)]
23:02 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
23:02 -!- mode/#go-nuts [+v iant] by ChanServ
23:05 -!- General1337 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
23:12 -!- michael| [n=maikeru@unaffiliated/maikeru/x-7708887] has quit [Read
error: 113 (No route to host)]
23:16 -!- alexsuraci [n=alexsura@pool-71-188-133-67.aubnin.fios.verizon.net] has
joined #go-nuts
23:18 -!- LL [n=ll@78-21-35-139.access.telenet.be] has quit [Read error: 104
(Connection reset by peer)]
23:22 -!- General13372 [n=support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Read error: 110 (Connection timed out)]
23:26 -!- callidus [n=quassel@cpc2-newc1-0-0-cust1524.gate.cable.virginmedia.com]
has quit [Remote closed the connection]
23:31 -!- jophish [n=jophish@hermi.gotadsl.co.uk] has quit [Remote closed the
connection]
23:32 -!- DerHorst [n=Horst@e176123251.adsl.alicedsl.de] has quit ["Verlassend"]
23:33 -!- napsy [n=luka@88.200.96.14] has joined #go-nuts
23:34 < napsy> Hello.  How can I initialize an array of [2]int ..  I tried
with var test [2]int = {1, 2} but it doesn't work
23:35 < jauaor> var test = make([2]int)
23:36 < jauaor> or
23:36 < dagle> test := make([]int, 2)
23:37 < napsy> hm ok but how can I assign the initial values
23:37 -!- buidangchung [n=chatzill@118.71.49.148] has joined #go-nuts
23:37 < napsy> when delaring
23:37 < napsy> ceclaring*
23:37 < napsy> declaring*
23:38 < jauaor> var test := [2]int{1,2}
23:38 -!- buidangchung [n=chatzill@118.71.49.148] has quit [Client Quit]
23:38 < napsy> oh ok
23:38 < jauaor> you can do too
23:39 < jauaor> var test := [...]int{1,2} or, []int{1,2}
23:39 < napsy> thanks
23:39 < jauaor> welcome
23:39 < jauaor> :)
23:41 < dagle> [...]int{1,2} and []int{1,2} is not the same.
23:42 < jauaor> dagle: what's difference?
23:42 -!- taruti [i=taruti@aoi.yi.org] has left #go-nuts []
23:45 < dagle> jauaor: var test := [...]int{1,2} or := [2]int{1,2}
23:46 < dagle> jauaor: var test := &[...]int{1,2} or := []int{1,2}
23:48 < jauaor> mmm
23:49 -!- chachan [n=chachan@201.208.209.90] has quit [Read error: 104 (Connection
reset by peer)]
23:50 -!- chachan [n=chachan@201.208.209.90] has joined #go-nuts
23:51 < jauaor> dagle: you mean, the '&' is needed?
23:51 < dagle> jauaor: & makes a slice out of an array.
23:52 -!- mssm [n=mssmfs@ip-95-221-99-167.bb.netbynet.ru] has quit [Read error:
110 (Connection timed out)]
23:52 < jauaor> dagle: oh, right, so, [...] is slice notation ?
23:52 < dagle> Array.
23:52 < dagle> var array [5]int
23:52 < dagle> var slice []int
23:54 < dagle> And slice is just (start *ptr, stop *ptr) , if you are
intressted in that.
23:54 < jauaor> dagle: but i see both notation , &[...] and [] can be used
interchangeable ?
23:55 < jauaor> ok, just checking the go tutorial, and it says "..." can be
specified as array size
23:55 < dagle> pretty sure they are the same.  I use &[...] mostly and so
does most source.  Dunno why.
23:56 < dagle> Yes.
23:56 < jauaor> ok
23:56 < jauaor> good, i thought so at first, thanks
23:56 < dagle> [...] = [3] if the array is 3.
23:56 < jauaor> yeah
23:56 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: 104 (Connection reset by peer)]
23:57 -!- iant [n=iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined
#go-nuts
23:57 -!- mode/#go-nuts [+v iant] by ChanServ
23:59 -!- p4p4_ [n=P4p4@24.106.113.82.net.de.o2.com] has quit [Client Quit]
--- Log closed Mon Jan 18 00:00:46 2010