All Questions

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

How to retain a matrix with a lot of null values the exact shape we want

I have a test and training set for recommendation system set up. But since I split the data into test and train, once I convert them into user-item matrix, there are a lot of missing values in the ...
0
votes
0answers
10 views

I have the “name 're' is not defined” error using the Google Colab Python BERT and Pandas Library

def preprocess_text(sen): # Removing html tags sentence = remove_tags(sen) # Remove punctuations and numbers sentence = re.sub('[^a-zA-Z]', ' ', sentence) # Single character removal sentence = re.sub(...
0
votes
0answers
4 views

Using copy-webpack-plugin returns an error

I am trying to copy an asset folder from src to dist and I cant get this to work. In my webpack config I have: const CopyPlugin = require("copy-webpack-plugin"); const images = { plugins: ...
0
votes
0answers
18 views

Check Symmetrical Words In Python

I want to check that a word entered by the user is symmetrical or not. The Program should check this and print the result to the user. The program is not responding. What am I doing wrong ? s = str(...
0
votes
0answers
6 views

Php-mysql if statement is only taking the first condition as valid

$POST['query'] is an AJAX used variable which is a search box value... $plan will be the exact plan of the search customer. Based on the $plan variable the URL's must change according to the if ...
-1
votes
0answers
5 views

I have made an program that can reverse any given string and there are no flaws in this code, it's only uploaded to help java beginners

import java.util.Scanner; public class StringReverse { public static void main(String args[]) { //Creating Scanner Object And Taking Input Scanner obj = new Scanner(System.in); ...
0
votes
0answers
4 views

Send files via FTP with Laravel without using filesystems.php

I would like users to be able to send generated files via FTP using their own server information, therefore it's not an option to have the FTP login info hardcoded into the filesystems.php file. If I ...
0
votes
0answers
5 views

AWS Dead Letter Queue replaying failed messages

I have 6 queues and one lambda(Event source mapping) listening from all of the queues. In case of a failure, I move each of the failed messages to a Dead Letter Queue, because I don't want to have my ...
0
votes
0answers
4 views

Google Tag manager won't work with chrome extension

My chrome extension app doesn't have a popup but rather injects the HTML to a dedicated domain. I want to track whether the user clicks on the button that's been injected & how often & how ...
0
votes
0answers
5 views

Is the viewing (author.php) page user the matching user?

I'm currently playing around with Wordpress user's profile pages author.php and would like to implement a personal information front-end edit ability for users AND public statistical user data ...
0
votes
0answers
8 views

extend() function in python reversing the elements while extending a list with a set of list [duplicate]

Normal working of extend method stack=[] stack.extend("1") stack.extend("2") stack.extend("3") print(stack) >>['1', '2', '3'] Now let us try to extend this list ...
0
votes
1answer
15 views

Value keeps resetting in method. (Beginner)

This should be a quite simple problem, but since im quite new to programming I cant seem to figure it out. I want to count the seats that are available in a restaurant and substract the amount of free ...
1
vote
0answers
4 views

What is the proper format for RowKey column in WADWindowsEventLogsTable (Azure Diagnostic Extension)

I have configured Azure Diagnostic Extension and it works fine. I can see WADWindowsEventLogsTable with event data. As I can see RowKey format for these data is: f4384921-7e24-4b71-9971-...
0
votes
0answers
10 views

Competition algorithm teams plays against each other in the first and backround JAVA

I try to code a competition aplication. How can I code in Java an alogrithm in which every team plays against each team in a group. For example: Group A: Team A Team B Team C Team D So the input ...
0
votes
1answer
8 views

Why my repeating alarm is triggered much rarer than expected?

I am writing my first alarm program. The program sets a repeating alarm, which is expected to trigger every 200mseconds. But the point is, instead of that, the interval is almost 40 seconds!! And it ...

15 30 50 per page
1
3 4
5
6 7
1401054