23 karma · joined Sep 25, 2025 (1y ago) · 29 submissions
comment 10mo ago · link · parent
comment 11mo ago · link · parent
Yeah the pain of cleaning up small mess is great too. I had some tests failing and type failing issues, I thought I will fix it later by only using AI prompt. As the size was growing, failing Typescript issues was growing too. At some point it was 5000+ type issues and countless number of failing unit tests. Then more and more. I tried to fix with AI, since it was not possible fixing old way. Then I discarded the whole project when it was around 500k lines of code.
5.
Code Orange: Fail Small – our resilience plan following recent incidents(blog.cloudflare.com ↗)
9 points · by cloudflare728 · 11mo ago · discuss
comment 11mo ago · link · parent
Now that I have proper header added by HAProxy, Cloudflare cache rules for stale-while-revalidate works.
If anyone can reach Cloudflare. Please let us forcefully use stale-while-revalidate even when upstream server tells otherwise.
comment 11mo ago · link · parent
I already had HAProxy setup. So I have added stale while revalidate compatible header from HAProxy. Cloudflare handle the rest.
Edit: I am not using vercel. Self hosted using docker on EC2.
comment 11mo ago · link · parent
Currently pagespeed.web.dev score drops by around 20 than self hosted version. One of the best features of Next.js, Image optimization doesn't have out of the box support. You need separate image optimization service that also did not work for me for local images (images in the bundle).
comment 12mo ago · link · parent
I am quite surprised people here doesn't know how to validate data in runtime. The author completely mixing Typescript with runtime behavior.
a?.b?.c?.() or var ?? something have well documented use cases and it's not what the author is thinking.
comment 1y ago · link · parent
>The big reason why C corps are preferable is because S corporation shareholders can only be people -- not other businesses, like VC firms. (S corps also can't issue preferred stock.) An S corporation can't take venture capital without first reverting back to C corp status. But an S corporation can save a lot of money on taxes
comment 1y ago · link · parent
Human can find and report broken UI easily by using common sense.
Even though it is simple for human. Computer has no common sense and I am a machine learning expert. I tried and mostly failed to build a broken UI detector in my previous company. They had automated plugin upgradable process. That periodically broke UI.
I tried to detect it my taking long screenshot, and you could select a image as working version, then later finding diff between 2 images. I kind of worked but not satisfactory.
comment 1y ago · link · parent
Somehow Facebook getting a huge amount of money. They are distributing that money to a million people (directly or indirectly to employees, share holders, employees of 3rd party partners). Some people are getting billions and some are getting $100s.
Instead of handful of people in Facebook management deciding to be humanitarian, you now have a million people deciding what to do with their portion. It is that simple.
comment 1y ago · link · parent
All the email service that I could find has monthly subscription, no pay as you go offer. Hopefully, cloudflare will offer pay as you go.
Is there a way to get priority in waitlist? I don't mind bugs.