Are positive and negative energy from their respective planes inherently good and evil?

Are positive and negative energy from their respective planes inherently good and evil? I am talking about the positive energy plane and negative energy plane from the great wheel model, which includes them as encircling the cosmology.

In my campaign, due to the wide variety of situations that the players will go through, I am wondering whether they are thought of as good and evil due to an inherent alignment, or the fact that the alignment of the user means they tend to find more uses, such as the fact that evil characters could come up with more uses of negative, while a good character would have fewer uses for negative, but could come up with more for positive. As they are not mentioned commonly, radiant and necrotic damage are part of what I am asking, so feel free to use those in your explanation.

PyPi Keyboard – Seeing “Shortcut” characters printed on break from their loop?

import keyboard import os import sys from colorama import Fore, Back, Style, init init() clear = lambda: os.system('cls') cwd = os.getcwd() header = """    ____      _          ____      _       _       _                ___   _   / ___|___ (_)_ __    / ___|__ _| |_   _| | __ _| |_ ___  _ __   / _ \ / |  | |   / _ \| | '_ \  | |   / _` | | | | | |/ _` | __/ _ \| '__| | | | || |  | |__| (_) | | | | | | |__| (_| | | |_| | | (_| | || (_) | |    | |_| || |   \____\___/|_|_| |_|  \____\__,_|_|\__,_|_|\__,_|\__\___/|_|     \___(_)_|                                                    Omar "Michael Abdo" 2019                                                                 'Q' to Quit """   def end():     print(Style.BRIGHT + Fore.RED + "\n\n\t\tCLOSING.")     os._exit(0)  def commit(cs, vs, opened="CoinCount"):     inp = ""     total = "\n\nTOTAL $  {0:.2f}".format(sum(map(lambda x, y: x*y, cs, vs)))     while inp.upper() != "N" and inp.upper() != "Y":         inp = input("{} Save? [Y/N]: ".format(total))     if inp.upper() == "Y":         temp = input("Enter filename or press enter to use default ({}).txt:  ".format(opened))         if temp: opened = temp         if not opened.endswith(".txt"): opened += ".txt"         conf = ""         while conf.upper() not in ['Y', 'N']:             conf = input("Saving file as {}\{} - Confirm? [Y/N]: ".format(cwd, opened))         if conf.upper() == "Y":             with open(opened, "w+") as f:                 f.write(",".join(map(lambda x: str(x), cs)))                 f.write(total)             clear()             print("Total saved to {}\{}!\n\n\n\n".format(cwd, opened))     end()  def changeVal(dir, cursor_pos, cs, vs):     ch = (len(cs) - 1) - cursor_pos[0]     if dir == "D":         if cs[ch] >= 1:             cs[ch] -= 1             moveCursor('n', cursor_pos, cs, vs)     elif dir == "U":             cs[ch] += 1             moveCursor('n', cursor_pos, cs, vs)  def moveCursor(dir, cursor_pos, cs, vs):     total = "TOTAL $  {0:.2f}".format(sum(map(lambda x, y: x*y, cs, vs)))     neutral = """            0.05    0.10    0.25    1.00    2.00    5.00    10.00   20.00   50.00   100.00           {}       {}       {}       {}       {}       {}        {}       {}       {}        {}                  """.format(cs[9], cs[8], cs[7], cs[6], cs[5], cs[4], cs[3], cs[2], cs[1], cs[0])     if dir != 'n':         if cursor_pos[0] != 0 and dir == 'L':             cursor_pos[0] -= 1         elif cursor_pos[0] != 9 and dir == 'R':             cursor_pos[0] += 1         elif cursor_pos[0] == 0 and dir == 'L':             cursor_pos[0] = 9         elif cursor_pos[0] == 9 and dir == 'R':             cursor_pos[0] = 0     clear()     print(total)     if cursor_pos[0] == 0:         print(neutral[:12] + Style.BRIGHT + Fore.GREEN + neutral[12:16] + Style.RESET_ALL + neutral[16:]) #Nickel     elif cursor_pos[0] == 1:         print(neutral[:20] + Style.BRIGHT + Fore.GREEN + neutral[20:24] + Style.RESET_ALL  + neutral[24:]) #Dime     elif cursor_pos[0] == 2:         print(neutral[:28] + Style.BRIGHT + Fore.GREEN + neutral[28:32] + Style.RESET_ALL  + neutral[32:]) #Quarter     elif cursor_pos[0] == 3:         print(neutral[:36] + Style.BRIGHT + Fore.GREEN + neutral[36:40] + Style.RESET_ALL  + neutral[40:]) #loon     elif cursor_pos[0] == 4:         print(neutral[:44] + Style.BRIGHT + Fore.GREEN + neutral[44:48] + Style.RESET_ALL  + neutral[48:]) #toon     elif cursor_pos[0] == 5:         print(neutral[:52] + Style.BRIGHT + Fore.GREEN + neutral[52:56] + Style.RESET_ALL  + neutral[56:]) #fiver     elif cursor_pos[0] == 6:         print(neutral[:60] + Style.BRIGHT + Fore.GREEN + neutral[60:65] + Style.RESET_ALL  + neutral[65:]) #tens     elif cursor_pos[0] == 7:         print(neutral[:68] + Style.BRIGHT + Fore.GREEN + neutral[68:73] + Style.RESET_ALL  + neutral[73:]) #twenties     elif cursor_pos[0] == 8:         print(neutral[:76] + Style.BRIGHT + Fore.GREEN + neutral[76:81] + Style.RESET_ALL  + neutral[81:]) #fifties     elif cursor_pos[0] == 9:         print(neutral[:84] + Style.BRIGHT + Fore.GREEN + neutral[84:91] + Style.RESET_ALL  + neutral[91:]) #hundreds     print("CONTROLS:\n-> / <-\t:\tMOVE\nZ\t:\tINCREMENT\nX\t:\tDECREMENT\nENTER\t:\tSAVE\nQ\t:\tQUIT") def main():     print(Fore.GREEN + Style.BRIGHT + header)     keyboard.add_hotkey('q', end)     mode = ""     cursor_pos = [0]     cs = [0,0,0,0,0,0,0,0,0,0] #100, 50, 20, 10, 5, 2, 1, 0.25, 0.10, 0.05     vs = [100, 50, 20, 10, 5, 2, 1, 0.25, 0.10, 0.05]     while mode != "C" and mode != "S":         mode = input("Enter mode for entry: C for Counting, S for Static: ")         if mode.upper() == "S":             hund = ""             while not hund.isdigit():                 hund = input("Enter # of $  100:\t")              fift = ""             while not fift.isdigit():                 fift = input("Enter # of $  50:\t\t")              twen = ""             while not twen.isdigit():                 twen = input("Enter # of $  20:\t\t")              tens = ""             while not tens.isdigit():                 tens = input("Enter # of $  10:\t\t")              five = ""             while not five.isdigit():                 five = input("Enter # of $  5:\t\t")              toon = ""             while not toon.isdigit():                 toon = input("Enter # of $  2:\t\t")              loon = ""             while not loon.isdigit():                 loon = input("Enter # of $  1:\t\t")              quar = ""             while not quar.isdigit():                 quar = input("Enter # of $  0.25:\t")              dime = ""             while not dime.isdigit():                 dime = input("Enter # of $  .10:\t")              nick = ""             while not nick.isdigit():                 nick = input("Enter # of $  0.05:\t")              save = ""             while save.upper() != "Y" and save.upper() != "N":                 save = input("Total is $  {}. Save amount?\n\n\t\t[Y/N]:\t".format(int(nick)*0.05 + int(dime)*0.10 + int(quar)*0.25 + int(loon)*1 + int(toon)*2 + int(five)*5 + int(tens)*10 + int(twen)*20 + int(fift)*50 + int(hund)*100))             if save.upper() == "Y":                 conf = ""                 while conf.upper() not in ['Y', 'N']:                     if os.path.exists("CoinCount.txt"):                         inp = input("File exists. Enter a new name or press enter to overwrite default file CoinCount.txt: ")                     else:                         inp = input("Enter filename or press enter to use default (CoinCount.txt):  ")                     if not inp: inp = "CoinCount"                     if not inp.endswith(".txt"): inp += ".txt"                     conf = input("Saving file as {}\{}- Confirm? [Y/N]: ".format(cwd, inp))                     if conf.upper() == "N":                         conf = ""                         continue                     if conf.upper() == "Y":                         with open(inp, "w+") as f:                             f.write(",".join(list(map(lambda x: str(x),[hund, fift, twen, tens, five, toon, loon, quar, dime, nick]))))                             f.write("\n{}".format(int(nick)*0.05 + int(dime)*0.10 + int(quar)*0.25 + int(loon)*1 + int(toon)*2 + int(five)*5 + int(tens)*10 + int(twen)*20 + int(fift)*50 + int(hund)*100))                     clear()                 print("Total saved to {}\{}!\n\n\n\n".format(cwd, inp))             end()         elif mode.upper() == "C":             mode = ""             inp = ""             while mode.upper() != "N" and mode.upper() != "O":                 mode = input("Count from New or Open previous total? [N/O]: ")             if mode.upper() == "O":                 if os.path.exists("CoinCount.txt"):                     inp = input("File(s) exist. Enter a new name or press enter to use the default CoinCount.txt: ")                 else:                     inp = input("Enter filename:  ")                 if not inp: inp = "CoinCount"                 if not inp.endswith(".txt"): inp += ".txt"                 conf = ""                 while conf.upper() not in ['Y', 'N']:                     conf = input("Open from {}\{} - Confirm? [Y/N]: ".format(cwd, inp))                 if conf.upper() == "Y":                     try:                         with open(inp) as f:                             cs = list(map(lambda x: int(x), f.readline()[:-1].split(",")))                             print("Successfully loaded data from {}\{}".format(cwd, inp))                     except:                         print("BAD!")             moveCursor('n', cursor_pos, cs, vs)             keyboard.add_hotkey('left', moveCursor, args=('L', cursor_pos, cs, vs))             keyboard.add_hotkey('right', moveCursor, args=('R', cursor_pos, cs, vs))             keyboard.add_hotkey('z', changeVal, args=('U', cursor_pos, cs, vs))             keyboard.add_hotkey('x', changeVal, args=('D', cursor_pos, cs, vs))             keyboard.add_hotkey('enter', commit, args=(cs, vs, inp))             while True:                 pass main() 

