HNHacker News
TopNewBestAskShowJobs

perrygeo

3,194 karma · joined April 28, 2014

submissionscomments
perrygeo··on Why is everything so scalable?
The problem I never see addressed: scaling is not proportional to popularity. There is some sunk cost or "baseload" scale required to run a service.

Think google maps purchasing and processing satellite imagery; if you want to compete, you also need to regularly update petabytes of data. That's table stakes, even if you have one user.

perrygeo··on Uv overtakes pip in CI
The pace of uv adoption is insanely fast. It's directly related to how bad the previous Python tools were/are. Even to seasoned veterans set in their ways - they still know a better solution when they see it.
perrygeo··on Ask HN: What Are the Main Principles That Make You Appreciate Someone's Content?
I appreciate a discussion of alternatives and historical context. Most engineers understand that literally anything that is computable can be computed on a turing-complete machine. The hard part is making the decision: why this way and not some other way? If the only tool you know is a hammer, you don't want to read about yet another way to smack a nail. You want a nail gun.
perrygeo··on IEA Report Claims Fossil Fuel Imports Have Declined in More Than 100 Countries
Yep, the hope is that the 100 countries decline in oil demand foretells the reduction in demand by the other 95 countries. But that hasn't happened yet and some IEA analysts are even questioning the assumptions of a global peak demand. We'll see in a few years! I hope you're correct.
perrygeo··on IEA Report Claims Fossil Fuel Imports Have Declined in More Than 100 Countries
Yet the IEA forecasts themselves show that oil demand is NOT dropping, it is increasing. From the Oil 2025 report:

> Global oil demand is forecast to rise by 2.5 mb/d from 2024 to 2030

https://www.iea.org/reports/oil-2025/executive-summary

perrygeo··on Aphantasia and Psychedelics
Google scholar has 5000+ hits on the term, I'd suggest starting there. Once you've completely your meta-analysis proving that it's all "bullshit", let us know. That's how science works. You think your 10 minutes scrolling wikipedia substitutes for decades of research? Surely, since you and your gut feel so strongly about it, the evidence should speak for itself.
perrygeo··on Aphantasia and Psychedelics
If you're gonna come out and say "trust my gut, this is bullshit" - yes, you do need to do all the work.
perrygeo··on Aphantasia and Psychedelics
Aphantasia makes a number of testable hypotheses and can/has/continues to be dealt with as a serious scientific question. But instead of taking the time to do even the bare minimum of research, you trust your gut to tell you that it's bullshit. Classy.
perrygeo··on Ask HN: Why LLMs confidently hallucinate instead of admitting knowledge cutoff?
Because LLMs do not have a model of the world. They can only make more words. They can't compare their own output to any objective reality.
perrygeo··on Why We Think
The history of an individual organism can be read by future generations. But it's through epigenetics, not genetics - adding methyl groups to the DNA, which influence gene expression. These are inherited, but the changes only last a few generations and have limited (though not zero!) impact on evolution since they don't seem to persist in the genetic code.

Beyond that, culture has a huge role to play. Many complex lifeforms learn how to survive from their parents and peers. Those groups with less adaptive strategies will be wiped out. For many organisms, they are not "thinking" per se, they are processing sensory data in the way they've been taught. The "thinking" was done by multilevel selection, weeding out ineffective strategies.

IOW, no organism technically needs to think through a problem from first principles. There's always some cultural heuristic to fall back on.

Second paragraph is spot on. The search space is far too large for evolution to provide direct solutions for every challenge a multicellular lifeform could face. General solutions rule. But it's likely that cultural adaptation plays a larger role than individual cognition.

One could argue the prokaryotic life is 100% instinct though - adaptive responses seem to be pretty rare in bacteria.

