Mark Vasilkov
Mark Vasilkov

Mark Vasilkov

Follow
homebadges

Super Castle Game (js13kGames–2023)

Sep 16, 20238 min read 104 views

An open mind is like a fortress with its gates unbarred and unguarded. This is the story of the Super Castle Game, a js13k game jam entry. Naturally,...

Super Castle Game (js13kGames–2023)

Language Model API Parameters

May 31, 20232 min read 19 views

An application talking to a language model API has control over the following parameters. Only the Vertex AI PaLM API allows setting Top-K and Top-P...

Language Model API Parameters

CSV field larger than field limit in Python

Apr 24, 20231 min read 45 views

So I was working on something very simple involving a CSV file: import csv with open('file.csv', 'r') as f: reader = csv.reader(f) lines =...

CSV field larger than field limit in Python

ZX Spectrum system font

Feb 13, 20232 min read 75 views

Old computer fonts are fascinating. Making a consistent-looking font is a remarkable achievement in its own right, but designing a monospaced font...

ZX Spectrum system font

BigInt Embedded Bitmap Encoding

Feb 11, 20231 min read 146 views

This is the second post in the series. See the previous post, ECMAScript Embedded Bitmap Encoding for context. My friend Roman pointed out that I...

BigInt Embedded Bitmap Encoding

ECMAScript Embedded Bitmap Encoding

Feb 7, 20234 min read 401 views

I propose the following bitmap format, suitable for embedding small images in TypeScript or JavaScript source code: // ECMAScript Embedded Bitmap...

ECMAScript Embedded Bitmap Encoding