Context: This is a coin calculating Python script that uses PyPi Keyboard to allow a user to use the “Z” and “X” keys to increment a selected coin (Choosen by moving the highlighted coin with arrows) while in “C[ount]” mode. It works! The problem is that when I increment some coins and go to save the result by running “commit” thereby breaking the While True loop… Shortcut Keys Returned

It prints the keys I was pressing to Increment. Could anyone tell me why? I’ve narrowed it down to this section in commit:

def commit(cs, vs, opened="CoinCount"):     inp = ""     total = "\n\nTOTAL $  {0:.2f}".format(sum(map(lambda x, y: x*y, cs, vs)))     while inp.upper() != "N" and inp.upper() != "Y":         inp = input("{} Save? [Y/N]: ".format(total)) 

This because when I add a ‘debugging string’ like “WWEEEEOOO WWEEEOOO” to that loop I get: Alarm Sounding Which I take to mean that it has entered my Whileloop three(?) times in total instead of once. Please let me know if you have insight.

[ Politics ] Open Question : If Cortez gets her way and no more fossil fuels in 10 years, how do the dems get to the Bahamas and Puerto Rico to their political parties?

Also…international trade shipping? Nope, that’s gone. Domestic and global air travel? Nope, that’s gone. Vacation cruises to and from the U.S.? Nope, that’s gone. National train transportation? Nope, that’s gone.

