How to have allocated pointer and size information along with memory allocation?

when I use heap space, along with the allocation I need the information of 1) allocated pointer, 2) size, 3) line number, 4) file name.

extendMalloc +—+—+—+—+———–+ | 1 | 2 | 3 | 4 | malloc | +—+—+—+—+———–+

When memory is freed, it has to be freed with extendMalloc information.

scp Pseudo-terminal will not be allocated because stdin is not a terminal

I’m trying to perform a scp call to move files between a local computer and my university remote servers.

The flow is to enter the details of the username, then it asks for an OTP password and if it’s correct, then you get asked to your own user password in the remote server.

The basic command I use is: For example – executing SSH:

$   ssh user@gw.cs.huji.ac.il (OTP) Password: ... (IDng) Password:  ###################################################################  You are using river-01 running debian64-5779 Linux  Please report problems to <system@cs>. ###################################################################  Last login: Thu May 23 20:59:31 2019 from 132.65.116.14 The only time a dog gets complimented is when he doesn't do anything.       -- C. Schulz <1|0> user@river-01:~% 

Note the option to create an ssh key is disabled, thus we have to go with this specific procedure.

Now I want to perform an SCP command to transfer “~/foo.txt” in the remote server to “./foo.txt”. I issue the command

scp -o user%river@gw.cs.huji.ac.il:~/foo.txt ./foo.txt 

But I Then get an error which’s related to TTY. Look at this output:

$   scp user%river@gw.cs.huji.ac.il:~/foo.txt ./foo.txt (OTP) Password: 454583 Pseudo-terminal will not be allocated because stdin is not a terminal. 

In other words, instead of asking the second password, it shows the Pesudo-terminal error.

I tried to set -o RequireTTY=force but it didn’t work. Is there any other way to handle this?

Thanks in advance!

magento 2 main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size

I have Magento 2.3.1 on digitalocean plesk panel

It shows error like bellow

[2019-04-22 11:36:49] main.WARNING: Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update innodb_buffer_pool_size or decrease batch size value (which decreases memory usages for the temporary table). Current batch size: 100000; Allocated memory size: 130000000 bytes; InnoDB buffer pool size: 134217728 bytes. [] []

Getting data from dynamically allocated metaboxes within a custom post

I need to dynamically allocated metaboxes for a data entry type feature. Each Metabox represents a set of data associated with member such as name, address, city etc. Not sure what I am doing incorrectly. The metaboxes do display correctly, but when attempting to read the data, it only returns the data for the last metabox allocated.

As a test, I allocated 2 metaboxes, with unique names and tried various methods of naming an individual field as input. This same field is within every metabox, the only thing different is which metabox. From a input point of view, each of these metaboxes will contain different live data, but of the same type. This code below, is back to simple test code. Still no luck. Could really use some help.

function add_manual_form()   {   $  args = array('Index'=>'1');   add_meta_box( 'List_Group1',            __( 'List Records' ),                'TEST_card',                'xxxlist',                'normal',                'high',                $  args              );    $  args = array('Index'=>'2');                 add_meta_box( 'List_Group2',             __( 'List Records' ),                'TEST_card',                'xxxlist',                'normal',                'high',                $  args             ); } add_action( 'add_meta_boxes', 'add_manual_form' ); add_action( 'save_post', 'save_TESTCARD');  function TEST_card($  post_ID, $  Arg) { $  Index = $  Arg['args']['Index'];  ?>  <select name="field1" id="field1" class="postbox">      <option value="">Select something...</option>      <option value="something">Something</option>      <option value="else">Else</option>      <input type="hidden" id="index" name="index" value=<?php echo $  Index; ?>>  </select>   <?php  }   function save_TESTCARD($  post_ID)  { if (array_key_exists('field1', $  _POST))     {    $  InputValue = $  _POST['field1'];    $  Index = $  _POST['index'];    DebugLog($  InputValue);    DebugLog((string)$  Index);    } } 

The debug output log shows the following:

06-03-2019, 06:20:33: else

06-03-2019, 06:20:33: 2

The values for the second metabox.

Could use any insight anyone has.

Extending allocated primary partition with preceding unallocated volume

I tried to make a dual-boot system on my Razer Blade. When I allocated a seperate partition for my Linux installation, I suddenly got a new unallocated partition in front of my Windows partition. Now I can’t merge the C partition with the unallocated space in front of it, nor can I extend the partition to have enough space to be usable with my desired Linux installation. (TLDR) How do I make the unallocated space usable again?

Diskmanager