Cannot convert value of type '(Response) -> ()' to expected argument type 'Response -> Void
◷
تاریخ انتشار: 1395/2/14 | ساعت: 13:53
Vote count: 0 I got this error when build this class : Ca ot convert value of type '(Response) -> ()' to expected argument type 'Response<_, NSError> -> Void' import Foundation import Alamofire import ObjectMapper import AlamofireObjectMapper import RealmSwift class ProductCategorySync { static func...
why ninja ripper does not work on some games
◷
تاریخ انتشار: 1395/2/14 | ساعت: 13:53
Vote count: 0 I want to rip need for speed rivals 3d car models with ninja ripper.But it does not work ! and when i press f10 to rip , nothing happens.But on some games like Dirt3 or others it works !I test ninja ripper on battlefield 4 and it does not work like rivals.I want to know is there anybod...
my kivy simple hello world app is not closing I'm using raspberry pi B and I can't close it I must unplug my raspberry pi 5v adapter to close it
◷
تاریخ انتشار: 1395/2/14 | ساعت: 12:21
Vote count: 0 I'm using rasbian jessie this is the very simple code import kivy from kivy.app import App from kivy.uix.label import Label class mamdouh(App): def build(self): retu Label(text='mamdouh') if __name__=='__main__': mamdouh().run() asked 1 min agomamdouh abdelfatah Let's block ads! (Why?)
jenkins configuring npm install via proxy
◷
تاریخ انتشار: 1395/2/14 | ساعت: 12:21
Vote count: 0 I have a jenkins setup and I installed NodeJS plugin recently. While building the project, it fails at npm install with the following error output, indicating it is unable to access inte et. npm ERR! argv "/app/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/ecp-nodejs/bi...
How to put dependencies in output jar
◷
تاریخ انتشار: 1395/2/14 | ساعت: 12:21
Vote count: 0 for instance: //build.gradle dependencies { ... compile 'com.google.guava:guava:19.0' } and output jar is: roroco@roroco ~/Dropbox/jvs/ro-adr/ro $ jar tf build/libs/ro.jar META-INF/ META-INF/MANIFEST.MF ro/ ro/Noko.class ro/RoFile.class ro/Http.class ro/Out.class ro/Range.class ro/Rang...
Newbie here, help me with my code please post(newest-oldest)
◷
تاریخ انتشار: 1395/2/14 | ساعت: 11:09
Vote count: 0 I do not know how to sort the date. can you give me the simplest code to do that, I am doing foreach loop then it outputs the results then i want it to sort the posts via date(latest-oldest) here is my code: $users = DB::getInstance()->query("SELECT * FROM users"); if($users->count()) ...
Alex.js in other languages
◷
تاریخ انتشار: 1395/2/14 | ساعت: 11:09
Vote count: -1 Alex.js is a JavaScript library designed to detect "insensitive, inconsiderate" writing. Are there any popular alte atives in python, go, ruby, C++, etc.? asked 48 secs agodashingdw Let's block ads! (Why?)
pass variable into url
◷
تاریخ انتشار: 1395/2/14 | ساعت: 11:09
Vote count: 0 I have a problem when passing two variables into URL. it works fine in localhost, but not in hosting (linux hosting).. i use form_open(); in view and the controller (pickup.php) : function verifikasi($request_id,$unik) { $pickup = $this->input->post('pickup'); $this->load->model('excel...
Why does accessing my matrix give me a seg fault?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 10:06
Vote count: 0 When ever I try to access my matrix which is Line*** I get a seg fault. A simple operation such as (matrix[i][j]->vbit == 00),{int vbit} gives me a segmentation fault. I am assuming it is within the constructor, but I can't seem to find the issue. Anyone see it?enter image description ...
php5.4 fgetcsv() returns zero lines
◷
تاریخ انتشار: 1395/2/14 | ساعت: 10:06
Vote count: 0 Php ver. 5.4.45 First the code: $path = DATA_PATH.DS.$token.DS."docsIn".DS; $fname = $section['subject']."-".$token."--".$i.".csv"; $fhandle = fopen($path.$fname, "r"); if(!$fhandle) { $report[] = "Failed to create a file handle for: ".$path.$fname; } $report[] = "Reading the file: ".$...
Recovering accidentally deleted ext4 partition on DM-0 LVM2 volume spanning across physical drives
◷
تاریخ انتشار: 1395/2/14 | ساعت: 10:06
Vote count: 0 I have a setup with some LVM volumes, with following configurations. I accidentally formatted the LV "lvmedia" using the disks program in gnome(I know this was extremely stupid and frustrating) I have tried using using many methods mentioned using testdisk & simple e2fsck/fsck.ext4, us...
how to query ArrayList and store in an array
◷
تاریخ انتشار: 1395/2/14 | ساعت: 8:43
Vote count: -1 I have an ArrayList which stores 100 instances of a POJO named Funds. Here is what Funds looks like: public class Funds { private String InvestmentName; private String PrimaryInvestmentObjective; private String AgencyOrMissionRelatedNeeds; } here is what my arraylist looks like: Array...
Python what does this mean < object at 0x7fab7fc80c50> and how can I parse it?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 8:43
Vote count: 0 I've started a flask app with python. I'm using yelp-python https://github.com/Yelp/yelp-python to access to yelp api from yelp.client import Client from yelp.oauth1_authenticator import Oauth1Authenticator from IPython import embed auth = Oauth1Authenticator( consumer_key='key', consu...
Create owl file from csv file
◷
تاریخ انتشار: 1395/2/14 | ساعت: 8:43
Vote count: 0 Currently I am using Protege application to add classes, sub classes for the added classes and label for each subclass/class. I have many classes and I am really fed up adding many of these manually. I have got all of these classes, sub-classes and labels in a csv file. Each row contai...
How can I restore a theme to it's default settings
◷
تاریخ انتشار: 1395/2/14 | ساعت: 7:41
Vote count: 0 So I installed the "twenty fourteen" theme for my website, and I want to change it to it's deault settings. With this I mean resetting the theme to how it was when first installed (with no modifications). Currently I have checked the database to check if I could restore the wp-options ...
Gulp concat two SASS files into one (using Compass)
◷
تاریخ انتشار: 1395/2/14 | ساعت: 7:41
Vote count: 0 I'm having serious brain farts with Gulp. I need to concatenate two SASS files into one. That is easy enough, but I'm using Compass as well and that's what seems to be messing me up. Here's the critical/important stuff I have related to this issue: // Include Gulp var gulp = require('g...
AudioStream - IOException: could not create audio stream from input stream
◷
تاریخ انتشار: 1395/2/14 | ساعت: 7:41
Vote count: 0 So I've been trying to play sound files using the AudioStream class. It works fine on the first try but doesn't work again after that. Instead, it gives me an IOException error. Here's the code I used. Note that this code is being ran in a Thread that is executed by an ActionListener f...
Is it bad practice to place other objects on the class namespace?
◷
تاریخ انتشار: 1395/2/14 | ساعت: 6:32
Vote count: 0 I have a bunch of shards (databases) that I'm querying for data, and then I need to create a manifest file for S3. Would it be bad practice to put the manifest object at the class level like so: class Shard(mu.PrettyStr): # Tracks files on a class level for manifest creation. manifest ...
parsing google news using beautiful soup python
◷
تاریخ انتشار: 1395/2/14 | ساعت: 6:32
Vote count: 0 I have python code as below. It searches a google news page and prints hyperlinks and titles for each news. My problem is that googlenews groups news that are similar in one bucket and below script prints only 1st news in each bucket. How can I print all new from all buckets? from bs4 ...
Python 3: Convert a single element list to a variable
◷
تاریخ انتشار: 1395/2/14 | ساعت: 6:32
Vote count: 0 I have a list called [[ 0.99950892]] I want to have just 0.99950892 However when I use [[ 0.99950892]][0][0][0]. The output is (0.99975443124+0j). I don't want the parenthesis and the imaginary part. What should I do? asked 3 mins agopeter 1 Answer Vote count: 0 >>> [[x]] = [[0.9995089...