Uncategorized

Magento 2.4.6. Unable to output data to json

I have a problem with the json output when sending a request to the API. I receive data in this format: "{\n \"name\": \"John\",\n \"age\": 30,\n \"car\": null,\n \"address\": {\n \"street\": \"123 Main St\",\n \"city\": \"Anytown\",\n \"zip\": \"12345\"\n }\n}" I need the data in this format: { "name": "John", "age": 30, "car": null, "address": { […]

Will anything break if prone crossbow-wielders get advantage instead of disadvantage?

Being prone imposes disadvantage on attacks, which makes sense for melee weapons and traditional bows. However, for things like crossbows and firearms, laying prone seems like it should have the opposite effect. The additional support and bracing received by laying on the ground would serve to stabilize one’s aim, and traditionally sharpshooters in militaries worldwide […]

Uncategorized

Random shutdowns/access log

I have recently installed Ubuntu 22.04 on my desktop. All went well at first but now every once and awhile my system restarts or freezes. Usually it restarts. After it restarts there is a log that shows up just before the boot. The log says that there is a hardware issue and it appears its […]

Some questions about a special semiscalar product

Define the semiscalar product [x,y] by $ $ [x,y]=\inf_{t>0}\frac{1}{2t}[||x+ty||^2-||x||^2].$ $ E be an n.v.s. I donot know how to prove that 1.$ [x,\lambda x+\mu y]=\lambda||x||^2+\mu[x,y]\ \forall x,y\in E,\lambda\in\mathbb{R},\forall \mu >0.$ 2.$ [\lambda x,\mu y]=\lambda\mu[x,y],\forall x,y\in E,\forall\lambda,\mu\geq 0$ I probably understand that this semiscalar product is similar to an inner product, but I only have trigonometric […]

Canon EF 40mm f2.8 consistently sharp across the frame?

Does the EF 40mm f/2.8 lens give sharpness not just at the center but also to the periphery most of the time..? In comparison with the 50mm f/1.8 STM which only very sharp at the center..? I have done some research on the web and found myself ambivalent whether or not I can answer the […]

How do I add URP lighting reaction to the following handwritten shader?

I’m on Unity. I’m not very experienced with shaders nor shader graphs, but I managed to get this one to work on URP. Currently I’m changing the light intensity or brightness "manually" with the _LightIntensity variable. But this shader applied to a material in a sprite renderer is not being affected by URP 2D lights, […]

Htaccess won’t work with RewriteMap

When the URL link is changed in the administrative panel, and a new map is generated for Apache, I’m encountering an issue with the .htaccess file configuration and RewriteMap. In my Apache configuration, I have a defined RewriteMap function that maps the URL segment ‘dystrybucja-i-logistyka’ to the variable ‘logistyka,’ with a constant value of ‘1’. […]