text string | meta dict |
|---|---|
Q: Connection refused using Node.js, caused by an "index.js" file I didn't even know existed I want to make a very simple client-server web application. I followed a tutorial step by step to make this "Hello World" program:
Server (server.js):
const io = require('socket.io')();
io.on('connection', client => {
clie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: call a function in mounted from methods in Vuejs my problem is that i have to calculate all the coordinates around a specific point (that came from an API call tomtom).
the function in mounted in the following one:
ttSearchBox.on("tomtom.searchbox.resultselected", function (event) {
var result = event.data.res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue 3 composition API - creating custom plugin with Typescript type augmenting I have some issue with proper display plugin in <script> and <template> tags on webstorm.
First of all my files and configuration
tsconfig.config.json
{
"extends": "@vue/tsconfig/tsconfig.node.json",
"include": ["vite.config.*", "vite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specify x and y in the dataframe groupby plot I have a dataframe which contains essentially 3 columns(I have many columns but the main idea is presented here):
df["Label","Data1","Data2"]
df = pd.DataFrame({'Label': [1, 1, 1, 2, 2, 3, 3, 3, 4, 4],
'Data1': [0.1, 0.01, 0.15, 0.3, 0.35, 0.38,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using encrypted password in database connection java ( jdbc / jndi ) I am using java 1.8 and tomcat 8.5 and mysql 8
My aim to replace plain username and password with encrypted username and password for database connection.
The following is the database connection string.
`<Resource name="jdbc/db" auth="Container" t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get details of payment using react-liqpay? Installed react-liqpay for my app. There are only two components LiqPayPay and LiqpayButton. I don't know how to get details of payment after it's done. May you give some adviсe?
<LiqPayPay
publicKey="public_key"
privateKey="private_key"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas: dataframe to array of rows with index as additional column With panda, when I print a dataframe, my result is
Description Test
0 Some 3
1 Thing e
2 Test NaN
For my front end I need two things: one is an object array of headers, and the other is an object array of rows. The firs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Edit output of Elementor PageBuilder In WordPress Elementor (PageBuilder) i manipulate the DOM of the section widget.
I create a new custom field and add the output value in my outer wrapper. This works without any problem in the frontend of the page.
This is the PHP snippet to add the class to the frontend DIV.
fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fatal error during installation (0x8070643) in Microsoft SQL Server Management Studio 18 setup (https://i.stack.imgur.com/wuIH1.png)
I can't able to update my Microsoft SQL Server Management Studio 18.Can anyone help me, how to fix this problem?
A: checkout here: https://learn.microsoft.com/en-us/answers/questions/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: how can i sum all the data in january example so, I
have a calendar that show all profit or lost but I want to calculate the fees amount so how can i sum with condition that be in January.
=SUMIF(MONTH(K2:K512),1,N2:N513)
so i tried to use this formula did not work error
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Creating Let's ecrypt SSL for my Kuberenetes service using Istio Hope you are doing well. I have a domain onlinetransport.africa I want SSL for the domain so I decided to use the Let’s encrypt. I wrote some script which is:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: onlinetransport-domain-cer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling a function usingTouchableHighlight with onPress throwing error "[ReferenceError: Can't find variable: onPressCalenderView]" render() {
return (
<TouchableHighlightonPress= {this.onPressCalenderView}>
<Text style={{color:'black', fontSize:20}}>dd/mm/yyyy</Text>
</TouchableHighlight>
)
};
onPressCalenderView ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error :Attempt to invoke interface method 'int java.util.List.size()' on a null object reference (retrofit data call) The problem isn't not far different from this one. The only difference is I used retrofit and RecyclerView.
ApiInterface apiInterface = ApiClient.getApiClient().create(ApiInterface.class);
Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HttpClient PostAsync error: The request was aborted: The connection was closed unexpectedly I have a VB.net application that I need to connect to an API Controller coded in PHP with Laravel as the framework. I am getting the below error when the code hits PostAsync.
System.AggregateException was caught
HResult=-21... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Color legend does not show color in geom_pictogram I am trying to create a waffle plot with 3 different informations: pictograms, colors and facets.
When I use geom_waffle, everything works (though for this question, I haven't made the plot very pretty, sorry). But when I use geom_pictogram and replace the fill para... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does it give an error when I call a function as a call by reference with a variable value that has no value? int x;
Method3(ref x);
Console.WriteLine("x is : {0}", x);
Console.ReadKey();
static void Method3(ref int a)
{
a += 100;
}
I face this error! "Error CS0165 Use of unassigned local variable 'x' "
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to temporarily allow connections with an expired certificate or an old CA certificate in OpenSSL server? My service is using a self-signed certificate.
However, as the ca.crt (ca_old.crt) on server is about to expire,
I have signed a new ca.crt (ca_new.crt) to use it (using the same ca.key, server.key).
ca_old.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Anchor Error: InstructionDidNotDeserialize I was following this tutorial and got around the 2:50:00 timestamp when I tried adding a TikTok, and it gave me this error:
Error Message
Then I searched and found this question, but it didn't really help my problem. The answers said this error typically appears because the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: python requests ChunkedEncodingError when receiving and writing some data from a server I am working on a python script (as a smaller part of a project) that would accept some URLs and receive the data sequentially using the requests module and write it to a file.
The thing is, I guess, that the server I am receivin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any better way to use ratios? I am looking to predict the number of cars that will be parked in my 100-car capacity lot over the next seven days. To price the rental accordingly, I am analyzing the reservations from the past seven days and how they ultimately played out for each day. By using this data, I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to solve 404 issue on reload in Laravel9,Vue.js,Nginx When running Vue.js in history mode, I get a 404 error when reloading.
I have modified nginx based on web pages and other information about this phenomenon, but the error does not seem to be resolved.
Do you know what the cause is?
Current Configuration
Nginx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI TwitchAPI Request Memory leak I'm trying to do a lot of API Request to load Data. The Requests itself are not very heavy on Data:
struct myFollower {
public var followed_at: String = ""
public var from_id: String = ""
public var from_login: String = ""
public var from_name: String = ""
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python list system summary and components with WMI? I'm trying to list a system summary and a summary of the components like MutliMedia, Sound Device, Input, Networks, Port Storage with WMI and WIN32_classes so far I have come up with this solution:
Do I have to list them up al seperatly or can I iterate through the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: typescript typing error while catching data from pinia state to the template I'm trying to send data from the Pinia store to a child component's input field, using TypeScript. But I'm having g the type error -
Property 'storeForm' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "AttributeError: partially initialized module 'pandas' has no attribute 'DataFrame' (most likely due to a circular import)" problem comes in vs code I have install pandas , but when i import pandas and run any code in my vs code comes with this error
"AttributeError: partially initialized module 'pandas' has no
at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: have to calculate minimum number of agents required in each time bucket so that at least 90 calls should be answered out of 100 in excel As you can see current abandon rate is approximately 30%. Propose a manpower plan required during each time bucket [between 9am to 9pm] to reduce the abandon rate to 10%. (i.e. You... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how can I keep the keyboard opened with @FocusState with SwiftUI without a bounce? I am trying to develop a view where the user must input his name and surname. these two textfields have a FocusState. Everything is working well less a little bounce when the focus changes his goal.
I do not know what is happening in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Minimal list of missing dependencies for an apt-installed program We have some missing libraries in an installed program and the installation-to-test feedback loop is very costly (as it is in large Docker containers), so want to minimize the number of trial-and-error dependency additions to just one.
Given that, how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why is the upload button for deploy and testing not working on my endpoint? I have trained a model in Vertex AI according to the sunflower-example. I used other training data and chose an other dataset option for the training of object detection.
When clicking on the upload image button I receive errors of either 50... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Operation on bits I have the following s-box
const unsigned char sbox[16][16] = {
{0x5, 0xC, 0x1, 0x0, 0x2, 0xE, 0x9, 0x8, 0xF, 0xD, 0x3, 0xB, 0x7, 0xA, 0x4, 0x6},
{0xF, 0x4, 0x3, 0xA, 0x8, 0xD, 0x6, 0x2, 0x5, 0xE, 0x1, 0x7, 0xB, 0x0, 0xC, 0x9},
{0x6, 0x7, 0xD, 0x2, 0x0, 0x3, 0xF, 0xA, 0x9, 0x1, 0xE, 0x4, 0xC,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i resize images by css in the fixed size block to not look like stretched? In my application profile pictures looks like stretched which is in circle shaped.
And there is rectangle shaped block in which also if the image is of any size other than the block size it looks like stretched.
I found the solution by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: supabase: SQL for creating new policy allowing authenticated users to insert only if a column is same as user I have a table called ebooks with rows a foreign key row called user. and i want to create a policy which checks only the users can only insert if the user column is same as the id of the user who is inserti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying alphabetically sorted post titles in a specific category in a shortcode Following this 5 years old post:
Displaying post titles in a specific category in a shortcode (wordPress)
I would like to ask for a solution to sort the post titles also alphabetically.
Thank you.
The original code:
function posts_in_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ignoring exception in command None discord.ext.commands.errors.CommandNotFound: Command "info" is not found cog.py
import discord
from discord.ext import commands
class ping(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_ready(self):
print('... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Custom run script phase not working in Mac catalyst I am using the following script for Firebase integration. It works on iOS and Mac(designed of ipad). But it doesn't work in Mac catalyst.
The problem seems to be in the path of the file, but I couldn't find a solution. How can I run this script on both iOS and Mac ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate current streak of conditional number, and excluding blanks? it is my first post on stackoverflow so please bare with me if I'm not too familiar with everything around here.
Here is my issue :
Number of connections
1777
2500
4227
355
11332
8402
1972
2285
1828
2249
1138
4082
4121
1969
4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to declare an external structure in C I have already implement an external int in my .h file, with
extern int GLOBAL_RETURNVAL;.
I would like to know how to declare an external structure in the same way (to contain both this int and also a char *).
Trying
extern struct S_GLOBAL
{
int GLOBAL_RETURNVAL;
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: response.Content.ReadAsAsync> vs response.Content.ReadAsAsync() what is the different? I saw code like below
May I know what is the different and when I show use
*
*response.Content.ReadAsAsync<OperationResponse> and return return operationResponse.SuccessResponse;
*response.Content.ReadAsAsync() and return retur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: flutterflow , Unknown error compiling custom code In flutterflow, when try to compile a customcode, the following error keeps presisting. [error: Unknown error compiling custom code. A common cause is a custom widget or action whose name in the code does not match the name provided in the editor.]
// Automatic Flutt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specify the POS of a lemmatizer when text content is unknown I am building a python sentiment analyser and using 1000+ tweets for analysis. My question is how would I know what POS to specify when using a lemmatizer to process the tweet texts and get better accuracy. This is a very basic code so far:
lemma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I run webRTC, Node.js socket.io video-calling app it works only in the same laptop but does not work from one device to another call I developed a webRTC, Node.js socket.io video-calling app. at first I was just checking it out locally in one device (laptop). Then I deployed it to Heroku server and started chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: web2py: Prevent delete action on the A() helper depending on the result of the callback Is it possible to prevent the delete action on 'tr' depending on the return value of service_record_del_request callback:
{{=A('Delete', callback=URL('service_record_del_request', vars={'id':r.id}), delete='tr')}}
Example callba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set max cache duration for file on upload? In this doc, it says the default cache expiration for files in GCP storage buckets is 1 hour: https://cloud.google.com/storage/docs/caching. Perhaps I'm misreading but my assumption is that while the default is 1 hour and that default can't be changed, you can still ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle apex interactive grid export/download excel problem I'm working on a new application based on oracle Application Express version 20.2, I have an interactive grid that's linked automatically to a table in my oracle database which works fine with no problems, I have a where condition that filters the data based... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why not conditional noexcept? The standard library doesn't typically use conditional noexcept. It is described in this paper:
Each library function having a wide contract, that the LWG agree cannot throw, should be marked as unconditionally noexcept.
If a library swap function, move-constructor, or move-assignmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: api for trinding music on (tiktok - anghami - youtube) **i need api music (tiktok - anghami - youtube) received (music mp3 - song name) in response, free or paid.
Most of the sites that I searched only bring a song by its ID number, but I need a list of popular songs on the popular platforms at the present time, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the differences between js and jsx in React js? I'v spent couple of years on react projects and so far couldn't determine the differences between js and jsx files. Anybody knows about it?
(In practice couldn't see anything specific.)
A: It really comes down to your project's configuration. There's no diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Blazor: Browser Support for .NET 7 in Clientside WebApp (WebAssembly) I have to update my project to .NET 7 and I try to understand how .NET in Browsers (Blazor WebAssembly) work, because I'm not sure if I should update only the server or also the client. So:
*
*If the API (Server) has .NET 7 and the Client (Bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mentions don't notify users and aren't highlighted I have been testing Discord.js with Typescript recently and just wanted to do a simple command which pings the user, but that doesn't happen, it only mentions them.
Here's the code I want to get working:
run: async (client: Client, interaction: CommandInteraction) =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I don't understand what these two variables do in the where section of a sum implementation using foldl I'm new to Haskell and I have a function here which uses foldl to sum the components of a list. I know there is an easier way to do this, but I'm just wondering how this specific code works.
Sum :: [Int] -> Int
Su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting errors from Nivo Line Chart I want to use a Line Chart from nivo.rocks, but everytime I resize the page I get lots of errors like Error: <g> attribute transform: Expected ')', "…209394986644e-16translate(,),0tr…". and I don't know how to fix them. Can someone please explain what can be the problem and how ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ggplot geom_line plot difficulties I have follow-up data and would like to plot the medication use per subject. However, geom_line is not interrupting the line when there is a NA.
# A tibble: 23 × 3
ID day medication
<dbl> <dbl> <chr>
1 1 1 NA
2 1 2 A
3 1 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: use vtkPolyDataToImageStencil to color a custom made volume voxels I created a lasso a 3D polydata, then I used vtkPolyDataToImageStencil to convert it to ImageStencil.
I have a custom volume and I have it’s short data, it has width,height,depth. Now I want to color the voxels in the volume that are marked by the po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Button navigationLink to other fileView I want to make a button to go on other ViewFile but when I try, The button or text don't go to my other file, how I can solve it ?
I have try
Button("Accéder à l'actualité"){
NavigationLink(destination: HomeView(), label: {
EmptyView... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I nest a CSS class using plain css? Say I would have a css class like this:
.button {
/* Has bunch of properties */
background-color: blue;
}
.button submit {
/* I would like for this class to inherit all the properties from .button and change the color*/
background-color: green;
}
<input class="button">... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Android studio => Attempt to get length of null array So I want to create an android app that displays music and when I click on an item in the recyclerview it keeps crashing and showing the logcat error: Attempt to get length of null array even though I know that the list is not null.
Here is my code:
MainActivity.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redux is giving empty next state Below are the code of Reducers Action and Store .
I am trying to get updated state from the redux store but getting empty state , not sure if reducer has been bind correctly ,tried with other solution but no luck ,
Snippet - https://snack.expo.dev/@shafhadkhan/redux_snippet
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the URLconf defined in myproject.urls, Django tried these URL patterns, in this order:products/ The empty path didn’t match any of these enter image description hereenter image description hereenter image description hereenter image description here
Task:Create a view in which, with the POST method at /product... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: ErrorImagePull. Not able to pull images from private Docker registry using Kubernetes I'm trying to pull my Docker Image from my private Docker Registry in Kubernetes, but I got this error: ImagePullBackOff
NAME READY STATUS RESTARTS AGE
nginx-994fc8fb7-f24sv ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JAVA ProcessBuilder, returns "sh: line 1: sudo: command not found" I'm trying to execute a bash command within JAVA using the ProcessBuilder class
this is the command:
echo <password> | sudo -S apt-get remove docker docker-engine docker.io containerd runc
This command returns this error:
"sh: line 1: sudo: command ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SQL Check-In Check Out Report Fetch I Have table as ,
CREATE TABLE attendance (`id` INTEGER, `employee_code` VARCHAR(7), `status` VARCHAR(9), `created` DATETIME);
INSERT INTO attendance (`id`, `employee_code`, `status`, `created`) VALUES
('1', 'EMP0001', 'check_in', '2021-11-22 08:00:00'),
('2', 'EMP0002', 'che... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: name not defined? -laravel Greetings to all readers!
I ran into an interesting error, I want to create a button + input field, but whatever I try, I keep getting the error route [name] not defined.
index.blade.php:
<form action="{{ route('user.panel.fachecker') }}" method="POST">
<input type="text" name="facode"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to fix error "Could not find function or function reference 'str.tostring'." I tried to merge two codes, but throwing up errors. Is there a way a code auto rectifier available for Pine Script in Trading View.
// General Function
f_barssince(_cond, _count) =>
_barssince = bar_index - valuewhen(_cond, bar_index, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read txt file with utf-8 characters in C++? I need to read from a file with utf-8 characters.
I tried to use std::wifstream but I only get blank lines in the output.
I also find this solution file.imbue(std::locale(std::locale::empty(), new std::codecvt_utf8<wchar_t>)); but empty() can`t be found, and as I re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP connect to MySQL container created on Railway PHP newbie here. I created a cloud MySQL provision using Railway (a Heroku alternative) which I'd like to connect to.
Connecting to the database should be fairly simple, as the service provides a connection url.
However, this fails to connect and throws: SQLSTATE[HY0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java Quarkus using Redis as a Cache with UUID keys Hello i'm having an issue with the java.util.UUID object in a redis cache. I have a cache defined as follows
private final ValueCommands<UUID, String> commands;
public Cache(RedisDataSource ds) {
this.commands = ds.value(UUID.class, String.class);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: get pure string from json string like '\ufe0f' with php here is my json string
{ "opa": "O_\ufe0fP\ufe0f_\ufe0fA\ufe0f" }
when i decode my json string
object(stdClass)#16 (1) { ["opa"]=> string(25) "O_ufe0fPufe0f_ufe0fAufe0f" }
i want to get without this ->\ufe0f symbols
result should be "O_P_A"
P.S. it can be any o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: error encountered while implementing regression model in matlab Following is the code and the error generated while implementing regression model in MATLAB. input vector(traindata(:,1)) is of size 300 and output vector(traindata(:,2)) size is also 300, still I am getting error of size not same. traindata is a cell o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: /var/lib/dpkg/info/python-cffi.postinst: 6: pycompile: not found? I have a problem. When I install an update on my Kali, it returns this error status code:
Setting up python-cffi (1.14.0-2kali2) ...
/var/lib/dpkg/info/python-cffi.postinst: 6: pycompile: not found
dpkg: error processing package python-cffi (--configu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to execute nested async task I have multiple main tasks which each one has a sub task/s to run .
sub tasks are IO (fetching data from DB).
The way I plan it to play :
Main will execute all main tasks in parallel and each one will execute their own sub-tasks.
In real world i'm using Celery for all sub tasks so id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I compare this big product without using bigint long long a,b,c,d,e,f,g,h;
bool is_greater = a*b*c*d > e*f*g*h;
I tried to typecast to long double and then use division (ie one variable on lhs by another variable on rhs) but I am getting incorrect output due to precision error.
Mind you I am not even allowe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define SetNull option over tables in SQL properly? I have two tables in my project. Categories and Products. Surely there's a one-to-many relationship.
public class Category : BaseClass
{
[MaxLength(50)]
[Required]
public string CategoryName { get; set; }
[NotMapped]
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AI algorithm for adjust percentages and constant coefficients values I'm making an application that will help the people to donate stuff in one delivery point and then the application will determine who suits the item donated perfectly (the beneficiaries who receive the donations are inserted in the database previou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How can I access the forwarding port 80 outside of my network? I want to host my own website on my local computer with Apache2.4., but the website isn't accessable from outside of my home network. My home network is a fritzbox.
What can I do/change so that it works? My cmd netsh firewall show state doesn't show any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable keyboard shortcut on an iFrame I have an iframe inside my react app where I'm loading google docs to copy some content into my internal tool. But when I use CTRL + C, content is not getting copied. How to enable keywords shortcut on iframe using React.
<iframe style={{width:"40vw", height:"100vh"}} sr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MONGO_URL is undefined eventhough .env is existing .env file contains
MONGO_URL = mongodb+srv://*****:******@cluster0.beu7d9.mongodb.net/?retryWrites=true&w=majority;
(username & password is hidden here)
I have installed "dotenv" file and in file index.js I have written the following code
require('dotenv').config()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Npgsql: why `Activity.Duration` is much lower than actual elapsed time? I don't understand how Npgsql calculates the duration, because the elapsed time captured with Stopwatch is an order of magnitude higher.
I was expecting a much closer duration between the two measurements.
On my machine I have this times:
Activi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure an image CDN in AWS, pointing to third-party images urls? I want to use in my website images taken from amazon that have a url like this:
https://m.media-amazon.com/images/I/71dncPbANKL._AC_SX466_.jpg
I'd like to have something like this (for SEO purposes):
https://www.example.com/img?src=https://m.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Tkinter Radiobutton makes me crazy I am learning Tkinter. I want to create a window that will have some`Radiobuttons and a button. When the button is clicked will print on terminal the selection from the Radiobuttons. I have all this code in classes. The problem is that when I click the button it prints empty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recommended folder structure for EFCore related classes? Is there any recommendation/established standard on where (which folder) to store the derived DbContext class and model classes in an ASP.Net Core project?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Running NtCreateProcess on windows 11 I'm trying to execute NtCreateProcess() on windows 11 but it keep giving me this error C00000BB. It works on win 10 but not win 11. what seems to be the problem here? here is some part of the code
stat = NtCreateSection(&hSectionHandle, SECTION_ALL_ACCESS, NULL, 0, PAGE_READONLY... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SQL SUB Query using IN opeator I am trying to select 2 columns from one table and another column from another table.
select VendorID, MSISDN in (select MSISDN from chinedum_load)
from tb_bi_cdr_loan_d
limit 5
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Performance Degraded after partitioning in mysql I have a mysql database of about 110 GB. I have done partitioning on some bigger tables recently. After partitioning, the queries are running slower which were supposed to be run fast. Does partitioning in MySQL slows down the performance?
I have checked with explain ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What is the recommended component folder structure in next 13? Before version 13 I would have something like this:
src
--- page
--- features
------ layout
--------- page
--------- header
--------- footer
------ signup
--- ui
------ form
------ link
I would have the basic components in 'ui' and more complex in 'feat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Target class [App\Http\Controllers\PdfController] does not exist but it is there and syntax is correct I have read many posts on similar problem... nothing works.
1/ I installed the package with composer.
composer require barryvdh/laravel-dompdf
2/ Created app/Http/Controllers/PdfController.php
namespace App\Http\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Typescript - Dynamic value in type Let's assume i have a form, and I want to create a function that returns the current step name.
First step is stepOne, the second step is stepTwo, and the third step is a dynamic step that changes depending on different parameters, let's assume some kind of id. So its base name wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert-vhd or get-vhd throws WMI error - The Hyper-V Management Tools could not access an expected WMI class on computer I'm trying to convert a VHD to VHDX using the convert-vhd command but I get the following error:
The Hyper-V Management Tools could not access an expected WMI class on computer 'WINHIF3'. This m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to arrange Icon behind the others (mui) I am using material-ui for react.
I have the following code:
<Autocomplete
multiple
options={['One','Two','Three']}
value={value}
getOptionLabel={(option) => option}
filterSelectedOptions
renderInput={(params) => (
<TextField
{..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am getting really high training loss, but the model has 100% accuracy of testing data I am trianing CNN model for pneumonia detection using dataset from kaggle(https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia). I am getting 100% accuracy and I'm not not sure if something is wrong, as I heard ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating a class take takes in 2D arrays(vectors) I am learning c++ and feel like I am messing up a key concept up. I am trying to create a class that takes in 2D arrays and lets me manipulate them with functions down the line. The 2d array will be represented as a vector but I take it in as a generic(class T). I ke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: is it possible to, instead of uploading files to ftp server, ftp server can access a folder in my hard drive without uploading it to the FTP server Can you do this with filezilla?
I tried to upload it but it was to slow and the ftp server didnt have much space. Is it possible, using filezilla, everytime someone trie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: when using Dice loss, should the predections be probabilites like [0.3,0.7] or I should set threshold to make them either 0 or 1 like [0,1] (trsh=0.5) I'm using Unet model and diceloss for binary segmentation with 1 channel. I'm really confused if I should give the dice loss the predections as they are (after applyi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to share the product image and description over whats App? I just want to share the product image and description with product URL when product will share over the whats app. Currently, it's sharing only the product URL.
I want to show image with URL like:
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I am passing HttpClient header "application/json" but still getting error "header": "Content-Type", "error": "cannot be blank" Using HttpClient.Get method, I am passing content-Type = application/json but still I am getting an error
"header": "Content-Type","error": "cannot be blank"
in the response body.
I tried ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redirect to php page when modify any value from Multiple dropdown I have 10 (or more ) dropdown list as below
echo '<select data-id="'.$id.'">';
echo '<option value=\"YES\">YES</option>';
echo '<option value=\"NO\">NO</option>';
echo '</select>';
When I change value for any of this dropdown It should navigate with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my 2nd DP approach for solving a question is not working? I am solving minimum-jumps-to-reach-home question on leetcode.I have used 2 approaches to solve the problem, but my 2nd approach is not working. I am not able to figure out the reason.
1st Approach:
class Solution {
public int minimumJumps(int[] fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: strange result about rownum in the oracle sql this is a table called nums.
| id |
| 1 |
| 2 |
| 3 |
I execute the SQL:
with s as (
select id, rownum rn from nums
)
select s1.id id1,s1.rn rn1, s2.id id2, s2.rn rn2
from s s1 join s s2
on s1.id != s2.id
the result is :
|id1|rn1|id2|rn2|
|1 |1 |2 |2 |
|1 |... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EC2 User-data script is not starting my Java application I need to start my java application with a script,
but User Data are not working: if I start the application manually, it works.
My EC2 instance has Ubuntu
Here’s the snippet of the User Data I’m using:
#!/bin/bash
cd /home/ubuntu
sudo su
java -jar HelpDesk-0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i got this Error while Integrating Crossmint to my next.js website The price for this NFT ($843.66) is higher than the max allowed for staging ($100). To request a higher limit contact Crossmint support.
#crossmint
i tried to configure it, but i am not able to di it
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75564964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Specify request model type for swagger. ASP.NET Core 6 I use a custom model binder to bind the request body to the endpoint parameter. The parameter is CartItem, and I want to specify the input model type CartItemRequest for Swagger. Can I use something similar to [ProducesResponseType] attribute but for request typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75564965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |