767 karma · joined Sep 20, 2023 (3y ago) · 329 submissions
comment 2d ago · link · parent
comment 3d ago · link · parent
I was highly ambitious but now it's like the socio-economic system is not compatible with any of my goals.
It's felt like that for my entire career though. It used to be the Silicon Valley machine; every time I built a project, some big VC-backed startup would build a similar thing and take the entire market. Then same thing with cryptocurrencies; by the time I built a solution everyone said was required, now suddenly nobody cares about scalability or real-world use anymore and everyone only cares about the same 3 coins now.
Now as soon as I finish my project to help less experienced people build and host reliable, secure apps (which is still very much a real problem which needs addressing), the narrative seems to be changing to "this isn't needed anymore because AI can just build anything from scratch now."
And yet inexperienced people still struggle to produce secure, reliable software with AI. Also, software security armageddon is literally upon us. But the false narrative that AI can do everything from scratch means that the existence of the issue is denied. Insecure apps are being produced, are being hacked.
comment 3d ago · link · parent
My original plan was to make it fully open source but I spent almost a third of my life on it so I've been hesitant. Parts of it are open source though. I'm worried if I make it open source, discovery algorithms will bury it and AI will strip-mine it, clone it and nothing good will come of it.
comment 3d ago · link · parent
There are a lot of cases nowadays when someone points at what they claim to be 'irrefutable proof' and demand that you believe it; but essentially nobody fully understands the mechanism which makes the proof correct... And really, people are just trusting the system and trusting projections of what looks like real data.
Moreover, the people demanding you to "trust the data" or "trust the process" often have questionable motives and questionable moral character.
I started feeling this way when I first got into crypto. People who knew nothing about cryptography or coding kept boasting about Bitcoin's "cryptographically verifiable" ledger; but such people had literally never even met a single person in their lives who had ever read enough of Bitcoin's code to be able to independently support that conclusion. From the proponent's perspective, it was pure faith disguised as mathematics.
I think now we're seeing a lot of that... And clearly, we're heading into a future where humans will lose this knowledge. Soon, our trust in data, science and mathematics will be based on absolutely nothing and nobody.
It will be like a deity which we're not allowed to question and there will be no way for anyone to prove otherwise anyway.
comment 4d ago · link · parent
The problem with formal verification is that it only lets you validate the solution against the spec, but it doesn't do anything in terms of validating the spec against reality. The spec can have a lot of conflicts. Also, as the complexity of the code grows, the contradictions and conflicts in the spec increase.
A few weeks ago, Claude wrote me a short formal proof which proved that formal proofs cannot guarantee protection from software bugs or vulnerabilities in most realistic settings; especially when software requirements change too frequently. It made some assumptions about non-salvageability which I didn't ask for a proof for but it gave me some anecdotes from formally verified projects like SeL4 where letters from collaborators hinted that small changes to the code would sometimes require rewriting large parts of the proof.
comment 1w ago · link · parent
A lot of juniors see JS hate as a way to make themselves appear more experienced. If you say you hate JS, it's a kind of flex because it implies that you've tried multiple languages and concluded that JS is the inferior one because it imposes fewer guardrails than the others and has a few nasty gotchas (which they all have, if you're being honest).
C's gotchas are pretty nasty if you ask me; mess up a pointer reference or forget to check a buffer's size and you've given an attacker root access. That's as nasty as it gets.
Even a hyped language like Rust has issues in terms of build time, gaps in concurrency safety (e.g. lock issues/complexity), async (function coloring) complexity, panics as a DoS attack surface.
Sometimes a language provides some kind of safety but simultaneously incentivizes anti-patterns and runaway complexity. Actually this point highlights what I like about JavaScript; although it isn't the most safety-conscious language (though at least it does a pretty good job protecting from remote code executions via buffer overflows), it is succinct and the lack of guardrails incentivizes people to keep function interfaces simple which encourages high cohesion and loose coupling. JS punishes you big time for not designing your architecture carefully. I also like this about Python. Python code, in practice, is quite succinct and pleasant to read.
comment 1w ago · link · parent
There is a dystopian vibe to the idea that access control should be enforced on the agent. It's the same train of thought which explains why some people think surveillance is the best way to prevent crime.
Data should be protected with correct and straightforward authentication and access control mechanisms, irrespective of who or what might attempt to access it. The rules should be auditable and verifiable exhaustively with respect to all data types and all possible roles.
Applying access control on the agent means you need to apply it to all possible agents. So then should we ban all non-approved agents which are lacking the required guardrails? How can you ban agents operated in other countries?
Still, if you put all the access controls on the agents and don't apply it at the data access layer, then a human would be able to access prohibited data; the agent could solve 99% of the issue and then a human executes the final command manually.
It doesn't work. What we need are new ways to store and retrieve data which put simple and auditable access control at the centre.
comment 1w ago · link · parent
In our new reality, module distribution has changed. We no longer need to obtain a module as-is from npm or whatever package manager... We can just get AI to pull it from another repo and make any necessary adaptations. The AI becomes the new npm and it's not a straight copy. Modules are more like blueprints rather than ready-made parts.
That said, modules still benefit from having simple interfaces, high cohesion, loose coupling. The ideal code doesn't look any different than before, it's just that the ideal distribution mechanism for it has changed. The design of the module significantly influences the logic surrounding it and that's why code quality still matters.
comment 1w ago · link · parent
comment 1w ago · link · parent
Forgot to update the website. I'm no longer receiving money from these. The reason is that both were projects I started and I used to pay myself and casual contributors about $2000 per month (as in, split between contributors) but the funding dried up completely years ago after the blockchain project we were based on changed its architecture.
comment 1w ago · link · parent
Then I read articles about billionaires donating millions or even billions to various (sometimes frivolous) charities and I wonder WTF.
The numbers just don't add up. It's like there is an invisible force field preventing people from donating money to open source?
Crazy to think that the people who once posted a dumb viral 30-second meme video on YouTube probably got more money than the author of a complex, world-famous open source project which has been at the top for decades and which quite literally intermediates every aspect of almost every human's life.
Does not compute.
comment 1w ago · link · parent
Fully agree with your assessment above that line, but damn, this is a strong statement for a library this ubiquitous. You wonder; how could this happen? And yet, as an open source developer myself, I know how little people care about code quality.
comment 1w ago · link · parent
This line resonates so much. I do actually feel like a lot of top capitalists harbor a kind of deep hatred towards smart people who give a shit.
Towards dumb people who give a shit, they feel contempt.
Towards smart people who give a shit, they feel hatred.
I feel this but can't quite explain it. It's almost like envy of someone else's virtues. Or maybe it's rooted in a feeling threatened by virtue. Virtue is hard to control and these people like control.
comment 1w ago · link · parent
comment 2w ago · link · parent
But it reveals something about human biases that we tend to seek out simple answers to complex questions. We tend to think that because a question is short, that it's simple. We forgot how many details are involved and how much is actually going on underneath. Reality itself is often annoyingly complex.
All living creatures, including humans, are conditioned to simplify extremely complex things into simple concepts which we can react to. We only understand things to the extent that we believe they affect us.
comment 2w ago · link · parent
Completely disagree about this point. It's centrally planned around a centralized system of money creation where banks have the power to loan money which they don't have (and which didn't even exist before they loaned it into existence) at below risk cost and they are allowed to make a profit on top of money which wasn't even theirs (which is technically people's money since it dilutes everyone's savings and the value of employment contracts). Also, governments handing large contracts to large corporations is another aspect of central planning. Basically, the compounding returns which prop up the stock market are generated artificially by the government and banks constantly creating new money through a few highly centralized channels. It creates a Cantillon effect with unequal scarcity of money determined purely by people's distance from institutional 'money printers'. Essentially all of the main money-creation channels have been monopolized. There is no free market.
It's like there is one river and all the spots all along that river's banks are taken. The economy thus revolves entirely around servicing those who have direct access to the water. Those who have direct access to the water don't have to do any work or take any risks; their success is essentially guaranteed because everyone has to come to them to participate in 'the market'.
comment 2w ago · link · parent
I feel like we probably only need a tiny fraction of the compute capacity if we let things be decentralized and let the market operate naturally.
This was my thought years ago and so now it looks blatantly obvious to me with AI data centres driving electricity prices. It's pretty clear the industry is being propped up by other parts of the economy.
comment 2w ago · link · parent
What else won't surprise me is the government trying to step in and making it their problem. That's what I'm worried about. The only right thing to do is remove regulations, remove government intervention from every aspect of the economy, and let the market fix the mess which the central planners have created.
Designing the entire software industry as a giant government-supported oligopoly was not a good idea. It was unethical and it was not going to work in the long term.
comment 2w ago · link · parent
Even a simple spec like "Copy a file from A to B" may require a highly complex solution. I could easily turn this simple 7-word statement into a 10k-word requirement specification document depending on the systems involved because of how much complexity can exist. And that's just one small part of a much larger system. And the 10k word spec might require a 10k-line code solution; which itself might require a 500k-line formal proof.
The formal 500k-line proof itself, which might take years to produce, would likely contain many assumptions upon which the proof rests; just by going through the list of assumptions, the stakeholder could invalidate the entire proof, years of work, in just 1 second with the mere frowning of their brow. That's not even considering the fact that the requirements themselves may change over time (more than once per year). Hence, by the time you finish producing the proof, it is already invalid with respect to the requirements.
Therefore, formal proofs are only of limited use; when the project is simple, requirements are fixed and assumptions can be fully enumerated and verified by the primary stakeholder.
EDIT: Actually, I ran my comment through Claude and it was able to generate a formal proof of what I just said but phrased in this way:
"A monolithic, full functional-correctness proof against a complete specification is useful only when the project is simple, the requirements are fixed and the assumptions are accepted." Q.E.D.
You can ask Claude to write the proof out for you. It should mention 'No salvage' as an assumption among others and provide some superficial counter-points (alluding to seL4 project) but you can ask it to disprove this which it did successfully based on the assumption that most projects aren't sufficiently modular (with respect to proofs) to make proofs salvageable in the event of requirement changes.
Along with the proof, it provided a remarkable piece of information:
'Supporting evidence. The objection cited seL4, but seL4 supports the reply. The CACM paper on the verification has a section titled Kernel Design for Verification: the kernel was shaped to suit the proof. Even so, the verification team estimated that invariants took about 80% of the effort in the first refinement step, and those invariants were about system-wide conditions and relationships between data structures. On the cost of change, a member of the seL4 team told the project’s mailing list that altering something central to the system could wipe out a large share of the proof, and that estimating re-proof cost remains “a bit of a black art”.'
comment 2w ago · link · parent
You can't formally verify code when the code hasn't even met the spec yet! It takes a huge amount of time and effort to achieve this! Even when you think you've achieved this and your code meets the spec word-for-word, some stakeholders will still disagree based on technicalities and definitions!
How in the world are we supposed to prove that code is correct when people can't even agree on the same definition of 'correct'?! That's most of the work, really.
Also, if it takes people 1 year to complete a project in such a way that it barely just meets the spec to an acceptable standard, and only in a pure high level business sense; just barely covering all the basic exception handling scenarios; how long is it going to take to add formal verification on top of that? How many more gaps will have to be plugged, how many more assumptions will need to be enumerated, in order to make your formal proof air-tight? Then what happens if the client reads your formal proof and informs you that some of your assumptions are incorrect? What value is your proof then?
comment 3w ago · link · parent
I think people need to experience more critical vulnerabilities, more hacks, more pain.
When vibe coders will be lost in tangled webs of complexity with hundreds of thousands of lines of code, unhappy customers and they can't find engineers to fix their slop (because the good ones are all too busy fixing other slop) and they are on their knees begging for relief, that will be the right time.
Or maybe it will be after that point. Let them hit rock bottom and their startup collapse due to complexity. Then I can try to promote to them for their next startup. Start-up failure due to complexity hasn't really been a bottleneck in the past; usually product-market fit is the bottleneck but I'm hoping this changes.
Paul Graham said it right, "Make something people want" and it's a very different problem from "Make something people need". I'm sure I made something people need, but they won't know they "want" it until they've felt a significant amount of pain.
comment 3w ago · link · parent
The old adage of software development still stands "Computers do what you say, not necessarily what you mean."
But as a software engineer, this is ideal.
It would be horrible if it didn't follow the spec exactly as written because then all projects would converge on the exact same designs based on the AI's taste and it would be impossible to steer it away from slop.
If your codebase is simple, if you use a well designed foundation, the code it generates will be simple. I know because I've worked on both kinds of projects.
comment 3w ago · link · parent
It can generate large amounts of essentially bug-free code. The only bugs are bugs in the spec.
It has essentially no common sense though so it often misinterprets the spec or leaves gaps and edge cases unhandled and that's where the human engineer is still essential.
The dangers of AI are much clearer today than they were a year ago. There is a certain precision and relentlessness which is going to be a problem. It's a matter of time before people unleash AI viruses which spread through computers and data centres and pursue various goals relentlessly with no off switch. Some of these viruses and their goals may be nefarious. Imagine an AI trying to disrupt a specific person's life relentlessly. Spreading from machine to machine, never stopping.
comment 3w ago · link · parent
My AI agent never has to work with more than 5k lines of code and like 20 files at a time; and most are much smaller than that; like 1k or 2k lines... Even though one of my projects is almost 30k lines, my AI agent never has to consider more than 5k.
It's a very different experience in my day job because the project has more lines, more files and all the files for the entire project are in the same repo and naming is not as clear. In this case, I have to point to the relevant files/context in every session.
comment 3w ago · link · parent
comment 3w ago · link · parent
They tried to get me to git clone a repo, presumably to get me to install malicious npm dependencies.
I refused, then they wanted me to download Claude Code but I told them I already had Claude Code harness installed on my machine... But they said I should install a different version of it; they sent me a link... The landing page was the same kind of design as Anthropic uses but I didn't recognise the URL. I stopped the interview right there.
comment 3w ago · link · parent
Traditional finance has the benefit that they can more easily reverse malicious transactions, but if hacks become too common, it will be impossible to correct fast enough and in a reliable way. With traditional banking, a hacker only needs to hack a few nodes to compromise the integrity of the entire system.
So yeah I also think crypto will win in the long run. I would bet on a tokenized stock with AI attached.
I think the top asset will combine the AI which is best at hacking with the blockchain which is hardest to hack. Ability to corrupt others whilst maintaining perfect integrity yourself.
AI for offence, blockchain for defence.