Questioning a DB Consultant and their recommendations

We have hired a systems design consultant to help use architect a new CRM system, bringing together several business needs into one system, instead of the several we currently have.

It’s the typical project that a company spends a fortune on, and then discovers it doesn’t do what it thought it would. I’m trying to make sure that doesn’t happen to us.

Could I have some community feedback on some parts of the solution our consultant has recommended? Personally I’m unsure, but I’d defer to their expertise, and to this community’s collective knowledge.


Our User Tables

Some of our users have verified accounts with us. Some will have bought tickets through a third party provider. Others will simply reach out to our customer service, and may not be customers yet.

One way of doing this would be to use three tables: VerifiedUsers (data from our verified user accounts), TicketPurchasers (data pulled from our ticket provider – also verified), and Individuals (essentially email addresses used to contact our customer service).

Obviously it would be great to make connections between these tables, so we can pull together as much information about our customers/users as possible.

This all seems fine to me so far. Where I get a little unsure is that the consultant has suggested the Individuals table should be the master table.

This table is populated with the most “dirty” data: The least verified data sent from people with the lowest at stake (potentially not even customers, sometimes just so they can rant at our customer service team).

Also, if someone has several email addresses they use to reach out to customer service, how are we supposed to make a reliable trustworthy connection between the TicketPurchasers and VerifiedUser tables? It just seems likely that one person could easily have several rows of data in the Individuals table, and we would never really know.

