Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jackielii
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
gsxui (Shadcn for Go) now has a second style maia
(ui.gsxhq.dev)
2 points
by
jackielii
2mo ago
|
1 comments
2.
▲
by
jackielii
2mo ago
Yes, we can have jsx style html authoring in Go. From 1 style to 2 is not a simple addition. In stead of directly writing inline styles, we adopted the data-slot approach from shadcn to compile components of different styles. Also upgrade c
3.
▲
by
jackielii
2mo ago
I'm not sure I follow. Node is not on the production path
4.
▲
by
jackielii
2mo ago
Absolutely. I already ported my production app - enterprise customer to it. I use it with https://github.com/jackielii/structpages/
5.
▲
by
jackielii
2mo ago
Yep, exactly, you can also do code splitting by adding multiple entry points. https://github.com/gsxhq/vite does the heavy lifting
6.
▲
by
jackielii
2mo ago
It doesn't depend on node for runtime. Only for dev: the vite dev server, and js bundling, nothing else. Also I've been a long time templ & html/template user, also used templui. gsx is born out of my ergonomics desire fr
7.
▲
by
jackielii
2mo ago
because Vite is great. It only uses it in dev. In prod, no node involved. Try the gsx init. You'll know why. The dev experience you'll want. EDIT: highlights are: - live reload: it only reloads after new binary is built. also has
8.
▲
Gsxui – Shadcn-style components for Go
(ui.gsxhq.dev)
73 points
by
jackielii
2mo ago
|
19 comments
9.
▲
by
jackielii
2mo ago
Exactly the same thing happen to me: https://www.reddit.com/r/htmx/s/DuXyGgsCWK I'm in an advisor position, and I tried very hard to mentor the team, explaining that learning this technology deepens your
10.
▲
Why I built gsx instead of just templ
(jackieli.dev)
3 points
by
jackielii
3mo ago
|
0 comments
11.
▲
by
jackielii
3mo ago
This is why I created gsx actually. I made a post: https://jackieli.dev/posts/why-i-built-gsx/
12.
▲
by
jackielii
3mo ago
Templ tries to stay simple, but it sacrificies ergonomics for simplicity and verbosity. Over the years, there are many proposals: inline elements, HTML tags, error hoisting. It's hard to retrofit into it. Beside the above, I also tried
13.
▲
by
jackielii
3mo ago
I'm the author, AMA
14.
▲
Gsx: JSX-Like Template for Go
(gsxhq.github.io)
3 points
by
jackielii
3mo ago
|
4 comments
15.
▲
by
jackielii
8mo ago
Well said!
16.
▲
by
jackielii
2y ago
It's not automatic though. You explicitly change your go.mod file and then it downloads the toolchains.
17.
▲
Show HN: Golang range iteration variable surprise
(old.reddit.com)
1 points
by
jackielii
4y ago
|
0 comments
18.
▲
by
jackielii
4y ago
I've done a few interviews like this recently. I always thought I was a OK programmer, judging from the feedbacks I get from colleagues. But after these interviews, I felt terrible. Doing my daily Leetcode as we speak...
19.
▲
by
jackielii
4y ago
I have an alternative solution to work with an existing struct that you can't change, e.g. protobuf generated code: https://jackieli.dev/posts/pointers-in-go-used-in-sql-scanne... type nullString struct {
20.
▲
gRPC and gRPC-web via a single Istio gateway port
(jackieli.dev)
7 points
by
jackielii
4y ago
|
2 comments
21.
▲
by
jackielii
5y ago
Nothing is perfect. I focus on solving problems
22.
▲
by
jackielii
6y ago
https://music-grid.surge.sh/#320-576-512-514-514-512-1024-20...
23.
▲
by
jackielii
7y ago
I believe this is discussed and decided quite early on: https://docs.google.com/document/d/19kfhro7-CnBdFqFk7l4_Hmwa... >According to the Import Compatiability Rule for versioned Go, this implies that the new p
24.
▲
SQL Optimizer and Rewriter
(github.com)
3 points
by
jackielii
8y ago
|
0 comments
25.
▲
by
jackielii
9y ago
Thinkpad in 3:2 for me
26.
▲
by
jackielii
9y ago
Exactly! if only have have 3:2 screens!!! or better yet, a 4:3 screen! Currently I'm buying a old X61s and going to convert it to X62: https://www.notebookcheck.net/Lenovo-X62-Laptop-Review.21159...
27.
▲
by
jackielii
9y ago
Same here. I can live without touch or stylus, just want a performance laptop with good screen (3:2 ratio) and keyboard.
28.
▲
by
jackielii
9y ago
I just run away
29.
▲
A Go Experience Report
(blog.chewxy.com)
1 points
by
jackielii
9y ago
|
0 comments
30.
▲
by
jackielii
9y ago
OMG I want this!!!
More ›