HNHacker News
TopNewBestAskShowJobs

perrygeo

3,194 karma · joined April 28, 2014

submissionscomments
perrygeo··on You Weren't Meant to Have a Boss (2008)
There's a real biological basis for our reluctance to engage with large groups. Dunbar pins the number at 150 and claims its limited by our brain's computational capacity. Below 150, humans seem to comfortable monitoring our relationship with everyone and able to keep trust high amongst the complexity of interrelationships. Above 150, we start "losing track" and no longer feel a tight connection to the group. More importantly, above this threshold and no one person can police for defectors or bad behavior. Individuals who don't share the same values can hide out in the group and take advantage of it. Once that trust becomes harder to establish, the group dynamic changes and game theory kicks in.

https://www.sciencedirect.com/science/article/abs/pii/004724...

perrygeo··on Ocean acidification crosses "planetary boundaries"
We're already seeing plenty of real impacts on ecosystems (skeletal dissolution, slower coral growth). On top of that, acidification has "momentum" - even if we stopped emitting carbon today (hah) the oceans would continue dropping pH for decades.

Given those two facts, I assumed we'd crossed that boundary already.

perrygeo··on Screen time and emotional problems in kids: A vicious circle?
I have an issue with attributing any problems to "screen time" in general. It seems like there are real observable differences based on what it is we're doing with the screen.

Personally, I use computers for work, for reading/research/writing, for news, for gaming, for creating music, and for passive entertainment. They all feel qualitatively very different. I have a hard time adding up all the hours and calling it "screen time". 20 hours reading a good book or editing an audio track is far healthier than 2 hours of doomscrolling.

> “Children are spending more and more time on screens, for everything from entertainment to homework to messaging friends,”

Yes. And it's the algorithmic curated feed that's destroying messaging. And the advertisements and garbage content of the entertainment industry. And AI largely eroding our ability to think critically. None of that has to do with screens themselves.

Maybe instead of "screen time" we should differentiate on a number of axes: Passive vs. active. Creating vs. consuming. Social vs solo. Mediated by algorithms vs mediated by social norms. Not all screen time is created equal, and some may actually be socially net positive.

