<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Altryne's Blog &#187; Personal</title> <atom:link href="http://alexw.me/categories/personal/feed/" rel="self" type="application/rss+xml" /><link>http://alexw.me</link> <description>Not everyday I get to learn "nothing"</description> <lastBuildDate>Sat, 28 May 2011 20:29:51 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>How to make webapps fullscreen again on iOS 4.3 &#8211; UPDATED</title><link>http://alexw.me/2011/05/quick-note-on-ios-web-apps/</link> <comments>http://alexw.me/2011/05/quick-note-on-ios-web-apps/#comments</comments> <pubDate>Sat, 28 May 2011 20:01:27 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=313</guid> <description><![CDATA[When apple released iOS 4.3 they bragged about faster javascript engine and many blogs around the web cried wolf. Many people have felt that apple intentionally bringing the web apps down, to make native apps the ones a user chooses. When 4.3 was released I have also noticed then a lot of webapps I have [...]]]></description> <content:encoded><![CDATA[<p><span
style="font-size: small;">When apple released iOS 4.3 they bragged about faster javascript engine and <a
href="http://thenextweb.com/apple/2011/03/17/apple-admits-to-slower-performance-in-ios-web-apps/">many blogs around the web cried wolf</a>.</span></p><p><span
style="font-size: small;">Many people have felt that apple intentionally bringing the web apps down, to make native apps the ones a user chooses.</span></p><p><span
style="font-size: small;">When 4.3 was released I have also noticed then a lot of webapps I have had &#8216;installed&#8217; on my homescreen seem to have become plain shortcuts.</span></p><p><span
style="font-size: small;">They would open up in safari instead of on their own like before, they weren&#8217;t full screened and they would refresh on beginning.</span></p><p><span
style="font-size: small;">Basically this mean  that saving a page to the homescreen just became a bookmark on the homescreen rather then a full &#8220;webapp&#8221; like before.</span></p><p><span
style="font-size: small;">Many great  webapps I used on daily basis like<a
href="http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/"> thomas fuch&#8217;s</a> <a
href="http://everytimezone.com">everytimezone.com</a></span></p><p><span
style="font-size: small;">Even in his screen shot fo the app you can see it&#8217;s fullscreened.</span></p><p><span
style="font-size: medium;">BUT THEN&#8230;</span></p><p>I read about a <a
href="http://gamesforcats.com/">gamesforcats.com</a> site and went there to install an app for my cat. Turns out  that it&#8217;s a web app. And it&#8217;s fullscreened. WTF right?</p><p>I went on to investigate.</p><p>Turns out apple added a new meta tag that specifies whether this app is webapp capable or not!</p><pre class="brush: html">
&lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot; /&gt;
</pre><p>This was new and before adding a meta of</p><pre class="brush: html">
&lt;meta names=&quot;apple-mobile-web-app-status-bar-style&quot; content=&quot;black-translucent&quot; /&gt;
</pre><p>did the trick of making a website to a web app.</p><p>Sad that this was quetly done and broke all other webapps out there , apps that didn&#8217;t update or didn&#8217;t know about the new method.</p><p>But I&#8217;m glad my ability to make &#8220;webapps&#8221; is back!!</p><p><span
style="font-size: medium;">UPDATE : </span></p><p><span
style="font-size: small;">Turns out this &#8220;webapp&#8221; mode is also discoverable by JS <img
src='http://alexw.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p><p><span
style="font-size: small;">window.navigator.standalone</span></p><p><span
style="font-size: small;">So you can actually know if a user runs your app in fullscreen and if not bug him to do so by all sorts of pointy arrows and notifications <img
src='http://alexw.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </span></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2011/05/quick-note-on-ios-web-apps/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>New css3 3d demo inspired by portal.</title><link>http://alexw.me/2011/04/new-css3-3d-demo-inspired-by-portal/</link> <comments>http://alexw.me/2011/04/new-css3-3d-demo-inspired-by-portal/#comments</comments> <pubDate>Sat, 23 Apr 2011 18:03:19 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[3d]]></category> <category><![CDATA[awesome]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[playground]]></category> <category><![CDATA[portal 2]]></category> <category><![CDATA[webkit]]></category> <guid
isPermaLink="false">http://alexw.me/?p=296</guid> <description><![CDATA[Portal 2. have you played it? if yo haven&#8217;t go and buy it from steam then come back here. If you have, then you might have noticed the awesome effect from the main menu, the rotating cubes. I was so impressed by it that I had to try and replicate it. (click on image to [...]]]></description> <content:encoded><![CDATA[<p>Portal 2. have you played it? if yo haven&#8217;t go and buy it from steam then come back here.</p><p>If you have, then you might have noticed the awesome effect from the main menu, the rotating cubes.</p><p>I was so impressed by it that I had to try and replicate it. (click on image to see the demo)</p><p><a
href="http://alexw.me/playground/portal.html"><img
class="alignnone" title="Portal2 css3 3d effect" src="http://alexw.me/playground/img/screenshot.png" alt="" width="565" height="318" /></a></p><p>Couple of things I learned :</p><ul><li>You can bind a handler to &#8220;webkitTransitionEnd&#8221; and execute code when the transition on that element finishes.</li><li>It&#8217;s very hard to &#8220;reset&#8221; transitioned elements  back to their original state, if you don&#8217;t want that reset to be animated. You have to manually override -webkit-transition-porperty , reset the stage (for example rotate(0) ) and then set the transition property back to what it was.</li><li>Facebook caches the shared pages, so if you put a facebook &#8220;like&#8221; button, and then change the page&#8217;s title, of meta, you have to  &#8221;reset&#8221; the link. the best/only way to do that without changing the url is <a
href="https://developers.facebook.com/tools/lint/">facebook url lint</a>.</li><li>Css3 3d is fun! go experiment with it, it&#8217;s gpu accelerated where ever it&#8217;s avaliable be it mobile or ipad or mac, and it&#8217;s looking super smooth! go crazy</li></ul> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2011/04/new-css3-3d-demo-inspired-by-portal/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Style the &lt;style&gt; element ? mind = blown</title><link>http://alexw.me/2011/03/style-the-style-element-mind-blown/</link> <comments>http://alexw.me/2011/03/style-the-style-element-mind-blown/#comments</comments> <pubDate>Mon, 21 Mar 2011 09:52:28 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=295</guid> <description><![CDATA[This has got to be the weirdest thing I&#8217;ve seen this week! (it&#8217;s very cool nonetheless) Turns out, that you can style almost any element. Be it &#60;head&#62;, &#60;style&#62; , &#60;title&#62; , whatever. DEMO You then can add the html5 &#8220;contenteditable&#8221; attribute, to make these blocks editable. And what you get is a live updating [...]]]></description> <content:encoded><![CDATA[<p><span
style="font-size: medium;">This has got to be the weirdest thing I&#8217;ve seen this week! (it&#8217;s very cool nonetheless)</span></p><p><span
style="font-size: medium;"><a
href="http://annevankesteren.nl/2010/03/css-wg-brainstorming">Turns out</a>, that you can style almost any element.</span></p><p><span
style="font-size: medium;">Be it &lt;head&gt;, &lt;style&gt; , &lt;title&gt; , whatever.</span></p><p><span
style="font-size: x-large;"><a
href="http://dl.dropbox.com/u/6889188/title.html">DEMO</a></span></p><p><span
style="font-size: medium;">You then can add the html5 &#8220;contenteditable&#8221; attribute, to make these blocks editable.</span></p><p><span
style="font-size: medium;">And what you get is a live updating &lt;style&gt; and &lt;title&gt; blocks.</span></p><p><span
style="font-size: medium;">I&#8217;m starting of thinking about creative uses for this, there have got to be some!!</span></p><p><span
style="font-size: medium;">If you have an creative Idea on how to use this, feel free to share in comments.</span></p><p><span
style="font-size: x-large;"><br
/> </span></p><p><span
style="font-size: large;"><span
style="font-size: x-small;"> </span></span></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2011/03/style-the-style-element-mind-blown/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>iPad simulator in HTML and JS</title><link>http://alexw.me/2011/01/ipad-simulator-in-html-and-js/</link> <comments>http://alexw.me/2011/01/ipad-simulator-in-html-and-js/#comments</comments> <pubDate>Mon, 10 Jan 2011 18:55:12 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[Playing with stuff]]></category> <category><![CDATA[Amazing]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[html]]></category> <category><![CDATA[ios]]></category> <category><![CDATA[ipad]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[JS]]></category> <guid
isPermaLink="false">http://alexw.me/?p=270</guid> <description><![CDATA[Let me tell you what a crazy week it&#8217;s been regarding my iPad Simulator A little background I&#8217;ve thought about creating the iPad simulator shortly after I bought my iPad. I was fascinated by the UI and wanted to see if I can recreate it. This isn&#8217;t the first online simulator I&#8217;ve built, before this, was a Nokia n97 [...]]]></description> <content:encoded><![CDATA[<p><strong><span
style="font-size: small;">Let me tell you what a crazy week it&#8217;s been regarding my <a
href="http://alexw.me/ipad">iPad Simulator</a></span></strong></p><p><span
style="font-size: medium;"><strong>A little background</strong></span></p><p>I&#8217;ve thought about creating the iPad simulator shortly after I bought my iPad. I was fascinated by the UI and wanted to see if I can recreate it.</p><p>This isn&#8217;t the first online simulator I&#8217;ve built, before this, was a Nokia n97 simulator, also built with JS + CSS  (<a
href="http://nokian97.co.il">http://nokian97.co.il</a>)</p><p>I&#8217;ve uploaded the iPad simulator a while ago, started playing with it, adding apps  (google maps, safari, photos etc&#8217;) , and I was getting 5 hits daily (most of them me from work)</p><p
style="text-align: center;"><a
href="http://alexw.me/ipad" target="_blank"><img
class="size-large  aligncenter" title="iPad Simulator with html + css + javascript (jQuery)" src="http://alexw.me/wp-content/uploads/2011/01/09-ipad_simulator-1024x869.png" alt="iPad Simulator with html + css + javascript (jQuery)" width="614" height="521" /></a></p><p><strong><span
style="font-size: medium;">Forrst</span></strong></p><p>I joined <a
href="http://forrst.com">Forrst </a>and decided to share it with the forrsters , and I got amazing feedback. And people there told me they want to hack on it, so I&#8217;ve released the code on <a
href="https://github.com/altryne/Ipad-Simulator">github</a>.</p><p><strong><span
style="font-size: medium;">W3c Israel</span></strong></p><p>Some weeks after, I went to a W3C Israel meeting on web app development and after a short hackaton (results of which you can see  <a
href="http://reallygood.co.il/jokes">here</a> and fork on <a
href="https://github.com/RonnyO/Really-Good-Jokes">github</a> ) I&#8217;ve showed the guys there the iPad simulator among other things. They told me I have to publish it somewhere. I&#8217;ve sent an email to ajaxians@ajaxian.com and went to sleep.</p><p><strong><span
style="font-size: medium;">Morning After</span></strong></p><p>I wake up, and I see that someone mentioned me on twitter (I&#8217;m <a
href="http://twitter.com/altryne">@altryne</a>) and he talked about my iPad simulator. I went and checked google analytics and I was amazed to see that while I was sleeping more then 2000 unique hits arrived at my site.</p><p><strong><span
style="font-size: medium;">Twitter</span></strong></p><p>Turns out my site was a hit on twitter, with guys like <strong>Dylan Schiemann</strong> (<a
title="Dylan Schiemann" href="http://twitter.com/#%21/dylans">@dylans</a>), <strong>Jesse Newhart</strong> (<a
href="http://twitter.com/JesseNewhart">@JesseNewhart</a>),<strong>Dion Almaer (</strong><a
href="http://twitter.com/dalmaer">@dalmaer</a>),<strong>Cameron Moll</strong> (<a
href="http://twitter.com/cameronmoll">@cameronmoll</a>) and a <a
href="http://topsy.com/alexw.me/ipad/?infonly=1&amp;sort_method=influence">lot more</a> &#8211; thanx a lot guys <img
src='http://alexw.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I&#8217;m glad you like it.</p><p><strong><span
style="font-size: medium;">Websites and blogs</span></strong></p><p>Like I said, I never expected this kind of embrace by the community, and I certainly was surprised to see my link in <a
href="http://www.guardian.co.uk/media/blog/2011/jan/04/technology-links-newsbucket1">the guardian tech blog</a> and on <a
href="http://developer.yahoo.com/blogs/ydn/posts/2010/04/tech_thursday_ipad_simulator_twitter_archives_html5_tester_and_filling_blank_maps/">Developer.Yahoo.com tech blog</a> and I was proud.</p><p>Also I was featured on <a
href="http://habrahabr.ru/blogs/webdev/111299">habrahabr.ru</a> , <a
href="http://www.techweb.com.cn/newsite/2011-01-06/735371.shtml">techweb.com.cn</a>, <a
href="http://news.ycombinator.com/item?id=2065250">Ycombinator</a>, <a
href="http://macmagazine.com.br/2011/01/09/rapidinhas-do-mm-ipad-simulator-recall-do-wakemate-atraso-do-light-peak-e-mais/">macmagazine.com.br</a> and event 1 <a
href="http://www.youtube.com/watch?v=Y5BVVbC73Ws" rel="shadowbox[post-270];player=swf;width=640;height=385;">youtube video!</a></p><p><span
style="font-size: medium;"><strong>What&#8217;s next?</strong></span></p><p><span
style="font-size: small;">Well I read all the comments I could find, including the trolling and I have a ton of stuff to do. </span></p><p><span
style="font-size: small;">One thing I was thinking about, is showing a web demo of some iPad applications, and ask developers to provides those demo&#8217;s, because screenshots are too static <img
src='http://alexw.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p><p><span
style="font-size: small;">If your&#8217;e an iPad app developer and want to see your app in the simulator, contact me : alex [at]  alexw.me</span></p><p><span
style="font-size: small;">I&#8217;m also gonna finish my photos app and it&#8217;s gonna be awesome! Stay tuned.</span></p><p><span
style="font-size: small;"><br
/> </span></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2011/01/ipad-simulator-in-html-and-js/feed/</wfw:commentRss> <slash:comments>105</slash:comments> </item> <item><title>jQuery philosophical .is() extention</title><link>http://alexw.me/2010/12/jquery-philosophical-is-extention/</link> <comments>http://alexw.me/2010/12/jquery-philosophical-is-extention/#comments</comments> <pubDate>Sun, 12 Dec 2010 10:03:38 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=248</guid> <description><![CDATA[Love little snipplets that make your life better. This snipplet by @doublerebel on github, extends the .is() function in jQuery, so that if it&#8217;s used without parameters inside, will return if the DOM has been found on page Consider the following if($(&#039;#somediv&#039;).is()) { $(&#039;#somediv&#039;).ajax.... } else{ console.log(&#039;no ajax placeholder&#039;) } The script itself is pretty [...]]]></description> <content:encoded><![CDATA[<p>Love little snipplets that make your life better.</p><p>This snipplet by <a
href="https://github.com/doublerebel">@doublerebel</a> on github, extends the .is() function in jQuery, so that if it&#8217;s used without parameters inside, will return if the DOM has been found on page</p><p>Consider the following</p><pre class="brush: javascript">
if($(&#039;#somediv&#039;).is()) {
$(&#039;#somediv&#039;).ajax....
} else{
console.log(&#039;no ajax placeholder&#039;)
}
</pre><p>The script itself is pretty straightforward, so straightforward in fact, that one want&#8217;s this implemented in jQuery core</p><pre class="brush: javascript">
(function($) { $.fn.extend({ _is: $.fn.is, is: function(s) { return s ? this._is(s) : !!this.length; } }); })(jQuery);
</pre><p>You can fork this on <a
href="https://github.com/doublerebel/jquery-philisophical-is/blob/master/jquery-philisophical-is.js">github</a></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/12/jquery-philosophical-is-extention/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>All you knew about javascript animation is wrong</title><link>http://alexw.me/2010/12/firefox-problems-with-javascript-animation/</link> <comments>http://alexw.me/2010/12/firefox-problems-with-javascript-animation/#comments</comments> <pubDate>Sun, 05 Dec 2010 22:02:39 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[Problems and Fixes]]></category> <category><![CDATA[animation]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[optimization]]></category> <category><![CDATA[repaint]]></category> <guid
isPermaLink="false">http://alexw.me/?p=242</guid> <description><![CDATA[Ok, atleast all I knew. And it&#8217;s in firefox, IE8 and Opera. But still&#8230; bare with me : A little history about browser rendering. The are 3 browser events that happen depending on stuff you change dynamically with JS in DOM. restyle &#8211; recalculation of style for affected DOM element. reflow &#8211; recalculation of flow [...]]]></description> <content:encoded><![CDATA[<p>Ok, atleast all I knew. And it&#8217;s in firefox, IE8 and Opera. But still&#8230; bare with me :</p><p>A little history about browser rendering. The are 3 browser events that happen depending on stuff you change dynamically with JS in DOM.</p><ol><li><strong>restyle</strong> &#8211; recalculation of style for affected DOM element.</li><li><strong>reflow</strong> &#8211; recalculation of flow and all the Elements that are affected by your change.</li><li><strong>repaint</strong> /<strong>redraw </strong>- re-rendering of the element in it&#8217;s new position, style, whatever you changed.</li></ol><p>These &#8220;events&#8221; happend each time you change something. I&#8217;m going to talk about <strong>repaint</strong>/<strong>redraw</strong> today.</p><p>When you animate a div for instance, each step in the animation, each frame if you will, fires a <strong>repaint</strong> function in the browser, that makes sense,  as the browser has to show us the updated position/style/whatever of the element.</p><p>You would suspect that a browser only <strong>repaints</strong> the individual animated element, and maybe its surrounding and dependent elements. And you would be right.</p><p>So why does some of your animation on the more heavy sites stugger in firefox and IE and Opera when they work like a charm in webkit browsers? Faster browser? Faster Rendering Engine?</p><p>All these are a factor, but there&#8217;s a <strong>hidden factor</strong> that you didn&#8217;t know about.</p><pre class="brush: css">
float:left;
</pre><p>&#8220;OMG? WTF? float? what&#8217;s float has to do with animation ??? Alex stop beating around and explain this to me&#8221; you must be saying.</p><p>It turns out that whenever you animate a div on a page, even if it&#8217;s position:relative, that if one of it&#8217;s ancestors has a floating (left or right), firefox/opera/ie8 fire a <strong>repaint</strong> function on <strong>ALL THE ANCESTORS</strong> content. Not Only the animated div.</p><p>So if for instance you have a tiny div that animates every 2 seconds, for every frame of that animation, firefox/opera/ie8 <strong>repaint</strong> the entire DOM tree up until the floated ancestor.</p><p>I don&#8217;t know wheather it&#8217;s a bug, or this is just how it&#8217;s suppose to be. But facts are facts.</p><p>I&#8217;ve created a small jsfiddle in order to test this.</p><p><a
href="http://fiddle.jshell.net/JeGKR/10/show/light/">http://fiddle.jshell.net/JeGKR/10/show/light/</a></p><p>The css3 stuff is there only to make the content heavy so you really notice the animation changes.</p><p>Run the animation with task manger open. Then click &#8220;add float:left&#8221; and see the difference. If you have a fast computer, click on &#8220;add content&#8221; a couple of times.</p><p><strong>Workarounds </strong>:</p><p>There&#8217;s one workaround I&#8217;ve read about and it&#8217;s just disabling float:left on the ancestors up until the body Element. This won&#8217;t be applicable in many many cases I&#8217;m afraid.</p><p>I&#8217;ve yet to find another solution beside putting all the animated elements in a non floated container and positioning them accordingly.</p><p>Notes : if you want to see the redraw regions in firefox by yourself, you can download and install  <a
href="https://addons.mozilla.org/en-US/firefox/addon/9620/">firebug paint events</a></p><p>Credits : This post is a partial translation/adoption from <a
href="http://chikuyonok.ru/2010/11/optimization-story">Sergey Chikuyonok</a> &#8211; all credits on this find go to him.</p><div
id="_mcePaste" style="position: absolute; left: -10000px; top: 307px; width: 1px; height: 1px; overflow: hidden;">https://addons.mozilla.org/en-US/firefox/addon/9620/Fire</div> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/12/firefox-problems-with-javascript-animation/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Garbage collecting in IE with ajax heavy applicaitons</title><link>http://alexw.me/2010/12/garbage-collecting-in-ie-with-ajax-heavy-applicaitons/</link> <comments>http://alexw.me/2010/12/garbage-collecting-in-ie-with-ajax-heavy-applicaitons/#comments</comments> <pubDate>Sun, 05 Dec 2010 16:44:09 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[garbage collecting]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[JS]]></category> <category><![CDATA[optimization]]></category> <guid
isPermaLink="false">http://alexw.me/?p=233</guid> <description><![CDATA[We have a very heavy Ajax application on one of our sites. It reloads block of html on the site every 5 seconds or every user click, so obviously it&#8217;s intense. I was approached by our QA and he told me that he&#8217;s computer freezes after some time the site is running. And I started [...]]]></description> <content:encoded><![CDATA[<div><p>We have a very heavy Ajax application on one of our sites. It reloads block of html on the site every 5 seconds or every user click, so obviously it&#8217;s intense.</p><p>I was approached by our QA and he told me that he&#8217;s computer freezes after some time the site is running.</p><p>And I started to investigate. Turns out we haven&#8217;t been collecting our garbage ourselves, and the &#8220;good&#8221; browsers took care of that for us.</p><p>Not IE though. IE was stuck after some 5-6 requests, and would just come to a halt on page.unload()</p><p>Manual garbage collecting to the rescue.</p><pre class="brush: javascript">
_temp = $.ajax(/* get loads of html data from ajax here*/);
_temp = _temp.replace(/*apply needed transformations before outputing code to the page*/)
$(&#039;#updated_div&#039;).html(_temp);
//garbage collecting - very important
delete _temp;
</pre><p>As you can see, one small line of code can help so much to your heavy Ajax application in browsers like IE.</p></div> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/12/garbage-collecting-in-ie-with-ajax-heavy-applicaitons/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Photoshop cs5 content aware scaling Horsie</title><link>http://alexw.me/2010/05/photoshop-cs5-content-aware-scaling-horsie/</link> <comments>http://alexw.me/2010/05/photoshop-cs5-content-aware-scaling-horsie/#comments</comments> <pubDate>Tue, 04 May 2010 11:44:57 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=201</guid> <description><![CDATA[Apparently,  photoshop cs5 is awesome at genetics, this happend today (was testing content aware scale) Original picture, before &#8220;content aware scale&#8221; after the jump]]></description> <content:encoded><![CDATA[<p
style="text-align: center;">Apparently,  photoshop cs5 is awesome at genetics, this happend today (was testing <strong>content aware scale</strong>)</p><div
id="attachment_203" class="wp-caption aligncenter" style="width: 494px"><a
href="http://alexw.me/wp-content/uploads/2010/05/kon.jpg" rel="shadowbox[post-201];player=img;"><img
class="size-full wp-image-203 " title="photoshop cs5 horsie" src="http://alexw.me/wp-content/uploads/2010/05/kon.jpg" alt="" width="484" height="363" /></a><p
class="wp-caption-text">The horse, by cs5 content aware</p></div><p>Original picture, before &#8220;<strong>content aware scale</strong>&#8221; after the jump</p><p><span
id="more-201"></span></p><div
class="wp-caption aligncenter" style="width: 497px"><a
href="http://lawrencelouisianaranch.com/lawrencelouisianaranch/Patti_in_field_5_10_2008.JPG" rel="shadowbox[post-201];player=img;"><img
title="Original Horse" src="http://lawrencelouisianaranch.com/lawrencelouisianaranch/Patti_in_field_5_10_2008.JPG" alt="" width="487" height="364" /></a><p
class="wp-caption-text">Original Horse Image (from google search)</p></div><p><a
href="http://alexw.me/wp-content/uploads/2010/05/конЬ.jpg" rel="shadowbox[post-201];player=img;"><br
/> </a></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/05/photoshop-cs5-content-aware-scaling-horsie/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Jquery animation effects make flash flicker</title><link>http://alexw.me/2010/03/jquery-animation-effects-make-flash-flicker/</link> <comments>http://alexw.me/2010/03/jquery-animation-effects-make-flash-flicker/#comments</comments> <pubDate>Mon, 01 Mar 2010 15:22:55 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=196</guid> <description><![CDATA[Had this problem at work. Pissed me off, until I found a solution thanx to http://joesong.com Just add overflow:hidden to the element animating and your&#8217;e done. Read the full solution HERE]]></description> <content:encoded><![CDATA[<p>Had this problem at work.<br
/> <span> Pissed me off, until I found a solution  thanx to <a
href="http://joesong.com">http://joesong.com</a></span><br
/> Just add overflow:hidden to the element animating and your&#8217;e done.</p><p>Read the full solution <a
href="http://joesong.com/2010/01/avoiding-flickering-in-jquery-when-animating-elements-which-contain-flash/trackback/">HERE</a></p> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/03/jquery-animation-effects-make-flash-flicker/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Cosmos perspective &#8211; earth is tiny</title><link>http://alexw.me/2010/02/cosmos-perspective-earth-is-tiny/</link> <comments>http://alexw.me/2010/02/cosmos-perspective-earth-is-tiny/#comments</comments> <pubDate>Sat, 20 Feb 2010 18:02:19 +0000</pubDate> <dc:creator>Altryne</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://alexw.me/?p=165</guid> <description><![CDATA[Following my previous post, there was one image that cought my attention, and I decided to make a interactive presentation with it. Just click play, or go to &#8220;more&#8221; and click &#8220;autoplay&#8221; enjoy. .prezi-player { width: 600px; } .prezi-player-links { text-align: center; } Some Perspective on Prezi I&#8217;ve cut all the planets and stars in [...]]]></description> <content:encoded><![CDATA[<p>Following my previous post, there was one <a
href="2010/02/amazing-and-funny-pictures-from-across-the-web/">image</a> that cought my attention,<br/><br
/> and I decided to make a interactive presentation with it.<br
/> Just click play, or go to &#8220;more&#8221; and click &#8220;autoplay&#8221;<br
/> enjoy.</p><div
class="prezi-player"><style type="text/css" media="screen">.prezi-player { width: 600px; } .prezi-player-links { text-align: center; }</style><p><object
id="prezi_mtvjxq-3vfhf" name="prezi_mtvjxq-3vfhf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="500"><param
name="movie" value="http://prezi.com/bin/preziloader.swf"/><param
name="allowfullscreen" value="true"/><param
name="allowscriptaccess" value="always"/><param
name="bgcolor" value="#ffffff"/><param
name="flashvars" value="prezi_id=mtvjxq-3vfhf&amp;lock_to_path=1&amp;color=ffffff&amp;autoplay=no"/><embed
id="preziEmbed_mtvjxq-3vfhf" name="preziEmbed_mtvjxq-3vfhf" src="http://prezi.com/bin/preziloader.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="600" height="500" bgcolor="#ffffff" flashvars="prezi_id=mtvjxq-3vfhf&amp;lock_to_path=1&amp;color=ffffff&amp;autoplay=no"></embed></object><div
class="prezi-player-links"><p><a
title="Perspective on life and sizes in the universe" href="http://prezi.com/mtvjxq-3vfhf/some-perspective/">Some Perspective</a> on <a
href="http://prezi.com">Prezi</a></p></div></div><p><span
id="more-165"></span><br
/> I&#8217;ve cut all the planets and stars in photoshop to place them in the amazing &#8220;prezi&#8221; surface and create an interactive showcase on star perspective<br
/> On perspective, following this image :</p><div
id="attachment_158" class="wp-caption alignnone" style="width: 650px"><a
href="http://alexw.me/wp-content/uploads/2010/02/daily_picdump_347_143.jpg" rel="shadowbox[post-165];player=img;"><img
class="size-full wp-image-158" title="Some perspective for you" src="http://alexw.me/wp-content/uploads/2010/02/daily_picdump_347_143.jpg" alt="Some perspective for you" width="640" height="1782" /></a><p
class="wp-caption-text">Some perspective for you</p></div> ]]></content:encoded> <wfw:commentRss>http://alexw.me/2010/02/cosmos-perspective-earth-is-tiny/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
