Options:
- # Session Start: Wed Dec 28 00:00:00 2011
- # Session Ident: #html5
- # [00:01] * Joins: Jayflux1 (~jay_knows@cpc1-dudl6-0-0-cust1981.wolv.cable.virginmedia.com)
- # [00:02] * Joins: ShadowE989 (~ShadowE98@74-47-218-61.dr02.rmny.wv.frontiernet.net)
- # [00:02] * Quits: Jayflux (~jay_knows@cpc1-dudl6-0-0-cust1981.wolv.cable.virginmedia.com) (Ping timeout: 252 seconds)
- # [00:05] * Joins: wbednarski (~wbednarsk@bwy158.neoplus.adsl.tpnet.pl)
- # [00:06] * Joins: manitwo (~maniwo@p57978EF3.dip.t-dialin.net)
- # [00:07] * Joins: OzDave_imac (~OzDave@27-33-43-79.static.tpgi.com.au)
- # [00:08] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [00:09] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Read error: Connection reset by peer)
- # [00:09] * Joins: beckybunny (~becky@host-92-23-131-114.as13285.net)
- # [00:13] * Joins: henrikkok (~henrikkok@3306ds3-amb.0.fullrate.dk)
- # [00:14] * Quits: thcipriani (~tyler@173-14-24-158-Colorado.hfc.comcastbusiness.net) (Quit: leaving)
- # [00:16] * Joins: erichynds (~ehynds@pool-71-184-234-218.bstnma.fios.verizon.net)
- # [00:17] * Quits: N0va (~ricki@84.19.108.75) (Quit: Leaving)
- # [00:18] * Joins: manitwo_ (~maniwo@p57978EF3.dip.t-dialin.net)
- # [00:18] * Quits: manitwo (~maniwo@p57978EF3.dip.t-dialin.net) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [00:18] * manitwo_ is now known as manitwo
- # [00:18] * Quits: manitwo (~maniwo@p57978EF3.dip.t-dialin.net) (Quit: Textual IRC Client: http://www.textualapp.com/)
- # [00:22] * Quits: JL235 (~JL235@host86-185-216-215.range86-185.btcentralplus.com) (Read error: Connection reset by peer)
- # [00:22] * Joins: JL235 (~JL235@host86-185-216-215.range86-185.btcentralplus.com)
- # [00:30] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Quit: beckybunny)
- # [00:30] * Quits: koggdal (~koggdal@83.251.117.159) (Quit: koggdal)
- # [00:39] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [00:45] * Quits: Mahoek (~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl) (Quit: Mahoek)
- # [00:48] * Joins: joepie91 (~joepie91@ip5457f51b.direct-adsl.nl)
- # [00:48] * Quits: wbednarski (~wbednarsk@bwy158.neoplus.adsl.tpnet.pl) (Ping timeout: 268 seconds)
- # [00:52] * Joins: wbednarski (~wbednarsk@abir80.neoplus.adsl.tpnet.pl)
- # [00:54] * Quits: cocoadaemon (~cocoadaem@2a01:e35:8a99:e90:20d:93ff:fe3b:868c) (Quit: cocoadaemon)
- # [00:57] * Quits: [E]sc (~armani@cm218-252-220-28.hkcable.com.hk) (Ping timeout: 255 seconds)
- # [01:03] * Quits: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net) (Ping timeout: 276 seconds)
- # [01:10] * Joins: beckybunny (~becky@host-92-23-131-114.as13285.net)
- # [01:10] * Quits: GeoDud (~Ross@65.74.6.82) (Ping timeout: 252 seconds)
- # [01:10] * Quits: simenbrekken (~simenbrek@c85-196-101-98.static.sdsl.no) (Remote host closed the connection)
- # [01:14] * Quits: taylorRichie (~Adium@208.110.141.169) (Ping timeout: 240 seconds)
- # [01:21] * Joins: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net)
- # [01:25] * Quits: JL235 (~JL235@host86-185-216-215.range86-185.btcentralplus.com) (Ping timeout: 240 seconds)
- # [01:29] * Joins: addyosmani (~addyosman@host86-164-98-62.range86-164.btcentralplus.com)
- # [01:32] * Joins: tmds (~tmds@gateway/tor-sasl/tmds)
- # [01:35] * Joins: leftblank (~leftblank@host109-149-198-5.range109-149.btcentralplus.com)
- # [01:44] * Joins: rottenrec1 (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net)
- # [01:46] * Quits: rottenrec (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net) (Ping timeout: 240 seconds)
- # [01:51] * Quits: strevat_ (~strevat@honeydew.cictr.com) (Quit: strevat_)
- # [01:52] * Quits: joepie91 (~joepie91@ip5457f51b.direct-adsl.nl) (Ping timeout: 252 seconds)
- # [01:58] * Quits: henrikkok (~henrikkok@3306ds3-amb.0.fullrate.dk) (Quit: Leaving.)
- # [02:01] * Quits: wbednarski (~wbednarsk@abir80.neoplus.adsl.tpnet.pl) (Remote host closed the connection)
- # [02:04] * Quits: thatryan (~thatryan@c-24-4-167-46.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [02:05] <tw2113> http://hipstergrammers.tumblr.com/
- # [02:14] * Joins: pandeiro_ (~pandeiro@bd21c422.virtua.com.br)
- # [02:16] * Quits: pandeiro (~pandeiro@bd21c422.virtua.com.br) (Ping timeout: 240 seconds)
- # [02:19] * Quits: addyosmani (~addyosman@host86-164-98-62.range86-164.btcentralplus.com) (Quit: addyosmani)
- # [02:25] * Joins: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net)
- # [02:36] * Joins: NarfZoid (~cobbman@38.73.129.80)
- # [02:37] * Joins: Zauberfisch (Zauberfisc@venus.zauberfisch.at)
- # [02:37] * Quits: erichynds (~ehynds@pool-71-184-234-218.bstnma.fios.verizon.net)
- # [02:43] <NarfZoid> I have an absolutely positioned element which seems to "cover up" some links that are next to it. But visually the links are in front, it's just the actual clickable area that is being covered up. Any ideas?
- # [02:43] * Joins: intellilogic (~intellilo@static-96-241-182-10.washdc.fios.verizon.net)
- # [02:43] <divya> well your abs pos element must be covering the text but not having a background
- # [02:43] <divya> so it appears like links are in front?
- # [02:45] <NarfZoid> Here's how it's set up:
- # [02:45] <NarfZoid> two images, facebook and twitter, are wrapped in anchor tags
- # [02:46] <NarfZoid> they are inside their own div called SocialLinks
- # [02:46] * Quits: silky (~silky@pool-74-108-142-22.nycmny.fios.verizon.net) (Ping timeout: 240 seconds)
- # [02:46] <NarfZoid> then the next div is div id="gradient"
- # [02:46] * Quits: teleject (~christoph@66-90-185-148.dyn.grandenetworks.net) (Quit: teleject)
- # [02:46] <NarfZoid> that is absolutely positioned
- # [02:47] <NarfZoid> The images show up in front of the background gradient div, but the clickable area is half behind it
- # [02:47] * Joins: silky (~silky@pool-74-108-142-22.nycmny.fios.verizon.net)
- # [02:47] * Joins: humanpipecleaner (~chatzilla@wsip-24-234-202-219.lv.lv.cox.net)
- # [02:47] <NarfZoid> I'll make a screenshot, just a sec...
- # [02:47] * Joins: tktiddle (~tim@cpc4-hari15-2-0-cust505.20-2.cable.virginmedia.com)
- # [02:47] * Quits: silky (~silky@pool-74-108-142-22.nycmny.fios.verizon.net) (Read error: Connection reset by peer)
- # [02:51] <NarfZoid> it's hard to see because it's dark, but you can sorta tell that the gradient is behind the images, how it should be. http://i.imgur.com/H2khp.png
- # [02:51] * Quits: SaadIbrahim (~mslfreak@unaffiliated/saadibrahim) (Ping timeout: 252 seconds)
- # [02:52] <NarfZoid> But, the actual anchor tags get covered by the gradient div
- # [02:52] * Joins: JL235 (~JL235@host86-185-216-215.range86-185.btcentralplus.com)
- # [02:52] <NarfZoid> i know i could just abs position the social links too, but i want to avoid that
- # [02:53] <divya> NarfZoid: its most likely your images are inlined
- # [02:53] <divya> so the clickable area is not around the image only around the line-height.
- # [02:53] <divya> make the links inline-block and image itself block
- # [02:53] * Joins: joepie91 (~joepie91@86.93.142.233)
- # [02:54] <NarfZoid> divya: I tried that, setting them to inline-block so they would still be next to each other
- # [02:54] <divya> you could check the boundaries on the sociallinks div and see how it appears on Dragonfly or Chrome dev tools or firebug
- # [02:55] <divya> or you should paste your code in jsfiddle.net and reproduce it :)
- # [02:55] <NarfZoid> Okay, I'll check those out
- # [02:56] <NarfZoid> if I remove the gradient div the links work for the whole image
- # [02:57] * Quits: Antonis (~Antonis@unaffiliated/take0n) (Remote host closed the connection)
- # [02:58] * Quits: Jayflux1 (~jay_knows@cpc1-dudl6-0-0-cust1981.wolv.cable.virginmedia.com) (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
- # [02:58] * Quits: humanpipecleaner (~chatzilla@wsip-24-234-202-219.lv.lv.cox.net) (Ping timeout: 240 seconds)
- # [03:02] <NarfZoid> i'm using firebug and dev tools. The topographic information shows it overlapping the images clearly
- # [03:02] <NarfZoid> just not sure why visually it would look fine, but functionality is the opposite
- # [03:03] * Quits: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [03:04] * Quits: rottenrec1 (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net) (Ping timeout: 240 seconds)
- # [03:04] <divya> not sure :/
- # [03:08] * Joins: rottenrec (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net)
- # [03:22] * Quits: budmaddock (~budmaddoc@essn-4d09cbf7.pool.mediaWays.net) (Ping timeout: 240 seconds)
- # [03:23] * Quits: ColKurtz (~ColKurtz@216.86.217.155) (Quit: Leaving)
- # [03:24] * Quits: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net) (Ping timeout: 252 seconds)
- # [03:26] <NarfZoid> I fixed it by changing some of the markup. took out the gradient div completely, added it to the footer, and then just used a negative margin value to overlap it behind the facebook/twitter links. Now they work :)
- # [03:27] <NarfZoid> *added the gradient to the footer
- # [03:27] * Joins: strickly (strickly@200.125.87.24)
- # [03:30] <divya> sweet
- # [03:32] * Joins: wbednarski (~wbednarsk@aesj100.neoplus.adsl.tpnet.pl)
- # [03:35] <daleharvey> hrm, is it possible to stop particular elements resizing when ctrl++ / ctrl+- is used?
- # [03:36] * Joins: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net)
- # [03:37] * Joins: diraol (~diraol@189.38.130.99)
- # [03:37] * Joins: budmaddock (~budmaddoc@essn-4db6517e.pool.mediaWays.net)
- # [03:40] * Joins: wbednars_ (~wbednarsk@aesj100.neoplus.adsl.tpnet.pl)
- # [03:41] * Joins: pandeiro__ (~pandeiro@bd21c422.virtua.com.br)
- # [03:43] * Quits: wbednarski (~wbednarsk@aesj100.neoplus.adsl.tpnet.pl) (Ping timeout: 268 seconds)
- # [03:43] * pandeiro__ is now known as pandeiro
- # [03:44] * Quits: pandeiro_ (~pandeiro@bd21c422.virtua.com.br) (Ping timeout: 252 seconds)
- # [03:58] * Joins: msponge (~msponge@18.189.103.48)
- # [04:00] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [04:08] * Quits: nassosdim (~NStojan@ppp-94-65-56-196.home.otenet.gr)
- # [04:17] * Joins: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net)
- # [04:22] * Quits: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net) (Ping timeout: 276 seconds)
- # [04:22] * Joins: Nyteshayd (~Nyteshayd@ip72-211-231-62.oc.oc.cox.net)
- # [04:25] * Joins: mike5w3c_ (~MikeSmith@EM114-48-186-67.pool.e-mobile.ne.jp)
- # [04:28] * Quits: mike5w3c (~MikeSmith@EM114-48-75-17.pool.e-mobile.ne.jp) (Ping timeout: 255 seconds)
- # [04:28] * mike5w3c_ is now known as mike5w3c
- # [04:30] * Quits: pandeiro (~pandeiro@bd21c422.virtua.com.br) (Quit: Out of quarters)
- # [04:32] * Quits: dissipate (~steve@unaffiliated/dissipate) (Ping timeout: 240 seconds)
- # [04:34] * Quits: diraol (~diraol@189.38.130.99) (Quit: Leaving.)
- # [04:41] * Quits: tmds (~tmds@gateway/tor-sasl/tmds) (Quit: Leaving)
- # [04:52] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [04:54] * Quits: benv (~benv@50-0-80-160.dsl.static.sonic.net) (Quit: Leaving...)
- # [04:55] * Quits: dissipate (~steve@unaffiliated/dissipate) (Max SendQ exceeded)
- # [04:55] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [04:57] * Quits: moshee (~moshee@unaffiliated/moshee) (Ping timeout: 240 seconds)
- # [04:57] * Joins: moshee (~moshee@c-50-135-229-127.hsd1.wa.comcast.net)
- # [04:57] * Quits: moshee (~moshee@c-50-135-229-127.hsd1.wa.comcast.net) (Changing host)
- # [04:57] * Joins: moshee (~moshee@unaffiliated/moshee)
- # [05:03] * Quits: tktiddle (~tim@cpc4-hari15-2-0-cust505.20-2.cable.virginmedia.com) (Remote host closed the connection)
- # [05:05] * Joins: dr0id (~andy@unaffiliated/dr0id)
- # [05:06] * Joins: teleject (~teleject@cpe-72-177-94-231.austin.res.rr.com)
- # [05:11] * Joins: rottenrec1 (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net)
- # [05:12] * Quits: rottenrec (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net) (Ping timeout: 240 seconds)
- # [05:18] * Joins: [E]sc (~armani@cm218-252-220-28.hkcable.com.hk)
- # [05:27] * Quits: wbednars_ (~wbednarsk@aesj100.neoplus.adsl.tpnet.pl) (Remote host closed the connection)
- # [05:28] * Joins: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net)
- # [05:35] * Quits: teleject (~teleject@cpe-72-177-94-231.austin.res.rr.com) (Quit: Colloquy for iPhone - http://colloquy.mobi)
- # [05:38] * Joins: slaininjektilo (slaininjek@crlspr-69.65.73.39.myacc.net)
- # [05:39] * Joins: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net)
- # [05:40] * Joins: gavin_huang (~gravof@60.179.103.124)
- # [05:41] * Quits: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net) (Ping timeout: 264 seconds)
- # [05:48] * Joins: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net)
- # [05:48] * Joins: diraol (~diraol@189.38.130.99)
- # [05:50] * Quits: moshee (~moshee@unaffiliated/moshee) (Ping timeout: 252 seconds)
- # [05:50] * Joins: moshee (~moshee@unaffiliated/moshee)
- # [05:55] * Joins: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net)
- # [05:59] * Quits: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net) (Ping timeout: 240 seconds)
- # [06:11] * Joins: teleject (~christoph@cpe-72-177-94-231.austin.res.rr.com)
- # [06:11] * Quits: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net) (Remote host closed the connection)
- # [06:12] * Joins: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net)
- # [06:16] * Quits: ShadowE989 (~ShadowE98@74-47-218-61.dr02.rmny.wv.frontiernet.net) (Ping timeout: 252 seconds)
- # [06:16] * Quits: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net) (Ping timeout: 240 seconds)
- # [06:21] * Quits: webguynow (~webguynow@c-24-1-222-204.hsd1.il.comcast.net)
- # [06:22] * Joins: shwetank (~shwetank@122.173.21.205)
- # [06:29] * Joins: ShadowE989 (~ShadowE98@74-36-227-143.br1.rmn.wv.frontiernet.net)
- # [06:33] * Joins: bAnt_ (~bant@184.152.63.99)
- # [06:39] * Quits: diraol (~diraol@189.38.130.99) (Quit: Leaving.)
- # [06:39] * Joins: rvmeier (~rodrigo@pc-72-166-86-200.cm.vtr.net)
- # [07:05] * Quits: jacobolus (~jacobolus@h-66-166-3-76.lsanca54.static.covad.net) (Remote host closed the connection)
- # [07:08] * Quits: JL235 (~JL235@host86-185-216-215.range86-185.btcentralplus.com) (Ping timeout: 240 seconds)
- # [07:12] * Quits: joepie91 (~joepie91@86.93.142.233) (Ping timeout: 255 seconds)
- # [07:12] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Ping timeout: 248 seconds)
- # [07:12] * Quits: rvmeier (~rodrigo@pc-72-166-86-200.cm.vtr.net) (Quit: Leaving)
- # [07:13] * Joins: jacobolu_ (~jacobolus@pool-71-189-159-67.lsanca.fios.verizon.net)
- # [07:14] * Joins: joepie91 (~joepie91@86.93.142.233)
- # [07:18] * Joins: LongBeach (~mike@AFontenayssB-152-1-65-121.w82-121.abo.wanadoo.fr)
- # [07:19] * Quits: icepick (~icepick@unaffiliated/pitchfork) (Ping timeout: 248 seconds)
- # [07:27] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
- # [07:27] * Quits: Lebannen (~lebannen@87.127.122.195) (Ping timeout: 252 seconds)
- # [07:30] * Quits: dissipate (~steve@unaffiliated/dissipate) (Ping timeout: 240 seconds)
- # [07:33] * Quits: joepie91 (~joepie91@86.93.142.233) (Ping timeout: 276 seconds)
- # [07:33] * Joins: Lebannen (~lebannen@87.127.122.195)
- # [07:35] * Quits: miketaylr (~miketaylr@cpe-68-203-0-108.austin.res.rr.com) (Quit: miketaylr)
- # [07:36] * Quits: obert- (~obert@host230-207-dynamic.46-79-r.retail.telecomitalia.it) (Ping timeout: 240 seconds)
- # [07:38] * Quits: shwetank (~shwetank@122.173.21.205) (Ping timeout: 240 seconds)
- # [07:42] * Joins: LyoShi (~shiljche@cable-89-216-203-112.dynamic.sbb.rs)
- # [07:42] * Quits: Lebannen (~lebannen@87.127.122.195) (Ping timeout: 248 seconds)
- # [07:47] * Joins: Lebannen (~lebannen@87.127.122.195)
- # [07:48] * Quits: LyoShi (~shiljche@cable-89-216-203-112.dynamic.sbb.rs) (Remote host closed the connection)
- # [07:54] * Quits: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [07:55] * Quits: bAnt_ (~bant@184.152.63.99) (Remote host closed the connection)
- # [07:57] * Quits: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net) (Ping timeout: 240 seconds)
- # [08:04] * Joins: Lyoshi1 (~Adium@cable-89-216-203-112.dynamic.sbb.rs)
- # [08:05] * Quits: tonesfrommars (~tonesfrom@adsl-75-50-147-232.dsl.lsan03.sbcglobal.net) (Quit: KVIrc 4.0.1 Insomnia http://www.kvirc.net/)
- # [08:07] * Quits: Nyteshayd (~Nyteshayd@ip72-211-231-62.oc.oc.cox.net)
- # [08:13] * Quits: doritoDan (~doritoDan@unaffiliated/doritodan) (Quit: I love web and I love doritos. Coincidence? You decide.)
- # [08:14] * Quits: kadiks (~kadiks@APuteaux-652-1-214-73.w90-44.abo.wanadoo.fr) (Quit: Leaving)
- # [08:20] * Quits: teleject (~christoph@cpe-72-177-94-231.austin.res.rr.com) (Remote host closed the connection)
- # [08:21] * Joins: teleject (~christoph@cpe-72-177-94-231.austin.res.rr.com)
- # [08:21] * Joins: decthomas (~decthomas@d5152D79D.static.telenet.be)
- # [08:24] <Lyoshi1> If you were building a car listings website, like Yahoo Used Cars for example, would you use Microdata attributes (http://schema.org/ > product) only on a Car Detail page, or you would place them on the page with a list of results (SRP), as well? BTW, I know that only one "product" per page is supported, but maybe multiple "offers" would do here…
- # [08:25] * Quits: NarfZoid (~cobbman@38.73.129.80) (Quit: Leaving)
- # [08:26] * Joins: BigKing (~BigKing@dslb-088-077-165-062.pools.arcor-ip.net)
- # [08:36] * Joins: shwetank (~shwetank@122.173.74.1)
- # [08:39] * Joins: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net)
- # [08:41] * Joins: solocio (~solocio@p5B2FC727.dip.t-dialin.net)
- # [08:42] * Quits: jacobolu_ (~jacobolus@pool-71-189-159-67.lsanca.fios.verizon.net) (Remote host closed the connection)
- # [08:44] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [08:49] * Joins: Ms2ger (~Ms2ger@91.181.167.105)
- # [08:58] * Joins: icepick (~icepick@unaffiliated/pitchfork)
- # [08:58] * Quits: patcito (~123@190.237.239.205) (Read error: Connection reset by peer)
- # [08:58] * Quits: Lyoshi1 (~Adium@cable-89-216-203-112.dynamic.sbb.rs) (Quit: Leaving.)
- # [09:00] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Quit: beckybunny)
- # [09:00] * Quits: thatryan (~thatryan@c-71-202-3-49.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [09:02] * Joins: sebadoh (~sebadoh@c-98-210-49-147.hsd1.ca.comcast.net)
- # [09:04] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: Nice Scotty, now beam my clothes up too!)
- # [09:12] * Joins: manuchill (~mstalfoor@83.232.96.217)
- # [09:14] * Parts: leftblank (~leftblank@host109-149-198-5.range109-149.btcentralplus.com)
- # [09:15] * Joins: beckybunny (~becky@host-92-23-131-114.as13285.net)
- # [09:15] * Joins: HintPL (~Olgierd_G@bov181.neoplus.adsl.tpnet.pl)
- # [09:15] * Quits: insin (~insin@host86-148-254-166.range86-148.btcentralplus.com) (Quit: What's the point in giving us haaaaannnds?)
- # [09:16] * Parts: HintPL (~Olgierd_G@bov181.neoplus.adsl.tpnet.pl)
- # [09:16] * Joins: djazz1 (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [09:16] * Joins: doritoDan (~doritoDan@unaffiliated/doritodan)
- # [09:17] * Joins: _srp (~quassel@115.99.249.182)
- # [09:17] * djazz1 is now known as djazz
- # [09:30] * Joins: nonge_ (~nonge@p5082AB7A.dip.t-dialin.net)
- # [09:30] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Quit: beckybunny)
- # [09:30] * Quits: doritoDan (~doritoDan@unaffiliated/doritodan) (Ping timeout: 240 seconds)
- # [09:30] * Joins: doritoDan_ (~doritoDan@81-232-79-127-no46.business.telia.com)
- # [09:30] * Quits: devongovett (~devongove@pppoe-68-142-43-29.gmavt.net) (Quit: devongovett)
- # [09:33] * Joins: victorporof (~victorpor@79.112.124.251)
- # [09:33] * Quits: nonge (~nonge@p5082A8AE.dip.t-dialin.net) (Ping timeout: 240 seconds)
- # [09:36] * Quits: jochen__ (jochen@nat/google/x-papzndlcmlivwwdv) (Remote host closed the connection)
- # [09:36] * Joins: jochen__ (jochen@nat/google/x-frhqfrjpnzekaoqk)
- # [09:39] * Joins: Stava (~Stava@ip232-rld-sdt.tyfon.se)
- # [09:39] * Joins: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net)
- # [09:40] * Quits: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net) (Read error: Connection reset by peer)
- # [09:40] * Joins: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net)
- # [09:52] * Joins: mishunov (~spliter@77.88.72.162)
- # [09:52] * Quits: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net) (Ping timeout: 240 seconds)
- # [09:53] * Joins: mr_lou (~sirlou@0x555321d8.adsl.cybercity.dk)
- # [09:58] * Joins: PalleZingmark (~Adium@217.13.228.226)
- # [10:03] * Quits: doritoDan_ (~doritoDan@81-232-79-127-no46.business.telia.com) (Ping timeout: 252 seconds)
- # [10:05] * Joins: doritoDan (~doritoDan@unaffiliated/doritodan)
- # [10:06] * Quits: BigKing (~BigKing@dslb-088-077-165-062.pools.arcor-ip.net) (Ping timeout: 244 seconds)
- # [10:07] * Joins: spliter_ (~spliter@77.88.72.162)
- # [10:11] * Joins: Jahan (~IceChat9@2a02:200:102d:2:b562:331b:b6ef:a73a)
- # [10:13] * Joins: Nassosdim (~nassosdim@ppp-94-65-56-196.home.otenet.gr)
- # [10:14] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [10:14] * Quits: buribu (~buribu@unaffiliated/buribu) (Read error: Connection reset by peer)
- # [10:15] <Jahan> In HTML5 <canvas> are rectangles are drawn from bottom left to top right and images are drawn from top right to bottom left?
- # [10:15] * Quits: prodn (~rakuen@178.174.190.55) (Ping timeout: 252 seconds)
- # [10:15] * Joins: prodn (~rakuen@178.174.190.55)
- # [10:17] <moo-_-> Jahan: everything is drawn from top left
- # [10:17] <moo-_-> except text (drawString)
- # [10:17] <moo-_-> I believe
- # [10:17] * Joins: obert- (~obert@host230-207-dynamic.46-79-r.retail.telecomitalia.it)
- # [10:17] * Quits: spliter_ (~spliter@77.88.72.162) (Quit: spliter_)
- # [10:18] * Joins: mishunov (~spliter@77.88.72.162)
- # [10:20] <Jahan> For fillRect I set the starting point x and y and define the length and height. and it draws from bottom left to top right
- # [10:21] <moo-_-> Jahan: have you applied some transformations on canvas before the call?
- # [10:21] <moo-_-> you need to clear them properly using push and pop state stack
- # [10:21] <moo-_-> Jahan: can you repeat the example in jsfiddle.net?
- # [10:22] * Quits: _srp (~quassel@115.99.249.182) (Remote host closed the connection)
- # [10:22] <Jahan> I am using transformations but am popping back the states correctly
- # [10:23] <moo-_-> Jahan: which browser you are using?
- # [10:23] <moo-_-> (please don't say IE)
- # [10:23] <moo-_-> :)
- # [10:24] <moo-_-> some IE Flash <canvas> hack is buggy
- # [10:25] <Jahan> nope am testing with latest ff.
- # [10:26] <Jahan> let me try and get some code, because the image doesn't rotate as it should either
- # [10:28] * Quits: mike5w3c (~MikeSmith@EM114-48-186-67.pool.e-mobile.ne.jp) (Ping timeout: 244 seconds)
- # [10:29] <CapnKernel> Hello folks. Ok if I ask a Javascript question here? (I've googled for the answer)
- # [10:30] <CapnKernel> Any way I can turn a string into a reference to the javascript function of the same name?
- # [10:30] <Ms2ger> window["foo"]()
- # [10:34] <CapnKernel> Thank you
- # [10:34] <CapnKernel> But I don't quite understand.
- # [10:34] <CapnKernel> If I have "fn_str" as my string containing the name of the function, what magic can I do to get "fn_ref", so I can execute "fn_ref()"?
- # [10:34] <moo-_-> CapnKernel: exactly as stated above
- # [10:34] <CapnKernel> Is "window" a DOM variable?
- # [10:34] * Joins: mike5w3c (~MikeSmith@EM1-113-118-139.pool.e-mobile.ne.jp)
- # [10:34] <moo-_-> window object holds global Javascript namespace
- # [10:35] <moo-_-> it's the magic
- # [10:35] <moo-_-> window.foo
- # [10:35] <moo-_-> var foo
- # [10:35] <CapnKernel> Oh I see. I'll give it a try.
- # [10:35] <moo-_-> are equal
- # [10:35] <moo-_-> on global level
- # [10:36] * Joins: monteslu_ (~monteslu@ip68-109-174-213.ph.ph.cox.net)
- # [10:36] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [10:36] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [10:36] * Joins: whitman (~whitman@87-194-159-116.bethere.co.uk)
- # [10:37] * Quits: moshee (~moshee@unaffiliated/moshee) (Ping timeout: 240 seconds)
- # [10:37] * Joins: moshee (~moshee@c-50-135-229-127.hsd1.wa.comcast.net)
- # [10:37] * Quits: moshee (~moshee@c-50-135-229-127.hsd1.wa.comcast.net) (Changing host)
- # [10:37] * Joins: moshee (~moshee@unaffiliated/moshee)
- # [10:37] <CapnKernel> Does window["foo"]() give me a reference, or actually evaluate the "foo" function?
- # [10:37] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [10:39] * Quits: monteslu (~monteslu@ip68-109-174-213.ph.ph.cox.net) (Ping timeout: 240 seconds)
- # [10:40] <Ms2ger> window["foo"] gets you a reference
- # [10:40] <Ms2ger> The () executes it
- # [10:41] <CapnKernel> It's not working (and I'm a newbie :-( )
- # [10:41] <CapnKernel> Example: http://paste.pocoo.org/show/526756/
- # [10:41] <CapnKernel> (I haven't tried running that)
- # [10:41] <Ms2ger> Try declaring myfunc outside the if
- # [10:41] <CapnKernel> My code is sitting inside an anonymous function which is run when the window is loaded.
- # [10:42] <Ms2ger> Ah
- # [10:42] <Nassosdim> I have a feeling that you forgot a curly brace and a parentheses
- # [10:42] <CapnKernel> Yes I think that would work, but I have vars inside the anonymous function that I'd like myfunc to access
- # [10:42] <Nassosdim> dunno if it matters
- # [10:42] <CapnKernel> Can I do something with "this" inside the anonymous function?
- # [10:43] <Ms2ger> Mm, maybe
- # [10:44] <CapnKernel> I appreciate your help, but I'm not comprehending what you're saying.
- # [10:44] <CapnKernel> For example, if I've forgotten a brace and a pair of parentheses, where do you think they should do?
- # [10:44] <CapnKernel> *go?
- # [10:45] <CapnKernel> Would "window.onload" help me? (That's where the anonymous function is being stuffed. myfunc should be inside that)
- # [10:46] <Ms2ger> You could use something like http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1287
- # [10:49] <CapnKernel> Thanks, I'll give that a go.
- # [10:56] * Quits: victorporof (~victorpor@79.112.124.251) (Remote host closed the connection)
- # [10:59] * Joins: Mahoek (~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl)
- # [11:00] * Joins: sean` (~seankoole@D97A9E4C.cm-3-3c.dynamic.ziggo.nl)
- # [11:02] * Joins: Shusshu (~shu@ip51cd1542.speed.planet.nl)
- # [11:04] * Joins: seutje (~sdejonghe@drupal.org/user/264148/view)
- # [11:07] * Quits: Jahan (~IceChat9@2a02:200:102d:2:b562:331b:b6ef:a73a) (Quit: Easy as 3.14159265358979323846...)
- # [11:07] * Joins: cocoadaemon (~cocoadaem@2a01:e35:8a99:e90:20d:93ff:fe3b:868c)
- # [11:09] <CapnKernel> I'm not getting very far with this string-to-function thing :-(
- # [11:09] <CapnKernel> I didn't see anything in the live DOM viewer that looked like the function. I also had a look using Firebug.
- # [11:11] <CapnKernel> It seems that every entry in the DOM has an attribute called window, which is I guess how window as a global object is done. Fair enough.
- # [11:12] <CapnKernel> I'm looking in window for something that is correlated with this: window.addEventListener('load', function() {
- # [11:12] <CapnKernel> For example, window.onload or something.
- # [11:12] <CapnKernel> But not seeing anything.
- # [11:20] * Quits: matijsb (u2278@gateway/web/irccloud.com/x-otcqmarlciydyszy) (Quit: Connection closed for inactivity)
- # [11:33] * Joins: squeakytoy (hidden-use@gateway.netset.se)
- # [11:34] * Parts: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [11:39] <Pomax> string-to-function? you mean using the new Function equivalent of eval?
- # [11:50] * Quits: sean` (~seankoole@D97A9E4C.cm-3-3c.dynamic.ziggo.nl) (Quit: Ik ga weg)
- # [11:52] * Quits: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net) (Remote host closed the connection)
- # [11:55] <Pomax> hm, scrolled up, CapnKernel, if you have a function like "function globalMoo" and you have a string "var fn_str = 'globalMoo'" you can call that function by using window[fn_str]();
- # [11:57] <Pomax> because in JavaScript a prototype property can be called either as object.property or object["propertyname"]. So we can either call window.globalMoo, window["globalMoo"] or window[x] with var x = "globalMoo" and they'll all do the same thing.
- # [11:57] <Pomax> also remember that a property is a property is a property is only a function is you add the execution operator, ()
- # [11:57] <Pomax> (possibly with some arguments)
- # [11:57] <Pomax> *if you add
- # [11:58] * Joins: Jonadabe (~Jonadabe@bl10-165-94.dsl.telepac.pt)
- # [11:58] * Joins: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net)
- # [12:00] * Joins: zampano (~Jim@unaffiliated/zampano)
- # [12:00] * Quits: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk) (Quit: lol?)
- # [12:00] * Joins: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk)
- # [12:00] * Quits: msponge (~msponge@18.189.103.48) (Quit: msponge)
- # [12:02] <moo-_-> globalMoo
- # [12:02] <moo-_-> sounds awesome
- # [12:02] * Quits: PSJunkie (ident@unaffiliated/playstationjunki) (Read error: Connection reset by peer)
- # [12:02] * Joins: RobGroove (ident@cpc6-mapp10-2-0-cust184.12-4.cable.virginmedia.com)
- # [12:02] * Quits: RobGroove (ident@cpc6-mapp10-2-0-cust184.12-4.cable.virginmedia.com) (Changing host)
- # [12:02] * Joins: RobGroove (ident@unaffiliated/playstationjunki)
- # [12:02] * RobGroove is now known as PSJunkie
- # [12:05] <Pomax> I try to work in Moo as much as possible.
- # [12:05] <Pomax> whoever decided on foo/bar could have done a better job.
- # [12:05] <moo-_-> definitely
- # [12:08] * Joins: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net)
- # [12:08] * Quits: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk) (Quit: brb)
- # [12:08] * Joins: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk)
- # [12:09] * Quits: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk) (Remote host closed the connection)
- # [12:09] * Joins: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk)
- # [12:09] <CapnKernel> Pomax: Hey thanks!
- # [12:10] * Quits: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk) (Remote host closed the connection)
- # [12:10] <CapnKernel> However my functions are inside an anonymous function that gets called on window load.
- # [12:10] * Joins: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk)
- # [12:10] <CapnKernel> And I can't work out how to get there from the global window var.
- # [12:10] <Pomax> that is not a problem. you can copy over references.
- # [12:10] <Pomax> window.ohMyGodNewFunctionLol = dynamicobject.lollerskatepies;
- # [12:10] <Pomax> and done.
- # [12:11] <CapnKernel> I first have to get the reference.
- # [12:11] <CapnKernel> Did you see my sample? (It's not too far from what I'm trying to do)
- # [12:11] <CapnKernel> http://paste.pocoo.org/show/526756/
- # [12:12] <CapnKernel> Obviously "fref = window[fname]" needs some work :-)
- # [12:13] <CapnKernel> These functions are local in scope: I can go "myfunc()" just fine.
- # [12:13] * Quits: whitman (~whitman@87-194-159-116.bethere.co.uk)
- # [12:16] * Quits: [E]sc (~armani@cm218-252-220-28.hkcable.com.hk) (Remote host closed the connection)
- # [12:16] <CapnKernel> Pomax: Still there?
- # [12:19] * Joins: [E]sc (~armani@cm218-252-220-28.hkcable.com.hk)
- # [12:19] * Joins: JoshManders_ (~Josh@unaffiliated/killswitch)
- # [12:20] * Quits: zampano (~Jim@unaffiliated/zampano) (Read error: Connection reset by peer)
- # [12:22] <CapnKernel> I nearly got an answer... :-(
- # [12:33] * Joins: zampano_ (~Jim@unaffiliated/zampano)
- # [12:33] * Joins: Jackneill (~Jackneill@unaffiliated/jackneill)
- # [12:37] * Joins: _srp (~quassel@115.99.249.182)
- # [12:41] <_srp> hi, i wanted a offline html5 reference document (a pdf or a chm).. where can i find one..?
- # [12:44] <CapnKernel> You could try looking on these sites: http://wsc.opera.com/, http://www.htmlhelp.com/, http://css-discuss.incutio.com/, http://www.brainjar.com/, www.htmldog.com/, http://css.maxdesign.com.au/
- # [12:45] <CapnKernel> This also gives meaningful results: https://www.google.com/search?q=html5+reference+pdf
- # [12:46] * CapnKernel wishes his string->function question was Googlable.
- # [12:46] * Quits: Ms2ger (~Ms2ger@91.181.167.105) (Quit: bbl)
- # [12:48] * Joins: henrikkok (~henrikkok@3306ds3-amb.0.fullrate.dk)
- # [12:49] * Joins: matijsb (u2278@gateway/web/irccloud.com/x-okzyhlgtjoyugvki)
- # [12:50] * Quits: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net) (Ping timeout: 255 seconds)
- # [12:50] * Quits: _srp (~quassel@115.99.249.182) (Remote host closed the connection)
- # [13:07] * Quits: JoshManders_ (~Josh@unaffiliated/killswitch) (Ping timeout: 276 seconds)
- # [13:08] * Quits: slaininjektilo (slaininjek@crlspr-69.65.73.39.myacc.net)
- # [13:11] * Quits: DEac- (~deac@81.16.104.86) (Remote host closed the connection)
- # [13:11] * Joins: lulzilla (~theCode@61.12.14.178)
- # [13:22] * Joins: glcrazy (~SiRiuS@79.119.95.103)
- # [13:24] <Pomax> aha. let me write you a jsfiddle with this
- # [13:24] <CapnKernel> Pomax: Still there?
- # [13:25] <CapnKernel> Cool!
- # [13:25] * Joins: martndem_ (~martndemu@h254064.upc-h.chello.nl)
- # [13:27] * Quits: soulraven (~soulraven@79.117.214.12) (Quit: Leaving.)
- # [13:27] * Joins: uu (~uu@180.95.152.29)
- # [13:28] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Ping timeout: 252 seconds)
- # [13:29] * Joins: serroba (~serroba@190-20-242-2.baf.movistar.cl)
- # [13:29] * CapnKernel goes off to find out what a jsfiddle is
- # [13:29] * Quits: glcrazy (~SiRiuS@79.119.95.103) (Remote host closed the connection)
- # [13:30] <CapnKernel> Hmm, haven't seen it before, but I think I'm going to like it
- # [13:30] * Quits: serroba (~serroba@190-20-242-2.baf.movistar.cl) (Remote host closed the connection)
- # [13:31] * Quits: dissipate (~steve@unaffiliated/dissipate) (Ping timeout: 248 seconds)
- # [13:31] * Joins: serroba (~serroba@190-20-242-2.baf.movistar.cl)
- # [13:32] <Pomax> http://jsfiddle.net/4xEhP/
- # [13:34] <Pomax> or rather, http://jsfiddle.net/4xEhP/1/
- # [13:34] <Pomax> because otherwise "myfunc" clashes
- # [13:34] <CapnKernel> I'm trying to understand it now...
- # [13:35] <Pomax> first we define the function name as a string, fn_Str
- # [13:35] <CapnKernel> Yep
- # [13:35] <Pomax> then we make an anonymous new function based on some string content, through the "sneaky" approach of making a Function that returns an object.
- # [13:36] <Pomax> that object has one property, our function string, with as value an actual function definition.
- # [13:36] <CapnKernel> I can see where myfunc is used (in the div's innerHtml) but I can't see where it's defined.
- # [13:36] * Quits: martndem_ (~martndemu@h254064.upc-h.chello.nl) (Ping timeout: 252 seconds)
- # [13:36] <Pomax> so when the function is run, it returns { <fn_str>: <new function that actually works}
- # [13:36] <CapnKernel> So the anonymous function returns a "myfunc" function?
- # [13:37] <Pomax> so the function's reference is functioncall()[fn_str], or, directly, functioncall().myfunc
- # [13:37] * Joins: ciro_nunes (c8ba7e3a@gateway/web/freenode/ip.200.186.126.58)
- # [13:37] <Pomax> (since fn_str resolves to the string "myfunc")
- # [13:37] <Pomax> no, the anonymous function returns an object much like this:
- # [13:38] <Pomax> {a: function() { alert("lol"); }
- # [13:38] <Pomax> except 'a' is whatever fn_str is, and the function has, in this case, a more elaborate function
- # [13:38] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [13:38] <CapnKernel> I'm having trouble separating the clever, from the necessary.
- # [13:39] <CapnKernel> The "{a: function() { alert("lol"); }" part I understand.
- # [13:40] <CapnKernel> Look up "a" in that array, and you'll get a function which can be evaluated by appending ().
- # [13:40] <Pomax> it's not an array
- # [13:40] <Pomax> there are no arrays here.
- # [13:40] <CapnKernel> object?
- # [13:40] <Pomax> there are JavaScript objects.
- # [13:41] <CapnKernel> (Sorry, newbie here)
- # [13:41] <Pomax> which is a HUGE difference in this case
- # [13:41] <Pomax> new Function("...") defines a new function with, as body, whatever string you pass it
- # [13:41] * Joins: silentimp (~silentimp@88-87-200-46.pool.ukrtel.net)
- # [13:41] <CapnKernel> So "a" is the name of an attribute of the object?
- # [13:41] <Pomax> correct
- # [13:42] <CapnKernel> With "function() { alert("lol");" being the value of that attribute.
- # [13:42] <CapnKernel> Oops, with "function() { alert("lol");}" being the value of that attribute.
- # [13:42] <Pomax> in order to make new Function() do what eval() normally does, but without using eval (thus making it a tiny bit safer, because it'll simply reject the entire code block if it has an error, rather than only the last erroring statement) we have to make it return something sensible
- # [13:42] <CapnKernel> Oops2: I nearly understood but now I don't, because your line {a: function() { alert("lol"); } has two x { but only one }
- # [13:43] <CapnKernel> I'm not trolling, I'm genuinely trying to understand.
- # [13:43] <Pomax> so concisely, this code says: var globalMoo = new Function("return { attribute: function(){} };")
- # [13:43] <CapnKernel> Should it be {a: function() { alert("lol"); }}
- # [13:43] <lulzilla> guys, can you name some of the best html5 developers in the world?
- # [13:44] <Pomax> yes it should.
- # [13:44] <Pomax> lulzilla: what does "best" mean?
- # [13:45] <CapnKernel> It's like "what's the best editor?" or "what is the best linux distro". Stuff trolls say :-)
- # [13:45] <Pomax> or people who genuinely want to know something, but don't realise the phrasing doesn't actually allow for an answer.
- # [13:45] <CapnKernel> Yes that one too
- # [13:45] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [13:45] <Pomax> now, once we have this new Function compiled, we need to run it in order to get at the object it's supposed to build.
- # [13:46] <CapnKernel> I have a question
- # [13:46] <Pomax> we could do it the way I show it here, but in production I'd probably instead use something like this:
- # [13:46] <Pomax> var actualfunctionreference = ((new Function("return { "fn_str+":...}")())[fn_str];
- # [13:47] <CapnKernel> Please see my paste: http://paste.pocoo.org/show/526756/
- # [13:47] <Pomax> which does three things at once.
- # [13:47] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [13:47] <CapnKernel> My myfunc() function may be many dozens of lines long.
- # [13:47] <Pomax> that is not a problem in the slightest, as long as you can stick it in a string.
- # [13:47] <CapnKernel> Is there any way I can keep it separate from the thingy which generates the reference?
- # [13:47] <CapnKernel> So the function has to be in the form of a string constant, rather than appearing in the source as a function?
- # [13:47] <Pomax> sure. Just have a var functionBody = "...."; functionBody += "...."; etc.
- # [13:48] <Pomax> not constant.
- # [13:48] <CapnKernel> It can't appear as a normal function?
- # [13:48] <Pomax> new Function simplyu takes a string as argument, representing the function body text
- # [13:48] <CapnKernel> I understand that, thank you.
- # [13:48] <Pomax> the problem with "a normal function" is that you already know what it looks like, and what all the code is, so normal functions and dynamic functions are mutually exclusive things.
- # [13:48] <CapnKernel> What if I want to keep myfunc as a function, and not start with a string?
- # [13:50] <Pomax> either you know what the code looks like, and you already wrote it in your source code (in which case we can do: window["function name"] = function(...) {...} and be done immediatley) or you don't, in which case it's an eval or new Function treatment
- # [13:50] <CapnKernel> As Ms2ger pointed out, if the function were outside the if, it would be trivial: window.myfunc
- # [13:50] <Pomax> if doesn't change the scope.
- # [13:50] <CapnKernel> Can I write window["function name"] = myfunc?
- # [13:50] <Pomax> if(a) { doThis = function(x,y) { return x+y; }}
- # [13:51] <Pomax> this will create a global property "doThis" that you can call as function
- # [13:51] <CapnKernel> Where myfunc is inside the scope of the if()? Will evaluating it later allow it to access the local vars inside the if, even though the function was located via window?
- # [13:51] <Pomax> sure, then we get this:
- # [13:52] * Joins: Vier (~Vier@120.152.7.8)
- # [13:53] <Pomax> http://jsfiddle.net/4xEhP/2/
- # [13:53] <CapnKernel> I'm hoping myfunc() can be an ordinary function lurking in the anon fn inside the if, and the *reference* to the function is in window. Can I do that?
- # [13:53] <CapnKernel> And I can call the func with window.myfunc()
- # [13:53] <CapnKernel> Oh actually, window["function name"](), as otherwise it misses the point of mapping a string to a function
- # [13:54] * Parts: manuchill (~mstalfoor@83.232.96.217) ("Ex-Chat")
- # [13:54] <Pomax> yeah, have a look at that fiddle and see if that's what you mean
- # [13:54] * Joins: solocio_ (~solocio@p5B2FC727.dip.t-dialin.net)
- # [13:55] * Quits: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk) (*.net *.split)
- # [13:55] * Quits: Shusshu (~shu@ip51cd1542.speed.planet.nl) (*.net *.split)
- # [13:55] * Quits: solocio (~solocio@p5B2FC727.dip.t-dialin.net) (*.net *.split)
- # [13:55] * Quits: kennyluck (~kennyluck@114-25-244-221.dynamic.hinet.net) (*.net *.split)
- # [13:55] * Quits: Kichael (~Kichael@70-36-49-167.dyn.novuscom.net) (*.net *.split)
- # [13:55] * solocio_ is now known as solocio
- # [13:55] * Joins: [1]Kichael (~Kichael@70-36-49-167.dyn.novuscom.net)
- # [13:55] <Pomax> we can trivially get rid of the variable, but since stating "var myfunc = ..." is window.myfunc = ..., it wouldn't make much difference.
- # [13:55] <CapnKernel> Ok, thank you@
- # [13:55] <CapnKernel> !
- # [13:55] <Pomax> np.
- # [13:55] <Pomax> (now for a cup of coffee =)
- # [13:56] <Vier> Var myfunc means declare a new local var
- # [13:56] <Pomax> close
- # [13:56] <Pomax> "var varname" means "declare a variable, scoped to the current scope"
- # [13:56] <Pomax> which at the highest level is global scope, bound to the omnipresent "window" object
- # [13:57] <Vier> Yeah, so why would car myfunc be the same as window.myfunc?
- # [13:57] <Pomax> it's not.
- # [13:57] * Quits: silentimp (~silentimp@88-87-200-46.pool.ukrtel.net) (Ping timeout: 240 seconds)
- # [13:57] <Pomax> note *where* the "var myfunc" is.
- # [13:58] <Vier> Mmk, ill take your word cuz im tired and didn't get much background before jumping in
- # [13:58] <Pomax> it's only the same because of where it's found in the code example (global scope level)
- # [13:59] <Pomax> but it's incredibly good practice to get in the habit of adding "var" in front of everything you declare, so that you never run into name clashing. even if you need a global var, declare it as "var happything" outside any function.
- # [13:59] * Joins: kennyluck (~kennyluck@114-25-244-221.dynamic.hinet.net)
- # [14:01] * Joins: Shusshu (~shu@ip51cd1542.speed.planet.nl)
- # [14:02] * Joins: danishman (~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk)
- # [14:05] * Quits: feeeR (~ircap@3.58.18.95.dynamic.jazztel.es) (Read error: Connection reset by peer)
- # [14:05] <CapnKernel> I understand that there are two myfuncs. The global one is a reference to the local one.
- # [14:06] <CapnKernel> (I'm off fiddling)
- # [14:06] * Joins: beckybunny (~becky@host-92-23-131-114.as13285.net)
- # [14:07] <Pomax> sort of - the function is technically scope-independent, it simply gets garbage collected when all references to it are gone.
- # [14:07] <Pomax> so you create a function with a local reference, and also a global reference.
- # [14:07] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [14:07] <Vier> CapnKernal: I don't think that's quite the right terminology there... also, I hope myfunc isn't what your actually calling your variables
- # [14:08] <Pomax> except it gets more fun: javascript scoping is based on functions, not based on {}
- # [14:08] <Pomax> so what you call a local reference is technically also a global reference.
- # [14:08] <CapnKernel> Ahh, there are two references, and one function
- # [14:08] <CapnKernel> Pythonesque :-)
- # [14:09] <Pomax> most scripting langauges-esque =)
- # [14:09] <Pomax> (javascript is fairly different from most languages in both how it deals with scoping, and how it does with objects)
- # [14:09] <Pomax> *deals with
- # [14:09] * Parts: Vier (~Vier@120.152.7.8) ("Leaving")
- # [14:09] <CapnKernel> The second div is not becoming 789. What silly thing am I doing/not doing? http://jsfiddle.net/4xEhP/9/
- # [14:10] <CapnKernel> Does fiddle not support the document load event?
- # [14:11] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [14:11] <Pomax> don't use "load"
- # [14:11] <chachan> guys, why could I get "canceled" when I try to use audio tag?. The "canceled" appears after download the file
- # [14:11] <CapnKernel> What do I use instead?
- # [14:12] <Pomax> use document.addEventListener("DOMContentLoaded", ..., false);
- # [14:12] <CapnKernel> Interesting, ok.
- # [14:12] <Pomax> load is from the era of "onload"
- # [14:12] * Joins: whitman (~whitman@87-194-159-116.bethere.co.uk)
- # [14:12] <Pomax> it's been mostly superceded-replaced by actual events like the DOMContentLoaded event
- # [14:12] <CapnKernel> Yes, works much better, thanks!
- # [14:13] * Joins: martndem_ (~martndemu@h254064.upc-h.chello.nl)
- # [14:13] * Joins: diraol (~diraol@189.38.130.99)
- # [14:13] * Joins: silentimp (~silentimp@46.247.252.199)
- # [14:15] * Joins: silentimp_ (~silentimp@72-165-132-95.pool.ukrtel.net)
- # [14:15] * Joins: feeeR (~ircap@91.213.222.87.dynamic.jazztel.es)
- # [14:16] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Ping timeout: 240 seconds)
- # [14:18] * Quits: diraol (~diraol@189.38.130.99) (Client Quit)
- # [14:18] * Quits: silentimp (~silentimp@46.247.252.199) (Ping timeout: 268 seconds)
- # [14:18] * silentimp_ is now known as silentimp
- # [14:18] * Joins: Lyoshi (~Adium@cable-89-216-203-112.dynamic.sbb.rs)
- # [14:19] * Quits: martndem_ (~martndemu@h254064.upc-h.chello.nl) (Read error: Connection reset by peer)
- # [14:19] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [14:19] * Parts: Lyoshi (~Adium@cable-89-216-203-112.dynamic.sbb.rs)
- # [14:26] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [14:26] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [14:27] <CapnKernel> Pomax: By Jove, it's working! http://jsfiddle.net/4xEhP/14/
- # [14:30] * Joins: erichynds (~ehynds@venkman.brightcove.com)
- # [14:31] * Joins: simenbrekken (~simenbrek@c85-196-101-98.static.sdsl.no)
- # [14:33] * Joins: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [14:35] <CapnKernel> Thanks for your time and help.
- # [14:39] * Joins: silky (~silky@pool-74-108-142-22.nycmny.fios.verizon.net)
- # [14:41] * Joins: strevat_ (~strevat@c-66-31-28-249.hsd1.ma.comcast.net)
- # [14:42] * Joins: strevat__ (~strevat@c-66-31-28-249.hsd1.ma.comcast.net)
- # [14:44] * Joins: diraol (~diraol@189.38.130.99)
- # [14:45] * Joins: jetienne (~jerome@ivr94-6-82-230-255-246.fbx.proxad.net)
- # [14:47] * Quits: jetienne (~jerome@ivr94-6-82-230-255-246.fbx.proxad.net) (Client Quit)
- # [14:47] * Joins: N0va` (~ricki@84.19.108.75)
- # [14:51] * Joins: RobLoach (~RobLoach@drupal.org/user/61114/view)
- # [15:00] * Joins: insin (~insin@host86-148-254-166.range86-148.btcentralplus.com)
- # [15:02] * Quits: lulzilla (~theCode@61.12.14.178) (Quit: This computer has gone to sleep)
- # [15:02] * Quits: diraol (~diraol@189.38.130.99) (Quit: Leaving.)
- # [15:04] * Quits: strevat__ (~strevat@c-66-31-28-249.hsd1.ma.comcast.net) (Quit: strevat__)
- # [15:05] * Quits: Xo__ (~Hautain@AOrleans-258-1-135-160.w90-21.abo.wanadoo.fr) (Quit: Leaving)
- # [15:10] * Quits: OzDave_imac (~OzDave@27-33-43-79.static.tpgi.com.au) (Quit: OzDave_imac)
- # [15:13] * Quits: temp02 (~temp01@unaffiliated/temp01) (Ping timeout: 244 seconds)
- # [15:15] * Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Ping timeout: 240 seconds)
- # [15:15] * Joins: Hautain (~Hautain@AOrleans-258-1-135-160.w90-21.abo.wanadoo.fr)
- # [15:16] * Joins: Jayflux (~jay_knows@cpc1-dudl6-0-0-cust1981.wolv.cable.virginmedia.com)
- # [15:16] * Joins: ericbarnes (~ericbarne@rrcs-98-101-76-192.midsouth.biz.rr.com)
- # [15:22] * Joins: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net)
- # [15:36] * Quits: silentimp (~silentimp@72-165-132-95.pool.ukrtel.net) (Read error: No route to host)
- # [15:36] * Joins: silentimp_ (~silentimp@72-165-132-95.pool.ukrtel.net)
- # [15:40] * Joins: saschagehlich (~saschageh@p5DE82F5F.dip.t-dialin.net)
- # [15:40] * Joins: kevindanko (~kevindank@c-76-99-192-101.hsd1.de.comcast.net)
- # [15:42] * monteslu_ is now known as monteslu
- # [15:49] * Quits: serroba (~serroba@190-20-242-2.baf.movistar.cl) (Remote host closed the connection)
- # [15:50] * Joins: serroba (~serroba@190-20-242-2.baf.movistar.cl)
- # [16:01] * Quits: saschagehlich (~saschageh@p5DE82F5F.dip.t-dialin.net) (Ping timeout: 252 seconds)
- # [16:06] * Quits: gavin_huang (~gravof@60.179.103.124) (Quit: Leaving)
- # [16:07] * theresa_away is now known as theresaanna
- # [16:07] * Quits: serroba (~serroba@190-20-242-2.baf.movistar.cl) (Ping timeout: 240 seconds)
- # [16:08] * Joins: SaadIbrahim (~mslfreak@unaffiliated/saadibrahim)
- # [16:09] * Joins: CAP2732 (~ircap@172.212.222.87.dynamic.jazztel.es)
- # [16:10] * Joins: miketaylr (~miketaylr@cpe-68-203-0-108.austin.res.rr.com)
- # [16:11] * Quits: feeeR (~ircap@91.213.222.87.dynamic.jazztel.es) (Ping timeout: 240 seconds)
- # [16:12] * Joins: saschagehlich (~saschageh@p57A06624.dip.t-dialin.net)
- # [16:17] * Joins: devongovett (~devongove@pppoe-68-142-43-29.gmavt.net)
- # [16:19] * Quits: mishunov (~spliter@77.88.72.162) (Quit: mishunov)
- # [16:21] * Joins: imacinto (~imacinto@c1fw226.constantcontact.com)
- # [16:25] * Quits: whitman (~whitman@87-194-159-116.bethere.co.uk) (Disconnected by services)
- # [16:25] * Joins: whitman_ (~whitman@87-194-159-116.bethere.co.uk)
- # [16:25] * Quits: uu (~uu@180.95.152.29) (Remote host closed the connection)
- # [16:26] * Joins: mike5w3c_ (~MikeSmith@EM114-48-232-224.pool.e-mobile.ne.jp)
- # [16:27] * Joins: Taftse (~Taftse@unaffiliated/taftse)
- # [16:29] * Quits: mike5w3c (~MikeSmith@EM1-113-118-139.pool.e-mobile.ne.jp) (Ping timeout: 240 seconds)
- # [16:29] * mike5w3c_ is now known as mike5w3c
- # [16:30] * Quits: squeakytoy (hidden-use@gateway.netset.se) (Quit: Leaving)
- # [16:38] * Joins: jarek (~jarek@unaffiliated/jarek)
- # [16:38] <jarek> "let" keyword has just landed in V8 and Chromium
- # [16:38] <jarek> do you know when it will be supported in JavaScriptCore?
- # [16:39] * Joins: buribu (~buribu@unaffiliated/buribu)
- # [16:40] <Pomax> all I know is that as a linguist, I hate the word "let" as scope operator.
- # [16:40] <Pomax> unless it is impossible to say "let x;"
- # [16:40] <Pomax> if you can only use it as "let x=4" I'm linguistically okay with it.
- # [16:40] * Joins: thcipriani (~tyler@173-14-24-158-Colorado.hfc.comcastbusiness.net)
- # [16:42] <jarek> what's wrong with "let" word? It's short and easily distinguishable
- # [16:42] <jarek> this is what makes a good name
- # [16:43] <jarek> I wish I could replace all vars with lets already
- # [16:45] <jarek> https://lists.webkit.org/pipermail/webkit-dev/2011-December/018903.html
- # [16:45] <jarek> ^ this says "Modules are being worked on for V8, but not finished AFAIK."
- # [16:45] <jarek> is it possible to enable support for ES6 modules in Chromium somehow?
- # [16:46] <Pomax> it's short, easily distinguishable, and a verb that requires a copula
- # [16:46] <Pomax> i..e "let x be ..."
- # [16:46] <Pomax> "let ..." is just raping English =)
- # [16:46] <Pomax> "var x" is typing, and exempt. "let x" is a verb statement.
- # [16:46] <Pomax> not variable typing.
- # [16:47] * Joins: rottenrec (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net)
- # [16:48] * Quits: rottenrec1 (~calvin@pool-74-100-117-52.lsanca.dsl-w.verizon.net) (Ping timeout: 252 seconds)
- # [16:49] <jarek> why there was "strict mode" introduced in ES5?
- # [16:49] <jarek> when ES6 comes out, we will have "stricter mode"?
- # [16:52] <Pomax> what makes you ask?
- # [16:53] * Joins: conancat (~conancat@175.139.165.171)
- # [16:54] <martndemus> annevk wrote about version statements in newer versions of ES
- # [16:55] <martndemus> it's somewhere on the mailinglist of ES
- # [16:56] <martndemus> https://lists.webkit.org/pipermail/webkit-dev/2011-December/018924.html
- # [16:56] <martndemus> gotcha
- # [16:57] * Joins: glcrazy (~SiRiuS@79.119.95.103)
- # [16:58] <jarek> martndemus: I see...
- # [16:59] <jarek> latest Chromium build returns null for "typeof null" event without "use strict" header
- # [16:59] <jarek> I hope they will fix it
- # [16:59] <jarek> s/event/even
- # [17:00] <martndemus> did u enable harmony/es6?
- # [17:00] <jarek> yeah
- # [17:00] <martndemus> then it's not a bug
- # [17:01] <jarek> but ES6 can't break compatibility with older scripts
- # [17:01] <martndemus> the harmony implementation of chrome doesn't look for a string
- # [17:01] * Joins: robhawkes (~robhawkes@188-220-16-96.dsl.cnl.uk.net)
- # [17:02] * Quits: danishman (~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk) (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/)
- # [17:02] <martndemus> it's a special flag for development/testing, not for production
- # [17:03] * Joins: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t)
- # [17:04] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [17:07] * Quits: devongovett (~devongove@pppoe-68-142-43-29.gmavt.net) (Quit: devongovett)
- # [17:08] * Parts: conancat (~conancat@175.139.165.171) ("Leaving...")
- # [17:11] * Joins: DudeNesss (DudeNess@124.106.218.138)
- # [17:12] * Quits: decthomas (~decthomas@d5152D79D.static.telenet.be) (Quit: decthomas)
- # [17:16] * Quits: Nassosdim (~nassosdim@ppp-94-65-56-196.home.otenet.gr) (Ping timeout: 240 seconds)
- # [17:16] * Joins: msponge (~msponge@18.189.103.48)
- # [17:17] * Joins: Nassosdim (~nassosdim@ppp-94-65-56-196.home.otenet.gr)
- # [17:19] * Quits: whitman_ (~whitman@87-194-159-116.bethere.co.uk)
- # [17:19] * Joins: whitman (~whitman@87-194-159-116.bethere.co.uk)
- # [17:21] * Quits: PalleZingmark (~Adium@217.13.228.226) (Quit: Leaving.)
- # [17:24] * Joins: thatryan (~thatryan@c-24-4-167-46.hsd1.ca.comcast.net)
- # [17:26] * Joins: jarek_ (~jarek@bdd73.neoplus.adsl.tpnet.pl)
- # [17:27] * Quits: seutje (~sdejonghe@drupal.org/user/264148/view) (Quit: WeeChat 0.3.2)
- # [17:27] * Quits: glcrazy (~SiRiuS@79.119.95.103) (Remote host closed the connection)
- # [17:28] * Quits: jarek (~jarek@unaffiliated/jarek) (Ping timeout: 240 seconds)
- # [17:33] * Joins: gavin_huang (~gravof@60.179.103.124)
- # [17:33] * Quits: teleject (~christoph@cpe-72-177-94-231.austin.res.rr.com) (Quit: teleject)
- # [17:35] * Joins: Itrace (~Itrace@74-84-107-90.client.mchsi.com)
- # [17:42] * Quits: dr0id (~andy@unaffiliated/dr0id) (Quit: Leaving.)
- # [17:44] * Joins: tmds (~tmds@gateway/tor-sasl/tmds)
- # [17:44] * Quits: jarek_ (~jarek@bdd73.neoplus.adsl.tpnet.pl) (Quit: jarek_)
- # [17:48] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Quit: beckybunny)
- # [17:48] * Joins: taylorRichie (~Adium@208.110.141.169)
- # [17:52] * Quits: gavin_huang (~gravof@60.179.103.124) (Quit: Leaving)
- # [17:52] * Joins: axos411 (~axos@xdsl-78-35-131-253.netcologne.de)
- # [17:54] * Quits: saschagehlich (~saschageh@p57A06624.dip.t-dialin.net) (Remote host closed the connection)
- # [17:57] * Parts: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [17:58] * Quits: shwetank (~shwetank@122.173.74.1) (Quit: Linkinus - http://linkinus.com)
- # [18:00] * Joins: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [18:03] * Quits: tmds (~tmds@gateway/tor-sasl/tmds) (Remote host closed the connection)
- # [18:06] * Joins: patcito (~123@190.42.224.67)
- # [18:07] * Joins: serroba (~serroba@190-20-242-2.baf.movistar.cl)
- # [18:07] * Quits: doritoDan (~doritoDan@unaffiliated/doritodan) (Quit: I love web and I love doritos. Coincidence? You decide.)
- # [18:13] * Joins: gyzmodo (x@89.146.122.210)
- # [18:14] * Joins: sephr (~Eli@c-98-235-63-240.hsd1.pa.comcast.net)
- # [18:15] * Quits: PSJunkie (ident@unaffiliated/playstationjunki) (Ping timeout: 252 seconds)
- # [18:17] * Joins: pocopina (~pocopina@li298-99.members.linode.com)
- # [18:19] * Quits: DudeNesss (DudeNess@124.106.218.138)
- # [18:24] * Joins: nafcool (~nafcool@180.215.6.136)
- # [18:25] <nafcool> hi
- # [18:25] <nafcool> i need to make a widget that slides from the right side
- # [18:25] <nafcool> i need that it can resize uploaded image.
- # [18:25] <nafcool> how to do that? please help
- # [18:25] <moo-_-> usually image resize is a server-side operation and not related to HTML5
- # [18:25] <moo-_-> you can create animated effects with CSS3, but unless you know what you are doing I recommend you to do effects with jQuery or jQuery UI Javascript libraries
- # [18:25] <nafcool> but we can do it using canvas, i guess
- # [18:25] <moo-_-> nafcool: good
- # [18:26] * Quits: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net) (Read error: Connection reset by peer)
- # [18:26] <moo-_-> I have a solution for resizing images on the client side using Javascript
- # [18:26] <nafcool> moo-_-: please hrlp me with your solution.
- # [18:26] <nafcool> *help
- # [18:26] <moo-_-> https://github.com/miohtama/Krusovice/blob/master/src/tools/resizer.js
- # [18:27] <moo-_-> no warranty, no documentation
- # [18:27] <moo-_-> :)
- # [18:27] <moo-_-> also it only works for Chrome and Firefox for now
- # [18:27] <moo-_-> other browsers must still resize images on the server-side
- # [18:27] * Joins: ebidel (~ericbidel@76.226.176.214)
- # [18:27] * Quits: ebidel (~ericbidel@76.226.176.214) (Client Quit)
- # [18:27] <nafcool> moo-_-: no problem, you still helped me.
- # [18:27] <nafcool> thanks a lot.
- # [18:27] <nafcool> :)
- # [18:28] <moo-_-> the most difficult trick is to
- # [18:28] <moo-_-> read JPEG metadata and determine the photo orientation
- # [18:28] <moo-_-> or the photo might end up being wrongly rotated
- # [18:28] <moo-_-> ah
- # [18:28] <moo-_-> and the script only supports JPEG images for this very reason
- # [18:28] <nafcool> oh!
- # [18:28] * Joins: uf0_work (~deeznuts@cpe-67-247-8-211.nyc.res.rr.com)
- # [18:29] <nafcool> well, but how to integrate it to a webpage. can u help me with that too?
- # [18:29] <moo-_-> no
- # [18:29] <moo-_-> that's the no documentation part
- # [18:29] <uf0_work> paul_irish: you around?
- # [18:29] * Joins: croby (~croby@c-24-22-130-41.hsd1.wa.comcast.net)
- # [18:29] <moo-_-> you need some mad Javascript skillz to deal with experimental code like that
- # [18:29] <nafcool> moo-_-: well, thanks
- # [18:29] <nafcool> bye
- # [18:30] <moo-_-> or it will blow on your face
- # [18:30] <moo-_-> :(
- # [18:30] * Parts: nafcool (~nafcool@180.215.6.136) ("Coming back after a while, maybe")
- # [18:30] <Pomax> actually, reading that information is fairly easy
- # [18:30] <Pomax> it's in the first few bytes
- # [18:30] <uf0_work> guys.. so I'm moving my domains off godaddy
- # [18:30] <Pomax> the real annoying part is that client-resize typically uses a rather poor resize algorithm.
- # [18:30] <uf0_work> what's the best alternative
- # [18:30] <Pomax> why, they did an aboutface, the campaign worked
- # [18:31] <uf0_work> doesn't matter
- # [18:31] <uf0_work> that's bs
- # [18:31] <moo-_-> Pomax: you could write your own pixel resizer in JS, theoretically
- # [18:31] <moo-_-> and run it in a web worker, theoretically
- # [18:31] <uf0_work> PR pretty much
- # [18:31] <Pomax> no, that's how conditioning works. You punish bad behaviour, and reward good behaviour =)
- # [18:31] <moo-_-> in fact, now the resizer gives a hit to UI thread because <canvas> operation always blocks
- # [18:32] <uf0_work> and i agree and disagree
- # [18:32] <Pomax> godaddy was punished, they fixed their policy, their reward is going "good boy, I won't leave until the next time you screw up"
- # [18:32] <djazz> <3 WebGL + Linux
- # [18:32] <Pomax> that said, pick whoever you like? I hear good things about heroku
- # [18:32] <djazz> its slower on windows
- # [18:32] <uf0_work> agree and disagree :)
- # [18:32] <Pomax> moo-_-, you can indeed, but the fact that canvas is subpixel makes it a chore to get right.
- # [18:33] <uf0_work> well the ones i'm looking at are... 1and1 and namecheap
- # [18:33] <moo-_-> Pomax: I managed to get accetable quality out of it for photos
- # [18:33] <moo-_-> when resizing photos to full HD quality
- # [18:35] <Pomax> those two things don't go together =P
- # [18:36] <Pomax> "full HD" is a video thing, and years behind the resolution digital photos are these days
- # [18:36] <moo-_-> yes
- # [18:36] <moo-_-> I refer to 1920 x 1020 resolution
- # [18:36] <moo-_-> as the target resolution for the downscale
- # [18:36] <Pomax> ah
- # [18:36] <moo-_-> because that's what user monitors are running
- # [18:36] * Pomax stabs HD
- # [18:37] <Pomax> nuts to that, I want my goddamn 16:10
- # [18:37] <Pomax> 16:9 is for chumps
- # [18:37] <moo-_-> mobile phones are 16:10?
- # [18:37] <moo-_-> smart phones, specifically
- # [18:38] <Pomax> no idea, to be honest. Not really the device I associate with even remotely needing "HD" resolutions or aspects
- # [18:38] <moo-_-> :)
- # [18:38] <Pomax> but let's see what my phone does
- # [18:38] <Pomax> oh right. or not. it can't see the wifi here.
- # [18:40] <Pomax> heh.
- # [18:40] <Pomax> in between 16:10 and 16:9
- # [18:40] <Pomax> (800x480)
- # [18:40] <Pomax> 16:9.6? =P
- # [18:41] <moo-_-> ...
- # [18:41] * Joins: RobGroove (ident@cpc6-mapp10-2-0-cust184.12-4.cable.virginmedia.com)
- # [18:41] * Quits: RobGroove (ident@cpc6-mapp10-2-0-cust184.12-4.cable.virginmedia.com) (Changing host)
- # [18:41] * Joins: RobGroove (ident@unaffiliated/playstationjunki)
- # [18:41] * RobGroove is now known as PSJunkie
- # [18:44] * Joins: saschagehlich (~saschageh@p5DD54DDC.dip.t-dialin.net)
- # [18:44] * Quits: axos411 (~axos@xdsl-78-35-131-253.netcologne.de) (Ping timeout: 248 seconds)
- # [18:45] * Joins: expilicious (~zAyghip8@cpc1-cdif9-0-0-cust70.5-1.cable.virginmedia.com)
- # [18:45] * Quits: expilicious (~zAyghip8@cpc1-cdif9-0-0-cust70.5-1.cable.virginmedia.com) (Read error: Connection reset by peer)
- # [18:46] * Joins: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net)
- # [18:47] * Quits: SaadIbrahim (~mslfreak@unaffiliated/saadibrahim) (Ping timeout: 240 seconds)
- # [18:50] * Joins: brettgoulder (~textual@173-164-36-90-colorado.hfc.comcastbusiness.net)
- # [18:53] <Pomax> I really wish this cat didn't try to FTP to one of my more popular domains and then almost delete the index.php file ...
- # [18:54] * Quits: Lebannen (~lebannen@87.127.122.195) (Ping timeout: 240 seconds)
- # [18:54] * Joins: SaadIbrahim (~mslfreak@unaffiliated/saadibrahim)
- # [18:59] * Joins: Lebannen (~lebannen@87.127.122.195)
- # [18:59] * Joins: beckybunny (~becky@host-92-23-131-114.as13285.net)
- # [18:59] * Quits: beckybunny (~becky@host-92-23-131-114.as13285.net) (Client Quit)
- # [19:01] * Parts: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [19:03] * Quits: sw0rdfish (~Johnson@unaffiliated/robinux) (Ping timeout: 252 seconds)
- # [19:04] * Joins: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [19:05] * Quits: solocio (~solocio@p5B2FC727.dip.t-dialin.net) (Quit: solocio)
- # [19:07] * Quits: BBBThunda (~IceChat77@pool-71-162-117-84.bstnma.fios.verizon.net) (Ping timeout: 240 seconds)
- # [19:11] * Joins: devilswings7 (~unknown@ool-44c74ead.dyn.optonline.net)
- # [19:11] * Quits: devilswings7 (~unknown@ool-44c74ead.dyn.optonline.net) (Client Quit)
- # [19:13] * Joins: tw2113 (~tw2113@host-162-8-107-208.midco.net)
- # [19:13] * Quits: tw2113 (~tw2113@host-162-8-107-208.midco.net) (Changing host)
- # [19:13] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [19:21] * Parts: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [19:28] * Joins: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net)
- # [19:31] * Quits: DrThodt (~DrThodt@ip68-228-210-138.ph.ph.cox.net) (Remote host closed the connection)
- # [19:38] * Joins: devongovett (~devongove@pppoe-68-142-43-29.gmavt.net)
- # [19:39] * Joins: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [19:41] * Joins: Conexion (~chatzilla@75-147-178-254-Washington.hfc.comcastbusiness.net)
- # [19:43] * Quits: whitman (~whitman@87-194-159-116.bethere.co.uk)
- # [19:45] * Quits: taylorRichie (~Adium@208.110.141.169) (Quit: Leaving.)
- # [19:47] * Joins: segora (~marc@p5DD0CBCF.dip.t-dialin.net)
- # [19:53] * Joins: tantek (~tantek@97-125-10-42.eugn.qwest.net)
- # [19:55] * Joins: franksalim (~frank@64-71-23-251.static.wiline.com)
- # [19:58] <franksalim> hello!
- # [20:00] * Quits: ShooterMG (~shootermg@c-98-246-240-17.hsd1.or.comcast.net) (Read error: Connection reset by peer)
- # [20:01] * Joins: ShooterMG (~shootermg@c-98-246-240-17.hsd1.or.comcast.net)
- # [20:01] * Joins: EuroNerd (~EuroNerd@178235202099.unknown.vectranet.pl)
- # [20:07] * Quits: imacinto (~imacinto@c1fw226.constantcontact.com)
- # [20:09] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [20:12] * Joins: nikstepff (~nikstepff@0907ds5-vbr.0.fullrate.dk)
- # [20:12] * Joins: benv (~benv@50-0-80-160.dsl.static.sonic.net)
- # [20:12] * Quits: ShooterMG (~shootermg@c-98-246-240-17.hsd1.or.comcast.net) (Ping timeout: 240 seconds)
- # [20:12] * Joins: ShooterMG (~shootermg@c-98-246-240-17.hsd1.or.comcast.net)
- # [20:13] * Joins: Saaaaad (~mslfreak@92.99.163.58)
- # [20:13] * Quits: Saaaaad (~mslfreak@92.99.163.58) (Changing host)
- # [20:13] * Joins: Saaaaad (~mslfreak@unaffiliated/saadibrahim)
- # [20:13] * Quits: SaadIbrahim (~mslfreak@unaffiliated/saadibrahim) (Disconnected by services)
- # [20:18] * Quits: saschagehlich (~saschageh@p5DD54DDC.dip.t-dialin.net) (Remote host closed the connection)
- # [20:20] * Joins: hsbot (~hsbot@46-38-167-162.static.cloud-ips.co.uk)
- # [20:20] * Quits: zampano_ (~Jim@unaffiliated/zampano) (Quit: I was never here.)
- # [20:21] * Quits: dissipate (~steve@unaffiliated/dissipate) (Ping timeout: 252 seconds)
- # [20:22] * Quits: gde33 (kvirc@546A1A51.cm-12-3a.dynamic.ziggo.nl) (Read error: Connection reset by peer)
- # [20:25] * Joins: koggdal (~koggdal@c83-251-117-159.bredband.comhem.se)
- # [20:28] * Quits: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net) (Ping timeout: 240 seconds)
- # [20:29] * Joins: dissipate (~steve@unaffiliated/dissipate)
- # [20:33] * Joins: zeppo (~zeppo@anon-185-91.vpn.ipredator.se)
- # [20:39] * Quits: tantek (~tantek@97-125-10-42.eugn.qwest.net) (Ping timeout: 240 seconds)
- # [20:45] * Quits: nikstepff (~nikstepff@0907ds5-vbr.0.fullrate.dk) (Quit: nikstepff)
- # [20:46] * Joins: teleject (~christoph@72-48-145-180.static.grandenetworks.net)
- # [20:52] * Joins: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net)
- # [20:54] * Quits: Jonadabe (~Jonadabe@bl10-165-94.dsl.telepac.pt) (Quit: http://www.visitportugal.com | http://www.youtube.com/visitportugal)
- # [20:58] * Joins: tantek (~tantek@97-125-15-223.eugn.qwest.net)
- # [20:59] * Quits: patcito (~123@190.42.224.67) (Ping timeout: 240 seconds)
- # [21:03] * Quits: Orbitrix (Orbitrix@c-68-35-125-188.hsd1.nm.comcast.net)
- # [21:04] <Jayflux> hi franksalim
- # [21:07] * Joins: ttjordan (~chatzilla@static-71-126-247-202.bstnma.fios.verizon.net)
- # [21:15] * Quits: tantek (~tantek@97-125-15-223.eugn.qwest.net) (Quit: tantek)
- # [21:15] * Quits: CAP2732 (~ircap@172.212.222.87.dynamic.jazztel.es) (Quit: • IRcap • 8.6 •)
- # [21:19] * Joins: joepie91 (~joepie91@86.93.142.233)
- # [21:25] * Quits: mr_lou (~sirlou@0x555321d8.adsl.cybercity.dk) (Quit: Ex-Chat)
- # [21:36] * Joins: manuchill (~mstalfoor@81.69.16.186)
- # [21:37] * Joins: RobLoach1 (~RobLoach@CPE002191e9c8f4-CM00222d6c714d.cpe.net.cable.rogers.com)
- # [21:37] * Quits: RobLoach (~RobLoach@drupal.org/user/61114/view) (Read error: Connection reset by peer)
- # [21:38] * Joins: squeakytoy (~squeakyto@107-232-96-87.cust.blixtvik.se)
- # [21:42] * Quits: manuchill (~mstalfoor@81.69.16.186) (Quit: Ex-Chat)
- # [21:44] * Joins: addyosmani (~addyosman@host86-164-98-62.range86-164.btcentralplus.com)
- # [21:45] * Quits: msponge (~msponge@18.189.103.48) (Quit: msponge)
- # [21:46] * Quits: thatryan (~thatryan@c-24-4-167-46.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [21:46] * Quits: teleject (~christoph@72-48-145-180.static.grandenetworks.net) (Quit: teleject)
- # [21:49] * Quits: zeppo (~zeppo@anon-185-91.vpn.ipredator.se) (Quit: zeppo)
- # [21:51] * Quits: ciro_nunes (c8ba7e3a@gateway/web/freenode/ip.200.186.126.58) (Ping timeout: 258 seconds)
- # [21:55] * Joins: serroba_ (~serroba@190-20-221-163.baf.movistar.cl)
- # [21:57] * Quits: tw2113 (~tw2113@fedora/tw2113) (Quit: Nice Scotty, now beam my clothes up too!)
- # [21:58] * Quits: serroba (~serroba@190-20-242-2.baf.movistar.cl) (Ping timeout: 248 seconds)
- # [21:59] * Joins: tmds (~tmds@gateway/tor-sasl/tmds)
- # [22:04] * Quits: strevat_ (~strevat@c-66-31-28-249.hsd1.ma.comcast.net) (Quit: strevat_)
- # [22:07] * Quits: ShadowE989 (~ShadowE98@74-36-227-143.br1.rmn.wv.frontiernet.net) (Read error: Connection reset by peer)
- # [22:07] * Quits: humanpipecleaner (~chatzilla@ip68-227-12-51.lv.lv.cox.net) (Ping timeout: 244 seconds)
- # [22:07] * Quits: dissipate (~steve@unaffiliated/dissipate) (Ping timeout: 248 seconds)
- # [22:10] * Joins: thatryan (~thatryan@c-24-4-167-46.hsd1.ca.comcast.net)
- # [22:10] * Quits: ttjordan (~chatzilla@static-71-126-247-202.bstnma.fios.verizon.net) (Quit: ChatZilla 0.9.88 [Firefox 8.0/20111104165243])
- # [22:11] * Joins: ttjordan (~chatzilla@static-71-126-247-202.bstnma.fios.verizon.net)
- # [22:14] * Quits: silentimp_ (~silentimp@72-165-132-95.pool.ukrtel.net) (Quit: silentimp_)
- # [22:15] * Joins: teleject (~christoph@cpe-72-177-94-231.austin.res.rr.com)
- # [22:17] * Quits: tmds (~tmds@gateway/tor-sasl/tmds) (Quit: Leaving)
- # [22:26] * Quits: erichynds (~ehynds@venkman.brightcove.com) (Ping timeout: 252 seconds)
- # [22:28] * Quits: mike5w3c (~MikeSmith@EM114-48-232-224.pool.e-mobile.ne.jp) (Ping timeout: 252 seconds)
- # [22:33] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [22:33] * Joins: mike5w3c (~MikeSmith@EM114-48-37-236.pool.e-mobile.ne.jp)
- # [22:34] * Quits: serroba_ (~serroba@190-20-221-163.baf.movistar.cl) (Remote host closed the connection)
- # [22:35] * Joins: martndemus (~martndemu@h254064.upc-h.chello.nl)
- # [22:35] * Quits: LongBeach (~mike@AFontenayssB-152-1-65-121.w82-121.abo.wanadoo.fr)
- # [22:36] * Quits: martndemus (~martndemu@h254064.upc-h.chello.nl) (Remote host closed the connection)
- # [22:39] * RobLoach1 is now known as RobLoach
- # [22:39] * Quits: RobLoach (~RobLoach@CPE002191e9c8f4-CM00222d6c714d.cpe.net.cable.rogers.com) (Changing host)
- # [22:39] * Joins: RobLoach (~RobLoach@drupal.org/user/61114/view)
- # [22:43] * Joins: strevat_ (~strevat@honeydew.cictr.com)
- # [22:43] * Quits: ttjordan (~chatzilla@static-71-126-247-202.bstnma.fios.verizon.net) (Quit: ChatZilla 0.9.88 [Firefox 8.0/20111104165243])
- # [22:44] * Quits: Jackneill (~Jackneill@unaffiliated/jackneill) (Read error: Connection reset by peer)
- # [22:47] * Quits: ericbarnes (~ericbarne@rrcs-98-101-76-192.midsouth.biz.rr.com) (Quit: Leaving...)
- # [22:58] * Joins: tw2113 (~tw2113@host-139-59-230-24.midco.net)
- # [22:58] * Quits: tw2113 (~tw2113@host-139-59-230-24.midco.net) (Changing host)
- # [22:58] * Joins: tw2113 (~tw2113@fedora/tw2113)
- # [22:58] * Parts: djazz (~djazz@78-70-243-240-no186.tbcn.telia.com)
- # [23:00] * Quits: tristanseifert (~tristanse@c-67-164-14-81.hsd1.ca.comcast.net) (Quit: DEATH IS UPON US)
- # [23:08] * Joins: tristanseifert (~tristanse@c-67-164-14-81.hsd1.ca.comcast.net)
- # [23:11] * Joins: salazr_ (u2027@gateway/web/irccloud.com/x-nmhckrrahxxxvvul)
- # [23:11] * Quits: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net) (Ping timeout: 252 seconds)
- # [23:12] * Joins: gasbakid (~gasbakid@41.96.0.135)
- # [23:14] * Joins: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net)
- # [23:15] * Joins: patcito (~123@201.240.212.53)
- # [23:16] * Quits: thatryan (~thatryan@c-24-4-167-46.hsd1.ca.comcast.net) (Quit: Leaving...)
- # [23:18] * Quits: PSJunkie (ident@unaffiliated/playstationjunki) (Ping timeout: 252 seconds)
- # [23:19] * Quits: automate (~automate@tok69-4-82-236-110-224.fbx.proxad.net) (Ping timeout: 240 seconds)
- # [23:20] * Joins: RobGroove (ident@unaffiliated/playstationjunki)
- # [23:20] * RobGroove is now known as PSJunkie
- # [23:24] * Joins: zeppo (~zeppo@h237n2fls34o891.telia.com)
- # [23:26] * Quits: zeppo (~zeppo@h237n2fls34o891.telia.com) (Client Quit)
- # [23:31] * Quits: gasbakid (~gasbakid@41.96.0.135) (Ping timeout: 240 seconds)
- # [23:36] * Quits: bot-t (~bot-t@unaffiliated/temp01/bot/bot-t) (Quit: bot-t)
- # [23:38] * Joins: ColKurtz (~ColKurtz@216.86.217.155)
- # [23:39] * Joins: temp02 (~temp01@unaffiliated/temp01)
- # [23:39] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 252 seconds)
- # [23:40] * Quits: strevat_ (~strevat@honeydew.cictr.com) (Quit: strevat_)
- # [23:43] * Joins: strevat_ (~strevat@honeydew.cictr.com)
- # [23:52] * Quits: Conexion (~chatzilla@75-147-178-254-Washington.hfc.comcastbusiness.net) (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
- # [23:53] * Quits: cocoadaemon (~cocoadaem@2a01:e35:8a99:e90:20d:93ff:fe3b:868c) (Remote host closed the connection)
- # [23:53] * Quits: gyzmodo (x@89.146.122.210)
- # [23:53] * Joins: cocoadaemon (~cocoadaem@2a01:e35:8a99:e90:20d:93ff:fe3b:868c)
- # Session Close: Thu Dec 29 00:00:00 2011
The end :)