Categories
Ask Chemistry

Conversion of a wedge-dash model into Fischer Projection

The question I am trying to solve involves this structure. It asks to convert this model into its Fischer projection and then find the enantiomer for it. This is what I got. However the answer given for the enantiomer is :- What am I doing wrong here? I checked the Chemistry.SE questions and the closest […]

Categories
Linux Mastering Development

low disk space on filesystem root fedora 32

Today my Fedora 32 operation system give me tips that : low disk space on filesystem root fedora: this tips make me surprise,with my limit experience,not like windows partition, the linux root system contains all file system,I have 1TB SDD and I am very sure the disk space is low pressure.what should I do to […]

Categories
Artificial Intelligence (AI) Mastering Development

How exactly does Nested Cross Validation work?

I have trouble understanding how nested cross-validation works – I understand the need for two loops (one for selecting the model, and another for training the selected model), but why are they nested? From what I understood, we need to select the model before training it, which points toward non-nested loops. Could someone please explain […]

Categories
Mastering Development

How do I set the left bar button item to be filled in black with a transparent Navigation Bar?

This is what I want. This is what I have. I want the ‘X’ to be filled in black. How do I do that while at the same time maintaining a transparent navigation bar? import UIKit class ViewController: UIViewController{ override func viewDidLoad() { view.backgroundColor = .brown let mark = UIImage(systemName: "xmark.circle.fill")! navigationItem.leftBarButtonItem = UIBarButtonItem(image: mark, […]

Categories
Mastering Development

copy value from one subgrid another subgrid in dynamic crm

How to copy records in subgrid one page to another page subgrid with same entity .I have one opportunity form in this form i created one button in this click it will open same opportunity from i want to copy data from first opportunity page to other page i copied all tetbox,dropdown,lookup values i used […]

Categories
Mastering Development

DispatchQueue.main.asyncAfter repeatedly called in iOS 14.0 Beta

This below code for the delay is working well in below iOS 14.0, but in iOS 14.0 simulator, it’s repeatedly calling for every 2 seconds. Is there anything I missed it? DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) { // Change `2.0` to the desired number of seconds. // Code you want to be delayed } Here I […]

Categories
Mastering Development

How do I prevent an unexpected disposal of Streams? (StreamReader, FileStream…)

I have some code where I’m trying to read a line within a Mainframe file before I download it from the host. I create an instance of the Stream class as an object called reader, retrieve the FTP data stream from the host and place it into the Stream object, and then create a copy […]

Categories
Mastering Development

why my appended list is overwriting I mean the previous appended element is changing?Can I know why

I tried this code created a function and again callimg the same fuction until x<5 def appen(m,x): print(m) l1.append(m) print(l1) while(x<5): m.append(x) appen(m,x+1) break; input for the above function i/p :input n=[] l1=[] appen(n,1) Actual output o/p [] [[]] [1] [[1], [1]] [1, 2] [[1, 2], [1, 2], [1, 2]] [1, 2, 3] [[1, 2, […]

Categories
Mastering Development

Flutter SDK is not found specified locationFlutter SDK is not found specified location

enter image description here enter image description here I don’t know what to do I have been trying for 3days I think I have done everything right I have seen many solutions here but nothing worked

Categories
Mastering Development

Tensorflow 2.0 how can I get an expectation of MSE when given a probabilistic output and targets (true values)

mu = Dense(2, activation=’sigmoid’)(all_dense_2) sigma = Dense(2, activation=None)(all_dense_2) sigma = Maximum()([all_dense_2, tf.zeros_like(sigma)]) distribution = tfp.distributions.Normal(mu, sigma) I have the mean and variance of my predicted distribution, and I have the targets of my model. How do I write a loss function to minimize the Expected Mean Squared Error of my distribution, with respect to my […]