Just installed a shiny new Google Buzz button for Wordpress by Tejaswini, Sanjeev.
I hacked it a bit, to align to the right. Download this plugin version here, until author updates it.
I’m replacing a diggIt button; Buzz fits my color scheme better
Enjoy.
Just in case someone needs a code snippet.
This one groups Prices by PriceProvider and was intended to pick only last 5 values for each PriceProvider – but sadly, it’s impossible without window functions. Which are not supported in Hibernate in any way.
Hibernate bug 1895 seems to be still there since 2006.
If, for instance, in Grails, such a syntax won’t work for you (it won’t):
def books = Book.findAll(“FROM Book AS b JOIN Chapter AS c WHERE c.active = :isActive”)
with a NullPointerException in “HqlSqlWalker.createFromJoinElement” — just use alternative join syntax, via WHERE:
def books = Book.executeQuery(“select b FROM Book [...]
A friend asked me for it, so probably someone might need a jumpstart in unit tests.
Here’s a short list of short (though very deep, if not best) intros.
Except for JUnit cookbook (~2 pages) (which has a lot of “ports”, like CppUnit cookbook), I’d name:
“Endo-Testing: Unit Testing with Mock Objects” at mockobjects.com (Tim Mackinnon, Steve Freeman, [...]
Comparison of Microsoft Visual Studio unit tests (MSTest) vs NUnit, mentioning PartCover and
Lua language brief description, and the best Lua book in CHM.
Simple C++ quiz about class member pointer.
C++ quiz about streams, dynamic_cast, temporary values, default type conversions and more…
MSBuild tips: some things you shouldn’t do, and what to do instead.
Another problem with MSBuild bootstrappers that can screw all your installation…
If scheduling reboot after installing .NET or other prerequisites, bootstrapper copies itself to run from TEMP on boot. Why not staying where it is – who knows. And definitely, all the other MSIs are not copied, so it won’t find them. Reproduced for me.
Now give [...]
Now I know it.
It’s Windows Installer error 1618 that I didn’t see somewhy when attempting to fix .NET bootstrapper. Either I was inattentive or it wasn’t there: “Another copy of msiexec is running”. You can’t have two Windows Installers running, at least if one of them installs .NET. Information is from this maillist post.
Why? Implementation [...]
After Microsoft didn’t include .NET 3.5 in any current release of Windows (read “Vista service pack 1″), some of us developers who believed in long-ago C# 3.0 ads, had to roll back to .NET 3.0 and C# 2.0.
Including me.
Not mentioning pain of rolling back all LINQ tasties in code and debugging our replacements (do you [...]