Gabriel Weyer
Member since Apr 19, 2014
Jul 22, 2024
www.meziantou.net
# Stop the script when a cmdlet or a native command fails
$ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true
Mar 6, 2024
learn.microsoft.com
- Boundaries are explicit
- Services are autonomous
- Services share schema and contract, not class
- Service compatibility is determined based on policy

You can skip the part about Indigo (WCF).
Feb 3, 2024
infrequently.org
The majority of devices are slow. We should be using less JavaScript, not more.
Jul 1, 2023
www.allthingsdistributed.com
- Use synthesis, not memorisation
- Hand written notes are better for retention (even when compared to stylus)

The Cornell Method: 1/ title, 2/ notes, 3/ keywords/questions, and 4/ summary
Oct 11, 2017
williamdurand.fr
The PATCH method requests that a set of changes, described in the request entity, must be applied to the resource identified by the request’s URI. This set contains instructions describing how a resource currently residing on the origin server should be modified to produce a new version.
Jan 15, 2023
hbr.org
It’s important to have a policy limiting scheduled work—ideally to no more than 12 hours a day, and exceptionally to no more than 16 consecutive hours. At least 11 consecutive hours of rest should be provided every 24 hours. Furthermore, employees should not be scheduled to work more than 60 hours a week and not be permitted to work more than 80 hours a week.

Naps can be very effective at restoring performance, and if they are brief—less than a half hour—they will induce less grogginess upon awakening.

Human beings are amazingly sensitive to light. In fact, the color of light may also be important. Exposure to shorter wavelength blue light is particularly effective in suppressing melatonin production, thereby allowing us to stay awake during our biological night. Photon for photon, looking up at the blue sky, for example, is more effective in both resetting our biological clock and enhancing our alertness than looking down at the green grass.
Dec 26, 2022
devblogs.microsoft.com
Migrate libraries first, push as much code as possible into libraries

Use YARP, SystemWebAdapters. Possibility to share session state and authentication.

Docs: https://learn.microsoft.com/en-au/aspnet/core/migration/inc/overview?view=aspnetcore-7.0
Dec 26, 2022
seankilleen.com
- You should be rooting for the interviewee
- You should be having a conversation
- Study resume, tailor questions
- Leave enough time for questions at the end
Dec 21, 2022
michaelmcneil.net
Use mutation testing instead of code coverage to improve quality.
Dec 20, 2022
tooslowexception.com
Heap vs stack is an implementation detail. Instead reason in terms of lifetime, sharing, and identity.
Dec 16, 2022
devblogs.microsoft.com
Manage common dependencies for multiple projects in a single place.
Dec 16, 2022
learn.microsoft.com
The dotnet user-jwts command line tool can create and manage app specific local JSON Web Tokens (JWTs).
Dec 16, 2022
thoughtbot.com
Continuous Integration bottlenecks
Address less urgent production errors
Lack of confidence to deploy new features to production
Instrumentation
Dec 16, 2022
eugeneyan.com
provides visibility in a scalable way
tracks how productive (or unproductive) I’ve been
it documents all artifacts I’ve created or reviewed
285 items,items/page