Live data from Hacker News

Viewing profile — gk_brown

gk_brown

HN member
Joined
Fri, Oct 02, 2015, 6:21 PM UTC
HN karma
123
Public activity
57 items

About gk_brown

No profile information was provided.

Recent public activity

  1. story
  2. story
    Show HN: Kilo – Lightweight REST for Java

    Kilo is an open-source framework for creating and consuming RESTful and REST-like web services in Java. It is extremely lightweight and requires only a Java runtime environment and…

  3. comment
    Comment #34239828

    Sierra 1.0 and 1.1 actually took a similar approach - trying to create a DSL based on the standard layout managers. However, I ultimately found that approach too limiting and went …

  4. comment
    Comment #34237145

    I generally prefer links since otherwise the code and examples can easily get out of sync.

  5. comment
    Comment #34235346

    Have you looked into Flutter at all? I admit that I have not, but I know it supports web development in addition to mobile and desktop: https://flutter.dev/multi-platform/web

  6. comment
    Comment #34234764

    Added an example demonstrating how to add an action listener to a button: https://github.com/HTTP-RPC/Sierra/blob/master/sierra-test/s... I'm not sure it's exactly what you were lo…

  7. comment
    Comment #34234309

    Sierra is actually inspired by Lima, a UIKit DSL I created in Swift before SwiftUI was announced: https://github.com/HTTP-RPC/Lima

  8. comment
    Comment #34234287

    Thanks for the feedback. I did consider using Kotlin but wanted to make sure it worked at least minimally in Java first.

  9. comment
    Comment #34233129

    Take a look at FlatLAF: https://github.com/JFormDesigner/FlatLaf They have done a great job bringing a modern appearance to the Swing components.

  10. comment
    Comment #34233047

    Agreed. I said as much in my response to this issue that was opened the other day: https://github.com/HTTP-RPC/Sierra/issues/12

  11. comment
    Comment #34232987

    Great question. You can do this with a cell consumer (i.e. the with() method). See OrientationTest for an example (e.g. leftToRightButton, rightToLeftButton): https://github.com/HT…

  12. story
    Show HN: Sierra, a DSL for building Java Swing applications

    Yes, I know hardly anyone uses Swing anymore. :-) I basically just did it for fun and thought I would share.

  13. comment
    Comment #18403251

    UIStackView is a step in the right direction, but it doesn't go far enough. It's still not truly declarative; it requires you to think in terms of content priorities; and it doesn'…

  14. comment
    Comment #18403242

    Actually, Lima is partly a move away from using XML: https://gkbrown.org/2018/11/04/introducing-lima/

  15. comment
    Comment #18403235

    For one, you can't create a hierarchy of UIStackViews and their contents declaratively. But UIStackView also forces you to think in terms of content hugging and compression resista…

  16. story
  17. comment
    Comment #18194515

    I understand the GraphQL pitch - I just don't buy it. From my experience, you don't generally need that level of flexibility. Most callers probably want the full set of data return…

  18. comment
    Comment #18189024

    Demonstration of how to create a GraphQL-like API using REST.

  19. story
  20. story
  21. story
  22. story
  23. story
  24. story
  25. story