All Questions

0
votes
0answers
2 views

How to upload file to mysql in laravel

I want to migrate a file in MySQL database but I can't seem to get the data type of the file right in Laravel. Help if you can please I have read Link but it does not solve my problem. I am a beginner ...
-1
votes
0answers
3 views

Can a txt file be directly printed by the browser?

Cuando imprimo un archivo txt via Javascript con la función print, el resultado final es un archivo PDF al abrir el popup de impresión. Pero necesito que el archivo resultante sea el archivo TXT y ese ...
0
votes
0answers
2 views

Is it possible to use period (dot) in a PHP function name?

I am using a template of a "certificate of completion" for online courses for my website. On the template it has placeholder function names where presumably values would be pulled from ...
0
votes
0answers
2 views

Question about nested lists in a nested list, Mongoose

I have this structure of Schemas and I want to create a new Item in the array of items in the List which is an Item in the array of lists of an account. Thats how it looks: const itemsSchema = new ...
0
votes
0answers
3 views

TCP connection not closing in infinite loop

There is a video streaming script built on PHP A server listens on port 9090 accepts a connection of a client and then send video to the client endless. My server doesn't notice that the user is ...
0
votes
0answers
7 views

How to get wave on 50% of screen

Hey i want in css to make a background with 50% of a color and 50% of another color but this color need to be terminated by a wave like that Actualy i have that But it don t take 50% of screen here ...
0
votes
0answers
2 views

Access Table API from a process function in Flink

I am new with Flink and I am trying to learn. I am trying to use the Table API within a process function after I aggregate some row so that I can do and insert based on specific criteria. The goal is ...
0
votes
0answers
2 views

Custom marker not showing on Google Map

I have added Google map and try to change the marker to my own custom one. It seems not displaying it. below is the code: mapFragment?.getMapAsync { googleMap -> if(location != null) { ...
0
votes
0answers
9 views

Python programming and group by

I have very long table, here is an example: enter image description here and what do I want is to plot according to num. given as 1,2,3 and scatter x y corrdinates on the plot. and color should be ...
0
votes
0answers
3 views

BitLocker bluescreen doesn't accept recovery code (restarting loop)

I restarted notebook and suddenly out of nowhere bluescreen popped up. Blue screen looks like this, its not in english language, but basically it says 'Enter recovery key, so you can continue using ...
0
votes
0answers
4 views

context does not work for behave test, no error reported

okay so basically I am writing behave tests to check that a dynamodb query is working correctly. for some reason when I get the query in my Given step, the context object does not move that data to ...
0
votes
0answers
4 views

How to add TypeScript Interface to shorthand variable?

How to set TypeScript interface to variable looking like this: const { body, statusCode } = await got.post('smth', requestOpts) How can I set the interface to ex. body. I would like to assign there ...
0
votes
0answers
2 views

Is there a way I can configure a Delete JButton to delete selected row in not only the JTable but also Notepad?

I am making an inventory system that has the ability of saving the data in .txt format. The GUI has a delete button that gives one the ability of deleting a selected row in a jTable but fails to do so ...
0
votes
0answers
6 views

Authenticate user in flutter and use in nodejs

I am having a flutter app (for android) and I am using firebase (google) authentication to login users. I want to use gmail api in the backend (node.js). I am not able to figure out how to send the ...
0
votes
0answers
6 views

Interaction Menu Problems d.py

i simply have a problem with the interaction menu in my bot. If i do the command *help (which calls the interaction menu) everything goes fine. After i selected the first option, for example i wanna ...
0
votes
0answers
6 views

Trying to iterate through/compare values in arrays and print string based on result, IndexError: out of bounds

Title. Trying to create a win/loss/tie list based on team scores. My attempt: #import numpy import numpy as np #create array for week numbers week_number = np.array(['Week 1','Week 2','Week 3','Week ...
-2
votes
0answers
5 views

Sum by group excel (non-vba nor power query)

I want to sum by group, however I have some conditions. For exemple: I have different fruits divided in groups (1 to 5) in Table 1. In Table 2, I have the quantity of some fruits that are declared in ...
0
votes
0answers
9 views

Adding confirm password validation to Angular Reactive Forms?

I'm following this tutorial for how to validate confirm passwords with Angular Reactive Forms. I created a Stackblitz for the implementation. The implementation for the confirm password function comes ...
0
votes
0answers
5 views

Sythesized property does not want to get deallocated in Objective-C

In my .h file I do: @property (nonatomic) int seconds; and in my .m file: @synthesize seconds = _seconds; - (void)setSeconds:(int)seconds { _seconds = seconds; // other stuff is going here } ...
0
votes
0answers
5 views

How to fetch JSON data in background Swiftui

I have a JSON API I want my app to download in background. My Quotes app send out notifications with timeintervals and I want the quotes to be in the notification. struct Quotetype: Codable { let text:...
0
votes
0answers
6 views

Can this type of problem be easily expressed in logic programming paradigm?

For simplicity, this is a toy version of the actual problem: given a set of integers, find the longest sequence of consecutive numbers from that set. I looked at CLIPS and other expert systems, and ...
0
votes
0answers
5 views

[Concept]In MapReduce model, why the amount Map nodes are usually greater or equal to the amount of Sort & Shuffle nodes?

In the MapReduce model, there are 3 phrases: Map Sort & Shuffle (Grouping) Reduce Assume the nodes in Map is M, and the nodes in Sort & Shuffle is R. Why M >= R in general?
0
votes
0answers
7 views

How to check if Apple MacBook webcam is used by any application(check if camera is on or off)

I have been searching for a bash or python (or something else)command to use in my python project, for checking if Apple MacBook webcam is used(check if camera is on or off) by any application or not. ...
0
votes
0answers
4 views

LFS Object stuck in Git history

I am building a static website and tried to upload a large video file thanks to Git LFS, but the commit/push never succeeded. After some change I decided to not upload this file and wanted to ...
0
votes
0answers
4 views

How to import firebase module into thonny?

I've imported the firebase module but when trying to run the code I receive an error message of ModuleNotFoundError: No module named 'python_jwt after the code tries to run import python_jwt as jwt. I'...
0
votes
0answers
9 views

Uppercase lowercase script

I try to download from a ftp server files with certain names: I want to download from a url like ftp://host/myfiles Certain names i want to download from this server only files that contains: upper+...
0
votes
0answers
6 views

I can compile with g++ but get a buggy program with equivalent cmake (GTK error)

I have a very simple program in main.cpp that displays an image with openCV. I compile it using the following command: g++ -o main main.cpp $(pkg-config opencv4 --cflags --libs) where the output of ...
0
votes
1answer
14 views

How do I get the python base64 encoder to encode the value of a variable?

I'm writing a basic base64 encoder just to learn. import base64 prompt = (input("Type your message -> ") bp = int(input("Base 16, 32, or 64? (Type a number) -> ")) if bp == ...
0
votes
0answers
5 views

How do I Install Openshot in Ubuntu when the command *sudo apt install openshot* is not working?

I am trying to install openshot by using the following command sudo apt install openshot This is not working and I am getting the following result dpkg was interrupted, you must manually run 'sudo ...
-1
votes
0answers
13 views

Text file not getting detected

I have 3 classes. Occupation, OccupationList, and OccupationMain. I am trying to get a text file to work with my code via user input but I cannot get it to work. I have tried putting it everywhere. I ...

15 30 50 per page
1
2 3 4 5
738450