HN user

mixedmath

1,396 karma

[ my public key: https://keybase.io/davidlowryduda; my proof: https://keybase.io/davidlowryduda/sigs/fJDhN1ncn9yUYjFl2nw2r-mskFwuufeYD-dczdCuXpE ]

I'm a mathematician and software developer. Now I work with libraries (as in books, not as in software --- though I do software for the libraries) in many varied ways.

Posts7
Comments263
View on HN

This is true in my case! I've had more people actually buy me a coffee after interacting with my site than to click on my Buy Me a Coffee button.

I find a link to "Buy me a Coffee" to not at all look like an ad. It's a funny-shaped "donate" button. And I much prefer it to actual ads.

I'm not very familiar with proper exception usage in C++. Would you mind expanding a bit on this comment and describing the misunderstanding?

This was a tough decision, having used Gmail since 2007/2008. However, I had to draw the line and stop giving Google my data for free. > The problem with email is that everything is transmitted in plain text.

Interestingly, one of my biggest problems with Gmail is that they don't allow actual plaintext. I used to routinely collaborate with developers who were vision-impaired, and the official Gmail phone app wouldn't let me send them plaintext email. Instead, it was some sort of HTML thing. Unfortunately, we sometimes sent code snippets to each other over email, and though admittedly it looked more or less fine, Gmail changed the underlying representation enough that my collaborators' screen readers would mess up on the parsing.

This led to me leaving Gmail on my phone, which led ultimately to me leaving Gmail entirely.

Google is completely inadequate at mathematical search. But here is a concrete problem that no search seems to handle: given some complicated integral (say, some contour integral involving a K-Bessel function), find where it appears in the literature.

Most search will totally fail, because this is made of math symbols. Embedding-based search will give various related things involving, say, integrals and Bessel functions. But then I end up opening Gradshteyn and Ryzhik and trying to find where in this book the relevant terrible integrals appear.

This is a common experience for analytic number theorists. And it's a lousy experience.

From the title, I had thought that this would be a new tool for searching science, such as searching the arxiv. But this is actually a survey.

I quote the conclusion of the survey:

---

In conclusion, rapid advancements in artificial intelligence, particularly large language models like OpenAI-o1 and DeepSeek-R1, have demonstrated substantial potential in areas such as logical reasoning and experimental coding. These developments have sparked increasing interest in applying AI to scientific research. However, despite the growing potential of AI in this domain, there is a lack of comprehensive surveys that consolidate current knowledge, hindering further progress. This paper addresses this gap by providing a detailed survey and unified framework for AI4Research. Our contributions include a systematic taxonomy for classifying AI4Research tasks, identification of key research gaps and future directions, and a compilation of open-source resources to support the community. We believe this work will enhance our understanding of AI’s role in research and serve as a catalyst for future advancements in the field.

---

I jumped at this because I'm a mathematician who has been complaining about the lack of effective mathematical search for several years.

I haven't read anything from the London Review of Books before. But this seems excellent. Is this indicative of their general quality?

I've been using it as my primary search engine for a couple of months. It's not great as a search engine. I find their locality of search to not be well-supported (e.g. the search "food near me" works good in google and not great in ecosia).

Ecosia doesn't emphasize recent events, news, or posts in search results as much as I'm used to --- but I haven't decided if this is good or bad.

It's not so bad that I've changed. But I do sometimes use a better search engine when I want better results.

I'm confronted with a similar problem frequently. I have a growing bash script and it's slowly growing in complexity. Once bash scripts become sufficiently long, I find editing them later to be very annoying.

So instead, at some point I change the language entirely and write a utility in python/lua/c/whatever other language I want.

As time goes on, my limit for "sufficient complexity" to justify leaving bash and using something like python has dropped radically. Now I follow the rule that as soon as I do something "nontrivial", it should be in a scripting language.

As a side-effect, my bash scripting skills are worse than they once were. And now the scope of what I consider "trivial" is shrinking!

About 5 years ago, StackOverflow messed up and declared that they were making all content submitted by users available under CC-BY-SA 4.0 [1]. The error here is that the users-content agreement was that all users' contributions are made available under CC-BY-SA 3.0 (and not anything about later). In the middle there were also some licensing problems concerning code vs noncode that were confusing.

I remember thinking that if any of the super answerers really wanted, they could have tried to sue for illegally making their answers available under a different license. But I thought that without any damages, this probably wasn't likely to succeed.

But now I wonder whether making all content available to AI scrapers and OpenAI in particular might be enough to actually base a case. As far as I can tell, StackOverflow continued being duplicitous with what license applies to what content for half of the year 2018 and the first few months of the year 2019. Their current licensing suggests CC-BY-SA 3.0 for things before May 5 2018, and CC-BY-SA 4.0 for things after. Sometime in early 2019 (if memory serves, it was after the meta post I link to), they made users login again and accept a new license agreement for relicensing content. But those middle months are murky.

I should emphasize that I know nothing.

[1] https://meta.stackexchange.com/q/333089/205676

I would also be interested to know how they decide to pick up a site. I was very surprised to learn that a technical note posted only to my website was picked up somehow. (I am a mathematician and so there are other things on my site, but it’s some custom static site generator thing and I’m still astounded).

This is an interesting problem. I love my library. And I use both physical and digital books.

On the one hand, it's probably true that more people can read a digital book. Ob the other hand, I have read fewer than 20 pages of a bunch of ebooks - enough to see if I might like them.

Do these count as checkouts? Am I a very expensive library user?

(And I also am happy to have several ebooks that I'll read sometime, casually renewing them until I get to them).

Yes, I do. And open source software can have papers and algorithms documenting various aspects. This is very much like using results of other math research papers, in that there is communal review and trees of dependencies and everything can be cross-verified.

It is also true that, just like with a generic math research paper, that I don't check every claim of every step of every implementation of every algorithm in the process. But checking is possible, and when we find errors (which we do frequently) we can look and try to explain what it happening.

But when we find errors in tools such as Mathematica, we cannot. We report the errors and then know nothing more. (And sometimes the errors are never fixed).

I'm a mathematician. One reason it matters to me is that if I write a program that computes something in a proof, I need to be able to understand and verify (or possibly check that other people I trust have verified) the source and algorithms.

I have also modified and extended open source implementations in sage to work with cases I needed. And I've added some of this back to sage.

It is undeniable that Mathematica evaluates crazy integrals better than most other tools. But it will happily output complete nonsense. And you can't check!