HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spreiti

145 karmajoined il y a 16 ans

comments

spreiti
·avant-hier·discuss
https://youtube.com/@java?si=pN0ODGy-YLaaunIn

This is the official Java channel.
spreiti
·il y a 6 mois·discuss
I have basically the same workflow. Planning mode has been the game changer for me. One thing I always wonder is how do people work in parallel? Do you work in different modules? Or maybe you split it between frontend and backend? Would love to hear your experience.
spreiti
·il y a 7 mois·discuss
It is neither of these. It's an application that processes data and is not accessible outside of the companies network. Not everything is an app.

I described my workflow that has been a game changer for me, hoping it might be useful to another person because I have struggled to use LLMs for more than a Google replacement.

As an example, one task of the feature was to add metrics for observability when the new action was executed. Another when it failed.

My prompt: Create a new metric "foo.bar" in MyMetrics when MyService.action was successful and "foo.bar.failed" when it failed.

I review the plan and let it implement it.

As you can see it's a small task and after it is done I review the changes and commit them. Rinse and repeat.

I think the biggest issue is that people try to one shot big features or applications. But it is much more efficient to me to treat Copilot as a smart pair programming partner. There you also think about and implement one task after the other.
spreiti
·il y a 7 mois·discuss
I cannot show it because the code belongs to my employer.
spreiti
·il y a 7 mois·discuss
I use GitHub Copilot in Intellij with Claude Sonnet and the plan mode to implement complete features without me having to code anything.

I see it as a competent software developer but one that doesn't know the code base.

I will break down the tasks to the same size as if I was implementing it. But instead of doing it myself, I roughly describe the task on a technical level (and add relevant classes to the context) and it will ask me clarifying questions. After 2-3 rounds the plan usually looks good and I let it implement the task.

This method works exceptionally well and usually I don't have to change anything.

For me this method allows me to focus on the architecture and overall structure and delegate the plumbing to Copilot.

It is usually faster than if I had to implement it and the code is of good quality.

The game changer for me was plan mode. Before it, with agent mode it was hit or miss because it forced me to one shot the prompt or get inaccurate results.
spreiti
·il y a 10 mois·discuss
Since JDK 22 https://openjdk.org/jeps/454
spreiti
·il y a 10 mois·discuss
How much experience do you have working in Java? This statement really surprises me because Java has some of the best in class tools to debug and troubleshoot issues.
spreiti
·il y a 4 ans·discuss
We don't make bread. We just make bread from the previous day hot and crunchy again. It just takes a few minutes. We used to do this with the oven but that takes quite some time more.
spreiti
·il y a 4 ans·discuss
We got one in 2020 and we use it daily. Chicken, french fries, sausages, fish and bread is what we use it for most of the time. Some things like spring rolls are better fried with oil but overall we love it and it is a real time saver and of course less oil is used.