Categories
Mastering Development Software

Auto-refreshing web resources — JavaScript SPA best practices

I have a resource that is fetched and displayed to users via the browser fetch API in an SPA. The details of given items in the resource list and the order/membership of the list changes often. I will give users the ability to manually refresh, but I am curious if anyone has experience designing a […]

Categories
CMS Magento Mastering Development

Admin form not pulling through form values when turning collapsible to tabbed form using ui form xml

I’m working on an admin ui form https://github.com/DominicWatts/Announce/blob/hotfix/tabs/view/adminhtml/ui_component/xigen_announce_group_form.xml I’ve added tabs In order to get the tabs working I’ve removed the <item name=”template” xsi:type=”string”>templates/form/collapsible</item> from the XML My form elements have changed from <input name=”name”> to <input name=”general[name]”> Which makes sense However when editing a record the form fields now appear blank. I’ve forgotten a […]

Categories
CMS Magento Mastering Development

How to improve the php memory limit in Magento Cloud?

I’ve installed a Magento Cloud 2.3.5 and I don’t have access to the server configuration. How can I configure a new PHP Memory Limit?

Categories
Ask Engineering

CMOS NOT gate output

Can somebody please tell me why do we have those tiny random spikes on the output signal? And why does the input wave behave like in the picture when we reduce the frequency of the noise source to 1kHz?

Categories
Ask Engineering

Difference between “cladding” and “traces” in PCBs?

I am kind of confused about, the difference between copper traces and copper cladding in PCBs. Are they the same thing? Is it necessary for a PCB to have them?

Categories
CMS Magento Mastering Development

Folder and file structure for state restriction module in Magento 2.3

I am new to Magento and am using the following “how to” guide to create a state restriction module in my Magento 2.3.3 instance: https://www.dckap.com/blog/how-to-restrict-specific-us-states-in-checkout-magento-2/ I am confused as to what to name the file at the end of step 1 that belongs in this folder: Dckap\CustomerAddresses\Model\Config\Region\RegionInformationProvider Additionally, I need to override Magento\Directory\Model\ResourceModel\Region\Collection in step […]

Categories
Ask Engineering

Do I multiply charge current by number of battery packs when charging in parallel?

Im trying to charge these 1S3P LiIon 18650 Battery Packs with this battery charger using this parallel connect plate. Can I just multiply single pack charge current by however many battery paks I connect in parallel to determine the charge current? (example: single pack 8A, so 3 packs 24A?) Also, if the charge current is […]

Categories
CMS Magento Mastering Development

How to exclude a specific categories from tax calculation?

In my country there’s a specific items that doesn’t have Tax on it. How to exclude these products categories from calculating tax on them in Magento 2.3.2 Regards.

Categories
Ask Engineering

Electric frequency conversion from very low frequencies

I have designs for diy home generator that at the scale I’m currently building will output a very small amount of power at a very low frequency, varying between <1 and ~2 hertz using 2 pole magnets. I’m going to want to convert that into a usable frequency, so a huge jump to 50 or […]

Categories
CMS Magento Mastering Development

Correct way to change core module code

I have one line of code in a core module (contact) in which I need to change. What is the correct way to make the change to change/overwrite this file?