/ thearyanahmed

Aryan Ahmed

I'm a programmer. I build stuff

My latest writings...

Unusual Wingbeats

Butterflies and moths are fascinating, winged creatures with a range of unique defenses. Despite having a slower and 'unstable' flight compared to birds and other insects, butterflies' flight is a synchronized pattern that helps them avoid predators. Interestingly, some butterflies sport bright colors as a warning signal—they’re often poisonous, deterring predators. Non-poisonous butterflies have even evolved to mimic the colors and flight speed of poisonous ones, enhancing their camouflage.

Date

Implementing HyperText Transfer Protocol with RUST… maybe?

কখনো REST Api বানিয়েছেন? হয়ত কোনো library (router) বা framework ব্যবহার করেছেন। খেয়াল করেছেন যে HTTP, যেটা `GET /path?query=value HTTP/1.1` এরকম কিছু দিয়ে শুরু হয়, সেটা আমরা কিভাবে `$request` (type) variable (object) দিয়ে আমরা আমাদের application layer এ interact করতে পারি?

Date

Interview Preparation নিয়ে কিছু কথা

অনেকে job interview এর preparation নিয়ে কিছু question করেছেন। So this is my two cents. এখানে আমি preparation নেয়ার কিছু বিষয়ে লিখেছি । কিছু resource আর আমার experience নিয়ে (subjective) আলোচনা ।

Date

What happens when ...

যখন একটা site (eg: thearyanahmed.com) এ যাওয়ার জন্য browser এ "t" লেখেন, তখন কি হয়? ভেবে দেখেছেন?

Date

Cracking 256 bit hash

আচ্ছা, hash crack করা কতটা কঠিন? এখন তো অনেক powerful server আছে। GPU ও। How does hashed text help us against probably the only way of cracking it?

Date

Port 0

যখন একই application একাধিক instance এর জন্য Port conflict হয় , তখন PORT 0 ( zero ) ব্যবহার করার solution চিন্তা করেছিলাম। এটি করে Operating System একটি available port assign করে। এর ফলে, একাধিক process একই port এ allocate হবে না ।

Date

Strings

String হল এক বা একাধিক character এর sequence. বর্তমানের বেশির ভাগ programming language এই string data type থাকে। তাহলে language আলাদা হতে পারে, কিন্ত string তো একি। আমাদের string এ focus থাকা উচিত। Language এ না। তাই না?

Date

A Brief Journey Into Operating System

Modern day computing এর fundamental একটা component হল OS. যদিও বেশির ভাগ সময়ে আমরা Operating System এর end user হিসাবেই ব্যবহার করে থাকি (Mac, Linux, Raspberry Pi, Android)। তবে OS কিভাবে কাজ করে তা নিয়ে বেশির ভাগ সময় ভাবে না। OS খুব সুন্দর ভাবে back stage থেকে পুরো program পরিচালনা করে। In this series of articles, I'll be exploring into OS and share my journey.

Date

Relocating to Germany

What you need to relocate to Germany from Bangladesh, based on my experience.

Date

Kubernetes Cheatsheet For Me

We need to work with a lot of bells and whistles with kubernetes. Often it gets clumsy. This is my personal note on k8s

Date

Differences Between SSL and TLS

In the world of online security, SSL and TLS are two terms that often come up when discussing encrypted communication. They both play a crucial role in ensuring that our sensitive data remains safe while traversing the vast expanses of the internet.

Date

Dynamic trait to a concrete type in Rust

As rust does not support interface , sometimes it can be difficult to cast a dynamic typed variable to a concrete type. Lets take a look how we can achieve similar functionality.

Date

Prepared statements in SQL

A prepared statement is a feature used to execute the same (or similar) SQL statements repeatedly with high efficiency. It is also used to prevent sql injections. This is my take, on what happens behind the scene.

Date

Building a URL shortener with Rust and Redis

As rust is being adopted by lots of different companies for solving various purposes, I’m trying to adopt rust. In this article and the series of articles following this will contain my journey to build a simple program, an url shortener, with rust.

Date

Rust: Memory, Ownership and Borrowing

Rust has a pretty good approach to handling this. There is a bit of learning curve. But if you skip it for any reason, or don’t understand it quite well, then it’ll be difficult for you to write good rust code.

Date