- 10 Free Add-ins For Microsoft Office that Improve Productivity
- The Joel Test: 12 Steps to Better Code – Joel on Software
- mperdeck/LINQtoCSV: Popular, easy to use library to read and write CSV files.
- DefinitelyTyped/jsnlog.d.ts at master · DefinitelyTyped/DefinitelyTyped
- Event processing at all scales with Reactive Extensions | Techdays 2014 the Netherlands | Channel 9
- Consider app.config remapping of assembly warning after upgrade with Nuget | The ASP.NET Forums
- Legacy Code for Developers: Managing your Manager – NDepend
- Docker Toolbox | Docker
- Build Lambda Expressions Dynamically – CodeProject
- Build Where Clause Dynamically in Linq – CodeProject
- Spying on Razor View Compilation
- Immutability is not enough
- Microsoft/BotBuilder: The Microsoft Bot Builder SDK is one of three main components of the Microsoft Bot Framework. The Microsoft Bot Framework provides just what you need to build and connect intelligent bots that interact naturally wherever your users a
- Bot Framework Emulator
- Bot Framework
- evanw/thinscript: A low-level programming language inspired by TypeScript
- toddmotto/public-apis: A collective list of public JSON APIs for use in web development.
- Testing with mocha and jsdom ∙ Babel Starter Kit
- A general way to maintain History tables – SQLServerCentral
- Full Text Search in EntityFrtamework 6 – My ASP.NET Application
- Introducing U-SQL – A Language that makes Big Data Processing Easy – The Visual Studio Blog – Site Home – MSDN Blogs
- Inspectlet – Website Heatmaps, Session Recording, Form Analytics
- C# Programming Tutorial: Avoid 10 Common C# Mistakes | Toptal
- First light-based memory chip puts SSDs on notice
- ‘Recalc or Die’: 30 years later, Microsoft Excel 1.0 vets recount a project that defied the odds – GeekWire
- Julian Treasure: How to speak so that people want to listen | TED Talk | TED.com
- 5 Techniques To Make Better Decisions
- Building web apps with ASP.NET 5 MVC and Entity Framework 7 – CodeProject
Develop like it was ‘9x:
In the early days to develop an outlook addon it was simple : Press ALT+F11 and wrote the VBA. ( in our days , you go to the outlook settings and enable macros)
The code will be something like this:
Public Sub IsUserInEmail() Dim current Set current = Application.ActiveInspector.CurrentItem If Not TypeOf current Is MailItem Then Exit Sub Dim m As MailItem Set m = current Dim name As String name = InputBox("Please give me the user name", "Find User") If (Len(name) = 0) Then Exit Sub If (InStr(1, m.To, name, vbTextCompare) > 0) Then MsgBox "The name " & name & " has received the email" Exit Sub End If If (InStr(1, m.Sender.name, name, vbTextCompare) > 0) Then MsgBox "The name " & name & " has received the email" Exit Sub End If Dim rec As Recipient For Each rec In m.Recipients If (InStr(1, rec.name, name, vbTextCompare) > 0) Then MsgBox "The name " & name & " has received the email" Exit Sub End If Next rec MsgBox "The name " & name & " has NOT received the email" End Sub
Test like it was ‘9x:
If you want to test, open the email ( double click the email) . Then run with F5 and debug.
Deploy like it was ‘9x:
Send to the user the VBA script and tell him step by step how to copy / paste
- My Portraits Of The 7 Deadly Sins | Bored Panda
- How to Tell When Someone’s Full of $#*! – Steve Tobak
- DLLImport with dynamically bound native DLLs using Reflection – CodeProject
- Cross Browser Cookies with Flash | technology | nuff-respec.com
- Localization in ASP.NET 5 & MVC 6 | public void Photograph()
- Seven evolving trends in software development – Developer Tech
- Clean Coder Blog
- HTMLGoodies Slideshows
- Fine Tuning your RegEx Patterns
- Visual Studio slow debugging and _NO_DEBUG_HEAP – CodeProject
- Connecting user stories to the Internet of Things
- Eds Collection of Aha! Moments » Using XUnit with Team Build 2010
- BazaarJS: our criticisms of Angular
- Your Agile Project Needs a Budget, Not an Estimate
I want to show how much the software have changed from the early days to now.
For this , I will show it was / is to develop / test / deploy a sample outlook macro/application that allows the user to find if a name is between the email addresses from an email ( in a international company this is rather a difficult task).
The part 2 will be implementation as an Outlook VBA Macro
The part 3 will be a VS addon application
In the part 5 I will put the conclusions – but I think that you have an idea about what I am talking.
- Gulp for Beginners | CSS-Tricks
- SSW Rules & Standards
- Nina Mufleh Airbnb resume – Business Insider
- Vunvulea Radu Tech Wall: Why not to use StopWatch when you need to measure the duration of an HTTP request in WebAPI
- 20 Hilarious Jokes Only Smart People Will Understand | Idealist Revolution
- Introducing Portable Imaging IO Library for C# – CodeProject
- Why Agile Didn’t Work
- Working with Protocol Buffers in Web API | InfoWorld
- Khalid Abuhakmeh – Submitting A Dictionary To An ASP.NET MVC Action
- How to make complex icons with only CSS — Truth Labs — Medium
- Controversial Illustrations Full Of Hidden Messages By Russian Artist | Bored Panda
The ImageTagHelper in ASP.NET Core MVC (https://github.com/aspnet/Mvc) is lacking one attribute that I find somehow useful: a data uri to embed the image as base64 (https://en.wikipedia.org/wiki/Data_URI_scheme )
I was curious about how fast it will be to make such a modification on my PC.
So the process was:
- Downloading branch rel/1.1.1 from https://github.com/aspnet/Mvc as a zip file
- Unlock the file, unpack, run MVC.sln with VS2015
- Compile the entire project.
- See tests ( also run dotnet test in the Mvc-rel-1.1.1\test\Microsoft.AspNetCore.Mvc.TagHelpers.Test to figure what was missing)
- Started modifying the file ImageTagHelper( adding
public bool RenderBase64
and creating FileBase64ContentProvider.cs with the (approximately) same content as FileVersionProvider
- Adding tests to mvc-rel-1.1.1\test\microsoft.aspnetcore.mvc.taghelpers.test\imagetaghelpertest.cs ( also modifying mocker –
for my purposes, to read the file, I need file length
mockFile .Setup(m => m.CreateReadStream()) .Returns(() => new MemoryStream(Encoding.UTF8.GetBytes("Hello World!"))); mockFile.SetupGet(f => f.Length).Returns(12);
- Modifying HtmlTargetElement attribute from ImageTagHelper
- Adding “Microsoft.AspNetCore.StaticFiles”: “1.1.0”, and app.UseStaticFiles(); to HtmlGenerationWebSite and going to http://localhost:5551/HtmlGeneration_Home/image
And that was all. Now I will see how to fork and submit changes 😉
Later Edit: Submit a bug, fork, pull request. Approved.
- Testing the Database Layer – JAXenter
- It’s now possible to run Android apps on Windows 10 Mobile
- 5 Dumb Habits You Must Quit To Be Insanely Productive
- 20 Mini Money Hacks To Save You A Lot
- Intel just open sourced Stephen Hawking’s speech system and it’s a .NET 4.5 WinForms app that you can try for yourself – Canadian Developer Connection – Site Home – MSDN Blogs
- Best Free Programming Books | Toptal
Those are my 7 rules for logging (you can read also the side note for every rule)
So here they are:
- Logging is good for developers, not for the user .
- You should not re-invent logging framework – just use one that exists in your programming language.
- The logging should not affect the usual behavior of the program.
- You should log everywhere there is a layer made by you (including GUI).
- If the software returns/throws a generic code for error,then he should log the concrete details of what happened and the time * although this should be automatically done by the logging framework).
- The logging should be easy to configure ( where to log, what to log ).
- The format in which are you logging should be easy to understand by an automatic text parser
Note 1: Corollary : Every software needs logging and this should be performed as good as possible , with all specific details to understand the problem.
Note 2 : Choose one that works well in multi-threaded application, has multiple outputs ( database, log file, console , others) and provides various levels of logging( at least debug, info , error). For .NET : log4net, nlog . Do re-invent the wheel – if you believe that you can make something better .
Note 3 : For example logging a function that modifies some parameters or logging variable.ToString() and this throws the infamous “null reference”
Note 4 : See http://liddellj.com/2014/09/09/log-all-the-things
Note 5 : For example, if you throw a generic exception “ Something bad happened “ in order to not bother the user with mundane details, you should log the primary error and the reason that you throw the generic exception
Note 6: This means it is easy for DevOps to configure the software to not log into production the debug levels .
- This Chrome extension makes it easy to record your desktop, tabs or webcam for YouTube
- Screen Video Recording – Screencastify
- Locale::Maketext::TPJ13 – search.cpan.org
- Create a Web API in MVC 6 | The ASP.NET Site
- 1452472_1045912822086024_2597397280356330690_n.jpg (735×536)
- How to Turn Your App into a Business
- Bokken – Documentation
- How to Pose for Pictures | StyleCaster
- How to install Android apps on Windows 10 Mobile – WMPoweruser
- PDF File Writer C# Class Library (Version 1.16.2 Unicode support) – CodeProject
- 32 PR Tools & Strategies to Master Public RelationsOfficial Kiip Blog
- Power BI Desktop | Power BI