Question: Does this make sense, even just from a database integrity point of view?


Building our own analytics

The consultant has also recommended we start creating our own analytics. This ostensibly makes sense as well: It would be great to be able to collate every touch point our customers/users make.

The idea would be that a table would be filled with a user_id (presumably taken from the Individuals table), an action_id (to reference the action they took — eg. “Logged into their account”, “Contacted customer service”) and a timestamp.

This data could be potentially interesting to look at (although I’d like to sit down and ensure it’s useful, too), but after a few quick calculations it seems would could fill 1,000,000 rows in a year.

If we continue growing as a company (as we wish to), this table of analytics could easily hit 10,000,000 rows in a few years, and just keep growing.

This scares me.

For a start, I don’t like the idea of a table just growing and growing. It makes me uneasy. Secondly, running live operations on a table of millions of rows (which is what would be required), could be prohibitively resource intensive. (Yes, I guess it depends how much my organisation is prepared to spend on this.)

Question: Are my concerns valid, or is it my inexperience?

Thanks for any help!

Users list with Ajax Pagination inside each author profile for their follower and following users

I’m trying to create an followers/following users list for each user in their profile page with Ajax Pagination.

Someone here was helped me to make the Ajax pagination working, but i’m facing a big problem and i can’t fix it!

The problem i’m facing is inside all our users profile page when they click on load more button they are getting the users who followed the administrator id!!

Inside author.php i get the author information by using this line.

<?php     $  curauth = (isset($  _GET['author_name'])) ? get_user_by('slug', $  author_name) : get_userdata(intval($  author)); ?> 

So how to make them getting their followed users?

Here is all my code i have done.

author.php

<div id="following">      <div class="following-cont"> <?php  $  include = get_user_meta($  curauth->ID, '_pwuf_following', true);  if ( empty( $  include ) ) {       echo '<div class="no-follower">Not found followers yet <i class="fa fa-slack fa-1x" aria-hidden="true"></i></div>';      } else {  $  args = array (     'order' => 'DESC',     'include'  => $  include,     'number'  => 6,     'paged' => 1 );  $  wp_user_query = new WP_User_Query( $  args );  $  users = $  wp_user_query->get_results();      echo '<div id="top-artists-contributors-3">';     echo '<ul id="grid-contributors-4">';     echo '<li class="scroll-artists">';     foreach ( $  users as $  user ) {         $  avatar_size = 90;         $  avatar = get_avatar($  user->user_email, 200);         $  author_profile_url = get_author_posts_url($  user->ID);         $  profile = get_userdata($  user->ID);      echo '<div class="single-item-3">';     echo '<div class="author-gravatar-3"><a href="', $  author_profile_url, '">', $  avatar , '</a></div>';     echo '<div class="members-name"><a href="', $  author_profile_url, '">' . $  profile->first_name .'</a></div>';     echo '</div>';                }     echo '</li>';     echo '</ul>';     echo '</div>';     }  ?>  <?php // The variables tmp_author_name and tmp_author serve only as temporary storage. // They controls how the data should be determined on the server. $  tmp_author_name = ''; $  tmp_author = 0; if( isset($  _GET['author_name']) ) {     $  tmp_author_name = $  author_name; } else {     $  tmp_author = intval($  author);   } ?>  <script type="text/javascript"> var ajaxurl = "<?php echo admin_url( 'admin-ajax.php' ); ?>"; var page = 2; jQuery(function($  ) {     $  ('body').on('click', '.loadmoreartists', function() {             var data =              {                 'action': 'user_following_by_ajax',                 'page': page,                 'security': '<?php echo wp_create_nonce("user_more_following"); ?>',                 'author_name': '<?php echo esc_html($  tmp_author_name); ?>',                 'author': '<?php echo esc_html($  tmp_author); ?>'              };          $  .post(ajaxurl, data, function(response) {          $  ('.following-cont').append(response);         page++;          });     }); }); </script>  </div>  <div class="loadmoreartists">More</div>  </div><!-- #following --> 

