Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leg100
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
leg100
4mo ago
Kenny Dalglish, Liverpool FC, 1985-1990.
2.
▲
by
leg100
5mo ago
I'm not sure if that's the case. Of course one has always been able to copy or plagiarise open source code. The value of open source projects is that they continue to be maintained by people that understand the code base. LLM'
3.
▲
by
leg100
9mo ago
At a glance, I'm not seeing a big difference in share of wealth between now and 1989. I'm not sure, then, what Robert Reich's point is, to say that the richest 10% "now" hold 60% of the nation's wealth, nor how
4.
▲
by
leg100
9mo ago
> In 1920, there were 25 million horses in the United States, 25 million horses totally ambivalent to two hundred years of progress in mechanical engines. I really doubt horses would be ambivalent about this, let alone about anything.
5.
▲
by
leg100
10mo ago
The article gives the impression "Italy" was always a nation in the making for all of history, just waiting to "unify". It talks of a "national rebirth". But it's an invention. It never previously existed.
6.
▲
by
leg100
11mo ago
> Calling datastar's pro features "necessary" is a bit disingenuous I didn't. I said: > * Datastar has a paid-for Pro edition, which is necesssary if you want certain behaviours. HTMX is completely free. I don'
7.
▲
by
leg100
11mo ago
I'd expect it to make it explicit this is a freemium product, with free features and paid features. Nothing is given on the home page to indicate as such.
8.
▲
by
leg100
11mo ago
I think Datastar has the better approach here with making OOB the default. I suspect HTMX's non-OOB default makes more sense for very simple requirements where you simply replace the part of the DOM from which the action was triggered.
9.
▲
by
leg100
11mo ago
Did you use templ [1] for server side templating? It supports something called fragments, which may help with HTMX [2]. [1]: https://templ.guide/ [2]: https://templ.guide/syntax-and-usage/fragments
10.
▲
by
leg100
11mo ago
I don't think the article does a good job of summarising the differences, so I'll have a go: * Datastar sends all responses using SSE (Server Side Events). Usually SSE is employed to allow the server to push events to the client,
11.
▲
by
leg100
11mo ago
It's also pretty shady that no mention is made of Datastar Pro on the home page [1]. You might well be well on the way to integrating Datastar into your website before you stumble across the Pro edition, which is only mentioned on the
12.
▲
by
leg100
11mo ago
> ...To accomplish this, most HTMX developers achieve updates either by “pulling” information from the server by polling every few seconds or by writing custom WebSocket code, which increases complexity. This isn't true. HTMX has na
13.
▲
by
leg100
1y ago
> These payment processors seem to be basically levying a 1-3% tax on a nations entire GDP You're exaggerating for effect. GDP is the total value of all goods and services sold or bought; only a fraction of which is paid for with a
14.
▲
by
leg100
2y ago
None of that is contrary to "moving money at speed to make wealthy people more wealthy".
15.
▲
by
leg100
2y ago
I like the version diffs. Perhaps add an "expand all" button to avoid clicking individually on properties to see their descriptions? I usually rely on the official generated docs (all on one giant page): https://kuberne
16.
▲
by
leg100
2y ago
Because it's questionable whether that's even possible.
17.
▲
by
leg100
2y ago
Newport is in South Wales.
18.
▲
by
leg100
2y ago
What? They did hold off. Their actions matched their words.
19.
▲
by
leg100
2y ago
Indeed a typo, well spotted, it should return the model as well.
20.
▲
by
leg100
2y ago
Thank you. Out of curiosity, what do your "TUI managers" do for your apps?
21.
▲
by
leg100
2y ago
Good point. I'll update this section to more clearly refer to the use of go routines in particular outside of the event loop.
22.
▲
by
leg100
2y ago
I've put together some tips for building Bubble Tea programs: https://leg100.github.io/en/posts/building-bubbletea-program...
23.
▲
Bubble Tea v1.0.0 released
(github.com)
1 points
by
leg100
2y ago
|
1 comments
24.
▲
Show HN: Pug – a terminal user interface for Terraform
(github.com)
3 points
by
leg100
2y ago
|
0 comments
25.
▲
by
leg100
2y ago
No, it's definitely passed by value: https://go.dev/play/p/mIehOwUWz95 A map is implicitly a pointer to the underlying map structure. When you pass a map, you're passing a copy of a pointer.
26.
▲
Show HN: Pug, a TUI for Terraform
(github.com)
5 points
by
leg100
2y ago
|
0 comments
27.
▲
by
leg100
2y ago
I've built a TUI for terraform: https://github.com/leg100/pug It's built using Go and the bubbletea library. It's been a breath of fresh air compared to building a web app, simpler and faster to develop
28.
▲
by
leg100
2y ago
The degree to which the housing crisis is a global phenomenon is generally understated. Instead articles focus on individual countries and lay the blame on their particular circumstances and policies, not the bigger picture.
29.
▲
by
leg100
2y ago
It was a different era. I'm sure the town's people were discreet. Nonetheless word would have percolated. Hundreds of men would have come from out of town to build the thing and then returned. Did they keep stum? If they didn'
30.
▲
by
leg100
3y ago
It wasn't "artifically" cheap nor was the market "distorted". It was merely the physical reality prior to the innovation of LNG. It would only be fair to say it was artifically cheap, say, if the Australian governme
More ›