13,027 karma · joined Apr 17, 2018 (8y ago) · 2,662 submissions
[ my public key: https://keybase.io/holysz; my proof: https://keybase.io/holysz/sigs/X_fR6Li4U1P5lNXm-V0ccha73PNi0KSCQvtk70bfuWo ]
comment 1d ago · link · parent
So many companies are doing fancy TUIs these days, and there are basically no good answers for accessibility in this space. It's not an unsolvable problem; it's just that nobody has quite bothered solving it yet. The web had the same issue once upon a time, and, througgh the sweat and tears of many dedicated people who worked on this over many years, has basically solved the problem[1].
We can't just go off and do this on our own either; one could make a spec, but the spec would need buy-in from one or more participants in the ecosystem to go anywhere.
I know you're doing a lot to move the terminal ecosystem forward, so you're in a very good position to get this moving if you were willing to do so.
[1] By that I of course don't mean that the web is wholly accessible, I merely mean that, if you want to make a fully accessible web app that feels like a desktop app, you can. Not many organizations bother to do so, but there are a few that do, VS Code being a shining example.
comment 2d ago · link · parent
MitM attacks are hard and often require physical presence (they're possible without it, but generally require some other non-cryptographic vulnerability somewhere else, like in a router). They're harder in 2026 than they were in 1995, as far fewer people use hubs and such.
If most of your sessions use quickly-rotating tokens (AFAIK true on mobile, not so much on desktop with quickly-expiring cookies), even doing a successful MitM only gives you a relatively short opportunity to act.
Assuming symmetric crypto is secure (it is assumed to be much harder to crack than asymmetric crypto), banks could, if worst comes to worst, require an extra layer of SMS-based confirmations for each transaction. SMS is protected from MitM, as its security rellies on the adversary knowing a symmetric key shared between your SIM card and your carrier.
The core assumption of most (if not all) cryptocurrencies is the security of asymmetric cryptography, and they don't have the "side channels" that traditional banks can use to authenticate you.
comment 4d ago · link · parent
comment 4d ago · link · parent
Give me a top-level ~1000loc harness.py that just connects the major components together, letting me replace any of them as I see fit. No settings or configurability whatsoever, configuration just means asking the LLM to edit the harness.
Also, I think at this point, it's clear what a harness architecture should be. You should have four components, the UI (TUI, GUI, web, nothing for automated workflows like CI reviews) which runs on the users' actual machine, the "brain" (the LLM itself), the "hands" (the actual tools, running on the machine that the work happens on, which could be a remote server, and the "nerves" (the part which owns the actual loop, skills, transcript store and memory), preferably running on some persistent server that can be accessed through multiple machines.
Many harnesses conflate these to their detriment.
comment 4d ago · link · parent
I think AI will force deregulation in one way or another, just so that it's easy to buy and adopt AI for defenders.
It's war, but the adversary is many teenagers in many basements in many different countries, most of which are non-responsive to your law enforcement yet not complicit enough for you to actually invade. Governments aren't ready to fight that kind of warfare.
comment 4d ago · link · parent
An acquaintance of mine (let's call them John) worked for company X, and had their account linked to their Google Play. X also employed Jack, who previously worked for Y, which indeed got up to a lot of unethical stuff. When people at Y started getting banned, John and other people at X started getting banned too.
comment 5d ago · link · parent
Use a large provider like Google? You might get banned. Use a custom domain? See Codeberg; those do get taken away, and if you don't have Codeberg's visibility, there is very little you can do. Use a niche, paid email provider? Let's hope you never find yourself in a situation where you can't afford it, or even one where you don't have a compatible payment method, which can happen when you move countries or do something your government dislikes and get debanked see e.g. Canadian trucker protests, some alt-right figures in the EU.
Fundamentally, the internet is (and has always been) quite centralized, despite claims to the contrary. There is no way to own a domain without the blessing of ICANN; there's no way to own IP space without buy-in from your RIR; and most "federated" / "decentralized" services (like email or the web itself) use either of the two as your internet identity.
With truly decentralized, P2P services (think Bitcoin), it's at least your own damn fault if your private keys are misused. This is very little consolation to the many well-resourced organizations, who took all the right precautions, and who nevertheless have had their keys misused in a way which caused them billions of dollars in losses, often by adversaries who were much less well-resourced. With AI capabilities rapidly rising, I bet on that continuing to happen in the near future, particularly to non-specialists with a much worse security posture who previously would not have been juicy enough targets.
This space is full of tradeoffs, and I think we need to acknowledge that it is full of tradeoffs, instead of trying to prove to one another that our solution, unlike all the other solutions, does not have tradeoffs. Different solutions are appropriate for different people: a barber who doesn't care about tech and just wants to get on with their day, a teenager with a lot of time, some computer savvy but no money, a startup founder who relies on email for their livelihood, and a well-resourced government agency in a developed country—all need different solutions in this space.
comment 5d ago · link · parent
Surely non-tech people are just as dependent on Google—if not more—after all, they rarely self-host.
This feels like something we should be hearing about on local media: this old lady lost all her savings in a scam, that one was shot by her son, that other one lost her business because Google unjustly banned her.
Yet, you very rarely see this happen. I feel like I've heard of this locally when it comes to Meta properties (and Facebook in particular), Youtube channels and Google Maps listings, but not Google *accounts*.
I wonder whether there perhaps is something that we are much more likely to be doing than the general populace (Ad Blockers? Linux? Firefox / non-Chrome browsers? Pihole? yt-dlp?) that Google is particularly sensitive to. Or if this is just selection bias, fueled by HN's hate of big companies, as well as the fact that people use HN as an appeals court.
comment 6d ago · link · parent
Believe it or not, I do have a choice when it comes to App Stores. I could switch to Android. I could get F-Droid, the Samsung Galaxy App Store or whatever it's called, as well as a couple of others (Huawei, Amazon etc). Most of them have at least a 70/30 revenue split in favor of developers. If even that wasn't enough for me, well... even with Google's latest changes, Android still allows developers to distribute APKs and have whatever in-app purchase arrangements they like, with no cut given to Google.
If I want most books, I have no choice but to use Audible and Kindle. There just isn't anything else that legally sells them. Yes there's Libro and such, but their catalog is much smaller, and many authors, particularly indie ones, are barred by Amazon from publishing there. And for all of that, authors get 15-30% of the books' revenue, with Amazon pocketing the rest. And to add insult to injury, Amazon is basically the only major company which both forces me to pay for things up front instead of a subscription, and also doesn't let me use the content I purchase outside of their ecosystem.
comment 6d ago · link · parent
If you have one job for life, there's a much better chance for your company to have a cohesive quality culture, and you're unlikely to make decisions that are short-term good but long-term bad. If, however, you plan to look for greener pastures in a year or two — MBA or not — you want to do things that get you promoted and look good on a résumé, even if they slowly erode the company's reputation and break customer trust.
comment 1w ago · link · parent
Yes, Facebook knows your IP. Facebook, however, is unlikely to tel all your friends that you've been to Oklahoma last week, exposing your affair. Your neighbor just might.
There are two different kinds of privacy on the internet: privacy from soulless machines, and privacy from people who know you in real life. This is about the latter (and the latter is much more important to most people), while most privacy talk in tech circles is about the former.
comment 1w ago · link · parent
If you have a test suite that runs in ~0.1s, they'll happily add a test that exercises some timeout or other that just sleeps for 3s for no apparent reason. Humans would immediately notice that `make test` used to return instantly and is now slow. LLMs don't care.
If you're working with coding agents, you need guardrails against that sort of thing.
I suspect the same is true of UI code. Computer use is slow and relies on freze frames, so a glitchy animation or a spinner suddenly taking half a second instead of 0.1s isn't something they're going to notice, especially because they don't even have baselines.
comment 1w ago · link · parent
Most large companies don't want payments to OFAC-sanctioned Russian entities in their corporate bank statements, as those statements have a high risk of being audited by regulators. Payments to some American cybersecurity consultancy that is too small to matter to anybody, though? Well, they've had a cybersecurity incident, those things happen sometimes, obviously they would hire some cybersecurity experts to fix the mess. Go along, nothing to see here sir.
The service these companies are providing is not a way to deal with ransomware, it's a way to deal with ransomware that lets you pretend to your regulators that you didn't know where your money would end up going. You can't do that when you are paying the Russians directly.
Another service those companies are providing is letting you deal with ransomware using your standard corporate invoicing tools, and by asking your bank for a routine wire transfer to a reputable contractor, something that you have established processes for and that your employees in accounting and procurement know how to do well, instead of having to deal with potentially converting millions of dollars to monero and establishing an account at something called a "cryptocurrency exchange."
comment 1w ago · link · parent
The supply chain issues have gotten so bad that even the frontier labs are suffering from this.
comment 1w ago · link · parent
A browser extension (or an indie iOS app, or a Mastodon instance, or a Matrix server, or whatever else you might be working on in your spare time) is a valuable asset. You can, after all, sell it to an unscrupulous third-party for $$$.
Sometimes, well-meaning people end up under a bus, or have a lapse in judgment when it comes to their marital choices, causing their assets to rapidly change ownership.
If you rely on something being safe to use purely because of somebody's goodwill, consider whether you also trust their current partner, all possible future partners, and all descendants / siblings to the same degree. And even if you do, consider the fact that (in some jurisdictions), a court can literally force them to sell some of their assets when there is no good way to fairly split them up, so that they can at least fairly split up the proceeds of the sale.
comment 1w ago · link · parent
If you do this, however, you quickly figure out that you're wasting bandwidth and the user's time by forcing a round trip to a far-off server on every button click (hence Javascript), and that the UI looks inconsistent in different browsers (hence CSS), and then, a few years later, you get the status quo.
comment 1w ago · link · parent
Imagine your job is to document how rampant crime is in your city. If you're trying to prove a point, you might choose to go to a place where there is plenty of black shoplifters, or to one where there is plenty of white men harassing young women. If you post 20 photos of the same crime and say "doesn't this make you wonder whether <race> people should be allowed to wander our streets", that's bias, even though all 20 of those photos are unedited and depict real crimes.
comment 1w ago · link · parent
Let's say two groups of people are writing scientific papers. The first is a group of native speakers of English who don't actually do any research, generate the paper from scratch, but then rewrite everything in their own words. They'll get a 0% (meaning human written) on Pangram.
Let's say the other group consists of non-native speakers of English who understand the language well, but are bad at writing in a style suitable for publication in a journal, so they write every paragraph in their own language and have AI translate. They've done all the research, they've had human authors understand and accept every single word of the paper, yet Pangram will tell them that the paper has been written by AI.
comment 1w ago · link · parent
Now if they gave that algorithm to the NSA instead... they would perhaps be rewarded with that article being published about somebody else.
I do not have any non-public information. This is a joke.
comment 1w ago · link · parent
LLMs work similarly. When doing inference, you need to load the LLM weights layer-by-layer from off-chip memory into on-chip memory. During decode (the stage where you generate new tokens; prefill is where you process the submitted prompt), memory bandwidth is often your bottleneck, not compute. You want to maximize flops per byte. The way to do that is to batch, that is, to load a "tile" of weights once and use it on data from multiple different conversations so memory and compute stay appropriately balanced.
Just like Silicon Valley companies fly their employees on United, Delta or American, not their own private fleet of jets, most companies, for cost efficiency reasons, will use "public" inference fleets that smooth the peaks and throughs from different companies in different timezones and with different usage patterns throughout the day. Because the main cost of a GPU is the cost of manufacturing the GPU, any second that the GPU sits idle is lost revenue, just like an empty hotel room or an empty seat is lost revenue. This makes private inference largely uneconomical.
comment 1w ago · link · parent
A single browser cache would greatly accelerate page loading (particularly on fast computers using slow networks, think a MacBook pro on a train through the countryside).
Same with AI; not caching common prefixes like system prompts and tool schemas (particularly across many short rollouts, each in its own caching context) would partially fix this, but could break performance.
I suspect that inference servers have far more side channels than this though. Ultimately, how fast responses are generated depends partly on server load, and that is something you might be able to influence. Probably not at Anthropic scale, but possibly at "relatively small cluster" scale.
comment 1w ago · link · parent
I'd say crypto is probably relatively unfriendly, there is no way to "verify" that an implementation is correct (LEAN???). The way I understand "don't roll your own crypto" is as "use the crypto that hundreds of independent eyes have looked at and 0 of those eyes have found unfixable problems in." This is not really something you can fix with AI.
I think operating systems would go great. A lot of OS work is drivers, and AI is very good at figuring out hardware, thanks in no small part to the above-mentioned reverse engineering skills. There are also a lot of public and well-known examples of techniques that LLMs can learn from.
I think what won't go so great is proprietary software, written in proprietary languages, in domains where the documentation says to ask Mike when he's back from vacation, where all the important secrets are on brains and maybe on paper, but definitely not on the public internet, and where testing involves precious time in a very expensive lab, and is observed by a team of expensive auditors in expensive suits. In other words, what PRE-AI people would have called "dead end careers that barely pay a living wage in a third-tier city."
comment 1w ago · link · parent
You have great specs for prompting. You have great test suites that you can use as verification criteria. Literally all meaningful implementations of these specs are open source, baked into the weights to some degree, and have many people writing publicly about their internals. You aren't really designing your own features from scratch; a lot of your work is of the "this site doesn't work, please fix site" kind, and that, given decent enough tooling which browsers do have, is also relatively easy for AI to do.
This is very different from game dev for example, where you're working with an engine which hasn't been designed for headless operation from the outset, and your actual goal is max(fun), not max(correctness), which is a lot harder to quantify and requires taste, human testing and many shots on goal.
Sure, you still need human devs in charge to take care of the architecture, tech debt, code quality and such, you can't vibe code a truly great web browser, but those humans can be significantly accelerated by AI.
I know the Ladybird folks realize this and this certainly isn't news to them; Andreas seems plenty AI-pilled to me.
I think AI is what's finally going to break the web browser monopoly.
comment 1w ago · link · parent
so I guess what I'd do is some wasm worker or whatever that reads off of a zip you upload yourself, and which is placed by your browser in site storage or something.
comment 1w ago · link · parent
This would make it possible to run the MacOS userspace on top of actual Linux, with little to no work in the kernel.
I think that would be a more interesting effort to pursue.
comment 2w ago · link · parent
It would also give every app location permissions in some cases (by detecting when you connect to open hotspots based on your IP).
Not to mention the battery life; having to reconnect 150 different TCP sessions every time you lose and regain coverage (which is quite often in some areas) would destroy battery life.
The correct design for push is what web browsers do. Make one user have one session to one server, with the user telling the app what server it should connect to and how to deliver their notifications. Connecting to hundreds of different servers for different users is a problem to be solved by the delivery service.
In principle, browsers could let you self host web push (I don't know if any of them actually do, but the standard does allow it).
comment 2w ago · link · parent
The best push notification is one that I don't have to click. "Your package from Apple has just been delivered". is infinitely better than "new activity on one of your deliveries, click to learn more."
We don't want companies optimizing for max(open rate) because that encourages the latter style.
comment 2w ago · link · parent
They're a common carrier, you wouldn't want an automated fraud detection system to accidentally flag you and prevent you from ever obtaining another phone number in your country again.
This is the other side of the "why is Meta banning innocent people" coin. We could prevent Meta from doing this by law. What would the consequences be? I don't know, but I know that your car warranty has expired, are you interested in renewing it?
comment 2w ago · link · parent
Companies would prefer for their standards to be proprietary, but open standards products often do better than proprietary ones, because of said network effects.
This is not always true; sometimes the open standard and the required interoperability hampers innovation, hence why most enterprised moved off of standards-based Cisco products to Slack and Zoom.