Live data from Hacker News

Claude Code login fails with OAuth timeout on Windows

github.com

291–300 of 331 posts

Re: Claude Code login fails with OAuth timeout on Windows

#291

Earlier quoted context omitted.

So what do I do differently then? Hypothetically, you have a simple slice out of bounds error because a function is getting an empty string so it does something like: `""[5]`. Opus will add a bunch of length & nil checks to "fix" this, but the actual issue is the string should never be empty. The nil checks are just papering over a deeper issue, like you probably need a schema level check for minimum string length. A…

1. I'm working in Rust, so it's a very safe and low-defect language. I suspect that has a tremendous amount to do with my successes. "nulls" (Option ) and "errors" (Result ) must be handled, and the AST encodes a tremendous amount about the state, flow, and how to deal with things. I do not feel as comfortable with Claude Code's TypeScript and React outputs - they do work, but it can be much more imprecise. And I onl…

I hope you're not 100% serious.

Otherwise you should switch to haskal since it makes logic errors and bugs mathematically impossible.

Re: Claude Code login fails with OAuth timeout on Windows

#292
post #219

Earlier quoted context omitted.

That’s like saying enjoying composing music, but not enjoying playing music. Or creating stories, but don’t like writing. Yes they’re different activities, but linked together. The former is creativity, the latter is a medium of transmission. Code is notation, just like music sheets, or food recipes. If your interaction with anyone else is with the end result only (the software), the. The code does not matter. But fo…

> That’s like saying enjoying composing music, but not enjoying playing music Do you think that is impossible? There are plenty of people who enjoy composing music on things like trackers, with no intent of ever playing said music on an instrument. I love coding, but I also like making things, and the two are in conflict: When I write code for the sake of writing code, I am meticulous and look for perfection. When I…

> When I write code for the sake of writing code,

I struggle to understand that comparison. Code is notation, you can’t write code for the sake of writing code. You have a problem and you instruct the computer how to do it. And for the sake of your collaborator and your futher self, you take care of how you write that. There’s no real distinction IMO.

> There is also a hidden presumption in what you've written that 1) the code will be badly written

The computers does not really care about what programming language you’re using and the name of your variables and other indentifiers. People do. You can have correct code (decompiled assembly or minified JavaScript) and no one will wants to collaborate on that.

Code is often the most precise explanation of some process. By being formal, it’s a truthful representation of the process. Specs and documentations can describe truth, but they do not embody it.

You can always collaborate with markdown files. But eventually someone will have to look at the code and understand what it does, because that’s the truth that matters. Anything else is prayers and hope. And if you’ve never cared about maintainability and quality of the code, it will probably be an arduous process.

Re: Claude Code login fails with OAuth timeout on Windows

#293
post #149

Earlier quoted context omitted.

Apart from local AI, a serious choice is aggregated API such as new-api [0]. An API provider aggregated thousands of accounts has much better stability than a single account. It's also cheaper than the official API because of how the subscription model works, see e.g. the analysis [1]. [0] https://github.com/QuantumNous/new-api [1] https://she-llac.com/claude-limits

>An API provider aggregated thousands of accounts has much better stability than a single account Isn't this almost certainly against ToS, at least if you're using "plans" (as opposed to paying per-token)?

considering it has things like a turnstile "handler", I'm assuming it attempts to abuse the free chat interface.

Re: Claude Code login fails with OAuth timeout on Windows

#294
post #90

Earlier quoted context omitted.

HN is a big community that has always had a mix of people who value newness as a feature vs those who prioritize simplicity and reliability. Unless you're recognizing the exact same names taking these contradictory opinions it's probably different groups of people for the most part. It seems like every LLM thread for the past couple years is full of posts saying that the latest hot AI tool/approach has made them unbe…

> I get it. LLMs are cool technology. I don't think many of you have legitimately tried Claude Code, or maybe you're holding it wrong. I'm getting 10x the work done. I'm operating at all layers of the stack with a speed and rapidity I've never had before. And before anyone accuses me of being some "vibe coder", I've built five nines active-active money rails that move billions of dollars a day at 50kqps+, amongst lot…

> If you're not seeing these same successes, I legitimately think you're using it wrong.

