23 karma · joined September 25, 2025
No matter how fucked up any country can be, US president has no right to bomb or terrorize other countries.
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.
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.
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.
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).
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.
It's taking them 5 years stealing Chinese algorithms.
5 minutes of inactivity makes it idle.
If I get one query every 5 minutes and each query takes 100ms for whole month, do I get changed for 720 hours or for 14 minutes (total compute time)?
>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
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.
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.
They are not burning money, they are employing people like you directly or through 3rd party partner companies. The beneficiaries can decide themselves how to spend money. They can live a good life or help others.
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.