All Questions

1
answer

How do I order a text file in descending order?

So far I have tried with these examples and I have not been able to solve it: linea1=(open("ENDEUDADOS2.TXT")) linea1.sort(reverse=False) I get an error:    AttributeError: '_io.TextIOWrapper' object has no attribute 'sort' with this...
asked on 26.07.2018 / 13:42
1
answer

Problems when ordering an array in javascript and a chat that I am creating

I'm creating a chat with sockets on nodejs that say it's very good. Then I create an array: let nicknames = []; that will save the names of users so that later the frontend will be in charge of showing them in a list. That works perfect for...
asked on 23.07.2018 / 03:24
2
answers

verify the existence of character by character of a string with a paragraph in C

How can I store a list of words and then when entering a paragraph by keyboard the program can verify if that paragraph (entered by keyboard) contains the letters of the words stored previously. example stored words: sol, luz, ... by...
asked on 22.07.2018 / 01:57
1
answer

What does ENOSPC error mean when running a server?

Hello when running an application on localhost I get the following error. Before it did not happen, I modified the file server.js where the port runs, but never before had this happened to me. The port runs as seen, passes build, gulp and the pa...
asked on 20.07.2018 / 18:51
1
answer

Cultural reference C # is not supported

I've been having problems wanting to install the published program, being that compiling and running directly from Visual Studio 2015 works fine here is the error that I generated when installing the published program INFORMACIÓN DE VERSIÓN...
asked on 23.07.2018 / 02:46
1
answer

Generate User Name from name and surname

I have the following code where I enter a user, but I want to validate if the username that I am assigning to the user already exists and if so add it add a number to username Example: JPerez, JPerez1, JPerez2 . // Separamos los...
asked on 27.07.2018 / 19:02
2
answers

Error with array in java

When creating a new Array B from an array% Co_of% previously filled, when making modifications to the array A are also reflected in the array B I explain myself in the following code: BufferedReader br = new Buff...
asked on 27.07.2018 / 03:23
1
answer

open an Activity from another Activity

Good morning everyone I develop an app in Android studio but I have a problem opening an activity and that is when I touch a button, it is supposed to send me to another screen however when I do that, the app closes, I followed the steps I've se...
asked on 23.07.2018 / 04:40
1
answer

Obtain the ID of an Order, at the moment of sending it by PHP to BBDD (For a CSV)

I try to do the following: When you send a FORM , you generate an order, which, through Ajax, you send to the database. Next, I have another Ajax, (both in jQuery when submitting) that pulls out a csv file from the order: <?php $c...
asked on 30.08.2018 / 14:01
1
answer

What is the path to a file located in the raw folder in android studio?

I would like to get the path to the file "datos.txt" located in the folder "raw" in "res", in Windows it would be something similar to "app / res / raw / data", but I can not get it to work. I've already tried it with the String path = "a...
asked on 26.08.2018 / 21:03