IRC log for #uclibc on 20130604

00:31.44*** join/#uclibc blueness|uclibc (~blueness@cpe-69-207-16-110.buffalo.res.rr.com)
00:31.45*** join/#uclibc blueness|uclibc (~blueness@gentoo/developer/blueness)
01:30.37Sleepy_Coderherplah
01:30.43Sleepy_CoderI've made too many map()'s
01:31.19Sleepy_CoderI like this one the best though: map = function (t, f) for k, v in pairs(t) do f(v, k, t) end end
01:33.16Sleepy_Coderhad to revisit that because it got annoying when I had to keep a side-reference to the table being mapped over, so I decided to tack it on as a third parameter to the function passed to map
01:33.24Sleepy_Coderer. like...
01:33.52Sleepy_Codermap({ 1, 2, 3 }, function (v, k, t) t[k] = v + 1 end)
01:34.20Sleepy_Coderinstead of: t = { 1, 2, 3 } map(t, function (v, k) t[k] = v + 1 end)
01:34.40Sleepy_Codernot sure why this didn't occur to me before, I'm just weird >.<
01:34.53Sleepy_Coderuses his map() like ruby's each()
01:35.23Sleepy_Coderoh.
01:35.25Sleepy_Coderforgot...
01:35.59Sleepy_Codermap = function (t, ...) for k, v in pairs(t) do (...)(v, k, t, ...) end end
01:36.03Sleepy_Coder...and now I'm going to hell. :]
01:36.34Sleepy_Coderer.
01:36.49Sleepy_Codermap = function (t, f, ...) for k, v in pairs(t) do f(v, k, t, ...) end end
01:36.58Sleepy_Coderless crazy.  and now the function doesn't become part of the extra args.
01:37.38Sleepy_CoderI actually make this even crazier by having a base fmap() where I can specify the generator to use.
01:38.51Sleepy_Coderfmap = function (gen) return function (t, f, ...) for k, v, in gen(t) do f(v, k, t, ...) end end end
01:38.57Sleepy_Codermap = fmap(pairs)
01:39.01Sleepy_Coderomap = fmap(ipairs)
01:39.14Sleepy_Coderkind of a dumb change.
01:39.28Sleepy_Coderbut that's why you don't play with fire, kids :D
01:39.33Sleepy_Coder~ or something ~
01:40.15Sleepy_Coderthis is... not #lua.
01:40.27Sleepy_Codermelts into a puddle of shame
02:48.31*** join/#uclibc mrtux_ (~mrtux@unaffiliated/mrtux)
03:44.45*** join/#uclibc christopher_ (~christoph@c-69-253-8-76.hsd1.pa.comcast.net)
04:40.06*** join/#uclibc clio (~andrej@85.159.109.222)
05:46.05*** join/#uclibc christopher_ (~christoph@c-69-253-8-76.hsd1.pa.comcast.net)
06:17.21*** join/#uclibc wberrier (~wberrier@65-130-137-94.slkc.qwest.net)
07:04.17*** join/#uclibc Artemys (~quassel@stp25-2-82-234-232-91.fbx.proxad.net)
08:15.24*** join/#uclibc tchan (~tchan@lunar-linux/developer/tchan)
11:22.18*** join/#uclibc smartin_ (~smartin@20-87-190-109.dsl.ovh.fr)
11:32.41*** join/#uclibc bkuhn (~bkuhn@fsf/director/conservancy.president.bkuhn)
13:29.02*** join/#uclibc fcolista (~fcolista@93-57-120-162.ip164.fastwebnet.it)
13:39.18*** join/#uclibc NIN101 (~NIN@p5DD28901.dip0.t-ipconnect.de)
13:41.50*** join/#uclibc AnywhereIs (~edK@46.175.102.168.pool.vkristalle.ru)
14:14.23*** join/#uclibc NIN101 (~NIN@p5DD28901.dip0.t-ipconnect.de)
14:18.52*** join/#uclibc porchao (~hato@eatkyo302179.adsl.ppp.infoweb.ne.jp)
15:14.30*** join/#uclibc Janhouse (~Janhouse@mytur.id.lv)
15:15.27*** join/#uclibc ncopa_ (~test@3.203.202.84.customer.cdi.no)
16:01.45*** join/#uclibc emg (~emg@74.217.148.5)
17:56.09*** join/#uclibc landley_ (~landley@chippewa-nat.cray.com)
17:56.46*** join/#uclibc uwe_mobile (~uwe@static.88-198-8-117.clients.your-server.de)
17:56.49*** join/#uclibc olistudent_ (~olistuden@vserver02.cte.de)
17:57.26*** join/#uclibc Sleepy_C1der (~zzZZzzZZz@arc9.random.sh)
18:00.49*** join/#uclibc smartin (~smartin@20-87-190-109.dsl.ovh.fr)
18:19.59*** join/#uclibc ibot (~ibot@rikers.org)
18:19.59*** topic/#uclibc is discussion of uClibc and Busybox | uClibc 0.9.33.2 was released 15 May 2012 | uClibc++ 0.2.4 was released 25 May 2012 | busybox 1.21.0 was released 21 January 2013 | For general setup issues try #oe, #elinux or #edev
18:20.42*** join/#uclibc contempt (contempt@unaffiliated/contempt)
18:27.03*** join/#uclibc contempt (contempt@unaffiliated/contempt)
18:28.55*** join/#uclibc mripard_ (~mripard@garuda.neteril.org)
18:31.20*** join/#uclibc DrCode (~DrCode@gateway/tor-sasl/drcode)
18:31.54*** join/#uclibc KindOne- (KindOne@colchester-lug/silly-fool/donut)
19:11.11*** join/#uclibc ibot (~ibot@rikers.org)
19:11.11*** topic/#uclibc is discussion of uClibc and Busybox | uClibc 0.9.33.2 was released 15 May 2012 | uClibc++ 0.2.4 was released 25 May 2012 | busybox 1.21.0 was released 21 January 2013 | For general setup issues try #oe, #elinux or #edev
19:12.23*** join/#uclibc Artemys_ (~quassel@stp25-2-82-234-232-91.fbx.proxad.net)
19:25.29*** join/#uclibc mirko (~mirko@simulachron-81.in-berlin.de)
20:30.31*** join/#uclibc mrkiko (~mrkiko@interdet-lsp.org)
20:30.31*** join/#uclibc mirko (~mirko@simulachron-81.in-berlin.de)
20:30.31*** join/#uclibc Artemys_ (~quassel@stp25-2-82-234-232-91.fbx.proxad.net)
20:30.31*** join/#uclibc contempt (contempt@unaffiliated/contempt)
20:30.32*** join/#uclibc BlastHardcheese (chris@pdpc/supporter/active/blasthardcheese)
20:30.32*** join/#uclibc uwe_mobile__ (~uwe@static.88-198-8-117.clients.your-server.de)
20:30.32*** join/#uclibc porchaso0 (~hato@eatkyo302179.adsl.ppp.infoweb.ne.jp)
20:30.32*** join/#uclibc smartin (~smartin@20-87-190-109.dsl.ovh.fr)
20:30.32*** join/#uclibc espiral (~maze@unaffiliated/espiral)
20:30.32*** join/#uclibc ohama (ohama@cicolina.org)
20:30.32*** join/#uclibc rodgort` (~rodgort@li125-242.members.linode.com)
20:30.32*** join/#uclibc Jacmet (~peko@stolen.plutonium.dk)
20:30.32*** join/#uclibc blueness (~hnsctq40@gentoo/developer/blueness)
20:30.32*** join/#uclibc Guest71298 (~khem@99-57-140-209.lightspeed.sntcca.sbcglobal.net)
20:30.32*** join/#uclibc ynezz (ynezz@ibawizard.net)
20:30.32*** join/#uclibc landley (~landley@chippewa-nat.cray.com)
20:30.32*** join/#uclibc KindOne (KindOne@colchester-lug/silly-fool/donut)
20:30.32*** join/#uclibc tchan (~tchan@lunar-linux/developer/tchan)
20:30.32*** join/#uclibc DrCode (~DrCode@gateway/tor-sasl/drcode)
20:30.32*** join/#uclibc mripard_ (~mripard@garuda.neteril.org)
20:30.32*** join/#uclibc beneth` (~beneth`@beneth.fr)
20:30.32*** join/#uclibc kos_tom (~thomas@ip01-kheops01.ikoula.com)
20:30.32*** join/#uclibc Sleepy_C1der (~zzZZzzZZz@arc9.random.sh)
20:30.32*** join/#uclibc olistudent_ (~olistuden@vserver02.cte.de)
20:30.32*** join/#uclibc emg (~emg@74.217.148.5)
20:30.32*** join/#uclibc ncopa_ (~test@3.203.202.84.customer.cdi.no)
20:30.32*** join/#uclibc Janhouse (~Janhouse@mytur.id.lv)
20:30.32*** join/#uclibc NIN101 (~NIN@p5DD28901.dip0.t-ipconnect.de)
20:30.32*** join/#uclibc fcolista (~fcolista@93-57-120-162.ip164.fastwebnet.it)
20:30.32*** join/#uclibc wberrier (~wberrier@65-130-137-94.slkc.qwest.net)
20:30.32*** join/#uclibc anunnaki (~christoph@c-69-253-8-76.hsd1.pa.comcast.net)
20:30.33*** join/#uclibc mrtux (~mrtux@unaffiliated/mrtux)
20:30.33*** join/#uclibc Kabaka (kabaka@botters/kabaka)
20:30.33*** join/#uclibc dalias (dalias@216-12-86-13.cv.mvl.ntelos.net)
20:30.33*** join/#uclibc gustavoz (~gustavoz@host199.186-125-227.telecom.net.ar)
20:30.33*** join/#uclibc blindvt__ (~brf@91-119-87-133.dynamic.xdsl-line.inode.at)
20:30.33*** join/#uclibc sh4rm4 (rofl0r@gateway/shell/anapnea.net/x-ixbtomlfcefjitsk)
20:30.33*** join/#uclibc mnt_real (~mnt_real@bas11-montrealak-1177755968.dsl.bell.ca)
20:30.33*** join/#uclibc likewhoa (~likewhoa@ma1.maserver.com)
20:30.33*** join/#uclibc Nemykal (~nemykal@au.davies.io)
20:30.33*** join/#uclibc curious__ (curious@bwv190.internetdsl.tpnet.pl)
20:30.33*** join/#uclibc robinmholt (~holt@192.48.192.5)
20:30.33*** join/#uclibc malloc (~malloc@2001:470:1f10:80b:216:3eff:fe3e:999b)
20:30.33*** join/#uclibc tzanger (tzanger@wallace.mixdown.ca)
20:30.33*** join/#uclibc vapier (UserBah@wh0rd.org)
20:30.33*** join/#uclibc jow_laptop (~jow@ffx.subsignal.org)
20:30.33*** join/#uclibc speakman (~daniel@unaffiliated/speakman)
20:30.33*** join/#uclibc blathijs (matthijs@drsnuggles.stderr.nl)
20:30.33*** join/#uclibc ChanServ (ChanServ@services.)
20:30.33*** join/#uclibc tsukasa (~tsukasa@unaffiliated/tsukasa)
20:30.33*** mode/#uclibc [+o ChanServ] by calvino.freenode.net
20:37.54*** join/#uclibc blueness|uclibc (~blueness@cpe-69-207-16-110.buffalo.res.rr.com)
20:37.54*** join/#uclibc blueness|uclibc (~blueness@gentoo/developer/blueness)
21:14.42*** join/#uclibc smartin_ (~smartin@ivr94-4-82-229-165-48.fbx.proxad.net)
21:30.02*** join/#uclibc y_morin (~y_morin@ks3095497.kimsufi.com)
22:22.39*** join/#uclibc bkuhn (~bkuhn@fsf/director/conservancy.president.bkuhn)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.