Welcome to Hardcode Sign in | Join | Help

At last a free and brilliant asp.net profiler, here. Instructions for starting it here. 10 minutes and I've already got a 100% increase in speed.

And btw check our latest prank in the IKEA store: http://culturavura.fourhooks.com/cat54435/art6451142070/. Pictures from http://cocalari.com and http://pitzipoanca.org.

If you've participated be sure to check out the solutions written in some exotic programming languages like BrainFuck, SQL, Fortran and even PostScript ...

I've recently found the magic way to do it:

                new Dictionary<string,string>() {
                    { "from_uid", "1" },
                    { "to_uid", "2"},
                    { "ocurred", "1000" }
                }

The language feature for this is not the ability to do the following:

 KeyValuePair<string,string> pair = { "a", "b"}

and then have the list constructor enumerator feature that we already know: new List<int> () { 1,2,3 }, but rather a shortcut to Dictionary<string,string>.Add(string key, string value). More on this here.

In Linq to SQL the following works by issuing a second query, in Linq to Entities it does not (and this sucks):

  Shortcut sh = db.Shortcuts.First();
  int count = sh.Redirects.Where( r => r.ocurred < dt).Count();

You have to do the following instead:

  int count = db.Redirects.Where( r => r.shortid == sh.id && r.ocurred < dt).Count();

... for http://oracolulmeu.ro/ for the last Monday: 1K visits and 42K pageviews (same day).

S4H

So now we have or own url-shortener service: http://s4h.ro/. Give it a try !

.... is almost live : http://psdbreaker.com.

I recently got the dreadful error when starting the website, even if the database connection string was more than correct and it worked in sql management studio. If you've tried anything else without success of getting your website started, and you use SQL Server-backed session persistance, be sure to also check for the sessionState connection string...

Similar to Jaiku and Google Latitude: Friend View from Nokia. (thanks, Tase!)

Wolfenstein 3D for iPhone is out, here are John Carmack's comments.

Yey both Coolio and Urbee won prizes at last night's Digi Cafe Awards, Urbee even won the big prize!

A really annoying thing if you use the DataSourceID databinding is that you can't identify the control that throws the exception, the only thing that you get is an ID-less stacktrace and the debugger doesn't break at all ...

HeYo and Redesignme. Good luck!

Don't forget about the first DigiCafe meeting, tonight @ Loggia, 18:30. Be there!