--- Log opened Fri Jul 29 00:00:02 2011
00:09 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has quit [Quit:
Computer has gone to sleep.]
00:13 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has joined #go-nuts
00:19 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has joined #go-nuts
00:23 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 260 seconds]
00:25 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has quit [Quit:
Computer has gone to sleep.]
00:31 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has joined #go-nuts
00:35 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
00:35 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 240 seconds]
00:42 -!- fs111 [~fs111@fs111.0x20.be] has quit [Ping timeout: 252 seconds]
00:45 -!- fs111 [~fs111@fs111.0x20.be] has joined #go-nuts
00:46 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has quit [Quit:
Leaving.]
00:48 -!- nekoh [~nekoh@dslb-088-069-130-210.pools.arcor-ip.net] has quit [Quit:
nekoh]
00:48 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
01:11 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has quit [Quit:
Computer has gone to sleep.]
01:14 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts
01:27 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has quit [Read error:
Connection reset by peer]
01:29 -!- vsmatck [~smack@64-142-40-6.dsl.static.sonic.net] has joined #go-nuts
01:38 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has joined #go-nuts
01:47 -!- Three6 [~ThreeSix@77.127.175.236] has joined #go-nuts
01:49 -!- franciscosouza [~francisco@187.105.25.184] has quit [Quit:
franciscosouza]
01:49 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 276 seconds]
01:49 -!- franciscosouza [~francisco@187.105.25.184] has joined #go-nuts
01:49 -!- ThreeSix [~ThreeSix@87.68.152.12] has quit [Ping timeout: 250 seconds]
01:57 -!- Bigbear1 [~Cody@d75-158-128-103.abhsia.telus.net] has joined #go-nuts
01:58 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
01:59 < brandini> man, the blog on profiling performance by Alan Cox is
really cool
02:02 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
02:04 -!- magn3ts [~magn3ts@ip68-103-225-65.ks.ok.cox.net] has joined #go-nuts
02:05 -!- qeed [~qeed@adsl-98-85-58-69.mco.bellsouth.net] has joined #go-nuts
02:08 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
02:11 -!- kungfuelmosan [6ee8901a@gateway/web/freenode/ip.110.232.144.26] has quit
[Quit: Page closed]
02:31 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 252 seconds]
02:36 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined
#go-nuts
02:37 -!- chickamade [~chickamad@115.78.135.244] has joined #go-nuts
02:41 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
02:41 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts
02:44 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
02:49 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
02:53 -!- niemeyer [~niemeyer@201-11-231-55.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
02:55 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has quit [Quit:
Leaving.]
02:57 -!- molto_alfredo2 [~molto_alf@142.176.0.21] has joined #go-nuts
02:57 -!- molto_alfredo1 [~molto_alf@142.176.0.21] has quit [Ping timeout: 240
seconds]
03:10 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has joined #go-nuts
03:14 -!- danilo04
[~danilo04@province-wireless-173-84-26-107.dr02.roch.ny.frontiernet.net] has
joined #go-nuts
03:19 < f2f> brandini, russ cox, surely?
03:28 -!- chickamade_ [~chickamad@115.78.135.244] has joined #go-nuts
03:28 -!- chickamade_ [~chickamad@115.78.135.244] has quit [Client Quit]
03:31 -!- chickamade [~chickamad@115.78.135.244] has quit [Read error: Operation
timed out]
03:39 -!- chickamade [~chickamad@115.78.135.244] has joined #go-nuts
03:40 < vsmatck> I would be flattered if someone confused me with Alan Cox.
:)
03:57 -!- PragCypher [~PragCyphe@208.82.216.3] has quit [Quit: PragCypher]
03:58 < crest> is their any overview over existing database binding for go?
03:58 < crest> *bindings
04:01 < jessta> overview?
04:02 -!- chickamade [~chickamad@115.78.135.244] has quit [Quit: chickamade]
04:03 < crest> their are several mysql client packages etc.  what package
supports what features?
04:05 < crest> using a fullfeatured database is overkill for my expected 200
4tuples but writing the file as temparay and swapping it with rename() in the same
filesystem is ugly
04:05 < crest> *temporary
04:07 < f2f> vsmatck, which one of the two, though?  :p
04:09 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host
closed the connection]
04:10 < vsmatck> The awesomely bearded one.
04:11 -!- chickamade [~chickamad@115.78.135.244] has joined #go-nuts
04:12 -!- qeed [~qeed@adsl-98-85-58-69.mco.bellsouth.net] has quit [Quit: Leaving]
04:13 -!- vmil86 [~vmil86@78.57.227.12] has joined #go-nuts
04:33 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined
#go-nuts
04:33 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
04:34 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined
#go-nuts
04:36 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts
04:37 -!- GutenLinux [~chatzilla@125.117.111.229] has joined #go-nuts
04:38 -!- desai [~Adium@c-67-174-14-128.hsd1.il.comcast.net] has quit [Quit:
Leaving.]
04:44 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout:
260 seconds]
04:46 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz]
04:52 -!- keithcascio [~keithcasc@nat/google/x-ywkrkbdjmyktulwn] has quit [Quit:
Leaving]
04:53 -!- chickamade [~chickamad@115.78.135.244] has quit [Quit: chickamade]
04:54 -!- Bigbear1 [~Cody@d75-158-128-103.abhsia.telus.net] has quit [Ping
timeout: 252 seconds]
04:55 -!- GutenLinux [~chatzilla@125.117.111.229] has quit [Quit: ChatZilla 0.9.87
[Firefox 5.0/20110619060346]]
04:57 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
04:59 -!- smw [~stephen@unaffiliated/smw] has joined #go-nuts
04:59 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit
[Remote host closed the connection]
05:05 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 252 seconds]
05:08 -!- danilo04
[~danilo04@province-wireless-173-84-26-107.dr02.roch.ny.frontiernet.net] has quit
[Ping timeout: 276 seconds]
05:25 -!- foxen [~foxen@212.12.18.237] has left #go-nuts []
05:25 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
05:27 -!- Adys [~Adys@unaffiliated/adys] has quit [Ping timeout: 255 seconds]
05:34 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts
05:34 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined
#go-nuts
05:34 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Client
Quit]
05:36 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Read
error: Connection reset by peer]
05:36 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has joined
#go-nuts
05:39 -!- moraes [~moraes@189.103.188.201] has quit [Remote host closed the
connection]
05:40 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit:
Leaving.]
05:44 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
05:45 -!- vsayer [~vsayer@c-67-170-236-166.hsd1.ca.comcast.net] has joined
#go-nuts
06:00 -!- cbeck1 [cbeck@gateway/shell/pdx.edu/x-pgnyrjhtapthmpir] has joined
#go-nuts
06:00 -!- cbeck [cbeck@gateway/shell/pdx.edu/x-iiypylzrmnzfiyvv] has quit [Ping
timeout: 255 seconds]
06:03 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has joined #go-nuts
06:17 -!- Sep102_ [~Sep102@c-71-227-179-131.hsd1.wa.comcast.net] has quit [Ping
timeout: 240 seconds]
06:23 -!- zcram [~zcram@8.177.190.90.sta.estpak.ee] has joined #go-nuts
06:24 -!- chickamade [~chickamad@115.78.135.244] has joined #go-nuts
06:24 -!- napsy [~luka@APN-122-136-73-gprs.simobil.net] has joined #go-nuts
06:28 -!- zcram [~zcram@8.177.190.90.sta.estpak.ee] has quit [Remote host closed
the connection]
06:28 -!- benjack [~benjack@bb220-255-250-113.singnet.com.sg] has joined #go-nuts
06:39 -!- anticide [~textual@194.165.0.5] has joined #go-nuts
06:44 -!- franciscosouza [~francisco@187.105.25.184] has quit [Read error:
Connection reset by peer]
06:50 -!- str1ngs [~strings@unaffiliated/str1ngs] has quit [Quit: WeeChat 0.3.0]
06:51 -!- franciscosouza [~francisco@187.105.25.184] has joined #go-nuts
06:52 -!- rcrowley [~rcrowley@93-158-5-68.subs.ibrowse.com] has joined #go-nuts
06:54 -!- str1ngs [~strings@unaffiliated/str1ngs] has joined #go-nuts
06:58 -!- napsy [~luka@APN-122-136-73-gprs.simobil.net] has quit [Ping timeout:
276 seconds]
07:01 -!- alehorst [~alehorst@189.58.25.132.dynamic.adsl.gvt.net.br] has quit
[Ping timeout: 255 seconds]
07:03 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts
07:03 -!- foxen [~foxen@212.12.18.237] has left #go-nuts []
07:05 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
07:05 -!- anticide [~textual@194.165.0.5] has quit [Quit: Computer has gone to
sleep.]
07:06 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts
07:06 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts
07:07 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts
07:10 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has joined
#go-nuts
07:13 -!- alehorst [~alehorst@189.114.232.79.dynamic.adsl.gvt.net.br] has joined
#go-nuts
07:23 -!- rcrowley [~rcrowley@93-158-5-68.subs.ibrowse.com] has quit [Quit:
Computer has gone to sleep.]
07:25 -!- photron [~photron@port-92-201-85-197.dynamic.qsc.de] has joined #go-nuts
07:26 -!- iXeno [~ixeno@cm-188.126.214.153.customer.telag.net] has quit [Remote
host closed the connection]
07:33 -!- Project_2501 [~Marvin@82.84.86.77] has joined #go-nuts
07:37 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|]
07:44 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts
08:04 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
08:20 -!- cenuij [~cenuij@184.15.8.109.rev.sfr.net] has joined #go-nuts
08:20 -!- cenuij [~cenuij@184.15.8.109.rev.sfr.net] has quit [Changing host]
08:20 -!- cenuij [~cenuij@base/student/cenuij] has joined #go-nuts
08:27 -!- julia [~julia@124-148-135-84.dyn.iinet.net.au] has joined #go-nuts
08:46 -!- yogib [~yogib@131.234.59.64] has quit [Quit: yogib]
08:50 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts
08:57 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
09:00 -!- dahankzter [~henke@92-244-3-192.customers.ownit.se] has quit [Quit:
Leaving.]
09:15 -!- chickamade [~chickamad@115.78.135.244] has quit [Quit: chickamade]
09:35 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined
#go-nuts
09:38 -!- vmil86 [~vmil86@78.57.227.12] has quit [Remote host closed the
connection]
09:41 -!- benjack [~benjack@bb220-255-250-113.singnet.com.sg] has quit [Quit:
Leaving.]
09:44 -!- coffeejunk [~max@static.58.62.47.78.clients.your-server.de] has quit
[Ping timeout: 276 seconds]
09:44 -!- coffeejunk [~max@static.58.62.47.78.clients.your-server.de] has joined
#go-nuts
10:02 -!- Three6 [~ThreeSix@77.127.175.236] has quit [Ping timeout: 255 seconds]
10:10 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 250 seconds]
10:13 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.]
10:23 -!- virtualsue [~chatzilla@nat/cisco/x-arlynqbaagzniupf] has joined #go-nuts
10:31 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the
connection]
10:34 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
10:46 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Quit:
Page closed]
11:01 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined
#go-nuts
11:03 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 255
seconds]
11:04 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts
11:09 -!- nicka1 [~nicka@142.176.0.21] has quit [Ping timeout: 250 seconds]
11:09 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Read
error: Connection reset by peer]
11:09 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
11:10 -!- ThreeSix [~ThreeSix@77.127.175.236] has joined #go-nuts
11:11 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Read
error: Connection reset by peer]
11:12 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
11:16 -!- foxen [~foxen@212.12.18.237] has joined #go-nuts
11:17 -!- foxen [~foxen@212.12.18.237] has left #go-nuts []
11:35 -!- vmil86 [~vmil86@78.57.227.12] has joined #go-nuts
11:38 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Ping
timeout: 250 seconds]
11:40 -!- noodles775 [~michael@g225071223.adsl.alicedsl.de] has joined #go-nuts
11:40 -!- noodles775 [~michael@g225071223.adsl.alicedsl.de] has quit [Changing
host]
11:40 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts
11:43 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 264 seconds]
11:44 -!- franciscosouza [~francisco@187.105.25.184] has quit [Quit:
franciscosouza]
11:45 -!- napsy [~luka@APN-122-45-239-gprs.simobil.net] has joined #go-nuts
11:46 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp]
11:57 -!- napsy [~luka@APN-122-45-239-gprs.simobil.net] has quit [Ping timeout:
264 seconds]
11:59 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
12:05 -!- jnrjnr [~antonio@200.6.42.107] has joined #go-nuts
12:05 < jnrjnr> hi all
12:05 < jnrjnr> I'm just trying go language fopr the first time
12:06 < jnrjnr> I installed the language as the getting started tutorial
says
12:06 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts
12:06 < jnrjnr> but when compiling, I cannot import os module
12:06 < jnrjnr> my error is: file.go:4: can't find import: os
12:06 -!- visof [~visof@41.238.233.216] has joined #go-nuts
12:06 < jnrjnr> should I have to put my libraries in some special place?
12:07 -!- visof [~visof@41.238.233.216] has quit [Changing host]
12:07 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:11 < jessta> jnrjnr: all.bash completed fine?
12:15 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 252 seconds]
12:16 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
12:20 -!- angasule [~angasule@190.2.33.49] has quit [Remote host closed the
connection]
12:21 < jnrjnr> jessta: yep, all clean
12:22 < jnrjnr> uhm, I believe I know my mistake
12:22 < jnrjnr> I compiled it in one place, and moved it to another place
12:22 < jnrjnr> it may be the error
12:23 -!- danilo04
[~danilo04@province-wireless-173-84-26-107.dr02.roch.ny.frontiernet.net] has
joined #go-nuts
12:24 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
12:25 -!- Natch| [~natch@178.73.217.234] has joined #go-nuts
12:25 < jessta> jnrjnr: yep
12:26 < jessta> the compilers expect the packages to be in the same place as
when they were compiled
12:26 < jnrjnr> thanks
12:28 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts
12:32 -!- danilo04
[~danilo04@province-wireless-173-84-26-107.dr02.roch.ny.frontiernet.net] has quit
[Quit: Leaving]
12:42 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 240 seconds]
12:44 -!- visof [~visof@41.238.233.216] has joined #go-nuts
12:46 -!- visof [~visof@41.238.233.216] has quit [Changing host]
12:46 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
12:48 -!- chadkouse1 [~Adium@24.123.67.50] has joined #go-nuts
12:52 -!- iant [~iant@67.218.105.144] has joined #go-nuts
12:52 -!- mode/#go-nuts [+v iant] by ChanServ
12:54 -!- virtualsue [~chatzilla@nat/cisco/x-arlynqbaagzniupf] has quit [Ping
timeout: 250 seconds]
12:55 -!- niemeyer [~niemeyer@201-11-231-55.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
12:58 -!- ww [~ww@river.styx.org] has quit [Ping timeout: 252 seconds]
13:01 -!- virtualsue [~chatzilla@nat/cisco/x-jyfeftlmrtbklxcc] has joined #go-nuts
13:03 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has
joined #go-nuts
13:05 -!- replore_ [~replore@ntkngw133234.kngw.nt.ftth.ppp.infoweb.ne.jp] has
joined #go-nuts
13:06 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
13:07 -!- visof [~visof@41.238.233.216] has joined #go-nuts
13:07 -!- visof [~visof@41.238.233.216] has quit [Changing host]
13:07 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
13:11 -!- TheMue [~FMueller@p5DDF7D7E.dip.t-dialin.net] has joined #go-nuts
13:12 -!- ww [~ww@river.styx.org] has joined #go-nuts
13:15 -!- visof [~visof@unaffiliated/visof] has quit [Quit: Leaving]
13:19 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Ping
timeout: 252 seconds]
13:19 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz]
13:22 < skelterjohn|work> morning all
13:25 < jnrjnr> morning
13:28 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has joined #go-nuts
13:28 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has quit [Remote
host closed the connection]
13:38 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined
#go-nuts
13:39 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
13:42 -!- Project-2501 [~Marvin@82.84.74.147] has joined #go-nuts
13:44 -!- Project_2501 [~Marvin@82.84.86.77] has quit [Ping timeout: 260 seconds]
13:47 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts
13:48 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat]
13:52 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 240 seconds]
13:54 < TheMue> moo
13:58 -!- iant [~iant@67.218.105.144] has quit [Quit: Leaving.]
14:00 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
14:00 -!- niemeyer [~niemeyer@201-11-231-55.pltce701.dsl.brasiltelecom.net.br] has
quit [Remote host closed the connection]
14:02 -!- niemeyer [~niemeyer@201-11-231-55.pltce701.dsl.brasiltelecom.net.br] has
joined #go-nuts
14:02 -!- ancientlore_ [~ancientlo@12.54.6.218] has joined #go-nuts
14:03 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts
14:05 -!- visof [~visof@41.238.233.216] has joined #go-nuts
14:05 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has joined #go-nuts
14:05 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has quit [Ping
timeout: 252 seconds]
14:05 -!- ancientlore_ [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
14:06 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Ping timeout: 260
seconds]
14:06 -!- iant [~iant@nat/google/x-hytuzbtrjquilynt] has joined #go-nuts
14:06 -!- mode/#go-nuts [+v iant] by ChanServ
14:06 -!- visof [~visof@41.238.233.216] has quit [Changing host]
14:06 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
14:06 -!- ancientlore_ [~ancientlo@12.54.6.218] has joined #go-nuts
14:12 -!- iant [~iant@nat/google/x-hytuzbtrjquilynt] has quit [Ping timeout: 260
seconds]
14:18 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
14:18 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
14:22 -!- Kahvi [5b9b57fc@gateway/web/freenode/ip.91.155.87.252] has joined
#go-nuts
14:23 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts
14:25 -!- iant [~iant@nat/google/x-upfnamrzamtyolgx] has joined #go-nuts
14:25 -!- mode/#go-nuts [+v iant] by ChanServ
14:28 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit:
leaving]
14:30 -!- GoBIR [~gobir@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net] has
quit [Read error: Connection reset by peer]
14:32 -!- GoBIR [~gobir@70-90-168-189-SFBACalifornia.hfc.comcastbusiness.net] has
joined #go-nuts
14:32 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has joined #go-nuts
14:37 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
14:38 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts
14:38 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
14:44 -!- samuell [~samuel@pc2-samuel.uppmax.uu.se] has left #go-nuts ["Ex-Chat"]
14:50 -!- pjacobs [~pjacobs@66.54.185.133] has joined #go-nuts
14:51 -!- pjacobs2 [~pjacobs@66.54.185.130] has joined #go-nuts
14:52 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
14:53 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
14:55 -!- pjacobs [~pjacobs@66.54.185.133] has quit [Ping timeout: 255 seconds]
14:55 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has quit [Read error:
Operation timed out]
14:56 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts
14:56 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
14:56 -!- iant [~iant@nat/google/x-upfnamrzamtyolgx] has quit [Quit: Leaving.]
15:02 -!- zaero [~eclark@servo.m.signedint.com] has quit [Ping timeout: 255
seconds]
15:03 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
15:05 -!- tapankarecha [~tapankare@122.167.7.84] has joined #go-nuts
15:05 -!- rcrowley [~rcrowley@93-158-3-6.subs.ibrowse.com] has joined #go-nuts
15:07 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
15:08 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
15:13 -!- NiteRain [~NiteRain@c-98-254-236-21.hsd1.fl.comcast.net] has joined
#go-nuts
15:22 -!- Bigbear1 [~Cody@d75-158-142-253.abhsia.telus.net] has joined #go-nuts
15:23 < dgnorton> I have a windows unicode string "0001" in a []byte.
Println shows [48 0 48 0 48 0 49 0].  How can I convert that to a go string?
15:25 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
15:25 < skelterjohn|work> remove the zeros?
15:26 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
15:26 -!- rcrowley [~rcrowley@93-158-3-6.subs.ibrowse.com] has quit [Quit:
Computer has gone to sleep.]
15:26 < skelterjohn|work> i remember last time you asked, the theory was the
0s were null and just not rendered - but still contained in the string
15:26 < dgnorton> good memory...never tried removing zeros
15:27 < dgnorton> tried using utf16 pkg ...  i'm doing somethign wrong
15:27 < skelterjohn|work> the utf16 package looks underdone
15:27 < aiju> removing zeros is the wrong way to do it
15:28 < aiju> why would anyone suggest such a thing
15:28 < dgnorton> removing zeros would work for that field but this buffer
of data has some item description text later on that actually could be > 1 byte
/ char
15:28 < skelterjohn|work> because it would work
15:28 < aiju> yeah, unless someone uses unicode
15:28 < dgnorton> this buff will have unicode sometimes
15:28 < skelterjohn|work> it works to convert []byte{48, 0, 48, 0, 48, 0,
49, 0} to "0001"
15:28 -!- jacek_ [2e81345f@gateway/web/freenode/ip.46.129.52.95] has joined
#go-nuts
15:29 < jacek_> Hello
15:29 < skelterjohn|work> and that's all he asked about O:-)
15:29 < skelterjohn|work> hi
15:29 < dgnorton> :)
15:29 < aiju> *sigh*
15:29 < jacek_> I need to add some database storage to my go app
15:29 < dgnorton> aiju ...  other suggestion(s)?
15:29 < jacek_> What would you recomend?
15:29 < aiju> dgnorton: utf16
15:29 < skelterjohn|work> jacek_: mgo
15:29 < aiju> jacek_: os.Open
15:29 < skelterjohn|work> http://labix.org/mgo
15:29 < jacek_> :) No, I need indexing
15:30 < aiju> File.Seek
15:30 < skelterjohn|work> was that no to mgo or to flat files
15:30 < jacek_> But mongo is a separate database
15:30 < jacek_> Isnt there something like sqlite that I could just link with
my go app?
15:30 < aiju> mongo is an insult
15:30 < skelterjohn|work> unless your db is in memory, it is "separate"
15:30 < skelterjohn|work> jacek_: there are sqlite drivers
15:31 < skelterjohn|work> http://code.google.com/p/gosqlite/
15:31 < skelterjohn|work> by russ cox, one of the go devs
15:31 < jacek_> OK, I will try this
15:31 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 240 seconds]
15:31 < dgnorton> aiju: func Decode(s []uint16) []int ...  so it takes
[]uint16.  How do I pass a []byte?
15:31 < jacek_> So there isnt any kind of sqlite written in GO?
15:32 < aiju> dgnorton: convert it?
15:32 < aiju> dgnorton: you need to know whether it's UTF16 LE or BE
15:32 < aiju> Windows would be LE
15:32 < dgnorton> aiju: still new to go ...  cast?
15:32 < dgnorton> it's LE
15:32 < aiju> dgnorton: for loop and convert
15:32 < skelterjohn|work> jacek_: I don't know there are a few listed on
http://godashboard.appspot.com/project but i don't know if any are pure go
15:32 < aiju> that's what i'd do
15:33 < aiju> dgnorton: maybe you can just encoding/binary
15:33 < dgnorton> aiju: must be a more elegant way
15:33 < aiju> *sigh*
15:33 < skelterjohn|work> if you want to treat your []byte as []uint16
directly, use unsafe
15:33 < aiju> skelterjohn|work: that's the WORST APPROACH
15:33 < skelterjohn|work> i disagree.
15:33 < jacek_> OK, got it.  Thank you @skelterjohn!
15:33 < skelterjohn|work> it's straightforward and you really mean to use
that data as a uint16 array
15:34 < aiju> skelterjohn|work: and it's fucking unportable
15:34 < aiju> and it uses fucking unsafe
15:34 -!- jacek_ [2e81345f@gateway/web/freenode/ip.46.129.52.95] has quit [Quit:
Page closed]
15:34 < skelterjohn|work> isn't endianess part of the utf16 definition?
15:34 < aiju> no
15:34 < dgnorton> aiju: no, really, how do you feel about it?  :P
15:34 < aiju> dgnorton: about what?
15:34 < dgnorton> aiju: joking
15:35 < skelterjohn|work> when discussing something with aiju, you have to
use a pretty good filter
15:35 < dgnorton> aiju: about using unsafe
15:35 < aiju> using unsafe is a bad idea
15:36 < skelterjohn|work> so instead of just treating the data like you want
it, you want do go through a process which will always have the same result?
15:36 < aiju> wtf are you talking about
15:36 < aiju> there is unsafe which is broken on big endian machines
15:36 < aiju> and there is the right approach
15:36 < dgnorton> I tried..
15:36 < dgnorton> binary.Read(bytes.NewBuffer(b[26:34]),
binary.LittleEndian, &u16)
15:36 < aiju> doesn't work?
15:36 < dgnorton> nope
15:37 < aiju> then write a function
15:37 < skelterjohn|work> with a nice little if IamBigEndian { ...  } i
suppose
15:37 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
15:38 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
15:38 < dgnorton> lunch train is leaving...I'll write a func when I get
back.  Thanks.
15:39 < aiju> skelterjohn|work: no
15:39 < aiju> b[i] = a[2*i] | (a[2*i] << 16)
15:39 < aiju> something along that
15:39 < aiju> ehm, a[2*i+1] for the second one
15:49 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Remote host
closed the connection]
15:51 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Read error: Connection
reset by peer]
15:51 -!- tapankarecha [~tapankare@122.167.7.84] has quit [Quit: tapankarecha]
15:52 -!- ancientlore [~ancientlo@12.54.6.218] has joined #go-nuts
15:52 -!- arun_ [~arun@unaffiliated/sindian] has quit [Read error: Connection
reset by peer]
15:53 -!- zaero [~eclark@servo.m.signedint.com] has quit [Ping timeout: 255
seconds]
15:56 -!- dfr|mac [~dfr|work@ool-18baf7e7.dyn.optonline.net] has quit [Remote host
closed the connection]
15:58 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has joined #go-nuts
15:58 -!- julia [~julia@124-148-135-84.dyn.iinet.net.au] has quit [Quit: julia]
16:03 -!- NiteRain [~NiteRain@c-98-254-236-21.hsd1.fl.comcast.net] has quit [Ping
timeout: 252 seconds]
16:12 -!- ancientlore [~ancientlo@12.54.6.218] has quit [Quit: ~ Trillian Astra -
www.trillian.im ~]
16:12 -!- zaero [~eclark@50-82-164-104.client.mchsi.com] has quit [Ping timeout:
255 seconds]
16:13 < wrtp> aiju is right for once
16:13 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has
joined #go-nuts
16:13 < wrtp> unsafe is not the way to do it
16:13 < wrtp> you could use the go-charset package
16:14 < wrtp> dgnorton: or you could use binary.Read and then the utf16
package
16:14 < wrtp> dgnorton: what was the type of your u16?
16:14 < aiju> we tried binary.Read already
16:15 < wrtp> aiju: binary.Read would be fine.
16:16 < wrtp> u16 := make([]uint16, len(b / 2));
binary.Read(bytes.NewBuffer(b), binary.LittleEndian, u16)
16:17 * ww optimises the aiju HPF
16:17 -!- qeed [~qeed@adsl-98-85-36-108.mco.bellsouth.net] has joined #go-nuts
16:17 < wrtp> depends how much you're doing - it's not a particularly
efficient way of doing it
16:17 < wrtp> HPF?
16:19 < ww> wrtp: http://en.wikipedia.org/wiki/High-pass_filter
16:19 -!- franciscosouza [~francisco@201.7.186.67] has quit [Read error:
Connection reset by peer]
16:19 < ww> aiju's SNR is actually pretty good if you use one of those
16:19 -!- franciscosouza [~francisco@201.7.186.67] has joined #go-nuts
16:19 < ww> s/pretty/exceptionally/
16:20 * wrtp thought aiju was all high frequencies :-)
16:21 < ww> apparently not.  attenuate the high amplitude low frequencies
and...  presto!
16:21 < ww> polite, insightful...
16:22 * ww heads up north...  take care all
16:23 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
16:31 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has joined #go-nuts
16:32 -!- zaero [~eclark@servo.m.signedint.com] has quit [Ping timeout: 255
seconds]
16:32 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has quit
[Quit: Ex-Chat]
16:37 < niemeyer> goneat.org is down due to incompatibilities with tip..
biab
16:40 -!- sniper506th [~sniper506@rrcs-70-61-192-18.midsouth.biz.rr.com] has quit
[Quit: Leaving...]
16:40 < wrtp> niemeyer: i encountered that problem too...
16:48 -!- yogib [~yogib@131.234.59.64] has quit [Ping timeout: 276 seconds]
16:49 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
16:50 -!- napsy [~luka@88.200.96.18] has joined #go-nuts
16:55 -!- pyrhho [~pyrhho@host-92-27-75-48.static.as13285.net] has quit [Quit:
pyrhho]
16:56 -!- robteix [~robteix@192.55.54.36] has quit [Remote host closed the
connection]
16:57 < dgnorton> wrtp: var u16 []uint16 ...  guess I had the wrong thing.
Will try with make
16:58 -!- Bigbear1 [~Cody@d75-158-142-253.abhsia.telus.net] has quit [Read error:
Connection reset by peer]
17:00 < wrtp> dgnorton: yeah, binary.Read needs to know how many bytes to
read
17:01 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal]
17:03 < niemeyer> goneat.org is back..  phew
17:06 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined
#go-nuts
17:08 -!- eikenberry [~jae@173-164-68-213-Oregon.hfc.comcastbusiness.net] has
joined #go-nuts
17:15 < skelterjohn|work> what changed to make things puke?
17:17 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts
17:19 -!- rcrowley [~rcrowley@93-158-4-163.subs.ibrowse.com] has joined #go-nuts
17:19 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has joined
#go-nuts
17:21 -!- rcrowley [~rcrowley@93-158-4-163.subs.ibrowse.com] has quit [Client
Quit]
17:22 < kergoth> goneat.org?  is that different from golang.org?  they don't
appear different
17:22 < skelterjohn|work> golang.org is on release
17:22 < skelterjohn|work> goneat is on tip
17:22 < kergoth> ahh
17:23 < kergoth> thanks
17:23 < skelterjohn|work> also niemeyer puts requested packages on goneat,
if i remember irght
17:23 < skelterjohn|work> yeah - a few of mine are up there
17:24 < kergoth> cool
17:25 < niemeyer> Yeah, tip and weekly..
17:25 < niemeyer> tip.goneat.org and weekly.goneat.org
17:30 -!- huin [~huin@91.84.179.118] has joined #go-nuts
17:31 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has joined #go-nuts
17:36 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 260 seconds]
17:36 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has joined
#go-nuts
17:38 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
17:39 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has quit [Quit: Miranda
IM! Smaller, Faster, Easier.  http://miranda-im.org]
17:44 < dgnorton> http://pastebin.com/RpLeYajp ...  so that works for
converting a windows utf16 string to a go string.  skelterjohn, aiju, wrtp ...
thanks for the help.
17:47 -!- wayneeseguin [~wayneeseg@vs9873.blueboxgrid.com] has joined #go-nuts
17:48 < wayneeseguin> What is the most idiomatic / proper way to check if a
file is executable and exists before running it with the exec package?
17:49 < kergoth> that sounds potentially racy, I'd just run it and check the
failure.  *shrug*
17:49 < wayneeseguin> check the failure?
17:49 < wayneeseguin> I'm new to go btw
17:50 < wayneeseguin> Right now I get a panic and my program stops
17:50 < wayneeseguin> I want to catch that and spit a message to stderr
17:50 -!- virtualsue [~chatzilla@nat/cisco/x-jyfeftlmrtbklxcc] has quit [Quit:
ChatZilla 0.9.87 [Firefox 5.0.1/20110707182747]]
17:54 -!- Natch| [~natch@178.73.217.234] has quit [Remote host closed the
connection]
18:03 < skelterjohn|work> here's a fun mini competition - the best program
that does this: http://hackgolang.blogspot.com/2010/09/snail-in-golang.html
18:04 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 255 seconds]
18:09 < skelterjohn|work>
https://plus.google.com/113906371240881159155/posts/N38Fry3jiaN
18:09 < aiju> wayneeseguin: you get a panic, what the fuck?
18:10 < skelterjohn|work> wayneeseguin: the best way to check if a file
exists is os.Stat()
18:10 < skelterjohn|work> !godoc os stat
18:10 < skelterjohn|work> darn, the bot isn't here
18:10 < aiju> there should be an access function
18:10 < aiju> this one can even check for executability
18:10 < skelterjohn|work> "this one"?
18:11 < aiju> stat doesn't check for permissions
18:11 < skelterjohn|work> right
18:11 < aiju> there is a syscall access
18:11 < skelterjohn|work> oh, "this one" refers to your hypothetical
18:11 < skelterjohn|work> ?
18:11 < aiju> hich does
18:11 < aiju> *which
18:11 < aiju> ah yeah
18:11 < kergoth> st_mode has permissions..
18:11 < kergoth> is that not available in os.stat?
18:11 < aiju> syscall.Access
18:12 < aiju> man, access is simpler
18:12 < aiju> of course that one uses the syscall package
18:14 < skelterjohn|work> i guess it returns non-zero if your perm flag is
wrong?
18:14 < aiju> -1
18:14 < skelterjohn|work> that qualifies
18:14 < aiju> the C call is access(path, X_OK)
18:15 < skelterjohn|work> right
18:15 < skelterjohn|work> useful - good to know about
18:15 < skelterjohn|work> does that work on windows go?
18:15 < aiju> that's the question
18:15 < aiju> i assume not
18:15 < aiju> executables work different on windows anyway
18:16 < aiju> if you use ACL there is a executable permission bit in the ACL
18:16 < aiju> it doesn't matter too much since there is a race involved
18:16 < aiju> just try and execute
18:18 < kergoth> it's like checking for a directory to exist instead of just
making the damn thing and catching the EEXIST
18:18 < kergoth> heh
18:18 < aiju> why do you care even?
18:24 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit: brb]
18:26 < fluffle> uriel: ping?  http://go-lang.cat-v.org/text-editors/vim/ is
missing a syntax/ in $GOROOT/misc/vim/syntax/go
18:32 -!- srikanth [~mrsrikant@59.92.80.200] has joined #go-nuts
18:34 -!- kergoth [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts
18:34 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has joined #go-nuts
18:38 < ThreeSix> skelterjohn|work: check mine :D
http://pastebin.com/r5QBF9eD
18:39 < skelterjohn|work> i put it on my post in a comment
18:40 < skelterjohn|work> probably beats mine, because of the Rage()
function if nothing else
18:41 < gnuvince> Is it "ok" to use time.Sleep() in unit tests?  I ask
because I send closures on a channel which will execute requests on a database and
in my test code, I have added some sleep statements to make sure that the query
has been completely ran before I test its effects.
18:41 < ThreeSix> :D
18:41 < skelterjohn|work> gnuvince: whenever you write time.Sleep(x), change
it to <-time.After(x)
18:42 -!- chadkouse1 [~Adium@24.123.67.50] has quit [Ping timeout: 252 seconds]
18:42 < gnuvince> skelterjohn|work: why?
18:42 < skelterjohn|work> and that's stlil probably not a good way to do it
18:42 < skelterjohn|work> time.Sleep() grabs a thread per call
18:43 < skelterjohn|work> <-time.After() uses one thread to pool all the
calls
18:43 < gnuvince> ok
18:43 < skelterjohn|work> but for your issue, you should use channels to
synchronize properly
18:43 < gnuvince> In any case, I'm thinking I messed up my design somewhere.
18:43 -!- ceh [ceh@Tricholoma.Update.UU.SE] has quit [Quit: &]
18:43 < gnuvince> Which is sad, cause I liked the way it worked.
18:44 < gnuvince> DbChannel <- func(conn *sqlite.Conn) { ...  }
18:44 < gnuvince> And the go routine that actually had the connection object
would fetch the closures from the channel and call them.
18:44 < skelterjohn|work> in that function put in a send on a channel at the
end
18:44 < skelterjohn|work> that tells a listener that it's done
18:45 < gnuvince> Is that idiomatic?
18:46 < skelterjohn|work> there is never an objective answer to that
question, but i think so
18:47 < gnuvince> What I mean to say is, would that just be a workaround a
design issue or is there actually code in the Go ecosystem that uses this
"pattern"?
18:47 < skelterjohn|work> it seems like a perfectly good way to do it, to me
:) you could also use a wait group
18:48 < skelterjohn|work> i guess it would just be a "wait"
18:49 < gnuvince> goroutines are kinda quirky to test, aren't they?
18:52 < skelterjohn|work> i want to say "depends on how you think about it",
but that's not really a useful answer
18:52 < skelterjohn|work> i find concurrency makes a lot of things more
simple - it lets you leave parts of how your program works unspecified
18:53 < skelterjohn|work> "i don't care when you do these 9 things, but i do
know i want them all to finish before I do this other thing"
18:58 < niemeyer> skelterjohn|work: I wouldn't put that as being _simpler_
18:58 < skelterjohn|work> i tell the program less about what i want it to do
18:58 < skelterjohn|work> in one sense, that is strictly simpler :)
18:58 < niemeyer> skelterjohn|work: Not really..  you tell a whole lot more
:)
18:58 < niemeyer> skelterjohn|work: Simple is do A.. do B
18:59 < gnuvince> skelterjohn|work: when I run the actual program, it's not
much of an issue
18:59 < niemeyer> skelterjohn|work: Saying do A and B in background, A and
B, tell me when you're done, C wait for A and B..
18:59 < gnuvince> it's relatively easy to follow
18:59 < niemeyer> skelterjohn|work: That's not simplicity..  that's
optimization
18:59 < gnuvince> it's just that testing with mutations and IO and
concurrency is kinda pointy
19:00 < skelterjohn|work> i'm not going to argue about this, except to say
that i find it simpler
19:00 < niemeyer> skelterjohn|work: I won't argue either..  I just know
you're wrong on that, but it's fine..  :-)
19:01 < skelterjohn|work> "i won't argue but you're wrong" is kind of
disingenuous =p
19:01 < niemeyer> skelterjohn|work: It's honest..  I'm not arguing..
19:05 < niemeyer> adg: The dashboard is still stuck in terms of package docs
19:08 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
19:09 < wayneeseguin> skelterjohn|work: thanks, os.Stat() did it, panic was
part of a function I had copied from somewhere, I have since removed it
19:13 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts
19:13 < skelterjohn|work> cool - probably best to just try to run it,
though, and if there is an error use it to diagnose the problem :)
19:17 -!- Natch| [~natch@178.73.216.94] has joined #go-nuts
19:19 -!- robteix [~robteix@192.55.54.36] has quit [Quit: Leaving]
19:19 -!- srikanth [~mrsrikant@59.92.80.200] has quit [Quit: Leaving]
19:22 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts
19:25 -!- espeed [~espeed@63.246.231.57] has joined #go-nuts
19:40 < TheMue> niemeyer: Yep, and it needs a way to correct wrong entries.
19:40 < skelterjohn|work> the most effective way to do that is to send a pm
to adg :)
19:40 < niemeyer> TheMue: They just come from the package doc nowadays,
which is pretty nice
19:41 < niemeyer> skelterjohn|work: I mailed him already
19:41 < niemeyer> TheMue: But it's stuck..
19:44 -!- virtualsue
[~chatzilla@cpc3-haye15-0-0-cust488.haye.cable.virginmedia.com] has joined
#go-nuts
19:44 < TheMue> Should be better next week when OSCON is over.
19:45 -!- huin [~huin@91.84.179.118] has quit [Quit: leaving]
19:45 < niemeyer> TheMue: Yeah :)
19:55 -!- niemeyer_ [~niemeyer@200-102-194-39.pltce701.dsl.brasiltelecom.net.br]
has joined #go-nuts
19:58 -!- niemeyer [~niemeyer@201-11-231-55.pltce701.dsl.brasiltelecom.net.br] has
quit [Ping timeout: 240 seconds]
20:00 -!- nicka [~lerp@unaffiliated/nicka] has quit [Quit: Leaving.]
20:05 -!- ronnyy [~quassel@p4FF1C42E.dip0.t-ipconnect.de] has quit [Remote host
closed the connection]
20:06 -!- fabled [~fabled@83.145.235.194] has quit [Ping timeout: 276 seconds]
20:08 -!- jyxent [~jyxent@129.128.191.96] has quit [Ping timeout: 240 seconds]
20:10 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts
20:16 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts
20:16 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp]
20:18 -!- pothos_ [~pothos@111-240-171-210.dynamic.hinet.net] has joined #go-nuts
20:19 -!- jyxent [~jyxent@129.128.191.96] has joined #go-nuts
20:19 -!- pothos [~pothos@111-240-166-14.dynamic.hinet.net] has quit [Ping
timeout: 246 seconds]
20:22 -!- alehorst [~alehorst@189.114.232.79.dynamic.adsl.gvt.net.br] has quit
[Quit: Leaving.]
20:26 -!- Project_2501 [~Marvin@82.84.93.226] has joined #go-nuts
20:28 -!- PortatoreSanoDiI [~Marvin@82.84.93.239] has joined #go-nuts
20:29 -!- Project-2501 [~Marvin@82.84.74.147] has quit [Ping timeout: 252 seconds]
20:32 -!- Project_2501 [~Marvin@82.84.93.226] has quit [Ping timeout: 255 seconds]
20:39 -!- alehorst [~alehorst@189.114.232.79.dynamic.adsl.gvt.net.br] has joined
#go-nuts
20:44 -!- jnrjnr [~antonio@200.6.42.107] has quit [Remote host closed the
connection]
20:50 -!- hoozleboozle [~Adium@nat/google/x-fjgbkkqaeftvurbo] has joined #go-nuts
20:52 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Quit:
Geek insinde®]
20:56 -!- robteix [~robteix@192.55.54.36] has quit [Ping timeout: 255 seconds]
21:02 -!- qeed [~qeed@adsl-98-85-36-108.mco.bellsouth.net] has quit [Quit:
Leaving]
21:06 -!- yogib [~yogib@dslb-178-001-017-155.pools.arcor-ip.net] has joined
#go-nuts
21:08 -!- binarypie [~binarypie@c-24-6-151-185.hsd1.ca.comcast.net] has quit [Ping
timeout: 240 seconds]
21:13 < schmichael> does the gopher have a name?
21:13 < schmichael> this is important as he's now staring down at me from
his perch atop my monitor
21:13 < aiju> hahaha
21:13 < aiju> just address him as Mein F├╝hrer
21:13 < schmichael> erm
21:14 < schmichael> i was hoping that his name wouldn't involve the reich
21:14 < cbeck> Heh.  How did you aquire said gopher?
21:15 < aiju> LSD?
21:15 -!- virtualsue
[~chatzilla@cpc3-haye15-0-0-cust488.haye.cable.virginmedia.com] has quit [Ping
timeout: 255 seconds]
21:17 < schmichael> cbeck: a coworker who went to oscon brought him back
(not a plushie)
21:17 < mpl> schmichael: supposedly it's gordon.
21:18 < schmichael> mpl: hm, this is pretty important, so maybe i'll hit the
list :)
21:18 < mpl> schmichael: http://en.wikipedia.org/wiki/Ren%C3%A9e_French
21:19 < mpl> jgt
21:19 < schmichael> oh man, perfect
21:19 < schmichael> thanks!
21:19 < mpl> jgi even
21:19 < mpl> np
21:19 < schmichael> he's no glenda, but he's growing on me
21:20 < cbeck> Bah, wish I could have gone to that =/
21:20 < cbeck> I live in PDX, mostly just been hitting the parties though
21:20 < aiju> PDX?
21:21 < schmichael> cbeck: same, sans parties.  coming to urban airship for
anything?  i work there :)
21:21 < cbeck> Portland, where OSCON is
21:21 < schmichael> we have ...  stuff ...  happening tonight and tomorrow.
sprints of one kind or another
21:21 -!- kungfuelmosan [6ee8901a@gateway/web/freenode/ip.110.232.144.26] has
joined #go-nuts
21:21 < cbeck> schmichael: I keep meaning to, but probably not in the next
few weeks
21:22 < aiju> couldn't they just use the novel invention of the so called
postal service to ship gophers?
21:22 < aiju> or is that too bleeding edge?
21:22 < cbeck> Gophers by mail you say?
21:23 < mpl> aiju: does this postoffice thing make it as far as to the
reich?
21:23 < cbeck> adg: Any more gophers left?  >_>
21:23 <@adg> yeah there are
21:23 <@adg> but i'm not at oscon anymore
21:23 <@adg> they're being shipped back to MTV
21:23 < cbeck> Heh, curses.
21:23 <@adg> you didn't get one?  too bad
21:24 <@adg> schmichael: what's urban airship?
21:24 < cbeck> I never got in to the convention hal, only time I could get
out there was after main hall hours
21:24 < cbeck> *hall
21:24 <@adg> ah
21:24 < schmichael> adg: http://urbanairship.com - basically services for
mobile app developers
21:24 < schmichael> cbeck: we should do a golang drinkup in pdx sometime
21:24 <@adg> and you have a party or something?
21:25 < cbeck> schmichael: That'd be much fun
21:25 < cbeck> I have a few friends at PSU that'd probably be in to it.
21:25 < schmichael> adg:
http://urbanairship.com/blog/2011/07/13/oscon-2011-welcome-attendees-let-us-show-you-around-portland/
21:25 < schmichael> check out the events section
21:25 <@adg> how do i figure out the phone number of a random american
phone?
21:25 < schmichael> nothing golang related sadly; unless google has finally
ported it to android ;)
21:25 < schmichael> brute force
21:26 < aiju> ask the FBI?
21:26 < schmichael> http://en.wikipedia.org/wiki/War_dialing
21:27 < schmichael> consider it an evolutionary algorithm whose fitness
function is up to you to define
21:27 <@adg> alternately, i could call someone with caller id
21:27 <@adg> i'd call my australian phone but the american phone can't call
overseas
21:27 < schmichael> ah, your phone number!
21:27 < schmichael> yeah, that's easier
21:27 <@adg> oh yeah, poor question huh
21:27 < aiju> isn't the number inscribed on the SIM card?
21:28 < cbeck> adg: Usually it'll be in settings->phone info
21:28 <@adg> schmichael: so is phonegap happening now?
21:29 < schmichael> yes
21:29 <@adg> cbeck: ah yeah, you're right, it's there in About Phone
21:29 <@adg> schmichael: got a full house?
21:29 < schmichael> yeah, i just snuck through in hopes of finding a diet
coke
21:30 < schmichael> but they seem to have quite a few people and must be
documenting it because cameras are setup
21:30 < schmichael> documenting it or trying to catch people stealing drinks
21:34 < schmichael> any time any golang luminaries want to stop by pdx, i'd
love to setup a meetup at our space (free beer too)
21:34 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz]
21:35 -!- TheMue [~FMueller@p5DDF7D7E.dip.t-dialin.net] has quit [Quit: Lost
terminal]
21:35 -!- Count_Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Ping
timeout: 260 seconds]
21:36 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts
21:38 -!- vmil86 [~vmil86@78.57.227.12] has quit [Remote host closed the
connection]
21:40 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has quit [Read error:
Connection reset by peer]
21:40 -!- Fish [~Fish@9fans.fr] has quit [Read error: Operation timed out]
21:40 -!- Fish- [~Fish@exo3753.pck.nerim.net] has quit [Read error: Operation
timed out]
21:40 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has quit [Read error: Operation
timed out]
21:40 -!- kamaji [~kamaji@handtomouse.demon.co.uk] has joined #go-nuts
21:41 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
21:41 -!- Fish- [~Fish@exo3753.pck.nerim.net] has joined #go-nuts
21:43 -!- zaero [~eclark@servo.m.signedint.com] has quit [Ping timeout: 260
seconds]
21:44 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has joined #go-nuts
21:44 <@adg> well we were all just here!
21:44 <@adg> i'm still here
21:44 <@adg> downtown atm
21:44 <@adg> unless i don't count ;)
21:45 < kungfuelmosan> Hey all, quick q: is there a way to get a raw byte
array of an int64 ?
21:45 < kungfuelmosan> / representing an int64
21:45 < schmichael> adg: ha, bad timing as we appear to be booked solid for
the next 36 hours
21:45 < aiju> kungfuelmosan: "raw byte array"?
21:45 < Namegduf> For I/O purposes, encoding/binary will do what you want.
21:45 < Namegduf> In whatever endianness you need.
21:45 < ThreeSix> use unsafe package
21:45 < Namegduf> (But a consistent one).
21:46 < aiju> you can also just fucking shift
21:46 < Namegduf> You can also shift, yes, that's option 2.
21:46 < Namegduf> Shift and assign each byte individually.
21:46 <@adg> the encoding/binary package has the funtions for shifts
21:46 <@adg> functions
21:47 <@adg> to save you rewriting it
21:47 < Namegduf> I like encoding/binary because when my platform's
endianness matches the protocol's endianness it is at least allowed to optimise
21:47 < aiju> huh?
21:47 < aiju> does it do that?
21:48 < Namegduf> I don't know, but it could.
21:48 < aiju> it doesn't
21:48 < Namegduf> Probably will in the future if not now.
21:48 < Namegduf> I'd think.
21:48 < aiju> i doubt it
21:48 < aiju> most of the time you do endianness conversion you have I/O to
begin with
21:48 <@adg> doing the copy is only slightly cheaper than the shifts
21:48 < cbeck> adg: Are you a beer fan?
21:48 < aiju> I/O is motherfucking slow compared to the shifts
21:48 < Namegduf> Ah.
21:48 <@adg> cbeck: sure
21:49 < aiju> 23:55 <@adg> doing the copy is only slightly cheaper
than the shifts
21:49 < aiju> not quite
21:49 < kungfuelmosan> ah cool - yeah I looked at enocding/binary but it
only supports uint64's ?
21:49 < Namegduf> At any rate, you can't directly turn an int64 into a byte
array without using pointers and unsafe because it is an unsafe operation, due to
varing endianness.  As described above, you probably don't want to.
21:49 < aiju> also, if you use unsafe, i'm going to slice you up when you're
not looking
21:49 < cbeck> +1
21:51 < kungfuelmosan> haha - so shifting ftw is it?
21:51 < Namegduf> Shifting won't work if you're signed either
21:51 < aiju> huh?
21:51 < ThreeSix> yeah just use encoding/binary
21:51 < Namegduf> I THINK you can cast to uint64 and back to int64 at the
other end safely
21:51 < kungfuelmosan> :( scuse the noobness but encoding/binary appears to
only supprt unsigned ints?
21:51 < Namegduf> Shifting ALSO only supports unsigned ints.
21:52 < aiju> kungfuelmosan: encoding/binary supports almost anything
21:52 < synx`> shifting doens't support negatives?  :(
21:52 < Namegduf> synx`: The way we're talking about using it doesn't.
21:53 < aiju> holy shit
21:53 < aiju> it really odesn't
21:53 < aiju> what did they do
21:53 < kungfuelmosan> haha
21:53 < kungfuelmosan> It used to support more than uint's ?
21:53 < Namegduf> I think int64(uint64(x)) == x
21:53 < Namegduf> I am not 100%, though.
21:54 < Namegduf> I'd need to check the spec.
21:54 -!- Fish [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5]
21:54 < Namegduf> If that does work reliably, you can just convert to uint64
and do the reverse at the other end; when using encoding/binary you need to know
what you're expecting to read anyway.
21:55 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
21:55 < kungfuelmosan> mm, only problem is I'm trying to construct a UUID
where the raw bits need to represent a signed int - i.e: its not me interpreting
the bits on the other end
21:55 < cbeck> adg: Hope you've enjoyed Portland, pay a visit to Ground
Kontrol before you leave if you're in to pinball or arcade games.
21:55 < aiju> kungfuelmosan: convert to uint64, be happy
21:55 < aiju> and who the fuck designed the signed bitshift operations
21:55 < Namegduf> There are words in this section of the spec, but I don't
understand them.
21:56 -!- rlab [~Miranda@171-76-95-178.pool.ukrtel.net] has quit [Quit: Miranda
IM! Smaller, Faster, Easier.  http://miranda-im.org]
21:56 < ThreeSix> Thats an old package I used
21:56 < ThreeSix> http://pastebin.com/HgtFbyfJ
21:56 -!- Fish [~Fish@9fans.fr] has quit [Client Quit]
21:57 < cbeck> Also, the rose garden in washington park is a lovely place if
you're sick of tech or people.
21:57 < ThreeSix> clean some of the header and other stuff and you can use
it, I suppose
21:57 < aiju> ah wait, it's an arithmetic shift, there's some sense for that
21:57 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts
21:58 < ThreeSix> you can read 8 bytes as uint64 and as int64
21:58 <@adg> cbeck: yeah i plan to :)
21:59 < kungfuelmosan> ThreeSix: Cheers!
22:00 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Ping timeout: 276
seconds]
22:00 < ThreeSix> =]
22:01 -!- visof [~visof@41.34.216.46] has joined #go-nuts
22:02 -!- franciscosouza [~francisco@201.7.186.67] has quit [Quit: franciscosouza]
22:05 -!- photron [~photron@port-92-201-85-197.dynamic.qsc.de] has quit [Ping
timeout: 260 seconds]
22:06 -!- synx` [~dhorn@unaffiliated/synx/x-4957395] has quit []
22:06 -!- r_linux [~r_linux@static.200.198.180.250.datacenter1.com.br] has quit
[Quit: Lost terminal]
22:09 -!- bmizerany [~bmizerany@columbia.portseattle.org] has joined #go-nuts
22:10 < bmizerany> is Andrew here?
22:10 -!- kr [~Keith@columbia.portseattle.org] has joined #go-nuts
22:11 < kevlar_work> am I the only one who's really confused about the
latest weekly release?
22:11 < kevlar_work> I can't find it...
22:11 -!- pjacobs [~pjacobs@66.54.185.130] has quit [Ping timeout: 276 seconds]
22:12 < kevlar_work> the title of the CL is definitely "weekly.2011-07-29"
but both that and the normal "weekly" tag are missing from .hgtags
22:14 <@adg> gimmie a few seconds
22:14 <@adg> forgot to submit the tag cl before sending the mail
22:15 <@adg> damn codereview threw a 500 and it failed, i thought it had
submitted
22:15 <@adg> it's in
22:16 -!- visof [~visof@41.34.216.46] has quit [Ping timeout: 250 seconds]
22:20 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has joined #go-nuts
22:22 -!- ThreeSix [~ThreeSix@77.127.175.236] has quit []
22:27 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts
22:28 -!- ThreeSix [~ThreeSix@77.127.175.236] has joined #go-nuts
22:28 -!- eikenberry [~jae@173-164-68-213-Oregon.hfc.comcastbusiness.net] has quit
[Quit: End of line.]
22:32 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
22:34 < skelterjohn> Is there any way to build only the compiler, linker and
other bare bones tools?
22:34 < skelterjohn> that is, only cmds that don't have any go source?
22:36 -!- PortatoreSanoDiI [~Marvin@82.84.93.239] has quit [Read error: Connection
reset by peer]
22:36 <@adg> skelterjohn: sure
22:36 <@adg> for i in lib9 libbio libmach cmd; do gomake -C $i install; done
22:36 < skelterjohn> err, i mean a script that exists already
22:37 -!- kungfuelmosan [6ee8901a@gateway/web/freenode/ip.110.232.144.26] has quit
[Ping timeout: 252 seconds]
22:37 <@adg> (from $GOROOT/src)
22:37 < skelterjohn> some of the things in cmd use go...  goinstall for
instance
22:37 <@adg> skelterjohn: they're built by the pkg/ makefile
22:37 < skelterjohn> i see, cool thanks
22:37 <@adg> np
22:37 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has joined #go-nuts
22:38 < skelterjohn> huh - weird change to exp/template...
(*Template).Parse() (*Template, os.Error)?
22:38 < skelterjohn> it returns itself?
22:38 < skelterjohn> or are there times when it would actually return
something else?
22:39 < skelterjohn> (don't expect you to know this off the top of your
head, adg, don't worry)
22:39 -!- visof [~visof@41.34.216.46] has joined #go-nuts
22:39 -!- noam_ [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts
22:40 < kevlar_work> skelterjohn, it's probably to allow you to chain
22:40 < kevlar_work> oh, hmm
22:40 < kevlar_work> the err kinda shoots that in the foot though, lol
22:40 < skelterjohn> can't - with the error return val
22:41 < skelterjohn> i'll have to learn about this whole
multiple-templates-in-one thing at some point
22:41 < skelterjohn> but not today :)
22:42 -!- Queue29 [~Queue29@egress-w.sfo1.yelpcorp.com] has quit [Remote host
closed the connection]
22:43 -!- bmizerany [~bmizerany@columbia.portseattle.org] has quit [Remote host
closed the connection]
22:46 -!- mcfuzz [~tj1776@c-67-180-244-115.hsd1.ca.comcast.net] has quit [Quit:
mcfuzz]
22:48 -!- bmizerany [~bmizerany@columbia.portseattle.org] has joined #go-nuts
22:48 -!- zaero [~eclark@servo.m.signedint.com] has joined #go-nuts
22:51 < hoozleboozle> Using reflect, is it possible to write func
Sort(slicePtr interface{}, less func(int, int) bool), right?
22:59 -!- visof [~visof@41.34.216.46] has quit [Quit: Leaving]
22:59 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.]
23:01 -!- iant [~iant@nat/google/x-gckxgyqqwoyqxrpg] has joined #go-nuts
23:01 -!- mode/#go-nuts [+v iant] by ChanServ
23:01 < kevlar_work> hoozleboozle, not efficiently.,
23:02 < kevlar_work> that's what sort.Interface is for
23:03 -!- kr [~Keith@columbia.portseattle.org] has quit [Ping timeout: 276
seconds]
23:05 -!- kevlar_work [~kevlar@unaffiliated/eko] has quit [Remote host closed the
connection]
23:08 < hoozleboozle> Not terribly worried about efficiency.  I'm just
thinking of the cases when you have, say, a slice of pairs and you want to sort by
the second in reverse.  The minimal possible is the type I gave, I think.  If
better performance is needed, sort.Interface can be done later.
23:17 -!- squeese [~squeese@cm-84.209.17.156.getinternet.no] has joined #go-nuts
23:21 -!- iant [~iant@nat/google/x-gckxgyqqwoyqxrpg] has quit [Ping timeout: 264
seconds]
23:26 -!- moraes [~moraes@189.103.188.201] has quit [Quit: Leaving]
23:28 -!- hoozleboozle [~Adium@nat/google/x-fjgbkkqaeftvurbo] has quit [Quit:
Leaving.]
23:32 -!- iant [~iant@67.218.103.234] has joined #go-nuts
23:32 -!- mode/#go-nuts [+v iant] by ChanServ
23:36 -!- bmizerany [~bmizerany@columbia.portseattle.org] has quit [Remote host
closed the connection]
23:39 -!- qeed [~qeed@adsl-98-85-32-82.mco.bellsouth.net] has joined #go-nuts
23:47 -!- hoozleboozle [~Adium@nat/google/x-bptgbgauobahmryd] has joined #go-nuts
23:47 -!- yebyen [~yebyen@irie-arch.rit.edu] has joined #go-nuts
23:49 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping
timeout: 264 seconds]
23:53 -!- noselasd [~kvirc@80.239.96.162] has joined #go-nuts
23:58 -!- iant [~iant@67.218.103.234] has quit [Ping timeout: 255 seconds]
23:59 -!- bmizerany [~bmizerany@columbia.portseattle.org] has joined #go-nuts
23:59 -!- espeed [~espeed@63.246.231.57] has quit [Quit: Leaving]
23:59 -!- iant [~iant@216.239.45.130] has joined #go-nuts
23:59 -!- mode/#go-nuts [+v iant] by ChanServ
23:59 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts
--- Log closed Sat Jul 30 00:00:02 2011