Ahmad Hamze Homepage
  • Posts
  • Mapping Earthquakes Locations on a Map
  • Pictionary using websockets
  • AI Blogs
    • Chatbot with Vector Database and FastAPI
    • Medical Chatbot
  • Algorithmics Blogs
    • Recursion with Memoization
  • Automation Programs
    • Puppeteer vs Selenium
    • Selenium Speed Test
  • Cellular Automata
  • Infrastructure & DevOps
    • Chatbot Deployment
  • Mathematics
    • From random walk to diffusion
    • Simple C++ matrix calculation
  • Opinion Blogs
    • With due apology to front-end developers
    • Advice to my past self
    • Changing Jobs and Tech Stacks
    • Web Dev Learned Lessons
  • React Applications
    • React Trivia Quiz
    • Storybook with React
A React Typescript Trivia Quiz

This is a simple React + TypeScript + Storybook application, it’s a trivia quiz where the user answers a question and when all the questions are finished, they can see their score and the correct answers. In this blog, I will go over the most important parts of the code, which you can find here. Handling the data received from the API The code is in api/quizz-api.ts. The first thing to do is to create a type that handles the response returned by the API.

October 23, 2021 Read
Mapping Earthquakes Locations on a Map

Introduction This is a data visualization program made using processing.py, I made it a few years ago, however, I think it’s a great program that deserves recognition. You can find the code and the data used here. Data The program uses a csv file containing 2000 locations of earthquakes (longitude and latitude), the magnitude of the earthquakes, and the name of the place where they occurred (a string). Here is the source of the data

October 18, 2021 Read
A live pictionary using websockets

Introduction This is a project that uses websockets to create a drawing on a page and copy this drawing to another page instantly. If you’ve never heard of websockets before, here’s the main idea: You send data from your browser to a server using a “socket” which is a real-time connection that can send data back and forth. There is another computer that is connected to the server and will receive the data from it also using a socket.

September 18, 2021 Read
My first C++ console application

Matrix calculator for two by two and three by three real matrices This is a project that I did around three years ago, just after I finished taking my very first comprehensive programming course, it was about the C++ language. Back then I knew that there are many better options to do matrix calculation, mostly using the Python Numpy library. I also knew that there are many C++ libraries that provide matrix calculation, most notably Eigen.

July 29, 2021 Read
Lessons Learned From My First Web Dev Job

Recently I started a web development job as a front-end developer, here are a few things I learned so far. 1. Make sure to have the correct working environment As you might know, preparing the development environment is an essential step when you start a new project. In my case, the team decided to use Nix for package management (it’s awesome). The first problem I faced is that I am using Windows, and to be able to use nix on Windows you have to use WSL.

May 27, 2021 Read
Advice to my past self

Advice to my past self regarding programming In this blog, I talk about a few things that I wish somebody told me back when I started learning to program by myself, I hope you can benefit from this if you’re also new to programming. 1. Talk to real programmers who know what they’re doing Getting into the world of programming is quite easy, all you have to do is own a laptop, watch YouTube videos and try to build programs yourself.

March 4, 2021 Read
  • ««
  • «
  • 1
  • 2
  • »
  • »»
Navigation
  • About me
  • Skills
  • Projects
  • Blogs
Contact me:
  • Email: ahmadhamze@yahoo.com

Toha
© 2021 Copyright.
Powered by Hugo Logo