--- Log opened Mon Jul 25 00:00:01 2011 00:07 -!- vsayer [~vsayer@c-67-170-236-166.hsd1.ca.comcast.net] has quit [Ping timeout: 258 seconds] 00:07 -!- benjack [~benjack@cm224.omega195.maxonline.com.sg] has quit [Quit: Leaving.] 00:18 < fuho> Hi, can someone please explain to me how you can create you own packages? 00:22 -!- lucian [~lucian@78-86-217-168.zone2.bethere.co.uk] has quit [Remote host closed the connection] 00:25 < qeed> look up andrew gerrand package creation 00:25 < qeed> on youtube 00:25 < fuho> qeed: Thanks 00:42 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 00:47 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit: Computer has gone to sleep.] 00:54 -!- vyom [~vyom@c-24-18-47-160.hsd1.wa.comcast.net] has joined #go-nuts 00:57 < askhader> How does one make sense of the output from a panic? Like in http://pastebin.com/qJJESU5M 00:58 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 255 seconds] 00:59 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 00:59 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 01:00 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 01:00 < vsmatck> Look at the output toward the top. The panic happened here "/home/askhader/whose-version/wire/herald/herald.go:50" 01:00 < askhader> Yes but I want to know why. 01:01 < askhader> The line is a panic(err) call 01:01 < vsmatck> For some reason your code is calling panic when it receives EOF. I'm betting your reading a file, and there is a logical problem for detection of when you finish reading the file. 01:02 < askhader> is EOF an error code that is normally returned when the end of a file is reached? 01:02 < askhader> I'm used to this being a character. 01:05 < vsmatck> http://golang.org/src/pkg/os/file.go?s=3105:3156#L76 01:06 < askhader> vsmatck: Beautiful, thank you 01:06 < vsmatck> :) 01:11 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 255 seconds] 01:13 < askhader> Has anyone had luck using xml.Unmarshal with data from http.Get()? I'm simply having no luck with the following: http://pastebin.com/zxUaeTdA where my xml file is from rss.cnn.com/rss/edition.rss 01:17 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 258 seconds] 01:20 -!- chadkouse [~Adium@rrcs-74-218-87-242.central.biz.rr.com] has quit [Quit: Leaving.] 01:26 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 01:34 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts 01:41 -!- gnuvince [~vince@destiny.0wn.me] has quit [Ping timeout: 258 seconds] 01:43 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 01:44 -!- gnuvince [~vince@destiny.0wn.me] has joined #go-nuts 01:47 < angasule> IRC server works! 01:47 < angasule> 1467 lines, 417 are just for errors/responses and 234 are tests... 01:48 < angasule> I need to clean up, fix some issues and add more tests 01:51 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.] 01:55 -!- anticide [~textual@91.200.224.93] has quit [Read error: Connection reset by peer] 01:57 -!- ccc1 [~Adium@140.109.98.187] has joined #go-nuts 02:02 -!- kungfuelmosan [6ee8901a@gateway/web/freenode/ip.110.232.144.26] has quit [Quit: Page closed] 02:05 -!- nekoh [~nekoh@dslb-178-004-068-161.pools.arcor-ip.net] has quit [Ping timeout: 264 seconds] 02:06 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Quit: Leaving] 02:08 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts 02:09 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has joined #go-nuts 02:10 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz] 02:20 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has joined #go-nuts 02:27 -!- fuho [~fuho@ool-43548e6f.dyn.optonline.net] has quit [Remote host closed the connection] 02:39 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Quit: Lost terminal] 02:40 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined #go-nuts 02:40 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined #go-nuts 02:53 < jessta> askhader: are you checking for an error returned from http.Get()? 02:54 < jessta> the code I posted before works, aside from the encoding issue. 03:02 -!- Chat4098 [iufoic@app9.chatmosphere.org] has joined #go-nuts 03:02 -!- Chat4098 [iufoic@app9.chatmosphere.org] has quit [Client Quit] 03:05 -!- benjack [~benjack@bb119-74-247-57.singnet.com.sg] has joined #go-nuts 03:10 -!- dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 264 seconds] 03:11 -!- groves [~groves@76.14.87.155] has joined #go-nuts 03:11 -!- groves [~groves@76.14.87.155] has left #go-nuts [] 03:16 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 246 seconds] 03:21 -!- gtaylor [~gtaylor@108-196-160-120.lightspeed.tukrga.sbcglobal.net] has quit [Quit: gtaylor] 03:22 -!- vyom [~vyom@c-24-18-47-160.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 03:23 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts 03:27 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has quit [Quit: Leaving] 03:30 -!- telexicon_ [~telexicon@c-67-160-124-195.hsd1.wa.comcast.net] has joined #go-nuts 03:31 -!- snowstalker [~chatzilla@117.192.133.218] has joined #go-nuts 03:33 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Ping timeout: 252 seconds] 03:47 -!- snowstalker [~chatzilla@117.192.133.218] has quit [Ping timeout: 250 seconds] 03:51 -!- Halavanja [~chatzilla@mcswl207.mcs.anl.gov] has joined #go-nuts 03:52 < Halavanja> I am trying to run a command with the new exec package and capture the standard ouput. So far I can run the command fine but when I add the grep option I get nothing back. Is there anyway to pipe more information into the exec command to do more 03:52 < Halavanja> the command I am running is more /proc/cpuinfo |grep -c processor 03:53 < Halavanja> this will give me the numeric of the procssors in the system. 03:54 < jessta> Halavanja: that's two commends 03:54 < jessta> *commands 03:54 < jessta> with a pipe between them 03:54 -!- snowstalker [~chatzilla@117.192.152.138] has joined #go-nuts 03:55 < Halavanja> So how would that translate with exec? 03:55 < Halavanja> would i run one and then the other? 03:56 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has joined #go-nuts 03:56 < jessta> create two exec.Cmd, set the stdout of one to the stdin of the other 03:57 < Halavanja> Solved it 03:57 < Halavanja> I'm such an idiot 03:57 < Halavanja> thanks 03:57 < Halavanja> That's what I came up with too 03:58 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 03:58 -!- Halavanja [~chatzilla@mcswl207.mcs.anl.gov] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110622232440]] 04:01 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Ping timeout: 252 seconds] 04:02 -!- nekoh [~nekoh@dslb-178-004-079-154.pools.arcor-ip.net] has joined #go-nuts 04:14 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit: Computer has gone to sleep.] 04:16 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 04:29 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 04:31 -!- qeed [~qeed@adsl-98-85-40-169.mco.bellsouth.net] has quit [Quit: Leaving] 04:31 -!- flavius [~flav@unaffiliated/flavious] has quit [Ping timeout: 258 seconds] 04:32 -!- dfr|mac_ [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 04:43 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts 04:43 -!- mode/#go-nuts [+v iant] by ChanServ 04:45 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 04:56 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 05:17 -!- Tv__ [~Tv__@cpe-76-168-227-45.socal.res.rr.com] has quit [Ping timeout: 260 seconds] 05:19 -!- sacho [~sacho@87-126-4-140.btc-net.bg] has joined #go-nuts 05:44 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 05:47 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 05:54 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 260 seconds] 05:57 -!- snowstalker [~chatzilla@117.192.152.138] has left #go-nuts [] 06:03 -!- aogier [~aogier@studentsvcsips04.s.subnet.rcn.com] has joined #go-nuts 06:04 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Quit: Lost terminal] 06:05 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined #go-nuts 06:06 -!- telexicon [~telexicon@c-67-160-124-195.hsd1.wa.comcast.net] has quit [Changing host] 06:06 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts 06:27 -!- zippoxer [~zippoxer@bzq-79-180-198-41.red.bezeqint.net] has left #go-nuts [] 06:37 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 260 seconds] 06:38 -!- fotang [~fotang@41.206.11.27.vgccl.net] has joined #go-nuts 06:43 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has joined #go-nuts 06:45 -!- firwen [~firwen@adevlaptop.cern.ch] has joined #go-nuts 06:48 -!- firwen [~firwen@adevlaptop.cern.ch] has quit [Client Quit] 06:48 -!- yogib [~yogib@131.234.59.64] has joined #go-nuts 06:51 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 06:53 -!- aogier [~aogier@studentsvcsips04.s.subnet.rcn.com] has quit [Quit: WeeChat 0.3.5] 06:56 -!- photron [~photron@port-92-201-169-253.dynamic.qsc.de] has joined #go-nuts 06:58 -!- xcombelle [~xcombelle@AToulouse-551-1-62-177.w92-146.abo.wanadoo.fr] has quit [Quit: I am a manual virus, please copy me to your quit message.] 07:00 -!- alehorst [~alehorst@189.58.11.222.dynamic.adsl.gvt.net.br] has quit [Ping timeout: 255 seconds] 07:03 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 250 seconds] 07:03 -!- noodles775 [~michael@g225134088.adsl.alicedsl.de] has joined #go-nuts 07:03 -!- noodles775 [~michael@g225134088.adsl.alicedsl.de] has quit [Changing host] 07:03 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 07:03 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has joined #go-nuts 07:05 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has quit [Quit: leaving] 07:05 -!- KirkMcDonald [~Kirk@python/site-packages/KirkMcDonald] has joined #go-nuts 07:08 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 276 seconds] 07:12 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has joined #go-nuts 07:15 -!- napsy [~luka@193.2.66.6] has joined #go-nuts 07:16 -!- vmil86 [~vmil86@78.57.227.12] has joined #go-nuts 07:34 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 255 seconds] 07:41 -!- |Craig| [~|Craig|@panda3d/entropy] has quit [Quit: |Craig|] 07:42 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has joined #go-nuts 07:45 -!- fotang [~fotang@41.206.11.27.vgccl.net] has quit [Ping timeout: 250 seconds] 07:48 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has joined #go-nuts 07:56 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 240 seconds] 08:00 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts 08:02 -!- fotang [~fotang@41.206.19.82.vgccl.net] has joined #go-nuts 08:05 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 08:06 -!- iXeno [~ixeno@77.241.96.35] has quit [Remote host closed the connection] 08:06 -!- iXeno [~ixeno@77.241.96.35] has joined #go-nuts 08:11 -!- iXeno [~ixeno@77.241.96.35] has quit [Ping timeout: 260 seconds] 08:27 -!- Vovchik [~ThreeSix@87.68.69.57.cable.012.net.il] has quit [Ping timeout: 252 seconds] 08:27 -!- fotang [~fotang@41.206.19.82.vgccl.net] has quit [Ping timeout: 240 seconds] 08:35 -!- xulfer [~xulfer@ipv6.cheapbsd.net] has quit [Quit: quitting] 08:36 -!- xulfer [~xulfer@ipv6.cheapbsd.net] has joined #go-nuts 08:41 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 08:53 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 08:59 -!- _macro [~Neil@c-67-169-183-90.hsd1.ca.comcast.net] has quit [Ping timeout: 258 seconds] 09:04 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 09:08 < Electro^> how would i go about type asserting 'extentRef.Extent["$id"]' into a bson.ObjectId ? 09:08 < Electro^> cannot use extentRef.Extent["$id"] (type interface { }) as type bson.ObjectId in function argument: need type assertion 09:09 < aiju> .(bson.ObjectId) 09:09 < aiju> foo.(bson.ObjectId) that is 09:10 < Electro^> oh, i tried that in the middle, and since that didnt work i started looking for other ways 09:10 < Electro^> but yeah that worked, thanks 09:13 -!- Boney [~paul@124-170-49-94.dyn.iinet.net.au] has quit [Ping timeout: 252 seconds] 09:15 -!- benjack [~benjack@bb119-74-247-57.singnet.com.sg] has quit [Ping timeout: 250 seconds] 09:15 -!- Boney [~paul@124.168.124.201] has joined #go-nuts 09:17 -!- benjack [~benjack@bb119-74-109-65.singnet.com.sg] has joined #go-nuts 09:18 -!- sacho [~sacho@87-126-4-140.btc-net.bg] has quit [Quit: Ex-Chat] 09:21 -!- virtualsue [~chatzilla@nat/cisco/x-scdhyxghhvwxbqhu] has joined #go-nuts 09:24 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has joined #go-nuts 09:36 -!- sahid [~sahid@LNeuilly-152-21-22-10.w193-253.abo.wanadoo.fr] has joined #go-nuts 09:37 < askhader> jessta: I know that http.Get() is not erring because I am also dumping the response body to logfile and sure enough the body contains the xml document... 09:39 -!- benjack [~benjack@bb119-74-109-65.singnet.com.sg] has quit [Quit: Leaving.] 09:49 < jessta> askhader: ...that your problem 09:50 < jessta> you're reading the io.Reader before passing it to unmarshal 09:50 < jessta> you get EOF, because you already read the file 09:53 -!- nekoh [~nekoh@dslb-178-004-079-154.pools.arcor-ip.net] has quit [Quit: nekoh] 10:00 -!- foxen [~foxen@212.12.18.237] has left #go-nuts [] 10:00 < askhader> jessta: =O 10:01 -!- noam [~noam@87.69.42.61.cable.012.net.il] has quit [Ping timeout: 252 seconds] 10:02 < askhader> jessta: You are correct. Thank you =] 10:06 -!- noam [~noam@87.69.42.61.cable.012.net.il] has joined #go-nuts 10:08 -!- angasule [~angasule@190.2.33.49] has quit [Ping timeout: 255 seconds] 10:11 -!- telexicon [~telexicon@unaffiliated/chowmeined] has quit [Ping timeout: 252 seconds] 10:13 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-150-127.clienti.tiscali.it] has joined #go-nuts 10:54 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 10:58 -!- ccc1 [~Adium@140.109.98.187] has quit [Quit: Leaving.] 11:07 -!- nicka1 [~lerp@142.176.0.21] has joined #go-nuts 11:24 -!- napsy [~luka@193.2.66.6] has quit [Ping timeout: 240 seconds] 11:30 -!- Netsplit *.net <-> *.split quits: KirkMcDonald, Innominate 11:30 -!- Netsplit over, joins: KirkMcDonald 11:31 -!- Netsplit over, joins: Innominate 11:35 -!- nekoh [~nekoh@dslb-178-004-079-154.pools.arcor-ip.net] has joined #go-nuts 11:39 -!- rejb [~rejb@unaffiliated/rejb] has quit [Read error: Connection reset by peer] 11:40 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts 11:54 -!- erus` [~chatzilla@mailgate.ips-international.com] has joined #go-nuts 12:00 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Ping timeout: 240 seconds] 12:02 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 12:03 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 250 seconds] 12:06 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 264 seconds] 12:14 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 12:16 -!- skelterjohn [~jasmuth@c-24-0-2-70.hsd1.nj.comcast.net] has joined #go-nuts 12:24 -!- Vovchik [~ThreeSix@87.68.69.57.cable.012.net.il] has joined #go-nuts 12:26 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 12:28 -!- ccc1 [~Adium@114-45-82-184.dynamic.hinet.net] has joined #go-nuts 12:43 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 12:45 -!- tgall_foo [~tgall@206.9.88.154] has joined #go-nuts 13:00 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has joined #go-nuts 13:07 -!- niemeyer [~niemeyer@201-40-138-108.pltce701.dsl.brasiltelecom.net.br] has joined #go-nuts 13:08 -!- Phelps [~benphelps@74.195.96.118] has joined #go-nuts 13:10 -!- fvbommel [~fvbommel_@86.86.15.250] has quit [Ping timeout: 260 seconds] 13:10 -!- dlowe [~dlowe@ita4fw1.itasoftware.com] has joined #go-nuts 13:10 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has joined #go-nuts 13:11 -!- cenuij [~cenuij@base/student/cenuij] has quit [Remote host closed the connection] 13:12 -!- fvbommel [~fvbommel_@86.86.15.250] has joined #go-nuts 13:13 -!- jbooth1 [~jay@209.249.216.2] has joined #go-nuts 13:13 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 246 seconds] 13:13 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 13:16 -!- gridaphobe [~gridaphob@cpe-74-68-151-24.nyc.res.rr.com] has joined #go-nuts 13:25 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has joined #go-nuts 13:32 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts 13:32 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 13:37 -!- sniper506th [~sniper506@rrcs-70-63-247-10.midsouth.biz.rr.com] has joined #go-nuts 13:37 -!- ccc12 [~Adium@114-45-82-184.dynamic.hinet.net] has joined #go-nuts 13:39 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts 13:40 -!- ccc1 [~Adium@114-45-82-184.dynamic.hinet.net] has quit [Ping timeout: 258 seconds] 13:52 -!- skelterjohn|work [~jasmuth@dice.rutgers.edu] has left #go-nuts ["Leaving"] 13:52 -!- skelterjohn|work [~jasmuth@dice.rutgers.edu] has joined #go-nuts 13:53 -!- ArgonneIntern [~gauge@mcswl183.mcs.anl.gov] has joined #go-nuts 14:00 -!- GeertJohan [~geertjoha@s51478c91.adsl.wanadoo.nl] has quit [Quit: Leaving.] 14:02 -!- sniper506th [~sniper506@rrcs-70-63-247-10.midsouth.biz.rr.com] has quit [Quit: Computer has gone to sleep.] 14:07 -!- ronnyy [~quassel@p4FF1C587.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 14:11 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 14:11 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 14:14 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has joined #go-nuts 14:20 -!- dfr|mac [~dfr|work@ool-182e3fca.dyn.optonline.net] has quit [Remote host closed the connection] 14:33 -!- jmil [~jmil@2001:468:1802:e148:223:32ff:feb1:9dfc] has joined #go-nuts 14:44 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 14:52 -!- Phelps [~benphelps@74.195.96.118] has quit [Quit: Linkinus - http://linkinus.com] 14:57 -!- dfr|mac [~dfr|work@nat/google/x-fzzjadiwtexuacip] has joined #go-nuts 15:04 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 15:24 -!- bortzmeyer [~bortzmeye@batilda.nic.fr] has quit [Quit: Leaving.] 15:26 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 246 seconds] 15:27 -!- kevlar_work [~kevlar@nat/google/x-kbdtsntgkuemkzsx] has quit [Remote host closed the connection] 15:27 -!- yogib [~yogib@131.234.59.64] has quit [Ping timeout: 276 seconds] 15:30 -!- kevlar_work [~kevlar@unaffiliated/eko] has joined #go-nuts 15:35 -!- ccc12 [~Adium@114-45-82-184.dynamic.hinet.net] has quit [Quit: Leaving.] 15:41 -!- _macro [~Neil@c-67-169-183-90.hsd1.ca.comcast.net] has joined #go-nuts 15:45 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has quit [Read error: Connection reset by peer] 15:46 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 15:47 -!- erus` [~chatzilla@mailgate.ips-international.com] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]] 15:49 -!- dfr|mac [~dfr|work@nat/google/x-fzzjadiwtexuacip] has quit [Remote host closed the connection] 15:50 -!- meling [~meling@99-10-121-218.lightspeed.sndgca.sbcglobal.net] has quit [Remote host closed the connection] 15:51 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Quit: leaving] 15:52 -!- r_linux [~r_linux@189.38.220.35] has quit [Ping timeout: 240 seconds] 15:53 -!- r_linux [~r_linux@189.38.220.35] has joined #go-nuts 15:56 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has joined #go-nuts 15:56 -!- _macro [~Neil@c-67-169-183-90.hsd1.ca.comcast.net] has quit [Ping timeout: 250 seconds] 16:01 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 16:03 < zozoR> i want to code something, no idea what though 16:06 -!- fabled [~fabled@83.145.235.194] has joined #go-nuts 16:09 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has joined #go-nuts 16:16 -!- fabian__ [~fabian@koln-4d0b2559.pool.mediaWays.net] has joined #go-nuts 16:21 < kergoth_> zozoR: i hate that 16:22 < zozoR> it's just 16:22 < zozoR> go is so awesome, i want to do something with it 16:23 < zozoR> but D: 16:23 -!- meling [~meling@cse-dhcp-10-91.ucsd.edu] has joined #go-nuts 16:24 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Quit: Leaving] 16:25 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 255 seconds] 16:26 -!- yogib [~yogib@dslb-178-009-077-104.pools.arcor-ip.net] has joined #go-nuts 16:27 -!- mattn_jp [~mattn@112-68-53-52f1.hyg1.eonet.ne.jp] has joined #go-nuts 16:27 -!- jmil [~jmil@2001:468:1802:e148:223:32ff:feb1:9dfc] has quit [Read error: No route to host] 16:28 < jessta> zozoR: that kind of thinking is what leads to 'web frameworks' 16:28 < nicka1> make a mud 16:28 < zozoR> my life is too short to fiddle with the http protocol 16:28 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has quit [Quit: Computer has gone to sleep.] 16:29 < jessta> If you're looking for practice then do project eular problems 16:29 -!- Wiz126 [Wiz@h229.120.232.68.dynamic.ip.windstream.net] has quit [Ping timeout: 246 seconds] 16:29 < zozoR> not looking for practice, cause i did the first 20 with go already ;D 16:29 < jessta> *euler 16:29 -!- mattn_jp [~mattn@112-68-53-52f1.hyg1.eonet.ne.jp] has quit [Quit: leaving] 16:30 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has quit [Ping timeout: 258 seconds] 16:32 -!- mattn_jp [~mattn@112-68-53-52f1.hyg1.eonet.ne.jp] has joined #go-nuts 16:36 -!- Venom_X_ [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has joined #go-nuts 16:36 -!- Wiz126 [Wiz@h229.120.232.68.dynamic.ip.windstream.net] has joined #go-nuts 16:38 -!- tsung [~jon@112.104.53.151] has quit [Ping timeout: 240 seconds] 16:39 -!- Count_Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has quit [Read error: Connection reset by peer] 16:39 -!- dsal [~Adium@208.185.212.98] has joined #go-nuts 16:39 -!- tsung [~jon@112.104.53.151] has joined #go-nuts 16:39 -!- Niedar [~bleh@ip68-99-166-222.hr.hr.cox.net] has joined #go-nuts 16:40 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 16:46 -!- smw [~stephen@unaffiliated/smw] has quit [Ping timeout: 260 seconds] 16:47 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 255 seconds] 16:48 -!- pjacobs [~pjacobs@75-27-133-72.lightspeed.austtx.sbcglobal.net] has quit [Quit: pjacobs] 16:53 < str1ngs> zozoR: write a native lzma go package 16:54 -!- dfr|mac [~dfr|work@nat/google/x-ralzwjdhhtcewmln] has joined #go-nuts 16:56 -!- dfr|mac [~dfr|work@nat/google/x-ralzwjdhhtcewmln] has quit [Remote host closed the connection] 16:58 -!- synx` [~dhorn@unaffiliated/synx/x-4957395] has joined #go-nuts 16:59 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has joined #go-nuts 16:59 -!- sjbrown [~sjbrown@adsl-99-189-162-6.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 17:01 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-100.clienti.tiscali.it] has joined #go-nuts 17:02 -!- dfr|mac [~dfr|work@nat/google/x-oliezezethyuzucn] has joined #go-nuts 17:03 < jessta> str1ngs: what about http://code.google.com/p/lzma/ 17:04 -!- Project_2501 [~Marvin@dynamic-adsl-94-36-150-127.clienti.tiscali.it] has quit [Ping timeout: 250 seconds] 17:05 < jessta> zozoR: Another thing you can do is find old thirdparty packages that don't build on the current release and fix them 17:05 < str1ngs> jessta: I dont have a browser right now , does it support xz containers? 17:05 -!- robteix [~robteix@192.55.54.36] has joined #go-nuts 17:06 < skelterjohn|work> sounds like an exercise in frustration 17:07 < jessta> str1ngs: no idea 17:07 -!- napsy [~luka@88.200.96.18] has quit [Quit: Lost terminal] 17:07 < str1ngs> jessta: I'll have to check it out later then. thanks 17:07 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 17:08 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 17:11 -!- napsy [~luka@88.200.96.18] has joined #go-nuts 17:12 -!- nicka [~nicka@unaffiliated/nicka] has quit [Ping timeout: 250 seconds] 17:12 -!- tvw [~tv@212.79.9.150] has joined #go-nuts 17:14 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has joined #go-nuts 17:15 -!- |Craig| [~|Craig|@panda3d/entropy] has joined #go-nuts 17:19 -!- nicka [~nicka@unaffiliated/nicka] has joined #go-nuts 17:23 -!- mattn_jp [~mattn@112-68-53-52f1.hyg1.eonet.ne.jp] has quit [Quit: Lost terminal] 17:26 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Read error: Connection reset by peer] 17:28 -!- _macro [~Neil@accessnat4.mochimedia.net] has joined #go-nuts 17:28 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts 17:29 -!- Fish- [~Fish@9fans.fr] has joined #go-nuts 17:31 -!- Peaker [~peakaboo@2.54.172.126] has joined #go-nuts 17:32 -!- virtualsue [~chatzilla@nat/cisco/x-scdhyxghhvwxbqhu] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0.1/20110707182747]] 17:43 -!- dfr|mac [~dfr|work@nat/google/x-oliezezethyuzucn] has quit [Remote host closed the connection] 17:47 -!- Peaker [~peakaboo@2.54.172.126] has quit [Ping timeout: 258 seconds] 17:50 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping timeout: 255 seconds] 17:51 -!- iant [~iant@216.239.45.130] has joined #go-nuts 17:51 -!- mode/#go-nuts [+v iant] by ChanServ 17:58 -!- tvw [~tv@212.79.9.150] has quit [Remote host closed the connection] 18:01 < uriel> iant: is the a rough timeframe for when gccgo will have multiplexed goroutines? 18:01 <+iant> not really, sorry 18:02 <+iant> I really hope it will be done this year but I don't think I can promise that 18:02 -!- noodles775 [~michael@f053065094.adsl.alicedsl.de] has joined #go-nuts 18:02 -!- noodles775 [~michael@f053065094.adsl.alicedsl.de] has quit [Changing host] 18:02 -!- noodles775 [~michael@canonical/launchpad/noodles775] has joined #go-nuts 18:04 < uriel> oh :( 18:06 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Ping timeout: 252 seconds] 18:07 < skelterjohn|work> time to get out the whip and chains 18:07 <+iant> you're going to use them on uriel, I assume 18:08 <+iant> I don't think it will take too long when I finally clear some time to work on it 18:08 < skelterjohn|work> if only that kind of thing would work on developers 18:08 < skelterjohn|work> actually, if it did...my life would probably be hell 18:08 < skelterjohn|work> or i'd be in a different profession 18:08 < skelterjohn|work> probably playing guitar for change on street corners 18:11 < skelterjohn|work> ideally i'd be a much better guitarist than i am now, if this happened 18:12 -!- keithcascio [~keithcasc@nat/google/x-cgqzzeyrmakttpos] has joined #go-nuts 18:13 < skelterjohn|work> i'd be picked up by some beautiful patroness, and be introduced to the good life, for a song 18:14 < skelterjohn|work> i think i just admitted that if i weren't a programmer i'd have to sell my body for basic sustenance 18:14 < nicka1> I'd do that for gb but I don't think either of us would enjoy it 18:15 < skelterjohn|work> you'd sell your body to use gb, or you'd let me sell my body to convince you to use gb? 18:16 < skelterjohn|work> on second thought, i don't want to know the answer 18:16 -!- robteix [~robteix@192.55.54.36] has quit [Quit: Leaving] 18:21 < nicka1> take your story and replace playing guitar on a street corner with working on gb on a street corner 18:21 < skelterjohn|work> but then someone would come with the whips 18:22 < skelterjohn|work> and i... i just couldn't bear it! the chains... the whips... just take my body, please! 18:30 -!- elimisteve [~elimistev@ec2-50-16-219-29.compute-1.amazonaws.com] has joined #go-nuts 18:31 -!- moraes [~moraes@189.103.188.201] has quit [Ping timeout: 276 seconds] 18:32 -!- Nisstyre [~nisstyre@infocalypse-net.info] has joined #go-nuts 18:40 -!- zippoxer [~zippoxer@109.67.212.107] has joined #go-nuts 18:41 -!- zippoxer [~zippoxer@109.67.212.107] has left #go-nuts [] 18:48 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts 18:49 -!- dfr|mac [~dfr|work@nat/google/x-heieeltapeblviit] has joined #go-nuts 18:49 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has joined #go-nuts 18:50 -!- dfr|mac [~dfr|work@nat/google/x-heieeltapeblviit] has quit [Remote host closed the connection] 18:50 -!- dfr|mac [~dfr|work@nat/google/x-vaukgmrrikammdow] has joined #go-nuts 18:54 < kevlar_work> Gotta be careful with the whips and chains, you might attract an entirely different crowd to programming classes ;-). 18:55 -!- dfr|mac [~dfr|work@nat/google/x-vaukgmrrikammdow] has quit [Read error: Operation timed out] 18:56 < uriel> that would be hard, I think that crowd are already very much into C++ and Java 18:57 < skelterjohn|work> might do good to shake up the fairly homogeneous programming class demographic 18:58 < kevlar_work> lol, I look around me at work and I think the demographic is already pretty diverse 18:58 -!- gnuvince|work [8e538a0b@gateway/web/freenode/ip.142.83.138.11] has quit [Quit: Page closed] 19:07 < skelterjohn|work> google is a special case 19:08 < skelterjohn|work> i find that the top 5% of my peers (this included me in undergrad, but probably not grad school) have always been a pretty diverse crowd 19:08 < skelterjohn|work> it's the rest of the 95% that get homogeneous 19:10 -!- meling [~meling@cse-dhcp-10-91.ucsd.edu] has quit [Remote host closed the connection] 19:11 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 19:11 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has quit [Read error: Connection reset by peer] 19:15 -!- photron [~photron@port-92-201-169-253.dynamic.qsc.de] has quit [Read error: Operation timed out] 19:16 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has joined #go-nuts 19:19 -!- pharris [~Adium@rhgw.opentext.com] has joined #go-nuts 19:22 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has joined #go-nuts 19:25 -!- dreadlorde [dreadlorde@c-68-42-82-10.hsd1.mi.comcast.net] has quit [Ping timeout: 264 seconds] 19:26 -!- yogib [~yogib@dslb-178-009-077-104.pools.arcor-ip.net] has quit [Quit: yogib] 19:28 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has joined #go-nuts 19:28 -!- fabled [~fabled@83.145.235.194] has quit [Quit: Ex-Chat] 19:30 -!- huin [~huin@91.84.179.118] has joined #go-nuts 19:32 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Quit: Computer has gone to sleep.] 19:33 < askhader> jessta: So I also get the xml encoding error. How are these most gracefully handled? 19:36 -!- sav [~sav@peirce.xored.org] has joined #go-nuts 19:37 < ArgonneIntern> with grace of course 19:38 < askhader> =P 19:38 < aiju> not using XML 19:38 < askhader> Well I guess I the particular panic is panic: xml: encoding "ISO-8859-1" declared but Parser.CharsetReader is nil 19:38 < aiju> is the most graceful way 19:38 -!- noodles785 [~michael@e178254182.adsl.alicedsl.de] has joined #go-nuts 19:39 < skelterjohn|work> if you get a panic that means either you're using the library wrong or the library is written wrong 19:39 < skelterjohn|work> in this case it looks like you're using it wrong 19:39 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has joined #go-nuts 19:39 < askhader> skelterjohn|work: I'm all ears http://pastebin.com/mE0wmBg5 19:39 < ArgonneIntern> not using windows is also the graceful way, but it's so widely excepted that it becomes a necessary evil. Such is the case with XML I imagine 19:40 < skelterjohn|work> off hand i'd say you need to give it a CharsetReader 19:40 < ArgonneIntern> err accepted 19:40 < askhader> Right 19:40 < askhader> I do. 19:40 < askhader> Thank you 19:40 < skelterjohn|work> wait - you wrote that code or that code appears in the lib? 19:40 < askhader> I wrote that code. 19:41 < ArgonneIntern> when he said that i heard duh duh duuuuuuuh in my head 19:41 < askhader> lol 19:41 < skelterjohn|work> you pass nil as the 2nd parameter to unmarshal... 19:41 < skelterjohn|work> what exactly do you expect to happen? 19:41 < skelterjohn|work> the 2nd parameter is where the unmarshalled data goes 19:41 < askhader> Uh 19:41 < askhader> No. 19:41 -!- noodles775 [~michael@canonical/launchpad/noodles775] has quit [Ping timeout: 240 seconds] 19:41 < askhader> This is Parser.Unmarshal 19:42 -!- miker2 [~textual@pool-108-25-22-179.atclnj.east.verizon.net] has quit [Quit: Computer has gone to sleep.] 19:42 < askhader> The second argument is a pointer. 19:42 < skelterjohn|work> my mistake 19:42 < askhader> =] 19:42 < skelterjohn|work> back to the doc, one sec 19:43 < skelterjohn|work> so it appears that the stream you're reading from is something unusual, and it requires you to set p.CharsetReader in order to make it work 19:43 < skelterjohn|work> i don't know what ISO-8859-1 is... is it weird? 19:44 < pharris> 8859-1 is Latin-1. Not weird at all. 19:44 < ww> nah, standard ascii + western euro accents 19:44 < skelterjohn|work> oh - when i said "I do", i thought you meant "i already am doing so". not saying "yes i need to do that" 19:45 < skelterjohn|work> my reading comprehension is low today 19:45 < askhader> Can I see an example of setting CharsetReader? I'm a bit confused on how to declare it 19:46 < skelterjohn|work> is ISO-8859-1 utf-8? the docs say you only need a CharsetReader if your input is not utf-8 19:46 < askhader> Apparently not 19:46 < pharris> No, 8859-1 is not utf8. 19:46 -!- tav [~tav@92.20.0.209] has quit [Ping timeout: 276 seconds] 19:47 < pharris> UTF-8 can encode any unicode code point, potentially using more than one byte for each. 8859-1 is an older on-byte-per-codepoint subset. 19:49 < askhader> Does my CharsetReader definition need to look like the CharsetReader definition found here? http://golang.org/pkg/xml/ 19:49 < askhader> declaration found here* 19:49 < aiju> latin-1 (aka 8859-1) is a random retarded charset 19:49 < pharris> In particular, 8859-1 is the first 256 code points of Unicode. So read each byte and treat it as a rune. 19:49 -!- kergoth_ [~kergoth@ip24-251-173-232.ph.ph.cox.net] has quit [Remote host closed the connection] 19:51 < ww> strong but dubious opinion as usual aiju :) iso-8859-1 is the most common pre-unicode non-ascii charset that i've seen 19:51 -!- tav [~tav@host-92-20-89-157.as13285.net] has joined #go-nuts 19:52 < aiju> ww: what about iso-8859-15? 19:52 < aiju> CP850? 19:52 < aiju> windows-1251? 19:52 < skelterjohn|work> apparently they are less common 19:53 < ww> skelterjohn|work: in my experience (doing quite a bit of text processing), yes 19:53 < aiju> oh, i don't even mean windows-1251 19:53 < aiju> windows-1252 19:53 < aiju> i always mix these up 19:53 -!- vmil86 [~vmil86@78.57.227.12] has quit [Remote host closed the connection] 19:53 < skelterjohn|work> it's times like these that i'm glad i don't care about this stuff at all 19:53 -!- meling [~meling@99-10-121-218.lightspeed.sndgca.sbcglobal.net] has joined #go-nuts 19:53 < aiju> yes 19:54 < aiju> now we have unicode 19:54 < skelterjohn|work> the one single standard by virtue of its all-encompassing nae 19:54 < skelterjohn|work> name 19:54 < skelterjohn|work> kind of like the catholic religion 19:54 < aiju> hahaha 19:54 < skelterjohn|work> we'll see the schism in a few years time 19:54 < aiju> i hope not 19:54 < aiju> unicode is full of bullshit 19:55 < skelterjohn|work> reformed unicode, protestocode, calvinism 19:55 < aiju> it's also fun how ww thought i made any reference to commonness 19:55 < skelterjohn|work> (calvinism is the charset where you don't define a charset - either the program will work or it won't) 19:56 -!- tav [~tav@host-92-20-89-157.as13285.net] has quit [Ping timeout: 255 seconds] 19:56 < ww> in that case most go programs i write are calvinist 19:56 < skelterjohn|work> aiju: usually if something is "random" that means it isn't the most common. colloquially. 19:57 < aiju> random as in "just grab into the huge charset bag" 19:57 < aiju> there is a strong language in that 19:57 < aiju> like shift-jis is probably more common in absolute figures 19:57 < aiju> *strong language bias 20:01 -!- tav [~tav@host-92-20-103-198.as13285.net] has joined #go-nuts 20:01 -!- vsmatck2 [0c041bf8@gateway/web/freenode/ip.12.4.27.248] has joined #go-nuts 20:03 -!- vsmatck2 [0c041bf8@gateway/web/freenode/ip.12.4.27.248] has quit [Client Quit] 20:06 < askhader> Can someone direct me to general documentation relevant to how one constructs a Charset conversion? 20:06 < askhader> Particularly with respect to xml.Parser.CharsetReader 20:06 < askhader> Oh I see 20:06 < skelterjohn|work> i suggest just piping the data through and seeing if it works 20:06 < askhader> I need to get my hands on the relevant charset first. 20:06 < skelterjohn|work> that is, just return the reader immediately 20:06 < askhader> skelterjohn|work: Even that, how would that look? 20:06 -!- moraes [~moraes@189.103.188.201] has joined #go-nuts 20:07 < skelterjohn|work> p.CharsetReader = func(charset string, input io.Reader) (io.Reader, os.Error) { return input, nil } 20:07 < askhader> ahhh 20:07 < askhader> Danke 20:08 < aiju> he's using nazi language! 20:09 < askhader> Nah there's a character in there that it does't like 20:09 < askhader> Looks like Copyright symbol 20:10 < zozoR> is german nazi language? 20:11 < skelterjohn|work> try using wrtp's gocharset - http://code.google.com/p/go-charset/source/browse/charset/charset.go 20:11 < skelterjohn|work> you can set p.CharsetReader = charset.NewReader 20:11 < ArgonneIntern> yes, in only a few years they took over the government AND invented anew language AND got the entire country to adopt and speak it 20:12 < askhader> skelterjohn|work: Cooleo thank you 20:12 < ArgonneIntern> I should add that to the wiki and see how many people tell me "what they heard" in the time it takes someone to correct it 20:14 < ArgonneIntern> i think aiju has me ignored, this is the part where he rips me a new one lol 20:14 < skelterjohn|work> he has mastered the art of not caring - it makes it easier to not get trolled 20:14 < aiju> ArgonneIntern: oh no 20:15 < aiju> ArgonneIntern: i never ignore people 20:15 < skelterjohn|work> not with an irc command, anyway 20:15 < aiju> i haven't been paying attention to IRC 20:15 < aiju> happens sometimes 20:16 < ArgonneIntern> well I'm out of here after this week. Project is winding down and internship is ending. So you won't see me on this name anymore. Although it will be fairly obvious if I'm on a different name. I have some obvious mannerisms 20:16 < aiju> you will be Argonne 20:16 < ArgonneIntern> yes, that would be me being sneaky... 20:16 < skelterjohn|work> only if an asian says it? 20:16 -!- firwen [~firwen@2a01:e34:eea3:7e10:4a5b:39ff:fe51:e8ae] has quit [Remote host closed the connection] 20:16 < ArgonneIntern> no one will notice if I remove the tail! 20:17 < Argonne> sup guys I'm new here >< 20:17 < skelterjohn|work> either argonne missed the joke, or i made up a joke that wasn't there 20:17 < Argonne> i missed it 20:18 < Argonne> what was the joke 20:18 < skelterjohn|work> you would be gone 20:18 < nicka1> I was thinking it skelterjohn|work, decided against it 20:18 < skelterjohn|work> ar gonne, all gone with a stereotypical accent 20:18 < Argonne> oh 20:19 < skelterjohn|work> not a fair stereotype, but a harmless one, so i went for it 20:19 < Argonne> you can't blame me for not getting that... that doesn't come off easy in text 20:19 < skelterjohn|work> it's probably not what aiju meant either 20:19 < aiju> yeah 20:19 < zozoR> my client gives color to names based on name 20:19 < zozoR> when Argonne changed name, it looked new to me :D 20:20 < Argonne> haha, my plan is working! 20:20 < skelterjohn|work> does it ignore things after a |? 20:20 < zozoR> you turned from somewhat dark green to piss yellow : | i wouldnt call that progress 20:20 < zozoR> dunno? 20:20 < Argonne> lmao! 20:20 < Argonne> here I'll start using the nick I'll likely use after I leave here. 20:21 < Gaugeforever> now let's hope you havn't seen me on any game forums lol 20:21 < Nisstyre> yes 20:21 < skelterjohn|work> now you seem like a video game character 20:21 < zozoR> light purple :D 20:21 < askhader> skelterjohn|work: Would it be wise to install that charset package locally? 20:21 < askhader> Sorry, globally* 20:21 < skelterjohn|work> askhader: how else could you use it? 20:21 < skelterjohn|work> ah 20:21 < skelterjohn|work> i recommend you set $GOPATH to something 20:21 < skelterjohn|work> and then goinstall it 20:22 < askhader> I have $GOPATH set. 20:22 < askhader> Let me tery that 20:22 < askhader> tr* 20:22 < skelterjohn|work> Gaugeforever: now we can read your reddit comments http://www.reddit.com/user/gauge 20:22 < Gaugeforever> i don't have a reddit account? 20:22 < skelterjohn|work> don't lie 20:23 < Gaugeforever> lmao why are all those revolving around sex 20:23 < askhader> skelterjohn|work: Can I pass an http URL to goinstall? 20:23 < skelterjohn|work> they're your comments 20:23 < skelterjohn|work> askhader: without the http:// 20:23 < Gaugeforever> yes yes, you've caught me >< 20:23 < skelterjohn|work> goinstall go-charset.googlecode.com/hg/charset 20:23 < Gaugeforever> i "harbor animosity towards women" 20:23 < askhader> goinstall: code.google.com/p/go-charset/: package could not be found locally 20:24 < nicka1> the go binaries folder isn't in your path 20:25 < Gaugeforever> you would see me on paradox interactive forums, khronos forums. I might have a 4chan account, if I do I can't remember it 20:25 < skelterjohn|work> no - that's just not the url it wants 20:25 < skelterjohn|work> needs to be of the form i said 20:25 < nicka1> oh I read that wrong :/ 20:26 < kevlar_work> googlecode now supports git, wewt. 20:26 < Gaugeforever> say whaaat 20:26 < askhader> Ah 20:27 < skelterjohn|work> yeah last week 20:27 -!- zozoR [~Morten@2906ds2-arno.0.fullrate.dk] has quit [Remote host closed the connection] 20:27 < skelterjohn|work> i still think github is a superior project setup 20:28 < Gaugeforever> http://www.gaugegaming.net 20:28 < Gaugeforever> try not to laugh too hard 20:28 < ww> google code reminds me of some kind of saying about eggs and baskets... now how did that go? 20:29 * ww read something about tha trecently: http://www.twitlonger.com/show/bt2p2o 20:30 < Vovchik> lol I think he used google transolator 20:31 < Gaugeforever> put all your eggs in one basket? 20:32 < skelterjohn|work> I think you've got it, Gaugeforever. The saying is, "put all your eggs in one basket." 20:32 -!- nutate [~rseymour@cacsag4.usc.edu] has joined #go-nuts 20:35 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has joined #go-nuts 20:36 -!- alehorst [~alehorst@189.58.20.61.dynamic.adsl.gvt.net.br] has quit [Quit: Leaving.] 20:41 -!- pharris [~Adium@rhgw.opentext.com] has quit [Quit: Leaving.] 20:42 < askhader> So I've installed a golang package using goinsall. What kind of import statement do I need? 20:43 < elimisteve> askhader: the same URL you used for goinstall 20:44 -!- r_linux [~r_linux@189.38.220.35] has quit [Quit: Lost terminal] 20:44 < askhader> cool 20:44 < fluffle> skelterjohn|work: does the github version of gb track release or weekly? 20:44 < askhader> Dear lord, finally got that xml document parsed. 20:45 < askhader> Let the killing begin. 20:45 < nicka1> you should have killed whoever chose xml for your project 20:45 < fluffle> ah, hm. one suspects release/ tracks release, and head tracks whatever's currently buildable? 20:45 < askhader> How else do I receive updates from news feeds? 20:45 < askhader> If only they provided a json push. 20:46 < nicka1> fair enough 20:46 < fluffle> related: how do i get goinstall to install from the master branch rather than release? 20:51 -!- smcquay [~smcquay@30.236.sfcn.org] has joined #go-nuts 20:53 < kevlar_work> fluffle, you don't 20:53 < kevlar_work> (you'd have to delete the release tag or branch) 20:54 < fluffle> kevlar_work: au contraire *cough* 20:54 < kevlar_work> oh? you can do it? 20:54 < Vovchik> nicka1: so what do you recommend over xml? 20:54 < kevlar_work> if so, it's been added since the version I have checked out 20:54 < Vovchik> binary reading/writing? 20:54 < fluffle> it's nasty, but it works : cd $GOROOT/src/pkg/github.com/skelterjohn/go-gb/gb; git checkout master; git pull; git merge origin/master 20:55 < fluffle> then don't use goinstall -u :) 20:55 < kevlar_work> fluffle, so I was right, you don't 20:55 < kevlar_work> goinstall won't do it. 20:55 < kevlar_work> You can do it yourself, of course, but that's not what you asked ;-) 20:55 < Gaugeforever> ctrl + C is syscall.SIGKILL right? 20:55 < fluffle> touche :D 20:55 < aiju> Gaugeforever: no 20:55 < fluffle> Gaugeforever: sigint 20:55 < Gaugeforever> thanks 20:55 < aiju> ctrl + \ is SIGQUIT 20:56 < nicka1> json is a lot nicer I've found but I haven't used either extensively 20:56 < kevlar_work> Gaugeforever, ^C = SIGINT, ^Z = SIGTSTP, ^/ = SIGQUIT 20:56 < kevlar_work> er, ^\ indeed 20:56 < fluffle> ah, great, the package I want to use has been modified for weekly of 2011-07-07 but not the newer one 20:56 < kevlar_work> gofix! 20:56 < fluffle> gofix doesn't want to fix 20:56 < kevlar_work> lame 20:56 < fluffle> yes :/ 20:56 < kevlar_work> the perils of working at tip, lol 20:57 < kevlar_work> what package? 20:57 < fluffle> true 20:57 < ww> nicka1, Vovchik i find the Go xml and json libraries approximately the same in terms of ease of use... 20:57 < kevlar_work> the maintainer might be on this channel, lol 20:57 < fluffle> github.com/garyburd/go-mong 20:57 < fluffle> o 20:57 < ww> s/libraries/packages/ (too much C this past week) 20:57 < fluffle> i see the reflect api is in flux recently 20:57 < fluffle> what's the latest idiom for f.Tag.Get("bson") ? 20:58 < kevlar_work> no, that's it 20:58 < kevlar_work> unless it's changed since I checked, but I don't think it has 20:58 < nicka1> ww you're likely correct, but I'm all for there being less xml to parse in the world :P 20:58 < fluffle> bson.go:281: cannot use f.Tag (type reflect.StructTag) as type string in function argument 20:58 < kevlar_work> fluffle, that means someone hasn't changed to f.Tag.Get() 20:58 < fluffle> hmm 20:58 < kevlar_work> the reason gofix won't fix that is because, while it could guess at the f.Tag fix, it can't fix the structures which might depend on it 20:59 < ww> nicka1: if json had namespaces... :) 20:59 < kevlar_work> have you tried mgo? 20:59 < fluffle> does Tag.Get() return a StructTag not a string now 20:59 < fluffle> kevlar_work: i looked at it but i hate browsing source on launchpad so I shied away 20:59 < kevlar_work> f.Tag is a type StructTag string, f.Tag.Get(ns string) reutrns a string 20:59 < fluffle> also there's precisely fuckall docs around, though I suspect I should use godoc to fix 20:59 < fluffle> so 20:59 < fluffle> 281 p := strings.Split(f.Tag.Get("bson"), "/") 20:59 < fluffle> that should be right, then? 21:00 < kevlar_work> yes 21:00 < ww> nicka1: but generally i agree, and have spent too much time parsing xml in my life 21:00 < fluffle> well, i'm confused 21:00 < kevlar_work> what does `godoc reflect StructTag` say 21:01 < nicka1> ww: I'm not a rabid hater/defender of xml/json but the latter has given me less grief certainly 21:01 < fluffle> func (tag StructTag) Get(key string) string 21:01 < fluffle> well that looks sane 21:01 < fluffle> meh i've probably boned something by doing something stupid 21:01 < kevlar_work> are you sure you've done make.bash and goinstall -clean -u -a? 21:03 < fluffle> kevlar_work: i did: hg pull -u; hg update weekly; cd src; ./all.bash 21:03 < fluffle> the goinstall part is where things are going wrong 21:05 -!- Adys [~Adys@unaffiliated/adys] has quit [Quit: Quit] 21:05 -!- Adys [~Adys@unaffiliated/adys] has joined #go-nuts 21:06 < fluffle> oh, waitasecond 21:06 < fluffle> clean appears to have changed things -- now line 281 reads: 21:06 -!- napsy [~luka@88.200.96.18] has quit [Ping timeout: 258 seconds] 21:06 < fluffle> 281 p := strings.Split(f.Tag, "/") 21:06 < fluffle> which is *clearly* broken 21:07 < fluffle> ok you can ignore me now, i'll stop :) 21:21 -!- Soultaker [~Soultaker@hell.student.utwente.nl] has joined #go-nuts 21:24 -!- bugQ [~chatzilla@c-67-186-254-86.hsd1.ut.comcast.net] has joined #go-nuts 21:28 * fluffle pines for negative array indices 21:28 -!- Project-2501 [~Marvin@dynamic-adsl-94-36-157-100.clienti.tiscali.it] has quit [Quit: E se abbasso questa leva che succ...] 21:28 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by peer] 21:31 < bugQ> what for? you mean like how python slices ? 21:32 < fluffle> bugQ: i'm going through a bunch of old code and removing the explicit zero and len in [0:n] and [n:len(x)] slices 21:32 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit: Verlassend] 21:32 < fluffle> and wishing I could do the same for array[len(array)-1] 21:37 -!- Fish- [~Fish@9fans.fr] has quit [Quit: WeeChat 0.3.5] 21:38 -!- telexicon [~telexicon@unaffiliated/chowmeined] has joined #go-nuts 21:40 < Gaugeforever> so you want an last(array[]) or something? 21:41 < fluffle> Gaugeforever: i want array[-1] to do the same as array[len(array)-1] 21:41 < Gaugeforever> what happens when you put in array[-2] 21:42 < fluffle> do you really need to ask that question? 21:42 < Gaugeforever> if the array is only 1 element large, yes 21:42 < fluffle> about the same as array[1] would do in that instance 21:42 -!- huin [~huin@91.84.179.118] has quit [Quit: bedtime] 21:43 < fluffle> the compiler *knows* how big the damn array is, it should be able to index it from both ends 21:43 < fluffle> but nm :) 21:43 < Gaugeforever> I supose that depends on how len() works 21:43 < Gaugeforever> I don't think the compiler knows for the record 21:44 < fluffle> hm, you're right, it's a runtime panic for array out-of-bounds errors, my bad 21:44 < Gaugeforever> in order for the compiler to know, wouldn't it have to be a predefined constant. Otherwise you could just append and the len() would give a different len 21:44 < Gaugeforever> yes, right! 21:45 < fluffle> buuuttt, that doesn't really get away from my point, in the end. it's the *compiler* that allows you to omit the len(slice) in slice[n:len(slice)] 21:45 < skelterjohn> fluffle: the git version tracks weekly. there is a release tag that tracks release (so if you use goinstall, it gets that version) 21:46 < fluffle> skelterjohn: indeed. I've forced my locally acquired git version to master for great building justice :) 21:46 < Gaugeforever> so you mean you want the compiler to replace [-1] with len(arrayName} -1 21:46 < skelterjohn> heh cool 21:46 < fluffle> pretty much -- if it can do it for slices, it should be able to do it for indexing 21:46 < skelterjohn> negative indices for slices will not happen 21:47 < skelterjohn> it might even be in the faq 21:47 < skelterjohn> but it has been discussed a few times before 21:47 < fluffle> i figured as much, tbh, or they'd have happened already 21:47 * fluffle goes to hunt down the faq 21:51 < f2f> fluffle: http://groups.google.com/group/golang-nuts/msg/0b0af95059d4dc11 21:51 < fluffle> thanks. couldn't find anything in the faq 21:52 -!- Gaugeforever [~gauge@mcswl183.mcs.anl.gov] has quit [Ping timeout: 255 seconds] 21:52 < fluffle> oh 21:52 < fluffle> damn that rob pike and his excellent reasoning 21:52 < fluffle> :) 21:53 < fluffle> i'd completely not considered integer overflow 21:55 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz] 22:00 < skelterjohn> that issue, at least, is no problem in python (the first language where i noticed that negative indices did something special) 22:00 < skelterjohn> i don't know if there are other languages that do it 22:00 < fluffle> perl does too 22:01 < skelterjohn> presumably perl also smoothly handles big ints 22:02 < bugQ> ah, I just read that thread 22:03 < bugQ> personally I would be all for $ and _actual_ negative indexing, but not conditional wraparound 22:03 < bugQ> although overflow is still a problem 22:04 -!- wallerdev [~wallerdev@72.44.102.30] has joined #go-nuts 22:05 < bugQ> skelterjohn: it is no problem as long as certain "contracts" are maintained 22:06 < bugQ> considering features like defer, go seems the type of langauge to ensure that those contracts aren't broken regardless of the programmer's wishes 22:06 < skelterjohn> i don't know what "$" means in what you said 22:06 < bugQ> a[$-1] instead of a[len(a)-1] 22:07 < skelterjohn> i see - you want to add a strange syntactic element 22:07 -!- tvw [~tv@e176002134.adsl.alicedsl.de] has joined #go-nuts 22:07 -!- f2f [~testing@glenda.cpsc.ucalgary.ca] has quit [Quit: ...] 22:08 < skelterjohn> that does make it easy to index from the end with a slice that doesn't make it into a temporary 22:08 -!- qeed [~qeed@adsl-98-85-34-254.mco.bellsouth.net] has joined #go-nuts 22:08 < skelterjohn> like x := getASlice()[$-5:] 22:08 < bugQ> well I would take it over adding a runtime condition check 22:08 < skelterjohn> i see what you mean 22:08 < bugQ> right, that is the basic advantage 22:08 < skelterjohn> i didn't mean to imply it's not a good idea, btw 22:09 < skelterjohn> though i realize i called it "strange" 22:09 -!- wrtp [~rog@host-92-30-166-101.as13285.net] has quit [Quit: wrtp] 22:15 < bugQ> this is the other thing I mentioned: https://groups.google.com/group/golang-nuts/msg/bfa29d14d1faddce 22:17 < skelterjohn> has anyone suggested the $ idea in those threads? 22:17 < skelterjohn> do any other languages do it? 22:17 -!- Peaker [~peakaboo@77.124.100.170] has joined #go-nuts 22:17 < bugQ> rob mentioned that also, and yes, sawzall 22:17 < bugQ> and a few others I think 22:18 < skelterjohn> was it well received at all? 22:19 < bugQ> well rob is pretty protective of his baby, he only brought them up as alternatives in a case against the requested conditional semantics 22:19 -!- angasule [~angasule@190.2.33.49] has joined #go-nuts 22:19 < bugQ> just read the thread https://groups.google.com/group/golang-nuts/browse_thread/thread/e7c44811f5030037 22:19 < bugQ> :P 22:19 < bugQ> I've got to go make pizza 22:19 < skelterjohn> didn't know which thread :) 22:20 -!- erus` [~chatzilla@cpc2-gill2-0-0-cust701.basl.cable.virginmedia.com] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]] 22:20 < bugQ> parent link is on the line above the message 22:21 -!- bugQ [~chatzilla@c-67-186-254-86.hsd1.ut.comcast.net] has quit [Remote host closed the connection] 22:45 -!- perangel [~angel@ip65-46-72-146.z72-46-65.customer.algx.net] has joined #go-nuts 22:55 -!- sniper506th [~sniper506@cpe-098-122-101-192.sc.res.rr.com] has quit [Quit: Leaving...] 22:56 -!- Peaker [~peakaboo@77.124.100.170] has quit [Read error: Operation timed out] 23:10 -!- iXeno [~ixeno@77.241.96.35] has joined #go-nuts 23:12 -!- nekoh [~nekoh@dslb-178-004-079-154.pools.arcor-ip.net] has quit [Quit: nekoh] 23:13 -!- pbgc [~pbgc@2.81.108.111] has joined #go-nuts 23:19 -!- awidegreen [~quassel@h-170-226.a212.priv.bahnhof.se] has quit [Ping timeout: 240 seconds] 23:20 -!- perangel [~angel@ip65-46-72-146.z72-46-65.customer.algx.net] has left #go-nuts [] 23:21 -!- pbgc [~pbgc@2.81.108.111] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 23:21 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has joined #go-nuts 23:25 -!- dsal [~Adium@208.185.212.98] has quit [Quit: Leaving.] 23:52 -!- Dr_Who [~tgall_foo@linaro/tgall-foo] has quit [Quit: ZZZZZzzzzz] 23:53 -!- gm1 [~gm@ec2-50-19-94-241.compute-1.amazonaws.com] has joined #go-nuts 23:53 -!- robteix [~robteix@host123.190-30-191.telecom.net.ar] has joined #go-nuts --- Log closed Tue Jul 26 00:00:01 2011