When you run out of Claude tokens

11 days ago by BeatTakeshi to c/programmerhumor

pipe01 113 points 11 days ago

I love how the UI has support for code blocks

path: 0 26188648, hotness: undefined, score: 113, children: 7
communism 39 points 11 days ago

With syntax highlighting and everything. I suppose that's an OF niche you could sell. Subscriptions come with programming support alongside feet pics.

path: 0 26188648 26191359, hotness: undefined, score: 39, children: 3
Agent641 9 points 11 days ago

I probably could have made money as a google sheets guru on onlyfans back in the day. Building complex sheets with cell functions and app script was my obsession several years ago

path: 0 26188648 26191359 26191744, hotness: undefined, score: 9, children: 1
captainlezbian 2 points 10 days ago

Shit I probably could make money doing excel naked on the internet… things to think about if I'm unemployed too long I guess

path: 0 26188648 26191359 26191744 26207626, hotness: undefined, score: 2, children: 0
tourist 4 points 11 days ago

I'd be violently upset if I knew my browser was downloading what appears to be a whole node_modules directory before I could jerk off

path: 0 26188648 26191359 26196899, hotness: undefined, score: 4, children: 0
jaybone 22 points 11 days ago

It probably just comes with whatever markdown support their UI uses. Since you’d want other markdown. Lists. Italics. Etc.

path: 0 26188648 26193050, hotness: undefined, score: 22, children: 0
Viceversa 8 points 11 days ago

Doesn't that turn you on?

path: 0 26188648 26191749, hotness: undefined, score: 8, children: 0
Drun 2 points 11 days ago

It makes me think that whole image was created by AI…

path: 0 26188648 26193534, hotness: undefined, score: 2, children: 0
iByteABit 56 points 11 days ago

it's still using the '💙's lol

path: 0 26188426, hotness: undefined, score: 56, children: 4
kibiz0r 17 points 11 days ago

That’s cuz she’s fiiiiiine (tuned)

path: 0 26188426 26189650, hotness: undefined, score: 17, children: 0
floofloof 15 points 11 days ago

You don't use these in your code? // 💙

path: 0 26188426 26191425, hotness: undefined, score: 15, children: 1
Viceversa 9 points 11 days ago

💔

path: 0 26188426 26191425 26191759, hotness: undefined, score: 9, children: 0
degen 6 points 11 days ago

Somehow still less sycophantic than chatgpt

path: 0 26188426 26197068, hotness: undefined, score: 6, children: 0
billwashere 47 points 11 days ago

She sounds hot.

path: 0 26191932, hotness: undefined, score: 47, children: 3
DoucheBagMcSwag 14 points 10 days ago

Gonna need a few hundred gallons of water

path: 0 26191932 26200467, hotness: undefined, score: 14, children: 2
Funkt4st1c 3 points 10 days ago

Im sure we can repurpose some other liquid

path: 0 26191932 26200467 26208229, hotness: undefined, score: 3, children: 1
MonkeMischief 2 points 10 days ago

"This data center is powered entirely on streamers' bottled used bathwater."

path: 0 26191932 26200467 26208229 26213953, hotness: undefined, score: 2, children: 0
DonutsRMeh 29 points 11 days ago

Code block support and the whole schabang.

path: 0 26191803, hotness: undefined, score: 29, children: 3
jaybone 21 points 11 days ago

It didn’t add the shebang.

path: 0 26191803 26193010, hotness: undefined, score: 21, children: 2
DonutsRMeh 3 points 10 days ago

Damn it, I knew I spelt it wrong. Stupid iPhone didn’t autocorrect it. If it were a proper word, it would have run so fast to change it something that doesn’t even fit the sentence.

path: 0 26191803 26193010 26200570, hotness: undefined, score: 3, children: 0
GreyEyedGhost 1 point 10 days ago

Pretty sure that requires subscribing to a higher tier. Maybe use the money you saved on Claude tokens...

path: 0 26191803 26193010 26199472, hotness: undefined, score: 1, children: 0
NeatNit 24 points 11 days ago

It's not as funny when they openly says that it's an AI

path: 0 26188277, hotness: undefined, score: 24, children: 0
sit 17 points 11 days ago

AFAIU every chat bot can be used this way no?

path: 0 26189359, hotness: undefined, score: 17, children: 10
elvith 21 points 11 days ago

Somewhat. Some of them will outright comply like this one, others need a bit of work. Also you have no control over the model they use and you might be getting really bad code as soon as it’s a bit more specialized than just some very generic solution in a very popular programming language.

path: 0 26189359 26191225, hotness: undefined, score: 21, children: 0
Ephera 19 points 11 days ago

Well, they would typically have a system prompt (like an invisible chat message that's sent to the LLM at the start of the conversation), where it would tell the LLM something like "You're a helpful chatbot. Talk cheerfully and use 🩵 all the time."

And in that system prompt, you can also give it instructions to only answer certain questions. But it really is like a chat message, in that it just as well might ignore those instructions when another chat message asks it to.

OP chose the formulation "Before I subscribe to a creator, ..." which might be necessary here to get it to answer, as it might have been told to only help with creator subscriptions, but then the formulation implies that by answering this question, it is helping the user to subscribe. That's called a prompt injection.

If you can find a prompt injection, then yes, you can do this with any chatbot.
Although they might still not be as useful as a dedicated tool, since they likely can't do tool calls, like web searches or running the compiler.

path: 0 26189359 26191335, hotness: undefined, score: 19, children: 8
brucethemoose 12 points 11 days ago

It’s wild that a system prompt is still the major guardrail in most chatbots like this. Even if the LLM provider won’t implement anything, the user could add a classifier, some kind of preprocessor…

path: 0 26189359 26191335 26191812, hotness: undefined, score: 12, children: 7
Ephera 5 points 11 days ago

Well, what preprocessor would you add, other than denylisting certain words? 😅

If you use an LLM to try to detect the semantics, you've got the same problem again...

path: 0 26189359 26191335 26191812 26192296, hotness: undefined, score: 5, children: 6
qqq 8 points 11 days ago

A classifier will be trained differently and basically take $TEXT and map it to $CLASSIFICATION and then you allowlist on the classification. You can then also, if you love burning tokens and spending money on things, have another step that "translates" the user input, making prompt injection significantly more difficult before finally routing it to the LLM. Generally guard rails should then be placed on the LLM's available actions via tool calls and those guard rails should be written by LLMs that are LLMing LLMs and L̸̡̡͕͓̣͓͚̝̥̜̼͙̪̖͍̺͝Ļ̵̥͍̳͇̱̠̬͔̹͖͓͖̯̹́͊̽̄̂͑͌͆͗̑̄͜Ṁ̶̡͙̺̖̥̲̙̩͖̻̹͇̜̲̃͘͜͝ș̵̖̤̫͓̦̲̼̖̗̟̯̩̺̣̞͊̆̉͐̈́̃̈́͗̐̽̽͋̊̉ͅ ̵̖͉̥͖̪̳͍̝͉͕̬̪̂̔̊̌͂̍̚͜a̶̦̤̬̱͖̻̝̱̿͋̿̍͂̒͆̈̄͑̓̕r̴̡̤̙͙͕͚̼͙̦̲̅̔̓̈́̄̆̾͗̿͌̐̄͛̒͘͜ͅe̴̡̡̼͉̣̼͉͓̪͕̬͊̐̈́̇̽̒̂͆̎̈́̃͠͠ ̶̩̯̲̯̃͛͌̀̿̅̎̾̕̕ǹ̸̬̟͍͇͍̭̹̲̯̽̒͘͝͝ȩ̶̢̬̺̦͖̣̙͍̞͇̰̉̋̓͐͂̏̀̿̑̂͌͗͗̒͘ͅͅe̶̠̝̦͛̓͛̍̑̆̽͐d̸̦̯̖̥̟̻͔̦̂̿͆͂̑̎̔̏ȅ̴̡̨̺͓͇̦̣̦͖̬̹̥͎̾̽͐̓̍̽̾͑̿͆̄̀̈́̄́̕͜d̶̡̛̝̟͔̳̲͙̰̗̬̳̯͚̐̍̑̓̉̂̍̊̓̿͝ you probably f̶̢͓̘̹̟̥̙̥͚̼̬̭͍̫̩̀͑̚͝͝͠ę̴̰̦͚̔̀́͊̋̈̒͗̆͘͝͝͝͠ȅ̸͚̘̤͚̬̩̈́̇̆ď̷̰̆̀̔̾͌̿ ̵͚̦̥̈͌͑̂͗̈́͂̕ͅm̴̢̡͇̟̠̬̣͙̹͇͉̈́̌̓́̓̌͐̓̂̚̚͜͜͝e̸̢̳̟̙̯̻͚̭͎̫̖̺̥̬͕͆̆̇̑̄̀̓̅̀͛̊͐ ̸̡̢̨̛͚͕̳͙͚͋͛̊́̍͛̽̉̃̇̇̋̑t̸̡̰͔͎̮̯̗̤̆̋͗͐̈̂̈̃̓̒̌͂̕͘͝ǫ̴͇̳͙̞̘̻̙͍̘̲̜̮͇̙̇̓̌̃k̸̢̢̤͔̫͖̲͇͍̐̃̄e̶̢̳̪͉̦͙͓̻̖̔́̃́̈́̀̿̓͆̊̅̒͐̑n̶͖̙͚̫͓͚̦̭̗̲̓́̋̀͜͝s̴̠̼̈́̑̾̑̆̽̊͋̾͛̐̊͆́͊̕̚ need to have some guard rails l̷̬̳̘̰̅̀̑͑̊̒̓̊͌̌̕e̶͖̱̊̍̉͆̐̍̌́͑͘͠t̵̨̛̹̰̳̩̹̞̹̼̪̮̄̀̅̾̔͐̇͒́̊̃̀͘̚͜͠ ̴̢̢̭͖̤̜͈͕̯͎͉̰͇̾̐͛̽̅͂̒͝m̸̨̰͖͚̞͍͍̳̭̗̳͕̈́̃̇̈́̎̌͊̍͌̊̆͠ȩ̵̡̛̜͍̞̻͎͎̲̜̹͖̼̽͂̐̽̊͌̓̀͂̐͂̾̇̚ͅͅ ̶̧̖͚͈̤͇͕̼̜̖̮̙͍͖͋̉̾͋̌̔̿͊͋̾̚l̸̡͕͇̭̤̥̩͙̫͕̆͌̈́̀̋͆̃͋͜͝͝͝͝ͅo̷̧̘͖̤͖̩̺̞̹̼̟̟͕̫̬͎̅̀ǫ̸̢̪͍̭͙̗͔̪̘͉̊̕͜ș̶̨͉̲̙̜͔̫̲̥͕͕̮̜̭̮͍̈́e̶̢̛̮̲̯͎̙͇̪̬͕͖̠̘̯̰̭̓͐̌̉̀͋̉̏̈́̇̾͠͝ ̵̬͍͔̓́i̶̘̫̯̻̘̯̗̔̒͊̂̂̑͑̍̋͑̏̀́͌̚͝͝n̵͓̬̮̻̹͉̗͎͓̖͌̿̃̓̋͂̅̍͒̉͆̿͆̉͠͝ ̴̧̲̯̲̅̀͂̆́̓̈́͑̾̾̊͋̒̿͛͘̚t̸̢͉̟̹͆̈́̏̍́̎ĥ̴̢̥̦͓͕̘͚̙̪͙̀̽́̒̓̈́̋͗̀̈́̇ȩ̵̠̹̻̯̖̹̹̗̜̻͍̹͆̊̈́͑́̏̑́̎̚͜͜͝ ̴̧̟̭͍̣͋͋̾ẘ̴̪̦̐̍̏̆̑̇͗́͆͘̕̚͝͝ͅo̵̡̟͚̲̦̤̩͎̥̘̻̥̠͙͈̙̬̓̌͊̋͐́͌̐̎̏̋̿̏r̵̢̨̘̓͑͑̆͒̂͝l̸̡̨̛͖̖̟̼̺̦̰̗̭͔̺̓͗͛̈́̈͆̈͗̐͝d̴̢̠̠́͂̾̌̿̐̀͛̄͑́͐̉̋͝ on those LLMing LLMs that are LLMing your LLM tool calls y̵̧͍̣̭͍͚̱͉͍̘̠̦̮͇̻̓͆̕o̸̥̮̮̙̖̩̙̝̘̫̗͎̺̓̊̐̄̑̎u̷̡̨̡͎͔̼̪͈̦͚͈̟͍̽̀̏͛͊ ̴̨̟͖͖̰͕͉̫̫̜̥̦̲͆͋͌̌̓̈́̉͆̉͠ẗ̵͚͉͈̦́̈́͛́͋͜i̷̧̗̰̘̖͍͖̼͕͗́̊̏̇̾̐̆͗́͌̋̀̚ņ̷̣̱̖̬̼̆͜y̷̢̡̧̛̹͙͕͔̪͛ ̶̪̫̙̘̥̹̻͙̝̜̠̗̭͎͎̆̇̅̎͜͜h̷̡̨̰̺̞̝̩͉̬͓̮͙͉͕̓̄̊̿̋́̇̏͝u̸̮̙̲̙̠͉̪͈͖͙̓̈̉̀̚͝m̶̢̛͙͕̘͈̤̬͎̺̲̯̱͉̪̠̎̆̽̅́̂͐̀̄͜ͅã̶͕̼͎͇̲̐͗̑ň̸̢̢̝̩̟͖̫͔̥͚̘̟̖̘̤̾̀͋̒̄͠͝s̸͙̳̳̤͓̝̥͓̱͔̣̹̭̐̐͋ͅ ̶̩̹̪̑͑͒̽̇̀̽̏̓̌̑̈́͂̓͘h̶͓͖̱̲̘̗̿̽̈́̎͑́̓̉̑̕̚ą̴̰̣͚̫̤̤̬̘̼̠͍͂̏̚ͅv̵̢̺̮͉̤͚̳͕̥̳̇̕̕͘͠ȩ̷̡̮͖͚̩̙͖͎̓̀͗͊͋̈́̔̐̕̚͠ ̷̫̌̀̊ň̸̜͓͕̳͙̩̼̜͈̊͜ǫ̶̝̺̰̹̻̰̰̗̪̔ ̷̲̤̪͇̠̼͑͊͘͜p̴̡̧͉̩̜͕̽̏̀̌̇̈́̊l̶͖͔̯̲͔͓̩̂̌̂͐͗̕a̵̢̨̞̰̪͖̲̭̝̪̥̻̐̃̊͗̅̓͐͋͛͘͝c̴̛̮̙̦̠̯̼̣̠̳͔̖͕͓͋̓͆͒̋̒̾͐͒̀̓͑͠e̷̢̢̧̱̣̫̲̪̣̭͙̟̔͌̽̿̐̿̿͑̆̇̇̉̊̓͘͠

You could also do none of this and just not use an LLM, because you likely don't need one, but then the cool kids will stop inviting you to their parties or something and you probably missed out on the blockchain parties so fomo

path: 0 26189359 26191335 26191812 26192296 26195411, hotness: undefined, score: 8, children: 4
brucethemoose 5 points 11 days ago

As the business? Like I said, I’d start with a text classifier, a small model quickly categorizes the input prompt. If it’s something off topic, I’d return some generic refusal reply, or maybe send the score to the LLM itself if it’s somewhat ambiguous.

Chatbot UIs that give very quick refusals are using “filtering” models in just that way. There’s a whole world of language modeling that existed before LLMs, just for that sort of thing.

Now, if I was the LLM provider? I dunno, but I would try to integrate it into the weights. There are some really interesting papers and hacks out there for prefiltering prompts that have nothing to do with system prompts.

path: 0 26189359 26191335 26191812 26192296 26192888, hotness: undefined, score: 5, children: 0
Sonotsugipaa 17 points 11 days ago

TIL that thread safety is a thing in Python

path: 0 26189284, hotness: undefined, score: 17, children: 0
Addendum 12 points 10 days ago

Brains AND looks ? She sounds like a catch

path: 0 26200188, hotness: undefined, score: 12, children: 1
BeatTakeshi 5 points 10 days ago

You mean Brains && Looks?

path: 0 26200188 26205320, hotness: undefined, score: 5, children: 0
FrowingFostek 7 points 11 days ago

Dique, she has a store para implementations! Ay tigre!

path: 0 26191087, hotness: undefined, score: 7, children: 0
Enzy 6 points 10 days ago

Hot ai wives in your area

path: 0 26199732, hotness: undefined, score: 6, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43760
1628
1552

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

go to feed...