Linq to CSV
This post is about something old, something I should have posted about a long time ago. A few years ago I had to use a CSV file as a data source for some process. I had forgotten all about it until recently when I was looking through some old projects, they definitely brought back some memories.
I do remember thinking there has to be a better way to access a CSV file more like a database and have it populate an object. I started to get my frame of mind all set to come up with a solution when I thought how dumb it is to re-invent the wheel. So I did a search first, and found the LinqToCsv package.
Package management initialization failed: Access Denied
I encountered this error for the first time today on my work laptop. This seemed like a really odd error to receive especially since I had been using it last week.
There is an easy work around for it, or at least my version of it.
There is a file called privateregistry.bin located in C:\Users\username\AppData\Local\Microsoft\VisualStudio\15.0_someidentifier
You could be brave and just delete it, I was cautious and renamed it. You may lose your personal settings, but you’ll be able to use 2017 again.
All Work and no Play
makes for a dull developer
It has been a very busy time for me lately. Lately, more like a year or two. Busy for both my professional life and personal life. I have not had time for any of my hobbies that I enjoy; this blog, photography, or even writing code just for the fun of it.
We are nearing the end of February 2018 and I thought I would do something a little different. Maybe not overly exciting but like most things I post I hope someone will find something useful. Better yet maybe someone will leave a comment and I will find something useful.
My Favorite Tools From 2017
I am not going to make this about 2018 as it is too early. I thought I would spend some time on my favorite developer related tools that I used a lot in 2017. This will not be a review, just a list with maybe a few pros and cons.
Recently I read a short book entitled GIT: Version Control for Everyone by Ravishankar Somasundaram. I obtained this book as one of Packt Publishing’s free learning offers.
Every day Packt Publishing has a free eBook, usually they are a little older but still relevant. I have purchased eBooks from Packt before and their commitment to offering free learning keeps me coming back.
This post is about my review of the book, not Packt Publishing, so lets move on to the review.
Read the rest of this entry
Vivaldi Version 1.10
Vivaldi released 1.10 to the stable channel. This release contains one of the items I have most desired; docking and floating the DEV Tools. They have also included other nice updates to the Start Page and other items. For me I really wanted to dock my DEV Tools.
You can read about the full release at Vivaldi Powers Up the Start Page and Adds Docked DEV Tools.
Why I Care
Personally I like being able to place my Dev Tool window where it is most convenient to me. Sadly this varies with what I am doing. Sometimes the default floating option is fine. Other times I want it docked somewhere inside the page, even then not always in the same spot. Of course if you don’t use your DEV Tools that much then it probably doesn’t matter.
As a side note, this patch appears to have fixed my streaming issues. So I get to use Vivaldi as my default browser again with the DEV Tools working the way I like!
The freedom of choice with the DEV Tools was one thing I liked about Opera. Vivaldi replaced Opera as my main browser due to its ability to be easily customized.
I am just now starting my adventure into React.js. There is one project I have been on that is Angularjs but there are some others in the enterprise that are React.js.
So far I have done the quick Tutorial: Intro to React at the React site. I am also in the middle of the PluralSight course React.js Getting Started by Samer Buna. Obviously I have not looked at any serious production source code yet.
What is This?
There was a time when I used to prefer to print documents so I could make notes on them and kind of map things out. Needless to I have not needed to do that in a long time. Until yesterday.
I had written a test, bigger than a unit test but nothing huge. I needed to test my methods that would take a string from a database with special mark-up and make it into JSON. The special mark-up would allow information from another database to be injected and some XMLish in it would map fields from our object to the JSON.
I had three text things I needed to view; the source string, the data object, and the JSON generated.
I had two tests like this and did the first one the old-fashioned way. I printed each text on its own paper and went to work making sure things were correct.
Microsoft’s Channel 9 Visual Studio Toolbox talks about bringing DevOps practices to the database.
Database DevOps with Redgate Data Tools