Could I order a Perplexity on a $(d-1)$-Sphere?

What happens to entropy, cross-entropy and perplexity when the dictionary is replaced by the unit sphere — and why the answer is the cosine error you already minimize in contrastive learning.

Effective AI Usage Patterns

Eight patterns for working with AI, drawn from over 500 real engineering prompts.

List Zipper applied to iOS swift

A simple and elegant implementation of the list zipper data structure.

What is wrong with the object paradigm ?

A reflection on error handling and application modeling through various variations of data modeling. We look at old C fashion, object languages, and more functional approaches.

How to use boost::property_tree to load and write JSON

A quick starting guide to the C++ boost library module property_tree.

An alternative error handling strategy for C++

We treat three historical ways to handle errors, and consider a functional approach using monads to handle errors in C++. We provide a C++ implementation using templates and discuss the pros and cons.

Tutoriel d'initiation à SEDNL

Initiation à la bibliothèque réseau SEDNL.

SedNL : Simple Event Driven Network Library

Présentation de la bibliothèque C++ SEDNL.

Boite à musique Arduino

Une micro-bibliothèque pour jouer une mélodie polyphonique sur Arduino en C. Contient le code, la documentation, et la mélodie de Tétris comme exemple.

Haskell - Lazy IO

On discute des entrées et sorties paresseuses en Haskell et des soucis qu'un comportement paresseux peut poser.