Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rkwz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
NumPy 2.0.0
(numpy.org)
4 points
by
rkwz
2y ago
|
0 comments
92.
▲
by
rkwz
2y ago
> Maud allows much tighter/automatic integration in this regard Interesting, can you share some examples?
93.
▲
by
rkwz
2y ago
Yes, html is one of the unique languages of our era. It's very forgiving and lenient. > This also explains why there are so few alternative browsers. Writing a new browser that supports everything that happens to work in the major b
94.
▲
by
rkwz
2y ago
> As far as I know that's technically invalid HTML. You can't have an <a> as a child of a <button> (or even the other way around.) I'm also ignoring the invalid type="submit" against the <a> tag
95.
▲
by
rkwz
2y ago
I apologize for the confusion. I meant React for component composition in codebase rather than for building SPAs. https://news.ycombinator.com/item?id=40491188
96.
▲
by
rkwz
2y ago
Thanks! Go makes it really easy to go minimal dependencies. I was able to build a website analytics project with just 2 dependencies (sqlite driver and bcrypt package) - https://github.com/sheshbabu/mouji?tab=readme-ov-
97.
▲
by
rkwz
2y ago
> There eventually has to be JavaScript somewhere, and once you have to use that for any dynamic frontend, might as well use a proper JS/TS framework. Yes, totally understand it's hard to escape JS in Web frontend. Even writing
98.
▲
by
rkwz
2y ago
Yes, it's more about organizing your UI code/templates similar to a React codebase than running Go code in browser. I think apart from vDOM, a big contribution from React is how we organize code.
99.
▲
by
rkwz
2y ago
I love React too, but it pulls in a lot of dependencies and the dependencies need periodic maintenance. Sometimes you get the feeling that you're spending a significant chunk of your time not writing code but fighting with configs and
100.
▲
by
rkwz
2y ago
Ah yes, maybe my mistake!
101.
▲
by
rkwz
2y ago
> I noticed that the syntax highlighting for the Go html/template examples in the article is incomplete. Sorry, it might be something wrong with my blog setup. I use hexo, might need to play around with the config. I use this VSCode
102.
▲
by
rkwz
2y ago
Here's the link: https://www.sheshbabu.com/posts/react-like-composition-using... Didn't realize HN doesn't convert link text to clickable links
103.
▲
Show HN: Use Go's HTML/template to write React-like code
106 points
by
rkwz
2y ago
|
95 comments
104.
▲
by
rkwz
2y ago
Thanks! I wanted to use standard Go html/template to see just how bad the re-renders are, and then decide to use htmx. After building the project, I don’t mind the re-renders much as the latency is around 50ms and I don’t see any jank.
105.
▲
by
rkwz
2y ago
I had the same problem - really liked the way I used to do component composition in React, it was hard to go back. Eventually found a way to do something similar using just the standard Go html/template. I’ve written about the implemen
106.
▲
Implementing React-like Composition using Go's HTML/template
(sheshbabu.com)
2 points
by
rkwz
2y ago
|
0 comments
107.
▲
Ask HN: How significant is the jump from Apple M3 to M4?
2 points
by
rkwz
2y ago
|
1 comments
108.
▲
by
rkwz
2y ago
Congrats on shipping! I'm curious how the search results rankings work, doesn't look like it's based on date or number of citations, but seems to be deterministic (persists over multiple searches). I did a keyword search usin
109.
▲
by
rkwz
2y ago
Wow, can you share more about the Playwright+VNC combo?
110.
▲
by
rkwz
2y ago
I use JMeter via Taurus, it displays visualization in the terminal. My notes on how to use it - https://www.sheshbabu.com/posts/taurus-writing-jmeter-load-t...
111.
▲
Atkinson Hyperlegible – Font for partially visually impaired
(en.wikipedia.org)
2 points
by
rkwz
2y ago
|
0 comments
112.
▲
A Pragmatic Photo Archiving Solution
(docs.google.com)
3 points
by
rkwz
2y ago
|
0 comments
113.
▲
by
rkwz
3y ago
> There's a big catch because often someone skilled enough to answer these questions would be better served actually doing things, e.g. writing code, and the people who can fill out these questions but not skilled enough to do the a
114.
▲
by
rkwz
3y ago
I interpret it as - A developer who can work with pre-packaged ML/LLM models that are offered by cloud companies
115.
▲
Ask HN: What do you do with Local LLMs?
17 points
by
rkwz
3y ago
|
19 comments
116.
▲
by
rkwz
3y ago
> relatively high barrier of entry compared to other software tech Sorry, what do you mean by this?
117.
▲
by
rkwz
3y ago
Thanks for your work! First time hearing about hyperscript, was curious why a new DSL instead of just using JS: https://hyperscript.org/docs/#history
118.
▲
Ask HN: Recommended lightweight apps like Paint.NET, Notepad++, SumatraPDF etc
14 points
by
rkwz
3y ago
|
8 comments
119.
▲
Corporate Ozempic
(medium.com)
2 points
by
rkwz
3y ago
|
0 comments
120.
▲
by
rkwz
3y ago
Sounds interesting, can you share a link to video if available?
More ›