Does crafting ammunition create one piece, or a batch?

I’m looking at the rules for crafting, and I’m somewhat surprised to see the following:

You must spend 4 days at work, at which point you attempt a Crafting check. The GM determines the DC to Craft the item based on its level, rarity, and other circumstances.

So if a wizard were to craft a staff, it would take 4 days. Fair enough. But suppose the same wizard wanted to craft Spellstrike ammunition – let’s say arrows. Would it take 4 days to craft a single arrow? Or is there a rule somewhere stating that after 4 days, a quiver of, say 10, would be created?

Having it take just as long to craft a magical staff as it would take to craft a single magical arrow seems a little absurd to me – the first is a permanent item, the second is single-use.

Can anyone shed some light on this for me?

I am not getting output for the below batch file as expected [closed]

I wrote the below mentioned test batch file… But while executing it, when I give input as "How are you" then the file automatically gets terminated.

@echo off echo Hi! echo Happy to be at your service 🙂 :start set /a A = How are you set /p help="How may I help you? " if /i %help% EQU excel (start excel) else (if /i %help% EQU %A% (echo I am good! Thanks for asking)) goto start

But, if I write…

@echo off echo Hi Sir! echo Happy to be at your service 🙂 :start set /a A = How set /p help="How may I help you? " if /i %help% EQU excel (start excel) else (if /i %help% EQU How (echo I am good Sir! Thanks for asking)) goto start

and when I give input as "How"… I get the output as expected.

The output that I get at this case is…

Hi! Happy to be at your service 🙂 How may I help you? how I am good! Thanks for asking How may I help you?

Kindly help me in solving this issue.

Hey guys im practicing BATCH files by making a simple multitool… but my file closes as soon as its opened

Heading ##im not sure why it keeps closing and would like some help in the comments

@echo off color fc title CockBall V2 Multitool echo      CCCCC                kk     BBBBB           lll lll  VV     VV  2222    echo     CC    C  oooo    cccc kk  kk BB   B    aa aa lll lll  VV     VV 222222 echo     CC      oo  oo cc     kkkkk  BBBBBB   aa aaa lll lll   VV   VV      222  echo     CC    C oo  oo cc     kk kk  BB   BB aa  aaa lll lll    VV VV    2222    echo      CCCCC   oooo   ccccc kk  kk BBBBBB   aaa aa lll lll     VVV    2222222  :menu echo 1 pScan echo 2 LanC echo 3 IP Stresser echo 4 info echo 5 ping (for testing ip) choice /n /:12345 /M "Choose something.. tf you think you do?" GOTO LABEL-%ERRORLEVEL% :LABEL-1 pScan start Pscan.exe goto menu :LABEL-2 LanC start LancV2.exe goto menu :LABEL-3 IP Stesser start CockBallPinger.exe goto menu :LABEL-4 info echo made by jagli xd echo helped by: nobody echo Private Multitool goto menu 

:LABEL-5 ping (for testing ip) set /p yee=Enter ip for test: ping %yee% -l 65500 goto menu

Why do I need –batch to import a secret key from a pipe?

Once I used this guide to transfer my secret key to my smartphone, so today I did the same thing for transfering the secret key from my workstation to my laptop.

Yes, I could have used a USB key, or I could have just relied on the first s of scp, which I’ve used to transfer the encrypted key, but I’m just curious to know the reason for this thing that I’m describing.

So what I did is:

  • On the workstation:

    1. gpg --armor --gen-random 1 20
    2. copy the string into the clipboard
    3. gpg --armor --export-secret-keys 'my key id' | gpg --armor --symmetric --output mykey
    4. paste the password from the clipboard and enter the key’s passphrase (in the right order)
  • On the laptop

    1. scp enrico@ip:/path/to/mykey .
    2. gpg --decrypt mykey | gpg --import

But step 2 failed with

... gpg: key 3F.........: error sending to agent: Inappropriate ioctl for device gpg: error building skey array: Inappropriate ioctl for device gpg: error reading '[stdin]': Inappropriate ioctl for device gpg: import from '[stdin]' failed: Inappropriate ioctl for device ... 

Upon searching on the web, I found that piping into gpg --import --batch instead of just gpg --import solves the error.

