Viewing profile — gk_brown
gk_brown
HN member- Joined
- Fri, Oct 02, 2015, 6:21 PM UTC
- HN karma
- 123
- Public activity
- 57 items
- HN profile
- View on Hacker News ↗
About gk_brown
No profile information was provided.
Recent public activity
- story
-
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…
-
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 …
-
comment
Comment #34237145
I generally prefer links since otherwise the code and examples can easily get out of sync.
-
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
-
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…
-
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
-
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.
-
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.
-
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
-
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…
-
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.
-
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'…
-
comment
Comment #18403242
Actually, Lima is partly a move away from using XML: https://gkbrown.org/2018/11/04/introducing-lima/
-
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…
- story
-
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…
-
comment
Comment #18189024
Demonstration of how to create a GraphQL-like API using REST.
- story
- story
- story
- story
- story
- story
- story