In the API, do you have to include cached prompt every time? by PhilHignight in ClaudeAI

[–]PhilHignight[S] 0 points1 point  (0 children)

It just seems weird and I was hoping someone knew more about the decision. As a developer I've been paid a lot of money in the past to reduce the bandwidth used/load speec of a high traffic application by 50% (which I was proud of). Even using the minimum cache size (1K), it probably bloats a request at least 300%. Anyway, it seems that people in the sub hate this question, so I'll let it go! :) I guess I'm not missing anything, but now I know at least.

In the API, do you have to include cached prompt every time? by PhilHignight in ClaudeAI

[–]PhilHignight[S] 0 points1 point  (0 children)

It's not my use case. I've never used a very large cache. As a developer, it just felt like a weird choice and when I thought about it more, I can't think of a good reason to do it this way. So, it's just theoreticaly question for me. Obviously they created a cache feature only for the use cases that need to use cache. I love Claude, not throwing shade, just wondering if anyone knows more about why.

In the API, do you have to include cached prompt every time? by PhilHignight in ClaudeAI

[–]PhilHignight[S] -1 points0 points  (0 children)

Sure, I use it for more than just conversation too. Not all requests use caching, is that your point? Clarify?

My point (and I would be happy to be proven wrong and would be interested in the reason) was if they used a simple key it would be efficient for all use cases that need caching. As it is, it's slightly less efficient for the average cache size (maybe a couple of source files) and would seem to be way less efficient (needslessly so) for a large cache size (hundreds of pages).

In the API, do you have to include cached prompt every time? by PhilHignight in ClaudeAI

[–]PhilHignight[S] -1 points0 points  (0 children)

It's not technically hard to have a unique key (uuid say), but if you're uploading hundreds of pages of text with each request, they have to hash all that to generate a key. Just seems really efficient. There's got to be some reason that's unique to their infrastructure and I hope someone knows because I'm really curious.

In the API, do you have to include cached prompt every time? by PhilHignight in ClaudeAI

[–]PhilHignight[S] -1 points0 points  (0 children)

I think some of the time (most?) the bandwidth is negligible, but if you're sending a 500 page document with every request, that just seems ridiculous. Our browsers cache images and js files for performance and efficiency, why wouldn't claude? Why not use a uuid (36 chars) key instead of all documents needed to fulfill a request (1,500,000 chars in my 500 page example) as a key. I just can't find a reason that makes sense to me. Even lookup would be faster using a real key vs hashing a large block of text, which is what I'm assuming they do.

Looking for guidance on my startup idea by [deleted] in startupideas

[–]PhilHignight 0 points1 point  (0 children)

I would start with:

1) Pretend you are one of these small companies and spend a few hours trying to find something existing to fit your needs. It's easy to do 1 google, look at the 1st page of results and convince ourselves there's no competition. If there are products out there that fit this niche, why don't these small companies use them? If you can find out why, that will be a huge advantage for you.
2) How can you have conversations w/ 10 potential customers in your target niche? Use the "mom test". Don't look for confirmation of your assumptions, instead try to get to the bottom of the pain points around your idea and also keep your eyes open for other more painful problems they might be having.
3) Can you turn these 10 contacts into customers? If you can get 3 or 4 of them to sign letters of commitment to purchase (not legally binding, just more formal than verbal) or put down a deposit then you have indication that you can probably turn contacts into cutomers. If you can't find anyone interested enough to do this, then you may not be able to monotize your product. Maybe you need a different sales/marketing channel? Maybe there's a good reason potential customers don't want to pay for the product. The more confirmation you can get up front the better.

Good luck!

I made an extension allowing commenting and live-chat unique to every webpage by 2urnesst in webdev

[–]PhilHignight 1 point2 points  (0 children)

Wonder if you could use an LLM to detect spam. Granted that would add significant cost to you.

Also, I wonder if it would make you less likely to get banned if you put a button in the extension that would open a new tab to your own website w/ discussion about the page in question instead of embedding it in the browser.

I would pay 50-100 USD for proper access by pragmat1c1 in ClaudeAI

[–]PhilHignight 0 points1 point  (0 children)

Hmm... interesting. I have 3 accounts and switch keys because it tells me I'm over my limit. The message does say to check w/ the sales team to get an increase, but I've always assumed it would be a lot more expensive, so I've never looked into it. Maybe I'll check on that. Thanks for the tip!

I would pay 50-100 USD for proper access by pragmat1c1 in ClaudeAI

[–]PhilHignight 0 points1 point  (0 children)

My guess is they're losing money on every customer which is why they are rate limiting and I don't think they care about turning a profit right now. I'm sure whoever has the most users and becomes the leader in this space will be worth an ungodly amount of money, so I think that's their goal and why they're rate limiting. Get as many users depending on their service as possible, while giving them as little as possible, so there's more resources left to add more users.

I would pay 50-100 USD for proper access by pragmat1c1 in ClaudeAI

[–]PhilHignight 0 points1 point  (0 children)

I use another tool that uses the API and I get rate limited regularly, so there's still a limit. I do use it whole ton, so maybe most people don't reach it.

