Friday links 125

  1. 5 Creative Design Ideas Using Grids – Design School
  2. 9 GIFs That Explain Responsive Design Brilliantly | Co.Design | business + design
  3. Pumpipumpe | a sharing community
  4. The AI Programmer’s Bookshelf
  5. Practical Tips for Web and Mobile Usability Tests
  6. Edward Reynolds on Twitter: "http://t.co/FjnCknj4CA"
  7. IT Pro New Year’s Honours List 2015 – TechNet UK Blog – Site Home – TechNet Blogs
  8. Web API OData V4 Lessons Learned – DavidHardin – Site Home – MSDN Blogs
  9. Postcode Lookup with YQL and Great Maps
  10. Do elite software developers exist?
No Comments

MVC-Planning Poker – Architecture versus unit testing fast

Now I have arrived to the moment when I want data to be persisted on disk. I choose SqlIte – because EF 7 is not yet on the market and SqlIte  could work on Windows Phone / Android.

So now I want to just serialize TableData and save . To serialize I have several options – yesterday was XML, not it is Json. The Newtosnoft Json library could do the serialization – and with SqlIte I could put into a database file.

 

However, the problem is with what we have for serialization / deserialization and how we have conceived the software.

For example, Table class does not have a public constructor – a Table does not exists without a Moderator to create it – and which Cards to display

internal Table(string moderatorName, List<Card> cards = null)

For Deserializer to work, the Table either should have a public constructor

p

 public Table(): this("", null)

, either  the deserializer will have a function to construct the Table.

The first option means that the architecture will be somehow not so good.

The second option means more work for the programmer.

In .NET we have the third option – we can use obsolete:

 

[Obsolete("Use CreateTable from TableFactory",true)]
        public Table(): this("", null)

The true option means raising an error when we COMPILE code that uses the constructor – not at run time, when the deserializer uses it.

So we maintain the architecture – and not enforce at run time.

If we wrote

 Table t = new Table();

the compiler gives

1>D:\sourcecontrol\Vs\MVC Planning Poker\PlanningPoker2013\PPTest2013\SerializeTableData.cs(68,23,68,34): error CS0619: ‘Table.Table()’ is obsolete: ‘Use CreateTable from TableFactory’

 

However , the serialization uses happily the constructor – even if it is obsolete , it works!

No Comments

Friday links 124

  1. 20 Hilarious Programming Jargon Phrases You Should Know When Talking To Engineers – Business Insider
  2. Serving external traffic with WebMatrix Beta : Vaidy’s IIS Blog : The Official Microsoft IIS Site
  3. Accessing an IIS Express site from a remote computer — Johan Driessen’s blog
  4. 9 filme IMPRESIONANTE care îți pot schimba modul în care vezi lumea (VIDEO)
  5. The Salesforce Platform: The Return of the Citizen Programmer
  6. Introducing .NET Core – .NET Blog – Site Home – MSDN Blogs
  7. How Can I Advertise My Business For Free |
  8. 15 Amazingly Useful Google Services You Should Know About
No Comments

IndieGoGo campaign for programmer tools

 

I have made a campaign on IndieGogo for making a website,  videos and tutorials about C# and .NET tools and common practices. Think about  verticals( logging, security) that every application needs to have.

It will be a common knowledge base(book, video and website , and mobile application ) about how to use those applications.

Please join at  bit.ly/toolsProgrammers 

Thank you

No Comments

Friday links 123

  1. UserJoy – 25 must do’s before launching a website!
  2. gionkunz/chartist-js
  3. Can I use… Support tables for HTML5, CSS3, etc
  4. Bing Developer Assistant for Visual Studio – The Visual Studio Blog – Site Home – MSDN Blogs
  5. Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Couchbase vs Hypertable vs ElasticSearch vs Accumulo vs VoltDB vs Scalaris comparison :: Software architect Kristof Kovacs
  6. 15 Things Great Parents Do Differently ~ A Peaceful Warrior
  7. 7 Important Life Lessons Everyone Learns the Hard Way ~ A Peaceful Warrior
  8. Google Releases Chrome Extension for End-To-End Email Encryption – Hacker News
  9. google/end-to-end
  10. Home · google/end-to-end Wiki
  11. Public Speaking – Open Online Course – iversity
  12. WordPress › Oasis Workflow « WordPress Plugins
  13. Steve Jobs Meeting Techniques – Business Insider
  14. 12 Little Known Laws of Karma (That Will Change Your Life) ~ A Peaceful Warrior
No Comments

