--- Log opened Sun Sep 04 00:00:24 2011
00:01 -!- wallerdev [~wallerdev@c-68-60-43-43.hsd1.mi.comcast.net] has quit [Quit:
wallerdev]
00:05 -!- Solak [~stijnw@cthia.xs4all.nl] has quit [Remote host closed the
connection]
00:11 -!- losehole [~Adium@140.109.98.187] has quit [Ping timeout: 258 seconds]
00:11 < xyproto> I have a simple program that runtime panics.  How can I
debug it?  With gdb?
00:11 < xyproto> (To learn debugging)
00:12 < xyproto> (with Go)
00:12 -!- adg [~nf@atka.wh3rd.net] has quit [Remote host closed the connection]
00:19 -!- nf [~nf@atka.wh3rd.net] has joined #go-nuts
00:19 -!- mode/#go-nuts [+o nf] by ChanServ
00:20 -!- deepfuture [~liuxing@42.49.120.24] has joined #go-nuts
00:22 < Namegduf> xyproto: Sure.  Just attach gdb to it, or start it in gdb
as you would a C program
00:26 -!- NiteRain [~NiteRain@c-98-254-236-21.hsd1.fl.comcast.net] has quit [Ping
timeout: 260 seconds]
00:34 -!- snits [~snits@174-17-112-218.phnx.qwest.net] has joined #go-nuts
00:49 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
00:50 -!- rm445 [rm445@pip.srcf.societies.cam.ac.uk] has joined #go-nuts
00:56 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 258 seconds]
01:02 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout:
260 seconds]
01:03 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
01:10 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
01:13 -!- tansell-laptop [~tansell@2001:44b8:3163:e500:221:6aff:fe8f:bb42] has
joined #go-nuts
01:16 -!- nekoh [~nekoh@dslb-178-004-074-134.pools.arcor-ip.net] has quit [Quit:
nekoh]
01:22 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 260 seconds]
01:34 -!- deepfuture [~liuxing@42.49.120.24] has quit [Ping timeout: 252 seconds]
01:40 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
01:40 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
01:44 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Client Quit]
02:00 -!- tsung [~jon@112.104.91.213] has quit [Read error: Connection reset by
peer]
02:03 -!- tsung [~jon@112.104.142.225] has joined #go-nuts
02:08 -!- tsung [~jon@112.104.142.225] has quit [Ping timeout: 264 seconds]
02:09 -!- tsung [~jon@175.180.141.57] has joined #go-nuts
02:09 -!- Ginto8 [~ginto8@pool-173-72-17-110.cmdnnj.fios.verizon.net] has quit
[Quit: Leaving]
02:17 -!- franciscosouza [~francisco@187.105.26.180] has quit [Read error:
Connection reset by peer]
02:19 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
02:29 -!- x44t [~xps@175.169.154.54] has joined #go-nuts
02:40 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts
02:47 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
02:48 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
02:51 -!- Argue [~Argue@112.201.172.5] has joined #go-nuts
02:58 -!- alexluya [~alexluya@111.186.5.36] has joined #go-nuts
03:06 < vsmatck> Why is a debugger needed in Go? Is it for people that use
unsafe a lot?
03:06 < vsmatck> My thinking is that for most abnormal Go program
terminations are panics which results in stack traces getting printed.
03:12 -!- alexluya [~alexluya@111.186.5.36] has quit [Quit: Leaving]
03:13 < Namegduf> vsmatck: Not all bugs are abnormal terminations.
03:14 < jessta> only the easy bugs result in a panic
03:14 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Quit:
Leaving.]
03:14 < vsmatck> Hm. Maybe I don't fully know what a debugger is.
03:15 < Namegduf> A debugger, or at least gdb, is a program which permits
you to stop your program's execution at arbitrary points in code, and step through
it line by line to see the route it takes, and inspect the state at the time.
03:15 < Namegduf> It is useful in general whenever your program is "doing
something wrong".
03:15 < Namegduf> Abnormal terminations are an example, but usually the
easiest example.
03:16 < vsmatck> Ah. I've heard visual studio can do that.  I've always used
print statements.
03:16 < Namegduf> Visual Studio has an integrated debugger, yes.
03:17 < vsmatck> I just mentioned visual studio to let you know I know what
you're talking about.  In my mind I hadn't labeled what visual studio can do as "a
debugger" for some reason.  I'll update my index.  heh
03:26 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts
03:35 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
03:38 -!- ttblrs [~hannes@order.stressinduktion.org] has quit [Ping timeout: 260
seconds]
03:45 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
03:46 < qeed> is there any good books or sources for learning how to think
concurrently?
03:48 -!- alexluya [~alexluya@111.186.5.36] has joined #go-nuts
03:48 -!- alexluya [~alexluya@111.186.5.36] has quit [Client Quit]
03:55 -!- niemeyer [~niemeyer@201-2-135-152.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
03:55 -!- xps [~xps@175.169.154.54] has joined #go-nuts
03:57 < angasule> there are a couple, but I'm not sure which one you should
read first (lame joke :D )
03:58 -!- xps [~xps@175.169.154.54] has quit [Client Quit]
04:00 -!- xps [~xps@175.169.154.54] has joined #go-nuts
04:02 -!- x44t [~xps@175.169.154.54] has quit [Quit: Leaving.]
04:15 -!- qeed [~qeed@adsl-74-235-197-221.mco.bellsouth.net] has quit [Quit:
Leaving]
04:26 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 240 seconds]
04:35 -!- Nisstyre [~yours@infocalypse-net.info] has joined #go-nuts
04:42 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 260 seconds]
04:49 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
04:52 -!- PJRobins [~kvirc@174-20-50-230.mpls.qwest.net] has quit [Quit: KVIrc
4.0.2 Insomnia http://www.kvirc.net/]
04:55 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
05:12 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts
05:19 -!- danrzeppa [~danrzeppa@cpe-66-61-15-236.neo.res.rr.com] has quit [Ping
timeout: 258 seconds]
05:19 -!- danrzeppa [~danrzeppa@cpe-66-61-15-236.neo.res.rr.com] has joined
#go-nuts
05:23 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
05:30 -!- x44t [~xps@175.169.154.54] has quit [Quit: leaving]
05:30 -!- xps [~xps@175.169.154.54] has joined #go-nuts
05:35 -!- tansell-laptop [~tansell@2001:44b8:3163:e500:221:6aff:fe8f:bb42] has
left #go-nuts ["Leaving"]
05:40 -!- maarten_r [~maarten_r@gateway/tor-sasl/maartenr/x-33337056] has quit
[Remote host closed the connection]
05:41 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has quit [Read error:
Connection reset by peer]
05:41 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has joined #go-nuts
05:41 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has quit [Read error:
Connection reset by peer]
05:44 -!- zanget [~zanget@hurf.durf.me] has quit [Quit: ZNC -
http://znc.sourceforge.net]
05:45 -!- zanget [~zanget@hurf.durf.me] has joined #go-nuts
05:45 -!- mindphaze [~void@2607:f358:1:fed5:22:0:bd62:7fa7] has quit [Quit: ZNC -
http://znc.in]
05:47 -!- franciscosouza [~francisco@187.105.26.180] has quit [Read error:
Connection reset by peer]
05:47 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
05:51 -!- zanget [~zanget@hurf.durf.me] has quit [Quit: ZNC -
http://znc.sourceforge.net]
05:53 -!- zanget [~zanget@hurf.durf.me] has joined #go-nuts
05:54 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping
timeout: 260 seconds]
05:57 -!- vmil86 [~vmil86@88.118.38.213] has joined #go-nuts
05:57 -!- zanget [~zanget@hurf.durf.me] has quit [Client Quit]
05:57 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host
closed the connection]
06:01 -!- zanget [~zanget@hurf.durf.me] has joined #go-nuts
06:02 -!- mindphaze [~void@2607:f358:1:fed5:22:0:bd62:7fa7] has joined #go-nuts
06:02 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit]
06:03 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
06:04 -!- maarten_r [~maarten_r@gateway/tor-sasl/maartenr/x-33337056] has joined
#go-nuts
06:08 -!- x44t [~xps@175.169.154.54] has left #go-nuts []
06:18 -!- magn3ts [~magn3ts@colemickens.unl.edu] has quit [Quit: Leaving]
06:21 < Argue> is there a convention for naming constants?
06:26 < zozoR> ALLCAPSMAN
06:27 < Argue> ok
06:28 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
06:30 < goraes> zozoR, not really?
06:30 < goraes> camelCaps / CamelCaps depending on visibility
06:31 < goraes> no const in standard packages uses ALLCAPS
06:32 < goraes> i lie.  found a const ARM_MAGIC_TRAMP_NUMBER
06:32 -!- maarten_r [~maarten_r@gateway/tor-sasl/maartenr/x-33337056] has quit
[Ping timeout: 245 seconds]
06:34 < Argue> hm
06:35 < Argue> should i revert back to camelcase then
06:35 < Argue> it's not really a major issue i just want to adhere to
convention
06:38 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
06:39 < zozoR> half the consts in pkg/os is allcaps
06:39 < zozoR> the other is camelcase
06:39 < goraes> std packages mostly use camelCase/CamelCase
06:39 < goraes> some places use APP_CAPS
06:39 < zozoR> :D
06:39 < goraes> *ALL_CAPS, with underscores
06:39 < zozoR> :3
06:40 < goraes> if it is public, use CamelCase
06:40 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer
has gone to sleep.]
06:43 <@adg> zozoR: pkg/os is a bad example
06:43 <@adg> zozoR: it inherits a lot of POSIX naming, which can be allcaps
06:44 <@adg> no need to be so shouty in most Go code
06:46 < zozoR> ^^
06:56 < goraes> this code: stream := cipher.NewCTR(block, iv);
stream.XORKeyStream(value, value)
06:56 < goraes> if block has, say, a nil key, it'll panic.  not something i
can check before.  a little annoying.
06:57 -!- maarten_r [~maarten_r@gateway/tor-sasl/maartenr/x-33337056] has joined
#go-nuts
06:57 -!- Chile` [~calva@c-76-21-112-88.hsd1.ca.comcast.net] has joined #go-nuts
07:00 -!- tjyang__ [~tjyang@c-67-175-235-146.hsd1.il.comcast.net] has joined
#go-nuts
07:00 -!- unCork[home] [Cork@h27n1c1o1042.bredband.skanova.com] has joined
#go-nuts
07:00 -!- Cork[home] [Cork@firefox/community/cork] has quit [Disconnected by
services]
07:01 -!- remy_o [~babar@archlinux/developer/remy-o] has joined #go-nuts
07:02 < zozoR> goraes, cant you just loop the key with range and check?
07:03 -!- tjyang_ [~tjyang@c-67-175-235-146.hsd1.il.comcast.net] has quit [Read
error: Connection reset by peer]
07:03 -!- goraes [~goraes@189.103.177.124] has quit [Ping timeout: 240 seconds]
07:03 -!- raylu [raylu@c-71-202-154-116.hsd1.ca.comcast.net] has joined #go-nuts
07:03 -!- Husio [husiatyn@oceanic.wsisiz.edu.pl] has quit [Ping timeout: 240
seconds]
07:03 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
07:04 -!- Husio [husiatyn@oceanic.wsisiz.edu.pl] has joined #go-nuts
07:11 -!- sl [none@sp.inri.net] has quit [Ping timeout: 252 seconds]
07:13 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 268 seconds]
07:13 -!- xps [~xps@175.169.154.54] has joined #go-nuts
07:13 < goraes> on the other hand it is coder's fault to use a borked block.
07:23 < jessta> goraes: that's why it's a panic
07:23 < goraes> yep.
07:24 < goraes> i wish i could avoid it.
07:24 < jessta> you can
07:25 < jessta> you avoid the panic by fixing the bug that is resulting in a
pnaic
07:25 < jessta> *panic
07:25 < goraes> hehe
07:25 < goraes> i mean, i wish my library could prevent the library user to
cause that panic.
07:26 < goraes> the only way is to not allow block to be set directly
07:26 < goraes> not a big deal
07:28 < jessta> you can't actually stop a stupid developer from writing code
that panics
07:31 < goraes> hehe
07:32 < goraes> not without try/catch!
07:32 * goraes hides
07:33 < str1ngs> panic/recover :P
07:33 < jessta> well, you can recover from the panic
07:33 < jessta> but what would you do?
07:36 < goraes> hm
07:36 < goraes> i have something to do in this case
07:36 < goraes> i guess i never used recover
07:36 < goraes> such a newbie
07:40 -!- henrykh [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined
#go-nuts
07:42 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:51 -!- Solak [~stijnw@cthia.xs4all.nl] has joined #go-nuts
07:55 -!- Project_2501 [~progettin@dynamic-adsl-94-36-168-83.clienti.tiscali.it]
has joined #go-nuts
07:58 -!- Project_2502 [~progettin@dynamic-adsl-94-36-148-239.clienti.tiscali.it]
has joined #go-nuts
07:58 -!- Project_2501 [~progettin@dynamic-adsl-94-36-168-83.clienti.tiscali.it]
has quit [Disconnected by services]
08:03 -!- alexluya [~alexluya@111.186.5.36] has joined #go-nuts
08:04 -!- alexluya [~alexluya@111.186.5.36] has quit [Client Quit]
08:04 -!- alexluya [~alexluya@111.186.5.36] has joined #go-nuts
08:05 < alexluya> client get empty json
08:05 < alexluya> import (
08:05 < alexluya> "json"
08:05 < alexluya> "http"
08:05 < alexluya> "fmt"
08:05 < alexluya> )
08:05 < alexluya> type Message struct {
08:05 < alexluya> symbol string
08:05 < alexluya> price float64
08:05 < alexluya> change float64
08:05 < alexluya> }
08:05 < alexluya> func handler(w http.ResponseWriter, r *http.Request) {
08:05 < alexluya> fmt.Println("Request from:"+r.Host)
08:05 < alexluya>
08:05 < alexluya> j, err := json.Marshal(&Message{"Alice", 234.13423,
23424234.2341234})
08:06 < alexluya> if err == nil {
08:06 < alexluya> w.Write (j)
08:06 < alexluya> }
08:06 < alexluya> }
08:06 < alexluya> func main() {
08:06 < alexluya> http.HandleFunc("/", handler)
08:06 < alexluya> http.ListenAndServe(":8080", nil)
08:06 < alexluya> }
08:06 < alexluya> can anybody help me point out problem here?
08:06 < str1ngs> alexluya: use a pastebin service please
08:06 < alexluya> Sorry,don't know that
08:07 < str1ngs> "fm
08:07 < str1ngs> is that right or did it get cut off
08:08 < alexluya> what do you mean?
08:08 < str1ngs> maybe repaste to pastebin and then tell use what error you
are getting
08:08 < alexluya> ok
08:14 < alexluya> http://pastebin.com/ktkwWjyV
08:15 < alexluya> first time to use it,It is like this?I mean paste there
and post url here
08:16 < str1ngs> yep thats good thanks
08:17 < goraes> yes.
08:17 < alexluya> thx
08:17 < goraes> it is because they are private fields
08:18 < goraes> json can't access private fields (like gob can't)
08:18 < str1ngs> yep
08:18 < goraes> use Symbol / Price etc
08:18 < str1ngs> also if err is nil its possible j could be nil also
08:19 < str1ngs> actually thats wrong ignore that
08:19 < alexluya> OO,stupid mistake
08:19 -!- henrykh [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Ping
timeout: 252 seconds]
08:20 < str1ngs> normally it goes like this if err != nil { ...  handle
error some how...  }
08:24 < alexluya> ok,I will do some modifications
08:25 < str1ngs> also not a big deal justa fyi
08:26 < str1ngs> fmt.Println("Request from:"+r.Host)
08:26 < str1ngs> can be written as fmt.Println("Request from:",r.Host)
08:32 -!- franciscosouza [~francisco@187.105.26.180] has quit [Read error:
Connection reset by peer]
08:32 < Argue> does a channel's buffer get consumed first before it gets
closed?
08:33 -!- franciscosouza [~francisco@187.105.26.180] has joined #go-nuts
08:36 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
08:37 < alexluya> worked,thx you guys
08:38 < vsmatck> At 45min talk about productivity and static/dynamic typing.
This is not a Go talk.  http://www.infoq.com/presentations/Automation-DSL
08:39 -!- goraes [~goraes@189.103.177.124] has quit [Quit: Leaving]
08:39 < vsmatck> I think there's probably a person or two in here that would
enjoy.  :)
08:40 -!- henrykh [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined
#go-nuts
08:41 -!- photron [~photron@port-92-201-50-182.dynamic.qsc.de] has joined #go-nuts
08:42 -!- meling [~meling@134.81-167-41.customer.lyse.net] has quit [Remote host
closed the connection]
08:42 -!- alexluya [~alexluya@111.186.5.36] has quit [Quit: Leaving]
08:49 -!- ShadowIce`
[~pyoro@HSI-KBW-109-193-121-123.hsi7.kabel-badenwuerttemberg.de] has joined
#go-nuts
08:49 -!- ShadowIce`
[~pyoro@HSI-KBW-109-193-121-123.hsi7.kabel-badenwuerttemberg.de] has quit
[Changing host]
08:49 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
08:50 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Read error:
Connection reset by peer]
09:07 < jessta> vsmatck: yeah, I saw that.  He seems like someone that would
really like Go
09:08 -!- yogib [~yogib@dslb-178-009-020-204.pools.arcor-ip.net] has joined
#go-nuts
09:08 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
09:12 -!- Project_2501 [~progettin@dynamic-adsl-94-36-178-133.clienti.tiscali.it]
has joined #go-nuts
09:14 -!- Project_2502 [~progettin@dynamic-adsl-94-36-148-239.clienti.tiscali.it]
has quit [Read error: Operation timed out]
09:22 -!- infynyxx [~infynyxx@cpe-24-90-223-14.nyc.res.rr.com] has quit [Quit:
infynyxx]
09:25 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
09:27 -!- smw [~stephen@unaffiliated/smw] has quit [Client Quit]
09:30 -!- henrykh [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Quit:
Page closed]
09:33 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has joined
#go-nuts
09:37 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
09:43 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts
09:46 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
09:55 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has joined #go-nuts
10:03 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
10:09 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
10:09 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Client Quit]
10:16 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
10:20 -!- napsy [~luka@tm.213.143.73.175.lc.telemach.net] has quit [Ping timeout:
246 seconds]
10:37 -!- huin [~huin@91.85.139.164] has joined #go-nuts
10:47 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
10:49 -!- avelino_ [~avelino@189.120.233.230] has joined #go-nuts
10:52 -!- avelino [~avelino@unaffiliated/avelino] has quit [Ping timeout: 260
seconds]
10:53 -!- Solak [~stijnw@cthia.xs4all.nl] has quit [Remote host closed the
connection]
11:14 -!- deepfuture [~liuxing@42.49.119.75] has joined #go-nuts
11:17 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 260 seconds]
11:20 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
11:20 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
11:32 -!- nekoh [~nekoh@dslb-178-004-078-040.pools.arcor-ip.net] has joined
#go-nuts
11:33 < goraes> go'od morning.
11:36 < zozoR> go morning()
11:38 -!- deepfuture [~liuxing@42.49.119.75] has quit [Remote host closed the
connection]
11:46 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
11:46 -!- franciscosouza [~francisco@187.105.26.180] has quit [Read error:
Connection reset by peer]
11:50 -!- xcombelle [~xcombelle@AToulouse-551-1-147-120.w109-214.abo.wanadoo.fr]
has joined #go-nuts
11:57 -!- ronnyy [~quassel@p4FF1C781.dip0.t-ipconnect.de] has joined #go-nuts
11:57 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
11:59 -!- xps [~xps@175.169.154.54] has quit [Quit: Lost terminal]
12:00 -!- xcombelle [~xcombelle@AToulouse-551-1-147-120.w109-214.abo.wanadoo.fr]
has quit [Ping timeout: 252 seconds]
12:22 < goraes> had to rewrite it yesterday because left my machine 100km
away: http://goo.gl/d5uW7
12:22 < goraes> but duuude, it's becoming sweet!
12:25 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has joined #go-nuts
12:28 < goraes> next is forms.
12:30 -!- ronnyy [~quassel@p4FF1C781.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
12:34 -!- NiteRain [~NiteRain@c-98-254-236-21.hsd1.fl.comcast.net] has joined
#go-nuts
12:36 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has quit [Ping timeout: 264
seconds]
12:37 -!- Adys [~Adys@unaffiliated/adys] has quit [Read error: Connection reset by
peer]
12:39 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has
joined #go-nuts
12:40 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
12:48 < goraes> "If a lib author uses panic when an error is recoverable
that is a bug."
12:52 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has quit [Ping timeout: 276 seconds]
12:53 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Ping timeout: 245 seconds]
12:54 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined
#go-nuts
13:07 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
13:13 -!- Cork[home] [Cork@h27n1c1o1042.bredband.skanova.com] has quit [Changing
host]
13:13 -!- Cork[home] [Cork@firefox/community/cork] has joined #go-nuts
13:14 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Ping timeout: 245 seconds]
13:18 -!- Solak [~stijnw@cthia.xs4all.nl] has joined #go-nuts
13:19 -!- ttblrs [~hannes@order.stressinduktion.org] has joined #go-nuts
13:19 -!- Solak [~stijnw@cthia.xs4all.nl] has left #go-nuts []
13:20 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
13:26 -!- huin [~huin@91.85.139.164] has quit [Quit: leaving]
13:28 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
13:28 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
13:28 -!- napsy [~luka@88.200.96.18] has quit [Read error: Connection reset by
peer]
13:29 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
13:31 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
13:31 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
13:33 -!- replore [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
13:34 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
13:35 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
13:35 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
13:37 -!- scyth [~scyth@rots.in.rs] has joined #go-nuts
13:38 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
13:44 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
13:52 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
13:52 < Sh4rK> nsf: it works
13:52 < Sh4rK> although it's far from proper conversion
13:52 < Sh4rK> :P
13:52 < nsf> :)
13:52 < nsf> good
13:53 < Sh4rK> I actually don't do what you wrote
13:53 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
13:53 < Sh4rK> to replace the Client_ ones with Server_ ones
13:53 < Sh4rK> I create an autocompletecontext
13:53 < Sh4rK> and use its methods directly
13:53 < nsf> well, as you wish
13:54 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
13:54 < Sh4rK> the Server_ ones didn't work as it needed some parts of the
server
13:54 < Sh4rK> which didn't exist
13:54 < nsf> you need to initialize it, yes
13:55 < nsf> remove all the sockets stuff
13:55 < nsf> and leave autocompletecontext basically
13:55 < nsf> but you use it directly
13:55 < nsf> that will work too
13:55 < Sh4rK> yeah
13:55 -!- qeed [~qeed@adsl-98-85-47-71.mco.bellsouth.net] has joined #go-nuts
13:55 < Sh4rK> If I came up with a good idea to do it, can it be merged
back?
13:55 < Sh4rK> maybe a separate build target
13:56 < Sh4rK> gomake standalone
13:56 < nsf> nah, I don't think so
13:56 < nsf> I would like to keep the clinet/server thing
13:56 < nsf> it just needs to be fixed on windows
13:56 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts
13:57 < nsf> I'll do it someday, I'm sure
13:57 < Sh4rK> well if you can figure out, ok
13:57 < nsf> it's that just windows is the lowest priority ever for me :)
13:57 < nsf> I don't like it and I don't use it much
13:58 -!- avelino_ [~avelino@189.120.233.230] has quit [Ping timeout: 245 seconds]
14:00 < Sh4rK> It's quite usable this way too
14:00 < Sh4rK> not slow
14:01 < nsf> yes, I know
14:01 < nsf> I find myself being ok with ccode autocompletion time in C++
14:01 < nsf> it's 1-2 seconds
14:01 < nsf> sometimes more
14:01 < nsf> :D
14:01 < nsf> ccode is the same as gocode but for C/C++
14:01 < Sh4rK> yeah
14:01 < nsf> that thing won't work on windows for sure
14:02 < Sh4rK> I noticed it
14:02 < Sh4rK> I'm also interested in krawl
14:03 < nsf> I'm not, anymore :D
14:03 < Sh4rK> :(
14:03 < nsf> it was an interesting experience though
14:04 < nsf> semantic analysis, llvm assembly generation and all that
14:04 < nsf> I learned that semantic analysis for simple language like this
take fractions of a second
14:04 < nsf> 10-30ms max
14:05 < nsf> well, for average size apps
14:05 < nsf> when code generation is an actual slow part
14:05 < nsf> I guess it could be fast
14:05 < nsf> eh, whatever
14:06 < Sh4rK> I want to write a language like krawl/go targetting AVR
14:06 < nsf> I would use C for that
14:06 < Sh4rK> I'm using c for that
14:06 < Sh4rK> bu I don't like C much
14:06 < Sh4rK> but
14:06 < Sh4rK> *
14:06 < Sh4rK> so more like krawl
14:07 < Sh4rK> without gc, reflection
14:07 < Sh4rK> so mostly the go syntax, the type system and interfaces
14:07 < nsf> interfaces are hard to implement without GC
14:07 < nsf> and without reflection
14:08 < nsf> :)
14:08 < Sh4rK> compile time interfaces :D
14:08 < nsf> it's easier but you still need a GC
14:08 < Sh4rK> no that doesn't make sense
14:08 < Sh4rK> then maybe no interfaces
14:08 < Sh4rK> I'll see
14:09 < Sh4rK> I was actually thinking how could I write a gc that can work
with 256 byte ram :P
14:09 < nsf> :D
14:09 < nsf> for such a tiny amount of memory who needs a GC?
14:10 < Sh4rK> just for fun :P
14:10 < nsf> you can manage every byte manually :D
14:10 < Sh4rK> yeah :P
14:10 < Sh4rK> actually it can be bigger
14:10 < Sh4rK> mine has 1K
14:11 < Sh4rK> but that 1k is the ram and the stack too
14:11 < nsf> well, google for early lisp implementations, lisp was invented
long time ago and had a GC at some point
14:11 < nsf> I guess memory capacities were about the same
14:11 < Sh4rK> the only thing is that it needs to store type information too
14:12 < Sh4rK> which wastes additional space
14:12 < nsf> I don't think you have place for type information
14:12 < nsf> in such a tiny space
14:12 < nsf> :)
14:12 < Sh4rK> yeah
14:12 < Sh4rK> so probably it wouldn't be such useful :D
14:13 < nsf> forget about AVR, buy an ARM cpu
14:13 < nsf> they're chip as well
14:13 < nsf> much more stuff in it
14:13 < nsf> more processing power, more memory
14:13 < nsf> and Go works there
14:13 < nsf> :D
14:14 < nsf> cheap*
14:14 < Sh4rK> without an OS?
14:14 < nsf> go can work without an OS
14:14 < nsf> there was a "tiny" runtime project in Go for some time
14:14 < Sh4rK> wow
14:14 < Sh4rK> cool
14:14 < nsf> a minimalistic Go runtime that works directly on hardware
14:15 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has quit [Ping timeout:
258 seconds]
14:16 < nsf> I'm not sure if the project is still alive though
14:16 < nsf> but it is possible to make one
14:16 < nsf> :D
14:18 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has joined #go-nuts
14:18 < Sh4rK> arm has conditional instructions
14:18 < Sh4rK> :)
14:26 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has joined #go-nuts
14:28 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has quit [Quit: This
computer has gone to sleep]
14:30 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts
14:45 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Quit: I'm out]
14:46 -!- goraes [~goraes@189.103.177.124] has quit [Quit: Leaving]
14:46 -!- trn [~trn@adsl-065-007-181-160.sip.bct.bellsouth.net] has quit [Excess
Flood]
14:47 -!- trn [~trn@adsl-065-007-181-160.sip.bct.bellsouth.net] has joined
#go-nuts
14:56 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has joined #go-nuts
14:59 -!- segy [~segfault@pdpc/supporter/active/segy] has quit [Read error:
Operation timed out]
15:12 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined
#go-nuts
15:15 -!- avelino [~avelino@unaffiliated/avelino] has quit [Ping timeout: 264
seconds]
15:17 -!- henrykh [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined
#go-nuts
15:20 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
15:21 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has quit [Remote host closed the connection]
15:29 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has joined #go-nuts
15:29 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Ping timeout:
245 seconds]
15:30 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has quit [Remote host closed the connection]
15:34 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has joined #go-nuts
15:38 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has quit [Ping timeout:
260 seconds]
15:46 -!- KBme [~KBme@2001:470:cabe:666:666:666:666:666] has joined #go-nuts
15:48 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has joined
#go-nuts
15:49 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has quit [Quit:
Leaving.]
15:57 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts
16:00 -!- segy [~segfault@pdpc/supporter/active/segy] has joined #go-nuts
16:02 -!- valentin_ [~valentin@85-170-19-98.rev.numericable.fr] has joined
#go-nuts
16:10 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
16:10 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has quit [Remote host
closed the connection]
16:27 -!- avelino [~avelino@unaffiliated/avelino] has joined #go-nuts
16:28 -!- TheMue [~FMueller@p5DDF4C8A.dip.t-dialin.net] has joined #go-nuts
16:28 -!- rcrowley [~rcrowley@c-71-202-44-233.hsd1.ca.comcast.net] has quit [Quit:
Computer has gone to sleep.]
16:32 -!- Ginto8 [~ginto8@pool-173-72-17-110.cmdnnj.fios.verizon.net] has joined
#go-nuts
16:39 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
16:49 -!- nekoh [~nekoh@dslb-178-004-078-040.pools.arcor-ip.net] has quit [Quit:
nekoh]
16:52 -!- meling [~meling@134.81-167-41.customer.lyse.net] has joined #go-nuts
16:54 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
16:58 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:00 -!- nekoh [~nekoh@dslb-178-004-078-040.pools.arcor-ip.net] has joined
#go-nuts
17:02 -!- niemeyer [~niemeyer@201-2-135-152.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
17:08 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Ping
timeout: 252 seconds]
17:11 -!- Argue [~Argue@112.201.172.5] has quit [Quit: Leaving]
17:22 -!- iXeno [~ixeno@106.80-203-229.nextgentel.com] has joined #go-nuts
17:22 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
17:25 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has joined #go-nuts
17:25 -!- avelino [~avelino@unaffiliated/avelino] has quit [Remote host closed the
connection]
17:25 < Sh4rK> nsf: I made a fork and added serverless
17:26 < Sh4rK> are you sure you don't want to merge?
17:26 < Sh4rK> :D
17:26 < nsf> yes
17:26 < zozoR> in soviet russia, nsf merges you :D
17:27 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has quit [Ping timeout: 245
seconds]
17:30 < nsf> but
17:30 < nsf> I like some of the changes you did
17:30 < nsf> format.go is a good idea
17:31 < nsf> but I guess applying them now will only make things more
complicated
17:32 < nsf> argh, let's see what's wrong on windows
17:32 < nsf> brb
17:32 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
17:33 -!- replore [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
17:33 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
17:34 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Read error:
Connection reset by peer]
17:34 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has joined #go-nuts
17:35 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
17:35 -!- tmp_usr [~tmp_usr@c213-100-100-241.swipnet.se] has quit [Client Quit]
17:38 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has joined #go-nuts
17:38 < Sh4rK> nsf: I tried many things
17:38 < nsf> then I'll try few more
17:38 < nsf> :D
17:38 < Sh4rK> including modifying syscall.StartProcess to not make handles
for the childs stdout/err/in
17:38 < Sh4rK> and to not inherit handles
17:39 < Sh4rK> adn
17:39 < Sh4rK> *and
17:39 < Sh4rK> if gocode is fast enough without server
17:39 < Sh4rK> why do you need a client-server model?
17:40 < nsf> because it's nice
17:40 < Sh4rK> :)
17:40 < Sh4rK> single process is nice too
17:40 < nsf> I don't like "fast enough" for this area
17:40 < nsf> it should be as fast as possible
17:41 < nsf> "single process" sounds so DOSish
17:41 < nsf> :D
17:41 < Sh4rK> but
17:41 < Sh4rK> for example
17:41 < Sh4rK> if you use gocode
17:41 < Sh4rK> and then not
17:41 < Sh4rK> the server remains running
17:41 < Sh4rK> thus wasting CPU time :P
17:41 < nsf> I haven't implemented autoshutdown in gocode, ccode has that
for example
17:42 < nsf> works just fine
17:42 < nsf> it doesn't waste CPU at all
17:42 < nsf> memory - yes
17:42 < Sh4rK> yeah
17:42 < nsf> but CPU no, it's blocked in accept syscall
17:42 < Sh4rK> oh
17:42 < Sh4rK> ok
17:43 -!- replore_ [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
17:44 < nsf> and I'm very curious why it doesn't work
17:44 < nsf> :D
17:46 -!- sl [none@sp.inri.net] has joined #go-nuts
17:46 < Ginto8> is there a a way to make the garbage collector execute a
special function when it reclaims memory of a certain type?
17:51 -!- valentin_ [~valentin@85-170-19-98.rev.numericable.fr] has quit [Remote
host closed the connection]
17:51 -!- goraes [~goraes@189.103.177.124] has joined #go-nuts
17:51 < nsf> Ginto8: check out runtime.SetFinalizer
17:51 < nsf> maybe it will work
17:51 < nsf> if not, then nothing will work
17:51 < nsf> :)
17:57 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has joined #go-nuts
17:57 -!- GeertJohan [~Squarc@ip4da06866.direct-adsl.nl] has quit [Client Quit]
17:58 < Ginto8> nsf, it works yay :D thanks
18:09 -!- replore_ [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
18:10 -!- robteix [~robteix@ec2-174-129-247-164.compute-1.amazonaws.com] has quit
[Quit: Coyote finally caught me]
18:10 -!- robteix [~robteix@ec2-174-129-247-164.compute-1.amazonaws.com] has
joined #go-nuts
18:11 < Sh4rK> nsf: any progress?
18:11 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has joined #go-nuts
18:12 < nsf> Sh4rK: I'm installing cygwin
18:12 < Sh4rK> why?
18:12 < nsf> how else can I compile Go?
18:12 < Sh4rK> mingw
18:13 < Sh4rK> and msys
18:13 < nsf> it's too late
18:13 < nsf> :D
18:13 < Sh4rK> but if you compile with cygwin
18:13 < Sh4rK> it isn't actually windows
18:13 < nsf> fuck, ok
18:13 < nsf> installing mingw
18:14 < Sh4rK>
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get/mingw-get-0.3-alpha-2.1/mingw-get-0.3-mingw32-alpha-2.1-bin.zip/download
18:14 < Sh4rK> use this to install
18:14 < Sh4rK> this gets the latest versions
18:14 < Sh4rK> it's like apt-get
18:15 < qeed> is there a way of making a channel that retains its input
until it updates?  like <-c will keep outputting the same thing until the
channel is updated?  c<-new_val
18:15 < Sh4rK> qeed: I don't think so
18:16 < Sh4rK> is it a buffered channel?
18:16 < qeed> no but i can make it one will that allow it?
18:17 < Sh4rK> wait
18:17 < Sh4rK> I'll look in docs
18:17 -!- ericvh [~Adium@cpe-72-177-122-77.austin.res.rr.com] has joined #go-nuts
18:17 < Sh4rK> directly surely no
18:18 < qeed> ok so if i want to send the same info to multiple goroutines
how should i do it
18:19 < Sh4rK> have a slice of channels
18:19 < Sh4rK> I think
18:20 -!- lmnop1 [none@50-44-67-1.bltn.il.frontiernet.net] has joined #go-nuts
18:20 -!- lmnop [none@50-44-67-1.bltn.il.frontiernet.net] has quit [Quit:
Leaving.]
18:20 < |Craig|> qeed: sounds like a job for a variable with a read write
mutex
18:23 < nsf> Sh4rK: also don't expect results soon
18:23 < nsf> it'll take few days probably anyway
18:23 < Sh4rK> ok
18:24 < Sh4rK> I'm ok with my creation now :P
18:24 < Sh4rK> qeed, |Craig| : what do you think of this:
http://pastebin.com/chiT5GBk
18:25 < Sh4rK> before using any of it you must put a value into the channel
18:25 < nsf> and I really, really hate windows
18:25 < Sh4rK> lol
18:25 < Sh4rK> nsf: what do you us normally?
18:25 < Sh4rK> *use
18:25 < Sh4rK> OSX?
18:25 < nsf> linux
18:26 < Sh4rK> cool
18:26 < nsf> I don't really like OSX as well
18:26 < Sh4rK> then you're a good guy :P
18:26 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts
18:26 < Sh4rK> but then you could actually cross-compile go
18:26 < nsf> I could
18:26 < Sh4rK> maybe it would be even easier
18:26 < Sh4rK> what distro?
18:26 < nsf> I'm actually typing from an archlinux netbook now
18:27 < nsf> archlinux
18:27 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined #go-nuts
18:27 < nsf> :)
18:27 < Sh4rK> http://www.archlinux.org/packages/community/i686/mingw32-gcc/
18:27 < nsf> yeah, I know
18:27 < Sh4rK> archlinux is the best :D
18:27 < nsf> but I don't think it would be that easy
18:27 -!- lebel [~lebel@2001:470:1f11:af1:224:8cff:fe8c:97fe] has joined #go-nuts
18:27 < nsf> :D
18:28 < Sh4rK> I think it would work with CC=i686-mingw32-gcc
18:28 < Sh4rK> or whatever it's name is
18:29 < nsf> I'll make it work natively
18:29 < Sh4rK> ok
18:29 < lebel> so, is spot the new name for go, or an whole new language
from google?
18:29 < NfNitLoop> Hmm.  I've got questions about the golang hg repo.  I was
having some trouble getting it compiled on OSX (which I've since resolved thanks
to some googling)...
18:29 < Sh4rK> as there's no information on it
18:29 < Sh4rK> we don't know :P
18:30 < NfNitLoop> but (maybe because I'm an hg newbie and keep trying to
think about it in terms of git) I'm having a hard time figuring out whether a
particular fix (ex: d292bc788668) has been merged back into the "default" branch.
18:30 < NfNitLoop> It *looks* like it's only available in
release-branch.r58.  But .r59 works too.  :)
18:31 < NfNitLoop> I run hg log -r "d292bc788668:: and head()"
18:31 < NfNitLoop> to see which branches it's in, and it seems to be just in
that one.
18:31 < NfNitLoop> Am I missing something?  :)
18:31 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has quit [Quit: This
computer has gone to sleep]
18:32 < Sh4rK> NfNitLoop: I only know how to clone something in mercurial
18:32 < Sh4rK> so I'm not your man :P
18:32 < NfNitLoop> 'k.
18:32 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has quit
[Quit: Leaving...]
18:33 < NfNitLoop> I looked at hg a long while back, but we ended up going
with git at work, so I forgot everything I'd learned.  :p
18:33 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Ping
timeout: 252 seconds]
18:35 < NfNitLoop> ah, I see 142f0bc0d6e7 with a very similar commit
message.  I guess it was just patched in, not merged.
18:38 < NfNitLoop> Nevermind!  :)
18:45 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has quit [Ping timeout: 258
seconds]
18:45 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has joined #go-nuts
18:55 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 268
seconds]
18:57 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
19:01 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has joined #go-nuts
19:06 -!- Niedar [~dgdfg@host-173-230-2-133.vanodod.clients.pavlovmedia.com] has
quit [Remote host closed the connection]
19:07 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
19:10 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has
joined #go-nuts
19:10 -!- Netsplit *.net <-> *.split quits: xulfer, fluffle, prudhvi, Xenith
19:13 -!- Netsplit over, joins: fluffle
19:16 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
19:20 -!- xulfer [~xulfer@ipv6.cheapbsd.net] has joined #go-nuts
19:20 -!- Xenith [~xenith@xenith.org] has joined #go-nuts
19:20 -!- prudhvi [~supr@look.ma.i.am.on.ipv6.at.prudhvi.de] has joined #go-nuts
19:25 -!- tvw [~tv@e176007047.adsl.alicedsl.de] has joined #go-nuts
19:31 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has joined
#go-nuts
19:32 -!- alehorst [~alehorst@189.58.26.62.dynamic.adsl.gvt.net.br] has quit [Ping
timeout: 245 seconds]
19:33 -!- alehorst [~alehorst@189.114.234.61.dynamic.adsl.gvt.net.br] has joined
#go-nuts
19:40 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has quit [Ping timeout:
260 seconds]
19:42 -!- tvw [~tv@e176007047.adsl.alicedsl.de] has quit [Remote host closed the
connection]
19:54 -!- xcombelle [~xcombelle@AToulouse-551-1-147-235.w109-214.abo.wanadoo.fr]
has quit [Quit: I am a manual virus, please copy me to your quit message.]
19:55 < TheMue> hmm, strange: x, ok := <-ch blocks.  wonder why.
19:56 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has joined #go-nuts
19:56 < str1ngs> all request to channels block unless they are in a select
19:57 < TheMue> ah, this reminds me, yes, thx
19:58 < str1ngs> np
19:58 < TheMue> funnily docs for receive say that ok shows if channel is
closed or empty
19:58 < Namegduf> Closed or not, yes.
19:58 < Namegduf> It was a change done a while ago.
19:59 < nsf> even buffered blocks now?
20:00 < nsf> ah, wait, buffered doesn't block if you send an item into it
20:00 < nsf> interesting
20:00 < nsf> :D
20:00 -!- Project_2502 [~progettin@dynamic-adsl-94-36-148-185.clienti.tiscali.it]
has joined #go-nuts
20:00 -!- Project_2501 [~progettin@dynamic-adsl-94-36-178-133.clienti.tiscali.it]
has quit [Disconnected by services]
20:03 < goraes> aw.  my test was passing once, then failing next.  i made a
loop and in 100 runs, it passed 70%.  :P
20:04 < goraes> then discovered that sometimes the hash containing a
character that i was using as delimiter
20:04 < goraes> *contained
20:04 < zeebo> oops
20:05 < goraes> bummer.
20:05 < zeebo> at least the test caught it
20:07 < goraes> heh, it seemed random.  an average of 30% would fail.
20:07 -!- miker2 [~miker2@pool-71-175-94-30.phlapa.fios.verizon.net] has quit
[Quit: Computer has gone to sleep.]
20:09 -!- tsung [~jon@175.180.141.57] has quit [Ping timeout: 240 seconds]
20:10 -!- remy_o [~babar@archlinux/developer/remy-o] has quit [Ping timeout: 258
seconds]
20:11 -!- remy_tel [~remy_tel@89.95.59.132] has joined #go-nuts
20:11 -!- tsung [~jon@112.104.89.101] has joined #go-nuts
20:12 -!- __lucio__ [~lucio@190.246.72.114] has quit [Remote host closed the
connection]
20:17 -!- maarten_r [~maarten_r@gateway/tor-sasl/maartenr/x-33337056] has quit []
20:21 -!- sebastianskejoe [~sebastian@56345e14.rev.stofanet.dk] has quit [Quit:
Lost terminal]
20:23 -!- vmil86 [~vmil86@88.118.38.213] has quit [Ping timeout: 268 seconds]
20:26 -!- mavar [~mavar@81-226-52-85-no179.tbcn.telia.com] has quit [Ping timeout:
245 seconds]
20:27 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has quit
[Quit: Leaving...]
20:31 -!- wallerdev [~wallerdev@72.44.102.30] has joined #go-nuts
20:34 -!- Chat3116 [ueikoe@app3.chatmosphere.org] has joined #go-nuts
20:35 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed
the connection]
20:35 < Chat3116> hello?
20:35 -!- Chat3116 [ueikoe@app3.chatmosphere.org] has quit [Client Quit]
20:36 -!- remy_tel [~remy_tel@89.95.59.132] has quit [Remote host closed the
connection]
20:37 -!- vmil86 [~vmil86@88.118.38.213] has joined #go-nuts
20:40 < goraes> hm.
20:46 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has joined #go-nuts
20:46 < Sh4rK> hm?
20:49 -!- jcw4 [~jcw4@c-24-20-104-99.hsd1.wa.comcast.net] has joined #go-nuts
20:52 < goraes> dude says hello?  then goes away.
20:53 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has joined #go-nuts
20:58 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has
joined #go-nuts
20:59 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
21:01 -!- hargettp [~hargettp@pool-71-184-184-48.bstnma.east.verizon.net] has quit
[Client Quit]
21:02 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has joined #go-nuts
21:02 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:05 < zeebo> no one answered.
21:05 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
21:12 -!- pyrhho [~pyrhho@027bf849.bb.sky.com] has quit [Ping timeout: 264
seconds]
21:12 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has quit [Read error:
Connection reset by peer]
21:13 -!- tux21b [~christoph@cpe90-146-162-55.liwest.at] has joined #go-nuts
21:16 -!- Fish- [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5]
21:18 -!- jajamana [~jcb@cm-84.209.210.27.getinternet.no] has left #go-nuts
["Leaving"]
21:21 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
21:21 -!- photron [~photron@port-92-201-50-182.dynamic.qsc.de] has quit [Ping
timeout: 276 seconds]
21:23 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
21:25 < goraes> do you think people abuse interface{}?
21:26 < goraes> like func foo(vars ...interface{}) <-- like python's
*args
21:26 < goraes> :P
21:26 < goraes> for some reason i feel that when i use interface{} i'm being
hacky.
21:26 < Sh4rK> I don't use it
21:27 < Sh4rK> I think in myself that it slows down things :)
21:28 < goraes> does it?
21:29 -!- TheMue [~FMueller@p5DDF4C8A.dip.t-dialin.net] has quit [Quit: leaving]
21:29 < goraes> when i think "it slows down things i also think 'but hey, i
could be using python, so forget performa
21:29 < goraes> *nce
21:34 < Sh4rK> lol
21:35 < Sh4rK> it certainly slows things down, but I don't know how much
21:35 < Sh4rK> maybe it's unnoticable
21:35 -!- Sh4rK [sh4rk@4d6f4e3d.adsl.enternet.hu] has quit [Quit: I'm out]
21:37 < hnry> Using interface{} hasn't caused any noticeable performance
decrease for me so far.
21:39 < smw> using interface{} defeats many of the benifits of static types
21:40 < goraes> yeah.
21:43 < goraes> i'm using map[string]interface{} for session values.
21:46 < goraes> never questioned this type.  need to think a bit.
21:49 -!- nu7hatch [~nu7hatch@r190-134-24-155.dialup.adsl.anteldata.net.uy] has
joined #go-nuts
21:55 -!- ursul_polar [~dgt@93-97-5-212.zone5.bethere.co.uk] has joined #go-nuts
21:56 -!- ursul_polar [~dgt@93-97-5-212.zone5.bethere.co.uk] has quit [Client
Quit]
21:57 -!- replore_ [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
21:58 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
21:59 -!- meling_ [~meling@134.81-167-41.customer.lyse.net] has joined #go-nuts
21:59 -!- meling [~meling@134.81-167-41.customer.lyse.net] has quit [Read error:
Connection reset by peer]
22:00 -!- meling_ [~meling@134.81-167-41.customer.lyse.net] has quit [Read error:
Connection reset by peer]
22:01 -!- meling [~meling@134.81-167-41.customer.lyse.net] has joined #go-nuts
22:06 -!- scyth [~scyth@rots.in.rs] has quit [Quit: Leaving]
22:08 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping
timeout: 264 seconds]
22:12 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #go-nuts
22:13 -!- hnry [50dd1f0f@gateway/web/freenode/ip.80.221.31.15] has quit [Ping
timeout: 252 seconds]
22:17 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping
timeout: 252 seconds]
22:19 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has joined
#go-nuts
22:20 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
quit [Quit: ChatZilla 0.9.87 [Firefox 6.0.1/20110830092941]]
22:21 -!- ShadowIce` [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
22:35 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has quit [Ping timeout:
245 seconds]
22:36 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
22:38 -!- replore_ [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit
[Remote host closed the connection]
22:39 -!- tvw [~tv@e176007047.adsl.alicedsl.de] has joined #go-nuts
22:39 -!- vmil86 [~vmil86@88.118.38.213] has quit [Read error: Connection reset by
peer]
22:43 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 260 seconds]
22:45 -!- alkos333 [~alkos333@adsl-99-69-124-13.dsl.chcgil.sbcglobal.net] has
joined #go-nuts
22:52 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has quit [Remote host
closed the connection]
22:52 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
22:53 -!- goraes [~goraes@189.103.177.124] has quit [Remote host closed the
connection]
22:56 -!- aat [~aat@cpe-72-225-174-173.nyc.res.rr.com] has quit [Quit: Computer
has gone to sleep.]
23:03 -!- Niedar [~dgdfg@host-173-230-2-133.vanodod.clients.pavlovmedia.com] has
joined #go-nuts
23:05 -!- tvw [~tv@e176007047.adsl.alicedsl.de] has quit [Remote host closed the
connection]
23:07 -!- yogib [~yogib@dslb-178-009-020-204.pools.arcor-ip.net] has quit [Quit:
yogib]
23:26 -!- Project_2502 [~progettin@dynamic-adsl-94-36-148-185.clienti.tiscali.it]
has quit [Quit: E se abbasso questa leva che succ...]
23:31 -!- temoto [~temoto@188.255.19.51] has joined #go-nuts
23:31 < temoto> Hello.  How to get any hashable type out of image.Color?
23:34 < Ginto8> make a type out of it, and add a Hash() method?
23:36 < temoto> I thought maybe since "All Colors can convert themselves,
with a possible loss of precision, to 64-bit alpha-premultiplied RGBA", there
could be a way to somewhat easily convert from Color to uint64 which is already
hashable and all?
23:42 < Ginto8> func(c Color) { r,g,b,a := c.RGBA(); return
(uint64(r)&0xFFFF)<<(16*3)|(uint64(g)&0xFFFF)<<(16*2)|(uint64(b)&0xFFFF)<<(16)|(uint64(a)&0xFFFF);
}
23:42 < temoto> geez..  thank you
23:43 < Ginto8> :P
23:43 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.5]
23:47 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
23:47 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
quit [Quit: twolfe18]
23:55 -!- twolfe18 [~twolfe18@pool-96-236-148-109.pitbpa.fios.verizon.net] has
joined #go-nuts
23:58 -!- replore [~replore@203.152.213.161.static.zoot.jp] has joined #go-nuts
23:59 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Read error:
Connection reset by peer]
--- Log closed Mon Sep 05 00:00:24 2011