back soft

مطالب مرتبط با «not» در back soft | نویسنده: استخدام کار

How can I determine if elements from one array fall between elements from another array in java?

Vote count: 0 I have two sets of GPS coordinates in .txt files - one set is an arbitrary set of latitudes calculated at evenly spaced intervals, and the other is a set of random (lat,long,elev) coordinates. Both arrays are sorted in ascending order according to their latitudes. I want to write a java program that takes the (lat,long,elev) coordinates and compares it to the arbitrary latitudes and determine a) which points lie in the latitude intervals and b) prints the point. Any ideas are greatly appreciated! asked 18 secs agoDominique Brasee Let's block ads!...

ادامه مطلب

Python 2.7 on OS X: TypeError: 'frozenset' object is not callable on each command

Vote count: 0 I have this error on each my command with Python: ➜ /tmp sudo easy_install pip Traceback (most recent call last): File "/usr/bin/easy_install-2.7", line 11, in load_entry_point('setuptools==1.1.6', 'console_scripts', 'easy_install')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 357, in load_entry_point retu get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2394, in load_entry_point retu ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2108, in loa...

ادامه مطلب

Error 1215 : cannot add foreign key constraint

Vote count: 0 CREATE TABLE milkekhareedo.groups ( groupId VARCHAR(36) NOT NULL, name VARCHAR(35) NOT NULL, dateofCreation DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, type VARCHAR(5) NOT NULL DEFAULT 'close', cityId VARCHAR(36) NULL, productId VARCHAR(36) NULL, PRIMARY KEY (groupId), INDEX cityId_idx (cityId ASC), INDEX productId_idx (productId ASC), CONSTRAINT cityId FOREIGN KEY (cityId) REFERENCES milkekhareedo.cities (cityId) ON DELETE SET NULL ON UPDATE CASCADE, CONSTRAINT productId FOREIGN KEY (productId) REFERENCES milkekhareedo.products (productId) ON DELETE SET NULL ON UPDATE CASCADE); This is my group table. And my product and city table is CREATE TABLE cities ( cityId varchar(36) N...

ادامه مطلب

JdbcRowSetImpl cannot be resolved to a type?

Vote count: 0 Please help me, I am only still a student, I've still much to lea. I've searched everywhere and I still can't find any solution to this error so I've resorted to asking here at Stack Overflow... asked 1 min agoBakaDesu Let's block ads!...

ادامه مطلب

CodeIgniter session class not working in any browser on os x

Vote count: 0 I have developed a project in CodeIgniter 2. It works well in any browser. And I can login and explore my account successfully in (Chrome, IE, OPERA, SAFARI and FIREFOX) on Windows(Safari, Chrome, Firefox) on Android(Safari, Firefox, Chrome) on iOS 9.3. Also, the login works in any browser on OS X, but after exploring some pages, the session are lost. Has anyone run into the same problem? asked 22 secs agouser3062975 Let's block ads!...

ادامه مطلب

action tag is not working in CommandButton in Primefaces 6.0

Vote count: 0 xhtml code : - When I click on button it called the dialog and inside the dialog box there is pick list, but I am getting pick list as Empty just because Action tag is not working and it's not calling loadtype methods....

ادامه مطلب

jquery ajax post within a function not working

Vote count: 0 So i have created a function to post data to a php page: function updateData(x,y){ $.ajax({ type: 'POST', url: 'myupdate.php', data: {x:y}, success: function(data){ $("#resultdiv").html(data); } }); } And I call the function like this: $(".myclass").click(function(){ var newname = $("#myname").val(); //value of input type="text". updateData('name', newname); // also tried updateData(name, newname) }); So if i input the value as Rocky and initiate the function, problem is that the value sent to the php page myupdate.php is x=Rocky. I want it to be name=Rocky. How can i solve this. Many thanks. asked 14 secs agoSomename Let's block ads!...

ادامه مطلب

2sxc: can not install any apps

Vote count: 0 I have recently installed the latest version of the base app from codeplex (2sic_2SexyContent_08.04.08_Install.zip ) to D vesion 7.4.0, created a new admin page and added the module there. from there I have tried to add a new app (2sxcApp_GoogleTagManager_01.00.01.zip) and the install pop up flashes for a split second then nothing happens. checking the console I see; /desktopmodules/tosic_sexycontent/dist/d/ui.html?sxcver=8.4.8.19191#zoneI…true&user%5BcanDevelop%5D=true&approot=%2F&dialog=dash-view&items=%5B%5D:1 XMLHttpRequest caot load http://northcityosteopaths.co.nz/desktopmodules/2sxc/api/view/Module/GetSelectableApps. Response for preflight is invalid (redirect) /desktopm...

ادامه مطلب

JFrame not Executing! (Eclipse Editor)

Vote count: 0 My JFrame isn't executing or not even showing up when I press the run button. I am sure my code is right(Please Check) and I guess it could be an Eclipse Bug. Help would be Appreciated! Eclipse Version: Neon OS: Ubuntu Linux 16.04 LTS Code: import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JLabel; public class CreateServer { public static JFrame start= new JFrame("TRDServerCreator"); public static void main(String[] args) { CreateServer.startwin(); } public static void startwin () { start.setSize(500,500); start.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); start.setLocationRelativeTo(null); start.setResizable(false); JPanel cont= new JPanel(); start.ad...

ادامه مطلب

Telerik RadGrid Update Command not firing

Vote count: 0 So, I have a RadGrid with a typical edit arrangement that was working... and now isn't. Never firing the UpdateCommand event, set a breakpoint there and it's not being reached. Making me crazy because it had been working just fine and I can't think of anything I've done that would cause it. When I click edit, the form opens just fine, the cancel button works but the update command never fires. In the grid I have: OnUpdateCommand="pendingVehiclesRadGrid_UpdateCommand" And in my code behind I have: protected void pendingVehiclesRadGrid_UpdateCommand(object source, GridCommandEventArgs e) { blah blah } Seems pretty straightforward but as I say... nothing. I'd be, as always, deeply...

ادامه مطلب

Why do we need @DELTE, @POST @DELETE annotations?

Vote count: 0 I have methods using @DELETE, @POST aotations.I changed the aotaion of method that delete from database with @POST aotation and work well. Then what is the need of these aotations? asked 23 secs agoSemah Mhamdi Let's block ads!...

ادامه مطلب

C++ method works in unit test but not in actual use

Vote count: 0 I have a number of C++ projects that are related. I am developing under RHEL 6 using Netbeans 8.1 as the IDE. I am using the GNU toolchain. These projects share a couple of libraries. One holds a set of simple utilities like converting a string to uppercase or getting "root"s home directory. That getRootDir method has started giving me grief and I am not sure why. It is not a complex method. It calls getpwuid(0) and puts the result in a struct passwd *pwd structure. It works in the unit test. I can't easily debug it in operation. I have syslog calls that dump diagnostic info in the logs. I can't attach to the process (or don't know how) because it is forked from a login process...

ادامه مطلب

Box shadow not showing on both sides

Vote count: 0 I use this css code for box shadow but I get only on the top and bottom Look like this div#blog-pager { border-radius: 2px; -webkit-box-shadow: 0 0 3px rgba(0,0,0,.35); -moz-box-shadow: 0 0 3px rgba(0,0,0,.35); box-shadow: 0 0 3px rgba(0,0,0,.35);} this css style don't have shadow style #blog-pager{background:#fff;clear:both;width:auto;padding:20px;line-height:normal;position:relative;display:block;text-align:right;overflow:visible;margin:20px 0 5px 0} I don't know if this code above affect the code I added This is my blog : Blog asked 11 secs agoyoussef elmajbri Let's block ads!...

ادامه مطلب

routing is not working with angular js

Vote count: 0 As a part of leaing process, I am roaming around angular js routing concepts.. for this I created one ier folder inside app with two sample test html pages .. when i run the app it should load first page from that folder but it does not not happening .. I am not sure where i have done wrong in this code... Below is my controller code var myApp = angular.module('myApp', ['ngRoute']); myApp.config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'Pages/main.html', controller: 'mainController' }) .when('/second', { templateUrl: 'Pages/second.html', controller: 'secondController' }) }); myApp.controller('mainController', ['$scope','$log', function($scope,$log) {...

ادامه مطلب

Database table not created in Moto G3 device

Vote count: -1 I have a DB with 5 tables, and all of them are created in all the devices I tested, but in Moto G3 device the unique one isn't created and I can't find the answer. The other 4 tables are created correctly. In all the others devices this table is created without problems and I'm able to insert and execute querys on it. asked 33 secs agoVurtne Let's block ads!...

ادامه مطلب

MapView does not load properly inside fragment. Strange behaviour on Google PLay services 9.4.0

Vote count: 0 I am using MapView inside a fragment. Now it does not load. (Or to be precise, it loads but it does not load. Yes, its weird, pics attached.) Here is the code : @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_home, container, false); mapView = (MapView) view.findViewById(R.id.mapview); // Gets the MapView from the XML layout and creates it mapView.onCreate(savedInstanceState); // Gets to GoogleMap from the MapView and does initialization stuff mapView.getMapAsync(this); } And on MapReady, I do this : @Override public void onMapRead...

ادامه مطلب

UIStackView not hiding parts of subviews created during rotation

Vote count: 0 I have a custom "button" (not a UIButton subclass) in a stack view in the header area of my main view (see images). The header shows an image, labels, and the custom button on the first page, and only the title on subsequent pages. I re-create my pages during size changes (rotation, multitasking, etc...) because the amount of text on each page changes. For some reason, the pages that are created during the size change do not hide the text of my custom button. Subsequent lazily-loaded pages do not exhibit this problem. I've tried setting the alpha of this button to 0 in addition to hiding it, which has no effect. I also tried calling setNeedsDisplay on the possibility that it ma...

ادامه مطلب

Angularjs factory calling a function: TypeError: function is not a function

Vote count: 0 I'm trying to call another function within my factory but i get this error. i did what others said in this link. i could not find the problem. where did i go wrong? Thanks! .factory('UserPreferences',function(Http,ngDialog,Notification){ var settings = {} retu { authenticated: false, settings:{}, save_settings: function(data){ var data = { url: '/pointofsale/userpreferences/save', data: data } Http.Post(data) .success(function(data){ statusMessage = data ngDialog.closeAll(0) }) }, authenticate_change_settings: function(user,settings){ this.settings = settings var data = { url: '/pointofsale/authenticate_change_settings', data: user } Http.Post(data) .success(function(data){ if(...

ادامه مطلب

JavaScript function not returning variable

Vote count: 0 I'm trying to get the ID of a signed in user in Google Chrome using a separate function, however the gaiaId variable always seems to be 'undefined' even though userId contains the ID (I checked). How do I retu the id from the function that's called? function getGaia(){ chrome.identity.getProfileUserInfo(function(userInfo) { var userId = userInfo.id; alert(userId); retu userId; }); } var gaiaId = getGaia(); alert(gaiaId); asked 21 secs agoShmeelZanvill Let's block ads!...

ادامه مطلب

Multiple UWP 10 projects within single solution with dependency of one in other not working

Vote count: 0 While trying to add dependency of one UWP application in other both having App.xaml wil not work. It gives the following error Conflicting values for resource 'Files/App.xbf' Processing Resources failed with error: Duplicate Entry. There are no resource files present. Is it possible to render the view like MainPage.xaml from first UWP 10 application in second UWP 10 application, and second application has the reference of first application? Note - It works in one UWP 10 Application having the reference of other class library project. asked 26 secs agoMahesh Jagtap Let's block ads!...

ادامه مطلب