Hamza Hassanain

Hamza Hassanain

Software Engineer at Repovive (YC F'26) · Cairo, Egypt

I joined Repovive as the first engineer and built the contest judge, SWE workspace runtime, and core backend systems for a platform that grew through Y Combinator to 10,000+ users. Most of my day-to-day work is TypeScript, Node.js, Docker, Kubernetes, and AWS.

Outside work, I maintain Polyman, contribute upstream to GitLab (41 merged MRs), LLVM/Clang, and Apple Swift NIO, and compete in algorithmic programming (3x ICPC ACPC Finalist). I also hold the AWS Solutions Architect - Associate certification.

Work

Software Engineer, Repovive YC F'26

Nov 2025 - Present (1 yr 1 mo)

Full-time · Remote (US) · Y Combinator-backed science expert community running live programming, math, and SWE contests (10,000+ users).

  • Led design of the distributed contest judge (judge1, on Judge0): scaled concurrent submissions 10x (50 to 500+), isolated 20+ languages in resource-limited Docker images, and redesigned storage for 50 MB+ contest test-case sets.
  • Built and operated isolated multi-container SWE Lab workspaces (workspace-manager, k8s-infra, hannah-server) on DigitalOcean Kubernetes (DOKS) cells, digest-pinned snapshots in DO Spaces, throwaway hidden-test judging, trace ingestion, and Build v2's 28-tool streaming agent pipeline with session locking and 1s atomic cancellation.
  • Co-built a LiveKit/WebRTC voice AI interviewer (Kevin) for coding, recruiter, and behavioral interviews with live Monaco editor reads, judge-backed code runs, markdown-defined prompts, and B2B screening.
  • Joined as the first engineer, onboarded new hires (including senior engineers), moved CI to Vercel (format, typecheck, test, build), and tracked down live-contest outages with Claude Code, MCP servers, and PostHog.

Problem Solving Instructor, Coach Academy & ICPC SCU

Jul 2023 - Dec 2025

Freelance & Community · Cairo, Egypt

  • Mentored 100+ university trainees from basic syntax to ACPC regional level, and coached software engineers for Big Tech coding interviews through mock interviews and tailored curricula.
  • Authored contest problems for ECPC qualifications and local rounds, and built the ICPC-SCU registration backend with Codeforces API handle validation.

Open Source

Every link below is a merged pull or merge request, except the one open MR.

GitLab

41 merged MRs · 8 gitlab-org projects · 1 open

I keep the agent workflow and guardrails I built for these contributions public in gitlab-agent-kit. Currently open: cli!4307 (relative dates in glab list flags).

Project Merged Scope
api/client-go 12 Typed group integrations (Slack, Jira, MS Teams, Mattermost, Harbor, Discord, Telegram, Matrix, Google Chat), CancelAutoMerge, cross-project MR dependencies by IID, external service accounts, WorkItem JSON tags, always_on Duo value.
gitlab 11 POST /api/v4/organizations/:id/restore endpoint and docs, organization_id in container registry token metadata, Snowplow tracker gating, Bitbucket Cloud wiki import removal, AI Gateway CA/mTLS docs, Json.safe_parse hardening.
cli (glab) 9 Date filters for glab issue list, structured error codes and host in auth credential-helper, artifact-registry login --yarn, mr list nil-reference panic fix, OAuth and config host fixes.
terraform-provider-gitlab 5 New gitlab_group_integration_harbor and gitlab_group_integration_mattermost resources, Duo settings on gitlab_group, group SAML identity attribute, default branch protection wait fix.
4 other projects 4 container-registry!2959 (organization_id in logs), gitlab-shell!1597 (discover failure logging), step-runner!600 (OCI prerelease versions), http-router!1438 (org restore route).
Show all 41 merged GitLab MRs

gitlab-org/api/client-go (12)

!3101CancelAutoMerge returning the merge request or a clear error
!3140Move merge request method comments to MergeRequestsServiceInterface
!3102external option on instance service account create and update
!3138always_on value for group Duo availability
!3100snake_case JSON tags on WorkItem
!3092MR dependencies from blocking MR IID, including across projects
!2692Group Slack integration structs and Get / Set / Disable methods
!2691Discord, Telegram, Mattermost, Matrix, Google Chat structs and GetGroup*Settings
!2679Microsoft Teams integration structs and endpoint path fix
!2677Jira integration structs and typed GetGroupJiraSettings
!2675Group Mattermost notifications and slash commands (Get / Set / Delete)
!2670Harbor integration structs and typed GetGroupHarborSettings

gitlab-org/gitlab (11)

!261298Add organization_id to container registry token metadata
!263027Docs: set SSL_CERT_FILE and nest mTLS keys for AI Gateway
!263028Move frontend tracker check to EventEligibilityChecker
!262447Docs: REST API endpoint to restore an organization
!261304Ruby: POST /api/v4/organizations/:id/restore endpoint
!261303Docs: AI Gateway custom root CA steps for Helm and Docker
!261302Docs: Python dependency resolution behaviors and workarounds
!261296Load Snowplow tracker only when events can be sent
!261295Remove obsolete Bitbucket Cloud wiki import code
!221163Ruby: Gitlab::Json.parse to safe_parse in discussions diff highlight cache
!221158Vue: require-name-property compliance in deployment UI components

gitlab-org/cli (9)

!4293Docs: clarify that client_id is ignored on GitLab.com
!4144Structured code, host, and oauth_error in auth credential-helper errors
!4143Fix nil-pointer panic in glab mr list when references are null
!4141Preserve flag and acronym casing in CLI error output
!4063Date filters for glab issue list
!4062Use config host as fallback preference instead of remote filter
!4061Return a clear error when a host keyring token is missing
!4060Move OAuth token merge from config package to oauth2
!4058glab artifact-registry login --yarn writing tokens to ~/.yarnrc.yml

gitlab-org/terraform-provider-gitlab (5)

!3323Use default_branch_protection_defaults to decide on protection wait
!3322GitLab Duo settings on gitlab_group resource
!2909New gitlab_group_integration_mattermost resource (Plugin Framework CRUD + acceptance test)
!2881New gitlab_group_integration_harbor resource (CRUD + import + acceptance test)
!2852Group SAML identity attribute on gitlab_group_membership data source

Other gitlab-org projects (4)

registry!2959Read organization_id from token metadata into request logs
shell!1597Log user identity when discover fails to resolve username
step!600Accept dot-separated prerelease identifiers in OCI versions
router!1438Add organization restore route to the Cells HTTP router snapshot

LLVM / Clang

4 merged PRs
#169980X86 / Clang constexpr evaluation of cvtpd2ps intrinsics
#178885AArch64 Convert CLS intrinsics to the generic ISD::CTLS node
#178430ARM Replace manual CLS expansion with ISD::CTLS
#173473LLDB SWIG Python extension tests for SBTarget

Apple Swift NIO

1 merged PR
#3410Idempotent directory creation in NIOFileSystem

Projects

Polyman

48 stars · 2,900+ npm downloads · +332 on CF

Open-source TypeScript CLI and terminal AI agent (polyman chat) for Codeforces Polygon problem setters. Runs one verify across tests, validator, checker, and every solution's expected verdict, with precompiled <bits/stdc++.h> caching, Polygon sync, and --json reports for agent loops. Used to prepare problems for Repovive rounds and ACPC.

gitlab-agent-kit

AGENTS.md · Python · 30+ MRs shipped

Tool-agnostic agent workspace for contributing to GitLab open-source projects with human approval on every push and comment. Includes gl.py inbox for tracking review threads, a verifier role, per-project playbooks, and wording_lint.py to block AI-sounding text before anything leaves the machine.

CP Judge on AWS

AWS Reference Architecture

Well-Architected AWS design for a contest judge (Manara AWS SAA capstone): Judge0 isolate workers on ECS-on-EC2, a stateless Fargate orchestrator, a Spot mixed-instance ASG scaled on queue depth, and post-round cheating detection with Step Functions, AWS Batch, Lambda, Bedrock, and Athena. 7 views, 9 documented design decisions.

SigmaLoop

Graduation Project · Grade A+

On-demand AI tutor that generates programming and math curricula. Code is graded in a Judge0 sandbox, math proofs by a confidence-scored LLM, and hints come from a fine-tuned Qwen2.5-Coder-7B. I led backend and DevOps for the 8-person team and owned CI/CD and AWS deployments.

Systems built from scratch

HAllocator C++23 STL-compatible memory allocator using a red-black tree for O(log n) best-fit search and free-block coalescing, tested with GoogleTest.
cppress C++17 Express-style epoll web framework built on my own socket, HTTP, JSON, and HTML libraries.
hesh C++23 POSIX shell with process control, pipes, stdout/stderr redirection, quoting, history, and GNU Readline tab completion.
AES-GCM Python Pure-Python AES-256-GCM implementation with a step-by-step GUI, Diffie-Hellman key exchange, and nonce-reuse attack demos.

Competitive Programming

  • ICPC ACPC: 3x Finalist (2024, 2025, 2026), top 250 across the Africa and Arab region (ICPC profile).
  • ICPC ECPC: 17th of ~500 teams (2024).
  • Problem author: G. Queries On Strings (ICPC JCPC 2025), F. Graph Tiling (Repovive Standard Round 3), plus problems for ECPC qualifications.
GreatShinobiOwl candidate master · 1902 (max 2017)
Hmzaawy expert · 1858 (max 1944)

Writing

Background

Education
B.Sc. in Computer and Information Sciences, Suez Canal University (2022 - 2026). Graduation project: SigmaLoop (Grade A+).
Certification
AWS Certified Solutions Architect - Associate (SAA-C03) · verify on Credly.
Stack
TypeScript, Node.js, Go, C++ (17/23), Rust, Python, Ruby, SQL · AWS, Docker, Kubernetes (DOKS), Terraform, Nginx, Redis, MongoDB, PostgreSQL, Next.js, LiveKit.