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

In general these agents support LSPs, which is often as much information as your IDE will give you. They are also not required to output syntactically correct code token by token when running agentically, because the loop is:

1. code

2. syntax check / build / format / lint (details language dependent)

3. test

and they can hop between 1 and 2 however many times they want.


> I don't think it's a psychologically positive self identification to see yourself merely as a gatekeeper and toll extractor rent seeker who only makes a living by withholding agency and skill from others.

That's an incredibly uncharitable reading of the parent comment. At no point in history prior to maybe this year could you argue that working in software was gatekeeping, toll extracting, or rent seeking. Being a highly skilled craftsperson creating software for those who can't or don't want to is a very psychologically positive self identification. Lamenting that the industry is moving away from highly skilled craftspeople is also perfectly valid, even if you believe that it is somehow good for society, which is yet to become clear.


They complained about the skill leveling where now lower skilled people can also do what needed higher skill before. You toiled to learn the craft, now there is a fast track to those results. That's what the rug pull is.

Yes, producing software was value. (It of course still is as of today, we are talking about what may be coming). My plead is to continue searching for ways to contribute value. Don't resign to a feeling that the only way to hold on is if you try to stop others from knowing about or being able to use the skill leveling tech. This makes one bitter and negative. Embrace it, aspire to be happy about it.

Its like getting scooped in science. In research, I always try to reframe it to be happy that science has progressed. Let me try to learn from it and pivot my research to some area where I can contribute something. Sulking about having been scooped does not lead to positive change and devalues ones own self-image.


The problem is that we don't live in a society where the benefits of new technology benefit all.

We're about to pull the rug underneath all knowledge workers. This will disrupt wage earners lives. This will disrupt the economy.

You might feel great about when things become cheaper but remember that when things are cheap it's only because costs are low and when costs are low the revenues are low and when revenues are low salaries are low too. Keep in mind that one party's cost is other party's revenue.

The economy is ultimately one large circle where the money needs to go around. You might think of yourself a winner as long as someone else's salary drops to zero and you still get to keep your income but eventually it will be you whose income will also be disrupted.

Just something to keep in mind.

And also we're going to just not rug pull on the individual knowledge workers but businesses too. Any software company with a software product will quickly find themselves in a situation where their software is worth zero.

Also this comment about gatekeeping is absolutely stupid. It's like saying trained doctors and medical schools are gatekeeping people from doctoring. It would be so much better if anyone could just doctor away, maybe with some tool assistance. So much fantastically better and cheaper? Right! Just lay off those expensive doctors and hire doctor-prompters for a fraction of the price.


> We're about to pull the rug underneath all knowledge workers. This will disrupt wage earners lives. This will disrupt the economy.

to tie back to the actually article, if you believe a rug pull is imminent then you got to get off the rug. Idk, you have to make a decision because we're certainly at a fork in the road. There's no guarantee waiting will result in a better outcome nor one saying it will be a worse outcome. There's going to be winners and losers always and lot of it is really just luck in timing. I guess, in reality, the careers we've built come down to a flip of a coin; stay on the rug, get off the rug.

/i'm thinking of buying a welding truck and getting in to that, then hire a welder and rinse repeat until i have a welding business. There's plenty of pipe fence in my neck of the woods and i see "welder wanted" all over the place so there's opportuntiy too.


Good luck to you and your welding business. Personally I'm getting to a point where I'm just "too old" (and grumpy) to start over, so I guess for me it's going to be a retirement to some LOCO that I can afford.


> We're about to pull the rug underneath all knowledge workers. This will disrupt wage earners lives. This will disrupt the economy.

It will put and end to the middle class entirely, but that’s the intent.

The reality is a lot of people who were formerly middle or upper middle class, and even some lower class populations will face steep, irreversible “status adjustment”.

I’m not talking about “we used to be able to take vacations and now we can’t”. I’m talking about “we used to be highly paid professionals now we’re viciously competing for low paid day labor (gig work) to hopefully be able to afford the cheap cuts this week”.


I'm too old to be competing for day labour jobs, but not old enough or rich enough to retire

