IndexError: list index out of range. Why do I get this error in the second function but not the first function?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 15:14
Vote count: 0 The function derivative computes the derivative of a polynomial; the degree of each entry needs to be reduced by one, each entry must be multiplied by the previous degree, and the term at degree[0] needs to be removed. This code lst = [1,2,3] """This list represents the polynomial 3x^2...
@ManagedBean not initialize with jsf + spring boot
◷
تاریخ انتشار: 1395/3/18 | ساعت: 15:14
Vote count: 0 I am trying to build simple backoffice app. I choose to use jsf(PrimeFaces) because of rich ui components that doesn't require any Front end developer(The look doesn't matter it just to perform actions on our main system). The issue that i have is that @ManagedBean doesn't work at all....
Is the total count of my impressions on admob include both the banner and interstitial ads count?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 15:14
Vote count: 0 I have an app that uses both ba er and Interstitials . I use Admob. Does the count of impressions which is seen on the admob dashboard include both ba er and interstitials together or only interstitials? asked 5 mins agoAbhi Let's block ads! (Why?)
Retrieve last inserted Id. Laravel
◷
تاریخ انتشار: 1395/3/18 | ساعت: 13:53
Vote count: 0 I want to retrieve last inserted id from my table students and pass to view. But i don't know how to? I have used following code for inserting data inside my table. public function store(Request $request) { $input=Request::all(); Student::create($input); $students=Student::all(); $M_fe...
Get name of Amazon Web Services Codecommit Repository in triggered Lambda function
◷
تاریخ انتشار: 1395/3/18 | ساعت: 13:53
Vote count: 0 I've created a trigger in my AWS CodeCommit repositories which runs a Lambda function whenever it is triggered. The Lambda function calls a script at my development server to perform a git pull. So far so good. The problem is that I need to pass the name or ID of the repository that se...
Google Calender ApI receving deleted events
◷
تاریخ انتشار: 1395/3/18 | ساعت: 13:53
Vote count: 0 I created a google Calendar-API project... there is no any errors it is working fine. means when I add a new Calendar Event, I can received data correctly. I deleted events from Google Calendar but still receiving those events.. how to solve this, I need to stop deleted event receiving...
Default inside switch closing right away
◷
تاریخ انتشار: 1395/3/18 | ساعت: 12:45
Vote count: 0 Begi er coder here. I am trying to make a program that can calculated a future day by inputting today and number of days elapsed. For the most part, it works. However, I stumbled upon a tiny problem and I have been stuck with it for the past hour. `do { cout << "To begin, enter today's...
google cloud storage - getServingUrl() giving URL of old image
◷
تاریخ انتشار: 1395/3/18 | ساعت: 12:45
Vote count: 0 I am uploading an image on the GCS and then overwriting it with a different with same file name (image.png). In the GCS browser, I can see the image being overwritten (different size, timestamp) but when I try to get the URL of the image using getServingUrl() I get the URL of the image...
How to know Gcm Message is Recieved By recipient?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 12:45
Vote count: 0 i am New in android ,and i am work with Gcm in android .i want get the status of message .it is Diliverd or not.my code below.sorry for poor English ` private void sendMessage(List<SearchChildrenInformationData> searchedChildrensList) { { try { Sender sender = new Sender(GOOGLE_SERVER_...
How to show doc, docx files on android by any library?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 10:54
Vote count: 0 I am trying to show doc, docx files in android serveral times, but I ca ot know how to do. I have searched through the inte et and found some libraries such as POI, docx4j, aspose and so on. But I don't know what to use for my app. Who can give me the whole android sample project to sh...
How to make javascript enable in multiple bootstrap modal?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 10:54
Vote count: 0 I have multiple remote modals with auto calculation in them. They're the auto calculation form that a user must select the number from drop down. The first modal is working very well. But it's not on the later on. The javascript code is usually embed in the remote file separately. But ...
Jquery function will only fire once
◷
تاریخ انتشار: 1395/3/18 | ساعت: 10:54
Vote count: 0 The following snippet will only fire the first time I click the .profile-tabs ul li a element(s) and not again. If I put the switchProfTabs() function directly into the script (instead of calling it) it works as expected. I'm confused why this is. All the answers I've seen to similar q...
how to layout chrome extension context menu items horizontally or more compactly
◷
تاریخ انتشار: 1395/3/18 | ساعت: 9:05
Vote count: 0 I am new to chrome web-extensions and I have written my first extension that injects a context menu in certain page contexts. This works fine and now I am looking at it from an aesthetics angle where I need some help. One of my menu items has a long list of tiny selections. For example...
Why doesn't my Git status show me whether I'm up-to-date with my remote counterpart?
◷
تاریخ انتشار: 1395/3/18 | ساعت: 9:05
Vote count: 0 I have tried making some changes, pushed it up to Github. From another computer, I fetched the changes. When I do a git status, it reports this: On branch MyTestBranch nothing to commit, working directory clean This is strange because I'm certain that there were changes fetched. I even...
Using base template static member by derived template static member in Visual Studio
◷
تاریخ انتشار: 1395/3/18 | ساعت: 9:05
Vote count: 0 Consider following code: #include <iostream> template <typename T> struct A { T x; A(T X) : x(X) { } static const A a; }; template <typename T> const A<T> A<T>::a(5); template <typename T> struct B : public A<T> { B(T X) : A<T>(X) { } static const B b; }; template <typename T> const B<...
Load an Office add-in by default
◷
تاریخ انتشار: 1395/3/18 | ساعت: 8:01
Vote count: 0 I take Excel for example. At the moment, every time when a user wants to use an add-in, they need to go to insert ==> add-ins and choose the add-in. Then either a take pane or content add-in appears. If the manifest xml of the add-in has add-in commands, users can launch the add-in via...
X-code 7.1 beta tab bar item image too big
◷
تاریخ انتشار: 1395/3/18 | ساعت: 8:01
Vote count: 0 Copied PNG image in 2x as shown. Referred image as shown But display in the tab bar item is too big as shown Can someone tell me why the image is not fitting inside the tab bar? asked 1 min agovrao Let's block ads! (Why?)
Matplotlib separate 2D contour projection plots of 3D data
◷
تاریخ انتشار: 1395/3/18 | ساعت: 8:01
Vote count: 0 I am trying to create 2D plots of the projection of 3D data. Very simply, based on this example is there a way to produce the three contour projections shown (in the X, Y, and Z directions) as separate 2D plots? I can easily create the contour projection in the Z direction by using the...
Bonobo Installation - Server Error in Application : Exceptionless.Mvc
◷
تاریخ انتشار: 1395/3/18 | ساعت: 6:52
Vote count: 0 I'm trying to install Bonobo 5.2.0. on Windows Server 2008R2 under IIS7. After installation I'm receiving this error: Server Error in '/Bonobo' Application. Could not load file or assembly 'Exceptionless.Mvc' or one of its dependencies. The system ca ot find the file specified. Descrip...
How To Make My Website Mobile Friendly
◷
تاریخ انتشار: 1395/3/18 | ساعت: 6:52
Vote count: 0 The website seems to be mobile friendly but the text seems to be non-readable on mobile. Whenever I open it up on mobile, the text is vertical nor does the bottom border or footer show up. While this is my first time building a website from scratch, I think it's because my footer CSS i...