7 Things Your Boss Doesn’t Understand About Software Development

original article here

  1. Technical debt slows down a project more than anything else
  2. Estimates are mostly bullshit
  3. It can be done right or fast
  4. Some developers can actually produce less than 0 code
  5. Better equipment is one of the cheapest productivity investments you can make
  6. New technologies are usually not as risky as you think
  7. Business analysts and project managers don’t do shit

Leave a comment to let me know what you think programmers?

Happy coding

Advertisements

CSS Jokes

Hi All,

I came across this at work today. Hilarious collection of css puns and jokes. All credits to the collector and inventors.

CSS Puns

Happy browsing.

Shadow Copying Assemblies .Net

What is it? Its a .Net feature. When shadow copy is enabled on an appdomain, assemblies loaded in that appdomain will be copied to a shadow copy cache directory, and will be used from there. This is great because the original file is not locked. So it can be changed at will. ASP.NET uses this extensively. Actually, shadow copy is enabled on every appdomain created by ASP.NET.

More information is here:

https://msdn.microsoft.com/en-us/library/ms404279%28v=vs.110%29.aspx

Catch? One should be careful when an application writes any shadow copy assemblies it should do it in its own user account’s temp directory, not Local System’s or admin.

NoSQL

Martin Fowler & Pramod Sadalage
Some common characteristics of NoSQL databases
1. they don’t use the relational data model, and thus don’t use the SQL language
2. they tend to be designed to run on a cluster
3. they tend to be Open Source
4. they don’t have a fixed schema, allowing you to store any data in any record

Interesting read on Martins bliki and http://nosql.mypopescu.com/

Framework vs Library

A library is essentially a set of functions that you can call, these days usually organized into classes. Each call does some work and returns control to the client.

A framework embodies some abstract design, with more behavior built in. In order to use it you need to insert your behavior into various places in the framework either by subclassing or by plugging in your own classes. The framework’s code then calls your code at these points.

source: Martin Fowler 

Generate msbuild file from solution

Here is a quick way to generate a start up msbuild file from your solutions file.

Launch Visual Studio Command prompt and change directory to your project directory and then type the following 2 commands.
set MSBuildEmitSolution=1
msbuild <<your project>>.sln

This file will be generated next to the solution file, it wil be named .sln.metaproj.

All thanks to original post at http://www.codeproject.com/Tips/177770/Creating-MSBuild-projects-from-sln-files

Enjoy

++ operator in VB.Net

We do miss the power of ++ operator in Vb.Net. Here is a quick way to achieve the same result
Use System.Math.Max(System.Threading.Interlocked.Increment(i),i – 1)
to achieve the same result as i++

Hope it helps!