Jump to content

hisoka

Members
  • Content count

    568
  • Joined

  • Last visited

Everything posted by hisoka

  1. like the title mentions , I am asking what does BitTorrent connecting to peers 0.0% mean ? second question : why it does not download but it remains or it sticks on 0.0% ? third question : Is there a solution to make it download ? best regards
  2. In this site there is someone who is asking for an answer to some numbers sequence : https://www.quora.com/What-is-the-next-number-in-the-series-7-11-13-17-19-How I put the sequence of numbers in this sequence solver online : http://alteredqualia.com/visualization/hn/sequence/ However , I saw a contradiction in both results : the sequence solver says the next number in the sequence is 7 meanwhile Quora says the answer is 23 I know that the answer of Quora is the right one . I would like to know why the sequence solver gives 7 as an answer if the right answer is 23 ?
  3. I have a mobile internet that is I used a sim card in an USB stick and plug it in my laptop to get internet . In the configuration page of the internet , I got , in the advanced settings in the mobile connection Auto Disconnect Interval(Min): 10 there are other options like 5 , 20 and 120 1) what is meant by auto disconnect interval or automatic disconnect interval ? 2) for what purpose is the auto disconnect interval made ? 3) Should I let the option to 10 or is it better to change it to 20 or 120 ? I mean what is the best option ? Best regards
  4. hisoka

    understanding a mobile network concept

    Service like what for example ? how is this exactly done ? can you explain me ? and how is internet sent from this so called provider to the customer through the USB stick ?
  5. hisoka

    understanding a mobile network concept

    By all due respect , it is nonsense : an internet service provider is a company . companies sell their products , in this case internet , to get money . So if I , as company , want to get money why should care of protecting my clients wallet ? In trading and business there is no emotions or generosity or moral values . Only one thing matters , for all companies , and that is the capital and profit . However , even if we assume what you wrote is right , my ISP want to protect my wallet , again even so it is still nonsense because even if I am not disconnect from the internet in case of inactivity , the quantity of the internet I have remains the same . For example if I have 5 Gigabyte internet in an internet USB stick and I connect to the internet , it works and I am , let say online in a website , if I sit up and let my laptop and go out for 1 hour and I am not automatically disconnected from the internet then the 5 gigabyte remains the same . This is by experience . I know what I am talking about If you do not know , you no need to be hard with me . Because this is the impression I got from your above answer . I am only honest . You can simply write : I have no idea . Again , this is my way of asking questions . It belongs to my character and until now it proved to be efficient for me . I cannot change it though I am grateful for all the answers you provide me and I thank you from the bottom of my heart .
  6. hisoka

    understanding a mobile network concept

    So after 10 minutes of inactivity , there will be an automatic disconnection from the internet . Here comes my second question , to which I got no answer , why is it made so that when a user is inactive for specific period of time , he will be , automatically, disconnected from the internet ? and the third question : should I change the option to 120 minutes ? like that if I am inactive for 30 minutes than I will not automatically be disconnected , after 10 minutes , from the internet ?
  7. Starting to learn about filereader , I saw this concept : https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload I do not understand what does this mean : The load event is fired when a resource and its dependent resources have finished loading. what is load ? what is a resource ? in an easy way I am really confused
  8. hisoka

    starting to learn , understanding LOAD

    You know yourself that the above script will trigger an error when you try to execute it in the web console because of the angle brackets and the same with a scratchpad . Moreover , when I saved the above code in notepad ++ as html then try to run it using Firefox , it does not display the content of the text file but only its name . So what to do ?
  9. hisoka

    starting to learn , understanding LOAD

    So now I did like this : <html> <script> function onChange(event) { var file = event.target.files[0]; var reader = new FileReader(); reader.onload = function(event) { console.log(event.target.result) }; reader.readAsText(file); } </script> <body> <input type="file" onchange="onChange(event)"> </body> </html> However , it did not print the content of the text file otherwise the name of the text file . Why ? and how to correct it ?
  10. hisoka

    starting to learn , understanding LOAD

    Thanks . So I have a text file in my computer and tried to print its content using console log : var m ; var reader = new FileReader(); reader.onload = function(event) { var contents = event.target.result; }; m = reader.readAsText(C:\m.txt); console.log(m); However I got this error : Exception: SyntaxError: missing ) after argument list . what is the cause of the error and how to correct it ?
  11. hisoka

    starting to learn , understanding LOAD

    Yes but I do not understand what it means : var file = event.target.files[0]; and this var file = event.target.files what is the meaning of them ? ok what do you mean by getting the data in it ? you mean , literary , reading the file line by line ?
  12. hisoka

    starting to learn , understanding LOAD

    1) I do not understand what is this : var file = event.target.files[0]; could you please explain it and what it does ? 2) reading a file means opening it only ? 3) So if I want to print the content of a file in the console log of my browser then I , necessarily , need a load event handler ? best regards
  13. hisoka

    starting to learn , understanding LOAD

    So that implies that without the load event handler , the browser will block the reading of the file until it executes its own instructions and therefore the whole procedure will be synchronous ? what if I want only to read a file ? do I need , though , a load event handler ?
  14. hisoka

    starting to learn , understanding LOAD

    OK that explains ,very well, what is an event handler . my question was not why we use a load event . My question was why we need onload event handler after reading the file content ? I understand that an event handler is a function executed when an event is triggered . So based on this , an onload event handler is a javascript function which is executed after the file is read . Again based on this I asked , why we need onload event handler after reading the file content? in other words , why we need a function to be executed after the file is read ? and what this function that should be executed after the file is read to begin with ?
  15. hisoka

    registry backup

    thank you that is a brilliant idea . I will try it
  16. hisoka

    registry backup

    In this website , it is mentioned that registry backup is a bad idea : https://superuser.com/questions/608066/is-it-possible-to-import-a-windows-registry-file-without-destroying-a-system 1) to what location should they be copied ? could you please explain to me , technically , how this will happen ? who will replace them ? and how ? how is replacement exactly done ?
  17. hisoka

    starting to learn , understanding LOAD

    I have really a very hard time trying to understand these concepts : The FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer, readAsBinaryString, readAsDataURL or readAsText is available. thanks to your previous answer Justsomeguy , I understood very well what is a resource and what is load . So putting what I understood into practice , all what i can only is that FileReader.onload is an event handler executed when the file content is read . I understand that , for example , clicking on a mouse is an event . However I do not understand what is an event handler ? and why we need onload event handler after reading the file content ?
  18. hisoka

    registry backup

    Thanks , you are right . I made a big mistake of terminology . I will try to be more clear the next time and work on my terminologies . I hope I will not make the same error again . So the above error came when I tried to RESTORE a registry key . What is the efficient way to avoid registry key restoring errors ?
  19. hisoka

    registry backup

    First I exported the key , only the key , then edited the key . As I saw that editing that key did not help me solve my problem , I tried to import it but I got the above error . I am not talking about any data or data in general and I do not want to argue . I said backing up SOME REGISTRY KEYS can engender a problem : you saw the above error by yourself . Is not the error above a proof that what i said is true ? The error above not all data was successfully written to the registry . Some keys are open by the system or other process is the result  of backing up a registry key . By backing up I mean (export , import) . no , making a copy of data is not destructive . Nevertheless , an error , that you cannot deny , is triggered because of backing up a key from the registry .
  20. hisoka

    registry backup

    So after writing to me that backing up one key , if I know what I am doing , is safe , I visited this website again : https://social.technet.microsoft.com/Forums/en-US/db35e055-fb5a-43a0-b478-a238a69b438a/quot1quot-mean-virus?forum=w7itprogeneral and then tried to change the KEY_CLASSES_ROOT\exefile\shell\open key after backing it up . As I thought that , may be , it can be the solution to the error exe cannot be found make sure you typed the name correctly and try again . I restarted my computer then tried to run the exe again as administrator but I still got the same error . anyway . Thus , I tried to import the exported key and to my surprise I got this error : not all data was successfully written to the registry . Some keys are open by the system or other process . it is the same error I got when I backed up the whole registry . yes it is . You see the result yourself in the above error . backing up a key can be as bad as backing up the whole registry even if you know what to do . This is not an absolute rule but some keys , when they are backed up and restored can engender the above error . Therefore , as a conclusion , I consider that , generally , backing up a part or the whole registry is a bad idea . As result , I will consider that my question is not answered . So I am not convinced by your last answer justsomeguy .
  21. hisoka

    registry backup

    Thank you very much
  22. hisoka

    request about a script

    In this website : http://www.howtocreate.co.uk/emails/test_RC4B64_js.htm When you clicked on the Download the script , you get a script . I know exactly what the script does . The script decrypts and encrypts based on a password . In the encryption process , the script asks for the password and the plaintext . From the password , a key stream will be created . Then , the created key stream will be XORED with the plaintext to give an RC4 cipher which , in return, is encoded to base 64 . the decryption process is the reverse of the encryption process. Anyway . My question is the following : Based , only , on these two information : 1) the ciphertext and 2)the script in the Download the script section is it possible to recover or hack or crack the password if we do not know it or we forget it ?
  23. hisoka

    request about a script

    it is possible if the password is a lowercase English word and part of the English sentence is guessable which it is . All what is needed is a brute forcer . I know javascript and I read all the tutorials in the w3schools concerning javascript all without exception and I understood them very well . I even read books about javascript and I understood what I read . So what do you suggest me ? can you tell me what should I do?
  24. hisoka

    registry backup

    Did not we agree that backing the registry up is a bad idea ? So I asked , in my previous post , if backing up one key of the registry is as bad as backing up the whole registry . because , logically , if backing up the whole is a bad idea then backing up a part from that whole is bad idea too . Isn't it ? and by backing up , I mean using the export option in the registry menu . and by restoring , I mean using the import option in the registry menu
  25. hisoka

    request about a script

    Ok I found a website in which there a script on how to read from a file . https://gist.github.com/Arahnoid/9925725 There is a piece of script : var txtFile = "c:/test.txt" var file = new File(txtFile); file.open("r"); // open file with read access var str = ""; while (!file.eof) { // read each line of text str += file.readln() + "\n"; } file.close(); alert(str); It is not hard to understand . Nonetheless I have some questions : why we use new and not just File . I mean why do not we use : var file = File(txtFile); File() Returns a newly constructed File. https://developer.mozilla.org/en-US/docs/Web/API/File I cannot find readln() function in google so what is it ? when I run the above script I got this error which I could not understand /* Exception: TypeError: Not enough arguments to File. @Scratchpad/1:3:12 */ I mean i understand that the function File() does not have enough argument . but how many argument should File() has ? How to repair the above error ?
×