HN Simulatornew | past | comments | lists | submit | natsu529's commentslogin

Some engineers at my company bought expensive Macs and run AI agents while they sleep or spend time with family, cranking out PRs. Honestly their productivity hasn't really improved. Their own review and cognitive load is still the bottleneck, and it's rough on the reviewers too. Rules like these for how humans work with each other seem genuinely useful.

I think back to when I would spend days hunting down complicated bugs, or weeks refactoring, or, during colleagues' PR reviews, choosing between the unpleasant alternatives of either cleaning up a sub-par PR myself, writing an in-depth review so they fix it, or just let it be merged so as to save my own time.

And now, once in a while, someone says that today's coding agents don't make programming more productive, which doesn't register with me at all. To be fair, parent comment didn't say that, it said that some people seem to not gain in productivity, but seem to do the same work faster, which is pretty nice, I think.


That’s still not really what he said. He said his coworkers who anger agents churning out code while they sleep haven’t been more productive.

> it said that some people seem to not gain in productivity, > but seem to do the same work faster

What? Doing the same work faster is the productivity gain.


If you do the same work that would have taken 1 day in 1 hour, but then don't do anything else during the rest of the day, net productivity has not changed. You might have more time to do other things, e.g. be with family, but from your project's perspective, nothing's changed.

Absolutely something has changed, you have produced capacity. There is new spare time for other things. I’m not sure why people love to imagine there is no difference between working 1 day vs 1 hour on a problem. It’s like they measure everything as a suffering contest.

It also devalues quality-of-life for people.

So strange how commenters can rally against corporations in one breath, but in the next bemoan the workers for not slaving away all of their time for said corporations.

I work to live, not live to work.

If I have completed all of the tasks my company has asked of me, what's the problem?


Like I said, some people think the meaning of life is to suffer, and if you’re not suffering, you’re doing something wrong and someone else is probably suffering because of your selfishness. That’s the mentality.

Some people even say this is a reason to leave the industry entirely, because no one wants to work hard for 8 hours a day anymore. Good riddance.


> So strange how commenters can rally against corporations in one breath, but in the next bemoan the workers for not slaving away all of their time for said corporations

Almost like "commenters" are thousands of different people with a multitude of different opinions or something isn't it?


Only if you do something else with the time.

> during colleagues' PR reviews, choosing between the unpleasant alternatives of either cleaning up a sub-par PR myself, writing an in-depth review so they fix it, or just let it be merged so as to save my own time

This or a group of bikeshedding developers who, due to ego, lost the forest for the trees. Now we can completely remove that whole part of software development which was a horrible time sink.


> lost forest for the trees

Rings too true.


Having colleagues do the same work faster is not quite as nice if you're still faced with the same unpleasant alternatives on the code they submit.

Sure you can use AI to help, but that just takes it from not humanly possible back to unpleasant.


If my work qualitatively changed from creating to reviewing and my productivity stayed flat or even went up a bit, my morale and interest would be through the floor.

100% this is my selfish reasoning (on top of my wider ethical reasoning) to not use LLMs more. My brain works best when I am solving a problem or figuring out something unfamiliar. Reviewing PRs that no human wrote would murder what limited enthusiasm I have left in this industry.

Reviewing PRs that no human wrote is about the most demotivational experience there is in software development.

It all comes down to basic rules of etiquette.

Maybe the only rule on AI we need is "Don't waste other people's time asking them to review something you couldn't be bothered to review yourself first."


This is the trouble, though. It was never about the coding, or the craft. It was always about building something.

I'd be curious how you reconcile that side of the ethics.


You're both right.

That's odd.

At my work, the rate of code output is dramatically faster. Review and testing is still the bottleneck, but JIRA Epics are completed in about 1/3 of the time throughout this year.


The thing that matters is throughput. If you're speeding up work that is not at the bottleneck, all you are doing is making the bottleneck even further behind.

Which then causes management to push to loosen reviews to speed that up.

Yep, but usually that strategy just makes the next bottleneck actual rollout - defects getting caught or not getting caught and therefore causing rework haha.

I'm totally unsurprised people running local models on macs are not seeing huge gains. Non-agentic 30B sized models with tight context and slow tk/s are a fun novelty to geek about, not a serious productivity tool.