Why? From man gpg I read this:

      --batch       --no-batch              Use  batch  mode.  Never ask, do not allow interactive commands.  --no-              batch disables this option.  Note that even with a  filename  given  on              the  command line, gpg might still need to read from STDIN (in particu‐              lar if gpg figures that the input is a detached signature and  no  data              file  has  been  specified).   Thus if you do not want to feed data via              STDIN, you should connect STDIN to g‘/dev/null’.               It is highly recommended to use this  option  along  with  the  options              --status-fd and --with-colons for any unattended use of gpg. 

but even if it mentions STDIN I’m not sure I understand what this option means with respect to the error I get without it.

How to make my code for batch label for graphs more readable and concise?

I’d like to label my graphs at once, so I write following codes.

chemgraph = CompleteGraph /@ Range[3]; labels := {1/2, 1/3, 1/4}; Table[chemgraph[[i]] //    Labeled[Graph[#, ImageSize -> 100, VertexLabels -> None],      Style[#,         20] & /@ (ToString[#, StandardForm] & /@ labels)[[i]]] &, {i,    1, labels // Length}] 

It can do that, but I think it is not easy to read and not beautiful here with using Table.
Is there any way to improve? enter image description here

SQL – Return most recent batch of sequential rows

What i’m trying to accomplish here is pull in all the rows where there is a break of less than lets say 40 days between the next row.

So in the first example there is an uninterrupted break every month or roughly so is accounted for, so I would like the query to pull in all records here.

Example 1

ID          DATE(INT)      190402      20200205 190401      20200103 177904      20191205 177903      20191108 177902      20191001 177901      20190905 147512      20190802 147511      20190703 147510      20190603 147509      20190529 147508      20190429 147507      20190402 147506      20190306 147505      20190205 147504      20190110 147503      20181211 147502      20181115 147501      20181022 

In example two there is a gap greater than 40 days between Sep 25 2019 and January 29 2020. So I would like the query to just pull in the most recent subsequent block. In this case it would just be the top record.

Example 2

ID          DATE 189101      20200129 164705      20190925 164704      20190904 164703      20190802 164702      20190703 164701      20190605 

I have started down this road, and was looking at using LEAD to calculate the number of days between the current and previous rows. I realize I probably need to break the years out to account for the case when moving to a new year or convert it to a real date so that I can use some sql functions to calculate the difference in days for me.

After that I wasn’t sure how to go about only returning the most recent consecutive block. Thought I would ask here to see if anyone had any insight on how I to accomplish this.

UAC Security Issue when Running Batch Files

I was having trouble pushing a batch file to a local users machine, when it ran just fine on another person. It turns out I was having the file run as the Current Logged in User.

So the problem is the user is able to run any batch files without being prompted by UAC, they have the highest level of UAC set and they are a local Administrator. Other users with the same level of Access and UAC do get prompted when attempting to run any batch files.

Is there something I am missing here? Any ideas would be great!

Thanks! Eatery of Ramen

How Does Pathfinder 2e Consumables Batch Crafting Work in Pathfinder Society?

How does Pathfinder 2e consumables batch crafting work in Pathfinder Society play? For example: After an adventure, an alchemist wants to use 8 downtime days to craft a batch of four lesser alchemist’s fire flasks.

How does this process work in game, and how much does it cost the character? I understand that consumables are produced in batches, and that these consumables are separate from the alchemist’s daily infusions.

Does the alchemist pay the consumable cost per consumable unit (i.e. 1.5gp materials cost per flask + crafting time), or per batch (1.5gp materials per batch + crafting time)? And if the former, can the alchemist make a smaller batch, or individual consumable?

Batch Actions in a Data Table when rows have different contexts

In a data table, each row represents a user. Each user has a status. The status can be different based on the users actions within the organization. It is shown in the data table on a dashboard for monitoring purposes. The status of the user can also be changed from this dashboard.

Some rows are also logically grouped together because the users share some commonalities.

I want to know the best way to implement a batch action mode where each row can have different action associated with it depending on the current status of the user.

In the screenshot below, G is for grouped entries. Groups can have a expanded view (Purple) or a Collapsed View (Pink).

The colored tabs are different statuses which can change from one to the next. Yellow > Green > Dark Gray.

How to deal with a person clicking on the select all checkbox (row header) which results in him selecting entries that have no common actions.

Also as groups are also a part of this, is there a way to show the user that the group selected will also be acted upon even if it is collapsed? Or should I disable the batch selection mode from Group altogether but I still need to keep an option to select all the entries of one single group at the same time as well (which will also pose the same problem with different statuses and different actions available on each status).

enter image description here