text string | meta dict |
|---|---|
Q: EChart line does not stay on top of points I created a Gradient Line Chart using EChart and I am raising the values for it by a function in javascript, however the line of the graph is getting away from the points
function setOption(data){
dateList = data.map(function (item) {
return item[0];
});
valueList = data.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add a variable in QuillEditor I have a text editor inside my project in reactjs with QuillEditor "yarn add quill-to-pdf" "yarn add react-quill", and I need to add variables inside the same editor when I am placing a paragraph and when generate the PDF the value of the variable appeared to me, he tried but cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Terraform Provider Retrieval Error: Could not retrieve the list of available versions for provider -/artifactory I have a providers.tf script as below:
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
}
artifactory = {
source = "registry.terraf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET Core 6.0 MVC app works locally but doesn't when deployed to IIS & results in Http error 500 I have an ASP.NET Core 6.0 MVC app which runs perfectly fine locally. I then use Web Deploy and publish the app 'successfully' to IIS.
Although the website will just show the browser's generic http 500 error (it will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to not get the error 'invalid_session_id` from the riotgames auth api? Using the riotgames auth api, I am trying to get my access token using the following request:
await fetch("https://auth.riotgames.com/api/v1/authorization", {
method: "POST",
credentials: "include",
headers: {
"Conte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble making gallery page into three rows of columns In regular html I would use three <div class="dream"> for each row of images on the page, but I added php code, so the images aren't linked in the html code, but uploaded from a database. How do I keep this style of CSS, but just make them three rows?
.contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Crossmint button error: NFT count must be a string or number I'm trying to implement the Crossmint button as per the docs here: https://docs.crossmint.com/docs/crossmint-pay-button
but I'm getting the error NFT count must be a string or number (see photo). Has anyone run into this before? Any help would be greatly a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: javafx load fxml file in gridpane error how to fix? enter image description here
i followed this video but its displays nothing
https://www.youtube.com/watch?v=HBZFGYLvvH0
I wanted to display products this way
enter image description here
i tried hbox and vbox it didnt work
i guess the problem is with the loading it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Button not clickable over iframe on mobile web I am attempting to place a button absolutely over an iframe, but no button click is registered when I'm viewing my app in mobile web. Instead, a click is registered on the iframe that's underneath it.
The exact same implementation works on non-mobile web.
Here is a pict... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bottomNavigation not working in SvelteNative I have a simple App.svelte that shows my problem
<script lang='ts'>
</script>
<frame>
<page>
<actionBar title="Hello" />
<bottomNavigation>
</bottomNavigation>
</page>
</frame>
when I run this I get a white screen with nothing, but If I remove the botto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (Solved) How to access parent layout from derived fragment Android Studio (Java) latest version,. I've created a "base" fragment with a layout (Recycler view). When I try to access it from a derived fragment I get :
E/RecyclerView: No layout manager attached; skipping layout
public abstract class ListViewFragment ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL 'Date' objects are actually Strings Have a bit of an issue that I'm stuck on;
Currently working on a Springboot project, where I am looking to take in two dates (Start Date & End Date) from the UI, process the data within the controller, and return a list of data between the given dates.
The problem I'm having... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android direct connexion between 2 smartphones - Press a button in an app on a smartphone A and get a message in an app on a second smartphone B After some research on the Internet I could not find what I was looking for.
Question:
Is it possible in Android to press a button in an app on smartphone A and to get e.g.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Font-family in global tags like HTML and BODY are ignored For some unknown reason, fonts prescribed in the tags html or body do not work correctly. They are working on some blocks, and stop working on another. I installed the fonts with the tag link from google fonts, and prescribed them in the tag html. In other bl... | {
"language": "ru",
"url": "https://stackoverflow.com/questions/75586556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Generating code for text representation of protobuf messages? Sorry about the somewhat vague question - I have just started exploring protobuf, and I'm having a bit of a hard time understanding exactly what can be translated to code.
Let me illustrate with an example - let's say we have this .proto file with "primit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wait till I receive signal in Java multi thread I have a multi threaded application which receives asynchronous messages. How to wait till message is received (or timeout)?Is there a better way to do this with wait() and notify()?
I tried to do this with raw thread sleep with atomic references.
class SignalReceiver{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Getting error when I run "npm run build" :Can't import the named export 'XXXX' from non EcmaScript module (only default export is available) when I run "npm install" and "npm run start"
it works fine,
but when I run "npm run build", I get this error
./node_modules/eta/dist/etamodule.mjs
"Can't import the named expor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can you programmatically remove breakpoints in ARM Cortex M3 application at runtime? In my bare metal C application for a CM3, I have a startup script that runs a CRC on code and data sections in their target regions in memory. I noticed sometimes the check on code would fail, sometimes not, depending on if I had an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get barsince since the trendline formation //@version=5
indicator("Trendlines With Breaks ",overlay=true)
length = input.int(9)
k = input.float(.9,'Slope',minval=0,step=.1)
method = input.string('Atr','Slope Calculation Method',
options=['Atr','Stdev','Linreg'])
show = input(true,'Show Only Confirmed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does the compiler need the intermediate representations for link time optimization? My professor mentioned that gcc can be run with -flto. I am wondering why the intermediary (GIMPLE in GCC case) are needed.
Why is the assembly not sufficient?
He mentioned that this allows the compiler to (at link time) see from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I compile my dependencies in my jar? (shadowJar) So I have a dependency and need to implement it into my .jar file (final export).
Here's my build.graddle.kts: https://paste.md-5.net/mivovenaro.js
Here's the error I always run into:
Caused by: java.lang.ClassNotFoundException: com.xef5000.vigilance.Vigilant
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Faster Ping in Elevated Command Prompt vs Non-Elevated Command Prompt I'm pinging a server across a VPN and get good response times at all offices that ping 192.168.1.3 except for one location. See image below - when I ping with a non-elevated command prompt (on the right) I get an average of 900ms - horrible. Whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reset button working and the counters are set to 0 but when I change the page or move the phone the value returns the same as before I am developing a step counter app in Android Studio in Java, the counters are all working fine, I have added a button which would reset all the counters to 0, but when I click the res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: cannot read C:/Users/Ahmed/Downloads/omnetpp-5.6.2/tools/win64/home/project/inet4/src/inet/common/INETDefs.msg I attempted to execute the omnet++ project but received 3 errors.
as you can see, I copied and pasted the error message below.
I turned the clang preference in an attempt to correct them, but it was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What Causing Invalidate Data Validation Error in NPOI I,m using NPOI to generate excel file from table and then add data validation to some condition in cell, everything is good, but when i open the generated file it show an error
i have 2 data validation, in row A and row B
in row A, my data validation is succesf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we output colored Logback Java logs on a Linux terminal via "gradle run"? A "gradle run" of a Java application on a Linux terminal (xfce4-terminal) that outputs SLF4J logs prints all text in plain boring white.
To clarify a bit more, I'd like this to happen automatically without any change to existing log st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Password.js resetting password without old password I am quite new in web development and I'm trying to add password reset feature to the site using Passport.js. Passport has changePassword method which works like
requiredUser.changePassword(oldpassword,
newpassword, function(err) {
})
But I need an old passwo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: error using ether libary in react js to get balance of wallet getting a weird error when I try using the ether library I did do the npm install getting this error when checking the local host
Compiled with problems:X
ERROR in ./node_modules/node-gyp-build/node-gyp-build.js 1:9-22
Module not found: Error: Can't resol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete of iptables mangle packet marking rules fail to reflect on connected devices on local AP network I am trying to apply traffic shaping on a AP network.
I have configured R-pi, running on Ubuntu server 22.04 as an AP using Dnsmasq and Hostapd. I followed the documentation here: https://www.raspberrypi.com/docum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: spring boot config server production setup for error "You need to configure a uri for the git repository." I have a Spring Boot Config server that reads some properties from the local resources folder. The foldersetup is this:
*
*resources
*
*config
*
*application-production.properties
*application.properties... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Determing the similarity of two spatial networks in R? I would like to compare the two spatial networks of companies and see how similar they are. Preferably a number such as a Pearson correlation coefficient.
This is example code to get two different spatial networks.
labs1 <- data.frame(
longitude = c(-84.66778,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure container Instance: image from public docker leads to InaccessibleImage error I'm trying ACI service.
I decided to use as hello world image this public docker hub container.
In azure I selected other repository option and I put there modem7/docker-rickroll:latest the green check mark appeared, and I left the n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: learning to do a discord bot but when i type the command it wont work my code is below, but when i type !deaths in discord, it doesn't send, the bot is online and everything and visual studio code doesn't give any errors
`import discord
client = discord.Client(intents=discord.Intents.default())
@client.event
async... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to tell if my web app is running in azure or on-premises? Our web app might be deployed on-premises or in an azure app service. I need to look up the current users email, display name and a few other attributes.
On-premises, we use this:
using (var pc = new System.DirectoryServices.AccountManagement.PrincipalCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Can overflow-anchor work on pseudo-elements? This demo I found online uses the overflow-anchor property to keep a div scrolled to the bottom:
https://codepen.io/chriscoyier/pen/bGbeBdp
I tried to modify it to use the ::after pseudo-element, but it doesn't seem to work:
https://codepen.io/00gogo00/pen/NWLdKQO
Is ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReactJS ChartJS, data changes when user clicked the button I am stuck in a case where the user wants dynamic data changes in the bar chart upon clicking on a tree menu.
The flow is as follows:
When the user has just logged in and opened the building page, the default data appears on the bar chart, named provincial d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ValueError: could not convert string to float: 'macd' I am getting a ValueError with the message could not convert string to float: 'macd' when trying to train a Random Forest classifier on my trading data. The code involves computing technical indicators such as RSI and MACD, and the target variable is computed as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to access members of object in ngModel by string keys I am trying to generate input fields programmatically because there are a whole lot of them.
Unfortunately their database names are != to the display names. Therefor i can't just pipe | keyvalue.
Given
user : customer = {
FirstName: "",
LastName: "",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I apply a startwith filter for LoadOptions in Devextreme? I'm trying to apply a filter for the TEST column to make it 'startwith' only 'DC'.
load: (options) => {
options.filter = ["startsWith", "TEST", "DC"];
return this.Api.DebtorsApi.GetTestAPICall(
options
).toPromise();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .Net MAUI writing files that a connected computer can see I am attempting to write a file on an Android device. I would then like to be able to easily transfer that file to a Windows computer for viewing and analysis.
Needless to say, I am having a lot of issues doing this. I am using .Net MAUI, and my Android devic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReactQuery useInfiniteQuery is only returning the first page of data I'm converting some code to use TanStack ReactQuery useInfiniteQuery hook.
Everything is working, EXCEPT when loading new data, instead of the next page's results the 1st page's data gets duplicated.
Calling the fetchNextPage method triggers a re-r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Missing field 'episodes' while writing result I'm trying to consume the Anilist api using graphql in nextjs 13. I'm using the apollo client.
the problem that some fields are not being returned, and the console returns all the others with the error Missing field 'episodes' while writing result, which is the case with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Maximum Bipartite Graph Matching with some exclusive edges I am trying to solve a bipartite graph problem but I cannot find anything for graphs with some exclusive edges. Say each node on the right can accept 3 normal left nodes or 1 exclusive left node.
I have tried modifying the Ford-Fulkerson algorithm from Geeks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kafka Cluster Authorization Failed error after updating spring-boot-starter-parent I have a spring-boot application that is configured as a Kafka producer & consumer. previously it was running the following POM dependencies
<parent>
<groupId>org.springframework.boot></groupId>
<artifactId>spring-boot-starter-apr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyQT5 - how to use QWidget, QScrollArea and QBrush all together I am trying to:
*
*Display an image which is bigger than the window size;
*Make the window scrollable, so I can roll through the whole image;
*Draw over the image;
Problem is:
*
*As soon as I make the window scrollable, I can't see the drawing an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: Time Series Models in Parallel I have the following dataset:
countries <- c(1, 2)
cities <- c("A", "B")
weeks <- rep(seq(as.Date("2010-01-01"), as.Date("2023-01-01"), by="week"), length(countries)*length(cities))
counts <- rpois(length(weeks), lambda = 50)
df <- data.frame(
Country = rep(countries, eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Snowflake SQL wrap SHOW RESOURCE MOINTORS in SELECT How can one wrap the query SHOW RESOURCE MOINTORS in a SELECT statement to grab only a subset of the columns returned?
The following:
SELECT NAME, CREDIT_QUOTA, USED_CREDITS, REMAINING_CREDITS
FROM (SHOW RESOURCE MONITORS)
produces the error:
SQL compilation error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different results when computing integral analytically/with scipy VS approximating integral I'm trying to calculate the integral of a variant of the Hill Equation shown here.
When I try implementing this with the integrate function in SciPy, I get the following:
from scipy import integrate
Top = 0.9015038230670139... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to properly host an HTTP proxy server I coded a simple HTTP proxy with Go. I've
tested and confirmed that it works locally,
but I'm having issues with deployment.
I deployed on Render and Azure. I also set the
"http only" config on azure, both deployments
seem to work correctly as normal web apps (they
accept an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add Custom Validation Error in FloatField forms Django Ive tried to make my custom message error if no inputs given, but its always showing the default message "Please fill out this field!"
I have floatfield forms that looks like this
forms.py
class MyForm(forms.Form):
RadioSelectDayaTorsi = forms.ChoiceF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to extract n rows from parquet in terminal I know one can use python or other scripting languages to extract n rows from parquet files. However I would like to do so in terminal.
I know there is a parquet-tools which one can execute through docker as following
docker container run \
-v ${PWD}/data/users/:/da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python - SQL transaction errors in multithreading (pymssql library) The following code is generating transaction errors.
The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
The larger the gevent pool, the more frequent the errors.
What I do is:
*
*pool spawn in my main function:
pool.spawn(coll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: troubles in compiling Archicad C++ add-on (Mac) I am trying to compile this sdd-on for archicad 26 Mac: https://github.com/tlorantfy/archicad-additional-json-commands.git
I am using Cmake and apparently everything works and the bundle file is created... however, it is empty...
Can you please help me to compile this?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Adding Date + Thumbs Up/Down to my blog post (Wordpress+WPBakery) Been working on just a fun little blog project, and I installed Kadence WP Theme just to start learning wordpress and how it all works.
My blog posts are showing, but I want to include the data and possibly a like/dislike button below each one (see mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a table of contents for code excerpts in Latex (Overleaf)? Writing my thesis for grad school right now and am wondering how I can create a table of contents for algorithms I list in my paper.
I know you can list tables and figures with
\listoftables
\listoffigures
But how would I generate this for all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace % in the string with batch command Follow this question Opening a local or network path in Explorer from browser, which is not working for me.
After checking, it seems the batch file cannot replace the % symbol.
This is the batch file in the link above
set myvar=%1
call set myvar=%%myvar:fb:///=%%
call se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why using a blank identifier as a field name (other than an empty struct ) in a struct? I was reading the Go specification and I came across this example: https://go.dev/ref/spec#Struct_types :
struct { x, y int u float32 _ float32 // padding A *[]int F func() }
There an approach of using a field with a blank ident... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL server has gone away SELECT GET_LOCK. in Codeigniter 4 I am getting the following error
This is what I get in the LOG file, I think this query is consuming my server's CPU resources
ERROR - 2023-02-27 19:00:58 --> mysqli_sql_exception: MySQL server has gone away in /system/Database/MySQLi/Connection.php:292
St... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Schedule tasks in Spring Boot Following this guide I set up a basic Spring Boot Scheduler. When I run the SchedulingTasksApplication below, it repeatedly prints the logs as expected.
ScheduledTasks class
package com.climate.schedulingtasks;
import java.text.SimpleDateFormat;
import java.util.Date;
import or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: chart.js time is not a registered scale I am building a stock trading app, and trying to calculate a users total portfolio value over time to display it in a dashboard using react-chartjs-2:
Here's my nosql data:
// stocks array
const stocks = [
{
symbol: "AAPL",
name: "Apple Inc.",
prices: [138.4, 135... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (Django app) Why is it that the same comment on a post is appearing once for every like it receives from a user? I am currently making a Reddit-style app / site using Django in Gitpod as a project for a diploma-level portfolio course I am doing. I'm not an advanced programmer / web developer at all, so this project ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Trying to do Dependency Injection on reflection loaded modules in .NET 6 I'm trying to load a handful of assemblies into my main application. Those assemblies need a dbContext that I have set up for DI in the main application.
In the main application I have the following code which gets the appropriate assemblies fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: `$ git push heroku main` fails. (Errno::ENOENT: No such file or directory - npx) I am having trouble deploying an app I built in rails on heroku.
I was able to deploy on Fly.io but could not reflect my own domain, so now I am trying to deploy on Heroku.
When I run the "git push heroku main" command to deploy, it fai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make Telegram Instant View with image lazy load of format: . For Medium page I have an error when making rules for the telegram instant view of the Medium page.
The error that i get from Telegram instant view is: Image source not found: src attribute expected in <img alt="" class="bf jp jq dj" width="700" hei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQLite Read-Only DB on AWS EFS: slow concurrent reads I got a read-only sqlite file on EFS that is accessed by Lambdas concurrently using the following config:
final SQLiteConfig config = new SQLiteConfig();
config.setReadOnly(true);
config.setSynchronous(SQLiteConfig.SynchronousMode.OFF);
config.setTempStore(SQLite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I can know how many data have been used in file and how many interruptes in program by python? I have a file and I need to know how many data the file have been used and I want to know how many interruptes in it
I try (os) Library.
Exactly os.stat().st_size to know many data but it gives me a wrong answer
So i n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Log4j appender vs Agent for exporting logs for Analytics I am want to export specific application logs from servers to cloud (publish to SNS) and have our analytics consumers to ingest them down the stream. Since the service which produces the application logs is owned by a different team, we can't publish them dire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is structured programming any problem to use nowadays? is this old? I'm a complete beginner in programming, and I wanted to know if structured languages are still used in the job market, and what is the advantage of using object-oriented?, and if there is any problem writing only in structured. why am i writing in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Next.js Framer Motion works only on static routes I created two static pages (home & about) and a few dynamic routes. My goal is to animate the navigation bar whenever I navigate between the pages. For some reason, Framer Motion works well when I click on the static pages but when I click on the dynamic pages - i ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kotlin is there a native conditional also fuction Does any one know of a native function like a conditional .also?
I find myself writing a lot of this code
extractProcessorCode(originalRequest)
.also { transactionType ->
if (transactionType == UNKNOWN) {
logger.warn("ProcessorTran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught TypeError: Failed to resolve module specifier "react-dom/client". --- Using Express server and TypeScript client Full Error:
Seeing this error client-side, in the browser console, trying to import the react modules from my server's node_modules folder.
Uncaught TypeError: Failed to resolve module specifier ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I implement (inject) an interface into my ViewModel? I'm very new to working with large projects and dependencies, but I am moving an interface located within a Fragment into its own file to not be reliant on the Fragment that originally housed it.
The interface MarkerInteractionListener looks like
interfa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to pull age, gender, placement, device by day from facebook using python I am trying to pull age, gender, placement, and device by day from Facebook ads using python. So far, I only found about age and gender, not placement and device. Also, the code I am running got syntax error.
Below is my code:
from facebook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JJWT 0.11.2 Json Web Token Verify problem with roles I'm a Junior Full Stack Java Developer and right now im in project about E-Commerce. Actually we are going good with my team. But because i wanted to use JJWT token 0.11.2 version we can't really handle role side of verify. I can register the system there is no pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom keyboard auto capitalization I would like to adopt the TextField's AutocapitalizationType settings to the custom keyboard. How do I know when to capitalize the keyboard while typing?
I searched for solutions and examples, I looked through the Apple Developer Documentation, but I can't find it
A: You have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apollo useQuery hook's returns data that is not the same with its cache's read policy Heyaa...
I'm kind of a newbie in configuring Apollo cache for handling paginations, thus I'm facing this issue...
Currently, I'm successfully added some field policies to my InMemoryCache options, able to smoothly paginate data. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Data Validation Error from Filter Formula I want to build a dynamic data validation list based on a region one chooses. I have a list of branch names and a list of region names in columns A and B, respectively. Moreover, someone will write the region name in cell F2, and this will make the data validation drop down,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I use the user roles from the Azure App Service Authentication feature in my .NET web app? I'm following this guide to set up Authentication and Authorization in my .NET web app. I deployed the app to App Services and added authentication using Microsoft as the provider. All unauthenticated requests are redir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does react-native-fbsdk-next open the facebook app natively or not? I implemented the library in my project, but when calling facebook, a webview is always opened and not the native facebook app, even though I have it installed. This happens on IOS and Android.
The idea would be to open the native app so that the us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avoiding file "is not commonly downloaded and may be dangerous" in Chrome I have a JS-triggered download on my site that the Chrome browser warns on download:
File is not commonly downloaded and may be dangerous.
How can I avoid this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75586671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Update context from child components on load and on update Goal: one child should register the update from another child, then not re-render infinitely. The following is a story of no updates or infinite loops. If you are a master of hooks (or at least not an amateur like I), this is for you.
Suppose there is a sing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GoLand gives incorrect HTML/JavaScript warnings and indicators
*
*GoLand is telling me that functions are not being used at all when they are being called with onClick instead of onclick. I realize onclick is correct, but it would be nice if it could also recognize onClick
*On line 4 of the below function, GoLand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can i mkae a node that when it gets in the node then get_tree().change.scene? Im just mkaeing a platformer and this is a roblem i ran today so i have a node called Next_levels
and i have a folder that hs all the levels i have 3 levels i named them like this level_number.tscn
im useing a area 2d to do this and th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Convert *const __CFData to String in Rust I am trying to convert *const __CFData to String in rust.
I am trying to get Keyboard language and checking if it is a particular language.
let current_source = ffi::TISCopyCurrentKeyboardLayoutInputSource();
let current_language = ffi::TISGetInputSourceProperty(current_sour... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to return input JSON with one changed property in JQ I am trying to make JQ return an output that's nearly identical to the input, only chaing one property whose sibling matches a string.
Say an input of:
{
"version": 3,
"projects": [
{
"name": "project1",
"autoplan": { "enabled": false }
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multi-line title alignment using plotly Is it possible to make the title have pixel-perfect alignment with the top of the image when using line breaks in the title? Normally you can do this with yanchor='top' and y=1, but line breaks in the title appear to break this.
Code:
layout = go.Layout(
height=500, width=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Validation of Jackson @JsonProperty in Kotlin data classes I have the following data model:
data class Patient(
@JsonProperty("patientId") val patientId: String?,
@JsonProperty("phoneNumber") val phoneNumber: String,
@JsonProperty("createdAt") val createdAt: Instant?,
)
I want to validate the phoneNumbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a version of numpy.dot() that doesn't "collapse" the matrix? I have a, an n x 1 vector, and b, an n x n matrix. What I want to do is similar to np.dot(a, b) but without the last step of collapsing the matrix to another 1 x n vector by summing the elements of each column. Another way to look at it is that it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to create "parameter decorators" (like TypeScript) in Python? TypeScript has a feature known as parameter decorators — literally a decorator that you can apply to a parameter of a function or method:
class BugReport {
// ...
print(@required verbose: boolean) {
// ...
}
}
Another example fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Define Array of multiple types but has only same type? I meet a usecase, that I need to define an Array with only string or number, but can be only one type.
For example:
let a = [1, 2, 3];
let b = ['a', 'b', 'c'];
// but cannot be
let c = ['a', 1];
*
*How to declare the type of this variable?
My idea is
let a :... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate a parallel equidistant line on a curve line I have a set of survey points (x,y) and I am trying to calculate a set of equidistant parallel points based off of the original point on the line. The math is a bit confusing for me and every time I adjust the calculations it never comes out right. Each point sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: FaceBook Page Photo upload - (#324) Requires upload file I'm using the FB JS SDK to (attempt) to upload a photo to a users page.
However I keep getting the "324 Requires upload file" error, in the code I have tried everything from a url of the photo to a blob file upload and have had no success.
I'm sure I'm missing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically generate ItemWriter in spring batch My itemReader in spring batch transforms a csv record into Consumer object. This object contains a property recordType which is either insert or update.The file which my itemReader transforms may contain mix of update and insert records. Now while writing in my itemWr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WFI seems not work as expected in ARMv7 plus RTOS I am working on ARMv7 cortex-a7 (dual-core) with an RTOS, now I am trying to use WFI instruction in IDLE task.
I asked the vendor of the cortex-a7 if WFI/WFE can work or not, and got the answer is 'yes'.
So I put the WFI in the RTOS IDLE task as follows,
.type cpu_in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass Pointer to "this" in C#? (VS 22) I have a class function in C# in which I want to pass a pointer to the current class as an argument in a call to another function:
public class SomeClass
{
public void SomeClassFunction()
{
SomeFunction(&this);
}
}
public void SomeFunction(SomeClass* ptr)
{
}
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting a data frame that contains list into a dictionary with set I have a data frame, df3, that looks like the following image. I want to convert this into a dictionary like the following. The main change would be key should be a set instead of a list. The values are the same. Can someone help me convert this d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Hamburger menu issues I am trying to create a hamburger menu in my project, it works properly in my first attempt, when I add that same code to my current attempt it does not work, is there anyone available who could take a look and help me?
I have been working on this project for two weeks, have tried ten or so dif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to have 3 duplicated EnvironmentObject but it can only take one per type I have
struct ContentView: View {
@StateObject var predictService1: PredictService = PredictService()
@StateObject var predictService2: PredictService = PredictService()
@StateObject var predictService3: PredictService = Predict... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Using a variable after calling it from the function itself I'm trying to use a variable created inside a function but when I call the function
I'm trying this :
def get_value():
x = 1
get_value.x
But the value of x is not suggested.
A: That's not what functions do. When a function terminates, the local varia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: X11 forwarding applications from docker containers on Windows without using DISPLAY=host.docker.internal:0 I'm fairly new to docker, and I have Linux containers that I wish to display applications using X11 forwarding onto my host Windows 10 machine without setting the environment value DISPLAY to host.docker.intern... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75586714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |