Syed Hassan Ali Bukhari

Syed Hassan Ali Bukhari

Aspiring computer scientist, learning, building software, exploring ideas, and documenting what I learn. Tech Lead of the COMSATS Software Engineering Society.

About Me

My path into computer science started outside the field, teaching physics at the secondary level for almost a year before switching to a BS in Computer Science at COMSATS. That background still shapes how I approach technical work. Understanding things clearly enough to explain them matters to me, not just knowing how to use them.

Curiosity about how things work under the hood often leads me down rabbit holes. Something catches my attention, and I end up investigating it, testing things, reading documentation, comparing what I find, and documenting what I learn on my blog, especially when it might be useful to revisit or share.

Most of my applications start with something I need that existing solutions do not quite offer, or with an idea for something new. Some of my projects grow into complete products that I make available for others, like Gradix and Xpense on the Play Store. As Tech Lead of the COMSATS Software Engineering Society, I also handle the society's technical work, from its website to the member portal I am currently building. Alongside this, I am going deeper into backend development, Linux, databases, deployment, and the systems side of software, along with the theory behind them.

Projects

CSES Website

Live

Official website of the COMSATS Software Engineering Society, built and maintained by me as its Tech Lead. Events, team and membership pages with a custom rotating team ring, all driven by plain JSON files.

AstroTypeScriptCSS


Motivation
The society had no website and no tech team, so I took it on as its Tech Lead. It needed to look credible to students and faculty, and be simple enough that the next person can update it without touching the design. Beyond the website, I am also building a member portal with member logins, role based access and a separate admin side, with its data stored in Supabase, which is still in progress.

Features
Home, About, Events, Team, Join and Contact pages, plus a public changelog that credits who made each update. A rotating team ring that works for any number of members, with autoplay, keyboard support and reduced motion support. Events split into upcoming and past automatically at build time. Per page titles, descriptions, canonical tags and a custom social preview image. Mobile Lighthouse scores of 92 for performance and 100 for accessibility, best practices and SEO.

Architecture
Built with Astro and strict TypeScript, static output, plain CSS with navy and gold design tokens, and a self hosted Inter font. Team members and events live in JSON files with schemas, so adding a member or an event is a data edit, not a code change. Deployed on Vercel from the main branch with a custom domain.

Challenges
The team page took 26 seconds to show its main content on a slow phone connection. The cause was the team ring: hidden panels still count as on screen, so all 22 member photos downloaded on page open. I changed it so only the first photo loads up front and each other photo loads just before its panel appears. That brought it down to 3.3 seconds. Member photos were also compressed from 35.4 MB to 4.9 MB.

Lessons
An optimisation that does not move the measured number is not a fix, so measure first and check again after. Keeping content in data files instead of pages is what makes a site maintainable by someone other than its author. Building for a changing team size from the start avoided a rewrite every semester.

Indus Detective: Pakistan Temperature Research

NASA Space Apps

My first small research project: how has Pakistan's temperature changed since 1981? Built as team lead for the NASA Space Apps Challenge 2026 using 45 years of daily NASA data for 38 places, with every trend tested for statistical significance and checked against Pakistan's weather service.

PythonStatisticsTypeScriptReactNASA POWER


Question
Has Pakistan's temperature changed since 1981, and where? I wanted to answer it from data instead of headlines, and this is my first small research project. It was built for the NASA Space Apps Challenge 2026, challenge Be an Earth System Trend Detective, at the Topi virtual local event. I led our team of six from COMSATS, team GitGoblins: I set the question, divided the work, collected what everyone produced and made the final calls.

Data and method
Daily NASA POWER data (MERRA-2 reanalysis) for 40 points across Pakistan, which fall into 38 grid cells of about 50 km, from 1981 to 2025: daily average, highest and lowest air temperature. Each trend is a Theil Sen slope per decade with a 95% range from a moving block bootstrap, tested with Mann Kendall, and across places a Benjamini Hochberg false discovery rate keeps the count of significant places honest. One rule gives every verdict: statistically significant, not conclusive, or no clear trend. NASA GISTEMP gives a second NASA view of average temperature, and figures from Pakistan's weather service (PMD), taken from press coverage of its 2026 report, sit next to ours. The website is only how the research is presented. The Python scripts that fetch the data and compute every result, and the decisions behind them, are in the repository.

Findings
Night time lows have warmed: the national change is +0.20 °C per decade over 1981 to 2025 (0.08 to 0.32), statistically significant, and in spring (February to April) it is +0.39 (0.24 to 0.57), where 36 of 38 places rise and pass the strict test. In summer (July to September) daytime highs fall at 25 of 38 places, though the national average of that is not conclusive, and the gap between day and night shrinks by 0.50 °C per decade (range 0.28 to 0.69), statistically significant. For average temperature the two NASA products differ: MERRA-2 shows no clear trend while GISTEMP is statistically significant, and both are shown as found. PMD's night time value sits inside our range and its daytime high value sits outside it. One caution: from 1998 to 2025 the national night time low shows no clear trend (−0.05 °C per decade, range −0.20 to +0.09), so the warming over the full period comes together with the level step near 1998. Both views are shown on the site.

Checks and limits
5 places and 30 daily values were compared with NASA's own Data Access Viewer and all matched. Tests on synthetic series with a known slope checked the slope, the false alarm rate and how often the range contains the true value. A place is a grid cell, not a weather station. Night lows show a level step between 1996 and 1999 in 36 of 38 places, and NASA documents that new satellite instruments entering the analysis can create level shifts in reanalysis series, so every result is also shown for 1998 to 2025 next to the full period. In tests the 95% ranges came out slightly narrow, so each range is best read as a minimum.

Challenges
The first highest and lowest temperature results turned out to be monthly extremes, not averages, so all of them were thrown away and rebuilt from daily data we averaged ourselves. Rainfall from the same source gave impossible values, so no rainfall trend is shown anywhere. A count of 27 places was corrected to the 25 that actually fall, and a wording bug in one significance statement was found, fixed and deployed.

Lessons
Start with a question, not a conclusion you want to prove. Data is evidence, not truth: even NASA data had things we had to catch, like monthly values that were extremes and rainfall that could not be used for trends. A result that is not conclusive is still a result. A finding is only worth as much as the process behind it, and someone else should be able to check it, which is why the checks, the decisions and the code are public. Leading a team means matching work to what each person can do well and not handing anyone the one task the whole project waits on.

Gradix: Academic Planner

Published

A university companion app for tracking subjects, GPA, and study tasks, with a dashboard for what's due and a custom accent color picker to make it yours.

KotlinAndroidMaterial3Room DB


Motivation
Built out of a real problem: tracking assignments and quizzes through WhatsApp messages, diary entries, and scattered notes was not working. Things were getting missed, deadlines forgotten, and GPA calculations done by hand on paper. Gradix exists to put all of that in one place, know what is coming, get reminded before it arrives, and always know exactly where you stand academically.

Features
• Subjects built out of Parts (Theory, Lab, Clinical, or whatever your program uses) and Components inside each Part, with custom names, weightage, and whether they happen once or repeat
• Dashboard showing Upcoming and Ongoing Work alongside Study Tasks
• Subjects tab listing every subject with credit hours, percentage, and GPA
• Progress tab breaking each subject down by its own components in a pie chart, plus overall semester GPA
• Tools tab with an Attendance Tracker (tracks classes attended and missed, and how many more you can afford to miss), Subject, Semester, and CGPA calculators, and an Improvement Effect Calculator to see what raising one subject does to your semester and overall CGPA
• Home screen widgets for upcoming assessments and pending study tasks
• Custom accent color picker with eight named options, each with its own personality, blue stays the default
• Full backup and restore to a JSON file
• Notification reminders a day before and the day of a deadline
• One-time onboarding guides for Dashboard, Subjects, and Progress

Architecture
Built with Kotlin, Material3, and Room DB for local storage. No accounts, no cloud, everything stays on the device.

Challenges
Gradix originally only worked for COMSATS, with Theory Mid, Theory Final, Lab Assignment, Lab Mid, Lab Final, and Quizzes hardcoded straight into the app. Anyone on a different grading structure, or at a different university, just could not use it properly. Version 2.0.0 tore that out completely and rebuilt subjects around user defined Parts and Components instead, so it now works for any HEC recognized BS program.
The codebase also had to be migrated entirely from Java to Kotlin at one point, a full rewrite done on its own rather than alongside any feature work.

Lessons
Hardcoding one university's structure into the app from the start limited who could actually use it, flexibility should have been the foundation, not something bolted on later. Also learned that small things like remembering a user's default averaging method or accent color choice go a long way in making an app feel personal rather than generic.

Nerd Stalker

In development

Desktop app that turns any GitHub username into a personal analytics dashboard: languages, commits, repositories and stars. Runs locally with no server, built as the capstone of the Python for Everybody Specialization.

PythonSQLiteChart.js


Motivation
Existing GitHub profile summary sites show what a profile looks like as a dashboard. I wanted to understand how that works by building my own version from scratch, as the capstone of the Python for Everybody Specialization, and make it something that runs entirely on the user's own machine.