perrygeo··on What methylene blue can (and can’t) do for the brain
Given how long it's been around, the promising results, and how many people have been using it for "biohacking" for decades, it was at first a little surprising to hear how little double-blind clinical research exists. Then you realize: methylene blue can't be patented and it's manufacture is no secret. So no one is going to make big money from it, therefore no money goes into clinical research. All too familiar story, and it really calls into question the whole "clinical trials are the arbiter of truth" mentality if the one making that claim also controls the purse strings!
perrygeo··on How I like to install NixOS (declaratively)
Yes. I've also considered buying a car with the hood welded shut. But I'd rather learn how to change my oil. Some of us don't find value in consuming technology passively without first understanding it.
perrygeo··on Test Postgres in Python Like SQLite
For Clojure and Java apps, check out Zonky (https://github.com/zonkyio/embedded-postgres). It provides a similar experience on the JVM, but instead of containers or WASM, you're running an embedded native binary.
perrygeo··on How I like to install NixOS (declaratively)
I've been trying to get a reasonable Linux-based audio setup on my desktop. Linux audio is a confusing disaster and I'd basically given up on Ubuntu, having run through so many debugging steps I had no idea how my system even got to this state.

I figured what the hell, let's try NixOS and see if I can set it up declaratively. At least that way if it fails, I have documentation about what exactly is failing.

I discovered the audio packages I needed easily enough. But things weren't great, there was occasional noticeable lag on the mic and midi devices. Ok, let's try to compile a realtime linux kernel... Wait there's an entire project dedicated to Nix audio setup! (https://github.com/musnix/musnix) After a few minutes integrating with my config, and about an hour to compile the kernel. Rebooted and bam. It's almost like working with analog in terms of perceivable lag.

I know this says more about Musnix than Nix, but I think it highlights the advantages of configuring your system with a real programming language. All the "audio stuff" was able to fit behind a well-designed abstraction barrier.

Going back to a "do this, now do this" tutorial feels like the dark ages. The only thing keeping me from going all-in on Nix is that it's package management strategy starts bleeding into your software project's dependency management. This is a huge problem IMO, I can't run C/C++ or Python projects the "old way" and no one is willing to upend their build system and lock it into nix. Some languages work great and allow a clean barrier between system<>app. I use Clojure, Rust, Gleam, Go, Lua on nix without any issues, it does seem to be the C/C++ ecosystem and dynamic linked shared libraries that are the problem.

perrygeo··on Web dev is still fun if you want it to be
HTML and Javascript (the vanilla kind, written right into <script> tags like a caveman) is still one of best ways to experiment with UIs. It's not sustainable or maintainable but why do you need those qualities in demo software? I still maintain that a competent developer should be able to bang out an HTML/JS demo faster than they can draw the same complex flow in Figma.
perrygeo··on The ‘white-collar bloodbath’ is all part of the AI hype machine
Such an important point, I've seen and suspected the end of ZIRP being a much much greater influence on white collar work than we suspect. AI is going to take all the negative press but the flow of capital is ultimately what determines how the business works, which determines what software gets built. Conway's law 101. The white collar bloodbath is more of a haircut to shed waste accumulated during the excesses of ZIRP.
perrygeo··on Are there billions more people on Earth than we thought? If so, its no bad thing
Take this paper with a grain of salt. They compare global gridded datasets with on-the-ground population surveys from dam construction projects. Gridded datasets do indeed underestimate population in these areas compared to global grids. But the authors use this as evidence that the global grids are biased against all rural areas.

Given that these regions were clearly valuable real estate - valleys with waterways near urban centers - it's very hard to make the case that these 307 flooded valleys represent all rural areas on earth. It seems like the authors conveniently skip the bias they themselves introduced. A few hundred dam sites are not representative of rural land on earth, and this paper is sketchy AF for trying to make that claim without supporting their assumption.

Furthermore, and this might be more a chip on my personal shoulder, they fail to outline their methods or do adequate sensitivity analysis. The vector footprint of the reservoirs and the raster population grid are disparate data models and there are many different approaches for determining their overlap. Do you include the center of the cell? Only 50% coverage? Any coverage? 100% coverage only? How are the data reprojected to align spatially? And given the coarse resolution and spatial arrangement (fractal coastlines, high perimeter:area), those details are not just GIS nerdery, they have massive impacts on the results. At least the code is available so it could potentially be reviewed.

perrygeo··on Human coders are still better than LLMs
I'm wondering if this statement might be definitionally self-evident. In other words, the entire reason we write software is that it has value to ourselves and other humans - so we have to be involved in its specification. Computers do things faster, more accurately, and in some cases more creatively than human could. But in the end, what a computer produces is still for the benefit of humans and subject to all the human constraints. Aggregate human behavior determines if software is a success or not.

If software is about meeting human demands, humans will always write its requirements, by definition. If we build another machine like LLMs, well the design of those LLMs is subject to human demands. There is no point at which we can demand perfection but not be involved in its definition.

perrygeo··on Practical SDR: Getting started with software-defined radio
Agreed, GNU Radio exists in this weird no-mans land where it works on low-level concepts wired up with high-level guis. Do not want. I want to playing with CubicSDR to zoom around the spectrum, then if I I need to do anything fancy with the data, switch over to signal processing and start writing code.
perrygeo··on I am concerned about the future. Are you?
Have you seen the studies that project the hockey stick graph of resource extraction required to continue that scaling? Have you seen the studies that show the orders of magnitude increase in mining required? Have you accounted for the fact that all of that cannot be done with solar panels? How do you assume to mine that much material from elsewhere for your own benefit, at the detriment of the communities you're extracting from?

Your plan is curiously devoid of answers to the basic questions.

"Chart goes up now, chart must go up forever" is an ideology, not a characteristic of any physical ecosystem. Certainly not an actionable plan that any serious person would follow.

Instead of an ideology, how about a real viable plan pinned to physical reality (CO2 emissions, terrawatts, acres, tons of ore, things we can measure empirically)? I keep being promised this solar future, yet fossil fuel emissions keep rising. Your ideology sounds appealing, but you've got a long way to go to make it reality.

perrygeo··on I am concerned about the future. Are you?
> All the stats I'm aware of show fossil fuel usage going down but I'm sure there is more context to the data I'm missing.

The research you're thinking about shows that fossil fuel usage is declining as a percentage of overall energy use. That much is true. Solar is making progress relative to coal, oil, and gas.

But don't confuse the derivative of the relative difference with the scalar value of interest. Measured in physical units, fossil fuel consumption keeps increasing, as the IEA reports constantly.

perrygeo··on I am concerned about the future. Are you?
True, the solar potential could theoretically cover what we lose from fossil fuels. We could building a dyson sphere around the sun. But the mere existence of energy is not the same thing as a proven economical way to capture it.
perrygeo··on I am concerned about the future. Are you?
And the manufacturing. And transport, installation, maintenance. There is no part of the "renewables" supply chain that has ever been free of fossil fuels. Curious how we hope to repair solar panels wind turbines and hydroelectric dams without fossil fuels.
perrygeo··on I am concerned about the future. Are you?
Those machines don't provide energy, they simply capture it. We get our energy from solar radiation, either directly or stored in underground carbon bonds. We burned through our oil reserves, which represent the solar energy of millions of years of photosynthetic capacity, in a few centuries. And demand keeps growing. How do you intend to maintain and continue growing the energy supply without access to fossil fuels? Reverting to an annual energy budget determined by the sun is a fundamentally different game to having millions of years of energy at our match tip.

It's the difference between living on a fixed income vs drawing down a savings account. And as we draw down our savings account (burn oil) to invest in our fixed income future (solar) we should not fool ourselves into thinking this means an infinite savings account. Whether we draw our savings to zero or plan wisely for fixed-income, either way we are looking at decreased energy availability, aka degrowth.

perrygeo··on I am concerned about the future. Are you?
Growth and the good times are over because the resources that provided that growth are dwindling. Peak oil is almost certainly behind us and everyone knows it, shifting their foreign policy accordingly. Recent events have laid bare that there's no facade of "manifest destiny" or ideology behind it... it's just naked aggression, scrambling for a bigger slice of the shrinking pie.

If it were just a shrinking energy/resource base, we could muddle through and build a better political system. Same with climate change. And biodiversity loss. And chemical pollution. And global nuclear warfare. And the decay of social morality. All of these things are solvable in themselves, but in aggregate I think we're running into harsh economic realities that we might not be able to solve all of it at the same time.

perrygeo··on Show HN: Tesseral – Open-Source Auth
> all stand-ins for a lack of BE engineering.

Well, yes, any dependency is technically a "lack of engineering". That's kinda the point - engineering capacity is limited and should be directed towards core business differentiators, not generic infrastructure.

That said, Auth is not really like all the rest of the services. It's special in that it controls all access to everything else making it the load-bearing stone in your entire architecture. Fundamental mistakes in your user auth model tend to be very very hard to unwind. So take the time to do the engineering work (thinking) even if you eventually outsource to a hosted provider - at least you'll know what you're outsourcing and the implications.

perrygeo··on As a developer, my most important tools are a pen and a notebook
For me it's critical that the note capture mechanism be unstructured and entirely free form. Typing notes on a keyboard just doesn't work when much of the things I need to keep note of are non-linear, non-verbal, relational, or spatial. Or just facts that I need to keep in temp memory.

I periodically review the notes and summarize anything worth keeping into the appropriate system of record (calendar, tickets, wiki, spaced repetition, doesn't matter). Like you, I find that very little is actually worth keeping. And that's fine; the paper notes are not a system of record but more of an extension of working memory.

perrygeo··on It is time to stop teaching frequentism to non-statisticians (2012)
Drawing a sample of Saturns from an infinite set of Saturns! It's completely absurd, but that's what you get when you take a mathematical tool for coin flips and apply it to larger scientific questions.

I wonder if the generality of the Bayesian approach is what's prevented its wide adoption? Having a prescribed algorithm ready to plug in data is mighty convenient! Frequentism lowered the barrier and let anyone run stats, but more isn't necessarily a good thing.

perrygeo··on It is time to stop teaching frequentism to non-statisticians (2012)
Frequentists stats aren't wrong. It's just a special case that has been elevated to unreasonable standards. When the physical phenomenon in question is truly random, frequentist methods can be a convenient mathematical shortcut. But should we be teaching scientists the "shortcut"? Should we be forcing every publication to use these shortcuts? Statistic's role in the scientific reproducibility crisis says no.
perrygeo··on Online Text to Diagram Tools
Mermaid is the Javascript of charting languages - we use not because it's good but because it's there.
perrygeo··on Satellites Spotting Depth
Measuring tree "depth" (ie canopy height) is a critical tool for conservation biology to monitor the world's forests. We already do this using remotely sensed data correlated against ground truth, which relies on specific optical reflectance characteristics associated with plant biology. But this technique is more general and works only on the spatial structure of the image itself, meaning this could potentially lead to more ubiquitous forest monitoring.
perrygeo··on Why Property Testing Finds Bugs Unit Testing Does Not (2021)
The base property you can test for on every function is "does this crash or return?"
perrygeo··on Using unwrap() in Rust is Okay (2022)
unwrap() is fine for experimental and WIP code. But it's a code smell for production. I usually do a git grep for unwrap and go one of two ways:

1. convert to an expect() - even if a panic is fine, you at least owe the future reader an explanation.

2. Use "proper" result handling, usually let Some, .ok_or, or a match.

Unwrap is a nice ergonomic cheat code to get the program compiled and leave a little TODO for yourself. You just need the discipline to circle back and clean them up, just like any debugging tool.

perrygeo··on Things that have a bigger impact than coding assistants
> Limiting work in progress – solving one problem at a time – increases delivery throughput

This. Juggling 17 tasks is not a badge of honor. It just shows the world that you have neither the focus to prioritize nor the talent to execute them efficiently. Strange flex, bro.

Put another way, nobody cares about your TODO list, everybody cares about what you've actually shipped. So actually ship things, one at a time.

perrygeo··on The value isn't in the code (2022)
> The design was in my head, and with hindsight I could see all its flaws. I was therefore able to [re]create a much more efficient and effective design based on that learning. All the mistakes had been made, so I was able to get this version of the code right the first time.

Notice the critically important difference of recreating an existing design, vs using the rewrite as an opportunity to experiment on the design and the implementation (and the language, and the ...).

Vetting a new design takes time, consensus, and subjective judgement. Re-implementing an existing design is laser focused and objective.

perrygeo··on Patience too cheap to meter
I agree with this more daily.

Converting a dictionary into a list of records when you known that's what you want ... easy, mechanical, boring af, and something we should almost obviously outsource to machines. LLMs are great at this.

Deciding whether to use a dictionary or a stream of records as part of your API? You need to internalize the impacts of that decision. LLMs are generally not going to worry about those details unless you ask. And you absolutely need to ask.

perrygeo··on The Windows Subsystem for Linux is now open source
I like WSL for this single reason too - it gives me space to run isolated experiments without touching my primary OS. So if that's what windows users get out of it, cool.

You can do the same thing with many other technologies on most other operating systems. I've used, in chronological order: FreeBSD jails, VMs, Cloud-hosted VMs, Docker, K8s, and Nix flakes. WSL is probably somewhere in around K8s.

My point is, we've had the ability to run "subsystems" for decades, by different names, on every OS. WSL is cool but quite late to the game, far from being "more powerful than linux".

← PreviousPage 11 of 34Next →