Better HN
topnewbestaskshowjobs
Log inSign up

kbenson

31,687 karma · joined Jul 26, 2012 (14y ago) · 10,699 submissions

k e n t r a k # google's public mail service
Submissions

comment 14h ago · link · parent

Which is why it's a play on the idiom, meaning there's some variation or twist or pun, not direct equivalence. You're expected to put together what was explained, or at least intuit that's what they were going for, even if the exact linkage wasn't obvious.

comment 4d ago · link · parent

Programming is going the way of skilled trades. And that's okay.

Think of electricians, plumbers, carpenters, mechanics, etc. People can and do attempt and often complete that work themselves, but larger projects, professional projects, and people that don't have the time nor expertise but want a good job done pay professionals to do the work. The AI is the toolset, and experience in using the tool and knowing where and how it works best and the tricks to make it work effectively will be the real distinction, between a layman and professional.

There will also be people that are more specifically on the software engineering side, where they might be equivalent to a contractor or an architect depending on size and complexity and how much is design and how much is assembly, so it won't just be people assembling stuff from AI designs.

All that's happening is that we'll get some stratification of roles by what different positions are good at, and we might get some actual certifications that mean something, and while the total number of professional programmers might go down, there will still be a need for them at all skill levels, and the general public will dabble in it much more often.

There's going to be a shake up and a rough time for surplus programmers, but just as there was a surplus of woodworkers that had hard times when the assembly line was introduced and popularized, it will normalize over time. I suggest people either lean into their tooling a lot to learn how to use it well enough to be those that survive that culling, or look into related fields that won't be eaten quite as much which they can inch towards.

Note: If you are in a growth industry or company, you'll be safer than if you aren't as lack of need to hire or slowed hiring may be the local result instead. So staying if you're in those or finding those may also be a good strategy for a while.

comment 1w ago · link · parent

Which is exactly where a lot of spam comes from, exploited systems that don't have correct reverse DNS. The checks are stringent because to allow exceptions is to allow people to abuse those exceptions.

FWIW you could probably get yourself a $5 VPS to use as the public portion of your mail setup that just forwards to your local mail server, which can in turn smart host through that VPS, and you'll have most the same features but with a dedicated IP that you can control both forward and reverse DNS through (depending on provider).

Depending on your ISP they may also allow for options for setting reverse DNS depending on your service. It's a bit niche these days unless you're paying for a business class service, but it really does depend on the ISP, as some offer it fairly cheap and some don't (independent ISPs may be more likely).

comment 1w ago · link · parent

> Of course, I did stop reading (and flagged the post).

Why would you flag the post? Generated content in submitted links does not break the guidelines, just AI in content of submissions (e.g. Ask HN) and comments. It's not definitionally inappropriate or of no use either, unless posting to a website that auto-generates documentation out of some other content (e.g. module documentation or man pages) would be. For example, where it provides relations and links and dependency information by scanning the code, which often has problems where it determines a soft or optional dependency is a hard one.

comment 1w ago · link · parent

But are there reasons for them to say it? They don't say it because there's no benefit to the company by saying it, either outright or implicit.

comment 1w ago · link · parent

Bulldozers aren't restricted vehicles, anyone can buy them. What you seem to be upset at is that they became very cheap and easy to obtain, and everyone is using them to landscape their small front yards and the damage caused is often outweighing the time saved by using something simpler that takes more time and effort. The bulldozers work fine, but if you use a large one to clear everything you might just find you've also taken out the walkway to your door inadvertently, when a small one that took a bit more time and effort would have allowed for you to target what needed attention.

That metaphor has been stretched about as far as I can take it, but it's the tools and people getting access to tools they've not been trained on to do tasks they have no prior experience with. As someone who just laid laminate flooring myself for the first time, I'm keenly aware of both having the right tool for the job and the knowledge of how to use it and knowledge of how to do the task in general affects the end product. The mistakes I made are my own, not the cause of the incorrect tools I used at times.

comment 1w ago · link · parent

> Implication: If it can spot it, all the code it writes must therefore be secure

Which is funny to anyone that's prompted one to review some code for security problems where that code is something it generated previously.

comment 1w ago · link · parent

I saw that too. CVE-2026-111497 is the Brotli CVE, so my guess is they reused that prior page as a base to start with and missed changing that.

comment 2w ago · link · parent

We don't use cockpit, or GUI tools of any sort really. We use base Linux tools for almost everything. If it's stable and gets good patches, with a good support period, that's what's matters to us.

