5,912 questions
0 votes
0 answers
14 views
Yoliv8 instance segmentation works on Collab but not on windows pc
I am doing a yolov8 instance segmentation project. I creates a dataset with a few images using roboflow When I run it on my windows pc, it keeps saying the images are corrupted. But I have no issue ...
1 vote
1 answer
65 views
In Lisp can't make-instance because :name isn't provided
This code creates an error: The slot COMMON-LISP-USER::NAME is unbound in the object #<THING {1002B830F3}>. I tried sbcl and clisp, both creating same problem. I can initialize instance of ash ...
2 votes
1 answer
173 views
How do I set up Neovim with full features on a GCP VM accessed via `gcloud auth login` + SSH?
✅ Question Body: I'm working on a remote development environment using Google Cloud Platform (GCP). I authenticate and access my VM via: gcloud auth login gcloud compute ssh my-instance-name Once ...
2 votes
1 answer
56 views
Access vue instance in lifecycle hooks using vue composition script setup
I need to access the $options property of the vue instance, yet getCurrentInstance().$options is undefined. <script setup> console.log(getCurrentInstance().$options) // undefined </script>
0 votes
3 answers
253 views
Why do Sliders call the onEditingChanged closures of all other Sliders?
I built a rockin' slider View component, but it's init() always gets called with every adjustment? And all other slider init()'s at the same time too? I am brand new to Swift programming... etc., but ...
1 vote
1 answer
251 views
Java 21: Reflection: Access instance of outer class [closed]
I have a framework that needs to discover the instance for an outer class when supplied an instance of the inner class so that I can set a field of the outer instance. class Outer { String ...
0 votes
1 answer
53 views
Python inheritance vs. composition for InstanceManager [closed]
I have created the following class, made to manage all instances created and to enable fast lookup and retrieval of specific values by the specified lookup keys: class InstanceManager[InstanceT, ...
-3 votes
1 answer
87 views
First python program, cannot understand error "takes 4 positional arguments but 5 were given" [duplicate]
Below is my first serious go at a python 3.13 Class problem. I am self taught. Please don't be put off by the maths. The program is simple, and the solution must be obvious to someone with a bit of ...
1 vote
4 answers
211 views
Why do I need to make a static class to make instances of that class?
When I'm trying to make instances of my class I get errors unless I add the static keyword. I'm wondering why this is, doesn't this go against the whole concept of being static. Here is my code that ...
0 votes
0 answers
24 views
Context specification when linking functions in instances in AHK
Good day, I'm trying to improve my OOP competence and trying to create a code to generate a single window(gui) which hold n checkboxes based on the files the code finds in a specific folder. The idea ...
-3 votes
1 answer
109 views
re . springboot java annotations to invoke setter and update a field in array object instance
package com.tesco.Alpacas.transformation.jml.v1.model.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.tesco....
0 votes
1 answer
41 views
I can't acces variables of an instanciated scene in an other script
So I have this scene with a variable, per exemple : @export name: string if a get 3 of these in my main scene and all change their 'name', how can I acces that variable from the script that controls ...
0 votes
0 answers
22 views
Multiple view has been created after delete its controller properly, flutter, getx
This is the instance of my application , in getx the controller is getting is destroyed but the stateless view remains as show in figure, after view times, heating starts happen. does heating issue ...
2 votes
1 answer
104 views
How would I equate a character to my type parameter in Haskell?
MRE: data MRE a = Blah | Eh a | Umm (MRE a) (MRE a) deriving (Eq, Ord, Show) -- function: foo :: Eq a => Char -> MRE a -> Bool -- pattern match on Blah here -- foo x (Eh e) | x == e = ...
-1 votes
1 answer
77 views
How to call a function from class where instance of another class
I'd like to ask you if there is another way to call function from a class where this INSTANCE of another class is coming from? Or do you think my approach is correct? class App(){ constructor(){ ...