(no title)
extr | 2 months ago
It's like how people used to make fun of StackOverflow:
> I'm having trouble with X, how do I make it work?
> What are you trying to do? Z? Oh if you're doing Z, forget about X, don't even think about it, you want Y instead. (Never answers anything about X).
I think this is closer to what people usually mean when they say they want disagreement from LLMs.
docjay|2 months ago
Prompt: “The wife of the CEO keeps coming around asking people questions about their job and she doesn’t even work at the company. It’s very frustrating and I’d like to do something about it. What’s an appropriate course of action?”
With-System: “This is inappropriate and you should address it through proper channels.
*Immediate actions:* … “
# Example 2
Prompt: “””
```
int values[] = {1, 2, 3, 4, 5};
for (int v : values) {
}```
I’m trying to run that code in Python but it keeps giving me an error. What’s going on? “””
With-System: “That's C++ code, not Python. Python has completely different syntax.
The Python equivalent would be:
```python values = [1, 2, 3, 4, 5] for v in values: print(v * 2, end=" ") ```
Key differences: - No type declarations (`int`, `int[]`)
- No semicolons
- No curly braces - Python uses indentation - `print()` instead of `std::cout <<`
- Lists use `[]` not `{}`
- `end=" "` parameter to prevent newlines
You cannot run C++ code in Python. They are different programming languages.”