Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bnert
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
bnert
3y ago
Arity explanation: https://en.wikipedia.org/wiki/Arity From the blurb you quoted, it sounds like Lua doesn't check function argument arity natively, and fennel can. This means that fennel applies a runtime check t
2.
▲
by
bnert
3y ago
Your point about underlying data structures is spot on, in my view. > Last quip to reflect on. "What's true of every bug found in the field? ... It passed the type checker. ... It passed all the tests. Okay. So now what do you
3.
▲
by
bnert
3y ago
> Are you familiar with the idea of "making illegal states unrepresentable", and "parse, don't validate"? I haven't heard of those concepts/ideas before. Thanks for linking the article to define those c
4.
▲
by
bnert
3y ago
> I wouldn't say it's "extreme", it's very normal and natural. You just stick everything in the types and it works. Ah, then I seem to be missing the point/intention. Thanks for illuminating that it should f
5.
▲
by
bnert
3y ago
> Types validate whatever you use them to validate, which can certainly include what we usually call "logic". I'd love an example of this! I concede that I could be wrong on the point's of ML/Haskell families, ho
6.
▲
by
bnert
3y ago
In OO languages (Java, C#, C++, etc...), and functional ones (F#, Haskell, OCaml, etc...) types do not validate the correctness of logic, they evaluate the correctness of data structures and their access/mutation as they are manifested
7.
▲
by
bnert
3y ago
polylith ftw. Been learning some of the idioms of a polylith architecture using the `poly` tool + clojure. Really enjoying the idioms/practices it encourages.
8.
▲
Show HN: GraphQL Client Library for Clojure
(github.com)
2 points
by
bnert
4y ago
|
0 comments
9.
▲
by
bnert
4y ago
This is cool! Small and no magic.
10.
▲
by
bnert
4y ago
https://archive.is/MIB1W
11.
▲
by
bnert
4y ago
https://media.giphy.com/media/qgri3D9sTwCUGMcT8L/giphy.gif
12.
▲
by
bnert
4y ago
cough azure...
13.
▲
by
bnert
4y ago
To the OP (if you read this), I appreciate your candor, and you're not alone. Heal well. Heal with your family and loved ones. Lean into them. I sincerely hope you move onto greener pastures.
14.
▲
by
bnert
4y ago
its basically doing a react-ish way of UI changes without a full page reload (which thymeleaf would have done). Interesting, I missed that in my scan of the thymeleaf docs. I haven't used that library at all (and tend to shy away fr
15.
▲
by
bnert
4y ago
No worries, good questions! Taking clojure out of the equation and only looking at htmx, I would say it buys you is simplicity, and for most use cases that is the difference between a shipped thing and a dead one (thing in this case is proj
16.
▲
by
bnert
4y ago
Thanks for calling out some gaps in my explanation! Appreciate your perspective :)
17.
▲
by
bnert
4y ago
After a quick glance, it seems like htmx would complement thymeleaf, if the web page/app you're writing doesn't need any sort of eager client (eager as in, treat and interaction with a remote service as "successful"
18.
▲
by
bnert
4y ago
I will say, the :advanced flag for the closure compiler has caused us some real headaches in production, enough to where we needed to migrate to only the :simple flag. The reason being, is we needed to do some code gen of Svg components in
19.
▲
by
bnert
4y ago
Yes!
20.
▲
by
bnert
4y ago
I'd say it's more complementary, from my experience. Alpine serves the purpose of local state and rendering logic for user interaction in a manner similar to a SPA, whereas htmx services integrating w/ your backend service an
21.
▲
by
bnert
4y ago
Doing something similar with janet. Really does simplify so much, and being able to not have to worry about always translating json -> html via { insert SPA framework here } is a breath of fresh air.
22.
▲
by
bnert
4y ago
> There’s nothing close to chasing a toddler in a circle for an hour. amen
23.
▲
Times Like These
(chroniclesoftime.substack.com)
2 points
by
bnert
4y ago
|
0 comments
24.
▲
by
bnert
4y ago
legend
25.
▲
by
bnert
4y ago
Just bought one, and it is a great piece of kit. It is limited in a very intentional and intuitive way. Only downside is the screen can be inaccurate at time, but that is a small thing which doesn't detract from its usefulness.
26.
▲
by
bnert
4y ago
+1
27.
▲
by
bnert
4y ago
Bartosz, you're a legend! Thank you for these amazing articles!!
28.
▲
by
bnert
4y ago
I thought I was the only one...
29.
▲
by
bnert
4y ago
To answer point 1: Maybe to start out, but in the long run, having only social logins may cause your app to lose a segment of the market (I don't know how much). If you're fine with that, then by all means only support social logi
30.
▲
by
bnert
4y ago
This is really well designed! The only bit of feedback which can potentially give a better first time player is a small tutorial on what/how to click. Great work, and thanks for sharing :)
More ›