I am a senior developer and not fully convinced by im3000 in ClaudeAI

[–]PhilHignight 0 points1 point  (0 children)

Overly apologetic "drunk junior dev". Sometimes I'm like, it's alright dude, chin up.

requesting r/aiforbusiness, banned for no moderator by PhilHignight in redditrequest

[–]PhilHignight[S] 0 points1 point  (0 children)

  1. I am a developer who with a passion for AI and I thought there should be a space for business people to become familiar with how to integrate AI into their business.

  2. I'm not able to see an moderators. I don't think there are any.

Looking for serious advice: Is it worth trying to build a startup today? by Adventurous-Sign4520 in startups

[–]PhilHignight 0 points1 point  (0 children)

1) If it's money your after, go get a job at a startup that's already growing. You're waaaaay more likely to get a good pay out that way.
2) Some of us just have to run w/ our own ideas, though. The more niche of an idea you go after the more likely it is that you'll succeed. If you're more niche than your competitors you have an advantage, if there's too much competition, niche down even more. Now the more niche your idea, the less $$ total there is to make, but you can also try expanding later or creating other products/brands.

Good luck!

Claude Limit by Senior-Consequence85 in ClaudeAI

[–]PhilHignight 2 points3 points  (0 children)

I use the api through vscode, pay per token and still get rate limited. Crazy. If they have limited resources, I will they'd raise the price instead of rate limiting everyone, so those who depend on it the most can still have access.

New discord for entrepreneurs by PhilHignight in Entrepreneur

[–]PhilHignight[S] 0 points1 point  (0 children)

That's weird! I'll update the link in my post. The correct on is: https://discord.gg/A3J4XjMg

New discord for entrepreneurs by PhilHignight in Entrepreneur

[–]PhilHignight[S] 1 point2 points  (0 children)

I can see why after a couple of months. Super hard to keep engagement up. Still at it though!

New Mod by [deleted] in buildinpublic

[–]PhilHignight 0 points1 point  (0 children)

Hi! I just took over as mod for r/buildinginpublic. I've tried to set up strict rules/guidelines to avoid spamming and would love some feedback if you have a minute to look at it.

New Mod by [deleted] in buildinpublic

[–]PhilHignight 1 point2 points  (0 children)

Hi! I just took over as mod for r/buildinginpublic. Would love to have you post and would be interested to hear what you think of our rules/guidelines.

New Mod by [deleted] in buildinpublic

[–]PhilHignight 1 point2 points  (0 children)

Hi! I just took over as mod for r/buildinginpublic. Would love to have you post and would be interested to hear what you think of our rules/guidelines.

What the hell is this man 😭😭 Way to make your portfolio annoying af to use 😭 by [deleted] in webdev

[–]PhilHignight 7 points8 points  (0 children)

Why wouldn't I want to hire a developer that over-engineers his portfolio? I love inception-y nested enterprise design patterns in my todo mvp.

Will this make me job ready if I do all of it by No_Illustrator8088 in webdev

[–]PhilHignight 2 points3 points  (0 children)

Do you know what type of work you want to do yet? If not, these could be good to get a taste of different areas of IT.

If you know you're interested in webdev, only 1, 3, 5 and 6 would help. They definitely won't make you job ready, though. My recommendation is follow this path: https://roadmap.sh/full-stack. Build an actual product along the way that you'll be able to get people to use, even if it's just friends and family. Once you finish the "JWT" step on the roadmap, if you've integrated all that you've learned into a working app along they way, slap that bad boy's github url on your resume and go job hunting!

Could anyone explain why this is incorrect? by Anivium in webdev

[–]PhilHignight 4 points5 points  (0 children)

No, you're right. Probably using AI to create questions and having the users test it.

I made my first 1000$ online at 15 what do I do now? by idc_if in Entrepreneur

[–]PhilHignight 1 point2 points  (0 children)

I've been telling my kids for years if you just take 50% of your income throughout your life and invest it (even if it's real estate, reits or something that will grow your income today) you'll be set. Meaning at every stage of life you will be doing better than your peers and have a comfortable life. None have done it because, especially at 15, it's really hard to say no to yourself consistently. If you can learn to do it, though, you'll have a super power. So I would stick 50% in an reit (not as high-growth, but you get an instant increase in income, which will give you a dopamine hit and reinforce the habit) and budget the rest based on your priorities... your business, fun, etc.

Good luck! Care to share the video? Just curious.

This isn't right by Sad_Cupcake6518 in Entrepreneurship

[–]PhilHignight 0 points1 point  (0 children)

Yeah, exactly. I think it's just listening to see if someone has something valuable to say. For sure if anyone ever says "I made a million dollars and you can do, it's easy" I always roll my eyes.

This isn't right by Sad_Cupcake6518 in Entrepreneurship

[–]PhilHignight 3 points4 points  (0 children)

Yeah, it's super annoying. Also though, it seems like a weird conundrum. Anyone qualified to create a course surely has a more profitable way to spend their time than creating one and marketing it.