Latest Questions

Do you know where’s the Vary for Traits in Xcode 13?

I can't find Vary for Traits in Xcode 13. Thanks in advance for any help!

How do you execute terminal commands from Golang?

I'm creating a CLI tool in Golang, and I'm new to both Golang and making tools for the terminal. I need to execute terminal commands right from my program (spec

Two arcs while using Pygame tranform.flip

This is my first real code project. I am trying to create a Crash gambling project for a math project at School. My current problem is that when I flip my arc i

How to return custom JSON response in DRF?

I have created API for News model: models.py class News(models.Model): title = models.CharField(max_length=255) created_at = models.DateTimeField(auto_n

ZABBIX AWX, sync invetory

Is possible sync the inventory of Ansible tower (AWX) running in containers with Zabbix inventory? Any code or playbook to make this appreciate a lot!

Dropping NA-values with a MAX threshold and not MIN threshold

Is there any way to remove columns from a dataframe that has LESS NA-values than for instance 200? So instead of df.dropna(threshold = 200) we want the opposite

Connection refused testing health page in azure pipleine

My target is to run our postman integration tests inside our azure pipeline. For this I am trying to access the health page of my service inside the Azure Pipel

Simulating a square wave with a duty cycle (python)

I was trying to simulate a square wave with a duty cycle but something went wrong and i've been spending the last 3 hours understandig why. Here are the picture

Change Appbar backgroundColor in MUI

The default Appbar color is set by MUI to the primary color, which is the blue color. If I wanted to change that color directly using sx={{ background: 'white'

Ignite cluster runs within Kubernetes, but applications are outside of it

Is there a way to connect C# Thick Client running in the Windows Machine outside of the Kubernetes with Apache Ignite Cluster nodes are present in the Kubernete

How to write random matrix using loops and without numpy

How can I create two matrixes without numpy as A and B(can also do these operations)? import numpy as np A = np.random.randint(-9, 9, size=(5, 5)) B = np.rando

Different Java Regex matching behavior when using UNICODE_CHARACTER_CLASS flag

I was testing the behavior of the Pattern.UNICODE_CHARACTER_CLASS flag for different punctuation characters and noticed that the matches for grave accent charac

Google Ad Manager : The VAST url always shows "aderror:1009 The VAST response document is empty"

I created an audio Ad Unit like this audio ad unit and I follow the steps to create the VAST url step 1 step 2 step 3 then I get the VAST url https://pubads.g.d

SQL: What am I doing wrong? adding / sum returns null

Totally MySQL newbie here. I'm a network systems management student and I have a problem with one of the exercises. The exercise asks to create a function that

main.js file size is too high - Micro Front End with Single SPA

I am trying microfrontend using Single SPA Framework, i span one angular application and did the Single SPA Configuration. When i try to boot the angular applic

Cypress can't drag a custom angular cdkDragHandle

I'm losing sanity over this one. I have one drag and drop list in my app with a custom drag handle and cypress seems to be unable to drag it. Manually when the

Export Excel tabs and set page formatting at same time

I have some existing VBA code that works great for exporting all tabs in my workbook as individual sheets named by the tab name. I just want to be able to set

DBMS ERD Design

I am planning out an application's database. I have an employee table. I want to store every employee's education degree. Adding an education column to the empl

Element touching the edge of the screen on mobile (Material UI)

New to MUI. My element seems to be touching the edge of the screen on mobile. I tried adding padding and margins but it just squeezes the element. https://code

How many days it takes to verify/review my Google developers students club lead application form

I've registered for a GDSC lead couple of days ago, I'm so curious about reply mail from them. Does any one know about the verifying/review process of GDSC lead

Find patterns from one file in another file

I'm trying to find patterns from one file in another file. The pattern in file one looks something like this: ENSG00000203875.13 ENSG00000262691.1 ENSG000002549

Firebase SDK for Python: How to initialize App using apiKey?

There is the following code inside a Node.js project: Soon.app = initializeApp({ apiKey: "AIzaSyB4fcG8rtNWAiAtSmxmK3q3JLfMvtNCGP4", projectId: "soonaverse"

UIButton position to right side of UITextView in a growing textView

I have a UIButton() in a textView. let expanButtonHeight = bounds.size.height expanButton.frame = CGRect(x: textView.bounds.size.width - expanButtonHeight,

How can I auto populate several excel sheets from other Excel files

I am currently working on a power bi dashboard that uses an excel file as a data source. I want to auto populate the excel file with new values from existing ex

My Wordpress Mobile Toggle menu not wrking

The mobile toggle menu on my wordpress website is working in the editor but not on live site on the mobile.

What wrong with Vue scroll modal?

Im trying since yesterday find a way to screen a modal on Vuejs, when i scrolling down a page, the problem is i got nothing on my screen when i compile the code

How to use Bootstap offcanvas sidebar with bookmarks

I have a webpage with a long list of items (Bootstrap "cards," to be precise). Using Bootstrap 5, I have added an offcanvas sidebar with html bookmark links to

How to check in SCSS if a variable exists and ha a value?

I am new in SCSS so bear with me :) I have a use case where a SCSS variable --my-variable can exist and can have a value depending on some settings from the bac

ESP8266-01S (AzDelivery) x Arduino nano (AzDelivery) not working

I'm trying to work with my ESP8266 but it won't work. I followed this (https://www.youtube.com/watch?v=ZJnpgYlelEA) video but it won't work. I thought, that my