off-duty / Story

The First Dollar: Why I Deleted My Portfolio

I didn't get paid to write code. I got paid to delete it. The real story of the logistics job that taught me code is a liability.

2026-02-08
#money#career#reality-check#consulting

The Portfolio Trap

Name: Ofo. Title: The Unfair.

I see your portfolio. Pretty. To-Do list app. API Weather app. Netflix clone that doesn't play video. You spent three months polishing CSS and 60fps animations.

Wonder why nobody is hiring you?

You proved you can follow instructions. The real world has no instructions. Only ambiguity, legacy code, and people screaming about money.

I fell into it. 2011. GitHub full of "clean code." Unit tests. Documentation. 50 applications. 0 interviews. I sat in Yaba, staring at my monitor. I knew I was good. Why couldn't they see it?

Then I met Mr. Okon. Logistics company owner. Diesel fleet. No CTO. His nephew "knew computers" and built a dashboard in jQuery/PHP. Mr. Okon had a problem. "It's slow," he said. "Drivers try to upload confirmation. It spins. They wait ten minutes. They give up. I lose 2,000 Naira per trip in wasted fuel."

He didn't ask for my portfolio. He asked, "Can you fix it?"

The Investigation: A Crime Scene

I opened his site. 12 second load time. On WiFi. Physical pain. A junior would say: "Rewrite it in React/Rust!" Mr. Okon would have kicked me out. Rewrites take months. He was losing money today.

I opened Chrome DevTools. Network tab. A crime against bandwidth.

The Evidence

  1. The 4MB Header: 4000x3000 pixel PNG scaling to 300px. Uncompressed. Raw pixels. A brick wall on mobile.
  2. The Library Soup: Four JavaScript frameworks loaded in <head>. jQuery 1.8, 2.0, Prototype, MooTools. All fighting for global namespace.
  3. The Invisible Carousel: Footer contained 20 high-res oil company logos (~500KB each). Loaded before render. Nobody scrolled that far.

Total: 14.5MB. On 3G (200Kbps), this page never loads.

The Fix: The Art of Deletion

I told Mr. Okon: "I can fix it by tomorrow." He laughed. "My nephew has been working on it for a month." I went home. SSH'd in. Wrote zero business logic. I started deleting.

Step 1: The Butcher

  • Hero Image: Deleted. Replaced with CSS gradient. Saved 4.2MB.
  • Carousel: Deleted. Replaced with static thumbnails. Saved 9.8MB.
  • JS Soup: Removed jQuery 1.8, Prototype, MooTools. Kept jQuery 2.0. Saved 350KB.

Step 2: Server Config

Nginx config was default 2008. No Gzip. No Caching.

# Enabled gzip and expires headers
gzip on;
gzip_types text/plain text/css application/json application/javascript;
expires 7d;

Text assets compressed by 70%.

Step 3: Database Indexing

Driver query:

SELECT * FROM deliveries WHERE driver_id = $id;

Times: 3 seconds. EXPLAIN ANALYZE showed no index.
I ran:

CREATE INDEX idx_driver_id ON deliveries(driver_id);

Query time: 3s -> 0.004s.

Total stats:

  • Time Spent: 3 hours.
  • Page Size: 280KB (from 14.5MB).
  • Load Time: 1.2s (from 12s+).

The Payday

Next morning. I showed him the phone. It snapped instantly. Mr. Okon tapped. It worked. Tapped again. Worked.

He didn't ask "Where are the unit tests?" He didn't ask about Design Patterns. He smiled. Counted out $500 cash. Rent for 3 months.

"Come back next week. The inventory system is also slow."

The Lesson: Value vs Liability

Code is not an asset. Code is a liability. Every line is a bug waiting to happen. Technical debt. Bytes to download. Value is what code does. Speed. Reliability. Money saved.

Mr. Okon paid me because I solved a Business Problem.

Why Your Portfolio Fails

Solutions looking for problems. "I built a Twitter clone." Does the world need another Twitter? Show a Delta.

  • "Scraped real-estate listings to alert on underpriced houses." -> Value: Arbitrage.
  • "Optimized Shopify images, raising PageSpeed 40->90." -> Value: SEO/Conversion.
  • "Fixed a memory leak in open-source library." -> Value: Stability.

This shows you understand the purpose of code.

Conclusion: The Consultant's Mindset

Think like a consultant. Care about outcome, not stack. Stop building clones. Find a Mr. Okon. Find a messy, profitable mess. Fix it.

That is your first dollar.

-- Ofo.