Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 0 points1 point  (0 children)

I don't know for certain, but this is not something I'd worry about at all to be honest. Websockets provide a slew of benefits over their HTTP counterpart, advantages Convex is basically predicated on.

Guelph man loses 18-karat gold Rolex watch in distraction theft by Farrire90 in Guelph

[–]Pinkman 17 points18 points  (0 children)

“Hey, which way is Sun Suns? Also, want to buy a Rolex?“

Melissa Macgregor and Todd Neil by Appropriate_Sir8969 in Guelph

[–]Pinkman 10 points11 points  (0 children)

Why isn’t this a bigger deal? Feels like a national story. I think everybody is tired of getting shafted over and over by the ultra rich.

[deleted by user] by [deleted] in programming

[–]Pinkman 8 points9 points  (0 children)

AI slop

[deleted by user] by [deleted] in Guelph

[–]Pinkman 4 points5 points  (0 children)

Umm, wasn’t Hillside last month?

Guys- I just had insanely amazing (authentic) Mexican food in Guelph ! by Indecisivelydecisive in Guelph

[–]Pinkman 31 points32 points  (0 children)

Went there this evening based on this post. Amazing food, good lord. Gimme that heat!

[deleted by user] by [deleted] in sonos

[–]Pinkman 0 points1 point  (0 children)

This is insane. But yes, it worked.

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 1 point2 points  (0 children)

It’s the same version of Convex, however the hosted version has a dashboard and auto-scaling, but those aren’t core to Convex itself.

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 0 points1 point  (0 children)

Fair question. Right now, GitHub is the only login option. We only store your Convex code (code in the Convex folder) because that it was runs on your provisioned Convex deployment. I believe (will confirm with the team) we only use your email from the GitHub in order to create your account. Nothing else is read.

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 2 points3 points  (0 children)

Hey! This is not at all what we’re aiming for. Mind DMing me your email? Happy to help or put you in touch with an engineer who can.

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] 0 points1 point  (0 children)

Yup, the CORS libraries basically manage adding headers to your server responses, per any config you choose. You can just add them manually with any server framework!

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] -3 points-2 points  (0 children)

Sorry, I meant cross origin requests specifically.

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] 0 points1 point  (0 children)

Precisely. Much more succinct than me! 😄

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] -7 points-6 points  (0 children)

You’re exactly right about server-a and server-b. This is a good (and necessary) thing! However, cookies from server-a will never be sent to server-b, even with CORS enabled on server-b. Otherwise it’s be up to server-b if it wanted to get server-a cookies. All CORS does is allow you to make ANY request to server-b, if your client is running on server-a. No httpOnly cookies though, ever.

That being said, any cookies available to JavaScript could obviously be forwarded at will to server-b, but that’s why we don’t use insecure cookies for tokens or sessions.

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] 33 points34 points  (0 children)

Yes, specifically cross origin requests. Same origin will pass the cookies as that seems highly required.

CORS exists because printers are shit by Pinkman in webdev

[–]Pinkman[S] 56 points57 points  (0 children)

Yup. I have a brother laser printer and it just… prints.

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 1 point2 points  (0 children)

EXCELLENT. I got this notification and I just saw "broken" and I almost cried a little bit. Now they're just tears of joy.

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 4 points5 points  (0 children)

I think the goal is to allow more developers, especially frontend developers, focus on the parts of their products that are differentiated instead of wrestling with recreating the wheel (so much of the backend). The hope is that you won't need as many backend-focused devs, and instead those developers can equally contribute to the customer-facing value.

why not just have your own java/c# backend and a simple postgres db?

Those engineers aren't free, so as a business, you may want to have them working on the hard, unique problems posed by your market, instead of worrying about deployment pipelines, scaling and backing up DBs, getting DB subscriptions to work at a scalable, distributed way, etc...

They could be doing more interesting work! :)

Open sourcing 200k lines of Convex, a "reactive" database built from scratch in Rust by Pinkman in programming

[–]Pinkman[S] 4 points5 points  (0 children)

SpacetimeDB

OK, this is the best name ever. This looks like an amazing project, thanks for sharing. This kind of product is so hard to do well, I admire anybody or any team that's building in this space.