.NET
Don’t Use This LINQ Feature. It’s Bad. Code Cop #26
This video was about .Skip(x).Take(y)
versus .Take(x..y)
. The performance difference is minor for providing a range argument. The former tends to be more readable as well.
The New Way to Seed Your Database in .NET 9
The video recommends having a separate migration app. EF Core 9 brings new methods, for example .UserAsyncSeeding()
. Note: The video provides an example of essentially random/faked data.
Productivity
Why You’re Chronically Overcommitted
Desire for validation (especially from managers), fear of rejection and failure, comparison with others. Signs of being overcommitted: saying yes without considering your capacity, tackling whatever is most urgent, frequently working late hours or weekends to “catch up”, experiencing anxiety/resentment when asked for help, feeling worried or guilty when you have free time, constantly second-guessing your decisions. Some changes you can make: regularly assess your workload, practice regular emotional check-ins, use preemptive communication, create a “decision delay buffer” instead of automatically saying yes, ensure the tasks you’re doing a relevant to your goals (rather than any experience is good experience).