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

I recently inherited java code base.

Just rewrote it in Go. Now we are using a server which consumes 30% of ram what the existing one used to and the latency and throughput have all improved.

Don't use these stupid java backend like sprinboot.


I wouldn’t reduce it to don't use Java/Spring Boot. Rewrites often (not always) look great because they remove years of accumulated complexity, not because the original stack was inherently bad.

Just rewrite it in X doesn't "just work" for complex systems. It ignores risk, and the fact that design usually matters more than language.


i made 1 to 1 copy, not sliming anything.

usually what you say is correct. but in case of entreprise java, just look at the article. you have no way of knowing or controlling which essential class your application will be running because some intern merged a similarly named class two hundred levels down in the codebase and now that is handling all your db queries. and it's not a bug but a highly praised feature.

it's useless abstractions for the sake of useless abstractions.

java was designed so that american architecs could write a few interfaces and cheap workforce overseas could implement the actual code.

and the EE stuff evolved in a way that features could be shipped just by adding a new component that would inject itself in the right places. java "engineers" have no idea how http or cookies work, but they know where to load the spring-auth bean in a 2mb maven config.

so, any rewrite from java is an exception to the rewrites are only good because you cleaned up old features rule.


If the gains are real why the limits are so bad? Google can barely serve Anti-gravity.

Isn't that at the moment still a free product? Of course they will not prioritize serving those requests. That tells you nothing.

It tells you there's no clear path to monetization.

They've all avoided loading up their LLMs with ads to this point. That is going to change dramatically over the next 2-3 years. All of them will be loaded with ads, and Google will partake as expected given their ad network & capabilities in that realm. They'll match GPT's ad roll-out.

it has a paid option. and the antigravity subreddit is full of people who claim to be paid users, complaining about constantly hitting limits.

where do I find the paid option? I can not find that on their product page. There are only two options I can see; one "Available at no charge" and another one "Coming soon - For organizations"

Can you upgrade in the IDE? It would be strange that Google has a performance problem for paid users while I do not experience any such issues at all with Claude and Codex.


Maybe it's unavailable in your region. Four options on this page for me.

https://antigravity.google/pricing


You get more Claude tokens from a Google subscriptions via antigravity than from anthropic. Especially if you use the 5 other "family" accounts you can share the subscription with...

what's a codeslave? I couldn't get it from the username.

Don't do this guy, cloudsql costs a lot.

Costs a lot? It’s a bargain for globally resilient infrastructure.

db-f1-micro is about $10pm inc storage for something that just works and can scale, be shifted on prem etc. you can run all your vibe coded slop on one instance.


i just use seatbelt (mac native) in my custom coding agent: supercode

i just use gemini 3 flash via api with custom agent.

only people who do not even look at code anymore need anything more than that.


Imagine how many tests were frauded and fake passed by claude on this project

I've worked many companies

Kubernetes, app engine, beanstalk all are huge money sink

All managed services like cloud datastore, firestore all tend to accure lots of costs if you've good size app.

These are quick to start when you don't have any traffic. Once traffic comes, you the cost drastically goes up.

You can always do better running your own services.


just use gemini flash3, it's better than haiku

unless gp really cares about lower hallucination rates

https://artificialanalysis.ai/?omniscience=omniscience-hallu...


or better yet 3.1 Flash-Lite at $0.25/1M input

I actually use IRC in my coding agent

Change into rooms to get into different prompts.

using it as remote to change any project, continue from anywhere.


Does IRC still have message length limits or was that only in the early versions of the protocol?

RFC 1459 originally stipulated that messages not exceed 512 bytes in length, inclusive of control characters, which meant the actual usable length for message text was less. When the protocol's evolution was re-formalized in 2000 via RFCs 2810-13 the 512-byte limit was kept.

However, most modern IRC implementations support a subset of the IRCv3 protocol extensions which allow up to 8192 bytes for "message tags", i.e. metadata and keep the 512-byte message length limit purely for historical and backwards-compatibility reasons for old clients that don't support the v3 extensions to the protocol.

So the answer, strictly speaking, is yes. IRC does still have message length limits, but practically speaking it's because there's a not-insignificant installed base of legacy clients that will shit their pants if the message lengths exceed that 512-byte limit, rather than anything inherent to the protocol itself.


I guess you just send newlines as in multiple messages and disable flood protection on the server or whitelist your bot.

same here, would love to compare notes

[flagged]


This sounds a lot cleaner than the approach I was thinking of with a separate bot for each role. I like it.

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

Search: