Get folder with highest number, add 1 to it
◷
تاریخ انتشار: 1395/5/4 | ساعت: 7:16
Vote count: 0 So, I have a simple batch program, but I'm having trouble with some code. Let's say I have this: set %expdir%=C:GameDeployment echo Enter Export Number, or Enter X for Automatic set /p basenumb="Number: " if "%basenumb%"=="x" ( goto foo ) else ( goto bar ) :foo rem //Calculate Biggest ...
View class and Activity class communicaction
◷
تاریخ انتشار: 1395/5/4 | ساعت: 7:16
Vote count: 0 I created a class that extends View, and I have a class, where MainActivity called the View. How I can change my listview, depending on what throws me my view class ?. code: this is part of my view class: public class ViewClass extends View { //... if (recognitionPlane(touchX, touchY) ...
How to draw an arbitrary shape using html canvas?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 6:12
Vote count: 0 I'm trying to draw this chart-like shape on an html canvas: 0 100 . . 200 . . . 300 . . . 400 . . . . 500 ................................. I can't see anything wrong with my shape's co-ordinates: (0, 500), (0, 400), (100, 400), (200, 300), (300, 200), (400, 100), (400, 500) Html/js: <...
Best Way to Periodically Update a Website's Database Records based on JSON requests
◷
تاریخ انتشار: 1395/5/4 | ساعت: 6:12
Vote count: 0 What I want to do is to update the records of a database based on the replies of some JSON requests, let's say once an hour or once a day. A way I can think of is to make a C++ or Python program that runs on the server, gets the data and updates the database. Is there an another or sma...
How to prevent scrollbars from hiding on OS X without impacting Windows users?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 6:12
Vote count: 0 I have a scrollable div. In OS X, the scrollbars auto-hide themselves, which is a bit prettier than always-visible scrollbars but sometimes confuses my users. The general response to this issue is to use ::-webkit-scrollbar: How can I prevent scroll bars from being hidden for OS X trac...
Spark master-machine:7077 not reachable
◷
تاریخ انتشار: 1395/5/4 | ساعت: 5:12
Vote count: 0 I have a Spark Spark cluster where the master node is also the worker node. I can't reach the master from the driver-code node, and I get the error: 14:07:10 WARN client.AppClient$ClientEndpoint: Failed to co ect to master master-machine:7077 The SparkContext in driver-code node is con...
Is the Activity onCreate called with each NewInstance of a fragment inside it?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 5:12
Vote count: 0 I want to generate a new Fragment with the next object in a LinkedList. When a user clicks next I want to reassign a global reference to the next one in the LinkedList and create a fragment with it. Problem Each time the user clicks next, the object will only be reassigned to the 2nd o...
Check Box Selected Action in Swift?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 5:12
Vote count: 0 I am using M13Checkbox, and you can look at the Github page here. In my table view function, I assign a M13 Checkbox to each cell's checkbox variable. The variable looks like this var checkbox = M13Checkbox() in my custom cell class. This is what the code where I define the checkbox in...
Can't edit images in divs css
◷
تاریخ انتشار: 1395/5/4 | ساعت: 4:07
Vote count: 0 I am trying to build a website and I am making a collection of images that I want to be in a row with a margin of around 20 pixels (the images are in a div that is repeated for however many images there are). When I run the code the images appear in an weird configuration in that they ...
How to communicate PHP and JAVA
◷
تاریخ انتشار: 1395/5/4 | ساعت: 4:07
Vote count: 0 I have few PHP files which is inte ally executing a shell script. I have controller files written in Java which communicates with central database. The flow of data is as follows: 1) Execute PHP file which inte ally executes a shell script. Now controller has to be ru ing on the same s...
Python2 indexing: why numpy array arr2d[ : , :1] and arr2d[ : , 0 ] will produce different result?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 4:07
Vote count: 0 New to python. Say: arr2d = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) arr2d[:, :1] gives me array([[1], [4], [7]]) arr2d[:,0] gives me array([1, 4, 7]) I thought they would produce exactly same thing... I googled, but apparently my English is not good enough to summarize this questio...
Starting up MongoDB through Node.js and then connecting
◷
تاریخ انتشار: 1395/5/4 | ساعت: 3:02
Vote count: 0 I'd like to start the MongoDB through Node.js to save myself the trouble of having to do it manually each time, however I'm uncertain what the best method to use is, or for that matter, how to incorporate it, and therefore the dilemma. I believe the reason that this code is not working...
Visual Studio doesn't show anything when app crashes
◷
تاریخ انتشار: 1395/5/4 | ساعت: 3:02
Vote count: 0 I'm debugging an app on a Windows 10 Mobile phone (Lumia 550) from Visual Studio on my PC. At some point the app simply closes on the phone and it shows the start screen. The problem is that Visual Studio doesn't show anything. Not an exception, not even stops debugging. Though sometim...
Are there best practices in Android Activities Service data serialization?
◷
تاریخ انتشار: 1395/5/4 | ساعت: 3:02
Vote count: 0 I have an Android App and an Android Service -- two separate APKs, managed and released independently. All that needs to be agreed is data interchange format, aka "local API". Currently, there is quite a lot of packing/repacking going on which costs development time. The Service also c...
Java framework for batch jobs with gui and http server
◷
تاریخ انتشار: 1395/5/4 | ساعت: 1:24
Vote count: -2 I want to develop a system for batch jobs and remote control via http. This system should get jobs via REST or read from redis and result writes to database. I could take java ee wilh wildfly, but I think it's would be overkill for this moreover I already use rails application (sideki...
Callback at random times from a child process with infinite loop, and termination
◷
تاریخ انتشار: 1395/5/4 | ساعت: 1:24
Vote count: 0 I need to react in a main process to random events happening in a child process. I have implemented this with a queue between the main and the child process, and a 'queue poller' ru ing in a secondary thread of the main process and calling a callback function each time it finds an item...
Get all twitter mentions using tweepy for users with Millions of followers
◷
تاریخ انتشار: 1395/5/4 | ساعت: 1:24
Vote count: 0 I had a project in mind where I would download all the tweets sent to many celebrities for the last one year and do a sentiment analysis on them and evaluate who had the most positive fans. Then I discovered that you can at max retrieve twitter mentions for the last 7 days using tweepy...
bootstrapped confidence intervals with dplyr
◷
تاریخ انتشار: 1395/5/3 | ساعت: 23:59
Vote count: 0 Looking at the answer here How can I estimate bootstrapped intervals? asked 1 min agoSalvador Let's block ads! (Why?)
A black window pops up Unable to copy files unity
◷
تاریخ انتشار: 1395/5/3 | ساعت: 23:59
Vote count: 0 Hi i am trying to install unity3d software on my Windows10 pc. everything downloaded and installed smoothly. but when unity starts its giving the fallowing and after i click many times on "Try Again" Button a blank window will be poped and unity is not starting. I have tried to delete ...
Xampp guide for beginners
◷
تاریخ انتشار: 1395/5/3 | ساعت: 23:59
Vote count: 0 Hi again I was looking for an educational guide that would guide me through xampp and how to use it as a database using eclipse java language plz i need a file or something that would help me im trying to finish a program and i really need to know how to code using java language to hav...