News for hackers. Stuff that matters.

spreiti

Re:Thunderbird for iOS on Tuesday October 13, 2026 @05:20PM (#50078929)
I am confused by your comment. Is it modern practice to vibe code everything these days instead of installing an app developed and maintained by a team? Do you expect everybody to be vibe coding their own software now?
Re:Java 27: What's New? on Friday July 10, 2026 @08:42AM (#48859094)
https://youtube.com/@java?si=pN0ODGy-YLaaunIn

This is the official Java channel.

Re:AI Coding Assistants Are Getting Worse on Friday January 09, 2026 @03:25AM (#46551325)
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.
Re:Ask HN: How can I get better at using AI for programming? on Sunday December 14, 2025 @01:39AM (#46261230)
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.

Re:Ask HN: How can I get better at using AI for programming? on Saturday December 13, 2025 @05:35PM (#46258870)
I cannot show it because the code belongs to my employer.
Re:Ask HN: How can I get better at using AI for programming? on Saturday December 13, 2025 @05:17PM (#46258706)
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.

Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @10:57PM (#45237037)
Re:Java 25's new CPU-Time Profiler (1) on Saturday September 13, 2025 @03:21PM (#45234605)
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.
Explain them the concepts of loot boxes and pay to win. My son, who was 8 at that time, understood quiet fast that these games don't require skill and are just trying to steal money from him. He doesn't like that and now avoids games that contain these dark patterns and has become quiet good at spotting them.

Also, buy a Nintendo console. It solves 99% of all problems. I haven't seen these dark patterns in any Nintendo title and personally I think it's the best gaming environment for kids.

Re:Java JEP 461: Stream Gatherers on Friday November 03, 2023 @08:28AM (#38127707)
Looking forward to this JEP. This is, IMO, how Streams should have been implemented from the get go. All intermediate operations can now be expressed with Gatherers rather than having dedicated methods that can never cover all intermediate operations people come up with.
Re:Level-up your Java Debugging Skills with on-demand Debugging on Wednesday October 04, 2023 @02:35PM (#37769617)
In Intellij you can add breakpoints to when lambdas are executed [0]. You can also print logs instead of suspending the threads [1].

[0] https://www.jetbrains.com/help/idea/using-breakpoints.html#s...

[1] https://www.jetbrains.com/help/idea/using-breakpoints.html#l...

I highly recommend you to watch this video by Brian Goetz if you want to learn more about this JEP.

https://youtu.be/pcg-E_qyMOI

Re:Why Checked Exceptions Failed on Saturday July 15, 2023 @09:59AM (#36736819)
FYI: With Java 21 (2023/09/19) this is finally possible.

Relevant JEPs:

- 441: Pattern Matching for switch

- 440: Record Patterns

- 409: Sealed Classes

- 395: Records

It is kind of similar to Scalas version of pattern matching with case classes.

Re:Ask HN: What sub $200 product improved your 2022 on Friday January 06, 2023 @01:29PM (#34278806)
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.
Re:Ask HN: What sub $200 product improved your 2022 on Friday January 06, 2023 @11:17AM (#34276522)
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.
Re:WebAssembly: Docker Without Containers on Wednesday December 21, 2022 @03:31PM (#34086011)
This a 1000 times. People like to hate on Java but when there are problems to diagnose on production systems it is second to none.

But from my experience most people don't know these tools even exist so the only thing they do is restarting and guessing where the problem might be if it persists.

I am in a similar situation (17+ years as developer) and I recently found joy in ethical hacking. I feel like a young kid again discovering new things on a daily basis after work.
Re:How to write a toy JVM on Wednesday June 03, 2020 @03:13AM (#23400792)
While not directly a resource, I found writing agents for the JVM (java.lang.instrument agents and JVMTI agents) to be quite enlightening and rewarding. Depending on what you want to do you'll have to deal with bytecode transformation/instrumentation, JVM events, JNI and many other things. For example, have you ever thought about how a java debugger (JPDA, JDI, JDWP) works or a tool such as OverOps (Takipi)?
Re:Ask HN: How to rediscover the joy of programming? on Tuesday April 14, 2020 @06:03AM (#22864219)
I'm 16 years into my career. I still like programming but I wouldn't say that I love it like I used to. At the beginning I would discover and learn new things on a daily basis but now, after 16 years, it's usually more of the same and this is what killed the love for programming for me. I have become a mercenary. And that's ok, because I have a family and more important things than coding for fun.

But every now and then I discover something new and this is when I get excited again. This is what keep the little coder flame burning that is still left within me.

So I try to find something new every month or two that get's me excited again. Doesn't take much time and is very rewarding.

Re:Switzerland Federal Council bans large-scale events on Friday February 28, 2020 @05:15AM (#22441787)
It will be refunded with the refund reason "Goodwill".

(I work as a Software Developer at SBB and work on the system that does the refund process)

Re:Masahiro Kikuno, Japanese Independent Watchmaker (2017) on Tuesday January 29, 2019 @03:44AM (#19024787)
If you want to take it to the water it is usually recommended that the watch has 10bar (100m) water resistance.

The Breitling Navitimer 01 would tick many of your boxes (Chronograph, (Logscale)Bezel, Date) and is an iconic watch. However you can't swim with it.

Another iconic chronograph is the Zenith El Primero with the tri color dial. It is also WR to 100m.

Then there is the Omega Speedmaster "Man on the Moon" Chronograph.

Tudor also has a few nice watches: Black Bay Chrono, Black Bay Heritage, Black Bay 58, Black Bay GMT, Pelagos.

If you want a fine Quartz watch have a look at Grand Seiko and Citizen Chronomaster. These are High Accuracy Quartz (HAQ) watches which means +/- 5-10 seconds a year depending on the model.

For more classic looking watches have a look at Jaeger LeCoultre. I especially like their Masters collection.

Yes, but depending on what you are looking for that might not be a bad thing. It usually means that the technology is mature to a certain degree.
I apply the same strategy and focus on job listings from government related jobs/projects.
Re:Google is buying Fossil’s smartwatch tech for $40M on Friday January 18, 2019 @01:13AM (#18937379)
Everything except the notifications has been available in watches such as the Citizen Satellite Wave and Seiko Astron lineup.

There are E-Straps from Montblanc that can notify you among other things.

There are also the "HOROLOGICAL SMARTWATCH" and "HYBRID MANUFACTURE" from Frederique Constant that could be interesting to you.

Re:The Slide Rule on Tuesday October 23, 2018 @09:41AM (#18283269)
A practical implementation of a slide rule can be found on watches such as the Breitling Navitimer. I like to use it for quick currency conversions when traveling.
Re:Microservices Are Something You Grow Into, Not Begin With on Friday October 19, 2018 @09:15AM (#18256471)
And to add to that: Transaction handling will be vastly different in most cases between local calls and network calls.
Re:Microservices Are Something You Grow Into, Not Begin With on Friday October 19, 2018 @08:21AM (#18256162)
> But microservices are also about coupling: just have a self-contained service that does one thing.

What stops you from creating a module inside a monolith with an interface that provides a self-contained service that does one thing?

Re:New in Chrome 70 on Thursday October 18, 2018 @08:22AM (#18247645)
Not a use case per se but, I think it could be useful in combination with Progressive Web Apps (which can work without an internet connection) to control bluetooth devices without installing an App.
Re:Java Is Still Free on Monday October 15, 2018 @09:06AM (#18219313)
I like it that way. Keeps my rate high while doing trivial CRUD applications.

On a serious note, I still think Java has one if not the best ecosystem of any language. Fast JVM, lots of high quality Open Source libraries/frameworks, tooling (IDEs, monitoring, debugging) and if you have a problem you probably are not the first one and usually find an answer.

A personal anecdote from me and my wife.

The weekend before they found them my wife told me that a monk who was praying for them at the cave said that a ghost[1] was hiding them from the eyes of the divers until Monday[2]. They shouldn't be worried about the children and their coach as the ghost would take care of them. To my surprise they found them on that Monday.

[1] https://www.nytimes.com/aponline/2018/06/27/world/asia/ap-as... [2] I don't have a source as my wife was just scrolling through her Facebook feed

Older »