How does D&D 5e compare to AD&D 2e?

I played 1st and 2nd edition AD&D a lot back in the day. But when 3rd edition came out, I dropped out of the hobby. Partly I just couldn’t be bothered to re-learn the rules. The conversion systems, previews and material for 3rd edition I was seeing in Dragon and Dungeon magazines made it look like a very major change.

I recently picked up the new 5th edition starter set on a whim. Obviously the starter set rules are very stripped down in comparison to the full rules, but nevertheless, I was amazed by how comfortable and familiar the system felt. The only thing that felt like a truly radical change was the way things like thief skills and the like were now handled with a d20 instead of a percentage system.

There’s plenty of information online (and here) comparing editions of the game in an incremental manner. But I’d be interested in a breakdown of how 2nd and 5th edition compare directly, specifically looking at whether there are broad areas of similarity.

Implacable Warrior: Is this fighter subclass balanced compare to other fighter subclasses?

This was inspired by a previous question where the poster had mistaken what hit dice were for, thinking you could use them for a damage bonus. Which made me think…what if there was a class where you could use your hit dice for other things?

Hence the Implacable Warrior.

Design note: Hit dice are a scale-able resource but they don’t regenerate in their entirety after a long rest. And with few at lower levels this may cause players to hesitate to use them. Hence this class also has ‘determination dice’ which go into the same ‘pool’ as your hit dice and act as a buffer, encouraging their use (especially as you get all determination dice back after a long rest).

Implacable Warrior

Your sheer determination powers you on against the odds. You are able to push on when others would fall by virtue of your iron will.

Indomitable Will

At 3rd level you gain proficiency in Wisdom saving throws

You also gain two determination dice. These dice are d10s. At 10th level and 15th level you gain an additional determination die (for a total of 3 at 15th level).

Whenever you spend a hit die, either to regain hit points after a short rest or for any of the features of this subclass, you may spend a determination die instead. You regain all determination dice after a long rest.

Focused Strike

At 3rd level, whenever you successfully hit a creature with a weapon attack, but no more than once per turn, you may spend a hit die. If you do so, roll the hit die and add the result to your damage roll.

Iron Recovery

At 7th level, whenever you use your Second Wind feature you may spend a hit die. If you do so you also gain temporary hit points equal to the result of the hit die + half your fighter level.

Retaliatory Strike

At 10th level, if a creature within your weapon range casts a spell that forces you to make a saving throw or successfully hits you with an attack roll you may use your reaction to spend a hit die.

If you do so, you immediately make a weapon attack against that creature. If the attack hits you may then either add the result of your hit die to the result of your saving throw or subtract the (result of your hit die + your fighter level) from the damage taken.

Implacable Foe

At 15th level you refuse to lay down and die. When you are reduced to 0 hit points but not killed outright, you can use your reaction to spend a hit die. If you do so you drop to 1 hit point instead and gain a number of temporary hit points equal to the the result rolled + half your fighter level. However, your maximum hit points is also decreased by the result of your determination die.

Your maximum hit points are restored after completing a long rest.

Unstoppable Foe

At 18th level you have reached the epitome of the unstoppable warrior. Whenever you use any of the features of the subclass that allow you to spend a hit die, you may spend two hit dice instead (rolling both and using the total).

How do RAW and RAI compare to “Rules As Interpreted”?

From Sage Advice: PHILOSOPHY BEHIND RULES AND RULINGS

RAW. “Rules as written”—that’s what RAW stands for. When I dwell on the RAW interpretation of a rule, I’m studying what the text says in context, without regard to the designers’ intent. The text is forced to stand on its own.

RAI. Some of you are especially interested in knowing the intent behind a rule. That’s where RAI comes in: “rules as intended.” This approach is all about what the designers meant when they wrote something. In a perfect world, RAW and RAI align perfectly, but sometimes the words on the page don’t succeed at communicating the designers’ intent. Or perhaps the words succeed with one group of players but fail with another.

There is a third less common acronym that is used outside of D&D: Rules As Interpreted.

To me ‘reading’ a rule necessarily means ‘interpreting’ it. Otherwise explaining a rule would be just repeating it. At some point you have to parse what you have read and form some understanding.

With that said, does that mean Rules As Interpreted is functionally identical to RAW (Rules As Written)?

