Better HN
topnewbestaskshowjobs
Log inSign up

cryptonector

11,940 karma · joined Jun 29, 2012 (14y ago) · 8,736 submissions

Submissions

comment 8mo ago · link · parent

This comes across as whining.

comment 8mo ago · link · parent

Use Claude Code for Web. Let it live dangerously on their VMs, not yours.

comment 8mo ago · link · parent

Yeah, ones that can yield imprisonment. Not OK!

comment 8mo ago · link · parent

Any charge that can be punished with imprisonment should require a jury trial.

comment 8mo ago · link · parent

RIP, Magna Carta.

comment 9mo ago · link · parent

> vim's modal editing is powerful but the movements are text-based.

Eh, v + showmatch / % gets you very far in languages that use ()[]{}<> (angle brackets you have to add to matchpairs). It gets you nowhere in Python though, not without plugins.

comment 9mo ago · link · parent

Hey, I know my tinnitus frequency now!

comment 9mo ago · link · parent

Eventually you stop hearing it unless someone mentions it.

comment 9mo ago · link · parent

> > For someone like you, who likely has years of experience without LLMs, your brain totally understands good code/bad code, good architecture, and just general intuition around code and systems. LLMs must be an absolute gamechanger. But for someone like me who is starting out in this field, how am I supposed to build the years of experience and intuition that comes from manually writing code and building systems when companies are expecting AI to be used from here on out?

Answer: juniors need to work with seniors, and the seniors need to teach the juniors, and the juniors need to learn to use LLMs to learn, not just to do the work.

comment 9mo ago · link · parent

Or crumpets.

comment 9mo ago · link · parent

Dammit Kriten, I want the black bar.

comment 9mo ago · link · parent

Of course! Lager, the only thing that can kill a vindaloo.

comment 9mo ago · link · parent

The bias to build might mean faster token burn through (higher revenue for the AI co). But I think it's natural. I often have that same impulse myself. I prefer all the codebases I work on that have minimal external dependencies to the ones that are riddled with them. In Java land it's extremely common to have tons of external dependencies, and then upgrade headaches, especially when sharing in a monorepo type environment.

comment 9mo ago · link · parent

We used to reuse code a lot. But then we got problems like diamond dependency hell. Why did we reuse code a lot? To save on labor. Now we don't have to.

So we might roll-your-own more things. But then we'll have a tremendous amount of code duplication, effectively, and bigger tech debt issues, minus the diamond dependency hell issue. It might be better this way; time will tell.

comment 9mo ago · link · parent

Wait till activist groups start doing this to shame people, get them fired, etc. It's going to be interesting.

comment 9mo ago · link · parent

You can scope it to repos. Make a repo just for what you want. That's your sandbox.

comment 9mo ago · link · parent

Programming is -relatively- the easy part.

Getting it right is much harder.

Knowing what to build is way harder.

Debugging is hard.

Dotting all the i's and crossing all the t's to get your product to ship can be hard.

Maintenance and support is hard, especially if the product is riddled with problems, but also just due to the passage of time.

Dealing with tech debt is hard.

Communicating is hard.

comment 9mo ago · link · parent

Yes, code has always been the easy part. LLMs produce it even more copiously, so it is ever easier now, and yes, that makes the bottlenecks worse:

  - communication between humans
    "what are we to build?"
    "what is the architecture?"
    "how shall we design this?"
    etc
  - architecture review
  - design review
  - code review
  - docs review
  - ...
LLMs are also being used to:

  - understand what is possible
  - and how to achieve it
  - architect
  - design
  - review
Only the communications part is an inherent bottleneck that we cannot completely fix with LLMs -- we're humans selling to humans, humans buying from humans, humans managing humans, humans trying to convince other humans. LLMs cannot make this part much more efficient than it already is.

But even with that one constraint about human-to-human communications, LLMs are improving throughput: by writing better docs faster, by helping us get the gist faster (though using LLMs to read docs that could have prompts embedded is scary), and so on.

Personally, where the communication burden is intense I don't think we'll see 10x, 5x, not even 25% efficiency improvements. But now consider projects where the communication burden is minimal as there is only one human -- personal projects, open source projects, that sort of thing. In those cases a 5x, even 10x efficiency improvement is not out of the question. Many projects have communications burdens that are not so intense that they can't experience 2x efficiency improvements.

