HNHacker News
TopNewBestAskShowJobs

greggyb

3,175 karma · joined December 23, 2014

hn (at) <username> (dot) com

Data intensive applications and analytics.

Functional programming.

Systems design.

Consulting.

submissionscomments
greggyb··on Changes since congestion pricing started in New York
...continued...

> * You are much safer being in a car when hit by another car than when not being in a car. This is something a lot of bike commute advocates sweep under the rug. They talk about how biking is overall safe, but then you ask them if they've ever had an accident and so many have been hit by cars and broken bones.

And you are much safer not having an accident in the first place. If we want to observe the world, there are cities that have done a great job at reducing all vehicle related fatalities and injuries: those injuries to drivers and passengers in any vehicle involved, and also those injuries to anyone outside of the vehicle.

There are two commonalities in these cities: 1) they have many viable options for transportation, including high quality bike infra, pedestrian areas, trains, buses, metros, trams, and personal vehicles; and 2) they reduce traffic and speed in all areas where personal vehicles are potentially in conflict with other forms of transportation.

You'll recognize in the first point the same refrain I have been repeating: optimizing a transportation system does not mean optimizing primarily on just one mode of transit. It's not about forcing one mode or banning another. It is about options. There is a near universal observation about transit times within and into/out of urban areas that the time for car travel tends toward the time for public transit. This is generally understood to be because humans optimize their transport, and if one option is faster or more convenient, enough people choose that until it is not.

The second thing those cities do, though, is the leading cause for the reduction in accident frequency, lethality, and severity of injury: the reduction in traffic quantity and speed.

The road-street distinction is very important here. If you are not familiar with it, the distinction is this: roads are high speed connections between places, optimizing for vehicle throughput; streets are complex environments where a wide assortment of destinations are, where living is done, businesses exist, and the general activities of life and city happen. If you want more detail, this video is a good primer (linked to a relevant portion: https://youtu.be/ORzNZUeUHAM?t=536); the video is coming from a very strong place of opinion. I am not asking you to accept all the opinions, but am simply sharing the video, because it provides lots of good real-world examples in laying out the distinction.

It is essential that, within a city, there are affordances for people out of cars and people in cars. This is simple reality. If we recognize this reality, and we understand that humans are imperfect and prone to failure, then the conclusion is that if we want to reduce the injuries and deaths associated with traffic, we must build systems that tend toward this outcome. The practical implementations of such systems that are proven to be effective in achieving this outcome are:

1. separate through-traffic 2. ensure mixed-mode areas force low volumes and speeds of cars

The first is by designing transportation networks that force through-traffic to roads designed for it.

The second takes many forms, generally known as traffic calming. I have mentioned a few already. You can search for more. The other side of this is recognizing that cities are for people (the people in the cars and the people out of the cars, though at some points the people in the cars become people out of cars). There must be areas where people want to go. And those areas where people are must minimize the risk of negative interactions with vehicles. Again, traffic calming and pedestrianizing.

Regarding injury: the most likely cause of death and severe injury for a shockingly wide swath of adults in the US is a car accident, whether in the car or out of it. I do not make this as an argument against cars. I make this as an argument for design of car infrastructure in ways that makes me safer regardless of which side of the steel I am on.

greggyb··on Changes since congestion pricing started in New York
> * Some people have mobility issues and can't bike or walk but can drive.

A simple bullet, but with many nuances buried. There is no single answer. Below are several observations. No one of these is intended to be an answer. But there are a panoply of choices a city can make that improve access and mobility for all.

Yes, and good bike/ped infra is good for them, too. Everything that makes a good bike lane (smooth pavement, wide enough for passing, minimal bumps and potholes, at grade without having to go up and down to cross streets) also makes a great place for a mobility scooters.

Not everyone uses a mobility scooter. Cities with extensive pedestrianized areas typically do not close these to deliveries, and many leave them open for pick-up/drop-off for those with mobility issues.

The items mentioned above are about stopping general car traffic either in portions of a street or on a whole street.

Not all traffic reduction necessarily means a reduction of car-navigable streets. Traffic reduction can take the form of reducing through-traffic. There are many implementation mechanisms for this. One mechanism is a modal filter, which allows through-traffic for non-motor vehicles, but prevents through-traffic for motor vehicles (side note, such filters can be constructed such that emergency vehicles can still pass through). Thus through-traffic is prevented, but door-to-door vehicle traffic is still possible.

But modal filters can make routes more circuitous. Yes. Optimizing a city does not mean optimizing just the transport infrastructure, and optimizing transport infrastructure does not mean just prioritizing a single mode above all others. That said, generally reducing traffic improves driving experience and reduces times, because there is less traffic. A more circuitous route can be made faster with sufficient traffic reduction.

But circuitous routes increase emissions. They increase emissions for those cars which make the trip, but save emissions based on all trips that are shifted to other forms of transportation. Even those marginally longer trips for the remaining cars may be emission-neutral (or at least not as bad as naively expected) based on reduced idling time and smoother travel.

Nothing above is to say cars should be banned. Just observations about design choices that are routinely made around the globe that are generally considered good urbanism and have not led to major negative outcomes. Nothing to stop you or any individual to choose a car, just design decisions that do not prioritize cars above all else.

> * Cars give you environment isolation when it's freezing, sweltering, or pouring rain.

Yes, so do all forms of public transit. Shelters are routine in good transit systems, and any form of metro or rail will typically have buildings or underground stations.

There is, of course, wait time for transit, which is all the more reason to optimize a system for frequent service with dedicated rights of way or grade-separation. Frequency is also one of the greatest drivers of ridership.

In urban areas it is common that a vehicle is not directly outside your front door or in a covered garage. Similarly, that parking at the destination may be some distance from the door of the destination. This is analogous to the walk to a transit station. Obviously this varies by person and situation.

Cars avoid the dwell time at a station, emphasizing the value of shelters and facilities at transit stations.

Certainly a car is more convenient than transit in inclement weather. This is not a reason to design transportation infrastructure optimizing solely for personal vehicles.

> * Cars make it much easier to haul stuff around.

The vast majority of day-to-day trips do not require hauling, unless that is part of your job. Certainly, if it is part of your job, you either have such a vehicle or it is provided by your employer.

Such hauling-based jobs are vastly improved by traffic reduction measures. Less traffic means better delivery times, and more importantly, more reliable time estimates for delivery. I know of no one in logistics who would decline to trade a small fee for improved times and reliability.

For personal use cases, as I mentioned hauling is rare. For the vast majority of people, the justification of hauling is better met financially by a van or truck rental as needed than by owning and maintaining a vehicle full time.

To be 100% clear, I am not saying, "you should not have a car, because vans are good at hauling." I am saying that "I occasionally need to haul things, so I need a car" is a specious argument. I am not saying you or anyone else should not have a car. I am simply pointing out that "occasional hauling" is not a good reason to own a car. If you want a car, have a car! If someone else wants a car, let them have a car! If you value the convenience of using your own vehicle for hauling at a per-use rate that is a large multiple of the rate of renting a van/truck, that is your own value judgment and you are welcome to it.

This is simply an observation that for the vast majority of people, the financial analysis suggests not a car, but a van/truck rental for hauling purposes. If you are not part of this majority, then please recognized that I am not trying to say that you are.

Hauling is a totally valid use case for vehicles and I've never seen anyone make an argument that the transportation of goods and stuff should be forbidden. Certainly I hope no one interprets my statements above as such an argument. The need to transport things, again, is not a good reason to build an entire transportation system in a city to optimize always for personal vehicles.

Again, a very common feature of reduced traffic, and even traffic-forbidden areas in cities is that they are close to most traffic, but still allow deliveries and mobility assistance vehicles.

And also, again, a reduction in traffic is a boon for those use cases.

greggyb··on I'm the Canadian who was detained by ICE for two weeks
Why is this flagged?

First of all, it's about an entrepreneur traveling to the US for a startup, which is directly relevant to a significant proportion of YCombinator founders themselves.

Beyond its direct relevance to the core founding audience of HN, it is not clickbait or wantonly inflammatory, and is clearly of interest to many based on the comment activity and votes.

greggyb··on Show HN: A personal YouTube frontend based on yt-dlp
Does this have an apparent impact on your recommendations?
greggyb··on Show HN: A personal YouTube frontend based on yt-dlp
A question for the author or anyone else who has experience in similar solutions.

Is there any good solution for discovering new content? Much of the time, I want to stick to my subscriptions, but I do enjoy content surfaced by the algorithm at least once weekly, sometimes more often. My concern in taking my viewing off-platform is twofold: 1) going to YouTube will prompt me with all the stuff I've already watched off platform, and 2) any changes to my viewing habits won't be reflected in algorithmic suggestions.

Am I making any bad assumptions or missing anything that would be useful?

As an example, I usually get conference presentations surfaced for me, but I don't track conferences to know when I should go looking for presentations. YouTube is good at surfacing these for me.

greggyb··on My stupid noise journey (2023)
We're well into subjective areas.

For me, while I find the 1% of purposefully obnoxious engines to be annoying, the thing that grates on my nerves is anything more constant. So for me, road noise dominates in what gets under my skin, not engine noise.

I cannot speak for you or anyone else, except to say that you have no right to speak for anyone else, either, who has not granted such right to you.

