text string | meta dict |
|---|---|
Q: jQuery get plaintext file: "XML Parsing Error: not well-formed" I'm attempting to use jQuery to load the contents of a plaintext (.bib) file. Despite my best attempts, the file seems to be interpreted as XML, leading to a parsing error.
Code:
$(document).ready(function(){
$.ajax({
url: "publications.bib"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make stata-style marginal effects plots for interactions in multinomial logit models in R? I would like to plot the marginal effects of an interaction in a multinomial logit model (nnet::multinom) according to the example below from the margins package for R, as explained here.
The particular graph I would li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which is the correct way to define globals values for labels in React? im trying to search how to define a dictionary of labels values for use in all the pages of my React app, i dont know which is the correct way or the best practice for that.
Im thinking something like to define a json with key-values:
const MyDic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Execution failed for task ':app:signReleaseBundle' when running flutter build appbundle I've followed the steps here:
Flutter docs
This is the error I get when running flutter build appbundle (same with apk)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signReleaseBundl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inquiry about the AODV protocol implementation Regarding the AODV protocol code in inet:
I think:
in sendRREQ the order of the if statement should be:
if (timeToLive != 0) {
}
else if (rrepTimer != waitForRREPTimers.end()) {
}
else
{
rrepTi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: issues in selectmanyMenu and selectcheckbox backgroundcolor changes on checked checkboxes in primefaces I want to highlighted checkbox(Background color with checkbox and label) which is checked in selectManyCheckbox in primefaces. Please help on this.
(or)
If I clicked outside of the checkbox in selectManyMenu in pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Failed requests in node.js Good day
I have a problem and it is that I have developed code made with node.js when testing it locally it works normally but when I upload the code in an EC2 instance the endpoints do not respond to me, the request made from a POST works and returns me a security token but when I try to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Splitting Name into First and Last Name and then Counting Last Name to Determine Family Size in Pandas-- How to Deal with NaN? friends,
I am pretty new to Pandas and hoped for some advice.
I have a data frame with a column of names. I want to split the names to create a new column of last names, and then create a n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Properties get removed when extending Express Request type in Axios I'm using NodeJS (TS) with Express and Axios.
Because I Request dose not have userId I get an error
async (req: UserRequest, res: Response, next: NextFunction) => {
req.userId = data.user_id;
}
So I extend the Request type from express like thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: T-SQL Select CASE I need help in writing a T-SQL select statement for my update.
Existing SQL update statement:
UPDATE etl.dbo.SVRSummaryDataStage
SET Location = CASE
WHEN Location IN ('131200', '131400', '131500', '132400')
THEN '131200'
WHEN Location IN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Further clarification required regarding difference between unbuffered channel (i.e. capacity 0) vs buffered channel of capacity 1 in Golang In the link below, one of the replies given on the difference between unbuffered vs buffered channel of 1 capacity is that if "the channel is unbuffered (capacity is zero), the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access properties of a context class (non-static) inside a Nest.js interceptor I am trying to create an interceptor for audit logging. Here I want to get previous data if the request is PUT or PATCH, so I want to access different services in my app to get the document before processing.
The problem is that I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could anyone explain why my function doesn't work? I was doing it with a YouTube tutorial and for some reason it doesn't work for me. Not sure what's wrong..
When I click the close button there is no reaction but it supposed to be closing the floating cart
Can't find a solution. Just started to learn JS
const bar = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to host API on Azure that can serve huge loads (100K requests a second) I need help designing a web API system (.NET 6.0) that can serve 100K requests per second (in bursts).
All I need to do is expose an HTTP endpoint that will do a few calculations using Cosmos DB and SQL DB (read optimised replica) and r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: save model in qkeras I defined my model as follow:
resize_and_rescale = tf.keras.Sequential([
layers.experimental.preprocessing.Resizing(IMAGE_SIZE, IMAGE_SIZE),
layers.experimental.preprocessing.Rescaling(1./255),
])
# Input layer
input_shape = (BATCH_SIZE, IMAGE_SIZE, IMAGE_SIZE, CHANNELS)
# Modello
mode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to load a file from flutter I write this code to save an list as csv file
generatecsv() async {
if (await Permission.storage.request().isGranted) {
String dir = (await getExternalStorageDirectory())!.path;
String filep = "$dir/csvdatasave.csv";
File f = new File(filep);
String ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: An unwanted and useless extraline in django crispy-forms In Django, I have this forms.py :
class ProfileForm(ModelForm):
class Meta:
model = Profile
fields = [
'sex','birth_date','civil_status',
'priv_tel','priv_email',
'priv_adr_l1','priv_adr_l2','priv_adr_zipcode','priv_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Testcafe parallelization for test batches I'd like to know if its possible to run parallely test cases for test batches. What I mean is the following:
My project structure has 2 folders Folder1 and Folder 2
.
Folder 1 has test1, test2, test3, test4
Folder 2 has test5, test6, test7
I've tried smth like thisnpx testca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not sending mail PHP form contact I made a php form contact and it doesn't send the contact mail. I called the hosting service and It's not their problem. It has to be on the code.
//send.php document
<?php
if(isset($_POST['email'])) {
$to = "info@andreoutumuro.com";
$subject = "Novo mensaxe de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React-Native losing focus on placing TextInput inside an function I'm new to React-Native, I have to place a TextInput inside if clause, I couldn't been able to directly place it on function return so I put it on a function tag, but after that TextInput loses focus on each keypress, how I can do that?
export const X... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I provide password with Powershell Script when I open a protected excel document? I am trying to write a script that will automatically input a password when this popup box shows up. Can someone provide me a simple example how on to do this?
Pop up
As an FYI, this is how the password is created.
Save As > Too... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "http://:..://" Is this valid url in CloseableHttpClient? I am able to get 200 status code for "http://machineName:port..://".
But same url format is not running in postman or normal browser. I have to validate this wrong format url but http response is not throwing any exception so how to solve this problem.
I am u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quiz page. Options can be clicked multiple times I'm making a Quiz page using HTML, CSS, JS. When I click an option it shows if it's a correct or a wrong answer. But when I click on an option of the same question again, it again registers a click.
I tried element.removeEventListener but still the issue persists. How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Html content comes on top of navbar I have a problem my html content comes on top of my navbar even tho I'm including it in my {%block content%}
This is my base template
<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i fetch specific values from this array like ProductName and price?, i have tried map method but it only works with one value
const products = [{
productId: 1,
productName: 'Tablet',
price: 120,
Image: 'source',
isPublished: true,
isAvailbe: false,
},
{
productId: 2,
pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding a button to footer that shows a list with options I created a footer for my app which let's the user browse to different pages. However, there are too many screens to display so I wanted to create one button on the right which let's the user see a list with additional screens that can be opened. I found this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Listing all branches and querying whether the local repo is in sync with remote Given
F---E---D----B---A
/
C [branch name]
git branch --all lists all branches both locally and remotely. The output is something like:
C
*master
/remotes/origin/C
/remotes/origin/master
I would like to g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c# ML.Net Text classification - cannot obtains correct result I'm new in machine learning and trying to build stuff.
I have below code taking text and in "modifiedFilePath" and boolean value "IsDeadLine".
i'm doing single test, with text
"Document must be filled on second month of the year"
that i know is true for "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex at least One Uppercase, One Lowercase, One Digit, and optionally allow any other character, min length of 8 and max length of 72 I have the Regex below.
This matches if there is:
*
*At least one uppercase
*At least one lowercase
*At least one digit
*At least one non-alphanumerical
How can I make the non-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how to do a spearman correlation matrix for each of my independent variables? I am asking for help to make a spearman correlation matrix where I can visualize how in each conditions if there are correlations between TAC (dependent variable) and concentration? If possible with p.adjust included.
The type of matrix I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: vue__WEBPACK_IMPORTED_MODULE_1__.default is undefined I am trying to install Vue.js 3 and BootstrapVue with the doc of BootstrapVue.
My app build but Vue don't load. I can't understand why...
Thanks in advance if you have any ideas :)
I did (like in the documentation): vue-cli-3
*
*vue create my-app
cd my-a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pywin32 installed files different than souce files on github I had an issue with Mark Hammond's pythonwin install for 3.11.2
I traced the issue to a line of code in the file CallTips.py that was using the deprecated inspect.formatargspecs() and posted an issue on GitHub
I subsequently discovered that the code in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony don't move uploadedFile in right folder during unitTest I have a Controller that get image from Form and move this image into a specific folder :
YML config :
parameters:
app.logos_directory: "assets/images/logos/"
Controller.php
$logosDirectory = $this->getParameter('app.logos_directory');
$postLogo->m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert records in Azure Databricks delta table to a nested JSON structure? Let's say I have a delta table in Azure databricks that stores the staff details (denormalized).
I wanted to export the data in the JSON format and save it as a single file on a storage location. I need help with the databricks sql q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How I can make login register I try make register/login page.
how can I create it?
I try but, don't work
How I can create working register/login page using js
A: HTML and PHP/MySQL can be used to create a login page and a database to store/access credentials.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use data from shared library in microfrontend container? So I have application that uses 4 micro frontends. I made docker containers for each of them but when I run it via browser I get Null Injection error because my micro fronted is not able to use data from folder that is shared by all micro frontends. How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to mock a EntityListener function? I'm trying to mock one function in an EntityListener, so the real implementation is not called in my test. The code looks like the following:
@EntityListeners(myEntityListener.class)
@Entity
public class myEntity {
...
}
public class myEntityListener {
public String d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Merge two rows in same table while summing a column With the risk of not fully understanding PostgresQL, here goes:
I have a table called work.
CREATE TABLE work(
name character varying(40) NOT NULL,
round bigint NOT NULL,
amount bigint,
PRIMARY KEY (name, round)
)
New rows are added where each nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA: Change Date To String Issues I've tried all solutions I could find, but none work.
I have a column of dates and want to modify the format and convert to text. I'm doing this because I have dates with various days, but need to only find the unique month-year combos. When I format the dates to show "mmm-yy" and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm getting raise AttributeError(key) error in Flask In flask, I'm using marshmallow_sqlalchemy package to serialize and de-serialize model data. I have two models, Account and Address. I have Account foreign key to Address model. My model details are listed below.
models.py
class Account(db.Model):
id = db.Col... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker volumes mounting, but changes aren't reflected I have two containers - a frontend (Next.js) and backend (NestJS). I run them both via docker-compose. The project structure is
project/
├─ frontend/
│ ├─ Dockerfile
├─ backend/
│ ├─ Dockerfile
├─ docker-compose.yml
backend Dockerfile
FROM node: alpine
WORKDIR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Already defined a function of a header but i still get undefined function error in cmake I have a header file in a directory called "include". Then I have source file in src directory. I've already added them in my cmakelists.
I have defined the function foo in hello.cpp in the src directory.Running Cmake was fine,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: pyvis how to change the label of an added node in the graph html and save in new file? By using g.show_buttons(filter_= ['manipulation']), one gets the possibility to add nodes and create/ delete edges in the html file.
However the label shown in a new created node is "new".
a) Is there any way to change the label t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to POST an entity with an embedded resource (referencing an existing entity) in API Platform? My API platform setup only accept application/json content type.
CartItem has a ManyToOne relation with Product. I'll paste a minimal example of both. When I POST a payload like this:
POST /api/cart-items
{
"produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android/Koin module: best way to access androidContent() As Kotlin/Koin newbie, I have an AppSettingsRepository interface:
interface AppSettingsRepository {
suspend fun getAppSettings(): Result<AppSettings>
suspend fun setAppSettings(appSettings: AppSettings): Result<Boolean>
}
with two implementation class... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Command line comments are not followed by Spaces When I first learned the source code, I found that some comments did not conform to the code specification. But I'm not sure if there's a design or if it's really a bug. It's like this without a space at the beginning of the comment.eg like bellow comment code from go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Where GitKraken profiles for linux are stored? I'm looking for those because i've got my gitkraken profile broken and it crashes if i try to edit it inside app
I want to delete profile files to reset it, reinstalling gitkraken doesn't help
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: With aws s3 commands, how to check on s3 bucket that required number (10) of files (File name starint with PRD) are available, With aws s3 commands, how to check on s3 bucket that required number (10) of files (File name starint with PRD) are available:
*
*If available then all 10 files sizes are greater than 0 KB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Formatting Address into readable format based on Line Breaks Need some advice
I am scraping a website using Python and Selenium. The results of the scrap are being saved into a CSV.
I am currently scraping the address of a company, however the address being returned back is being passed in the following format into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Minecraft Texturepack problems? No programming involved So yesterday wanted to make a minecraft texturepack for iron trapdoors !
I need to make the closed iron trapdoor Fully black , and the open trapdoor invisible!
Can somebody help me how can i make it?
I named the closed trapdoor iron_trapdoor.png
& the open trap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Assign a JavaScript Function to HTML Input Radiobutton Value Is it possible to assign a JavaScript function to html input radiobutton value? I.e.:
<html>
<input type="radio" name="w_act" class="water_activity" value="tetens(T_op)" ></input>
</html>
<script>
var T_op = 298
function tetens(T_op) {return Math.pow(T_op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Subgrouping Quantiles for 9 traits to form a dataframe showing individuals falling in range of quantiles (0-0.25,0.25-0.50...) for all the traits I made quantiles for 9 traits separately from a datafile rr , ex.
q1 <- quantile(rr$PHemmean,prob=seq(0,1,by=0.2))
q2 <- quantile(rr$ELemmean,prob=seq(0,1,by=0.2))
how to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use a volume name instead of a drive letter with rclone on windows? Is it possible to use a volume name with rclone on windows instead of a drive letter? And if so, how? Reading the documentation on rclone, I can only find examples for linux. But it seems it should be possible given that rclone is also abl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract the date of the post from facebook group? I want to know how to extract the date of the post from facebook group?
Although I am able to get the date of all the posts except the first post because the first post has some gibberish spans & their textContent doesn't makes sense unless they put in order (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error with trying to backward() through graph a second time in Pytorch I have the following code which is causing me a problem:
optimizer1 = torch.optim.LBFGS(my_neural_network.parameters(), lr=lr1)
loss1=100.0
loss2=0.0
x = torch.tensor([200, 100, 0, 1, 15])
for epoch in range(no_of_epochs+1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sentiment weighting I struggle to understand how to implement a logical weightening of sentiment data. I predicted the sentiment for multiple Reddit comments. How can I weight them according to their scores? The problem is sentiment data is going from -0.003 to 0.08 numerical while scores can go from -1000 to 1000 (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Oracle UTL_HTTP gzip response with non-200 status I have a very strange problem with UTL_HTTP. I'm calling an API that can return a gzip encoded response. This is handled correctly when the service returns a 200 status code. However, when I try using get_text or get_raw on the response when the status is not 200, I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change a field option in the inherited class For example, I have a code:
from django.db import models
class AbstractClass(models.Model):
name = models.CharField(max_length=150, null=True)
class A(AbstractClass):
field = models.CharField()
class B(AbstractClass):
another_field = mode... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save pandas DataFrame without repeating index I would like to set 2 columns of a dataframe to be its indecies. However, I don't want it to repeat it in each row.
For example, I have a following dataframe, df:
Object Size Color Ornament
0 A 1 red yes
1 A 3 red yes
2 A ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why won't a Boolean cast narrow type in short-circuit evaluation? I'm trying to narrow an optional argument in short-circuit evaluation.
Here's a Typescript playground with the below code: https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABFApgZygCgA5zWmAIwBsBPAVTABMVgYwUqB+ALkQwCd6BzASkQDeAWABQiRAHoJiAO4ALFE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sybase regexp, substr, instr function to split the string I have the below data in a table.
row_num
desc
1
First Name/Last Name - Middle Name
2
FirstName/LastName - MiddleName
3
FirstName/LastName
I am looking for the desired output as below
row_num
desc_1
desc_2
desc_3
1
First Name
Last Name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: git diff file outside work tree with some commit Imagine a directory setup that looks something like this:
*
*my-git-project
*
*.git and stuff
*some-file.txt
*some-directory-that-is-not-version-controlled
*
*some-file.txt
My goal, is to compare the version of some-file.txt that is outside the git direct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Java Webview app: how to open facebook, twitter, linkedin and whatsapp app via my webview app I have a webview app of my website. On my website i have a plugin installed of facebook, twitter, LinkedIn and whatsapp. But if I want to click on facebook or twitter or linkedin or whatsapp via my webview app on on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any way to create custom dashboard with data from AWS in Jenkins I am curious that if we have any way to create custom dashboard in Jenkins for the data from AWS such as Application wise, Environment wise Instance Health status?
Dashboard view plugin gives the outline, but I am not sure if we can implement ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get the ObjectGUID attribute of AD to be mapped to SAML in order to map to Nexcloud User Accounts? I have been using LDAP for user authentication on our Nextcloud server. It appears that Nextcloud has used the ObjectGUID attribute of AD to create the data directory and local account for each of these users... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making a counter with conditions and a loop var i=1
for( i = 1; i <11; i++){
if (i=1){
console.log("Gold Medal")
} else if (i=2){
console.log("Silver Medal")
} else if (i=3){
console.log("Bronze Medal")
}else{
console.log(i)
}
}
I'm trying to learn JavaScript, but I'm q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter: setState() or markNeedsBuild called during build I am receiving an error when passing .There is a question here from 5 years ago with the same title. I do not know if I am implementing the solution incorrectly or it has been changed. My code is below. I know the problem lays in the _showEditDialog function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: & operator in predicate (filter) - How to base the filter on multiple column values? I am trying to filter a Polars dataframe based on two columns values. In the the rust user guide I could only find a predicate based filter based on one column value.
How do I add additional columns in the predicate and return a boo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MQL4 ExpertAdvisor OrderSend sometimes opens terminal Order Screen In my expert advisor that I've written, sometimes my call to OrderSend Opens a window, The one you get in mt4 terminal mode when you right click on a ticket and select modify or delete. I have to manually select to send or cancel the order. It does n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass stripe subscription data to payment request I have a subscription setup where I'm using payment request button, currently I'm passing the amount in the payment request. I want to connect this to a subscription id from stripe.
I'm using react with stripe PaymentRequestButton.
here is the setup for the payment re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to read an excel file using pandas to retrieve the desired output This is my input and I want to read it in such a way that they get categorized in three categories- technical, functional, soft
desired output
I am not able to get the logic to the output.
A: Using .assign() and .apply():
emp_id = df["Unname... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to fix "message": "Cannot read properties of undefined (reading 'findOne')" Received when calling the API made in node.js and sequelize? I'm already sorry for my poor english and this is my first question around here.
Im trying make a login app using the api with 2 roles (admin, normal user) and everytime I call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Applying SQL LIKE statement on UTF coded character giving no results I have a json column in my sql table, and I am using LIKE% to search for values in it, and it is working perfect with English chars, but when searching for Greek chars, it breaks because Greek chars are encoded in the table, however I tried to enco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Verlet physics constraints I'm trying to create a simple physics solver from scratch using pygame. I was following a tutorial here:
https://www.youtube.com/watch?v=lS_qeBy3aQI
I got to the part where he creates the constraints (3:30 ish) but when I tested my code, the object would bounce repeatedly when it hit the b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sprinngboot 3.0.2 @Repository annotation not work Has anything changed since springboot version 3.0.2, with springboot 3.0.1 works fine.
The @Repository annotation doesn't seem to work.
2023-02-24T17:05:33.802+01:00 WARN 13339 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered du... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change text color to white Based on the code below, how can I change the text color to white? The code is adapted from this question. In the tagged question answer, I don't know how the color was set to blue in the fist place.
.footer-background {
padding-top: 20px;
padding-bottom: 20px;
background-color: #1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I manually call unsubscribe() on NgbModal @Output() EventEmitter subscription? I'm opening ng-bootstrap's NgbModal programmatically and subscribing to some @Output() EventEmitter. I'm wondering if I should manually call unsubscribe() on each subscription or if that's handled somehow by Angular / NgBootstrap a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Font weight is not working in React Native expo app I am working on React Native Expo app for Web, IOS, Android. I have downloaded "Red Hat Display" font with all bold, medium, regular variants.
This is my code
`import * as Font from 'expo-font';
const useFonts = async () =>
await Font.loadAsync({
'RedHatDisplay-Bla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: list orphan disks using python sdk Trying to get the list unattached disks/orphan disks on Azure automation account using python sdk runbook version is 3.8, getting error as ** Failed
Traceback (most recent call last): File "C:\Temp\0np1hfy2.ldk\4504115d-cee5-4b9d-b712-cc053092810e", line 15, in for disk in dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Semantic release - maintenance release with suffix I would like to achieve this using semantic release.
master: 1.1.0 (release1) ---- 1.1.1 (release2)--------
\
\
release1: \ ---- feat(Something): ---- 1.1.0-mr.0 --- feat(SomethingElse): --- 1.1.0-mr.1
So release/1 could be at 1.1.0, release... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Greek letter in acronym (glossaries package)? I have no idea how to include a greek letter in the actual acronym (not just the full word)?
I've tried:
\newacronym{11b}{11b}{11b TEST} %WORKS
\newacronym{11\textbeta}{11\textbeta}{11\textbeta} %doesn't work
\newacronym{11b}{11b1}{11\textbeta} % works
\newacronym{11$\be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to force session expiry and trigger re-authentication in spring security? I'm using Spring Security with SAML2 (spring-boot-starter-security and spring-security-saml2-service-provider with spring boot v2.7.3).
I'm happy with the default behaviour of having sessions but I've seen the session only expires based on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to install Linux on older PC - always get black screen and blinking curosor? I have an old PC that used to run Windows XP (32bit). There are two hard drives. I tried to turn it on again, but Windows would not boot. I then decided to install Linux. I tried Ubuntu, Xubuntu, Debian, and Silaz (32-bit versions). ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: delegated jwt token for microsoft graph api working only for my resources I'm following the microsoft documentation to acquire a user token:
https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
*
*I create an Azure AD Application and authorize several apis.
*I generate the con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to read value on DOM element with Stimulus I'm using Stimulus in my project. I have the following HTML:
<form id="subscriptionForm" data-controller="subscription-form" action="/subscriptions">
<input type="hidden" name="product" data-subscription-form-target="product">
<div data-subscription-form-tier... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I automate the refresh of a dataset thats linked to a Google Sheet? I have a dataset that's been created via direct URL link to a google sheet. Teams will be updating the data in the sheet, and I would like to be able to schedule a daily refresh of the dataset, rather than myself manually clicking refresh in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my code not giving pefect answer of root to leaf path print problem? public static void printPath(ArrayList<Integer> path) {
for (int i = 0; i < path.size(); i++) {
System.out.print(path.get(i) + " ->");
}
System.out.println("Null");
}
public static void printRoot2Leaf(Node root, ArrayLi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Shopware6 document API request I am currently trying to get documents from my shopware instance through the api (shopware.emakers.eu/api/document), I need all the documents (all types) and for each single document I need the order informations related to it.
So, here's the body of my POST request that I am simulatin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby catching class level 'not implemented' exception This is probably impossible but I'll ask anyway.
I dynamically create CLASS methods from a database table. I've run out of env var space on AWS. So I have a table with name/value pairs and dynamically create CLASS.name methods at initialisation.
Is there any wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: is "JSON_OBJECT()" function supported in H2 DB? I am trying to query a H2 table using JSON_OBJECT. but the error message says, there is no function like JSON_OBJECT.
I am trying something like:
SELECT JSON_OBJECT(LABEL , DETAIL_DATA )
FROM DB.REQUEST_DETAILS ;
The error message is: 'Function "JSON_OBJECT" not fou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I get the type of an optional array item while in strict mode? I'm trying to get the type of an optional array item but I'm getting an error if strict mode is enabled. The type exists on an external library so I'm not able to change it.
This is the minimal reproducible example of the error:
type ReportBod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to split a chunk with specific modules from node_modules AND their dependencies I have a silly react project where I'm attempting to separate the react modules into a separate chunk, and my own application code in another.
My webpack 5 optimization config is below:
optimization: {
splitChunks: {
cacheGroup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I add a vue-js component libary to a demo folder? I have a short question. I code a Vue-Js 3 component libary in the last time and I want to add the libary to the demo, which is a folder in the libary folder. My question is now: How can I add the libary to the demo? Because if the libary folder and the demo ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My partial local variable is not working for me. Getting an NameError Rails 7 I have tried a few things and seem to be stuck. I have local var in other partials that seem to work fine.
here is my partial I want to pass through main: true
<%= render partial: "rental_categories", collection: @equipment_types, as: :equ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Secure Chat Application with Photo Tracking using SM Cryptography Framework on the Cloud I am working on a project called "Secure Chat Application with Photo Tracking using SM Cryptography Framework on the Cloud." The objective of the project is to create a secure chat application that uses SM Cryptography Framework... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: moviepy zoom in and out: slight twitching I'm trying to create a zoom in and out effect for an image using moviepy. I found this solution:
Moviepy zooming effects need tweaking
import os
from moviepy.editor import *
def resize_func(t):
if t < 4:
return 1 + 0.2*t # Zoom-in.
elif 4 <= t <= 6:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Next.js v13 + redux-persist
Getting this log in server side. My next app got crashing due redux-persist.
Next.js v13 and redux-persist v6 example code.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75558969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Pandas - groupby difference with condition I have a pandas dataframe like:
Name
Age
Flag
"John"
20
1
"John"
23
0
"Marie"
21
1
"John"
26
1
"Marie"
28
0
I want to compute, for each row, the difference between the age of the person in this row and the last age of the same person in precedent ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to uninstall the resource of dependency chart when I uninstall the main chart Release? Currently, I am using helm 3 , dependency chart to deploy a bitnami/postgresql statefulset with a nodeJS application,
however, the postgresql statefulset is still there when I uninstall the release.
now, I have to delete the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Having a problem running go e-charts components package and saying that (*charts.Line does not implement components.Charter) I am trying to use the go e-charts library and was able to get everything working except for the components package. I am getting the error
cannot use dataChart(*n) (value of type *charts.Line... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75558972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |