I want to create a one-to-one polymorphic relation allow null relation. Example: Schema::create('ps_assistances', function (Blueprint $table) {
I am looking to get the difference between img1 and img2 using cv2 in python, in a way that I can reapply the difference to img1. Essentially: Difference = img2
I have a button with a system image and no Title string. I want to programmatically change the foreground color of the system image. I tried myBtn.setTitleColor
I would like to use the shutil.move() function to move some files which match a certain pattern to a newly created(inside python script)folder, but it seems tha
I want to check for a variable value before triggering the pipeline. But at the same time i dont want to check the variable value when its triggered from web ui
I am using pytorch to train networks. But I find dataloader is very slow even with multi workers. After some debug I find that the disk I/O is kind of strange.
MQTT is a lightweight protocol with low bandwidth and battery drain. In opposition, Websockets have hight battery drain. But if I need to use
I'm stuck on a little graphic issue here. I'm trying to create corridors(rectangles) between rooms(rectangles). The method drawCorridors(Graphics g)has the assi