<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>trivial &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/trivial/</link>
	<description>Feed of posts on WordPress.com tagged "trivial"</description>
	<pubDate>Sun, 29 Nov 2009 08:29:51 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Banana]]></title>
<link>http://hueypeing.wordpress.com/2009/11/28/banana/</link>
<pubDate>Sat, 28 Nov 2009 10:51:44 +0000</pubDate>
<dc:creator>hueypeing</dc:creator>
<guid>http://hueypeing.wordpress.com/2009/11/28/banana/</guid>
<description><![CDATA[He asked, &#8220;Are you a banana?&#8221; I said, &#8220;No. Why?&#8221; He said, &#8220;You speak E]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style="color:#0000ff;">He asked, &#8220;Are you a banana?&#8221;</span></p>
<p><span style="color:#008000;">I said, &#8220;No. Why?&#8221;</span></p>
<p><span style="color:#0000ff;">He said, &#8220;You speak English fluently and it seems like I never hear you speak Chinese dialect.&#8221;</span></p>
<p><span style="color:#008000;">I said, &#8220;Thanks. With different people, I will speak in different language. You can&#8217;t speak Chinese to a person who can&#8217;t understand Chinese, right?&#8221;</span></p>
<p><span style="color:#0000ff;">He said, &#8220;True. So, you can speak Mandarin. I thought you are like an overseas Chinese. You are just so Westernize!&#8221;</span></p>
<p><span style="color:#008000;">I said, &#8220;Haha. Maybe I am just a little bit more open minded.&#8221;</span></p>
<p><span style="color:#0000ff;">He said, &#8220;If you go to Western countries, for sure people think that you are a fully Westernized ABC or CBC.&#8221;</span></p>
<p><span style="color:#008000;">I said, &#8220;Oh really? Is that a compliment? Haha.&#8221;</span></p>
<p><span style="color:#0000ff;">He said, &#8220;You bet! Haha.&#8221;</span></p>
<ul>
<li><em>Banana &#8211; a type of fruit which has yellow skin and white innings which has been used to describe a person is Chinese outside, hollow inside (can not speak, read or write Mandarin).</em></li>
<li><em>ABC &#8211; American-born Chinese</em></li>
<li><em>CBC &#8211; Canadian-born Chinese</em></li>
</ul>
<p>I am not banana but multilingual.<br />
I am not an ABC nor CBC.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[massachusetts]]></title>
<link>http://goodtilth.wordpress.com/2009/11/28/massachusetts/</link>
<pubDate>Sat, 28 Nov 2009 01:37:20 +0000</pubDate>
<dc:creator>goodtilth</dc:creator>
<guid>http://goodtilth.wordpress.com/2009/11/28/massachusetts/</guid>
<description><![CDATA[I&#8217;m in massachusetts! it is nice to be in massachusetts with my extended family, that is, two ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;m in massachusetts!<br />
it is nice to be in massachusetts with my extended family, that is, two of my aunts and my grandma. today I was talking to my grandma about much of her memories. I think the next time I talk to her I would like to know more about my own mom! and everything she did, as well as my aunts. they had some pretty crazy pasts, and its nice to hear my grandma talk about things, and she likes to talk. I don&#8217;t like to talk as much. sometimes I feel very resentful even of my extended family because it feels like they want something from me, they are pushing, even though they are far away, and that is hard to deal with.</p>
<p>but again, focusing on memories, and talking and just people as they are is a good way to move past the UGH please stop asking me things I don&#8217;t WANT this relationship to be difficult annoyance that rises up in me. </p>
<p>and, I do feel very disconnected from my own past/family sometimes and maybe in the future I can start to remedy that, so I am not as angry at my parents for not being there for me. stop thinking about the past as a bad thing, start thinking about relationships as forward moving and changing and maybe essentially unfulfilling? that everything has its flaws and goods. and so on. I would like to get a better sense of who I am in terms of my family, my own mother! it may be years before I can have conversations with my dad in any sort of that vein. I&#8217;ve always disavowed that family or heritage makes you who you are, but maybe it does in some way, and at the very least its a connection and a talking point. people are so good.</p>
<p>but I do enjoy being here, close to the sea! as well and in a comfortable house where everyone can sit and read in the same room together and it isn&#8217;t weird.</p>
<p>things I forgot to add to my should-be-doing-list</p>
<p>looking up more grants and applying to all of them! I found a few but I need to find more, for the campus farm</p>
<p>thinking more about the campus farm</p>
<p>getting a head start on my visa aaaaahhh</p>
<p>researching a consent workshop? for others? meh</p>
<p>I think my priorities are to: get my visa, apply for grants, finish the semester. maybe in that order, maybe not. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Make-your-own World Cup draw]]></title>
<link>http://thegreatsaundini.wordpress.com/2009/11/25/make-your-own-world-cup-draw/</link>
<pubDate>Wed, 25 Nov 2009 12:56:41 +0000</pubDate>
<dc:creator>thegreatsaundini</dc:creator>
<guid>http://thegreatsaundini.wordpress.com/2009/11/25/make-your-own-world-cup-draw/</guid>
<description><![CDATA[Well we finally know which teams will be going to the World Cup.  The less said about France&#8217;s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Well we finally know which teams will be going to the World Cup.  The less said about France&#8217;s progress the better though (see <a href="http://news.bbc.co.uk/sport1/hi/football/internationals/8367418.stm">http://news.bbc.co.uk/sport1/hi/football/internationals/8367418.stm</a>).   All I will say is &#8220;What ever happened to sportsmen showing sportsmanship?&#8221;  What I&#8217;m saying is, no Thierry, it&#8217;s not the referee&#8217;s responsibility to be omniscient and to call a hand ball, the players have a responsibility to be honest and to play within the rules.   Henry handling the ball deliberately was understandable given the circumstances; after all, who would honestly not succumb to temptation of trading a goal-kick for a goal in that kind of high-pressure situation (he probably even thought there was no way the referee wouldn&#8217;t spot the incident), but to avoid admitting it was simply irresponsible, cowardly and an all-round terrible example for aspiring young footballers.</p>
<p>Anyway, putting France&#8217;s controversial winner against Ireland aside, there will be 32 teams vying to win the World Cup in South Africa and 2 very important questions to ponder over: who will win (Spain are my bet, though Brazil are always dangerous) and, more importantly, what groups will the World Cup draw in December yield!?   You may think the second a curious question, or, on the other hand, if you&#8217;re like me, you&#8217;ll have already be pondering over all the different combinations of teams England could possibly draw.   But how do they decide the groups?   Well, you didn&#8217;t actually ask, but I&#8217;m going to tell you, so you can make your own World Cup (even one where England win)!   Enjoy.</p>
<p>The teams are divided into four pools: the first containing the 7 seeded teams and the host nation, South Africa, the second containing the rest of the European teams, the third containing teams from the remaining African and South American qualifiers and the fourth containing the Asian and North American qualifiers, as well as New Zealand.   The way the seeds will be chosen hasn&#8217;t been decided yet, but it will probably be according to a combination of performance in the last World Cup and the current World Ranking.  Assuming this the pools should list as follows:</p>
<p>Pool One: South Africa, Germany, Brazil, Italy, Spain, England, France, Argentina</p>
<p>Pool Two: Denmark, Switzerland, Slovakia, Serbia, Netherlands, Portugal, Greece, Slovenia</p>
<p>Pool Three: Cameroon, Nigeria, Algeria, Ghana, Cote D&#8217;Ivoire, Paraguay, Chile, Uruguay</p>
<p>Pool Four: Australia, South Korea, Japan, North Korea, USA, Mexico, Honduras, New Zealand</p>
<p>(For completeness sake please note that you can find the World Rankings on the FIFA website (<a href="http://www.fifa.com/worldfootball/ranking/lastranking/gender=m/fullranking.html">http://www.fifa.com/worldfootball/ranking/lastranking/gender=m/fullranking.html</a>) and the top 7 teams on World Cup form are Italy (Winners, 2nd Round, 2nd Round), France (Finalists, 1st Round, Winners), Germany (Semi-Finalists, Finalists, Quarter Finalists), Brazil (Quarter-finalists, Winners, Finalists), England (Quarter Finalists, Quarter Finalists, 2nd Round), Argentina (Quarter finalists, 1st Round, Quarter Finalists), Spain (2nd Round, Quarter Finalists, 1st Round).</p>
<p>Okay, so you have the pools.  The final step is to make 8 groups of 4 by picking them out in the following way:</p>
<ol>
<li>Put each of the pool 1 teams in each of the eight groups A-H.  South Africa will be in the first group and the rest of the team are randomised (at least this is true following the method in the last World Cup, Fifa, the World Football Association, may yet change this rule).  However, Argentina and Brazil cannot be on the same side of the draw (i.e. if Brazil are drawn in Groups B-D, then Argentina have to be in Groups E-H and visa-versa).</li>
<li>Draw the 8 Pool 2 teams randomly into each of the eight pools.  Easy!</li>
<li>The Pool 3 teams are also drawn at random.   However, be careful!  No South American teams can be drawn in a group with Brazil or Argentina and no African teams can be drawn with South Africa.   In addition to this the number of teams on each side of the draw must be as even as possible (including South Africa, there are 6 African teams, so three must be between A and D, whilst the other three must be in Groups E-H).   This is the easiest step to make a mistake.</li>
<li>Draw the final 8 pool 4 teams into the remaining groups.   The only thing to watch out for here is that the Asian teams (including Australia who play Asian qualifying, but NOT New Zealand),  are distributed evenly.</li>
</ol>
<p>Behold!   Using this helpful website for random numbers (<a href="http://www.random.org/sequences/">http://www.random.org/sequences/</a>) here is my official World Cup draw made following these steps!</p>
<p>Group A: South Africa, Netherlands, Paraguay, South Korea </p>
<p>Group B: Germany, Greece, Uruguay, North Korea</p>
<p>Group C: France, Switzerland, Ghana, USA</p>
<p>Group D: Brazil, Serbia, Ivory Coast, Mexico</p>
<p>Group E: England, Denmark, Chile, Australia</p>
<p>Group F: Argentina, Slovenia, Cameroon, Japan</p>
<p>Group G: Italy, Slovakia, Nigeria, New Zealand</p>
<p>Group H: Spain, Portugal, Algeria, Honduras</p>
<p>Voila! A possible South Africa 2010 draw.   If the order of matches follow the order in the last World Cup, the order matches would be played would correspond to the following: 1 vs 3, 2 vs 4, 1 vs 4, 2 vs 3, 1 vs 2, 3 vs 4.  Now the next important question is who would win if this was the World Cup draw?   I think it would go, a little something like this:</p>
<p>Group A would see South Africa opening their campaign with a gallant draw against a talented Paraguayan side, whilst the Netherlands would edge the enthusiastic South Koreans.  Draws in the second round of matches would see things go to the wire, where the Dutch break South African hearts in a thrilling contest to top the group with Paraguay grabbing second place with a tight win over the Koreans.</p>
<p>In Group B, two comfortable wins against North Korea and Uruguay would see Germany through, whilst Greece require tight barely deserved draws and a victory other the group communist state to squeeze ahead of Uruguay for second.</p>
<p>There is a shock in Group C as Ghana stun last years&#8217; finalists France in the first game and they crash out as they can only subsequently draw with the US and Switzerland.  Ghana  secure progress in first place by thumping the US following an unlucky draw with the Swiss.  Meanwhile, a first round win for the USA over Switzerland seals their progress a Group runners-up into Round 2.</p>
<p>In the &#8220;Group of Death&#8221;, a thrilling last-gasp Brazilian win against the Ivory Coast is toned down by a turgid 1-0 win for Serbia against Mexico.   The Ivory Coast and Brazil win their remaining games to qualify 2nd and 1st from the group respectively.</p>
<p>In England&#8217;s group, our heroes put themselves within a game of winning the group following a win over Chile and a tough draw with Australia.  Denmark meanwhile are level on points, whilst Australia are two behind and hoping for a positive result in the last match.   England beat Denmark 2-0, but Australia cannot find a winner as Chile pick up a first point and go out.</p>
<p>Argentina suffer a huge scare in Group F, as they can only pick up draws with the Cameroon and Japan, who both beat Slovenia.  A last-gasp winner for Argentina, however, ensures their progress as Cameroon beat Japan in an entertaining encounter to finish the group 1st.</p>
<p>Italy and Nigeria comfortably progress from Group G, however in a rather dull group.  Italy and Nigeria share a rusty draw first off, whilst Slovakia and New Zealand play out a low quality 0-0 draw, which the Slovaks should have won.  Nigeria and Italy beat Slovakia and New Zealand respectively before Nigeria win the group by beating New Zealand, whilst Italy can only draw against the Slovak Republic.</p>
<p>In the final Group H, world-beaters Spain and Portugal have more trouble than would be expected from two wins and qualification with a game to spare.  The 1st,2nd place showdown between the two rivals ends with a bore draw, whilst Algeria manage to get the better of Honduras in the other match.  Spain win the group on goal difference.</p>
<p>So the 2nd Round would see the group winners play the runners-up from each of the opposite groups:</p>
<p>Netherlands vs Greece, Germany vs Paraguay, Ghana vs Ivory Coast, Brazil vs USA, England vs Argentina, Cameroon vs Denmark, Nigeria vs Portugal, Spain vs Italy.</p>
<p>First up, I suspect that Greece would lose out to the Netherlands, Germany would come out on top in a goal-laden thriller against Paraguay, the Ivory Coast would edge out Ghana, Brazil would beat the US, England would edge out Argentina in a passionate, dramatic game, Cameroon would knock out Denmark, Portugal would need extra time to break Nigerian hearts, whilst the World champions, Italy, would frustrate Spain only to be beaten in extra time.   The quarter finals, based on 2006, would thus be:</p>
<p>Netherlands vs Ivory Coast, Germany vs Brazil, England vs Portugal (not again!) and Cameroon vs Spain.</p>
<p>This is where prediction gets very subjective, but I&#8217;d go for the Ivory Coast to beat the Netherlands, Brazil to beat the Germans, England to triumph against a lacklustre Portugal and Spain to be given a great game by the Cameroon, but still squeeze through.   The semi-finals would then be:</p>
<p>Ivory Coast vs England and Brazil vs Spain.   England would maybe just have the class to beat a very good and physical Ivory Coast side with the inspirational Didier Drogba in a scrappy battle, which could go to extra time.   Meanwhile, a physically imposing Brazil side could find themselves dismantled by a technically brilliant Spanish team, which would relegate them to a 3rd place play-off.</p>
<p>The 3rd Place Play-off would be edged by Brazil once more, whilst in the final I would suspect that England, full of hope and desire, would ultimately be crushed by an excellent Spanish team.   So to summarise:</p>
<ol>
<li>Spain</li>
<li>England</li>
<li>Brazil</li>
<li>Cote D&#8217;Ivoire.</li>
</ol>
<p>I should note that every time I make a prediction the result changes, but then that&#8217;s mainly because the groups are different every time I make a prediction!   I&#8217;d be interested to see anyone else&#8217;s draws or winners predictions if anyone else wants to have a stab.   Until then, bring on the 6th of December for the actual World Cup draw!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Jesus On Singing Christmas Songs During Advent (John 75:15-17, Goofed-Up Bible)]]></title>
<link>http://liberalbaptistrev.wordpress.com/2009/11/25/jesus-on-singing-christmas-songs-during-advent-john-7515-17-goofed-up-bible/</link>
<pubDate>Wed, 25 Nov 2009 00:34:46 +0000</pubDate>
<dc:creator>liberalbaptistrev</dc:creator>
<guid>http://liberalbaptistrev.wordpress.com/2009/11/25/jesus-on-singing-christmas-songs-during-advent-john-7515-17-goofed-up-bible/</guid>
<description><![CDATA[&#8220;You idiot!  You numskull!  Have you not listened to one word I&#8217;ve said about proper wor]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://liberalbaptistrev.wordpress.com/files/2009/11/o-litte-town-of-bethlehem.jpg"><img class="alignnone size-medium wp-image-905" title="o litte town of bethlehem" src="http://liberalbaptistrev.wordpress.com/files/2009/11/o-litte-town-of-bethlehem.jpg?w=233" alt="" width="233" height="300" /></a></p>
<p style="text-align:justify;">&#8220;You idiot!  You numskull!  Have you not listened to one word I&#8217;ve said about proper worship?&#8221;</p>
<p style="text-align:justify;">Jesus was beginning to think he had made a major mistake in picking Peter as a disciple.</p>
<p style="text-align:justify;">Peter, feeling exhausted from helping with the feeding of the 5,000, had made a simple request:  &#8220;What you say we all sing &#8216;O Little Town of Bethlehem&#8217;&#8221;?</p>
<p style="text-align:justify;">Peter had forgotten what was important.  He had forgotten that God didn&#8217;t create Christmas songs to have them sung during Advent.    He had forgotten it was Advent, not Christmas.  If Peter was going to be a part of Jesus&#8217; worship elite he was going to have to shape up.</p>
<p style="text-align:justify;">Jesus sighed, thinking, &#8220;The next thing you know Peter is going to want us to clap during worship.  I wish Peter would spend less time and energy on feeding the hungry and more on doing worship the right way.&#8221;</p>
<p style="text-align:justify;">John 75:15-17 (Goofed-Up Bible)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[What the hell is that?]]></title>
<link>http://mertesgameblog.wordpress.com/2009/11/23/what-the-hell-is-that/</link>
<pubDate>Mon, 23 Nov 2009 06:42:18 +0000</pubDate>
<dc:creator>Merte</dc:creator>
<guid>http://mertesgameblog.wordpress.com/2009/11/23/what-the-hell-is-that/</guid>
<description><![CDATA[This has got to be the weirdest and definitly most awsome musical instrument I&#8217;ve seen in a wh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/8nsKnKcwkyE&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/8nsKnKcwkyE&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p style="text-align:justify;">This has got to be the weirdest and definitly most awsome musical instrument I&#8217;ve seen in a while. I usually don&#8217;t have an musical instrument fetish, but this one totally stole my heart. I know little about it, other than it&#8217;s called a theremin, and that it uses radio waves going through the device and through you body. Obviously you can manipulate the pitch by changing your arms&#8217; distance from the theremin.</p>
<p style="text-align:justify;"><strong>I guess this is what they used to make that horribly awsome, yet horribly cliché UFO sound effect from all those low budget thirties science fiction films.</strong></p>
<p style="text-align:justify;">If I were to teach myself one really useless piece of know-how for the rest of my life, it would have to be to learn how to play the theremin. And I want to learn how to play these songs.</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/xcTPRjiCs6s&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/xcTPRjiCs6s&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[the fall.]]></title>
<link>http://sophiebaudelaire.wordpress.com/2009/11/21/the-fall-2/</link>
<pubDate>Sat, 21 Nov 2009 21:46:51 +0000</pubDate>
<dc:creator>sophie baudelaire</dc:creator>
<guid>http://sophiebaudelaire.wordpress.com/2009/11/21/the-fall-2/</guid>
<description><![CDATA[Un om dedublat isi sfredelea creierii intr-o mansarda dezafectata. Se hotari atunci sa-si puna capat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><span style="color:#808000;">Un om dedublat isi sfredelea creierii intr-o mansarda dezafectata. Se hotari atunci sa-si puna capat zilelor, mult prea invocate in poemele antice, asa ca isi dadu drumul in gol. Ca era vorba de haos, sau doar de distanta dintre etajul 9 si pamant, nu mai avu timp sa-si dea seama. Dublura pieri. Inainte de a-i trece prin fata ochilor toate clipele importante din viata sa de 44 de secunde. Crezuse ca moartea era mai interesanta. Dar se dovedi a fi doar o anosta, si putin cam brutala, intalnire cu pamantul ud, de toamna. Si mirosul acela ingrozitor&#8230; Probabil gatea iar batrana infioratoare de la parter. Ce mizerabil sfarsit. Nu tu instantanee dramatice, femei ce-si aruncau, disperate, lacrimile, in speranta ca asta il va face sa se razgandeasca. Avea nevoie de cineva care sa i se arunce la picioare, oferindu-i, precum intr-un troc barbar,  iubirea sa in schimbul sinuciderii. Nimanui nu-i pasa de nevaloroasa marfa pe care era dispus sa o comercializeze omul dedublat. Asa ca piciorul ii aluneca, fara a-l salva cineva. Macar de si-ar fi terminat  cafeaua inainte. De-ar fi inceput romanul pe care abia si-l cumparase, de s-ar fi plimbat prin parc, ca un ultim suflet dezradacinat, alergand dupa frunze imbacsite de noroi&#8230;  Si totusi se arunca. De-ar mai fi asteptat cateva vieti. Poate ar fi invatat sa se joace de-a singuratatea. Se uita in jur. Se apropia. Pamantul umed. Macar de n-ar fi auzit bufnitura. In ultima lui inspiratie simti mirosul ranced al corpuril<span style="color:#808000;">or i</span></span><span style="color:#808000;">n putrefactie.</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why branding matters: The worst name ever for the Spanish speaking market]]></title>
<link>http://mephistophales.wordpress.com/2009/11/20/why-branding-matters-the-worst-name-ever-for-the-spanish-speaking-market/</link>
<pubDate>Fri, 20 Nov 2009 05:14:56 +0000</pubDate>
<dc:creator>mephistophales</dc:creator>
<guid>http://mephistophales.wordpress.com/2009/11/20/why-branding-matters-the-worst-name-ever-for-the-spanish-speaking-market/</guid>
<description><![CDATA[http://en.wikipedia.org/wiki/Mazda_Laputa Roughly translated as the &#8220;Mazda Whore&#8221;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a class="aligncenter" title="Mazda Laputa" href="http://en.wikipedia.org/wiki/Mazda_Laputa" target="_blank">http://en.wikipedia.org/wiki/Mazda_Laputa</a></p>
<p>Roughly translated as the &#8220;Mazda Whore&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Crearea plugin-urilor jQuery (partea 1)]]></title>
<link>http://igeeku.wordpress.com/2009/11/19/crearea-plugin-urilor-jquery-partea-1/</link>
<pubDate>Thu, 19 Nov 2009 13:55:44 +0000</pubDate>
<dc:creator>igeeku</dc:creator>
<guid>http://igeeku.wordpress.com/2009/11/19/crearea-plugin-urilor-jquery-partea-1/</guid>
<description><![CDATA[Scurtă introducere Dacă te întrebi la ce or fi bune plugin-urile astea jQuery, îți voi spune eu: îți]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FCrearea_plugin_urilor_jQuery_partea_1' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<h4>Scurtă introducere</h4>
<p>Dacă te întrebi la ce or fi bune plugin-urile astea jQuery, îți voi spune eu: îți permite extinderea întregii librării jQuery prin adăugarea de noi metode și funcții la aceasta. De exemplu, ai putea crea un plugin care, printr-un singur apel, va parcurge toate link-urile unei pagini, și la fiecare link către un fișier PDF va adăuga o iconiță descriptivă. Apelul va arăta ceva în genul:
</p>
<pre class="brush: jscript;">
$("a").adaugaIconitaPDF();
</pre>
<p>Idei pentru plugin-uri sunt multe, prea multe chiar, și ca să te convingi poți intra pe <a href="http://plugins.jquery.com/" target="_blank">pagina de plugin-uri jQuery</a> unde le vei găsi ordonate după categorie. La momentul actual, acolo sunt <strong>3684</strong> de plugin-uri! Deci idei sunt cu tonele, și tot apar plugin-uri zi de zi. Așa că, ori poți sta să cauți plugin-ul care-ți trebuie, ori poți învăța să creezi propriile plugin-uri, lucru despre care voi discuta în următoarele câteva articole.
</p>
<h4>Să intrăm în pâine!</h4>
<p>Pentru început, e nevoie de puțină teorie interesantă. În caz că nu știai deja, jQuery e renumit pentru faptul că poate fi folosit cu ajutorul unui singur caracter: <strong>simbolul dolar ($)</strong>. De puține ori, însă, vei da peste probleme folosind simbolul $, fiindcă nu este singurul framework care face uz de acest simbol. Așa că, pentru a evita conflicte, când este cazul, se poate folosi cuvântul &#8220;<strong>jQuery</strong>&#8220;. De exemplu:
</p>
<pre class="brush: jscript;">
jQuery("a").fadeIn();
jQuery.variabila = 2;
</pre>
<p>Acum să îți spun și care sunt acele puține cazuri când pot apărea conflicte cu simbolul $: când creezi plugin-uri, și când folosești încă un framework împreună cu jQuery, de exemplu ExtJS + jQuery. Știind acum aceste lucruri, să începem cu plugin-urile! Pentru a putea crea plugin-uri, e nevoie să știi jQuery, evident, și care sunt obiectele extensibile din jQuery:
</p>
<ol>
<li><strong>jQuery</strong>
<ul>
<li>se ocupă cu procesarea internă</li>
<li>extinde <u>metode</u> (în alte limbaje de programare sunt cunoscute ca <em>metode statice</em>, sau <em>metode de clasă</em>)</li>
</ul>
</li>
<li><strong>jQuery.fn</strong>
<ul>
<li>se ocupă de elemente HTML și interacțiunile dintre ele</li>
<li>extinde <u>funcții</u> (în alte limbaje de programare sunt cunoscute ca <em>metode de instanță</em>)</li>
</ul>
</li>
</ol>
<p>Ca să fiu sigur că nu mă vei pierde, îți voi explica ce reprezintă metodele și funcțiile. Dacă ai deja experiență în programarea orientată pe obiecte, poți sări peste paragraful acesta. Deci, metodele pot fi apelate direct, fără a instanția o clasă. Funcțiile, pe de altă parte, pot fi apelate doar asupra unui obiect ce reprezintă o instanță a unei clase. Dacă nu știi nici ce reprezintă instanțierea, e cazul să te oprești aici și să iei un tutorial de POO în C++ sau orice alt limbaj vrei.
</p>
<p>Știind acum ce obiecte jQuery pot fi extinse, voi crea un simplu plugin care afișează un mesaj la încărcarea unor elemente HTML. Apelul va fi simplu:
</p>
<pre class="brush: jscript;">
$.mesaj("mesaj la comanda");     //metodă
$("div").mesaj("m-am incarcat"); //funcție
</pre>
<p>Și acum iată codul, trivial de altfel:</p>
<pre class="brush: jscript;">
//codul pentru metodă
jQuery.mesaj = function(msg) {
   alert(msg);
};

//codul pentru funcție
jQuery.fn.mesaj = function(msg) {
   alert(msg);
}
</pre>
<p>Ți se pare complicat ? Dacă da, e grav, fiindcă în următoarele articole se mai complică, fiindcă voi discuta despre:</p>
<ul>
<li>variabile locale și globale</li>
<li>ascunderea variabilelor</li>
<li>orientarea pe obiecte</li>
<li>setările plugin-urilor</li>
<li>funcții cu opțiuni și parametri</li>
<li>template-urile cele mai utilizate pentru plugin-uri</li>
<li>și în final, o listă de guidelines, adică un mic ghid</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[jQuery - Best Practices #7]]></title>
<link>http://igeeku.wordpress.com/2009/11/18/jquery-best-practices-7/</link>
<pubDate>Wed, 18 Nov 2009 19:11:28 +0000</pubDate>
<dc:creator>igeeku</dc:creator>
<guid>http://igeeku.wordpress.com/2009/11/18/jquery-best-practices-7/</guid>
<description><![CDATA[Înlănțuire clară Probabil știi deja că unul din avantajele jQuery este înlănțuirea metodelor. Dacă n]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FjQuery_Best_Practices_7' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe></p>
<h4>Înlănțuire clară</h4>
<p>Probabil știi deja că unul din avantajele jQuery este <span style="text-decoration:underline;">înlănțuirea metodelor</span>. Dacă nu știai, hai să-ți explic pe scurt cam ce e: odată ce ai folosit un selector, poți manipula acel selector într-o singură linie de cod, de exemplu:</p>
<p>&#160;</p>
<pre class="brush: jscript;"> $("#container").find("#obj1").css({ opacity: 0 }).fadeTo(400, 1).end().find("#obj2") </pre>
<p>Așadar, toate metodele apelate mai sus vor afecta ultimul obiect HTML selectat cu jQuery. În cazul de mai sus, metoda <i>find</i> va acționa asupra obiectului container, apoi metodele <i>css</i>, <i>fadeTo</i> și <i>end</i> vor acționa toate, pe rând, asupra obiectului #obj1, ș.a.m.d. În alte limbaje de programare nu am văzut facilitatea asta, fiind nevoit să apelezi pe câte o nouă linie o altă metoda asupra aceluiași obiect.</p>
<p>În caz că ești curios, codul de mai sus caută obiectul HTML cu id-ul <i>container</i>, apoi caută printre descendenții (copii) acestuia elementul <i>#obj1</i> pe care îl ascunde cu metoda <i>css</i> setându-i transparența maximă, apoi îl reafișează puțin câte puțin scăzând transparența într-un interval de 400ms, apoi metoda <i>end</i> se întoarce la ultimul obiect HTML găsit înaintea lui <i>#obj1</i>, și anume <i>#container</i>, după care caută printre descendenții săi obiectul <i>#obj2</i>.</p>
<p>Acum, revenind la oile noastre, o practică foarte bună a tuturor programatorilor este să scrie codul cât mai clar, citeț, ușor de urmărit. În cazul nostru, JavaScript ne permite scrierea codului de mai sus în felul următor:</p>
<pre class="brush: jscript;">
$("#container").find(#"obj1")
                  .css({ opacity: 0 })
                  .fadeTo(400, 1)
               .end()
               .find("#obj2")
</pre>
<p>Crede-mă, te va ajuta enorm când vei umbla prin fișierele JavaScript pentru a depista erori, de exemplu, sau când vei încerca să-ți reamintești de ce ai făcut ce ai făcut.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[What's all the Hulabaloo?]]></title>
<link>http://wateristhickerthanblood.wordpress.com/2009/11/17/whats-all-the-hulabaloo/</link>
<pubDate>Tue, 17 Nov 2009 22:58:11 +0000</pubDate>
<dc:creator>Timothy</dc:creator>
<guid>http://wateristhickerthanblood.wordpress.com/2009/11/17/whats-all-the-hulabaloo/</guid>
<description><![CDATA[For some reason people don&#8217;t understand what those quotations mean on the flaps or backs of bo]]></description>
<content:encoded><![CDATA[For some reason people don&#8217;t understand what those quotations mean on the flaps or backs of bo]]></content:encoded>
</item>
<item>
<title><![CDATA[Poesia no Metrô]]></title>
<link>http://poetasmortos.wordpress.com/2009/11/17/poesia-no-metro/</link>
<pubDate>Tue, 17 Nov 2009 20:46:55 +0000</pubDate>
<dc:creator>poetasmortos</dc:creator>
<guid>http://poetasmortos.wordpress.com/2009/11/17/poesia-no-metro/</guid>
<description><![CDATA[Na linha verde do metrô em São Paulo está acontecendo o &#8220;&#8216;Poesia no Metrô&#8221;, uma fo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Na linha verde do metrô em São Paulo está acontecendo o &#8220;&#8216;Poesia no Metrô&#8221;, uma forma criativa de divulgar e trazer ao público a forma mais bela de demonstrar emoções e sentimentos por meio de palavras.<br />
Podemos encontrar autores consagrados como Carlos Drummond de Andrade (já citado nesse blog), Haroldo de Campos e Alberto Caeiro (mais conhecido como Fernando Pessoa).<br />
As poesias estão literalmente coladas na parede por meio de adesivos, com grandes e vistosas letras.<br />
Inicialmente esse projeto irá durar 3 meses e em 2010 não só a linha verde do metrô será contemplada, mas todas as demais linhas também receberão belas poesias coladas na parede, teto, etc.</p>
<p>Irei postando em breve as poesias, passando por cada estação que puder.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[three questions no one else is asking]]></title>
<link>http://atlmalcontent.wordpress.com/2009/11/17/three-questions-no-one-else-is-asking/</link>
<pubDate>Tue, 17 Nov 2009 14:25:45 +0000</pubDate>
<dc:creator>atlmalcontent</dc:creator>
<guid>http://atlmalcontent.wordpress.com/2009/11/17/three-questions-no-one-else-is-asking/</guid>
<description><![CDATA[Why is frusen the euphemism for the f-word in movies edited for TV? It doesn&#8217;t sound right com]]></description>
<content:encoded><![CDATA[Why is frusen the euphemism for the f-word in movies edited for TV? It doesn&#8217;t sound right com]]></content:encoded>
</item>

</channel>
</rss>
