What is the name for this load balancing algorithm?

While working on a practice problem I "organically" came up with a method that does well at solving my load balancing problem. I do not know what the official name is for it, but I would like to read more on it, I think maybe it is a greedy algorithm similar to the least connections algorithm.

Given m resources and n consumers where m << n.

The object is to balance the n consumers on the m resources such that the resources are equally utilized.

At each balancing step I do the following:

  1. sort resources by utilization ascending.

  2. sort consumer by consumption descending.

    While there are unprocessed consumers, place the greediest consumer on the least utilized resource. Repeat with each next greediest and each next least utilized. When the most utilized resource is given a consumer, wrap around and still continue placing using the ordering. Do this until there are no more consumers to place on the resource queue.

Is there a name for this?

Self-XSS From File Upload Name

I encountered this type of vulnerability a couple of times but weren’t able to fully exploit it, need help! This vulnerability is self-xss which is triggered from file names. E.g. If I were to upload a file named ‘[xss-payload].png’, it will be executed as javascript and the window will prompt ‘1’. But it only goes as far as that, the file name stored in the server is randomly generated, therefore this isn’t a stored xss. Is there anyway I could exploit this? The Javascript is executed when uploading the file only. I tried chaining with Clickjacking, but website doesn’t allow iframe. And from what I heard, CSRF is not possible since setting a ‘pre-filled’ file name is not possible when uploading a file. Any idea where I should go with this? Can I chain this with other vulnerabilities? Thank you all.

[XSS-Payload] = Any XSS payload as file name will be executed when uploading the file

E.g. File Name: <img src=x onerror=alert(1)>.png

Prime Domain Name Registered in 2000 Goes on Sale! Extensive Aged Backlinks and Search Rankings

Why are you selling this site? busy with other projects

How is it monetized? Google Adsense ads and affiliate marketing links

Does this site come with any social media accounts? yes, Facebook, Twitter and Instagram accounts available – contact for details

How much time does this site take to run? varies, depending on frequency of new content being added

What challenges are there with running this site? none

– Very valuable 8 character dot-com


Prime Domain Name Registered in 2000 Goes on Sale! Extensive Aged Backlinks and Search Rankings

How to prevent scrying, Locate Person, teleportation, planeswalking, Locate City, and other intrusions in the name of national security [closed]

I am writing a story set in a modern world where D&D magic works. Now, I also have a Cheyenne Mountain like set of facilities in my world, underground hardened military airbases. Obviously, you don’t want any old bloke to be able to just use the Etherealness spell to waltz in through the walls and steal a nuclear warhead. You also don’t want the enemy war leader to be able to see inside your war room. And teleportation would really be a security disaster. Could the unit’s mages cast Mind Blank on every single one of the 570 staff of the base?

I had a couple ideas, using a multiple castings of or a homebrew larger version of the Forbiddance spell to cover every cubic foot of space inside the mountain and a similar method with Anti-Magic Field around the boundaries. This seems to block anything short of divine intervention, but I was thinking of asking you folks here about ideas as well. Would my idea work? Do you have any suggestions? Perhaps a magic item that could do the protection?

I’m not concerned as to which version the spell/item comes from.

Discovering Someone’s Name From Their Cell Phone Number

In the event that you resemble me, your telephone contacts mean everything to you. Have you at any point had that lost inclination, subsequent to losing a wireless? No doubt, the telephone is gone and you are pitiful, however something significantly more significant has gone: your contacts. That implies your significant other or sweethearts number, your mothers number, your PC expert’s number and in conclusion, however in no way, shape or form, least, your work contacts! Aaggghh.. That is an appalling inclination. 
Buy Mobile Database In any event, when you purchase that sparkling new telephone that you basically should have, its a truly bother attempting to get your contacts moved to it from your current telephone. What’s more, on the off chance that you’ve change telephone makers, at that point you’ve had it. 
Yet, I will uncover to you an incredibly basic way that will work, regardless of where you are or which telephone you have or which supplier you are utilizing. Regardless of whether you are in the US or in Africa, whether you are utilizing Cingular or Orange, Nokia or Sony Ericsson. This strategy takes a shot at practically any good GPRS telephone. 
This is what we’ll do. We will utilize the sync administration offered by zyb.com. (Indeed, its FREE). Presently, what precisely is a sync administration. A sync or synchronization administration, permits you to fundamentally keep your information (contacts, calender and so forth.) on to another worker. This implies at whatever point you lose your gets in touch with, you need to just contact the worker with your new telephone and every one of your contacts will mysteriously show up in under 60 seconds!
First class Android cell phones like the Samsung Galaxy S5 and HTC One (M8) are amazing, however sadly, they don’t have interminable battery life. Truth be told, numerous Android telephone clients would be glad to endure a solitary day, trusting that a daily revive is adequate.
Tragically, it some of the time isn’t. Various components have schemed to lessen contraption perseverance in the course of recent years. More slender structures with less space for batteries, bigger and more splendid screens, quicker quad-center processors, more programming that runs out of sight, and force hungry GPS radios all offer obligation. The move from 3G to 4G systems a couple of years back especially of the LTE assortment has likewise incurred significant damage.
Yet, there’s substantially more to helpless battery life results than that. Luckily, there’s bounty you can do to stem the progression of juice from your Android gadget. To compose this article, I utilized a Google Nexus 5, as it’s running the most recent variant of Android 4.4 KitKat with no additional interface upgrades, however these tips ought to apply across pretty much any Android telephone. Attempt these tips to broaden your handset’s battery life:

OpenVPN works on Ubuntu but not Android – Name Resolution [migrated]

