Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brundolf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
601.
▲
by
brundolf
4y ago
Most people could , but don't want to (and again, I don't think this is inherently a bad thing; we have finite energy to spend on finite things, and we must prioritize)
602.
▲
by
brundolf
4y ago
Everything you're saying is still from the perspective of an enthusiast/idealist; try to step out of the bubble. Most people don't think about their technology that way. They don't care that it follows abstract ideals,
603.
▲
by
brundolf
4y ago
Yep, and even with today's increased awareness, most people are fine with that tradeoff
604.
▲
by
brundolf
4y ago
That puck still costs money, where many existing services are free It won't be directly accessible over the internet without either router configuration changes, or some kind of cloud service to phone home to If it were addressable ove
605.
▲
by
brundolf
4y ago
This sort of hand-waves the core issue we've always had, which is that it's too error-prone and annoying to set up self-hosting. That, and that alone, is why it's still only done by enthusiasts, no matter how much technologis
606.
▲
by
brundolf
4y ago
I think you're talking about two separate things here, 1) Having to learn an entirely new syntax just to save on a few characters (it "decompresses" directly to the original thing) 2) Explicitness vs implicitness/inferen
607.
▲
by
brundolf
4y ago
Rust's is built on top of (and exposed to) Iterators, which are a very general concept that can be rooted in all kinds of data structures, composed in all kinds of ways, and collected/processed in all kinds of ways (i.e. the user&
608.
▲
by
brundolf
4y ago
Sure, any arbitrary function (or macro) logic can allocate. It's more a philosophy, not something that's language-enforced[0] in Rust- if you're creating a mutable, variable-size data structure like a String or a Vec or a Has
609.
▲
by
brundolf
4y ago
Interesting, are "trusted-length" iterators something that might ever make it into userspace? Maybe as const generics?
610.
▲
by
brundolf
4y ago
It stops when one of the two iterators ends It can't zip more than two per se, but you could zip the result of the first zip into a third and get ((item1, item2), item3). You could then map these if you wanted, to flatten them into a s
611.
▲
by
brundolf
4y ago
I would guess there will always be a niche for languages that make C's overall set of trade-offs. Rust will shrink that niche, but it'll still be there. I see Zig as targeting that niche specifically: "we can strictly improve
612.
▲
by
brundolf
4y ago
I was thinking about the fact that whatever you're iterating over has to be copied around throughout the process. Rust can guarantee that eg. deep-copies (clones) of allocated structs will never happen implicitly, if your iterator owns
613.
▲
by
brundolf
4y ago
Silly question: what constrains cache sizes? What prevents just making them bigger and bigger?
614.
▲
by
brundolf
4y ago
Rust also hates hidden allocations, and its iterator system can do all of this without them Although- thinking about it, that may rely on the borrow checker (move semantics specifically)
615.
▲
by
brundolf
4y ago
I agree, as an individual user I much prefer to be locked in to a fixed rate. And not just for the free tier- I don't want surprises even if I'm already paying As a company with a cushion, hosting a profitable app, it might be w
616.
▲
by
brundolf
4y ago
I haven't used it, but from what I know it's not a very good analogue to Heroku (other than being an easy-ish/dev-focused host). Their pricing model is pretty different
617.
▲
by
brundolf
4y ago
Also- sleep apnea can be exacerbated by weight, so losing weight ("good habits") can actually help with the root cause
618.
▲
by
brundolf
4y ago
> I doubt many people will use their expensive Macbook as a NAS that way, though Maybe a Mac Mini though. Could be an interesting server option in the long run, the AS ones are a pretty decent bang for the buck
619.
▲
by
brundolf
4y ago
Yes, that's how patents work. I believe patents normally expire ~20 years after being filed. The idea is to incentivize people/companies to invest the resources in solving really hard problems, knowing they'll be able to make
620.
▲
by
brundolf
4y ago
There are others, that was just one example that came to mind
621.
▲
by
brundolf
4y ago
Where do they use it? The control center pulldown shade in iOS?
622.
▲
by
brundolf
4y ago
Love this PS: > This post brought to you by gdb and grep -a, because after typing all that out as a quote toot and deciding that nah, I wanted it standalone, I clicked the "x" next to the quote box (which implies removing the q
623.
▲
by
brundolf
4y ago
This was the battle I was excited for Deno to take a hard stance on, but it seems like even they have been forced to make some compromises now. It still seems like they envision people moving (gradually instead of all at once) to more consi
624.
▲
by
brundolf
4y ago
Plant grass [roots]
625.
▲
by
brundolf
4y ago
Yeah true, a system that factors in the number (ratio? total?) of votes and not just the difference might be interesting
626.
▲
by
brundolf
4y ago
I try to distinguish between comments that are just materially controversial, and comments that are unnecessarily inflammatory/charged/provocative. I usually downvote the latter (or flag in extreme cases), even if the material wou
627.
▲
by
brundolf
4y ago
"Dang" is a last name some people have, I assumed it was that for a long time
628.
▲
by
brundolf
4y ago
I think (somebody correct me if I'm wrong) that all we really need is our sun, and to not be swallowed in a black hole or something. Eg. if we lost our own black hole, or a hole got punched in our galaxy (not where we are), or our so
629.
▲
by
brundolf
4y ago
Even then- what percentage of Google's costs is office floorspace? I guess I don't know, but I'd be surprised if it was a significant portion
630.
▲
by
brundolf
4y ago
Really tough to imagine micro-optimizations like this having any visible effect at all on costs for a company Google's size (except by way of employee frustration) You have to wonder what's going on inside those executive conferen
More ›