Features
Enter a GitHub username and get a dashboard with a profile header, stat boxes, a contribution heatmap, a language breakdown, a commit trend, top and most active repositories, and a table of all repositories. Light and dark themes that follow the system. A tabbed window with Report, Profiles, Watchlist and Settings. Profile comparison, a recently fetched and recently viewed list, and a sortable table of every saved profile. GitHub token setup inside the app, no terminal needed. Available as a Linux AppImage, with the Windows build in progress.

Architecture
Written in Python. Public GitHub data is fetched and cached locally in SQLite, and the dashboard is an HTML page with Chart.js shown inside a native window using pywebview. Report and check work runs as queued jobs per username. No server to run, and packaged with PyInstaller.

Challenges
The interface went through three toolkits before it worked: tkinter, ttkbootstrap and Flet were all abandoned because native chart and web view libraries proved unreliable on Linux. pywebview solved it by showing the real HTML dashboard unchanged through the operating system's own web view. Later the app moved from a command line plus GUI to GUI only, with the logic rebuilt around a job queue, which also fixed a bug where switching tabs corrupted state. Packaging for Linux meant making the AppImage install its own launcher and icon and repair them if it is moved. Windows is the current work, since its web view and packaging differ.

Lessons
The dashboard was already HTML, so the interface should have been a window around it from the start instead of a rebuild in a native toolkit. Platform differences shape the design and are not a last step before shipping. Moving the logic into a job queue made the app simpler to reason about, not just faster.

SENTINEL

Course project

Console based epidemic contact tracing system for a 3rd semester DSA group project. Six data structures built from scratch in C++ with no STL containers, Dijkstra adapted to risk weights and Prim's on a weighted contact network, and our own risk scoring model for ranking, tracing and containment.

C++DSAGraph Algorithms


Motivation
Inspired by real-world epidemic response challenges highlighted during COVID-19. Wanted to understand how contact tracing, risk prioritization, and containment decisions work under the hood by building the entire system from scratch.

Features
Load patient and contact data from CSV files. Register new patients with automatic risk scoring (7 criteria, max 130 points). View per-patient investigation logs (stack events). Simulate outbreak spread wave by wave from any source (BFS). Trace transmission chains between patients (Dijkstra). Find minimum containment networks for active clusters (Prim's). Filter cases by day, area code, or date range. Geographic hotspot detection via area code hashmap.

Architecture
Six data structures implemented from scratch with no STL containers: a Stack for investigation logs, a Queue for the case pipeline, a Heap for risk priority, an AVL Tree for date indexed records, a HashMap for ID and area lookups, and a Graph for the contact network. Dijkstra, adapted to follow risk weights, traces transmission paths, and Prim's finds the containment network. All structures were built iteratively as requirements emerged.

Challenges
Building every data structure from scratch meant constant revisiting and refinement. Each new feature exposed edge cases that required going back to foundational code. The structures weren't plug-and-play; they had to adapt to real use cases.

Lessons
Data structures aren't just theory you memorize for exams; they're the foundation of real systems. Implementing AVL trees and heaps yourself makes clear why certain operations are O(log n) and why edge cases like tree rotations matter. Planning architecture upfront saves time, because changes in one structure ripple through the entire system.

See all projects

Skills

Languages

JavaKotlinC++PythonJavaScriptTypeScriptSQLHTMLCSS
Java: MedCore, ASCII Video Player, University Portal, etc
Kotlin: Gradix, Xpense
C++: SENTINEL
Python: Nerd Stalker, Hostel Complaint System
JavaScript: NetCard, TRACK
TypeScript: CSES Website
SQL: MedCore, TRACK, Nerd Stalker
HTML: NetCard, CSES Website, Nerd Stalker
CSS: NetCard, CSES Website
View projects

Android and Desktop

Android SDKRoomMaterial3Java Swing
Android SDK: Gradix, Xpense
Room: Gradix, Xpense
Material3: Gradix
Java Swing: MedCore, University Portal, Flappy Sparrow
View projects

Web

AstroNode.jsExpress
Astro: CSES Website
Node.js: TRACK
Express: TRACK
View projects

Databases

Oracle DatabaseSQLiteMongoDBSupabase
Oracle Database: MedCore, TRACK
SQLite: Nerd Stalker
MongoDB: TRACK
Supabase: CSES Website (member portal, in progress)
View projects

Tools & Practices

GitGitHubLinuxVercelGoogle Play ConsoleOOPData Structures and AlgorithmsTechnical writing
Git: CSES Website, Gradix, Nerd Stalker, etc
GitHub: CSES Website, Gradix, Nerd Stalker, etc
Linux: Nerd Stalker
Vercel: CSES Website
Google Play Console: Gradix, Xpense
OOP: MedCore, University Portal, Flight Reservation System
Data Structures and Algorithms: SENTINEL
Technical writing: Blog
View projects

Currently learning

DjangoBackend Development