Safwan Parkar's Avatar

Safwan Parkar

@safwanyp.com

24 Fullstack Engineer | Node.js | Currently working at IKEA CQRS, Ports and Adapters and Event-Driven Architecture are just some of the things I love. Building @kommentar.dev πŸ“MalmΓΆ, Sweden safwanyp.com

456
Followers
445
Following
409
Posts
29.09.2023
Joined
Posts Following

Latest posts by Safwan Parkar @safwanyp.com

ah nevermind i just saw this!
bsky.app/profile/dani...

27.02.2026 15:22 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

as i see it, the number of downloads i see are simply "how many times was this package pulled and installed".

with the example of vite, where there was a spike probably because of a rogue CI, isn't it still counted as a download?

just trying to understand what the aim of this is. super curious!

27.02.2026 15:19 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Anybody following me that could give this a push?
We're trying to get as many people involved as possible!

24.02.2026 19:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Reminder that the first MalmΓΆJS meetup is happening in less than 24 hours.

A few spots still remain.

malmojs.com

24.02.2026 19:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Post image

I’ll be in MalmΓΆ on Feb 25 for the first edition of MalmΓΆJS.

We’ll talk about running Node.js at scale: real performance, backpressure, event loop limits, and systems that fail and recover safely.

πŸ‘‰ luma.com/q52blone

16.02.2026 15:30 πŸ‘ 6 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

i started working on a tool that will generate type declarations from a json schema. it's still a very early WIP, but good lord is it fun.

have a look: github.com/safwanyp/jso...

drop a ⭐, use it and leave some feedback!

3/3

05.02.2026 09:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

we use json schemas to build and enforce contracts. everything starts from a json schema in the team.

the problem is that json schemas cannot be use as-is to get the lovely intellisense when writing code. devs (naturally) don't want to sit and write types after they just wrote schemas.

2/3

05.02.2026 09:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

one of the biggest challenges we face in my team while in development, is types. specifically, the generation of types.

our server-side apps are written in JS with JSDoc annotations for type hints. lint tools also help with enforcing these types.

the issue however, is creating these types.

1/3

05.02.2026 09:01 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

i'm helping organize the first event for learning and sharing all things JS in MalmΓΆ, Sweden.

Limited spots available. If you are or know someone in MalmΓΆ/Γ–resund region who would be interested, please do share!

Looking forward to seeing you there 🫑

02.02.2026 21:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

question - how are agent skills fundamentally different from MCP servers?

02.02.2026 21:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ”₯ NEW BANTER: "Scaling Node.js with the Right Signals: ELU"

CPU utilization is lying to you.

Your auto-scaler adds pods while your actual bottleneck gets worse.

Luca and I explain why ELU is the metric you should be watching.

πŸ“… Feb 4th

02.02.2026 16:59 πŸ‘ 15 πŸ” 5 πŸ’¬ 2 πŸ“Œ 1

curious to know - in cloud native tools like GCP's Cloud Run, is there a way to trick the service into using ELU as a trigger to scale? as far as i know, CPU is what they use and there's no way around it πŸ‘€

02.02.2026 21:47 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

stay in bed the rest of the day, type of day

17.08.2025 17:52 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Email is Easy Everyone knows what an email address is, right?

Email addresses are very simple, and you will score highly in this quiz.

e-mail.wtf

17.08.2025 17:15 πŸ‘ 278 πŸ” 129 πŸ’¬ 40 πŸ“Œ 52
this post, printed out

this post, printed out

16.08.2025 22:31 πŸ‘ 330 πŸ” 47 πŸ’¬ 12 πŸ“Œ 5

tests are a sign of weakness anyways 😈

16.08.2025 16:13 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

the only issue is that if I want to be able to use @kommentar.dev to load comments, i cannot do SSG (afaik).

might have to go with astro's islands. let's see

16.08.2025 13:53 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

i want to make it super super super simple and minimal.
no fancy colors or styles.

might add a dyslexia-friendly font into it as well. i don't know if they actually help, so maybe someone else can attest to that.

16.08.2025 13:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

i am gonna nuke my website repo locally, and start from scratch. I didn't spent too long designing it to my liking and I was fine with it. but now i cannot spend more than 1 min on it without feeling like it could be better.

16.08.2025 13:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

well to be fair, it's mostly on me cuz i don't follow along the dates/schedules ugh

16.08.2025 10:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

didn't realize how stressful it is to get tickets to tech confs

16.08.2025 10:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

alright yeah that makes sense. thanks!

16.08.2025 09:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

so if i understood this right, the idea is to keep state local to each "component"? by component i don't necessarily mean the actual `.tsx` file, but just the particular module or something.

i'm still figuring out frontend lol

16.08.2025 09:40 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

i need to chill with these posts. i'm too hyped from my energy drink

15.08.2025 22:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

i have to move in 15 days. don't really have a lot of stuff, but damn does packing suck

15.08.2025 22:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

overengineering really is a thing, and it didn't make sense until i tried to implement CQRS into a simple application I was working on.

the pr to remove that implementation made me feel like i could finally rest.

15.08.2025 22:49 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

primes are mind boggling. it's why i want to watch The Prime Target tv show. always seems fun to watch math-related stuff even though my brain is too small for it lol

15.08.2025 22:30 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

no opinion sucks here! the "outsider" perspective is always useful imo

anyway, p2p was what I was thinking tbf. keeping the chats public would not be great imo, simply cuz well, people might talk about some private things in chats who knows!

15.08.2025 21:27 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

amazing and congrats! now i can start trying lol

15.08.2025 18:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

okay yeah that makes more sense.
thanks a lot!!! it's definitely something i have been wondering about for a while, but glad to know something like germ exists

15.08.2025 18:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0