How to make office network printers work at all times [closed]

I have 20 computers hooked up by Ethernet to our router, and 2 printers. All wired. I install the official hp printer software/drivers and everything works.

Now throughout the day, different days, someone can’t print… I check their print queue, it’s just sitting there, often multiple items since they tried to print multiple times because the first attempt did not work.

This is happening constantly, almost every day at least 1 person has issues and I need to restart the print spool, the printer itself, or restart their PC for it to work.

CNF2 = { φ | φ is a satisfiable CNF-formula in which each variable appears at most 2 times}. Show CNF2 is in P


CNF2 = { φ | φ is a satisfiable CNF-formula in which each variable appears at most 2 times}. Show CNF2 is in P.

I found this solution:

We use the method of resolution to take the variables out one by one. First, observe that if the variable x appears only as x or only as ¬x in the formula, or if it appears only once, we can satisfy whatever clauses it takes part of and thus exclude x and these clauses. On the other hand, if x and ¬x are both clauses for some variable, we know our formula is not satisfiable. So the interesting case is when we have x in one clause, c+, and ¬x in another, c−, such that (c+, c−) 6= (x, ¬x). Call the remaining part of the formula r. We claim that c+ ∧ c− ∧ r is satisfiable if and only if c ∧ r is satisfiable, where c is the disjunction of all literals from c+ and c− that are not x or ¬x. Indeed, given a satisfying assignment of c+ ∧ c− ∧ r, some literal in either c+ or c− has to be satisfied, because we can’t have both x and ¬x be satisfied. Thus, forgetting the assignment of x, we get a satisfying assignment of c ∧ r. Conversely, given a satisfying assignment of c ∧ r, some literal different from x and ¬x will be satisfied in either c+ or c−; the other one can be satisfied by assigning x in an appropriate way. Thus, we have a procedure to decide satisfiability of a CNF2 formula φ efficiently: reduce the number of variables by the methods described above; if there is no contradiction along the way and you get to the empty formula, then φ is satisfiable. Otherwise, it is not.

Why is there not a control about to check if each variable appears at most 2 times?

How do I manage a player with autism who is at times disruptive? [on hold]

I recently gained a new player who has autism and he is making it harder for me to make my campaign. I have never dealt with any like this and I don’t know what I should do regarding his disability. He sometimes has breakdowns when the other players do something like make a loud noise and no one really knows what what else will set him off. I’d feel like a terrible person if I got rd of him and when he does contribute the campaign moves along nicely. I don’t know whether to make rules for the group to follow or not.

Can the manual and tome magic items that increase stats be used multiple times by bypassing the century wait time via the spell Sequester?

Assume we have a Wizard who is at least level 13 and can reliably cast Sequester many times (either through acquired spell scrolls, or has acquired enough material components for it to be a non-issue), has a safe place (through the spell Demiplane) to be under the influence of Sequester for many centuries, and has access to the Manual of Bodily Health, Manual of Gainful Exercise, Manual of Quickness of Action, Tome of Clear Thought, Tome of Leadership and Influence, and Tome of Understanding.

Per the item descriptions in the DMG:

…your [STAT] score increases by 2, as does your maximum for that score. The manual then loses its magic, but regains it in a century.

Now, normally this would be a once-in-a-lifetime use, or maybe twice (due to the lifespan of the races), but if a wizard used Sequester on themself, many years can pass without growing older:

…[willing target creature] falls into a state of suspended animation. Time ceases to flow for it, and it doesn’t grow older. You can set a condition for the spell to end [before the spell is dispelled by the caster].

So, assuming that time continues to flow for the magic items, but not for the sequestered wizard, can they study these books and take the necessary long rests, Sequester for a hundred years, “wake” from the Sequester, and then repeat an arbitrary-but-finite number of times for an arbitrarily high (but finite) improvement to their stats?

To end the cycle and escape the demiplane, the wizard would simply Plane Shift out:

…You can specify a target destination in general terms … and you appear in or near that destination.

query returns the same value multiple times

I have following command :