The challenge will lie in safely maximizing those improvements and doing it better than the competition.

comment 9mo ago · link · parent

> Here's what I mean by "good code":

> [...]

> - It’s simple and minimal - it does only what’s needed, in a way that both humans and machines can understand now and maintain in the future.

But do the humans need to actually understand the code? A "yes" means the bottleneck is understanding (code review, code inspection). A "no" means you can go faster, but at some risk.

comment 9mo ago · link · parent

Eh, some people can work on moving to Rust, while others work on adding dynamic linking to Rust.

Or maybe we can some how get used to living with static linking. (I don't think so, but many seem to think so in spite of my advice to the contrary!)

Another possibility is to use IPC as the dynamic linking boundary of sorts, but this will consume lots more memory, and as is stated elsewhere in this thread, memory ain't cheap no more.

comment 9mo ago · link · parent

Got a sample you think is particularly bad?

comment 9mo ago · link · parent

Prove the new code is similar to the corresponding driver in Linux. If you can then you can get the authors of the latter to file suit against TFA.

comment 9mo ago · link · parent

GPL is not a patent. It covers the work and _derivatives_; it does not cover ideas or general knowledge. The chip in question has docs.

I fully expect that Claude wrote code that does not resemble that of the driver in the Linux tree. TFA is taking on some liability if it turns out that the code Claude wrote does largely resemble GPL'ed code, but if TFA is not comfortable with the code written by Claude not resembling existing GPL'ed code then they can just post their prompts and everyone who needs this driver can go through the process of getting Claude to code it.

In court TFA would be a defendant, so TFA needs to be sure enough that the code in question does not resemble GPL'ed code. Here in the court of public opinion I'd say that claims of GPL violation need to be backed up by a serious similarity analysis.

Prompts cannot possibly be considered derivatives of the GPL'ed code that Claude might mimic.

comment 9mo ago · link · parent

In the section about serializable read TFA gets the `accounts` `balance` wrong.

comment 9mo ago · link · parent

Exactly. My apologies for not noticing this was over in Europe, but you'll find laws similar to CFAA all over the place. And in Europe it might be worse simply because you might have 27 different such laws _and_ the European arrest warrant, and you might not know which of those 27 laws applies. (I guess you could say the same about the U.S., with 50 instead of 27, but at least for this sort of thing in the U.S. it's mainly federal law that matters the most.)

comment 9mo ago · link · parent

Hey TFA, other people have gone to prison for finding monotonic user/account IDs and _testing_ their hunch to see if it's true. See, doing that puts you at great risk of violating the CFAA. Basically, the moment you knew they were allocating account IDs monotonically and with a default password was the moment you had a vulnerability that you could report without fear of prosecution, but the moment you tested that vulnerability is the moment you may have broken the law.

Writing about it is essentially confessing. You need a lawyer, and a good one. And you need to read about these things.

comment 9mo ago · link · parent

The thing is that startups often don't have the time or capital to build a data center even though public cloud is just more expensive. If you're bootstrapping a business then it makes sense. My advice would be to always use only those features of the public cloud that you can also use on your private cloud, such as Kubernetes.

comment 9mo ago · link · parent

The real question is not why the government gets to set the retirement age. Of course it gets to set it IF it's involved in paying for people's retirements!

The real question is why governments insist on euphemistic names ("forced savings") that imply the opposite of the reality of the programs. And why people put up with such financial repression schemes. The answer to the first question is to keep people from being too upset too suddenly, too many all at once. The answer to the latter is that the people usually don't get a say in these things.

For Singapore this program probably makes a great deal of sense since Singapore is singularly vulnerable given its location in the world. To build what they did they probably needed these sorts of policies. I suspect most Singaporeans don't mind all that much, though I don't know. We would very much mind this sort of thing here in the U.S. though!

comment 9mo ago · link · parent

This is what all forced savings programs are. The name is a euphemism.

comment 9mo ago · link · parent

No, it's a total loss for the citizen because even if they can use that money for "(retirement, medical, housing)" the interest paid is much too low.

Forced savings programs aren't actually "savings" for the people on whom the programs are forced!! "Forced savings" is a euphemism for "we're taking your money and calling it savings based on the idea that we're going to invest it well, though you won't see much of any gains, and there might not be any gains to speak of".

1
141516
292