What are the advantages and disadvantages of Wand of Cure Light Wounds and Wand of Infernal Healing compared to each other?

Every party in Pathfinder and every character in Pathfinder Society needs some healing source, and the two most common are a Wand of Infernal Healing and a Wand of Cure Light Wounds. It is often advised that everyone acquires one of the two wands as soon as possible.

Given that one of the two wands is used as a primary healing source, what are the advantages and disadvantages of both?

This question is about both PFS and normal Pathfinder games.

Extending Recently Viewed & Recently Compared Grids

I am struggling to extend the following two files in mageno 2.3.1

\vendor\magento\module-reports\view\frontend\templates\widget\viewed\content\viewed_grid.phtml

and

\vendor\magento\module-reports\view\frontend\templates\widget\compared\content\compared_grid.phtml

I tried extending them at:

\ME\THEME\Magento_Reports\templates\widget\compared\content\compared_grid.phtml

and

\ME\THEME\Magento_Reports\templates\widget\viewed\content\viewed_grid.phtml

I then ran setup:upgrade and setup:static-content:deploy -f

But no changes took place.

To troubleshoot I then tried editing the files in their original location. Ran “setup:upgrade” and “setup:static-content:deploy -f “

But still no changes?

Are these files no longer used?

To clarify it is the blocks that are inputed into the TinyMce Editor as below image. enter image description here

Any Help much appreciated.

Which security vulnerabilities does Sails take care of compared to Express together with middlewares like Helmet, Lusca and Kraken?

As I can understand, Sails is built upon Express and has some security features included and a easy implementation of Socket.io. I’ve also read that it is quite unique and could contain a lot of ‘magic’ for beginners. I am planning to make a RESTful application with high securety and realtime and with some workers aside. My question is: Why should I choose Sails in front of Express together with packages like: Mongoose, Helmet, a good file structure, express-sanitizer, and some Redis based module to take care of some background processes? I have never made anything at this large scale with high security in my mind, and I am wondering if there is a lot of security holes(not the classicones like XSS, and database injection), which you might not think about, which Sails takes care of and which could be hard to avoid using Express? I have a little bit of experience with the full framework Django. The inbuilt security features is okay, but it was quite annoying to dive into the source code after one day of coding to rewrite a bunch of functions just to customize the application a bit. Sails is a very large framework, and don’t you lose one of the goals with Node: The ability to pick which ever packages you want for your needs? And if I went for Express, is there any recommendation for the structure? Some things you definitely should avoid? I don’t have a large skilled team. I am thinking about learning at the same time. Please correct me if it is a very bad idea to begin from scratch and if the question of even thinking about using Express for something like this would be exclusively.

I really appreciate any thoughts based on experience or any advices?

Battery usage of split screen compared to one app on foreground (iOS)

Sorry for this trivial question.

What’s the difference in battery usage for the two situations?

Situation 1: Split screen with app X and Y.

Situation 2: Only app X or Y in foreground.

Since screen usage is same for both, only influence on battery usage is CPU usage right?

Is the CPU usage of situation one the sum of CPU usage of “only X in foreground” and “only Y in foreground”?

Battery usage: Situation one = only X in foreground + only Y in foreground ?

Or is it more efficient than that? How much more efficient?

Is Drupal 8 truly a secure enterprise solution when compared to Laravel?

I know this might seem like an open-ended question, but it is really specific. My concern is regarding version updates. The scenario is as follows:

  1. A core drupal update is released
  2. I have “update manager” set to remind me of updates 1 per day
  3. I receive a notification at 7AM of a core release that came out at 1AM

In this scenario, a hacker had 6 hours to look at the release notes and attempt to use the security issue to hack my site. This basically means that any Drupal site that can’t be insta-updated, is at risk. And I doubt you will be able to insta-update it ever. You will always be a few seconds behind.

Laravel differs in that it doesn’t have so many insecure parts. Or at least, I think so. You are still installing packages using composer, but as far as I know, those packages are generally more secure than Drupal modules. Perhaps someone can confirm that? Or confirm if the same concerns are applicable in Laravel’s case?

So my question is two-part:

  1. Do you agree that Drupal 8 is less secure than frameworks like Laravel because of the core updates and how the release notes can be used to hack just about any site?
  2. Is Drupal safe to use for something where security is absolutely crucial? (For example, would you build a Bitcoin exchange using Drupal? Why not?)

Thanks!

Huge two list data should be compared using c# and must ensure performance improves

I have a two list contains huge data and had the following code which I used till now. But have some doubts regarding this, due to lot of confusion about the data is compared or not in the list items. Here I am using sequence Equal to compare the data I have two questions, somewhere I found that sequenceEqual will compare the data in the lists. So used it. 1. Will sequenceEqual compares the data in the lists 2. better way of code to improve performance. As per understanding I kept only three items in both the lists but our requirement has huge data itmes in the lists. so need to improve performance

bool value = false;         List<string> list1 = new List<string>();         list1.Add("one");         list1.Add("two");         list1.Add( "three" );          List<string> list2 = new List<string>() { "one", "two", "three" };         list2.Add("one");         list2.Add("two");         list2.Add("three");         list1.Sort();         list2.Sort();         if (list1.SequenceEqual(list2))         {             value = true;         }         else         {             value = false;         }         return value; 

Is hardcoded object properties in the angular template perform better in browser when compared to having a pipe to read value

I am working on an Angular project which contains 24 modules and due to customer requirements, there are always changes to the code.

