News for hackers. Stuff that matters.

ravirajx7

Re:ai;dr on Thursday February 12, 2026 @01:07PM (#46992576)
AI has kind of ruined internet for me.

I no longer feel joy in reading things as almost most of the writing seem same and pale to me as if everyone is putting thoughts in the same way.

Having your own way of writing always felt personal in which you expressed your feelings most of the time.

The most sad part for me is I no longer am able to understand someone's true feelings (which anyway was hard to express in writing as articulation is hard).

We see it being used from our favourite sports person in their retirement post or from someone who has lost their loved ones or someone who just got their first job and it's just sad that we no longer can have that old pre AI days back again.

Re:Cursor Acquires Graphite on Friday December 19, 2025 @12:14PM (#46328273)
I’m working on something in a similar direction and would appreciate feedback from people who’ve built or operated this kind of thing at scale.

The idea is to hook into Bitbucket PR webhooks so that whenever a PR is raised on any repo, Jenkins spins up an isolated job that acts as an automated code reviewer. That job would pull the base branch and the feature branch, compute the diff, and use that as input for an AI-based review step. The prompt would ask the reviewer to behave like a senior engineer or architect, follow common industry review standards, and return structured feedback - explicitly separating must-have issues from nice-to-have improvements.

The output would be generated as markdown and posted back to the PR, either as a comment or some attached artifact, so it’s visible alongside human review. The intent isn’t to replace human reviewers, but to catch obvious issues early and reduce review load.

What I’m unsure about is whether diff-only context is actually sufficient for meaningful reviews, or if this becomes misleading without deeper repo and architectural awareness. I’m also concerned about failure modes - for example, noisy or overconfident comments, review fatigue, or teams starting to trust automated feedback more than they should.

If you’ve tried something like this with Bitbucket/Jenkins, or think this is fundamentally a bad idea, I’d really like to hear why. I’m especially interested in practical lessons.

I’ve been working as a backend developer for close to six years now, but reading this brought me right back to college.

Like many others, I started with C. It taught me the basics - memory, pointers, writing data structures from scratch - but most of the time it felt like I was just trying not to break things. Solving problems became more about handling the language than understanding the logic.

Then I came across Java, and something just clicked. It felt structured, readable, and intentional. Almost like reading good English. For the first time, I could focus on the actual problem instead of building the tools to solve it. Collections, built-in libraries, and a reliable runtime made coding feel productive, not just painful.

Even now, years later, Java still feels like home. It’s not perfect, but it gave me the space to learn, grow, and build things that last. I really appreciated this article - it captures that quiet strength Java has, and the care so many people have put into making it better over time. It reminded me why I still enjoy writing Java after all these years.

Re:India's repair culture gives new life to dead laptops on Tuesday April 08, 2025 @01:08AM (#43618508)
This reminded me of something that happened to a friend of mine not long ago. He’d just been laid off from a pretty good Salesforce Admin job and was already in a tight spot financially when his laptop’s motherboard fried after a voltage spike.

Local shops were quoting ₹25,000–₹30,000 (roughly $300–$360), which he just couldn’t afford. Then a friend told him about Nehru Place. He sent the laptop there through someone he knew, and the repair only cost him around ₹5,000–₹10,000 ($60–$120). Way more reasonable.

He was glad to get it fixed without spending a lot but it does make you wonder how reliable those reused parts are. Like, how long is it gonna hold up before something else goes wrong?

Re:How Actors Remember Their Lines on Thursday May 30, 2024 @03:13AM (#40521009)
Wow! Brilliant Read. I love how our mind loves to read and visualize scripts and it's like in between infinite thoughts going within. The time we repeat we think in some different way thinking "Oh yeah! Now I understand this more".

Curious to know from the people who have read a lots and lots of text or books or watched movies.

Re:Ask HN: What framework should I learn? on Sunday April 07, 2024 @03:10PM (#39962965)
If you are coming from Java Background with some basic understanding of JavaScript/Typescript you should try using Spring framework with React. Try reading blogs from Baeldung.com[1] which provides lots of different articles on how you can use spring for your particular use case.

[1] https://www.baeldung.com/spring-tutorial

Ask HN: Brought m3 pro how to Macs for life?

HelloI am a software developer working and reading fun stuff which you guys keep posting and I love using all your work which really is providing me living. I am working as Full Stack Developer and I think I know basics of Internet. I earn real decent but I think more than earning I need to learn can you guys help me out on maxing things at life? I have a MacBook pro what shall I build if I...

( Read More... | 1 comment | on HN )
This would be kind of fun as we have tried doing it with PrivateGPT
Re:Psytrance Guide on Wednesday October 18, 2023 @02:30AM (#37925431)
There are so many excellent examples out there. Personally, I love tracks like https://on.soundcloud.com/aV91kefmnviRJwxg7
which country have the most employment btw?
Btw what do you all think of global recession? Will it happen? If yes, who’ll suffer the most?
Re:JEP 431: Sequenced Collections on Friday October 14, 2022 @05:16AM (#33201315)
Just signifies how good default method has revolutionized Java.
Re:The Reason Java Is Still Popular on Thursday September 22, 2022 @02:54PM (#32943105)
The main reason behind Java's success has always been the community and it's ecosystem. Once you learn basics you literally can code very good things with ease using a huge number of examples/solutions present on web.

The user base kind of helps the developers find the fixes way too easily compared to any other language.

I doubt it is ever going to lose it's popularity as Java is very good to accept good changes(although slowly). The best thing about java is it provides code stability and backward compatibility and this is the reason it will thrive even more.

I think this is absolutely correct time to ask something to the people who have worked on this kinda integration. Currently we have a PSP which gives a webhook on successful payment. The challenge here is once I receive webhook (which is a stateless POST request to one of our server) we want to attach it to a browser with an open websocket connection. I have to make a redirect now what do you think is an ideal way to make it? Currently I am posting it directly to the notify page which is waiting for success/failure response. But the problem here is I don't have any mechanism through which I could make a post request directly with the browser context as well as redirect without explicit post(which ofcourse displays payload - think success/fail response). Can you provide a better way for handling the redirect here with form post?

To make things more clear we have our client which wants to display a QR hosted on a different service where it comes via http redirect on requesting one of the server API - then this service gets the webhook & it has to redirect back to the client again with the payment status/webhook response.

I am feeling real bad now as I used the like query as OP did (although in MySQL) for implementing a custom search over two fields ( Name & Description ) in one of my personal projects. I thought it worked pretty well though and I was so happy about it.
Re:Ask HN: How do you scale WebSocket? on Thursday June 30, 2022 @02:27AM (#31929252)
Hi, I agree with each of your points you mentioned. Still it's kind of curiosity within me which is making me think to achieve this goal as we have ample time and this indeed is a business need.

It would be very nice of you if you can share few other solution other than using Ably's API :(

Re:Ask HN: How do you scale WebSocket? on Thursday June 30, 2022 @01:47AM (#31929037)
Hi, We're not using Nginx. We are using Docker image & everything is configured using cloudflare (whose details are something which I am not aware of properly).

Though, here the problem with websocket is that they are stateful and whenever a connection is established it is directly getting established with one of the instance from the list of several instances due to loadbalancer. Now, whenever a new Webhook response comes as it's a normal post request and it doesn't have information regarding which instance was used earlier for making the websocket connection, it may send request to one of the instance where the connection was not established and thus our backend is not able to process this request from this particular instance.

Re:Ask HN: How do you scale WebSocket? on Thursday June 30, 2022 @01:38AM (#31929007)
It's the websocket connection which is not getting established. Webhook response is a simple Post request and it's coming fine. The problem here is sometimes this webhook response comes to that particular instance where the websocket connection was not established with the client.Ideally I would be happy if this response comes to both of the instance through some configuration on loadbalancer.
Re:Ask HN: How do you scale WebSocket? on Wednesday June 29, 2022 @04:24PM (#31925282)
Hi, Thank you for responding. Actually we have one external API which provides this detail as soon as the payment is done. But we wanted something wherein once the payment is done we can directly send back the details directly to the connected client using that incoming webhook response instead of making the client(browser) to call one another API/fetch state present in DB periodically.

Ask HN: How do you scale WebSocket?

Hi All,I have a screen which displays QR code on browser screen & at the same time it opens a Websocket connection with my backend(Spring). Once the payment is done a Webhook response comes to one of my backend endpoint with the payment state(success/failure) & other order details.The application is working fine if it is running locally or with only single instance. But since we have...

( Read More... | 16 comments | 13 points | on HN )

Ask HN: One Single Framework for Developing Mobile, Web and Desktop App?

Considering the amount of expertise each of the framework requires for developing applications, it becomes cumbersome & time consuming to learn many. Is there any single framework out there which can do all the things? We have separate framework for developing application depending on the platform. Something using which one can develop code for all platform - Microservices are good &...

( Read More... | 4 comments | 3 points | on HN )

Older »