My company recently migrated to Redshift from Redash recently and I'm having a hard time recreating the YEARWEEK() function available in MySQL but not in Redshi
I am having a little trouble here: I have a class class TempC { func GetData(){ //do stuff } } And in ContentView I want to call the func
how would I go about taking this one function and turning it into multiple functions? I need to create a local double variable called change and set it to a tes
I am inside function #1 and triggering function #2. Function #2 has a variable that I want to get back into function #1 and use it. My output ends up being:
I need to create a function that returns the string 'fall' or 'spring' depending on the month of the year. If the function was named getterm and took no paramet
I am trying to write a program which will solve the diffusion equation via the fundamental solution and the representation formula, using the Newton-Cotes compo
I work on a Python Script and I need to integrate a very long function. The function contains several array and I don't succeed to integrate it. I need to integ
I am looking for a function which is equivalent to ORA_HASH() function in MySQL Server Can you please help me in proving the equivalent function to ORA_HASH in
I have a number of scripts downloaded from the internet, and they only contain function definitions, i.e. not constructed as Modules. Hence, if I run these scri
I am new to Libreoffice Calc. My if/else function populates cells in a new sheet. The function generates a lot of empty rows in the new sheet. Is it possible to
SUMMER OF '69: Return the sum of the numbers in the array, except ignore sections of numbers starting with a 6 and extending to the next 9 (every 6 will
It was pointed out to me (in PowerShell, replicate bash parallel ping) that I can load a function from the internet as follows: iex (irm https://raw.githubuserc
At my course we are getting tasks that always start with filling a random matrix size nxm with random numbers. I want to create(a library?, a class?) some struc
I am trying to create a Python Class to calculate the Kelly Criterion formula in order to determine the precise bet size for an individual sport's investment. I
Define a function named skip_integers, with a variable number of arguments. Use a for loop to iterate over the arguments. Use a check to see whether the value p
I have a div with an openlayers map like this: <div id="map" (click)="getInfo($event)" class="map"></div> I use dragging with my mouse to navigat
I want to detect a specific word or multiple words within the user's entered text and reply accordingly. I plan to add more words to detect but for now I've bee
Can anyone help how multimap_agg function in SQL and can be used in spark sql
I made a function that scrapes the last 64 characters of text from a website and adds it to url1, resulting in new_url. I want to repeat the process by scraping
For a 'back' button I've created below (onClick) handler function in my React app. const { length: historyLength, goBack, replace } = useHistory(); const h