platform-agnostic

What does "Core" mean in the Context of Library Design?

I often see other developers naming libraries with "CORE". What does it actually mean? ...

WCF client (Add Service Reference) hates WebGet and WebInvoke...really, it does

I have been working to create WCF services that will operate independent of .Net clients. Thanks to Google and StackOverflow, I have been able to create both simple xml and json services without Soap wrappers and a bunch of fancy WCF stuff that I just don't need. It has been a painful experience, hence the subject line of this question...

How does Amazon's Statistically Improbable Phrases work?

How does something like Statistically Improbable Phrases work? According to amazon: Amazon.com's Statistically Improbable Phrases, or "SIPs", are the most distinctive phrases in the text of books in the Search Inside!™ program. To identify SIPs, our computers scan the text of all books in the Search Inside! program. If ...

Cloud Agnostic Architecture?

Hi, I'm doing some architecture work on a new solution which will initially run in Windows Azure. However I'd like the solution (or at least the architecture/design) to be Cloud Agnostic (to whatever extent is realistic). Has anyone done any work on this front or seen any good white papers/blog posts? Our highlevel architecture will co...

Determining whether a file is a duplicate

Is there a reliable way to determine whether or not two files are the same? For example, two files with the same size and type may or may not be the same binarilly (yeah, I know it's not really a word). I assume that comparing one or two checksums of the files will help, but I wonder: How reliable are checksums at determining whether t...

Why is loading inline javascript inside views with AJAX bad?

We have a tabbed interface, inside one of these tabs is a privacy form. This privacy form, as well as using an external javascript file for the bulk of its work, also uses inline javascript as it currently relies on dynamic code (in the server side language). formTabs wrapper (ajax tabs without callback functions) ... <script type ="te...

What should not be inside an MVC view?

From the limited amount of people that I've talked to regarding MVC web frameworks, I've heard people say that, forgetting about forms, a view file should ideally contain HTML markup, string manipulation and a few for each loops. I've also been told that if statements in views should be avoided if at all possible. Is this generally agree...

Precompiling JSPs: Is that server specific?

Since JSPs adhere to a standard API, can I precompile them in my projects and then deploy the result on any server? Specifically, I'm using Tomcat, JBoss and WebSphere. ...