Friday links 122

  1. OData/ODataSamples
  2. OData/odata.net
  3. C# Coding Conventions (C# Programming Guide)
  4. Top 15+ Best Practices for Writing Super Readable Code – Tuts+ Code Tutorial
  5. How The Economic Machine Works by Ray Dalio – YouTube
  6. How To Grow A Lemon Tree From Seed Easily in Your Own Home | Buy Non GMO Seeds
  7. 30 Highly Shared Posts from Company Blogs in 2014
  8. How to not sound like a robot in your email notifications
  9. 33 Amazingly Useful Websites You Never Knew Existed
  10. Flip Text » Write Upside Down Text
  11. A Good Movie to Watch – Highly-Rated, Little-Known Film Suggestions | Movies
  12. stripcreator : make your own comic strips 
  13. These 15 Rare Historical Photos Will Make You Yearn For The Days Of Yore
  14. 25 Truly Useful Inventions That You Never Knew You Needed
  15. TYPE CAST EXCEPTION | ASP.NET Web Api: Unwrapping HTTP Error Results and Model State Dictionaries Client-Side

No Comments

Powershell and always use explicit

 

Let’s suppose you have a variable $x=”http://msprogrammer.serviciipeweb.ro/

In powershell the following are the same

$x

Write-Host $x

 

I want to make a function that returns a value . Let’s say

Function Add([string] $a, [string]$b)

{

#debug to see arguments

$a

$b

return $a + $b

}

 

If I call this function with

Add 10 17 # the syntax for calling powershell is WITHOUT comma – the comma indicates arry

it shows

10

17

27

However , if I wrote

$x = Add 10 17

it does not wrote

10

17

 

Do you know why ?

 

Answer in the first comment

1 Comment

Friday links 121

  1. Martin Fowler on Characteristics of Microservices
  2. Top Trends in Business Intelligence and Analytics for 2015
  3. Top 10 Trends in Business Intelligence in 2015 | Tableau Software
  4. ElasticSearch use – 3S Wiki – Ubisoft Wiki
  5. SMS Sending Using ASP.NET
  6. Putin is trying to save Russia’s economy with one weird trick – The Washington Post
  7. 50 Numbers From 2014 That Reflect On The Times | David Stockman’s Contra Corner
  8. Type Scale – A Visual Calculator
  9. Grunt And Gulp Tasks For Performance Optimization | Yeoman
  10. Performance tooling today
  11. QrCode.Net – Home
  12. 8 Questions Every Candidate Should Ask In A Job Interview – Microsoft MVP Mentor Blog – Site Home – MSDN Blogs
  13. Finding your way in the ASP.NET Forums – Tips and Guidelines | The ASP.NET Forums
  14. C#er : IMage: The Top 5 Mistakes AngularJS Developers Make Part 4: Hacking the DOM
  15. C#er : IMage: The Top 5 Mistakes AngularJS Developers Make Part 1: Relying on $scope

No Comments

Friday links 120

  1. Angular-xeditable :: Edit in place for AngularJS
  2. New handy Visual Studio extensions
  3. The Software Package | WiX Tutorial
  4. Visual Studio & TFS 2013 – List of extensions and tools (Part 2)
  5. File Nesting extension
  6. AutoHistory extension
  7. Microsoft CodeLens Code Health Indicator extension
  8. AWS | edX
  9. Business Owners: What to do Before the End of the Year | Point Blank | Direct Capital
  10. This beer tells you how much to drink to boost your creativity
  11. ​The Ten Commandments Of PC Gaming
  12. What It Really Takes to be a Professional Programmer
  13. YouTube Downloader Using C# .NET – CodeProject
  14. Hosting and Consuming WCF Services

No Comments

Friday links 120

  1. Rename Visual Studio Window Title extension
  2. Silicon Valley’s Culture of Amorality – Water Will Find its Way | LinkedIn
  3. 6 Management Lessons That Everyone Should Know by TICKLD | Cathy Fairytale
  4. Apache Solr vs ElasticSearch – the Feature Smackdown!
  5. calibre – Help
  6. FiltDump (Windows)
  7. Supported data types (Azure Search)
  8. 15 3D printed things to be thankful for this Thanksgiving – TechRepublic- 15
  9. 3D printers print ten houses in 24 hours – YouTube
  10. Step by Step Guide to a Profitable Small Business Blog
  11. C# 6.0 Features
  12. New Features in C# 6 – The C# Team – Site Home – MSDN Blogs
  13. Using NRefactory for analyzing C# code – CodeProject
  14. GifCam | BahraniApps Blog
  15. icsharpcode/NRefactory

No Comments