Categories
Ask Chemistry

Azimuthal Quantum Number

In the radial equation of hydrogen atom the differential equation is described by But why is l taken to be integer

Categories
Ask Chemistry

Relation between the strength of London forces and number of electrons?

As the number of electrons increases in a molecule or atom, is the strength of the London/dispersion forces increased logarithmically? I guessed this because the number of electrons in an atom has no guarantee that a larger temporary dipole can exist in an instant, it just means that there is a chance that you can […]

Categories
Cryptocurrency Ethereum Mastering Development

Error: Could not find truffle/Assert.sol from any sources;

I started a project with truffle init, and I am trying to write a test and I have an import like so: import "truffle/Assert.sol"; I get an error: Error: Could not find truffle/Assert.sol from any sources; How do I fix this? Is Assert a built-in truffle library or do I have to install it separately?

Categories
Mastering Development

SSIS Package runs in Visual Studio but Fails when deployed to Catalog

I have a very simple package where My source and Target is SQL server. I made straight OLEDB source to destination package without any transmission, and it works fine in Visual studio. However, when I deploy it to SQL Server in SSISDB catalog and execute it, it fails. It says the following error as in […]

Categories
Mastering Development

Weird Behaviour on wait() and notifyAll()

I found myself puzzled with this behaviour for wait() and notifyAll(): import java.util.LinkedList; import java.util.Queue; class Producer implements Runnable { Queue<Integer> sharedMessages; Integer i = 0; Producer(Queue<Integer> sharedMessages) { this.sharedMessages = sharedMessages; } public void produce(Integer i) { synchronized (sharedMessages){ System.out.println("Producing message " + i); this.sharedMessages.add(i); } } public void run(){ synchronized (sharedMessages) { while […]

Categories
Mastering Development

React: How can I change the color of my navbar?

I am trying to figure out how to customize my header color in bootstrap and I am unsure how to do so. Usually I use css modules in react to customize my elements [So I would import something like import classes from ‘./header.module.css’] but I want to try to use bootstrap instead. How would I […]

Categories
Mastering Development

How to change dictionary of dictionaries type any [closed]

Hi i am trying to read a csv file where i read all columns and create dictionary of dictionaries. I just get the wrong output and i can’t figure out how to fix this one. I get dictionaries of type any. def read_data_3(File1): Dictionary = {} with open(File1) as file: file.readline() for line in file: […]

Categories
Mastering Development

Firestore != query error: Argument of type ‘”!=”‘ is not assignable to parameter of type ‘WhereFilterOp’.ts(2345)

I have an issue with my typescript compiler that i get error for this query : const xxx = admin.firestore().collection(‘xxx’) .where(‘end’, ‘!=’, timestampDate).where(‘end’, ‘<‘, timestampDate).get(); error : Argument of type ‘"!="’ is not assignable to parameter of type ‘WhereFilterOp’.ts(2345). any solution ?

Categories
Mastering Development

Spring Boot Batch with two Datasources causes javax.persistence.TransactionRequiredException: Executing an update/delete query

I have a spring boot batch project with two datasources, one for the batch tables, one for the business tables. It works fine reading from the business database. My configuration looks like @Configuration @EnableBatchProcessing public class DataSourceConfiguration { @Bean @Primary @ConfigurationProperties(prefix = "spring.datasource") public DataSource dataSource() { return DataSourceBuilder.create().build(); } @Bean @ConfigurationProperties(prefix = "spring.sybasedatasource") public […]

Categories
Mastering Development

How to redirect user requests to another deployment in Kubernetes?

I have the following scenario, I have two deployments on Kubernetes, my first deployment needs to be shut down due to some issue and user requests need to route to the second deployment and then the first deployment will shut down, once the second is up and running. I have a question how would I […]