Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ttfkam
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
481.
▲
by
ttfkam
3y ago
State on the server side is often a very different animal from client side. Whereas on the client, everything is either JS and/or a browser API, the server side allows for relational databases, Redis caches, and all sorts of other stra
482.
▲
by
ttfkam
3y ago
I do not think that is a charitable view of the article or most people's comments. We all knew what was gained. We just bemoan what was lost, much of which has been found to be largely unknown to more recent entrants into the field. Fo
483.
▲
by
ttfkam
3y ago
Wow, I guess I really needed the sarcasm tag there. It appears some folks didn't get that this wasn't aspirational.
484.
▲
by
ttfkam
3y ago
Not any more than REST is. Server-side rendering doesn't have to be messy. In fact for most modern frameworks, it's become table stakes.
485.
▲
by
ttfkam
3y ago
Where that markup language is HTML, yes, I agree. It's a feature, not a bug. That said, I personally prefer the Svelte model. I like leveraging the client browser for effect, not just rendering everything server-side.
486.
▲
by
ttfkam
3y ago
+ multi-availability zone redundancy and resiliency, multi-region deployment options, and edge computing at CDN endpoints. Other than that, for web functionality, they're identical! ;-) Then of course there's the ability to supple
487.
▲
by
ttfkam
3y ago
You seem to be taking the position that Svelte does not allow for components for cases like custom dropdowns where HTML falls short on its own. This is not at all the case. I highly recommend actually looking at Svelte examples before comme
488.
▲
by
ttfkam
3y ago
It is in Svelte. Take a look. You write normal CSS as you always have, and Svelte takes care of scoping it to just your component by default. React really made people think they couldn't expect any better.
489.
▲
by
ttfkam
3y ago
Htmx defers almost all logic to server side. That's the tradeoff, and it's a major shift from what we've become accustomed to in the last decade (unless you've been writing PHP or something similar). You provide listenin
490.
▲
by
ttfkam
3y ago
Every web app no matter the framework boils down to HTML and CSS at its core. The furthest you can get from those is ratcheting up the number of <div> and <span> elements, then of course making the mad dash to reintroduce the lo
491.
▲
by
ttfkam
3y ago
That's where this part kicks in: "It takes all the lessons from the last decade and a half and distills them into familiar web development patterns." That includes reactivity and state management—two concepts that we
492.
▲
by
ttfkam
3y ago
I've been doing web development since 1996. I've witnessed the ebbs and flows and hype trains. Svelte's the real deal. How do I know? Because it's not a new API or paradigm. It's the old web just better. It encourag
493.
▲
by
ttfkam
3y ago
tl;dr: I love web development again. You obviously haven't tried Svelte yet. I would have agreed with you a few years ago though. The churn as I've seen it has been a direct result of React's ecosystem, not in spite of it. He
494.
▲
by
ttfkam
3y ago
What's wrong with this? float: left; Oh wait… that was 2002 at least. "Tables ought to be enough for everyone." There we go! Nailed 1998!
495.
▲
by
ttfkam
3y ago
Postgraphile https://postgraphile.org/ Hasura https://hasura.io/ Examples of "batteries included" GraphQL. Combine with a type generator for the language of your choice (eg. https://the
496.
▲
by
ttfkam
3y ago
Postgraphile https://postgraphile.org/ Hasura https://hasura.io/ Stop writing GraphQL resolvers by hand, especially if you're working off of a relational database model.
497.
▲
by
ttfkam
3y ago
Yep, I was wrong about the source DB in retrospect, but that other guy just seems to want to argue with straw men. Takes all kinds, I guess.
498.
▲
by
ttfkam
3y ago
https://news.ycombinator.com/item?id=37085062 The majority of the time, it was identified as "aurora" in CloudFormation templates. 5.6 hit EOL in February of THIS YEAR, aka 2023. https://aws.amazon.com&
499.
▲
by
ttfkam
3y ago
You're right. I should use the GA announcement for Aurora MySQL as well. …which was November 2015. https://aws.amazon.com/blogs/aws/now-available-amazon-aurora...
500.
▲
by
ttfkam
3y ago
I'm curious to see how well it'll stack up against Hulu's "Dopesick" (which was excellent, by the way).
501.
▲
by
ttfkam
3y ago
Aurora MySQL was released October 2014. https://aws.amazon.com/blogs/aws/highly-scalable-mysql-compa... Aurora Postgres hit general availability October 2017. (Sorry, betas and early release offerings don't c
502.
▲
by
ttfkam
3y ago
To whomever downvoted, when specifying the AWS::RDS::DBCluster "Engine" property in CloudFormation, aurora = mysql5.6 and below, aurora-mysql = mysql5.7 or mysql8.x, aurora-postgresql = postgres. Since 5.6 was deprecated, the &quo
503.
▲
by
ttfkam
3y ago
Postgraphile https://postgraphile.org/ Hasura https://hasura.io/ Stop writing GraphQL resolvers by hand, especially if you're working off of a relational database model.
504.
▲
by
ttfkam
3y ago
Probably means Aurora MySQL. In CloudFormation and other AWS artifacts, "Aurora" is a keyword that regularly comes up meaning MySQL, since that was the original target for Aurora years before the Postgres flavor was released. Ther
505.
▲
by
ttfkam
3y ago
SolidJS is currently faster at runtime. Not sure it could beat Svelte at developer time. And with the reported speed improvements in Svelte 5 (waiting to see how those bear out in the real world), the difference isn't going to be how f
506.
▲
by
ttfkam
3y ago
While yes, Svelte is faster out of the box than React, that's not its main draw in my opinion. When you learn React, you learn React's idioms, its methodology, the common component libraries, etc. You learn its API and patterns. S
507.
▲
by
ttfkam
3y ago
Not sure I agree about Svelte's bundle size being a problem, but v4 already improved tooling quite a bit by switching to JSDoc and judicious type export limits. Intellisense for library functions, the ability to drill down seamlessly f
508.
▲
by
ttfkam
3y ago
If you introduce a breaking change no matter how trivial or edge case it's considered WITHOUT bumping the major version number, I guarantee folks will be very bitter indeed. Trust is hard-earned but easily lost. Best not to use a semve
509.
▲
by
ttfkam
3y ago
Svelte works quite well with Vanilla JS libraries. https://hackmd.io/@roguegpu/r1RKQMdt3
510.
▲
by
ttfkam
3y ago
It doesn't need wrappers to the same extent React, Angular, et al do. Svelte works quite well with vanilla JS libraries without having to implement a wrapper most of the time. https://hackmd.io/@roguegpu/r1RKQMdt3
More ›