Fahim khan
morfes.bsky.social
Fahim khan
@morfes.bsky.social
Senior Software Developer | Full stack developer | MEAN | MERN | Golang | Rust | Javascipt | Typescript | Nodejs | Nestjs | React | Angular | Nextjs | Expressjs | AWS | Psql | Mongo | Neo4j | Backend | Frontend | Web3 |
One of the key components of designing a distributed system is deciding when the “distributed” part is actually unnecessarily complex.
#SystemDesign #DistributedSystems #SoftwareArchitecture #TechLeadership #EngineeringDecisions #SimplicityMatters #DesignTradeoffs #ComplexityManagement
September 16, 2025 at 6:34 AM
Which old sayings are true and which are myths?
Do snice guys finish last? Or first?
A quitters never win? Or is stubbornness the real enemy?
Does confidence rule the day? When is it just a delusion?

#LeadershipMyths #SuccessTruths #ConfidenceVsDelusion #CareerWisdom #MindsetMatters #GrowthMindset
August 29, 2025 at 10:33 AM
August 22, 2025 at 5:59 AM
ETag in HTTP empowers smarter caching! By allowing servers to signal resource changes, it prevents redundant downloads and saves bandwidth for both users and providers. Optimize your APIs with ETags for speed and efficiency. #WebDevelopment #HTTP #APIPerformance
August 21, 2025 at 1:44 PM
Placing a cache in front of your service can double capacity with just a 50% hit rate. A system that supports 1,000 RPS can now handle 2,000 RPS—half the load served by the cache, half by the backend. A simple design choice, big scalability gains.
#SystemDesign #Caching #Scalability
August 20, 2025 at 5:09 AM
You can treat a buffer as a file in Rust using std::io::Cursor. This lets you read from and write to bytes just like you would with a file, making buffer manipulation seamless and more intuitive. Great for working with in-memory data! #RustLang #IoCursor #SystemsProgramming
August 16, 2025 at 7:30 AM
Every programming language has some flaws: it either has macros or it doesn't. #Programming #CodeLife #DevThoughts
August 15, 2025 at 5:06 AM
🚀 CSS @function lets you write custom functions for dynamic, reusable styles—like variables, but parameterized! Supported in Chrome 139+ only. It’s a game changer for design systems and utility CSS! #css #frontend #webdev #cssfunctions
Read more:
w3.org/TR/css-mixins-1/
una.im/5-css-functions/
August 14, 2025 at 4:12 AM
In Javascript You can enhance functions in two powerful ways: Proxies let you intercept calls dynamically, while decorators pattern wrap functions for extra behavior like logging. Both offer flexibility—choose based on your needs! #JavaScript #TypeScript #Decorators #Proxies #WebDev
August 13, 2025 at 4:20 AM
"Every line of code represents an ethical and moral decision."
—Robert C. Martin (“Uncle Bob”), from the chapter "Who Are We?" in We, Programmers: A Chronicle of Coders from Ada to AI
#CodeEthics #SoftwareCraftsmanship #UncleBob #WeProgrammers
August 12, 2025 at 7:32 AM
Made config changes in a running Docker container? Use docker commit to take a snapshot and create an image from its current state. Not ideal for production, but handy for quick backups and sharing tweaks in a pinch! #Docker #DevOps #Container #Snapshot #dockercommit
August 11, 2025 at 4:57 AM
Combine Docker’s HEALTHCHECK with the --restart flag for robust container monitoring! HEALTHCHECK tracks app status, while --restart always ensures automatic recovery—keeping services online with minimal effort. Perfect for seamless uptime! #Docker #Healthcheck #Restart #DevOps #Containers
August 10, 2025 at 7:28 AM
CSS if() empowers you to run logic checks and conditionally style elements based on any property or attribute—like data-status—right in your CSS. Achieve dynamic UI states (error, pending, complete) without JS, making your styles smarter and context-aware! #css #logic #webdev
August 9, 2025 at 9:03 AM
Unlock union types in TypeScript by using the all-powerful number keyword with array types! 🧠 Map any array's element types into a union, enabling flexible, type-safe utility functions. Level up your TS game! 🚀 #TypeScript #CodingTips #DevHacks #TypeSafety
August 8, 2025 at 4:09 AM
TypeScript’s type system lets you extract inner types using infer and guide logic with conditional types. Think pattern matching for types! Combine both for powerful compile-time type transformations. 🔍💪 #TypeScript #Infer #ConditionalTypes #TypeLevelMagic #TSFeatures #DevTips
August 7, 2025 at 5:08 AM
With TypeScript’s infer and mapped types, you can extract hidden types to make type-safe helpers for ORMs instead of using any. This helps create safer, smarter filter params. #TypeScript #infer #MappedTypes #TypeSafety #ORM #DevTips
August 6, 2025 at 5:03 PM
Mapped types: transform generic object keys into new types using key mapping and template literals. Recursively create new signatures per object key. Enables scalable, type-safe contracts at the type level. (see image)

#TypeScript #StaticTyping #MappedTypes
August 6, 2025 at 4:54 AM
Bitwise logic cuts through noise.

Checks if `x` is a power of 2.
No loops. No divisions. Just truth in bits.

#programming #bitwise #javascript #softwareengineering #devthoughts #computerscience
August 5, 2025 at 5:41 AM
Directories in Linux are just files with a clever purpose: each contains pointers to other files and subdirectories, not “stuffed folders.” It’s all about data structure, not storage. Every time you ls, you’re just reading a file mapping, not opening a real container. #Linux #Tech
August 2, 2025 at 2:58 PM
Engineering is not about building for building's sake. It's the art of problem-solving, where building is merely the path—not the purpose.
#Engineering #Innovation #ProblemSolving #STEM #Quotes #Motivation #Technology #Inspiration
July 31, 2025 at 8:36 AM
"It is not worth the bother of killing yourself, since you always kill yourself too late."
— Emil Cioran, The Trouble with Being Born
July 30, 2025 at 7:49 PM
CREATE INDEX ON support.tickets(status)
WHERE status = "open";

I was today years old when I found out you can have partial indexes

#sql #programming #webdev #postgtrsql
July 30, 2025 at 9:45 AM
July 28, 2025 at 4:12 PM
I came across this really neat trick to stream JSON to the client
github.com/M0rfes/multi...

This uses Content-Type: multipart/mixed and meros, a JS library to parse the data. That lets us stream separate chunks of JSON to the client in a single response.
#javascript #Golang #webdev
July 27, 2025 at 6:20 PM