Categories
CMS Drupal Mastering Development

How to implement a submodule in Drupal 8?

I can’t find anywhere documentation on how to create a submodule inside of a module in Drupal 8. I have created a custom module for translations that I am trying to enable as a submodule. In the main module, can I simply create a sub_modules folder and inside place my submodule? Such as the submodule.info.yml […]

Categories
User Help Web Apps

Gmail displays the order of attachments differently

I have attached the documents in a particular order and then sent the email. But when I go to “Sent” section and see the email then the attachments are shown as a preview in some random order instead of the order I attached them. Is it possible to change this? Please note that this is […]

Categories
Ask Chemistry

What are the factors contributing to ring strain?

what are the factors affecting ring strain (ring size is obvious) couldn’t think of any other apparently there are more,so can you list them all and also answer the question in image.So according to ring size a should have least ring strain as compared to others and c would have largest ring strain among these […]

Categories
Mastering Development Software

Should I use JavaScript or Python to automate clerical work in IE11?

I work in a hospital and my staff and I must fulfill hundreds of repetitive, financial tasks in our company platform on a daily basis. The task that we deal with the most requires us to approve/reject payments to contracted professionals, which requires us to do the following: Open the task Drill down into the […]

Categories
Artificial Intelligence (AI) Mastering Development

How do I format task features with a one-hot task identification vector to ensure separate weight matrices for each task in multi-task RL?

I am on Lecture 2 of Stanford CS330 Multi-Task and Meta learning, and the professor describes using a one-hot input vector to represent the task, and she also explained that there would be independent weight matrices for each task My question is: How is the input to a multi-task network encoded as to allow the […]

Categories
Linux Mastering Development Ubuntu

After switcing layout it’s again switched back

I’m using Ubuntu 18.04. I like the idea of switching layout using left and right Shift keys. Quick tap on left Shift key enables layout 1, quick tap on right Shift key enables layout 2. There weren’t any problems to bind custom script that changes layout on any Shift key when I used Ubuntu 16.04. […]

Categories
Linux Mastering Development Ubuntu

Issues installing and using BCM43142 broadcom wireless network

The most recent “fixs” that I have found and tried to no avail. sudo apt update sudo apt dist-upgrade reboot no luck, also tried. sudo apt-get update sudo apt-get install broadcom-sta-dkms reboot no luck again as well as others that have seemed to fix the problem for other people but still not me. I have […]

Categories
Linux Mastering Development Ubuntu

Script writing for a random number generator with if and else condition

I have wrote 2 scripts thanks for everybody for helping me in that. Now I want to write a script to run these 2 scripts randomly with a ratio of 1:4. My files are named 1.sh and 2.sh. I want to generate a number from 1 to 4. and then to use the if condition […]

Categories
Linux Mastering Development Ubuntu

Delete directorys listed in file

I am trying to delete folders what containing files with command. I have folder names i want to delete in files.txt It works with echo, i see right commands but without echo dosnt delete directory. I am using this: xargs -I{} echo rm -fr /home/directory/{} </home/directory/list.txt answer i get with echo is: rm -fr /home/directory/”name […]

Categories
Linux Mastering Development Ubuntu

routing packets to default gateway

I’ve got two networks (NET0, NET1) and my default gatway to ISP is in NET0. Routing between NET0 and NET1 is done by an Ubuntu Server (GATEWAY1). Everything works fine, all hosts in NET0 and NET1 are reachable from both networks. But if a host in NET1 tries to open a connection to a host […]