comment 2w ago · link · parent

We're an redhat (originally) and derivatives based shop for 30 years now, but if I was going to choose a different stable enterprise level distro to base a fleet on, there's a very good chance it would be Debian.

comment 1mo ago · link · parent

You're mistaking what a company started as for what it is now. Nvidia hasn't just been a video game card manufacturer in well over a decade, and hasn't been primarily one for quite a while now.

They are the premier manufacturer of electronics that power all the current AI. Why wouldn't they be contributing heavily to the space?

comment 1mo ago · link · parent

What are these "rules" you speak of? There's usually nothing binding in these agreements. It's just groups either trying to do the right thing by end users or trying not to look like assholes, get a better payout, or some combination thereof.

Finding an exploit and publishing is is not against the law. In some cases, publishing immediately is the responsible thing to do. For example, when it's actively being exploited in the wild, and waiting just puts people at risk that don't have any recourse to protect themselves, since they don't know they're at risk. There can be nuance to that as well, but in general, as soon as it's being exploited, anything that makes it harder for end users to a) know there is an exploit, or b) tell if they're susceptible to it (e.g. through a POC) is just taking away people's ability to take the action they deem appropriate.

comment 1mo ago · link · parent

If you think your only tool is a hammer, everything indeed starts to look like a nail.

This is one of those things that might be best solved through policy and law. There probably will be some changes to policy and law to help, eventually. That stuff usually takes a while, and that's always been a problem for those suffering in the interim.

comment 1mo ago · link · parent

> All of those except for therapy are awful career fields. Musicians, actors, artists (outside the tip top of the field) are all the butt of jokes about how broke they are.

If you're aiming for the top, sure. There are plenty of people who make a living doing stuff like that and are happy because they enjoy it. You're unlikely to be one of those people if you move to an area where there's an extreme over-supply and try to "make it big", or try to be "pure" to the art and eschew commercial options. e.g. An actor in LA, the starving artist in a loft in NY.

> Therapist might make out well for a bit, but it seems like a loaded term these days .

Loaded how? I was thinking of psychologists, licensed mental health professionals, physical, occupational, and speech therapists.

comment 1mo ago · link · parent

> The problem is: how do you as a researcher become comfortable testing on a voluntary human test subject?

I don't think you and GP are actually saying anything different. I interpreted their statement 'The researcher should first ask "would I feel comfortable testing this in a voluntary human test subject?"' not to mean don't test on animals if you wouldn't on a human, but to use your reaction and feelings to that to guide your judgement, and help judge what type of animal testing you're at, not to be a binary switch of whether any animal testing at all should be done.

comment 1mo ago · link · parent

GP is referring to the submission, in case that wasn't obvious. It's opining as to possible reasons, given the author is one of the people who had a feature reverted.

> Did someone not understand what went in?

Unlikely, from the context.

> Might someone have offloaded their thinking to some external tool?

No, according to the author, since the features predate most current LLM assisted coding.

> Did people stop caring?

I'm not sure what this means. Presumably things were reverted because people cared enough to make sure it was good quality before being released.

> Did someone not plan or design a feature in full?

An admitted possibility

> Were the timelines unrealistic?

Depending on what you mean, that may be correct according to the article, but I suspect not in the way you mean.

> Maybe with so many reverts timelines should be revised?

It sounds like there was a very large increase in load in some of the people that would commonly review during this time period, and that may or may not continue to happen to a greater or lesser degree in the future, it depends on how LLMs advance in finding bugs and if there are other large waved of bugs reported.

comment 1mo ago · link · parent

There are actually a lot of professions that either directly or indirectly rely on that. For example, therapists and social workers of many stripes, actors, writers, musicians, etc benefit directly from that, for at least some sub-disciplines/genres. Indirectly, almost every job where you interact with others directly to provide a service or sell a product (which is many, many things, and more than might first come to mind).

I doubt most people will be developing a rapport with an AI agent trying to sell you that contract at work, or helping you when you're irate and have escalated a problem a few times.

comment 1mo ago · link · parent

> The point of (sane) string interpolation is that it runs at compile time, which helps prevent people from inventing crazy template systems at runtime.

It's the trivial cases that are compile time. The interesting templating is done with input that isn't defined within the source, and those can't be run entirely at compile time.

> And you automatically get things like safe SQL queries with parameter binding instead of injection vulnerabilities.

That's been solved for decades with parameterized queries (binding variables), and doesn't require interpolation in any way (at least not in the context we're using it here, but probably not at all in most DB drivers and engines). In fact, I would go so far as to say if someone is trying to use string interpolation instead of parameterized queries to avoid SQL injection, they've fundamentally misunderstood the problem and are trying to solve it at the wrong layer.

Also, if the string interpolation for the query is done at compile time, what type of content known at compile time is something that we'd be worried about SQL injection being in?

comment 1mo ago · link · parent

Wow, I had forgot that Rin Tin Tin is something I can recall from my childhood. I'm not even sure I remember how I know about him, other than hearing the name and seeing random bits of media (maybe even stuff in advertisements or posters). Maybe one of the shows or movies was still played in the 80s when I was a young child, or perhaps the 80's were soon enough after some of the popularity in the 60's that it was still in the public consciousness, and the turnover cycle of pop culture wasn't as aggressively fast.

comment 1mo ago · link · parent

There are also some pathological bad use cases out there that are caused by the combination of trying to scrape all the content, a randomized param, and the scrapers trying to be anonymous. The one I've encountered is pbpBB.

phpBB will assign you a randomized session if if you visit it anonymously (without logging in), and will serve the page to you with that sid param added to all links. Using that link will load a page without the sid param appended to links, because the system assumes you have a session I'd saved in a cookie since it saw you have a sid, even I'd you don't have/didn't send a cookie with it. Following any of those links starts the chain over if you aren't sending a cookie along with a sid, which the AI scrapers never do so they can't easily be blocked by that, and a new unique sid is generated, and all the links have the new sid appended.

Every page with a unique set of params and values needs to be investigated, because it can be an entirely different page, so AI scrapers will scrap forever, always finding more and more URLs to harvest, even though they're all duplicates of what they already have. It's easy to have multiple scrapers stuck going through a very small bulletin board continuously.

Maybe they've gotten smart enough to deal with this situation in the last few months, or maybe they put in a specific workaround. I ended up just throwing the site behind cloudflare because spending time trying to outsmart AI agents in a battle of escalation doesn't seem like an effective use of my time.

comment 1mo ago · link · parent

The issue is that a dynamic site that can serve the traffic that generates 10MB of logs a week might be very performant on the smallest and cheapest of virtual servers, but one that generated a GB daily might find itself very slow and sometimes crashing because of load depending on spikes, unless they opt for a server with more resources, for more money.

Any answer to that along the lines of "do something more complex" or "optimize your site for load" to be able to deal with the rampant bad behavior of multi-billion dollar companies is unpalatable to most.

comment 1mo ago · link · parent

Pretty sure they're referring to their usage as a potential content consumer, not content creator. You don't need a cloudflare or AWS or any other service account (usually) to be an end user of a site that utilizes those. Increasingly it's hard to view any content on the social media platforms without an account.

comment 1mo ago · link · parent

What you want is something akin to a Raku (perl6) grammar, which was their enhancement to matching they developed to go beyond regular expressions.

    grammar IniFile {
        token key   { \w+ }
        token value { <-[\n;]>+ }
        token pair  { <key> \h* '=' \h* <value> \n+ }
        token TOP   { <pair>+ }
    }

    my $text = "user = alice\nrole = admin\n";
    my $match = IniFile.parse($text);

    if $match {
        say "Parsed successfully!";
    }
There are various libraries for other languages that try to accomplish something similar or Port the concept, so if this interests you, maybe you can find one. Or in this day and age, maybe you can have some VC (and much of society) subsidize the fairly quick creation of a library for you language of choice through AI.

If you're not looking for that, and more specifically what you have shown above, there are often ways to accomplish that in certain languages. In Perl it's easy because you can use regex cars in a regex, so you can just assign `my $digit = qr/(? :0-9)/;` and then use it in the regex as you did (and Perl already supports non matching whitespace with a flag). For that matter, Perl regexes allow you to define chunks purely within the regex to be reused in a DEFINE block, so possibly that is a feature other regex engines have as well.

comment 1mo ago · link · parent

Honestly, I still write a lot of perl, and while interpolation is nice and good to have for simple things, I find myself using sprintf more and more in production code, especially in the cases the examples always show off, such as needing to alter the variable, add two together, etc. I assume those are just shown to illustrate you you can do that, and not imply you should, because commonly using arbitrary code execution within interpolation is something I'd feel compelled to beat out of my coworkers if I encountered it regularly.

comment 1mo ago · link · parent

There's actually a few ways it could have been meant, or it could have been meant to convey all of them. We all have a pretty good idea in the general sense what they meant, but that amusing reply is also an invitation for the person to elaborate and add nuance.

comment 1mo ago · link · parent

They probably do. Not all medical procedures have a greater than 50% expected chance of survival, but it still might be better than the alternative. That doesn't necessarily mean the anesthesiologist is the once responsible for the death, nor that anyone is, for that matter.

comment 1mo ago · link · parent

A cavity is just a hole or groove of various depth. It's probably less that one dentist sees a cavity and the other sees nothing and more that one dentist sees a cavity worth addressing the the other sees the beginning of a cavity that they figure will need to be addressed eventually, but there's not a major reason to do it now rather than next year or the year after that.

Also, I imagine some dentists might decide for their patients benefit (as long as there's no pain reported) to let a couple develop to a level is there's a few in various stages of development, so they can do them all at once with a single procedure.

I don't know how likely or accurate those are, but those are some of the obvious ways that came to mind that dentists might be seeing the same thing and suggesting different actions that don't boil down to them wanting to fleece a customer.

comment 1mo ago · link · parent

I don't feel like this is responsive to what I said when taken as a whole. I obviously wasn't just advocating for something because it's faster.

...but, if your goal is really verifiable state, why don't you just use image mode linux with bootc, since it provides much of what you're looking for, except to a higher level. All your arguments for NixOS so far apply to that as well, but there's even more immutability and verifiability.

comment 1mo ago · link · parent

That's useful if the system is still up and you can trust the state information, but when you have a disk failure, or there's enough system state corruption that you don't want to rely on that state tracking, you're then going to need something else.

Also, are you pinning your package versions in your config? For every single case of that, is the original package still available? Were they coming from remote sources which may not keep prior versions always available?

Did you build anything from scratch? Did you supply a source or binary archive to install from? Is that source still available, of the exact same version?

There are numerous things you need to worry about when rebuilding from what the state should be based on a description of that state (which may include arbitrary actions), as opposed to restoring from a recorded state that includes everything needed in the recorded data.

The more you can record the better. Should you also record nix configuration state and use that to restore when it makes sense? Sure! If it's simple and easy and doesn't use an inordinate amount of space, why wouldn't you? Just don't confuse nice to have with sufficient based on the specific requirements and goals your backup system needs to meet.

We have entire system images in an immutable remote store, but that's not what we go to first, it's what we go to when our quicker and easier systems are insufficient. If we were running NixOS, we'd probably keep everything we're doing now, and then also just add the NixOS state as a separate thing that's backed up and saved on every change (and in fact, along these lines, we also run etckeeper on every host and track all changes to /etc with daily commits if something is changes but also an automatic commit at the beginning and end of every ansible run we do that applies our host configuration).

More is better. If I want to see configuration changes, I can usually just look in etckeeper on the box, if I want to restore a tree to the exact state it was at a specific point that a backup was made through rsync, I can do that easily enough (or just navigate the directory tree on the backup server, if I just want to see what it was, or diff between different states at different times). If I need to restore the whole system image from a known good backup, I can use Veeam and the local repository for that. If the local repository is dead, I can use the replicated off-site repository. If an attacker has destroyed both those, I go to the immutable off-site backups, which I'm probably doing to use after rebuilding my backup infra from scratch to restore from. Each of these protects from slightly different scenarios, and offers different trade-offs for security and integrity and ease of use.

comment 1mo ago · link · parent

You've missed the point. It doesn't matter that you can rebuild the system exactly, the example in question had little to do with how accurate the restores were, it had to do with the time to reinstall.

I too can entirely rebuild many systems simple from kickstarting a new one and applying an ansible playbook. Do I want to? No, that's too slow, and I might be doing this operation for tens or hundreds of systems.

We have multiple levels of backups. We use veeam for VM and physical backups of the entire system to a disk store that's also shipped off-site to an immutable store, but we also run an older system based on rsync which rsyncs the system to directory on a server (sans some data directories) that uses snapshots to keep space usage minimal for the purpose.

In many cases, if we want to restore we can literally just rsync data back to the host, whether one or a few files or most of the system.

I can restore many types of failures within seconds or single digit minutes at most, and the time required is mostly unattended time. Time to restore is often an important and overlooked metric, until you've been bitten by it and realized that an hour or more of work from a person to restore something doesn't scale well in some scenarios, and those are often the most important ones.

12345
357