<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-117018420490521288</id><updated>2012-02-14T12:36:25.049-08:00</updated><category term='jQuery AJAX CSS HTML'/><category term='jQuery'/><category term='MVC'/><category term='JavaScript'/><category term='CSS'/><category term='ASP.NET MVC App_Code'/><category term='ASP.NET'/><title type='text'>Joonha's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-7849114244168887130</id><published>2012-02-14T00:52:00.000-08:00</published><updated>2012-02-14T12:36:25.057-08:00</updated><title type='text'>Self Deception Experiment</title><content type='html'>&lt;br /&gt;I tried an experiment once when I was a teen. Humor me and try it for yourself one of these days. Its a psychological experiment that will work for you and you probably won't like it because it works too well. It will demonstrate how it is far too easy for us to project belief and feel a connection of reality onto things even when we know they are not real or possible.&lt;br /&gt;&lt;br /&gt;Pretend there is a large blue man similar to a ghost in that he is see-through and can pass through walls. He has no real physical form other than he can appear as a large blue man shape but only to you. Don't be scared! He is your true and lasting friend that will never leave you. He is always looking out for you and advises you telepathically. You can call him Bah-loo and his name is pronounced with a thick East-Indian accent.&lt;br /&gt;&lt;br /&gt;The thing is you can only see him on the very very edge of your peripheral vision so you can just make it out that he is there if you squint a bit. He will whisper to you so quietly that you can only hear what he is saying when you think it and no ones else can hear him except you.&lt;br /&gt;&lt;br /&gt;Try picturing him before you go to sleep and just before you eat something or whenever something good happens and make sure to thank Bah-loo for watching over you as often as you can. Also, you must trust that inner voice of yours is actually Bah-loo telepathically talking to you, not your own mind. &amp;nbsp;Yes, for real.&lt;br /&gt;&lt;br /&gt;I guarantee, if you keep doing this for 7 days, you will start to feel his presence and start listening to him speak to you. For some of us, this may be even in the same day! You will start seeing him just outside of your vision. If you continue to do this as a normal practice, your mind will dedicate a huge portion of its neural pathways to this belief and it will overtake you to believe Bah-loo is indeed as real as you or me. Try to stop the experiment before that happens as you may indeed become mad if you continue.&lt;br /&gt;&lt;br /&gt;Don't worry yourself if you do become mad because you are not alone. A similarly named self-deceptive trick is already working on much of the human population but we do not categorize this as madness, rather we support it as a fundamental freedom in civilized democracies. Also note, if madness is a collective thought then it is no longer considered madness as enough people can vote the madness as legitimate and make policies and laws around it. Comforting isn't it?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-7849114244168887130?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/7849114244168887130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2012/02/self-deception-and-god.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7849114244168887130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7849114244168887130'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2012/02/self-deception-and-god.html' title='Self Deception Experiment'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-344452748155973638</id><published>2012-02-12T15:57:00.000-08:00</published><updated>2012-02-12T15:57:07.155-08:00</updated><title type='text'>The irony of twitter and facebook</title><content type='html'>If you are actually doing something really interesting and all engrossing in your life, you don't have time for twittering and facebooking. The mere act of it detracts from the experience you are writing about.&lt;br /&gt;&lt;br /&gt;This is similar to taking so many photos and videos of your vacation.&lt;br /&gt;&lt;br /&gt;Hey what a fucking revelation! Technology that records shit without you worrying about it.&lt;br /&gt;&lt;br /&gt;I guess there is a movie about that already with Robin Williams and it sucked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-344452748155973638?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/344452748155973638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2012/02/irony-of-twitter-and-facebook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/344452748155973638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/344452748155973638'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2012/02/irony-of-twitter-and-facebook.html' title='The irony of twitter and facebook'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-6493984950698938044</id><published>2012-02-12T12:50:00.000-08:00</published><updated>2012-02-12T15:16:58.949-08:00</updated><title type='text'>An advanced and lazy SEO trick for developers</title><content type='html'>I'm a lazy developer when it comes down to it. I don't want to spend everyday tweaking SEO to build traffic or go out and blog a million blogs just to get some piddly starter traffic. I want some program or approach to just do that for me that I can write once and forget about.&lt;br /&gt;&lt;br /&gt;After watching the Social Network movie it inspired an experiment so I tried it back then. Today I can say it completely worked and so much so that I'm a little bit pissed off I didn't think of it earlier.&lt;br /&gt;&lt;br /&gt;This technique is something that may take up to a year to start to really work because of the time search engines take to index but you get 100% organic search results and you are not polluting other blogs or websites with your crap. Read on knowing you must be patient.&lt;br /&gt;&lt;br /&gt;I'll call my approach "Mass Subject Indexing" which took me a couple of hours to program. Here are the steps you take:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Find a comprehensive well defined subject terms that you can screen scrape. In my case it was all the first name and last names in the entire world. There were some websites that listed first names and some for last names and I took full advantage of this.&lt;/li&gt;&lt;li&gt;Write a program or screen scrape to save all the things in the subject individually by term in a database that you can query later.&lt;/li&gt;&lt;li&gt;Program a website to read from that database and page the results of the terms with links at the bottom so search engines can spider through all the results. In my case I had millions of names that were search engine friendly.&lt;/li&gt;&lt;li&gt;Think of a hook related to your product that will draw them in. In my case I created Spooky Fate that lists all the names in the world then shows their fate. The actual fates are very limited and just randomly given to the result page. All the pages and URLs are dynamic and built off the database on the fly so you must be comfortable with dynamic URL programming with .htaccess or URL Rewrite or MVC etc.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;So the net result is I have a decently popular site named SpookyFate.com that is essentially a retarded idea with low content value but yet it gets over 1000 hits per day and growing fast without any effort in marketing, simply listing out all the first and last names. This leverages the curiosity of obscure people's names which are not on normal indexes already. Of course popular names will not come up because the links have no real value other than being obscure but there is just a lot of obscure ones so it totally works. This is a gorilla approach for sure but it simply works by the shear number of indexable links. Since all the pages are dynamically served, I'm only storing the data and not saving millions of pages. Its quite stupid yet effective.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Its a lazy-mans approach to SEO for sure and I'm sure they are much better ways of doing SEO than this. This requires lots of patients but very little actual work if you just let it go for a while in Google Analytics and don't keep checking it every 5 minutes. If the product or end result is actually worth anything, it will become popular anyway. This is just a nice broad sword approach that gets the job done for the initial bite of traffic.&lt;br /&gt;&lt;br /&gt;I've started doing this in my businesses to draw in traffic for various subjects such as finding prospective clients and giving them their own personalized pages etc so they will find me out of shear curiosity when they ever search on their domain name or business name for example assuming they are not too big yet. I've done this for cities and places with zipstory.com but made each city a subdomain. I just keep doing it now because its so simple and works, I keep coming up with new subject ideas to generate more traffic.&lt;/div&gt;&lt;br /&gt;Happy SEO-ing. Please comment and give any tips etc to me as well. I'm new to SEO stuff and really could use some tips myself. This is kind of fun. Its like hacking but not doing any illegal stuff or harm.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-6493984950698938044?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/6493984950698938044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2012/02/advanced-and-lazy-seo-trick-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/6493984950698938044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/6493984950698938044'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2012/02/advanced-and-lazy-seo-trick-for.html' title='An advanced and lazy SEO trick for developers'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-7257997137212671382</id><published>2012-02-12T12:31:00.000-08:00</published><updated>2012-02-12T15:36:08.339-08:00</updated><title type='text'>A totally different way to do Content Management</title><content type='html'>This is written for web developers so read on knowing that.&lt;br /&gt;&lt;br /&gt;The current problem with content management systems or CMS(s) is they require an installation to use them. They require coding in the paradigm they dictate and learning quite a lot about the system if you must extend it. These restrictions can be quite limiting or even disruptive when it comes to building a new website or worse, placing CMS into an existing website. It is not necessarily in the best interest of the web site or web application to be built around the CMS.&lt;br /&gt;&lt;br /&gt;Next comes along Content Management as a service or CMAAS, pronounced "see-mass" not to be confused with CMOS :) . Because of how robust internet connections are these days it makes complete sense to provide remote functionality.&lt;br /&gt;&lt;br /&gt;There are two distinct approaches to CMAAS.&lt;br /&gt;&lt;br /&gt;To FTP or Not to FTP.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;FTP-based CMAAS offerings such as PageLime and Surreal CMS are the most simple to use and really good for designers to implement. They are best for smaller websites where changes are based on a one-to-one mapping of a file to a modification because changes are saved directly on the file system themselves. It is only necessary to declare a CSS class declaration to make an item editable. You must have a site with traditional URLs that have file-system based content which is the main limitation. You cannot use dynamic content in other words such as pages from a database etc.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Feed-based CMAAS offerings such as feed.us and kitgui are built for larger web applications that can have dynamic URLs. Feeds enable much more powerful behavior in that your content moves to a new website&amp;nbsp;seamlessly&amp;nbsp;and can be shared across a number of websites in any technology. This has really amazing implications which a designer approach can never match. Both of the feed-based products are great but do very different things to achieve them within the feed CMAAS space.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Feed.us has a complete back-office management suite that is a separate website. It has a more traditional feel in terms of managing roles and&amp;nbsp;privileges&amp;nbsp;as you would expect a CMS to include. The management of the content is done through the feed.us website while the website using it consumes the content through a feed. Feed.us is based on a traditional database system internally to provide content on demand. This is a very polished product in terms of the back-office experience.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;KitGUI is similar to noSQL in how it has no structure what so ever. KitGUI has no back office at all. In fact, you manage content directly on your website inline on the page. It uses HTML5 to overcome cross-site scripting. Your website becomes the back-office when you are signed in. This product also offers a CDN to store all your content and serve your images from which is a nice benefit. KitGUI needs some polish on its interface but is very scalable since all your content is served from a CDN rather than from a database.&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;I find it refreshing that CMS is headed in the cloud direction and am going to try out all these solutions and use the one that fits me best for the job. So far I've used PageLime and KitGUI. I am using KitGUI for any programmatic websites as the editing experience is really great as client's have commented. PageLime is better for when I have designers setting things up as they can't do simple programming tasks usually.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-7257997137212671382?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/7257997137212671382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2012/02/totally-different-way-to-do-content.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7257997137212671382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7257997137212671382'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2012/02/totally-different-way-to-do-content.html' title='A totally different way to do Content Management'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-1735229901752676568</id><published>2012-02-11T15:49:00.000-08:00</published><updated>2012-02-12T16:00:05.216-08:00</updated><title type='text'>Religion and Science: the core difference</title><content type='html'>&lt;b&gt;What are you comfortable with as "truth"?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Religious proof to an individual can come in many forms such as scripture, personal experience, testimonials of miracles, or simply from the act of believing in itself or a feeling of common sense. The source of the followers or believers are usually a single book and/or organization responsible for guiding the doctrine. If guided by an organization there is usually a handful of advisors responsible for continuing the doctrine. The book and/or organization's truth is directly accepted as a fact or a metaphor inline with the conclusions of the religion. The religious individual is motivated through a divine purpose and holds the core beliefs as sacred and eternal developing over time as a strong sense of personal identity which also ties the person strongly to their religious community.&lt;br /&gt;&lt;br /&gt;Scientific proof starts in the form of an hypothesis based on observing nature. If testing the hypothesis demonstrates consistent repeatable results, the results are submitted for peer review by the world's scientific community as a whole for scrutiny and&amp;nbsp;independent&amp;nbsp;verification. If results are repeatable throughout the&amp;nbsp;independent tests then the hypothesis can become a theory or a law. A "law" describes the behavior of a phenomenon and&amp;nbsp;&lt;span style="background-color: white; font-size: medium;"&gt;a&lt;/span&gt;&amp;nbsp;"theory" explains why the phenomenon occurs. So both a theory and a law are considered scientific facts which is commonly confused. The scientific individual is motivated by understanding more about why and how the universe works and makes no definite conclusions about things unproven without using the scientific method to get there.&lt;br /&gt;&lt;br /&gt;Religion and Science require very different mindsets. It is difficult for most people to hold these two patterns of thinking together because its core is contradictory in how one obtains a conclusion. Some people pick and choose what is religious territory and what is science which allows them to cope with the severe difference.&lt;br /&gt;&lt;br /&gt;On the extreme of both, the religious are deeply vested in its doctrine and will reject scientific facts that contradict their beliefs. The science-minded are deeply vested in the process of how conclusions are made and will reject any religious ideas or otherwise not passing through the scientific method.&lt;br /&gt;&lt;br /&gt;The very basis of what&amp;nbsp;constitutes&amp;nbsp;proof is not agreed upon between the two in other words.&lt;br /&gt;&lt;br /&gt;My best friend and I had this core difference and we both realized it and moved on. We are still best friends to this day and happily co-exist without arguments.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;So what is your "truth"?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-1735229901752676568?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/1735229901752676568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2012/02/science-and-god-never-ending-debate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1735229901752676568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1735229901752676568'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2012/02/science-and-god-never-ending-debate.html' title='Religion and Science: the core difference'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-30773688187095754</id><published>2011-12-08T22:06:00.000-08:00</published><updated>2012-02-14T00:04:37.000-08:00</updated><title type='text'>new business and nothing is happening</title><content type='html'>Life is trying to tell you something. What are you doing right now to make your business happen? Are you advertising effectively? Are you asking for feedback from others? Are you proactive in finding new clients? What actions are you taking now? Its about action, make no mistake. But its also about the right actions.&lt;br /&gt;&lt;br /&gt;Examine yourself. The root cause is you. Taking responsibility is the first step. Know your&amp;nbsp;strengths&amp;nbsp;and admit your weaknesses. Learn about promotion and examine deeply what you are selling. Are you offering a useful product and/or service?&lt;br /&gt;&lt;br /&gt;The best leaders leverage others around them to do what they could not do alone, to forge ahead. Build a team you can trust whether it be individuals you hire, partners or products and services to move you forward.&lt;br /&gt;&lt;br /&gt;Stop contemplating and start doing as the only thing holding you back is you.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-30773688187095754?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/30773688187095754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2011/12/new-business-and-nothing-is-happening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/30773688187095754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/30773688187095754'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2011/12/new-business-and-nothing-is-happening.html' title='new business and nothing is happening'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-4036190239258867401</id><published>2011-11-17T14:42:00.000-08:00</published><updated>2011-11-17T15:04:43.792-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET MVC App_Code'/><title type='text'>Converting ASP.NET MVC Compiled website to JIT App_Code website</title><content type='html'>Working with MVC can be a pain when you want to make simple changes like adding a web page. You must open up a solution in Visual Studio, modify code then compile, then copy your files to your server. This is too many steps for web programming as web programming is supposed to be light weight and fast.&lt;br /&gt;&lt;br /&gt;Working with the App_Code folder allows you to make your changes rather quickly and does not require Visual Studio to compile.&lt;br /&gt;&lt;br /&gt;In order to do this here are the steps for a typical ASP.NET MVC 3 project:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open up as a website instead of project in visual studio or web express&lt;/li&gt;&lt;li&gt;Move the Controllers and Models folders into the App_Code folder. Basically this is taking class files and moving them to App_Code so other class files apply as well if on another MVC project like Nop Commerce etc.&lt;/li&gt;&lt;li&gt;Modify the global.ashx file to require no code behind. You do this by taking the contents of the code behind's class file and copy paste into a runat server on the global.asax directly. Then remove the code behind references and inheritance.&lt;/li&gt;&lt;li&gt;In the bin directory remove the project's DLL reference but make sure to keep the MVC Dll from Microsoft.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;Try it out. This should work like a charm. I typically do this for the new MVC 3 Nop Commerce because I want to be able to modify things very easily and quickly without having to go through builds.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-4036190239258867401?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/4036190239258867401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2011/11/converting-aspnet-mvc-compiled-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4036190239258867401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4036190239258867401'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2011/11/converting-aspnet-mvc-compiled-website.html' title='Converting ASP.NET MVC Compiled website to JIT App_Code website'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-7596643695765655671</id><published>2011-03-19T18:28:00.000-07:00</published><updated>2012-02-11T19:08:05.134-08:00</updated><title type='text'>dynamic "fixed" positioning eliminates jerky effect</title><content type='html'>This is deeper than what your expecting so read on.&lt;br /&gt;&lt;br /&gt;If you position things continuously and dynamically via "position:fixed" there are no jerky movements. For example, I needed to have an icon float on the right of the screen relative to the center point of the floating centered DIV container page content, NOT relative to the window edge. This is not a simple CSS setting, but having to do align it to the left edge just outside content area for a "back to top" button having to ensure it didn't float over the content nor be aligned to the window edge when the window was expanded and also had to be exactly in the middle of the height of the window.&lt;br /&gt;&lt;br /&gt;The JavaScript is continuously updating the position as you scroll or change the window size yet there is no jerky movements. If you try this via "position:absolute" you will have the jerky movements.&lt;br /&gt;&lt;br /&gt;I am guessing the jerky movement does not occur on scroll because you are letting the browser first do its native fixed positioning which is fast so it has much less work to do after it gets your dynamic setting. Before I used setTimeout to continuously call back itself when the position changed and to fire after the scrolling or resizing stopped so it had the easing affect. No need on this one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;This tackles the DELL and Apple cart problems that unstick themselves and then follow down the page as you go while being left aligned to the main content via a center point and also for &amp;nbsp;a "back to top" button that follows you. You can see the DELL unsticking behavior on the left icons as well.&lt;br /&gt;&lt;br /&gt;I've implemented this as a plugin called "jquery.dumbfixed.js". You can get it at GitHub here&amp;nbsp;&lt;a href="https://github.com/sebringj/jquery.dumbfixed"&gt;https://github.com/sebringj/jquery.dumbfixed&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-7596643695765655671?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/7596643695765655671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2011/03/dynamic-fixed-positioning-eliminates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7596643695765655671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7596643695765655671'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2011/03/dynamic-fixed-positioning-eliminates.html' title='dynamic &quot;fixed&quot; positioning eliminates jerky effect'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-4938543516303896536</id><published>2011-03-06T19:20:00.000-08:00</published><updated>2012-02-14T01:14:56.868-08:00</updated><title type='text'>comment on "The Singularity"</title><content type='html'>Recently I saw the film "Transcendent Man" which made me intrigued to read more from ieee.org and&amp;nbsp;http://singinst.org/ &amp;nbsp;and wikipedia.&lt;br /&gt;&lt;br /&gt;"The singularity" refers to a point in human history where artificial intelligence or human-enhanced intelligence or some form of that will speed up technological advancement so rapidly similar to an exponential curve that it will approach a point to human perception as infinite change where our current brain capacity is unable to keep up. To put it in simpler terms, we just aren't smart enough to understand what is smarter than us and what the world could be from beings with far superior intelligence. Its like a chimp predicting the next Apple device or even understanding what a computer is.&lt;br /&gt;&lt;br /&gt;I think people worrying about how humans will be treated by this superior intelligence are not thinking about one thing that the most intelligent humans portray. Look at www.ted.com for a bit and see what i mean. &amp;nbsp;Philanthropy and empathy are rampant in people that are genius which is the closest thing to a far superior intellect. The smartest people in the world portray this trait. They care about humanity as a whole. They address world problems to better humanity and consider other creatures and the environment. They also respect other lifeforms that possess subsets of human intelligence. We appreciate chimps and dogs as portraying some subset of traits similar to human intelligence and therefore we value them more because of that. We value less those beings such as flies or insects and lower that do not demonstrate subsets of human intelligence. I believe that is a strong enough argument to&amp;nbsp;alleviate&amp;nbsp;people's fears in that regard. "The Matrix" and "The Terminator" for example is based on a war-like mentality of violence and extermination as a solution which none of the world's brilliant minds see as a solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-4938543516303896536?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/4938543516303896536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2011/03/comment-on-singularity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4938543516303896536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4938543516303896536'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2011/03/comment-on-singularity.html' title='comment on &quot;The Singularity&quot;'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-1762956669859732807</id><published>2011-02-24T07:33:00.000-08:00</published><updated>2011-02-24T07:33:48.055-08:00</updated><title type='text'>client-side way to persist form entries for later visits</title><content type='html'>If you have done any web programming you have dealt with forms before. Users complain if they start filling out a form, go to another page, then come back to find out they have to fill out the form again. This happens so often and web programmers either ignore this or make some complicated session-based saving functionality to make up for it which takes time to do and the server takes on that memory load.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If there was a way to completely eliminate all of that and have it automatically handled, that would be great. With HTML 5 and offline storage, now there is&amp;nbsp;&lt;a href="http://www.jasonsebring.com/dumbFormState"&gt;dumbFormState jQuery Plugin&lt;/a&gt;&amp;nbsp;which just works for IE8+ and all the other modern browsers out there today. All the documentation is there and its just a couple lines of javascript and you're done.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-1762956669859732807?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/1762956669859732807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2011/02/client-side-way-to-persist-form-entries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1762956669859732807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1762956669859732807'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2011/02/client-side-way-to-persist-form-entries.html' title='client-side way to persist form entries for later visits'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-7433646135393086856</id><published>2010-09-16T14:15:00.000-07:00</published><updated>2012-02-12T20:54:14.217-08:00</updated><title type='text'>Helpful tip for Amazon S3 URLs for SSL and NON SSL for mixed-content warning</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;On Amazon S3 in particular, if you end up hot linking to them for your image assets and script etc (static stuff) like I do nearly 100% of the time, this tip will help you eliminate lots of headache when switching between protocols and eliminating the worry about mixed-content warning authentication in all browsers, especially in IE which breaks the asset entirely.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Lucida Grande'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Lucida Grande'; font-size: medium;"&gt;First, take your bucket name in S3 let's say its "www.mysite.com" for example and that you want to link to the key "images/logo.gif" for example. In order to make this work for SSL and NON SSL as well as having the browser automatically determine what protocol to use for the URL, do the following:&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande';"&gt;&lt;span class="Apple-style-span"&gt;&lt;div&gt;&lt;div style="font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;img src="//s3.amazonaws.com/www.mysite.com/images/logo.gif"&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Placing the "//" as the first part tells the browser to use whatever protocol its currently using. This works great as long as the browser is requesting HTTP or HTTPS which it always is when you have it online. Only time it isn't is when you are doing FILE protocol for local development. Small price to pay. Just do a search/replace big whoop.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;The "s3.amazonaws.com" is the actual domain name of Amazon S3 web services and has an SSL key defined for it then placing your bucket and key after that point works great.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Remember, the S3 URL is case sensitive so ensure case is right for your bucket and key. Also remember to set your Access Control List to public-read.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Hope that helps you.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-7433646135393086856?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/7433646135393086856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/09/helpful-tip-for-amazon-s3-urls-for-ssl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7433646135393086856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7433646135393086856'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/09/helpful-tip-for-amazon-s3-urls-for-ssl.html' title='Helpful tip for Amazon S3 URLs for SSL and NON SSL for mixed-content warning'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-3430318485429008064</id><published>2010-09-11T15:16:00.000-07:00</published><updated>2010-09-12T09:42:35.576-07:00</updated><title type='text'>God is as real as "me"</title><content type='html'>Do you agree the most important part of you is your mind? The mind allows you to be self aware and to be aware of others and the world in general. It allows us to feel everything and guides all the actions we take. It is what makes us who we are because without it, we cannot know existence or affect change in the world around us. Some would say it is our soul.&lt;br /&gt;&lt;br /&gt;What is the mind? The human brain is comprised of a network of billions of neurons and all the matter that surrounds it for its structure and function. The brain is essentially organic hardware that allows the mind to exist. The mind being a pattern of electricity in constant change lighting through a vast network of neurons. &lt;br /&gt;&lt;br /&gt;Is the brain and mind separate things? If you could create any type of hardware either organic or inorganic that allowed for the electrical pattern you would have a working mind. It is not important then what the hardware is in that line of thinking because the result of a mind is the same. If it is not important what comprises the hardware, then you could think that being organic is not that important in terms of having a sense of self. Since our consciousness arises from an electrical pattern, our sense of self and everything we experience is a result of that. The "self" we know is only in existence while the electrical pattern is in existence. Our most intimate and cherished part of ourselves is our mind and it is an electrical pattern.&lt;br /&gt;&lt;br /&gt;How does this relate to God? From a scientific viewpoint, there is no evidence to support the existence of God but everyone can agree, at least God is a concept. In other words, God is part of an electrical pattern comprising the minds of human beings. That means that the concept of God is as real as our sense of self because they are both only electrical patterns. On top of that, the electrical pattern of God is in the minds of so many that it is indeed greater than any one man's sense of self. But you may think, "if that is true then any idea that collectively lives in the minds of many is greater than the sense of an individual's self" and you would be right.&lt;br /&gt;&lt;br /&gt;Did this affect your electrical pattern or is this nonsense? Curious to know what people think.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-3430318485429008064?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/3430318485429008064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/09/god-is-as-real-as-me.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/3430318485429008064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/3430318485429008064'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/09/god-is-as-real-as-me.html' title='God is as real as &quot;me&quot;'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-1272022178378719102</id><published>2010-06-14T17:53:00.000-07:00</published><updated>2010-06-14T17:53:12.431-07:00</updated><title type='text'>blu-ray is slowing online sales for streaming and downloadable content</title><content type='html'>Case in point the most successful blu-ray movie "Avatar". iTunes and Zune which are the most popular streaming internet-based movie-to-tv options are not offering Avatar HD (or 3D when it comes out?). The industry wants to sell plucking blu-ray discs so they can sell more blu-ray players and blu-ray drives to perpetuate old-school thought. When will hardware for media go away? It will be brilliant when it does. Just have your entertainment collection in the cloud, etc. and you can instantly stream anything on any device, anywhere in the world. Pluck blu-ray and all its cousins. This is kind of a pattern with all technology where profit gets in the way of progress to back feed slacking product. I refuse to buy a blu-ray player.&lt;br /&gt;&lt;br /&gt;That would be great if iTunes and Zune offered a fee to handle this sort of thing transparently to their customers. Please.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-1272022178378719102?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/1272022178378719102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/06/blu-ray-is-slowing-online-sales-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1272022178378719102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1272022178378719102'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/06/blu-ray-is-slowing-online-sales-for.html' title='blu-ray is slowing online sales for streaming and downloadable content'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-4162535758085733657</id><published>2010-05-07T16:43:00.000-07:00</published><updated>2010-05-07T16:43:30.664-07:00</updated><title type='text'>The Origins of Morality</title><content type='html'>Imagine its 10,000 BC and you are in a small, nomadic tribe, wandering to survive wherever the best and most plentiful food exists. You have a spear and so do your fellow tribesman. You spot a&amp;nbsp;buffalo&amp;nbsp;grazing a bit away from the herd on the distant plain.&lt;br /&gt;&lt;br /&gt;One possible approach to kill the&amp;nbsp;buffalo:&lt;br /&gt;&lt;br /&gt;Scenario 1: You alert your&amp;nbsp;tribesman&amp;nbsp;and grunt and sign quietly to them to sneak about to form a large circle around the lone&amp;nbsp;buffalo&amp;nbsp;before it spots you and then tell them to attack it from all sides. If the kill is successful, you will share the meat equally among the all the tribe.&lt;br /&gt;&lt;br /&gt;Another approach to kill the buffalo:&lt;br /&gt;&lt;br /&gt;Scenario 2: You sneak away from your tribesman and wait till they are out of sight. Then you attempt to sneak up and kill the buffalo yourself in order to have more meat for you and your immediate family.&lt;br /&gt;&lt;br /&gt;Which approach will more likely end up in eating for the day or rather which approach will end up in a more consistent survival rate of the individual?&lt;br /&gt;&lt;br /&gt;I argue that Scenario 1 is&amp;nbsp;overwhelmingly the better choice&amp;nbsp;for the survival for both the tribe and the individual. The individual will benefit from a more successful chance the buffalo will be killed with more &amp;nbsp;hunters there to kill it. The&amp;nbsp;individual&amp;nbsp;will also be in less danger of being trampled since there are more tribesman to distract the buffalo and confuse it. The tribe will benefit as a whole in that everyone will be fed for the day to see another.&lt;br /&gt;&lt;br /&gt;Cooperation is the origin of morality.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-4162535758085733657?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/4162535758085733657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/05/origins-of-morality.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4162535758085733657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4162535758085733657'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/05/origins-of-morality.html' title='The Origins of Morality'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-5999407766664136081</id><published>2010-05-07T15:21:00.000-07:00</published><updated>2012-02-11T18:13:37.125-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery AJAX CSS HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery Wizard Pattern</title><content type='html'>&lt;br /&gt;jQuery is so elegant and you can do quite a lot in a very small amount of code. Here is a simple wizard pattern you can use to move between screens.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;title&gt;jQuery Wizard Example #2&lt;/title&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;style type="text/css"&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .step {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; position:absolute;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width:600px;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height:450px;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; border:3px solid black;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display:none;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .step .buttons {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; padding:20px;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text-align:center;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/style&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;script type="text/javascript"&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(function() {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('.step .buttons button').click(function() {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var $button = $(this),&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $currentStep = $button.closest('.step'),&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $nextStep = ($button.html() === 'next') ? $currentStep.next() : $currentStep.prev();&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $currentStep.slideUp('fast', function() {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $nextStep.slideDown('fast');&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/script&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="step" style="display: block;"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;h1&gt;Step 1&lt;/h1&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="buttons"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;button&gt;next&lt;/button&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="step"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;h1&gt;Step 2&lt;/h1&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="buttons"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;button&gt;previous&lt;/button&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;button&gt;next&lt;/button&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="step"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;h1&gt;Step 3&lt;/h1&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;div class="buttons"&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;button&gt;previous&lt;/button&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/div&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-5999407766664136081?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/5999407766664136081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/05/jquery-wizard-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/5999407766664136081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/5999407766664136081'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/05/jquery-wizard-pattern.html' title='jQuery Wizard Pattern'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-7680488581198557044</id><published>2010-04-30T23:19:00.000-07:00</published><updated>2012-02-14T08:11:50.965-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery MVC trumps ASP.NET MVC</title><content type='html'>Here is what I do for an MVC-style approach with RESTful URLs while still allowing for the file system to be used normally whenever you want and to use Web Forms whenever you want:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;URL Rewrite&lt;/b&gt; is responsible for the mapping of URL requests. This is easier and more powerful to define URLs with Regex matching than doing it with code as the ASP.NET MVC camp does and is much less code, in fact no code at all. This used as the &lt;b&gt;CONTROLLER&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;HTML pages + jQuery&lt;/b&gt; are used as the &lt;b&gt;VIEW&lt;/b&gt;&amp;nbsp;while &lt;b&gt;ASHX handlers&lt;/b&gt; are used as the &lt;b&gt;MODEL&lt;/b&gt; along with using LINQ within those handlers. The ASHX handlers output &lt;b&gt;JSON&lt;/b&gt; &lt;b&gt;responses&lt;/b&gt; to the jQuery requests in a standard way such as &lt;span style="color: #38761d;"&gt;{"success":false,"msg":"email address already in use"}&lt;/span&gt; or &lt;span style="color: #38761d;"&gt;{"success":true}&lt;/span&gt;. &lt;b&gt;For testing &lt;/b&gt;in debug mode, I output any exceptions in the JSON "msg" property so I can trouble-shoot a bit easier and avoid having to step through.&lt;br /&gt;&lt;br /&gt;At times I use ASPX pages or ASHX pages over HTML when the initial page load has to be dynamic but this isn't that often. This is necessary to do for SEO in some cases. On those exceptions, I still use the jQuery CONTROLLER to the ASHX handler MODEL so its all consistent after the initial page loads.&lt;br /&gt;&lt;br /&gt;Since Web Forms are quite useful for adding quick functionality but are clunky in design and heavy in page size, I typically reserve them for the back office admin-side where no one else will see them except website administrators that are not customers. I can then use all the great Web Form data controls and other Web Forms related goodies.&lt;br /&gt;&lt;br /&gt;In summary this approach gives you the full control that you want over your URLs, does not prevent you from using Web Forms as needed, and is much lighter-weight in terms of code execution and code management than ASP.NET MVC simply because there is way less code. I didn't even test this claim, just that is obvious, like 80% less code for example. I call this approach jQuery MVC and it can be used in most any server-side programing language. I've used the jQuery MVC approach now for nearly a year. It has become very easy to reuse the handlers and I am able to let the designers make complete HTML pages with CSS, then I just hop in there with my team and plug in the jQuery and ASHX handlers. Its more elegant than code-behinds and the approach is nearly identical when we do PHP sites. jQuery MVC is just a damn good way to go in terms of productivity and reuse, even across server-side languages since you can reuse the VIEW and CONTROLLER (HTML and jQuery).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-7680488581198557044?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/7680488581198557044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/04/jquery-mvc-trumps-aspnet-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7680488581198557044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/7680488581198557044'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/04/jquery-mvc-trumps-aspnet-mvc.html' title='jQuery MVC trumps ASP.NET MVC'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-9046818175064464102</id><published>2010-03-28T13:48:00.000-07:00</published><updated>2010-03-28T17:45:27.724-07:00</updated><title type='text'>simplest way to override SAVE event in CKEditor</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Lots of people are asking this question with no success. The fact is that CKEditor is a bit complicated and annoying at times although it is wonderfully free and thank you for making it CK dude.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;All you do is put on the form tag action is this:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;action="javascript:handleCKEditorPost();void(0);"&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Make sure to define a function "handleCKEditorPost()" or whatever you want to name it and have it do some ajax. Inside this function, you can access your editor instances based on the ckeditor documentation as you like. I use jquery like so:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter"&gt;http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-9046818175064464102?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/9046818175064464102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/03/simplest-way-to-override-save-event-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/9046818175064464102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/9046818175064464102'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/03/simplest-way-to-override-save-event-in.html' title='simplest way to override SAVE event in CKEditor'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-661332317775719978</id><published>2010-03-15T17:57:00.000-07:00</published><updated>2010-03-15T18:01:55.217-07:00</updated><title type='text'>Firefox 3.6 not working with Forms Authentication in ASP.NET 3.5 (fix)</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;When doing FormsAuthentication in ASP.NET 3.5, only Firefox 3.6 was breaking and all other browsers seem to work fine.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;The line of code that got me in trouble was this after checking a valid login then manually calling this code:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;System.Web.Security.FormsAuthentication.SetAuthCookie(email, &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;true&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;, "/");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: lime;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Firefox 3.6 (Windows) doesn't accept a cookie that is persisted across sessions for some Buddah-Christ-Alah forsaken reason. Gods be damned. Change it to this:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;System.Web.Security.FormsAuthentication.SetAuthCookie(email,&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: lime;"&gt;false&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;, "/");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;phuken Ehg, noob!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-661332317775719978?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/661332317775719978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/03/firefox-36-not-working-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/661332317775719978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/661332317775719978'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/03/firefox-36-not-working-with.html' title='Firefox 3.6 not working with Forms Authentication in ASP.NET 3.5 (fix)'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-4487572754656009215</id><published>2010-03-03T11:26:00.000-08:00</published><updated>2010-03-14T14:57:06.250-07:00</updated><title type='text'>Artificial Intelligence - What motivates the AI?</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Unfortunately, I'm not learned enough in this field to have anything else than a&amp;nbsp;pseudo-scientific /&amp;nbsp;philosophical type of idea on the matter. I am a programmer but need more research into whats currently being done and more study on human motivation so read on knowing that. This is merely a note to self since most likely no one else will read this.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;I have "felt" things ever since I was born and started processing information. I was motivated by how I felt when I processed the information and then corrected / enhanced my behavior based on that in order to get into a more pleasant or exciting or least pain state. If the goal of AI is to&amp;nbsp;mimic&amp;nbsp;intelligence, there needs to exist a motivation for that intelligence in order for it to grow / expand / adapt in an independent way. Having a simple system of prime directives isn't good enough and isn't flexible enough to be human-like since we are not that way.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;We feel things automatically from a result of stimulation. We can't control this unconscious instinct of emotion without a&amp;nbsp;conscious&amp;nbsp;effort (meditation, relaxing, smiling etc) which is another form of stimuli that we have found to bring us in a more pleasant state of emotion. In other words, emotions are a subsystem of ourselves that is at the base of who we are which we have no control over other than our attempt to control emotion based on changing our stimuli through different behavior.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;If the above is more true than false, it would make sense to program AI in this matter in order to have autonomous motivation. We create a subsystem of emotions that occurs based on external stimuli. We could create a more caring AI if negative stimuli was sensing negative&amp;nbsp;emotions&amp;nbsp;from humans and positive stimuli was sensing positive emotions from humans for example. Discovery of a new thing would initiate a positive / excited emotion for example.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Currently, I have no other thoughts on this. I will try to think of actual math and code that could simulate the basis of this prior to writing more on this since currently, I am a moron in this area.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-4487572754656009215?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/4487572754656009215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/03/artificial-intelligence-what-motivates.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4487572754656009215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4487572754656009215'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/03/artificial-intelligence-what-motivates.html' title='Artificial Intelligence - What motivates the AI?'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-3170625175652607730</id><published>2010-02-11T10:36:00.000-08:00</published><updated>2010-02-27T21:25:58.535-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery AJAX CSS HTML'/><title type='text'>jQuery Ajax Strategy</title><content type='html'>If you are thinking there may be a better way to do AJAX here it is. Its based on jQuery 1.4.x&lt;br /&gt;&lt;br /&gt;What this strategy enables:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Clean separation of client-side (view and controller) and server-side (model)&lt;/li&gt;&lt;li&gt;CSS and JavaScript can be executed from content pulled in from AJAX request&lt;/li&gt;&lt;li&gt;Content pages can be coded as a normal HTML page with its own script resources and CSS&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;The scenario for this example is you have a parent page that loads in content through AJAX requests.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://storage.sebringcreative.com.s3.amazonaws.com/jquery/jQueryAjax/index.htm"&gt;Live Demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Parent Code:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;title&amp;gt;load test&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;div id="menu"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;a href="page1.htm"&amp;gt;page 1&amp;lt;/a&amp;gt; |&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;a href="page2.htm"&amp;gt;page 2&amp;lt;/a&amp;gt; |&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;a href="page3.htm"&amp;gt;page 3&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;div id="content"&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;$('#menu a').click(function(ev){&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;ev.preventDefault();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;var $content = $('#content');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;$content.slideUp('fast');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;$.ajax({&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;url : $(this).attr('href'),&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;dataType : 'html',&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;cache: false,&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;success : function(html) {&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;var bodyIndex = html.indexOf('&amp;lt;body'),&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;startIndex = html.indexOf('&amp;gt;')+1;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;html = html.substr(startIndex).replace('&amp;lt;/body&amp;gt;','').replace('&amp;lt;/html&amp;gt;','');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;$content.html('');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;$(html).appendTo('#content');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;$content.slideDown('fast');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;},&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;error : function() {&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;}&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;});&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;});&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Child Code&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;title&amp;gt;my page&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;div class="content"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;#content form { font-size:10px; }&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;form&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;&amp;lt;button&amp;gt;testing 123&amp;lt;/button&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;&amp;lt;div style="display:none"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;text blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;text blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;(function(){&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;var $context = $('#content');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;$context.find('form button').toggle(&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;function(ev){&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;ev.preventDefault();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;$(this).next().show('fast');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;},&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;function(ev){&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;ev.preventDefault();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;$(this).next().hide('fast');&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;}&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;);&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;})();&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;   &lt;/span&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-3170625175652607730?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/3170625175652607730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/02/cross-osscript-technology-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/3170625175652607730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/3170625175652607730'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/02/cross-osscript-technology-development.html' title='jQuery Ajax Strategy'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-4152576513629905605</id><published>2010-01-28T16:53:00.000-08:00</published><updated>2010-02-21T15:03:41.553-08:00</updated><title type='text'>iPad from Apple is a big dissapointment</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;I have to retract my previous writing to some degree based on this video blog:&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.cultofmac.com/the-real-reasons-iphoneipad-wont-ever-support-flash-they-cant/31097"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;http://www.cultofmac.com/the-real-reasons-iphoneipad-wont-ever-support-flash-they-cant/31097&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;I had the general lemming understanding from Adobe's propaganda. In practice, I don't even develop on flash because I hate programming on it but I love JavaScript and jQuery which can do a lot of stuff flash can do. I did think the iPhone needed flash but now I don't agree now. The iPad experience won't be the best ever without flash simply because its used so much but Adobe is opposite of web standards which I don't support. The iPad&amp;nbsp;still needs a web cam though. Adobe's dominance will go away when HTML 5 is embraced hopefully.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Key Note definitely had a lull when Steve Jobs sat down and showed the browsing experience of the iPad. It was like, yah, this thing browses the web and watch me touch around it and see the broken flash everywhere.&lt;br /&gt;&lt;br /&gt;Still no flash support. Where is the web cam? This has to be better in order to&amp;nbsp;warrant&amp;nbsp;the price tag.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-4152576513629905605?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/4152576513629905605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/01/ipad-from-apple-is-big-dissapointment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4152576513629905605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/4152576513629905605'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/01/ipad-from-apple-is-big-dissapointment.html' title='iPad from Apple is a big dissapointment'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-2847319575402940959</id><published>2010-01-25T14:15:00.000-08:00</published><updated>2010-05-07T15:46:12.898-07:00</updated><title type='text'>The ironic nature of faith and religion</title><content type='html'>I give respect to the nature of faith and what it can do in terms of motivation. Somethings can be completely untrue but believing in them can motivate us to take action and get us from point A to point B when we might otherwise give up. It can be faith that God is helping us or will give a good place to go to if we are good and persevere. It can even be just a belief a fledgling CEO has in himself to make it big from out of his garage like Apple did for example. Faith is a powerful push to take action so I do support it as long as getting from A to B works without hurting or oppressing anyone else.&lt;br /&gt;&lt;br /&gt;So next time you want to argue about religion or that God exists, etc. there is no real point in doing so other than to try to squash someone's hopes and dreams and really piss them off. Besides, they are happy in their own world so let them be and it may just help them do something extraordinary. &lt;br /&gt;&lt;br /&gt;So in summary, religion and faith are ironic in that what they are based on is not scientific but despite that are power motivators that help most people succeed and cope with the ups and downs of life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-2847319575402940959?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/2847319575402940959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/01/ironic-nature-of-faith-and-religion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/2847319575402940959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/2847319575402940959'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/01/ironic-nature-of-faith-and-religion.html' title='The ironic nature of faith and religion'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-355506498017666433</id><published>2010-01-24T18:16:00.000-08:00</published><updated>2010-02-03T23:02:26.949-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery plugin pattern, getters and setters for jQuery plugin instance !!!!</title><content type='html'>Where in the hell is this on the internet and in books? I couldn't find it anywhere. Not even John Resig said anything about this. How can you create a jQuery plugin, then do method calls on it or set properties after creating it? There is nothing to help you out so I got angry and made my own...&lt;br /&gt;&lt;br /&gt;This code enables a jQuery plugin author to make the plugin have instance methods in the jQuery chaining style such as&lt;br /&gt;jQuery('some selector')&lt;br /&gt;.myPlugin()&lt;br /&gt;.myPlugin('dosomething','some argument');&lt;br /&gt;&lt;br /&gt;I've used this pattern for the plugin I made for my companies which you can see here -&amp;gt; &lt;a href="http://storage.sebringcreative.com.s3.amazonaws.com/jquery/dumbCrossFade.htm"&gt;dumbCrossFade jQuery Plugin&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;FYI, the code highlighted in yellow is awesome.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;(function($) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="white-space: pre;"&gt;&lt;/span&gt;$.fn.myPlugin= function(settings) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* define a data key in order to access your public instance methods later */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;var dataKey = 'myPlugin.publicInstanceAccessor';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* this block is only entered if called more than once on the same jQuery selector */&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;if (typeof(this.data(dataKey)) !== 'undefined') {&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;/* dynamically&amp;nbsp;determines&amp;nbsp;method to call with n-number of arguments &amp;nbsp;*/&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;var pa = this.data(dataKey);&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;if (arguments.length === 1) {&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;pa[arguments[0]]();&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;} else if (arguments.length &amp;gt; 1) {&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;var args = Array.prototype.slice.apply(arguments);&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;args = args.slice(1,args.length);&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;pa[arguments[0]].apply(this,args);&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;/* returns jQuery instance for method chaining */&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;return this;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: yellow;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* define default settings */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;var config = {'somesetting':somevalue}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* extend default settings */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;if (settings) $.extend(config, settings);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* define private vars and methods */&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* loops through each dom element in the jQuery selector &amp;nbsp;*/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;this.each(function() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;});&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* define your public accessor object */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;var publicAccessor = {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;'dosomething' : function (someparam) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* call your private methods */&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;},&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;'dosomethingelse' : function (someparam1, someparam2) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* call your private methods */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;},&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* set your data key */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;this.data(dataKey,publicAccessor);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;/* returns jQuery instance for method chaining */&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;return this;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="white-space: pre;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;})(jQuery);&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-355506498017666433?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/355506498017666433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/01/jquery-plugin-pattern-supports-chaining.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/355506498017666433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/355506498017666433'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/01/jquery-plugin-pattern-supports-chaining.html' title='jQuery plugin pattern, getters and setters for jQuery plugin instance !!!!'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-1969504736655746960</id><published>2010-01-21T12:05:00.000-08:00</published><updated>2010-01-21T12:05:07.096-08:00</updated><title type='text'>C# JavaScript Encoder</title><content type='html'>&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static string JavaScriptEncode(string s)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (s == null || s.Length == 0)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return string.Empty;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char c;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int i;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int len = s.Length;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringBuilder sb = new StringBuilder(len + 4);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string t;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; len; i += 1)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c = s[i];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((c == '\\') || (c == '"') || (c == '&amp;gt;') || (c == '\''))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append('\\');&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append(c);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (c == '\b')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\b");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (c == '\t')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\t");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (c == '\n')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\n");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (c == '\f')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\f");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (c == '\r')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\r");&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (c &amp;lt; ' ')&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//t = "000" + Integer.toHexString(c);&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string tmp = new string(c, 1);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;t = "000" + int.Parse(tmp, System.Globalization.NumberStyles.HexNumber);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append("\\u" + t.Substring(t.Length - 4));&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sb.Append(c);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return sb.ToString();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span style="color: #274e13;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-1969504736655746960?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/1969504736655746960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2010/01/c-javascript-encoder.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1969504736655746960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/1969504736655746960'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2010/01/c-javascript-encoder.html' title='C# JavaScript Encoder'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-6786043908449622100</id><published>2009-11-30T07:52:00.000-08:00</published><updated>2009-11-30T08:27:48.495-08:00</updated><title type='text'>strip HTML characters and comments using regex c# and vb asp.net</title><content type='html'>This works very well for stripping out HTML and comments. I use this sometimes for content coming in from BlogSpot and then rendering on a web page. I let my clients use Blogspot as a content manager into their websites and sometimes don't want them to muck up their own site.&lt;br /&gt;&lt;br /&gt;Here is C# to do this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;public static string &lt;/span&gt;&lt;span style="color:black;"&gt;RemoveHTML(&lt;/span&gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;input)&lt;br /&gt;{&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;// remove comments&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:black;"&gt;         input &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:blue;"&gt;Regex&lt;/span&gt;&lt;span style="color:black;"&gt;.Replace(input, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;lt;!--(.|\\s)*?--&amp;gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;span style="color:black;"&gt;.Empty)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;// remove HTML&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;/span&gt;&lt;br /&gt;      &lt;span style="color: rgb(0, 0, 0);"&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;return&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;span style="color:blue;"&gt;Regex&lt;/span&gt;&lt;span style="color:black;"&gt;.Replace(&lt;/span&gt;&lt;span style="color:black;"&gt;input, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;lt;(.|\\s)*?&amp;gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;span style="color:black;"&gt;.Empty)&lt;/span&gt;&lt;span style="color:blue;"&gt;; &lt;span style="color: rgb(51, 204, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is VB to do this:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;Public Shared Function &lt;/span&gt;&lt;span style="color:black;"&gt;RemoveHTML(&lt;/span&gt;&lt;span style="color:blue;"&gt;ByVal input As String&lt;/span&gt;&lt;span style="color:black;"&gt;) &lt;/span&gt;&lt;span style="color:blue;"&gt;As String&lt;br /&gt;       &lt;span style="color: rgb(51, 204, 0);"&gt;'' remove comments&lt;/span&gt;&lt;br /&gt;       input = &lt;/span&gt;&lt;span style="color:black;"&gt;Regex.Replace(&lt;/span&gt;&lt;span style="color:blue;"&gt;input&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;lt;!--(.|\s)*?--&amp;gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;span style="color:black;"&gt;.Empty)&lt;br /&gt;       &lt;span style="color: rgb(51, 204, 0);"&gt;'' remove HTML&lt;/span&gt;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:blue;"&gt;Return &lt;/span&gt;&lt;span style="color:black;"&gt;Regex.Replace(&lt;/span&gt;&lt;span style="color:blue;"&gt;input&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&lt;(.|\s)*?&gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;span style="color:black;"&gt;.Empty)&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;End Function&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The regular expressions are using non-greedy matching so they will match everything inside &amp;lt;!-- --&amp;gt; or &lt; &gt;, even white space and new lines, etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;For XML&lt;/span&gt;, I recommend adding two more string replacements to remove "&amp;lt;![CDATA[" and "]]&amp;gt;" to be placed after the comment removal and before the HTML removal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-6786043908449622100?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/6786043908449622100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2009/11/strip-html-characters-and-comments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/6786043908449622100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/6786043908449622100'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2009/11/strip-html-characters-and-comments.html' title='strip HTML characters and comments using regex c# and vb asp.net'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-5935024619343750439</id><published>2009-11-19T14:18:00.000-08:00</published><updated>2009-11-19T14:49:15.177-08:00</updated><title type='text'>The Magic Computer Interface coming soon!</title><content type='html'>There are some exciting technologies emerging that will transform the way we interact with computers. Several innovations are happening from various companies that will eventually merge to create something out of this world.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.xbox.com/en-US/live/projectnatal/"&gt;&lt;span style="font-weight: bold;"&gt;Project Natal&lt;/span&gt;&lt;/a&gt; - Microsoft threw a lot of money at this one and has huge support from the gaming industry. The XBOX attachment costing around 50 Euros due out November 2010 will enable you to be tracked by your motion down to the face and fingertips as well as your voice direction and what you are saying. The slew of cool games and innovations coming from this will be revolutionary. Microsoft will definitely be the winner in this one.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Phillips WOWvx&lt;/span&gt; - Imaging NOT having to put glasses on to see full 1080p resolution with high 220hz refresh rate in full 3D? Wow. Now imagine this will be supported on existing games and movies as they are now because of Phillips 3D graphics chip that will interpret the scene and create the 3D illusion for you. That is too cool. This is probably 2 years away from being unveiled due to the price being 20 K right now and only offered to businesses.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.braingate.com/"&gt;&lt;span style="font-weight: bold;"&gt;Brain Gate&lt;/span&gt;&lt;/a&gt; and similar - Brain to computer interaction is happening in the real world. Remember when Firefox was not a browser but a movie with Client Eastwood? I was nearly too young but he used to fly a jet with his mind with a special helmet that talked to the flight controls. That is becoming a reality very soon. As nano technology shrinks and the understanding of brain patterns becomes more precise, we will soon interact with machines simply by thinking. When I say "soon", that means in 10 years.&lt;br /&gt;&lt;br /&gt;This isn't finished. Still looking into other technologies such as dynamic touch interfaces, holographic displays and prosthetic-to-nerve impulse technology.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-5935024619343750439?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/5935024619343750439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2009/11/magic-computer-interface-coming-soon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/5935024619343750439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/5935024619343750439'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2009/11/magic-computer-interface-coming-soon.html' title='The Magic Computer Interface coming soon!'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-117018420490521288.post-80882972411380192</id><published>2009-11-19T12:30:00.000-08:00</published><updated>2010-05-01T15:26:48.214-07:00</updated><title type='text'>Google Chrome OS will overtake all after today's unveiling</title><content type='html'>Think for a second how technology evolves? The environment shapes where it goes, what it turns out to be. There is no better or worse, rather the most popular thing wins out for a time. This isn't necessarily a good thing (Walmart).&lt;br /&gt;&lt;br /&gt;Sometimes things seem to be going backward before they go forward and then suddenly become the standard overnight. Google Chrome OS will be just that because the environment is changing to fit perfectly for Google OS. Right now, Google OS sounds too small, too limiting because it is but just right now. Things are changing rapidly within the next year to flip that on its head. Here are the trends.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Low Price Point wins&lt;/span&gt; - People are starting to buy a lot of $300 net books. People don't want to spend a grand or more on a computer. That's where Google OS will run.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;We are nearly 100% web-dependent &lt;/span&gt;- When are you not depending on a network connection either for your mail network or the internet? Google Chrome OS just takes it a step further and relies on the net to store your data and practically everything else with very little local storage.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Web Experience is set to match the Application Experience&lt;/span&gt; - With the advent of the HTML 5 specification coming out, along with the optimizations and features Google OS will offer, the web will make games look and feel the same as applications. Google Chrome OS only runs web applications, including its own featured ones (except the browser itself). There is no special applications running on it like the iPhone that nobody wanted to program web apps for. &lt;span style="background-color: yellow;"&gt;[correction] Actually, that is a stupid statement I said because obviously people like to program on the App Store and its a great revenue model for programmers to directly get paid. However, I do prefer a standards-based platform over the iPhone's approach but they do it so well I have to say.&lt;/span&gt; In other words, Google Chrome OS is eating what it cooks and practicing what it preaches.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;All kinds of Applications are moving to the cloud&lt;/span&gt; - Even the most closed &lt;span style="font-weight: bold;"&gt;Microsoft&lt;/span&gt; applications are being moved to the cloud by Microsoft themselves. Even the most intense applications are going to the web as well. &lt;a href="http://www.onlive.com/"&gt;&lt;span style="font-weight: bold;"&gt;Onlive.com&lt;/span&gt;&lt;/a&gt; is soon coming out of beta with their latest game technology that allows someone to play the most intensely graphical game through a web browser and later serve any other type of computing through a web browser for that matter. Obviously, this is good news for Google Chrome OS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solid Netbook Manufacturers and Hardware Partnerships&lt;/span&gt; - Google Chrome OS is in bed with the top netbook manufacturers and hardware (driver) makers. Google is controlling the quality of how things are working together in terms of hardware support in Google Chrome OS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Google Chrome OS will be available with the latest net books by November of 2010 but can be downloaded and installed as a developer build given the right combination of hardware.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/117018420490521288-80882972411380192?l=joonhachu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://joonhachu.blogspot.com/feeds/80882972411380192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://joonhachu.blogspot.com/2009/05/testing-123.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/80882972411380192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/117018420490521288/posts/default/80882972411380192'/><link rel='alternate' type='text/html' href='http://joonhachu.blogspot.com/2009/05/testing-123.html' title='Google Chrome OS will overtake all after today&apos;s unveiling'/><author><name>Joonha</name><uri>http://www.blogger.com/profile/16749977387652639027</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