Get modification date of files in a directory and compare it to the system date

Currently I’m working in a tool to monitor files(.txt files) that appear in an specific directoy, however I need to run some validations:

1- it should be a txt file 2- it should be files from date of today 3- they should have an specific time in the directory, for example if a file is stuck more than 30 minutes it can trigger an alarm.

so far this is the code that I got:

Dim myfiles() As String = IO.Directory.GetFiles("C:path\", "*.txt")         Label4.Text = (String.Join(Environment.NewLine, myfiles)) 

or

      If Directory.EnumerateFiles("C:\path\", "*.txt").Count > 0 Then              Label1.Text = "ERROR"             Label2.Text = ""         Else             Label2.Text = "OK"             Label1.Text = ""         End If 

it also should do this with every file in the directory, so if there are 2 files for example. it should run the same validations in each file and display the results in a Label or textbox

thanks for your help

Compare (diplay form) information from 2 lists

I would like to ‘compare’ 2 list items from different lists. (with the same collums)

On the same page I want to show the names(linked to item) (list 1) on the left site. And I want to show the display form of an item after clicking on one of the names. (now it opens in a new window or in a dailog, and than the second one isn’t possible)

Then select one on the right and display (the display form ) next to it.

Now you can compare to items yourself.

enter image description here

I hope my question is clear. Can anyone help me?

How do I compare different optimization algorithms when step-size is unknown?

I wish to compare different optimization algorithms (gradient descent, Newton, quasi-Newton, conjugated gradient, etc) for a particular problem at hand. My main focus is on speed of convergence.

The issue is that all methods rely on a step-size $ \gamma$ . How do I compare the speed of my algorithms when I don’t know which $ \gamma$ would work best for which model?

Compare two plots by finding the minimum distance among points

I have a question about comparing the points within two plots. I would like to compare two plots and find the minimum distance among their points, in order to find the nearest/common points (i.e. those ones with minimum -or zero-distance) and plot it (overlapping). What I did is to extract the coordinates of their respectively points. But I do not know how to compare them and/or the two plots. I used the following line of code, but the result is completely different from what I am looking for.

Outer[EuclideanDistance, seq1, seq2, 1] // Flatten 

enter image description here

enter image description here

Could you please help me? Many thanks, Val

PostgreSQL 11 Select previous value in row to compare with out sub select

Say you have a table in PostgreSQL 11 with sets of values something like this below.

12 18 11 12 5  12 9  18 7  19 14 18 11 16 6  12 4  11 5  9 

Is their a way to do a select with out using sub selects or select by using functions or trigger/functions to find where each value is lower than previous or could be higher than previous but this example is lower than previous (could be 2 row or 15+ rows) in both column and first column went higher than last row to terminate the select making the condition positive?

I do not know of a way to have present variables inside of a select. If I could keep a look back variable then I should be able to do this. I am wondering if anyone out their has ever come across this and made it work inside a select or they went outside of the database into GoLang / Python / C++ / Perl / PHP / etc. Very simple to do once I leave the database but I would really like to keep this inside PostgreSQL 11.

Compare a date withing range of date fields in mysql

I have this simple query that retrieving data:

select leave_detail_id,         emp_id,         leave_type,         leave_current_status_id,         leave_start_date,         leave_end_date from tbl_emp_leave_details eld 

Data:

enter image description here

Now I have this query, i want to filter my record based on date:

select leave_detail_id,         emp_id,         leave_type,         leave_current_status_id,         leave_start_date,         leave_end_date from tbl_emp_leave_details eld where leave_start_date >= '2019-09-01' and   leave_end_date <= '2019-09-31' 

Now it should bring the highlighted record but it shows nothing (no record found). What should I do bring the highlighted record? what is the problem with my query?

Compare 2 images with minimum difference value

Sorry if this is the wrong place to ask this question, I’ll update/move my question if it is.

There is a linux command compare that I’m using to compare a difference between 2 images, this is the command:

compare 1.jpg 2.jpg diff.jpg

It’s working very well, the problem is: if both images has no difference, it still creates a diff file, and you open this file and it’s just a blank image.

Is there a way to tell this command to just create this diff file only if there is actually a difference between these 2 images?

Thanks!