Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kentonv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
601.
▲
by
kentonv
3y ago
Sure they are. Cap'n Proto addresses a superset of Protobuf's use cases. Anywhere where you might use Protobuf, Cap'n Proto will work fine. In certain use cases (like mmaping large files or exporting complex APIs over RPC) Ca
602.
▲
by
kentonv
3y ago
> cap'n'proto is ancient, I mean... not compared to protobuf. > unmaintained, The C++ implementation is well-maintained and heavily used by its own maintainers (e.g. me). Other implementations are maintained to varying degre
603.
▲
by
kentonv
3y ago
"At least 4 years"? I believe I originally wrote the header you linked to in 2007... maybe 2006. ;)
604.
▲
by
kentonv
3y ago
The Workers / Developer Platform team is generally happy to hire anywhere in American or European time zones where Cloudflare already has a legal entity set up to support such hiring. This includes many countries in Europe but not all
605.
▲
by
kentonv
3y ago
All Workers / developer platform SWE/EM/PM positions are remote-friendly, yes. (I can't speak for other teams at Cloudflare, but many of them are the same.)
606.
▲
by
kentonv
3y ago
Nope, not me.
607.
▲
by
kentonv
3y ago
Fine. But if someone knows to use mergetool, they probably don't have a problem to begin with. My concern is for all of the junior developers out there who are getting conflicts with terrible default conflict marker style and are strug
608.
▲
by
kentonv
3y ago
Those merge tools typically take the raw conflict markers as input, and cannot give you as nice of a UI if they are two-way markers instead of 3-way. So you still want to change the default conflict style.
609.
▲
by
kentonv
3y ago
IMO, git needs to change the default for merge.conflictstyle. The default "merge" style is abysmal, it does not give you enough information to correctly resolve conflicts in isolation -- you have to actually look up the changes se
610.
▲
by
kentonv
3y ago
Yes, I'd add to that by pointing out that the "spec" is a de facto spec subject to Hyrum's Law, that is, people have built their apps against other implementations of the platform and inevitably don't handle any beh
611.
▲
by
kentonv
3y ago
The article is the other way around -- it's written from the perspective of a platform developer trying to deal with apps that didn't anticipate the situation.
612.
▲
by
kentonv
3y ago
If you are building a software platform which has been adopted by more than a handful of developers then you're going to have some shitty apps, in which case you have to do this stuff. Yes, it is completely normal and generalizable to
613.
▲
by
kentonv
3y ago
Sure, but you'd be more frustrated if your app just crashed. If the app is not prepared for printing not being supported, and printing just throws an exception, the app probably just crashes. That's bad. If the app is prepared f
614.
▲
by
kentonv
3y ago
No, this is a guy who has been one of the architects of Windows for more than 30 years giving you hints about how they achieved their reputation for amazing backwards compatibility. He really, really knows what he's talking about.
615.
▲
by
kentonv
3y ago
Browsers still follow that strategy. The effort to replace it with strict validation (XHTML) failed. What succeeded instead was HTML5, which went back and explicitly defined how every possible invalid sequence should be interpreted, so that
616.
▲
by
kentonv
3y ago
IIRC, using a permanent redirect makes sure search engines treat the two URLs as pointing to the same page, accumulating all "page rank" to that one page, rather than treating it as two separate pages.
617.
▲
by
kentonv
3y ago
Many hosting providers -- and many web servers, going back decades -- offer this functionality, because a lot of people want it. Keep in mind that this is Cloudflare Pages, not Cloudflare in general. Cloudflare Pages is a product where you
618.
▲
by
kentonv
3y ago
Note this is Cloudflare Pages , not Cloudflare in general. Cloudflare Pages is a product that hosts static content on Cloudflare. You upload your files to Cloudflare, and it serves them, you don't have your own server. Many static con
619.
▲
by
kentonv
3y ago
It's not a myth! My uncle is such a garage inventor, and has made a comfortable living for himself by licensing a number of different inventions. One of the things he invented was the Zipit drain cleaner. It's a long piece of plas
620.
▲
by
kentonv
3y ago
> The SDKs are "bundled" in all lambda runtimes but normally not into the binary, what additional performance would that bring? I haven't looked at LLRT's internals, but if I were them, and I were bundling some JavaSc
621.
▲
by
kentonv
3y ago
I mean that the AWS SDK is a large API surface, they'd potentially have to re-implement all of it in Rust and then keep up with future changes, otherwise you have to tell people it's not 100% compatible. I'm told this library
622.
▲
by
kentonv
3y ago
True but probably very tedious to achieve full compatibility with the existing JS API that way, which seems like it was a big goal here.
623.
▲
by
kentonv
3y ago
The benchmark shows Node.js taking 1.5s(!) to start vs. LLRT taking under 100ms. But the benchmark appears to be a very small program that imports the AWS SDK. Later on in the readme, it's mentioned that LLRT embeds the AWS SDK into th
624.
▲
by
kentonv
3y ago
> My gut tells me Cloudflare workers are some type of low-code solution. Cloudflare Workers hosts servers written in JavaScript / Wasm.
625.
▲
by
kentonv
3y ago
This is only realistic for established applications with large userbases. For new or very niche apps, distros are understandably not going to be very interested in doing this work. In that case the developer needs to find a way to distribut
626.
▲
by
kentonv
3y ago
Everything you describe already exists. Executables do list their dependencies, and we have well-defined conventions for indicating ABI breaks. It is entirely normal to have multiple major versions of a library installed for ABI compatibi
627.
▲
by
kentonv
3y ago
I mean, if you ran every single executable on your desktop in a separate container I think you'd see problems. There are a pretty large number of programs running on most desktops, plus all the programs that get called by shell scrip
628.
▲
by
kentonv
3y ago
If the nameservers are already pointing at Cloudflare when you try to set up an account, Cloudflare will ask you to set a different pair of nameservers. I learned this when I was transferring a whole bunch of domains over, and I noticed
629.
▲
by
kentonv
3y ago
Doesn't linking everything statically imply that the base image -- and memory, at runtime -- will be bloated by many copies of libc and other common libraries? I do like the simplicity of static linking but it sort of seems to go again
630.
▲
by
kentonv
3y ago
I think we understand that an auditor could, in theory, do that, but the question is whether auditors do, in practice, do it. The IRS is not supposed to be screwing people on technicalities like this, and a reasonable auditor should conclud
More ›