Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
toxmeister
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
toxmeister
8y ago
The commit table has a 100ms throttle on key press, but I think might have a bug, need to inquire more... :) There's also a stress test here which updates several hundred nodes each frame: https://github.com/thi-ng/
32.
▲
by
toxmeister
8y ago
Oh hello & wow... now if only I knew who you are... :) Those tweets really weren't meant to discourage people from using CLJ(S) at all!! I was merely trying to explain why, personally, I think TS is better suited for my own use c
33.
▲
by
toxmeister
8y ago
I don't want to sound snarky (and please don't see it as such), but did you read the readme? I'm not familiar with Mercury, but looking at the code examples, some obvious differences are: - hdom does NOT care about state, whe
34.
▲
by
toxmeister
8y ago
Will respond more about that later, but just wanted to point you to Phil Wadler's 1999 paper about both XML and the S-expression approach (HTML/XML are essentially S-expressions too): http://homepages.inf.ed.ac.uk/
35.
▲
by
toxmeister
8y ago
That's because that demo is using SVG for graphics and hence updating 300+ DOM elements every frame will of course start stuttering... Once I've updated that example to use the hdom-canvas support lib ( https://github.co
36.
▲
by
toxmeister
8y ago
Merci beaucoup & please see my other comment about this...
37.
▲
by
toxmeister
8y ago
For me generally too, but I was afraid of the typical counter example: Perl oneliners, size coding in general... I think there's fine line between aiming to be lightweight and aiming for smallest whatever by sacrificing all other asp
38.
▲
by
toxmeister
8y ago
hehe... just not an accomplished documenter of his works. those "websites" are all ancient. don't bother visiting!
39.
▲
by
toxmeister
8y ago
Thanks! The estuary package started in Java[1] back in 2011, but after years of learning from mistakes, several attempts in Clojure & endless refactoring has now morphed in this TS package[2], which I'm slowly getting more happy
40.
▲
by
toxmeister
8y ago
I completely appreciate that there're many people who much prefer the separation between code and markup, however, if you ever worked w/ Lisp you'll also learn to appreciate that code is just data and that the earlier separat
41.
▲
by
toxmeister
8y ago
Ps. Thanks for the kind words!!! :)
42.
▲
by
toxmeister
8y ago
I commented on this recently on twitter & reddit: https://twitter.com/toxi/status/1041143431786115072 https://twitter.com/toxi/status/1041144813092044800 https://www.reddi
43.
▲
by
toxmeister
8y ago
"Afterthought" is too a strong a term, but the largest aspect of that latest version of the library was to generalize the approach to aim at other non-DOM targets. I left another comment about this somewhere else in this thread. B
44.
▲
by
toxmeister
8y ago
I actually did mention Reagent in the readme in this section (below the diagram): https://github.com/thi-ng/umbrella/tree/master/packages/hdom... Quote: "The syntax is inspired by Clojure'
45.
▲
by
toxmeister
8y ago
Thanks & I used to do 12+ years of Java and other OOP languages myself before I started using Clojure in 2011 and ever since got hooked on the more functional approach without trying to become a fundamentalist FP. These days I'm ma
46.
▲
by
toxmeister
8y ago
Agreed. I also don't see it as key feature, but listed it more in nod to point out that hiccup format is less verbose. smaller file size also means less to read for humans (although, in general that itself doesn't mean better legi
47.
▲
by
toxmeister
8y ago
I dunno, there's a 1000+ LOC readme there. Also updated the above link to point to it directly. It's a shame that GH is automatically displaying the readme on desktops, but not in mobile version...
48.
▲
Show HN: Thi.ng/hdom – S-expression based, pure ES6 UI/VDOM components
180 points
by
toxmeister
8y ago
|
64 comments
49.
▲
How to UI in 2018
(medium.com)
4 points
by
toxmeister
9y ago
|
1 comments
50.
▲
ANN:thi.ng/hiccup-dom – lightweight reactive DOM components using vanilla JS
(github.com)
1 points
by
toxmeister
9y ago
|
0 comments
51.
▲
HTML/SVG/XML component serialization of plain, nested data, iterables and closures
(github.com)
2 points
by
toxmeister
9y ago
|
0 comments
52.
▲
by
toxmeister
10y ago
Author here: Agreed & most parts of this particular project aren't really the best example. With other (newer) projects I embraced the LP style much more, and in fact by now really often first write the prose parts to get my head c
53.
▲
Workshop Report: Hi-Perf ClojureScript with WebGL, Asm.js and Emscripten
(medium.com)
4 points
by
toxmeister
10y ago
|
0 comments
54.
▲
STM32F746-DISCO and Korg Nanokontrol MIDI Step Sequencer
(youtube.com)
3 points
by
toxmeister
11y ago
|
0 comments
55.
▲
by
toxmeister
11y ago
Hi, author here... you can find more information about the context of this project here: https://medium.com/@thi.ng/evolutionary-failures-part-1-5452...
56.
▲
by
toxmeister
12y ago
http://devartcodefactory.com is 100% Clojure + Clojurescript (+ open source) and one of the few examples deployed on Google AppEngine