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

--- Log opened Sat Aug 21 00:00:05 2010
00:02 -!- kanru [~kanru@61-228-147-242.dynamic.hinet.net] has joined #go-nuts
00:16 -!- path[l] [UPP@120.138.102.50] has quit [Quit: path[l]]
00:21 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
00:26 -!- artefon [~thiago@189.107.155.106] has quit [Remote host closed the
connection]
00:35 -!- carllerche [~carllerch@enginey-9.border1.sfo002.pnap.net] has quit
[Quit: carllerche]
00:42 -!- heyhey [4f9abeb8@gateway/web/freenode/ip.79.154.190.184] has left
#go-nuts []
00:45 -!- garden [~ludovico@cl-237.trn-01.it.sixxs.net] has quit [Ping timeout:
272 seconds]
00:47 -!- garden [~ludovico@cl-237.trn-01.it.sixxs.net] has joined #go-nuts
00:48 -!- enherit [~enherit@cpe-98-149-170-48.socal.res.rr.com] has quit [Quit:
leaving]
00:53 -!- g0bl1n [~pr0kter@a213-22-18-58.cpe.netcabo.pt] has joined #go-nuts
00:55 < plexdev> http://is.gd/esY7K by [Russ Cox] in go/src/libmach/ --
libmach: implement register fetch for 32-bit x86 kernel
00:56 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 265 seconds]
00:57 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
00:58 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
00:59 -!- iant [~iant@216.239.45.130] has quit [Ping timeout: 265 seconds]
01:02 < exch> what's the compiler name for darwin?  5g?
01:07 < nictuku> exch: yes
01:08 < MaybeSo> I'd have said 6g (amd64) or 8g (386)
01:08 < MaybeSo> http://localhost:6060/doc/install.html#tmp_34
01:08 < MaybeSo> ack
01:09 < MaybeSo> http://golang.org/doc/install.html#tmp_34
01:09 < exch> tx
01:12 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 276 seconds]
01:13 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche]
01:19 < nictuku> sorry about that.  it's that I have both 5g and 6g here,
hence the confusion.
01:20 -!- Simon_Wang [~linfves@111.167.208.79] has joined #go-nuts
01:20 -!- mikeg [~michael@ip68-110-226-15.dc.dc.cox.net] has quit [Quit: Coyote
finally caught me]
01:29 -!- tensorpudding [~user@99.56.171.201] has quit [Remote host closed the
connection]
01:37 -!- tensorpudding [~user@99.56.171.201] has joined #go-nuts
01:46 -!- g0bl1n [~pr0kter@a213-22-18-58.cpe.netcabo.pt] has quit [Quit: I haz a
dreamz...]
01:55 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has joined
#go-nuts
01:57 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
02:00 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
02:02 < homa_rano> isn't 5g for ARM?
02:02 < MaybeSo> correct, 5g is for ARM
02:03 < MaybeSo> as far as I knew darwin only supported the other two
chipsets
02:21 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
02:31 -!- kanru [~kanru@61-228-147-242.dynamic.hinet.net] has quit [Ping timeout:
240 seconds]
02:33 -!- MizardX [~MizardX@unaffiliated/mizardx] has quit [Ping timeout: 276
seconds]
02:54 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
03:03 -!- rejb [~rejb@unaffiliated/rejb] has quit [Ping timeout: 276 seconds]
03:05 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Operation
timed out]
03:05 -!- araujo [~araujo@gentoo/developer/araujo] has joined #go-nuts
03:28 -!- enherit [~enherit@71-83-188-75.dhcp.lnbh.ca.charter.com] has joined
#go-nuts
03:36 -!- Eridius [~kevin@unaffiliated/eridius] has quit [Ping timeout: 240
seconds]
03:52 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
03:53 -!- napsy [~luka@212.235.174.112] has quit [Read error: Operation timed out]
04:04 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Remote
host closed the connection]
04:09 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
04:16 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
04:25 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
04:41 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has joined #go-nuts
04:41 -!- mode/#go-nuts [+v iant] by ChanServ
04:41 -!- Efecks [~fx@125-238-249-90.jetstream.xtra.co.nz] has joined #go-nuts
04:50 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has quit
[Quit: Leaving]
04:53 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
04:56 -!- jcao219 [~jcao219@pool-173-71-1-120.dllstx.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
04:57 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
04:57 -!- carllerche [~carllerch@208.87.61.203] has joined #go-nuts
05:02 -!- scm [justme@d071037.adsl.hansenet.de] has quit [Ping timeout: 240
seconds]
05:04 -!- scm [justme@d056148.adsl.hansenet.de] has joined #go-nuts
05:04 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 276 seconds]
05:15 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
05:26 -!- jackman [~jackman@c-67-189-24-232.hsd1.or.comcast.net] has quit [Quit:
leaving]
05:28 -!- carllerche [~carllerch@208.87.61.203] has quit [Quit: carllerche]
05:40 -!- qIIp [~qIIp@72-173-157-34.cust.wildblue.net] has joined #go-nuts
05:41 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 240 seconds]
05:43 -!- Guest91365 [~irc@209.17.191.58] has quit [Read error: Connection reset
by peer]
05:43 -!- irc [~irc@209.17.191.58] has joined #go-nuts
05:53 -!- qIIp [~qIIp@72-173-157-34.cust.wildblue.net] has quit [Quit: Lost
terminal]
06:06 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 265 seconds]
06:11 -!- path[l] [UPP@120.138.102.50] has joined #go-nuts
06:11 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
06:19 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
06:43 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has quit [Remote host
closed the connection]
06:51 -!- acts_as [~acts_as@208.236.105.27] has quit [Quit: acts_as]
07:02 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
07:03 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 260 seconds]
07:14 -!- rbraley [~rbraley@ip72-222-128-78.ph.ph.cox.net] has joined #go-nuts
07:15 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
07:16 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has joined #go-nuts
07:18 -!- raylu [raylu@adsl-75-53-103-63.dsl.hstntx.sbcglobal.net] has quit [Quit:
leaving]
07:29 -!- Simon_Wang [~linfves@111.167.208.79] has quit [Quit: Leaving]
07:39 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
07:44 -!- smw [~armor@pool-71-183-88-124.nycmny.fios.verizon.net] has joined
#go-nuts
07:44 -!- smw [~armor@pool-71-183-88-124.nycmny.fios.verizon.net] has quit [Read
error: Connection reset by peer]
07:45 -!- armor [~armor@pool-71-183-88-124.nycmny.fios.verizon.net] has joined
#go-nuts
07:45 -!- armor [~armor@pool-71-183-88-124.nycmny.fios.verizon.net] has quit [Read
error: Connection reset by peer]
07:45 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has joined
#go-nuts
07:51 -!- mattikus [~mattikus@74.193.150.253] has joined #go-nuts
07:52 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has joined #go-nuts
07:52 -!- mattikus [~mattikus@74.193.150.253] has quit [Remote host closed the
connection]
07:52 -!- KillerX [~anant@145-116-234-40.uilenstede.casema.nl] has quit [Client
Quit]
07:52 -!- rlab [~Miranda@91.200.158.34] has quit [Read error: Connection reset by
peer]
07:54 -!- Fish-Work [~Fish@86.65.182.207] has quit [Ping timeout: 258 seconds]
07:56 -!- awidegreen [~quassel@62.176.237.78] has joined #go-nuts
08:22 -!- enherit [~enherit@71-83-188-75.dhcp.lnbh.ca.charter.com] has quit [Quit:
leaving]
08:33 -!- jA_cOp_ [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
08:40 -!- nelson [~nelson@rrcs-24-103-219-125.nys.biz.rr.com] has quit [Ping
timeout: 265 seconds]
08:43 -!- sacho [~sacho@95-42-67-216.btc-net.bg] has quit [Remote host closed the
connection]
08:47 -!- nelson [~nelson@rrcs-24-103-219-125.nys.biz.rr.com] has joined #go-nuts
08:50 -!- Fish [~Fish@9fans.fr] has joined #go-nuts
08:53 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has joined #go-nuts
08:54 -!- Fish [~Fish@9fans.fr] has quit [Remote host closed the connection]
08:57 -!- Robbo_ [~robbo@CPE-58-166-83-229.lnse5.cht.bigpond.net.au] has quit
[Read error: Connection reset by peer]
08:58 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
09:00 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
09:02 -!- ikaros [~ikaros@dslb-084-059-076-150.pools.arcor-ip.net] has joined
#go-nuts
09:04 -!- alloy-d [~adam@pool-71-125-145-179.cmdnnj.east.verizon.net] has joined
#go-nuts
09:05 -!- sacho [~sacho@213.91.244.15] has joined #go-nuts
09:06 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has quit [Quit:
slashus2]
09:21 -!- saschpe [~quassel@mgdb-4d0cf57e.pool.mediaWays.net] has joined #go-nuts
09:22 -!- virtualsue [~chatzilla@nat/cisco/x-moghqhsulbgmtjhe] has joined #go-nuts
09:23 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
09:29 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has quit [Quit:
Verlassend]
09:37 -!- lostandfound [~chatzilla@118.126.12.53] has joined #go-nuts
09:41 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has joined
#go-nuts
09:48 < fenicks> hello
09:58 -!- DerHorst [~Horst@e176096222.adsl.alicedsl.de] has joined #go-nuts
10:03 -!- aho [~nya@fuld-4d00d63f.pool.mediaWays.net] has joined #go-nuts
10:04 -!- Robbo_ [~robbo@CPE-124-183-130-33.lns15.ken.bigpond.net.au] has joined
#go-nuts
10:13 -!- acts_as_ [~acts_as@208.236.105.27] has joined #go-nuts
10:22 -!- tvw [~tv@e176006073.adsl.alicedsl.de] has joined #go-nuts
10:27 -!- chickamade [~chickamad@115.74.122.199] has joined #go-nuts
10:34 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
10:35 -!- Project_2501 [~Marvin@82.84.92.43] has joined #go-nuts
10:35 -!- photron [~photron@port-92-201-168-51.dynamic.qsc.de] has joined #go-nuts
10:36 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
10:36 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
10:51 -!- alloy-d [~adam@pool-71-125-145-179.cmdnnj.east.verizon.net] has quit
[Quit: WeeChat 0.3.3]
10:52 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has quit [Quit:
Leaving]
10:53 -!- nelson [~nelson@rrcs-24-103-219-125.nys.biz.rr.com] has quit [Ping
timeout: 265 seconds]
11:02 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has joined #go-nuts
11:02 -!- nelson [~nelson@rrcs-24-103-219-125.nys.biz.rr.com] has joined #go-nuts
11:07 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has quit [Remote host
closed the connection]
11:08 -!- sacho [~sacho@213.91.244.15] has quit [Read error: Connection reset by
peer]
11:09 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
11:09 -!- IRWolfie- [irwolfie@ircnoob.com] has joined #go-nuts
11:13 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has joined #go-nuts
11:13 -!- visof [~visof@unaffiliated/visof] has joined #go-nuts
11:20 -!- DerHorst [~Horst@e176096222.adsl.alicedsl.de] has quit [Remote host
closed the connection]
11:20 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
11:21 -!- tvw [~tv@e176006073.adsl.alicedsl.de] has quit [Remote host closed the
connection]
11:25 -!- mertimor [~mertimor@p5DC1C940.dip0.t-ipconnect.de] has joined #go-nuts
11:47 -!- MizardX [~MizardX@unaffiliated/mizardx] has joined #go-nuts
11:52 -!- visof_ [~visof@41.238.232.221] has joined #go-nuts
11:55 -!- visof [~visof@unaffiliated/visof] has quit [Ping timeout: 258 seconds]
11:56 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has quit [Remote host
closed the connection]
11:57 -!- sacho [~sacho@95-42-67-216.btc-net.bg] has joined #go-nuts
11:59 -!- saschpe [~quassel@mgdb-4d0cf57e.pool.mediaWays.net] has quit [Remote
host closed the connection]
12:04 < taruti> Wrote termios and getpass bindings on bitbucket.
12:04 -!- mertimor [~mertimor@p5DC1C940.dip0.t-ipconnect.de] has quit [Quit:
mertimor]
12:09 -!- nsf [~nsf@jiss.convex.ru] has quit [Quit: WeeChat 0.3.3]
12:20 -!- fenicks [~christian@log77-3-82-243-254-112.fbx.proxad.net] has left
#go-nuts []
12:21 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has joined #go-nuts
12:26 -!- boscop_ [~boscop@f055011249.adsl.alicedsl.de] has joined #go-nuts
12:27 -!- boscop [~boscop@g227131000.adsl.alicedsl.de] has quit [Ping timeout: 245
seconds]
12:39 -!- chickamade [~chickamad@115.74.122.199] has quit [Ping timeout: 276
seconds]
12:49 -!- Wiz126 [~Wiz126@24.229.245.72.res-cmts.sm.ptd.net] has quit []
13:02 -!- savechina [~savechina@221.216.250.163] has joined #go-nuts
13:04 -!- ikaros_ [~ikaros@188.107.223.157] has joined #go-nuts
13:06 -!- ikaros [~ikaros@dslb-084-059-076-150.pools.arcor-ip.net] has quit [Ping
timeout: 246 seconds]
13:08 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
13:09 < taruti> Is there a good way to (de)serialize struct values that
contain interfaces?
13:21 -!- savechina [~savechina@221.216.250.163] has quit [Quit: Leaving]
13:28 < jessta> taruti: I don't think so
13:28 < jessta> gob won't do it
13:44 -!- chickamade [~chickamad@115.74.122.199] has joined #go-nuts
13:48 -!- lmoura_ [~lauromour@187.113.118.110] has joined #go-nuts
13:51 -!- lmoura [~lauromour@187.113.75.240] has quit [Ping timeout: 252 seconds]
13:53 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
13:55 -!- ShadowIce [~pyoro@unaffiliated/shadowice-x841044] has joined #go-nuts
13:58 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
14:10 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has joined #go-nuts
14:12 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has joined
#go-nuts
14:19 -!- jcao219 [~jcao219@pool-173-71-1-120.dllstx.fios.verizon.net] has joined
#go-nuts
14:26 < taruti> Does gob support transient fields somehow?
14:26 < taruti> "no don't serialize this field"
14:30 < rsaarelm> Probably not.  The encode source doesn't seem to have any
references to StructFieldType's .Tag, assuming that transient fields would be
marked with a string tag in struct declaration.
14:31 < rsaarelm> I just write custom serializers for tricky cases.
14:31 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has quit [Quit:
Leaving.]
14:31 < taruti> I have trivially serializable structures with just few inner
members that need special handling
14:32 < rsaarelm> Yeah, the gob architecture is a bit annoyingly
all-or-nothing.
14:32 < taruti> writing everything by hand while developing (and thus
constantly changing data format) seems quite tedious
14:34 -!- rejb [~rejb@unaffiliated/rejb] has joined #go-nuts
14:38 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 276 seconds]
14:38 -!- jmettraux [~jmettraux@PPPbm5391.kanagawa-ip.dti.ne.jp] has quit [Remote
host closed the connection]
14:43 < obiwahn> nsf - are you here?
14:43 -!- dju [dju@fsf/member/dju] has joined #go-nuts
14:46 < jessta> taruti: you could put all fields you want to serialize in a
seperate struct
14:50 -!- diegoviola [~diego@190.23.56.215] has joined #go-nuts
14:55 < taruti> jessta: yes, separating structs and playing around in
tedious ways
14:56 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 246 seconds]
14:56 -!- Efecks [~fx@125-238-249-90.jetstream.xtra.co.nz] has left #go-nuts []
15:02 -!- visof_ [~visof@41.238.232.221] has quit [Remote host closed the
connection]
15:44 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has quit [Quit:
Leaving]
15:51 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
16:06 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Read error: Operation
timed out]
16:08 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #go-nuts
16:09 -!- sladegen [~nemo@unaffiliated/sladegen] has joined #go-nuts
16:12 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has joined #go-nuts
16:16 -!- joyer [~user@113.109.230.86] has joined #go-nuts
16:21 -!- ucasano [~ucasano@217.201.156.248] has joined #go-nuts
16:21 -!- mimustafa [~steve@94.142.49.65] has joined #go-nuts
16:21 -!- mimustafa [~steve@94.142.49.65] has left #go-nuts []
16:33 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
16:34 -!- dju [dju@fsf/member/dju] has quit [Ping timeout: 265 seconds]
16:36 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 265 seconds]
16:37 -!- slashus2 [~slashus2@74-137-24-74.dhcp.insightbb.com] has joined #go-nuts
16:39 -!- dju [dju@fsf/member/dju] has joined #go-nuts
16:49 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
16:49 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has joined #go-nuts
16:51 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 272 seconds]
16:57 -!- nsf [~nsf@jiss.convex.ru] has joined #go-nuts
16:58 -!- ucasano [~ucasano@217.201.156.248] has quit [Ping timeout: 240 seconds]
17:10 -!- ucasano [~ucasano@217.203.188.33] has joined #go-nuts
17:12 -!- DerHorst [~Horst@e176096222.adsl.alicedsl.de] has joined #go-nuts
17:23 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit:
Leaving]
17:29 -!- aht [~chickamad@115.74.79.97] has joined #go-nuts
17:29 -!- iant [~iant@adsl-71-133-8-30.dsl.pltn13.pacbell.net] has quit [Ping
timeout: 265 seconds]
17:29 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has joined #go-nuts
17:29 -!- femtoo [~femto@95-89-188-225-dynip.superkabel.de] has quit [Quit:
Leaving]
17:32 -!- chickamade [~chickamad@115.74.122.199] has quit [Ping timeout: 265
seconds]
17:36 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 255 seconds]
17:38 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has quit [Quit:
This computer has gone to sleep]
17:41 -!- ExtraSpice [~XtraSpice@88.118.32.225] has joined #go-nuts
17:43 -!- iant [~iant@216.239.45.130] has joined #go-nuts
17:43 -!- mode/#go-nuts [+v iant] by ChanServ
17:48 -!- aht [~chickamad@115.74.79.97] has quit [Ping timeout: 265 seconds]
17:49 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
17:51 -!- gabriel9 [~gabriel9@93.157.192.28] has quit [Read error: Connection
reset by peer]
17:51 -!- gabriel9 [~gabriel9@93.157.192.28] has joined #go-nuts
17:52 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
17:52 -!- aht [~chickamad@115.74.79.97] has joined #go-nuts
17:54 -!- ucasano [~ucasano@217.203.188.33] has quit [Quit: ucasano]
17:57 < Namegduf> Hmm.  Is there an implementation of glob matching in the
stdlib?
17:59 -!- jweede [~anonymous@c-98-216-102-27.hsd1.ma.comcast.net] has joined
#go-nuts
18:08 -!- DerHorst [~Horst@e176096222.adsl.alicedsl.de] has quit [Remote host
closed the connection]
18:17 -!- enherit [~enherit@71-83-188-75.dhcp.lnbh.ca.charter.com] has joined
#go-nuts
18:17 -!- jweede [~anonymous@c-98-216-102-27.hsd1.ma.comcast.net] has quit [Quit:
jweede]
18:25 -!- nsf [~nsf@jiss.convex.ru] has quit [Read error: Operation timed out]
18:29 < MizardX> Namegduf: You could use the regexp library.  Just replace
"*" -> ".*", "?" -> "."
18:31 < Namegduf> MizardX: This needs to handle user input, so I would also
need to do the non-trivial work of escaping everything else.
18:31 < MizardX> ...  and escape \?+*()[|
18:32 < Namegduf> Hmm.  Maybe, if that's all it needs, but I'm concerned
about it being overly slow.
18:33 < MizardX> pat := regexp.MustCompile(`[?+*()[|\\]`);
pat.ReplaceAllStringFunc(pat, func(ch string) string { return "\\" + ch })
18:37 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 276 seconds]
18:41 -!- mertimor [~mertimor@vpn-ce242132.extern.uni-duisburg-essen.de] has
joined #go-nuts
18:48 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
18:49 < exch> Namegduf: I believe the regexp package used to have an
Escape() function that does all the escaping for you
18:49 < exch> Not sure if it's still there after the API change, but I would
assume so
18:49 < MizardX> regexp.QuoteMeta(s string)
18:50 < Namegduf> Which promptly breaks *
18:50 < Namegduf> Doable, but an ugly, buggy, rather slow approach
18:51 < Namegduf> I guess I'd use QuotaMeta, then deliberately go through
and turn all \*s into .*s
18:56 -!- cco3 [~conley@c-69-181-138-209.hsd1.ca.comcast.net] has quit [Ping
timeout: 258 seconds]
19:00 -!- rlab [~Miranda@91.200.158.34] has quit [Ping timeout: 240 seconds]
19:03 -!- Project_2501 [~Marvin@82.84.92.43] has quit [Quit: E se abbasso questa
leva che succ...]
19:03 -!- ronnyy [~quassel@p4FF1CFEE.dip.t-dialin.net] has quit [Remote host
closed the connection]
19:03 -!- aht [~chickamad@115.74.79.97] has quit [Quit: Leaving]
19:03 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has quit
[Quit: Leaving]
19:07 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Ping
timeout: 252 seconds]
19:08 -!- rlab [~Miranda@91.200.158.34] has joined #go-nuts
19:18 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
19:27 < MizardX> Namegduf: http://ideone.com/aeHu8
19:27 -!- virtualsue [~chatzilla@nat/cisco/x-moghqhsulbgmtjhe] has quit [Ping
timeout: 265 seconds]
19:28 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has joined #go-nuts
19:30 < Namegduf> MizardX: Ah, neat.
19:33 -!- virtualsue [~chatzilla@host81-148-15-120.in-addr.btopenworld.com] has
joined #go-nuts
19:34 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has quit [Read
error: Operation timed out]
19:37 -!- MX80 [~MX80@cust253.253.117.74.dsl.g3telecom.net] has joined #go-nuts
19:41 -!- virtualsue [~chatzilla@host81-148-15-120.in-addr.btopenworld.com] has
quit [Read error: Connection reset by peer]
19:42 -!- virtualsue [~chatzilla@nat/cisco/x-rqvzbvclnmldrwij] has joined #go-nuts
19:48 -!- tokuhiro__ [~tokuhirom@s230.GtokyoFL21.vectant.ne.jp] has joined
#go-nuts
20:00 -!- jA_cOp [~yakobu@unaffiliated/ja-cop/x-9478493] has quit [Quit: Leaving]
20:05 -!- derferman [~derferman@c-98-207-60-44.hsd1.ca.comcast.net] has joined
#go-nuts
20:08 -!- sacho [~sacho@95-42-67-216.btc-net.bg] has quit [Ping timeout: 272
seconds]
20:09 -!- RobertLJ_ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has joined
#go-nuts
20:09 -!- sacho [~sacho@95-42-67-216.btc-net.bg] has joined #go-nuts
20:09 -!- RobertLJ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit [Ping
timeout: 265 seconds]
20:14 < str1ngs> http://gist.github.com/542795 . in this gist I can not seem
to figure out how to pass curl.  I get unexpected type: ...
20:16 < exch> to fmt.Printf?
20:17 < str1ngs> no the curl_easy_setopt
20:18 < exch> what is it's signature?
20:18 < str1ngs> CURLcode curl_easy_setopt(CURL *handle, CURLoption option,
parameter);
20:18 < str1ngs> parametr in this case is a char*
20:19 < exch> 'unexpected type: ...' seems like a bit of an odd error then..
I presue you have to cast curl to *handle before passing it
20:20 -!- werdan7 [~w7@freenode/staff/wikimedia.werdan7] has quit [Ping timeout:
604 seconds]
20:21 < exch> try: C.curl_easy_setopt((*C.CURL)(curl), C.CURLOPT_URL.  url)
20:22 < exch> btw, remember to do C.free(url) when you are done with it.  Go
won't clean that memory up
20:25 < str1ngs> ok let me try that.
20:27 < str1ngs> hmm samething
20:28 < exch> is 'unexpected type: ...' literally the error you get?
20:28 < str1ngs> yes which seems odd
20:28 < exch> yea
20:29 < str1ngs> and my C skill is very very weak.  so I'm not very helpful.
I should proably just use the http package for now.  and stick to http only for
the time being.
20:37 -!- dimascyriaco [~dimas@201.53.186.86] has joined #go-nuts
20:38 -!- aho [~nya@fuld-4d00d63f.pool.mediaWays.net] has quit [Quit:
EXEC_over.METHOD_SUBLIMATION]
20:41 -!- dimascyriaco [~dimas@201.53.186.86] has quit [Client Quit]
20:44 -!- carllerche_ [~carllerch@208.87.61.203] has joined #go-nuts
20:44 < smw> I was not able to get curl working.  I could not figure out
callbacks
20:45 < str1ngs> the easy_setup has its own callback.  but I cant get past
this part so have not got that far.
20:46 < smw> the go http package has everything you need.  The issue is that
the API is messed up.
20:46 < smw> there is nothing "advanced" about the "programming interface"
20:46 < str1ngs> right but does not handle ftp either.
20:46 < smw> yeah
20:47 < str1ngs> which is ok.  this is just a simple binding for now.
20:47 < smw> you also can't make your own request and send it.
20:47 < smw> that means no custom headers or anything
20:47 < str1ngs> imo I think I'll stick to the Go way and use the http
package for now.
20:48 < smw> sounds good
20:48 < str1ngs> I'm pushing my luck with C as it is
20:48 < smw> but the second you need to do something advanced, you need to
fork the http package :-\
20:49 -!- carllerche_ [~carllerch@208.87.61.203] has quit [Quit: carllerche_]
20:49 < str1ngs> or do some RFC work :P
20:50 < smw> RFC?
20:50 < smw> req for comments?  lol
20:50 < str1ngs> short for make a ftp package
20:50 < smw> yeah
20:50 < smw> have fun with that :-P
20:51 < smw> and I think that is a great chance to use the net/textproto pkg
:-)
20:52 < smw> I would never try to implement ftp.  I want ftp to die already.
20:53 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 272 seconds]
20:53 < str1ngs> I'm not a fan of ftp either.  but some things die hard
20:53 < str1ngs> ie people still use gopher :P
20:54 < str1ngs> and I dont mean the nice Go mascot
20:55 < smw> http://mywiki.wooledge.org/FtpMustDie
20:55 < smw> that sums it up
20:55 -!- mertimor [~mertimor@vpn-ce242132.extern.uni-duisburg-essen.de] has quit
[Quit: mertimor]
20:56 < Namegduf> Just because things are still in use doesn't mean you need
to add legacy support for them in new software.
20:56 < smw> ftp is still installed and use every day unfortunately.
20:56 < smw> It is not considered legacy :-\
20:57 < taruti> smw: how is the http api messed up?
20:58 < smw> taruti, lets see, how can I add headers to a request?
20:58 < smw> taruti, how can I modify ANYTHING besides the post parameters
and url
20:58 < smw> I am talking client side only
20:58 < str1ngs> anyways.  was not my intention to cause trouble.  just
trying to work through a problem.
20:59 < smw> I believe the http server is fine
20:59 < smw> str1ngs, you are not causing trouble :-)
20:59 < taruti> you can write Requests to a connection
20:59 -!- jcao219 [~jcao219@pool-173-71-1-120.dllstx.fios.verizon.net] has quit
[Ping timeout: 265 seconds]
21:00 < taruti> and they have a Header element
21:00 -!- macroron [~ron@c-98-242-168-49.hsd1.fl.comcast.net] has quit [Quit:
Leaving]
21:00 < smw> how?
21:00 -!- scarabx [~scarabx@c-76-19-43-200.hsd1.ma.comcast.net] has joined
#go-nuts
21:00 < smw> I know the send() func is not public
21:01 < falconindy> there's a more versatile http package available on
github that allows defining your own headers
21:01 < taruti>
http://github.com/mattn/http-gonsole/blob/master/http-gonsole.go
21:01 < taruti> smw: use that as an example
21:01 < smw> taruti, ah, so you need to create the connection yourself
21:02 < smw> taruti, and then use req.write()
21:02 < taruti> Write
21:02 < taruti> but yes
21:02 < taruti> that has the details
21:02 < smw> ok
21:03 < smw> in that case, it still needs work :-\
21:03 < smw> I stand corrected.  It is possible, it is just very difficult
21:03 < smw> so I stand by it being "messed up" :-P
21:04 < smw> making send public would make alot of things easier.
21:05 < taruti> bug the ML then
21:06 -!- napsy [~luka@212.235.174.112] has joined #go-nuts
21:06 < smw> ML?
21:12 -!- zcram [~zcram@8.177.190.90.sta.estpak.ee] has joined #go-nuts
21:21 -!- Makoryu [~vt920@pool-71-174-191-10.bstnma.fios.verizon.net] has joined
#go-nuts
21:23 < taruti> mailing list
21:23 < taruti> go-nuts
21:27 < taruti> from all the decisions I hate, the decision to use make
instead of mk sucks
21:28 -!- rlab [~Miranda@91.200.158.34] has quit [Quit: Miranda IM! Smaller,
Faster, Easier.  http://miranda-im.org]
21:31 -!- boredomist [~boredomis@24.115.43.39.res-cmts.sesp.ptd.net] has joined
#go-nuts
21:36 -!- boscop [~boscop@g226252178.adsl.alicedsl.de] has joined #go-nuts
21:38 -!- boscop_ [~boscop@f055011249.adsl.alicedsl.de] has quit [Ping timeout:
246 seconds]
21:40 -!- RobertLJ_ [~quassel@c-68-44-163-191.hsd1.nj.comcast.net] has quit
[Remote host closed the connection]
21:42 -!- jramnani [~jramnani@adsl-75-3-116-234.dsl.chcgil.sbcglobal.net] has
joined #go-nuts
21:52 -!- napsy [~luka@212.235.174.112] has quit [Ping timeout: 240 seconds]
21:58 -!- virtualsue [~chatzilla@nat/cisco/x-rqvzbvclnmldrwij] has quit [Ping
timeout: 276 seconds]
22:06 -!- LionMadeOfLions [~LionMadeO@70.114.156.242] has joined #go-nuts
22:08 -!- nikolaj_a [~na@1385159572.dhcp.dbnet.dk] has joined #go-nuts
22:09 -!- LionMadeOfLions [~LionMadeO@70.114.156.242] has left #go-nuts []
22:27 -!- Fish [~Fish@bus77-2-82-244-150-190.fbx.proxad.net] has quit [Remote host
closed the connection]
22:31 -!- Makoryu [~vt920@pool-71-174-191-10.bstnma.fios.verizon.net] has quit
[Remote host closed the connection]
22:33 -!- General1337 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has joined
#go-nuts
22:36 -!- General13372 [~support@71-84-50-230.dhcp.mtpk.ca.charter.com] has quit
[Ping timeout: 245 seconds]
22:37 -!- ikaros_ [~ikaros@188.107.223.157] has quit [Ping timeout: 246 seconds]
22:54 -!- mattikus [~mattikus@74.193.150.253] has joined #go-nuts
22:57 -!- carllerche_ [~carllerch@208.87.61.203] has joined #go-nuts
22:57 -!- carllerche_ [~carllerch@208.87.61.203] has quit [Client Quit]
23:12 < str1ngs> exch: I was able to work around it
http://github.com/str1ngs/gurl/blob/master/gurl.go . not perfect but it works
23:12 < str1ngs> I need to add more to it mind you.
23:12 -!- ExtraSpice [~XtraSpice@88.118.32.225] has quit [Ping timeout: 240
seconds]
23:14 < exch> hmm.  I still don't get why it won't work through go
23:15 < str1ngs> something to do with the unsafe.Pointer I guess.
23:16 -!- mimustafa [~steve@92.62.125.249] has joined #go-nuts
23:17 -!- mimustafa [~steve@92.62.125.249] has left #go-nuts []
23:17 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has quit [Ping
timeout: 265 seconds]
23:21 -!- nelson [~nelson@rrcs-24-103-219-125.nys.biz.rr.com] has quit [Ping
timeout: 240 seconds]
23:23 -!- awidegreen [~quassel@62.176.237.78] has quit [Remote host closed the
connection]
23:30 -!- smw [~smw@pool-71-183-88-124.nycmny.fios.verizon.net] has joined
#go-nuts
23:31 -!- timepilot [~timepilot@c-24-1-94-64.hsd1.il.comcast.net] has joined
#go-nuts
23:31 -!- timepilot [~timepilot@c-24-1-94-64.hsd1.il.comcast.net] has quit [Client
Quit]
23:43 -!- Nexoro [~nexo@c-71-192-75-183.hsd1.ma.comcast.net] has joined #go-nuts
23:43 -!- mimustafa [~steve@92.62.125.249] has joined #go-nuts
23:44 -!- mimustafa [~steve@92.62.125.249] has left #go-nuts []
23:45 -!- photron [~photron@port-92-201-168-51.dynamic.qsc.de] has quit [Ping
timeout: 272 seconds]
23:59 -!- tarski [~ms@246-moc-3.acn.waw.pl] has joined #go-nuts
--- Log closed Sun Aug 22 00:00:05 2010