Call Master – Free browser based video calling ( $10 Reserve )

Hi,
I want to sell my browser based video calling website.
The site: callmaster.live
Info:
Call Master is a Free browser based video calling site for everyone.
[Short Description]
Website does not generate income yet. The script is great and customizable. Owner can add ads to the video chat window to get hours of impressions per call.

[Best features]

  1. Site allows users to video call for free directly in the browser
  2. Website is easy to transfer with HEROKU:…

Call Master – Free browser based video calling ( $ 10 Reserve )

Call Master – Free browser based video calling

Hi,
I want to sell my browser based video calling website.
The site: callmaster.live
Info:
Call Master is a Free browser based video calling site for everyone.
[Short Description]
Website does not generate income yet. The script is great and customizable. Owner can add ads to the video chat window to get hours of impressions per call.

[Best features]

  1. Site allows users to video call for free directly in the browser
  2. Website is easy to transfer with HEROKU:…

Call Master – Free browser based video calling

Call of duty disk space [closed]

my friends and I have been wondering about the following thing: Let’s say COD:MW takes 180GB of storage space, then has a 20 GB update. Afterwards, the game takes only 190GB of storage space and not 200GB. Do you you know this happens? I thought maybe it’s because some files are replacing older ones instead of just being “added on top”. Thanks !

Looking for a specific Call of Cthulhu scenario

Around a month ago, I’ve read somewhere about a scenario, which right now I can’t seem to find.

All I remember, that it’s setting was either in England or in Scotland, and it has two key antagonists. If I am not mistaken, the hook is that a dilettante asks us to investigate his missing daughter, but that’s not 100% info, maybe I am mixing things up already in my head. The other things I know about it are:

I would be really grateful if anyone could point me to the name or the book of this scenario:)

Ajax call of WordPress function

Can someone show me a good example of how to call a PHP function with Ajax? I’m trying to save an image gallery (with dynamic number of images) to database in the admin settings section. The below code is incomplete or maybe with some errors. Please show me a good example or a better way:

Save Changes

