Meetup group 2nd strike – Web Applications Stack Exchange

Meetup group 2nd strike – Web Applications Stack Exchange

display – What cable do I buy for my 2nd monitor?

Windows pc user here

I have a gtx 1050 ti graphics card and as of right now there’s 1 hdmi monitor connected to it.
I received a free 2nd screen from my uncle i’d like to use but it’s VGA.

My graphics card only has 3 outputs:
1x hdmi
1x dvi
1x dp
is it possible to connect my 2nd VGA screen to my GPU? I have no idea what cable to buy.
I have a HDMI to VGA adapter, but yeah, I only have 1 hdmi output. Should I get a splitter? Or something totally else?

Thanks in advance…

Android 6 rom or newer for kindle fire 2nd gen (otter2)

I have a kindle fire 2nd gen (otter2) and after a while of using the android 5.1 rom I found, I decided to look for something newer and found nothing. is there a rom out there newer than android 5.1 I could flash onto the device through TWRP?

php – add_action taking an array with the 2nd argument?

I was going through some source code of Astra theme and found these lines in theme/astra/inc/class-astra-loop.php:

class Astra_Loop {

    .....
    public function __construct() {

        add_action( 'astra_content_loop', array( $this, 'loop_markup' ) );

 .....

Shouldn’t the 2nd argument be a function? Apparently here the 2nd argument is an array. I checked it with json_encode(array( $this, 'loop_markup' )), it outputs ({},"loop_markup"). So how is this working?

discrete mathematics – Find the trace of the 2nd power adjacency matrix(Not simple graph)

Find the $tr(A^2)$ (Here the $A$ is the adjacency matrix of the below graph)

enter image description here

In simple graph, $tr(A^2) = sum d(v_i)$ (Here the $d(v_i)$ is a degree of the vertex, $v_i$)

But this is not simple graph, So I can’t use the above formula. Therefore I calculated the number of the walk which length is $2$ and $v_i to v_i$

$(1)$ $v_1 to v_1$ : there are $5$ walks

$(2)$ $v_2 to v_2$ : there are $3$ walks.

  • $v_2 to v_1 to v_2$ : there are $1$ walks.

  • $v_2 to v_3 to v_2$ : there are $1$ walks.

  • $v_2 to v_4 to v_2$ : there are $1$ walks.

$(3)$ $v_3 to v_3$ : there are $10$ walks.

$(4)$ $v_4 to v_4$ : there are $14$ walks.

  • $v_4 to v_3 to v_4$ : there are $9$ walks.

  • $v_4 to v_2 to v_4$ : there are $1$ walks.

  • $v_4 to v_1 to v_4$ : there are $4$ walks.

So my answer is $32$. Is my things right? Plus, Does the formula $tr(A^2) = sum d(v_i)$ only hold for simple graph?

partitioning – Issue while creating 2nd partition on NON-system drive: “not possible to create more than 1 primary partition”

I have an empty drive disk for file storing it has no installed system image, I need to separate it on two partitions. I have Ubuntu 16 on another physical drive.

When I try via Gparted to

  1. Resize existent ext4
  2. Click ‘New’ on unallocated right part of gparted drive volume bar I am getting an error:

It is not possible to create more than 1 primary partition

If you want more partitions you should first create an extended partition. Such a partition can contain other partitions. Because an extended partition is also a primary partition it might be necessary to remove a primary partition first.”

If there a another type of filesystem I need to reformat ext4 prior to creating 2nd partition?
How it’s called, what size does it have to be if I need two ext4 partitions afterwards?

Caution, questions:
How to resize partitions?
How to create partition on single partitioned disk
are irrelevant, I’ve already proceeded through those receipts and getting an error DURING them.

Also Create partition from free space – cannot create more than 4 partitions
is irrelevant, cause I have an empty drive which has no files, not the dual-boot case, not more than 4 partitions problem.

adnd 1e – What are the major differences between AD&D 1st Edition & AD&D 2nd Edition

  1. the list of classes
  2. the presumption of Non-Weapon Proficiencies
  3. Advancement of Thief Skills
  4. nature of Bards
  5. Kits
  6. Specialist Mages
  7. Clerics
  8. THAC0
  9. Psionics

AD&D 1E Core: Assassin, Cleric, Druid, Fighter, Illusionist, Paladin, Ranger, Thief, Wizard. Bard is special, see below.

AD&D 1E+ UA: Assassin, Barbarian, Cavalier, Cleric, Druid, Fighter, Illusionist, Paladin, Ranger, Thief, Thief-Acrobat, Wizard. Bard is special, see below.

AD&D 2E: Bard, Cleric, Druid, Fighter, Magic User, Paladin, Ranger, Specialist Mage, Thief. Barbarian and Cavalier still exist, but as kits, which see below.

While NWP’s exist in late AD&D 1E, they are presumed to be optional add-ons, and not listed in adventures.

In AD&D 2E, while technically optional, almost all examples and almost all pregen characters include the Non-Weapon proficiencies. They are presumed as a part of the game line design. This is a huge change in the nature of adventures, too. The use of NWP’s is expected in some adventures, and explicitly required for a few more.

In AD&D 1E, thief skills advance along specific tracks, and all characters of a given level have the same ones have the same base, modified for race, armor, and attributes. This also means NPC thieves do not need their scores listed, as they can be figured from the DM Screen on the fly.

In AD&D 2E, thief skills have a base at 1st level, but a pool of points added to that base at 1st level, and a smaller pool at each level thereafter. Thief skills must be listed for NPC’s, as it’s much harder to assign on the fly.

Further, in later 2E materials (Dark Sun, Skills & Powers), there are additional thief skills added, and PC thieves pick which ones they take at first level, and gain the remainder at 9th.

This also affects Bards, as in 2E, bards gain certain thief skills for being bards, and use the same points per level method as thieves.

In AD&D 1E, the Bard in the PH can only be taken by dual-classed fighter/thief characters. The Character must be between 5th and 8th level as a fighter, then 4th and 7th as a thief, and then dual class into Bard. This requires some insane stats, and extensive play. Bards will likewise have extensive thief abilities, be competent fighters, and will not gain more HP for several levels due to the dual classing rules.

In AD&D 2E, Bards are a core class. The thief skills are a subset, not the full range. Fighting ability is weaker than fighters. HP are comparable to thieves.

Historical Note: The original Bard class in Strategic Review was closer to the 2E bard than the 1E presentation, but the details of ability were comparable to using the 1E bard as a core class.

The concept of Kits is mentioned in the 2E Core Rules, but they are not presented until the Player’s Handbook Rules Expansions (PHBR series). A kit has a set of requirements, provides some bonus proficiencies, and occasionally, bonus special abilities. Many were somewhat extreme.

The equivalent role in 1E was filled by specialized subclasses presented in magazines, as exemplified by the Cavalier…

AD&D 1E has 4 specialist mage classes, with only one, Illusionist, in the core rules. (The other 3 are in the Forgotten Realms Adventures rulebook.) Illusionist is presented as a full-up core class; the Forgotten Realms ones are full from the 3rd level on, and require core Magic User for levels 1-3. A few additional specialist classes appear in magazine articles.

AD&D 2E presents 8 specialist wizard subclasses as a single core class in the PHB. They differ from each other only in specific spells and attribute requirements.

There is no specific specialist spell lists, but every spell has specific school attributions, and those schools are the basis for the specialist classes. All specialists spells are available to core magic users.

An additional variant class is presented in Tome of Magic, the Wild Mage.

In both games, both cleric and druid are presented as a core class.

In AD&D 1E, they have separate, and only somewhat overlapping, spell lists.

In 2E, both use Priest Spells. 2E Clerical spells are assigned to specific Spheres, with a number being in more than one sphere. Clerics have several spheres; druids have a specified set of spheres. Provision is made in the PHB to allow for creation of similarly specialized priest classes; further details are in the PHBR for Clerics…

Since the whole of the priestly spell list is unavailable to core priests, this makes it more difficult to select what spells are available to a given priest… but it’s also now a smaller list for any given priest.

THAC0, “To Hit Armor Class 0,” was a shortcut used in some later AD&D 1E materials, which imperfectly reflected the AD&D 1E To Hit tables, with their flat spots.

THAC0 was adopted as the official mechanic for AD&D 2E, and the To-Hit tables reworked to make use of it.

This may seem trivial, but it makes negative AC’s much harder to hit for low level characters, as AD&D 1E has a 6 AC entries for a To-Hit of 20. So a Modified roll of 21 in the tables hits an AC 5 lower than using THAC0. (As a reminder, the modifiers were situational and attribute only; THAC0 itself is modified in AD&D 2E, and table of roll needed is indexed by Level (on a class basis) and AC being attacked.

In 1E, psionics are in the core rules, in an appendix, relatively unchanged from their Original Edition version in Eldritch Wizardy (Supplement 3).

In 2E, psionics are in a PHBR rulebook, not the core rules. The mechanics get reworked entirely, and while having throwbacks to the older rules, they are quite different in execution. The use of proficiency-score checks, and the methods of generating Psionic Points are very different.

  • The specific modifiers for attack rolls have changed.
  • Many specific spells have significant explicit changes
  • specific wordings changing resulting in different interpretations on many spells
  • specifics of the Weapons vs Armor tables differ within AD&D 2E; they are different as well from AD&D 1E.
  • Specific entries for the XP earned by non-combat methods.
  • Many monsters have changes, sometimes extensive and substantial. Especially Dragons.
  • Angels, Demons and Devils are not called that in AD&D 2E. Baatezu and Tan’ari are demons and devils.

Mode of play remains unchanged. The relationship of the Initial 3 classes (Fighter, Mage, Cleric) remain the same, and the Thief as well in relation to those. The Druid, Paladin, and Ranger as well retain their core character.

The general modes of advancement are the same, even tho the specific methods of earning XP have been expanded, and the XP tables are close (tho not always identical).

The basic mode for magic is still the same, and is still spells per day.

The save categories remain unchanged. The unique monsters – illithids, rust monsters, beholders, and several others are the same as ever in general terms, even if some specifics vary.

2E is a different game from 1E, but shares much of the heritage. They’re able to borrow across, but rules as written, they are not the same games. There was far less difference between Original Edition D&D as expanded and AD&D 1e than between 1E and 2E.

Excel: create column based on a 2nd column AND a 3rd column category

I have 2 columns, one called “gender” and the other “height”.

I would like to create an independent column that would populate only the height value if the gender cell of the rows contain “female”.

For instance, let’s say I have:

Gender cell row1 = female
Gender cell row2 = male
Gender cell row3 = female


Height cell row 1 = 1.7
Height cell row 1 = 1.6
Height cell row 1 = 1.5

So I would like my custom column “female heights” to be created as such:

female heights cell row 1 = 1.7
female heights cell row 2 = 1.5

I know how to count how many females are in the Gender column =>

COUNTIF(D:D,"female)

But I don’t know how to create a new column taking values of the Height column only if the Gender column value is “female”. It’s a big leap from one to another.

Thanks for your help.

datetimepicker – User Interface to enter date periods like “Every 2nd sunday”

I am working a project where users can schedule custom notifications. It should be possible to scpecify the period for each notification quite freely:

  • Every 2nd sunday
  • 1st Monday each month
  • Every two days

Does anyone know a good UI to offer such a selection? I find this astonishingly difficult.

Of course quite simpler solutions are posible. For example simply two drop down boxes, one with values 1-99 and one with values “days, weeks, month, years”. An input of “14 days” would than result in a two-weekly period. But when would notifications start then?

When entering “every 2nd sunday” notifications would start next sunday, repeating every two weeks. With the input above I would have to ask for a start day as well. Not a big deal of course, by would the user care on which date the next sunday is when “”every 2nd sunday” holds all information a human would need to start the schedule?

Additionally inputs of “60 days” might be realistic, but most likely “60 years” will never be used. How to respond when “60 years” is entered anyway? Auto correct it (to which value)? Prompt the user “Are you sure”? None of this would be gould UX, would it?

Long story short: Are there known, good solutions for this kind of input?

DreamProxies - Cheapest USA Elite Private Proxies 100 Cheap USA Private Proxies Buy 200 Cheap USA Private Proxies 400 Best Private Proxies Cheap 1000 USA Private Proxies 2000 USA Private Proxies 5000 Cheap USA Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Best Quality USA Private Proxies