greggyb··on My stupid noise journey (2023)
Past ~20mph-30mph, tire noise matches engine noise.

In the US, at least, this means that the vast majority of streets will not see much benefit from EV transition, at least with regard to road noise. The quality of the noise will change, but not the total volume.

As an anecdotal reference point on road noise, I live within a couple miles of an interstate, and the noise I tend to hear does not have discernible engine noise. This is, of course, from vehicles moving at a very different speed than any within a neighborhood.

greggyb··on National Science Foundation fires roughly 10% of its workforce
Headcount is effectively cut if the rate of hiring is smaller than the growth of the country, which it is.
greggyb··on National Science Foundation fires roughly 10% of its workforce
Hiring so many new people is a false assumption. US Federal employment numbers have grown at incredibly low rates relative to US economic growth or federal spending.

~1% federal workforce growth since 2000: https://www.pewresearch.org/short-reads/2025/01/07/what-the-...

Federal employment numbers since 1940: https://usafacts.org/articles/how-many-people-work-for-the-f... (peaks are temporary census hires)

spending over time as a % of GDP: https://www.cato.org/blog/century-federal-spending-1925-2025

Inflation adjusted federal spending (~4% growth): https://usafacts.org/articles/how-has-the-federal-budget-cha...

US real GDP over time: https://fred.stlouisfed.org/series/GDPC1/

greggyb··on National Science Foundation fires roughly 10% of its workforce
Because your representatives don't actually know what is important to their constituents without hearing about it.

The news says what is happening, not what you, in your district and state, care about.

greggyb··on Debugging Hetzner: Uncovering failures with powerstat, sensors, and dmidecode
Managed servers: https://www.hetzner.com/managed-server/

There are also others, but Hetzner is under discussion here.

greggyb··on Thomson Reuters wins first major AI copyright case in the US
Collections of essays or poems are considered copyrightable. This seems analogous enough to me.
greggyb··on The young, inexperienced engineers aiding DOGE
Repealing Chevron deference implies that everything which used to be left to regulatory agencies must now be passed via legislation or litigated in court. Which of those sounds like faster change?
greggyb··on Scalable OLTP in the Cloud: What's the Big Deal?
- OLAP: read-mostly, table-scan heavy, many queries run ad-hoc by users

- OLTP: write-mostly, index-seek heavy, ~all queries pre-defined up front

greggyb··on No Bitcoin ETFs at Vanguard (2024)
It really doesn't traditional accounting is built around the use of an immutable ledger. Historical errors are fixed with correction entries. There is also a multidimensional conception of time to support this. We capture both the date the entry is made in the ledger and also the real world date it is meant to apply to.

So if you overstate something in December 2024, you can enter a correcting transaction today for that.

The first, erroneous entry has both it's accounting and business dates in December 2024.

The second entry, correcting the first is made today and so has an accounting date of today and a business date of December 2024.

