Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
felipeccastro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
felipeccastro
4y ago
This is a great point, but I wonder if it's all there is to it. I grew up in the 90s, yet for a long time preferred music from 60s to 80s (I like some things from all decades, but not as much), and I know a lot of people that find the
32.
▲
by
felipeccastro
4y ago
Build your own project for learning and make your own choices. Ideally, something that you intend actual people to use, not just toys, so real-world constraints become a factor in the decisions. There's usually no right or wrong answer
33.
▲
by
felipeccastro
4y ago
It depends on the needs of the mobile version. Often, a well designed responsive version of the same web app is enough. Even if it's a mobile native app, you might still be able to reuse some/most of the screens with the same html
34.
▲
by
felipeccastro
4y ago
The main advantage I see of traditional server side rendering (like in Rails/Django) is that you develop a single project, not two (SPA + API). Instead of api models and client models, you just have models. Instead of api routes and cl
35.
▲
by
felipeccastro
4y ago
The problem is if you started with no code, can you round the rough edges? One reason we use code instead of no code is so we can extend the product in any direction that is necessary, not just the few that were anticipated by a tool.
36.
▲
by
felipeccastro
4y ago
Perhaps sharding data by geographical location could be one path - e.g. deploy one server in the US and another in Europe, each with its own database. The whole concept of edge computing - deploying app servers closer to your users for mini
37.
▲
by
felipeccastro
4y ago
Yeah, I meant the goal was good, even if the current implementations didn't work out as expected (at least, as far as I know). But if not the token economy, what other advantage can new entrants offer to compete with the network effect
38.
▲
by
felipeccastro
4y ago
It was also a way that enabled new entrants to be competitive against larger business with network effects, by using a win-win structure of incentives (the earlier you join the community, the more you gain if the community takes off). If no
39.
▲
by
felipeccastro
4y ago
I would love to try Deno deploy, but right now there are two deal breakers for me: - why is the CPU time limit so low? 10ms (or even 50ms in Pro version) seems a limit very easy to blow for any sufficiently complex app - why is there no dat
40.
▲
by
felipeccastro
5y ago
HTMX is a middle ground - using it involves not having "full-page reloads" like traditional server rendered apps, but still having the productivity of server only apps. The main advantage I see with this approach is you'll ha
41.
▲
by
felipeccastro
5y ago
I tried adding this to a new Rails project with no luck. Is there a sample Rails app with Sorbet fully configured (i.e. most gems typed) available on github for reference?
42.
▲
by
felipeccastro
5y ago
I've been wanting to do this switch too and have the same concern. One option worth investigating is Shoelace - https://shoelace.style/ , a library of nice looking web components that you can just add to your page with
43.
▲
by
felipeccastro
5y ago
I haven't tried it yet, but this article reminds me of a CSS-only library with hstack and vstack elements: https://almonk.github.io/pylon/
44.
▲
by
felipeccastro
5y ago
"mongoose relationships" is not always what you would expect, either.
45.
▲
by
felipeccastro
5y ago
I use Rails and Mongo at work. There is a schema, enforced declaratively at the application layer (mongoid). With Rails Console querying the database ad hoc is even easier than with SQL, thanks to mongoid api and Ruby’s expressiveness. The
46.
▲
by
felipeccastro
5y ago
That's great news! Is the interpreter being developed already? Anywhere we can follow the progress?
47.
▲
by
felipeccastro
5y ago
For me, it’s also because of IDE tooling. Nim syntax supports so many different call styles that when you press dot for autocomplete you always see so many options to the point it’s not helpful anymore. I’d love to know if there’s a way aro
48.
▲
by
felipeccastro
5y ago
It seems a lot more similar to Vue.js than htmx.
49.
▲
by
felipeccastro
5y ago
Yes, but still I think it's great news as it looks like we can realistically make forms using native inputs only and validation, complex inputs (like date pickers) all can be setup with little to no javascript. This enables much simple
50.
▲
by
felipeccastro
5y ago
Apparently it will be supported in the next version! https://webkit.org/blog/11648/new-webkit-features-in-safari-...
51.
▲
by
felipeccastro
5y ago
I get how static sites are useful for readonly content, but what do you mean by "financial transactions without a DB in sight"? Even in jamstack you still have an API backed by a DB, no?
52.
▲
by
felipeccastro
6y ago
I’m seriously asking for new ideas. This space is new and free to rethink incentives in all sorts of ways, it doesn’t need to repeat the same mistakes as fiat.
53.
▲
by
felipeccastro
6y ago
I like this crypto UBI idea! But without the early movers incentive to increase the coin value, how could that work?
54.
▲
by
felipeccastro
6y ago
Frameworks mean React, Vue, Angular, etc. Usually, if you make a TextInput component in React, you can't use it in Vue and vice-versa. If you create a <text-input> web component, then you can use it in any of these frameworks (or
55.
▲
by
felipeccastro
7y ago
Having only played a little with both (Kotlin and Nim), I enjoy Kotlin syntax but overall it feels as heavy as Java (need to setup an IDE for even getting started, choose and understand some package manager, slow compile times, etc.) Nim fe
56.
▲
by
felipeccastro
7y ago
I think this is where intelligence gets you in trouble. You say this as if it was the whole story, and you trust your own beliefs too much to let them go. High intelligence may not be as harmful if you use it as a tool where appropriate, an
57.
▲
by
felipeccastro
7y ago
I've been working with Rails for several years. First, it was fullstack rails, then we got a giant mess of jquery, tried to solve it by moving to an SPA with Vue... and since then our productivity really dropped. While Vue works, I mis
58.
▲
by
felipeccastro
8y ago
Oh, I must have skipped that part... nice! Yeah, I'm definitely looking forward to see where that goes. Having reliable, easy distributed data storage + edge functions would certainly be a game changer.
59.
▲
by
felipeccastro
8y ago
This is the second post I see about this edge functions, and while I appreciate the advantages (decreasing network latency should definitely have an impact), will this matter much if the database is still centralized? If most edge functions
60.
▲
by
felipeccastro
8y ago
Yeah but when you do need to mutate state, why returning a new object is any clearer than modifying an object and returning it? Especially when the new object you return is going to be used to update a state tree later. Isn’t this a side ef
More ›