podcasts – Volume keeps returning to zero in GarageBand

podcasts – Volume keeps returning to zero in GarageBand – Ask Different

scoping – Return is not returning a value in a recursive module

I have a recursive function executing a search in a family tree to find lines of descent. I have a line
If(curnode == pers2, Return(curpath));
This functions as expected in cases 1,2,or 3 ancestors but fails to execute return in a cases with 4, 5, 6, or 7 ancestors. (I stopped testing at that point)
However, if I change the code to
If(curnode == pers2, Print(curpath);Return(curpath));
Then it does print the curpath, but fails to return the value curpath in every tested case.
In any case the code always terminates.
I tried using Return(curpath, Module) as suggested in some other posts but that made no difference.

mikrotik – Squid proxy server returning error

I have designed a topology which has an external proxy server ( and a Mikrotik Router (
The MikroTik router connected with a LAN and enables internet connection to LAN PCs. The LAN PCs has IP from the block

I want traffic (HTTP, HTTPS) from LAN PCs to go through the proxy server, so that I don’t need to configure Browser manually to use proxy settings. For this I have created DST-NAT into MikroTik Router in following method:

Step 1

Step 2

Traffic from LAN PCs going through proxy server (Squid) but it’s showing an error like below:

Squid Error

What goes wrong here?

sharepoint online – async function and await keyword not returning any value

I am trying to get the SourceID of the document in Async call using await keyword but i am not getting the value.

I am new to this concept, could anyone tell where i am doing mistake. I have added my code in below code snippet

public async GetListItems(ListTitle: string): Promise<any()> {
   let ListCardItemsArray: ListCardListItem() = ();
   let ListCardListItm: ListCardListItem = null;

   return new Promise<any()>(async (resolve, reject) => {
       await sp.web.lists.getByTitle(ListTitle).items.select("*").get().then((results: any) => {
           results.map((result: any) => {
               let sourceID: string;
               ListCardListItm = new ListCardListItem();
               ListCardListItm("Title") = result.Title;
               ListCardListItm("Description") = result.Description;
               ListCardListItm("DocumentURL") = result.DocumentURL;
              //here i am calling my method
               let sourceID =  this.GetSourceID("");
               ListCardListItm("SourceID") = "";
               ListCardListItm("VisioURL") = result.VisioURL;
       }, (error: any) => {
           console.log("Error of GetListItems " + error);


public async GetSourceID(LinkURL: string) {
   let sourceID: string = "";
   try {
       let result = await sp.web.getFileByUrl("https://contosa.sharepoint.com/:u:/r/sites/Sample/SampleLibrary/Sample.vsdx?d=we836259ffe4b4f6c96ca6dd1118e6629&csf=1&web=1&e=B2w69d").select("*").get();
       sourceID = await result.UniqueId;
       return sourceID;
   } catch (error) {


functions – Why is my page feed returning empty content?

I am trying to debug why my page feed with is returning empty.

While debugging I reached till wp-includesfunctions.php

In there the function which was getting called was do_feed_rss2. Now according to the doc if the feed is for comments the $for_commentsflag should be true.

What I observed in my case is it was giving true value and since the page had no comments the feed was returning to be empty.

So I started searching for the do_action call for do_feed_rss2 , thinking that is where the value must be getting set from, but all i could find is this,

enter image description here

Can anybody help me finding why is this $for_comments flag getting set as true?

Thank you.

Nginx access_log off – apply to a single URL without stopping it returning a response

I’m trying to switch off access_log for a single url in a laravel application.

The url is /ignore/this/url

I need it to simply – for this one URL – NOT log information in the access_log, but I do want it to be parsed and run as it would be normally.

The normal one is:

server {
    listen 80;
    server_name localhost;
    access_log /vagrant/logs/access.log;
    error_log /vagrant/logs/error.log;

    client_max_body_size 32M;

    location / {
        root /vagrant/web;
        index index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$args;

        location ~ .php {
                fastcgi_pass unix:///var/run/php/php7.1-fpm.sock;
                fastcgi_index index.php;
                include /etc/nginx/fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_read_timeout 60;

I’ve tried:

    location /ignore/this/url {
        root /vagrant/web;
        index index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$args;

        access_log off;

        location ~ .php {
                fastcgi_pass unix:///var/run/php/php7.1-fpm.sock;
                fastcgi_index index.php;
                include /etc/nginx/fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_read_timeout 60;


But this seems to be ignored.

I’ve tried adding it inside the main location block.

location / {
        root /vagrant/web;
        index index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$args;

    location /ignore/this/url {
            access_log off;

        location ~ .php {
                fastcgi_pass unix:///var/run/php/php7.1-fpm.sock;
                fastcgi_index index.php;
                include /etc/nginx/fastcgi_params;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_read_timeout 60;


But then it will give me a 404 error “File not found”.

Two "identical" functions returning different values

When taking the norm of a complex number in Mathematica you get the same result when you use the Norm function or the Abs function. So why do the following two functions (kp and kpp) return different results?

k(k1_, k2_) := {Sqrt(3)/2 k1, k1/2 + k2, 0};
kp(k1_, k2_) := (#/Norm(#)) &(k(k1, k2)((1)) + I k(k1, k2)((2)))
kpp(k1_, k2_) := (k(k1, k2)((1)) + I k(k1, k2)((2)))/Abs(k(k1, k2)((1)) + I k(k1, k2)((2)))

array = Range(-1.4, 1.4, 0.1);

kp(2 π (array + 0.5), 2 π (-array + 0.5))
kpp(2 π (array + 0.5), 2 π (-array + 0.5))

To me these functions should return the same list of values but instead, they return two different lists of values.

worksheet function – EXCEL: How to fix a nested AND OR that is returning FALSE when TRUE

The code is to look for a string in the first row and then perform some action with the nearby rows and columns according to the results of the boolean formulas. Eventually, I will change the “Ranges” in the formula with the name of a defined input cell.

This is the formula that is giving me the error:

   INDEX(TempTable, MATCH("Ranges", TempColArray, 0) +1, 0) = "—",
    ISBLANK(INDEX(TempTable, MATCH("Ranges", TempColArray, 0) +1, 2)),
    BR16 <= INDEX(TempTable, MATCH("Ranges", TempColArray, 0) +1, 2)

At the moment BR16 = 1000

I separated it into parts to see if each segment was working and these were the results:

Errouneously returning FALSE when TRUE

This is the Table (TempTable) I created to test the formula (to the left of the green line is TempColArray):

Test Table

Value from Dictionary returning as a split string in Python

I am writing a basic code for finding the same items in two lists and then returning the item with the smallest combined index from the two lists. The code is performing fine on Python IDLE, but I am running into issues on LeetCode. Here is what I have so far:

dict1 = {}
for i in list1:
    if i in list2:
        dict1(list1.index(i) + list2.index(i)) = i
return dict1(min(dict1.keys()))

When I print my final string it outputs like it should, but if I return the value, it’s returned as an array with each letter split. Why is this happening?

Input (‘Applebees’, ‘Outback’), (‘Applebees’, ‘Outback’, ‘Dominos’)
Output (if printed) ‘Applebees’
Output (if returned) ‘A’, ‘p’, ‘p’, ‘l’, ‘e’, ‘b’, ‘e’, ‘e’, ‘s’

dnd 5e – What happens in Curse of Strahd if the players destroy Strahd’s coffin or prevent him from returning to it?


The first time I had a group of players face Strahd, it was c. 1988 and we were playing 1e with the original I6 Ravenloft. The PC’s quickly found their way to the lowest level of the castle, eventually found the crypts and destroyed Strahd’s coffin, and then spent hours with Strahd sniping at them and regenerating before they were finally able to corner him. Reduced to 0hp and without a coffin to retreat to, I ruled that he had been destroyed.

The next time was in 2016 in a 5e game, but just before the release of Curse of Strahd. I used the original I6 and an online fan conversion for 5e. That time, the PCs ventured to the crypts but quickly retreated after a number of them were charmed by Strahd. They later holed up in a room that Strahd could only enter or leave in mist form, and when he entered they cast moonbeam to force him out of mist form and daylight to damage him until he died. Given the description of vampiric mists in Mordenkainen’s Tome of Foes, I ruled that at 0hp, unable to regenerate and unable to return to his intact coffin, Strahd was destroyed.

My most recent game just concluded, running Curse of Strahd. This played out very similarly to the first time, except that the players found his coffin even more quickly (it really is ridiculously easy to find, if you think about a sensible layout for a castle). They destroyed the coffin by pouring most of the holy water that Ezmerelda carried into the grave dirt within it. A similar sniping game as the first time ensued, with Strahd removing one of the party’s Fortunes and other helpful items each time he attacked, until he grew too bold and was reduced to 0hp without a coffin to return to. Again, I ruled that he had been destroyed.

It was only after I had wrapped up the game that I realized the book says (emphasis mine):

When Strahd is reduced to 0 hit points, he turns to mist and retreats to his coffin (see the Misty Escape feature in his stat block). The vampire must be in his resting place to be utterly destroyed.

If the characters finish off Strahd in his coffin, read:

I would like to run Curse again, but am confused about how to proceed. Judging by the text of the module, what should have happened to Strahd if his coffin was destroyed and then he was reduced to 0hp? Or, does the module assume that it is not possible to destroy the coffin? What should happen to Strahd if his coffin is intact but he is unable to return to it at 0hp?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123