Justin Barak

Refinery Optimization Engineer · Houston, TX

I work on the economics of oil refining by day and tinker with code the rest of the time. Chemical engineer by training. Self-taught Python developer by curiosity.

Work

Twelve years as a Refinery Optimization Engineer. The job isn't about running the equipment — it's about the economics: given crude prices, product markets, and physical constraints, what's the most profitable thing to make right now? The problem changes daily. I've been solving it for over a decade and it still keeps me interested.

The core skill is holding a complex system in your head — all its constraints, its tradeoffs, the levers you can actually pull — and finding the path that extracts the most value. It's applied math at industrial scale, which sounds impressive until you're three hours into a spreadsheet at 11pm.

I picked up Python during COVID when I got tired of waiting for someone else to build the tools I needed. Same instinct that makes me fix things around the house rather than call someone, or build furniture when I'd rather have it a specific way. Find the constraint. Figure out the cleanest way around it. Resist the urge to over-engineer.

Reading

What's on the nightstand.

Loading…