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

--- Log opened Mon Mar 29 00:00:38 2010
00:02 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 252 seconds]
00:03 < smw> jshipley: I already made one
http://code.google.com/p/goconf/source/browse/
00:04 < smw> that one works.  So you can import "goconf.googlecode.com/hg"
and it should work
00:15 -!- skelterjohn_ [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has quit
[Quit: skelterjohn_]
00:16 -!- gnuvince_ [~vince@70.35.162.234] has joined #go-nuts
00:17 -!- Fraeon_ [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
00:19 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Ping
timeout: 260 seconds]
00:22 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts
[]
00:22 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
00:23 -!- chromed [chrome@mars.stupendous.net] has left #go-nuts []
00:24 -!- chrome [chrome@mars.stupendous.net] has joined #go-nuts
00:38 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
00:41 -!- rhelmer [~rhelmer@adsl-69-107-68-251.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
00:41 -!- nettok_ [~netto@200.119.150.102] has quit [Ping timeout: 258 seconds]
00:43 -!- rhelmer [~rhelmer@adsl-69-107-68-251.dsl.pltn13.pacbell.net] has joined
#go-nuts
00:45 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 240 seconds]
00:49 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
00:54 -!- dju [dju@89-158-252-87.rev.dartybox.com] has joined #go-nuts
00:56 < kmeyer> for a Read() method on a new io.Reader() implementation,
should I use the entire slice (i.e.  b[0:cap(b)]) or whatever its length is?
00:57 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
01:05 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.1.1]
01:07 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has joined #go-nuts
01:07 < smw> kmeyer: on a slice, you should always read it by it's length
and not capacity.
01:08 < kmeyer> any reason?
01:08 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has joined #go-nuts
01:09 < smw> yeah, the whole point of the length is so that you know what
part of the slice is used.
01:09 < smw> it is assumed that anything outside of the length does not
exist and has no information
01:09 < smw> isn't that the point of a slice?
01:11 < smw> kmeyer: do you agree?
01:11 < kmeyer> sure, but the point of a reader is to put information into
the slice
01:12 < kmeyer> the reader (by the description in io.Reader) should be
assumed to trash the entire slice
01:12 < smw> oh lol
01:12 < smw> yeah
01:12 < kmeyer> so, is entire slice cap() or len()?  :P
01:12 < kmeyer> I guess that's my question
01:12 < smw> len
01:12 < kmeyer> fair enough :)
01:13 < kmeyer> if rsc yells at me, I blame you
01:13 < kmeyer> ;)
01:13 < smw> lol
01:14 < smw> The other std libs use len
01:14 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
01:15 < kmeyer> alright
01:17 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts
01:17 -!- meanburrito920 [~john@192.5.109.49] has quit [Changing host]
01:17 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
01:23 -!- boscop_ [~boscop@g226225195.adsl.alicedsl.de] has joined #go-nuts
01:24 -!- boscop [~boscop@g225218094.adsl.alicedsl.de] has quit [Disconnected by
services]
01:24 -!- boscop_ [~boscop@g226225195.adsl.alicedsl.de] has left #go-nuts []
01:25 -!- boscop [~boscop@g226225195.adsl.alicedsl.de] has joined #go-nuts
01:30 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Remote host closed the connection]
01:32 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Read error:
Operation timed out]
01:34 -!- meanburrito920 [~john@v129-22-126-92.VCLIENT.CWRU.Edu] has joined
#go-nuts
01:34 -!- meanburrito920 [~john@v129-22-126-92.VCLIENT.CWRU.Edu] has quit
[Changing host]
01:35 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
01:38 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit:
g0bl1n]
01:49 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has joined #go-nuts
01:52 -!- nettok_ [~netto@200.119.150.102] has joined #go-nuts
01:55 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has joined #go-nuts
01:55 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 258 seconds]
01:57 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
01:59 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
01:59 < exch> uriel: http://github.com/jteeuwen/go-pkg-usb
01:59 < exch> i'm on a roll :p
01:59 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
02:01 -!- nettok_ [~netto@200.119.150.102] has quit [Ping timeout: 258 seconds]
02:01 < uriel> exch: haha
02:01 < uriel> exch: haha
02:01 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has joined #go-nuts
02:02 < uriel> exch: less bindings, more pure Go libs ;)
02:02 < exch> hehe but this is easier :)
02:02 < smw> uriel: I wish http://godashboard.appspot.com/package
differenciated that.
02:03 -!- nettok_ [~netto@200.119.150.102] has joined #go-nuts
02:03 < smw> differentiated*
02:03 < uriel> smw: I have some plans in mind to remedy that, but been too
busy with real-world-crap, barely had time to keep updating
http://go-lang.cat-v.org
02:04 < smw> uriel: you run it?  can you add my lib to it?
02:04 < smw> uriel: http://code.google.com/p/goconf/
02:04 < smw> It is a fork of goconfig that actually compiles
02:04 < smw> I also added a few more features :-)
02:05 < uriel> smw: I mostly maintain all of cat-v.org
02:05 < uriel> I don't have anything to do with godashboard, but plan to
submit some patches when I get a chance
02:05 < smw> no
02:05 < smw> I mean can you add my lib to the cat-v pure libs page
02:06 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 240 seconds]
02:06 < uriel> yea, one sec
02:06 < uriel> smw: is goconfig deprecated?
02:06 < smw> I think so.  It no longer compiles.
02:07 < smw> It has not been updated since nov-2009
02:07 < smw> and that means it is ancient :-P
02:07 < uriel> hehe, indeed
02:08 < smw> uriel: also, the godashboard page is generated automatically
based on how many times people use goinstall on it.
02:08 -!- ako [~nya@g227028137.adsl.alicedsl.de] has joined #go-nuts
02:08 < uriel> smw: yea, I know that ;)
02:08 < uriel> smw: what is your name so I can add you as author?
02:08 < smw> Stephen Weinberg
02:09 < uriel> ok, done
02:09 < smw> thanks :-)
02:10 < uriel> exch: how well does go-install work for packages that use
cgo?
02:10 -!- aho [~nya@e179183216.adsl.alicedsl.de] has quit [Ping timeout: 246
seconds]
02:11 < exch> no clue.  I haven't used it yet
02:12 < uriel> exch: added your libusb bindings
02:12 < exch> k thanks
02:17 < plexdev> http://is.gd/b4pq7 by [Andrew Gerrand] in go/doc/ -- spec:
typo in switch sample code, missing semicolon
02:17 < plexdev> http://is.gd/b4pqe by [Andrew Gerrand] in
go/src/pkg/crypto/rsa/ -- comment typo in crypto/rsa/rsa.go
02:17 < uriel> exch: if it is not a national security secret, what are you
building?  ;)
02:18 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
02:19 -!- Adys [~Adys@unaffiliated/adys] has quit [Remote host closed the
connection]
02:20 -!- nettok_ [~netto@200.119.150.102] has quit [Ping timeout: 246 seconds]
02:24 < exch> nothing in particular really.  After the mp3 thing I got a
taste for making bindings :p So i'm just trolling sourceforge for stuff that may
(or may not) be useful :p
02:24 < smw> uriel: are you going to remove goconfig from the page?
02:24 < uriel> exch: you really expect us to believe that ;P
02:24 < exch> hehe you don't have to, but it's truth :)
02:24 < uriel> exch: confes, you work for apple and you are rewrriting
iTunes in Go!
02:25 < exch> haha yes.  I confess.  Dammit, how did you know?  :p
02:25 < uriel> smw: not for now, I might add a note about it being
outdated...  I usually don't like to remove things unless the author asks for it
02:25 < smw> ok
02:25 < smw> at least say it does not compile with the latest release
02:25 < uriel> exch: I could feel the the power of the
Jobsian-distortion-field
02:26 < uriel> ;P
02:26 < exch> hehe :p
02:26 -!- thakis_ [~thakis@216.239.45.130] has joined #go-nuts
02:26 < uriel> smw: many packages don't compile with the latest release
unfortunately, so it would be a bit misleading to start marking some when I have
not tested them all
02:26 < smw> ok
02:26 < uriel> smw: but certainly I should probalby add a note to that
effect
02:26 < uriel> also some system to automatically build-test all known
packages might be good
02:27 < smw> that sounds cool
02:27 < exch> Anyone whos busy with go right now will know that many
packages/apps have a distinct chance of not working in the latest go builds :)
02:27 < smw> lol
02:27 < uriel> exch: exactly
02:29 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has quit [Ping
timeout: 264 seconds]
02:29 < smw> uriel: how hard would it be to make a build system like that?
02:29 < uriel> exch: I partially plagiarized your comment in a note in
go-lang.cat-v.org
02:29 < uriel> smw: I have no idea, haven't tried ;)
02:30 < kmeyer> smw: how much do you care about the build machine / vm ?
02:30 * smw is thinking he needs to create tests for his library
02:30 < smw> kmeyer: what?
02:31 < kmeyer> oh, I was thinking you were talking about some sort of
redlight/greenlight status page for all of goinstall or simiarl
02:31 < kmeyer> similar*
02:31 < smw> exactly
02:31 < smw> we need that :-)
02:32 < kmeyer> it needs to be built with much caution :)
02:32 < smw> yeah
02:32 < smw> I could dig up a junker
02:34 < smw> or just get a linode
02:37 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
02:38 -!- nettok_ [~netto@200.119.150.102] has joined #go-nuts
02:40 -!- wells_kevin [~wells_kev@116.199.211.63] has joined #go-nuts
02:40 -!- iamcarbon [~Adium@c-24-12-55-87.hsd1.il.comcast.net] has joined #go-nuts
02:41 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has quit [Quit: leaving]
02:43 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
02:46 -!- usausa [~usa@pool-71-116-81-237.snfcca.dsl-w.verizon.net] has quit [Ping
timeout: 265 seconds]
02:53 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 258 seconds]
02:56 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
03:03 -!- thakis_ [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has joined
#go-nuts
03:04 -!- smw_ [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has joined
#go-nuts
03:04 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Quit: Konversation terminated!]
03:07 -!- thakis [~thakis@216.239.45.130] has quit [Ping timeout: 265 seconds]
03:12 -!- haji [~Endymion@187.156.12.157] has joined #go-nuts
03:16 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has joined
#go-nuts
03:18 -!- wells_kevin [~wells_kev@116.199.211.63] has left #go-nuts []
03:28 -!- jshipley [~jshipley@174-23-125-69.slkc.qwest.net] has quit [Quit:
leaving]
03:29 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has quit [Ping timeout: 276
seconds]
03:40 -!- haji [~Endymion@187.156.12.157] has quit [Ping timeout: 252 seconds]
03:41 -!- usausa [~usa@pool-71-116-81-237.snfcca.dsl-w.verizon.net] has joined
#go-nuts
03:43 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has joined #go-nuts
03:44 -!- gr1b [~gr1b@c-98-235-184-236.hsd1.pa.comcast.net] has quit [Ping
timeout: 276 seconds]
03:46 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Read
error: Connection reset by peer]
03:46 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
Leaving]
03:47 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
03:47 -!- mode/#go-nuts [+v iant] by ChanServ
03:48 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu]
03:50 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
03:50 -!- gr1b [~gr1b@c-98-235-184-236.hsd1.pa.comcast.net] has joined #go-nuts
03:58 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit:
g0bl1n]
04:03 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
04:11 -!- ayo [~nya@f050203121.adsl.alicedsl.de] has joined #go-nuts
04:12 -!- ayo [~nya@f050203121.adsl.alicedsl.de] has quit [Client Quit]
04:15 -!- ako [~nya@g227028137.adsl.alicedsl.de] has quit [Ping timeout: 264
seconds]
04:18 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
04:21 -!- nettok_ [~netto@200.119.150.102] has quit [Ping timeout: 248 seconds]
04:22 -!- timepilot [~timepilot@c-24-91-16-174.hsd1.ma.comcast.net] has quit
[Quit: Leaving]
04:37 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
04:40 -!- itrekkie [~itrekkie@ip98-165-246-56.ph.ph.cox.net] has quit [Quit:
itrekkie]
04:53 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has joined #go-nuts
05:06 -!- kssreeram [~kssreeram@122.174.136.32] has quit [Quit: kssreeram]
05:07 -!- robot12 [~robot12@szhilkin.broker.freenet6.net] has quit [Read error:
Operation timed out]
05:10 -!- robot12 [~robot12@robot12.kgts.ru] has joined #go-nuts
05:11 -!- robot12 [~robot12@robot12.kgts.ru] has left #go-nuts []
05:22 -!- dju [dju@89-158-252-87.rev.dartybox.com] has quit [Ping timeout: 264
seconds]
05:25 -!- WikiUser34 [~wikichat@70-57-131-179.albq.qwest.net] has joined #go-nuts
05:26 -!- WikiUser34 [~wikichat@70-57-131-179.albq.qwest.net] has quit [Client
Quit]
05:26 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 246 seconds]
05:29 -!- dju [dju@89-158-252-87.rev.dartybox.com] has joined #go-nuts
05:34 < plexdev> http://is.gd/b4DaK by [Andrew Gerrand] in go/src/pkg/big/
-- comment typos
05:41 -!- Kashia [~Kashia@port-92-200-105-49.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
05:46 -!- Kashia [~Kashia@port-92-200-105-49.dynamic.qsc.de] has joined #go-nuts
05:47 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
06:01 -!- nettok_ [~netto@200.119.150.102] has joined #go-nuts
06:05 -!- Netsplit *.net <-> *.split quits: ukai, nettok__, loglaunch,
zeroXten_, pvandusen, xorl, meanburrito920, weechat2, borisc, anticw, (+36 more,
use /NETSPLIT to show all of them)
06:05 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
06:06 -!- Netsplit over, joins: ukai
06:08 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 258 seconds]
06:09 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
06:10 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
06:10 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Client
Quit]
06:15 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
06:18 -!- nettok_ [~netto@200.119.150.102] has quit [Ping timeout: 252 seconds]
06:22 -!- wrtp [~rog@89.242.175.228] has joined #go-nuts
06:22 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts
06:23 -!- Kashia [~Kashia@port-92-200-105-49.dynamic.qsc.de] has joined #go-nuts
06:23 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
06:23 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
06:23 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has joined #go-nuts
06:23 -!- nf [~nf@124-171-20-22.dyn.iinet.net.au] has joined #go-nuts
06:23 -!- jimki_ [jmaki@sisapiiri.net] has joined #go-nuts
06:23 -!- mitsuhiko [~mitsuhiko@ubuntu/member/mitsuhiko] has joined #go-nuts
06:23 -!- felipe [~felipe@my.nada.kth.se] has joined #go-nuts
06:23 -!- fluf^arr [~camelid@s.pl0rt.org] has joined #go-nuts
06:23 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts
06:23 -!- plexdev [~plexdev@arthur.espians.com] has joined #go-nuts
06:23 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
06:23 -!- evilhackerdude [~stephan@78.46.203.42] has joined #go-nuts
06:23 -!- JimmyRcom [~jimmy@adsl-75-53-46-62.dsl.rcsntx.sbcglobal.net] has joined
#go-nuts
06:23 -!- borisc [~borisc@borisc2.csbnet.se] has joined #go-nuts
06:23 -!- apexo [~apexo@daedalus.isaco.de] has joined #go-nuts
06:23 -!- impl [impl@atheme/member/impl] has joined #go-nuts
06:23 -!- ndrry [~drry@unaffiliated/drry] has joined #go-nuts
06:23 -!- mfoemmel [~mfoemmel@chml01.drwholdings.com] has joined #go-nuts
06:23 -!- \toothrot [~mux@71-11-228-206.dhcp.ftwo.tx.charter.com] has joined
#go-nuts
06:23 -!- zeroXten_ [~zeroXten@0x10.co.uk] has joined #go-nuts
06:23 -!- pvandusen [~pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
06:23 -!- no_mind [~orion@122.173.228.1] has joined #go-nuts
06:23 -!- kuroneko [~chris@yayoi.xware.cx] has joined #go-nuts
06:23 -!- Guest1752 [~itorres@gandi.bedynamic.net] has joined #go-nuts
06:23 -!- [Pete_27] [~noname@115-64-1-61.static.tpgi.com.au] has joined #go-nuts
06:23 -!- weechat2 [~weechat@quepasa.solcon.nl] has joined #go-nuts
06:23 -!- analogue [~analogue@toulouse.jfg-networks.net] has joined #go-nuts
06:23 -!- Fish-- [~Fish@86.65.182.207] has joined #go-nuts
06:23 -!- hotspants [vhellman@melkki.cs.helsinki.fi] has joined #go-nuts
06:23 -!- kfx [~kfx@unaffiliated/kfx] has joined #go-nuts
06:23 -!- maht [~maht__@85.189.31.174.proweb.managedbroadband.co.uk] has joined
#go-nuts
06:23 -!- clip9 [tj@12.81-166-62.customer.lyse.net] has joined #go-nuts
06:23 -!- xorl [~xorl@eon.slack.in] has joined #go-nuts
06:23 -!- alexbobp [~alex@66.112.249.238] has joined #go-nuts
06:23 -!- loglaunch [~joe5ie@minerva.redbrick.dcu.ie] has joined #go-nuts
06:23 -!- pct [~pct@deep.tw] has joined #go-nuts
06:23 -!- fuzzybyte [~fuzzybyte@a47.org] has joined #go-nuts
06:23 -!- anticw [~anticw@c-67-169-41-113.hsd1.ca.comcast.net] has joined #go-nuts
06:23 -!- soul9 [~none@unaffiliated/johnnybuoy] has joined #go-nuts
06:23 -!- zimbatm [zimbatm@stan.oree.ch] has joined #go-nuts
06:23 -!- Fingerzam [fingerzam@xob.kapsi.fi] has joined #go-nuts
06:23 -!- XenoPhoenix
[dfb22abb08@cpc5-aztw24-2-0-cust39.aztw.cable.virginmedia.com] has joined #go-nuts
06:23 -!- Paradox924X [~Paradox92@vaserv/irc/founder] has joined #go-nuts
06:23 -!- ServerMode/#go-nuts [+v iant] by bartol.freenode.net
06:28 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
06:32 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 246 seconds]
06:34 -!- Mechanobot [~user@p578F94C3.dip.t-dialin.net] has joined #go-nuts
06:34 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 248 seconds]
06:36 -!- Mechanobot [~user@p578F94C3.dip.t-dialin.net] has left #go-nuts []
06:41 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts
06:41 -!- meanburrito920 [~john@192.5.109.49] has quit [Changing host]
06:41 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
06:48 -!- nettok__ [~netto@200.119.150.102] has joined #go-nuts
06:49 -!- rlab [~Miranda@164-217-113-92.pool.ukrtel.net] has joined #go-nuts
06:52 -!- nettok_ [~netto@200.119.150.106] has joined #go-nuts
06:55 -!- nettok__ [~netto@200.119.150.102] has quit [Ping timeout: 240 seconds]
07:03 -!- SecretAgent [sa@quake.nitemare.name] has joined #go-nuts
07:09 -!- Xurix [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has joined
#go-nuts
07:10 -!- nettok_ [~netto@200.119.150.106] has quit [Ping timeout: 260 seconds]
07:11 -!- An_Knight [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has
quit [Ping timeout: 246 seconds]
07:21 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
07:26 -!- Kashia [~Kashia@port-92-200-105-49.dynamic.qsc.de] has quit [Quit: This
computer has gone to sleep]
07:27 -!- nocturnal [~nocturnal@83.209.24.174] has joined #go-nuts
07:28 -!- nettok_ [~netto@200.119.158.105] has joined #go-nuts
07:28 < nocturnal> how come the compiler says "cannot use readData (type
[4096]uint8) as type string in function argument" when i try to use a []byte
variable as argument to func (re *Regexp) Match(b []byte) bool
07:30 -!- motron [~smegforbr@2001:8d8:1fe:100:225:64ff:fea7:359a] has joined
#go-nuts
07:30 < anticw> because it's not a slice
07:31 < nocturnal> i suspected it had to do with slices
07:31 < nocturnal> thank you
07:31 < anticw> nocturnal: make a slice from the array
07:31 < nocturnal> i will have to research this, thank you for the tip
07:31 < anticw> foo,bar = readData(yourArrayThang[0:4096])
07:31 < nocturnal> ohhh
07:31 < nocturnal> thank you very much for that information
07:32 < anticw> np
07:42 -!- nettok__ [~netto@200.119.158.105] has joined #go-nuts
07:46 -!- nettok_ [~netto@200.119.158.105] has quit [Ping timeout: 260 seconds]
07:48 -!- nettok_ [~netto@200.119.158.105] has joined #go-nuts
07:50 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has joined #go-nuts
07:51 -!- nettok__ [~netto@200.119.158.105] has quit [Ping timeout: 240 seconds]
07:52 -!- bthomson [~bthomson@c-69-255-188-5.hsd1.va.comcast.net] has joined
#go-nuts
07:53 -!- rlab [~Miranda@164-217-113-92.pool.ukrtel.net] has quit [Ping timeout:
258 seconds]
07:54 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
08:12 -!- merlin83 [~merlin83@unaffiliated/merlin83] has quit [Ping timeout: 240
seconds]
08:16 -!- niekie [~niek@CAcert/Assurer/niekie] has quit [Read error: Operation
timed out]
08:17 -!- Amaranth [~travis@ubuntu/member/Amaranth] has quit [Read error:
Operation timed out]
08:17 -!- Amaranth [~travis@2001:0:53aa:64c:3080:3852:9e8d:15a4] has joined
#go-nuts
08:17 -!- Amaranth [~travis@2001:0:53aa:64c:3080:3852:9e8d:15a4] has quit
[Changing host]
08:17 -!- Amaranth [~travis@ubuntu/member/Amaranth] has joined #go-nuts
08:17 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
08:17 -!- motron [~smegforbr@2001:8d8:1fe:100:225:64ff:fea7:359a] has quit [Read
error: Operation timed out]
08:18 -!- niekie [~niek@CAcert/Assurer/niekie] has joined #go-nuts
08:18 -!- motron [~smegforbr@2001:8d8:1fe:100:225:64ff:fea7:359a] has joined
#go-nuts
08:21 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has joined #go-nuts
08:21 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has quit [Changing
host]
08:21 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts
08:24 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has quit [Quit:
thakis]
08:27 -!- alus [~gah@64.13.131.178] has joined #go-nuts
08:33 -!- ikaros [~ikaros@f051118049.adsl.alicedsl.de] has joined #go-nuts
08:41 -!- Surma [~bzfsurma@gooseberry.zib.de] has joined #go-nuts
08:48 -!- nettok_ [~netto@200.119.158.105] has quit [Quit: Ex-Chat]
08:49 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has joined #go-nuts
08:52 < wrtp> nocturnal, anticw: an array pointer is compatible with a slice
08:53 < wrtp> and from the error message, it looks like nocturnal was trying
to pass it as a string, not an array of byte
08:54 < wrtp> if you've got a literal [4096] array, you can pass its
address, or you can initialise it as a slice.
08:55 < wrtp> if you need it as a string, you can cast it to a string with
string(myArray)
08:57 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
09:01 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping
timeout: 264 seconds]
09:01 -!- iamcarbon [~Adium@c-24-12-55-87.hsd1.il.comcast.net] has quit [Quit:
Leaving.]
09:05 -!- chressie [~chressie@dreggn.in-ulm.de] has joined #go-nuts
09:05 -!- alexbobp [~alex@66.112.249.238] has quit [Ping timeout: 248 seconds]
09:09 -!- Zoopee [alsbergt@zoopee.org] has quit [Ping timeout: 264 seconds]
09:12 -!- pjm0616 [~user@61.250.113.98] has joined #go-nuts
09:13 -!- Zoopee [alsbergt@zoopee.org] has joined #go-nuts
09:16 -!- Yoda`Taff [~yoda@unaffiliated/yoda-bzh] has joined #go-nuts
09:24 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has joined #go-nuts
09:25 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
09:26 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
09:29 -!- alexbobp [~alex@66.112.249.238] has joined #go-nuts
09:32 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Quit: kssreeram]
09:32 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts
09:34 -!- napsy [~luka@88.200.96.14] has quit [Ping timeout: 260 seconds]
09:34 -!- napsy [~luka@88.200.96.14] has joined #go-nuts
09:38 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
09:56 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
09:57 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
09:58 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Read error: Connection
reset by peer]
09:58 -!- kssreeram [~kssreeram@122.165.6.245] has joined #go-nuts
10:09 -!- ikaros [~ikaros@f051118049.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
10:16 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
10:26 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
10:30 -!- Foxygnu [~foxygnu@2001:758:42::2] has joined #go-nuts
10:30 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
10:32 -!- Xera^ [~brit@87-194-208-246.bethere.co.uk] has quit [Read error:
Connection reset by peer]
10:45 -!- napsy [~luka@88.200.96.14] has quit [Quit: leaving]
10:46 -!- path[l] [~path@122.182.0.38] has quit [Read error: Connection reset by
peer]
10:48 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
252 seconds]
10:49 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has joined #go-nuts
10:50 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
10:51 -!- kanru [~kanru@61-30-10-70.static.tfn.net.tw] has quit [Quit: WeeChat
0.3.1.1]
10:55 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
10:59 -!- Goneri [~goneri@nana.rulezlan.org] has joined #go-nuts
11:03 -!- fwiffo [~none@unaffiliated/fwiffo] has joined #go-nuts
11:14 -!- Ikke [~ikkibr@189.58.214.105.dynamic.adsl.gvt.net.br] has joined
#go-nuts
11:14 -!- Ikke [~ikkibr@189.58.214.105.dynamic.adsl.gvt.net.br] has quit [Changing
host]
11:14 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has joined #go-nuts
11:24 -!- onra [~onra@4cb54-2-82-228-189-57.fbx.proxad.net] has joined #go-nuts
11:24 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
11:26 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has joined #go-nuts
11:27 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 276 seconds]
11:29 -!- mikedee_ [~quassel@91.111.32.139] has quit [Remote host closed the
connection]
11:32 -!- mikedee [~quassel@91.111.32.139] has joined #go-nuts
11:32 -!- kssreeram_ [~kssreeram@122.165.2.126] has joined #go-nuts
11:35 -!- kssreeram [~kssreeram@122.165.6.245] has quit [Ping timeout: 265
seconds]
11:37 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
11:37 -!- path[l] [~path@122.182.0.38] has joined #go-nuts
11:39 -!- ikaros [~ikaros@guests160.externals.de] has joined #go-nuts
11:45 -!- awidegreen_ [~quassel@p5B0604FD.dip.t-dialin.net] has joined #go-nuts
11:47 -!- awidegreen [~quassel@p5B060F67.dip.t-dialin.net] has quit [Ping timeout:
265 seconds]
11:57 -!- HollyRain [~quassel@87.223.124.112] has joined #go-nuts
11:58 < HollyRain> cann't be assigned at the same time several vars.  with
same type?
11:58 < HollyRain> foo1 := foo2 := false
11:59 < HollyRain> yes, I was doing foo1, foo2 := false
12:00 < HollyRain> not possible of those ways
12:01 < HollyRain> foo1, foo2 := false, false
12:15 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has joined #go-nuts
12:18 -!- Kashia [~Kashia@p4FEB70AA.dip.t-dialin.net] has joined #go-nuts
12:18 < HollyRain> I'l looping a string, how to compare each char.  to
another one?
12:19 < HollyRain> for _, rune := range s {if rune == "s"} => doesn't
works
12:19 -!- kssreeram [~kssreeram@122.165.2.126] has quit [Quit: kssreeram]
12:20 -!- tumdum [~tumdum@avd55.neoplus.adsl.tpnet.pl] has joined #go-nuts
12:20 -!- tumdum [~tumdum@avd55.neoplus.adsl.tpnet.pl] has quit [Changing host]
12:20 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
12:20 < Kashia> what if you cast that string to an []int (or byte, if
non-unicode) ?
12:21 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
12:22 < HollyRain> byte("'") => cannot convert "'" to type uint8
12:22 < Kashia> []byte("asdf")
12:22 < Kashia> as there is more than one byte in a string
12:24 -!- lmoura [~lauromour@200.184.118.130] has joined #go-nuts
12:25 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has joined #go-nuts
12:32 -!- bjarne [~bjarne@227.80-203-30.nextgentel.com] has joined #go-nuts
12:34 -!- merlin83 [~merlin83@unaffiliated/merlin83] has quit [Read error:
Connection reset by peer]
12:35 -!- bjarne [~bjarne@227.80-203-30.nextgentel.com] has quit [Client Quit]
12:41 -!- path[l] [~path@122.182.0.38] has quit [Quit: path[l]]
12:42 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
12:42 -!- path[l] [~path@59.162.86.164] has quit [Read error: Connection reset by
peer]
12:42 < wrtp> HollyRain: use single quotes for a character.  e.g.  for _,
rune := range s {if rune == 's'
12:42 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
12:42 < HollyRain> wrtp: yes, I declared as a constant
12:42 < HollyRain> * declared it
12:43 < wrtp> so you got it working?
12:43 < HollyRain> yes
12:43 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has joined #go-nuts
12:43 -!- merlin83 [~merlin83@cm24.delta241.maxonline.com.sg] has quit [Changing
host]
12:43 -!- merlin83 [~merlin83@unaffiliated/merlin83] has joined #go-nuts
12:44 < HollyRain> I was confused (respect to chars.  and strings) coming
from python but I learn fast
12:45 < HollyRain> a little doubt
12:46 -!- JasonVoorhees [roberts@CPE-124-190-134-105.kqlr1.lon.bigpond.net.au] has
joined #go-nuts
12:46 -!- JasonVoorhees [roberts@CPE-124-190-134-105.kqlr1.lon.bigpond.net.au] has
left #go-nuts []
12:46 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
12:46 < HollyRain> if I have a public, and I use too a public constant (the
first letter in upper case)
12:47 < HollyRain> then that constant could be accessed/changed from
outside?
12:47 < HollyRain> if I have a public function
12:47 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
12:47 < HollyRain> s/constant/variable
12:48 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has joined #go-nuts
12:53 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
12:53 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has joined #go-nuts
12:54 -!- tire0011 [~jars@dslb-088-066-007-199.pools.arcor-ip.net] has joined
#go-nuts
12:54 -!- path[l] [~path@59.162.86.164] has joined #go-nuts
12:54 < dagle> HollyRain: I don't think go speaks about chars.  Only bytes,
runes and strings.
12:58 -!- cmarcelo [~cmarcelo@200.184.118.130] has joined #go-nuts
12:58 -!- cmarcelo [~cmarcelo@200.184.118.130] has quit [Changing host]
12:58 -!- cmarcelo [~cmarcelo@enlightenment/developer/cmarcelo] has joined
#go-nuts
13:00 -!- jophish [~jophish@hermi.gotadsl.co.uk] has joined #go-nuts
13:01 -!- tire0011 [~jars@dslb-088-066-007-199.pools.arcor-ip.net] has quit
[Remote host closed the connection]
13:06 < wrtp> HollyRain: i understand your confusion - i was confused when i
found that python doesn't know about single-characters!
13:06 < wrtp> HollyRain: constants can't be changed
13:07 < wrtp> but constants starting with a capital letter can be accessed
from outside
13:07 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 260 seconds]
13:07 < Surma> Well, if you know the design of UTF-8 and heared Pike say
"It's all UTF-8 only", it's pretty straight forward
13:07 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
13:08 < wrtp> Surma: in python, "hello"[3][0][0][0] is valid...
13:09 < Surma> I don't consider that a good thing ^^ (and I was talking
about go, maybe I misread something)
13:10 -!- zeroXten_ [~zeroXten@0x10.co.uk] has quit [Quit: leaving]
13:10 -!- zeroXten [~zeroXten@0x10.co.uk] has joined #go-nuts
13:10 < wrtp> HollyRain: i've just deciphered your question, and, no, local
variables in functions are never directly from outside, even if they start with a
capital letter
13:10 -!- afurlan [~afurlan@scorpion.mps.com.br] has joined #go-nuts
13:11 < wrtp> Surma: i was just empathising with HollyRain who started with
python, so doesn't distinguish characters from strings
13:13 < dagle> pythons model is a bit strange.
13:18 -!- tgall_foo [~tgall@gentoo/developer/dr-who] has joined #go-nuts
13:18 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts
13:21 -!- Surma [~bzfsurma@gooseberry.zib.de] has quit [Quit: Leaving.]
13:24 -!- Surma [~bzfsurma@gooseberry.zib.de] has joined #go-nuts
13:32 -!- ikaros_ [~ikaros@guests160.externals.de] has joined #go-nuts
13:32 -!- ikaros [~ikaros@guests160.externals.de] has quit [Read error: Connection
reset by peer]
13:41 -!- ericvh [~ericvh@2002:467b:802c:0:223:6cff:fe93:c616] has joined #go-nuts
13:46 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has joined #go-nuts
13:54 -!- kaigan|work
[~kaigan@c-8290e255.1411-10-64736c14.cust.bredbandsbolaget.se] has quit [Quit:
kaigan|work]
13:59 -!- path[l] [~path@59.162.86.164] has quit [Quit: path[l]]
13:59 -!- Sindikat [~username@95.56.46.175] has joined #go-nuts
13:59 -!- Sindikat [~username@95.56.46.175] has left #go-nuts []
14:00 -!- Surma [~bzfsurma@gooseberry.zib.de] has quit [Quit: Leaving.]
14:01 -!- Wiz126 [Wiz126@72.20.219.250] has quit [Ping timeout: 276 seconds]
14:02 -!- motron [~smegforbr@2001:8d8:1fe:100:225:64ff:fea7:359a] has quit [Remote
host closed the connection]
14:05 -!- ikaros [~ikaros@guests160.externals.de] has joined #go-nuts
14:05 -!- ikaros_ [~ikaros@guests160.externals.de] has quit [Read error:
Connection reset by peer]
14:07 -!- ikaros [~ikaros@guests160.externals.de] has quit [Client Quit]
14:14 -!- Wiz126 [Wiz126@72.20.219.43] has joined #go-nuts
14:14 -!- Wiz126 [Wiz126@72.20.219.43] has quit [Client Quit]
14:16 -!- Project_2501 [~Marvin@82.84.73.161] has joined #go-nuts
14:17 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
14:29 -!- rv2733 [~rv2733@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
14:34 -!- fusion44 [~quassel@p5B283D4C.dip.t-dialin.net] has joined #go-nuts
14:34 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
14:41 -!- Foxygnu [~foxygnu@2001:758:42::2] has left #go-nuts ["Quitte"]
14:42 -!- rlab [~Miranda@232-132-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
14:43 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has quit [Quit: leaving]
14:44 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has joined #go-nuts
14:45 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has joined #go-nuts
14:45 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
14:56 -!- path[l] [UPP@120.138.102.34] has quit [Quit: path[l]]
14:58 -!- Fraeon_ [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
14:59 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Ping
timeout: 246 seconds]
15:10 -!- thakis [~thakis@c-71-198-222-88.hsd1.ca.comcast.net] has quit [Quit:
thakis]
15:15 -!- fusion44 [~quassel@p5B283D4C.dip.t-dialin.net] has quit [Remote host
closed the connection]
15:17 -!- pvandusen [~pdusen@crob4-55.flint.umich.edu] has quit [Quit: Leaving]
15:18 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 264 seconds]
15:20 -!- pdusen [~pdusen@crob4-55.flint.umich.edu] has joined #go-nuts
15:27 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Read error: Operation
timed out]
15:27 -!- tumdum [~tumdum@avd55.neoplus.adsl.tpnet.pl] has joined #go-nuts
15:27 -!- tumdum [~tumdum@avd55.neoplus.adsl.tpnet.pl] has quit [Changing host]
15:27 -!- tumdum [~tumdum@unaffiliated/tumdum] has joined #go-nuts
15:28 -!- tor5 [~tor@c-a87e71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has
joined #go-nuts
15:34 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Read error: Connection reset by peer]
15:34 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
15:36 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has quit [Quit: Leaving]
15:39 -!- rhelmer [~rhelmer@adsl-69-107-68-251.dsl.pltn13.pacbell.net] has quit
[Quit: rhelmer]
15:41 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit:
g0bl1n]
15:41 -!- tav [~tav@89.240.57.83] has quit [Quit: tav]
15:42 -!- tav [~tav@89.240.57.83] has joined #go-nuts
15:44 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Read
error: Connection reset by peer]
15:45 -!- warthurton [~warthurto@cpe-67-246-229-53.rochester.res.rr.com] has
joined #go-nuts
15:45 -!- warthurton [~warthurto@cpe-67-246-229-53.rochester.res.rr.com] has quit
[Changing host]
15:45 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
15:47 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.]
15:49 -!- Xurix [~Luixsia@AToulouse-254-1-71-151.w81-49.abo.wanadoo.fr] has quit
[Ping timeout: 264 seconds]
16:04 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
16:13 -!- Venom_X [~pjacobs@74.61.90.217] has joined #go-nuts
16:14 < smw_> hello everybody
16:19 -!- kssreeram [~kssreeram@122.174.136.32] has joined #go-nuts
16:20 -!- Yoda`Taff [~yoda@unaffiliated/yoda-bzh] has quit [Quit: ⏏ -- ☺]
16:21 -!- bechmoul [~joel@lolnet.org] has joined #go-nuts
16:22 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
16:22 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
16:24 -!- skelterjohn_ [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has joined
#go-nuts
16:25 -!- narsil [~npatry@133.186.104.102] has joined #go-nuts
16:26 -!- carllerche [~carllerch@ip-77-221-189-169.dsl.twang.net] has joined
#go-nuts
16:26 -!- Surma [~surma@91-64-23-213-dynip.superkabel.de] has joined #go-nuts
16:26 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has joined #go-nuts
16:30 -!- Project_2501 [~Marvin@82.84.73.161] has quit [Quit: E se abbasso questa
leva che succ...]
16:33 -!- tumdum [~tumdum@unaffiliated/tumdum] has quit [Quit: tumdum]
16:33 -!- thakis [~thakis@nat/google/x-kcjrfbbbovjtmilb] has joined #go-nuts
16:35 -!- ct529 [~quassel@biolpc1758.york.ac.uk] has quit [Remote host closed the
connection]
16:39 -!- Nexoro1 [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has joined
#go-nuts
16:40 -!- mssm [~mssm@ip-95-221-74-236.bb.netbynet.ru] has joined #go-nuts
16:41 -!- Nexoro [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Ping
timeout: 248 seconds]
16:42 -!- Kashia [~Kashia@p4FEB70AA.dip.t-dialin.net] has quit [Quit: This
computer has gone to sleep]
16:43 -!- meanburrito920 [~john@192.5.109.49] has joined #go-nuts
16:43 -!- meanburrito920 [~john@192.5.109.49] has quit [Changing host]
16:43 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
16:50 -!- carllerche [~carllerch@ip-77-221-189-169.dsl.twang.net] has quit [Quit:
carllerche]
16:52 -!- Gracenotes [~person@wikipedia/Gracenotes] has quit [Ping timeout: 276
seconds]
16:55 -!- Kashia [~Kashia@p4FEB70AA.dip.t-dialin.net] has joined #go-nuts
17:01 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
17:05 -!- GilJ [~gilles@85.10.76.203] has joined #go-nuts
17:07 -!- b00m_chef__ [~watr@d64-180-45-230.bchsia.telus.net] has joined #go-nuts
17:10 -!- Gracenotes [~person@wikipedia/Gracenotes] has joined #go-nuts
17:10 -!- romain [~romain@peerfuse.org] has joined #go-nuts
17:11 -!- lux` [~lux`@151.71.208.104] has joined #go-nuts
17:11 -!- crashR [~crasher@62.212.121.29] has quit [Read error: Operation timed
out]
17:12 -!- Venom_X [~pjacobs@74.61.90.217] has quit [Quit: Venom_X]
17:12 < plexdev> http://is.gd/b5ptG by [Roger Peppe] in go/src/pkg/strconv/
-- strconv.Unquote could wrongly return a nil error on error.
17:19 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has joined #go-nuts
17:29 -!- thakis [~thakis@nat/google/x-kcjrfbbbovjtmilb] has quit [Remote host
closed the connection]
17:29 -!- thakis [~thakis@nat/google/x-nnzsgaykfvscblth] has joined #go-nuts
17:30 -!- ikaros [~ikaros@g227032124.adsl.alicedsl.de] has joined #go-nuts
17:31 -!- thakis [~thakis@nat/google/x-nnzsgaykfvscblth] has quit [Remote host
closed the connection]
17:31 -!- thakis [~thakis@nat/google/x-tnnabucjbsgrwfhb] has joined #go-nuts
17:32 -!- thakis [~thakis@nat/google/x-tnnabucjbsgrwfhb] has quit [Remote host
closed the connection]
17:32 -!- thakis [~thakis@nat/google/x-lweobkortdzgjonj] has joined #go-nuts
17:33 -!- thakis [~thakis@nat/google/x-lweobkortdzgjonj] has quit [Remote host
closed the connection]
17:34 -!- thakis [~thakis@nat/google/x-epxquhntvvjmqimk] has joined #go-nuts
17:34 -!- thakis [~thakis@nat/google/x-epxquhntvvjmqimk] has quit [Remote host
closed the connection]
17:35 -!- thakis [~thakis@nat/google/x-yzysgjgzfawaceqe] has joined #go-nuts
17:36 -!- thakis [~thakis@nat/google/x-yzysgjgzfawaceqe] has quit [Remote host
closed the connection]
17:37 -!- thakis [~thakis@nat/google/x-tavwvgnmebamcbys] has joined #go-nuts
17:37 -!- thakis [~thakis@nat/google/x-tavwvgnmebamcbys] has quit [Remote host
closed the connection]
17:38 -!- thakis [~thakis@nat/google/x-exphuzfsucujlbnw] has joined #go-nuts
17:38 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping
timeout: 258 seconds]
17:38 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Quit: rhelmer]
17:39 -!- akrill [~akrill@dynamic-216-231-57-80.sea0.krillr.com] has joined
#go-nuts
17:43 < plexdev> http://is.gd/b5rKa by [Robert Griesemer] in 2 subdirs of
go/test/ -- bug265: test case for issue 700
17:43 -!- Venom_X [~pjacobs@66.54.185.131] has joined #go-nuts
17:50 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Ping
timeout: 264 seconds]
17:50 -!- syd_ [~sydcogs@180.92.192.92] has quit [Ping timeout: 258 seconds]
17:51 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
17:57 -!- skelterjohn [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has quit [Ping
timeout: 264 seconds]
17:59 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
18:06 -!- General13372 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
18:08 -!- General1337 [~support@71-93-97-216.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 258 seconds]
18:10 -!- franksalim_ [~frank@adsl-75-61-84-181.dsl.pltn13.sbcglobal.net] has quit
[Quit: Ex-Chat]
18:11 -!- franksalim [~frank@adsl-75-61-84-181.dsl.pltn13.sbcglobal.net] has
joined #go-nuts
18:11 -!- syd_ [~sydcogs@180.92.192.92] has joined #go-nuts
18:14 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has joined #go-nuts
18:20 -!- Yoda-BZH [yoda@ksenia.yoda-bzh.net] has joined #go-nuts
18:28 < HollyRain> how to pass a variable to a regexp?
18:29 < HollyRain> regexp.Compile("[^\\\'\"%s ]*'") %s =>
unicode.White_Space
18:29 -!- terrex [~terrex@38.39.222.87.dynamic.jazztel.es] has joined #go-nuts
18:29 < HollyRain> do I have to use Sprintf to pass all that expression?
18:30 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
18:36 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has quit [Quit:
leaving]
18:36 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
18:42 -!- onra [~onra@4cb54-2-82-228-189-57.fbx.proxad.net] has quit [Quit:
Quitte]
18:46 < HollyRain> how to print chars.  ins unicode.ASCII_Hex_Digit ? type
[]unicode.Range
18:48 <+iant> HollyRain: yes, you would have to use fmt.Sprintf to pass a
variable to a regexp; it's often easier to use a raw string literal for a regexp
because there is no backslash quoting
18:48 < HollyRain> ah, ok
18:52 -!- obitux [~kevin@cha92-1-81-57-16-15.fbx.proxad.net] has joined #go-nuts
18:52 < HollyRain> for _, rune := range unicode.White_Space {
fmt.Print(rune) }
18:55 -!- obitux [~kevin@cha92-1-81-57-16-15.fbx.proxad.net] has quit [Client
Quit]
18:56 < anticw> why is there an underscore there?  not that it matters but
it stands out as being different to what is most commonly done
18:57 < anticw> iant: is there some way inside the runtime to cleanly find
the boundaries of the text segment?
18:57 < anticw> (for lack of special symbols and a linker map or similar)
18:57 <+iant> In principle, sure, but I don't think anything is currently
exposed to Go code
18:58 < anticw> i meant inside the runtime (c code)
18:59 <+iant> if you look at runtime/symtab.c you will see access to the
symbol table
19:01 <+iant> and the symbols "data", "etext", and "end" are defined by the
linker
19:01 <+iant> I don't know if there is a "start" symbol, though
19:10 -!- syd_ [~sydcogs@180.92.192.92] has quit [Ping timeout: 276 seconds]
19:14 -!- korboz [~bd7324b1@gateway/web/freenode/x-uhuujycpwucfibnu] has joined
#go-nuts
19:16 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping
timeout: 246 seconds]
19:17 < korboz> why does cgo arranges structs padding on its own?  i mean,
couldn't you leave that to the compiler?
19:18 <+iant> cgo needs to produce a struct which has the same layout in gcc
and 6g/8g
19:19 <+iant> it uses the padding to ensure that
19:19 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
19:24 < kfx> that's for the serializer, right
19:25 <+iant> cgo is a program which lets Go code call C code
19:25 -!- illya77 [~illya77@206-133-112-92.pool.ukrtel.net] has joined #go-nuts
19:26 < korboz> iant: oh, gotcha, i was forgetting about the 6g/8g
compatibility
19:26 < korboz> does cgo support nested structs?  i don't see anything in
the code related to it.
19:27 <+iant> I don't know offhand; give it a try and see what happens
19:27 < korboz> i get a 0 instead of 1 :P
19:28 -!- Xurix [~Luixsia@AToulouse-254-1-36-9.w81-250.abo.wanadoo.fr] has joined
#go-nuts
19:28 -!- lucs__ [lux`@151.71.149.92] has joined #go-nuts
19:29 -!- hugov [~hugov@sjc237n239.joh.cam.ac.uk] has joined #go-nuts
19:30 -!- Venom_X_ [~pjacobs@74.61.90.217] has joined #go-nuts
19:31 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
19:31 -!- lux` [~lux`@151.71.208.104] has quit [Ping timeout: 245 seconds]
19:32 -!- korboz [~bd7324b1@gateway/web/freenode/x-uhuujycpwucfibnu] has quit
[Quit: Page closed]
19:34 -!- Venom_X [~pjacobs@66.54.185.131] has quit [Ping timeout: 258 seconds]
19:43 -!- illya77 [~illya77@206-133-112-92.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
19:47 -!- Samae [eeva@sd-11284.dedibox.fr] has joined #go-nuts
19:48 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has joined
#go-nuts
19:49 -!- iamcarbon [~Adium@c-24-12-55-87.hsd1.il.comcast.net] has joined #go-nuts
19:52 -!- afurlan [~afurlan@scorpion.mps.com.br] has quit [Quit: Leaving]
19:52 -!- hugov [~hugov@sjc237n239.joh.cam.ac.uk] has quit [Quit: hugov]
19:54 -!- fwiffo_ [~none@189.115.10.165] has joined #go-nuts
19:54 -!- fwiffo_ [~none@189.115.10.165] has quit [Client Quit]
19:55 -!- hcatlin [~hcatlin@pdpc/supporter/professional/hcatlin] has quit [Quit:
hcatlin]
19:56 -!- thakis_ [~thakis@nat/google/x-nvyrljfmugocnrbi] has joined #go-nuts
19:57 -!- fwiffo [~none@unaffiliated/fwiffo] has quit [Ping timeout: 268 seconds]
19:58 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
19:58 -!- thakis [~thakis@nat/google/x-exphuzfsucujlbnw] has quit [Ping timeout:
246 seconds]
20:01 -!- g0bl1n [~anonymous@a89-152-233-139.cpe.netcabo.pt] has quit [Quit:
g0bl1n]
20:02 -!- skj [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has joined #go-nuts
20:03 -!- no_mind [~orion@122.173.228.1] has quit [Read error: Connection reset by
peer]
20:03 -!- no_mind_ [~orion@122.173.228.254] has joined #go-nuts
20:07 -!- thakis_ [~thakis@216.239.45.19] has joined #go-nuts
20:07 -!- nettok [~netto@200.119.158.102] has joined #go-nuts
20:09 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Ping
timeout: 260 seconds]
20:09 -!- smw [~stephen@pool-96-232-88-231.nycmny.fios.verizon.net] has quit
[Remote host closed the connection]
20:09 -!- Wiz126 [Wiz126@72.20.221.49] has joined #go-nuts
20:10 -!- thakis [~thakis@nat/google/x-nvyrljfmugocnrbi] has quit [Ping timeout:
268 seconds]
20:11 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
20:16 < plexdev> http://is.gd/b5CMm by [Russ Cox] in 4 subdirs of go/src/ --
runtime: more malloc statistics
20:16 -!- nettok [~netto@200.119.158.102] has quit [Ping timeout: 260 seconds]
20:22 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has quit
[Excess Flood]
20:22 -!- Altercation [~Altercati@pdpc/supporter/active/altercation] has joined
#go-nuts
20:24 -!- tor5 [~tor@c-a87e71d5.04-50-6c756e10.cust.bredbandsbolaget.se] has left
#go-nuts []
20:24 -!- lucs__ [lux`@151.71.149.92] has quit [Read error: Connection reset by
peer]
20:26 -!- mssm [~mssm@ip-95-221-74-236.bb.netbynet.ru] has quit [Ping timeout: 245
seconds]
20:27 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has quit [Ping timeout:
276 seconds]
20:28 -!- ikaros [~ikaros@g227032124.adsl.alicedsl.de] has quit [Quit: Leave the
magic to Houdini]
20:31 -!- terrex [~terrex@38.39.222.87.dynamic.jazztel.es] has quit [Read error:
Connection reset by peer]
20:32 -!- terrex [~terrex@38.39.222.87.dynamic.jazztel.es] has joined #go-nuts
20:33 < plexdev> http://is.gd/b5E9k by [Russ Cox] in go/src/cmd/godoc/ --
fix build
20:34 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
20:35 -!- lux` [~lux@151.71.149.92] has joined #go-nuts
20:38 -!- quag [~quag@121-98-81-61.bitstream.orcon.net.nz] has joined #go-nuts
20:40 -!- SecretofMana [~mana@142.46.164.30] has quit [Ping timeout: 264 seconds]
20:44 -!- thakis_ [~thakis@216.239.45.130] has joined #go-nuts
20:48 -!- thakis [~thakis@216.239.45.19] has quit [Ping timeout: 276 seconds]
20:48 -!- dizm [~dizm@121.98.168.127] has joined #go-nuts
20:49 -!- dizm [~dizm@121.98.168.127] has left #go-nuts []
20:50 < plexdev> http://is.gd/b5Fiv by [Rob Pike] in go/src/pkg/strings/ --
strings.FIelds: slight simplification.
20:52 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
20:53 -!- SecretofMana [~mana@142.46.164.30] has joined #go-nuts
20:54 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:e1a4:bd30:9637:2d5d] has joined
#go-nuts
20:54 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
20:57 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
20:57 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Client Quit]
20:57 -!- nanooo [~nano@95-89-197-214-dynip.superkabel.de] has joined #go-nuts
20:58 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has joined
#go-nuts
20:59 -!- nanoo [~nano@95-89-197-214-dynip.superkabel.de] has quit [Ping timeout:
259 seconds]
21:00 -!- thakis_ [~thakis@216.239.45.19] has joined #go-nuts
21:03 -!- dipoll [~dmytro@ppp-77-247-24-232.wildpark.net] has joined #go-nuts
21:03 -!- syd_ [~sydcogs@180.92.192.92] has joined #go-nuts
21:04 -!- thakis_ [~thakis@216.239.45.19] has quit [Remote host closed the
connection]
21:04 -!- thakis_ [~thakis@nat/google/x-ddfdtyztkiukoubm] has joined #go-nuts
21:05 -!- nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has joined
#go-nuts
21:05 -!- thakis [~thakis@216.239.45.130] has quit [Ping timeout: 276 seconds]
21:12 -!- nettok [~netto@200.119.152.103] has joined #go-nuts
21:24 -!- nettok [~netto@200.119.152.103] has quit [Quit: Ex-Chat]
21:27 -!- smw [~stephen@pool-72-80-200-253.nycmny.east.verizon.net] has joined
#go-nuts
21:27 -!- bortzmeyer [~stephane@2a01:e35:8bd9:8bb0:e1a4:bd30:9637:2d5d] has quit
[Quit: Leaving.]
21:30 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:37 < smw> does anyone know where I can find documentation on making test
programs for packages?
21:37 < anticw> effective go i think has it
21:38 < smw> ok
21:38 < KirkMcDonald> smw: I have a thing in my optparse library:
21:38 < KirkMcDonald>
http://code.google.com/p/optparse-go/source/browse/Makefile
21:38 -!- Surma [~surma@91-64-23-213-dynip.superkabel.de] has quit [Quit:
Leaving.]
21:38 < KirkMcDonald> smw: See the last rule I crammed in there.
21:38 < smw> ok
21:38 -!- wrtp [~rog@89.242.175.228] has quit [Quit: wrtp]
21:39 < smw> KirkMcDonald: also, I fixed the things you hate about
configparser
21:39 < KirkMcDonald> And of course there's also a regular ol'
optparse_test.go in there.
21:39 < KirkMcDonald> smw: Neat..
21:39 < smw> KirkMcDonald: http://code.google.com/p/goconf
21:39 < KirkMcDonald> s/\.\././
21:39 < smw> lol
21:40 < smw> It also compiles unlike goconfig :-P
21:40 < KirkMcDonald> Compiling is an excellent bullet point on the feature
list.
21:40 < smw> lol
21:41 < smw> I was putting all the differences from goconfig
21:41 * smw uses lol too much and promises not to use it the rest of the day
21:42 -!- Ikke [~ikkibr@unaffiliated/ikkebr] has quit []
21:43 -!- zard_ [~4176bf02@gateway/web/freenode/x-iytalfvnjysuwgiz] has joined
#go-nuts
21:44 -!- terrex [~terrex@38.39.222.87.dynamic.jazztel.es] has quit [Quit:
Leaving.]
21:57 -!- defectiv [~clays@75.101.111.19] has joined #go-nuts
21:58 < defectiv> so i tried to implement the smallest iterator syntax i
could, with a package called "times", that is used like : times.n(42).do(some
function)
21:58 < defectiv> can anyone think of a way i could have done that more
simply?  is there any way to create a function that is called by default if i pass
parameters to the package name?  like in this case times(params)
21:59 < defectiv> i probably should have just done times.do(42, some
function)
21:59 -!- deso [~deso@x0561a.wh30.tu-dresden.de] has quit [Remote host closed the
connection]
21:59 < Kashia> import (.  "times") n(42).do()
22:00 < defectiv> oh, sweet!
22:00 < defectiv> although maybe not so sweet, if you like modularity.
22:00 < Kashia> you asked for it :P
22:01 < defectiv> i was hoping to be able to call the package with virtually
no arguments.
22:01 < defectiv> wishing there was some syntax that would let you refer to
some default function if you just called the package as a function.
22:02 -!- nanooo [~nano@95-89-197-214-dynip.superkabel.de] has quit [Ping timeout:
240 seconds]
22:02 < Kashia> if you only have a single function in the times package (and
call it Times)...  :)
22:02 < defectiv> you are kidding me!
22:02 < defectiv> then i can just do times(args) and it's like calling
times.Times(args) ?
22:02 < Kashia> no, I still mean the . import :)
22:03 < defectiv> oh.  :)
22:03 < Kashia> I just mean that the 'modularity' is the same either way
22:04 < defectiv> how so?  what if main already had simething called Times
in it?
22:04 < defectiv> the idea is to have the beauty of namespacing.
22:04 < defectiv> i can create some package that you can use in a very
concise way without having to alter the package.
22:04 < Kashia> well, as you can't (afair) use variable names the same as
imports...
22:04 < defectiv> this isn't a big deal, i was just wondering.
22:05 < defectiv> use variable names as imports?
22:05 < Kashia> import "times"; var times = 25
22:05 < defectiv> you would import "times" times_foo
22:06 < defectiv> so it wouldn't interfere with your local var.
22:06 < defectiv> but that only requires changing the package name locally,
not anything inside the package.
22:06 < Kashia> of course.  I just mean that there are all kinds of
conflicts.
22:06 -!- lux` [~lux@151.71.149.92] has quit [Read error: Connection reset by
peer]
22:07 < Kashia> but you are right, that if one could "rename" an external
function it would be "helpful" sometimes
22:08 < defectiv> i don't want to be able to rename an external function.
just the package, which i can already do.
22:08 -!- lux` [~lux@151.71.149.92] has joined #go-nuts
22:08 < defectiv> i just want a way to call some function within that
package automatically when i say package(args)
22:08 < defectiv> but i can't
22:09 < defectiv> it's sort of a stupid thing for me to want.  i just like
that it's concise.  it doesn't really do anything novel.
22:09 < Kashia> well, you want to use a method from a foreign package
22:09 < defectiv> but i don't want to call that method.  i want to call the
package.
22:09 < Kashia> aye, I did get that :P
22:09 < defectiv> :)
22:09 -!- GilJ [~gilles@85.10.76.203] has quit [Remote host closed the connection]
22:09 < Kashia> if there was a syntax like "use Func from pkg" and then do
Func() inside your code..
22:10 < Kashia> doesn't python do something like that?
22:10 < Kashia> that'd be more generic than a package(args)
22:14 -!- akrill [~akrill@dynamic-216-231-57-80.sea0.krillr.com] has quit [Quit:
akrill]
22:16 -!- akrill [~akrill@dynamic-216-231-57-80.sea0.krillr.com] has joined
#go-nuts
22:16 -!- megaboz_ [~megaboz@189.115.33.18] has joined #go-nuts
22:20 -!- megaboz [~megaboz@unaffiliated/megaboz] has quit [Ping timeout: 276
seconds]
22:23 < plexdev> http://is.gd/b5L6r by [Robert Griesemer] in
go/src/pkg/go/ast/ -- go/ast: generalized ast filtering
22:24 -!- vpm [~vpm@reverse-94.fdn.fr] has joined #go-nuts
22:24 < vpm> hi
22:25 < Eridius> hi
22:26 < smw> hi
22:30 -!- awidegreen_ [~quassel@p5B0604FD.dip.t-dialin.net] has quit [Remote host
closed the connection]
22:30 -!- scm [justme@c222160.adsl.hansenet.de] has quit [Ping timeout: 276
seconds]
22:31 -!- scm [justme@d019091.adsl.hansenet.de] has joined #go-nuts
22:32 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has quit [Ping
timeout: 246 seconds]
22:32 -!- Fraeon [~kzer-za@e212-246-65-153.elisa-laajakaista.fi] has joined
#go-nuts
22:33 -!- path[l] [UPP@120.138.102.34] has joined #go-nuts
22:33 -!- vpm [~vpm@reverse-94.fdn.fr] has quit [Quit: ++]
22:34 -!- tav [~tav@89.240.57.83] has quit [Quit: tav]
22:34 -!- lux` [~lux@151.71.149.92] has quit [Remote host closed the connection]
22:35 -!- vpm [~vpm@reverse-94.fdn.fr] has joined #go-nuts
22:40 < smw> how do you make a multiline string variable declaration?
22:40 -!- rhelmer [~rhelmer@adsl-71-139-219-78.dsl.snfc21.pacbell.net] has quit
[Quit: rhelmer]
22:40 -!- scm [justme@d019091.adsl.hansenet.de] has quit [Remote host closed the
connection]
22:40 -!- Nexoro1 [~Nexoro@c-71-192-75-183.hsd1.ma.comcast.net] has left #go-nuts
[]
22:43 -!- scm [justme@d019091.adsl.hansenet.de] has joined #go-nuts
22:44 -!- lux` [~lux@151.71.149.92] has joined #go-nuts
22:49 < HollyRain> what's wrong with this one?  var whitespace []byte =
{'\t', '\n', '\v', '\f', '\r', ' ', 0x85, 0xA0}
22:50 < Eridius> don't you have to say []byte{...} as the actual value?
22:50 < KirkMcDonald> Yeah, reverse the = and the []byte.
22:51 < Eridius> whitespace := []byte{...}
22:51 < KirkMcDonald> (Unless it is a package-level variable.)
22:51 < KirkMcDonald> (Then you need the 'var' instead of :=.)
22:53 -!- bjarneh [~bjarneh@227.80-203-30.nextgentel.com] has quit [Quit: leaving]
22:53 < HollyRain> now yes, thx
22:55 -!- lux` [~lux@151.71.149.92] has quit [Remote host closed the connection]
22:57 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has quit [Quit:
Leaving]
22:57 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has quit [Quit:
warthurton]
22:58 -!- lux` [~lux@151.71.149.92] has joined #go-nuts
22:59 -!- TMKCodes [~toni@bbwirelessgw2-fee1dc00-62.dhcp.inet.fi] has joined
#go-nuts
22:59 -!- jophish [~jophish@hermi.gotadsl.co.uk] has quit [Remote host closed the
connection]
23:01 -!- wuehlmaus [~wuehlmaus@p4FCC610D.dip.t-dialin.net] has quit [Read error:
Operation timed out]
23:02 -!- wuehlmaus [~wuehlmaus@p4FCC63CF.dip.t-dialin.net] has joined #go-nuts
23:06 -!- warthurton [~warthurto@pdpc/supporter/active/warthurton] has joined
#go-nuts
23:07 < nowhere_man> hi all
23:07 < nowhere_man> I just discovered about Go
23:08 < nowhere_man> as I know some people in Google have an interest in
security and especially in object-capability, I'm wondering if this was considered
in the design of Go...
23:08 < nowhere_man> (ocaps, I mean)
23:17 < skelterjohn> what does object-capability mean
23:17 < skelterjohn> or ocaps
23:18 < skelterjohn> and as for security, it does a number of things that
make it very difficult to have buffer overflow errors, i suppose
23:19 < KirkMcDonald> skelterjohn:
http://en.wikipedia.org/wiki/Capability-based_security
23:20 < skelterjohn> is that something like a mutex?
23:20 < KirkMcDonald> No.
23:20 < skelterjohn> after skimming one paragraph of the wiki
23:20 < skelterjohn> heh
23:21 -!- rhelmer [~rhelmer@38.112.6.110] has joined #go-nuts
23:21 < KirkMcDonald> You have a thing which objects can do, like (say)
accessing a particular file.
23:21 < KirkMcDonald> Some objects are permitted to do this, some are not.
23:21 < KirkMcDonald> So to the objects which may do it, you give them a
"capability" which permits the operation.
23:22 < skelterjohn> it discusses tying this into the OS
23:22 < KirkMcDonald> Yes.
23:23 < KirkMcDonald> nowhere_man: To answer your question: No, Go has no
particular support for capabilities.
23:24 < nowhere_man> skelterjohn: ocaps are just taking objects a little bit
further
23:24 -!- rue [~rhubarb@echo622.server4you.de] has quit [Ping timeout: 245
seconds]
23:24 < nowhere_man> you just prohibit static attributes and two objects can
only communicate if they have a reference/pointer to each other
23:25 < skelterjohn> i feel like that is not "just" what there is :)
23:25 -!- rhelmer [~rhelmer@38.112.6.110] has quit [Client Quit]
23:25 < nowhere_man> skelterjohn: it's like Go
23:25 < nowhere_man> (the game)
23:25 < nowhere_man> the rules are simple, the strategies infinite
23:26 < nowhere_man> the beauty with ocaps is that a security policy is just
some arrangement of a graph of objects
23:26 < nowhere_man> and you can create and compose policies
23:27 < nowhere_man> it's like a programming language for security, in some
sort
23:35 -!- path[l] [UPP@120.138.102.34] has quit [Ping timeout: 240 seconds]
23:36 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
23:45 -!- skj [~jasmuth@c-76-124-23-96.hsd1.nj.comcast.net] has quit [Ping
timeout: 246 seconds]
23:47 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
Leaving]
23:47 -!- HollyRain [~quassel@87.223.124.112] has quit [Quit:
http://quassel-irc.org - Chat comfortably.  Anywhere.]
23:58 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Quit: bbiab]
23:58 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
--- Log closed Tue Mar 30 00:00:39 2010