Stop Instagram Group Message Requests Spam

Instagram has a huge spam problem.

My “Message Requests” inbox is continually filled with requests to join Group Messages, sent by fake “sexy women” profiles.

The only options are to Accept, Ignore, or Delete these group message requests. There does not seem to be a way to report them as spam, or block the sender.

enter image description here

Message Requests
Requests aren’t marked as seen until you allow them.
Accept | Ignore | Delete
Delete All

How can I prevent these messages from being sent to me? How can I block these senders or report them as spam?

transactions – What would stop some major company from blacklisting specific Bitcoins based on the “inputs” used and their “origins”?

I remember news about some exchange actually banning users based on some kind of “reputation score” on the inputs/coin parts they controlled/used, or got Bitcoin sent to them from. So even years and years back, they had this mapped out somehow.

Why can’t they do the same today? Aren’t they? If not, why? Why do they not take this obvious path to harassing and restricting people to only use Bitcoin in “approved” ways with “approved” people/entities?

Did they stop doing it for some reason? What stops them from doing this and thus locking out tons of people who have “dealt with undesirables”?

docker – Nginx reverse proxy behind loadbalancer stop working after few hours

In my environment in rancher I use built in ingress load balancer to route trafic to custom nginx, which acts like reverse proxy for 2 “apps”. In condition i choose which server I want to proxy. Everything works fine, but after random time application is not available. In browser i get 504 and basic nginx message An error occurred. blah blah Faithfully yours, nginx. I use nginx:lts from dockerhub

nginx

2021/02/25 19:46:27 (error) 31#31: *789 upstream timed out (110: Connection timed out) while connecting to upstream, client: X.X.X.X, server: _, request: "GET / HTTP/1.1", upstream: "http://10.42.0.36:8080/", host: "www.example.com"
2021/02/25 19:47:27 (info) 31#31: *789 client X.X.X.X closed keepalive connection

If I restart nginx container, everything works again for a few hours.

config

worker_processes                    auto;
error_log                           /dev/stdout info;
pid                                 /run/nginx.pid;

