<?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-2560175985671642612</id><updated>2011-11-27T17:02:31.149-08:00</updated><category term='domain'/><category term='How to'/><category term='CAPTCHA'/><category term='Visual Studio'/><category term='syntax highlighting'/><category term='JavaScript'/><category term='bugs'/><category term='photo tagging'/><title type='text'>programing bananas</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-8079076982616781281</id><published>2010-09-16T06:49:00.000-07:00</published><updated>2010-09-16T06:51:12.385-07:00</updated><title type='text'>Filtering server-side</title><content type='html'>&lt;div&gt;Here comes the server-side filtering. It translates the JSON model from the previous article in a server-side expression tree. Here's the link:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://www.codeproject.com/KB/cs/json-filtering2.aspx"&gt;http://www.codeproject.com/KB/cs/json-filtering2.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-8079076982616781281?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/8079076982616781281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/09/filtering-server-side.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/8079076982616781281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/8079076982616781281'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/09/filtering-server-side.html' title='Filtering server-side'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-2936583460087962995</id><published>2010-09-09T12:29:00.000-07:00</published><updated>2010-09-09T12:31:49.694-07:00</updated><title type='text'>Filtering client-side</title><content type='html'>I have a new job, so I have some new projects. The base application coded here is a database administration application with a web interface. A kind of ORM that allows the user to add and edit entities from the web.&lt;br /&gt;&lt;br /&gt;Given my background, the first idea that came to my mind is how well it would map the whole thing on NHibernate (http://www.nhforge.org/). With a simple dynamic administration section generated over the NHibernate mappings. Everything would be really easy. This will require setting some filtration in an easy to use web UI.&lt;br /&gt;&lt;br /&gt;As this is a great story to publish, I've decided to write it on a public platform. Hope you all enjoy it:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/scripting/json-filtering.aspx"&gt;http://www.codeproject.com/KB/scripting/json-filtering.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-2936583460087962995?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/2936583460087962995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/09/filtering-client-side.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/2936583460087962995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/2936583460087962995'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/09/filtering-client-side.html' title='Filtering client-side'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-4268873804779230801</id><published>2010-04-13T06:39:00.000-07:00</published><updated>2010-04-13T07:29:12.568-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bugs'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>New Visual Studio out, but old one sucks</title><content type='html'>Sometimes using VS as a development medium is a really bad decision: &lt;br /&gt;&lt;br /&gt;Lets say that we have an application like a map, with tons of images in some folder. When you open such an application, the VS will index all the images, and it does it in the nastiest way possible. The pc is trying to cope with that amount of information and it freezes for some tens of seconds. I would have thought that being a developer at Microsoft one would learn about background loading, but NO! &lt;br /&gt;&lt;br /&gt;So, good luck Microsoft with the new VS (launched yesterday), because the current one, surely sucks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-4268873804779230801?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/4268873804779230801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/04/new-visual-studio-out-but-old-one-sucks.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/4268873804779230801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/4268873804779230801'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/04/new-visual-studio-out-but-old-one-sucks.html' title='New Visual Studio out, but old one sucks'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-6796813864943203990</id><published>2010-03-22T02:30:00.000-07:00</published><updated>2010-03-22T02:54:42.740-07:00</updated><title type='text'>Development and estimation</title><content type='html'>In programming, a good developer is not necessarily a good coder but an organized one. So estimations are really important in this business; a good estimation is the difference between a happy client and an angry one. I usually use a simple rule: the quickest time multiplied by 2; also I know people who multiply it by 1.5 or use the medium time and add some days to it.&lt;br /&gt;&lt;br /&gt;And here comes the Murphy's law: no matter how many estimations you give (and how accurate they will be) all the projects will be started on the same day.&lt;br /&gt;&lt;br /&gt;... and last week I gave 4 estimations :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-6796813864943203990?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/6796813864943203990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/development-and-estimation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6796813864943203990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6796813864943203990'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/development-and-estimation.html' title='Development and estimation'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-6538979220509112141</id><published>2010-03-17T02:19:00.000-07:00</published><updated>2010-03-17T03:12:32.358-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo tagging'/><title type='text'>Facebook photo tagging</title><content type='html'>Photo tagging is &lt;a href="http://www.sanisoft.com/downloads/imgnotes-0.2/example.html"&gt;this&lt;/a&gt; simple! Doing it involves less code that I ever imagined - luckily there is &lt;a href="http://jquery.com/"&gt;jquery&lt;/a&gt; to help - and it really adds complexity and usability to a website.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;See more info &lt;a href="http://www.sanisoft.com/blog/2009/01/23/img-notes-v02-a-couple-of-bug-fixes-and-some-more/"&gt;here&lt;/a&gt; and &lt;a href="http://djpate.com/2009/09/01/image-tagging-facebook-like/"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;br /&gt;And a sample:&lt;br /&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 312px;" src="http://1.bp.blogspot.com/_9B0uq6mOHTE/S6Ck8vEg1nI/AAAAAAAAAII/fCiXQ42CGbM/s400/tr_monkey.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5449536912452802162" /&gt;&lt;style type='text/css'&gt;&lt;!-- .note { display: none; background: url(spacer.gif);  border: 2px solid rgb(255, 255, 255);  overflow: hidden;  position: absolute;  z-index: 0; cursor: text; } .notep { display: none;  background: #eee;  font-size: 8pt;  margin-top: 0px;  padding: 2px; position: bsolute; width: 175px; cursor: text;} --&gt;&lt;/style&gt; &lt;script type="text/javascript" src="http://www.sanisoft.com/downloads/imgnotes-0.2/jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://www.sanisoft.com/downloads/imgnotes-0.2/jquery.imgareaselect-0.4.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://www.sanisoft.com/downloads/imgnotes-0.2/jquery.imgnotes-0.2.js"&gt;&lt;/script&gt; &lt;br /&gt;&lt;script type="text/javascript"&gt; notes = [{"x1":"164","y1":"99","height":"110","width":"120","note":"The GURU"}, {"x1":"22","y1":"88","height":"100","width":"100","note":"A more appropiate monkey"}]; $(window).load(function () { $('#BLOGGER_PHOTO_ID_5449536912452802162').imgNotes(); /*If your notes data is is not named notes pass it*/  }); &lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-6538979220509112141?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/6538979220509112141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/facebook-photo-tagging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6538979220509112141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6538979220509112141'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/facebook-photo-tagging.html' title='Facebook photo tagging'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_9B0uq6mOHTE/S6Ck8vEg1nI/AAAAAAAAAII/fCiXQ42CGbM/s72-c/tr_monkey.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-3318374980642806909</id><published>2010-03-16T07:12:00.000-07:00</published><updated>2010-03-16T07:33:01.354-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CAPTCHA'/><title type='text'>There is a new CAPTCHA in town</title><content type='html'>Introducing the new CAPTCHA application: &lt;a href="http://www.adcaptcher.com/"&gt;AdCaptcher&lt;/a&gt;. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Theory: this could be a smart move for your website: now we don't loose users over that nasty CAPTCHA image. Now we can have some beautiful images instead.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Practice: wasn't CAPTCHA meant to be difficult to read? For a bot at least. Isn't it easier to loose the CAPTCHA in first place? Apparently not! Well, I guess if you build a better bot the solution is to get an idiot CAPTCHA. Better than nothing. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Be safe, use CAPTCHA!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-3318374980642806909?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/3318374980642806909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/there-is-new-captcha-in-town.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/3318374980642806909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/3318374980642806909'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/03/there-is-new-captcha-in-town.html' title='There is a new CAPTCHA in town'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-1930573394937707770</id><published>2010-02-14T10:21:00.000-08:00</published><updated>2010-02-14T10:41:07.984-08:00</updated><title type='text'>Extensie pt Chrome - Calendar Ortodox</title><content type='html'>Prima mea &lt;a href="https://chrome.google.com/extensions/detail/ddfjjoicgpclomekkhjjklfonmcpfekc"&gt;extensie&lt;/a&gt; pt &lt;a href="http://www.google.com/chrome/index.html?hl=en&amp;amp;brand=CHMB&amp;amp;utm_campaign=ro&amp;amp;utm_source=ro-ha-emea-ro-sk&amp;amp;utm_medium=ha"&gt;Chrome&lt;/a&gt; este un calendar ortodox. Si nici nu a fost prea complicat; oricine cu ceva cunostiinte de html si javascript se poate descurca de minune. Am folosit &lt;a href="http://jquery.com/"&gt;jquery&lt;/a&gt; ca sa pastrez codul cat mai simplu de citit :)  si evident, un pic de studiu mai intai; si aici nu ma refer la site-ul celor de la google, ci la extensiile deja instalate pe calculatorul meu; se gasesc la "C:\Documents and Settings\stefan\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions" in cazul meu.&lt;div&gt;&lt;br /&gt;&lt;div&gt;Pentru cei interesati, iata si adresa extensiei: &lt;a href="https://chrome.google.com/extensions/detail/ddfjjoicgpclomekkhjjklfonmcpfekc"&gt;https://chrome.google.com/extensions/detail/ddfjjoicgpclomekkhjjklfonmcpfekc&lt;/a&gt; Astept pareri si/sau sfaturi. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-1930573394937707770?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/1930573394937707770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2010/02/extensie-pt-chrome-calendar-ortodox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/1930573394937707770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/1930573394937707770'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2010/02/extensie-pt-chrome-calendar-ortodox.html' title='Extensie pt Chrome - Calendar Ortodox'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-6010953566253796559</id><published>2009-12-20T23:37:00.000-08:00</published><updated>2009-12-20T23:40:33.649-08:00</updated><title type='text'>Application Pool Recycle - Bug or Feature</title><content type='html'>Recently I solved a strange bug in our CMS application. We load our domain at Init time – using some xml. So, the first time the app run, it run perfectly; but after recycle, some assemblies could not be found in the AppDomain. I did some googling and I found this link: &lt;a href="http://www.chrisvandesteeg.nl/2006/06/15/appdomain-recycle-different-from-real-restart/"&gt;http://www.chrisvandesteeg.nl/2006/06/15/appdomain-recycle-different-from-real-restart/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It seems that IIS does not load the assemblies that aren’t used in a previous session. This is an undocumented optimization “feature” that cannot be turned off. For the moment I’ll check it as a feature, but I guess, as more and more people start using dependency injection, this will become surely a bug. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-6010953566253796559?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/6010953566253796559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2009/12/application-pool-recycle-bug-or-feature.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6010953566253796559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6010953566253796559'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2009/12/application-pool-recycle-bug-or-feature.html' title='Application Pool Recycle - Bug or Feature'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-6214630845290584897</id><published>2009-10-31T01:22:00.000-07:00</published><updated>2009-10-31T01:34:35.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='domain'/><title type='text'>The domain</title><content type='html'>So I've set the environment. It's time to set the work model. Because I like monkeys and monkeys love bananas, I will start from the banana entity. Bananas are fruits and usually fruits stay in trees. So here's my model. Of course, I have to keep my data in a db, so all my entities must have Ids:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:csharp"&gt;&lt;br /&gt;public enum FruitType {&lt;br /&gt;    Banana,&lt;br /&gt;    Mango,&lt;br /&gt;    Orange&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class Fruit {&lt;br /&gt;    public int Id { get; set; }&lt;br /&gt;&lt;br /&gt;    public FruitType Type { get; set; }&lt;br /&gt; &lt;br /&gt;    public int TreeId { get; set; }&lt;br /&gt;&lt;br /&gt;    public Tree Tree { get; set; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public class Tree {&lt;br /&gt;    public int Id { get; set; }&lt;br /&gt;&lt;br /&gt;    public IList&amp;lt;Fruit&amp;gt; Fruits { get; set; }&lt;br /&gt; &lt;br /&gt;    public string Name { get; set; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So this is my domain from now on. I have a simple enum and two entities in a one to many relationship. Simple enough!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-6214630845290584897?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/6214630845290584897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/domain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6214630845290584897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/6214630845290584897'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/domain.html' title='The domain'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-7240101540106390338</id><published>2009-10-18T02:37:00.000-07:00</published><updated>2010-03-17T03:12:04.045-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='syntax highlighting'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Monkey ingredients - how to create a programming blog</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;This should be a programming post but I know how hard is to set up the blog enviroment even for a programmer. So I choose to present the steps I took to create this blog.&lt;br /&gt;&lt;br /&gt;After creating the blog and choosing a nice template for it, I had to add the syntax highlighting javascript. I usually use the one by &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter"&gt;Alex Gorbatchev&lt;/a&gt;. It's really simple, here you can find a sample how to configure and use it with Blogger:  &lt;a href="http://mlawire.blogspot.com/2009/07/blogger-syntax-highlighting.html"&gt;http://mlawire.blogspot.com/2009/07/blogger-syntax-highlighting.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Make sure put the script in the &amp;lt;pre class="brush:js"&amp;gt; tag. And make sure that the &amp;lt;pre&amp;gt; tag has the &lt;b&gt;correct&lt;/b&gt; class. &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes"&gt;Here&lt;/a&gt; is a list of the corresponding classes for each programming language. Olso make sure that you chage the &lt;b&gt;&amp;lt;&lt;/b&gt; with &lt;b&gt;&amp;amp;lt;&lt;/b&gt; and &lt;b&gt;&amp;gt;&lt;/b&gt; with &lt;b&gt;&amp;amp;gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; That's all.&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/2560175985671642612-7240101540106390338?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/7240101540106390338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/monkey-ingredients-how-to-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/7240101540106390338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/7240101540106390338'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/monkey-ingredients-how-to-create.html' title='Monkey ingredients - how to create a programming blog'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2560175985671642612.post-2937618608422353828</id><published>2009-10-16T01:41:00.000-07:00</published><updated>2009-10-18T02:32:03.501-07:00</updated><title type='text'>My first programming blog</title><content type='html'>&lt;p class="MsoNormal"&gt;Thanks to &lt;a href="http://www.serviciipeweb.ro/iafblog/"&gt;Andrei Ignat&lt;/a&gt;, here goes my first attempt to have a programming blog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2560175985671642612-2937618608422353828?l=sharp-monkey.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharp-monkey.blogspot.com/feeds/2937618608422353828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/my-first-programming-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/2937618608422353828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2560175985671642612/posts/default/2937618608422353828'/><link rel='alternate' type='text/html' href='http://sharp-monkey.blogspot.com/2009/10/my-first-programming-blog.html' title='My first programming blog'/><author><name>maimutza</name><uri>http://www.blogger.com/profile/12966366560953988840</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_9B0uq6mOHTE/SS5RfqxX-FI/AAAAAAAAAA4/0WxSfB-RmSM/S220/avatarDSCN1753.jpg'/></author><thr:total>0</thr:total></entry></feed>
