--- Log opened Sun Jul 18 00:00:12 2010
00:06 -!- i__ [~none@nkvd.ath.cx] has quit [Changing host]
00:06 -!- i__ [~none@unaffiliated/i--/x-3618442] has joined #go-nuts
00:28 -!- Venom_X [~pjacobs@71.21.124.111] has joined #go-nuts
00:30 -!- photron [~photron@port-92-201-250-154.dynamic.qsc.de] has quit [Ping
timeout: 265 seconds]
00:34 -!- skelterjohn [~jasmuth@c-76-99-93-212.hsd1.nj.comcast.net] has joined
#go-nuts
00:37 -!- Venom_X [~pjacobs@71.21.124.111] has quit [Quit: Venom_X]
00:40 -!- jchico [~jchico@cpe-98-14-12-209.nyc.res.rr.com] has quit [Quit:
Leaving]
00:49 -!- getisboy [~Family@c-24-128-240-75.hsd1.ma.comcast.net] has joined
#go-nuts
01:04 -!- getisboy [~Family@c-24-128-240-75.hsd1.ma.comcast.net] has left #go-nuts
[]
01:09 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
01:20 -!- skelterjohn [~jasmuth@c-76-99-93-212.hsd1.nj.comcast.net] has quit [Ping
timeout: 265 seconds]
01:28 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
01:48 -!- tvw [~tv@e176001188.adsl.alicedsl.de] has joined #go-nuts
01:52 -!- tvw [~tv@e176001188.adsl.alicedsl.de] has quit [Remote host closed the
connection]
01:57 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit [Remote
host closed the connection]
01:58 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
01:58 -!- aho [~nya@fuld-4d00d17e.pool.mediaWays.net] has quit [Ping timeout: 265
seconds]
02:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:08 -!- rogue780 [~rogue780@c-68-34-234-213.hsd1.md.comcast.net] has joined
#go-nuts
02:10 -!- waterwalker [~tar@dsl-hkibrasgw3-fe75fb00-7.dhcp.inet.fi] has quit
[Quit: leaving]
02:17 -!- aho [~nya@fuld-4d00d163.pool.mediaWays.net] has joined #go-nuts
02:32 -!- Arimoto [~Arimoto@unaffiliated/arimoto] has left #go-nuts []
02:34 -!- byrongibson [~byrongibs@cpe-98-155-138-202.hawaii.res.rr.com] has joined
#go-nuts
02:37 -!- rogue780 [~rogue780@c-68-34-234-213.hsd1.md.comcast.net] has quit
[Remote host closed the connection]
02:56 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
02:59 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:02 -!- byrongibson [~byrongibs@cpe-98-155-138-202.hawaii.res.rr.com] has left
#go-nuts []
03:04 < nsf> lol, after doing bits of elisp code, vim script looks like an
advanced programming language to me :))
03:16 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 276 seconds]
03:18 -!- chaos95 [chaos95@li133-204.members.linode.com] has quit [Ping timeout:
240 seconds]
03:24 -!- chaos95 [chaos95@mafianode.com] has joined #go-nuts
03:32 -!- iwx [~nfulton@99-188-28-46.lightspeed.stlsmo.sbcglobal.net] has quit
[Quit: leaving]
04:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
04:08 -!- aho [~nya@fuld-4d00d163.pool.mediaWays.net] has quit [Ping timeout: 265
seconds]
04:12 -!- aho [~nya@fuld-4d00d3bb.pool.mediaWays.net] has joined #go-nuts
04:12 < nf> haha
04:42 -!- slashus2 [~slashus2@65.211.219.162] has joined #go-nuts
04:49 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 260 seconds]
04:54 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
04:57 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
04:59 -!- scm [justme@d019224.adsl.hansenet.de] has quit [Ping timeout: 265
seconds]
05:01 -!- scm [justme@d057238.adsl.hansenet.de] has joined #go-nuts
05:06 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.2]
05:07 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Quit:
mxweas]
05:19 -!- tokuhiro_ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 265 seconds]
05:21 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has joined #go-nuts
05:27 -!- 45PAAVR9K [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined #go-nuts
05:42 -!- willdye [~willdye@162.40.127.30] has quit [Read error: Connection reset
by peer]
05:51 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 276 seconds]
06:09 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
06:14 -!- slashus2 [~slashus2@65.211.219.162] has quit [Quit: slashus2]
06:23 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
06:29 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has joined #go-nuts
06:29 -!- mode/#go-nuts [+v iant] by ChanServ
06:37 -!- adu [~ajr@softbank220043139062.bbtec.net] has joined #go-nuts
06:46 -!- sauerbraten [~sauerbrat@p508CE6B7.dip.t-dialin.net] has joined #go-nuts
06:46 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
06:56 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 260
seconds]
07:12 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Ping timeout:
260 seconds]
07:15 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has joined
#go-nuts
07:16 -!- aho [~nya@fuld-4d00d3bb.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
07:29 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has quit [Quit: Leaving.]
07:32 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
07:38 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
07:50 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has joined
#go-nuts
07:54 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
08:21 -!- ExtraSpice [~ExtraSpic@88.118.32.225] has joined #go-nuts
08:23 -!- SerraAvenger [~DavidJone@dslb-084-056-119-156.pools.arcor-ip.net] has
joined #go-nuts
08:24 -!- SerraAvenger [~DavidJone@dslb-084-056-119-156.pools.arcor-ip.net] has
quit [Client Quit]
08:51 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-157-122.clienti.tiscali.it] has
joined #go-nuts
09:04 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 240 seconds]
09:08 -!- DavidJones [~DavidJone@dslb-084-056-119-156.pools.arcor-ip.net] has
joined #go-nuts
09:10 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
09:16 -!- adu [~ajr@softbank220043139062.bbtec.net] has quit [Quit: adu]
09:18 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
09:20 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
09:34 -!- andromeda [~visof@unaffiliated/visof] has joined #go-nuts
09:47 -!- photron [~photron@port-92-201-122-104.dynamic.qsc.de] has joined
#go-nuts
09:57 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has quit [Ping
timeout: 265 seconds]
09:58 -!- smw [~smw@c-76-28-90-0.hsd1.ct.comcast.net] has joined #go-nuts
10:14 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
10:21 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
10:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
10:29 -!- XenoPhoenix [~Xeno@94.171.244.40] has quit [Ping timeout: 240 seconds]
10:38 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has joined #go-nuts
10:49 -!- Netsplit *.net <-> *.split quits: sauerbraten, awidegreen, drry,
peterdn, hcatlin, Ginto8, nf, EliasAmaral
10:49 -!- Netsplit *.net <-> *.split quits: Fish, maht, korfuri, mafs
10:49 -!- Netsplit *.net <-> *.split quits: SecretAgent, nsz, rejb, drhodes,
tux21b, str1ngs, vrtical, Rennex_, Tonnerre, Eko, (+56 more, use /NETSPLIT to show
all of them)
10:50 -!- Netsplit *.net <-> *.split quits: Project_2501, segy, DJCapelis,
hokapoka, jA_cOp, gid, DavidJones, 45PAAVR9K, atsampson, Zoopee, (+53 more, use
/NETSPLIT to show all of them)
10:51 -!- Netsplit over, joins: Fish, maht, i__, Fish-Work, kw-, rlab, rejb,
hcatlin, smw, visof (+80 more)
10:51 -!- stalled [~stalled@unaffiliated/stalled] has joined #go-nuts
10:51 -!- Netsplit over, joins: soul9, __20h__, nictuku, araujo, LionMade0fLions,
Guest36778, Rennex_, d_m, jlouis, MaybeSo (+40 more)
10:52 -!- DavidJones [~DavidJone@dslb-084-056-119-156.pools.arcor-ip.net] has quit
[Quit: Konversation terminated!]
10:52 -!- XenoPhoenix [~Xeno@94.171.244.40] has joined #go-nuts
11:01 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Quit: leaving]
11:05 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has joined #go-nuts
11:18 -!- tabo [~tabot@camelot.tabo.pe] has quit [Read error: Connection reset by
peer]
11:18 -!- tabo [~tabot@camelot.tabo.pe] has joined #go-nuts
11:20 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host
closed the connection]
11:44 < mpl> hmm I'm getting lots of crap from hg when trying to goinstall
some stuff.  can the codereview extension being loaded be the problem?
11:52 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
peace in teh middle east]
11:58 < mpl> hmm seems like it.  commenting out the extension in hgrc fixed
it.
11:59 < sauerbraten> how may i make my project compatible with goinstall?
http://bitbucket.org/axle/gots
12:01 < nsf> sauerbraten: you can't goinstall doesn't work with binaries, it
installs only libraries
12:01 < sauerbraten> nsf: gots.go is a library, isn't it?
12:01 < mpl> hmm I'm getting that when building gosqlite:
12:01 < mpl> _cgo_defun.c:3 8c: No such file or directory: runtime.h
12:01 < mpl> any idea?
12:01 < nsf> sauerbraten: yes it is
12:02 < sauerbraten> so why can't i use goinstall for it?
12:02 < nsf> sauerbraten: in that case you can put it in a separate folder
12:02 < nsf> and it should just work
12:02 < sauerbraten> mhm k
12:03 < nsf> mpl: broken go installation or broken env vars
12:03 < nsf> mpl: are you using some kind of a distro package?
12:03 < mpl> nope simple hg by hand
12:03 < mpl> as always
12:03 < nsf> then it's strange :)
12:04 < nsf> then probably a broken gosqlite build :)
12:04 < nsf> but it's rather simple
12:04 < nsf> hm..
12:05 < nsf> /home/nsf/bin/8c -FVw -I"/home/nsf/go/src/pkg/runtime"
_cgo_defun.c
12:05 < nsf> 8c should have this -I flag
12:05 < nsf> in order to find runtime.h
12:06 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
12:07 < mpl> hmm something's messed up, I can't rebuild the main tree either
12:07 < sauerbraten> nsf: i made a new folder in my local copy, did "hg
commit -m "..." -u axle", then "hg push ..." but i still have no new folder on
bitucket :/
12:07 < mpl> %%%% making pkg %%%%
12:07 < mpl> make: *** No rule to make target `install'.  Stop.
12:07 < nsf> sauerbraten: well, I can't help you, I don't use mercurial at
all
12:07 < sauerbraten> ok
12:07 < mpl> sauerbraten: I think folders "don't count" you have to commit a
file that's in the folder.
12:08 -!- boscop [~boscop@f055054070.adsl.alicedsl.de] has quit []
12:08 < mpl> iirc hg tracks file paths, not dirs per s.
12:08 -!- boscop [~boscop@f055054070.adsl.alicedsl.de] has joined #go-nuts
12:09 < nsf> mpl: try to remove dir with your Go completely and redownload
it with hg
12:11 < mpl> nsf: yeah it will come to that eventually.  but that's kinda
like ppl reinstalling windows, it's the last resort when you don't know how to fix
it ;)
12:12 < nsf> in this case it's much faster, but yeah, if you're curious,
that's your choice :D
12:13 < mpl> yeah it's not like b/w is expensive these days, but I'd feel a
bit like I lost the game.
12:13 < mpl> ok, hg update -C seems to have cleaned some mess, the main
tree's building at least.
12:13 < nsf> :)
12:14 < nsf> disadvantage of having all go tree under the user dir, it
really should have proper installation under root
12:14 < nsf> or not..  don't know, don't care :)
12:15 * nsf is back to work
12:15 < mpl> I like it that way.  you can install go whatever the machine
and the rights you have on it.
12:16 -!- GeoBSD [~geobsd@dispo-82-248-165-110.adsl.proxad.net] has joined
#go-nuts
12:17 -!- EthGramon [~EthanG@sourcemage/guru/eekee] has joined #go-nuts
12:18 < mpl> damn, still no luck with gosqlit.
12:18 < mpl> *sqlite
12:20 < mpl> ok, goinstall still failing but make by hand ok now.
12:20 < nsf> gosqlite will fail with goinstall, it uses cgo
12:21 < nsf> don't even thing about goinstall when you have cgo libs :)
12:21 < mpl> you sure?  I thought I had done it in the past?
12:21 < nsf> think*
12:21 < nsf> nope, very unlikely
12:21 < mpl> hmm I must confuse with another one then.
12:22 < mpl> thx
12:22 -!- rinzai [~rinzai@81.129.148.230] has joined #go-nuts
12:24 -!- sebi_` [~nil@unaffiliated/stuhlbein] has quit [Ping timeout: 276
seconds]
12:30 -!- EthanG [~EthanG@sourcemage/guru/eekee] has left #go-nuts []
12:36 -!- sebi_` [~nil@unaffiliated/stuhlbein] has joined #go-nuts
12:38 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
12:40 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
12:45 -!- Boney [~paul@210-84-63-248.dyn.iinet.net.au] has joined #go-nuts
12:48 -!- geocalc [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has joined
#go-nuts
12:48 -!- sebi_` [~nil@unaffiliated/stuhlbein] has quit [Ping timeout: 240
seconds]
12:49 < allengeorge> Hi - I'm trying to create a type like so:
12:49 < allengeorge> type stateFunc func (*stateMachine) (*stateData)
(state, *stateData)
12:49 < allengeorge> Apparently this is not possible?
12:50 -!- GeoBSD [~geobsd@dispo-82-248-165-110.adsl.proxad.net] has quit [Ping
timeout: 248 seconds]
12:50 < allengeorge> I get "syntax error: unexpected (, expecting )"
12:50 < jessta> allengeorge: yep
12:50 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Ping
timeout: 265 seconds]
12:50 < allengeorge> So func types cannot have a receiver
12:51 < jessta> not currently
12:51 < allengeorge> I mean, if I'm defining a func type
12:51 < allengeorge> Ok. Cool.
12:51 < allengeorge> Another question.  I'm trying to do something like
this:
12:51 < allengeorge> type Message interface { GetMessageNum() uint64 }
12:52 < jessta> allengeorge:
http://golang.org/doc/go_spec.html#Method_expressions <-- not currently
implemented
12:52 < allengeorge> Ah - thanks for the pointer.  I'll take a closer look
at the spec document
12:53 < allengeorge> Right.  So I have a message heirarchy like so Message
<--- AcceptMessage, RejectMessage
12:53 < allengeorge> I also have a function that is defined like:
12:54 < allengeorge> func (Message m) ([]Message msgs) { ...  }
12:54 < jessta> you can't have an interface as a reciever
12:54 < allengeorge> It's not a receiver
12:54 < allengeorge> Sorry - I made a typo
12:55 < allengeorge> There's a func name in there
12:55 < allengeorge> func msgFunc (Message m) ([]Message msgs) {...}
12:55 < allengeorge> I wanted to do a type switch based on the actual
concrete message type
12:56 < allengeorge> But it failed - impossible type assertion
12:56 < allengeorge> Hmm.  Maybe it's easier if I typed all the code out in
a code-snippet site and point you to it?
12:56 < jessta> yeah
12:57 < allengeorge> Is there one that does Go syntax highlighting.  I heard
pocoo?
12:58 < jessta> http://pastie.org/
12:58 < jessta> but it sounds like the concrete types you're asserting to
don't statify the interface
12:58 < allengeorge> Thanks
13:00 < nsf> gist.github.com has Go's syntax
13:04 < allengeorge> nsf: Neat.  Is there anything github doesn't have ;)
13:04 < nsf> allengeorge: a mailing lists hosting?  :)
13:05 -!- gid [~gid@220.253-225-62.VIC.netspace.net.au] has quit [Quit: Leaving.]
13:27 < allengeorge> Hmm.  This is very puzzling.  It works now.  I must
have made a typo or something in the original code
13:29 < boscop> does Go only allow strings to be specified in UTF-8?
13:30 < nsf> boscop: Go uses utf-8 for source files, strings can contain
virtually anything
13:30 < nsf> but it may break packages that work with strings (like
'strings')
13:31 < nsf> string is basically an immutable []byte
13:32 < jessta> boscop: string literals are UTF-8
13:33 < Namegduf> It will not break packages that work with strings.
13:33 < Namegduf> (Why would it do that?)
13:34 < nsf> because they assume utf-8
13:34 < Namegduf> Ah, I misread the grammar of your lines.
13:35 < nsf> my bad, english is not my closest friend :)
13:36 < Tonnerre> Poor Python users believing that UTF-8 strings must be
separate
13:37 -!- geocalc [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has quit
[Read error: Operation timed out]
13:37 < vrtical> I'm no expert, but using a 'string' to store things that
can't be manipulated or printed by string routines strikes me as a bad idea.
13:37 < vrtical> Your fellow programmers (or yourself a few months later)
will be unlikely to expect it.
13:38 < nsf> probably wrapping a string into another type that assumes other
encoding is a better idea
13:40 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has joined
#go-nuts
13:40 < jessta> vrtical: they can be manipulated and printed, but they'll
just be wrong
13:40 < Namegduf> vrtical: It's how strings work in a number of languages.
13:59 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
14:03 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has quit [Ping
timeout: 248 seconds]
14:04 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has joined
#go-nuts
14:07 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
14:13 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:17 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has quit [Ping
timeout: 260 seconds]
14:17 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has joined
#go-nuts
14:21 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
14:21 -!- allengeorge [~allengeor@74.12.153.91] has quit [Client Quit]
14:21 -!- rinzai [~rinzai@81.129.148.230] has quit [Quit: Leaving]
14:22 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
14:22 -!- allengeorge_ [~allengeor@74.12.153.91] has joined #go-nuts
14:22 -!- allengeorge [~allengeor@74.12.153.91] has quit [Read error: Connection
reset by peer]
14:34 < vrtical> jessta: nicely put :-) So many of my programs are like
that.
14:42 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
14:42 -!- kw- [~aevirex@d86-32-213-87.cust.tele2.at] has quit [Ping timeout: 260
seconds]
14:42 -!- lukew_cn [~lukew_cn@222.128.149.44] has joined #go-nuts
14:47 -!- LionMade0fLions [~LionMadeO@70.114.156.242] has left #go-nuts []
14:58 -!- smw [~smw@c-76-28-90-0.hsd1.ct.comcast.net] has quit [Quit: Leaving]
15:15 < Ginto8> allengeorge: methods of type T can be pointed to by a
variable func(T,params...) returnType
15:15 < Ginto8> sorry that's a bit late
15:17 < allengeorge> Ginto8: No worries.  Yeah - that's what I'm doing now.
15:17 -!- kanru [~kanru@61-228-157-81.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.2]
15:20 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
15:20 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
15:34 -!- skelterjohn [~jasmuth@c-76-99-92-240.hsd1.nj.comcast.net] has joined
#go-nuts
15:44 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
15:45 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
15:51 -!- 5EXAA5FHH [~DavidJone@dslb-084-056-071-080.pools.arcor-ip.net] has
joined #go-nuts
15:57 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts
15:58 -!- napsy [~luka@212.235.174.112] has quit [Quit: leaving]
15:59 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
16:00 -!- slashus2 [~slashus2@65.211.219.163] has joined #go-nuts
16:00 -!- 5EXAA5FHH [~DavidJone@dslb-084-056-071-080.pools.arcor-ip.net] has left
#go-nuts []
16:01 -!- rusua [~Ru@155.83.wms.cz] has joined #go-nuts
16:02 -!- DavidJones [~DavidJone@dslb-084-056-071-080.pools.arcor-ip.net] has
joined #go-nuts
16:02 -!- rusua [~Ru@155.83.wms.cz] has left #go-nuts []
16:05 -!- boscop [~boscop@f055054070.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
16:06 -!- boscop [~boscop@f055205178.adsl.alicedsl.de] has joined #go-nuts
16:08 -!- zero7 [~crazy@78.101.33.101] has joined #go-nuts
16:10 -!- lukew_cn [~lukew_cn@222.128.149.44] has quit [Quit: Bye~~]
16:16 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has joined
#go-nuts
16:22 -!- slashus2 [~slashus2@65.211.219.163] has quit [Quit: slashus2]
16:23 -!- mischief [~mischief@unaffiliated/mischief] has quit [Quit: For they have
sown the wind, and they shall reap the whirlwind.]
16:27 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
16:28 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Read error: Connection reset by peer]
16:28 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
16:28 -!- jchico [~jchico@cpe-98-14-12-209.nyc.res.rr.com] has joined #go-nuts
16:35 -!- emmanueloga [~emmanuelo@190.247.41.202] has quit [Quit: WeeChat
0.3.3-dev]
16:36 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
16:36 -!- EliasAmaral [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 265
seconds]
16:37 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
16:37 -!- allengeorge [~allengeor@74.12.153.91] has quit [Read error: Connection
reset by peer]
16:37 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
16:52 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
16:55 -!- EliasAmaral [~dark@unaffiliated/eliasamaral] has joined #go-nuts
16:56 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode]
16:56 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
17:00 -!- skelterjohn_ [~jasmuth@c-76-116-182-139.hsd1.nj.comcast.net] has joined
#go-nuts
17:01 -!- skelterjohn [~jasmuth@c-76-99-92-240.hsd1.nj.comcast.net] has quit [Ping
timeout: 265 seconds]
17:19 -!- zero7 [~crazy@78.101.33.101] has quit [Quit: Don't panic]
17:19 -!- HeckleJeckle [~hangeles@ool-44c55f66.dyn.optonline.net] has joined
#go-nuts
17:19 -!- napsy [~luka@212.235.174.112] has quit [Quit: Lost terminal]
17:21 -!- HeckleJeckle [~hangeles@ool-44c55f66.dyn.optonline.net] has left
#go-nuts []
17:22 -!- HeckleJeckle [~hangeles@ool-44c55f66.dyn.optonline.net] has joined
#go-nuts
17:38 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
17:41 -!- slashus2 [~slashus2@65.211.219.163] has joined #go-nuts
17:47 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
17:57 -!- tvw [~tv@e176001188.adsl.alicedsl.de] has joined #go-nuts
18:04 -!- Ginto8 [~joe@pool-72-82-235-34.cmdnnj.fios.verizon.net] has joined
#go-nuts
18:07 -!- zero7 [~crazy@78.101.33.101] has joined #go-nuts
18:07 < sauerbraten> mhmm...  i'm bored and would like to program something
in Go, but i'm not creative enough to have an idea what...
18:08 < exch> Plenty of libraries out that that could use bindings or ports.
Just troll github/sourceforge/etc for a bit
18:12 < KirkMcDonald> sauerbraten: Write a Diplomacy adjudicator.
18:13 -!- rv2733 [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
18:13 < sauerbraten> i thought about making a BEEP lib for Go but I could
only find some hard english documentation about it and since english isn't my
mother tongue i could hardly understand something...
18:13 < DavidJones> bitterbraten, please code a fibonacci heap
18:14 < Ginto8> beep lib?
18:14 < DavidJones> or port lex to go
18:15 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
18:15 < sauerbraten> Ginto8: BEEP protocol...  www.beepcore.org
18:16 < Ginto8> sauerbraten: yeah just saw the BEEPy (the python
binding/lib/whatever) page and it explained
18:16 < sauerbraten> DavidJones: what is lex to go?
18:16 < Ginto8> he's saying to port lex (some language I presume)
18:16 < Ginto8> to go
18:17 < DavidJones> http://dinosaur.compilertools.net/#lex
18:17 < DavidJones> "Lex - A Lexical Analyzer Generator"
18:18 < sauerbraten> ooohh >.< clear now
18:19 < sauerbraten> i don't get the use of lex...
18:20 < DavidJones> you mean, you don't understand what it's for
18:20 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has joined #go-nuts
18:20 -!- mode/#go-nuts [+v iant] by ChanServ
18:20 < DavidJones> or you don't understand how yo use it?
18:21 < DavidJones> *to
18:22 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
18:23 -!- slashus2 [~slashus2@65.211.219.163] has quit [Quit: slashus2]
18:27 < jchico> I always wanted to write a compiler for my own little
language, but it seems like you have to learn how to use all these tools first
before you even get started
18:27 <+iant> you can write a compiler without using any other tools
18:28 < jchico> the closest thing I got was the small Scheme interperter
from The Little Schemer
18:29 < DavidJones> Well it's actually quite easy
18:29 < DavidJones> you should learn any PEG
18:29 < DavidJones> they're easy to learn
18:29 < DavidJones> and easy to use
18:29 < jchico> PEG?
18:30 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
18:30 < DavidJones> http://en.wikipedia.org/wiki/Parsing_expression_grammar
18:31 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
18:31 < DavidJones> do you know Wc3?
18:31 < jchico> ah thanks
18:32 < DavidJones> It is quite easy to mod and has its own language, JASS2
(just another scripting syntax)
18:32 < DavidJones> there is one "mainstream" precompiler for JASS, called
jasshelper (these guys are all so innovative)
18:33 < DavidJones> but I hugely disagreed on many of the syntax decisions
the creator of jasshelper made
18:33 < DavidJones> so I decided to have my own precompiler
18:33 < DavidJones> and learnt one PEG
18:33 < DavidJones> within a week I had a small precompiler
18:33 < DavidJones> that was 2-3 years ago
18:34 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
18:34 < jchico> ah cool, so you used it personally or did you also released
it for everybody?
18:34 -!- allengeorge [~allengeor@74.12.153.91] has quit [Read error: Connection
reset by peer]
18:35 < DavidJones> na I used it personally
18:35 < DavidJones> you see, the creator of jasshelper hacked the Wc3
worldeditor
18:35 < DavidJones> (or some friends of him)
18:35 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
18:35 < DavidJones> and they were able to create a third party tool which
automatically applied jasshelper to all JASS scripts within the mod
18:35 < DavidJones> I never managed to do that
18:36 < DavidJones> so I didn't bother to make it public (it was very clumsy
to use, you see...)
18:36 < DavidJones> *bothered
18:36 < jchico> hehe, well when you don't plan on making it public you don't
really care about that
18:36 < DavidJones> yeah...
18:37 < DavidJones> and one year later, vexorian (the creator of jasshelper)
made another language that was compiled to JASS, and that one was very cool
18:37 < DavidJones> so after a year I didn't even use it myself anymore
18:37 < DavidJones> ^^
18:37 < DavidJones> but fact is
18:38 < DavidJones> it's actually quite easy, once you get the hang of it
18:38 < DavidJones> now I wanted to make another compiler for Sc2 (the
newest game by blizzard), but after creating the grammar I saw that golang has no
Lex
18:39 < DavidJones> and now I'm waiting for someone to port Lex
18:39 < DavidJones> :D
18:39 < DavidJones> (since 20 days, roughly)
18:40 < jchico> ah so I see you are big RTS guy
18:40 < DavidJones> nah not really
18:40 < jchico> I suck at them, I rather play Civ :P
18:40 < DavidJones> I'm not into playing
18:40 < DavidJones> I'm into modding them
18:40 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:41 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
18:41 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
18:41 < jchico> talking about modding games, Neverwinter Nights got me
started on my scripting/programming itch
18:42 < jchico> I rarely played the game
18:42 < jchico> always on the toolset, heh
18:42 < DavidJones> Well, I got that games and played it for a while, then
checked out if you can mod it
18:43 < DavidJones> but I was too lazy to learn the "king maker" or what
it's called
18:43 < DavidJones> because I don't like the D&D ruleset
18:44 < jchico> ah yes, the moding got messy if you wanted to change things
hard-coded things like that
18:44 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
18:44 < jchico> err, minus one 'things' there
18:54 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has joined #go-nuts
18:55 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by
services]
18:55 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
18:56 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
19:01 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
19:01 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has quit [Read error:
Connection reset by peer]
19:01 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has joined #go-nuts
19:01 -!- mode/#go-nuts [+v iant] by ChanServ
19:03 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
19:06 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
19:08 < DavidJones> NWN uses its own scripting language, right?
19:20 < allengeorge> Hmm.  I thought we could skip iota on subsequent
declarations
19:20 < allengeorge> cont (
19:20 < allengeorge> const (
19:20 < DavidJones> we can?
19:21 < allengeorge> I remember seeing it in the first go presentation
19:21 < DavidJones> it works like that: if you don't have an assignment in a
const "block", the assignment from the line above gets copied
19:21 < allengeorge> Yeah.
19:21 < allengeorge> I think you can't use the type identifier though
19:22 < DavidJones> http://golang.org/doc/effective_go.html#constants
19:22 < allengeorge> Yeah - I see what I was doing wrong.  I was trying to
do:
19:22 < allengeorge> const (
19:23 < allengeorge> START CommandType = iota
19:23 < allengeorge> END CommandType
19:23 < allengeorge> )
19:23 < DavidJones> do not copy code
19:23 < allengeorge> ?
19:23 < DavidJones> use a pastebin or something similar
19:23 < allengeorge> Oh. Ok.
19:23 < DavidJones> http://pastebin.com/LmJtKYx0
19:23 < DavidJones> like that
19:24 < DavidJones> : )
19:24 < allengeorge> Anyways, that was all the code I intended to write.  It
seems I shouldn't have put CommandType after END
19:24 < DavidJones> yup : )
19:24 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
19:25 < allengeorge> I guess there's no way to tell gofmt to wrap at 80
chars hmm?
19:26 < DavidJones> no, why?
19:26 < DavidJones> for your ide?
19:26 < DavidJones> you know you can use gofmt -w to overwrite the source
file with the output?
19:27 < allengeorge> Yup
19:27 -!- HeckleJeckle [~hangeles@ool-44c55f66.dyn.optonline.net] has left
#go-nuts []
19:27 < allengeorge> I do a lot of split windows in vim; helps to have a
bounded line size
19:28 < exch> It should really be vim's responsibility to wrap lines, not
the code itself
19:28 < DavidJones> why should gofmt do the line wrap then?
19:28 < DavidJones> exactly my thoughts
19:29 < allengeorge> Maybe I can get vim to rewrap lines > 80 chars
19:30 < DavidJones> http://vim.wikia.com/wiki/Word_wrap_without_line_breaks
19:31 -!- ronny [~quassel@p4FF1D10B.dip.t-dialin.net] has joined #go-nuts
19:32 < allengeorge> DavidJones: Cool - thx :)
19:32 < DavidJones> well yeah
19:32 < DavidJones> lmgtfy
19:33 -!- Guest88093 [~quassel@p4FF1D10B.dip.t-dialin.net] has quit [Client Quit]
19:33 -!- ronnyy [~quassel@p4FF1D10B.dip.t-dialin.net] has joined #go-nuts
19:33 < DavidJones> btw, why do you use vim?
19:33 < DavidJones> A cool guy once said
19:33 < allengeorge> Well - just this once, yes.  You did google that for me
19:33 < allengeorge> I use vim at work as well.  I work with a lot of C++
code in different projects
19:34 < DavidJones> "You'd think that if you programmed in vim for 10 years,
you become invincible"
19:34 < allengeorge> It's convenient to keep the same keybindings etc.  in
your head
19:34 < allengeorge> Not really.  I have no illusions as to what vim can do.
For me it's an editor, not much more
19:36 -!- ronnyy [~quassel@p4FF1D10B.dip.t-dialin.net] has quit [Remote host
closed the connection]
19:36 -!- ronnyy [~quassel@p4FF1D10B.dip.t-dialin.net] has joined #go-nuts
19:42 -!- aho [~nya@fuld-4d00d3f8.pool.mediaWays.net] has joined #go-nuts
19:45 -!- iant [~iant@81-233-149-58-no82.tbcn.telia.com] has quit [Ping timeout:
276 seconds]
19:46 -!- sauerbraten [~sauerbrat@p508CE6B7.dip.t-dialin.net] has quit [Ping
timeout: 265 seconds]
19:47 -!- sauerbraten [~sauerbrat@p508CE6B7.dip.t-dialin.net] has joined #go-nuts
19:52 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: I ♥ Unicode]
19:52 < DavidJones> what do you think of this line: func init() {go func()
{for { outc <- <-inc }}()}
19:52 < DavidJones> it looks aweseome, doesn't it?
20:07 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
20:09 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 240 seconds]
20:15 -!- rutkowski [~adrian@078088207115.walbrzych.vectranet.pl] has quit [Quit:
WeeChat 0.3.3-dev]
20:29 -!- DavidJones [~DavidJone@dslb-084-056-071-080.pools.arcor-ip.net] has quit
[Quit: Konversation terminated!]
20:46 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has quit [Ping
timeout: 240 seconds]
20:46 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has joined #go-nuts
21:07 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:09 -!- sauerbraten [~sauerbrat@p508CE6B7.dip.t-dialin.net] has quit [Ping
timeout: 240 seconds]
21:12 -!- dark [~dark@unaffiliated/eliasamaral] has quit [Ping timeout: 265
seconds]
21:18 -!- allengeorge [~allengeor@74.12.153.91] has quit [Quit: allengeorge]
21:22 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
21:24 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Connection
reset by peer]
21:24 -!- allengeorge [~allengeor@74.12.153.91] has joined #go-nuts
21:26 -!- allengeorge [~allengeor@74.12.153.91] has quit [Read error: Connection
reset by peer]
21:26 -!- allengeorge_ [~allengeor@74.12.153.91] has joined #go-nuts
21:26 -!- aho [~nya@fuld-4d00d3f8.pool.mediaWays.net] has quit [Read error:
Connection reset by peer]
21:33 -!- dark [~dark@unaffiliated/eliasamaral] has joined #go-nuts
21:35 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
21:35 -!- Agon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Quit:
Konversation terminated!]
21:39 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
21:39 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has joined #go-nuts
21:41 -!- emmanueloga [~emmanuelo@190.247.41.202] has joined #go-nuts
21:43 -!- tvw [~tv@e176001188.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
21:48 -!- zozoR [~zozoR@x1-6-00-0e-2e-a3-e0-23.k377.webspeed.dk] has quit [Quit:
Morten.  Desu~]
21:52 -!- mxweas [~max@c-98-225-102-170.hsd1.az.comcast.net] has quit [Remote host
closed the connection]
21:53 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
22:00 -!- thiago [~thiago@189.107.195.180] has joined #go-nuts
22:02 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
22:08 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
22:08 -!- terrex [~terrex@84.122.67.111.dyn.user.ono.com] has quit [Quit:
Leaving.]
22:10 -!- Guest77517 [~thiago@189.107.195.180] has quit [Quit: bye]
22:12 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
22:12 < angasule> cheers
22:14 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has quit [Quit:
Konversation terminated!]
22:15 -!- accAgon-laptop
[~marcel@HSI-KBW-095-208-003-128.hsi5.kabel-badenwuerttemberg.de] has joined
#go-nuts
22:15 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the
connection]
22:23 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
22:23 < angasule> cheers
22:30 < angasule> linux...  check ; go package...  check ; coffee...  check
; chocolate...  check ; let's try to make this work :-)
22:37 < progettino> o.o
22:38 < progettino> goodnight
22:38 -!- progettino [~Marvin@dynamic-adsl-94-36-157-122.clienti.tiscali.it] has
quit [Quit: sQuit!]
22:52 < angasule> well, network tests fail as usual, but hello world works
:D
22:53 < exch> it's a start :p
22:54 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
22:55 -!- temoto [~temoto@93-80-118-12.broadband.corbina.ru] has joined #go-nuts
22:59 < angasule> echo also works
22:59 < angasule> now let's try to write Doom 4
23:00 -!- thiago [~thiago@189.107.145.115] has joined #go-nuts
23:00 -!- trustin [~trustin@redhat/jboss/trustin] has joined #go-nuts
23:04 -!- temoto [~temoto@93-80-118-12.broadband.corbina.ru] has quit [Read error:
Operation timed out]
23:08 < angasule> I don't suppose the arm version works on the N810?  I see
mention of the N900 only
23:15 -!- Guest50677 [~thiago@189.107.145.115] has quit [Quit: bye]
23:25 < angasule> the indent file is really handy
23:27 -!- GeoBSD [~geobsd@lns-bzn-61-82-250-68-124.adsl.proxad.net] has quit
[Quit: Lost terminal]
23:29 -!- photron [~photron@port-92-201-122-104.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
23:32 -!- ExtraSpice [~ExtraSpic@88.118.32.225] has quit [Ping timeout: 240
seconds]
23:48 -!- yashi [~yashi@dns1.atmark-techno.com] has quit [Ping timeout: 240
seconds]
23:50 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has quit
[Remote host closed the connection]
23:50 -!- ender2070 [~ender2070@bas22-toronto12-2925103372.dsl.bell.ca] has joined
#go-nuts
23:52 -!- f2f [~andrey@S01060013100dbc55.cg.shawcable.net] has joined #go-nuts
23:53 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
23:56 -!- f2f [~andrey@S01060013100dbc55.cg.shawcable.net] has quit [Quit: ta]
23:59 -!- sioraiocht [~tomh@unaffiliated/sioraiocht] has quit [Remote host closed
the connection]
--- Log closed Mon Jul 19 00:00:12 2010