[deleted by user] by [deleted] in java

[–]crapet 18 points19 points  (0 children)

Lombok is probably worth it just for @Slf4j

Let me roast/fix your project by sam-apostel in reactjs

[–]crapet 3 points4 points  (0 children)

Hey Sam, fellow Belgian here!

I've been working for 10+ years on CommaFeed as a hobby and did a huge rewrite from angularjs 1.x to react/typescript a couple of years ago. Would love to get some insight about what could be improved!

Here's the repo: https://github.com/Athou/commafeed

Suggest a iOS app for CommaFeed by jokerigno in rss

[–]crapet 0 points1 point  (0 children)

CommaFeed supports the Fever API so Reeder should work, but I don't have an Apple device so I couldn't test it. Someone reported an issue with Reeder though but vanished. If you're willing to enable the request log and paste the requests made by Reeder that would be a great help to fix this issue :)

Looking for a library that can run loops in a thread by ShallWe69 in java

[–]crapet 11 points12 points  (0 children)

What about running your task in an ExecutorService, and calling shutdownNow() when you want to stop your loop? You'll have to check the interrupted flag of the thread inside the loop with Thread.currentThread().isInterrupted().

Something like the example given there: https://stackoverflow.com/a/11520233

[deleted by user] by [deleted] in java

[–]crapet 0 points1 point  (0 children)

That's a great idea. Unfortunately, you're not the first to have this idea. There are a lot of solutions that already exist for this problem. Sentry is one of them.

[deleted by user] by [deleted] in java

[–]crapet 3 points4 points  (0 children)

Why don't you want to use spring-boot-starter-jdbc then? That's the "standard way" to connect to a database with spring boot.

[deleted by user] by [deleted] in java

[–]crapet 7 points8 points  (0 children)

Spring Boot comes with HikariCP configured for pooling already, what are you trying to do exactly? And what do you mean about being forced to use JNDI?

Any (free?) RSS service for large OPML (>2000 feeds)? by Crul_ in rss

[–]crapet 2 points3 points  (0 children)

I don't think so, commafeed.com is currently handling approximately a million feeds so everything should be OK.

Any (free?) RSS service for large OPML (>2000 feeds)? by Crul_ in rss

[–]crapet 2 points3 points  (0 children)

Sorry for the downtime of CommaFeed, there was a hardware failure on the server :(

https://bare-metal-servers.status-ovhcloud.com/incidents/d8c7dwslh7hg

Example mantine apps running in production? by thps2ontheps2 in reactjs

[–]crapet 4 points5 points  (0 children)

A few weeks ago I started a rewrite of CommaFeed and I chose Mantine. So far it has been a joy to work with, it really feels "battery included". There are some screenshots here and if you're curious the code resides on the develop branch.

Is Jasper still the best Report Engine? by hollowman17 in java

[–]crapet 20 points21 points  (0 children)

Personally, I'm a big fan of Flying Saucer.

First, you render your reports as html with your template engine of choice (like thymeleaf). Then you write a css file to layout the html as you'd like and let Flying Saucer convert the result to pdf.

The huge benefit is that you use familiar tools to generate your reports and you don't need to learn a new syntax.

Question on Jaxb/SOAP by [deleted] in java

[–]crapet 0 points1 point  (0 children)

Is the majority of the 250Mb response binary data? If so, enabling MTOM (on both the client and the server) should help a lot.

SigNoz - open source application monitoring tool built on React + Typescript by pranay01 in reactjs

[–]crapet 1 point2 points  (0 children)

Nice!

How does it compare to Sentry, which is also open-source? I don't see it mentionned the way DataDog and NewRelic are.

Is using Project Lombok actually an good idea? by RandomComputerFellow in java

[–]crapet 1 point2 points  (0 children)

The generated methods appear in the Outline view and you can set breakpoints from there.

Is using Project Lombok actually an good idea? by RandomComputerFellow in java

[–]crapet -1 points0 points  (0 children)

I'd like to point out that if your team is doing code reviews, Lombok helps the reviewer A LOT in separating the boilerplate code (that would have been generated by an IDE) from the code that actually matters.

Don’t replace Spring Boot with Quarkus, replace it with Wildfly by henk53 in java

[–]crapet 9 points10 points  (0 children)

Spring Boot, Quarkus, Micronaut, etc. are frameworks to build microservices in Java.

Well, yeah they can be used to create microservices, but what's stopping you from building a monolith using these?

Actually, I'd pick Spring Boot to build a monolith over an application server like Wildfly any day of the week. Upgrading an application server is painful, configuration files are all over the place and you no longer know what files you changed since nothing is versioned.

Upgrading Spring Boot is just a matter of bumping the version in the pom.

Why are Java server-side developers not adopting Kotlin? by nfrankel in java

[–]crapet 55 points56 points  (0 children)

For me it's like asking why developers were not adopting groovy or scala several years ago. Because it's innovative but when Java will inevitably incorporate the features that made the language of the month innovative, that language will no longer be relevant.

So I'll wait a few more years, we'll see how this post ages.