Hacker Newsnew | past | comments | ask | show | jobs | submit | CraigJPerry's commentslogin

>> Coding is like

That description is NOT coding, coding is a subset of that.

Coding comes once you know what you need to build, coding is the process of you expressing that in a programming language and as you do so you apply all your knowledge, experience and crucially your taste, to arrive at an implementation which does what's required (functionally and non-functionally) AND is open to the possibility of change in future.

Someone else here wrote a great comment about this the other day and it was along the lines of if you take that week of work described in the GP's comment, and on the friday afternoon you delete all the code checked in. Coding is the part to recreate the check in, which would take a lot less than a week!

All the other time was spent turning you into the developer who could understand why to write that code in the first place.

These tools do not allow you to skip the process of creation. They allow you to skip aspects of coding - if you choose to, they can also elide your tastes but that's not a requirement of using them, they do respond well to examples of code and other directions to guide them in your tastes. The functional and non-functional parts they're pretty good at without much steering now but i always steer for my tastes because, e.g. opus 4.5 defaults to a more verbose style than i care for.


It's all individual. That's like saying writing only happens when you know exactly the story to tell. I love open a blank project with a vague idea of what I want to do, and then just start exploring while I'm coding.

I'm sure some coding works this way, but I'd be surprised if it's more than a small percentage of it.

This levels concept resonates with me: https://www.lorenstew.art/blog/progressive-complexity-manife...

There are cases where you need more than htmx / datastar, but i like the explicit calling out of when these boundaries occur (e.g. you've exceeded what "islands" can give you), and i like the gravitational pull to lower levels.


The limitations of HTMX are not the same as the limitations of Datastar. Datastar is a whole other beast with only a few at most vestigial similarities to HTMX.

You can't do virtual scroll over a billion checkboxes in HTMX (I've yet to see anyone manage in react for that matter either), yet you can do it easily in Datastar. [1]

[1] https://checkboxes.andersmurphy.com


that is an amazing demo anders!

Thanks Carson. Although honestly it's pretty mid compared to what's actually possible in hypermedia.

The only reason I wheel it out is when people say you can't do X (often meaning react like things) with hypermedia.

Honestly, you could probably do it in HTMX if you are prepared to only use out of bounds swaps, morph and SSE. But, that approach has always felt second class, unfinished and against the grain. So stuff like that isn't done.

Always made me sad that you wrote idiomorph (thanks for sharing it with the world) but didn't make it part of HTMX. I guess HTMX 4 will change that?


yep, it was an extension in htmx 2, but we are gonna include in htmx 4 (i'm old and move slow)

>> are you ready to be first in line to accept accountability

I'm accountable for the code i push to production. I have all the power and agency in this scenario, so i am the right person to be accountable for what's in my PR / CL.


That is the policy I set up for our team as well—when you push, you declare your absolute responsibility for any changes you made to the repository, regardless of the way they were conceived.

That is really about the least confusing part of the story.


I, a foreign entity, have sold something to an american and now have 10 dollars and zero treasuries.

I purchase a treasury. I have zero product, zero dollars and one treasury.

At some point in future i have zero product, maybe 12 dollars and zero treasuries. Presumably i now either repeat the cycle or use my winnings to spend on us output.

GP’s version checks out, your assertion about dollars staying abroad doesnt track? What am i misunderstanding - How did these dollars get abroad, how did they repatriate to buy treasuries, how did a treasury become a reserve, how did the dollars still exist abroad after being exchanged for treasuries?


> Presumably i now either repeat the cycle or use my winnings to spend on us output.

What you are missing is that these dollars can be circulated indefinitely in the global economy without ever repatriating, because they are valuable and useful as actual currency. They may never come back to the US.


They also don't have to circulate - they can be used as collateral for debts.

Indeed, everyone should be familiar with the "eurodollar" system - it's critical to how the world economy works.

> I, a foreign entity, have sold something to an american and now have 10 dollars and zero treasuries.

Or you sold something to a non-American entity in a dollar-based market, eg. oil. The dollars do come from America to begin with, but once they get "out there" they work as a medium of exchange for whoever wants to use them for that purpose.


Which is why the US historically bombed any country that sold oil for other currencies, but now china is negotiating the petroyuan and it's working.

Interesting - The petroyuan was not on my radar at all.

https://ipr.blogs.ie.edu/2025/06/27/geopolitics-of-oil-how-c...: This article explores case studies such as Russia, Iran, and Venezuela, illustrating how the petroyuan has been implemented to bypass sanctions and reduce dependence on US financial systems.


It's ironic, isn't it? After going to war so many times to protect the petrodollar, the US deleted the petrodollar itself.

Because the world trades using US dollars. Country A needs to buy something from Country B. Country A needs to buy/get dollars to buy stuff from Country B. Country B will not accept anything but dollars or gold for its products because it also needs to buy other stuff like oil in dollars from other countries.

It could accept any credible currency if it was connected enough. Euros, yuan, rupees and yen aren't going anywhere for at least 20 years. Each one is a separate system and countries mostly connect to just one, which is USD, but that doesn't have to be the case forever.

India won't accept euros because it's not part of the ECB, not because it doesn't believe in their value. But India has accounts at US banks in dollars.

Banks do this, not countries. Most banks in the world have accounts at US banks to accept dollars with, they don't have accounts at eurozone banks to accept euros with, or Japanese banks to accept yen with. It doesn't matter in everyday practice because it's easy to exchange euros in eurozone banks or yen in yenzone banks with dollars in dollarzone banks. There's plenty of infrastructure for that. It matters in long–term economic trajectories because all those banks are holding US dollars and the US exports inflation to them and they're not holding euros and then ECB can't.


> Presumably i now either repeat the cycle

Most of the time this is exactly (foreign or not) institutions do.

Think about it, if the 10-dollar treasury is due and you got your money back, the US debt will go down by 10 dollars. However, in our reality, the total amount of US debt almost never goes down.

Of course some interest will be used in other ways, like spending on the US goods or staying as cash to provide liquidity. But at the end of the day, the most popular way to spend the money got from due treasuries is... to buy more treasuries.


>> EV have far more tire wear because they are heavier

Is this true?

If an EV were 30% heavier than an ICE, would it produce 30% more tyre wear emissions? Or would it produce more or less than 30%? Is the primary factor in tyre wear weight and is the relationship linear?

The types of tyres appear to be quite different, the EVs seem to have smaller contact patches (narrower wheels) and they're made of different "less grippy" compounds that drag less. Does this change the equation at all?


in cold weather an ice is not close to 30%, that's an achievable warm weather figure when everything's working efficiently. Many ice journeys are so short in cold weather that efficiency never peaks above 10%

Well, EVs also lose a lot of efficiency in cold weather as well. You'll also note that the 70% figure I gave for power plants is more or less a best case scenario for modern, well designed plants. A lot of currently existing power plants do much worse than 70%

True, system thermal efficiency for the UK's CCGT generation is about 50%. Obviously that's with a varying throttle (the UK goes from say 5GW of CCGT to 25GW of CCGT in an hour if the wind drops just as everybody wakes up) and you'd do better than 50% if you were baseload running 24/7 at peak performance - but that's not a realistic place for CCGT to be when nuclear fuel is basically free and the two new big sources (solar and wind) aren't even running on actual fuel anyway.

Revealed preferences suggest otherwise and that matters because he says a lot of things, often contradictory.

Is it just another Epstein diversion maybe?

Oil story doesn't stack up though:

    - it's heavy sour oil, the tar like substance isn't economically extractable without an almost doubling in barrel price
    - cheaper (existing infra) sour supply chain with Canada already meets US shale light sweet oil blending needs for a long time
    - decided on maintaining stability of existing Venezuelan regime over supporting regime change
One thing that lines up so far is it does seem to be disproportionately effective at displacing column inches spent on the pending bringing to justice of Epstein entangled elites. Disproportionately because that pursuit of justice seems quite resilient in resisting partisanship breakdown.


>> I need 1 agent that successfully solves the most important problem

In most of these kinds of posts, that's still you. I don't believe i've come across a pro-faster-keyboard post yet that claims AGI. Despite the name, LLMs have no agency, it's still all on you.

Once you've defined the next most important problem, you have a smaller problem - translate those requirements into code which accurately meets them. That's the bit where these models can successfully take over. I think of them as a faster keyboard and i've not seen a reason to change my mind yet despite using them heavily.


Why do you assume AGI needs to have agency?


Not OP, but I think that without some creative impetus like 'agency', how useful is an AGI going to be?


If cars do not have agency how useful are they going to be. If the Internet does not have agency how useful is going to be. if fire has no agency (debatable) how useful is going be.


Call it what you want, but people are going to call the LLM with tools in a loop, and it will do something. There was the AI slop email to Rob Pike thing the other day, which was from someone giving an agent the instruction to "do good", or some vague high level thing like that.


> fractional reserve banking and do the math

all models are wrong but some are still useful. This model isn’t useful at all since the fraction was legislated to be 0 years ago.


That's in the US. Canada for example never had any legal reserve requirements.

However legal limits aren't the only ones that apply. Canadian banks still keep more than zero reserves around.

The more useful limitation in economic terms and in legal terms is on the amount of capital banks need to hold. A capital cushion is what makes your deposits stable, not reserves.

If you have a big enough capital cushion, you can always go and liquidate some assets to get the reserves needed to satisfy withdrawal requests. Having some reserves on hand is just very convenient, so the customer doesn't have to wait.


Canada is not an exception and operates via the same mechanism https://lop.parl.ca/sites/PublicWebsite/default/en_CA/Resear...

Fractional reserve is a model only for textbooks, it is not an accurate model of how the banking system works in most western economies with a central bank and sovereign currency today.

>> The more useful limitation in economic terms and in legal terms is on the amount of capital banks need to hold

Well this is usually the biggest of several limitations which impact whether a loan would be profitable to make for a bank or not so i don't entirely disagree but this is a legislative control, there's no "economic terms" here because in general no school of economics understands this or has anything to say about this control which you correctly point out exists and is central to loan decision making. People can argue about the degree of centrality because it's not the only factor so let me put it this way: it's central in a way which any notion of "fractional reserve" is simply not.


Your link barely says anything about private sector money creation and doesn't contradict what I said. I'm confused.

Your view of fractional reserve banking is rather.. unorthodox. Pray, tell me, why do banks bother with deposits, then?


>> barely says anything about private sector money creation

It opens with the words "Money is created in the Canadian economy in two main ways: through private commercial bank loans..."

the introduction continues "... It also discusses how private commercial banks create money..."

And then it goes on to do exactly that in detail. I'm struggling to understand why you wrote that.

>> Your view of fractional reserve banking is rather.. unorthodox

Unorthodox is not the word to describe what has at this point been published by most of the central banks in western economies with a sovereign currency. From the Fed to the Canadian central bank, from the Bank of England to the Bundesbank and so on.

We're unfortunately living in a Copernican moment. We now better understand how money works but we're not permitted to say the earth orbits the sun just yet.

It's utterly ludicrous that the idea of Fractional Reserve banking is propagated in today's world as having any relevance to how banking works in these economies.

>> why do banks bother with deposits, then

Very simply - cost of funds


only thing i'd add is mas for mac app store apps you want to ensure are installed but otherwise i run pretty much the same setup.

When i install a fresh macos i have two commands to run - install nix using the determinate systems installer, then apply my nix config.

It's not quite as streamlined as nixos but good enough.

My biggest remaining pain point is dev envs - i've been leaning into adding a flake in each project, so for example i have a single project that's written in scala 2.13, when i cd into that project dir, the correct jvm version, sbt, intellij etc are installed, some useful env vars and shell aliases etc. - that's all great (i haven't felt the need to adopt denenv.sh or flox yet) but i do find myself wanting a devcontainer sandbox workflow more often these days (blame cli coding "agents"), i lean on vscode for that rather than nix so far. In python (where i spend a lot more time) uv loses a lot of value in nix and i don't like that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: