HNHacker News
TopNewBestAskShowJobs

yfontana

89 karma · joined June 15, 2024

submissionscomments
yfontana··on Prism
> Certainly can’t compete with using VS Code or TeXstudio locally, collaborating through GitHub, and getting AI assistance from Claude Code or Codex.

I have a phd in economics. Most researchers in that field have never even heard of any of those tools. Maybe LaTeX, but few actually use it. I was one of very few people in my department using Zotero to manage my bibliography, most did that manually.

yfontana··on Calling All Hackers: How money works (2024)
> - It's backed by nothing.

Money is never backed by nothing, or it's worthless. It may not be backed by anything physical, but it's always backed by some form of trust. National currencies are backed by trust in the corresponding government and institutions.

yfontana··on Calling All Hackers: How money works (2024)
Reserves matter even if reserve ratios are zero. If Bank A lends too much money, then when its customers spend that money, a lot of it will end up deposited at other banks. These banks will then ask Bank A for reserves (as in, central bank money) to clear the inter-bank transfers, which Bank A will need to borrow from the central bank, at a cost.
yfontana··on Calling All Hackers: How money works (2024)
This probably won't make you feel any better, but banks don't really loan out money that's not theirs. When they lend money, they literally create it out of thin air. Creating that money has a cost, which is what ultimately limits how much they can lend, and having more deposits can lower that cost somewhat, but there's no direct connection between the money you deposit in your account and the money that the bank lends to someone else.
yfontana··on I failed to recreate the 1996 Space Jam website with Claude
If I were to do this (and I might give it a try, this is quite an interesting case), I would try to run a detection model on the image, to find bounding boxes for the planets and their associated text. Even a small model running on CPU should be able to do this relatively quickly.
yfontana··on The fuck off contact page
On the professional side, they also often let you interact with their experts and architects directly, as part of your support contract. With most other companies, you either have to go through front-office support exclusively, or pay extra for Professional Services.
yfontana··on Bag of words, have mercy on us
> I’m downplaying because I have honestly been burned by these tools when I’ve put trust in their ability to understand anything, provide a novel suggestion or even solve some basic bugs without causing other issues.?

I've had that experience plenty of times with actual people... LLMs don't "think" like people do, that much is pretty obvious. But I'm not at all sure whether what they do can be called "thinking" or not.

yfontana··on Super fast aggregations in PostgreSQL 19
> In the examples given, it’s much faster, but is that mostly due to the missing indexes? I’d have thought that an optimal approach in the colour example would be to look at the product.color_id index, get the counts directly from there and you’re pretty much done.

So I tried to test this (my intuition being that indexes wouldn't change much, at best you could just do an index scan instead of a seq scan), and I couldn't understand the plans I was getting, until I realized that the query in the blog post has a small error:

> AND c1.category_id = c1.category_id

should really be

> AND p.category_id = c1.category_id

otherwise we're doing a cross-product on the category. Probably doesn't really change much, but still a bit of an oopsie. Anyway, even with the right join condition an index only reduces execution time by about 20% in my tests, through an index scan.

yfontana··on Super fast aggregations in PostgreSQL 19
Interestingly, "aggregate first, join later" has been the standard way of joining fact tables in BI tools for a long time. Since fact tables are typically big and also share common dimensions, multi-fact joins for drill-across are best done by first aggregating on those common dimensions, then joining on them.

Makes you wonder how many cases there are out there of optimizations that feel almost second nature in one domain, but have never been applied to other domains because no one thought of it.

yfontana··on I’m worried that they put co-pilot in Excel
> - It says it's done when its code does not even work, sometimes when it does not even compile.

> - When asked to fix a bug, it confidently declares victory without actually having fixed the bug.

You need to give it ways to validate its work. A junior dev will also give you code that doesn't compile or should have fixed a bug but doesn't if they don't actually compile the code and test that the bug is truly fixed.

yfontana··on GPU Hot: Dashboard for monitoring NVIDIA GPUs on remote servers
I think I was shadow-banned because my very first comment on the site was slightly snarky, and have now been unbanned.
yfontana··on GPU Hot: Dashboard for monitoring NVIDIA GPUs on remote servers
Properly measuring "GPU load" is something I've been wondering about, as an architect who's had to deploy ML/DL models but is still relatively new at it. With CPU workloads you can generally tell from %CPU, %Mem and IOs how much load your system is under. But with GPU I'm not sure how you can tell, other than by just measuring your model execution times. I find it makes it hard to get an idea whether upgrading to a stronger GPU would help and by how much. Are there established ways of doing this?
yfontana··on Gemini 2.5 Flash Image
Open source models like Flux Kontext or Qwen image edit wouldn't refuse, but you need to either have a sufficiently strong GPU or get one in the cloud (not difficult nor expensive with services like runpod), then set up your own processing pipeline (again, not too difficult if you use ComfyUI). Results won't be SOTA, but they shouldn't be too far off.
yfontana··on Grok 4
I pay for chatgpt because, in my experience, o3 and o4 are currently the best at combining reasoning with information retrieval from web searches. They're the best models I've tried at emulating the way I search for information (evaluating source quality, combining and contrasting information from several sources, refining searches, etc.), and using the results as part of a reasoning process. It's not necessarily significant for coding, but it is for designing.
yfontana··on I got fooled by AI-for-science hype–here's what it taught me
From the article:

> Besides protein folding, the canonical example of a scientific breakthrough from AI, a few examples of scientific progress from AI include:1

> Weather forecasting, where AI forecasts have had up to 20% higher accuracy (though still lower resolution) compared to traditional physics-based forecasts.

> Drug discovery, where preliminary data suggests that AI-discovered drugs have been more successful in Phase I (but not Phase II) clinical trials. If the trend holds, this would imply a nearly twofold increase in end-to-end drug approval rates.

yfontana··on SMS 2FA is not just insecure, it's also hostile to mountain people
> It’s insane to me that maybe every bank I use requires SMS 2FA, but random services I use support apps.

It never ceases to surprise me how much American banks always seem to lag behind with regards to payment tech. My (european) bank started sending hardware TOTP tokens to whoever requested one like a decade ago. They've since switched to phone app MFA.

yfontana··on PDF to Text, a challenging problem
I've been working on extracting text from some 20 million PDFs, with just about every type of layout you can imagine. We're using a similar approach (segmentation / OCR), but with PyMuPDF.

The full extract is projected to run for several days on a GPU cluster, at a cost of like 20-30k (can't remember the exact number but it's in that ballpark). When you can afford this kind of compute, text extraction from PDFs isn't quite a fully solved problem, but we're most of the way there.

What the article in the OP tries to do is, as far as I understand, somewhat different. It's trying to use much simpler heuristics to get acceptable results cheaper and faster, and this is definitely an open issue.

yfontana··on Universe expected to decay in 10⁷⁸ years, much sooner than previously thought
We don't know for sure that the universe is a closed system.
yfontana··on Evidence of controversial Planet 9 uncovered in sky surveys taken 23 years apart
Primordial black holes are black holes that formed right after the big bang. Basically areas where gravity caused the extremely dense matter of the universe's first instants to collapse into black holes before expansion could pull it apart. Their existence has been hypothesized but not confirmed (or definitively rejected) so far.
yfontana··on France's new high-speed train has Americans asking: Why can't we have that?
It's absolutely not crazy, and I don't know how a car could only cost you 1k/year. This is just an example but has the average cost of motoring in Ireland in 2019 at almost 11k€/year : https://www.theaa.ie/motoring-advice/cost-of-motoring/.

One of the issues with trains is that people often severely underestimate the true total cost of car trips.

yfontana··on Hacking the call records of millions of Americans
A while ago I worked on a system handling call records for a large telco. Call records were considered sensitive information at that company, and distributed only where definitely needed. I'm sure security wasn't bulletproof, but there were regular audits to check that employees and contractors didn't store records in places they weren't supposed to.

One of the main functions of the system that I worked on was to create various anonymous and/or aggregated versions of the data, which could be distributed and used more widely (for stuff like fraud detection, network provisioning, marketing...).

yfontana··on xAI has acquired X, xAI now valued at $80B
This is inaccurate. Reserve requirements are not the only cost that banks have to pay for the money they create. If bank A lends $20B, and the borrower spends it to buy something from someone with an account at bank B, bank B isn't going to accept $20B of "made-up" bank A money, it'll want $20B of central bank money from bank A. If bank A doesn't have that that $20B of central bank money, it'll have to borrow it from the central bank, at the cost of the reserve interest rate. Being able to transfer central bank money to bank B is essentially what backs the money that bank A created.

(in reality some of that $20B would probably make it back to bank A as money circulates, so the actual amount of reserve money that banks have to borrow depends on more complicated factors. This also doesn't talk about what happens if the borrower defaults. But the fundamental principle remains the same, and is what ultimately limits how much money a bank can lend).

yfontana··on War story: the hardest bug I ever debugged
I think the hardest bug I've had to work on was just plain irreproducible. Once we exhausted all other ideas, we just attributed it to some sort of bit flip. Not a very satisfying resolution, but kinda cool to have encountered such an issue at least once.
yfontana··on Mistral OCR
I'm working on a projet that uses PaddleOCR to get bounding boxes. It's far from perfect, but it's open source and good enough for our requirements. And it can mostly handle a 150 MB single-page PDF (don't ask) without completely keeling over.
yfontana··on MongoDB acquires Voyage AI
This may be a shock to many HN readers, but MongoDB's revenue has been growing quite fast in the last few years (from 400M in 2020 to 1.7B in 2024). They've been pushing Atlas pretty hard in the Enterprise world. Have no experience with it myself, but I've heard some decently positive things about it (ease of set up and maintenance, reliability).
yfontana··on The possibilities for dark matter have shrunk
>>> PBS Spacetime has a video out now on whether gravity is actually random. I don't know whether it addresses theories of superfluid quantum gravity.

It doesn't, it talks about the possibility of randomness allowing gravity to be classical and not quantum. If my understanding is correct, the gist of it is that certain random fluctuations in gravity would prevent it from contradicting Heisenberg's uncertainty principle when interacting with quantum entities.

yfontana··on The possibilities for dark matter have shrunk
As written in that article, there are questions to be answered before this observation can be considered a serious challenge to dark matter. Such as: why don't we observe the same phenomenon in other galaxies? Why are things orbiting the Milky Way farther out (such as the Magellanic clouds) not affected either?
yfontana··on Lidl's Cloud Gambit: Europe's Shift to Sovereign Computing
It's not even all tech either. Europe has some big players in silicon or biotech for example. It does however lack giants that introduced major disruptions in the way things are done, like cloud services, social networks, gig economy etc.
yfontana··on Shapez2 Released
To be clear it's an early access release, although as far as I can tell it's very high quality early access, with a lot of polish and heaps of features.
yfontana··on Classifying all of the pdfs on the internet
I've been doing some work for an infrastructure company as well. They have a total of about 1 billion pages of PDF documents in their archives. If we assume even just 30 KB per page (which is quite low, all the PDFs I just randomly checked were higher, sometimes quite a bit so), that's already 30 TB of PDFs, just for that one company with 1B in annual sales.
← PreviousPage 2 of 3Next →