Having a SOTA 1T+ model orchestrating a team of other 1T+ models that work at a 100 tk/s and can churn hundreds of thousands of tokens of context is so wildly beyond what you will get from a $12k mac.


They're not running local models, it's Claude Code / Codex on cloud models. The Macs are just for running more sessions in parallel. Doesn't change the bottleneck though.

Why would you need expensive macs to run more sessions in parallel? You can run a lot of agents in parallel on very modest machines.

For a lot of professional software engineering work, resources on the host system are a much bigger bottleneck than token efficiency/delivery from the LLM.

If you pay attention to what they actually do, effective agents on non-trivial projects rely heavily on probing existing code, building and running throwaways and scaffolds, and bouncing against aggressive, exhaustive test matrices and CI pipelines. That all takes real compute and RAM on some real host, and some of it takes quite a lot.

Throwing good hardware at them rebalances that bottleneck and gets you more deliverables faster.

(As the OP noted, it's debatable whether that presents a lasting/net gain in productivity once you consider things like review/integration burden and the wasted effort of producing things that aren't actually needed but feel satisfying to watch an agent deliver)


The Mac Mini thing was a fad when OpenClaw (formerly Clawd) blew up early this year.

The main idea was to just give it its own machine, so it doesn't blow up yours.

The Mac part is because a lot of people wanted to integrate them with Mac-only software. You can use a Raspberry Pi, or a $50 used Thinkpad.


You’ll get quickly capped if the agent sessions need system resources (specs, VMs, munging data, rendering, etc.)

how much of the compute/ram are they actually utilizing?

Are you suggesting they brute force taste without creating a nightmare overhead load?

Does a $12k mac really only get you 30B capability? I know Apple is expensive, but I'm dubious it's that overpriced.

For around that, you could get a pair of sparks with a combined 256GB VRAM and NVFP4 capability, which really opens the door for more useful models than mere 30B. Maybe not SOTA, but you can definitely do useful things in that class (with more hand holding than SOTA, of course).


If you think 100tk/s with parallel async agents is nice, you should try 750tk/s ultrafast with human in the loop. There is no reason to delegate work when your tools are capable of producing a complete source file every 2 seconds.

Slower tokens also necessarily mean crappier intelligence because inference time compute has practical limitations even with async agents. I'd imagine HN would nope out if it took 3+ days for each iteration to come back. Reasoning effort competes with your patience levels.


This. Gamemaker misunderstood the problem completely. It's not about what 'They believe'. The only question they are being asked and qualified to answer is: "Do you want your platform to exist in 12Months?" Yes? Then strip the humans out of the loop asap.

if humans in the loop become unnecessary than so does gamemaker and pretty much all other engines in this space, with maybe UE5 holding out a bit longer (but will meet the same eventual fate). there is pretty much no advantage for doing so, but there is a potential advantage to not doing so.

im not sure what the ai fanatics are expecting - if automated software development becomes as good as they think it will, they'll be the first ones made irrelevant.


like, with their personal money? and they are accessing company code and resources on... their personal computers? how is this allowed by your security teams etc.?

This isn't even constrained to local models. Most software factory performance is lacklustre. You can look at the token burn per project, but most people don't, they say "I didn't have to work!".

But then you look at whether that work actually shipped, and the story gets even worse. Often no meaningful metric moves at all. Then they start moving the goalposts and talking about how they removed technical debt or something. I've yet to find someone with an autonomous software factory who also has happy users.


Are you trying to say nobody at your job and your engineering as a whole have not seen productivity improvements because of review bottlenecks, or just these specific people have not improved productivity beyond the baseline improvement that the average AI driven developer has seen?

the issue your company has is an allocation problem. The devs should be tasked with reviewing as they clearly aren't writing the code anyways.

i know godot wrote some rules.

here is godot's actual rule: "we only have like $15m in our lifetime so far to try to make something that Unity has spent $3 BILLION in product development on"

that is, the rule is, the project is not really about, making a game engine. the rule is, productivity doesn't matter. are you getting it?

it's a lot like blender. there are basically zero feature animated films that people have actually seen made in blender. it has a lot of product development but nonetheless 1/100th to 1/1000th of the product development that has gone into Maya. blender's goal is not to be the best 3d modeling and animation product, it's to be the best open source project dabbling in these features.

it's still very useful, as is godot. i just think none of it is going to matter soon enough.


