HNHacker News
TopNewBestAskShowJobs

KPGv2

1,085 karma · joined September 8, 2023

submissionscomments
KPGv2··on Show HN: Hntui – A TUI for Hacker News
Great! Get the News part of Hacker News without the Drama part of Hacker News. It's always better to increase friction to help you wean yourself off destructive habits like this one, where I'm spending time sending text to a stranger who will immediately discount my thoughts since I'm not them.

Long time ago I had an extension for my browser that would "pause" every social media comment I made and do analysis to see if I was acting like a dick. Maybe I should get it working again.

It all started when I found some website where you'd give it your Reddit account, and it'd do a bunch of processing and produce a report about how much you swore, if you had net favorability or not with up/down votes, sentiment analysis to see if you were coming from a place of friendship, etc. It really drove my behavior in a more positive direction.

I'm a kind, not just nice, person IRL. But the Internet turns humans into text, and I was taught as a child to engage harshly and critically with all text. That is to say, I had good English lit teachers.

KPGv2··on Show HN: Hntui – A TUI for Hacker News
Made me think of a cool way to burn tokens: browser that reports websites you visit to an agent, which then writes a TUI for that site, ultimately leading you to a collection of low-resource UIs for the five or so websites you actually visit. Then you stop needing to use a browser and your 16GB RAM with a browser using 64GB of RAM becomes a system with free RAM for the first time in years.

Think: Lynx but pretty.

(Also bonus, bot checks that flag you as one means you have more free time to not get advertised to or sucked into Internet drama.)

KPGv2··on When did Google get so weird?
Yeah and there are people who worship feces, but that doesn't stop the rest of us from freely saying "holy shit" and not correcting each other saying "technically it's not holy, and you shouldn't say that, because you might enable one of those poop worshippers."

We can't tailor our linguistic shorthand to the lowest common denominator. Also we're on HN, not talking to an octogenarian US senator.

KPGv2··on 'That's so AI ' What gen Alpha's biggest insult tells us
"someone was the first"

6yos don't only talk to other 6yos. They have older friends and family members.

KPGv2··on 'That's so AI ' What gen Alpha's biggest insult tells us
Right, but the opportunity cost of the down payment is what gets you. You're forgetting that if you rent, you have a large chunk of cash that you could invest in higher yielding assets.

This isn't controversial. This is what anyone with finance expertise will tell you.

KPGv2··on California is chasing wealth that has feet
This is what people in about five cities in the US think.

I live in San Antonio, a metro of 2M people (city itself is one of the 10 most populous in the US). That's pretty sizable. Median home is between 260K and 310K. That is, of course, with the larger homes you'll find here vs SF/Chicago/LA/etc.

KPGv2··on California is chasing wealth that has feet
How is it that landlords can't pass a land value tax on to renters? The link makes this claim, but I don't understand it.

It's a (real) property tax. Adjusting rent accordingly seems pretty easy. And, as I hope we all know, property tax is inherently regressive.

KPGv2··on 'That's so AI ' What gen Alpha's biggest insult tells us
> In many cities

