TomEE pluME with JSF 2.2 ConfigurationException
Vote count: 0 This is my first post.therefore , i didnt send my questionfluently.When i start tomEE to deploy my project.I get errors.I am using JSF 2.2 , apache-tomee-7.0.0-M3-plume and Primefaces last version.I searched but i didnt find any solution. TomEE Errors com.sun.faces.config.Configuration...
Can't put a cer
Vote count: 0 The following works fine: @echo off youtube-dl --output D:path%%(title)s.%%(ext)s -f bestaudio https://www.youtube.com/watch?v=J9bjJEjK2dQ I can add an IF clause (and I get the expected 'hi'): @echo off IF 1==1 ( echo hi ) youtube-dl --output D:path%%(title)s.%%(ext)s -f bestaudio http...
VB.net Checking if database exists before connecting to it
Vote count: 0 I found the following query in order to find out if a database table was created already or not: if db_id('thedbName') is not null --code mine :) print 'db exists' else print 'nope' Now I am wanting to use that same query within my VB.net application. This is the code I currently have ...
Passing scope data from a function to parent scope?
Vote count: 0 In my controller I have a $http call which retu s a json string which I then want to pass to a directive to be added to a map. The string is being passed from the controller to the directive fine but not from from the $http function within the controller to the directive. wmm.controlle...
How do SQLite data types map to Java?
Vote count: 0 SQLite only has a few data types: NULL, INTEGER, REAL, TEXT, BLOB Meanwhile, the JDBC has: -7 BIT, -6 TINYINT, -5 BIGINT, -4 LONGVARBINARY, -3 VARBINARY, -2 BINARY, -1 LONGVARCHAR, 0 NULL, 1 CHAR, 2 NUMERIC, 3 DECIMAL, 4 INTEGER, 5 SMALLINT, 6 FLOAT, 7 REAL, 8 DOUBLE, 12 VARCHAR, 91 DA...
Checkstyle : Why as a developer we should worry about it?
Vote count: 0 I am not sure whether it is right forum or not. I just want to ask, what is there in checkstyle for developer. PMD is useful because it improve our coding skills but checkstyle I am not sure. Some checkstyle wa ing are too restrict like you can have only 1 capital letter in variable na...
How would I program a code that would sort data
Vote count: 0 I created a math quiz that saves the scores of three classes in different excel files and need to create an additional code (separate to the other code) that writes in an excel the top three scores of every name entered for each class into the test and I have to add a feature that allo...
Edit in office button in SharePoint site
Vote count: 0 In a SharePoint project I am working on that shows files, we have a button to open the SPFile that the user is seeing in office.Currently, the button is working for IE only. I have to make it available for chrome and firefox also (currently it is just saving the file instead of opening...
UTF8 problems in SQLite in R
Vote count: 0 I am working on a web scraping program that feeds into a database, and I have been having problems with UTF-8. Initially, I scraped the data and noticed the special characters were not coming through, so I found that using Encoding() <- "UTF-8" worked. htmlpage2 <- read_html("http://ww...
JavaFX Taking array from read file - Not working
Vote count: 0 Okay, this program lets the user input a file location. ex. /Users/use ame/Desktop/Words.txt. Its supposed to open the file after the user clicks submit, take whatever text is in it and sort the words in alphabetical order. Everything is works when I put in a correct file path but it d...
Error using Java Native Interface
Vote count: 0 I'm trying to develop a java program that uses c++ code. For this purpose, I'm using a 32-bit mingw and a 32-bits jre (version 1.8.0_77). I have problems trying to load the *.dll. (I haven't tried to run any method yet) This is the class where I have declared the native method: public ...
PHP Prepared statement bind_param() error
Vote count: 0 Many people on stackoverflow has had this problem, but i still ca ot spot the mistake This is the error: Fatal error: Call to a member function bind_param() on boolean in /home/haydngco/public_html/admin.php This is the lines of code: $insertpost = $co ->prepare("INSERT INTO posts (tit...
Code generation for complexity analysis
Vote count: 0 I'm going building a compiler that have as input a pseudocode of recursive algorithm and as output generate all the execution environments for show the variation of the input in each environment and then generate the recurrence of this algorithm. I have an idea: First make a grammar fo...
Badge Notification within a Universal Windows App
Vote count: 0 There seems to be a lot of documentation on showing badge notifications on Tiles in UWP apps. However, is there any way to show a badge notification on navigation buttons within the application itself. This seems to be a very common scenario for mobile apps. When I log into the faceboo...
using flexbox and scaling images and stay on the same line
Vote count: 0 I have the following jsfiddle. Notice how when the images scale, they don't stay on the same line. How can I use flexbox to scale the images so that they stay on the same line as the browser resizes. See code below: http://codepen.io/jasmine1233333/pen/NNBVZe CSS: .npwfu-example-shell ...
How to do back conversion
Vote count: 0 In order to convert std::wstring to char* UTF8 I use following code: std::wstring my_wide_string = L"my_sqlite_db.db"; std::wstring_convert<std::codecvt_utf8<wchar_t> > myconv; myconv.to_bytes( my_wide_string.c_str() ); Now, I need to do a back conversion, i.e. char* UTF8 to std::wstri...