my problem is that from any node there are two possible lines to an edgezand I’m never sure which is the correct one
- 0 Posts
- 7 Comments
dreugeworst@lemmy.mlto Technology@beehaw.org•Someone got Gab's AI chatbot to show its instructions2·1 year agoI mean, this is also a particularly amateurish implementation. In more sophisticated versions you’d process the user input and check if it is doing something you don’t want them to using a second AI model, and similarly check the AI output with a third model.
This requires you to make / fine tune some models for your purposes however. I suspect this is beyond Gab AI’s skills, otherwise they’d have done some alignment on the gpt model rather than only having a system prompt for the model to ignore
dreugeworst@lemmy.mlto Programmer Humor@programming.dev•Why pay for an OpenAI subscription?4·1 year agoIs the current incarnation beatable, or was that a while ago? I’m not making any progress
So from within vim
:!pkill vim
?
Yes please, I would love not being able to scan comments to see if they are relevant to what I’m trying to do
dreugeworst@lemmy.mlto Programmer Humor@programming.dev•Everyone should have a tool-building factory factory factory1·2 years agoI think the main reason OOP has a well-known term and pattern for dependency injection is to differentiate these two (out of multiple) options:
- the constructor of my object creates other objects it depends on itself
- I construct the dependencies of my object elsewhere and pass them in to the constructor and use an interface to make it easy to swap behaviour
However, this becomes less of a pattern in functional programming as you wouldn’t make such objects to begin with. In FP, you pass all parameters where a function is invoked, and DI just becomes using generic parameters. You wouldn’t instantiate a dependency on each function call after all.
As this is such a minor change, it’s not really talked about much and it’s not really a pattern,
it works great on desktop using mouse too