Dmytro Palaniichuk 🇺🇦
banner
dpalaniichuk.bsky.social
Dmytro Palaniichuk 🇺🇦
@dpalaniichuk.bsky.social
Front End Team Lead @promova_app (promova.com) | Ocean 🌊 lover 🏄‍♂️ , 🐶 🐱 owner

https://snagon.me/palaniichuk
This is composable caching time
January 9, 2025 at 11:37 PM
So moreover to calculate Edge ad fast data transfer as well I've ended up with such

Function Duration: $0.2052
Invocations: $0.0144
Edge Requests: $0.064
Data Transfer: $0.0225
Total: $0.3061 (≈ $0.31/day)
Projected Monthly: $9.33
December 13, 2024 at 1:59 PM
let's imagine we out off pro limits and Vercel starts to charge us

So:

12k invokes (12h) → 24k invokes (24h)
Duration: 0.57 GB-Hours → 1.14 GB-Hours
Cost breakdown:

Duration: 1.14 GB-Hours * $0.18 = $0.2052
Invocations: 24k * ($0.60/1M) = $0.0144
Total daily: $0.22
Monthly est.: $6.60
December 13, 2024 at 1:43 PM
Day 5,6,7 ✅, a bit skipped during weekend
🎄

To be honest , never used Union plus readonly for immutability + spread to make strict constrain
December 9, 2024 at 6:22 PM
Day 4 is done, real one case) Nothin interesting to share, but keep posting, to track the challenge. Keep going
DebugDecember.com
#DebugDecember
December 4, 2024 at 11:26 PM
Day 4 for advent )
Neve did this strict type with union, I know it's possible to strict by range year in TS aka instead of number allow only allow range 1975-2024, maybe via custom guard function . But I did much simple
December 4, 2024 at 10:55 PM
🚀 Proposals to Watch

- Source Phase Imports: Customize module imports.
(github.com/tc39/proposa...)
- Deferring Module Evaluation: Execution-ready modules without immediate eval.
(github.com/tc39/proposa...)
December 3, 2024 at 11:11 PM
🔐 WebAuthn

- Web Authentication API: The future of passwordless and secure MFA.
(developer.mozilla.org/en-US/docs/W...)

Thread ⤵️
December 3, 2024 at 11:11 PM
🔍 Array Enhancements

-🔄 toSorted: Sort without side effects.
-🔙 findLast: Reverse-order searching.
-➕ toSpliced: Non-destructive splicing.
-📦 with: Create updated arrays with ease.

📅 Temporal API

- Modern date handling for real-world applications.
(developer.mozilla.org/en-US/docs/W...)

Thread ⤵️
December 3, 2024 at 11:11 PM
- 🛠️ Yalc (github.com/wclr/yalc): Local package development like a pro.
- 📦 npm Workspaces: Manage multiple packages from a single root.

⚡ Syntax & Features

- ➕ Logical Assignment: Assign smarter with ||=, &&=, and ??=.
- 🛠️ Error.cause: Debugging just got clearer.

Thread ⤵️
December 3, 2024 at 11:11 PM