What is “using it right”? You wrote claims, but explain nothing about your process. Anything not reproducible is either luck or lie.

Re: Claude Code login fails with OAuth timeout on Windows

#295

No one is going to like this answer, but there’s a simple solution: pay for API tokens and adjust your use of CC so that the actions you have it take are worth the cost of the tokens. It’s great to buy dollars for a penny, but the guy selling em is going to want to charge a dollar eventually…

I'm forced to do this at work. It adjusts the net value to very close to zero. Github's pay per prompt pricing model is phenomenal for users to the point of blowing Anthropic's subscription offering out of the water, much less API pricing. At Copilot pricing, it's quite a useful tool if carefully managed. At API pricing, it's very hard to find a use case for AI.

Of course, I have no idea how MS is justifying the Copilot pricing. I can't imagine any world in which it is sustainable, so I'm trying to get as much as I can out of it now before they jack up prices.

Re: Claude Code login fails with OAuth timeout on Windows

#296

Earlier quoted context omitted.

“I struggle to believe that a ton of seemingly intelligent software engineers are too dumb to figure out how to use Claude code to get reliable results” Seemingly is doing the heavy lifting here. If you read enough comment threads on HN, it will become obvious why they aren’t getting results.

Here's my 100 file custom scaffolding AI prompt that I've been working on for the last four months, and can reliably one-shot most math olympic problems and even a rust to do list.

Case in point

Re: Claude Code login fails with OAuth timeout on Windows

#297
post #223

Earlier quoted context omitted.

> I get it. LLMs are cool technology. I don't think many of you have legitimately tried Claude Code, or maybe you're holding it wrong. I'm getting 10x the work done. I'm operating at all layers of the stack with a speed and rapidity I've never had before. And before anyone accuses me of being some "vibe coder", I've built five nines active-active money rails that move billions of dollars a day at 50kqps+, amongst lot…

I'm getting 1,000x improvement building notepad applications with 6 9s. No one is faster. Need some help selling these notepad apps, do you have a prompt for that?

I don't want to sound like I'm trying to one-up you, but I've basically vibe coded the entire internet.

I'm surprised nobody thought of it before me but basically the LLM's are trained on the internet and I just had it spit back out everything.

It's running in parallel so I can validate it, which of course I'm using LLM's to do that.

Once it's ready I will put it on the market, but get this, my internet will be cheaper than the current internet. I'll probably just make it one cheaper, like if the current internet costs, for example, 7, I'll make my internet cost 6.

Re: Claude Code login fails with OAuth timeout on Windows

#298

Earlier quoted context omitted.

So what do I do differently then? Hypothetically, you have a simple slice out of bounds error because a function is getting an empty string so it does something like: `""[5]`. Opus will add a bunch of length & nil checks to "fix" this, but the actual issue is the string should never be empty. The nil checks are just papering over a deeper issue, like you probably need a schema level check for minimum string length. A…

Always start an implementation in Claude Code plan mode. It's much more comprehensive than going straight to impl. I never read their prompt for plan mode before, but it deep-dives the code, peripheral files, callsites, documentation, existing tests, etc. You get a better solution but also a plan file that you can review. And, also important, have another agent review. I've found that Codex is really good at reviewin…

IMO, plan mode is pretty useless. For bug fixes and small improvements, I already know where to edit (and can do it quickly with vim-fu).

For new features, I spend a bit of time thinking, and I can usually break it down in smaller tasks that are easy to code and verify. No need to wrangle with Plan mode and a big markdown file.

I can usually get things one-shotted by that point if I bother with the agent.

Re: Claude Code login fails with OAuth timeout on Windows

#299
post #270

Earlier quoted context omitted.

[flagged]

Beg pardon? I've been doing this for 20 years. My boss has been a boss for two years and has only had developer headcount for less than a year. This degree of pressure is unprecedented in my career.

[flagged]

Re: Claude Code login fails with OAuth timeout on Windows

#300
post #299

Earlier quoted context omitted.

Beg pardon? I've been doing this for 20 years. My boss has been a boss for two years and has only had developer headcount for less than a year. This degree of pressure is unprecedented in my career.

[flagged]

Please explain, I'd like to have a productive dialogue about this. I assume you are referring to my boss?
Post reply on HN