[Solved] how to calculate XIRR dynamically in excel and in google sheets

Assuming your table is in A1:G8 (with headers in row 1), and that your Fund of choice, e.g. “B”, is in J2, array formula**: =XIRR(INDEX(F:G,N(IF(1,MODE.MULT(IF(B$2:B$8=J2,{1,1}*ROW(B$2:B$8))))),N(IF(1,{1,2}))),CHOOSE({1,2},INDEX(A:A,N(IF(1,MODE.MULT(IF(B$2:B$8=J2,{1,1}*ROW(B$2:B$8)))))),TODAY())) Copy down to give similar results for Funds in J3, J4, etc. I tend to prefer this to set-ups involving OFFSET; not only is it briefer (and therefore more efficient), … Read more

[Solved] [JS]Get file names of Apache Directory Listing [closed]

$dir=”http://www.example.com/directory”; $data = new DOMDocument(); @$data->loadHTMLFile($dir); $links = array(); foreach($data->getElementsByTagName(‘a’) as $link) { $url = $link->getAttribute(‘href’); if ($url[0] !== ‘?’) // skip column links { $links[] = $url; } } print_r($links); 7 solved [JS]Get file names of Apache Directory Listing [closed]

[Solved] Complex JSON to Java class

Use a JSON beautifier (like http://jsonformatter.curiousconcept.com/) so you can see better what’s in there. Then, create classes, like this: class article { String publish_date; String title; … 0 solved Complex JSON to Java class

[Solved] function with arguments in python [closed]

def count(word, letter): count = 0 for l in word: if l == letter: count = count + 1 return count word = raw_input(‘Enter a string:’) letter = raw_input(‘Enter a character:’) print count(word, letter) solved function with arguments in python [closed]

[Solved] Is it really impossible to develop Windows Store apps on Windows 7? [closed]

It is not impossible to install the Visual Studio on the pc, although that would require you take apart the setup and do things manually, however even if you do the install will be broken and would crash more often than not, so much that it becomes pretty much unusable. So do as the other … Read more

[Solved] Hide all traces of a program that is running [closed]

I am no expert but I think most techniques that deals with process hiding uses CreateRemoteThread.http://msdn.microsoft.com/en-us/library/windows/desktop/ms682437(v=vs.85).aspx It is pretty tough to get right, but there are maaany blogs about it, eg:http://resources.infosecinstitute.com/using-createremotethread-for-dll-injection-on-windows/ This works by picking some victim process that is already running, like say svchost.exe and add your thread into this. Also while speaking of … Read more

[Solved] a program to reverse each word in a string( ive read the previous solutions but im looking for one using the functions i only here [closed]

#include <stdio.h> #include <string.h> #include <conio.h> int main(void){ char A[81][81] = {0}; int t=0,j=1,k=0,l; puts(“Input a sentence (max 80 character)”); scanf(“%80[^\n]”, A[0]);//’gets’ has already been abolished, it should explore a different way. while (A[0][t] != ‘\0’){ if(A[0][t] == ‘ ‘){ ++j; k=0; while(A[0][t] == ‘ ‘)//Skip spaces ++t; } else { A[j][k++] = A[0][t++]; } … Read more

[Solved] I desperately need somebody to help me make my CSS slider autoplay

Since you have no markup to offer, I’ve created this: Example snippet (pure css): body { background: #eee; font-family: arial, helvetica, sans-serif; margin: 50px auto; padding: 0; } h1 { font-family: ‘Proxima Nova’, ‘Helvetica Neue’, sans-serif; font-size: 36px; text-align: center; } h3 { font-family: ‘Proxima Nova’, ‘Helvetica Neue’, sans-serif; font-size: 22px; font-style: italic; color: #4e4e4e; … Read more

[Solved] SAP UI5 vs web dynpro [closed]

Please find comments below for your questions: (1) Is Webdynpro plays role like Servlets and JSP for middle ware programming? Not Exactly, Web Dynpro ABAP is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools … Read more

[Solved] How to create dynamic nested divs within ul li tag using jquery

First, give the ui a id, i choose rootEl <ui id=”rootEl”> </ui> Second, this JavaScript: var rootEl = document.getElementById(‘rootEl’); function appendStuff() { var listItem = document.createElement(‘li’); var videoThumbnail = document.createElement(‘div’); var myImage = document.createElement(‘img’); var videoDesc = document.createElement(‘div’); var videoDate = document.createElement(‘div’); videoThumbnail.setAttribute(‘class’,’videoThumbnail’); myImage.src = “https://stackoverflow.com/questions/28105063/./img6.jpg”; videoDesc.setAttribute(‘class’,’videoDesc’); videoDate.setAttribute(‘class’,’videoDate’); videoDesc.innerHTML = “Lorem ipsum dolor sit amet”; … Read more

[Solved] Remove trailing NULL terminator

I suppose easier way to do this is: size_t len = strlen(buf); // will calculate number of non-0 symbols before first 0 char * newBuf = (char *)malloc(len); // allocate memory for new array, don’t forget to free it later memcpy(newBuf, buf, len); // copy data from old buf to new one 7 solved Remove … Read more

[Solved] Exception DATABASE1.MDF’ cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported

Exception DATABASE1.MDF’ cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported solved Exception DATABASE1.MDF’ cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported