<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://themahani.github.io/</id><title>Ali Mahani</title><subtitle>Ali Mahani's personal website. A blog with topics ranging from machine learning to physics, to finance.</subtitle> <updated>2026-07-29T03:50:56+00:00</updated> <author> <name>Ali Mahani</name> <uri>https://themahani.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://themahani.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://themahani.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Ali Mahani </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Matrix multiplication in q lang</title><link href="https://themahani.github.io/posts/matrix-multiplication-in-q-lang/" rel="alternate" type="text/html" title="Matrix multiplication in q lang" /><published>2026-07-28T00:00:00+00:00</published> <updated>2026-07-29T03:50:32+00:00</updated> <id>https://themahani.github.io/posts/matrix-multiplication-in-q-lang/</id> <content type="text/html" src="https://themahani.github.io/posts/matrix-multiplication-in-q-lang/" /> <author> <name>Ali Mahani</name> </author> <category term="short posts" /> <summary>Following my previous post, I’ve started reading the book “Q for Mortals”. It’s a fascinating book and I highly recommend it to anyone who is interested in learning this language properly. After getting through chapter 1 and realizing how well q-lang handles lists and vectors (considering it’s a vector-language), I started thinking what I need to do to write the matrix multiplication operator...</summary> </entry> <entry><title>Weird order of arithmetics in q/kdb+</title><link href="https://themahani.github.io/posts/weird-arithmetics-in-qkdb/" rel="alternate" type="text/html" title="Weird order of arithmetics in q/kdb+" /><published>2026-07-24T00:00:00+00:00</published> <updated>2026-07-25T14:55:13+00:00</updated> <id>https://themahani.github.io/posts/weird-arithmetics-in-qkdb/</id> <content type="text/html" src="https://themahani.github.io/posts/weird-arithmetics-in-qkdb/" /> <author> <name>Ali Mahani</name> </author> <category term="short posts" /> <summary>So I started learning q/kdb+ recently. kdb-x is a database suite optimized for time series data. And I say “suite” because it provides more than just a database and a query language. It also provides libraries that help you design live dashboards, develop entire models, and much more. Cutting to the chase, here’s the interesting part. When doing arithmetics in most programming languages such a...</summary> </entry> </feed>
