1 Followers
36 Following
188 Posts
Mythical Full Stack Developer. Prolific Reader. Serial Tea Sipper.
sitehttps://naiyerasif.com
githubhttps://github.com/naiyerasif
I've finally found the perfect use for GitHub CoPilot: generating Cloudformation templates and converting them to CDK constructs. Who writes these monstrosities by hand?

"Closing a Browser", 2024

White ASCII on transparent canvas.

Fun fact: the code which took Apollo 11 to the moon is available on github https://github.com/chrislgarry/Apollo-11/blob/master/Luminary099/LUNAR_LANDING_GUIDANCE_EQUATIONS.agc#L179

And if you look through it you'll see that - joyfully - it also includes original comments.

My absolute favourite thing about the Moon Code is that it includes comments like this: "TEMPORARY - I HOPE HOPE HOPE"

Apollo-11/Luminary099/LUNAR_LANDING_GUIDANCE_EQUATIONS.agc at master · chrislgarry/Apollo-11

Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules. - chrislgarry/Apollo-11

GitHub
The progressive enhancement story of major #frontend frameworks is pretty dismal compared to platform APIs. I can gradually and progressively adopt the `fetch` API but I can't do that with `ChangeDetectionStrategy` in Angular 18. Currently migrating an app using one of these frontend frameworks and shaking my head in dismay.
I've started evaluating @micronaut for a serverless function, and the experience has been pretty pleasant so far. I particularly like the performance and integration with Testcontainers. Let's see how it works out when I start dogfeeding it.

Today I learned that you can load images specific to a color scheme using the `media` attribute of `<source>` element.

```
<picture>
<source media="(prefers-color-scheme: dark)" srcset="logo_dark.svg">
<img src="logo.svg" alt="logo">
</picture>
```

Similarly, you can load a smaller file when people are on metered connection, present a richer image if a display supports wider color gamut, and so on. Wait, we are doing conditionals with HTML. Does this make #HTML a programming language?

We've been adding support for text animations to hatch.one and I think I may have created a my favourite thing ever. 🍪

https://stevegardner.hatch.one/cookie

Cookie Monster

Just an update here: I can verify that it’s safe to restore Node 22.x to your test suites on GitHub Actions

Update: Things turned out pretty well at the end. Apple Support accepted the display replacement under AppleCare+ so the machine was repaired without any cost. I did have to explain a bit about the usage pattern and why this was not supposed to be an accidental damage.

#apple #macbook #macbookpro