Server1 – Primary DNS/Plesk
Server2 – Secondary DNS
Server3 – OpenVPN

On by local computer running Ubuntu 20.04 I can successfully connect to the OpenVPN server and browse any website. My public IP Address shows as the SERVER3 IP Address.

On my Android, I can successfully connect to the OpenVPN server but I can only browse websites hosted on Server1. All other websites get the DNS_PROBE_FINISHED_BAD_CONFIG error message. In the OpenVPN app it shows a successful connection and the correct IP Addresses.

I am using the exact same configuration file for both devices. Note, different certificates are used for the connection.

Looking at the syslog on Server1, I see:

client @0x7f79480ea2b0 ANDROID-PUBLIC-IP-ADDRESS#50743 (www.facebook.com): query (cache) 'www.facebook.com/A/IN' denied 

I don’t get these errors when browsing on the Ubuntu box.

My ovpn file:

dev tun proto tcp remote SERVER3 IP 443 resolv-retry infinite nobind user nobody group nogroup persist-key persist-tun remote-cert-tls server cipher AES-256-GCM auth SHA256 verb 3 key-direction 1 <certificates are here> 

My OpenVPN Config file:

management 5555 dev tun ca ca.crt cert server.crt key server.key  # This file should be kept secret dh none server ifconfig-pool-persist /var/log/openvpn/ipp.txt push "dhcp-option DNS SERVER1 IP" push "dhcp-option DNS SERVER2 IP" keepalive 10 120 tls-crypt ta.key cipher AES-256-GCM auth SHA256 user nobody group nogroup persist-key persist-tun status /var/log/openvpn/openvpn-status.log log         /var/log/openvpn/openvpn.log log-append  /var/log/openvpn/openvpn.log verb 3 explicit-exit-notify 0 

Woocommerce Billing Form not saving User Name or Phone Number?

I have a custom checkout that we’ve built as part of the theme for a site we are building.

When the user presses update to update the shipping or billing address, it wont save the user’s first and last name or their phone number.

I wondered if anyone might be able to help as i am a little stumped here:

<div class="woocommerce-billing-fields">     <?php if ( wc_ship_to_billing_address_only() && WC()->cart->needs_shipping() ) : ?>          <h3><?php esc_html_e( 'Billing &amp; Shipping', 'woocommerce' ); ?></h3>      <?php else : ?>          <h3><?php esc_html_e( 'Billing Address', 'woocommerce' ); ?></h3>      <?php endif; ?>      <?php do_action( 'woocommerce_before_checkout_billing_form', $  checkout ); ?>      <?php $  customer = WC()->customer;?>         <p class="billing-details <?php if(!is_user_logged_in()) {echo 'hide';}?>">             <?php echo             $  customer->get_billing_first_name() . ' ' . $  customer->get_billing_last_name() . ', ';             if(!empty($  customer->get_billing_company())) { echo $  customer->get_billing_company() . ', ';}             echo $  customer->get_billing_address_1() . ', ';             if(!empty($  customer->get_billing_address_2())) { echo $  customer->get_billing_address_2() . ', ';}             echo $  customer->get_billing_city() . ', ' .             $  customer->get_billing_state() . ', ' .             $  customer->get_billing_postcode()             ;?>         </p>         <p class="change-billing-details <?php if(!is_user_logged_in()) {echo 'hide';}?>">Change</p>       <div class="woocommerce-billing-fields__field-wrapper <?php if(!is_user_logged_in()) {echo 'show';}?>">         <?php         $  fields = $  checkout->get_checkout_fields( 'billing' );          foreach ( $  fields as $  key => $  field ) {             woocommerce_form_field( $  key, $  field, $  checkout->get_value( $  key ) );          }         ?>         <p class="update-billing-details updating">Update Billing Details</p>     </div>      <?php do_action( 'woocommerce_after_checkout_billing_form', $  checkout ); ?> </div>  <?php if ( ! is_user_logged_in() && $  checkout->is_registration_enabled() ) : ?>     <div class="woocommerce-account-fields">         <?php if ( ! $  checkout->is_registration_required() ) : ?>              <p class="form-row form-row-wide create-account">                 <label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">                     <input class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" id="createaccount" <?php checked( ( true === $  checkout->get_value( 'createaccount' ) || ( true === apply_filters( 'woocommerce_create_account_default_checked', false ) ) ), true ); ?> type="checkbox" name="createaccount" value="1" /> <span><?php esc_html_e( 'Create an account?', 'woocommerce' ); ?></span>                 </label>             </p>          <?php endif; ?>          <?php do_action( 'woocommerce_before_checkout_registration_form', $  checkout ); ?>          <?php if ( $  checkout->get_checkout_fields( 'account' ) ) : ?>              <div class="create-account">                 <?php foreach ( $  checkout->get_checkout_fields( 'account' ) as $  key => $  field ) : ?>                     <?php woocommerce_form_field( $  key, $  field, $  checkout->get_value( $  key ) ); ?>                 <?php endforeach; ?>                 <div class="clear"></div>             </div>          <?php endif; ?>          <?php do_action( 'woocommerce_after_checkout_registration_form', $  checkout ); ?>     </div> <?php endif; ?> 

Would a two word domain name with a shared letter between the words be treated the same for SEO as the fuller name?

I found a domain name (2 words) that is not available. Then I found almost the same domain name with a slight difference, the last letter of the first word is the same of the first letter of the second word.

Ex : jamessecret.com (not available)      jamesecret.com (available) 

In terms of SEO, is it seen as the same to Google? Would search engines interpret them the same?