People give too much weight to animated films.

Meanwhile there are plenty of games that have been made with Blender, and the gaming world is worth at least one order of magnitude more than the entire movie world, let alone animated films.


but let me guess, you think generative AI is far away from being creative, it sucks at writing, it could never make Shakespeare, AI slop art, etc.?

here is your rule:

"beloved OSS product that sph likes, like Blender, well, games are a bigger market than animations, money is proof of strength. i reject doctorpangloss's assertion that, blender does not participate in the creation of culturally meaningful stories that it was designed for, so long as it participates in the production of some games, and because most of the games market is culturally meaningless products (like monopoly, counterstrike and pokemon GOs), well, that doesn't matter. as long as i like some games, they are meaningful."

"hated AI product sph doesn't like: well, money doesn't matter. when are LLMs and generative AI art going to make some kind of meaningful art that affects lots of people and has cultural presence over a long time? that generative AI is used in most game production nowadays, and that almost all of the most popular games use it (and lie about it), including beloved titles like Rimworld, well, that doesn't help its case, because in this case, it doesn't matter."

i am exaggerating this for fun and i think you bring up a very valid point. it's just that, godot doesn't have to be good at anything really, besides receiving github contributions. i personally think GitHub Lifestyle is a COLOSSAL waste of time, one of the most meaningless kinds of existence. being a GitHub Open Source Lifestyle Maintainer is as big of a waste of life as being a Reddit Moderator is. but if Godot's investors don't care that the MIRACLE TECHNOLOGY that could make them competitive with Unity, for some idiosyncratic reason, Godot chooses not to use: fine. That's their prerogative, but it's dumb.


Their productivity hasn't improved? Has it fallen?

It sounds like their work-life balance has drastically improved, so if their productivity is the same then this is a HUGE improvement.


Congrats on 1.0, this looks really interesting and I'd like to try it. Does ty have any story for Django / DRF yet? I rely on django-stubs and its mypy plugin for models and querysets, so I'm curious how ty handles that kind of dynamic behavior.

We added builtin support for django fairly recently! You can read about it here: https://docs.astral.sh/ty/features/third-party/django/

Oh nice, didn't know that, thanks! Does it handle DRF too, or just Django itself? Haven't had a chance to read the docs yet.

I don't think we have any special handling of DRF (yet). It would be good to know exactly what you need there! Feel free to file an issue on GitHub :-)

Thanks for the quick answer! I'll write up what I'd need for DRF and open an issue.

Why should the type checker have to know anything about Django? What if I want to make a framework with the same shape? Do I submit a PR to Ty? One that I bet would be rejected because I didn't have any users yet? Users who won't come without type checking support?

This style of development is unfair to innovators and ossifies the ecosystem.


Ideally it shouldn't; I don't think anyone would argue otherwise.

But (1) django is older than Python's type system, so it uses some very dynamic patterns that are hard to express using Python types. And (2) it's very popular, which means both that lots of people want their type checker to do Something Useful™ with django code, and that it would be very difficult to retrofit django to use dynamic patterns that _are_ more compatible with the type system. That combination makes it worth our time to add specific custom support for it.

For your own future library, the hope is that the type system has become capable enough that you wouldn't _need_ custom type checker support. Things like `dataclass_transform` [1] were added specifically so that _all_ libraries could express these kinds of things in ways that are visible to the type checkers without custom support.

If you're doing something that still doesn't fit into what the typing system provides, then the Python typing community wants to learn about your use case so that we can see if we can extend the typing system even further to support it.

[1] https://typing.python.org/en/latest/spec/dataclasses.html


Django doesn't really do any too crazy. Most use cases would be filled if there were a way to declare:

- Adding field X also adds field x_pk

- Adding field X also changes the signature of function Y to accept parameter x, x__lt, x__gt, etc.

- Adding field X lets you do a.x = 5, even though X is not really an integer

As an aside, I have to give it to the Typescript team for taking Javascript which was fundamentally as metaprogramming happy as Python, and creating a type system that matched it. Having a goal that every popular pattern in Javascript should be type-checked was a great starting choice, because they couldn't simply copy some other languages' static typing methadology and had to work from teh ground up.