perrygeo··on Redis is fast – I'll cache in Postgres
good point, even postgres crippled was "good enough" so it doesn't change the overall message. Nonetheless, we should strive to do realistic and valid benchmarks, no?
perrygeo··on Redis is fast – I'll cache in Postgres
The default shared memory is 128MiB, not even 1% of typical machines today. A benchmark run with these settings is effectively crippling your hardware by making sure 99% of your available memory is ignored by postgres. It's an invalid benchmark, unless redis is similarly crippled.
perrygeo··on AI was supposed to help juniors shine. Why does it mostly make seniors stronger?
Yep, and the productivity of LLMs means that experienced developers can go from idea to implementation way faster. But first someone has to understand and define a solid structure. And later someone needs to review, test, and integrate the code into this framework. This is hard stuff. Arguably harder than writing code in the first place!

It's no wonder inexperienced developers don't get as much out of it. They define a vague structure, full of problems, but the sycophantic AI will spew out conformant code anyways. Garbage in, garbage out. Bad ideas + fast code gen is just not very productive in the long term - LLMs have made the quality of ideas matter again!

perrygeo··on This map is not upside down
My favorite is the Dymaxion projection created by Bucky Fuller. It shows all seven continents as one roughly contiguous chain of islands from Australia to Antarctica, surrounded by a giant ocean. It's no more or less correct than "north up" projections.

https://upload.wikimedia.org/wikipedia/commons/5/53/Dymaxion...

perrygeo··on My first impressions of Gleam
The entire Gleam language tour (https://tour.gleam.run/everything/) is comprehensive. It contains examples of every language feature and prints to less than 70 pages - easily fits into the context window of any recent LLM.
perrygeo··on Disposable Code Is Here to Stay, but Durable Code Is What Runs the World
I would say durable systems are what run the world. The code making up the components are not necessarily durable! Just like living cells die off but maintain the consistent identity of the overall organism, software systems often deal with an endless churn of dependencies and components without changing their overall functionality.

If you have a system of a dozen components with well defined interfaces, you could imagine an LLM rewriting and redeploying each component one at a time, without changing the observable properties of the system.

perrygeo··on QGIS is a free, open-source, cross platform geographical information system
Unfortunately the homebrew cask is still Intel-only so it requires Rosetta, whereas the conda/mamba version has an osx-arm64 build. There are other workarounds discussed here: https://github.com/qgis/QGIS/issues/46299 and here https://geo.malagis.com/native-qgis-on-apple-silicon-solutio...
perrygeo··on How to study people who are drunk
In college I was part of a research lab that did alcohol behavior studies at student parties. One thing we learned early on: the presence of alcohol testing turns it into a drinking contest. At least with stupid young college boys.

We'd show up to a frat party with a survey and breathalyzers and got people to line up before things got ... weird. As soon as word caught on that we were measuring blood alcohol levels, the boys would start chugging alcohol at dangerous rates to see who could blow the highest BAC. So much for promoting safe drinking behavior! And this would obviously invalidate the research, so we had to go in like a strike team and collect as much data before word got out!

perrygeo··on My blue is your blue: different people's brains process colours in the same way
Looking at this from a different perspective, what is the evolutionary advantage of even "seeing" blue in the first place? Considering the vast range of frequencies of electromagnetic radiation, consider that we can only "see" a small fraction of the EM spectrum we encounter (380-700 nanometer wavelength).

There is something special about this wavelength; it's not a coincidence! It would be very surprising if the evolution of ALL life honed in on this critical range of the EM spectrum but left human perceptions open to wide interpretation. IOW interpreting "blue" is probably hard wired trait into most evolved life because we share a sun and the earth's atmosphere.

perrygeo··on The Coming Electricity Crisis
Put another way, despite substantial increases in the energy efficiency of certain sectors, overall electricity consumption has not dropped and continues to rise.
perrygeo··on A Software Development Methodology for Disciplined LLM Collaboration
Great framing of the problem. I do think it's a culture issue with "Agile" practices in particular - By design, there is no time budgeted for reading, writing, reflection, or discussion. Sprint, sprint, sprint.

In organizations that value innovation, people will spend time reading and writing. It's a positive feedback loop, almost a litmus test of quality of the work culture.

perrygeo··on A Software Development Methodology for Disciplined LLM Collaboration
There's some irony; far from handling the details, LLMs are forcing programmers to adopt hyper-detailed, disciplined practices. They've finally cajoled software developers into writing documentation! Worth noting we've always had the capacity to implement these practices to improve HUMAN collaboration, but rarely bothered.
perrygeo··on MIT Study Finds AI Use Reprograms the Brain, Leading to Cognitive Decline
There's two questions at play. First, does the research pass the most rigorous criteria to become widely-accepted scientific fact? Second, does the research present enough evidence to tip your priors and change your personal decisions?

So it's possible to be both skeptical of how well these results generalize (and call for further research), but also heed the warning: AI usage does appear to change something fundamental about our congnitive processes, enough to give any reasonable person pause.

perrygeo··on I don't use down migrations
Great article. I can't imagine a real world scenario where I'd ever use a down migration in production. Even if you completely botch a migration, the next step is to write a new migration to correct the situation! "Rolling back" a commit is not even logically possible; the database schema history only moves forward.
perrygeo··on I forced every engineer to take sales calls and they rewrote our platform
Yep, notice there was no mention at all about why the original software was so ill-designed in the first place. Not even a curiosity as to why. Your conclusion is more valid, though I wouldn't necessarily place the blame on the PM. Agile/Scrum rituals, where blame is diffused and developers are forced to sprint quickly through poorly-designed tickets, yields poorly-designed software. Who could have guessed? Feels like a systematic problem with the "modern" bloated software organization.
perrygeo··on AGENTS.md – Open format for guiding coding agents
Shouldn't you already have these instructions written out? Seems like AI has just motivated developers to finally write documentation.
perrygeo··on Discussing politics at work: Don't, just don't
My rule for discussing ANYTHING at work: Does this move the current project forward? Are we painting bike sheds and shaving yaks and beating around the bush? Or are we here to get shit done? Everything else is a waste of time, politics included. If you want to be friends after work, we do that after work where I'm more than happy to discuss my thoughts on the current government.
perrygeo··on Why we dont like TDD
For me, dev testing is something that I use directly in the hot feedback loop of writing code. Typically, I'll run it after every change then manually inspect the output for quality assurance. it could be as simple as refreshing the browser or re-running a CLI tool and spot checking the output. Importantly, dev tests for me are not fully fleshed out - there are gaps in both the input and output specifications that preclude full automation (yet), which means my judgement is still in the loop.

No so with CI tests. Input and output are 100% specified and no manual intervention is even possible.

There are some problems where "correct" can never be well defined. Think of any feature that has aesthetic values implied. You can't just unit test the code, brush off your hands and toss garbage over the wall for QA or your customers to pick up!

I use this technique mainly to avoid an over-reliance on automated testing. I've seen far too many painful situations where the unit tests pass but the core functionality is utterly broken. It's like people don't even bother to run the damn program they're writing! Unacceptable and embarrassing - if encouraging ad-hoc tests and QA-up-front helps solve this, it's a huge win IMO.

perrygeo··on Why we dont like TDD
> tdd from the integration side and only add unit tests later

This is where I've landed as well. Unit tests are for locking down the interface, preventing regressions, and solidifying the contract - none of which are appropriate for early stages of feature development. Integration tests are almost always closer to the actual business requirements and can prove direct value - ie only once the integration works, then lock it down with unit tests.

I've also toyed with a more radical idea: don't check your tests into the git repo. Or at least keep the developer tests separate from the automated tests. Think about it: what rule says that the tests used in development should go directly into the CI test suite? One is designed to help you navigate the creative process, the other is designed to prevent regressions. I think we do a disservice by conflating the two scenarios into one "testing" umbrella. During TDD, I need far more flexibility to redefine the shape of the tests (maybe it requires manual setup or expert judgement or ...) and I don't want to be hampered by a (necessarily) rigid CI system. Dev tests vs CI serve two completely different purposes.

perrygeo··on African Union joins calls to end use of Mercator map that shrinks Africa's size
It's easy to get lost in the geodesy details, which really matter at a local scale! But on a global scale the earth is effectively round.

Many of us have seen images like this: https://www.asu.cas.cz/~bezdek/vyzkum/rotating_3d_globe/figu... which are effective at showing the shape and gravitational anomalies but is wildly exaggerated on the height axis. Visualizing to scale would look indistinguishable from sphere.

← PreviousPage 9 of 34Next →