Tag: Status

While physicists have tried several times to derive the Born rule (for example: https://arxiv.org/pdf/quant-ph/0409144.pdf). I was wondering what axiomatic quantum mechanics has to say about that. Is it basically impossible to derive the rule of birth, or is there hope?

Here is a link of great discussion in the same sense:
https://www.math.columbia.edu/~woit/wordpress/?p=10533&cpage=1

I suspect Lubos Motl was somewhat of the opinion that the measurement should be its own basic axiom. If so, do I suspect that it becomes a problem to show that there is no non-redundant axiom when the Born Rule is included?
https://motls.blogspot.com/2018/09/woit-and-probability-in-quantum.html

When I try to paste the following code into the functions.php file, I keep getting errors (the site goes off and seems to indicate a PHP error).
I've been staring at this code forever and can not figure out why there should be a mistake when added to functions.php.

Currently, I have set up a document workflow to send participants of a task an email with a specific task to review and approve a document. In the email, I've added a link to the page where you can approve / reject the document. My problem, however, is that once users click Accept or Decline on the form, they will be redirected to the to-do list for the SharePoint site that I do not want.

Instead, I'd like you to be redirected to the workflow status page for the document you approve. I was trying to set the URL in the String Builder to [% Current Task: Form_URN%] & Source = [% Workflow Context: Workflow Status URL%], since I thought this would simply direct the user back to the source URL but that did not work. I received an error related to the workflow instance id.

I'm not sure why that does not work. Is this solution possible? And if so, can it be implemented with SPD and not with code?

I think most people have read the quote about using local states when they are not needed globally.

Use "react" for short-lived states that are not relevant to the app globally
and does not mutate in a complex way. For example, switching in a user interface
Element, a form input state. Use Redux for the status that matters globally
or has mutated in a complex way. For example, cached users or a post
Draft.

This corresponds to my application. I do not need other components to know my editing status or save it for later. My redux status only matches the data stored in my backend.

But I found out that this can be a bit tricky. This is the pattern I used –

As I understand it, ThingForm is completely detached and appended when retrieved, and it has the right values. If I do not render conditionally, the status is reset to the default settings before it is returned by the API / Redux selector and never refreshed.

That seems fragile and I'm not a fan of it. Also, I've read that copying props is an anti-pattern, which I essentially do.

Is there a good pattern for using the local state when retrieving the database state from the API in Redux?

Yesterday I ran a query directly on my phpmyadmin of my server. This query works on my localhost and I want to test if it works well on the old data on my server. Here is the query;

SELECT a.*, SUM(d.due_to_supplier) AS due_to_supplier, SUM(d.due_to_office) AS due_to_office, SUM(d.due_to_outlet) AS due_to_outlet, SUM(d.due_to_seller) AS due_to_seller, SUM(d.credit_card) AS credit_card, b.description, c.FirstName FROM sales_entry_summary a, sales_products b , user_account c , sales_entry d WHERE a.product_id = b.product_id AND a.ses_id = d.ses_id AND a.seller_id = c.UserID AND a.sales_date BETWEEN '2019-09-05' AND '2019-09-05' AND (c.FirstName LIKE '%%' OR a.particulars LIKE '%%' OR a.reloc LIKE '%%' OR a.lead_name LIKE '%%') AND a.product_id IN (2) OR a.psub_id IN (2,6,103) GROUP BY a.ses_id

My phpmyadmin just keeps uploading and I know something is wrong. I open another tab of phpmyadmin and try to execute another query and it worked. Then I tried to execute the same query and phpmyadmin is still hanged. So I closed my phpmyadmin in the hope that it kills my SQL queries. However, MySQL consumes so much CPU utilization when checking my server usage. Which I suspect was the hung query I'm running. I tried to look up the MySQL process list and found this.

MySQL Processlist Image

There is the query that I have executed several times and that still has the status "send data" after a long time.

How can I prevent this query from being executed? And why did that happen? My request on my localhost works fine.

I have an application on ReactJSIf it is possible to add maps with specific settings, type descriptions, or a task to perform, I would like to know how to keep the page status so as not to lose these added maps, such as the map. B. when reloading the page or when opening again the application.