--- Log opened Sat Dec 11 00:00:01 2010
00:01 -!- mnemoc [~amery@shell.opensde.net] has left #go-nuts []
00:28 -!- tvw [~tv@e176001156.adsl.alicedsl.de] has quit [Remote host closed the
connection]
00:33 -!- iant [~iant@nat/google/x-wybtobktuqajpodj] has quit [Ping timeout: 260
seconds]
00:34 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts
00:34 -!- iant [~iant@216.239.45.19] has joined #go-nuts
00:34 -!- mode/#go-nuts [+v iant] by ChanServ
00:35 -!- iant1 [~iant@67.218.110.2] has joined #go-nuts
00:39 -!- iant [~iant@216.239.45.19] has quit [Ping timeout: 276 seconds]
00:40 -!- mode/#go-nuts [+v iant] by ChanServ
00:51 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
00:53 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 272 seconds]
00:59 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: leaving]
01:00 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts
01:01 -!- ymasory [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
01:03 -!- yihuang [~yihuang@183.17.145.49] has joined #go-nuts
01:04 -!- yihuang [~yihuang@183.17.145.49] has left #go-nuts []
01:14 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has quit [Quit:
Leaving]
01:16 -!- crazy2be [~justin@d209-89-244-205.abhsia.telus.net] has joined #go-nuts
01:17 < crazy2be> hmm so
01:17 < crazy2be> i'm writing a reverse http proxy in go
01:17 < crazy2be> and it seems to work fairly reliably
01:18 < crazy2be> but the main page never finishes "loading"
01:19 < crazy2be> it all is visible
01:19 < crazy2be> but the "loading" sign doesn't go away
01:19 < crazy2be> and wget hangs downloading it
01:20 < nsf> any gocode users?  does anyone use refactoring (renaming of an
identifier) in the gocode?  I'm asking because I'm thinking about removing these
things
01:20 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
01:20 < crazy2be> gocode?
01:20 < nsf> yeah
01:21 < nsf> https://github.com/nsf/gocode
01:21 < nsf> mostly known as "autocompletion daemon for the go programming
language with vim plugin"
01:21 < nsf> :)
01:21 < crazy2be> :O
01:21 < crazy2be> any plans to support kate?  :P
01:22 < nsf> no, unless you want to add support by yourself
01:22 < crazy2be> i might just
01:22 < crazy2be> because renaming identifiers would be quite useful
01:22 < crazy2be> lol
01:22 < nsf> well, I'm planning to remove that feature
01:22 < crazy2be> too complex to maintain?
01:22 < nsf> because it increases memory consumption by factor of 2
01:22 < crazy2be> or moving it to another project?
01:23 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Client Quit]
01:23 < nsf> and well, I don't know
01:23 < crazy2be> huh
01:23 < nsf> it's just a lot of code in autocompletion daemon
01:23 < nsf> and I thought no one uses it
01:23 < nsf> maybe another project yeah
01:23 < crazy2be> well it would make sence to seperate them
01:23 < nsf> also unix philosophy
01:23 < crazy2be> their functionality is not really related
01:23 < nsf> for doing only one thing and doing it well
01:23 < crazy2be> :)
01:24 < nsf> gocode does good autocompletion, but I can't say it's amazing
at refactoring
01:24 < nsf> yeah, I guess I'll just remove these stuff from it
01:24 < crazy2be> well kate somehow does some sort of autocompletion for me
already
01:24 < crazy2be> i don't know how
01:24 < nsf> it'll remain in git history
01:25 < crazy2be> but it doesn't have things i have not typed before
01:25 < nsf> crazy2be: maybe it autocompletes on a word basis?
01:25 < nsf> http://nsf.110mb.com/gocode-demo.swf
01:25 < nsf> see what gocode can do
01:25 < crazy2be> hmm, well it recognizes "." seperations
01:25 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts
01:26 < nsf> it's a perfectly correct word separator
01:26 < |Craig|> nsf: I'm get starting to use gocode, and I havent done any
real coding with it, but I do like the feature in theory
01:26 < nsf> uhm..  what feature?  autocompletion?
01:26 < nsf> or renaming?
01:26 < |Craig|> the renaming of an identifier
01:26 < crazy2be> what is the memory usage with/without renaming?  like is
it 100MB or something huge?
01:26 < nsf> crazy2be: it depends
01:27 < nsf> with a very intensive use it will eat a lot
01:27 < nsf> like 200-400 megs
01:27 < crazy2be> yipes
01:27 < crazy2be> i only have 1GB
01:27 < nsf> I'm not sure that ripping off renaming part will help though
01:27 < nsf> but I'm kind of desperate
01:28 < crazy2be> well i can't imagine it would too much
01:28 < crazy2be> lol
01:28 < crazy2be> but if it's that bad, write it in C? heh
01:28 < crazy2be> maybe cache things in files rather than in memory
01:29 < nsf> hehe
01:29 < crazy2be> goremote won't compile :(
01:29 < nsf> why?
01:29 < crazy2be> undefined: token.NewFileSet
01:29 < crazy2be> maybe i should update my go
01:29 < nsf> you have an old version of the compiler
01:29 < nsf> yes
01:30 < crazy2be> hg pull, hg checkout, right?
01:30 < |Craig|> nsf: I wouldn't mind renaming an identifier taking a second
or 2.  I'd just use it in the complex cases
01:30 < crazy2be> oh hg update
01:30 < nsf> |Craig|: the problem is, that it shares cache with
autocompletion in gocode
01:30 < nsf> and requires few additional things in cache
01:30 < nsf> like contents of each file in the package
01:31 < |Craig|> auto complete needs to be fast, but renaming of an
identifier would be tolerable/useful with even horrible performance
01:31 < nsf> or..  wait
01:31 < nsf> it doesn't
01:31 < nsf> but I still keep them
01:31 < nsf> for some reason
01:31 < nsf> :\
01:31 < crazy2be> you should be able to cache the identifiers and such in
simple files
01:31 < |Craig|> I'll be back later
01:31 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
01:31 < crazy2be> and swap them in/out as needed
01:31 < nsf> anyways, most likely I will rip that feature off
01:31 < crazy2be> but that's simpler said than done
01:32 < nsf> I know it's kind of sad, but really they are two different
projects inside of a one
01:32 < crazy2be> like you could just make cache files that have the
exported identifiers from the packages
01:32 < crazy2be> and nothing else
01:33 < crazy2be> then lookups would be only slightly slower
01:33 < crazy2be> but memory usage would be way down
01:33 < nsf> crazy2be: stop it..  you haven't seen gocode's code and
suggesting me something
01:33 < nsf> it has a good cache
01:33 < crazy2be> ok, i'll look at it :)
01:33 < nsf> I'm complaining mostly about Go's GC
01:33 < nsf> I think it sucks
01:33 < crazy2be> yes it does
01:33 < crazy2be> i have had experience with that
01:33 < nsf> although maybe I suck
01:33 < nsf> at writing code
01:33 < crazy2be> it doesn't release dead memory back to the OS
01:34 < nsf> but I can't prove it, because I think I'm smart :)
01:34 < crazy2be> so if you ever use 400MB, you always use 400MB
01:34 < nsf> crazy2be: well, I think it sucks more than just that
01:35 < nsf> for some reason it keeps a lot of memory
01:35 < nsf> and it's very hard to understand what is inside
01:35 < nsf> like 300 megs for gocode source code AST
01:35 < crazy2be> cat /dev/mem?  :P
01:35 < nsf> it's just nonsense
01:35 < nsf> hehe
01:36 < nsf> also there is a known bug on x86
01:36 < nsf> but I've checked it on x86_64 as well
01:36 < nsf> same stuff
01:36 < nsf> :(
01:36 < nsf> intensive use of chromium browsers consumes less memory than
gocode
01:36 < nsf> browser*
01:37 < crazy2be> hmm now it's complaining about funcLitVistor not
implementing ast.Visitor
01:37 < nsf> crazy2be: it can't be true
01:37 < nsf> probably you've updated to the latest tip version
01:37 < nsf> don't do that
01:37 < nsf> use release branch
01:37 < crazy2be> oh
01:38 < nsf> only insane developer will keep his project in sync with Go's
tip
01:38 < nsf> I do sync with release versions of Go
01:38 < crazy2be> i think i just downloaded the latest release...  how do i
check which i am using?
01:39 < crazy2be> i'm pretty sure i installed based on the instructions on
the website
01:39 < nsf> hg identify
01:39 < nsf> hg checkout -r release
01:39 < nsf> or..  no
01:39 < nsf> wait
01:39 < nsf> it's git
01:39 < nsf> I use git :D
01:39 < nsf> hg update -r release
01:40 < crazy2be> ooh
01:40 < crazy2be> now i have to rebuild it
01:40 < crazy2be> :(
01:40 < nsf> it takes 30 seconds
01:40 < crazy2be> not on my computer
01:40 < crazy2be> more like 10 minutes
01:40 < nsf> :\
01:40 < crazy2be> well, at least 5
01:40 < nsf> 2
01:40 < nsf> :)
01:41 < Zerelda> does Go have any sort of writeup for generics
01:41 < nsf> Zerelda: only few discussions in the mailing list
01:59 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
02:02 < fuzzybyte> Is the GC still plain mark-sweep?  I thought they had a
some kinda plan to make good GC later on.
02:02 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276
seconds]
02:03 < crazy2be> nsf: How does your little prog work?
02:03 < crazy2be> are client and server one executable?
02:03 < nsf> crazy2be: yes
02:04 < nsf> fuzzybyte: "plans", yeah..
02:04 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has joined #go-nuts
02:04 < nsf> there is a good live example of a garbage collected environment
02:04 < nsf> called Mono
02:04 < nsf> they were planning a new GC in 2005
02:04 < nsf> or 2006
02:05 < nsf> and they have implemented it just one release ago this year
02:05 < nsf> in 2.8
02:05 < nsf> another example is D programming language, which has a simple
M&S GC at the moment, even though it's like 10 years old (the language)
02:06 < nsf> crazy2be: gocode isn't really usable by itself
02:06 < nsf> you need an editor that has gocode support
02:06 < nsf> there are only two as far as I know
02:06 < nsf> vim and goclipse
02:07 < nsf> vim works (I personally support it), goclipse sort of works
02:07 < crazy2be> how does the vim side work?  I'm looking at the vim plugin
now
02:08 < nsf> installation steps are on the github page
02:08 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has joined
#go-nuts
02:08 < nsf> or you're interested in details?  like how it calls gocode,
etc?
02:13 < crazy2be> yeah
02:13 < crazy2be> i don't use vim, so i'm wondering how to implement it with
another editor
02:15 < nsf> one command:
02:15 < nsf> gocode autocomplete <file name of the currently editted
buffer> <cursor position>
02:15 < nsf> and contents of the currently editted file to the stdin
02:15 < crazy2be> oh i can run it like that?
02:15 < nsf> then parse output
02:15 < nsf> yeah
02:15 < nsf> for example
02:15 < nsf> 'make install' it
02:15 < nsf> and go to testing/test.0001
02:15 < nsf> and run:
02:15 < crazy2be> i ran gocode -help, but that didn't show up :P
02:16 < nsf> gocode -in test.go autocomplete test.go 47
02:16 < nsf> and it shouldn't be
02:16 < nsf> as I've said
02:16 < nsf> gocode should not be used without an editor
02:17 < crazy2be> well, it could be useful for documentation or something,
but it's usefullness declines
02:17 < nsf> I'm the only source of the documentation
02:17 < nsf> :)
02:17 < crazy2be> haha
02:17 < crazy2be> glad you're online then
02:18 < nsf> I was talking about that thing before
02:18 < nsf> asking me is another wall in your path for implementing gocode
support in some editor
02:18 < nsf> and I'm doing that
02:18 < nsf> because often people not really sure whether they want to
really do the job or not
02:19 < nsf> if someone asks me about gocode, I think he considers doing the
real job
02:19 < nsf> egh..  sounds weird though
02:19 < nsf> but anyway
02:19 < crazy2be> :)
02:20 < nsf> also that way I'm aware of the work that is being done on a
side
02:20 < crazy2be> is it supposed to output something when i run that?
02:20 < nsf> yes
02:20 < nsf> autocompletion proposals
02:20 < crazy2be> well 47 isn't a real cursor position in the file i used
02:20 < crazy2be> well i mean
02:20 < crazy2be> it exists
02:21 < crazy2be> but i don't think there is anything relevent
02:21 < nsf> well, I gave you an example about test.0001
02:21 < crazy2be> oh i didn't realize that was an actual file
02:21 < nsf> http://ompldr.org/vNmlodw/2010-12-11-072201_948x648_scrot.png
02:21 < crazy2be> i thought that was just an example
02:21 < nsf> that's how it should look like
02:22 < nsf> no, I do testing that way also
02:22 < nsf> in 'testing' dir there are a lot of test cases for gocode
autocompletion :)
02:23 < crazy2be> oh cool
02:23 < crazy2be> just wondering, why do i have to specify the file twice?
02:23 < nsf> because it's two separate things
02:23 < nsf> contents of a file
02:23 < nsf> and a file name
02:23 < nsf> in editors usually
02:23 < nsf> there are contents of a buffer
02:24 < nsf> and a file name where these contents came from initially
02:24 < crazy2be> why do you need the initial file?
02:24 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has quit [Ping timeout: 240
seconds]
02:24 < nsf> searching other files of the same package
02:24 < nsf> searching for*
02:25 < |Craig|> and finding local packages right?
02:25 < nsf> yes
02:25 < crazy2be> oh, so you extract the path or something?
02:25 < nsf> yes
02:25 < nsf> but contents of the file can also be passed through stdin
02:25 < nsf> for example:
02:25 < nsf> cat test.go | gocode autocomplete test.go 47
02:26 < nsf> in vim for example I use /tmp dir for passing contents of the
buffer
02:26 < nsf> and -in parameter and file name are two different things in
that case
02:26 < nsf> gocode -in /tmp/something...  autocomplete real/file/name.go
123
02:26 -!- antonkovalyov [~antonkova@75-101-56-240.dsl.static.sonic.net] has quit
[Remote host closed the connection]
02:27 < nsf> also I need the name of the file (not just dir) to exclude it
from other package files
02:28 < nsf> and all that means also one thing:
02:28 < nsf> editor should have all files synced with disk, except the
currently editted buffer
02:29 -!- iant [~iant@67.218.110.2] has quit [Ping timeout: 276 seconds]
02:32 -!- viirya [~viirya@cml506-25.csie.ntu.edu.tw] has joined #go-nuts
02:33 -!- devrim [~Adium@cpe-72-225-239-227.nyc.res.rr.com] has quit [Quit:
Leaving.]
02:34 -!- willdye1 [~willdye@fern.dsndata.com] has joined #go-nuts
02:35 -!- IRWolfie1 [irwolfie@ircnoob.com] has joined #go-nuts
02:37 -!- hagna [~hagna@74-92-245-181-Utah.hfc.comcastbusiness.net] has quit [Ping
timeout: 255 seconds]
02:37 -!- hagna [~hagna@74-92-245-181-Utah.hfc.comcastbusiness.net] has joined
#go-nuts
02:41 -!- homa_ran1 [~erice@hmsvelociraptor.csail.mit.edu] has joined #go-nuts
02:43 -!- IRWolfie- [irwolfie@ircnoob.com] has quit [Ping timeout: 255 seconds]
02:43 -!- homa_rano [~erice@hmsvelociraptor.csail.mit.edu] has quit [Ping timeout:
255 seconds]
02:46 < crazy2be> hrm
02:47 < nsf> ?
02:48 < crazy2be> i'm trying to figure out why my reverse http proxy doesn't
work :/
02:48 < nsf> hehe, I have no idea what reverse http proxy is :)
02:49 < nsf> ah, I see
02:49 < crazy2be> well it means requests on /photos are forwarded over tcp
to :8120
02:49 < nsf> it's like multiplexer
02:49 < crazy2be> yeah kinda
02:49 < crazy2be> i do it because it autght to make the system more
fault-tolerent
02:49 < crazy2be> unless, of course, the faults are in the proxy itself
02:49 < crazy2be> :)
02:50 < nsf> why can't you just use an existing web server for that?
02:50 < nsf> lighttpd or nginx are quite good with that
02:50 < nsf> as far as I know
02:50 < crazy2be> oh are they?
02:50 < crazy2be> well this was originally just like 50 lines
02:50 < crazy2be> but then it didn't support keep-alive
02:50 < nsf> I think so, but I don't know certainly :)
02:50 < crazy2be> now it's like 200
02:51 < nsf> and doesn't work?  :)
02:51 < crazy2be> and i use raw tcp because i'm trying to debug it
02:51 < crazy2be> well it's wierd
02:51 < crazy2be> it sortof works
02:51 < crazy2be> sometimes
02:51 < nsf> raw tcp requires root permissions isn't it?
02:51 < nsf> i mean raw sockets in general
02:51 < crazy2be> no, unless i am using the term incorrectly :P
02:52 < nsf> not sure what raw tcp means
02:52 < nsf> :)
02:52 < crazy2be> but binding to port 80 does
02:52 < crazy2be> raw as in without much aid from the http packag
02:52 < nsf> yes, and ports under 1000 are root only
02:53 < nsf> ah, I see
02:53 < crazy2be> i think that the proxy server is interfereing in the
connection somehow
02:53 < crazy2be> when i go to the servers themselves
02:53 < crazy2be> it works
02:53 < nsf> well, I can't help you, never did anything like that :)
02:53 < crazy2be> but the wierd thing is, if i Ctrl+C the proxy server, the
page loads mostly
02:53 < crazy2be> :)
02:53 < crazy2be> generally i figure it out on my own after ranting for a
while :P
02:54 < nsf> hehe, I'm thinking about memory consumption in Go
02:54 -!- niemeyer [~niemeyer@189.73.142.213] has quit [Ping timeout: 245 seconds]
02:54 < nsf> I just don't understand why it eats that much of the memory
02:56 < crazy2be> i didn't either when i was designing my server
02:56 < crazy2be> it would use large amounts
02:56 < crazy2be> i had automatic fetching of some external feeds and stuff
too
02:56 < crazy2be> and it would grind to a halt
02:56 < crazy2be> so now i'm trying to make it distributed
02:57 -!- shvntr [~shvntr@116.26.138.210] has joined #go-nuts
02:58 < nsf> and I have an idea of a project..  the thing is, I need a
language to work with, I love Go, but its memory usage drives me nuts
02:58 < nsf> :(
02:58 < crazy2be> yeah
02:58 < crazy2be> i've been trying to design around it
02:58 < crazy2be> but it's a pain
02:58 -!- boscop_ [~boscop@g229218248.adsl.alicedsl.de] has joined #go-nuts
02:58 < nsf> and I'm the guy (maybe a bit crazy) who cares a lot about
memory
02:59 < nsf> for few of my project I know like exact number of calls to
malloc for different things :)
02:59 < nsf> projects*
02:59 < nsf> and imagine me using GC :)
03:00 < nsf> when nothing is determined
03:00 -!- virtualsue [~chatzilla@nat/cisco/x-cnxncfckqiuudcdr] has quit [Ping
timeout: 245 seconds]
03:00 < nsf> where*
03:01 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally
caught me]
03:01 -!- boscop [~boscop@f055199057.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
03:02 < crazy2be> so i think that io.Copy is not doing what i want it to
03:03 < kimelto> I was wondering...  do we have something to set a struct to
0 (all fields to 0) so that one can reuse an old object as a new allocated one?
03:04 < nsf> kimelto: structs are assignable
03:04 < nsf> you can assign a zeroed struct to a struct value
03:04 < nsf> like:
03:04 < nsf> type MyStruct struct {...}
03:04 < nsf> var s1 MyStruct
03:04 < nsf> s1 = MyStruct{}
03:04 < nsf> now it's zeroed
03:05 < nsf> well in this example it is always zeroed, but that's not the
point :) I hope it's clear
03:05 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
03:06 < kimelto> looks great.
03:20 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has joined
#go-nuts
03:21 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
03:30 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
03:30 -!- antonkovalyov [~antonkova@64.134.220.236] has joined #go-nuts
03:31 -!- antonkovalyov [~antonkova@64.134.220.236] has quit [Remote host closed
the connection]
03:39 -!- singingBird [~raziyanir@61.17.240.197] has joined #go-nuts
03:40 -!- l00t [~i-i3id3r_@20150073162.user.veloxzone.com.br] has joined #go-nuts
03:43 < crazy2be> woo working!
03:43 < crazy2be> i told you i'd figure it out :)
03:43 < nsf> :)
03:45 < crazy2be> now to make the code understandable to humans
03:49 -!- singingBird [~raziyanir@61.17.240.197] has quit [Ping timeout: 272
seconds]
03:49 < |Craig|> nsf: is the memory consuming behavior any different if you
use gccgo?
03:49 -!- singingBird [~raziyanir@61.17.240.197] has joined #go-nuts
03:49 < nsf> I haven't tried
03:49 < nsf> but it uses the same garbage collector
03:50 < nsf> I don't think so
03:51 < singingBird> i got disconnected
04:00 -!- salt [~salt@HMTNON14-1168102834.sdsl.bell.ca] has joined #go-nuts
04:00 < salt> Hello
04:01 < salt> Anyone in this room
04:02 < crazy2be> nope
04:02 < crazy2be> we are all dead
04:03 < SoniaKeys> or non-human
04:03 < crazy2be> someone showed us some basic, and *POOF*
04:05 < salt> oh, ok
04:06 < salt> Anyone around to answer a question?
04:08 < |Craig|> salt: its so tempting to answer that with a paradoxical no
04:10 < SoniaKeys> you can prove anything from a contradiction
04:12 -!- mbohun [~user@ppp115-156.static.internode.on.net] has quit [Ping
timeout: 264 seconds]
04:12 < |Craig|> A is true or false.  Assume true=false, A is true or true,
thus A is true.  SoniaKeys I guess its more simple than I thought
04:13 -!- mbohun [~user@ppp115-156.static.internode.on.net] has joined #go-nuts
04:17 -!- soapy_illusions [~alex@modemcable202.70-37-24.mc.videotron.ca] has
joined #go-nuts
04:19 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
04:20 -!- salt [~salt@HMTNON14-1168102834.sdsl.bell.ca] has quit [Ping timeout:
245 seconds]
04:21 < soapy_illusions> Is there a more elegant way to be iterating over a
3d or 4d array than a bunch of nested for loops, it's making my code really
cumbersome as I need to do it quite often
04:24 < SoniaKeys> si: sometimes it makes sense to flatten your higher
dimension arrays to a 1d array
04:25 -!- gnuvince [~vince@64.235.203.1] has joined #go-nuts
04:26 < |Craig|> soapy_illusions: if you flatten the actual array, you can
still make arrays of slices into it to resemble higher dimensional arrays
04:26 -!- mbohun [~user@ppp115-156.static.internode.on.net] has quit [Ping
timeout: 264 seconds]
04:26 < soapy_illusions> |Craig|: ok so each dimension of this array is a
different kind of struct, what would be the logical way to flaten it?
04:27 < soapy_illusions> sorry the term flattening is new to me, I get what
it means but confused on how to implement it
04:27 -!- singingBird [~raziyanir@61.17.240.197] has quit [Quit: Leaving.]
04:28 < |Craig|> soapy_illusions: how can the different dimensions be
different?  The dimensions of arrays are ints.  I don't understand what you mean
04:28 < |Craig|> you can have a 5*5*3*10 or what ever, but I don't see how
you can have a structA*structb array
04:29 < SoniaKeys> what do your variable declarations look like?
04:29 < soapy_illusions> well I have struct foo, which contains info and
also contains an array of struct bar and within every bar there is info and an
array of struct rand
04:30 < soapy_illusions> and when I need every rand I need to iterate over
tons of elements with big nested for loops
04:30 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
04:30 < |Craig|> thats not really a multidimensional array.
04:31 < |Craig|> soapy_illusions: consider this: make a function that takes
a function as a parameter, and calls it on every item
04:32 < soapy_illusions> ahhh that makes a lot of sense ( and sorry wrong
terminology ) thanks
04:32 < |Craig|> another approach is to write a function that streams all
the items out a chan and do a for loop on the chan, but thats generally slower in
my experience.
04:33 -!- salt [~salt@d24-141-238-88.home.cgocable.net] has joined #go-nuts
04:33 < soapy_illusions> |Craig|: ya i heard chan performance is still not
optimal
04:33 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
04:34 < |Craig|> soapy_illusions: yet another approach is to make an
iterator object that you can use with a for loop (give it a next method you can
call in the increment and a done field to check in the compare)
04:35 < |Craig|> that approach can allow you to remove items in your
collection if removing is possible, though I guess in your case its prabably not
04:35 < SoniaKeys> are you saying sometimes you want to iterate over all the
rands without regard to the info?  craigs's suggestion, slicing a single array of
rands and puting the slices in the bars, still looks like a simple solution if
that's the case
04:36 -!- gregc [~gregc@c-98-250-34-182.hsd1.mi.comcast.net] has joined #go-nuts
04:36 < gregc> I hadn't worked on my golang project in a month or so...
04:36 < soapy_illusions> SoniaKeys: sometimes I just need the rands and no
other info, and for that I might implement the that suggestions and other times I
need info from the rand's parent structs
04:37 < gregc> But when I updated golang and tried to run my project again I
got this:
04:37 < gregc> mmap: errno=0xc
04:37 < gregc> throw: mmap
04:37 < gregc> panic PC=0x7f69bb245dc0
04:37 < gregc> throw: malloc/free - deadlock
04:37 < gregc> double panic
04:37 < |Craig|> soapy_illusions: you can make a function that takes a
function that takes the parents and the rand, and calls that function on all of
them with the proper parent info
04:38 < |Craig|> gregc: I've seen that before
04:38 < |Craig|> gregc: I think it was because I had some compiled stuff
from the old version
04:38 < soapy_illusions> |Craig|: I think that's what I am going to do right
now
04:38 < |Craig|> gregc: make sure you rebuild everything including
goinstalled stuff
04:39 < gregc> Hmm, okay, I thought I had "make clean"ed things, but I will
try again.
04:40 < |Craig|> gregc: honestly though, I tried to rebuild all my stuff
when I had an issue like that, and I ended up cloning a new copy of the repo and
re goinstalling stuff which fixed it
04:40 < gregc> |Craig|: Success!!  Thanks!!
04:40 < |Craig|> gregc: I'm glad I was not the only person horribly confused
by that
04:41 < gregc> I had to clean and rebuild my custom unit testing framework
package.
04:41 < gregc> (I don't think very highly of gotest.)
04:41 < |Craig|> ironic when tests make something nor work.
04:43 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
04:43 < gregc> Haha, right.  I'm glad I chose to ask as soon as I did.
04:43 -!- shvntr [~shvntr@116.26.138.210] has quit [Quit: luck]
04:44 < |Craig|> gregc: I asked around a lot, and even filed a bug (before I
figured out the actual cause) when it happened to me
04:44 < |Craig|> Its nice to finally have the cause verified.
04:45 < |Craig|> One would think it would fail in a nicer way, and fail
sooner
04:45 < gregc> Yeah, it didn't fail on build.
04:45 -!- watr_ [~watr@66.183.100.58] has joined #go-nuts
04:45 < gregc> It failed when I tried to run it in a way that used my
package.
04:46 < gregc> Maybe that makes sense though, since it comes from updating
Go itself.
04:58 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit:
This computer has gone to sleep]
05:02 < crazy2be> night world
05:03 < |Craig|> I'd expect the object files to have some kind of version
flag to prevent the issue, but I don't really know how that stuff works
05:03 -!- crazy2be [~justin@d209-89-244-205.abhsia.telus.net] has quit [Remote
host closed the connection]
05:08 -!- keithcascio [~keithcasc@nat/google/x-ehotkvarcylisbdb] has quit [Quit:
Leaving]
05:08 -!- gregc [~gregc@c-98-250-34-182.hsd1.mi.comcast.net] has quit [Quit:
Leaving]
05:17 -!- kanru [~kanru@61-228-158-122.dynamic.hinet.net] has joined #go-nuts
05:30 -!- skelterjohn [~jasmuth@c-68-45-238-234.hsd1.nj.comcast.net] has joined
#go-nuts
05:33 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has joined #go-nuts
05:34 -!- joatmon54_ [~engest@cpe-66-74-195-46.san.res.rr.com] has joined #go-nuts
05:41 -!- joatmon54_ [~engest@cpe-66-74-195-46.san.res.rr.com] has quit [Quit:
Ex-Chat]
05:42 -!- niemeyer [~niemeyer@189.73.142.213] has joined #go-nuts
05:49 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has quit [Ping
timeout: 260 seconds]
05:51 -!- pingveno [~pingveno@c-98-246-133-8.hsd1.or.comcast.net] has joined
#go-nuts
05:56 -!- soapy_illusions [~alex@modemcable202.70-37-24.mc.videotron.ca] has quit
[Quit: Leaving]
05:56 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
06:11 -!- salt [~salt@d24-141-238-88.home.cgocable.net] has quit [Quit: Leaving]
06:12 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
06:13 -!- watr_ [~watr@66.183.100.58] has quit [Ping timeout: 240 seconds]
06:14 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has quit [Quit: Coyote finally
caught me]
06:14 -!- ivan` [~ivan@unaffiliated/ivan/x-000001] has joined #go-nuts
06:28 -!- kanru [~kanru@61-228-158-122.dynamic.hinet.net] has quit [Ping timeout:
264 seconds]
06:30 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
06:31 -!- mode/#go-nuts [+v iant] by ChanServ
06:38 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 260 seconds]
06:38 -!- iant [~iant@216.239.45.130] has joined #go-nuts
06:38 -!- mode/#go-nuts [+v iant] by ChanServ
06:40 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Quit:
noktoborus_]
06:49 -!- adu [~ajr@pool-173-66-11-168.washdc.fios.verizon.net] has quit [Quit:
adu]
07:02 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
07:03 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 272
seconds]
07:06 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has joined
#go-nuts
07:08 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 265
seconds]
07:11 -!- illya77 [~illya77@2-81-133-95.pool.ukrtel.net] has joined #go-nuts
07:19 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
07:24 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 265
seconds]
07:41 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
07:43 -!- photron [~photron@port-92-201-197-1.dynamic.qsc.de] has joined #go-nuts
07:45 -!- ExtraSpice [~XtraSpice@88.118.33.48] has quit [Ping timeout: 276
seconds]
07:48 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
08:09 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 255
seconds]
08:12 -!- kanru [~kanru@61-228-158-122.dynamic.hinet.net] has joined #go-nuts
08:16 -!- noam [noam@77.124.236.67] has quit [Ping timeout: 276 seconds]
08:20 -!- ExtraSpice [~XtraSpice@88.118.33.48] has joined #go-nuts
08:23 -!- noam [noam@77.124.236.67] has joined #go-nuts
08:24 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
08:25 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
08:26 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has quit [Quit:
This computer has gone to sleep]
08:56 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
09:05 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has joined #go-nuts
09:05 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 272
seconds]
09:05 -!- tensorpudding [~user@99.148.202.191] has quit [Remote host closed the
connection]
09:08 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has quit []
09:08 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
09:11 -!- foocraft [~dsc@89.211.184.236] has quit [Ping timeout: 245 seconds]
09:12 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
09:25 -!- awidegreen [~quassel@c-eacae555.08-2-73746f39.cust.bredbandsbolaget.se]
has joined #go-nuts
09:45 -!- skejoe [~skejoe@188.114.142.162] has joined #go-nuts
09:51 -!- niemeyer [~niemeyer@189.73.142.213] has quit [Ping timeout: 245 seconds]
09:52 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving]
09:52 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined
#go-nuts
10:09 -!- wrtp [~rog@92.17.92.116] has joined #go-nuts
10:14 -!- yihuang [~yihuang@183.17.180.117] has joined #go-nuts
10:14 -!- yihuang [~yihuang@183.17.180.117] has left #go-nuts []
10:18 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
10:19 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
10:37 -!- wrtp [~rog@92.17.92.116] has quit [Quit: wrtp]
10:38 -!- foocraft [~dsc@89.211.184.236] has joined #go-nuts
11:05 -!- [noff] [~noff@132-92.79-83.cust.bluewin.ch] has joined #go-nuts
11:08 -!- noff [~noff@31-102.78-83.cust.bluewin.ch] has quit [Ping timeout: 240
seconds]
11:13 -!- [noff] [~noff@132-92.79-83.cust.bluewin.ch] has quit [Ping timeout: 265
seconds]
11:21 -!- elimisteve [~kubuntu@ip98-185-245-8.sb.sd.cox.net] has joined #go-nuts
11:30 -!- wrtp [~rog@92.17.92.116] has joined #go-nuts
11:34 -!- xash [~xash@d170170.adsl.hansenet.de] has joined #go-nuts
11:46 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has quit [Remote host closed the connection]
11:47 -!- Zerelda [Zerelda@76.91.53.83] has quit [Read error: Connection reset by
peer]
11:48 -!- Maxdamantus [~Maxdamant@203.97.238.106] has quit [Ping timeout: 265
seconds]
11:49 -!- Zerelda [~Zerelda@76.91.53.83] has joined #go-nuts
11:52 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has quit [Ping timeout: 260
seconds]
11:52 -!- wrtp [~rog@92.17.92.116] has quit [Quit: wrtp]
11:56 -!- Maxdamantus [~Maxdamant@203-97-238-106.cable.telstraclear.net] has
joined #go-nuts
12:02 -!- tvw [~tv@e176001076.adsl.alicedsl.de] has joined #go-nuts
12:11 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has joined #go-nuts
12:12 -!- elimisteve [~kubuntu@ip98-185-245-8.sb.sd.cox.net] has quit [Remote host
closed the connection]
12:13 -!- SRabbelier [~SRabbelie@188.142.63.148] has quit [Ping timeout: 250
seconds]
12:15 -!- unofficialmvp [~dev@94-62-164-227.b.ipv4ilink.net] has left #go-nuts []
12:16 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
12:17 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has joined #go-nuts
12:23 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has quit [Quit:
DarthShrine]
12:31 -!- Zerelda [~Zerelda@76.91.53.83] has quit [Ping timeout: 245 seconds]
12:32 -!- DerHorst [~Horst@e176118204.adsl.alicedsl.de] has joined #go-nuts
12:33 -!- Zerelda [Zerelda@76.91.53.83] has joined #go-nuts
12:33 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has joined #go-nuts
12:37 -!- Project_2501 [~Marvin@82.84.65.187] has joined #go-nuts
12:41 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has quit [Ping timeout: 272
seconds]
12:47 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-176-41.clienti.tiscali.it] has
joined #go-nuts
12:50 -!- Project_2501 [~Marvin@82.84.65.187] has quit [Ping timeout: 265 seconds]
12:51 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
12:52 -!- Project_2501 [~Marvin@82.84.89.110] has joined #go-nuts
12:53 -!- skejoe [~skejoe@188.114.142.162] has quit [Quit: Lost terminal]
12:55 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-176-41.clienti.tiscali.it] has
quit [Ping timeout: 255 seconds]
12:56 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping
timeout: 272 seconds]
12:57 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has joined #go-nuts
12:57 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
12:59 -!- coud [~coud@81.25.16.87] has joined #go-nuts
13:00 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
13:00 -!- mbohun [~user@ppp115-156.static.internode.on.net] has joined #go-nuts
13:10 -!- falconindy [~noclaf@unaffiliated/falconindy] has quit [Quit: Lost
terminal]
13:13 -!- falconindy [~noclaf@unaffiliated/falconindy] has joined #go-nuts
13:14 -!- SRabbelier [~SRabbelie@188.142.63.148] has joined #go-nuts
13:15 -!- ucasano [~ucasano@host153-182-static.227-95-b.business.telecomitalia.it]
has quit [Quit: ucasano]
13:24 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So
Long, and Thanks for All the Fish]
13:25 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
13:29 -!- sauerbraten [~sauerbrat@p508CF8EC.dip.t-dialin.net] has joined #go-nuts
13:29 -!- xash [~xash@d170170.adsl.hansenet.de] has quit [Ping timeout: 272
seconds]
13:46 -!- jvolkman [~jvolkman@unaffiliated/jvolkman] has quit [Quit: jvolkman]
13:59 -!- yihuang [~yihuang@183.17.184.114] has joined #go-nuts
13:59 -!- yihuang [~yihuang@183.17.184.114] has left #go-nuts []
14:15 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts
14:16 -!- mbohun [~user@ppp115-156.static.internode.on.net] has quit [Ping
timeout: 240 seconds]
14:20 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
14:20 < MaybeSo> Given a Writer w and a string s, is there any particular
reason one would want to use io.WriteString(w, s) instead of w.Write([]byte(s)) ?
14:23 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has quit [Quit: Leaving.]
14:30 < KBme> i'm guessing writestring does pretty much the same thing
14:30 < KBme> http://golang.org/src/pkg/bufio/bufio.go#L495
14:34 < foocraft> can I "neatly" use len ( array ) as a float64?
14:34 < foocraft> I've tried (len ( array ).(float64)
14:34 < foocraft> s/array )/array ))
14:37 < photron> foocraft: float64(len(array))
14:37 < foocraft> thanks photron
14:39 < foocraft> how about when I cast down, does it truncate like in C?
14:41 < foocraft> or does it do something smart (like rounding)
14:41 < photron> a := int(1.6) gives an compile error
14:42 < photron> a := int(1.0) works
14:42 < foocraft> mmmm!!  that's really smart
14:42 < photron> a := int(math.Floor(1.6)) works
14:42 < foocraft> so what about int(someVariableToBeDeterminedOnRuntime),
that compiles fine
14:43 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds]
14:43 < foocraft> I'll play with it for a bit
14:44 < photron> c := 1.6; a := int(c) works
14:47 -!- [noff] [~noff@136-156.79-83.cust.bluewin.ch] has joined #go-nuts
14:48 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has joined #go-nuts
14:52 -!- Zerelda [Zerelda@76.91.53.83] has quit []
14:56 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
14:59 -!- l00t [~i-i3id3r_@20150073162.user.veloxzone.com.br] has quit [Ping
timeout: 260 seconds]
14:59 -!- l00t- [~i-i3id3r_@187.127.132.19] has joined #go-nuts
15:00 < exch> the type is always known at compiletime..  Except when your
var is an interface{}, in which case you can't do int(v) anyways
15:10 -!- sacho_ [~sacho@90.154.204.70] has joined #go-nuts
15:10 -!- sacho [~sacho@95-42-99-232.btc-net.bg] has quit [Ping timeout: 240
seconds]
15:10 -!- niemeyer [~niemeyer@189.73.142.213] has joined #go-nuts
15:10 -!- araujo [~araujo@190.38.50.25] has joined #go-nuts
15:10 -!- araujo [~araujo@190.38.50.25] has quit [Changing host]
15:10 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
15:23 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has quit [Ping timeout:
260 seconds]
15:23 -!- Tonnerre [tonnerre@netbsd/developer/tonnerre] has joined #go-nuts
15:27 -!- meanburrito920 [~john@unaffiliated/meanburrito920] has joined #go-nuts
15:34 -!- kanru [~kanru@61-228-158-122.dynamic.hinet.net] has quit [Ping timeout:
245 seconds]
15:41 -!- ildorn [~ildorn@p5B2FDA0C.dip.t-dialin.net] has quit [Quit: Leaving.]
15:44 -!- kashia_ [~Kashia@port-92-200-0-208.dynamic.qsc.de] has quit [Ping
timeout: 240 seconds]
15:44 -!- kashia_ [~Kashia@port-92-200-79-206.dynamic.qsc.de] has joined #go-nuts
15:45 -!- coud [~coud@81.25.16.87] has quit [Read error: Connection reset by peer]
15:55 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 245
seconds]
15:57 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has joined #go-nuts
15:58 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
16:01 -!- Tv [~tv@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
16:02 -!- l00t- [~i-i3id3r_@187.127.132.19] has quit [Ping timeout: 242 seconds]
16:11 -!- Scorchin [~Scorchin@host109-152-112-29.range109-152.btcentralplus.com]
has joined #go-nuts
16:20 -!- sauerbraten [~sauerbrat@p508CF8EC.dip.t-dialin.net] has quit [Remote
host closed the connection]
16:20 -!- MaksimBurnin [~max@44.188-224-87.telenet.ru] has quit [Ping timeout: 240
seconds]
16:21 -!- sauerbraten [~sauerbrat@p508CF8EC.dip.t-dialin.net] has joined #go-nuts
16:36 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has joined
#go-nuts
16:37 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
16:38 -!- sauerbraten [~sauerbrat@p508CF8EC.dip.t-dialin.net] has quit [Remote
host closed the connection]
16:39 -!- sauerbraten [~sauerbrat@p508CF8EC.dip.t-dialin.net] has joined #go-nuts
16:40 -!- ucasano [~ucasano@151.54.199.220] has joined #go-nuts
16:44 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
16:45 -!- rbraley [~rbraley@ip72-204-243-89.ph.ph.cox.net] has quit [Read error:
Connection reset by peer]
16:46 -!- ucasano [~ucasano@151.54.199.220] has quit [Ping timeout: 240 seconds]
16:48 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
17:00 -!- rbraley [~rbraley@ip72-204-243-89.ph.ph.cox.net] has joined #go-nuts
17:19 -!- [noff] [~noff@136-156.79-83.cust.bluewin.ch] has quit [Ping timeout: 245
seconds]
17:20 -!- ucasano [~ucasano@151.82.145.144] has joined #go-nuts
17:23 -!- brad_ [~brad@cpe-098-026-123-011.nc.res.rr.com] has quit [Quit: leaving]
17:36 -!- Chopinnn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has joined #go-nuts
17:37 -!- Chopinnn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has quit [Read
error: Connection reset by peer]
17:51 -!- SoniaKeys [Alliebloom@c-24-91-112-191.hsd1.ma.comcast.net] has quit []
17:51 -!- ymasory_ [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has joined
#go-nuts
17:58 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Ping
timeout: 240 seconds]
18:01 -!- rbraley [~rbraley@ip72-204-243-89.ph.ph.cox.net] has quit [Read error:
Connection reset by peer]
18:02 -!- noam [noam@77.124.236.67] has quit [Read error: Connection reset by
peer]
18:02 -!- noam [noam@77.124.236.67] has joined #go-nuts
18:05 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
18:07 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
18:16 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has joined
#go-nuts
18:17 -!- ymasory_ [~ymasory@c-76-99-55-224.hsd1.pa.comcast.net] has quit [Quit:
Leaving]
18:21 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has joined #go-nuts
18:31 -!- dju_ [~dju@fsf/member/dju] has joined #go-nuts
18:32 -!- terrex [~terrex@84.122.72.127.dyn.user.ono.com] has quit [Quit:
Leaving.]
18:32 -!- dju [~dju@fsf/member/dju] has quit [Read error: Connection reset by
peer]
18:34 -!- Project-2501 [~Marvin@82.84.84.38] has joined #go-nuts
18:37 -!- Project_2501 [~Marvin@82.84.89.110] has quit [Ping timeout: 240 seconds]
18:41 -!- dju_ [~dju@fsf/member/dju] has quit [Quit: Quitte]
18:41 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit:
Leaving]
18:41 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has joined #go-nuts
18:44 -!- dju [dju@fsf/member/dju] has joined #go-nuts
18:46 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 276
seconds]
18:49 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded]
18:49 -!- dju [dju@fsf/member/dju] has joined #go-nuts
18:50 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
19:01 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 250
seconds]
19:04 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
19:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-224.clienti.tiscali.it] has
joined #go-nuts
19:06 -!- DerHorst [~Horst@e176118204.adsl.alicedsl.de] has quit [Remote host
closed the connection]
19:07 -!- Project-2501 [~Marvin@82.84.84.38] has quit [Ping timeout: 240 seconds]
19:16 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 265
seconds]
19:19 -!- Nitro [~Nitro@modemcable105.5-82-70.mc.videotron.ca] has quit [Quit:
Leaving]
19:22 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
19:28 -!- ucasano [~ucasano@151.82.145.144] has quit [Read error: Connection reset
by peer]
19:30 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has joined #go-nuts
19:35 -!- zozoR [~zozoR@56344bf6.rev.stofanet.dk] has quit [Ping timeout: 260
seconds]
19:41 -!- tav [~tav@92.7.92.103] has quit [Quit: tav]
19:47 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has joined #go-nuts
19:57 -!- ucasano [~ucasano@151.82.198.221] has joined #go-nuts
19:58 -!- dju [dju@fsf/member/dju] has quit [Quit: Quitte]
19:59 -!- dju [dju@fsf/member/dju] has joined #go-nuts
20:03 -!- dju [dju@fsf/member/dju] has quit [Max SendQ exceeded]
20:03 -!- dju [dju@fsf/member/dju] has joined #go-nuts
20:04 -!- drry_ [~drry@unaffiliated/drry] has quit [Quit: Tiarra 0.1+svn-38663M:
SIGTERM received; exit]
20:11 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
20:13 -!- rbraley [~rbraley@ip72-222-128-175.ph.ph.cox.net] has joined #go-nuts
20:14 -!- virtualsue [~chatzilla@93-97-62-8.zone5.bethere.co.uk] has quit [Ping
timeout: 265 seconds]
20:14 -!- noff [~noff@136-156.79-83.cust.bluewin.ch] has joined #go-nuts
20:18 -!- drry [~drry@unaffiliated/drry] has quit [Ping timeout: 276 seconds]
20:20 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Quit:
noktoborus_]
20:21 -!- ucasano [~ucasano@151.82.198.221] has quit [Quit: ucasano]
20:21 -!- coldturnip1 [~COLDTURNI@118-166-65-132.dynamic.hinet.net] has joined
#go-nuts
20:21 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
20:22 -!- illya77 [~illya77@2-81-133-95.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
20:23 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
20:24 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Remote
host closed the connection]
20:24 -!- coldturnip [~COLDTURNI@118-166-68-180.dynamic.hinet.net] has quit [Ping
timeout: 265 seconds]
20:33 -!- femtoo [~femto@95-89-197-196-dynip.superkabel.de] has quit [Read error:
Connection reset by peer]
20:33 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has joined #go-nuts
20:36 -!- tsykoduk [~tsykoduk@174-31-220-250.tukw.qwest.net] has quit [Ping
timeout: 265 seconds]
20:47 -!- tsykoduk [~tsykoduk@174-24-215-95.tukw.qwest.net] has joined #go-nuts
20:48 -!- virtualsue [~chatzilla@nat/cisco/x-xpjmuyrwnuurjsvq] has joined #go-nuts
20:53 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has joined #go-nuts
20:55 -!- tsykoduk [~tsykoduk@174-24-215-95.tukw.qwest.net] has quit [Ping
timeout: 264 seconds]
20:56 -!- tsykoduk [~tsykoduk@2002:ae1f:c951:0:20d:93ff:fe77:1dc4] has joined
#go-nuts
21:00 -!- jeff2 [~sername@c-98-210-113-215.hsd1.ca.comcast.net] has joined
#go-nuts
21:02 -!- tsykoduk [~tsykoduk@2002:ae1f:c951:0:20d:93ff:fe77:1dc4] has quit [Ping
timeout: 272 seconds]
21:05 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has joined #go-nuts
21:05 -!- DarthShrine [~angus@60-242-109-62.tpgi.com.au] has quit [Changing host]
21:05 -!- DarthShrine [~angus@pdpc/supporter/student/DarthShrine] has joined
#go-nuts
21:05 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
21:10 -!- drry [~drry@unaffiliated/drry] has quit [Read error: Connection reset by
peer]
21:13 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has quit [Remote host closed the connection]
21:15 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has joined #go-nuts
21:16 -!- niemeyer [~niemeyer@189.73.142.213] has quit [Ping timeout: 245 seconds]
21:25 -!- tensorpudding [~user@99.148.202.191] has joined #go-nuts
21:25 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
21:29 -!- tsykoduk [~tsykoduk@2002:ae18:db83:0:20d:93ff:fe77:1dc4] has joined
#go-nuts
21:30 -!- wrtp [~rog@92.17.92.116] has joined #go-nuts
21:31 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
21:33 -!- noam [noam@77.124.236.67] has quit [Read error: Connection reset by
peer]
21:34 -!- noam [noam@77.124.236.67] has joined #go-nuts
21:58 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Quit: So
Long, and Thanks for All the Fish]
22:04 -!- tav [~tav@92.7.92.103] has joined #go-nuts
22:04 -!- Chopinn [~Chopin@ti0018a380-dhcp1590.bb.online.no] has left #go-nuts
["Leaving"]
22:12 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
22:13 < plexdev> http://is.gd/izZXt by [Mikio Hara] in 3 subdirs of
go/src/pkg/ -- gofmt -s -w src
22:23 -!- dju_ [~dju@89-158-236-80.rev.dartybox.com] has joined #go-nuts
22:23 -!- dju_ [~dju@89-158-236-80.rev.dartybox.com] has quit [Changing host]
22:23 -!- dju_ [~dju@fsf/member/dju] has joined #go-nuts
22:25 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 255 seconds]
22:43 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-172-210.clienti.tiscali.it] has
joined #go-nuts
22:45 < jeff2> what is the best way to get a pointer to a method in an
object?
22:46 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-165-224.clienti.tiscali.it] has
quit [Ping timeout: 240 seconds]
22:46 < jeff2> I tried access obj.f, but 6g says it is not an expression and
must be called
22:47 < jeff2> so instead I had to do something inelegant like this: ptr =
func(arg int) (int) { return obj.f(arg)}
22:49 -!- Eridius [~kevin@unaffiliated/eridius] has joined #go-nuts
22:49 -!- eriko [~eriko@mail.familyolson.org] has joined #go-nuts
22:50 < cbeck> jeff2: Are you trying to get a pointer to a function with
arguments frozen?
22:50 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Read
error: Operation timed out]
22:51 < cbeck> Ahh, I see, never mind
22:51 < jeff2> cbeck: no, just the receiver
22:51 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Client Quit]
22:51 -!- dju__ [dju@fsf/member/dju] has joined #go-nuts
22:51 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
22:51 < cbeck> I don't believe there's a way to do that besides the one you
used atm
22:52 < jeff2> oh well
22:53 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Ping
timeout: 265 seconds]
22:54 -!- dju_ [~dju@fsf/member/dju] has quit [Ping timeout: 264 seconds]
22:55 < jeff2> would be nice if that syntax handled automatically creating
the closure
22:55 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined
#go-nuts
22:59 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
23:01 -!- zozoR [~zozoR@56346ed3.rev.stofanet.dk] has quit [Quit: Morten.  Desu~]
23:06 -!- dju [dju@88.191.131.112] has joined #go-nuts
23:06 -!- dju [dju@88.191.131.112] has quit [Changing host]
23:06 -!- dju [dju@fsf/member/dju] has joined #go-nuts
23:09 -!- dju [dju@fsf/member/dju] has quit [Client Quit]
23:09 -!- dju__ [dju@fsf/member/dju] has quit [Ping timeout: 272 seconds]
23:12 -!- niemeyer [~niemeyer@189.73.142.213] has joined #go-nuts
23:17 < nsf> I really hate Go's GC
23:17 < nsf> I've removed renaming stuff from gocode
23:17 < nsf> and guess what
23:17 < nsf> nothing..  it can still easily eat up to 500 megs
23:18 < Tonnerre> Java would laugh at 500mb
23:18 < nsf> I don't think that Java's GC is worse than Go's
23:29 -!- Scorchin [~Scorchin@host109-152-112-29.range109-152.btcentralplus.com]
has quit [Quit: Scorchin]
23:34 -!- drry [~drry@unaffiliated/drry] has joined #go-nuts
23:40 < napsy> I think Java GC is a "bit" sufisticated :-)
23:42 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
23:44 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-172-210.clienti.tiscali.it] has
quit [Quit: E se abbasso questa leva che succ...]
23:54 -!- antonkovalyov [~antonkova@adsl-75-18-220-88.dsl.pltn13.sbcglobal.net]
has quit [Remote host closed the connection]
23:55 -!- noktoborus_ [debian-tor@gateway/tor-sasl/noktoborus] has quit [Ping
timeout: 245 seconds]
23:57 -!- kanru [~kanru@61-228-158-122.dynamic.hinet.net] has joined #go-nuts
--- Log closed Sun Dec 12 00:00:01 2010