12 Program Challenge #5 Chain Analyzer done!

Chain Analyzer – retro

Chain Analyzer has been considerably more challenging than I was predicting. But it was satisfying in a long time I hadn’t filled so great as when I was ironing out final issues of my project.

Especially when it was so underwhelming at the start – I will be honest with you. After the first week, failure seemed a real possibility.

Working with Roslyn was so different from day-to-day C#. I’ve spent a huge part of my time reading the documentation. And then when I thought I had finally grasped it. Soon enough, I was reading theory again.

It was satisfying to work, and I am happy with the results:

My project is available on NuGet; It even has a simple wiki!

So what it can do?

It will show you when your Method Chain is too long.That’s not all. It will also help highlight the chains when you jump over too many classes.

What it won’t do is fix it for you, Roslyn has an auto-fix functionality, but I wasn’t able to make it work in time. In fact, outside tutorial, I haven’t touched it. 

Who knows If enough people are using it, I will add that functionality.

But for now, I am done with project 2!

Time for Project #3! Timer (10+2)*5

Some time ago reading AngryWeasel blog. I have learned about productivity method called the (10+2)*5 and it worked well for me. 

As the Author explains, it works like this:

How it works

It’s called “(10+2)*5” and here’s why:

  • 10 – Work for ten minutes with single-minded focus on moving toward completion on a single task. Ten minutes, and that’s all you’re allowed to do is work, work, work. No cheating, because (DING!) you actually get a break when you’re done…
  • 2 – After ten minutes of sweaty, dedicated work you get a 2-minute break to do whatever you want—drink coffee, read 5ives, call your bookie, whatever. When the two minutes are up, it’s back to work on the next task on your list. This is important.
  • *5 – You’re going to iterate this four more times for a total of one hour’s working/breaking

Important squirrely rules

  • You do not need to finish your task or your project in ten minutes; you just need to move it forward
  • If you finish a satisfying amount of work in fewer than ten minutes, STOP, and go right to your 2-minute break, than start another 10-minute dash
  • Do NOT skip breaks! You are not allowed. Breaks cannot be missed. Period. Go surf the web. Now. Seriously. GO!

In the past, I was using this interval timer for it. But honestly, it was little to busy. To cumbersome in configuration and it didn’t have one feature I want it to have – easy skip to break button. 

So This is the goal

Mock of the screens – no they weren’t done in paint. If they were they would look much better.

Create a simple app that displays on start two pieces of information: Timer showing interval count and start button. When you start the app, it will start the count down for a first work part.

Then it will make distinct sound and automatically move to break.  After another different sound, it will move back to work. At any work moment you can do one of two things:  skip-to break or stop.

For now, no pause option.

Why such a simple app.

After Roslyn, it may seem like a step-down. 

But I have a few reasons for it:

  • December is busy months.
  • I will have three new technological subjects here.
  • I have a much bigger project planned for January, and I need December to see if it is possible.

So why I am saying it won’t be so easy?

  1. My know-how about hosting app online is bad. I have this blog hosted, but I will need something much cheaper for this project.
  2. I want to use Blazor, which I haven’t used yet.
  3. If possible, I want to make this app a PWA

So that all for now! Wish me luck!

Chain Analyzer was fun lets hope this project will be us fun.

Dodaj komentarz