Use of uninitialized value $intReason in array element PERL
-
تاریخ: 1395/5/11 ساعت: 8:17
Vote count: 0 So I've been working on a report system using arrays but whenever I try to send a report it gives me this Use of uninitialized value $intReason in array element at Server/Systems/Messaging.pm line 26. I don't think it's really an error more like a wa ing cause everything works fine but...
Image not updating on jquery load
-
تاریخ: 1395/5/11 ساعت: 7:02
Vote count: 0 I have a form that uploads image file then updates image value in database successfully via ajax. However when I try to .load the 'profile_pic.php' which echos the above image tag, the image is not updated on the webpage. I don't want to refresh page. The echo statement from the php is...
Libraries vs Pure Javascript
-
تاریخ: 1395/5/11 ساعت: 7:02
Vote count: 0 I'm studying React and trying see what the benefits to using this library versus using straight HTML and javascript. So in the tutorial they offer up this simple example: var CommentBox = React.createClass({ render: function() { retu ( <div className="commentBox"> <h1>Comments</h1> <Co...
For what reason I can access the resources by curl, but not in the browser?
-
تاریخ: 1395/5/11 ساعت: 7:02
Vote count: 0 On the server side I'm using Rails. Purposely, I did not configure the CORS. Thus, as I expected, in the browser I can not do requests to the Rails server because I get this error: But I can do for the terminal, using curl: macabeus@macabeus-acer ~ $ curl http://localhost:3000/people [...
why i didn't get an app - delphi x2
-
تاریخ: 1395/5/11 ساعت: 6:00
Vote count: 0 i tried to work with dll's. so i create an dll. [dll] uses System.SysUtils, System.Classes, vcl.dialogs; procedure gugug(); begin showmessage('DA'); end; procedure gugug2(); begin showmessage('DA'); end; {$R *.res} exports gugug, gugug2; [unit1] in this unit i include the dll and proce...
How to compare 4 strings(3 identical and 1 different) and find the different one in javascript
-
تاریخ: 1395/5/11 ساعت: 6:00
Vote count: 0 I have table with 4 columns. Each row has set of 3 identical values and one different value. I want to highlight the one which has the different value than the rest of the three. How do I do it in react js ? asked 1 min agouser17422 Let's block ads! (Why?)
Which asp.net server control has both multi-line and click event?
-
تاریخ: 1395/5/11 ساعت: 6:00
Vote count: 0 For my web application I'm searching for a control that can have both multi-lined text and a server side click event. Is there any control that can serve my task or any procedure by which I can achieve this? asked 51 secs agoParvez M Robin Let's block ads! (Why?)
Trying to upload a video to a server and then play it back to a video view (Xamarin android)
-
تاریخ: 1395/5/11 ساعت: 4:54
Vote count: 0 I'm currently working on a xamarin.android project, and am attempting to upload a video to an aws server, and then also be able to play it back. The upload is working correctly as far as I can tell. I'm retrieving the file from the user's phone, tu ing it into a byte array, and uploadi...
Cannot read property 'payload' of undefined
-
تاریخ: 1395/5/11 ساعت: 4:54
Vote count: 0 Hey so I am having a problem getting the payload form my message. It keeps telling me something is undefined. This is an example of the object I am using. However when I call things like message.payload.headers[x] I keep getting an error saying it's undefined. I am using the the gmail ...
NodeJs equvalent implementing simple SOAP
-
تاریخ: 1395/5/11 ساعت: 4:54
Vote count: 0 this below code is my PHP solution to use SOAP and work fine, now i want to implementing that on NodeJs, but i can't and after opening url with /sendsms i dont get any result. this soap is for send sms, after get empty result, i dont get any sms from that public static function SendRES...
Raise NSError in RubyMotion
-
تاریخ: 1395/5/11 ساعت: 3:48
Vote count: 0 I write an application which is basically just client to http API. I am trying to reuse code from Redis Search sample (DataParser and JsonParser), but when error occurs during the API call, RubyMotion is not able to raise that error. It tries to raise first error in error pointer, whic...
Problems with cleaning a data frame with ifelse
-
تاریخ: 1395/5/11 ساعت: 3:48
Vote count: 0 I am a novice at R, and trying to clean a data frame (MSdatanew) using ifelse. I want to change a variable E2_new so that wherever it was coded as "<0.057" it is now coded as "0.57". However, wherever it isn't coded as "<0.057", I wanted it to stay as originally coded. MSdataclean<-MSd...
UI-Router give cannot GET error on page refresh
-
تاریخ: 1395/5/11 ساعت: 3:48
Vote count: 0 I am building an angular site and using UI-Router, if I click a link to go to a route it works fine but whenever I refresh the page, or if I type the url in manually I get 'Ca ot GET /find-a-vendor. I have this in my routes file: $stateProvider .state('home', { url: '/', templateUrl: '...
Sequelize js query through hasMany relationship
-
تاریخ: 1395/5/11 ساعت: 2:42
Vote count: 0 I am trying to retu a list of Users based on a search term I am receiving from the client. User hasMany Skills. I would like to retu all users by searching for the term in all the possible User fields this includes the Skill title. my tables and relationships are in a db file this is w...
how to add bottom spacing of a div tag with css
-
تاریخ: 1395/5/11 ساعت: 2:42
Vote count: 0 Here is my example I want to show you. I have a div tag with the id of form-bubble in the middle of the container. I added a margin:20px auto; to the form-bubble. But the form-bubble is not getting any space at the bottom. I don't know how to create space at the bottom. I'm pretty sure...
Visual Studio Add-in: CodeElement2.RenameSymbol not works on Namespaces
-
تاریخ: 1395/5/11 ساعت: 2:42
Vote count: 0 The method CodeElement2.RenameSymbol not works on Namespaces My code loock like this: Sub RenameNamespaces() For Each aProject As EnvDTE.Project In DTE.Solution.Projects If aProject.CodeModel IsNot Nothing Then For Each elem As CodeElement In aProject.CodeModel.CodeElements If elem.Kin...
days Of Week for weather info in angular
-
تاریخ: 1395/5/11 ساعت: 1:40
Vote count: 0 i want get days of week from data weather json , am useing this code ' var dayNames = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; var date = new Date(); $scope.wDay = dayNames[date.getDay()]; html {{wDay}} get result only one day 'sun' not all days of week json data `"daily": { ...
how does Python handle "from __future__ import division"?
-
تاریخ: 1395/5/11 ساعت: 1:40
Vote count: 0 I've looked at the source code for __future__.py and it makes no sense to me -- how does this actually work, to change the behavior of division? asked 49 secs agoJason S Let's block ads! (Why?)
What is the highest value that can b input for an integer variable in c++ by a user?
-
تاریخ: 1395/5/11 ساعت: 1:40
Vote count: 0 So, I made a c++ program to calculate the volume of a pool. It is a console application. All the user has to do is input the dimensions of the pool and the program will retu the volume, amount of water and the area of the pool. The problem is that I tested out the program with really h...
How to create a plan programmatically?
-
تاریخ: 1395/5/11 ساعت: 0:29
Vote count: 0 Is there a way to create plans programmatically? It's a bit strange to read To create a subscription, you only need a stored paymentMethodToken and a planId, which must be created via the Control Panel. in the documentation. Why wouldn't there be a way to create a payment plan using th...