module – Magento 2: Custom Order Date and Shipping Amount in Programmatically created Order

module – Magento 2: Custom Order Date and Shipping Amount in Programmatically created Order – Magento Stack Exchange

magento2 – How to set order status in magento 2

 $orderId = 1; // here order id

$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$order = $objectManager->create('MagentoSalesModelOrder')->load($orderId); 


public function __construct(
    MagentoSalesModelOrder $order
    $this->order = $order;
public function updateorder(){
    $order = $this->order->load($orderId);

first order logic – Validity of formulas in very specific alphabet

Let $Sigma = {c_1, c_2, R(cdot,cdot) }$ be alphabet in first order logic without $=$ where $c_1,$ $c_2$ are constant variables and $R$ is binary relation.
let $varphi$ be a formula without quantifiers such that $FV(varphi)={x}$.
prove or disprove:
if the first-order sentence $exists ,x,varphi(x)$ is valid, then there exist variable $s$ $(sin{c_1,c_2})$ such that $varphi(s/x)$ is valid.

I tried to both prove and disprove, in both cases I failed.
When I tried to disprove, I tried to think of formulas $varphi$ such that $exists ,xvarphi(x)$ were valid, but for such formulas the claim was indeed correct.

So I tried to prove, I had an idea to use Herbrand model and the ground instances to come to some conclusion, but I could not move on from there.

I tried other things but I do not speak English and it is difficult for me to translate everything I tried. I really appreciate the helpers!

Magento 2 – how to obtain list of order ids where status is processing

How to obtain list of ids or simply list of orders where the status = processing
using objectManager ?
(in external script)

architecture – Order Management Microservice design pattern

One approach that works very well with transaction based interactions (like order management, supply chain management, stock trading, etc) is Event Sourcing. With an Event Sourced architecture, your event stream is your model. You then can project that stream of events into the forms that better meet your query and display needs.

In this approach, every order will have its own Event Stream (list of events from the beginning of the order to its completion).

This architecture works well with Command Query Responsibility Separation (CQRS) where Commands perform all the validations and preparatory work needed for your business process, but the end result is appending a message to the Event Stream for your Order.

Naturally, the concept of an Event Store has come up to derive the need of persistence. The Event Store will store the chronological stream of events for each Event Stream so they can be replayed.

If you combine the two you have a very powerful architecture. You can have separate microservices for the business logic side of things and the display side of things. The business logic is done in Commands, and writes events to the appropriate Event Stream into the Event Store. The view side of things reads from the Event Store the events not processed in the Event Stream, and Projects it into a database (RDBMS, graph, document, search) that is better suited for querying. That allows you to scale the writes and views separately if that’s needed.

If necessary, you can build new Command microservices for each of the new responsibilities. Those commands perform the validations and additional logic needed to make sure the process is done correctly, and the end result is an Event in the EventStream to record that the work has been done.

Critical aspects of Event Sourcing:

  • Events are in Past Tense, indicating work that has already been completed
  • Projections (in functional languages, a left fold) transform the Event Stream for display or query purposes
  • The Event Stream is your authoritative state

Distinction between Event Sourcing and Event Driving:

  • Event Driven architecture has events in Present Tense, and reflect commands that will be handled by another service
  • Event Sourced architecture has events in Past Tense, reflecting that the work has already been done (AKA facts)
  • Event Sourcing does not require sending events over a queue, a similar effect can be had by having other services query a shared event store


  • Work can be distributed among many microservices that handle one function, allowing you to distribute logic appropriately
  • The Event Stream doubles as an authoritative audit log


  • Event Versioning is something that you have to consider carefully
  • There can be conflicting events, requiring human review–particularly in a distributed environment

NOTE: CQRS is not necessary with Event Sourcing, but it fits naturally and works well with it. Many examples you find with Event Sourcing is coupled with CQRS.

Sticky Topic x2 Order


I purchased a Sticky Topic for 5000FP$ through Account Upgrades. Only after purchasing did I notice it’s some kind of subscription. Can I kindly request that either @Lämmchen @ChrisGrigg @Malcolm or @Cam! cancel the recurring subscription and Sticky My Topic and mark it as a [Sponsor] for one month please? The topic is my promotional directory topic…

Read more

Second order elliptic PDE problem with boundary conditions whose solutions depend continuously on the initial data

Consider the following problem
-Delta u+cu=f,&xinOmega\

where $Omegasubseteqmathbb R^n$ is open with regular boundary, $cgeq0$ is a constant, $fin L^2(Omega)$ and $g$ is the trace of a function $Gin H^1(Omega)$. If we consider $u$ a weak solution to this problem, and define $U=u-Gin H_0^1(Omega)$, it is easy to see that $U$ is a weak solution to the following problem
-Delta U+cU=f+Delta G-cG,&xinOmega\

It is also easy to see that we can apply Lax-Milgram theorem with the bilinear form
and the bounded linear functional
$$L_f(v)=int_Omega(f-cG)v-int_Omegasum_{i=1}^n G_{x_i}v_{x_i}$$
to conclude there exists a unique weak solution $U$ to the auxiliary problem defined above. If we define $u=U+Gin H^1(Omega)$, it is clear then that this function will be a solution to the original problem.

Now to the question: I would like to prove that this solution $u$ depends continuously on the initial data, that is, that there exists a constant $C>0$ such that
$$lVert urVert_{H^1(Omega)}leq C(lVert frVert_{L^2(Omega)}+lVert GrVert_{H^1(Omega)})$$
I feel that the work I have done to prove that $L_f$ is bounded should be relevant for our purposes, because
$$lVert urVert_{H^1(Omega)}leqlVert UrVert_{H^1(Omega)}+lVert GrVert_{H^1(Omega)}$$
$$lVert UrVert_{H^1(Omega)}leq C B(U,U)^{1/2}= C|L_f(U)|^{1/2}$$
The problem is that I don’t know how to manipulate $L_f(U)$ to obtain the result. I have managed to prove a completely useless inequality, for it involves the norm of $U$.

I would appreciate any kind of suggestion. Thanks in advance for your answers.

P.S. The problem is that a priori $Delta G$ doesn’t have to be in $L^2(Omega)$, which makes it hard to use the $H^2$ regularity of $U$ (which would solve the problem instantly).

P.S.S. Also posted this question in SE.

Show Tire Price In Descending Order

Is there way to show magento 2 tire price in descending order?Like in picture.The maximum Disocunt row come at top .

enter image description here

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive New Proxy Lists Every Day Proxies123