CDK Deploy-Twice: When Your Infrastructure Needs to Know About Itself
And the endpoint is exported as a stack output: new cdk.CfnOutput(this, ‘ServiceEndpoint’, { value: service.attrEndpoint, description: ‘Re-deploy with –context baseUrl=<this value> to wire BASE_URL’, }); tryGetContext returns undefined if the value was not passed in, so deploy one works fine. It simply runs without BASE_URL set. Deploy two wires it in. Therefore, two deploys, one […]
I built a free SQL practice game where you work at a fictional Singapore bank
I’ve been frustrated with SQL learning resources for a while. Most are either: Dry reference docs Toy exercises with no context (“SELECT * FROM employees”) Paid platforms with paywalls after level 3 So I built SQLwak — a free, browser-based SQL game where you’re hired as a Graduate Analyst at Lion City Bank, a fictional […]
My First React Project (Part 3): Reusable Components, Framer Motion Animation, and Key Lessons Learned
Then I reused it inside my LandingPage component: function LandingPage() { return( <> {/* other LandingPage JSX */} <section id=”features”> <Section backgroundColor=”section–gray-100″ title=”Why choose Digitalbank?” description=”We leverage Open Banking to turn your bank account into your financial hub. Control your finances like never before.” > <Features /> </Section> </section> <section id=”articles”> <Section backgroundColor=”section–gray-50″ title=”Latest Articles” […]
Run Gemma-4 12B on WSL2 with llama.cpp
1. update WSL environment sudo apt update && sudo apt upgrade -y 2. install dependencies If you don’t use -hf option, you don’t need to install libssl-dev in this step. sudo apt install build-essential cmake git libssl-dev -y If nvidia-smi shows a GPU/GPUs on your terminal, you will need to install the tooklit. This will […]
Cryptographic Set-Chemistry
ACLs are broken. Zero-trust is a PDF. The problem: We copy data, then bolt on a permissions table, then pray no one leaks the UUID. Cryptographic Set-Chemistry flips it: Only those monads holding mutual .me refs + keys can derive the route. For everyone else, the path doesn’t 403. It doesn’t exist. Each added monad […]
Dealing with bloated PDFs (without ruining diagram clarity)
Anyone else hit this exact wall? You have a 40MB PDF — technical spec, project doc, whatever — and you need to get it under 10MB for an upload. You Google a quick tool, drop the file in, wait… and then the download comes back with your architecture diagrams looking like this: The left side […]
Nvidia DGX Spark shows the future of PCs, but maybe not for normal people
Nvidia’s newest desktop idea is impressive, but it also feels a little disconnected from reality. The product people are talking about is not exactly called RTX Spark. Nvidia announced it first as Project DIGITS, then branded it as NVIDIA DGX Spark. It is a tiny personal AI supercomputer built around the GB10 Grace Blackwell Superchip. […]
Tests Verify Behavior. ArchMind Verifies Architecture.
The bigger the application becomes, the harder it is to understand this flow. Most tooling doesn’t help much. PHPStan verifies types. Tests verify behavior. Code review focuses on diffs. But none of them answer a simple question: Did the execution architecture of this route change? For example: POST /orders Before: auth tenant middleware DB::transaction Order::create […]
I Built a Parking Meter for Paragraphs
The text is baked into the key. Fix a typo in paragraph 3 and it gets a brand new key, while tips already sitting on paragraphs 1, 2 and 4 do not move. Tips attach to what was said, not to a line number that slides the second you add a sentence. I am unreasonably […]
I built an open-source DAST scanner that outfound ZAP
I built KageSec. What’s wrong with existing DAST tools Nuclei is great — ProjectDiscovery built something genuinely impressive. But it’s a template-matching engine, not a DAST scanner. It hits the root URL, matches YAML patterns and reports findings. It does not crawl your app, discover parameters, or inject payloads into forms. The companies charging enterprise […]