So I'm extremely bitter about this potential direction


You can make a living, if: you have a way to modify your behavior in a way such that it compels another human being to reciprocate and modify their behavior in a way that you find beneficial for your life. All of money and economics in the end boils down to this. If you no longer have any kind of behavior that your neighbors and community see as valuable enough to modify their behavior to benefit you and keep you around, then we will be in trouble.


This thread is about bringing these people to the US.


There's no huge reason to bring them to the US. Plenty of US corporations have maintain overseas offices. Even if its impolitic to employ them directly in China, you can employ them in other offices (for example, Amazon has been known to do this with their Singapore offices)


This thread is largely pointless political back-and-forth were predictably the comments with a more positive opinion on current US immigration enforcement will be flagged.

To get back to the original point, personally I doubt sentiment on US immigration enforcement would be so significant a deterrent for Chinese talent, who may not share the political views of the American left for whom this is a big concern.


> pointless political back-and-forth were predictably the comments with a more positive opinion on current US immigration enforcement will be flagged

Given the tactics employed by ICE, it's a true shock and horror that most people have more humanity than that.

But I guess a person who can't form a grammatically correct sentence is an example of the sort of people who can rest easy,


They said casual, not causal.


I didn't read it wrong. And the illogical part isn't 'casual.' It's the whole sentence, especially 'already.'


For cases where 4.5 already met the bar, I would expect 50% preference each way. This makes it kind of hard to make any sense of that number, without a bunch more details.


Good point. So much functionality gets commoditized, we have to move goalposts more or less constantly.


If you use the standard typescript linter, it will fail if you pass a Promise to an if statement.

https://typescript-eslint.io/rules/no-misused-promises/


The problem was the framework's bundler was transforming those functions to return promises, a linter would need to understand next.js's specific transforms to catch this.


If the functions are still calling I/O methods directly rather than the I/O being externally driven, I don't think that qualifies as sans-io, based on my previous exposure / based on your second link:

> For byte-stream based protocols, the protocol implementation can use a single input buffer and a single output buffer. For input (that is, receiving data from the network), the calling code is responsible for delivering code to the implementation via a single input (often via a method called receive_bytes, or something similar). The implementation will then append these bytes to its internal byte buffer. At this point, it can choose to either eagerly process those bytes, or do so lazily at the behest of the calling code.

> When it comes to generating output, a byte-stream based protocol has two options. It can either write its bytes to an internal buffer and provide an API for extracting bytes from that buffer, as done by hyper-h2, or it can return bytes directly when the calling code triggers events (more on this later), as done by h11. The distinction between these two choices is not enormously important, as one can easily be transformed into the other, but using an internal byte buffer is recommended if it is possible that the act of receiving input bytes can cause output bytes to be produced: that is, if the protocol implementation sometimes automatically responds to the peer without user input.


Ah good point -- sans I/O as described in that second link is a bit more narrow than what Zig is doing here. The sans I/O discussed there is more for protocols specifically and less for general I/O.

I guess a better name for this approach might be "explicitly managed I/O".


Yep, that would be more like structured concurrency also mentioned in linked blog post. sans-io is about state machine as interface, but unfortunately does not specify a formal model or how to synthesize/derive one etc.


That's already noted at the end:

> The idea behind static_assert is great. You run a check that has no impact on the performance of the software, and may even help it. It is cheap and it can catch nasty bugs. It is not new to C, but adopting the C++ syntax is a good idea.


Over a million people die annually from traffic accidents.


That number could be cut by more than half by applying technology that already exists today. If reducing traffic deaths is the goal then there is no particular need for autonomous vehicles.


A lot of deaths are being reduced by developing ADAS systems (collision avoidance, lane-keeping, blind-spot detection). Self-driving cars takes those systems to their logical conclusion.


Kinda circular logic though


Dunno. Cars are killing people so make them smart so they don't. The other option of having no cars isn't happening.


It's not heavy handed. It's responding to what sells in the market, and big phones are consistently what most people buy when they have the option of both.


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

Search: