Tuesday, October 25, 2011

Cannot open epub on your new Nook?

If you just drag and drop books onto your new Nook (touch), they might now work because of attempts to stop copying copyrighted material. The easiest way is to actually transfer the epub file with Adobe Digital Editions to your Nook. It's a fairly painless process although obviously slightly more annoying than just dragging and dropping!

Happy reading!

Hermann

Tuesday, October 18, 2011

PerformancePoint Dashboard Designer installation URL

I just want to write this down quickly and I hope that some time this can help someone out looking for some real quick information. If you have Windows Server 2008 running on some machine (and you have Sharepoint Enterprise running with some site set up) and you are looking to install or run PPS Dashboard Designer, the easiest way is to go to the url http://<<yoursite>>/Pages/ppssample.aspx. From this page you will be able to install or run Dashboard Designer.

Thanks,

Hermann

Friday, October 14, 2011

Google Chrome user agent style sheet overwrites css

If you have used Google Chrome's developer tools quite a bit, you might know that it has a very useful interface  that specifies from where it is getting it's css settings for a specific element. You might stumble across a case where your css is getting overwritten by css from a "user agent style sheet". It seems like Chrome has a default style sheet for webpages; however if you css is getting overwritten, simply check your css syntax. It is most probably a syntax error that is causing Chrome to ignore your css and opt for using its own.

Happy coding,

Hermann

Wednesday, October 5, 2011

jQuery ajax function returns html code for whole page

I ran into a situation that I hadn't run into before. In my jQuery ajax function the result that was returned was the html code of a whole page. Not to fear, this is an error that should not be too hard to track. In my case, I used servlets and my servlet used the redirect function to redirect to another page after I had used the printwriter to return some html code to the ajax function.

The result was that the redirect function was redirecting to another page after the printwriter had written its result (so the printwriter's result was simply overwritten by the redirect method). Thus the ajax function received the html code of the whole page that the servlet had redirected to.

Check for similar functions (whether you are working in php, Perl, etc.). I have not run into this many times, but it makes sense that any similar case should have almost exactly the same cause.

Happy coding,

Hermann