greggyb··on Escape the walled garden and algorithm black boxes with RSS feeds
I subscribe. It does work. Did you read the linked post of hers? Perhaps your client is throttled or blocked.
greggyb··on Escape the walled garden and algorithm black boxes with RSS feeds
Why do you say that?
greggyb··on I Switched to Firefox and Never Looked Back
I have 4 Microsoft accounts I use regularly for work. I also do some consulting and often end up with credentials provisioned at a client (don't get me started on this).

It is so convenient to have container tabs. All my extensions are available in new containers, unlike multiple Chromium profiles (or Firefox profiles).

Container tabs also pair very well with Simple Tab Groups, which allow you to pin a container to a group, so that everything for one account ends up in one place.

greggyb··on Ask HN: Politics Blog Cloudflare Subpoena
That is weaker than NFS. They do not, by default, respond to foreign equivalents of subpoenas:

https://www.nearlyfreespeech.net/help/abuse#foreign

greggyb··on United Airlines to launch Starlink wi-fi in spring 2025
I can guarantee that even top of the line noise cancelling headphones do not obscure a conversation happening next to me. The only way to drown out enough noise is to raise the volume to an uncomfortable-to-me level.

If you are lucky enough that you can be in comfort and noise-isolated from earbuds or headphones, I envy you.

greggyb··on United Airlines to launch Starlink wi-fi in spring 2025
They could trivially allow the network to be used for anything, but also have a rule about behavior in the cabin to not disturb any other passengers. They’d be imposing restrictions only on physical actions you take during the term of the contract between the two of you, and while you are in the location that contract specifies. The ticket is the contract. And they can say, “Don’t talk with your voice to anyone not on the plane.” Or however they’d like to word it.

Personally, I’d hate to be next to someone on a call on a plane, and I’d hate to be on a call while next to someone on a plane. This is personal preference. It is no better or worse than your personal preference to sit next to someone while they take a call or to take a call while sitting next to someone.

Perhaps we’ll see an evolution of plane seating to allow for quiet zones, similar to how some trains have quiet cars.

greggyb··on Ask HN: Politics Blog Cloudflare Subpoena
Unhelpful for this situation, but NearlyFreeSpeech.Net is a pretty great host and their general policy is to tell people to pound sand for any requests.

Specifically in the face of a subpoena from a US court, they are bound by law to comply. There’s really no way around this. If a company wishes to remain in operation, they cannot flout the laws of the jurisdiction they operate within. That said, their policy is firm that they require legally binding instructions before acting and that they will alert you unless bound by law not to. This is a stronger guarantee than most hosts.

From their privacy policy:

> Unless legally prohibited, we will inform you of any cooperation we provide to any law enforcement authorities.

https://www.nearlyfreespeech.net/about/privacy

greggyb··on Help! Politics Blog Cloudflare Subpoena
The US Constitution doesn’t really apply to foreign nationals in their native country.
greggyb··on Databases in 2024: A Year in Review
My point was just that there’s a lot going on there, and value for those who want more than an RDBMS. I have no disagreement that the RDBMS on its own is not worth paying for for most, and especially not for any techish organizations.

I’d also note that most orgs and use cases probably don’t need more than 24 cores and 128GB RAM.

I think for an organization that wants a near-trivial out of the box experience with RDBMS, reporting, and analytics, Standard Edition is not a bad deal. Especially for the many organizations that are already using Microsoft as their identity provider and productivity suite.

greggyb··on China is the manufacturing superpower
When you say "economic perspective" I believe you mean a financial or poorly monetary one. Any econ course would teach you that economics is really based around preference and opportunity cost, which is inclusive of the non-monetary attributes you bring up to dismiss the "purely economic perspective".

Thus your argument, if framed in economics, is that countries are choosing a worse option, considering their alternatives. This is a valid argument to make, but it's not consistent with your introduction.

greggyb··on China is the manufacturing superpower
> You're not entirely wrong. There is a cost to duplicating effort. What is the cost of not being independent? Your country's sovereignty and maybe your life. Let us take care of ourselves as best we can and import only a small amount of stuff.

At what scale does that become true?

Certainly an individual is not better off importing as little as possible? This would mean not working any traditional job, not buying tools, not buying food, but crafting a comfortable life on one's own starting naked and with bare hands. Certainly it doesn't make sense to apply such a policy to the individual.

Should cities then be the scale at which this cutover happens? If a natural resource does not appear in its geography the citizenry must do without? Every city farms all of its own food, has factories for all told and merchandise its citizens wish for? Cars, industrial equipment, forestry, mining, clothing, food, technology, all made within the city limits? There is not even enough room for all of this.

A US state? A small country? What is the cutover point at which one is not impoverished by such a policy?

Or perhaps you believe I take too extreme a position on protectionism and think some trade is good at any scale. The same threshold must exist:

If it improves our well being to trade a little, what is the threshold at which more trade stops making us better off? Where is the inflection point at which a bit more trade hurts us? Can you point us to a country with an optional amount of trade? Or could you compare two countries based on their amount of trade and tell us which is better?

If you prefer a different framing: hopefully we can agree that isolationism at the level of North Korea is a negative for its citizenry, independent of the dictatorial regime they live under. It seems that you believe the US trades too much. So we can imagine a curve of some sort on a graph with the US on the left end and North Korea on the right. The slope moving from US starts off positive. The slope moving from North Korea starts negative. Somewhere between the two, there must be a maximum. How would one calculate it?

greggyb··on China is the manufacturing superpower
Totally understood and not under debate. I could have been more clear.

"3N" is blatant infringement, or at least would be understood as such in the US. China simply doesn't enforce trademark infringement in the same way. I am not opining on whether China should.

greggyb··on China is the manufacturing superpower
It is true. Why do you believe the US does not export much?

The US is the number two overall exporter, number two exporter of merchandise, and number one exporter of services.

What do you believe US exports should be?

Overall exports: https://en.m.wikipedia.org/wiki/List_of_countries_by_exports

Merchandise exports: https://en.m.wikipedia.org/wiki/List_of_countries_by_merchan...

Services exports: https://en.m.wikipedia.org/wiki/List_of_countries_by_service...

greggyb··on Phase behavior of Cacio and Pepe sauce
Reduce your pasta water. You can even save it like stock. Adding some is also a savior when reheating sauces that break easily.
greggyb··on Breaking Up with Long Tasks or: how I learned to group loops and wield the yield
But we’d have options. ~There aren’t any today.~

Ninja edit: there haven’t been any until workers.

← PreviousPage 2 of 34Next →