HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cloudflare728

no profile record

Submissions

[untitled]

1 points·by cloudflare728·6 mesi fa·0 comments

Code Orange: Fail Small – our resilience plan following recent incidents

blog.cloudflare.com
9 points·by cloudflare728·7 mesi fa·0 comments

comments

cloudflare728
·5 mesi fa·discuss
We will probably see Ready Player One in a few decades. Hoping to stay alive till then.
cloudflare728
·6 mesi fa·discuss
I am ashamed being part of HN where a lot of people here supporting this terrorism.

No matter how fucked up any country can be, US president has no right to bomb or terrorize other countries.
cloudflare728
·6 mesi fa·discuss
I had no idea how it would end up. It was first time using AI IDE. I had only used chatgpt.com and claude.ai for small changes before. I continued it for the experiment. I thought AI write too many tests, I will judge based on test passing. I agree, it was bad expectation + no experience with AI IDE + bad software engineering.
cloudflare728
·6 mesi fa·discuss
Sometimes I have a similar file or related files. I copy their names and say use them as reference. Code quality improves by 10 times if you do so. Even providing a a example from framework's getting started works great too for new project.

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.
cloudflare728
·7 mesi fa·discuss
I am self hosting using Docker. Next.js config to change header didn't work for me. I had cache rules in Cloudflare, but Next.js header for page (no-cache) doesn't allow Cloudflare to apply stale-while-revalidate.

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.
cloudflare728
·7 mesi fa·discuss
I have done this with Next.js. Next.js doesn't support this header or I don't know how.

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.
cloudflare728
·7 mesi fa·discuss
Why would someone spend years developing a front where you can't tell the difference between Il or 0O? Doesn't it hurt their ego at personal level?
cloudflare728
·7 mesi fa·discuss
I hope Cloudflare improve Next.js support on Workers.

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).
cloudflare728
·8 mesi fa·discuss
Yes use zod or equivalent.

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.
cloudflare728
·8 mesi fa·discuss
HN typically use the word "steal" when Chinese companies do the same thing from American or European companies.

It's taking them 5 years stealing Chinese algorithms.
cloudflare728
·8 mesi fa·discuss
update: It's 720 hours of compute cost. Not really serverless. It's just managed database service and it can scale to zero. That's it.
cloudflare728
·8 mesi fa·discuss
Can someone explain to me the neon pricing?

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)?
cloudflare728
·8 mesi fa·discuss
Seems like big no-no.

>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

https://news.ycombinator.com/item?id=13784
cloudflare728
·8 mesi fa·discuss
I wish our country was like this. A city "president" can speak against the President. A city President has the power to work without the will of the President.
cloudflare728
·8 mesi fa·discuss
Can it find broken UI?

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.
cloudflare728
·9 mesi fa·discuss
It is abusing .new domain. The idea of .new domain is to create something new e.g meet.new creates new Google Meet, docs.new creates new Google Docs
cloudflare728
·9 mesi fa·discuss
Profit or loss is out of the equation.

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.
cloudflare728
·9 mesi fa·discuss
You don't understand how money works.

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.
cloudflare728
·9 mesi fa·discuss
[flagged]
cloudflare728
·10 mesi fa·discuss
This is exactly the service I was looking for. I am using cloudflare email forwarding but couldn't find anything about how to send form data from webpage to email.

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.