Why Google Chrome is multi-process

I know why Google Chrome has one process per tab – because their damned V8 Javascript Engine has no multihtreading! There’s no explanation for not having multithreading with different Javascript contexts. I guess I’ll also have to resort to multi-processing instead of multithreading, so cool…

Windows 7 Old Right Click on Taskbar Windows

Do you sometimes need the old right click menu on a taskbar icon in Windows 7 ? The one with Restore, Move, Minimize, etc ? Here’s what happens when you right click a taskbar item:

Should you miss the old menu, press shift+right-click:

If you have multiple windows open:

Linq Select Indices of Top Ordered Elements

I’ve recently got over the second Select variant, so now I can do the following to find the top 3 elements:

double[] output = new double[] { 5,6,7,8,9 };
var indices = output.Select( (v,i) => new { v = v, i = i}).OrderByDescending( p => p.v).Take(3).Select( p => p.i);

Free ASP.NET Profiler

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.

IKEA Prank

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.

CodeJam 2009

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

C# Initialize Dictionary

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

Entity Framework Related Entities Queries

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

Some quick stats

… 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 !