Skip to content

Instantly share code, notes, and snippets.

View snoble's full-sized avatar

Steven Klaiber-Noble snoble

View GitHub Profile
@snoble
snoble / vancouver-density-health-meter.md
Created June 7, 2025 03:45
Timeline narrative showing how neighbourhood activism, political decisions, and recent reforms shaped (and are reshaping) Vancouver’s capacity to add housing density, 1970 – 2023.

Vancouver’s Density Health Meter — How Neighbourhood Activism Gradually Drained the City’s Capacity to Build Housing

DENSITY‑POTENTIAL METER
[████████████████████] 100 %   (optimistic baseline ≈ 1970)

Context. Half a century ago planners imagined Vancouver blossoming into a compact, European‑style city where mid‑rise apartments lined streetcar corridors and everyday errands were a short walk from home. Nothing in the zoning by‑law prevented that future: most residential lots could legally add row‑houses, walk‑ups, or even modest towers.

What happened instead was a series of local rebellions—each one small on its own, but together powerful enough to steer zoning, politics, and developer math toward ever‑lower density. The density‑health meter below visualises how each confrontation shaved points from the city’s ability to build housing.

@snoble
snoble / learning-boosters-essay.md
Created June 7, 2025 00:06
The Escalator That Stops at Twenty-Two

The Escalator That Stops at Twenty-Two

How front-loading learning launches young people off course—and leaves their older selves with regret they can’t fix

On graduation day, tassels swinging and flashbulbs popping, we feel invincible.

When we are young, we believe that meaning comes from passion. We think that being interesting is the same as being valuable. We welcome the message that school is about more than a career. We believe it when they say, “Don’t worry about money. Just do what you love.”

But the systems that deliver education—and especially higher education—aren’t built to support the people we become. This essay argues we must redesign higher education by compressing traditional degree programs, funding lifelong booster shots, and shifting the cost of mid-career retraining away from individual employers and toward portable public mechanisms.

No one tells us that at forty-five, usefulness will feel like dignity. That to have someone pay you well because you make their life better

@snoble
snoble / canadian_commentator_partisanship_ratings.md
Created June 5, 2025 17:51
A complete markdown document containing (1) a table that rates prominent Canadian political commentators on their party partisanship during the past 30 days—sorted by partisanship spread, with role-fit icons and concise explanations—and (2) an extended prompt detailing the methodology, scoring scale, name-harvesting workflow, and quality checkli…

Canadian Political Commentators – Partisanship Ratings (last 30 days)

Scores run from +10 (ardent booster) to –10 (fierce opponent); 0 = no clear tilt.
Rows are sorted by partisanship spread (max score − min score).
The “Does the tilt match the role?” column shows an icon—✅ bias fits persona, ⚠️ bias clashes—plus a concise note.

Username Public role / self-description LPC CPC NDP Bloc Does the tilt match the role?
Nick Kouvalis Conservative pollster / strategist –9 +9 –6 –5 ✅ Extreme CPC-friendly / LPC-hostile split suits a partisan strategist.
Candice Malcolm True North founder, conservative activist –9 +7 –6 –3 ✅ Right-wing advocate; fierce anti-LPC, pro-CPC stance is her brand.

Here’s an example using car manufacturing to illustrate how cheaper imported cars can affect a country’s standard of living, considering factors like productivity, labor market dynamics, and the potential role of tariffs.


Scenario Setup

Imagine a small country with a workforce of 200,000 people, divided between two sectors:

  • Car Manufacturing (Tradable Sector): Workers produce cars that can be sold domestically or imported from abroad.
  • Service Sector (Non-Tradable Sector): Workers provide services (e.g., retail, education) consumed only within the country.

Savings: The Time Machine Fueling Capital Formation

In the sphere of capital formation, much like in land development, the notion of "financial time travel" is a crucial strategy that enables visions to become tangible realities. This concept is akin to the clever plot twists in classic time travel movies, where characters use their knowledge of future events to solve problems before they arise.

The Time Travel Conundrum in Development

Consider a land developer who aims to transform a plot into a thriving residential area. This project demands substantial immediate outlays: labor payments, material purchases, and related costs. However, the revenue from this investment—such as rents or sales from the properties—won't be realized until much later. This temporal gap between expenditures and returns is where savings act much like a time machine.

Sending Future Money Back in Time

package ExistTest/FList
enum FList[a, b]:
Pure(fn: a -> b)
@snoble
snoble / Wagon.md
Last active November 15, 2023 06:16
A chatgpt written story.

Title: "The Wagon Venture of Willow Creek"

In the quaint hamlet of Willow Creek, where the days were long and the harvests generous, there lived a farmer named Eliza. She was a woman of vision, dreaming of a wagon that could carry more bounty than the mightiest oxen of the land.

However, Eliza's vision was tethered by a quandary. The only man capable of crafting such a wagon was Jacob, her indispensable laborer, whose daily toil was as vital as rain to her fields. Jacob was a master of wood and nail, but he lived by the day's wage, his pockets as empty as a hollow log at day's end.

In this tight-knit weave of need and skill, came a twist in the form of Ada, a traveler with eyes sharp as a hawk and a mind as nimble as a fox. Ada saw an opportunity where others saw a dead end. She proposed to stand in for Jacob, working his share on the fields, while he built the wagon. Jacob’s wages would continue, ensuring his pot stayed warm, and in return, Ada sought a slice of the wagon's future earnings.

Eliza, sh

@snoble
snoble / Plateaus.md
Created September 12, 2023 05:40
Hobbies and Sports: A Theoretical Framework for Progress and Plateaus

Hobbies and Sports: A Theoretical Framework for Progress and Plateaus

Introduction

In the realm of self-improvement, hobbies and sports are often viewed as a means to grow personally, physically, or intellectually. However, not all hobbies are created equal when it comes to personal development. A thought-provoking observation suggests that activities can be categorized into those where it is easy to practice at the edge of one's ability and those where it is easy to practice at a level beyond or beneath one's abilities. This article explores this idea, its connection to the theory of deliberate practice, and how one might overcome the inherent challenges to achieve steady progression.

Disclaimer: The ideas presented here are observations and are subject to verification and validation.

The Two Categories

type Func<A = any, B = any> = (arg: A) => B;
type OkFuncList<L> = L extends [
Func<infer A1, infer B1>,
Func<infer A2, infer B2>,
...infer Rest
]
? B1 extends A2
? [Func<A1, B1>, ...OkFuncList<[Func<A2, B2>, ...Rest]>]
: never
: L extends [Func<any, any>]
type T = {x: string, y: string} | {a:string, b: string}
function fn(a: T) {
if('x' in a) {
return a.y
} else {
return a.b
}
}
console.log(fn({x: 'xx', a: 'aa', b: 'bb'}))