Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kentonv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
781.
▲
by
kentonv
3y ago
> Its impossible to resize images or hash passwords on Cloudflare workers: the CPU time limit is too low. You're thinking of years ago when the CPU time limit was 50ms. These days the limit is 30 seconds, plenty of time for these ta
782.
▲
by
kentonv
3y ago
Sorry, I don't quite understand what you're asking. In the future each DO will have a private SQLite database. The key/value store will actually be redirected to store into a special table in this database, but probably new a
783.
▲
by
kentonv
3y ago
> Also Control/Command C, X, and V are impossible to do with one hand while holding your mouse unless you remap keys or create macros. I took the, uh, hard way on this one: For every OS I have used in the last 20 years I have figure
784.
▲
by
kentonv
3y ago
Sorry you experienced that. FWIW this announcement from Wednesday should help address the problems you ran into: https://blog.cloudflare.com/pages-and-workers-are-converging...
785.
▲
by
kentonv
3y ago
Personally, I'm a firm believer that most "web app" use cases are better served by many small databases (e.g. per-user or per-document) rather than a single monolithic databases. This is especially true when serving users all
786.
▲
by
kentonv
3y ago
Oh, I've been informed that DuckDB uses SQLite under the hood, so maybe compiling DuckDB to Wasm and running it on top of this will be possible, we'll see.
787.
▲
by
kentonv
3y ago
We didn't, no. I'm sure there's a lot of really cool local-first databases out there, but SQLite has the benefit of being incredibly widely battle-tested, with literally billions of installations worldwide. It has received th
788.
▲
by
kentonv
3y ago
Note that Privacy Pass is not a Cloudflare product, it's an open protocol which Cloudflare supports. https://datatracker.ietf.org/doc/charter-ietf-privacypass/
789.
▲
by
kentonv
3y ago
You'd use it whenever you're building an application on Cloudflare Workers and you need to store data. D1 provides you with a SQL database. It's based on SQLite, so it's designed for relatively small datasets but can ser
790.
▲
by
kentonv
3y ago
Have you tried using Privacy Pass? It is a browser extension which helps prove that your traffic is legitimate which should reduce the incidence of challenges from Cloudflare, even if your IP has bad rep. It uses advanced cryptography to do
791.
▲
by
kentonv
3y ago
Sorry that D1 has been slow out the gate. Now that we've solved the basic technical issues we can really focus on improving DX.
792.
▲
by
kentonv
3y ago
Hard to say without knowing what specific problem you have had but we are improving all the time. Several improvements announced just this week, take a look at the blog. Among other things, we made Wrangler (Workers CLI tool) use the open s
793.
▲
by
kentonv
3y ago
Weirdly, this site uses `color: #1b1b1b` instead of black. Why? The difference is barely noticeable, but black provides more contrast and IMO looks better than #1b1b1b. I've seen many designers assert that being slightly off-black is &
794.
▲
by
kentonv
4y ago
Where are you getting this from? Is this from the complaint? Or a personal anecdote? I worked there in 2006. The SVP of Eng was Alan Eustace. He's a jolly guy, he chuckles a lot. I don't remember this specific exchange but I can h
795.
▲
by
kentonv
4y ago
Sorry, I'm not on the network team and I don't know whether that specific forum comment is accurate. All I can say is that if you use Workers, the Worker always runs in the datacenter that receives your request, which is exactly t
796.
▲
by
kentonv
4y ago
A couple points: 1. Last I checked (admittedly not recently), Lambda throttles CPU proportionally to memory size, e.g. as I recall a 128MB instance is throttled to 1/8 CPU core, 256MB is 1/4, etc. Workers never throttles. 2. The s
797.
▲
by
kentonv
4y ago
Workers run in every datacenter, but there are a variety of reasons your request might be rerouted to one that's not the closest one physically, such as: * The closest one may already be at capacity, requiring rerouting some traffic aw
798.
▲
by
kentonv
4y ago
> The VP, in turn, assigned the task to Beatrice (Luoma) Ojakangas, by coincidence, the older sister of the engineer who had developed the egg roll machine for Chun King. Beatrice is my aunt! (And the inventor of said egg roll machine, E
799.
▲
by
kentonv
4y ago
In Cloudflare Workers we like to represent things like this with "bindings". A binding is like an environment variable, except instead of containing a string, it contains a live object with methods that access the remote resource.
800.
▲
by
kentonv
4y ago
> There is a validation step of course No, there isn't. Not any more than there is a decode step anyway. The truth is that encoding, decoding, and validation all occur when you call the accessor methods for specific fields. If you n
801.
▲
by
kentonv
4y ago
True, a few years later, I now live in Austin and the Chase people here are a whole lot nicer to me. Maybe there's just too many ultra-rich people in Palo Alto, heh.
802.
▲
by
kentonv
4y ago
I was under the FDIC insurance limit so I was not at risk of losing my money.
803.
▲
by
kentonv
4y ago
Weird, that's not my experience. My startup, which raised $1.2M back in 2015, didn't have to pay any monthly fee -- at least until the balance dropped below some threshold in the 5-digit range at which point they started charging
804.
▲
by
kentonv
4y ago
OK let's extend the analogy. A government agency shows up and, with military-like efficiency, takes everything you have: your cash, your house, your other car, etc. It liquidates it all and uses that to pay back your cousins. You are n
805.
▲
by
kentonv
4y ago
No, this is exactly what's supposed to happen. The FDIC wants large depositors to spread their deposits over many banks as this reduces overall risk. The limit is not about protecting "ordinary Americans" over "rich peop
806.
▲
by
kentonv
4y ago
Because (apparently; I'm just reading from their web site) they deposit your funds into 12 separate accounts at 12 separate FDIC banks so you are insured up to $3M and a single-bank failure can at worst take 1/12 of your deposits.
807.
▲
by
kentonv
4y ago
Yes, the limit seems especially poorly-suited to businesses. Though, there do exist meta-banks that split funds across multiple other bank accounts in order to achieve higher FDIC limits. Maybe we'll start seeing more of these. Otherwi
808.
▲
by
kentonv
4y ago
The purpose of the $250k per-person-per-bank limit is to encourage large depositors to spread their money among many banks, which reduces risk for both them and the system. However, it's not clear that this limit is really the ideal de
809.
▲
by
kentonv
4y ago
Execs at public companies always have to schedule their stock sales many months in advance. They cannot sell on a whim. The SEC is very strict about this and they do punish transgressions. Most execs sell stock on a regular monthly or quart
810.
▲
by
kentonv
4y ago
And the reason SVB had more bonds than most is because there was a huge influx of deposits in 2021 from investors going nuts funding startups, but SVB doesn't have many customers that are good candidates for loans. They needed to do so
More ›