In like five cities in the USA. I live in a top 10 city by population in the USA (so it's not "flyover"), and the median home price is 288–319, while median HHI is 89. That's easily in the recommended home loan range of 3*HHI.

Look, I'm sorry you can only be happy living in SV, but there's plenty of jobs in the boring parts of America, and the homes are affordable.

All that being said, homeownership is largely a scam, financially. Use your downpayment as a market investment and rent. You'll end up with more money when you retire, and as a bonus, you aren't tied to one geographic location if you lose your job.

The only reason apartments can even exist is because of economies of scale. If you have one rental property, it's virtually impossible to make money (certainly not in a way that outpaces index funds) because you don't have the economies of scale at your disposal.

KPGv2··on 'That's so AI ' What gen Alpha's biggest insult tells us
It's true. My 9yo and 6yo use this as an insult all the time.
KPGv2··on An update on Wayback Machine access
no. The topic at hand is distribution of copyrighted material, and you're talking about reproduction and possibly preparation of a derivative work.

At last in the USA, copyright law defines specific things copyright owners have exclusive rights to:

- reproduction - preparation of derivative works - distribution of copies to the public - public performance - public display

The most immediate issue with AI companies is whether they've made infringing reproductions.

The other possibility is the preparation of derivative works: does an AI response count as derivative of something it's consumed?

Sorry I'm not going to do the analysis for you, though. I'm no longer a bright, chipper IP law scholar.

KPGv2··on Anecdotally, programmers dislike "reduce"
>You have to define a free function to keep your fold readable and understandable.

I agree. But you'd do that for a for-loop, too, unless you want a bloated for-loop.

> In for-loop it's much easier to understand.

I have to disagree there. You'd still be working with a free function, or you'd be working with a bloated for-loop body.

Combining cache loopkups, metric tracking, etc. runs into SOC issues that IME for-loops just let imperative developers get away with until it comes time to test their code.

Furthermore, free functions aren't bad. They're good. They're a self-documenting abstraction. Unless you name it `function_one` or something.

Having my fold lambda do its primary business role but call `update_cache_and_metrics` makes it unnecessary for someone reading the flow of logic from even needing to go read the body of that free function.

KPGv2··on Nipple tattooist 'frustrated' by online censorship
The BBC is a good outlet, but their big blindspot is that it's pro-establishment. Now, when your government isn't a flaming pile of dogshit, this is less egregious of a bias than in the rare contemporary time when your President, say, wants to build monuments to himself and rapes children.

It's a whiff, here, for sure. But that's the reason why: the government is Good, and it certainly won't screw up spectacularly.

KPGv2··on Anecdotally, programmers dislike "reduce"
> I think that in every imperative language that offers `map`, `filter`, `reduce`, or similar, the written contract of this API should state that any higher-order function handed to it as an argument must be free from side effects.

Does the written contract for for-loops specify this as well? Because that's the obvious alternative for a reduce that an imperative programmer would reach for: a for-loop with the programmer managing the accumulation manually.

I also don't see why a reduce should be side-effect free. There's nothing wrong with having a type def't for reduce be

    base.data.List.foldLeft : (b ->{e} a ->{e} b) -> b -> [a] ->{e} b
Where {e} indicates a side effect. Here, the reducer can have side effects, and those side effects propagate to the result of the fold/reduce.
KPGv2··on Anecdotally, programmers dislike "reduce"
If your data should not be successfully folded if it's empty, you should've already parsed it as an Optional nonEmptyList instead of letting illegal states fly around for a while in your application.
KPGv2··on Anecdotally, programmers dislike "reduce"
For loops are not easier or more convenient than fold.

    fold sum 0 collection
versus

    acc = 0
    for x in collection:
      acc = acc + x
or the even worse

    int acc = 0;
    for(int x = 0; x < collection.length; ++x) {
      acc += collection[x];
    }
You can read one line and know exactly what's happening in the fold example. In the Python and C++ examples, you have to scan more lines and there's way more opportunity for typos.

A for loop gives you better memory management and speed, but the tradeoff only makes sense to me if you're doing embedded work or something. Otherwise, eat the .000000000001% speed loss to reduce the risk of logic errors, typos, etc. and to improve developer ergonomics.

KPGv2··on Backups Aren't Simple
Truenas, Crashplan gives me a 3-2-1 with rolling, incremental backups at a pretty low price
KPGv2··on An Update on Wayback Machine Access
> Why not just offer a paid endpoint for the crawlers?

Because then you're definitely violating US copyright law. There are four prongs of fair use analysis, and one of them is the "nature of the use." In this case, you'd be turning into a commercial use.

KPGv2··on An update on Wayback Machine access
I think that'd raise serious copyright concerns, if the Wayback machine started selling other people's intellectual property.
KPGv2··on Pion, an agent designed to run any company autonomously
no. I just used Gemini to update a website I'm managing for a charity, and one of those steps involved Gemini, on its own, offering to scan the website for one of our beneficiaries, specifically the header images, to see if there was more information to include in our writeup about the beneficiary. And it did it quite well.
KPGv2··on The Coming War on General Computation (2011)
> Romans built things to last

and yet, all of it has crumbled despite the copious availability of slave labor at construction time

KPGv2··on The Coming War on General Computation (2011)
> how many vibe coded apps do we need as a society

well I had AI program three things for me yesterday:

1. custom CSS for a website I read a lot so it conforms with readability research

2. crawl a Tumblr account of a comic book artist, download their comics, and assemble them into a PDF I can print and bind into a book myself

3. pull the code of a charity fundraiser website that is terribly written, refactor it, centralize the theme, and update it for the next fundraising campaign, and deploy it

About an hour of my weekend to do this. Each of these projects was a weekend before that.

KPGv2··on Mullenweg has returned as CEO after attempted board ouster
Anytime I read anything about this guy, Automattic, or Wordpress, I—a Tumblr user—get the nervous sweats about my beloved shayla.
KPGv2··on From Git to Fossil (2025)
Yeah I stopped reading at that point. Can't trust the reasoning anywhere else in an article once you run into that kind of stuff.
KPGv2··on Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls
Yeah, mini split ACs are so superior to American-style central air. I installed them into a couple rooms and removed the central air ductwork from the attic there. Thinking about doing it with the other rooms. Less power usage, every room gets its own temperature setting, quieter.
KPGv2··on Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls
To add to this, it's so nice. Sit on a stool in the middle of the room and rinse, soap up, scrub to exfoliate, rinse, then roll the lid of the bath open and soak in a sub much deeper than an American one. Bath is programmable to maintain a constant temperature.

Basically a spa experience every day.

KPGv2··on Shopify is moving from React Native back to Swift and Kotlin
"Native is now the future of mobile at Shopify" is a rather unfortunate title for a writeup of why you're leaving a product with "Native" in the name.
KPGv2··on Understanding the recent DDoS attack against Read the Docs
What do they do that you think is prohibited by a residential ISP contract?
KPGv2··on Making Teenagers Read Newspapers. A Nationwide Experiment in French High Schools
> However for world events coverage English is the more likely language

Can you explain how you arrived at this conclusion?

Certainly when I lived in Japan and picked up a copy of the Yomiuri Shimbun, the world events coverage was in Japanese. And when I've traveled in France, Le Monde was entirely in French. The international section didn't become English.

> For niches that might interest you

I'm not sure you're talking about newspapers at this point.

KPGv2··on Making Teenagers Read Newspapers. A Nationwide Experiment in French High Schools
This is a bizarre take. Newspapers, even really good ones, generally don't target international readers. They target their home country's readers. How many Englishmen are interested in the machinations of unions in Paris? How many Frenchmen?

Obviously the best coverage will be in the country's majority language.

KPGv2··on Making Teenagers Read Newspapers. A Nationwide Experiment in French High Schools
Le Monde has an English edition. Die Welt has an English version, doesn't it? I'm only familiar with the German, but I could've sworn.
Page 1 of 27Next →