dnd 5e – Are there non-magical utility arrows?

There are 2 types of “special,” non-magical arrows in the core rules: silver arrows and adamantine arrows. These arrows overcome the damage resistance and/or damage immunity of the target. (Arrows aren’t special here, the above is true for daggers, etc.)

There’s no list, exactly, but here is where you’d find them:

Silvered weapons are described p. 148 of the Players Handbook. Silvered weapons are expensive but generally available.

Adamantine isn’t mentioned in the Players Handbook, and there’s no “set price” for them. Although Adamantine Armor is a magic item, the (DM Guide, p 150) the Monster Manual mentions “nonmagical weapons that aren’t adamantine” (MM, p. 140, etc.) in several places. It’s left to the DM as to how these might be acquired.

There are no other special arrows, like whistling arrows, etc., specified in the core rules. (But the rules don’t exclude them either, so as ever, talk to your DM.)

Update: Xanathar’s Guide to Everything, published since this answer was edited, lists a price for adamantine weapons as 500GP + the value of the normal item.

The adamantine version of a melee weapon, or of ten pieces of ammunition costs, 500 gp more than the normal version, whether the weapon or ammunition is made of the metal or coated with it.(page 75)

How can I add my custom-built Google Doc utility (Google Apps Script) to other Google Docs?

With the help of StackExchangers, I built an automatic formatting tool in Google Apps Script that I use constantly in Google Docs. It appears under “Utilities”. If I make a copy of the original Google Doc that has the utility available, I can use it.

My question is, how can I add the script to other documents, including those authored by other people that I have editing access for? I can’t see my script/utility when I search “Get Add-ons”.
Thanks.

disk utility – Create 2 resizable logical drives from one physical drive under Catalina

I have partitioned a drive to create two logical partitions from one physical drive in the past, but the partitions were not resizable after I initially created them and it ended up being a nightmare to undo.

I have a new MacBook Pro that I’d like to set up two logical drives that can be resized. What is the correct way to go about doing this? I see articles online about it, but they discuss El Capitan and older OSes.

linux – Search and Replace words using SED utility

I have more than hundreds files (file1.txt ,file2.txt…..filen.txt) with below contents in Unix box.

file1.txt
location: $test/$type/path1/abc/testtable_123/
table: $database.testtable_123

file2.txt
location: $test/$type/path1/abc/testtable_345/
table: $database.testtable_345

I need your help to replace above lines with below contents in all the files (file1.txt…filen.txt) using sed (or awk , other ) utility in Unix.

file1.txt
location: $test/$type/**path2/path3/**abc/testtable_123/
table: $test_database.testtable_123

file2.txt
location: $test/$type/path2/path3/abc/testtable_345/
table: $test_database.testtable_345

Disk Utility Cannot Erase the hard disk

I just want to erase everything so I can sell this laptop.
My thought was to come to Disk Util and do an erase.
enter image description here

But when I choose these settings, the operation keeps failing. Some Apple articles were saying make sure you restart and no USB device is connected which is my case too. So I don’t know what to do now. Or if just there is another way I can erase this laptop so I can sell it, that’s all I need too.

Note: This is a late 2013 MBP with Catalina installed.

enter image description here

Simple Utility to monitor status of CTS and DCD pins on Serial Port in FreeBSD

So as the title suggests, I’m looking for a simple way to monitor Serial port pin states from the FreeBSD command line. I am working on connecting a UPS to my FreeBSD-based NAS over serial and need to confirm that I am looking at the right serial port and that it is toggling the correct pins. Are there any simple utilities or shell commands I can run to get this information?

Macbook, Can’t boot from USB because has no administrator in startup utility

When I was going to ReInstall a fresh copy of Catalina MacOS on my Macbook pro 2019, unfortunately I deleted all partitions instead of erasing them. As my internet connection is so unstable as much as I repeated installing the OS from the net, it was failing with different errors usually related to the network errors or corrupted raw data.

I created a bootable media flash drive by these steps https://support.apple.com/en-au/HT201372.

Now when I want to boot the device from the USB drive,
Choose startup disk

it says “Security settings do not allow this Mac to use an external startup disk”.
Security settings do not allow this Mac to use an external startup disk

I waned to allow my Mac booting from external media (as this link https://support.apple.com/en-au/HT208198) but It shows me the error: “Authentication Needed – You will need to authenticate as an Administrator to change the boot security settings.”

ou will need to authenticate as an Administrator to change the boot security settings.

And when I click on Enter macOS Password I see this error : “Recovery is trying to change system settings. No administrator was found.”

Recovery is trying to change system settings. No administrator was found.

I had never set a password for my mac T2 security and also I’ve removed my Macbook from my apple account too.

I’ve searched a lot and watched lots of youtube videos but didn’t succeed anything yet. How can I fix my issue to allow me boot from the flash drive?

php – Generic memoize utility function for pure functions

Given the following generic memoize utility for pure functions with type hints:

function memoize(callable $fn, callable $serialize = null): callable {
    $serialize = $serialize ? $serialize : 'serialize';

    return function(...$args) use ($fn, $serialize) {
        static $cache = ();
        $k = $serialize($args);
        return isset($cache($k)) ? $cache($k) : ($cache($k) = $fn(...$args));
    };
}

Is the callable type hint here preferred as opposed to closure? I’m also not sure if I’m being too pedantic with the type hints and whether my use of static here is recommended?

I’d appreciate any feedback on the code above.

high sierra – After Disk Utility crashing while adding a new partition, main APFS container (macOS + user data) became unbootable

I’m running macOS High Sierra on early-2015 Macbook Pro.

I used to have two more partitions: one with Bootcamp, and the other one as a shared FAT32 folder.

As far as I remember, at some point I made the mistake of using something other than Disk Utility to manage my partitions. I messed up GUIDs but I fixed them manually later, and deleted the bootcamp drive.

I tried formatting the FAT32 drive as APFS and Disk Utility crashed and I ended up with the small “VM”-named drive (I named it that way, and it was intended to be around 25GB). While I was running with no problems afterwards, after a reboot my main APFS drive (Macintosh HD, 387GB) no longer boots. (and does not show up on the boot menu) and shows up as unformatted on all disk tools I could test. (doesn’t show up on DiskUtil at all). I have tried changing the GUID but it still doesn’t boot.

I currently don’t have a Linux stick, but I’ll create one if you need more info. (and if the solution requires one)

overview disk partition

PS: I’m very sorry for the image quality and size, but I don’t have my computer at hand to fix them.

linux – Regex to substitute character with numbers around it in filenames with rename utility (perl based)

I would like to rename files that have the following format:

somethingblabla15T06:58_31+0000somethingblabla.bla

THe new name should be

somethingblabla15T06:58:31+0000somethingblabla.bla

So the _ within the numbers should be replaced with :.

I would like to do this with the perl based rename command line tool.

I thought this would be a part of the regex:

's/(0-9)(_)(0-9)/:'

I can’t get it to work. I think this should also be escaped or so.

What would be the right regex for this? Just to make it clear: I don’t know anything about that topic. So the above could be the total crap.

Best Regards

PS. Sorry for my bad english