Skip to content

Instantly share code, notes, and snippets.

View byme8's full-sized avatar
🏠
Working from home

Stanislav Silin byme8

🏠
Working from home
View GitHub Profile

Technical Component Comparison Across Scenarios

Architecture Component Scenario 1: Phased Essential Scenario 2: Hybrid Solution Scenario 3: Full Solution Notes
Middleware Layer
API Integration Basic endpoints only Full integration Comprehensive with optimizations 2w, 3w, 5w
Data Synchronization Essential data only Standard synchronization Advanced with delta updates 1w, 2w, 6w
Data Transformation Removed Simplified Full implementation ??
Business Logic Removed
@byme8
byme8 / 0 Estimation.md
Last active May 5, 2025 18:16
Estimation

Experienced Team

Experienced professionals never proceed directly to completion, but follow from the starting point along an arc, consisting of points equidistant from both the starting point and the result point (circumference).

After traveling halfway, the team usually stops to think and rushes toward completing the task. (fig. 1) Thus, the formula for expected execution time looks like this:

t = R × (π + 1) + β

where t is the time spent to achieve the goal, and R is correctly estimated initial timeframes for project completion.

@byme8
byme8 / NodaTime.md
Last active September 4, 2024 09:06

Why DateTime is a problem

If you’ve ever worked on a C# application that handles dates and times, chances are you’ve run into some frustrating issues with DateTime. It might seem simple at first—just store the date and time, right? But as your app grows and starts dealing with users across different time zones, things can get messy fast.

A Simple Example

Let's start with a simple example. Your app has to create an appointment and show it to the user on some webpage. The model for it may look like that:

public class AppointmentEntity
{
@byme8
byme8 / DuckInterface.md
Last active January 5, 2021 09:27
DuckInterface

DuckInterface

I was playing with new .Net 5 and the Source Generator lately and got an idea that it is possible to add "duck typing" support to C#. I would say it is purely academic(no one will use it in production I hope), but it is fun stuff so I decided to try.

The nuget package with results you can find here

Nuget

The repository is here: https://github.com/byme8/DuckInterface