cool dance tricks :)
What rap song has the beat from the isley brother's song "between the sheets" ?
http://answers.yahoo.com/question/index?qid=20110216182914AAPNQdJ
mix perspectives and perceptions then approach with embracement. literally advanced search user on programming world.
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.Martin Fowler
Getting a value from configuration does not make things changeable and easy configurable.
Team leaders, project managers all of lead of something please listen me
Wanna manage project from a one configuration file? This idea is bullshit :)
Feel good :)
Interface changes, developments and updates comes with unseen risks. Example : Older versions has a text area for other descriptions of an advert. It can be unvisible with new versions and nobody can notice this.
How to reduce
These references from Code Complete and CC is a very informational book.
My examples
A complex solution to a simple problem : Localization(Resource management in .net for web sites) jquery glob will solve this problem I think.
A simple, incorrect solution to a complex problem : All business decisions that created as fast solution :) Not enough analysis on current situations and not thinking what can occur next.
An inappropriate, complex solution to a complex problem : All ERP systems :) This designs makes projects hard to maintain and demoralized project staff.
What is yours?
Please return why it didn’t validate by reference. Like this
public bool ValidateSearchParameters(AdvertSearchParameters advertSearchParameters, ref string errorString)
{
if (advertSearchParameters.IsTextSearch)
{
if (advertSearchParameters.TextKeywords.Length < 5) //TODO : will be provided by config
{
errorString = "Must be more than 5 charachter.";
return false;
}
}
}
Life runs on code :)
http://blog.whiletrue.com/2011/01/what-if-visual-studio-had-achievements/
My achievements :)
Falling Down – Created a new SharePoint project
The Portal – Created a circular project dependency
The Multitasker – Have more than 50 source files open at the same time
Highway to Hell – Successfully created a WCF service
Rage Quit – ALT+F4 after a failed bug fix “Fine solution :)”
Warm Bath – Successfully consumed a non .NET SOAP web service
Old School – Defined more than 100 static objects
The Cloner – Copy-pasted more than 50 lines
I like that I wish VS gives us badges.
//Property Options IDictionaryAdvertProperty, int> advertPropertyGroupList = (from r in resultPropertyOption where r.AdvertPropertyID != null && r.AdvertPropertyOptionID != null && r.OptionCount != 0 group r by r.AdvertPropertyID into g select new { C = new EmlakMilliyet.Service.Model.AdvertSearch.AdvertProperty { Id = (int)g.Key.Value, Name = this.AdvertLookupDataService.GetAdvertProperty((int)g.Key.Value).Name, Options = (from v in g select new { L = this.AdvertLookupDataService.GetAdvertPropertyOption((int)g.Key.Value, (int)v.AdvertPropertyOptionID) ?? new AdvertPropertyOption { Id = 0, Name = "", SearchOptionOrder = 0 }, TotalCount = g.Where(w => w.AdvertPropertyOptionID == v.AdvertPropertyOptionID).Sum(a => a.OptionCount.GetValueOrDefault()) }) .OrderBy(o => o.L.Name) .ToDictionary(p => p.L, p => p.TotalCount) }, TotalCount = g.Sum(a => a.OptionCount.GetValueOrDefault()) }).OrderBy(o => o.C.Name).ToDictionary(p => p.C, p => p.TotalCount);
“The public shaming is far more effective than fear of being fired.”
http://framethink.wordpress.com/2011/01/17/how-facebook-ships-code/
A bug can cause bigger effects.
Life is going with balance. Cause – Effect :)
http://martinfowler.com/bliki/CommandQuerySeparation.html
http://en.wikipedia.org/wiki/Command-query_separation
Queries: Return a result and do not change the observable state of the system (are free of side effects).
Commands: Change the state of a system but do not return a value.
http://en.wikipedia.org/wiki/Benjamin_Polak
http://en.wikipedia.org/wiki/Open_Yale_Courses -- Open Yale Courses
http://oyc.yale.edu/economics/game-theory/contents/syllabus.html -- This lesson I started to watch and learn.
Keynotes of Lesson 1
You should never play a strictly dominated strategy - Pareto Efficiency - http://en.wikipedia.org/wiki/Pareto_efficiency
Rational play by rational players can lead to bad outcomes - Price wars
To figure out what actions you should choose in a game, a good first step is to figure out what are your payoffs (what do you care about) and what are other players' payoffs.
If you do not have a dominated strategy, put yourself in your opponents' shoes to try to predict what they will do. For example, in their shoes, you would not choose a dominated strategy.
Yale students -Let's say people- are evil.
I like very much Open Yale Courses and Ben Polack :)