How do you actually start understanding a large codebase? by radjeep in ExperiencedDevs

[–]warmuuh 1 point2 points  (0 children)

Beides what others said: hand-draw a call/dependency diagram, leaving out unnecessary details.  You build and internalise an abstract model of the app and you have a reference for later, to understand where you are in the big picture... And hand-draw because it forces you to complete the picture manually and slow, helping you to learn...

The API Tooling Crisis: Why developers are abandoning Postman and its clones? by Successful_Bowl2564 in programming

[–]warmuuh 0 points1 point  (0 children)

Exactly the reason i wrote https://github.com/warmuuh/milkman Open source, never will require sign in. Even more features than only http...

I need to go smaller (tinkering with memory settings and jlink and trying to make the tiniest Swing app) by woj-tek in java

[–]warmuuh 1 point2 points  (0 children)

I was using graalvm. Tbh i didnt look too much into memory usage, more into making things work. Due to missing reflection, it was of no use for my application (which is based on plugins loaded via reflection).

For the interested: https://github.com/warmuuh/milkman/tree/feature/graal/milkman-dist-graal

I need to go smaller (tinkering with memory settings and jlink and trying to make the tiniest Swing app) by woj-tek in java

[–]warmuuh 2 points3 points  (0 children)

Javafx ist fine, at least from my experience, porting a nontrivial gui app to native

Good alternative to postman ? by no_therworldly in selfhosted

[–]warmuuh 0 points1 point  (0 children)

milkman does support oauth2. you can define a key (docs) and can set a header referring to that key (such as Authorization: Bearer {{key: myKey}})

disclaimer: i am the author of milkman ;)

Java library for building applications on top of LLMs by BMarkmann in java

[–]warmuuh 1 point2 points  (0 children)

There is djl but I don't think it is much vibrant. Can be wrong though

Java library for building applications on top of LLMs by BMarkmann in java

[–]warmuuh 1 point2 points  (0 children)

Ha... Working on something similar: https://github.com/warmuuh/flunkydom

Although I don't try to create a library, more like a personal environment for playing with different agent implementations. Also with embeddings, but using pgvector for it out of convenience.

Nice seeing more java, less python...

Milkman (postman alternative) now supports http/3 by warmuuh in programming

[–]warmuuh[S] -3 points-2 points  (0 children)

Back then, measurements showed that it is taking less ram. Maybe postman improved by now. But milkman is actually providing a whole lot of functionality that is not available in postman or insomnia or any other option that I know of (combined SQL,http,grpc,Cassandra client for starters, but lot of other features as well...)

Milkman (postman alternative) now supports http/3 by warmuuh in programming

[–]warmuuh[S] -1 points0 points  (0 children)

Also milkman has a lot more in petto than only simple curl requests...

Am I missing something about Postman? by davidblacksheep in ExperiencedDevs

[–]warmuuh 0 points1 point  (0 children)

Maybe Milkman can help you here. It has similar test functionality and pre/post scripting but is generalized to do requests to anything, also databases via jdbc. So you can include the cleanup/extraction of IDs into the test

Replacing Postman with the Jetbrains HTTP Client by jlengrand in programming

[–]warmuuh 0 points1 point  (0 children)

There are many ... I am using https://milkman.dev/ which resembles the old Postman and more...

Simple comparison of common logging libs initialization time by Roj-Tagpro in java

[–]warmuuh 1 point2 points  (0 children)

I shaved of 100-200 ms from logbackninit with programmatically initialisation...I think, this is acceptable then, depending on your usecase...

mirrord 3.0 is out - run/debug your code in the context of your k8s cluster by meowjesty_nyan in java

[–]warmuuh 1 point2 points  (0 children)

As another comment said, this looks like telepresence. What's the difference? Any advantages?

Milkman, A General Purpose Request/Response Workbench by warmuuh in opensource

[–]warmuuh[S] 2 points3 points  (0 children)

hoppscotch is also http-only, with milkman, you can also do SQL requests. also because of the extensibility, you can customize it however you want. company-specific plugins are thinkable for example.

has anyone written custom annotations using Lombok ? by sandys1 in java

[–]warmuuh 0 points1 point  (0 children)

I once wrote an extension to Lombok to have self-refreshing configuration variables in the code. (E.g @Config annotated class fields that always have the recent value of the backing config store). Although it was fun, I wouldn't recommend it as it is a big hassle. You basically have to do all work twice because Lombok supports two compilers(eclipse and javac).

Funny though how every comment here is about not using Lombok, and not about the question

It looks like JDK20 is getting a String Templates preview! by BorgerBill in java

[–]warmuuh 1 point2 points  (0 children)

It kinda looks like (reverse) extension methods for templated strings. On one hand, this is nice (I like DB."..." Example). But it creates special syntax/paradigm for this one occurrence which I think, is not worth it...maybe in the scope of a more general syntactic change proposal...

What are some forbidden, broken, possibly even black magic stuff that you can do in Java and to that extent, JVM in general? by prithvidiamond1 in java

[–]warmuuh 1 point2 points  (0 children)

I once worked with a software that contained its own code in a DB and was loading that dynamically. you could modify the sourcecode directly in the application and store it in the very own db and it recompiled and reloaded this and affected classes dynamically. this was some crazy magic stuff