All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

How to make a component (popup modal) appear only once using React hooks or otherwise (React/Next js)

I want to make a popup modal appear only once per visit (I don't want it to appear every time someone goes back to the index page). Is there a way to do this using hooks or is there a better method? ...
0
votes
0answers
4 views

How to make blog layout with Html Css

I am a beginner in web designing. I know some basics about layout in CSS. I am tried to create a blog post layout, given in the picture below. see image layout Please help me to do that.
0
votes
0answers
2 views

CSS: Remove outer spacing from container when dealing with columns

Is there a "right" way to remove the spacing on the sides, without having to hardcode each image with a specific padding on each side? I am trying to make the images below the text span all the way ...
0
votes
0answers
4 views

Python code for Potential Particle Swarm Optimization for Feature Selection? PPSO-FS

I'm currently working on Potential Particle Swarm Optimization(PPSO) for Feature Selection(FS) but I haven't found any python implementation or function. Does anyone have any idea where to find one? ...
0
votes
0answers
5 views

How to use import () to dynamically load components in React?

I tried to use import() instead of React.lazy to dynamically load components, but it didn't work. App.js import React, { useState } from 'react'; function App() { const [Com, setCom] = useState(...
0
votes
0answers
4 views

Looping through API response Node JS

I'm trying to pull data from an API and insert it into a MySQL Database. The API has over 100 objects but I can't find any information on how to do this? I'm using node-fetch to output the Json Data ...
0
votes
0answers
6 views

Matplotlib DataFrame boxplot with given max,min and quaritles

I want to plot a box plot with my DataFrame: A B C max 10 11 14 min 3 4 10 q1 5 6 12 q3 9 7 13 how can I plot a box plot with these fixed values?
0
votes
0answers
4 views

Aggregate features by distance in sf objects

I have two sf objects: polygon county and points monitor2. The first task is to join the features in monitor2 to county. I did this with st_is_within_distance and st_join. See the code below. I set ...
0
votes
0answers
4 views

RFID module with GSM/LTE and embedded micocontroller

I am looking for an RFID device that contains the GSM/LTE module in addition a programmable microcontroller is also vailable for user programming and usage.
0
votes
0answers
3 views

Trying to make signature in python and add policy and sign to html document to upload files in s3 bucket using post.Giving signature mismatch error

My code for deriving the signature in python is as follows.Here my intention is to generate signature and string to sign in so that i can use these in a html form.It is showing the following ...
0
votes
0answers
4 views

how to implement third party JS library in Odoo

Hi I want to implement this qr code generator in odoo pos but i don't have any idea how to do it and I can't see any tutorial even in Javascript reference in odoo 12 I want to generate a qr code with ...
0
votes
0answers
9 views

Onclick event on moving images does not work

I am trying to count the numbers of clicks that click on the fox image. But it does not works. I am sure that this onclick function is works. $(document).ready(function () { var i = 0; $("....
0
votes
0answers
3 views

Hashing - How many different orders of insertion sequence can lead to this hash table(Linear Probing)

Hash function: h(k) = k mod 10 with Linear Probing Hash table: index 0 1 2 3 4 5 6 7 8 9 values 42 23 34 52 46 33 My idea: 42 23 34 52 can be placed in any order to get the result ...
0
votes
0answers
6 views

How to extract a subset of a bigger dataset

Say I have a bigger dataframe A and a smaller dataframe B, which is also a subset of dataframe A. There is a matching key for both datasets, say it's called key. I want to create a new dataframe, say ...
0
votes
0answers
3 views

Authenticating flask Application with a decorator

def header_authenticate(func): def wrapper(): headers = request.headers auth = headers.get("X-Api-key") if auth == 'password': func() else: ...
0
votes
0answers
4 views

Error in generating ROC curve for my deep learning model siamese capsule network

Could not convert string to float: '[0.6204961]'. When i run my python code to generate ROC curve im facing this error.Error on my similarity score file that is in excel format. from __future__ ...
0
votes
0answers
6 views

How to show storage usage to each user

We have a web platform that allows users to upload and download their data stored in a storage connected to Linux via NFS. currently about 350GB data is stored. I want to show each user their current ...
0
votes
0answers
4 views

Azure, Deployment for Angular not working

I'm trying to deploy an Angular client through Azure Pipelines. The Web App exists, but I get only starter page returned. I have the stack as .NET Core, that shouldn't have a problem running the app ...
-1
votes
0answers
8 views

In Android Studio, using Java i want to create a thumbnail of a image i have in my Bitmap Object and store it in a specific folder

In Android Studio, using Java i want to create a thumbnail of a image i have in my Bitmap Object b i want to stored the image in Nice/Data/A.jpg The thumbnail should have the same name but ...
0
votes
0answers
8 views

How to Authenticate User in Spring Boot Microservice Application deployed in Kubernetes,

In a SpringBoot microservice application as each microservice is an individual service How JWT authentication will work how each service can identify the user
0
votes
0answers
5 views

unable to rebuild apk with apktool #termux+kali

Hi guys I trying to rebuild an apk file with ApkTool. The apk any suggestions
0
votes
0answers
5 views

how to stop consuming messages from kafka when error occurred and restart consuming again after some time in spring boot

This is the first time i am using Kafka. i have a spring boot application and i am consuming messages from kafka topics and storing messages in DB. I have a requirement to handle DB fail over, if DB ...
0
votes
1answer
14 views

Parsing error: the type cast expression is expected to be wrapped in parentheses

Tried to create an object inside the "tracks" array under "You Give Love a Bad Name" export default class Cart extends React.Component { render() { var collection = { "2548": { ...
0
votes
0answers
4 views

auto resize textarea jumping issue

After typing around 39 lines scrollbar jumps to bottom. Textarea occupied in scrollable div. This issue happens only when the scroll bar position below the textarea.How to fix it.
0
votes
0answers
9 views

c++ connect to network (ubuntu), how to handle wrong password case

I'm trying to make a c++ program to connect to a network. Snippet works perfectly fine if the password is correct. bool connect(const char* ssid, const char* key) { bool ret = false; try { if ((...
0
votes
0answers
3 views

Generate Files/Folder Structure Template from Yaml in Spring Boot

I want to generate a Custom Folder Structure which consists of Files and Folders in some hierarchy. e.g. MyApp -- src -- main -- scripts -- bootstrap.sh -- java ...
0
votes
0answers
7 views

How to implement configurable class template in python?

I'm trying to implement a pattern that I've noticed is very common in python code. The pattern allows you to configure a class by inheriting it and changing the necessary fields. One example is the ...
0
votes
0answers
5 views

Generate vimeo video thumbnail using php wordpress

i am trying to generate vimeo video thumbnail from using this url "http://player.vimeo.com/video/382240998?app_id=155963" can you help me for this issue.
0
votes
0answers
6 views

Android: “INSTALL_FAILED_CONFLICTING_PROVIDER” error when adding Facebook SDK

I am creating multiple white-label apps on Android. Each of these apps use the same Facebook login. According to the docs: http://developers.facebook.com/docs/sharing/android I need to add: <...
0
votes
0answers
4 views

Subdomain Mapping to AWS server

We have domain name registration with GoDaddy and website has been hosted with Bigrock and the name servers have been updated accordingly. Now we are hosting an application in AWS and we intend to ...

15 30 50 per page
1
2 3 4 5
652442