Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gk_brown
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: Kilo – Lightweight REST for Java
(github.com)
3 points
by
gk_brown
2y ago
|
0 comments
2.
▲
by
gk_brown
4y ago
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 with custom layout managers for version 1.2.
3.
▲
by
gk_brown
4y ago
I generally prefer links since otherwise the code and examples can easily get out of sync.
4.
▲
by
gk_brown
4y ago
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
5.
▲
by
gk_brown
4y ago
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 looking
6.
▲
by
gk_brown
4y ago
Sierra is actually inspired by Lima, a UIKit DSL I created in Swift before SwiftUI was announced: https://github.com/HTTP-RPC/Lima
7.
▲
by
gk_brown
4y ago
Thanks for the feedback. I did consider using Kotlin but wanted to make sure it worked at least minimally in Java first.
8.
▲
by
gk_brown
4y ago
Take a look at FlatLAF: https://github.com/JFormDesigner/FlatLaf They have done a great job bringing a modern appearance to the Swing components.
9.
▲
by
gk_brown
4y ago
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
10.
▲
by
gk_brown
4y ago
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/HTTP-RPC/Sierra/blob/master
11.
▲
Show HN: Sierra, a DSL for building Java Swing applications
(github.com)
100 points
by
gk_brown
4y ago
|
33 comments
12.
▲
by
gk_brown
8y ago
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't support z-ordering.
13.
▲
by
gk_brown
8y ago
Actually, Lima is partly a move away from using XML: https://gkbrown.org/2018/11/04/introducing-lima/
14.
▲
by
gk_brown
8y ago
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 resistance priorities, which (to me) isn't as natural as
15.
▲
Show HN: Lima, a Swift-based DSL for responsive iOS development
(github.com)
37 points
by
gk_brown
8y ago
|
20 comments
16.
▲
by
gk_brown
8y ago
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 returned by your API. Those that don't can easily i
17.
▲
by
gk_brown
8y ago
Demonstration of how to create a GraphQL-like API using REST.
18.
▲
Show HN: You Don’t Need GraphQL
(gkbrown.org)
1 points
by
gk_brown
8y ago
|
3 comments
19.
▲
Show HN: Kilo – a lightweight REST client library for iOS and tvOS
(github.com)
1 points
by
gk_brown
8y ago
|
0 comments
20.
▲
Show HN: Simplify auto layout in iOS with MarkupKit
(gkbrown.org)
1 points
by
gk_brown
8y ago
|
0 comments
21.
▲
Show HN: MarkupKit 4.2 adds binding expression formatters
(gkbrown.org)
1 points
by
gk_brown
8y ago
|
0 comments
22.
▲
Show HN: Live preview of markup documents in MarkupKit 4.1
(gkbrown.org)
1 points
by
gk_brown
8y ago
|
0 comments
23.
▲
Show HN: A Lightweight Alternative to JAX-RS
(gkbrown.org)
1 points
by
gk_brown
10y ago
|
0 comments
24.
▲
Show HN: MVVM in iOS
(gkbrown.org)
2 points
by
gk_brown
10y ago
|
0 comments
25.
▲
Show HN: Simplifying Auto Layout in iOS
(gkbrown.org)
3 points
by
gk_brown
10y ago
|
0 comments
26.
▲
Show HN: JTemplate – Template-Driven REST Services for Java
(gkbrown.org)
1 points
by
gk_brown
10y ago
|
0 comments
27.
▲
Show HN: HTTP-RPC – A Lightweight Multi-Platform REST Client Framework
(gkbrown.org)
2 points
by
gk_brown
10y ago
|
0 comments
28.
▲
Show HN: MarkupKit – Declarative UI for iOS
(gkbrown.org)
6 points
by
gk_brown
10y ago
|
0 comments
29.
▲
Show HN: Lightweight cross-platform web services
(github.com)
1 points
by
gk_brown
10y ago
|
0 comments
30.
▲
by
gk_brown
10y ago
Hi all. I'm the author of this project on GitHub. It seems like it might be a good foundation for building microservices in Java. However, I'm not a microservices expert, so I was wondering what others with more experience in this
More ›