Filtering server-side

Thursday, 16 September 2010 0 comments
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:

http://www.codeproject.com/KB/cs/json-filtering2.aspx

Filtering client-side

Thursday, 9 September 2010 0 comments
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.

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.

As this is a great story to publish, I've decided to write it on a public platform. Hope you all enjoy it:

http://www.codeproject.com/KB/scripting/json-filtering.aspx

New Visual Studio out, but old one sucks

Tuesday, 13 April 2010 3 comments
Sometimes using VS as a development medium is a really bad decision:

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!

So, good luck Microsoft with the new VS (launched yesterday), because the current one, surely sucks!

Development and estimation

Monday, 22 March 2010 0 comments
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.

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.

... and last week I gave 4 estimations :)

Facebook photo tagging

Wednesday, 17 March 2010 0 comments
Photo tagging is this simple! Doing it involves less code that I ever imagined - luckily there is jquery to help - and it really adds complexity and usability to a website.

See more info here and here.

And a sample:

There is a new CAPTCHA in town

Tuesday, 16 March 2010 0 comments
Introducing the new CAPTCHA application: AdCaptcher.

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.

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.

Be safe, use CAPTCHA!


Extensie pt Chrome - Calendar Ortodox

Sunday, 14 February 2010 0 comments
Prima mea extensie pt Chrome 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 jquery 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.

Pentru cei interesati, iata si adresa extensiei: https://chrome.google.com/extensions/detail/ddfjjoicgpclomekkhjjklfonmcpfekc Astept pareri si/sau sfaturi.