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

--- Log opened Sun Feb 21 00:00:10 2010
--- Day changed Sun Feb 21 2010
00:00 -!- wuehlmaus [~wuehlmaus@p4FCC4B67.dip.t-dialin.net] has joined #go-nuts
00:02 -!- oal_ [~olav@5.79-160-122.customer.lyse.net] has quit [Read error:
Connection reset by peer]
00:20 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
00:26 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has joined
#go-nuts
00:30 -!- mejja [~user@c-49b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has
quit [Remote host closed the connection]
00:37 -!- amacleod [amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Quit:
Bye Bye]
00:47 -!- jbauer_ [~jbauer@adsl-99-69-161-43.dsl.lsan03.sbcglobal.net] has quit
[Remote host closed the connection]
00:53 -!- Associat0r [~Associat0@h163153.upc-h.chello.nl] has quit [Quit:
Associat0r]
00:54 -!- MarkBao [~MarkBao@pool-173-76-27-66.bstnma.fios.verizon.net] has joined
#go-nuts
00:55 -!- fenicks [~christian@log77-4-82-246-228-78.fbx.proxad.net] has joined
#go-nuts
00:55 < fenicks> hello
00:56 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has quit [Ping
timeout: 268 seconds]
00:58 < fenicks> I'm writing a command line tools and wants non-printing
password asked on terminal.  Is it possible to use something like C termio for GO
language ?
01:02 -!- marcuzz [~marcus@host86-153-224-40.range86-153.btcentralplus.com] has
quit [Ping timeout: 245 seconds]
01:03 -!- geocalc [~geobsd@lns-bzn-54-82-251-98-231.adsl.proxad.net] has quit
[Remote host closed the connection]
01:07 < meatmanek>
http://golang.org/doc/go_faq.html#Do_Go_programs_link_with_Cpp_programs
01:08 < meatmanek> I don't know how you'd go about it, though, so don't ask
me
01:18 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has joined
#go-nuts
01:18 -!- Ortzinator [~ortzinato@unaffiliated/ortzinator] has quit [Disconnected
by services]
01:18 -!- Ortzman [~ortzinato@cpe-065-191-006-129.nc.res.rr.com] has left #go-nuts
[]
01:29 < fenicks> how to capture a signal in GO (like trap shell command) ?
01:37 -!- rh275 [~rh275@raptor.ukc.ac.uk] has joined #go-nuts
01:39 -!- rh275 [~rh275@raptor.ukc.ac.uk] has left #go-nuts []
01:40 -!- Boggy-B [~rh275@raptor.ukc.ac.uk] has joined #go-nuts
01:40 < Boggy-B> That was very odd
01:40 < Boggy-B> Wouldn't let me change my nick with this channel open
01:40 < Boggy-B> Hello :D
01:44 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has joined
#go-nuts
01:45 < Boggy-B> Is there any way to replicate something like Occams PRI ALT
in Go? I assume there is but I cant find it
01:54 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has quit
[Quit: WeeChat 0.3.1.1]
02:07 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
02:38 -!- path[l] [UPP@120.138.102.34] has quit [Read error: Connection reset by
peer]
02:40 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
02:44 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
02:54 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 252 seconds]
02:58 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
03:04 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 268 seconds]
03:06 -!- sinuhe [~sinuhe@kaptah.deevans.net] has joined #go-nuts
03:09 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
03:12 -!- sinuhe [~sinuhe@kaptah.deevans.net] has quit [Quit: leaving]
03:12 -!- sinuhe [~sinuhe@kaptah.deevans.net] has joined #go-nuts
03:19 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has joined
#go-nuts
03:45 -!- franksalim [~frank@adsl-75-61-86-190.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
03:57 < jessta> Boggy-B: what is PRI ALT?
04:05 -!- shellrie [~shellrie@216.104.102.97.cfl.res.rr.com] has joined #go-nuts
04:10 -!- wrtp [~rog@89.242.205.202] has quit [Quit: wrtp]
04:16 -!- nighty^ [~nighty@x122091.ppp.asahi-net.or.jp] has quit [Remote host
closed the connection]
04:22 -!- sudi [~chatzilla@dslb-084-056-015-133.pools.arcor-ip.net] has quit
[Quit: ChatZilla 0.9.86 [Firefox 3.5.8/20100214235958]]
04:51 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
04:54 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has joined
#go-nuts
04:55 -!- MarkBao [~MarkBao@pool-173-76-27-66.bstnma.fios.verizon.net] has quit
[Quit: MarkBao]
04:56 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
05:02 -!- droid001 [~g1@p4FDCB8E0.dip.t-dialin.net] has quit [Ping timeout: 248
seconds]
05:07 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 260 seconds]
05:07 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
05:10 -!- zab [~zab@60-240-60-119.tpgi.com.au] has quit [Quit: zab]
05:14 -!- MarkBao [~MarkBao@pool-173-76-27-66.bstnma.fios.verizon.net] has joined
#go-nuts
05:20 -!- gnuvince [~vince@64.235.200.92] has quit [Quit: new wm]
05:20 -!- x-ip [~sakura@unaffiliated/x-ip] has quit [Ping timeout: 248 seconds]
05:22 -!- gnuvince [~vince@64.235.200.92] has joined #go-nuts
05:27 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
05:28 < uriel> 00:58 < fenicks> I'm writing a command line tools and
wants non-printing password asked on terminal.  Is it possible to use something
like C termio for GO language ?
05:29 < uriel> fenicks: search the archives of go-nuts
05:29 < uriel> various options for this have been discussed there
05:29 -!- fgb [~fgb@190.246.85.45] has quit [Read error: Connection reset by peer]
05:31 -!- droid001 [~g1@p4FDCBE46.dip.t-dialin.net] has joined #go-nuts
05:33 -!- stalled [~411@unaffiliated/stalled] has quit [Ping timeout: 260 seconds]
05:33 -!- zab [~zab@60-240-60-119.tpgi.com.au] has joined #go-nuts
05:38 -!- ako [~nya@g228002062.adsl.alicedsl.de] has joined #go-nuts
05:38 -!- stalled [~411@unaffiliated/stalled] has joined #go-nuts
05:41 -!- aho [~nya@f052211231.adsl.alicedsl.de] has quit [Ping timeout: 240
seconds]
05:50 -!- shellrie [~shellrie@216.104.102.97.cfl.res.rr.com] has quit [Quit:
Leaving]
05:54 -!- rhelmer [~rhelmer@adsl-69-107-87-1.dsl.pltn13.pacbell.net] has quit
[Ping timeout: 252 seconds]
05:55 < rsaarelm> Hm. Would like an idiom where I can define a subset from a
fixed value set, like the struct declaration, "type X struct { A, B, C int }; foo
:= X { A: 1, C: 2 }".
05:55 < rsaarelm> The catch being that the zero value is a valid value in
the struct, and I specifically want the system to recognize when a value is left
undefined and do special stuff for that value in that case.
05:56 < rsaarelm> In the default system, there's no way to distinguish X{A:
1, C:2} from X{A:1, B: 0, C: 2} afaik.
05:57 < rsaarelm> I could use maps, but then I'd lose compile-time checking
of the fields.
06:01 < rsaarelm> Actually it can't be done that easily anyway.  I'm doing a
sort of data inheritance scheme, and there are actually two different cases.  I
may want to say "B is undefined, use an earlier value." but also "B has no value
from here on, ignore any earlier values."
06:01 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has quit [Remote host
closed the connection]
06:02 < rsaarelm> (That probably wasn't very comprehendable, sorry.)
06:03 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
06:09 -!- zab [~zab@60-240-60-119.tpgi.com.au] has quit [Quit: zab]
06:26 < meatmanek> will a string in go ever contain a null delimiter?
06:26 < anticw> delimiter no, 0 byte is possible
06:26 < meatmanek> yeah that
06:45 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Remote host closed
the connection]
06:54 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
06:56 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has joined #go-nuts
07:16 -!- gnuvince [~vince@64.235.200.92] has quit [Ping timeout: 252 seconds]
07:17 -!- gnuvince [~vince@72.0.216.197] has joined #go-nuts
07:18 -!- jdp [~justin@nj-67-237-0-171.dhcp.embarqhsd.net] has joined #go-nuts
07:23 -!- jdp [~justin@nj-67-237-0-171.dhcp.embarqhsd.net] has quit [Ping timeout:
256 seconds]
07:25 -!- jdp [~justin@nj-67-237-0-171.dhcp.embarqhsd.net] has joined #go-nuts
07:25 -!- jdp [~justin@nj-67-237-0-171.dhcp.embarqhsd.net] has quit [Client Quit]
07:44 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has quit [Remote host
closed the connection]
07:54 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 248 seconds]
08:03 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:26 -!- nettok [~netto@200.119.153.5] has quit [Quit: Ex-Chat]
08:29 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has quit [Quit:
appamatto]
08:34 -!- idea_squirrel [~ct2rips@77-21-28-13-dynip.superkabel.de] has joined
#go-nuts
09:02 -!- Cyprien__ [Cyprien@199-38.3-85.cust.bluewin.ch] has joined #go-nuts
09:03 -!- ako [~nya@g228002062.adsl.alicedsl.de] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
09:06 -!- Cyprien_ [Cyprien@200-180.3-85.cust.bluewin.ch] has quit [Ping timeout:
245 seconds]
09:13 -!- Kashia [~Kashia@p4FEB5624.dip.t-dialin.net] has joined #go-nuts
09:18 -!- kashia_ [~Kashia@p4FEB549D.dip.t-dialin.net] has joined #go-nuts
09:19 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
09:19 -!- Kashia [~Kashia@p4FEB5624.dip.t-dialin.net] has quit [Ping timeout: 256
seconds]
09:32 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 256 seconds]
09:34 -!- oal [~olav@5.79-160-122.customer.lyse.net] has joined #go-nuts
09:53 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
10:08 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 248 seconds]
10:26 -!- eliteSchaf [~sinz@88-117-16-173.adsl.highway.telekom.at] has joined
#go-nuts
10:26 < eliteSchaf> hey.  is anyone awake?
10:33 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
10:53 < jessta> eliteSchaf: i am
10:54 < eliteSchaf> jessta, hey :) are you experienced with go?  i dont get
the receiver/sender channels, i mean what are they used for
10:54 < eliteSchaf> ?
10:55 < uriel> eliteSchaf: everything?
10:55 < uriel> you might want to read on CSP
10:55 < eliteSchaf> csp?
10:56 < eliteSchaf> effective go just shows, that there are such channels,
but they aren't explained in detail
10:56 < eliteSchaf> so any tutorial/example would be helpful
10:56 < uriel>
http://en.wikipedia.org/wiki/Communicating_sequential_processes
10:57 < uriel> here is an example:
http://doc.cat-v.org/bell_labs/concurrent_window_system/
10:58 < eliteSchaf> thanks
10:59 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has joined #go-nuts
11:01 -!- TaMonKein [~toni@87-95-64-67.bb.dnainternet.fi] has joined #go-nuts
11:09 < eliteSchaf> alright, i know how to use normal channels, but what
about a receiver-channel?
11:12 < uriel> ?
11:12 < uriel> you can send and receive from a channel
11:12 < uriel> if you send down a channel, somebody should read from the
channel
11:18 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has
joined #go-nuts
11:22 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 264 seconds]
11:23 < eliteSchaf> uriel, yeah, but you can also specify channels which can
only receive or send messages
11:25 < meatmanek> I keep getting a sigsegv on this line
11:25 < meatmanek> newEntries[i].Line = be.Line[1:]
11:26 < meatmanek> except newEntries is defined as a slice, and it has
capacity and length 256, and be.Line is the string "a"
11:27 < meatmanek> fmt.Printf("setting newEntries[%d] = %p %p %p %d %d\n",
i, be, be.Line, newEntries, cap(newEntries), len(newEntries)) is the line right
before, and it outputs setting newEntries[0] = 0x74FBC0 %p(string=a) 0x2F8800 256
256
11:28 < meatmanek> oh
11:29 < meatmanek> I should probably initialize newEntries[i], shouldn't
I...
11:33 -!- alkavan [~alkavan@77.126.91.130] has quit [Read error: Connection reset
by peer]
11:33 -!- alkavan [~alkavan@77.126.91.130] has joined #go-nuts
11:35 -!- ct2rips [ct2rips@77-21-28-13-dynip.superkabel.de] has joined #go-nuts
11:36 -!- idea_squirrel [~ct2rips@77-21-28-13-dynip.superkabel.de] has quit [Read
error: Connection reset by peer]
11:38 -!- alkavan [~alkavan@77.126.91.130] has quit [Ping timeout: 246 seconds]
11:38 -!- alkavan [~alkavan@87.68.50.57.cable.012.net.il] has joined #go-nuts
11:44 -!- alkavan_ [~alkavan@87.68.146.110] has joined #go-nuts
11:45 -!- alkavan_ [~alkavan@87.68.146.110] has quit [Read error: Connection reset
by peer]
11:45 -!- Netsplit *.net <-> *.split quits: senneth, merlin83, apexo,
reggna, gnuvince, ni|, tabo
11:46 -!- Netsplit over, joins: tabo
11:46 -!- alkavan [~alkavan@87.68.50.57.cable.012.net.il] has quit [Ping timeout:
265 seconds]
11:47 -!- Netsplit over, joins: senneth
11:47 -!- Netsplit over, joins: apexo
11:49 -!- gnuvince [~vince@72.0.216.197] has joined #go-nuts
11:49 -!- reggna [~reggna@c-5ba372d5.015-28-73746f34.cust.bredbandsbolaget.se] has
joined #go-nuts
11:52 -!- GeoBSD [~geobsd@lns-bzn-54-82-251-98-231.adsl.proxad.net] has joined
#go-nuts
12:00 -!- perdix [~perdix@sxemacs/devel/perdix] has joined #go-nuts
12:02 -!- yatoo [~marcus@host86-153-224-40.range86-153.btcentralplus.com] has
joined #go-nuts
12:09 -!- eliteSchaf [~sinz@88-117-16-173.adsl.highway.telekom.at] has quit [Quit:
Ex-Chat]
12:13 -!- ni| [~james@users.vu.union.edu] has joined #go-nuts
12:14 -!- crashR [~crasher@codextreme.pck.nerim.net] has joined #go-nuts
12:17 -!- wrtp [~rog@89.242.205.202] has joined #go-nuts
12:29 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Quit:
Fraeon]
12:36 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
13:17 < nickjohnson> Is there a go library for reading and writing floating
point values to/from a file?
13:17 < nickjohnson> encoding/binary only handles ints
13:17 < uriel> shouldn't gobs work for that?
13:20 < uriel> (or json if you don't mind the overhead)
13:24 < nickjohnson> Not if I just want to encode an IEEE float.  :)
13:24 -!- merlin83 [~merlin83@cm18.delta246.maxonline.com.sg] has joined #go-nuts
13:25 -!- merlin83 [~merlin83@cm18.delta246.maxonline.com.sg] has quit [Changing
host]
13:25 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts
13:34 -!- unaware [~admin@mon75-21-78-232-93-62.fbx.proxad.net] has joined
#go-nuts
13:36 -!- ilsanto [~max@ns2.istitutolanteri.it] has quit [Changing host]
13:36 -!- ilsanto [~max@unaffiliated/ilsanto] has joined #go-nuts
13:40 -!- unaware [~admin@mon75-21-78-232-93-62.fbx.proxad.net] has left #go-nuts
[]
13:49 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
13:55 -!- perdix [~perdix@sxemacs/devel/perdix] has quit [Quit: A cow.  A
trampoline.  Together they fight crime!]
13:58 -!- amacleod [amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has joined
#go-nuts
14:04 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
14:07 < rsaarelm> nickjohnson: I answered this yesterday, based on the
source, encoding/binary seems to have IEEE float encoding as an undocumented
feature.
14:08 < TaMonKein> quick question, how i can get input form user in console
with Go?
14:11 < uriel> TaMonKein: os.Stdin
14:12 < rsaarelm> To read one line of input, "in :=
bufio.NewReader(os.Stdin); result, err := in.ReadString('\n')"
14:22 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
14:23 -!- lambda [~de47ccf0@gateway/web/freenode/x-hztlybzqffyeawub] has joined
#go-nuts
14:24 < TaMonKein> uriel thanks
14:25 < TaMonKein> rsaarelm thanks too.
14:33 < TaMonKein> Hmm..  Good yes, just that i need to read integer.  :P
14:37 -!- SRabbelier [~SRabbelie@ip138-114-211-87.adsl2.static.versatel.nl] has
joined #go-nuts
14:42 -!- olekpl [~olekpl@188-222-118-110.zone13.bethere.co.uk] has joined
#go-nuts
14:43 -!- olekpl [~olekpl@188-222-118-110.zone13.bethere.co.uk] has quit [Client
Quit]
14:44 < rsaarelm> TaMonKein: Look into package strconv.
14:45 < TaMonKein> Kiitos.
14:48 -!- lambda [~de47ccf0@gateway/web/freenode/x-hztlybzqffyeawub] has quit
[Quit: Page closed]
14:48 -!- lambda [~de47ccf0@gateway/web/freenode/x-amwnusclrjxrmlnp] has joined
#go-nuts
14:52 -!- lambda [~de47ccf0@gateway/web/freenode/x-amwnusclrjxrmlnp] has quit
[Client Quit]
14:59 < TaMonKein> Go requires me to use every variable i declare?
15:10 < rsaarelm> Yep.
15:10 < rsaarelm> And every import.
15:12 < jA_cOp> Unless the variable is _
15:12 < jA_cOp> afaik
15:13 < rsaarelm> That's not really a variable.  Just a marker to ignore
that part of the assignment.
15:14 < rsaarelm> But that's exactly for the case where you don't want to
use a part of a multi-returnvalue expression.
15:22 -!- kanru [~kanru@61-228-147-200.dynamic.hinet.net] has quit [Quit: WeeChat
0.3.1.1]
15:31 -!- aflash [~jontore@62.101.223.78] has joined #go-nuts
15:44 < TaMonKein> Hmm.  What i'm doing wrong?  It does not convert the
value correctly
15:44 < TaMonKein> http://codepad.org/LrygxP89
15:46 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7c2b:454:6429:86c4] has joined
#go-nuts
15:46 -!- alkavan [~alkavan@77.126.235.218] has joined #go-nuts
16:01 < TaMonKein> rsaarelm, what i'm doing wrong?
http://codepad.org/LrygxP89 it does not convert the string to int correctly
16:07 < jessta> TaMonKein: you shouldn't ignore the errors
16:07 < jessta> if you check the error returns and print the error, you'd
have a better idea of what's wrong
16:07 < TaMonKein> i've checked them
16:08 < TaMonKein> and that is why i know the result has something wrong
16:08 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has joined
#go-nuts
16:08 < TaMonKein> it does not convert the result to int for some reason.
16:11 < TaMonKein> error of strconv.Atoi(): parsing 25
16:11 < TaMonKein> : invalid argument
16:11 < TaMonKein> in.ReadString does not give error
16:14 < sladegen> TaMonKein: perhaps you need to remove \n from the
string...
16:14 < TaMonKein> yeah i've tought that, but how.  :P
16:15 * sladegen shrugs: i'm only idling here, you do the work.
16:15 < TaMonKein> :P
16:27 -!- Xeon [~chatzilla@118.126.12.53] has joined #go-nuts
16:28 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
16:29 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
16:32 < TaMonKein> Why console input must be so annoying compared to c++
16:36 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has joined #go-nuts
16:36 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has quit [Changing
host]
16:36 -!- KillerX [~anant@gentoo/developer/KillerX] has joined #go-nuts
16:42 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:7c2b:454:6429:86c4] has quit
[Quit: Leaving.]
16:43 -!- exch_ [~nuada@h144170.upc-h.chello.nl] has joined #go-nuts
16:44 < rsaarelm> TaMonKein: Yeah, remove the \n.  strings.TrimSpace.
16:46 -!- exch [~nuada@h144170.upc-h.chello.nl] has quit [Ping timeout: 260
seconds]
16:47 < rsaarelm> Also the scanner package is probably worth a look if you
want quick and dirty parsing of input strings.
16:51 -!- user___ [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has joined
#go-nuts
16:54 < TaMonKein> rsaarelm, its just that i'm too used to std::cin >>
variable;
16:54 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
16:57 < TaMonKein> rsaarelm, your awesome.  Thanks :P
16:57 < TaMonKein> it works now.
16:58 -!- alkavan [~alkavan@77.126.235.218] has quit [Quit: Leaving]
16:59 -!- sinuhe [~sinuhe@kaptah.deevans.net] has quit [Quit: leaving]
17:01 -!- exch_ [~nuada@h144170.upc-h.chello.nl] has left #go-nuts []
17:08 -!- user___ [~user@pool-74-105-215-60.nwrknj.fios.verizon.net] has left
#go-nuts []
17:10 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has
joined #go-nuts
17:11 * Project_2501 hu o.o
17:13 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has joined
#go-nuts
17:17 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
17:18 -!- ni| [~james@users.vu.union.edu] has quit [Quit: leaving]
17:24 < Boggy-B> okay, this could be a really stupid question, i apologise,
but can alternative guarding be done in go?
17:24 < Boggy-B> such as, you have a process with two channels, and you want
to have the input from one channel take priotiry over the other
17:24 < Boggy-B> in occam it's PRI ALT
17:32 -!- ni| [~james@dontpanic.union.edu] has joined #go-nuts
17:32 < ni|> hello :)
17:42 < TaMonKein> I need some opinions on this -> http://tr.im/Pc9S
17:48 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
17:51 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has joined
#go-nuts
17:53 < rsaarelm> Maybe tell a bit about the default Makefiles to build
stuff so people don't have to stick with the clumsy 6g && 6l stuff.
17:54 < TaMonKein> rsaarelm, good idea.  :P
17:55 < rsaarelm> Links to the Tutorial and Effective Go docs at the golang
site would probably also be nice.
17:56 < rsaarelm> And a link to the package reference page and some examples
about figuring out how to use package to do something useful.
17:56 < TaMonKein> yeah, the tutorial booky is not finished yet.
17:58 < rsaarelm> Oh, and you'll want to explain stdin and stdout.  Newbies
need to be taught about the "everything is a file" idea in Unix, and how you can
read from file or from the console and output into a file or to the console with
the same stdin/stdout channels.
17:58 < rsaarelm> And of course some toy file examples in general.
17:58 < rsaarelm> But going afk now.
17:59 -!- crakrjak [~merc@rrcs-70-62-156-154.central.biz.rr.com] has quit [Remote
host closed the connection]
18:07 -!- tux21b [~christoph@90.146.60.30] has quit [Ping timeout: 264 seconds]
18:10 -!- tux21b [~christoph@90.146.60.30] has joined #go-nuts
18:20 -!- x-ip [~sakura@unaffiliated/x-ip] has joined #go-nuts
18:22 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-171-141.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
18:23 -!- ericvh [~ericvh@cpe-70-113-78-14.austin.res.rr.com] has joined #go-nuts
18:24 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has quit [Quit: Leaving]
18:31 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
18:38 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit: Leaving]
18:38 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has joined #go-nuts
18:46 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
18:46 -!- nettok [~netto@200.119.151.4] has joined #go-nuts
18:53 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
19:00 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
19:07 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
19:07 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
19:12 -!- keeto_ [~keeto@121.54.92.149] has joined #go-nuts
19:12 -!- keeto [~keeto@121.54.92.149] has quit [Read error: No route to host]
19:16 < plexdev> http://is.gd/8SBai by [Russ Cox] in go/src/cmd/gc/ -- gc:
minor const simplifications
19:19 -!- kashia_ [~Kashia@p4FEB549D.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
19:26 -!- KillerX [~anant@gentoo/developer/KillerX] has quit [Quit: Leaving.]
19:26 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has joined #go-nuts
19:26 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has quit [Changing
host]
19:26 -!- KillerX [~anant@gentoo/developer/KillerX] has joined #go-nuts
19:29 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has quit [Ping timeout: 272
seconds]
19:43 -!- monty_hall [~sprague_r@adsl-75-51-110-82.dsl.sgnwmi.sbcglobal.net] has
joined #go-nuts
19:43 -!- appamatto [~anonymous@softbank219056232109.bbtec.net] has quit [Quit:
appamatto]
19:46 -!- ollins [~ollins@84-73-206-133.dclient.hispeed.ch] has quit [Remote host
closed the connection]
19:50 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
19:57 -!- leonod [~Andreas@zreahese.hus.sgsnet.se] has joined #go-nuts
19:58 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
20:00 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Client
Quit]
20:01 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
20:04 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
20:09 -!- emghazal [~emghazal@95.84.72.151] has joined #go-nuts
20:11 -!- emghazal [~emghazal@95.84.72.151] has left #go-nuts []
20:14 -!- fgb [~fgb@190.246.85.45] has quit [Read error: Connection reset by peer]
20:15 < uriel> TaMonKein: shameless plug: you might want to link to
http://go-lang.cat-v.org for people looking for extra libraries, bindings, tools,
etc.
20:16 < uriel> also, I'm not sure if it is my screen or what, but the code
examples in that page look too close to ComicSans for comfort
20:16 < uriel> so I would strongly recommend using a different font
20:19 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
20:21 -!- mbarkhau [~koloss@p54A7FEBB.dip.t-dialin.net] has joined #go-nuts
20:25 -!- gnuvince [~vince@72.0.216.197] has quit [Quit: What the fruit is goin'
on here!?]
20:30 -!- x-ip [~sakura@unaffiliated/x-ip] has quit [Quit: Leaving]
20:38 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
20:47 -!- fgb [~fgb@190.246.85.45] has joined #go-nuts
20:49 -!- nanooo [~nano@95-89-189-202-dynip.superkabel.de] has joined #go-nuts
20:52 -!- rrr [debian-tor@gateway/tor-sasl/rrr] has joined #go-nuts
20:52 -!- nanoo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Ping timeout:
246 seconds]
20:54 -!- ni| [~james@dontpanic.union.edu] has quit [Quit: leaving]
20:55 -!- oal [~olav@5.79-160-122.customer.lyse.net] has quit [Remote host closed
the connection]
21:01 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
21:02 < TaMonKein> Uriel, i can change the font and the font is comic sans
21:02 < TaMonKein> and including link for cat-v is good idea.
21:06 -!- Kashia [~Kashia@port-92-200-133-127.dynamic.qsc.de] has joined #go-nuts
21:07 -!- geocalc [~geobsd@lns-bzn-37-82-253-45-68.adsl.proxad.net] has joined
#go-nuts
21:09 -!- amacleod [amacleod@c-75-69-45-62.hsd1.ma.comcast.net] has quit [Quit:
Bye Bye]
21:10 -!- GeoBSD [~geobsd@lns-bzn-54-82-251-98-231.adsl.proxad.net] has quit [Ping
timeout: 252 seconds]
21:12 -!- fgb [~fgb@190.246.85.45] has quit [Read error: Connection reset by peer]
21:14 < uriel> TaMonKein: cool, thanks :)
21:19 -!- nanooo [~nano@95-89-189-202-dynip.superkabel.de] has quit [Quit:
Leaving]
21:30 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit [Ping
timeout: 256 seconds]
21:35 -!- Demp [~Demp@109.64.27.44] has quit [Remote host closed the connection]
21:36 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
21:36 -!- Demp [~Demp@109.64.27.44] has joined #go-nuts
21:39 -!- Demp [~Demp@109.64.27.44] has quit [Read error: Connection reset by
peer]
21:40 -!- Demp [~Demp@109.64.27.44] has joined #go-nuts
21:57 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has joined
#go-nuts
22:08 -!- ct2rips [ct2rips@77-21-28-13-dynip.superkabel.de] has quit [Quit: what
would a pirate do?]
22:08 -!- aho [~nya@g228002062.adsl.alicedsl.de] has joined #go-nuts
22:11 -!- scm [justme@d019148.adsl.hansenet.de] has quit [Ping timeout: 276
seconds]
22:12 -!- scm [justme@c136105.adsl.hansenet.de] has joined #go-nuts
22:18 -!- gnuvince [~vince@72.0.221.19] has joined #go-nuts
22:18 -!- sinuhe [~sinuhe@kaptah.deevans.net] has joined #go-nuts
22:30 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Read error: Operation
timed out]
22:37 < uriel> nice article:
http://rogpeppe.wordpress.com/2010/02/10/unlimited-buffering-with-low-overhead/
22:39 -!- powerje [~powerje@2002:4b3c:d6ac:0:213:e8ff:feaa:ae2b] has quit [Quit:
exit]
22:39 -!- skelterjohn [~jasmuth@c-76-124-22-198.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn]
22:48 -!- wrtp [~rog@89.242.205.202] has quit [Quit: wrtp]
22:49 -!- ShadowIce [pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
23:04 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has joined #go-nuts
23:06 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
23:09 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 252
seconds]
23:10 -!- andrewh [~andrewh@94-194-56-42.zone8.bethere.co.uk] has joined #go-nuts
23:11 -!- Innominate [~sirrobin@cpe-069-134-170-056.nc.res.rr.com] has quit
[Remote host closed the connection]
23:11 -!- Innominate [~sirrobin@cpe-069-134-170-056.nc.res.rr.com] has joined
#go-nuts
23:14 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has joined #go-nuts
23:18 -!- jajamana [~jcb@cm-84.215.40.160.getinternet.no] has quit [Quit: This
computer has gone to sleep]
23:18 -!- General1337 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has joined
#go-nuts
23:22 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
23:22 -!- General13372 [~support@71-84-247-187.dhcp.gldl.ca.charter.com] has quit
[Ping timeout: 265 seconds]
23:23 -!- sinuhe [~sinuhe@kaptah.deevans.net] has quit [Ping timeout: 264 seconds]
23:25 -!- sinuhe [~sinuhe@kaptah.deevans.net] has joined #go-nuts
23:29 -!- nettok_ [~netto@200.119.151.3] has joined #go-nuts
23:31 -!- nettok [~netto@200.119.151.4] has quit [Disconnected by services]
23:32 -!- nettok_ [~netto@200.119.151.3] has quit [Client Quit]
23:33 -!- nettok [~netto@200.119.151.3] has joined #go-nuts
23:40 -!- geocalc [~geobsd@lns-bzn-37-82-253-45-68.adsl.proxad.net] has quit
[Remote host closed the connection]
23:44 -!- OpenSpace [~ja@79.101.235.63] has quit [Quit: Leaving]
23:48 -!- OpenSpace [~ja@109.93.131.178] has joined #go-nuts
23:53 -!- itrekkie [~itrekkie@ip72-200-104-177.tc.ph.cox.net] has quit [Quit:
itrekkie]
23:54 -!- KillerX [~anant@gentoo/developer/KillerX] has quit [Quit: Leaving.]
23:58 -!- MarkBao [~MarkBao@pool-173-76-27-66.bstnma.fios.verizon.net] has quit
[Ping timeout: 256 seconds]
23:58 -!- wuehlmaus [~wuehlmaus@p4FCC4B67.dip.t-dialin.net] has quit [Ping
timeout: 240 seconds]
23:59 -!- wuehlmaus [~wuehlmaus@p4FCC5A3B.dip.t-dialin.net] has joined #go-nuts
--- Log closed Mon Feb 22 00:00:13 2010