We have 2 approaches in hand

  1. Using the object with keys directly in the template itself. Sample code looks like : {{ object?.property1?.property2 }}

  2. I have written a pipe which takes the object and the path to get the value from. I have stored the path value in the constant. In the future, we want to drive these constants from the database. Sample code looks like: {{ object | deepFind: PROPERTY1_PROPERTY2_PATH }}

Here PROPERTY1_PROPERTY2_PATH is a constant and it contains the value of ‘property1.property2’;

I have written a sample in stackblitz https://stackblitz.com/edit/angular-jsqhk4

I tried to validate the performance difference between these 2 approaches But I didn’t find any difference in rendering times.

I tried to use Chrome Dev Tools Performance Tab and the deepfind method just took 7ms.

I was unable to figure out to which approach we need to vote for?

<ul>     <!-- Approach 1 -->     <li *ngFor="let widget of serverResponse.widgets">         {{ widget?.title }}     </li>     <!-- Approach 2 -->     <li *ngFor="let widget of serverResponse | deepFind: WIDGET_CONSTANTS?.WIDGETS_LIST">         {{ widget | deepFind: WIDGET_CONSTANTS?.WIDGET_HEADING }}     </li> </ul>  

I have multiple questions on this problem

  1. I didn’t find any way to calculate the performance of the angular 2 template rendering. So, I tried the naive approach to check the bottom up and see what is the performance of the pipe. Please suggest me a way to check the performance to calculate angular 2 template rendering.
  2. I know that this should be an impure pipe. What is the performance decrease using more pipes in the template rather than hardcoded object properties?. Because here just I showed only 2 pipes but in my project is more than 100 times.
  3. What will a better approach to handle this case for future maintenance, code readability and standard way to handle this problem?
  4. I know that I am passing objects to the pipe what is affect the on performance when compared to passing a primitive value?
  5. We are nowhere hardcoding the object keys in the ts file also. I need a better solution to have a solution to handle in the template as well as ts file.
  6. What are the other approaches to the above problem?​

Is there evidence that text in a table vertically aligned middle is easier to read compared to vertically aligned top?

I have an html table and there is one column that is much taller than the others and I am trying to get a recommendation if I should be vertically aligning the rest of the columns to the top or middle. For example, below the rest of the columns are vertically aligned middle (since its only the 2nd column that is forcing the row height.

mockup

download bmml source – Wireframes created with Balsamiq Mockups

Is there any evidence if this is better than having the table vertically aligned to top (versus middle)?

Will doubling the price & damage of grenades make them balanced compared to other weapons?

Context: I’m running a group through the Dead Suns adventure path. This is the first time any of us have used Starfinder. One of the party members is an ysoki envoy who would like to focus on grenades for damage (inspired by this question). It’s a party of 6, so I routinely give bonuses to named/solo foes and increase the number of mooks in encounters.

The group has reached level 5, and we’ve noticed that grenades just don’t do a whole lot, though. Our solarian routinely wallops enemies for 30+ damage per round, and can Supernova for 6d6 damage. Meanwhile the envoy is chucking around looted Mk1 grenades that do 1d6 or 1d8 damage or purchased Mk2 grenades that do 1d12 or 2d6 damage. In a recent fight, their enemy was able to make effective use of grenades only because 5 mooks threw grenades at the same time (and even then most of the party members struck took about 15 damage, since the saves were easy).

Proposal: I’m thinking about adding an “Elite” version of all damage-dealing grenades that costs twice as much and deals twice as much damage. As an example, the Mk1 Shock Grenade is a level 1 item costing 130 credits that deals 1d8 damage; the Elite Mk1 Shock Grenade would also be a level 1 item but would cost 260 credits and deal 2d8 damage. Foes important enough to have a name who carry grenades would carry the elite versions, while faceless mooks would use the normal versions.

Looking at later levels, an Elite Mk5 Frag Grenade would be a level 14 item costing 37.5k credits and dealing 20d6 damage. That sounds like a lot of damage, but almost any character could spend 72.3k credits and proficiently wield an Advanced Seeker Rifle, a level 14 longarm that deals 6d8 damage per shot. It seems like elite grenades would be highly effective from an action economy perspective, but too expensive to be used casually (which is how grenades probably should work, really).

Is this a viable change or am I overlooking anything?

WiFi on Ubuntu 19.04 is insanely slow compared to Windows 10

I have just freshly installed Ubuntu 19.04 on a partition on my hard drive and am dual booting with Windows 10. I ran internet speed tests on both operating systems and got a download rate of 104mb/s on Windows 10. However, on Ubuntu (version 19.04) I am only getting 4mb/s. I’m not sure if this is a driver problem or a bug with Ubuntu itself. Help me please!

WiFi card info: lspci-

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge 00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db 00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef 01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43d5 (rev 01) 01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43c8 (rev 01) 01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c6 (rev 01) 02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01) 02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01) 02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01) 02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01) 02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43c7 (rev 01) 04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter (rev 01) 07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8) 08:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de 08:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df 08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0 08:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1 08:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3 09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61) 

sudo lshw -class network-

*-network                         description: Wireless interface        product: RTL8812AE 802.11ac PCIe Wireless Network Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:04:00.0        logical name: wlp4s0        version: 01        serial: 18:31:bf:c5:d8:7d        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=rtl8821ae driverversion=5.0.0-15-generic firmware=N/A ip=192.168.1.5 latency=0 link=yes multicast=yes wireless=IEEE 802.11        resources: irq:57 ioport:e000(size=256) memory:fcd00000-fcd03fff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:07:00.0        logical name: enp7s0        version: 15        serial: 40:b0:76:42:a8:45        size: 10Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s        resources: irq:35 ioport:d000(size=256) memory:fcc04000-fcc04fff memory:fcc00000-fcc03fff