How to send a file with socket c++
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 add action programmatically to a button Item (Swift)
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?
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...
Xlxswriter - Change Date format from str to date
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
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)
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();
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
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 ...
Maven Release Plugin use in Jenkins Pipeline
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 ...
How to define the .deb-packages name to reflect the git branch
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...
mysql stored procedures with error messages
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...