Get Git Part 3

This is the third in a series about Git

Merging Branches

Last we left off you had committed a number of times to a branch. Now it is time to merge that branch back into main.

As noted in the previous post, we’ll do this in three stages:

  • Merge main into feature1
  • Interactive Rebase feature1
  • Merge feature1 into main
Continue reading
Posted in Essentials | Tagged | Comments Off on Get Git Part 3

Get Git Part 2

This is the second in a series on Git.

Work flow

I’m not happy with the description of the workflow in the previous posting. It isn’t wrong, it is just a bit oversimplified. Let’s look at the workflow that you’ll usually do.

Continue reading
Posted in Essentials | Tagged | Comments Off on Get Git Part 2

Get Git

This is the first in a series of posts about Git.

Let’s start at the beginning as Humpty Dumpty so wisely advised Alice. What is Git? — Git is a version control system.

A version control system is a program that helps you, essentially, keep copies of your work so that if something goes wrong (you screw up your code so badly you can’t fix it, for example) you can go back to the last working version.

Git also facilitates sharing code with teammates. If you work alone a version control system brings value in saving versions of your code and, if you use a service like GitHub, it keeps a copy of every version of your code off site, which is good in case your computer gets dropped into a pond.

There is much more you can do with it, but those are its essential functions.

Git is probably the world’s most popular version control system, even though it has a reputation (false) that it is very difficult to learn. We will demonstrate that it isn’t all that difficult after all.

Continue reading
Posted in Essentials | Comments Off on Get Git

Covid, False Positives & Bayesian Probability

This is a repost from 2009. It talks about breast cancer, but applies equally well to Covid testing, given the high percentage of false positives (not to mention the more worrisome false negatives). We simply are not wired well for probability…

Yudkowsky poses the following canonical problem:

1% of women at age forty who participate in routine screening have breast cancer. 80% of women with breast cancer will get positive mammographies. 9.6% of women without breast cancer will also get positive mammographies.

Continue reading
Posted in Essentials | Comments Off on Covid, False Positives & Bayesian Probability

New site for my writing

I’ve created a site for my non-technical writing. Check it out.

Posted in Essentials | Comments Off on New site for my writing

.NET Maui!!!

Check out this lineup of guests

What can I say… an hour of amazing Maui goodness, including:

  • What is Maui?
  • When is Maui?
  • How does it affect Xamarin.Forms?

Posted in Maui, Xamarin.Forms | Tagged | Comments Off on .NET Maui!!!

MonkeyCache step by step

The amazing James Montemagno of Xamarin/Microsoft has done it again. He has created an incredibly simple cache, named MonkeyCache, that you can get up and running very quickly.

In this post I will walk through setting up and using the cache, step by step.

Continue reading
Posted in Essentials | Tagged , | Comments Off on MonkeyCache step by step

DataTemplateSelector

Suppose you have a collection of items and you want to display them in a ListView (Xamarin.Forms). The catch is that you want to change the display of each item depending on its state or some other code-based attributes.

At first glance this would seem very difficult, and you’d have to modify the instances in the collection to do so. This is where the DataTemplateSelector comes in.

In short, you create two or more data templates — one for each way you might want to display one of the items in your collection — and then you tell Xamarin.Forms, by way of the DataTemplateSelector, which data template to use.

Continue reading
Posted in Essentials, Xamarin.Forms | Comments Off on DataTemplateSelector

Jon Galloway: VS Mac & More

Jon Galloway. Friend of the show, PM on Visual Studio Mac, amazing guy.

Links:https://visualstudio.microsoft.com/vs/mac/
https://dotnet.microsoft.com/platform/community/standup
https://twitch.tv/jongalloway
https://github.com/SteveSandersonMS/CarChecker

Posted in Mac, Visual Studio, Xamarin.Forms | Tagged | Comments Off on Jon Galloway: VS Mac & More

C# 9 Part 3 – Patterns

Jared Parsons – lead of the C# Compiler Team at Microsoft

Posted in C#, Essentials | Tagged | Comments Off on C# 9 Part 3 – Patterns

C# 9 – Part 2

Jared Parsons – lead of the C# Compiler Team at Microsoft

Posted in C# | Tagged | Comments Off on C# 9 – Part 2

An Alert From the ViewModel

Quite often we want to send an alert from the view model, but you can only do so from the view. We’ve tackled this problem in the past but we think there is room for a simplified and clear step by step explanation.

Continue reading
Posted in Essentials | Tagged , | Comments Off on An Alert From the ViewModel