trace – Sine entry in a list and executed on all other elements

I'm going to make a new list called ListC that every other element is going to have Sin in it. Like that:

12 E^-[Pi], Sin[14 E^-[Pi]], 16 E^-[Pi], Sin[18 E^-[Pi]], etc

These are all the data I have, thanks for the help

`ListeA = Range[12, 64, 2]`
{12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 
46, 48, 50, 52, 54, 56, 58, 60, 62, 64}
ListeB = NRange[ListeA/Exp[[Pi]]]
NRange[{12 E^-[Pi], 14 E^-[Pi], 16 E^-[Pi], 18 E^-[Pi], 
  20 E^-[Pi], 22 E^-[Pi], 24 E^-[Pi], 26 E^-[Pi], 28 E^-[Pi], 
  30 E^-[Pi], 32 E^-[Pi], 34 E^-[Pi], 36 E^-[Pi], 38 E^-[Pi], 
  40 E^-[Pi], 42 E^-[Pi], 44 E^-[Pi], 46 E^-[Pi], 48 E^-[Pi], 
  50 E^-[Pi], 52 E^-[Pi], 54 E^-[Pi], 56 E^-[Pi], 58 E^-[Pi], 
  60 E^-[Pi], 62 E^-[Pi], 64 E^-[Pi]}]

linux – Shell starts in edit mode only. No prompt appears, no command can be executed

My tcsh appears in a weird way. Whether as a login shell or in a terminal, it now always starts with a simple cursor. I can type text in the terminal but that's all I can do. No prompts appear, no linked keys work, nothing.

Help with this problem?

8 – When / how are the text format filters executed / applied?

I was experimenting in D8 with filters on text formats to understand why I couldn't see CSS that I had placed in a block.

Switch on and off Limit authorized HTML tags and fix faulty HTML code and Fix defective and cut HTML I saw that the limit not only was the filter applied to the output, but the results were also saved to the block. This contrasts with the description of the configuration page in text format:

A text format contains filters that change the display of user input

Then when I saw that without any filters, a <:style> the tag has been transformed into <:style type="text/css"> it became clear that CKEditor was also doing its thing …
Indeed, after disabling the editor, the limit the filter only changed the output.

Now my questions:

Is this behavior described as expected? If so, what is the logic?
And, the fact should not be described in the user interface as the activation of a
Does the editor change the behavior of the filter?

Or is it a bug?

performances – The request is executed in parallel but is displayed as blocked by itself

I have a query that runs in parallel with a MAXDOP of 8.
When I watched sp_who2 I see that the same session identifier is repeated several times (> 8) with a different connection identifier.

I have used the query below and I see that the wait type is always the CXCONSUMER wait type.
But I see 130 different exec_context identifiers.

FROM sys.dm_os_tasks dot
    LEFT JOIN sys.dm_os_waiting_tasks dowt
        ON  dowt.exec_context_id = dot.exec_context_id
            AND dowt.session_id = dot.session_id
WHERE dot.session_id = 96
ORDER BY exec_context_id;

enter description of image here

If the request runs in parallel, is its spid different when the load is distributed over a different worker thread?

If I executed a 51% attack, would I broadcast my network status to the nodes?

In the scenario where an entity controls more than 51% of the hash power and wants to build a longer chain where it spends twice previously confirmed transactions, does it broadcast the chain over the network while it is there work?

The alternative scenario I see is the entity working on the chain and only broadcasting it to full nodes to the point where it has passed what is supposed to be the longest chain in existence. This second scenario would seem to me much more detrimental to confidence in Bitcoin if it were withdrawn. Technically, are these two scenarios possible?

keyboard – How to see the commands executed by the keyboard shortcuts

I'm not sure if this exists or not, but I'm looking for a way to see what commands are sent to the operating system each time I press a hotkey combination.

I mapped (via cerebro) cmd+ctrl+f to make the app full screen, and it works for most apps. However, for some applications (like Joplin), this does not work. My thinking is that the keyboard shortcut is mapped to something else at the application level (although I cannot confirm this). I wish I could see what my "computer" (applications, OS, etc.) "hears" every time I execute a key combination

8 – Dependencies of migrations: executed one by one?

I have some migrations in the same group for the type of single multilingual entity. A migration manages a language. I have to make sure that the default migration to English is executed first, then it triggers all others when I execute the migration for the English language via the UI administration of the migration tools module.

Unable to figure out how to go through the dependencies in yml for the default language, because the list of dependencies is processed first. Is there a right way to do it?

buffer overflow – How is malicious code executed on Android devices without the knowledge of its owners?

Battery Exchange Network

The Stack Exchange network includes 175 question-and-answer communities, including Stack Overflow, the largest and most reliable online community on which developers can learn, share knowledge and build their careers.

Visit Stack Exchange

linux – Java application on oc4j: parts work like a program but fail if executed as a service

I'm maintaining a pretty old application based on java 1.4 and the oc4j container on linux. In addition to the problems related to antiquity, I met one for which I can find no explanation. If I run the container manually with /usr/lib/jvm/java-1.7.0/jre/bin/java -jar oc4j.jar The entire application works properly, each of its parts. However, if I run it as a service sudo systemctl start oc4j.service There are parties that fail. The one who gives me headaches throws this fault:

ERROR:        Error code:<> es.gtd.coga.portal.entitylist.ScrollableList.DoStartTag() error  
Error message: Attribute (embdTicketsList) not found 

I understand that this error has little help because it is typical of the application, but there is absolutely nothing in the logs. It occurs immediately when running a function (generate and publish report), which does not happen by running the application manually. If anyone knows what can happen, it would be helpful.

7 – The D7 form submission reminder function is not executed in the form added in the node

So, in my module file, I have a form function

function mysimple_form($form, &$form_state) {

    $form('#method') = 'get';
    $form('#action') = '/buy/{_val_}';
    $form('search_location') = array(
        '#type' => 'textfield',
        '#title' => 'Search',
        '#default_value' => t('kathmandu'),
        '#size' => 60,
        '#maxlength' => 128,
        '#required' => TRUE,
        '#attributes' => array(
          'placeholder' => t('Search')
    $form('submit') = array(
        '#type' => 'submit',
        '#value' => t('Search'),
    $form('#submit')() = 'mysimple_form_submit';
    return $form;

And I have the callback function

function mysimple_form_submit($form, &$form_state) {

and i'm calling my listing in hook knot mode as below

function mymodule_node_view($node, $view_mode, $langcode) {

     $form = drupal_get_form('mysimple_form');
     $node->content('simpleform') = array(
        '#weight' => -1,
        '#markup'=> drupal_render($form)

The form is perfectly displayed, but the callback function does not seem to work.
I've tried variants like

$form('actions')('#submit)() = 'mysimple_form_submit';


$form('actions')('submit')('#submit)() = 'mysimple_form_submit';

None of them calls the reminder sending function, hence sending this question.