Is there a limit to total number of CAPTCHA tries? Is same proxy used for all tries?

I know some systems have a limit and will lock out a user after x CAPTCHA fails.
But…I also know that this might only affect things if one proxy is used for consecutive solve attempts on fails. Which way does SER handle consecutive solve attempts: same proxy or different?
AND, if same proxy is used, what’s the highest number of total tries suggested?  I have used various external solvers, and even the ones at the end of the list seem to get used, so it seems having a high number of tries does work.
Thanks…

How to proof that Turing machine that can move right only a limit number of steps is not equal to normal Turing machine

I need to prove that a Turing machine that can move only k steps on the tape after the last latter of the input word is not equal to a normal Turning machine.

My idea is that given a finite input with a finite alphabet the limited machine can write only a finite number of “outputs” on the tape while a normal Turing machine has infinite tape so it can write infinite “outputs” but I have no idea how to make it a formal proof.

any help will be appreciated.

Is there a way to limit cookies to certain hosts in HTTP?

Using Nginx, I hope to restrict the permissible hosts for cookies. My initial intention was to employ a Content Security Policy for this purpose, but I don’t see an obvious way to do this via a CSP. Ideally I’d find something like

Restrict-Cookies-Header: hostname1.tld hostname2.tld2 

Can something like this be accomplished with HTTP headers? Thanks!

Does the reply to the Message cantrip have a time/distance limit?

The message cantrip says the following:

You point your finger toward a creature within range and whisper a message. The target (and only the target) hears the message and can reply in a whisper that only you can hear.

The spell itself has a duration of 1 round and a range of 120 feet, but I assume this is for the caster’s “outgoing” message. Is there a time limit or a distance limit on the recipient’s reply?

I ask this because a player claims that the recipient of the message can reply any time in the future at any distance, because the spell does not specify that, and they have therefore used the message cantrip as a way to have an NPC tell them when someone is ready to collect (i.e. casting message on the NPC, with the message being “reply to this message spell when you’re done“).

I believe that the intent is that the recipient is expected to reply straight away, but that isn’t specified. For contrast, the sending spell does specify when the recipient is allowed to respond:

You send a short message of twenty-five words or less to a creature with which you are familiar. The creature hears the message in its mind, recognizes you as the sender if it knows you, and can answer in a like manner immediately.

Sending says that the recipient must reply immediately, whereas message does not specify when the recipient must reply, hence my player claiming that there is no time limit.

Regarding the distance thing, this is also treading on the toes of the sending spell somewhat, except that the caster of message still has to be within 120 feet of the recipient (it’s only the recipient that seems to have no limit on distance), whereas sending allows the caster to be the one to initiate long-distance communication.

Is my player correct? Can the recipient of a message really reply after any length of time after they receive the message, and over any distance?

Is there any known limit for how many dice RPG players are comfortable adding up?

After reading a few RPG systems that use successes and others that use dice whose shown number are totalled, I came to the conclusion that personally I prefer adding up a maximum of 3–4 numbers and don’t like having to add up more than that — while with counting successes I had no such preference on a limit.

Now what I’m wondering is, if there are any known studies from the gaming industry (or if there is any known census there) that shows a practical limit at which the average player says “ok that is too many dice to add up” and thus loses interest?

(To clarify, adding up 3d6 in this context means adding up the face values to get somewhere between 3–18 as a sum.)

How to overcome the distance limit on a Dedicated Wright?

In D&D 3.5 there are a number of types of homunculi that can be crafted by characters with the Craft Construct feat. Among these are Dedicated Wrights, which are specifically called out in their description as being an atypical type of homunculi that “does not go out on missions or accompany its master on adventures. Instead, it stays home working while its master adventures. (Eberron Campaign Setting, p. 285).” However, they are specifically mentioned as a subtype of the standard homunculus template laid out in the monster manual, meaning they have an innate telepathic bond with their creator that reaches 1,500 feet out. Also, “A homunculus never travels beyond this range willingly, though it can be removed forcibly. If this occurs, the creature does everything in its power to regain contact with its master (Eberron Campaign Setting, p. 285).”

Dedicated Wrights, being intelligent constructs, are exceptional for passively generating money using crafting skills, especially when outfitted with equipment to boost their skill checks. My goal is to craft a group of them and take advantage of their tireless nature to keep a forge running 24/7 while my character is off adventuring. However, the 1,500 foot limit seems to make this impossible. Out of the box they seem incapable of fulfilling their stated purpose. Is there an exception to this rule that I have missed somewhere?

Assuming there is not I need a solution that will allow me to travel about without my workforce grinding to a halt whenever I go on campaign. I see three options for handling this issue. A) Replace or upgrade the telepathic bond, B) “Spoof” the telepathic bond so the homunculus believes it is still functional even when it isn’t, or C) Otherwise convince the homunculi that not having the telepathic bond is acceptable, such as through an enchantment spell.

If at all possible, I would prefer a solution that costs 5000 gp or less. Also, my character will be taking Leadership at level 6 and is moderately invested in charisma, so using followers with obscure classes for the solution is completely acceptable.

Additional qualifiers:

  • While upgrading the innate telepathic bond in each wright via the “Improved Homunculus” feat is possible, that triples their cost and only extends the range to 1 mile per character level. Since I doubt every campaign will be within a 4 to 20 mile radius this is not enough.
  • As clever as the idea seems, I’d prefer to avoid playing a Dvati (I’d rather have a solution that works for any race).
  • I’d prefer something cheaper than paying a wizard to cast Telepathic Bond and Permanency on each one. Also, avoiding any spell with a “permanent” duration would be desirable so that my workforce won’t grind to a halt whenever my character walks into an antimagic field.

What is the limit of dim light for the purposes of shadow teleportation?

Shadow monks and shadow sorcerers are able to teleport from one are of dim light or darkness to another.

What would you say is the limit of the area of dim light ? For example, using a large blanket to create a shadow or if they’re wearing full body clothing like a burqa they’re technically always in a shadow. If the above examples could work, should they be allowed to bring it with them as they teleport?

Queries on large database kill connection to the server, works with LIMIT

I’m trying to run queries on a large-ish database without killing the connection to the server.

I’m using Postgres 12.1 on a mac with 16gb of memory, and about 40gb of free disk. The database is 78gb according to pg_database_size with the largest table being 20gb according do pg_total_relation_size.

The error I get (from the log), regardless of which non-working query I run, is:

server process (PID xxx) was terminated by signal 9: Killed: 9 

In VS code the error is "lost connection to server".

Two examples that don’t work are:

UPDATE table SET column = NULL WHERE column = 0; 
select columnA from table1 where columnA NOT IN ( select columnB from table2 ); 

I can run some of the queries (the above one, for example) by adding a LIMIT of, say, 1,000,000.

I suspected that I was running out of disk due to temp files, but in the log (with log_temp_files = 0), I can’t see any temp files being written.

I tried increasing and decreasing work_mem, maintenance_work_mem, shared_buffers, and temp_buffers. None worked, the performance was about the same.

I tried dropping all indexes, which brought down the “cost” on some of the queries, but they still killed the connection to the server.

What could be my problem and how can I troubleshoot this further?

Additionally, I read that temp files from timed-out queries are stored in pqsql_tmp. I checked the folder, and it does not have files of significant size. Could the temp files be stored somewhere else?


The log file for running a failed query looks like:

2020-02-17 09:31:08.626 CET [94908] LOG:  server process (PID xxx) was terminated by signal 9: Killed: 9 2020-02-17 09:31:08.626 CET [94908] DETAIL:  Failed process was running: update table         set columnname = NULL         where columnname = 0;  2020-02-17 09:31:08.626 CET [94908] LOG:  terminating any other active server processes 2020-02-17 09:31:08.626 CET [94919] WARNING:  terminating connection because of crash of another server process 2020-02-17 09:31:08.626 CET [94919] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exi$   2020-02-17 09:31:08.626 CET [94919] HINT:  In a moment you should be able to reconnect to the database and repeat your command. 2020-02-17 09:31:08.626 CET [94914] WARNING:  terminating connection because of crash of another server process 2020-02-17 09:31:08.626 CET [94914] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exi$   2020-02-17 09:31:08.626 CET [94914] HINT:  In a moment you should be able to reconnect to the database and repeat your command. 2020-02-17 09:31:08.629 CET [94908] LOG:  all server processes terminated; reinitializing 2020-02-17 09:31:08.698 CET [94927] LOG:  database system was interrupted; last known up at 2020-02-17 09:30:57 CET 2020-02-17 09:31:08.901 CET [94927] LOG:  database system was not properly shut down; automatic recovery in progress 2020-02-17 09:31:08.906 CET [94927] LOG:  invalid record length at 17/894C438: wanted 24, got 0 2020-02-17 09:31:08.906 CET [94927] LOG:  redo is not required 

Delete from table one row with 2 variable with limit

I’m developing a PHP script who store session of users in a Database.

When an user logout from server, remove only one row ( because same user can login more than one time )

When server reboot, remove all session of all users from that server with same ip.

Table structure:

  • Table name:
    • totalconcurrent
  • Column in table:
    • ID [int, autoincrement, 11]
    • serverip [mediumint]
    • userid [text]

Running on :

mysql  Ver 15.1 Distrib 5.5.64-MariaDB, for Linux (x86_64) using readline 5.1 

Case: User logout

Query runs correctly but doesn’t delete anything.

    elseif ($  _GET['status'] == "logout"){         $  sql = "DELETE FROM totalconcurrent WHERE (serverip,userid) IN ((INET_ATON('".get_server_ip()."'),'".$  _GET['id']."')) LIMIT 1;";         if ($  conn->query($  sql) === TRUE) {             echo "1 Session of ".$  _GET['id']." removed";         } else {             echo "Error: " . $  sql . "<br>" . $  conn->error;         }     } 

Case: Server Reboot

Query runs correctly but doesn’t delete anything.

    elseif ($  _GET['status'] == "reboot"){         $  sql = "DELETE FROM totalconcurrent WHERE serverip IN ((INET_ATON('".get_server_ip()."')));";          if ($  conn->query($  sql) === TRUE) {             echo "Server rebooted, removed all session stored in this server";         } else {             echo "Error: " . $  sql . "<br>" . $  conn->error;         }     } 

Problem:

I’ve tryed many times and many types of query to do this but without finding the correct way to do this.

What queries i need for do this?