how to create a event after an event in appcelrator
Vote count: 0 I am trying to repurpose code to create a custom progress bar - but I am unable to understand how to make the final change. The current implementation does the progress bar. what I would like is for the progress bar to update the text and then disappear on it's own. var win = Ti.UI.cre...
microshell doesn't execute commands
Vote count: 0 I've built a microshell that takes commands from standard input (up to 256 characters). Parses the input from user and organizes it into a "Command" structure. the structure is as follows: struct Command { vector<string> args; //program name and all parameters string inFn; //what comes...
Converting string to string[] on Method.Invoke()
Vote count: 0 I have a Dictionary<string, Delegate> commands with my delegate taking two strings and a string[] as params. I'm entering a command in a Console Application: :adduser use ame email@email.com Firstname Middlename Lastname where everything is converted to an array of strings (size 6). I ...
How do I find the .data() (jQuery) equivalent in JavaScript?
Vote count: 0 I have this code var info = $($(r).find(".BuyPriceBox")).find(".PurchaseButton").data(); which I am trying to change into the JavaScript equivalent I can't find anything that would resemble ".data()" in JavaScript? Could anyone help me with this, and if kind enough help me translate it...
can't find maxUserPort registry editor
Vote count: 0 Where it is maxUserPort? I have searched in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters but no result. Any help please? asked 1 min agoIrina Farcau Let's block ads! (Why?)
Emacs+python C-c C-c not working
Vote count: 0 I am new to using emacs as python ide. I am using Emacs 24.5.1 with its default python mode. I am writing a game with pygame and pyganim modules, but i am not able to run the code and test it because sometimes when i hit C-c C-c for eval buffer at the down window (i think it calls mini...
Specifying what data to scrape - Jsoup + Android Studio
Vote count: 0 I am using JSoup to scrape data and display in on my phone using android studio. I have code that will scrape all the tags however i am not trying to scrape them all, just certain ones in a certain order. </tr> </table> </td> </tr><tr> <td> <table cellspacing='0' border='0' width='100%...
java class to read csv files instead of text files
Vote count: 0 The task is to create a java program that reads information from three .csv files and output a list of transcripts, ordered in descending order of aggregate mark, to a file in the current directory called "RankedList.txt". The program should show whether students have passed their year...
how to instantiate a different class by Instrumenting / ASM
Vote count: 0 I am trying to use ASM in a javaagent to change the class that is being constructed (sun/misc/URLClassPath) to another one, fommil/URLClassPath, that inherits from it. I know that the target class (java/net/URLClassLoader), which I am retransforming, is the only thing that creates sun/...
swift multiple urlsession that fetch data
Vote count: 0 I try to download json data and image in dataTaskwithURL. The below code will get download all the image, but can't get all json datas. If I remove the completed handler(completed()) to somewhere then image will not be completed. How do I wait for image to download complete and continu...
I am unable to create --stack cedar (heroku)
Vote count: 0 heroku create --stack cedar C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2278:in check_version_conflict': can't activate json-1.8.3, already activated json-1.8.1 (Gem::LoadError) from C:/Ruby22-x64/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1404:inactivate' ...
Use windows compression on file from Python
Vote count: 0 I've done a kind of serialisation thing (mainly just to see if I could get a basic one working). Long story short, I had to remove what little compression I had, to make it so that I could read a huge file without having a problem with memory (I'm using seek and read together to read t...
Evaluating the predictive accuracy of the NB model
Vote count: 0 Please guys, What am I doing wrong with using scikitlea from nltk to check the accuracy of the naive bayes classifier? ...readFile definition not needed #divide the data into training and testing sets data = readFile('Data_test/') training_set = list_nltk[:2000000] testing_set = list_n...