Friday links 64

  1. 36 Testing Heuristics « Software Education Blog
  2. 110 Predictions For the Next 110 Years – Popular Mechanics
  3. 20+ Beautiful Resources That Complement Twitter Bootstrap
  4. Customizable user interfaces PSD templates for iPad and iPhone apps
  5. Thinking Like a Web Designer | Android Developers Blog
  6. Ten pi-fect projects for your new Raspberry Pi • The Register
  7. What Makes a Good Developer Culture? | Intel® Developer Zone
  8. Information Is Beautiful | 20th Century Death
  9. 7 Must-Have (Free) Mobile Apps to do Your Job Better | LinkedIn
  10. Some lesser-known truths about programming
  11. Relational Databases for Dummies | Nettuts+
  12. Framework-urile CSS despre care merita sa afli
  13. 7 Usability Mistakes That Will Kill Your Online Sales
  14. Collie – High Performance Animation Library for Javascript
  15. Gamasutra – Features – The Metrics Aren’t the Message
  16. Bulletproof Demos
  17. All creative tools
  18. How to Understand Those Confusing Windows 7 File/Share Permissions
  19. What is flat design? | Web design | Creative Bloq
No Comments

Friday links 63

  1. mir.aculo.us JavaScript with Thomas Fuchs » DOM Monster Bookmarklet
  2. codecrap.com – Where developers go to laugh and cry
  3. Gamasutra – Features – Game Design Tools for Collaboration
  4. Four data analytics pitfalls « The Equity KickerThe Equity Kicker
  5. Quake 3 Source Code Review: Architecture
  6. 3 | 5 Lessons In UI Design, From A Breakthrough Museum | Co.Design: business + innovation + design
  7. LukeW | ConveyUX: Cross Platform Product Design
  8. How Amazon’s Navigation Is So Damn Fast
  9. Dubious Quality: Not Us, But Us
  10. Europe, CSS & jQuery clickable map by Winston Wolf
  11. Best quotes ever – World’s best quotes with pictures-Best Quotes
  12. Eight Brilliant Minds on the Future of Online Education – Eric Hellweg – Our Editors – Harvard Business Review
  13. Top JavaScript MVC Frameworks
  14. Structuring Unit Tests
  15. Globalization, Validation and Date/Number Formats in Asp.Net MVC
No Comments

Friday links 62

  1. The StarCraft path-finding hack – Code Of Honor
  2. Gamasutra – Features – Dirty Coding Tricks
  3. Heineken propose l’entretien d’embauche le plus incroyable | Altaïde
  4. How I Over-Engineered the ASP.NET Health Monitoring Feature « Mike Volodarsky
  5. HandleErrorAttribute and Health Monitoring – Andrew Wilinski
  6. 20+ Tools to Create Your Own Infographics
  7. Datavisualization.ch Selected Tools
  8. easel.ly – create Infographics online
  9. 10 Fun Tools To Easily Make Your Own Infographics | Edudemic
  10. Ghostbusters – Ray Parker Jr. (HQ Audio) – YouTube
  11. Microsoft All-In-One Code Framework – a centralized code sample library – Home
  12. [Sample Of Feb 18th] Update POCO entity properties and relationships in EF – Microsoft All-In-One Code Framework – Site Home – MSDN Blogs
  13. Releasing Sample Browser for Windows 8 – Get Your "Hands" on Thousands of Amazing Code Samples – Microsoft All-In-One Code Framework – Site Home – MSDN Blogs
  14. Multi-tier ASP.NET MVC 4 Web Site Tutorial – Step 1: Overview
  15. Cloud Computing | Bessemer Venture Partners
  16. Windows 8 App Development | Build for Windows
  17. Getting Started with MSDN Subscriptions
  18. Big Data’s New Use Cases: Transformation, Active Archive, and Exploration | Apache Hadoop for the Enterprise | Cloudera
  19. MVVM – IOC Containers and MVVM
  20. D3 Show Reel
  21. Brain-to-brain interfaces have arrived, and they are absolutely mindblowing
  22. Red Gate eBook and print book store
  23. Clifford Unchained – Nickels, dimes, and quarters.
  24. What kind of a software engineer do you want to be known as? | NCZOnline
  25. Lessons Learned in Windows 8 App Certification « Blankenblog
  26. Windows 8 App Development | Build for Windows
  27. Free-to-play children’s apps: views from the industry | Technology | guardian.co.uk
No Comments

MVP again

I have been confirmed as MVP C# per Romania again. ( and no, as always, is not an April fools joke)

I am happy for that !

https://mvp.support.microsoft.com/profile/Andrei.Ignat

 

No Comments

Friday links 61

  1. Don’t Call Yourself A Programmer, And Other Career Advice | Kalzumeus Software
  2. High Scalability – High Scalability – Better Browser Caching is More Important than No Javascript or Fast Networks for HTTP Performance
  3. Best Companies to Work For 2013: Full List – Fortune
  4. Pokémon TV free app available now for iOS devices, Android to follow | Polygon
  5. How do you tell a non-technical person that they can’t understand? by @ASmartBear
  6. Good vs Evil – how to make money from free-to-play without selling your soul – Games Brief
  7. Homeopathics – introduction to homeopathics and remedy finder
  8. Best Best Practices Ever | Javalobby
  9. Gamasutra: Josh Hartwell’s Blog – 12 Predictions for Mobile in 2013
  10. Notes from A Cottage Industry: The Icebreaker
  11. Deconstructor of Fun: Monetizing an Infinite Runner
  12. 10 Things Extraordinary People Say Every Day | Inc.com
  13. The view from the top of the Shard: London panorama of sights and sounds – interactive
  14. Duke Nukem 3D Code Review
  15. Hard-Wired to Hate Exercise? – WSJ.com
  16. How Do Users Really Hold Mobile Devices? :: UXmatters
  17. What “Disrupt” Really Means | TechCrunch
  18. 7 Things Developers Should Know About SQL Server | Brent Ozar Unlimited
  19. Useful JavaScript Libraries and jQuery Plugins For Web Developers
  20. 8 Basic Rules to Implement Secure File Uploads
5 Comments

Friday links 60

  1. Free eBook: 50 Ways to Avoid, Find and Fix ASP.NET Performance Issues – Simple-Talk
  2. Trends2013 Online
  3. Mobile prototyping: a new paradigm | Feature | .net magazine
  4. Creating 3D worlds with HTML and CSS | Keith Clark
  5. Why Facebook Makes You Feel Miserable | TIME.com
  6. Dubai unveils panoramic photo from atop world’s tallest building | DVICE
  7. Building Customer Communities Is the Key to Creating Value – Bill Lee – Harvard Business Review
  8. 7 Tips to Beautiful PowerPoint by @itseugenec
  9. 11 Simple Concepts to Become a Better Leader | LinkedIn
  10. Bigpoint sells 2,000 spaceship drones. For 1000 euros each. In just four days. – Games Brief
  11. Ten 3D printers for this year’s modellers • The Register
  12. Virtual tools | Testing made easier in Internet Explorer | modern.IE
  13. Lynx A: The World’s First Point-and-Shoot 3D Camera
  14. Safeguard your code: 17 security tips for developers | Application Development – InfoWorld
  15. Gamasutra – Features – Postmortem: Intelligence Engine Design Systems’ City Conquest
  16. Irving Wladawsky-Berger: Managing Complex, Disruptive Innovations – Some Lessons Learned
  17. Infosecurity – Employees ‘don’t think twice’ about stealing corporate data
  18. 6 Habits of Remarkably Likable People | Inc.com
No Comments

ASP.NET MVC–find error

I am moderator and a frequent answerer at forums.asp.net . Mostly of time the error is in thinking that database connection errors belong to MVC – or other things that are part of the .NET framework, not of MVC . However , I must write here the most confusing problem  that I have encountered:

<start quoting>

“I have an XML file, whose contents I want to display on the browser window using ASP drop down list and LINQ to XML. I am using Visual Studio MVC 4 for this purpose. In the model folder I have created a file to access the XML file, whose contents are :

[… not important code]

In the view folder, I have a asp file as shown

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="MvcApplication7.Controllers.QueryController" CodeBehind="~/Controllers/QueryController.cs" %>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="updatePanel">
        <asp:DropDownList runat="server" ID="fragment">
        </asp:DropDownList>

    </div>

</asp:Content>
 

And finally in the Controller folder, I have

 namespace MvcApplication7.Controllers
    {
        public class QueryController : System.Web.UI.Page
        {
            //
            // GET: /Query/

        protected void Page_Load(object sender, EventArgs e)
        {
                fragment.DataSource = MvcApplication7.Models.fragmentNameModels.GetFragmentName();
                fragment.DataTextField = "id";
                fragment.DataValueField = "id";
                fragment.DataBind();
        }
 }
}
 

The ID given to the drop down list is "fragment", but when i use it my controller file I get the following error message :

Error 1 The name 'fragment' does not exist in the current context “

 

<end quoting>

Could you spot the error?

Then re-read the post and found the confusing things that will make assumption that is MVC ( including original poster words, comments and code)

 