function.php

add_action('wp_ajax_user_following_by_ajax', 'user_following_by_ajax_callback'); add_action('wp_ajax_nopriv_user_following_by_ajax', 'user_following_by_ajax_callback');  function user_following_by_ajax_callback() {      check_ajax_referer('user_more_following', 'security');     $  paged = $  _POST['page'];      $  curauth = NULL;      if( isset($  _POST['author_name']) AND trim($  _POST['author_name']) != '' )     {         $  curauth = get_user_by('slug', trim($  _POST['author_name']) );     }     elseif( isset($  _POST['author']) AND intval($  _POST['author']) > 0 )     {         $  curauth = get_userdata(intval($  _POST['author']));        }      if( !is_null($  curauth) ) {  $  include = get_user_meta($  curauth->ID, '_pwuf_following', true);  if ( empty( $  include ) ) {       echo '<div class="no-follower">Not found followers yet <i class="fa fa-slack fa-1x" aria-hidden="true"></i></div>';      } else {  $  args = array (     'order' => 'DESC',     'include'  => $  include,     'number'  => 6,     'paged' => $  paged );  $  wp_user_query = new WP_User_Query( $  args );  $  users = $  wp_user_query->get_results();      echo '<div id="top-artists-contributors-3">';     echo '<ul id="grid-contributors-4">';     echo '<li class="scroll-artists">';     foreach ( $  users as $  user ) {         $  avatar_size = 90;         $  avatar = get_avatar($  user->user_email, 200);         $  author_profile_url = get_author_posts_url($  user->ID);         $  profile = get_userdata($  user->ID);      echo '<div class="single-item-3">';     echo '<div class="author-gravatar-3"><a href="', $  author_profile_url, '">', $  avatar , '</a></div>';     echo '<div class="members-name"><a href="', $  author_profile_url, '">' . $  profile->first_name .'</a></div>';     echo '</div>';                }     echo '</li>';     echo '</ul>';     echo '</div>';     }     wp_die();     } } 

[ Insurance ] Open Question : If someone is on an advantage medicare plan is it free for their medications?

I know someone who just switched over to AARP senior advantage who is taking 3 medications. He said he hasn’t had to pay anything for them. He also said he can spend $ 60.00 per month for OTC meds they pay for. On guy on line wrote he’s taking 8 medications and doesn’t have to pay anything for them. I have a medigap & need this due to traveling to different states to visit my family & grandchildren. But medications sure aren’t free. Far from it.

What is known about the common knowledge of mathematicians outside their field?

When giving a talk or writing a paper intended for non-specialist (i.e., mathematicians not specializing in the topic being discussed), the question inevitably occurs of what one can assume to be “common knowledge”. Rather than trying to guess (e.g., I assume that almost all mathematicians know what a vector space over a field and what the Lebesgue measure are), it would probably be better to determine this experimentally. Have any surveys been conducted in order to answer this question?

Roughly which set of mathematical definitions and facts are known to a proportion at least $ p$ of working mathematicians?

(Here, $ \frac{1}{2}\leq p<1$ is some fixed but specified quantity. Of course, a survey like this would in fact measure how well-known various notions and theorems are, so would give results for a variety of different $ p$ . Also of course, this depends on some definition of what a “working mathematician” is, I’m assuming self-reporting as such, but I don’t think the details are too important; even a survey limited to a particular country or membership to a particular mathematical society would be something.)

It seems to me that this would be interesting both mathematically (see above) and sociologically. More refined results indicating how results vary per country, per age group, or per specialty, would of course be of value, but any survey along these lines would interest me.

I tried Googling various terms to no avail, so I’m inclined to think that no such survey was ever conducted, but maybe I missed something.