select * from Books  JOIN Keys ON Books.Bnumber = Keys.Bnumber where ( Books.Author1 like '%,%' and Books.Author1 like '%,John%' or (Books.Author2 like '%,John%' and Books.Author2 like '%,%')) and Name1 like '%' and Keys.Keyword like '%' order by NAME1 ; 

The query returns the same record multiple times.

The repeating parts in query (Books.Author1 like '%'…) are needed, for my application requires it. ( I think it should have nothing to do with my problem)

What could cause this ?

Given an array arr[] of N integers. Do the following operation n-1 times

For every Kth operation: Right rotate the array clockwise by 1. Delete the (n-k+1)th last element.

eg:

A = {1, 2, 3, 4, 5, 6}. Rotate the array clockwise i.e. after rotation the array A = {6, 1, 2, 3, 4, 5} and delete the last element that is {5} so A = {6, 1, 2, 3, 4}. Again rotate the array for the second time and deletes the second last element that is {2} so A = {4, 6, 1, 3}, doing these steps when he reaches 4th time, 4th last element does not exists so he deletes 1st element ie {1} so A={3, 6}. So continuing this procedure the last element in A is {3}, so outputp will be 3

How to solve this?

How many times does a Mature Animal Companion attack per encounter without orders?

The Mature Animal Companion feat for Rangers (CRB p173) is really ambigious:

If you have the Hunt Prey action, your animal companion assaults the prey even without your orders. During an encounter, even if you don’t use the Command an Animal action, your animal companion can still use 1 action that round on your turn to Stride toward or Strike your prey.
(emphasis mine)

It makes a lot more sense with use instead of have, otherwise I might not even have a Prey for it to Strike.
But in that case, next round, when the Prey is still alive, will my Animal Companion just stand around?

How can I bring a creature back to life 5 times per long rest with the least investment of levels?

Very related: How can I bring a lowly terrestrial invertebrate back to life 5 times per long rest with the least investment of levels?


A character wants to proactively use the Chronicle of the Raven Queen eldritch invocation (from UA: Warlock & Wizard) but must respect the Law of Death — that creatures should be dead when it is ‘their time’ and not otherwise. To satisfy this, the character must ensure that the creatures they ‘question’ are dead for not very much longer than is strictly necessary for the invocation to work. Specifically, the character must end each day with no creature they killed merely for questioning still dead as a result of said killing.

Nevertheless, the character is committed to using the invocation proactively on creatures that they would not otherwise have killed, 5 times per long rest.

What is the least number of levels for such a character to be possible? Assume magic items are gained with levels at the normal rate, and that those items are whatever is most helpful to the build. If you need any mundane items, monies, or things purchasable with money, you should assume the character has an average amount of money from hoards for their level as well as close to the median amount of individual monster treasure. Remember that the character has to have at least three levels in Warlock (the invocation requires the Pact of the Tome), so you can’t e.g. be an 18th-level Rogue (not that that would necessarily solve the problem, just as an example).

Multiclassing and UA are okay, as well as any other first-party sources.

How can I bring an insect back to life 5 times per long rest with the least investment of levels?

I wanna use the Chronicle of the Raven Queen invocation but I don’t wanna leave all the cockroaches, silverfish, and hydrazoa I interrogate dead afterwards (I realize I could take Beast Speach instead, but I don’t wanna). What do I need to multiclass and for how many levels to be able to bring the insects I question back to life after I kill them? They don’t need to be dead for more than a single round.

I want to do this ASAP in terms of levels. 4 levels of Warlock with the Pact of the Tome, the Raven Queen patron, and the Chronicle of the Raven Queen invocation are non-negotiable. Everything else (including race and background, if needed) is available. Magic Items are fine, but be aware of the levels required before I can likely get the party to track one down: Uncommon or Common magic items will be trivial to track down, but a rare item will take me about 5 levels, a very rare 11, and a legendary 14. Consumables are also okay, but I’m only getting like 1 per level on average and getting a legendary consumable isn’t very likely to ever happen before I’m already 20th level.