text string | meta dict |
|---|---|
Q: Display all data in table form with Laravel 10 I have been stuck with this error about 3 hours either with error message Undefined variable $certificates or Call to a member function isEmpty() on arrayor any other errors. Actually, I wanna display certificate data belongs to user that logs in instead all data. But I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Empty list while scraping from FBREF I'm new to web-scraping. Was using the SelectorGadget and rvest to take the data from "https://fbref.com/en/comps/9/defense/Premier-League-Stats".
I'm unable to take the data from the players table.
The code I'm using
url <- "https://fbref.com/en/comps/9/defense/Premier-League-St... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the syntax for web REST fastAPI GET function, and the request.get function where one of the input variable is List, or Numpy Array been driving me crazy with the syntax for the past week, so hopefully an enlightened one can point me out! I've traced these posts, but somehow I couldn't get them to work
I am lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: replacing strings in file with values from a list in batch I have a simple problem, yet I am struggling for some days now to get a simple batch skript running. All I want to do, is to loop through a list (e.g. 123,456,789) and replace the first and second occurence of a string in a file with 123, and the next two oc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why i got an error-like icon when i define the Azure Function's configuration to reference key vault reference Inside my Azure Function's Configuration >> i define the following values to reference azure key vault secret
instead of storing the values as free-text:-
but when i do so >> i got an error-like icon besid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Configure Static IP from server side requests from an AWS Amplify-hosted website I have to make requests to an application that has a Whitelist IP, so I have to ensure my IP of my website will be always the same, but AWS Amplify doesn't offer configurations about this. What can I do?
There are other questions relate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Socket io sending duplicate messages after switching rooms enter image description hereI am building a slack type application where there are multiple rooms for chatting. But if the click one room and send a message, it works fine, but after that, if go to another channel and send a message, my message gets to send ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure devOps pipeline fails sometime with error The run you are attempting to access is already complete and will not accept new groups I've created 2 pipelines (Int Smoke, QA Smoke) in the same branch, those 2 pipelines are triggering from 2 different pipelines. But pipelines are failing sometimes (Int Smoke and QA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php hooks editing variables I want to have something similar than wordpress uses for Hooks, basically, in some parts of the code, I want to be able to check if a php file exists, and if so, run that code.
I am using Observer pattern to do that for domain events, but this is actually different as I need to access and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving source line in property using CSV Helper I have this simple class
public class Data
{
public int Id { get; set; }
public string Name { get; set; }
// public string? OriginalRecord { get; set; }
}
This is my data file:
32,Foo
45,Bar
Reading is done like this
using (var reader = new StreamReader("... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send raw data to a thermal printer using HTML I have a thermal printer that I am printing labels to via a simple Java application. The printer is controlled using ZPL programming language. A string is prepared to format the label, and then this string is sent to the IP address of the printer using writeBytes(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I convert architecture-based checks to autoconf? I'm working on trying to convert a project to autoconf which has a hand-written configure script. In this script, there are several occasions where variables are set based on CPU architecture, such as in the example provided at the bottom, which are later subti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dapper > Parameterless Constructor This is my Object:
public class Ticket
{
public Ticket(string origin, string destination, string price, DateTime travelDate)
{
Origin = origin;
Destination = destination;
Price = price;
TravelDate = travelDate;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the correct way for creating multistep forms in PowerApps? We are developing an Interview tool in which we need to use multistep forms.
I've tried the following steps for inserting data in database:
*
*Add Button : onselect(): Set(varFormMode, Defaults(datasourcename))
*Save Button (last step) : onselect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to unselect the selected slice in pie chart from another function in highcharts how to unselect slice from function in the pie chart in highcharts.
https://www.highcharts.com/demo/pie-basic
right now it is unselecting when I click on the selected slice of the pie chart.
but what I want to do is want to call high... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Power query - Convert hours and minutes in text format to duration format I have a column that consists time data in hours and minutes, but it is in text format and I need to convert it to duration format in order to measure duration per month which I will use in my dashboard. Is there a syntax in M language?
A: I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to add a dot at any position in a string in R using gsub and regex I use the following code to add a dot after the third position in my string
x = "X012345"
y = gsub('^(.{3})(.*)$', '\\1.\\2', x)
print(y)
[1] "X01.2345"
I need this to become more general. I want to be able to put my dot after any character of m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EF Core - Orchestrate SavingChanges and SaveChanges interceptor / event to keep track of modified entities after changes are saved TLDR: How can we orchestrate SavingChanges and SaveChanges interceptor / event to keep track of modified entities after changes are saved for post-processing?
We have a REST API with .NE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Data Set Modification through Google apps script or formula I have a data set in below format & Expected format also mentioned in below format. Kindly help.
https://docs.google.com/spreadsheets/d/1iWePKBR6vJOG4DWgnFQcP72CK1vlcqODN-dOud6PcJc/edit?usp=share_link
I tried to complete this by Textjoin & Join Function but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Error when adding a new page from a PDF Using FPDF Good morning, I'm trying to make an algorithm that takes several images and several PDFs and converts them into a single PDF, making it easier to upload files to my system.
I have the following codes:
$pdf = new FPDF();
$Fpdfi = new setasign\Fpdi\Fpdi();
for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use data frame to scrap url links from the website using python and translate url links using google translation? I am struggling to create a data frame, but the current works as it scrap the website title and course. Now i am struggling to write some functions using data frame that will count from the websit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: POWER BI - Incorrect Total for NON-DISTINCT values I am creating a visual looking like that:
I am showing the delivery in comparison to the order. The yellow column is a measure.
SKU Del. QTY cut = IFERROR(
IF(SUM(Fact1_Delivered[Total Del. QTY])>SUM(Fact2_Allocation[Allocation QTY]), SUM(Fact2_Allocation[Allocatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to know which interface is implemented where there is multiple interface with same method signature in PHP In this code, there are 2 interface, both have same method signature, how can i know class cat has implemented which interface makesound() method? does it has implemented animal2 method or animal1
By OOPs c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PowerApps Logging Authorization I would need to track for my applications released on powerplatform and for which authentication via azure AD is required the following:
*
*login successes
*failed logins
*logout
how can i achieve this?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mapstruct and one to many relation I use spring boot 3 with mapstruct
I have an entity with a one to many relation ( bidirectinoal)
@Entity(name = "Post")
@Table(name = "post")
public class Post {
@Id
@GeneratedValue
private Long id;
private String title;
@OneToMany(
mappedBy = "pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Manipulate Adobe Illustrator panels with Javascript? (Specifically: unfold a grouped item in the Layers panel) I have quite a lot of experience writing CEP panels for Adobe Illustrator in Javascript, and I have the reference PDF's and links to the official Github repo etc.
I have written a simple script that will ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WordPress posts won’t publish or save draft in Gutenberg editor. No error message When publishing a new post, the post is not published and is saved as a draft. No error is received.
It should be noted that this happens for post-types that use the Gutenberg editor, and this does not happen if the classic editor is u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fill auto incremented primary key field from Database instead of explicitly filling it in Kafka Producer? I am creating an end to end kafka messaging example.
When I come to the step where I fill User data to kafka topic from a producer, and after setting my schema registry with the following :
{
"type": "r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WPF Textbox TwoWay binding in datatemplate not updating the source I created a ListBox in which I specified a DataTemplate with a Grid and two elements in it (TextBlock and TextBox). The source in ListBox is ObservableCollection<int>. Everything displays fine, but when I try to change the value in the TextBox, the b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are external dependency's original sources get packed into the final apk if provided as a separate maven artifact? Suppose my Android app uses an external dependency (some aar), e.g.:
dependencies {
implementation "some.lib:1.2.3"
}
The dep's aar itself has no sources packed into it, just bytecode. But there is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why aren't my Hull and Domain shaders compiling? This is my Hull Shader, I get "warning X3554: unknown attribute <attr_name_here>, or attribute invalid for this statement" on every attribute above the main function, as well as "error X3658: 'main': InputPatch inputs can only be used in the domain shaders and a hull ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run multiple postman collections in command or Newman I have few postman collections which i need to execute in single command.
I refer few suggestions but its not working.
Created a feed file.
newman run -f "D:\APIData\FeedFile.json"
{
"runs":[
{
"collection": "D:\APIData\DE.postman... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fitting n Backward Stepwise Regressions on n data sets using the MASS package in R sequentially without a loop After wrangling, munging, transforming, and cleaning the data, I have gotten the necessary lines of R code to run n Forward Selection Stepwise Regressions, one unique fitting estimation for each data set, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert columns to rows Datewise in Python I have a data in the following format
Date
AA_ZZ_CR
AA_ZZ_BT
AA_XX_CR
AA_XX_BT
BB_ZZ_CR
BB_ZZ_BT
BB_XX_CR
BB_XX_BT
20230202
20
56
34
556
29
59
32
559
20230203
21
45
54
423
28
48
53
426
20230204
22
78
23
790
27
76
29
794
20230205
23
78
56
778
26
72
51
77... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix dylint warning "return a type that includes relevant context"? I have a function that looks as follows:
pub fn hello() -> ResultGeneric<(), ProgramError> {
// function body...
some_byte_array.serialize(&mut &mut some_binary_data.borrow_mut()[start..end])?;
}
I enabled a linter (Dylint) and now it com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why Pandas fillna method does not work with pd.NA values? According to the reference page of Pandas.DataFrame.fillna, all NA/NaN values are filled using the specified method.
However, in presence of pd.NA values it does not work.
As you can see in the following code block in fact, if I want to replace missing boolea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Native expo: I'm trying to fetch images url from firebase and put them into array but react native only shows the last item inside array enter image description here
I can't display the image array that i fetched from firestore
A: I am assuming that Posts is a useState which is an empty array and you are tryi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Overriding React Native props using cloneElement does not work when calling the function I have a component called Draggable that does the following
const Draggable = props => {
const {position, onRelease = (drop) => { console.log("Release default") }} = props;
const panResponder = React.useRef(
PanResponde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bcrypt_elixir and Argon 2 not working even with C Compiler installed I use my Macbook M1 Pro to learn Elixir and Phoenix and I am trying to use bcrypt_elixir and/or argon2 to encrypt passwords. When I try to use the bcrypt or argon on iex -S mix this error is shown in my terminal.
Bcrypt.Base.hash_password("hard to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Firebase Recaptcha returns error of: TypeError: Cannot read property 'prototype' of undefined I am trying to setup Firebase SMS on React Native. I have two documents the first is a Firebaseconfig.js whose code is:
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
// Your web app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Express server not returning static file from middleware Below is the simple pgm which I wrote for diplaying a webpage.
const express = require('express')
const way = require('path')
let app = express();
app.use(express.static("./public"))
app.get("/",(req,res)=>
{ console.log("FFF");
res.send("We in route")
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to interweave divs in display: flex? This is a little hard to explain in just text so I'm including an image:
diagram
Right now I have 2 divs in display: flex and want to create something which works for mobile view as well ... however I need to 'interweave them'
what would be the best way to achieve this?
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a QuickSight API to process exported analyses? Amazon QuickSight has recently added functionality to export and import analyses:
https://aws.amazon.com/blogs/aws/new-amazon-quicksight-api-capabilities-to-accelerate-your-bi-transformation/
However, the exported files have a lot of hard coded ARNs, UUIDs, etc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why binary file works perfectly outside the container but does not work inside of it I made a binary file (go app) with name "simply-work", it works perfectly when I run it in terminal
./simply-work --something=smth-test
I decided to use it in docker container, so I created Dockerfile
FROM docker:latest
COPY /local... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Electron-build has error in building with "Cannot read property 'channel' of null" I am using Electron builder to build Electron app for Mac.
I have built for Window and Linux successfully, but when I tried in building for Mac, I have the following error.
Can not Cleanup: TypeError: Cannot read property 'channel' o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to have a dynamic path for the string in C#? private static void clearFolderWithFilter(string folderName = @"C:\A\B" , string filesToExclude = "debug.log")
{
DirectoryInfo dir = new DirectoryInfo(folderName);
foreach (FileInfo fi in dir.GetFiles())
{
if (!fi.Name.Contains(filesToExclude))
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: turtlebot3_teleop_keyboard-1 process has died roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
After running roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch I try to launch roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch which shows the error message
Checking log directory for disk ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to rename files with snakemake with a dictionary in config file? I currently have the issue of renaming some files with snakemake based on pattern matching with help of a dictionary in the config file. The input wildcard does not match the output wildcard any more afterwards. The data follow this structure:
.
├─... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to disable turning off multiple cursors when using CTRL In vscode when i use multiple cursors i want to move word by word using ctrl, but moving from ctrl resets multiple cursors. How to fix it?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle SQL Update invalid identifier on existing table i have a problem with my Oracle Sql query on the first 'where' query.
i want to change a date in the chdate column if the following is true, that in be_einheit.merge_unit_id is not null.
update be_container bc
set bc.chdate = sysdate
where be_ei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Combining "parallel arrays" into Dataframe structure I have the following data structure in json that I am trying to get into a dataframe using AWS Glue:
{
"out": [
{
"attr": [ "a1", "a2", "a3" ],
"val": [ 1, 2, 3 ],
"text": "test1"
},
{
"at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check for regex in commit message using GitHub Actions I want to check for this particular regex in the commit messages for every push event
/(user story|defect|quality story) #[0-9]+/gi
The github action should echo 'Matching Expression' if the regex is found or exit if not found.
This is what I came up with:
name:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use ipfr with grouped variables to create a weight variable I want to build a weight variable using the ipfr package for socioeconomic data. I've already managed to build a weighting variable for my whole dataset, as described very nicely in example 2 here.
As my data is panel data with around 20 waves, I now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how does df.copy() work when you use .remove on a row data with pandas? I am trying to make a copy of my df to delete data from the copy without affecting the original, but with all the tests I have done, it always changes the copy and the original. Here is the code:
import copy
data = {"name": [["Sally", "EYE", "FA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PBR+IBL rough material looks overly reflective I implemented PBR+IBL and use gltf offical sample model to test my implementation. But the result looks bad. I prefiltered the cubemap and store the result in textures, they are
*
*prefiltered diffuse
*prefiltered specular
*BRDF Integration
I have verified that the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python json.load() returning error unusual JSONDecodeError I am developing a python script, and it must read a JSON file.
Here is the code i have:
import json
f = open('data.json', 'r')
a = json.load(f)
for some reason, I am encountering the following error:
File "C:\Program Files\Python39\lib\json\__init__.py", li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get count of a field and use that as a new column for each line item in a new table I'm trying to create a new table which sources data from 2 different tables. Here is how the layout is supposed to look?
acc_no | id | total_num | status
The total_num column is supposed to have the count value for each line item ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering vertices in OpenGL, with early fragment tests enabled I have an OpenGL rendering pipeline that needs to check if vertices have NAN values as coordinates, and discard the entire triangle in this case. For this I have a vertex shader like this:
#version 460 core
uniform mat3 projection;
layout(location=0) i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does the `count` function work but not `sum`? The idea is to sum across several tables. I can get COUNT to work, but when I change it to SUM I get an error.
Query Error: Error: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right synt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SDL2 library on macOS Ventura I have installed SDL with the command:
brew install sdl2
However, I don't know what to include in my .c file. Can anyone help me?
I tried to #include <SDL.h>, <SDL2.h>, <SDL/SDL2.h>, <SDL/SDL2_main.h> and compile with the command:
gcc `sdl-config --cflags --libs` -o main.x main.c
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get page occupied by graphs I am having trouble reproducing a series of graphs in RMardwon on the same page. Here is the dataset I am working with:
structure(list(ID = 1:6, Vid = c(0, 0, 1, 1, 1, 1), Mus = c(1,
0, 1, 1, 0, 1), Rea = c(1, 0, 1, 1, 1, 1), Ema = c(1, 0, 0, 1,
1, 0), SMS = c(1, 0, 1, 1, 1, 1), ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server backup file size increase after restore I backup my database in SQL Server 2014 and the size of the backup file (.bak) is around 3 GB.
When I restore that backup file to SQL Server 2019, and now its size becomes over 20 GB !
How can I solve it? The application runs very slowly now.
Restoring the backup fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Date format mm/dd/yyyy not converting to dd.mm.yyyy I have a script used to merge different excel-dumps of credit card and bank account monthly lists into one and sorted by date.
I have to add a new credit card now, and the excel-dumps I get there has a date value that differs from the other ones I've already solved... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MAUI - data template selector Let's say I have a view model with a collection of items and a selected item.
public interface IFoo {..}
public interface IFooA : IFoo {..}
public interface IFooB : IFoo {..}
public class MyViewModel : ViewModelBase
{
private IFoo _selectedItem;
public IFoo SelectedItem
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A/B testing youtube likes and twitter likes and retweet buttons I'm trying to develop an idea that can be in the form of a chrome extension or a custom browser. I'm trying to implement a way to track and analyze test users and use A/B testing to see if the users click on the retweet button of a certain tweet or have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I want a convert python to json I want to convert python parser to json. Here's a code of my python parser.
import re
import time
from urllib.parse import quote, unquote
from urllib.request import urlopen
import requests
from bs4 import BeautifulSoup
url = "https://fasie.ru"
page = urlopen(url)
html = page.read().d... | {
"language": "ru",
"url": "https://stackoverflow.com/questions/75615819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to let the implementor of a trait define the context parameter type I would like to define a trait in a library, and where the type of the contextual parameter is defined by the caller user of the library. For example, it would look something like:
////////////////////////
// library
////////////////////////
tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Deep Learning VM spawning too many /opt/deeplearning/bin/run_diagnostic_tool.sh processes I am using Google Deep Learning VM, Version: tf2-cpu.2-11.m102 I find it is automatically spawns too many /opt/deeplearning/bin/run_diagnostic_tool.sh processes, consuming lot of cpu. is it possible to stop running these... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional type based on one property When actions is defined in the object, I want type C to be B, when it's not defined, I want type C to be A, how to implement such type/interface?
interface A {
label: string
prop: string
}
interface B {
label?: string
actions: string[]
}
// Pseudocode
type C = actions... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to find the longest consecutive 1 of binary in python this is my code
so the logic basically is supposed to be that the user inputs an integer
we check with the first bit of integer whether it is 1 or not
if 1 the var count goes up
if not we skip it
we do this till the longest set of 1's is reached which is set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: handle CREATE LOGIN x WITH PASSWORD in database projects How to manage logins with password in database project in visual studio? Again I compare the database schemas and the same problem occurs - either the passwords are copied to the code repository from the dacpac files or schema compare reports differences on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: issue with the integration of mongodb with express **mongo details**
Connecting to: mongodb://127.0.0.1:27017/?
directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.8.0
Using MongoDB: 6.0.4
Using Mongosh: 1.8.0
**dependencies**
"dependencies": {
"express": "^4.18... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keycloak loginless flow doesn't offer user password login for users without a registered security key According to the documentation, the loginless flow consists only of a single execution:
It states that:
You can now add the required action WebAuthn Register Passwordless to
a user, already known to Keycloak, to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create table with means and frequencies in R I have a dataset like this:
structure(list(age = c(23, 25, 60, 12), sex = c(0, 1, 0, 1),
bmi = c(25, 30, 23, 24), disease = c(0, 1, 0, 1)), class = c("tbl_df",
"tbl", "data.frame"), row.names = c(NA, -4L))
I want to calculate the mean(SD) or frequency(percentage) o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: find one or more element in strings array in another strings array first_array = ['aaa', 'eee']
second_array = ['aaa', 'bbb', 'ccc', 'ddd', 'eee']
In Python, I want to determine whether any of the elements from the first array (one or more) are present in the second array.
I attempted using subset and union, but i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix my materials that are pink even the unity starter code when creating a standard surface shader? So currently i created a new project, and created a lit/standard surface shader, i do not change anything in the code and create a material from it. When applying this material to an object it becomes purple, w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dataframe KeyError - not in index I'm struggling to copy the below stated 3 columns from the non_contras_by_account dataframe columns. Whenever I run this code I get a KeyError that 'account key' not in index. This is odd because 'account_key' is clearly present in this dataframe.
Any help on this would be much appr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling multiple APIs using Coroutines causes error I have a list of 30 objects for which I need to call API. I then add the result of all API calls and return as answer. But it gives 503 error after few calls.
override suspend fun getScoreboard(docId: String): ScoreboardResult {
val scoreboardResult = Score... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: force Writable.write to write only one chunk at a time I'm trying to send a stream of JSON data with express. The data does get sent in chunks, but sometimes express sends multiple chunks at once, which creates a problem with parsing the data, as the json is then invalid. I'm sending arrays of objects and when chunk... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Three.js - Shader with shadows I'm new to webGL and even more so to shaders.
I created a shader to represent grass.
But I can't manage to take into account the projection of shadows (receiveShadow) of my shadowMap generated thanks to a directional light.
Could you help me update my shader please?
Here is my code:
co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "'blabla' is declared but its value is never read." here are my codes and really I dont understand why it says "'listItmes' is declared but its value is never read." on line 38. I dont see the number of my "item" list in the live server either.
var app = {
title: "Todo Aplication ",
descr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Executing gcloud commands within Terraform I've just gotten started with GCP provisioning using Terraform. I want to executing gcloud commands within Terraform eg. creating compute instance group.
I found on Terraform Registry site module - [https://registry.terraform.io/modules/terraform-google-modules/gcloud/googl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blazor WASM set Global class during program.cs for DI I'm fairly new to Blazor and I want to use a 'GlobalSettings' class. I have tried using CascadingParameters but I'm getting null errors in the console even though the site is displaying fine. I suspect due to the order of loading components.
So I'd like to use DI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Infinite scroll not working properly using Intersection Api , useRef and useInfiniteScroll in react query? I am trying to implement infinite scroll using Intersection Api and useRef .
<div className="loader" ref={observedElement}>
{isFetchingNextPage && hasNextPage ? "Loading..." : "No search left"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can birt report does support hindi ,japanese,telugu and other then non-english langagues I am facing an issue while generating the birt report for Hindi language and for other non English languages while I am able to fetch the data from the database but not able to generate the birt report with that data though I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use variable instead of schema for selecting SQL I would like to use variables instead of schema name but I don't want to go with sp_executesql
set schema = 'PUBLIC'
select * from identifier(schema).MYTABLE_NAME;
It's not working tried with $, @, table binding but didn't get the result. Please let me know how to us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I link the layout of a child class with its parent´s one using databinding (JAVA-android)? This is the issue:
I have a functional class_A with a well defined layout-A, and all the members of the layout are accessed via data binding.
public class class_A
{
private layoutA_Binding data_A;
}
There is a second ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Logic in PySpark Dataframe to include the previous row value using the lag function I have to apply a logic in calculating the balance for a date. Where the current generated row is dependent on previous row value, For a null condition.
Below is representation of problem statement in tabular format. First Four colum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gdal_translate error: Could not perform Read/Write (ecw to tif) Thanks in advance for any help!
I am using the gdal CLI for ECW file conversions to subset and convert a large ECW file to individual tif files. I have two ECW files, one infrared and one RGB. on the RGB file, the following code works perfectly:
gdal_tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LSTM Autoencoder - real-time prediction I have trained the following LSTM Autoencoder:
Note: For training I set first dimension of input to None to allow for training and testing on data with different timesteps.
I also use the Lambda layer instead of
repeat = keras.layers.RepeatVector(n=n_timesteps)
As it is requi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement in C# class generic method or template to prevent dynamic casting I have a question about implementation without dynamic casting.
In order to demonstrate my problem here is a toy problem, in C#:
public abstract class Animal
{
protected bool ate = false;
public abstract void Speak();
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Driver disconnecting, WebDriverException: disconnected: not connected to DevTools using selenium I have been trying to scrape a website with Selenium and the code had been working just fine with the scrolling task, but not arriving at the bottom of the page as I needed. So I have worked on other details and have bee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sync data between Azure SQL database to Azure Active Directory How to sync data between Azure SQL database to Azure Active Directory
How to sync data between Azure SQL database to Azure Active Directory
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75615867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RedirectURL in react-native-app-auth doesn't work import {authorize} from 'react-native-app-auth';
const config = {
clientId: 'MYCLIENTID',
redirectUrl: 'myapp:/authredirect',
scopes: [''],
serviceConfiguration: {
authorizationEndpoint: `MYAUTHURL`,
tokenEndpoint: `MYTOKENURL`
}
}
co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gradle task to run another task with multiple arguments I was wondering if it's possible to create a gradle task to run another task with multiple arguments in parallel. This specific tasks are deploying and running Vertx verticles, deploying them individually, but I wanted a way to run all verticles at the same tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Attempt to read property "status" on null First time i try to log in in my website the website crash with error " status on null" , sometimes when i refresh it lets . I cant find the error.
public function authenticate()
{
$this->ensureIsNotRateLimited();
if (!Auth::attempt($this->only('email', 'pass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to resolve sonar guava issue? Could you please tell me how to resolve the following sonar issues.
guava-31.1-android.jar | Reference: CVE-2020-8908 | CVSS Score: 6.2 | Category: CWE-379 | guava - Creation of Temporary File in Directory with Insecure Permissions [CVE-2020-8908] The software creates a temporary fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Face recognition api please help me
I used this source code in the image for face recognition
This source code registers the top, left, bottom, and right values in the console
But it does not recognize any face when importing a photo[
enter image description here]
(https://i.stack.imgur.com/nkl1y.jpg)enter imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How do I manage the dates and the corresponding data on my fitness Application in flutter? How do I manage different data with dates based on the calendar(Calendar is in Application UI) in Flutter for a fitness tracker application.
I don't want to store the data permanently on a cloud database
I want to store it on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add total rows to data frame by group using two grouping variables Suppose I have the data frame like the one below with two grouping variables "Group" and "Gender" and two additional variables with counts:
Group <- c("Group1","Group1","Group2","Group2")
Gender <- c("Male","Female","Male","Female")
Y <- c(7,5,6,10)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75615886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |