Greater Invisibility vs Swift Quiver

The scene: A level 10 College of Swords Bard (includes extra attack). Crossbow Expert. Sharpshooter. 20 Dexterity. Hand crossbow + 1.

Intelligence is his dump stat so he needs to ask a friend what to pick for his magical secret.

One is definitely Find Greater Steed, because he is going to ride on a griffon while raining down death with his hand crossbow. The other may or may not be Swift Quiver.

Greater Invisibility will give me 2 attacks with my action, 1 attack as a bonus action, +10 to hit with advantage.

Swift Quiver will give me 2 attacks with my action, 2 attacks with my bonus action, +10 to hit.

Ignoring opportunity costs, spell slots costs, defence and anything else other than crossbow damage per round, at what point is it better to use Swift Quiver vs Greater Invisibility?

My Bank doesn’t have SWIFT code what should i do ?

Hello all,

I am regularly receiving all my payments from paypal but some sites doesn't have paypal as payment option and for wire transfer it requires SWIFT code but my bank doesn't have one so what should i do in this case. I heard some people were saying that we can use SWIFT code of other branch of Same bank but is it risky or have any one tried that ? i am from India and my current bank is SBI.

How does Whirlwind Attack interact with Travel Devotion or other swift action movement?

Since swift actions can be used during other actions, what happens if one uses a swift action movement (for example under the effect of Travel Devotion) in the middle of a Whirlwind Attack?

Would the character
A) continue making attacks while moving?
B) Interrupt the attacks with a move?

In either case, would any “new” enemy – not present when beginning the attack but coming in range due to the character’s movement – be a valid target for continuing the Whirlwind Attack?

(Note I’m asking for explicitly movement as a swift action, not a move action gained through a swift action)

Can a Dhampir Antipaladin use Touch of Corruption with a Swift Action?

It is known that Paladins can heal themselves with a Swift Action:

Lay On Hands (Su)

Beginning at 2nd level, a paladin can heal wounds (her own or those of others) by touch. Each day she can use this ability a number of times equal to 1/2 her paladin level plus her Charisma modifier. With one use of this ability, a paladin can heal 1d6 hit points of damage for every two paladin levels she possesses. Using this ability is a standard action, unless the paladin targets herself, in which case it is a swift action. Despite the name of this ability, a paladin only needs one free hand to use this ability.

Alternatively, a paladin can use this healing power to deal damage to undead creatures, dealing 1d6 points of damage for every two levels the paladin possesses. Using lay on hands in this way requires a successful melee touch attack and doesn’t provoke an attack of opportunity. Undead do not receive a saving throw against this damage.

Could a Dhampir Antipaladin cast Touch of Corruption to ‘heal’ himself with a Swift Action as well? And if there is not rules-as-written for this, would it be fair?

Touch of Corruption (Su)

Beginning at 2nd level, an antipaladin surrounds his hand with a fiendish flame, causing terrible wounds to open on those he touches. Each day he can use this ability a number of times equal to 1/2 his antipaladin level + his Charisma modifier. As a touch attack, an antipaladin can cause 1d6 points of damage for every two antipaladin levels he possesses. Using this ability is a standard action that does not provoke attacks of opportunity.

Alternatively, an antipaladin can use this power to heal undead creatures, restoring 1d6 hit points for every two levels the antipaladin possesses. This ability is modified by any feat, spell, or effect that specifically works with the lay on hands paladin class feature. For example, the Extra Lay On Hands feat grants an antipaladin 2 additional uses of the touch of corruption class feature.

Algorithm to implement symmetric encryption in VB.Net for Windows and in Swift for iOS

I need to implement symmetric encryption to enable secure communication between one program running on a Windows machine (to be written in VB.Net) and an app running on an iOS device (to be written in Swift). I’d like to use a reasonably modern algorithm which is supported in both programming languages “out of the box” without having to import more code than necessary.

The use case is, information (mostly, text files) will be encrypted by one program (say, running on Windows) and uploaded to a server, where it will be stored, then later downloaded and then decrypted by the other program (running on iOS). The server doesn’t need access to the content of the file, and having the information “encrypted at rest” on the server is the main goal, although having it encrypted during transit to/from the server is also beneficial. The Windows and the iOS devices themselves aren’t considered to be targeted in this case.

What algorithm(s) are good choices as being modern, secure, and available in both Swift and Dot Net so that what’s encrypted by one can be decrypted by the other?

What is the better use of concentration for a ranged valor bard with elven accuracy, greater invisibility or swift quiver?

Assumptions:

  • the bard has 20 dex
  • the bard is shooting with a longbow
  • another player can consistently provide the help action for 1 attack with advantage every turn
  • the bard has elven accuracy

The bard is level 10, so a +4 proficiency. The bonus action would generally be used to either cast Healing Word on allies or give them bardic inspiration. For the sake of this question, we can just look at raw damage

So the comparison as I understand it is:

Greater Invisibility: 2 attacks with Elven accuracy advantage, bonus action available

Swift Quiver: 4 attacks, 1 with Elven accuracy advantage, no bonus action available

Swift 4 ¿Como centrar UIButtons dentro de un UIView dentro de un stackView?

Estoy creando una aplicación con Swift 4.2 que debe presentar un formulario dinámico y, en cada pregunta, mostrar dos botones “Sí” y “No”.

Mi problema es que soy incapaz de centrar los dos botones en el centro de la pantalla. Se me quedan en un lateral, y por más intentos que hago no puedo situarlos en el centro.

Como es un formulario dinámico lo tengo que hacer todo programáticamente.

Este es un resumen de mi código:

@IBOutlet weak var stackVertical: UIStackView!         stackVertical.leadingAnchor.constraint(equalTo: stackVertical.leadingAnchor).isActive = true         stackVertical.trailingAnchor.constraint(equalTo: stackVertical.trailingAnchor).isActive = true         stackVertical.topAnchor.constraint(equalTo: stackVertical.topAnchor).isActive = true         stackVertical.bottomAnchor.constraint(equalTo: stackVertical.bottomAnchor).isActive = true         stackVertical.widthAnchor.constraint(equalTo: stackVertical.widthAnchor).isActive = true         stackVertical.spacing = 10         stackVertical.translatesAutoresizingMaskIntoConstraints = false         stackVertical.axis = .vertical       func createButtonSINO(){      //1º Crear stackView horizontal             let stackViewH = UIStackView()             stackViewH.axis = .horizontal             stackViewH.translatesAutoresizingMaskIntoConstraints = false             stackViewH.alignment = .center             stackViewH.distribution = .equalSpacing             stackViewH.spacing = 20      //2º Crear 2 botones                     let button3 = UIButton(frame: CGRect(x: 0, y: 0, width: 100, height: 60))             button3.setTitle("Sí", for: .normal)                      let button4 = UIButton(frame: CGRect(x: 0, y: 0, width: 100, height: 60))             button4.setTitle("No", for: .normal)      //3º Crear un UIView                     let viw = UIView()//(frame: CGRect(x: 100, y: 100, width: 10, height: 10))      //4º Añadir los botones al stackView Horizontal                     stackViewH.addArrangedSubview(button3)             stackViewH.addArrangedSubview(button4)      //5º Añadir el stackView horizontal al View                     viw.addSubview(stackViewH)      //6º Añadir el view a un stackView Vertical (creado en la interface)              self.stackVertical.addArrangedSubview(viw)          } 

Aunque pueda parecer un poco lioso, esto me funciona bien. Me crea un formulario con varias preguntas y bajo cada pregunta dos botones “Sí” y “No”. Mi problema es que soy incapaz de centrar estos botones horizontalmente bajo cada pregunta. Se me quedan ambos en el lateral izquierdo de la ventana.

He probado con la propiedad center, button3.center = self.view.center pero no me ha funcionado. Tampoco si lo que debo centrar son los botones o alguno de los views, stack views… Un poco lioso

Gracias.

How can I install Swift on Ubuntu 19.04 for Android’s Termux App

This is my very first question in this forum. Sorry for my bad english, please advise if it is not the right place to do it.

I’ve tried to install Swift for Ubuntu 19.04 on Termux App for Android following the answer of another question in this Forum: (How can I install Swift on Ubuntu 19.04?).

The reason is to continue compiling code offline while I’m in a plane or without internet connection. The steps followed are shown below (in short):

1- Since there is no way to install Swift for Ubuntu 19.04 I downloaded this file for version 18.04 as recommended (swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-30-a-ubuntu18.04.tar.gz).

2- Extracted the file and copied the folder to home directory in order to run locally.

3- Added the path to Swift with the following command which didn’t work:

$   export PATH="/home/your-username/swift/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-30-a-ubuntu18.04/usr/bin:$  PATH"   $   source ~/.bashrc 

4-Then I made amendments found in the web in order to write .bashrc:

$   echo "export PATH=/home/myusername/swift/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-30-a-ubuntu18.04/usr/bin:$  PATH" >> ~/.bashrc $   source ~/.bashrc 

5-The output writed in the end of .bashrc file was this:

export PATH=/home/user-name/swift/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-10-30-a-ubuntu18.04/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 

6- Then I tried to run Swift in terminal and I got this error message:

$   swift                        bash: swift: command not found 

For me it seems that the echo command appended the swift-4.2…/usr/bin path along with the others PATHs already set up in Ubuntu’s Termux separate by collon, yet it doesn’t allow me to call Swift REPL from Terminal.

Please help, thanks