Putting a multiple choice checkbox in a workflow in Sharepoint Designer 2013

I have a column in my SP which asks if 3 things are done and a checkbox for each. Once all 3 are checked as being done, I’d like an email sent to certain people in my Workflow. I don’t understand how to get the checkbox options to be in the workflow. I’m sorry I’m not sure how else to word this, but I’ll be happy to try to clarify if I’m not being clear.

I need this:


to relate to my workflow here but I only see Yes/No options in the value If/Then statements: enter image description here

How do you encourage deletion of something without putting the user off?

Scenario: A manager has access to her team members data on an internal system. She also has access to certain team members that have since moved to another role or under another manager.

We want the managers to keep their employee roster up to date so it would be helpful if these managers “deleted” people they no longer are responsible for.

Through testing I received feedback that this remove feature was ignored because they don’t want to mess up the database. The problem is the database is a mess because we have duplicates and crossed wires, so we need the managers to use this remove feature. So my question is how can I improve this component to actively encourage data cleansing?

enter image description here

Is there anything wrong with putting comments in an HTML closing tag?

I often write comments like this

<div id="wrapper"> ... </div> <!-- id="wrapper" --> 

But what if I wrote them like this?

<div id="wrapper"> ... </div id="wrapper"> 

At first it seems dangerous to put an id attribute that has the same value on another tag, but then, doesn’t the browser throw out that information? As far as I can see Chrome and Firefox both disregard any “attributes” in the closing tag.

Also seems unfortunate that it’s not a real comment. It wont be parsed semantically as a comment. But I don’t think anyone is using that space for anything else, right? Closing tags only close, right?

Is there any reason not to do this other than it’s not a standard?

lost-mines-of-phandelver is impossible and for a starter kit is putting our group of new players off [on hold]

So fare there is no introduction in the game play itself to the underlying rules expectations of characters in order to succeed. All the enemy’s are so over powered we just keep dying and achieving nothing. As an introduction to D&D it is not doing to well.

Are we missing something, as it seems like if you are not in the know already do not bother trying as it is a closed club.

How to apply OOP to real world examples without putting all logic in Manager classes?

I’m lately trying to implement a specific problem using an object-oriented approach. I get the main principles and its advantages, but I fail to apply it to a real world problem. Most examples one could find consist of Cats or Dogs being implementations of Animal. These however don’t give me enough understanding how to model below problem regarding another frequent example: a school administration system.

Imagine a school having Students, Courses, Professors, and Notes. My implementation would be something like this:

class Person {     string name;     int age;      Person(string name, int age) {         this.name = name;         this.age = age;     } }  class Student extends Person {     double gpa;      Student(string name, int age) {         super(name, age);     } }  class Professor extends Person {     string roomNumber;      Professor(string name, int age, string roomNumber) {         super(name, age);         this.roomNumber = roomNumber;     } }  class Course {     string name;     Professor professor;     Students[] student;      Course(string name, Professor professor) {         this.name = name;         this.professor = professor;         this.students = new Student[];     }      void enrolStudent(Student student) {         students.add(student);     } }  class Note {     Course course;     Student student;     double value;      Note(Course course, Student student, double value) {         this.course = course;         this.student = student;         this.value = value;     } } 

Now the Student has a bunch of Notes and we want to calculate its GPA. This could be either straightforward averaging its Notes‘ values or more complex logic using weights and/or ignoring optional courses.

Now my question is: where do we put this logic? Ideally I would have a function double calculateGpa() on Student so you could call student.calculateGpa(), but having this logic on Student would break the SRP in my view. It also does not belong to any other class listed here. A class called GpaCalculator or NotesManager would be another guess but that seems to me too much like moving all the logic away from the domain and into classes that do not represent a real object but just actions (see also this answer).

If that would be the way to go here, why wouldn’t I then just write a pure, static, stateless function in a class called NotesHelper? Creating a manager class to just have one function double calculate(), and using its instance instead of a static function feels to me like making it look like OOP while it isn’t really. I feel like there should be a better approach, probably one I didn’t think of, or maybe I am wrong here. Could you guys give me some pointers?


How to hide the banner “This site is read only at the farm administrator’s request” after putting SP site in read only mode?

Today, as per client requirement,I made one of the site collections in our production environment on SP 2013 in read only mode. After doing so, we are getting

This site is read only at the farm administrator’s request

banner at the top of the page.

Is there any PowerShell command to hide this banner from the page?

Thanks in advance!!!

Putting elements in allowed bags

Let’s say I have a list of “Items”

I also have a list of “Bags”. Each bag is a set of “Items” which gives what item can be placed in that bag. But only one item can go in each bag.

I want to place all items in a bag. It’s okay if there are empty bags left over.

Does this sort of problem have a name and a solution other than a naive depth first search (a link in the direction of such an approach will be fine)?

Does putting salt first make it easier for attacker to bruteforce the hash?

Many recommendations for storing passwords recommend hash(salt + password) rather than hash(password + salt).

Doesn’t putting the salt first make it much faster for the attacker to bruteforce the password, because they can precompute the state of the hashing function with the bytes of the salt, and then each time of their billions and trillions attempts they only need to finish calculating the hash using the bytes of the password.

In other words, each bruteforce iteration needs to calculate only the hash of the password intermediateHashState(password) instead of the whole hash(salt + password).

And if the salt was placed after the password, the attacker wouldn’t have this shortcut.

Does this advantage exist and is it significant?