Hi there 馃憢

having fun with tech
winston transport blog post cover

Winston Transports??

Brief Introduction to what is winston? Winston is a node package that provides a simple and universal logging library. It supports multiple transports, such as file, console, and syslog. Winston is easy to use and can be customized to meet your specific needs. Did you see the words multiple transports and customized in the above definition of winston (that I asked Google Bard to write)? Yeah, winston is probable the most sophisticated and customizable logger out there....

May 21, 21051 路 3 min
blog cover

Functions in Memory (Stack)

Checkout my twitter thread explaining how functions work in memory (stack). Things to keep in mind to understand functions behavior When a function is called, it gets in the stack, and stays there until its execution. The function completes executions, it gets off the stack and returns to the program flow. Here鈥檚 a program with a main function that call some other functions and that function call some other function. As they get called, they are loaded into the memory stack....

September 18, 18030 路 1 min
italic fonts blog post cover

Italic Fonts

Making fonts italic in your code editor or your terminal can be hard since there鈥檚 not such default visual settings that you can just turn on like to make the fonts bold (only some of them have it). But italic fonts look great and really cool if you have a font that support font ligatures. Terminals Here are some setting to add in your terminal settings to make the fonts go italic....

September 6, 6030 路 2 min
Rest with Rust Cover

REST with Rust

Calling REST APIs with rust may seem like a daunting task at first because of the steep and long learning curve of rust as a programming language. We know that contacting with REST APIs is something that we come across creating almost any other app that comes to mind. We鈥檒l make use of the reqwest library to make our request that is essentially a higher level implementation of the default HTTP client....

September 4, 4030 路 4 min
SOA Blog Cover

Should I adopt Service Oriented Architecture (SOA)?

The main principle of Service-Oriented Architecture is to segregate the concerns to move the business logic and the vulnerable data layer off to the API routes directly. In this, we isolate different parts of the logic in such a way that makes sense. In this three layer or tier system we usually divide the logic of a route or a function of the application into Controller, Service, and Data Access Layer....

August 31, 31030 路 5 min
what made a developer? cover

what made me a developer? 馃

Disclaimer: I鈥檓 directly writing it in the editor, so wear your seatbelts before starting, 鈥榗uz I don鈥檛 know where we鈥檒l land. TLDR; Here are some things that you can learn from my journey, 鈥榗uz I know I鈥檓 bad at talking: Learn in public, start out on Twitter or any other community. Don鈥檛 start with YouTube, start with something more structured. Don鈥檛 hesitate to ask and reach out to people when in a problem....

August 17, 17030 路 4 min
trpcBlogCover

The type-safe guide to tRPC

This isn鈥檛 the best guide to use tRPC, probably there are better ways to do this, like create-t3-app, the best I could find. Most of what is here is from the tRPC鈥檚 documentation, you can refer them, super helpful and easy to read. What is tRPC? tRPC is a typescript library, so to say, that makes it easy to create type-safe APIs without schema or any sort of code generation....

July 27, 27030 路 5 min
Spinning up MySQL with Docker

Spinning up MySQL Database with Docker

This is the best way to start since you don鈥檛 have to install MySQL locally and configure it and run into like thousands of issues and in the end not being able to make it, docker makes it much easier for me or probably for you also to spin up a MySQL database in minutes. To get started follow these steps: Pull the latest image, docker pull mysql:latest You don鈥檛 have to do it manually it will download automatically if not installed when we spin up the container....

July 21, 21030 路 2 min
Programming with a Dual-Core...

Programming with a Dual-Core...

This was originaly posted here on dev.to. When we search on YouTube about programming desk setups this isn鈥檛 the result for sure, go and search for yourself!. Got amazed by those ultra-wide, vertical, dual or triple monitors with a MacBook, XPS or a custom build high-end PC on the side placed on standing desks followed by ergonomic chairs. If you are someone with an outdated PC or a Chromebook here are some awesome lightweight replacement for heavy IDE or dev tools that can run on your browser only....

December 13, 13030 路 3 min