How to start Integrating Car play in an existing iOS app?
We have to implement an iOS application which will support car play feature. Can any one you guide how to start Integrating Car play in an existing iOS app?
Join the discussion →We have to implement an iOS application which will support car play feature. Can any one you guide how to start Integrating Car play in an existing iOS app?
Join the discussion →Imagine two groups of people exploring the same location, but at different times. For convenience, think of the group exploring first as the "ancestors" and the group exploring later as the "descendants." It is easy to invent ways for the ancestors to affect the descendants. For example, they leave treasure buried and a map to find the spot in an urn. How can the exploration decisions the descendants make "matter" for the ancestors? This relevance could be figurative, narrative, or even silly. Not necessarily physical cause-and-effect. I would prefer to avoid traditional sci-fi time travel, wi
Join the discussion →I'm trying to create a table using HTML+Bootstrap CSS with Angularjs framework where if the table data reaches the end of the row, then create a horizontal scrollbar. Each row should take up exactly 1 line. How do I do this? If I add css style onto the td element for currItem and play around with width and height, I can get it the way I want, but it depends on the screen size. Is there a way to do it to satisfy any size browser window? style="width:200px; height: 50px;display: block; overflow-x: scroll; <table class="table table-striped"> <tr ng-repeat="currItem in allItems"> <td>{{currItem}}<
Join the discussion →I have created a data template report(xdodtexe) and the output will be in excel with multiple spread sheets. My E-Business Suite version is r12.1.3 and I am using Office 2013. I have created an rtf and in two separate pages layouts are there. For example department in page and employees in page. I am using <?spreadsheet-sheet-name: department?> for naming the sheets but the sheet name comes as "fndwrr" and both the outputs are in the same excel sheet without splitting into two different sheets. I have also used <?split-by-page-break:?> for splitting into two sheets but this also does not work.
Join the discussion →I can't seem to reset the default state; how do I do that? I tried this but all it does is add state to state and calls it undefined. const initialState = { name: null, coins: 0, image: null, }; export default function reducer(state = initialState, action = {}) { switch (action.type) { case types.ADD_GROUP_COINS: return { ...state, coins: state.coins + action.coins }; case types.DELETE_GROUP: return { state: undefined }; default: return state; } }
Join the discussion →I am trying to convert html to pdf. Is there any custom directive, which i can use.I also tried to use angular-save-html-to-pdf from npm site but there is some error while using. Is there any other way to convert html to css in angular js.
Join the discussion →I want to see the logs from my Docker Swarm service. Not only because I want all my logs to be collected for the usual reason, but also because I want to work out why the service is crashing with "task: non-zero exit (1)". I see that there is work to implement docker logs in the pipeline, but there a way to access logs for production services? Or is Docker Swarm not ready for production wrt logging?
Join the discussion →I am running Python 3.5.2 on a Macbook OSX 10.2.1 (Sierra). While attempting to run some code for the Titanic Dataset from Kaggle, I keep getting the following error: NotFittedError Traceback (most recent call last) in () 6 7 # Make your prediction using the test set and print them. ----> 8 my_prediction = my_tree_one.predict(test_features) 9 print(my_prediction) 10 /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/sklearn/tree/tree.py in predict(self, X, check_input) 429 """ 430 --> 431 X = self._validate_X_predict(X, check_input) 432 proba = self.tree_.predict(X)
Join the discussion →I noticed not all the Javascript functions are constructors. var obj = Function.prototype; console.log(typeof obj === 'function'); //true obj(); //OK new obj(); //TypeError: obj is not a constructor Question 1: How do I check if a function is a constructor so that it can be called with new keyword? Question 2: When I create a function, is it possible to make it NOT a constructor?
Join the discussion →I installed IntelliJ IDEA 2016.3 Community Edition and I created a simple Java class containing a main method that just prints a message. When I run that "program", the following window appears: Windows Firewall has blocked some features of this program Window Firewall has blocked some features of IntelliJ IDEA on all public and private networks. If I go to File > Settings... > Appeareance & Behavior > System Settings > Usage Statistics > Allow sending usage statistics to JetBrains s.r.o is unchecked. If I go to C:\Users\myusername\.IdeaIC2016.3\system\log: build-log\build.log - nothing seems
Join the discussion →I use google cloud storage to read files from it. It's working when I build it from within Eclipse. But when I build it with maven, it compiles but fails at runtime. When I build with eclipse no runtime exceptions occur. I need help, see the exception after the build is conducted via Maven: java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.createUnstarted()Lcom/google/common/base/Stopwatch; at com.google.appengine.tools.cloudstorage.RetryHelper.runWithRetries(RetryHelper.java:156) at com.google.appengine.tools.cloudstorage.GcsServiceImpl.getMetadata(GcsServiceImpl.java:132) Here is
Join the discussion →i am having a problem dealing with this error, when i run my app it stops and shows error in logcat: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.os.BuildCompat" on path: DexPathList[[zip file "/data/app/homeseek.app.android.capstonehomeseek-2/base.apk"],nativeLibraryDirectories=[/data/app/homeseek.app.android.capstonehomeseek-2/lib/arm64, /vendor/lib64, /system/lib64]] full error: FATAL EXCEPTION: main 11-29 13:00:24.538 1919-1919/? E/AndroidRuntime: Process: homeseek.app.android.capstonehomeseek, PID: 1919 11-29 13:00:24.538 1919-1919/? E/AndroidRuntime:
Join the discussion →I'm trying to use Bootbox confirmation. I started testing it with bootbox.alert(), but it's not working. I confirm that I have bootstrab.css, bootstrab.js, jquery.js and -bootbox.min.js included in the web header: <link href="{% static "css/patients.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet"> <link href="{% static "css/jquery-ui.min.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap-datetimepicker.min
Join the discussion →trying to use Bootbox confirmation but i start testing it with bootbox.alert(), but it's not working. I confirm that i have bootstrab.css, bootstrab.js, jquery.js and -bootbox.min.js included in the web header: <link href="{% static "css/patients.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet"> <link href="{% static "css/jquery-ui.min.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet"> <link href="{% static "css/bootstrap-datetimepicker.min.cs
Join the discussion →I have successfully build the version 3.0.3 of the MongoDB driver for C++ on Windows 10 with CMAKE_INSTALL_PREFIX=C:\mongo-cxx-driver But I don't know how to set up a project in Visual Studio 2015 that can use this driver. I found this post here, but I don't understand the exact solution. I tried the following properties but failed: C/C++ > Additional Include Directories: C:\mongo-c-driver\include\libbson-1.0;C:\mongo-c-driver\include\libmongoc-1.0;C:\mongo-cxx-driver\include\bsoncxx\v_noabi;C:\mongo-cxx-driver\include\mongocxx\v_noabi;%(AdditionalIncludeDirectories) Linker > Additional Librar
Join the discussion →I have a project with dependencies in package.json. When I install with npm install, I get packages installed in ~/.npm but not in the current folder's node_modules. NPM is creating node_modules, but not installing packages there. There's a .staging folder within node_modules, which contains all of the packages for the projects, but they're not being moved out after retrieval. Using Node v6.9.1 / npm v3.10.8. There aren't any other projects/node_modules installed in directories higher than the current one, though there is a package.json in the parent directory as well. No node_modules director
Join the discussion →I have a form defined: <form method="POST" onSubmit={this.handleSubmit.bind(this)} enctype="multipart/form-data"> The handler for the submit event is defined as such: handleSubmit(event) { event.preventDefault(); var FormData = require('form-data'); var form = new FormData(); form.append('nome', this.refs.name.value); form.append('phone', this.refs.phone.value); form.append('address', this.refs.address.value); form.append('mail', this.refs.mail.value); form.append('type', 'file'); form.append('photo', this.refs.photo.value); const {dispatch} = this.props; dispatch(fetchByArray(form)); } } fetc
Join the discussion →I have a set of climate data (temperature, pressure and moisture for example), X, Y, Z which are matrices with dimensions (n x p) where n is the number of observations, and p is the number of spatial points. Previously, to investigate modes of variability in dataset X, I simply performed a empirical orthogonal function (EOF) analysis OR principal component analysis (PCA) on X. This involved decomposing (via SVD), the matrix X. To investigate the coupling of the modes of variability of X and Y, I used maximum covariance analysis (MCA) which involved decomposing a covariance matrix proportional
Join the discussion →I have never used Powershell before but my understanding is that it is best way of sending email on a Windows machine. My network has provided me following details SMTP server Port Authentication: Anonymous From: To: Now when I am looked and researched internet I found we need username and password for sending email. Is there any way I can send email using anonymous authentication with only server name provided and also include attachments?
Join the discussion →I have bluetooth controller in picture. How do I use joystick and other 6 button on my android game? I can acces only escape button on controller with (Input.GetKeyDown(KeyCode.Escape)) bluetooth controller
Join the discussion →I am executing a test using Selenium, that is executed on 3 browsers in parallel. I want to position the windows the next way: left side, right side and bottom, So basically i'm looking for a command on Selenium that does the same effect as (start btn+left btn...) I have tried using these commands: driver.manage().window().setSize(new Dimension(800,650)); driver.manage().window().setPosition(new Point(0,0)); But the problem is that I need to enter the exact coordinates and when executing the test on different screens it might be a problem.
Join the discussion →I have found in muck test the following question: IEEE 829 test plan documentation standard contains all of the following except: a) test items b) test deliverables c) test tasks d) test environment e) test specification According to the website, the right answer is the option e). However, if you have a look of the IEEE 829 test plan documentation, one of the Sections to be included is: Test deliverables : The artifacts created by the testing team that will be delivered as per this plan. Examples include - test specifications (design, case and procedure), output from tools, test reports, etc.
Join the discussion →How do you auto-size text on a textmesh. I have dice, with six sides, that I want to put words on. The words will constantly be changing, so I need them to auto size based on the size of the cube, which doesn't change. The dice are not UI elements and thus sit outside the canvas. Here is how I am adding the text. LocationSide1.GetComponent<TextMesh>().text = "1"; LocationSide2.GetComponent<TextMesh>().text = "2"; LocationSide3.GetComponent<TextMesh>().text = "3"; LocationSide4.GetComponent<TextMesh>().text = "4"; LocationSide5.GetComponent<TextMesh>().text = "5"; LocationSide6.GetComponent<Tex
Join the discussion →I am trying to run my cucumber tests with maven and junit. When i use the cucumber keywords @given, @when etc., it is showing error as package cucumber.api.java.en does not exist. I tried with maven version 3.3.9 and below is my pom.xml. I don't know whether it is a dependency mismatch or anything else. Can any one help me in this. pom.xml: <dependencies> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-java</artifactId> <version>1.2.5</version> <scope>test</scope> </dependency> <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-core</artifactId> <version>1.2.5</ver
Join the discussion →I've been trying to add 'company name' on customer register and onepage checkout but unsuccessfully so far. I tried https://magento.stackexchange.com/questions/15847/add-company-name-to-billing-shipping-dropdown-in-magento but it didn't help at all. I can't believe there isn't a simple way of doing that.
Join the discussion →I'm trying to figure out the spring pet clinic project : https://github.com/spring-projects/spring-petclinic Trying to make my own basic spring project, want to use thymeleaf and I don't know what is going on because I'm constantly getting error "Template mode "HTML" has not been configured". I've been trying to learn this by analysing the pet clinic project, then I started lurking through the tutorial: http://www.thymeleaf.org/doc/tutorials/3.0/thymeleafspring.html and there is this info about Engines and Resolvers which are not present in pet clinic project. My question: what the hell is goi
Join the discussion →Assuming I have a sting which is "a s d d" and htmlentities turns it into "a s d d". How to replace (using preg_replace) it without encoding it to entities? I tried preg_replace('/[\xa0]/', '', $string);, but it didn't remove the characters. What are the possibilities beyond regular expression? My question is not exactly "how" to do this (since I could encode entities, remove entities I don't need and decode entities). But how to remove those with just str_replace or preg_replace.
Join the discussion →I don't have a specific code example, just looking for a general answer. I know my navbar doesn't resize well in mobile, so is there a good/correct way to fix this? Someone mentioned using CSS @media queries, but I don't know anything about them. If I do need media queries, what's a good resource to learn about them? Everything else looks fine when I use col-md-(), just not the navbar. body { font-family: 'News Cycle', sans-serif; font-size: 175%; } li { float: right; text-align: left } link { link } a:link { text-decoration: none; color: #000000; } a:visited { text-decoration: none; color: #0
Join the discussion →I am trying to connect to SFTP location via ssh jump-host proxy using jcraft version 0.1.52. But getting "connection is closed by foreign host" exception in my code. I have spent a good enough time looking at documentation but not able to figure out what the problem is 2016-11-18 14:53:14,091 44977 [main] ERROR c.w.v.r.ftp.JschSftpConnect - - com.jcraft.jsch.JSchException: connection is closed by foreign host at com.jcraft.jsch.Session.connect(Session.java:269) at com.jcraft.jsch.Session.connect(Session.java:183) at com.x.y.ftp.JschSftpConnect.connect(JschSftpConnect.java:77) at sun.reflect.Na
Join the discussion →I have json data from the server. I converted it in a string array and passed it to the next activity. There i wanted to display this array in recyclerview. But As soon as i click the button the app stops. Here is my code for the display class. public class Display extends AppCompatActivity { TextView displaytext; String getarray[]; ArrayList<String> mylist; private RecyclerView rview; private RecyclerView.LayoutManager layoutManager; private Adapter madapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_dis
Join the discussion →