Obfuscating “Hello World” in Python
Fun with functional programming in Python | Ben Kurtovic's blog
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,820 posts.
Fun with functional programming in Python | Ben Kurtovic's blog
The official home of the Python Programming Language
I have recently worked on making a web application out of my latest Rubik’s cube optimal solver . This involved building a rather complex C code base (with multithreading, SIMD, callback functions and whatnot) to WebAssembly via Emscripten , and writing a minimal amount of JavaScript and HTML for the frontend.
We are going to explore Clojure by creating a fun project together. In particular, we will create a twitter bot that creates its text based on a mashup of Edward Lear’s poetry , and a goodly selection of functional programming text taken from Wikipedia.
Sometimes producing a good animated GIF requires a few advanced tweaks, for which scripting can help. So I added a GIF export feature to MoviePy, a …
How quarterly fixit weeks help teams tackle small annoyances that never bubble up to the priority list.
Alexander Petros give a thoughtful exploration of htmx's relationship to traditional JavaScript frameworks, examining how its HTML-first approach and narrow focus on network requests sets it apart. He argues that while htmx exhibits framework-like qualities in how it shapes application architecture, its deep…
More than thirteen years have passed since Herb Sutter declared that the free lunch is over and concurrency is upon us , and yet it's hard to claim that most mainstream languages have made a strong shift towards concurrent modes of programming. We have to admit that concurrency is just hard , and the struggles of some…
From jQuery widgets to the first frameworks, component-centric view layers like React, and today's full-stack frameworks: a look back at each era of JavaScript development and what it taught us.
I built KillSwitch, an esoteric language designed to confound LLMs and coding agents, and benchmarked the major models against it.
My last post on the Rust compiler’s performance was two months ago and a lot has happened since then.
I have been thinking about the semantics of Rust – as in, the intended behavior of Rust programs when executed, in particular those containing unsafe code – a lot. Probably too much. But al...
HTML Components (HTC), introduced in Internet Explorer 5.5, offers a powerful new way to author interactive Web pages. Using standard DHTML, JScript and CSS knowledge, you can define custom behaviors on elements using the “behavior” attribute. Let’s create a behavior for a simple kind of “image roll-over” effect. For…
Sourcing data directly from disk IS faster than caching in memory. I brought receipts. Because hardware got wider but not faster, the old methods don't get you there. You need new tools to use what is scaling and avoid what isn't.
Picking the technology stack for a project is an important and consequential decision. In the enterprise space in particular, it often involves a multi-year commitment with long-lasting implication...
Part 1: expressions, arithmetic Part 2: statements, control flow Ever since I was a teenager I wanted to create my own systems pr...
Coding agents like Anthropic’s Claude Code and OpenAI’s Codex CLI represent a genuine step change in how useful LLMs can be for producing working code. These agents can now directly …
FEBRUARY 5, 2016 · FACEBOOK
Valve is investing in OpenGL to hedge themselves against Microsoft. Some well-known developers have written about the deficiencies in the API. A few competing, proprietary APIs have popped up. In an effort to remain competitive, Khronos announces glnext: a ground-up rethinking of the OpenGL and OpenGL ES APIs. This…
Writing auto-pilots in JavaScript for MSFS
Short introduction to the Prolog language and its essential features.