you optimize for the process not the result

Joined October 2022
36 Photos and videos
Krishsh.h retweeted
When I was young, I was horrible at chess. But now, after years of dedication, daily practice, and coaching, I am no longer young.
29
239
1,865
45,669
Krishsh.h retweeted
Memory organization with Algorithmica is one resource that keeps shining. en.algorithmica.org/hpc/cpu-…
And the primer on branch prediction! youtu.be/nczJ58WvtYo
3
69
500
33,925
Krishsh.h retweeted
std::move doesn't move anything, it just casts to an rvalue reference.
9
2
88
18,943
Krishsh.h retweeted
Lock-free data structures do not eliminate contention, they only avoid blocking via locks.
9
3
53
8,025
Krishsh.h retweeted
In this CppCon 2022 presentation, Jan Bielak discusses strategies for writing efficient C programs - a good talk. youtu.be/qCjEN5XRzHc
8
63
2,687
Krishsh.h retweeted
There is related research such as "Optimal Mean Reversion Trading with Transaction Costs and Stop-Loss Exit" (2014) by Leung and Li arxiv.org/abs/1411.5062 and a book worldscientific.com/worldsci… .
I did have an idea that did not work. Take a continuous indicator of regime change a use it a $vol or gmv modulator over time. Say, something that says “if the value is above one, run at full volatility. Below zero go to cash.” A large class is made by indicators of the form a*drawdown(t) b*t. This includes stop-loss, cusum, and approximate others. It took me two full days (and a lot of claude code) to determine that the only case that “works” is b=0. I.e., stop-loss. “Works” means that a solution exists and is nontrivial. So there is something special about stop-loss. My tentative recommendation is *not to use statistics used for tests of hypothesis outside of the intended application.* Obvious, maybe. And another surprise. Stop-loss reduces sharpe, but only up to a theoretical max reduction of 50%. I feel that extensions to quadratic costs are within reach. I am writing this down and sending to my colleagues (esp. the sys PMs). Notes: 1. The model is in continuous time. The math generated by claude seems correct but is a bit above me. 2. I thought of this problem last Sunday. This took two days of math and code-assisted simulations. I could ask questions between meetings, and at night. On my own, I don’t know if I could have gotten an answer ever. 3. There are still five days this week. Gotta hurry up. I wonder what we’ll find out. There is no time like the present, people.
9
77
13,330
Krishsh.h retweeted
"Macro-aware time series forecasting via hierarchical mixed-frequency attention models", arxiv.org/pdf/2606.00624
2
7
112
5,608
Krishsh.h retweeted
A Concurrency Cost Hierarchy by Travis Downs travisdowns.github.io/blog/2…
24
194
34,221
Krishsh.h retweeted
Replying to @a13x3n0
People complain the smartest engineers work at companies like JS. While we probably lost many more of them to MOBA games.
1
25
1,546
Krishsh.h retweeted
7
19
352
22,437
Krishsh.h retweeted
The best probability books are always short & sweet. #math
8
115
1,183
34,213
Freak
The smartest man ever John von Neumann made groundbreaking contributions across fields. He was one of the key mind behind the atomic bomb, early computers, game theory, and quantum mechanics. He even theorized self-replication before DNA was discovered.
47
Krishsh.h retweeted
And then this: quantitative-research.de/ (Hans Buehler's, co-ceo of XTX, blog). Just a small example: - Lecture Notes Learning to Trade I: Statistical Hedging - Lecture Notes Learning to Trade II: Deep Hedging papers.ssrn.com/sol3/papers.…, papers.ssrn.com/sol3/papers.…

2
19
216
25,576
Krishsh.h retweeted
May 12
54
405
4,815
206,840
Krishsh.h retweeted
Socialism is like polio, it comes back when people forget about the horrible damage it did last time.
3,101
18,679
103,444
12,639,642
Krishsh.h retweeted
Replying to @atomiktrades

2
11
2,100
Krishsh.h retweeted
One of Leonardo's drawings, the Vitruvian Man, is a study of the proportions of the human body, linking art and science in a single work that has come to represent the concept of macrocosm and microcosm in Renaissance humanism.
2
8
72
2,484
Krishsh.h retweeted
May 7
Lean 4 Game github.com/leanprover-commun… 通过游戏化学习数学证明的方法
Many #LeanLang users were first introduced to Lean via the Natural Number Game, a gamified approach to learning mathematical proofs developed by Kevin Buzzard. The Lean Game Server now hosts 8 games, including real analysis, linear algebra, and introduction to proofs. Open source, so educators can build their own too. Explore: adam.math.hhu.de/ #FormalMathematics #MathEducation #OpenSource
1
37
325
22,844
Krishsh.h retweeted
Nobody talks about how peaceful early mornings feel
92
1,174
9,914
362,564