function jsAddSettingsFields(){      var elements = document.getElementsByTagName("img");     var urlsdata = new Array();      for (var i = 0, element; element = elements[i++];) {         if (elements[i].id == "idGalPic") {              urlsdata[i] = elements[i].src;  //now we have all image urls in array, now need to call add_settings_fields               var data = {                     action: 'php_addsettingsfields',                     p_urls: urlsdata //I think i need to JSON this                 };              jQuery.post( "", function( data ) );              //https://api.jquery.com/jQuery.post/         }     }  }//end of js function 

//PHP part:

        function php_addsettingsfields_callback() {              $  pic_urls = $  _POST['p_urls'];  //De-JSON-fy this variable              foreach ($  pic_urls as &$  url) {                 add_settings_field($  url);             }         add_settings_field(             'pic_url_id', // ID - slug name of field             '', // Title              array( $  this, 'pic_gal_callback' ), // Callback             'TestPlugin', // Page             'setting_section_id' // Section ID - slug name of page                  );         public function pic_gal_callback()       {            <input type="hidden" id="idPic" name="idPic" value=$  url>          }           //after all hidden fields(with gallery pic urls) are added to setting section submit the page and save the gallery urls to database 

Call center recording my credit card info

I just made a new contract over the phone with my mobile phone provider and I needed to pay the activation fee. The lady told me that they could accept only credit cards and asked me for the full details (number, expiry date, and security code, the usual stuff) over the phone.

However, she took the details personally (to input them in whatever database they use) and the calls are recorded.

I am now concerned about the security of my information: not only she has full access to my credit card, but also whoever listens to the recording. It’s a big and well-known provider, so I don’t think they could do something shady, but it still bothers me. Is it really acceptable? Should I have refused?

(Note: I live in Switzerland and I don’t know exactly what are the data protection regulations here)

How to exploit this C program to call a certain function?

The goal is to call the function foo in the following program:

struct object {     unsigned char buf[36];     void (*fp)(); };  void baz(struct object * obj, unsigned int num) {     for (int i = 0; i < num; i++) {         unsigned int x;         scanf("%d", &x);         if (x == 0) break;         obj->buf[i] = x & 0x000000ff;     } }  void foo() { // target }  void bar() { }  int main() {     setvbuf(stdin,  NULL, _IONBF, 0);      setvbuf(stdout, NULL, _IONBF, 0);      setvbuf(stderr, NULL, _IONBF, 0);      struct object * obj = malloc(sizeof(struct object));     memset(obj->buf, 0, 36);     obj->fp = &bar;      int num;     scanf("%d", &num);     if (num > 36) {         num = 0;     } else {         baz(obj, num);     }      for (int i = 0; i < num; i++) {         printf("%d. \t", i + 1);         for (int j = 0; j < obj->buf[i]; j++) {             printf("*");         }         puts("");     }      obj->fp();     free(obj); } 

My thoughts were to modify fp in obj (which is called at the end) such that it points to foo instead of bar. By entering a negative number for num such that it becomes a large positive number when casted to unsigned int in baz, this should allow the modification of fp by overflowing buf in obj. However, this would require the address of foo which changes every time the program is run.

I would appreciate any ideas or hints to solve this problem.

What do you call a greedy algorithm that solves a combinatorial problem by optimizing the best k>1 choices altogether?

Suppose you have a problem which goal is to find the permutation of some set $ S$ given in input that minimizes an objective function $ f$ (for example the Traveling Salesman problem).

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

A trivial greedy algorithm $ G(S)$ that 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 

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

Sometimes I mix the two techniques (enumeration and greedy) by selecting at each step the best $ k$ items (instead of the best one) and enumerating all their permutations to find the one that locally minimizes $ f$ . Then I choose the best $ k$ items among the remaining $ 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 

Where $ E(X)$ is algorithm that find the exact solution applied on a subset $ X \subset S$ rather than on the whole $ 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 computed in constant time. This complexity can be comparable to $ O(n^2)$ if $ k$ is small although according to my experience the performances can be way better than the greedy approach.

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

I know for sure it is not beam search, because beam search never mixes the best $ k$ solutions found at each step.

Thank you.

AJAX Call Via Vanilla JavaScript In WordPress Plugin Development

I ama newbie in WordPress Plugin development in which I have some HTML form on the main plugin page that will get the data from the admin who is logged in and a back page where I have some different functions in PHP like to get information from the database etc. To explain in detail, here is the code…

Main Plugin File:

<?php /* Plugin Name: WP Testing Plugin Plugin URI: http://www.wordpress.org/WP-Testing-Plugin Description: A Detailed Description About This Plugin. Author: Muhammad Hassan Version: 0.1 Author URI: http://www.wordpress.org */  /*____________WP Testing Plugin Admin/Script_____________*/ function wp_testingPlugin_admin() {     echo '         <form id="searchForm" onsubmit="return searchData(this)">             <input name="WhatToSearch" type="text" />             <input type="submit" value="Search"/>             <input type="reset" value="Reset"/>             <div id="showReturnData"></div>         </form>     ';     echo '         <form id="infoForm" onsubmit="return searchInfo(this)">             <input name="WhatToKnow" type="text" />             <input type="submit" value="Search"/>             <input type="reset" value="Reset"/>             <div id="showReturnInfo"></div>         </form>     ';      echo '         <script type="text/javascript">             function searchData(incomingForm) {                 // Confirmation To Add A Data                 var answer = confirm("Are You Sure Want To Search?");                 if (answer){                     // If User Click Ok Then Execute The Below Code                          var FD = new FormData(incomingForm); // Get FORM Element Object                     FD.append("Function", "DataFunction"); // Adding Extra Data In FORM Element Object To Hit Only This Function In Ajax Call File                     var ajx = new XMLHttpRequest();                     ajx.onreadystatechange = function () {                         if (ajx.readyState == 4 && ajx.status == 200) {                             document.getElementById("showReturnData").innerHTML = ajx.responseText;                                      }                     };                     ajx.open("POST", "'.plugin_dir_url( __FILE__ ).'my_functions.php", true);                     ajx.send(FD);                     document.getElementById("showReturnData").innerHTML = "<div class="error">ERROR: AJAX Did Not Respond.</div>";                 }                 return false; // For Not To Reload Page             }               function searchInfo(incomingForm) {                 // Confirmation To Add A Data                 var answer = confirm("Are You Sure Want To Search?");                 if (answer){                     // If User Click Ok Then Execute The Below Code                          var FD = new FormData(incomingForm); // Get FORM Element Object                     FD.append("Function", "InfoFunction"); // Adding Extra Data In FORM Element Object To Hit Only This Function In Ajax Call File                     var ajx = new XMLHttpRequest();                     ajx.onreadystatechange = function () {                         if (ajx.readyState == 4 && ajx.status == 200) {                             document.getElementById("showReturnData").innerHTML = ajx.responseText;                                      }                     };                     ajx.open("POST", "'.plugin_dir_url( __FILE__ ).'my_functions.php", true);                     ajx.send(FD);                     document.getElementById("showReturnInfo").innerHTML = "<div class="error">ERROR: AJAX Did Not Respond.</div>";                 }                 return false; // For Not To Reload Page             }          </script>     '; //if you want only logged in users to access this function use this hook add_action('wp_ajax_searchData', 'searchData'); add_action('wp_ajax_searchInfo', 'searchInfo'); //if you want none logged in users to access this function use this hook add_action('wp_ajax_nopriv_searchData', 'searchData'); add_action('wp_ajax_nopriv_searchInfo', 'searchInfo');   } /*__________________________________________________________________*/   /*____________WP Testing Plugin Option_____________*/ //Adding "WP Testing Plugin" Menu To WordPress -> Tools function wp_testingPlugin() {     //  add_management_page( $  page_title, $  menu_title, $  capability, $  menu_slug, $  function);                  Menu Under Tools     add_management_page("WP Testing Plugin By Hassan", "WP Testing Plugin", 'activate_plugins', "WP-Testing-Plugin", "wp_testingPlugin_admin"); } add_action('admin_menu', 'wp_testingPlugin'); /*__________________________________________________________________*/ ?> 

And this is my_functions.php file.

<?php /****************************************************************************/ //Garb The Function Parameter /****************************************************************************/ $  Function = $  _POST['Function'];   /****************************************************************************/ // Run Search Function /****************************************************************************/ if ($  Function == "DataFunction"){      if(!isset($  _POST['WhatToSearch'])){         $  WhatToSearch = "Nothing";     } else {         $  WhatToSearch = $  _POST['WhatToSearch'];     }      echo "<div class='success'>SUCCESS: Function Is Working Perfectly And Getting Data ".$  WhatToSearch.".</div>"; }  /****************************************************************************/ // Run Another Function /****************************************************************************/ if ($  Function == "InfoFunction"){      if(!isset($  _POST['WhatToKnow'])){         $  WhatToKnow = "Nothing";     } else {         $  WhatToKnow = $  _POST['WhatToKnow'];     }      echo "<div class='success'>SUCCESS: Function Is Working Perfectly And Getting Data ".$  WhatToKnow.".</div>"; }  ?> 

But my code is not working and not hitting my_functions.php file even. Whats the problem here? Need basic step only to work in this patteren. Currently, I am not sure I am even implementing this correctly as I never used WP AJAX before. So right now, my objective is just to get a basic example working. I appreciate any suggestions on how to accomplish this.

Thank you!