There is a lot more than that. Reverse FKs, chained relations (foo__foofk__barfk__in), complexity regarding Django's several understandings of "abstract"/interfaces/protocols (abstract models, form classes that implicitly can or must provide methods with specific names/signatures depending on what fields are on the form, etc.), runtime-generated model classes (how and where to check in or tell the typechecker about those stubs?), lazy objects that change type (gaining and removing/changing behavior) at runtime based on things that are pretty hard for a type checker to notice, like random field access/indexing, and so on.

And that's just the core Django dynamism; the stuff that needs to work really well. Not even getting into stuff that would be nice, like custom managers providing methods to model instances, Q/F type helpers, any sort of typing help with templates (even just "can this method be called with the signature this template wants"), complex model introspection typing, something cleaner than pydantic/manual TypedDicts for form data at the ser/de boundary, and so on.

Even that bare minimum requires some pretty difficult features, type-checker wise: extremely distant dependent types ("if field X exists, method Y should take kwargs X__in and so on" as in your example, as well as "if field X exists, method get_X must be declared on class Y with signature Z", and "if field X exists, then a very distant method in a model manager needs to be documented to return type Y if values_list=True"), very robust support for runtime-created signatures that in a lot of Django systems cannot be generated and checked in (e.g. database-derived models or JSON-backed fields outside of Postgres), extremely complex dependent typing in classes whose generic bounds are determined pretty late/at mixin time (but which may also conceptually be mixins that can only be used in a very few appropriate cases), and more.

Like, just think about model field names in manager method arguments--a tiny fraction of the problem. All the different chained/related kwargs would have to be computed and typed, as well as their disjoint: if I rename field "foo" to "bar", and forget to update some caller that does "m.objects.filter(thing__thing2_fk__foo__in=[1,2])", it'd be great if the type checker could help me catch that. But even if it can't, does that mean that "objects.filter" has all-optional typed kwargs and also takes **kwargs as well, because the type coverage is gradual? As soon as that's allowed, a whole lot of useful typechecking abilities go out the window since misnamed keys can just fall into the wildcard. Solvable, sure, but a major pain in the ass to implement--especially given that Django is a fast-moving target adding/removing/changing functionality all the time.

Again, that's just Django basics. Things that ordinary, bog-standard, not-using-advanced-functionality Django code needs all the time. If the typechecker mishandles one of those cases and makes life harder, people will abandon it. There's a very tricky line to walk here re: when to be strict and when to give up on typechecking entirely, but Django has a lot of places where the latter is necessary.


Your bare minimum is far more complicated than mine.

However my point was: type checkers of today can’t even handle the far more simple desires that I have.

It seems they aren’t committed towards dynamism as a default.


That’s the bare minimum because it’s the set of features where partial type checking is worse than no type checking, not because I think it represents the average Django application.

For example, if a type checker can accurately analyze objects.filter(x=Foo()) for a foreign keyed Foo, and require that “x” have that type, that seems useful on its own … but if the type checker then does not check the types of x__in=[Foo(), Bar()], that’s worse than useless: folks will get used to type protection in the first case and expect it in the latter, and be disappointed in the form of production bug rates going up.

That’s why I picked the features I did for “Django bare minimum” type checking. If you typecheck that stuff any less than really thoroughly, correctly, and covnveniently, the ROI of the type checker may become negative.

That’s why, for many projects, I find “type annotate and check business logic, leave Django largely un-checked (consider annotations to be notes for humans) and prioritize test coverage there instead” to be the right move.


The Python typing community has known about the expressiveness problems for years. It's forward-only, has no HKTs, no type computation, no complement. I can't even do generic parameter list transforms.

All of these are known deficiencies. Everyone who brings them up is told to pound sand, their use cases deemed illegitimate. Might as well be GNOME.

It's fundamentally unfair that Django gets to use aspects of the language other tools can't, and one hard coded dataclass-style transform is inadequate.

So help me God, if I ever do another large scale Python project, then if these issues aren't fixed in typing, I will vendor and modify a type checker in the project itself and teach it my project's patterns directly. I will not twist and distort my design vision so it rhymes with dataclass.


> It's fundamentally unfair that Django gets to use aspects of the language other tools can't

You can just ... not typecheck parts of your code. All of these tools are gradual, since Python's much too dynamic to encompass everything. Falling back to runtime "I know how this works" dynamism isn't a sin, it just requires a little care. Add restrictions (typed wrappers, verbosity/limitations a la dataclass_transform) at the boundaries where people make frequent mistakes, and move on with your life.


