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

Could you say more about how caching works? One major advantage of sticking with a single model is saving money on cached input tokens. I'd imagine if you swap between a bunch of models, you may improve performance but cost would would balloon out of control


The trick is to rarely switch, or switch at task boundaries. Often the conclusion of routing is actually "this one model is actually at the pareto front for this task, just use it always".


But then it's better to just not have a gateway switch models at all.

Just have the harness able to choose which model its sub-agents use, then tell it how to split up tasks and which models to use when doing so.


That is another way to do. Or we can automatically figure out which models the subagents should be using for you. And update them as new models come out and the work your subagents do changes. More than one way to skin a cat.


This does make sense. I generally only switch between models in pi when creating a new session. And it is apparent from the promt if this just a "how to see open ports on linux" or "make a concrete plan for feature X"


Generally you should only have two models in the pool per domain. I wrote some of my learnings building a router here: https://try.works/first-principles-of-model-routing


and caching is related to performance too ofc


Author here. Took out some of the technical details about the harness, but it was mostly just OpenCode's default compaction.

The harness was extremely simple: A handful of MCPs + Skill.MDs and OpenCode with a stayalive daemon inserting "continue" every time it went idle


I gave my Clawdbot Exa + Firecrawl + Playwriter to scan Zillow/Redfin/Craigslist for apartments, rate their quality, and validate their availability for rent. I scheduled it to send me rental listings every day.


How much $ do you burn in tokens?


Nice. Hows it performing? Is it finding good listings for you?


Oh my god, now those services will probably block that kind of usage now that you've shared it


Why they would block it? If the goal is to use their services. Intention matters.


Your goal should be to run agents all the time, all in parallel. If you’re not hitting limits, you’re massively underutilizing the VC intelligence subsidy

https://hyperengineering.bottlenecklabs.com/p/the-infinite-m...


I've found criticism like this comes from people who feel as if LLMs pose a threat to their intelligence.


What's the main synergy between Cursor and Graphite that led you to join? Stacked PRs? AI code review? Something else?


Stacked PRs are a really natural fit for vibe coding workflows, it helps turn illegible 10k+ line PRs into manageable chunks that you can review independently. (Not affiliated with Cursor or Graphite)


I've found this list of "undocumented rules" to be useful https://github.com/minimaxir/hacker-news-undocumented


My biggest frustration is the lack of a good universal REPL to just play around with. It's frustrating how I have to run `uvx --with x,y,z ipython` every single time I just want to spin up some python code which may or may not use packages. (Hard to overstate how annoying it is to type out the modules list).

To me, Python's best feature is the ability to quickly experiment without a second thought. Conda is nice since it keeps everything installed globally so I can just run `python` or iPython/Jupyter anywhere and know I won't have to reinstall everything every single time.


Would creating a `main.py` with the dependencies installed either as a uv project or inline work for you?

One thing I did recently was create a one-off script with functions to exercise a piece of equipment connected to the PC via USB, and pass that to my coworkers. I created a `main.py` and uv add'ed the library. Then when I wanted to use the script in the REPL, I just did `uv run python -i main.py`.

This let me just call functions I defined in there, like `set_led_on_equipment(led='green', on=True)` directly in the REPL, rather than having to modify the script body and re-run it every time.

Edit: another idea that I just had is to use just[0] and modify your justfile accordingly, e.g. `just pything` and in your justfile, `pything` target is actually `uv run --with x,y,z ipython`

Edit edit: I guess the above doesn't even require just, it could be a command alias or something, I probably am overengineering that lol.

[0]: https://github.com/casey/just


From a process perspective, how can a constituent know with absolute certainty that their vote was counted, every voter in the system was legal, and the final tally was authentic? Especially when there's no way to even audit what you voted for after the fact?

Every time I try to get to the bottom of this, it always boils down to "trust the system" which makes me uneasy.


Not being able to audit what you voted for after the fact is by design. Otherwise, it would make buying votes a viable strategy since you'd be able to show them who you voted for. Yes, taking a picture of the ballot is an option, but you can always ask for another ballot paper after you take the photo. Where I live, you're not even allowed to have a camera out in the same room as a voting booth for this exact reason.

IMO the best solution here is to have electronic counting with an auditable and traceable paper trail as a backup. Every time I've voted for the past 10 years has been like this. First, I get a ballot paper from the front desk and stick it into an airgapped ballot marking machine. I then make my choices and the machine prints them onto the ballot paper. I'm able to read the paper and verify that it matches the choices I made. I then stick it into a separate airgapped ballot counting machine, which scans my ballot and deposits the paper copy into a sealed box. The entire process of setting up the machines, transporting the paper ballots, and reading the results from the machines is cross-checked and signed off on by volunteer poll workers from both parties.


Each polling station should have representatives from multiple parties as well as independent observers.

> how can a constituent know with absolute certainty that their vote was counted

The representative of your party plus independent observer said all votes at your polling station were counted. You know both those community members and know them to be generally honorable. Ergo your vote was counted.

> every voter in the system was legal

None of the observers at the polling station, or the station head claimed any illegal person voted.

> the final tally was authentic

The observers all signed as witnesses on the final tally.

This is not the "system. it is humans you know who are telling you what they saw. If you can't trust other humans at their word, democracy cannot fundamentally work.


> If you can't trust other humans at their word, democracy cannot fundamentally work.

This, but also, important to point out that this is a question of scale: "If you can't trust other human*s*" - plural.


To rephrase: "You should trust political volunteers."

Surely we could do better? Testimony doesn't assuage my concerns that the process may not be tamper proof.


It's a bit more than that.

You should trust political volunteers after you have seen their track record of being honest and truthful. (Though there is some default amount of trust the process gets because of the adversarial nature of volunteers with opposing biases checking the process).

This is along the same vein as

You should trust candidates for the seat after you have done your due diligence that they have honest and truthful, and will faithfully represent you in the legislature/administration.

as well as

You should trust civil servants to have done state activities justly and produced truthful records and reports of state activities after you have seen a record of them doing these things correctly over time.

Democracy with humans is built on a lot of trust in humans. We have to keep this in mind when arguing about these things.


Hopefully one of those volunteers is yourself.

You do not have to watch every district, every election, every time. But given that enough people do it, at least once, at least in their own district, then it is easy to see why the system as a whole is trustworthy.


delegation of trust is an essential and unavoidable property of any system that serves a non-trivial number of human participants


I think the sentiment of the OP actually gets to the heart of this (the idea of open-source is transparency, visibility, auditability) but the problem here is it need to be applied to the actual process, not to the process of building tools for the actual process.

It's not that developing voting software should be open-source, its that actual voting should be "open-source" in the physical sense.

Trusting the system is possible if you can (you, yourself) readily observe every part of the system. I don't think giving members of the public access to the server your voting software is hosted on is a very viable idea, but giving members of the public access to paper count centres is (it's done very successfully in many countries).


It's ultimately an impossible problem. There's little thing you can trust 100%.


"Vibe coding" implies it's newbies throwing prompts and hoping some of them stick.

For the experienced lot of us, I've heard many call it "hyper engineering"


I put a lot of thought in to my prompts. I can code, definitely not as good as the AI or people here on HN; it's something I always enjoyed doing to tinker with things.

The AI agent in Cursor with Gemini (I'm semi-new to all of this) is legit.

I can try things out and see for myself and get new ideas for things. Mostly I just ask it to do things, it does it; for specific things I just highlight it in the editor and say "Do it this way instead" or "for every entry in the loop, add to variable global_var only if the string matches ./cfg/strings.json" I _KNOW_ I can code that.

But I like my little clippy.


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

Search: