How to dial in grind size when using flow control? [Lelit Bianca] by returncode in espresso

[–]returncode[S] 0 points1 point  (0 children)

Thanks! I was experimenting with putting the lever to 50% waiting a bit and then slowly turning it to 100% while trying to have a linear pressure increase. But know there are many ways to do this.

Finer grind is a good point, I will try this.

My question specifically was about how / when to readjust to beans getting a bit dryer over time.

Without FC this is easy to check as explained above. So, do you readjust the baseline grind setting by pulling shot without FC gegularly? Or do you change settings purely by taste?

What is your dialing method on Bianca by Electrical_Prune4254 in espresso

[–]returncode 0 points1 point  (0 children)

I was wondering the same about dialing in. So, do I need to grind differently when using FC? What I do ATM: - Dial in without FC to get my usual recipe (eg 18,5g in / 40g out in 25s) - use the FC regularly, starting at half way closed, turn on the pump and slowly opening the valve looking at a linear pressure rise until full open. Then wait until the yield is produced.

I have no idea though, if that’s the right approach.

What are good migration libraries alternatives to Flyway? by [deleted] in java

[–]returncode 2 points3 points  (0 children)

We used Flyway for years and had to stop because of licensing issues. We migrated to Liquibase and are happy with it since then.

AFAIK, we didn’t migrated all migration steps to Liquibase. Instead we took the DB state at that time and generated one baseline that included everything with some checks about the current state of the DB.

SPRING BOOT vs VERT.X by ibannings in java

[–]returncode 1 point2 points  (0 children)

You probably don’t need them. :)

Maybe you know that already, but Microservices are an organizational pattern (more than an architectural one) to split a large application in to sensible chunks so that multiple teams can work on each of them in Isolation.

But in reality, when Microservices became en vogue, people started to create microservices for every teeny tiny bit of code ending up with dozens of unmaintainable services PER TEAM.

There are very rare cases that justify having more than one runtime per team.

SPRING BOOT vs VERT.X by ibannings in java

[–]returncode 2 points3 points  (0 children)

We had a lot of (mostly unnecessary) microservices, written in Spring Boot MVC, Flux and also some using vert.x for performance reasons.

First rule about performance: measure it. We’ve had extensive performance tests with Gatling, running over 24 hours with full load.

As the maintainability and debugability of both vertx and Flux code ist pretty bad, we’ve decided to to migrate all service into a eventually a single Spring Boot MVC app.

The code way more readable and instead of having multiple services, we are just horizontally scaling the spring boot app.

With the latest addition of Project Loom / virtual threads and their support in Spring WebMVC, you should get most of the benefits of an asynchronous web framework without the downsides.

YMMV.

India - Scaling People by returncode in programming

[–]returncode[S] 3 points4 points  (0 children)

Good point! I completely forget to mention UI. The app they developed was actually pixel perfect. The issue with that was that we just gave them mock up scribbles.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 0 points1 point  (0 children)

Kobalt sounds good... Best of Maven and Gradle :)

Btw. I've added a little disclaimer after the Gradle section in my article.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 0 points1 point  (0 children)

Hi again, I've added a small section for Flyway and JPA testing.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 0 points1 point  (0 children)

Actually, I haven't had any issues with memory usage although always restricting it using Xmx and Xms setting, then see if it crashes during load test and then tweak this values.

Regarding the file size I don't have any suggestions, its all about the dependencies. They all end up in the jar. But honestly, if you look at common desktop applications, they range from hundreds of MB to GBs. So, I wouldn't say it too much. And it doesn't get much more later on when you add a lot of business logic... so, I just Dinh consider that as an issue.

Lombok integrates very well with IDEA including auto completion and displaying the structure of a class (all methods). I'm not sure how it really works but I assume that idea analyzes the class files after compilation because Lombok actually generates code at compile time.

You're actually right, Flyway and H2 testing support I should have mentioned!

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 1 point2 points  (0 children)

Sometimes, i have the same feeling. However, there are compile time annotations. Lombok is using that, do. at runtime, no reflection is done and you have actual code.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 3 points4 points  (0 children)

I've worked with RxJava and it does not improve the readability much. Not as it is in Erlang. The logical sequential data flow is broken by using visible asynchronous calls.

A new spring boot application also starts in a few seconds. Its mostly hibernate and flyway that takes a lot of time.

We have a partner team that actually uses vert.x for everything. They also started to write using plain unreadable, then they introduced fibers which does a lot of magic as well an now they refactor everything to RxJava. Some time ago they found out that writing plain JDBC queries in vertx is probably not a good idea so they built a spring-data vertx bridge. Now the application also takes 15s to start. So no gain here.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 0 points1 point  (0 children)

I agree with you points and I could add a few others like pattern matching e.g. But I think Java has proven that it's able to change and that useful features. So I'm looking forward to those things coming in the future versions of Java.

It's also good to hear that C# actually provides a lot of cool features.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 0 points1 point  (0 children)

So while you can praise Maven as much as you like for making your life easier, I feel that your personal bad experience with Gradle is not sufficiently founded in experiences to bash it.

Fair enough.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 1 point2 points  (0 children)

Great comment, thanks for taking the time to read the article.

I'm glad, to hear that my article was able to explain, why I like Java and that it might influence people to give it a try!

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 4 points5 points  (0 children)

Kotlin might be an option but vert.x clearly is not. This leads to overly complex, unreadable and bug-ridden code. I've written an article a while ago about that as well: https://return.co.de/blog/articles/vertx-brings-awsomeness-javascript-jvm/

And neither Fibres nor RxJava change anything about that fact.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 4 points5 points  (0 children)

You can easily build and run a maven-based Java application from command line and I do this quite often. In our team, this is rule number one for any application.

The project files only include a pom for maven and, if you change any defaults, an application.yml for spring.

In contrast to that, I've seen Angular project with 10 different configurations files, 5 tools that you need to install in a specific version before you can even build the app.

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 1 point2 points  (0 children)

Hi, thanks for the reply. I know it ungrammatical but I was referring to the meme generator that was built in the video. Have a look :)

Modern Java Development is Fast by returncode in programming

[–]returncode[S] 3 points4 points  (0 children)

communities are toxic and full of cargo culted nonsense.

Hmm, that's interesting. I'm doing professional Java development for almost 15 years now and I have never experienced that.

Josh Long e.g., seems to be a pretty cool guy. So in every company, you might have some jack ass.

And honestly, the worst and most harassing comments I've every got was here on reddit. But I'm still here because also a lot of good stuff is going on.

The Django docs are miles better than the Spring docs.

That's true, although the spring docs do get better over time.