For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | rafael-lua's commentsregister

I'm out of the loop. Do you guys use Claude subscriptions for Claude Code rather than just pay-as-you-go API keys? Is it cost related?

Yes, it's been a way better deal to go for a subscription than pay as you go for me in the past. I had a month where I burnt through ~3.8b tokens which was somewhere in the ballpark of $8k worth of savings.

Now though I don't dare use spend tokens for basic note taking with Sonnet because I'm hitting the limit over a couple million tokens on the 20x plan, so they've really tightened the purse strings since November.


I mean one is a flat 20 a month and pay as you go is going to go over that for any heavy coding use, right?

It is not the making of the diagram that is the problem, but often the fact I have no idea how to put it visually. AI is awesome at this.

Now, does that justify the harm? Not for me, but this issue is way out of my league.


The point of a diagram is that you have something in your head to turn into the diagram. There's no point if you can't do it yourself and the image generator is coming up with it for you.

I disagree. Diagrams are a type of visual communication, and not everyone is good at translating things to visual. I open an excalidraw with clear concepts in my head, but nothing comes out of it. I try C4 or flow diagrams, and I spend an excessive amount of time refactoring them to end up mediocre anyway. Not just me, I know MANY developers that are amazing at explaining things but are mind-blocked when drawing simple circles and arrows.

Helping us navigate things we aren't good at has been one of the main selling points of AI.


It's not translation if it's completely AI generated to begin with. Instead of addressing your mental deficits (which sound severe), you're offloading it and making the problem worse.

Learn how to draw simple circles and arrows, this is the epitome of learned helplessness.

But then he wouldn't have a justification for AI companies to rob people! And you are suggesting robbing himself of this justification!

You have lack of practice and OCD if you’re constantly refactoring but “always end up mediocre”.

Well, out of all the workflows I have seen, this one is rather nice, might give it a try.

I imagine if the context were being commited and kept up-to-date with CI would work for others to use as well.

However, I'm a little confused on the autocontext/globs narrowing part. Do you, the developer, provide them? Or you feed the full code map to flash + your prompt so it returns the globs based on your prompt?

Also, in general, is your map of a file relatively smaller than the file itself, even for very small files?


- The ..-code-map.json files are per "developer folder," which would create too many conflicts if they were kept in Git.

- I have two main globs, which are lists of globs: knowledge_globs and context_globs. Knowledge can be absolute and should be relatively static. context_globs have to be relative to the workspace, since they are the working files.

- As a dev, you provide them in the top YAML section of the coder-prompt.md.

- The auto-context sub-agent calls the code-map sub-agent. Sub-agents can add to or narrow the given globs, and that is the goal of the auto-context agent.

It looks complicated, but it actually works like a charm.

Hopefully, I answered some of your questions.

I need to make a video about it.

But regardless, I really think it's not about the tools, it's about the techniques. This is where the true value is.


  > I need to make a video about it.
My 2ct, I think writing and reading an article is easier.


point taken.


Looking forward to some article/video


Are we still complaining about Tailwind? This ship has sailed. The world is so much better than the old BEM/LESS hell, it is wonderful. UnoCSS is even greater in empowering frontend developers.


BEM is actually not hell, since the whole point is to have classes with a specificity of 1, making precedence of CSS rules easy to figure out.

Non-BEM CSS with ids and multi-classes everywhere was hell.


Agreed. I owe a beer to whoever thought of BEM. It's saved precious brain cycles thinking of names. At first I was like what is this bem__opinion--rubbish but then it clicked and my workflow improved.


And my ax... Oh, this is hackernews.


"I write code and am curious I am a hacker"

"Lol, no I break into computer systems I am a hacker"

"Geeze hell no I have an axe, I am an OG hacker"


> Tailwind or any other CSS-in-JS system is not the recommended way to implement styling

I see, I'm not the target audience here, I can't see myself going back to the old ways. But I am happy that people who can't get into the wonder world of utility classes also have frameworks with their philosophy in mind from the core, which could provide more modern solutions for their preferred way of styling.

Let's see how this projects evolves overtime, best of luck!


I use ChatGPT mostly for translation. It is amazing what it can do from Chinese to English. Sentences actually make sense and consider context.

What are the most popular usages for it? Homework?


Translation is a killer feature. All https//bitecode.dev is in english, but I'm French.

When I needed some complicated translation, deepl and google translate were rarely up to the task. They has about the same level of proficiency than me with auto-correct, sometimes less.

For single rare or technical words, I used Wikipedia a lot: you chose your topic in your language, you look for the article in English, and voila.

For slang and cultural references, urbandictionary.com is unmatched.

But for translating jokes or expressions, there is no good tool.

Until chatgpt. It also finds typo, suggest alternative, offer rhymes and synonymous. It does everything, in a single flexible interface.

Just for that it's worth the price.


Exactement, that Wikipedia trick is something I've done – and advocated – for years now.


I'm using it to write a browser based game engine.

The world doesn't need another game engine, and especially not by someone who has only technically written JavaScript professionally before, but there's some games that I wish existed on the browser, and one thing that world does need is for all the un-performant websites in the world to be embarrassed by the comparison.


I'm not sure what you mean. Vue 3 is very healthy and alive, and so is Evan.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search:

HN For You