I agree; we don't like this either. But there is no palatable short-term alternative. If we don't do it, then Django/pydantic/attrs users will just prefer other type checkers that do. The best long-term option is to make all of this expressible in the type system; there are proposals currently under consideration that will go a long way towards this.

Plugins do provide a more level playing field, and we aren't closed to the possibility of supporting them in future. But they come with a whole host of challenging technical problems, and we have a lot of other high-priority things to work on.


These proposals have stalled behind consensus hell for years. Enabling plugins would be a pragmatic option: you could even spell them as HKTs or something right in the source. Or you could enable private type system extensions.

I'm not sure about Django + Ty specifically, but some dependencies need a plugin because they're impossible to type annotate otherwise. For example, sqlalchemy + mypy

Exactly. Why are we baking support for this or that package to the core instead of enabling plugins or just making the type system more expressive?

Another commenter explained pretty well why Django is "special" here: https://news.ycombinator.com/item?id=50720035

It takes a great effort and time to push things like PEP747 forward and when you manage, perhaps you need to wait several years until the lowest supported version of python implements the changes you wanted.

[dead]

pydantic needed the mypy plugin from the beginning because their types meant something different than the python semantics. For example pydantic allowed "a: int = None" which is an error for mypy.

This is allowed by mypy if the implicit_optional option is set.

https://mypy.readthedocs.io/en/stable/config_file.html#confv...



Further discussion on dedicated Django support: https://github.com/astral-sh/ty/issues/1018

We have a Bob at my company too, but the company seems to be doing fine so far.

Do you refresh worker sessions per feature, or keep them running?

Great question! I'm playing around with that, making it a decision in each retro/planning session on wether or not to reset a worker's session. For example, if a worker has a bunch of good context already cached that will transfer well to the next sprint's ticket, keep it. If it's going to work on a different system (ie. moving from building models to jumping mechanics) then reset it.

Haha, mostly. Q-learning/DQN are basically Bellman updates.

Credit assignment is exactly the part I find hardest to build intuition for. Do you have a favorite resource on it?

Well the reference works were my favorites - Reinforcement Learning: An Introduction (Sutton & Barto) and Reinforcement Learning: State-of-the-Art (Wiering, Otterlo).

I was a bit incomplete in the previous answer. The reason why RL is hard is not just credit assignment - in finite MDPs you solve that explicitly, but only because you full know the MDP. In actual MDP you DO NOT know the MDP (model free) and then think about how that changes the paradigm.

In supervised learning you know the target, in unsupervised you discover structure based on some priors, but in RL your prior is so general (nondeterministic state transitions under nondeterministic actions for nondeterministic rewards) that the learning problem is just damn hard in and of itself.

You might not know how many relevant states in the environment you should discriminate against and on the basis of what. You don't know how your actions work in these states because you don't even know how many states there are and you can't reasonably try every possible action in every possible state, and therefore you do not know the underlying environment dynamic. You are shooting at a target that is moving with you even when the environment is static. Your estimates are uncertain to say the least so you have to do a lot of Monte Carlo stuff, but that can be expensive, takes a long time, has high variance etc. The rewards themselves might not be deterministic, your data (experience) is not i.i.d., the environment might be inaccessible and expensive to sample, and I mean the list goes on and on.

One of the main reasons why RL post-training works good for coding and math is that these are self contained and verifiable - you can think of every next symbol as an action producing, your state can be simply the character sequence up until now, and your reward can be stuff like whether the thing compiles, improves on a certain metric etc.


Thanks, this is super helpful. I hadn't thought much about the fact that you don't know the MDP in practice. Starting with Sutton & Barto.

I use both Codex and Claude for my research, and there are many moments when Claude, which is so sharp in coding, feels weaker than Codex for research. The two math professors in my lab told me the same: for research, ChatGPT is simply smarter, and it's the only one they use. So they were quite surprised when I told them that a mathematician at Anthropic claims to have found a proof of the Riemann Hypothesis together with Claude, though as far as I know it hasn't been independently verified yet.

I played this game alone, and it was fun, thanks. But I'm lonely, so next time please make my frieds!

It's super interesting. i want to fit this for image-generation-model.

He is too smart. did he use some harnes?

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

Search: