GET FREE Call Of Duty Modern Warfare 3




Minimum system requirements:
Processor: INTEL Core 2 Duo 1.8 GHz
GPU: NVIDIA GeForce 8800GT 512 MB or ATI Radeon HD 3870 512 MB
Video memory: 512 MB
Operating system: Windows 7 / Windows 8 / Windows 8.1 / Windows 10
Hard Drive: 16 GB of available hard drive space


DOWNLOAD HERE (The size of the game is 13.8 GB)



unit – How to call a function when 3 out of 7 booleans are true

I am trying to create a system giving quests this way:

There are 7 Boolean values ​​and a method which should only be called when 3 of the 7 Boolean values ​​are evaluated to true. What is the most effective / best way to accomplish this task? I'm a bit new to programming so here is a code snippet:

private bool a;
private bool b;
private bool c;
private bool d;
private bool e;
private bool f;
private bool g;

private void Start() {
    //How do I call TheMethod() when any 3 of the 7 booleans evaluates to true?

private void TheMethod() {

Do I need to create multiple if conditions that verify this?

WP Ajax never returning any data / call action

I have a single click function which gets the data from a radio button in a form and passes it to a function in my functions.php file. The problem is, Ajax never calls my action in my functions.php file. I always get "nothing found" as defined in my ajax function.

Here is my code below, if someone can spot the problem, it would be greatly appreciated.


$(".faq-category-select").on("click",function() {

var faqCategory = $(this).attr('value');
var str = '&faq_category=' + faqCategory + '&action=load_faqs_by_category';

    type: "POST",
    dataType: "html",
    url: ajax_params.ajaxurl,
    data: str,
    success: function(data) {
        var $data = $(data);
        } else{

nothing found

'); } }, error : function(jqXHR, textStatus, errorThrown) { $loader.html(jqXHR + " :: " + textStatus + " :: " + errorThrown); } }); return false; });


Heading 1

Heading 2


 add_action ( 'wp_ajax_load_faqs_by_category', 'load_faqs_by_category' );
add_action ( 'wp_ajax_nopriv_load_faqs_by_category', 'load_faqs_by_category' );

function load_faqs_by_category() {

  $faq_category = (isset($_POST('faq_category'))) ? $_POST('faq_category') : '';

  header("Content-Type: text/html");

    $output = '';
    $output .= 'you selected the'.$faq_category.'category';



wp_register_script( 'faq-ajax', get_template_directory_uri() . '/js/faq-ajax.js', '','',true );
wp_localize_script( 'faq-ajax', 'ajax_params', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
wp_enqueue_script( 'faq-ajax' );

api design – Microserice call using REST or a dedicated client file

When microservices must communicate with each other, the common practice is to establish a REST (or gRPC) communication.

I wonder what should be a better approach? (suppose all the services are in Java) –

  1. Each service uses a freestyle REST client (e.g. OkHttp)
  2. When service A is to speak with service X, it must include a "client of service X" dependency jar library that masks the network communication of service A.

Let's say this is our system – where service A uses services X and Y as data resources:


Here are some cases:

New functionality in X

If service X has new functionality for A, in both approaches, it will be necessary to update the code of A to support it and add new HTTP calls. If we use a dependency JAR, we will also need to create a new version of the jar.

New versions of X / Y

The versions are updated in X and Y, as long as they do not break the interface does not require any change in A – in both approaches.

Different versions of HTTP library in X & Y clients

X & Y client libraries may include different versions of the same HTTP client – this can cause dependency libraries to work in service A.

What is best practice these days? I found this post and this post where each of them supports the other approach. I also came across Feign as a REST client which could be a third option

views – Ajax call unknown on views_exposed_filters customized when the drop-down list is modified

I have two filters exposed as selected fields (county and district) using Hook_form_ID_alter.

I would like to change the district base #options on the county I have selected to display the related options.

But some how the Ajax that I wrote did not take effect, and instead have other errors that exceeded the download limit, as shown in the image.

enter description of image here

The code is written in the theme.module file, any suggestion is appreciated, thank you!

function ajaxReplaceDistrictOptions(&$form, FormStateInterface $form_state) {

    $district = (
       'City1' => (
         'district1' => 'district1',
         'district2' => 'district2',
         'district3' => 'district3',
       'City2' => (
         'district4' => 'district4',
         'district5' => 'district5',
         'district6' => 'district6',
    if ($selected_value = $form_state->getValue('field_store_address_county')){
        $selected_county = $form('field_store_address_county')('#options')($selected_value);
        $form('field_store_address_district')('#options') = $district($selected_county);

    return $form('field_store_address_district');

function theme_form_views_exposed_form_alter (&$form, FormStateInterface $form_state, $form_id) {

    if($form('#id') == "views-exposed-form-s3-shop-map-shops-list" ){

        $county = (
          'County1' => 'County1',
          'County2' => 'County2',
          'County3' => 'County3',

        $form("actions")("submit")("#value") = t('Confirm');

        $county_field = 'field_store_address_county';
        $form($county_field) = (
            '#type' => 'select',
            '#multiple' => FALSE,
            '#empty_option' => t('County'),
            '#options' => $county,
            '#ajax' => (
                'callback' => 'ajaxReplaceDistrictOptions',
                'wrapper' => 'district-list',
                'method' => 'replace',
                'effect' => 'fade',

        $district_field = 'field_store_address_district';
        $form($district_field) = (
            '#type' => 'select',
            '#multiple' => FALSE,
            '#empty_option' => t('District'),
            '#prefix' => '
', '#suffix' => '
', ); } }

raid1 – What would you call this "RAID"? RAID 1 + 6?

I have Snapraid running as a RAID6 snapshot (2 parity disks) for my 9 disk array which calculates a new parity once a day. Next, I have Drivepool duplicate some very important folders on the array on all real-time data disks like in RAID1.

Would it still be considered RAID1 + 6 even if it is a real-time / instant hybrid array or is there a different name?

optimization – What do you call a greedy algorithm which solves a combinatorial problem by optimizing the best choices k> 1?

Suppose you have a problem whose goal is to find the permutation of a set $ S $ input data which minimizes an objective function $ f $ (for example, the traveling salesman problem).

A trivial algorithm $ E (S) $ who find the exact solution lists all permutations and generates the one that minimizes $ f $. Its time complexity is $ O (n!) $ or $ n $ is the size of $ S $.

A trivial greedy algorithm $ G (S) $ who finds an approximation of the solution is:

out(0) = select a good starting item from S according to some heuristic h_1.
S = S - {out(0)}
for i=1 to n-1 do:
    out(i) = select the next best element using some heuristic h_2
    S = S - {out(i)}
return out

Or $ h_1 $ and $ h_2 $ are two heuristics. Its complexity over time is $ O (n ^ 2) $ assuming that $ h_2 $ operates in constant time.

Sometimes I mix the two techniques (enumeration and greedy) by selecting at each stage the best $ k $ (instead of the best) and listing all of their permutations to find the one that minimizes locally $ f $. Then I choose the best $ k $ articles among others $ n-k $ items and so on.

Here is the pseudocode (assuming $ n $ is a multiple of $ k $):

for i in 0 to n/k do:
    X = select the best k items of S according to some heuristic h
    S = S - X
    out(i*k ... (i+1)*k-1) = E(X)
return out

Or $ E (X) $ is an algorithm which finds the exact solution applied on a subset $ X subset S $ rather than overall $ S $.
This last algorithm finds an approximate solution and has a time complexity of $ O ( frac {n} {k} (n log k + k!)) $ assuming that $ h $ can be calculated in constant time. This complexity can be compared to $ O (n ^ 2) $ if $ k $ is small although in my experience the performance can be much better than the greedy approach.

I don't think I invented this type of optimization technique: do you know its name? Can you include some theoretical references?

I know it's not a beam search, because beam search never mixes the best $ k $ solutions found at each stage.

Thank you.

[ Politics ] Open question: Why are the Conservatives so adamant when they call the coronavirus the "Chinese virus"?

Yes, he is from China (as far as we know), but Cons and their divine Trump spirit who say it encourages ignorant people to attack Asians at random. There have been attacks on Asians because of the Coronavirus.

No recording tab available during a video call on Microsoft Teams

I started using Microsoft Teams on Friday, having pre-scheduled meetings and things went well. I recorded each video call and stopped it at the end and downloaded it each time. However, when I got to my next scheduled meeting, the record button was gone from the 3 dots. Your help would be appreciated!

c # – Is creating a method just to call another a good idea for readability?

I wonder if it's just unnecessary noise or if there is something to be gained from sometimes creating a method whose only job is to call another method in a slightly easier to read. Here is an example of what I mean where the first approach, although not very difficult to grasp, might require a little more thinking while the second approach could be considered superfluous and redundant.


var processedPointInfo = pointsInfoToProcess.Select(p => _pointsProcessor.Process(memberPoints, p)).ToList();



var processedPointInfo = pointsInfoToProcess.Select(p => Process(memberPoints, p)).ToList();

private (PointUpdate pointUpdate, MemberActivityLog activityLog) Process(
   MemberPoints memberPoints, PointsCalculationInfo pointsInfo) =>
  _pointsProcessor.Process(memberPoints, pointsInfo);

Would like to hear some thoughts.