RSSAmplifier

Blog

Ahmed Hossam

Recent content on Ahmed Hossam

/RSS feed ↗8 posts

Latest posts

Imprisoned In My Own Mind

For a long time I was always convinced that I need to be “somewhere” to start doing what I actually want. For example I always wanted to start my own business/startup, but I was always saying “I only can start a startup when I move to the US”. Not in Egypt, not even in Europe, not in Canada, just the US. But lately I started to realize that this mindset is just putting…

I Graduated, now what?

The Tiger Book: 2 Lexical Analysis

The lexical analyzer (lexer) takes a stream of characters and produces a stream of names, keywords, and punctuation marks; it discards white space and comments between the tokens. Lexical tokens have types in any programming language, example: ID foo, x, n14 NUM 73, 0, 082 REAL 3.14, 10., 1e9, 0.5 COMMA , NOTEQ != LPAREN ( RPAREN ) Punctuation tokens such as IF , VOID , RETURN constructed from…

The Tiger Book: 1 Introduction

A compiler is built from many modules (lexical analysis, parsing, semantic analysis, IR translation, optimization, code generation, etc). Each module does a specific job, but they must work together. The interfaces between them are just as critical as the algorithms inside the modules. Any large software system is much easier to understand and implement if the designer takes care with the…

How I Made ChatGPT Run on My Terminal without an API key?

I had a problem where I wanted to stop leaving the terminal and going to ChatGPT back and forth just for a quick question. For example: git commands, I always forget most of git commands and I want to ask ChatGPT how can I do something using git. Also to take a suggestion for how to do something using bash (write a bash script to replace every space with a ‘_’ for all the files in that…

I'm Done Pretending, I'm Officially All In Agentic Coding

Why I Quit Competitive Programming

TL;DR # I tried competitive programming for a whole year and it didn’t work out well for me, I didn’t enjoy it and didn’t achieve anything remarkable as well. So it’s better to take the L and move on and try other things I wanted to try, but I couldn’t because of competitive programming. For the rest of the article I’m going to talk about the sunk cost fallacy.

About

Hi, I’m Ahmed Hossam, a programmer, computer science student, chess fan, and aspiring engineer. Currently I’m a Software Engineer at TJM Labs . I build AI bots to automate data entry. You can find me on: Github Twitter (X) Youtube Linkedin