text string | meta dict |
|---|---|
Q: Modify DOM Element by ref in another componet I want to modify the text of a label in another component passing to the last the refs to the label in a props.
const withLabelGroup = (Component, label, groupProps, labelStyle="") => {
const xxx = forwardRef((props, ref) => {
const labelRef = useRe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make autofill INDEX(MATCH) or Lookup if the column is not empty As you know arrayformula allows the formula to autofill for new lines in the tab.
=ArrayFormula(IF(A1:A<>"","111",""))
So whenever you have new entry (line) in column A, "111" will be auto-filled in respective row.
I want to write the formula wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to reduce jitter in data? I have trained a generative adversarial network to generate time series.
On the left you see the original time series and on the right the generated one
As you can see they are similar but I recognized that the generated one has a lot of up/down trends within short intervals that's why... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uploading android symbols files to crashlytics not working in mac I am trying to upload symbols files to crashlytics using this command on mac:
firebase crashlytics:symbols:upload --app="ANDROID_APP_ID" /Users/macbook/debuginfo/testApp/1.2.0+141
But i got this error:
java.io.IOException: Breakpad symbol generation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you inject multiple QueryFactory? The SqlKata documentation lists the following code:
.NET 6
builder.Services.AddTransient<QueryFactory>((e) =>
{
var connection = new SqlConnection(CONST.KenticoConnectionString);
var compiler = new SqlServerCompiler();
return new QueryFactory(connection, compiler... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Media query in CSS do not reconized max and min enter image description here Recently I'm learning to use "media query" in CSS, but, my code it isn't working, aparently does not reconized the comand of "Max-widht" also the "Min-widht". Somebody can identify and say to me what is wrong?
A: You have a typo in the wid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to sort strings arrays from a double array? I have three arrays like below:
string[] shapeTypes = {"circle", "triangle", "square" };
string[] shapeColor = { "red", "blue", "orange" };
double[] shapeArea = { 20, 5, 4 };
I have to sort shapes by the value of their area (ascending order). For example the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In CSS Box Model, Border getting less than 20% of the given size I am having an issue with the CSS border. When I am using the code:
border: 3px solid red
in inspection, CSS box model showing
Problem
2.400. Where is the problem?
I tried the code border: 3px solid red
also tried border: 4px solid rgb(6, 71, 140)
ever... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Changing the woocommerce default tax country location WooCommerce only allows calculating tax based on billing/shipping address and shop base (and geolocation), however I want to manually set the default tax location for new visitors that have not selected a country yet, to a static country without altering base sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My code in VBA does not work; Private Sub Worksheet_Change(ByVal Target As Range) I have developed a worksheet in excel wherein there are cells that have a drop down function wherein you can choose between yes and no. What I would like to do is to write code in VBA that automatically closes/ locks a certain range if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: function isAlphabet will take letters and return true if the order of the letters matches the order in the alphabet, otherwise false I need to implement such isAlphabet function that will take letters and return true if the order of the letters matches the order in the alphabet, otherwise false:
isAlphabet ('abc') =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: issue react-native-bluetooth-classic library when i use this libraray and scan bluetooth device not detect all bluetooth device and i used android 12 and the another side 10 .i am expecting all device android version scan.
what should i do?
here is my code.
import this
import RNBluetoothClassic from 'react-native-bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add decorator for python requests get function I was looking for a way to add some sort of decorator that applies to all instances of requests.get being used in any function.
For example,
@my_custom_decorator
def hello():
...
r = requests.get('https://my-api-url')
...
The my_custom_decorator could then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to solve the CSS conflict after ajax call I am having some css conflicts.
I have a page page1.html with some external css including bootstrap.
.......
<link rel="stylesheet" href="bootstrap.min.css">
.......
<div id="mytextdiv>>My Text</div>
In page1.html, I have an ajax call to populate a div like below:
<div ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: subquery case when then else in postgrestsql I need to return a "T" if there is information in the column fldecdatopersonal_id of the table tblecdatopersonal dp in case there is no information return an "F".
this is my query but I can only get either all "T" or all "F".
SELECT
e.*,
CASE WHEN (
SELECT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: wkhtmltopdf vs. wkhtmltopdf with patched Qt I've been struggling with wkhtmltopdf some days and after realize that header and footer only works with wkhtmltopdf with patched Qt, I decided to use it. Now the problem is that with wkhtmltopdf Bootstrap 5 css works pretty well, but with patched Qt only works Bootstrap 4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Laravel9 how to fix Reservation ID in index with filter date? public function manage1(Request $request)
{
$todayDate = \Carbon\Carbon::now()->format('Y-m-d');
$reservations= Reservation::when($request->date !=null, function ($q) use ($request) {
return $q->whereDate('date', $request->date);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Inserting into table with cte but also with update I need to insert into the Salary table which contains the columns:
ID, EmployeeID, Month, Year, GrossAmount, NetAmount RegularWorkAmount,
BonusAmount, OvertimeAmount, VacationDays and Sickdays.
I have generated all the columns except the Vacationdays and Sickdays.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How get data to react-hook-form from initialState? I have react.ts app. I am using react-hook-form. How can i put data to customInput by using react-hook-form? Please, help me?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75617835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DOSBOX HOW TO MAKE LETTERS BLINK Write an Asssmebly Language Program in DOSBox using DEBUG that displays D O M I N G U E Z at the center of the screen as shown below. D M N U Z same color; blinking O I G E same color; not blinking
i need these letters D M N U Z same color; blinking O I G E same color; not blinking
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75617838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Show class return in Omnet++ I got a new path loss model in Omnet. The class is on the path loss model path (inet/src/inet/physicallayer/wireless/common/pathloss). I need to show the class result (path loss return) beside the nodes (not on statistics), like in the example https://docs.omnetpp.org/tutorials/tictoc/pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I pass a custom python pdf viewer into PQYT5? I would like to embed a PDFViewer (https://github.com/Zain-Bin-Arshad/pdf-viewer) into PYQT5 . I was able to embed mathplotlib viewer by passing the canvas into SetCentralWidget. This doesnt seem to work with PDFViewer since I am guessing it isnt a widget? How to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firestore time related rules On a FlutterFlow google map widget I am trying to display only the markers (locations) that have been added during the last 24 hrs.
On a FlutterFlow google map widget I am trying to display only the markers (locations) that have been added during the last 24 hrs. So I went to the firebas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Weird behaviour in Pyspark dataframe I have the following pyspark dataframe that contains two fields, ID and QUARTER:
pandas_df = pd.DataFrame({"ID":[1, 2, 3,4, 5, 3,5,6,3,7,2,6,8,9,1,7,5,1,10],"QUARTER":[1, 1, 1, 1, 1,2,2,2,3,3,3,3,3,4,4,5,5,5,5]})
spark_df = spark.createDataFrame(pandas_df)
spark_df.createOrReplac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Properly Installing SOCI C++ library and using it with eclipse I have been trying to employ SOCI library for the c++ project I am working on as I needed to access MySQL databases. I have been wrapping my head around how exactly this library works in terms of installing. I have windows 11 and want to use the library ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a concise way to do conditionals where the 'falsy' value isn't displayed in Svelte? I know I can do:
{value ? value: ''}
But having to display the '' for the falsy value is repetitive.
A: For falsiness you can use:
{value || ''}
(Note that this can lead to undesirable results depending on use case, e.g. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Counting categorical variables in grouped dataset in R I am working with a large dataset on the sex, parentage, and species of a group of animals. I need to calculate 1. the sex ratio per dam so that I can calculate 2. the median sex ratio per species. Each row in my dataset is an individual animal with the mother's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter RIverpod changing state strangely I have to state providers. The second one (listWithGlobalIDProvider) depends on the first one (currentListProvider) but the first one is independent. But Adding value to the second provider changes the first provider's value. I am calling the listWithGlobalIDProvider inside ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Postgresql: Transpose Time Series Data - sparse dates I have a time series data where time is stored as 'proleptic Gregorian ordinal' format in a column.
The second column stores the 'class id' for all objects.
The structure of time series is such that it is 'Sparse' - i.e. objects do not have data for all time seri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I manage Memgraph Docker instances using Python? I'm developing Python based graph-based applications I want manage different Memgraph database server instances directly from Python.
Can this be done?
A: GQLAlchemy instance_runner module allows you to start, stop, connect and monitor Memgraph instances with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How add an option to print in ViewverJS? I am using ViewerJS plugin to show PDF files in a modal window.
But it only brings these options, and I would like to implement one more option to print the pdf documents.
I have tried to add it myself, but I have only managed to add the option, but not the functionality to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I create a complex, multi-level navigation menu using only CSS and without relying on JavaScript? I want to create a multi-level navigation menu using only pure CSS, which also has a mobile menu option. I have attempted to create the menu and it is partially functional, but when I try to optimize it for mobi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenAI ChatGPT (gpt-3.5-turbo) API error: "InvalidRequestError: Unrecognized request argument supplied: messages" IMPORTANT
For people who have the same issue: please refer to @Rok Benko answer. gpt-3.5 introductory guide has just been updated. This is the code they report and it works perfectly:
import openai
open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I find the coordinates from addresses in a column in pyspark? I need to generate longitude and latitude columns from the given column of addresses. How do I do it?
from geopy.extra.rate_limiter import RateLimiter
locator = Nominatim(user_agent='myGeocoder')
location = locator.geocode('df.address')
geocode = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Data type and memory usage works If I will assign int data type for a column and assign 1 value then how much memory will be utilised
How data type and memory utilisation works together
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75617873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change Stepper line color in Flutter? I would like to customize my Stepper in my flutter App.
I changed the color of the background number and the Stepper background with Theme(ThemeData), but i would like to change the color and the height of the little line between every steps.
How is it possible ?
Is there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cakephp 4 Authentication plugin stores password hash in $_SESSION I am making a new application and I was looking into the $_SESSION data after logging in. I saw that I can find my password in hash there?!?! Like why? I want to remove the password from the $_SESSION but I don't know how I can do that.
The weirdest ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Url returns 404 not found in Angular 12 web version this is the first time i created a website with Angular. I uploaded the website on the server and it works ok. I browse around it and the pages show ok but if I copy a url from the website e.g. www.project.com/app/home/users/22, paste it and hit enter i am getting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you defined a typedef and still use the spread operator to iterate using map()? I'm trying to define an Object using JSDoc typedefs. So given the following type definition:
/**
* @typedef AccommodationData
* @type {Object}
* @property {string} id
* @property {string} name
* @property {boolean} selected
*/
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set Formik muiltiple select initialvalues to an array/list I am using a form created with Formik, with a multiple-select input field to capture data about an event, which is attended by many people (the multiple-select input field allows selection of the many people). When submitting this form to create a da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Injecting service inside interceptor gives circular dependency error I have a service and there`s a ReplaySubject inside it, which gets value from an API call
SampleService.ts
@Injectable({
providedIn: 'root'
})
export class SampleService {
public testValue$ = new ReplaySubject(1);
public getTestData() {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Text align doesn't work in Fabric.js IText I'm newbie using Fabric.js and I have this issue:
I put 2 IText objects in the canvas and now I want to align their texts clicking the buttons, but I doesn't work. I put a console.log() to check if I'm getting the attribute correctly, and it's ok, but It's not applying the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loop Through Folder & Copy Specific Worksheet to New Workbook I am looking for a macro to loop through a folder and copy the worksheets labeled "Working Copy" from many workbooks and paste these as their own worksheet on a new workbook that the macro creates ("Working Copies") that will be saved in the same folder. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select multiple rows in table with JavaScript based on text I need to multiple select a series of iterated rows with JavaScript. The one issue I have is the rows are not always next to each other and I would like to select based on contained text. I can select by index with my following code just fine:
document.getE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embed Content of a Canvas Div from a Weather Site into an iFrame on another Site I need to devise a means of grabbing and embedding the graph for air temperature history from the website of a remote weather station on the Scott Glacier in the Chugach Mountains of Alaska onto a different site which I am building that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure Functions TimeTrigger does not trigger .NET6 Runtime v4 I have a function app that has multiple triggers, each with different a type of trigger. But the timetriggers are not firing. Also I am not able to start triggers from the Azure portal console. The buttons are greyed out and this message is below (Your ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I write a script that turns off the selectability of the layer in the current MXD file ChatGPT suggested me the following script but arcpy doesn't have a "setSelectionState(False)" function
import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
for lyr in arcpy.mapping.ListLayers(mxd):
lyr.setSelectionS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase Storage not overwriting image I am trying to upload profile pictures to my firebase storage using swift.
The problem is that when the user posts a new profile picture, it doesn't overwrite the first one. On my app, it still shows the old one, even though on the database, it shows the new one is uploaded.
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make cheats for ipa games? Recently I was wondering how to make cheats for games like standoff-2 and critical ops, guys, who can help? How to make your own cheat menu in html and css, and write functions so that they work (Js), like aim and radar?
I can create a cheat menu, but I don’t know how to make a func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How do I make the animation start and end inside .item1 div rather than on top? I want the welcome to appear from the left side of the .item1 div and disappear from its right side.
Right now, it starts from the page itself and doesn't behave like it's inside a box.
It acts like it's relative to the root container ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes - Kafka timeout to connect to zookeeper I am using Strimzi to deploy Kafka cluster on Kubernetes.
My zookepers has been running with 3 replicas but my kafkas pods are in CrashLoopBackOff status.
I take a look on the logs and I saw in Kafka logs :
2023-03-02 14:37:39,092 INFO Opening socket connection to s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save the sensor value and repeat it during serial printing until a new value is received The use of the espnow protocol allows multiple esp32 connections. When data comes to master esp in json format, data comes sequentially.
When deserializeJson is made and printed, the values come from the first slave esp to be pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter: Why can't remove an item from a list with the .remove() method and a textFormField Hi I have a list of Daytile objects and I want to remove them based on an AlertDialog that asks the user to input the name of the dayTile they want to remove. However, even when inputting the name exactly as it is, the elemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to implement a pie look instead via Material Spinner component or some other component usable by Angular? I want to change the look of a project to have its progress of a data piece using a more pie chart look instead of the thin line used with Materials Spinner. I know you can change the diameter and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to intergrate semBCreate(VxWorks) and sem_init(Linux) signal function I have a task that , i have a large code based on Vxworks, now I want to migrate it to Linux C language. My aim is to not change my original code, just like the below:
#ifdef COMPILE_IN_LINUX
pid = semBCreate(int arg1, long int arg2){
sem_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to run Flutter app on IOS simulator in mac? I want to run my flutter app on iOS simulator but I have this error:
Running pod install... 843ms
CocoaPods' output:
↳
[!] Invalid `Podfile` file: undefined method `exists?' for File:Class.
# from /Users/admin/Downloads/m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why PyQt5's loadUiType() returns an error? For some reason, when i use the loadUiType() function pyhton returns an error
from PyQt5.uic import loadUiType
loadUiType("untitled.ui")
the error
I have tried to re-make the project, reinstalling pyqt in pycharm, still havent helped, plz help
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75617923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Individual User Folder Security ASP.NET MVC Hoping someone can help, I have created an app using Flutter however it is simply a shell app that uses a webview to display an already existing website.
The website in question is an ASP.NET MVC website using ASP.NET identity. The website is secure and only logged in user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Failed to launch app from custom SageMaker image: ResourceNotFoundError with UID/GID in AppImageConfig I'm trying to create a custom SageMaker image and launch a kernel from it, because I want to see if I can use black, the python code formatter, in SageMaker Studio via a custom SageMaker image.
So far, I've been ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Relative path with anchor tag to load local file I'm trying to open a local file with a relative path and I'm using file:/// protocol since by default HTTP is used with an anchor tag.
<a href="file:///./my_docs/foo.txt">Open foo</a>
The file foo.txt is inside the sibling folder of the file containing the above anch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SMA crossover Filter for overlap signal pandas i have a pandas dataframe
time price buy sell
1 1 0 0
2 1 buy 0
3 1 buy 0
4 1 buy 0
5 1 0 sell
6 1 0 sell
how can i archeive like this
mean filter for overlap signal like continuous buy, buy
time price buy sell signal
1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I don't know why these codes will not encounter an IndexError class Solution:
def twoSum(self, nums: list[int], target: int) -> list[int]:
checked = {}
i = 0
while target - nums[i] not in checked:
print(i)
checked[nums[i]] = i
i += 1
return [ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Use Jwt token to access data in a GraphQL endpoint How can I use the token returned from a mutation to query the data in a GraphQL endpoint. I was given an endpoint
I am meant to mutate it when a user logs in or signs up, then display the user data
This is my first time using GraphQL. I have written code up to the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Crear una funcion de compra en mql4 que sea optima DESEO CREAR UNA FUNCION DE COMPRA EN MQL4
INTENTE CREAR UNA FUNCION DE COMORA EN MQL4 Y NO SALE BIEN
| {
"language": "es",
"url": "https://stackoverflow.com/questions/75617933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Last event_type counting is wrong I want to each user last event_types.
Here is the Query:
GET test_index_01/_search
{
"_source": ["user_id","event_type"],
"size":15,
"query": {
"bool": {
"must": [
{
"term": {
"store_id": {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adaline Simple Layer Neural Network Class in Python and ValueError: operands could not be broadcast together with shapes I am not new to (supervised) machine learning, but I am a beginner in PYTHON and specifically in numpy. Following an ebook, I am trying to define a working example of Adaline NN for a classificat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tomcat not starting as service when we use Oracle JDK 11.0.18v I am trying to start tomcat9w.exe as service on Windows 2019 server machine with Oracle JDK 11.0.18 and it is not starting. This issue was NOT observed when I am using JDK 11.0.17 or earlier versions. It is throwing a error saying
Windows could not start... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MasterMind Decoder Console App using C# FilterMethod I need to have my computer solve the game MasterMind, given a secret code that I am thinking of. The secret code that I am imagining consists of digits from 0 to 9 and can be composed of 3, 4, or 5 characters. The only information that I can provide to my program ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dropzone & PHP PDO Picture Upload Limit Problem I was able to upload a total of 48 photos on the image upload page I made with the dropzone plugin, but no more can be uploaded. I put the image in the drag and drop section and it shows as uploaded. I do a refresh but it is not saved in any way. No problem uploading t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Codeigniter 4.3.2 event on database change I've been trying to get codeigniter ( version 4.3.2) to do some extra database entries on every database change.
with some searching, I've come up with a model:
<?php
namespace App\Models;
use CodeIgniter\Events\Events;
use CodeIgniter\Database\Events\ConnectionEvent;
use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I take the #text part of the website with BeautifulSoup? The website has this in the inspect code:
<a href="https://eltlearningjourneys.com/2015/05/12/5-different-english-classes/" rel="prev">
<span class="meta-nav">←</span>
Previous
</a>
The "Previous" is a #text. I'm scraping with beautifulsoup
but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CentOS7 - Upgrade Docker to latest Version without losing running containers I am working on a centOS environment and I have configured kubectl using kubeadm to work with k8s and learn about it. I have configured it using containerd as I am working with k8s v1.26.2.
The problem is that I am not able to configure the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to sort RDFLIB output based on the lines of code written and not alphabetically? when I save my RDFLIB code, the output TTL is alphabetically ordered. However, I want parts of a group to be together, or at least the output follows the lines of g.add(()) command. Is there away to do this?
#start:
from rdflib im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Transfer UTM parameters between pages I'm trying to capture UTM parameters and pass them onto any subsequent page visited, for example:
Initial visit: website.com/?utm_source=A&utm_medium=B&utm_campaign=C
User clicks on Contact on navigation (website.com/contact/), the UTM values are transferred to this URL: website... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stop geom_point from interfering with geom_bar? I have a complicated (for me atleast) ggplot. There are 3 things I just can't figure out how to change. 1) How to I change the color of the geom_point from pink to my defined color code? 2) How do I remove the word colour from the legend? 3) How to I make it so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generic react children type for compound components I have a Table component that accepts Column components as children:
<Table data={data}>
<Column cell={(c) => c.date} header="Date" />
<Column cell={(c) => c.count} header="Count" />
</Table>
I want to type Table and Column so that cell props infers th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running QT in netbean in C++ in windows 10? I am trying to run the QT-4 Form application netbeans in C++ in widows 10.
Here is my file Hierarchy.
Here is my code "newForm.h"
#ifndef _NEWFORM_H
#define _NEWFORM_H
#include "ui_newForm.h"
class newForm : public QDialog {
Q_OBJECT
public:
newForm();
virtu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Rewrite a 302 redirect to https I have a spring boot app with protected pages. The index page is public, but when the user clicks on a protected page spring sends a redirect to a configured login page. Once the login is successful it redirects to the initial requested page. My problem is that these redirects are not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: opam: unknown option `--bare', hence can't initialize Trying out https://cs3110.github.io/textbook/chapters/preface/install.html#initialize-opam.
WSL2, using ubuntu on windows for 6 months.
Running opam init --bare -a -y
results in
opam: unknown option `--bare', did you mean one of `-b', `--safe', `--make'
or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looping through ("Spanning across") dates in Python with variable months and years? My requirement is to loop through calendar dates in python in 2-day increments capturing every date across multiple months or years without repeating any dates.
I'm sure that sounds confusing so I've posted some reference visuals to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MAUI and enrty as IsPassword security. Is it enough to binding it to a string property of the view model? I have a login page and for the password, the unique option it is to use an entry with the parameter IsPassword as true. But it is still a string, so in my view model I can't use SecureString for the binding, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing Screen using TabbedPanel Item | Kivy | Python I am using kivy to create an app which will be having multiple screens, I am using Screen Manager component to manage the screens.
<AppScreenManager>:
Screen:
name: "HomeScreen"
HomeScreenLayout:
Screen:
name: "ImageScreen"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to just copy assets from entry directory to output directory with Webpack? say my entry is this:
counters
block.json
counters.css
counters.php
counters.js
I'd like to only process counters.js, and just copy all the other files to the output directory. How to with webpack? Which tool?
A: I've found ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting authorization error after upgrading EKS to version 1.25 (user=kube-apiserver-kubelet-client, verb=get, resource=nodes, subresource=proxy) All my permissions were working fine before. After upgrading to EKS 1.25, I started getting the error below when doing kubectl logs pod -n namespace
I tried to debug it. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R - data cleaning and mutate errors I have reviewed Error: Problem with mutate() column (...) must be size 15 or 1, not 17192, How to drop columns with column names that contain specific string?, Remove columns that contain a specific word, and associated error troubleshooting.
I have a large dataset with viral data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to register a new user in react native using mongoDb as Back-end I'm new to programming and going through the normal challenges. I'm trying to register a new user but I'm always seeing this error
Possible Unhandled Promise Rejection (id: 1):
[AxiosError: Network Error]
Though my back-end is working perfectly b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to import a module that is part of a package that imports another module which is in the same directory of the imported module? My files are in the following structure
main_dir/
├─main.py
└─utils/
├─func_a.py
├─func_b.py
└─__init__.py
The script main.py imports the module func_a.py which imports func_b.py... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: graph places y values chronologicaly instead of from min to max value I'm plotting a graph using the database values for temperature, pressure and humidity. The y axis values are all messed up. Hod do I fix it?
def plot_graph():
time_arr = [date.date for date in qry.all()]
temp_arr = [temp.temp for temp in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract with regex an optional 2nd capturing group after arbitrary string following the first mandatory capturing group In a Pandas dataframe I have a column with string descriptions that needs to be parsed to several attributes and I'm trying to do that with str.extract method.
Since description may contain ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concatenate three different attributes to an array in Rust I have three attributes a = 1; b = [0u8; 32] and c = 5. I want to write a program in Rust which will accept these three inputs and concatenate them into one single array of type u8. So the resultant array looks like [1, 0, ...... ,0, 5].
Is it possible to do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: dask client.scatter command hanging I have a 4-band raster image (NAIP imagery) and another raster obtained by the scipy SLIC algorithm containing integers that indicates the segmentation on that image.
The next step in the workflow is calculate statistics for all the pixels in a segment, and there are 300,000+ segm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Html.DropDownList - Html.GetEnumSelectList Setup in .net 4.8 mvc:
Model
public class FirstLevel
{
public IEnumerable<SecondLevel> SecondLevelEntities {get;set;}
}
public class SecondLevel
{
public AnEnumType EnumTypeSample {get;set;}
}
public enum AnEnumType
{
noone = 0,
[Display(Name="First one")]
first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replacing GELU with ReLU in BERT inference I have a question for what concerns BERT.
Actually it uses GELU activation function since it performs better than ReLU, but this is because of the gradient near zero. In inference, we do not really care about gradients (are we?), so would it be a stupid idea to replace GELU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75617998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I fix "unable to build chain to self-signed root for signer"? It is amazing to see how many people have posted questions revolving around this same issue.
I have read most of them on here and on Apple's developer forum, and I have downloaded, installed, deleted, trusted, etc. all sorts of Apple Worldwide Deve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concatenate all csv files in a folder using pandas and remove leading comma I'm trying to write a basic program to concatenate a bunch of csv files in a folder, into a single file. Hopefully, with the column header displaying only once. All the files are arranged in the same way regarding numbers of columns and head... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wandb — ImportError I've successfully installed wandb on a Linux system, however, I run into an error when I try importing it.
>>> import wandb
[...]
ImportError: [PATH]/.local/lib/python3.8/site-packages/google/protobuf/pyext/_message.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN4absl12lts_2023012512log_int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: T-SQL Efficiently assign Tables to group according to Table seats and group Persons I've always used programming languages to work with combinations, but since latest project has more than 40 tables,
I was wondering if better result can be achieved via TSQL, although there is always the DB bottleneck to consider:
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: extract substring from a string in python? I have two strings like below -
1)500 Rahway Avenue, Westfield, NJ 07090
2)910 N Harbor Drive, San Diego CA 92101
Want to get 2 Expected output-
1)Westfield
2)San Diego
And
1)NJ
2)CA
I tried below approach for output NJ and CA -
s1.rsplit(" ")[-2]
But this is not the ri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django models relationship confusions between ManytoOne, OneToMany and ManyToMany relationships I'm learning Django framework and having troubles with models relationship.
I can't understand where should I use ManytoOne, OneToMany and ManyToMany relationships. And it's getting even worse when I try to imagine it.
Fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How should BCELoss relate to accuracy? I'm running a feedforward classifier neural network in PyTorch, in what should be a really simple test case to provide a baseline against which to evaluate more complex techniques, and puzzled by an aspect of the output, specifically that BCELoss goes to zero while accuracy on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75618021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |