Live data from Hacker News

Viewing profile — tipsee

tipsee

HN member
Joined
Sat, Oct 04, 2014, 9:24 AM UTC
HN karma
316
Public activity
53 items

About tipsee

No profile information was provided.

Recent public activity

  1. comment
    Comment #47138654

    I've been working on this since 2017, the last release has been much slower than usual due to changing circumstances in my personal life, so very happy to finally get it out!

  2. story
  3. story
  4. comment
  5. comment
    Comment #33082119

    If I would be using something like `ctx.result(inputStream)` - would it block the [lightweight] thread until all data is written. Or would the handler return and the data transfer …

  6. comment
    Comment #33074590

    Thanks! We had some interest in running Javalin on GraalVM in the past, but no one has updated the tutorial in many years. It used to work though, so I bet it still would, if you r…

  7. comment
    Comment #33074547

    are you using an already-existing HTTP engine, like Jetty or Tomcat? Yes, Javalin is built on top of Jetty. - how do virtual threads fit into a web framework? Most JVM web framewor…

  8. comment
    Comment #33074440

    Fixed, thank you :)

  9. comment
    Comment #33073828

    Thank you! The Vue support is the thing in Javalin I'm the most proud of. There are a hundred web frameworks for the JVM, but none of them have anything close to the Vue support Ja…

  10. comment
    Comment #33073769

    > Just a minor nitpick (for those who care about the details of OpenJDK's development): virtual threads are not Project Loom, but rather one of the JEPs contributed to the JDK by P…

  11. comment
    Comment #33071999

    Rebuild and restart. Javalin itself starts in milliseconds (the test suite starts and stops servers across 600+ tests in less than 10 seconds). If you run in debug mode in IDEA, or…

  12. comment
    Comment #33071813

    Yes, disagree on needing a library. The way your comment was worded made it seem to me like you were saying all serious Java applications need a DI library, I'm sorry if I misunder…

  13. comment
    Comment #33071626

    Hard disagree on needing a DI library, manual DI is great.

  14. comment
    Comment #33071195

    I mean, it sort of doesn't? Coroutines is a whole concept, Virtual Threads can in most cases just replace java.lang.Threads, which is how it's implemented in Javalin. We just swap …

  15. comment
    Comment #33071083

    I've been dogfooding it hard, which is a great incentive to keep working on it. I think we have 20 Javalin projects where I work. It's also gotten pretty popular lately (3m downloa…

  16. comment
    Comment #33070805

    It does :) We use reflection to build the Virtual Thread Factory if the user has Loom enabled in their enviroment: https://github.com/javalin/javalin/blob/master/javalin/src/m...

  17. comment
    Comment #33070786

    If you run this on JDK19 with *--enable-preview*, Javalin will use Virtual Threads for the Server ThreadPool (as well as all other ThreadPools it has).

  18. comment
    Comment #33070694

    I respect Vert.x a lot, so I'm flattered, but Vert.x is a huge beast with focus on performance. Javalin is basically a tiny UX layer on top of Jetty. I don't think they are very si…

  19. comment
    Comment #33070156

    Yeah, no, he was 100% correct, I was just looking at the wrong snippet. It's been fixed now :)

  20. comment
    Comment #33070038

    > Closures defined only by the arrow are a Java thing... or so I thought. :D In fairness, I think you did copy the Java version. There's a little switch in the code boxes where you…

  21. comment
    Comment #33069944

    Hey, thank you for using it. Single-page docs are also my favorite, and Javalin/jdbi/SQLite is my goto for quick stuff! > but with a very persistent project manager Your partner? :…

  22. comment
    Comment #33069887

    I'm not super sure what you're asking, but Javalin doesn't care at all about your directory structure. You can add it as a dependency to any existing gradle project you have, and i…

  23. comment
    Comment #33069303

    Both inspired by Sinatra, the OG :)

  24. comment
    Comment #33069024

    Seems to compile fine here, what's the issue? Edit: I was looking at the wrong snippet, the offending snippet has been fixed.

  25. comment
    Comment #33069001

    Javalin offers way less, it's more or less just the web routing layer. No databases, no ORM, no config loading, etc.