Admin Menu doesn’t slide out and configuration menue doesn’t open. Also buttons not working

Preconditions (*)

  1. Magento 2.3.1
  2. Ubuntu 18.04.2 LTS
  3. PHP 7.2.17

Working in dev environment and and enabled few optimization parameters which made admin panel inaccessible and buttons were don’t appear correct with proper text , appears shrinked. Admin panels don’t draw out even if does then none of the buttons registers a click and hence I’m not able to change the configurations back. Steps to reproduce (*)

I was trying to speed up my webstore but it created a havoc.

1.Enable JS minify/merge/bundling 2.Enable CSS minify/merging 3.Enable Html minify 4.Enable Embedded Translation Mode for JS translation strategy. 

Tried changing back

1.Enable JS minify/merge/bundling 2.Enable CSS minify/merging 3.Enable Html minify. 

but no avail.

REST API – Standard for also creating required parent entities?

We’re creating a new API to add new Jobs into a legacy system. The question deals with how to handle creating a Job’s required parent entities when you don’t know the IDs of those parent entities to assign to. The structure of when a Job is created is as such:

  • A Job must be assigned to a Project.
  • A Project must be assigned to a CustomerAccount.
  • There is no knowledge of what the ID is of the Project it should be assigned to. This goes by the Project Name instead.
  • Additionally, two CustomerAccounts could have the same Project Name. For that reason, we also need to pass over the Name of the CustomerAccount.

To summarize, we need to create a new Job while also passing over the Project Name and CustomerAccount Name since we don’t have access to the IDs to use. If the Project is not found, one is automatically created then assigned to the Job about to be created.

With this established, the question is: What is the best practice for implementing a REST endpoint that will also create required parent entities?

Our current solution is: POST /jobs/account/{accountName}/project/{projectName} (with the Body containing the JobDTO).

In this scenario, what are some alternative solutions or better ideas to the naming of this endpoint? Thanks in advance.

stCON veriation, Does it also in NL?

Consider the following veriation on stCON desicion problem: Given a directed graph G, for every two different vertcies s and t, there is a directed path between s and t. Intuitively, it seems like this problem is indenticl to the clique desicion problem, for a clique of size n. But is it also belongs to NL?

My Ubuntu18.04 freeze at around 10:41:13 (time) and with no indication, keyboard and mouse also freeze

i tried ctrl alt + f1 , ctrl + alt + f2 , no response, and have to use the reset button to reset the system here are some syslogs , i can’t understand, i didnt reboot immediately but after the freeze, cpu usage at around 12% and free memory at around 69%, no indication, happened 3 times in one day.

syslog:

May 21 10:38:07 xps-ubuntu dbus-daemon[1037]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=1062 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined") May 21 10:38:07 xps-ubuntu systemd[1]: Starting Network Manager Script Dispatcher Service... May 21 10:38:07 xps-ubuntu dbus-daemon[1037]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' May 21 10:38:07 xps-ubuntu systemd[1]: Started Network Manager Script Dispatcher Service. May 21 10:38:07 xps-ubuntu nm-dispatcher: req:1 'connectivity-change': new request (1 scripts) May 21 10:38:07 xps-ubuntu nm-dispatcher: req:1 'connectivity-change': start running ordered scripts... May 21 10:38:08 xps-ubuntu whoopsie[1667]: [10:38:08] offline May 21 10:40:20 xps-ubuntu gnome-shell[1373]: Some code accessed the property 'WindowPreviewMenuItem' on the module 'windowPreview'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. May 21 10:52:21 xps-ubuntu systemd-modules-load[292]: Inserted module 'lp' May 21 10:52:21 xps-ubuntu systemd-modules-load[292]: Inserted module 'ppdev' May 21 10:52:21 xps-ubuntu systemd-modules-load[292]: Inserted module 'parport_pc' May 21 10:52:21 xps-ubuntu systemd-modules-load[292]: Inserted module 'coretemp' May 21 10:52:21 xps-ubuntu systemd[1]: Starting Flush Journal to Persistent Storage... 

kern.log:

May 21 10:26:30 xps-ubuntu kernel: [  237.968095] dell_wmi: Unknown key with type 0x0010 and code 0x0041 pressed May 21 10:26:31 xps-ubuntu kernel: [  238.998171] dell_wmi: Unknown key with type 0x0010 and code 0x0041 pressed May 21 10:52:21 xps-ubuntu kernel: [    0.000000] microcode: microcode updated early to revision 0xb4, date = 2019-04-01 May 21 10:52:21 xps-ubuntu kernel: [    0.000000] Linux version 4.18.0-20-generic (buildd@lcy01-amd64-020) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #21~18.04.1-Ubuntu SMP Wed May 8 08:43:37 UTC 2019 (Ubuntu 4.18.0-20.21~18.04.1-generic 4.18.20) May 21 10:52:21 xps-ubuntu kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-20-generic root=UUID=0286d0a5-46b7-455f-a5ce-8d6e5ed2aa6d ro quiet splash vt.handoff=1 May 21 10:52:21 xps-ubuntu kernel: [    0.000000] KERNEL supported cpus: May 21 10:52:21 xps-ubuntu kernel: [    0.000000]   Intel GenuineIntel  

i’m using dell xps 13 9370 with windows pre-installed and dual-boot with ubuntu, i’m also using a usb-c to USB hub and connected to a bluetooth mouse, at the time when the screen freezes, it also connected with an iphone

How to find the determinant of system of PDE given below. Also explain the character of the system.

Consider a two dimensional fow with Cartesian velocity components u and v. Assume that flow is steady, inviscid, incompressible and irrotational. The governing equations are then mass conservation, equation (1), and the irrotational condition, equation (2), $ $ \frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} = 0 \hspace{0.5cm} \cdots (1)$ $ $ $ \frac{\partial u}{\partial y} – \frac{\partial v}{\partial x} = 0 \hspace{0.5cm} \cdots (2)$ $

How to forward ports via iptables while making that port also being listened?

I’m forwarding a port from my HOST (192.168.1.4@MY_LAN) to my virtual machine (10.0.10.5@HOST) with the following iptables rule:

HOST:~$   iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 10.0.10.5:80 

If I make a request to 192.168.1.4:80 inside MY_LAN, I get the correct response.

However, port 80 isn’t being listened on the HOST:

HOST:~$   netstat -anp | grep 80 | grep -w LISTEN # nothing shown here  

…so I can not connect to HOST:80 within my VPN_SERVER when I connect my HOST to VPN:

VPN_SERVER:~$   curl http://192.168.30.11:80 curl: (7) Failed to connect to 192.168.30.11 port 80: Connection refused 

If I forward the connection with socat, everything works correctly (based on this post):

HOST:~$   sudo socat TCP-LISTEN:80,su=nobody,fork,reuseaddr TCP-CONNECT:10.0.10.5:80 
VPN_SERVER:~$   curl http://192.168.30.11:80 <html> <head><title>Hello world!</title></head> <body> </body> </html> 

Question

How can I get rid of this socat workaround and make this type of connection possible by using only iptables?

Does immunity to ability damage also mean immunity to ability drain?

In the SRD section on Special Abilities, ability damage and ability drain are both grouped under Ability Score Loss, and states that one is temporary while the other is permanent.

Are drain and damage considered the same thing? Does immunity to one mean both? Are there any examples of immunity to each or both that would show they are not the same thing?