53 karma · joined May 25, 2025 (1y ago) · 61 submissions
comment 5mo ago · link · parent
comment 8mo ago · link · parent
I was wondering why there's factor of ~50 in the ICE index formula. It turns out that factor was selected when the changeover from local currencies to euro happened. The multiplier makes the old formulation agree with the new formulation on the change date. According to Claude, the old formulation had exponents on DEM, FRF, ITL, NLG, BEF that sum up to the current euro exponent. I couldn't find a multiplier for the old formulation (I'm guessing it's selected to make the level 100 at some start date). I guessed a value around 12.5.
I did my best to make a DXY with a long history by stitching together free FRED data here: https://github.com/pandas-user/dxy/blob/main/dxy.ipynb
It's really interesting to see how much of an effect the Plaza Accord had on DXY. One thing I didn't check but might be cool is the ratio between dollar devaluation and positive stock market return during the three 1 year periods starting with the end of Breton Woods, the Plaza Accord, and the 2024 tariff thing.
comment 10mo ago · link · parent
I suspect that locating the referenced comment would require a semantic search system that incorporates "fancy models with complex decision boundaries". A human applying simple heuristics could use that system to find the comment.
In the "Dictionary of Heuristic" chapter, Polya's "How to Solve it" says this: *The feeling that harmonious simple order cannot be deceitful guides the discover in both in mathematical and in other sciences, and is expressed by the Latin saying simplex sigillum veri (simplicity is the seal of truth).*
comment 10mo ago · link · parent
At first I did not explore the tree visualizations in your web app: I simply noticed an index of company trees. Using the tree visualizer (which shows founders' names and pictures), I immediately realized that these trees represent complex human stories involving thousands of years of individual people's hard work. Interpreted that way, the data deserve a degree of awed respect that I did not show in my original comment. Truly sorry for that.
If you're curious about the shape of the startup ecosystem the way I am, there are a few things you could try. (In what follows I'm assuming "full graph" means company-company links with timestamps, not stories about individual people). pyvis has a feature that allows you to build a static html file with an embedded interactive representation of a graph. The data is embedded in the file, so you might not be able to share that unless you dropped enough information to conform such sharing to your data license. IIRC the static file has limited query/filter functionality so it can be difficult to make large graphs manageable for visualization. If that happens you can try using a graph database with a query UI. I remember another HN submission last year that (IIRC) used neo4j as a backend and provided a web UI with this kind of query/visualize workflow. I believe they also shared Github repos with the front-end/back-end code.
Anyway, thank you for sharing your project and sorry for the shit comment.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
9.
Historical Analysis of Kuhn-Tucker Theorem [pdf](sciencedirect.com ↗)
1 points · by conditionnumber · 10mo ago · discuss
comment 1y ago · link · parent
11.
27 points · by conditionnumber · 1y ago · 3 comments
comment 1y ago · link · parent
My favorite research code tends to look like the mathematics it implements. And that's really hard to do well. You need to pick abstractions that are both efficient to compute and easy to modify as the underlying model changes. My favorite research code also does the reader a lot of favors (eg documents the shape of the data as it flows through the code, uses notation consistent with the writeup or standard conventions in the field).
Industry research code... I'm happy to see basic things. Version control (not a bunch of Jupyter notebooks). Code re-use (not copy+paste the same thing 20x). Separation of config and code (don't litter dozens of constants throughout thousands of lines of code). Functions < 1000 lines apiece. Meaningful variable names. Comments that link the theory to the code when the code has to be complicated.
Overall it's probably most helpful to find a researcher in your field whose code you like to read, and copy the best aspects of that style. And ask readers of your code for feedback. I really enjoy reading Karpathy's code (not my field), but that may be an exception because a lot of what I've read is intended to teach a more or less codified approach, rather than act as a testbed for iteration in a more fluid design space.
comment 1y ago · link · parent
I don't think there's anything natural about the mandatory use of copyrighted CUSIP identifiers in regulatory reporting. When SEC publishes its quarterly list of 13F securities it includes a disclaimer that it does so "with permission" from the copyright holder. My city doesn't pay royalties or seek approvals when it records and processes car license plate numbers for parking enforcement. The copyright holder seems actively involved in rulemaking that has the potential to diminish the role CUSIPs play in mandatory regulatory reporting.
https://www.federalreserve.gov/apps/proposals/comments/FR-00...
comment 1y ago · link · parent
If you're adding more LLM integration, a cool feature might be sending the results of allow_many="left" off to an LLM completions API that supports structured outputs. Eg imagine N_left=1e5 and N_right=1e5 but they are different datasets. You could use jellyjoin to identify the top ~5 candidates in right for each left, reducing candidate matches from 1e10 to 5e5. Then you ship the 5e5 off to an LLM for final scoring/matching.