Challenges of Writing Code in q/kdb+ with Right-to-Left Evaluation
By
gabiteodoru
If you only eat one bagel today, this is the bagel.
Summary
The article discusses the challenges faced by LLMs in writing code in q/kdb+ due to the Right-to-Left evaluation order. It highlights an error in Newton's Method update code and the impact of evaluation order on coding accuracy.
Key quotes
· 3 pulledClaude incorrectly wrote 0.5*y+x%2*y for the Newton’s Method update.
Because q/kdb+ as well as its ancestors APL, J, and k, feature Right-to-Left with No Operator Precedence (RL-NOP) evaluation.
Claude is aware of that, but it struggled to write correct code based.
You might also wanna read
How to download tweets from any public X account using Circleboom
This article provides a step-by-step guide on how to download tweets from any public X (formerly Twitter) account in bulk using Circleboom's
Assemblage Mapping as a Tool for Accountability in AI-Supported Legal Advice
This article examines how AI is reshaping legal advice at the infrastructure level, arguing that legally consequential guidance is increasin
slsa.ac.uk·1h agoWhy Jet Aircraft Use Generators Instead of Alternators for Electrical Power
This article explains why modern jet aircraft use generators instead of alternators for their electrical systems. It covers the fundamental
New free course teaches researchers how to improve Wikipedia citations and field visibility
A new free online course called "Wikipedia for Researchers: Building reliable knowledge through citations" has been launched on WikiLearn. C
diff.wikimedia.org·3h agoWordPress Accessibility Day 2026: Call for Sponsors
A call for sponsors for WordPress Accessibility Day 2026, a volunteer-led nonprofit conference focused on web accessibility education. Spons
buff.ly·4h agoA Comprehensive Guide to Digital Accessibility Technologies for Computer Users with Disabilities
This article provides a comprehensive overview of digital accessibility technologies designed to help people with disabilities use computers
