HNHacker News
TopNewBestAskShowJobs

dspillett

15,939 karma · joined January 12, 2011

email: ISawYourCommentOnHackerNewsAnd.DotDot@indiv.spillett.net

If you disagree or otherwise think I'm wrong, please reply. I'm always willing to be educated, or to explain myself further if I was unclear before.

If I'm right and this annoys you, downvote without reply and I'll understand.

submissionscomments
dspillett··on Window Sweaters
A lot of detailed customisation options seemed to fall away after the big interest in customising everything reduced, rather than before. Back in the 00s many of us wanted things to be ours and part of our expression, and themes/skins were an active art form. [thinks wistfully back to the days of WinAmp, Enlightenment, and so forth]

Now many (like myself) who tinkered to make their setup just so now just want things to work but perhaps with a few custom options (wallpaper, overall app chrome colours, a few tweaks to the syntax highlighting & folding in our editors), and most “general public” users care even less, so there isn't the demand to warrant maintaining the extra code needed to allow more complete customisation at the window manager or app level. For those that want that, fun tools like this pop up.

dspillett··on MCP Explained
Bad documentation has been out there for as long as I can remember. The problem AI seems to be adding is the expectation of “just ask an AI” which is removing the drive to write even bad documentation and expecting the AI to derive answers from code and API references.

No MS, I don't want to ask co-pilot. Why don't you get co-pilot to draft some good documentation, that you then review and edit to make sure it is accurate, instead of expecting every individual to ask an AI for every question they have? That would be a lot more efficient in terms of energy use, I expect.

dspillett··on MCP Explained
> This is a problem with most docs I encounter.

Most documentation is reference documentation, which as you find it not very useful for just starting out (it assumes at least a small base of knowledge about what it is documenting).

> _Good_ documentation should also teach the user how to use the thing

Good documentation usually comes in at least two parts: guide/introduction and reference. This is how some of the better ORA books were written, back when dead trees on shelves were a key source of learning for programmers - three sections: a small one for absolute basics (what you need to know before starting, many could skip this), the second an introduction to the concepts of the new thing (language, library, server, etc.) and what differentiates it from similar/related things, typically with worked examples, and at least the last half of the pages being reference material (split into meaningful subdivisions where that is useful). Sometimes they would split this in two and there would be explicit introduction and reference works (under the banner “complete reference”, though these would have a little introductory text in them too) for the same subject, but not always.

When you try to merge the two (guide and reference) too closely it all too often ends up either too basic or irritatingly long-winded for the experienced readers, while still being too opaque for those who are starting from scratch.

Sometimes a single good README is all that is needed for the guide part these days, sometimes you need that with branches (links) off to longer introductions to specific parts, it depends on the size of the project.

dspillett··on Hardcoded credentials and other issues in Tata Motors App
Come on, you can file a better problem report than that. “Doesn't load” can cover a great many issues: link not valid at all (NXDOMAIN, 404), some sort of error from the server (404, 401, 500, 200 but with error in arbitrary text), no connection, looped redirects, …

The best you'll get from just saying “doesn't work for me” is people like me saying “its fine here”, like so: it is working fine for me from here.

dspillett··on Britain to make salary disclosure in job ads mandatory
Does the law, as implemented in their local member country, state that they have to state the salary range on that sort of post. There are a number of possible loopholes I can think of depending on how their regulations are written: it is an international posting, it is an informal/prospective posting, the information is available on their site (which they may or may not link to) etc.

Also “in the last year” means only ~50% of that time is covered by when enforcement started.

Some countries have yet to pass any legislation too, this happens quite a lot if you look into past EU declarations, so companies there might be using that as a loophole to act as if not yet be effectively covered (in theory they could be taken to court over it, but that is can be complicated, or at least expensive, when there is no local legislation yet, so in practise it is far less likely to happen). What action will be taken by the EU to push things forward, I'm not sure, presumably there is some sort of fine for extended non-compliance? The question of who you are advertising to and where from can get a bit complex if you are a company in a member state that has not yet enacted anything, especially when you operate out of more than one territory.

Most of the jobs in that HN thread do give a salary expectation (though a few with a very wide range, which might be outside the rules, but they were US anyway so not covered), I don't think I saw an EU one in my quick scan that did not (at least one UK one, but again those are not currently covered by such rules).

dspillett··on OpenSSH 10.6p2 has been released with a workaround for a critical vulnerability
At least in that case, if the account is compromised we definitely didn't leak the credentials. That we don't have them to leak is one of the advantages of key-based auth.

[of course not having the credentials to leak does not protect us from this sort of bug, it is just one factor in a multipart security stance]

dspillett··on OpenSSH 10.6p2 has been released with a workaround for a critical vulnerability
Previous company: probably. It could be a dealbreaker for the client, and we bent over quite readily on a number of issues considered minor (keys are best practise, but passwords are so common it is difficult to argue that they are so bad they should be refused).

Current state (now we have been bought and are effectively more than an order of magnitude bigger): I definitely don't have opportunity to make a unilateral decision like that. Even though the larger company has a more “fair enough, feel free to go elsewhere” attitude when a small client says “if you can support × that is a dealbreaker for us” then we could previously afford to take as our stance, some of the bigger clients are definitely paying us enough, and do use passwords, that someone above me would overrule a keys-only decision.

dspillett··on OpenSSH 10.6p2 has been released with a workaround for a critical vulnerability
We have clients (regulated banks and insurers of various sizes) that send us feeds via SFTP. You might be surprised what proportion of them ignore our “we strongly recommend key based authentication” and ask for password auth instead.
dspillett··on So my ISP was hijacking my DNS
Ah, yes, I forgot the NXDOMAIN hijacking.

I was thinking about interfering with existing sites.

dspillett··on So my ISP was hijacking my DNS
Not if they are only using it to route the DNS traffic (though in that case a cheaper VPS might be better), which will work if the ISP is only poisoning DNS replies and not (which is often the case) blocking traffic to the target servers entirely.

The problem with this is you are adding a moving part to your DNS lookups. It might be worth adding two on separate VPS hosts and have your resolver fall back to the second if the first goes down.

Another, usually more minor, problem is that some services (like CDNs) use the source of your DNS query to modify the response so you get sent to a topologically near-by end-point. This means you might notice such services being slower as you are sent to a PoP near your VPN host not one closer to your actual location.

dspillett··on Lemmings CSS Animation
As the first paragraph says (“Drag one to carry it”) you can move them around to put them on/in the parts that you want to test their interactions with.

Other than respawning them as you scroll around, so one starts in an appropriate place as a test comes into view, and resetting them automatically, perhaps on a timer, there probably isn't a better way to properly show it off than that.

dspillett··on Ubuntu: Canonical Extends Long-Term Support for CVE-2026-98432 Through 2036
That is nice and all, if they ever release the update so that they can support it…

https://ubuntu.com/security/CVE-2026-98432#status still shows “work in progress”.

[I know the update is available in “proposed” if you are willing to jumpt through those hoops]

dspillett··on So my ISP was hijacking my DNS
There were certainly a number of ISPs in the UK that tested ways to inject ads in content in the 2000s, there was quite a hoo-hah about it in some forums. That was usually by modifying HTML content in transit via transparent proxies though, not DNS poisoning, but it shows that the intent exist{ed|s}. This is one of the reasons that HTTPS-everywhere is a good idea even if you aren't concerned about snooping in general.
dspillett··on 'It's just vape, nail, charity shops': Can anything save UK high street?
Not sure exactly what the previous content was referring to, but many salons (not just nail salons) also sell some of the products that they use (or claim to use) or knock-offs thereof, sometimes "under the counter". I can't see this making enough to cover high street rents though, however good the kick-back is, but it can't hurt too have an extra revenue stream.
dspillett··on Postman silently auto-installs AI plugins and attempts to share all API data
> and most terminals have a hard time using the mouse to reliably edit a cURL command

This is true. Even though I'm not much of a mouse user for it, I tend to edit curl commands of much length in a text editor when I'm doing things by hand, then pasting into the terminal.

> especially if the last command didn't do a final "\n" output

Or if your prompt outputs something to stderr instead of stdout so it doesn't get counted when the shell is trying to position where you are in editing the stream. Ubuntu's default prompt under byobu is a pain for this when I move to a different machine and forget to carry my tweaks for that.

For the missing final \n I just hit [enter] an extra time, but getting round the stderr thing isn't quite that simple.

dspillett··on Postman silently auto-installs AI plugins and attempts to share all API data
There are a couple of open source alternatives (though at least some of those have tried to go the way of Postman to some extent), just using curl directly, or we've rolled our own wrappers (personally, or team- or company-wide) for our specific use cases.
dspillett··on Postman silently auto-installs AI plugins and attempts to share all API data
If they can charge for it, why not? Search is an important part of mail for many users, so there is some cross-over in knowledge/experience that can be leveraged.

And assuming you mean Google, the question is based on a false premise. They were an advertising company years before gmail was introduced, and an ad-tech company being able to trawl your mail to find ways to advertise at you is a very different proposition to a search company releasing the same product.

dspillett··on Postman silently auto-installs AI plugins and attempts to share all API data
Because we don't have that special sort of brain that thinks turning such a simple useful tool into a commercial behemoth is a good idea? I doubt anyone there really things there is a useful purpose to it all, but they have to keep it in motion to keep their pay coming in.
dspillett··on The AI Bubble Monitor
They are hoping rather than assuming because if there isn't sufficient demand (sufficient paying demand, not people who wouldn't pay just using it for free because they can), there is no way back for them that isn't an amusingly catastrophic collapse, and they are scaling up as if the demand is a forgone conclusion because it just isn't worth trying to plan for the other option.
dspillett··on Resisting Cognitive Surrender
I've been working on that for years.

It'll take a particularly dumb and lazy AI to replace me.

dspillett··on If you love a website, back it up
Obligatory plea: when scraping sites for archive purposes, take care to do so slowly so as to not impose an unfriendly amount of load on the target site. Otherwise you risk becoming part of the problem that is making some take down their resources ATM.
dspillett··on WTF Ubuntu?
There are a lot of Ubuntu boxen in production out there. It is basically the default for Linux VMs in Azure, the UX sort of pushes you that way unless you have a particular preference otherwise. I do have a preference, for Debian which I've used at home for many years, but in DayJob Unbuntu is close enough and seems to make others more comfortable (in part due to the impression some have that it is better supported in Azure). I'm surprised MS aren't nagging Ubuntu to pull their finger out for this reason (maybe that are, behind the scenes, but if so it isn't working).
dspillett··on US boy names that became girl names and vice versa
> I have no data but feel that boys tend to get the family names and biblical names (in US anyways).

Or both: the family names having been chosen originally from biblical names, but not continuing for that reason.

I'm a David, and there were many Davids in my University intake year, but I suspect that has less to do with the Bible and more to do with mothers of a certain age range having interests in the Davids Bowie or Essex (or both! - quite possible in my mother's case).

dspillett··on Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust
> I am counting on the fact that _companies_ would be too worried about legal uncertainty to try this

Oh, my sweet summery child :-)

Companies have been doing far more dodgy things, things that look objectively illegal where-as the clean-room reverse engineering thing looks to me (caveat: not a legal expert at all) to be legally defensible, for a long time, definitely pre-AI.

Even if a company operating in your jurisdiction, where you as an individual might have a cat in hell's chance of even trying to sort the situation to your preference, might not, you can bet your last <currency unit> that a company elsewhere will feel more free to do so if they wanted what you have without agreeing to your terms.

dspillett··on It wasn't AI that flipped Proton's charge
Not the market, the overall market, at least not directly. Their shareholders. Proton Foundation is the majority owner, so essentially they are demanding it as they have the power to set the ARR target that success is being judged by.

So basically: money, and their desire to have more of it, is demanding this.

dspillett··on Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust
> It’s also why I don’t think someone can just easily create another one and license it under BSD. My code is AI assisted, but all truly important pieces were human made.

Get one AI to describe what the code does, and another to implement based on that description. You might even get away with a human doing one of the steps. A variation of the classic “clean room reverse engineering” method that was used by Compaq to reimplement IBM's BIOS and start the clone PC market.

Some argue that “it doesn't work like that” but it certainly seems to be what some people are doing and as yet no one has been confident enough that their copyright extends through this mechanism that they've tested the theory in court.

Note: I'm not saying it is right, but that it might well be perfectly legal. It is definitely possible, practical even. I'd still release stuff under AGPL/similar for the same reasons stated above, but I'd not operate under any illusion that I'd be safe from someone using that method to copy everything they wanted to.

dspillett··on If IPv4 were land
> Thanks for explaining.

No worries, I'm happy to have very slightly reduced the amount of confusion in the world (especially if it might have been caused by my previous message not being as clear as I thought it was at the time of writing!).

dspillett··on Breaking the open web won't stop the bad bots
> Don't the bots still need to do the proof of work for Anubis? They can't "async" their way out of that work.

The implication is that while they are waiting for the async loop to complete for one site, the bot can be scraping others that have already had the challenge completed (usually the one challenge stays in force for some time afterwards) or that have no such challenge.

Memory hard challenges will reduce the effectiveness of this, but not remove it completely.

Though that these methods are working at all implies that most (almost all?) bots are not bothering to use such async methods as there are sufficient resources not protected by them that this complication is not yet worth implementing.

dspillett··on Breaking the open web won't stop the bad bots
You seem quite incensed by the anime girl of Anubis. Unfortunately for you it is here to stay for a while, along with cloudflair's implementation and others, as they do reportedly make a difference to the sites using them as shields. Until something better is found, the other option is that the resources otherwise serving more bot traffic than they can afford simply go dark which would be worse.

Equating bot prevention measures with “please give us permission for 1,000s of companies to stalk you around the Internet, no? Here are some dark patterns to try make you accidentally agree” is rather unfair IMO. They are an inconvenience but for the protection of the sites rather than for the betterment-of-adtech-via-conning-you-the-viewer-with-malicious-compliance.

> Bots can use async or virtual threads and not even have to hold on to a stack while they are waiting for this bullshit

They could, but given these methods seem to work currently most (almost all?) are not. They will start doing so if the amount of resources protected in this way increases to the point where it is worth it, or course, that is why memory-hard processes are being worked on which will make that route less practical.

> cookie banners, and of the that crap should be an automatic F grade on WCAG and should make web sites immediately liable for ADA lawsuits

I can't disagree there, though that would be quite an inefficient process and requires a bunch of money up front from who-ever champions the legal challenge, so I doubt it would actually be at all practical.

dspillett··on Breaking the open web won't stop the bad bots
> My experience with a crawler is that people don’t actually provide a robots.txt far more often.

I think many don't see the point of robots.txt as it will just be ignored by most bots anyway, so instead concentrate on more complicated measures.

Page 1 of 34Next →