text string | meta dict |
|---|---|
Q: Periodically running function on all running threads from `LD_PRELOAD` library I am working on an LD_PRELOAD Unix tool that requires periodically pausing and inspecting all running threads with little overhead.
I already have a working version for single-threaded applications, leveraging signals and static initializ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replacing a list of id by the result of an SQL request I'm trying to do something like:
<entity processor="MarkLogicEntityProcessor" pk="id"
preImportDeleteQuery="[...]"
query="
declare namespace xms='[...]';
declare namespace gm='[...]';
declare namespace qc='[...]';
declare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fastest operation to combine 2 dataframes with 1D array in each cell to 1 dataframe with 2D array in each cell I need to create a dataframe with in each cell a 2D array. This 2D array is a combination of one array from dataframe A and one array from dataframe B.
I tried applying a function on dataframe A in which I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I hover and use a stretched-link on an image in the Bootstrap 5 Card I have a bootstrap card with a streched-link to navigate to the content page on clicking on the card.
if I use the stretched-link the hoverImage is not changed.
<div class="container">
<div class="row">
<div class="col-m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: the video is not playing I use embed yt video <VStack w={'full'} marginTop={['70px','0']}>
<video controls controlsList='nodownload' src="https://www.youtube.com/embed/watch?v=/-G_F2kV7zBo?controls=0&start=1" style={{
width:"100%",
}}></video>
<V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there a way to limit WooCommerce wc_get_orders to only query certain orders I am in the process of converting some code over to support the new WooCommerce HPOS.
The old query is as follows:
$orders = get_posts(
array(
'post__in' => $order_ids,
'numberposts' => -1,
'order' => ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Create a Smooth Slide Toggle with ReactJS Can we create a Smooth SlideToggle with ReactJS like this
https://www.w3schools.com/jquery/jquery_slide.asp
Also please refer:
http://jsfiddle.net/rFn5v/3/
I have seen too many tutorials and every one is using states to do the slide toggle function and it is not smoot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass data from electron to react front-end I can't pass data from electron to react inside app.
Here is the electron code:
function DownloadZip() {
getJSON(updateURL)
.then(function (body) {
const res = JSON.parse(body);
if (res.version !== appVersion) {
const downloadURI =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is /proc/self/fd/N forbidden after setuid? Consider running the following Python code as root:
import os
f=os.open("/etc/shadow", os.O_RDONLY)
os.setuid(65535)
os.open(f"/proc/self/fd/{f}", os.O_RDONLY)
Here is a one-liner convenient for pasting:
python3 -c 'import os; f=os.open("/etc/shadow", os.O_RDONLY); os.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the names associated with Python Tkinter get_focus()? I have a Tkinter script that has multiple Entry widgets. I have a method that gets the Entry widget that has "focus": i.e. focused = self.root.focus_get() This will return something like this: .!labelframe2.!entry
What I really need to know is
*
*The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the max column length of TEXT field in Hibernate? I have a text field in my Hibernate entity as shown below:
@Column(nullable = false, columnDefinition = "TEXT")
private String content;
So, what is the default and suggested length for this field (it is a content of a blog)? And should I set it using length ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I switch users with their groups groups in Python? How do I switch to an admin-user account from this python script named root_and_user.py that was run with doas or sudo?
#!/usr/bin/env python3
from os import geteuid, seteuid
from subprocess import run
from sys import argv, exit
def touch(fname):
with o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use torchsummary in decision transformer I want to use torchsummary in Decision Transformer.
The forward function is like that
def forward(self, states, actions, rewards, returns_to_go, timesteps, attention_mask=None)
And sample shape is like that
states : (batch, 20, 11)
actions : (batch, 20, 3)
rewards ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all combinations of two from a column in Excel I have an Excel sheet with names of competitors on Column A.
I need to create a list of all possible combinations of 2 competitors.
In the example I have put 5 people. In the list all competitors compete once against eachother.
John
Melinda
David
Samantha
Eddy
John... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unexpected ref object provided for select. Use either a ref-setter function or React.createRef() I have a form, was working before, but after update react from v17 to v18 doesn't work anymore.
<label for="tipo_documento1"><p className="formLabel">Tipo de Documento *</p>
<select ref={register('tipo_de_document... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Update Description field of Account with all related contact Name comma separated getting error that Variable doesn't exit
Variable does not exist: Description
Variable does not exist: contacts
Trigger Handler
######################################################################
public static void UpdateDescription... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gitlab CI variables for merge request source branch, source so in my gitlab ci, i'm trying to find a way to get the source of the merge request source branch.
I'll exaplin:
i create a branch from main > my_branch
i create a branch from my_branch > add_stuff
What i try to do is:
if i create a Merge Request from add_s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I count the rows that are in a certain month and have all nedded checkboxes selected I have this table:
How can I count the number of rows that are in February and have all checkboxes ticked?
I tried some things with BYROW but it didn't work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Telegram Bot does not return the response to the administrator to the user from telebot import types
import telebot
token = 'token'
bot = telebot.TeleBot(token)
admin_id = 12345678
user_id = None
@bot.message_handler(commands=['start'])
def start(message):
if message.chat.id == admin_id:
bot.send_mes... | {
"language": "ru",
"url": "https://stackoverflow.com/questions/75558589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to define custom response interface for GraphQL Query resolver? How can I tell my Query resolver that the type it is returning does not need to match my GraphQL schema type since the data is going to be formatted by my type's custom resolvers?
I am using codegen with GraphQL to generate my schema and type interf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WinError 2: The system cannot find the file specified I am brand new to setting up an editor for Python. I am trying to setup Sublime Text to start learning Python for my job.
I have setup the editor and attempt to run the 'Hello World' text using the Python build within Sublime.
The following error message occurs:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Intellisense in razor/cshtml files not working (Visual Studio 2022) We are used to intellisense everywhere and suddenly it doesn't work.
To my frustration, this was only the case on my work computer, the installation at home does work. Both has been updated to version 17.5.0, but I think the problem also existed wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use data flow activity and derived column transformation to do column mapping in ADF and load it in SQL Server table I have fixed length .DAT files in a ftp server and I need to use data flow activity and derived column transformation to do column mapping using ADF to be able to transform data before loading ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to combine multiple xml files into sql table? I have 50K xml files (zml technically, but behave the same), each with metadata for a single file. I need to combine that metadata into a single SQL table so I can manipulate it there. The xml files have varying metadata tags, with some overlapping and some not. H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use FunctionTransformer with a custom function? I want to use FunctionTransformer to perform calculations between columns. For instance, I want to substract two columns and add the the new column to the dataset. So I have the function:
def diff(x, y):
return x - y
my initial dataset is:
X = pd.DataFrame(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to scrape from Tableau dashboard with filters? I am trying to scrape from the link here: https://gatorevals.aa.ufl.edu/public-results/
from tableauscraper import TableauScraper as TS
url = "https://public.tableau.com/views/GatorEvalsFall2019toSummer2022PublicData/GatorEvalsPublic?:embed=y&:showVizHome=no&am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can't get grid elements in rows vertically aligned I can't get controls aligned in two rows with different amount of elements.
Can't find the way to get the right side of the select vertically aligned with the right side of the button.
My code:
<div class="container text-center col-xs-12 col-md-4">
<div class="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Counting elements in a python list Suppose I have a list of items, which each of them is a dict like:
Data = [{ "num": 0, "id": "0001", "text": "Apple" }, { "num": 1, "id": "0002", "text": "Banana"}, { "num": 2, "id": "0001", "text": "Orange" }, { "num": 3, "id": "0001", "text": "Berries" }, { "num": 4, "id": "0002"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I upload my values into my table in my database? So I've been doing an Employees Attendance Management System using vb.net using a windows form and a mySQL for my database. I successfully inserted an employee into my database but can't seem to check his time in into my database. I have two tables in my dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: QTreeWidget / QTreeView Custom Folding to "Always Show" Leaf I want to add the ability to keep any number of leaves within a QTreeWidget or QTreeView visible even when the parent is folded. This will give the user the ability to keep only the information they're interested in visible while hiding other information.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Timewarp Issue I am developing Timewarp App based on this github source code.
Its scanning is fine but it doesn't contain showing scanline and recording, etc.
I hope someone who has experiences of development of timewarp app.
live:.cid.49ade8e75203ecfd
This is my skype id and my email is kitty.kagaya@gmail.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: how do i read .dat file in react js? I am trying to read a *.dat file in React by using fetch() API. Here is the code:
useEffect(()=>{ fetch('Mapping.dat').then(response=>response.text())
.then(dat=>{ const rows = dat.split('|')
I am not get data from server. I am reading .dat file locally.
Somehow I th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: check a specific element in an image in php How do I check a specific element in an image in php, like an arrow in an image, to find it and replace it with another shape, how do I write the code?
For example, in the image below, there is a red arrow, I want to find it and replace it。
How to identify and get the sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: redirctect in .htacces based on wordpress user role not workng I am trying to make a redirection that working with a common cache in wp rocke plugin
so i am using htaccess code below ,
the problem is it redirect all users
the code i am using is :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Custom attribute in AD for Distribution Group in Powershell I am trying to create a powershell script that will partly automate some of the AD attributes however looking at Microsoft documentation those are not available with the Set-DistributionGroup.
Here are the AD attribute I am missing to create: targetAddress,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cypress - auto open devtools focused on console tab I would like Cypress to open Chrome devtools with the Console tab selected when executing my test suites.
I have seen the approach to set the --auto-open-devtools-for-tabs flag as described here to launch devtools via cypress config, but it selects the Elements tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Single QMake for project and libraries I have a Qt5/C++ (Linux) project that creates an executable file. Now, as part of this project I plan to create many library files that will load dynamically. (Maybe 100 such libraries) For example, one library for each type of animal.
Should I create a separate project for e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: created li-elements by mapping over objects. Link inside Li don't send to other nested page I'm making use of nested routes. I'm creating li elements by mapping over an array of objects. I place link Elements inside each li, which need an href.
Problem
Clicking the link doesn't send me to the respective page.
My tho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do you no longer need to use a deduction guide to create a lambda overload set in C++20? In Timur Doumler's talk at CppCon 2022, "C++ Lambda Idioms", at around 45:19 he is discussing the lambda overload trick and says something like
In C++17, we had to write a deduction guide to make this work -- which
is like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: "Colspan" atribute not working for "td" tag with BlazorContextMenu thead I am working with Blazor project and have some tables. Tag 'thead' is set by BlazorContextMenu and got definition of that tag. Also I want to set one row as something like header for group of other rows below him. So I set attribute "colspan" t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: R Reshape DATE Data HAVE = data.frame('STUDENT'= c(1,2,3,4),
'1/1/2019' = c(1, NA, 8, 4),
'2/1/2019' = c(1, 3, NA, 6), 1 3 6
'1/15/2020' = c(NA, 7, NA, 10))
WANT = data.frame('STUDENT' = c(1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4),
'DATE' = c(43466, 43497, 43845, 43466, 43497, 43845, 43466, 43497, 43845, 43466... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Hook Form not submitting data when input name differs from register name I'm using React Hook Form to handle form submission in my React app. I have a select element with a hidden option that's not selectable by the user, but still included in the form data when the form is submitted. However, I'm running int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Postgres sql script to export specific data from one DB and restore into another DB having same schema The scenarios are as follows: I need assistance with a pgsql dump and restore query
There are two servers A & B with the same database schema, and I would like to export specific data from server A (multiple select... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to define two variants of an XSD schema in one file and easily switch when validating different XML files? I have a setting in which both the demand and the actual configuration of a system are stored as XML files. In principle, the structure of the corresponding demand.xml and actual.xml should be ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Sheets Return string based value from a column with multiple entries - in an order of priority I'm trying to return a single value from a search where you prioritize the answer. eg the table below.
Col1 Col2
a For All
b For Some
c For Some
a For Some
a For Few
b For All
I'm trying to return Fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Wrong number of arguments to CELL. Expected 2 arguments, but got 1 arguments." idk what i'm doing wrong =ARRAY_CONSTRAIN(ARRAYFORMULA(IF(C8<>"",IF(AND(J8<>"",CELL("address")=ADDRESS(ROW(C8),COLUMN(C8))),NOW(),IF(CELL("address")<>ADDRESS(ROW(C8),COLUMN(C8)),J8,NOW())),"")), 1, 1)
The above code is what google sheets... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make lists of all possible paths out of lists with different coordinates to chose from An example list looks like this:
l = [[[0, 4], [0, 2]], [[1, 3], [1, 6], [1, 2]]]
And i want to make a list of all possible paths out of that list which would look like this:
l_paths = [[[0, 4], [1, 3]], [[0, 4], [1, 6]], [[0, 4],... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: WP Elementor crashes when editing a page with a shortcode I have added a shortcode in a page on my WordPress site, my shortcode is correctly called :
[my_function]
I have added my function in the function.php correctly:
function myfunction () {
require_once('way_to_a_file.php');
echo $my_content;
}
add_sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure SSAS with data source to Azure SQL Server database - TOM C# I have a project of Net Core which it create database, tables and measures in a Tabular model.
I would like to create a data source to Azure SQL Server Database (I can do it whit sql server on premise).
My problem is in the connection string to azure.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find an aggregate of an aggregate function in tableau I have a sample dataset, in which there are three columns.
First column is Data Status which can take the following values Pass, Fail and Hold.
Second column is Data Element Name which has a list of data element names.
Third column is Source which is also... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In phpMyAdmin, how can I pick the displayed column when hovering a column value? I exported/imported a database from another server through phpMyAdmin, and one of the tables is now displaying an undesired column when hovering a value from a related table.
I have two tables books and authors.
The books table has 6 c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I retrieve the network path of the source executable using C++ I am trying to programmatically retrieve the network path where the C++ executable is stored. For clarity, when I say network path, I mean the path retrieved in Windows manually by: 'right clicking the folder', 'choosing properties', and 'selectin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct way to 'glue' two class implementation in C++ I am new to C++, now I have a problem needs to solve. I have a class in A library and the same class in B library, C function is the only connection between A and B, I need to pass the class implemented in A and run it in B, what is the best way to do it in C fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I keep a cpal Stream in memory? I'm having general trouble with my library design in rust. I am creating a library that uses cpal.
I want to be able to call start_stream and stop_stream from the outside. When you call start_stream I create:
match(device.build_input_stream(... a config, a callback))
{
Ok(st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use a map ID in my code to display this custom map on a webpage (very weak level in frontend)
I basically follow this tuto :
https://youtu.be/CdDXbvBFXLY
the coder uses a code slightly different that what we have now on Google Platform, instead of
<script async
src="https://maps.googleapis.com/maps/api/js?keyYOU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Cannot create a react native library I've been creating a react native component library since a month now, and I think it's ready to be posted as a package on npm. So I pushed it on github, I npm publish, everything's fine.
To publish it, I replaced my index.ts:
// index.ts
import createRComps from 'Base.tsx';
exp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to compare dates in Python only with mm--dd from a dataframe? I have a dataset with 69000 rows and 18 columns. One on the columns is datetime which is in this format yyyy-mm-dd with the time.
What I dont know to do is the next problem
I need to create a new column ("Seasson") with the value "high" if the value i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R - find and return an ID's counterpart I have a dataset with many groups of 12 players. Each of the 12 players within a group are assigned a pair number which pairs them with a partner from their group that has been assigned the same pair number. I would like to create a new column that identifies the partner's pla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pinescript custom color for volume bar above certain value I want to get different colors of the volume bar when it goes above my fixed volume,
Say when volume goes above 10000, it should show a bar with dark red or dark green colour,
How can I do that?
I tried to modify with the existing volume code, but it did not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flask not rendering template with no obvious bug I'm using google's sign in api to log a user in. I use a try, except statement to see if there is any data getting passed from the signup page to the server, if there is then it will render the home page with the status that the user is logged in, otherwise it renders... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add CSS, HTML and JS in my Divi Theme or Elementor First of all, I apologize for not knowing much about the subject. But I have experience only in building sites in WordPress themes, in DIVI and Elementor. I found a text distortion code on the Codepen website, which fits perfectly with the visual identity of the web... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiplication, sum and Cholesky decomposition of sparse matrices I'm trying to solve a system of differential equations involving variational inequalities. I'm currently using the LCP solver in LCPsolve.jl. I've profiled my code and found that the bottleneck is in lines 216-219 here. More specifically, the profiler... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why did my binaries grow after toolchain change? I'm updating buildroot in one of our company's powerpc-based products.
Previously used toolchain was an in-house built gcc-4.9, I've switched to Bootlin powerpc-e300c3 glibc stable 2021.11-1 (as offered by present Buildroot).
I was able to compile and run u-boot and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add row ordering feature(row drag and drop) to free version of x-data-grid component of MaterialUI? I've been trying to make my x-data-grid component row orderable but I failed. The code below shows rows but they are not draggable. Here is the code that is not working for me.
<DragDropContext onDragEnd={handl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: use the enter key to submit with javascript with my current program i am makeing a simple sign in form with the use of javascript.
i have it set up but cant set up the text field to use the enter key as another way to submit the current input field. i am using javascript to proform these functions but am unable to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin textSize: different units in get and set When accessing the textSize of a textView I do not get same value that I put in there before.
Hello,
I'm new to Kotlin and Stackoverflow.
In a Kotlin app I would like to dimension the size of buttons and textViews depending on the width of the display. So I set the tex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: macOS Freeswitch on Docker Anyone got this to work on macOS?
I can only get 1-way audio (Freeswitch to caller).
Starting with basic installation, not expecting audio to work (no rtp ports mapped).
I had to manually provide the sound files, and make FS listen to ipv4 only (
<param name="listen-ip" value="0.0.0.0"/>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SQL MULTIPLE Quick CASE STATEMENT Is it possible to "quick" type multiple values in a case statement, I have the following SQL:
,CASE
WHEN alias.fieldname = 'VALUE' AND cov.PRODUCT_LINE = 'HARDCODE VALUE' THEN 'RESULT VALUE'
WHEN alias.fieldname = 'VALUE' AND cov.PRODUCT_LINE = 'HARDCODE VALUE' THE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Node.js API multiple get request routes (Frontend - Backend) I´m working on a project with Node.js API, that have a frontend and a backend. Ich habe already a API-folder inside the frontend, that
await for the get request from the backend and that works for the first method like this:
export const getChange= async (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I read an excel file using pandas? I am trying to pandas to open and extract xlsx files.
Here is the function:
def read_data(DataFile):
xlsLoad = pd.ExcelFile(DataFile)
Bus = pd.read_excel(xlsLoad, 'bus').set_index('id')
Gen = pd.read_excel(xlsLoad, 'gen').set_index('id')
Line = pd.read_excel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: HTTP Repo update from DevOps to databricks fails with 'invalid access token' error I have inconsistent behaviour when updating a Databricks repo from Azure DevOps vs running the same command in Postman.
In Postman, I can successfully PATCH the repo using a PAT token from Databricks:
However, running the pipeline in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue NEST installation I am tryng to install the latest NEST version with ananconda (1.11.0) on Ubuntu 20.04.5 but after the installation I cannot import * from nest
Specifically I am following the tutorial presented in:
https://nest-simulator.readthedocs.io/en/latest/installation/conda_forge.html#conda-forge-insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DataFrame.apply() to column with list values I am drawing a blank on how to do this properly, I have a dataframe containing bounding box coordinates as a list type.
ex:
bb_box
0 [4, 565, 1088, 591]
1 [17, 820, 1092, 949]
2 [5, 746, 1084, 796]
3 [32, 240, 1104, 263]
4 [0, 187, 1111, 212... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Precision-recall strange values For whatever reason my precision-recall curve looks weird for MLP. Can someone explain why precision starts at around 0.8 rather than 1 on the left-most section? From my understanding, confidence starts at 1 on the leftmost section, so the classifiers should be predicting 100% negativ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: use prestashop module in a codeigniter php website I used to have a prestashop site then I changed for a codeigniter site but I wanted to keep a prestashop module (a product configurator) so I kept the prestashop site in a subdirectory /my-site.com/prestashop
with a call of the module in index.php
if (file_exists(di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS CF Is it possible to extract or export InstanceID from ASG or userdata? Is there anyway how to extract or export InstanceID from ASG or UserData so I can pass it as variable in Resources for example ${InstanceID}? I have a CF NFS template for a service, basically for resources it creates asg, cloudwatch dashboar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use python selenium to locate the scrollbar on the right and then scroll down continuously to fully load all items content? I want to scrape all the items' information from this page https://allinone.pospal.cn/m#/categories, refer to the screenshot.
the content is loading dynamically when I scroll down the ri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Swift shows an error on a view with API fetch I am new to Swift and am trying to write a view that will display the data fetched from API. Unfortunately, it throws an error on the preview with a weird message that I don't understand.
I am following this tutorial to create the UI:
SwiftUI Tutorial
Here is my code:
im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Iteration of time from 00:00 until 23:59 VBA I want to set a time table beginning from 00:00 until 23:59
so far I got a little bit. My problem is the vba keeps rewritting the hours.
Sub uhrzeit()
Dim i As Integer
Dim stunde As Integer
For stunde = 1 To 24
For i = 1 To 60
Cells(i, 1) = stunde
Cells(i, 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Laravel - Get Property of object I have an object named $shop of the class App\Models\Shop which extends Illuminate\Database\Eloquent\Model
It has a property named attributes
I need to load that property into a variable. The model has no getter for that property.
The class Illuminate\Database\Eloquent\Model has no ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why if-else is not working in this react code, cause I am not getting output? I was trying to achieve something like this in react
e.g. user enter his/her age and when click the button following logic should work
if age>18 then Eligible for Passport
else Not eligible
But I am getting no output when I enter the age a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Golang: create TCP 3-way handshake using ipv4.NewRawConn I'm trying to successfully establish a TCP 3-way handshake.
I want to be able to control the IP layer, ideally with github.com/google/gopacket.
Here's my Go program:
package main
import (
"fmt"
"log"
"net"
"github.com/google/gopacket"
"gi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Position Independent Code, GCC versus ARMCC We have a bunch of C code that needs to be compiled as position independent code on an embedded system (Cortex-M7). This all works fine with ARMCC (--ropi --rwpi).
Now we need to do the same under GCC (12.2 release 1).
The system we are loading the code with (ThreadX Modu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas: groupby - aggregate - expanding I have the following data frame
df = pd.DataFrame({"group1":["A", "A", "A","B","A","B","B","B","B","B","A","A","B"],
"group2":["1", "1", "2","1","2","2","2","1","2","1","1","1","2"],
"date":['2022-11-01', '2022-11-01', '2022-11-02', '20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Omnetpp Debugger: fatal error: 'library/library.h' file not found I want to debug a omnetpp program and the program uses external library seal. The program is able to access seal library in normal run mode but in debugger mode. It is unable to access the external library.
A: Don't know if it'll solve you're problem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unexpected type conversion when looping over a vector of lubridate objects in R My question is related to this (closed) lubridate issue but is related to for loops in R more generally:
library(lubridate)
dates=c(ymd("20180501"), ymd("20180502"), ymd("20180503"))
print(dates)
# [1] "2018-05-01" "2018-05-02" "2018-05-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does a factorial function gives me a negative number I made a factorial function permitting me to calculate factorials of course and as we know, a factorial can never be < 0. And my code gives me some times negative numbers... Here it is:
exception FactorialError of string;;
let rec factorial (n: int) : int = (
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy Azure Database in WinUI 3 Desktop Application We have an old ASP.NET application that successfully adds databases to our elastic pool by copying a "template" database (see code below). We want to create an identical method for a new WinUI 3 desktop application. We've successfully added blob storage features to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error running the models on Rmark package I'm running a script to use Rmark package to determine under Pradel models, the survival, recapture and population growth rates. I already use the exact lines in other two dataframes and the script worked correctly, however, with this specific data, its not. I specified all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spyder name defined in a file and not recognized in another file With Spyder IDE 5.3.3 and Python 3.9
I create in a tab with test1.py file with 2 instruction lines :
a='Bob'
print(a)
Wen I Run this File (F5) Bob is correctly displayed on the console.
I can see also in the Variable explorer : a str 3 Bob
I then crea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android studio VOLUME UP/DOWN/MUTE event didn't triggered i'm trying to capture the Volume UP/ Down and Muted remote's events on an Android Studio Activity in a WebView (without any player active).
I already tryed to Override onKeyDown, OnKeyLongPress and dispatchKeyEvent but I'm able to capture all remote's button ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UDP receive fails after network adapter disabled and enabled again I use Windows Sockets (mswsock.DLL) in my c++ Win32 application. This application opens a socket listening for udp multicast messages. Everything works fine, but when I deactivate the network adapter and activate it again, messages are no longer rece... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mounting a kubeconfig file using go-client auth method to a container I use Google Kubernetes Engine from my Mac & I used to mount my kubeconfig file in a container to use it from some program inside with a simple -v /Users/johndoe/.kube/config:/home/johndoe/.kube/config
Recently, some cloud providers, including GCP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Output a local variable from a Terraform Child Module in the Root Module I have a child module in Terraform called child and it contains the following:
locals {
some_map = { ... }
}
output "the_map" {
value = local.some_map
}
In the parent/root module I try to access the value of this map as module.child.the_m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Vuetify v-data-table with group by and v-slot customized row cause unexpected performance Vuetify version: 2.6.3
Vue version: 2.6.14
I have some question regarding to use vuetify v-data-table and its v-slot for customizing rows.
I have attach the code blew, when click pagination the top grouped header(w1,w2,w3) will... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How Post or Send WordPress data to an External API I am using Wordpress Woocommerce for POS software
and I'm required to send daily sales to external api, The details required to be sent (date and revenue)
and the information i have:
Production url : https://xxxxx.com/api/postsales Type: POST Header : {Username, Pas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Duplicate storage qualifier" when trying to compile GLSL shader with SFML? I'm trying to implement shaders in my sfml application, but with no success. I get the following error when compiling with g++ on ubuntu:
Failed to compile vertex shader:
0:1(1): error: duplicate storage qualifier
I'm trying to find a way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: join tables and for one table I want to get the newest result I join some tables and in one table I only want to join the newest data limit 1.
For the table booking I want the newest data where car id exist
SELECT
car_details.mark,
cars.name,
cars.active,
cars.status,
station.i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Invalid Signature Smart Contract I am trying to execute the lending call function from this Smart Contract.
The following code is JavaScript using Ethers.js to make the integration with the Smart Contract.
const contractAddress = "0x1C4E9F87c7F2bCd80c89A1999d776461d41545b9";
const provider = new ethers.provider... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS IAM user console password last updated API I was not able to find an AWS API for when the console password was last updated for an IAM user.
IAM user getLoginProfile method provides with data on whether the password is enabled. Response is NULL if there is no console password for that user.
getLoginProfile().cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |