Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brundolf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
811.
▲
by
brundolf
4y ago
RN uses native controls (not a webview) and JS is plenty fast for most UI logic (it's almost never the bottleneck on slow web apps), so I would not expect performance to be a problem here
812.
▲
by
brundolf
4y ago
Anecdotally we've got a RN app, and we've only got one or two native source files for each platform, which are mostly there to bridge in third-party libraries for things like analytics. Our UI and business logic are almost 100% JS
813.
▲
by
brundolf
4y ago
I think this is wishful thinking. People's preferences aren't going to change overnight (I don't see a reason this one would change at all), and manufacturers are already making a tough sell with EVs themselves, so they
814.
▲
by
brundolf
4y ago
I think it's more that technologists tend to underestimate the social factors, edge cases, general "stickiness" of this stuff. We see the destination and think "ah, well the technical problems have been solved, we can al
815.
▲
by
brundolf
4y ago
This has been my gut feeling about the new AI technologies we've seen recently. We'll see what happens
816.
▲
by
brundolf
4y ago
I think cases like this are super rare compared to the harmful cases, so it would still be a net gain for society Also- most of the reasonable cases for noncompetes are already covered by trade secret/NDA stuff
817.
▲
by
brundolf
4y ago
I don't know why people complain about this on HN every single time, rather than accepting that people do and will continue to use these formats
818.
▲
by
brundolf
4y ago
> with those core cloud services being more low level, you are free to move between them much easier than the hyperpreconfigured 2nd tier serverless services I actually think it's the exact opposite With the big providers you can cr
819.
▲
by
brundolf
4y ago
> But many of those are just not as reliable as core cloud providers Aren't they? I've never heard this, do you have a source? > the cost is way higher Depends. For small-medium stuff the cost may be "way higher" i
820.
▲
by
brundolf
4y ago
To add another simple setup, I've been trying out: - Static front-end hosted on render.com - Back-end web service on render.com - Postgres on (you guessed it) render.com Each is an easy-to-manage item on the dashboard. They can each be
821.
▲
by
brundolf
4y ago
Everybody shouldn't pull in their favorite stack just for fun, but it seems valuable to have the option of trying out new things that could turn out to be a better way forward for the org
822.
▲
by
brundolf
4y ago
+1, since I discovered and embraced "format on save" in my editor I've been able to stop thinking about indentation almost completely
823.
▲
by
brundolf
4y ago
One other thing they give you at a large organization is flexibility in your stack If a team wants to try out a different language, or hosting model, or even just framework/tooling, those things can be really hard to do within the same
824.
▲
by
brundolf
4y ago
I can't remember the last time I had something crash on one of my macs, though I don't run any of the above. But it seems like it could be a problem with your machine
825.
▲
by
brundolf
4y ago
In rust ! signifies invoking a macro, so it couldn't be used like this in a function name even if you wanted to. Also, Rust allows you to notate immutable/mutating/owning for each individual argument type, so there wouldn
826.
▲
by
brundolf
4y ago
> you might not be aware of when a mutation occurred Yeah, this is a risk with any language that mixes some functional features/style in with non-functional features. Rust does a pretty good job of letting you mostly delineate the t
827.
▲
by
brundolf
4y ago
> rather than being able to process any given object or objects of different types Not necessarily- the functions can still be polymorphic. Rust does a particularly cool thing here, where any struct or trait method can be called in non-m
828.
▲
by
brundolf
4y ago
Method vs non-method calling syntax is a red herring; a method is just a function where you put the first argument on the left instead of inside the parenthesis Hanging functions off of objects/types isn't really anti-functional e
829.
▲
by
brundolf
4y ago
Slack used to feel better than it does now, and from my outside perspective it feels like most of the slowness that's started to happen comes down to lazier caching and slower back-end requests (loading conversations, etc)
830.
▲
by
brundolf
4y ago
Maybe it'll happen here! :)
831.
▲
by
brundolf
4y ago
I don't think I'd agree that idioms come into play here, one way or the other. Safely borrowing things by reference is one of Rust's headline features
832.
▲
by
brundolf
4y ago
I'm at a point where I think I would turn down any job offer that required me to do anything with python (even just the occasional change). I don't have the time or energy to fight with my tooling and environment that much It'
833.
▲
by
brundolf
4y ago
For me this feels spot-on. But I wanted to comment on one thing: > Fourth, we'll see a resurgence and even fetishization of explicitly "offline" culture, where the "Great Logging Off" becomes literal I actually t
834.
▲
by
brundolf
4y ago
The M1 MacBook Pros are commonly on sale these days. I got a 16" recently for $2099 ($400 off) at Best Buy
835.
▲
by
brundolf
4y ago
Where did GP say it did?
836.
▲
by
brundolf
4y ago
Same, would love to see a comparison. I've been a mostly-happy user of DB for a while but always open to competition
837.
▲
by
brundolf
4y ago
Would this simplify things like wasm-bindgen too?
838.
▲
by
brundolf
4y ago
1. It's an add-on, so eg. you have to manually wrap each React component in an observer(), it doesn't really interact with hooks (triggering or responding to updates), etc 2. It has some minor gotchas around object cloning, proxie
839.
▲
by
brundolf
4y ago
I try to stick with plain React hooks when I can. For small-medium state complexity they're usually enough For big stuff, especially deeply nested trees, MobX is still my favorite. It has some quirks but the core premise is such a simp
840.
▲
by
brundolf
4y ago
> What hope does an average site have if a simple tweet requires MegaBytes of JS and seconds to interactivity? Their hope is that their orgs probably aren't as bloated as twitter's
More ›