How to send a file with socket c++ - تاریخ: 1395/6/6 ساعت: 11:51
Vote count: 0 i got some project that the idea is the sender send the file.txt to the receiver on linux c++. i have implemented the function explain below. the problem is if the sender send a file with 1638 number of lines the receiver can't properly write the file. sender.cpp int Socket,n; int t; s...
How to Parse JSON to [String: AnyObject] in Swift. Old answers are not working - تاریخ: 1395/6/6 ساعت: 11:51
Vote count: 0 Hi I am trying to do a simple JSON string to Object conversion. Here is the code: let u = "somehost.com/api/1/ipa/2" let url = NSURL(string: u )! let data = NSData(contentsOfURL: url)! let parsed: AnyObject? = try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptio...
How do you make a template for the "app user" to fill out? - تاریخ: 1395/6/6 ساعت: 11:51
Vote count: 0 I am new at coding and currently lea ing swift. I am progressing in my app and just needed a little bit of help... asked 51 secs agoShreyas Prasa a Let's block ads! (Why?)
Not getting desired output. Is there something inherently wrong in the logic? - تاریخ: 1395/6/6 ساعت: 6:45
Vote count: 0 the input depicts no of tests followed by size of input array followed by the array and the output either gives -1 or the square of the largest prime in the given array. I am providing the code and the expected and actual output along with sample standard input used. standard input: 3 ...
how to add action programmatically to a button Item (Swift) - تاریخ: 1395/6/6 ساعت: 6:45
Vote count: 0 I’m new in iOS dev with swift 3 I would like to create a calculator with UITextField so i have implemented a toolBar with items above number pad but i can’t interact with UITextField without an error . I passed some hours to read and i found some solutions with action parameter but non...
Scrapy, frontera, Cloud for scala/java? - تاریخ: 1395/6/6 ساعت: 6:45
Vote count: 0 i need to crawl and extract data for some websites (scraping). the guys at scrapinghub.com have developed: Scrapy: web scraping framework (open-source) Frontera: platform to run a scrapy scrapper in a distributed ma er using HBase (open-source) Crawlera: a payed proxy curator and rotat...
Pandas concatenation of multiple dataframes returns null values - تاریخ: 1395/6/6 ساعت: 1:39
Vote count: 0 I have a dataframe (df), that I break down into 4 new dfs (media, client, code_type, and date). media has one column of null values, while the other three are only 1-dim dfs, each consisting of nulls. After replacing the nulls in each dataframe, I try to pd.concatto get a single df and...
Xlxswriter - Change Date format from str to date - تاریخ: 1395/6/6 ساعت: 1:39
Vote count: 0 I am having trouble changing the date format of date column in the dataframe i created using Xlsxwriter. The current format is 3/31/2016 12:00:00 AM, which i thought python is reading a date and adding a time to it. I would like the format to simply be dd/mm/yyyy with know time associa...
Merge geometries, but use a single material - تاریخ: 1395/6/6 ساعت: 1:39
Vote count: 0 Somewhat new to Three.js and 3d libraries in general. I merged two geometries (a quarter cylinder and a plane) using this code: var planeGeo = new THREE.PlaneGeometry(planeW, planeD / 2, 199, 399); var planeMesh = new THREE.Mesh(planeGeo); planeMesh.updateMatrix(); var cylinderGeo = ne...
Multiple colors in one single character(svg) - تاریخ: 1395/6/5 ساعت: 20:20
Vote count: 0 Im looking for a solution in SVG that enables several colors in one single character without any visual gradients. Here is an example of how I want the result to look like http://i.stack.imgur.com/BNwT9.png Here is the best solution that I can come up with. This works perfect with only...
Google Maps Annimation - App halting at polyline.Distance(); - تاریخ: 1395/6/5 ساعت: 20:20
Vote count: 0 I wonder if someone can help with my stalled Google Maps application. I am adapting the animation features of this example are on the geocodezip, for example Multiple Marker A imation. The general code for the startA imation sequence looks like this. `function startAnimation(index) { i...
Docker exposing ports site can't be reached - تاریخ: 1395/6/5 ساعت: 20:20
Vote count: 0 I have exposed the required ports in my dockerfiles as well mapped them in my docker-compose.yml. If i create containers without a docker-compose.yml i can access everything, but if i use docker-compose.yml file i ca ot access 2 out of 3 images via a http-get request. But according to ...
check user is inactive show a popup and reset if he clicks on continue button javascript - تاریخ: 1395/6/5 ساعت: 15:16
Vote count: 0 Requirement : If user is inactive then show a popup after 5 minutes. and if selected continue session the timer will reset for this and again check for the same. If user haven't click any continue button then the page will refresh. asked 34 secs agoAnuj Sachan Let's block ads! (Why?)
need to include $each and $position with $push in mangoDB and golang(mgo) - تاریخ: 1395/6/5 ساعت: 15:16
Vote count: 0 In the back end i m using go lang and for database i use mongoDB. I m trying to find the last document inserted in the embedded array so i can retrieve the document in the last array index without knowing its index.Is is possible?? After researching on this i came to know that its not ...
Maven Release Plugin use in Jenkins Pipeline - تاریخ: 1395/6/5 ساعت: 15:16
Vote count: 0 I'm using Jenkins Pipeline to automatically build and deploy my Java apps. I also use maven-release-plugin to perform Maven deploy to Artifactory. The problem is my Jenkinsfile (or Jenkins Pipeline Configuration) : We commit a version 0.1.00-SNAPSHOT on release branch Jenkins Pipeline ...
Will calling AJAX in constant interval burden the server and browser itself? - تاریخ: 1395/6/5 ساعت: 10:13
Vote count: 0 I am currently developing a website where notification is needed. Therefore, I would like to call AJAX and detect changes on my database (storing notifications) constantly in a certain interval. So my question is, as there are many users calling the AJAX at a same time and at constant ...
how do i search bitbucket files that contain a string and are contained in specific repos? - تاریخ: 1395/6/5 ساعت: 10:13
Vote count: 0 I want to search bitbucket for files that contain the string "MyStr", but only search repos who's name contains "cookbook"- is this possible? Could not see how to do this with quick file search: https://blog.bitbucket.org/2013/02/07/introducing-quick-file-search/ asked 20 secs agored88...
How to define the .deb-packages name to reflect the git branch - تاریخ: 1395/6/5 ساعت: 10:13
Vote count: 0 Our team develops application. As this application intended to run on Debian we've done it in a proper Debian way - via .deb packages. If it's important, app is written in C++/Python and code is stored in Git. We have private Debian repo where I place snapshot and release versions (app...
Display a new div in-line directly after content of parent div? - تاریخ: 1395/6/5 ساعت: 5:13
Vote count: 0 I have a ba er that's width is set to 100%. I then have another div set at 30px nested within the main div placed at the end of the first div. This close-ban div has the background image of a close icon and the javascript is set so when a user hits the div the entire ba er hides. I wan...
mysql stored procedures with error messages - تاریخ: 1395/6/5 ساعت: 5:13
Vote count: 0 I'm having some with registerusers stored procedure with error message and when I executed the result I got an error that says:' MySQL said: Documentation declare checkfirstnamecount int; declare checklastn' at line 10' Here's my stored procedure: DELIMITER go Create procedure register...

برچسب‌های مرتبط

how can i check serial numbers on guns | how can i check premium bond numbers | how can i check my powerball numbers | how can i check my lottery numbers | how can i check license plate numbers | how can i check old premium bond numbers | how can i check my premium bond numbers | how to convert pdf to word | how to convert pdf to jpg | how to convert degrees to radians