include                             /usr/share/nginx/modules/*.conf;

events {
    worker_connections              1024;
    multi_accept                    on;
}

http {
    log_format                      main    '$remote_addr - $remote_user ($time_local) "$request" '
                                            '$status $body_bytes_sent "$http_referer" '
                                            '"$http_user_agent" "$http_x_forwarded_for"';

    access_log                      /dev/stdout;

    client_body_buffer_size         10K;
    client_header_buffer_size       1k;
    client_max_body_size            100m;
    large_client_header_buffers     4 32k;
    server_names_hash_bucket_size   64;
    sendfile                        on;
    tcp_nodelay                     on;
    tcp_nopush                      on;
    keepalive_requests              1000;
    reset_timedout_connection       on;
    client_body_timeout             10;
    send_timeout                    5;
    server_tokens                   off;
    keepalive_timeout               65;
    types_hash_max_size             2048;

    include                         /etc/nginx/mime.types;
    default_type                    application/octet-stream;

    server {
        listen                      8080 default_server;
        server_name                 _;

        charset                     utf-8;
        underscores_in_headers      on;

        root                        /usr/share/nginx/html;

        location / {
            proxy_http_version      1.1;
            proxy_read_timeout      120;
            proxy_cache_bypass      true;
            proxy_no_cache          true;
            proxy_connect_timeout   20s;

            if ($http_user_agent ~ someagent) {
                proxy_pass              http://app1:8000;
            }
        
            proxy_pass              http://app2:8080;
        }

        error_page 404 /404.html;
            location = /40x.html {
        }

        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }
}

coding style – How should you program your C++ application to handle signals STOP CONT HUP INT TERM KILL USR1 USR2, etc?

Background

I have been expanding a download library, in which I want to store its progress by writing the accumulated bytes to a database before its overarching application gets killed, either through error or shutdown or whatever. I had inquired about whether its destructor would be run when I close an application. I did not get a clear answer however, and said it was heavily dependent upon the signal being sent, and was linked to this library here: https://www.cplusplus.com/reference/cstdlib/atexit/

Questions

I went to my task manager and quickly wrote down all the signals I could send an application, them being:

  • STOP – Suspend
  • CONT – Continue
  • HUP – Hangup
  • INT – Interrupt
  • TERM – Terminate
  • KILL – Kill
  • USR1 – User 1
  • USR2 – User 2
  1. Are these signals synonymous with the signals found here https://unix.stackexchange.com/a/317496/79280
    and from typing man 7 signal? If so, why are these ones most likely picked specifically to be included in my task manager, omitting the others?
  2. Broadly speaking, how do each one of these signals interact with your application?
  3. Of these signals, which will call a destructor?
  4. When programming for them, do the libraries such as https://www.cplusplus.com/reference/cstdlib/atexit/ exist only in std::lib, or does Qt, Boost, etc have their own implementations and means of dealing with such?
  5. Are there any signals here which you can not program for? Why or Why not?
  6. Is there any literature, or standards, or coding styles which account for how one should treat these signals inside your program?

Thanks.

dnd 5e – Can subtle spell be used through a warlock’s familiar, and does it stop the stealth from being broken if it is currently sneaking

The Subtle Spell Metamagic can be applied through a familiar

This is clear from the fact that you are still the one casting the spell, which is what Metamagic requires:

[…] When you cast a spell, you can spend 1 sorcery point to cast it without any somatic or verbal components. […]

[…] Finally, when you cast a spell with a range of touch, your familiar can deliver the spell as if it had cast the spell. […]

You are still the one casting the spell, as this only triggers when you cast a spell, and the use of “as if” means that it is not actually the case that the familiar is the one casting the spell.


Your familiar may stop being Hidden because the GM says so

Notably, spells cast through your familiar are all going to be touch-range spells, and as such, your familiar must actually touch your target. This would likely end their Hidden status. To quote the “Hiding” section of the rules:

The DM decides when circumstances are appropriate for hiding. […]

[…] In combat, most creatures stay alert for signs of danger all around, so if you come out of hiding and approach a creature, it usually sees you. However, under certain circumstances, the DM might allow you to stay hidden as you approach a creature that is distracted, allowing you to gain advantage on an attack roll before you are seen. […]

Even just approaching a creature so that you can touch it is likely to end up with your revealing yourself, let alone actually targeting it with a touch-range spell.


So while, yes, you can apply the Subtle Spell Metamagic to touch-range spells cast through your familiar from find familiar, it is going to be up to the GM whether your familiar remains Hidden during/after this action.

scripting – Stop a script. Just stop it

How can I stop a mathematica script?
Abort() does not stop the script, just jump over a number of lines and proceed with next lines of calculations.

Also, killing the kernel seems not good idea. All I want is C++ exit(0); or Java’s System.exit(0);.

(* 10000 lines of calculations *)
If(a==5,Print("Calculation gives an unacceptable result. I stop execution here");Abort())
(* 10000 lines of calculations *)

The script invoked from Mathematica GUI with Shift+Enter.

Solution as stated by thorimur

Catch(

   (* COMPLETE SCRIPT *)

   (* Lots of calculations *)
   Throw("Calculation must be stopped");
   Print("Never printed");
   (* Lots of calculations *)

 )

macos – How to stop an AppleScript from repeating itself

I have an AppleScript that addresses issues with out-of-sync Active Directory passwords on macOS. It resets the secure token on a given account by disabling and then re-enabling the token. I run it as a Self Service item in Jamf. The problem is that, once the script has finished, it loops back to the beginning and starts to run again. Not sure why it doesn’t quit after the token has been re-enabled. If I run it in Script Editor, it doesn’t loop, but from Jamf’s Self Service, it loops back to the beginning after the second verification. Thanks for any help with this one.

set the_folder to (path to users folder)
tell application "Finder"
    set foldernames to name of every folder of the_folder
end tell
set theChosenOne to choose from list foldernames with prompt "Select user needing a password sync"
display dialog "Password for " & theChosenOne default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue" with hidden answer
set thePassword to quoted form of text returned of the result
--disable secure token
do shell script "sysadminctl interactive -secureTokenOff " & theChosenOne & " -password " & thePassword
set theVerification to do shell script "sysadminctl interactive -secureTokenStatus " & theChosenOne & " 2>&1 | awk -F')' '{print $2}'"
display dialog theVerification

set the_folder to (path to users folder)
tell application "Finder"
    set foldernames to name of every folder of the_folder
end tell
set theChosenOne to choose from list foldernames with prompt "Re-select user needing a password sync"
display dialog "Password for " & theChosenOne default answer "" with icon note buttons {"Cancel", "Continue"} default button "Continue" with hidden answer
set thePassword to quoted form of text returned of the result
--re-enable secure token
do shell script "sysadminctl interactive -secureTokenOn " & theChosenOne & " -password " & thePassword
set theVerification to do shell script "sysadminctl interactive -secureTokenStatus " & theChosenOne & " 2>&1 | awk -F')' '{print $2}'"
display dialog theVerification
return

How to stop infinite cell color in Excel

I open an empty Excel sheet, select the entire row ’10’ and click on fill color ‘yellow’. Now the entire row ’10’ is colored yellow.
Then I notice that I actually need the yellow colored cells only up to column ‘X’. To solve this “problem”, I select the entire row ’10’, click on fill color ‘No Fill’, select the cells ‘A10’ to ‘X10’ and click on fill color ‘yellow’. Now only cells ‘A10’ to ‘X10’ are colored yellow and all other cells are with the fill color ‘No Fill’.
But if you have hundreds of rows colored in different colors, suddenly it’s not so easy anymore, because you would have to do this for each individual row separately.

In older versions of Excel or if you save the Excel file as .xls, you can select all columns from column ‘Y’ to ‘IV’ (last column in older versions of Excel) and then set the fill color to ‘No Fill’.
But in today’s versions of Excel you’ve more or less unlimited columns, so this approach doesn’t work anymore.
Note: If you open a file, where you’ve done this approach, with a new version of Excel, you will suddenly see the original colors to the right of column ‘IV’ again.

So my question; is there a possibility to tell Excel that all cells after column ‘X’ must be with the fill color ‘No Fill’?

How do I stop the pictures in YouTube search results from displaying frames from the video in rapid succession, when using Chromium browser?

I’m a Linux user, and am having a problem with youtube.com when accessing it with the Chromium web browser (version 53.0).

When YouTube lists search results, each result shows a picture. The problem is that when the mouse is horizontally in line with any given picture, the picture starts displaying frames from the video in rapid succession, ad Infinium.

This is so annoying and distracting. It’s driving me crazy. I just want to see completely still pictures. I can’t find any discussion of the problem via google.

Firefox (version 49.0) doesn’t do this.

My Question:

How do I stop the rapid frame display from happening when using Chromium, so that all I see are STILL pictures?

Unfortunately, moving the mouse to the far left or right of the page isn’t a useful solution.