Hacker News new | past | comments | ask | show | jobs | submit | mohitgangrade's comments login

Can anyone tell me when this will be available in the API? Or is it already available?

I couldn't find anything on the pricing page.


The page says in the following week, which is disappointing. It’s likely we will see openAI favor their own product first more and more, an inversion of their more developer oriented start.


This sounds really cool. I already love cloudflare because of how easy they make it to compete with bigger companies for indie devs like myself.

Their pricing for their products always seems so much more affordable than something like AWS or GCP. I'm using R2 for storage for a client project, and from my calculations we would have to pay almost 3 times more if we hosted the files with AWS on S3.

I really hope they keep adding all the latest open-source AI models to their platform. If their pricing will be as cheap as they state in this blog post, then I would rather use this service than install models on my computer. To get a good inference speed for open source models on my PC right now, I have to let usage spike to up to 100%...


Look at it like this:

- Fine tuning: Difficult, time-consuming, slow, takes time to add new information, costs a lot more.

- RAG: Can be free if you use free options like Chrome, Weaviate, or Postgres with Vector Plugin. Really fast. Once you set it up, you just need to upload a document, and it's available for GPT to answer with.

I'm using RAG for a client right now, and it was a breeze. Really easy, especially if you use something like Langchain. Compared to fine-tuning, it's a lot easier, cheaper, and faster...


I don't know much about this project, or about JVMs in general. But could this run Minecraft? :)


I build my sites the static way too these days. The best part is that I can host my sites on Cloudflare Pages, which is completely free and can easily handle a traffic spike. Plus, it has a built-in CDN, so it's super quick.

I use Astro for my websites, because I'm familiar with the framework and have used it for many of my clients. Even though Astro is a framework, it doesn't feel like one when creating content inside it.


I've been looking at the source code, and I can't understand why they are converting Number to String before storing it in the map.

What's the reason for it? Is it something specific to JavaScript?


An even better way to do this is to host your site on Cloudflare Pages. It's completely free, and can be deployed from GitHub or you can upload a ZIP of the HTML pages of your site.

It's served via a CDN, so it's always really quick to load.

There's literally no cost to it for static sites.

You could create a git repository for your HTML site. Then, edit the HTML using VS Code. Every time you push to your repository, your site will get updated almost instantly.

All you have to pay for or worry about is domain name.

If you use a web host like Hostgator, your site will get banned when it gets a lot of traffic. Cloudflare has no such limits whether you get 10 visitors a day or 10k a day...


You should look into Cloudflare Pages. I'm using it for all my sites, and it's completely free. Automatic deploys when you push code to GitHub, serverless functions called workers baked in, and built-in analytics. Not to mention, you get high-speed CDN caching for free.


I write JavaScript all day long for my personal projects and my clients. But functional programming, at least as I see in this article, looks like a lot of extra work to do something simple.

I am sure I'm missing something here. But I don't understand why I would ever need to use code like this. My clients and I value shipping code as fast as possible. This just looks like it would turn my 1 hour job into 2 hours with not much benefit.

Anyone who doesn't have a lot of experience with JavaScript or functional programming will have a really hard time reading and understanding my code. I've been coding for a long time now in JavaScript but this looks like a lot of complex code to me for simple tasks.

I want to love functional programming because everyone is talking about it. But what am I missing? What would be the benefit of recreating a language inside a language?


I have a Lenovo laptop I bought 2 years ago.

I tried installing Ubuntu on it and it was a nightmare. I am pretty sure Lenovo made this laptop so any OS other than Windows will not work well.

I had Ubuntu on dual boot for about 4 months. And I had to fuck with the BIOS at least a dozen times a week because something or other would stop working. Never happened to me on any other laptop I have owned.

Windows is a nightmare for me as a web developer. Ubuntu seems much easier to me and more intuitive somehow. Maybe I'll get an M1 Macbook or build a PC finally... :)


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: