Closures as Win32 window procedures
A technical article exploring how to create closures in C to add a context pointer to Win32 window procedures, bypassing the standard four-parameter limit.
A technical article exploring how to create closures in C to add a context pointer to Win32 window procedures, bypassing the standard four-parameter limit.
A developer's technical walkthrough of instrumenting LLM tracing for litellm using Braintrust and Langfuse, detailing setup and challenges.
Explains the evolution from callbacks to Promises and async/await in NodeJS for cleaner asynchronous code.
A guide to JavaScript's tricky but essential array callback methods like map, filter, and reduce, with links to in-depth video tutorials.
An introduction to callback functions in JavaScript, explaining how they are passed as arguments and executed within other functions.
An introduction to asynchronous JavaScript, covering callbacks, promises, and async/await for non-blocking code execution.
A guide on converting Node.js-style callbacks and non-standard callbacks into Promises using util.promisify and custom promise construction.
Explains the 'callback hell' problem in JavaScript and provides four practical solutions to manage nested callbacks effectively.
A technical deep dive into how async/await works under the hood, explaining the concept by building it from scratch in code.
A detailed guide explaining how to use the JavaScript Array Map method for transforming array elements without modifying the original array.
Explains closures and callbacks in Swift as foundational abstractions for handling asynchronous programming, using the 'turtles all the way down' metaphor.
Explains JavaScript Promises, their analogy to real-life promises, and how to use .then and .catch for async operations.
Explains JavaScript callbacks: what they are, why they're important, and how to use them with practical examples.
Explains the transition from callback-based error handling (errbacks) to using native Promises in Node.js for cleaner asynchronous code.
Explains the Node.js error-first callback pattern, its standardization, and best practices for handling asynchronous operations.
A defense of JavaScript callbacks, arguing they are manageable with proper code organization and naming conventions, compared to newer async patterns.
Developer modifies TinyMCE plugin for b2evolution to add callbacks, enabling automatic integration of Gallery 2 image insertion.