( And , if not, the answer is here http://forums.asp.net/t/1974367.aspx?The+name+________+does+not+exist+error+Advice+needed+ASAP+ )

 

 

 

No Comments

Friday links 59

  1. Outlook 2010 and HTML Email | Fuel Your Coding
  2. Home | Email Standards Project
  3. 27 Science Fictions That Became Science Facts In 2012
  4. Task Parallel Library and async-await Functionality – Patterns of Usage in Easy Samples – CodeProject
  5. PYPL PopularitY of Programming Language index – pyDatalog
  6. Interview Questions
  7. Blog for Programmers
  8. Learning JavaScript Design Patterns
  9. Nokia: Yes, we decrypt your HTTPS data, but don’t worry about it — Tech News and Analysis
  10. gource – software version control visualization – Google Project Hosting
  11. The 12 cognitive biases that prevent you from being rational
  12. How ‘Gamification’ Can Make Your Customer Service Worse | Wired Enterprise | Wired.com
  13. Développeur Web sur Lille (59), Romain Brasier.
  14. Using a bloom filter to reduce expensive operations like disk IO | kellabyte
  15. The Magic Number For Making Virtual Reality Feel Like Reality | Co.Design: business + innovation + design
  16. Gamasutra: Samuel Rantaeskola’s Blog – Why cross-functional?
  17. Try F#: Explore
  18. How To Raise A Superstar | Wired Science | Wired.com
  19. SnapPea Manages Your Android Phone from Your Windows Desktop
  20. Data Mining in Obama’s 2012 Victory
  21. Developing in HTML5 with JavaScript and CSS3 Jump Start – Microsoft Virtual Academy
  22. Three Usage Scenarios for sys.dm_db_index_operational_stats – SQL Server Premier Field Engineer Blog – Site Home – MSDN Blogs
No Comments

Friday links 58

  1. Lifehacker top 10 News, Videos, Reviews and Gossip – Lifehacker
  2. How to Need Less Sleep by Getting Better Sleep Every Night
  3. Want to Create a New Habit? Get Ready to Break It
  4. 10 Book Series So Addictive, You Never Want Them to End
  5. 10 Science Fiction Novels You Pretend to Have Read (And Why You Should Actually Read Them)
  6. Udacity | Free Online Courses. Advance your College Education & Career
  7. Catee’s German Pimsleur Downloads
  8. Daniel Cook – Google+ – Looking back, looking forward Thoughts on how being a game…
  9. SignalR: Building real time web applications – .NET Web Development and Tools Blog – Site Home – MSDN Blogs
  10. Page Weight Matters | Chris Zacharias
  11. Starting An Open-Source Project | Smashing Coding
  12. Eight Reasons C# is the Best Language for Mobile Development | Xamarin Blog
  13. Typing Practice for Programmers | typing.io
  14. forms – Should I use Yes/No or Ok/Cancel on my message box? – User Experience
  15. Rands In Repose: The Process Myth
  16. List of eponymous laws – Wikipedia, the free encyclopedia
  17. 20 Tips for Creating a Professional Learning Network | Classroom Aid
  18. Better Than Human: Why Robots Will — And Must — Take Our Jobs | Gadget Lab | Wired.com
  19. 20+ Tools to Create Your Own Infographics
  20. Programmer Time Translation Cheatsheet -or- Why Programmers Are Bad at Estimating Times | Javalobby
  21. Gamasutra – Features – Understanding Challenge
  22. 8 Most common mistakes C# developers make
No Comments

Foursquare–part 4–conclusions

Part 1: beginning using API: http://msprogrammer.serviciipeweb.ro/2014/01/27/foursquarepart-1-of-4/

Part 2: Trying PC version: http://msprogrammer.serviciipeweb.ro/2014/02/16/foursquarepart-2-of-4/

Part 3: Improving PC version: http://msprogrammer.serviciipeweb.ro/2014/02/24/foursquarepart-3-of-4/

Part 4: conclusions( this blog post)

 

First conclusion : web is media of choice . The programmers makes API easier for connecting via Web, not via every device. ( although FourSquare have developed native classes  for IOS / Android )

Second conclusion :  with reasonable effort  you can make a version that runs on every platform ( ok, not trying yet Windows phone, but it should not be so different – requires the browser to login). And you will find some implementation that parses the Web Json.

Third  conclusion : Be aware of API changes and prepare for a sustainable effort if the platform is making breaking changes .Those can come from request (https://developer.foursquare.com/overview/versioning : << As of January 28, 2014, requests that do not include a v parameter will be rejected.  >> ) or from response ( http://msprogrammer.serviciipeweb.ro/2014/02/09/solving-no-parameterless-constructor-defined-for-type-of-system-string/ , transforming a string icon property into a class)

 

Final:

It is nice to play with a third party and get the data programmatically.   For example, with the program I just show , I save a text file with my daily activities and put on onedrive :

20140301 214229,Cinema City,
20140301 213600,AFI Palace Cotroceni,
20140301 203400,Ministerul Finanțelor Publice,
20140301 170706,casa,
20140301 163738,Carrefour,
20140301 151818,Gett’s Color Bar,
20140301 142525,Cărturești,
20140301 141331,AFI Palace Cotroceni,
20140301 133653,Catedrala Sfântul Iosif (St. Joseph’s Cathedral),
20140301 122913,World Class Health Academy Downtown,
20140301 120617,McDonald’s,
20140301 103729,Piața Romană,
20140301 095350,Dedeman,
20140301 075136,Dedeman,
20140301 053653,casa,

 

And relax 

Photo

 

 

Made by Andrei Ignat, http://msprogrammer.serviciipeweb.ro
Source code at https://github.com/ignatandrei/4SqDayHistory
View online at http://fsq.apphb.com

No Comments