Navigating a LaTeX file
I like generating long LaTeX documents from org-mode because, for one thing, org-mode has nice section folding. But not everyone I work with uses Emacs, so its better to work in LaTeX directly rather than have Emacs generate LaTeX. AUCTeX has section folding for LaTeX documents, though so far I’ve
Read moreHTML entity data
It’s surprisingly hard to find a complete list of HTML entities in the form of a data file. There are numerous sites that give lists, often incomplete, in a page formatted to be human-readable but not machine-readable. Here’s an XML file from the W3C. Here’s a two-column text file I
Read moreDouble-struck capital letters
I’ve needed to use double-struck capital letters lately, also called blackboard bold. There are a few quirks in how they are represented in Unicode and in HTML entities, so I’m leaving some notes for myself here and for anyone else who might need to look this up. Unicode The double-struck
Read morePrimes, weeds, and military precision
Here’s a quote from Don Zagier that I found in Larry Rolen’s lecture notes on modular forms. There are two facts about the distribution of prime numbers of which I hope to convince you so overwhelmingly that they will be permanently engraved in your hearts. The first is that, despite
Read moreDon’t let your intrinsic motivation become a liability
An inner drive to excel is compatible with expecting a pay rise.Chris T. from Riot Games shared a post on LinkedIn titled “Why most fail the final interview at Riot Games.”The answer: Most candidates don’t have the “clear intrinsic motivation” Riot seeks.The concept of intrinsic motivation was pioneered by Edward Deci and later
Read moreBuild a Flow Collectibles Portal Using Cadence (Part 2)
AI-generated image from PixabayWelcome to the final step in creating your Collectibles portal! Part one of this short series focused on building the collections portal. In this part, we’ll focus on building the frontend — the last piece of the puzzle. Here’s what we’ll achieve:Connect with Flow Wallet: You’ll be able to link your
Read moreWriting an Interpreter in Rust: AST (part 2)
Image by authorAbstractWe’re continuing our journey of implementing an interpreter called Coconut in Rust!Here, we’ll delve into the concept of AST (Abstract Syntax Tree) and transition from parse-time evaluation to AST-time.If you haven’t already, I recommend checking out my previous article:Writing and interpreter in Rust using grmtools, where we set the stage
Read moreExploring ReAct Agent for Better Prompting in RAG Pipeline
Analyzing Amazon’s recent disclosures and attitudes towards LLMs with LlamaIndex’s ReAct Agent and Cybersyn data from Snowflake MarketplaceContinue reading on Better Programming »
Read moreLock-Free Stacks Are Even Cooler in Kotlin
Treiber stacks are the coolest data structure you’ve never heard of, and tail recursion makes them even betterContinue reading on Better Programming »
Read moreContinued fractions as matrix products
A continued fraction of the form with n terms can be written as the composition where As discussed in the previous post, a Möbius transformation can be associated with a matrix. And the composition of Möbius transformations is associated with the product of corresponding matrices. So the continued fraction at
Read more