“Search prompt engineer”
“Search prompt engineer”
Ah, taking inspiration from late 1940’s literature, I see. Smart!
Simple features are often complex to make, and complex features are often way too simple to make.
I assumed the handles are for chairs that are overly heavy and hard to grip.
It’s useful for keeping track of your mental gymnastics.
I don’t know, something about seeing the same diarrhea pills ad over and over doesn’t exactly spark joy for me.
It may be possible to use the Any
trait to “launder” the value by first casting it to &Any
and then downcasting it to the generic type.
let any_value = match tmp_value {
serde_json::Value::Number(x) => x as &Any,
// ...
};
let maybe_value = any_value.downcast_ref::< T >();
I haven’t tested it, so I may have missed something.
Edit: to be clear, this will not actually let you return multiple types, but let the caller decide which type to expect. I assumed this was your goal.
I considered the smaller one at first, but decided to take the larger one and use the compression straps to keep it tight when packing a smaller volume. It doesn’t feel as bulky as I thought it would at first.
Got myself a proper hiking backpack. An Osprey Exos 58L. Shifting much of the weight to the hips makes a massive difference and my back was very happy!
Also the Swedish classic “glida in på en räkmacka” ((to) slide in on a shrimp sandwich), which basically means to end up somewhere (location, career, situation) without any difficulties. The shrimp sandwich symbolizes a life without difficulties or in some luxury.
Then there’s also “halka in på ett bananskal” ((to) slip in on a banana peel), which is similar to the above, but not always favorable and you don’t have any plan or preparation. You just winged it or it just happened by accident.
To make things worse, that teapot doesn’t have a bottom surface.
Do you want the background to have looped back to the start after one cycle? If so, you probably have to make it repeat N times more than the foreground, and move by a factor of 1/N in comparison to the foreground. Or put another way, have 1/N times the length. That means that after one cycle, the background has moved a distance of 1/N, but also repeated exactly once.
I hope this makes sense…
That’s definitely part of “the deal” with MIT and Apache. The other end of it is that they shouldn’t really expect to get anything more than what the authors are willing to give.