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 |
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
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
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
🚀 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
August 13, 2025 at 4:23 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
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
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
Rewriting a critical service? Use the Ambassador Pattern: route real traffic to both old & new versions via NGINX, validating features & measuring performance—risk-free. Modernize with confidence! #SystemDesign #DevOps #FeatureParity #PerformanceTesting
July 27, 2025 at 12:11 PM
Need to monitor a containerized app without code changes? Use the sidecar pattern! Add a monitoring sidecar to your pod to introspect and visualize processes, all without touching your main app. Perfect for legacy and modular deployments. #Kubernetes #DevOps
July 26, 2025 at 8:54 AM
April 22, 2025 at 1:59 PM
March 14, 2025 at 1:06 PM
March 11, 2025 at 8:00 PM
Working my way through "Rust atomic and locks"

#learning #rust #oreilly #programming
March 11, 2025 at 6:56 AM