Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leeoniya
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
871.
▲
by
leeoniya
6y ago
profiteering opportunity sure has a way of doing that
872.
▲
by
leeoniya
6y ago
the same 2017 Jamie Dimon that called bitcoin a fraud?
873.
▲
by
leeoniya
6y ago
Discord?
874.
▲
by
leeoniya
6y ago
batter/faster: http://npm.broofa.com/?q=react-native
875.
▲
by
leeoniya
6y ago
right. perhaps it's possible with Preact|Inferno + SSR, i dunno. but this [1] seems to use babel/webpack and a bunch of other stuff. it's not clear to me from that post how minimal the end result can actually be. the thing is
876.
▲
by
leeoniya
6y ago
> I'm really interested in your comment about how Gastsby, Next et. al. are doing SSR wrong. For context, I'm an SSR newbie, currently trying to migrate a site I started away from Gatsby (realized it's not the right tool f
877.
▲
by
leeoniya
6y ago
domvm is pretty fast: https://krausest.github.io/js-framework-benchmark/current.ht... but re-hydration is much faster than actually building the dom from scratch in js. instead of 20ms, it might be 60ms + some extra fo
878.
▲
by
leeoniya
6y ago
alright then. sounds like you're able to make an informed decision for yourself. when i was doing jquery dev i never needed so much event delegation that avoiding an occasional 1-liner for event filtering* justified using a lib that&#x
879.
▲
by
leeoniya
6y ago
allow me to acquaint you with Element.matches(): https://developer.mozilla.org/en-US/docs/Web/API/Element/mat... https://jsfiddle.net/dg3rL81z/
880.
▲
by
leeoniya
6y ago
yep, thanks! that "Chat Now" needs to be position: fixed, and styled, too. WIP!
881.
▲
by
leeoniya
6y ago
nothing there is static or cached. each request pulls products from the db and everything is regenerated in real-time. it looks static, but it is not. if you add to the cart and reload the page, it pulls the live cart from the db.
882.
▲
by
leeoniya
6y ago
> Out of curiosity, what do you think of Alpine.js and Stimulus.js no experience with those, but if you're feeling masochistic, try these: https://github.com/finom/balalaika https://github.com/f
883.
▲
by
leeoniya
6y ago
> the other about a MPA with some hydration here and there except it's not "here-and-there". everything down from `<html>` is re-SSR'd and fully re-hydrated on each page load. here-and-there is what jquery does.
884.
▲
by
leeoniya
6y ago
> Just because a Ferrari is faster than a Corvette to quote Rick & Morty: "Must be nice!"
885.
▲
by
leeoniya
6y ago
what i'm showing is objectively better in both perceived load and actual/real load. so i'm not sure what your argument is.
886.
▲
by
leeoniya
6y ago
there is more to "load" than "perceived load".
887.
▲
by
leeoniya
6y ago
if you still want jquery in 2020 (and that's ok because raw DOM apis still need sugar), for the love of god please use https://umbrellajs.com/ instead. it's like 1/10th the size, api-compatible and well-archi
888.
▲
by
leeoniya
6y ago
it does not take much complexity to start feeling the pain of jquery-style imperative DOM sync & manip. you don't need to go too far past "simple blog" for this to become obvious. FWIW, the linked site is built with a 300
889.
▲
by
leeoniya
6y ago
no worries :p
890.
▲
by
leeoniya
6y ago
hey, long time no see ;)
891.
▲
by
leeoniya
6y ago
on page load it does 772 ms of js execution and powers through 2.1 MB of js (min). of course, everything will feel snappy if you just defer it, but your battery does not feel the same way :D
892.
▲
by
leeoniya
6y ago
dammit, it's still pre launch, plz don't hug it to death too much! oh well, here we go! the link above disables Google Analytics on that page, which would otherwise add an extra 50ms of js time (and would account for the majority
893.
▲
by
leeoniya
6y ago
you guys might be interested in a current Reddit thread (also on HN: https://news.ycombinator.com/item?id=23136688 ): https://old.reddit.com/r/javascript/comments/ghfyd2/secondgu... speci
894.
▲
by
leeoniya
6y ago
you may find this interesting: "Why are 2D vector graphics so much harder than 3D?" https://blog.mecheye.net/2019/05/why-is-2d-graphics-is-harde...
895.
▲
by
leeoniya
6y ago
https://projects.haykranen.nl/java/
896.
▲
by
leeoniya
6y ago
> What evidence do you have for this? they stated that their experience with CEF (Chromium Embedded Framework) was instrumental in their decision. VSCode (built on electron) was probably the main PoC for them.
897.
▲
by
leeoniya
6y ago
Reminds me of the Chappelle Show skit about Kinko's: https://www.youtube.com/watch?v=zR7LOtMix9w&t=155 "A lot of people ask, 'Why? Why treat [other browsers] this way?'" "Why? 'cause f
898.
▲
by
leeoniya
6y ago
there's an artificial 500ms delay in there between fake data gen and chart drawing so it's easier for me to isolate the two in the perf timeline :) > Would love to see how Safari handles your benchmark! i don't have access
899.
▲
by
leeoniya
6y ago
> The underlying problem is Windows suggesting Windows 98 styled buttons. Microsoft should fix Windows. i think that's the canned WONTFIX response for every bugzilla issue ever closed about it in the past, what, 7 years?
900.
▲
by
leeoniya
6y ago
i just want to say, Firefox is seriously fast now, while Chrome continues to get slower [1]. my 10M datapoint uPlot benchmark runs in half the time, for both pure js (fake data gen) and canvas workloads (chart rendering). check out the cons
More ›