Categories
Ask Chemistry

Pharmacology question regarding allopurinol shelf life

Assuming that the proper storage conditions are met, what is the theoretical shelf life and half life of zyloprim (allopurinol)? The debate this is referencing is about non-life saving drugs that are critical for quality of life/function. Given that there are no toxicity alerts due to expiration what is the potential stability with regards to […]

Categories
Ask Chemistry

How to use Clausius-Mossotti equation to determine the molecular structure of a compound?

A question in my exam came as follows: Explain the Clausius-Mossotti equation. How is it used in establishing the molecular structure of a compound? I have studied the Clausius-Mossotti equation and I know how to derive its expression. I know that it deals with the Dielectric Constant, Molecular weight of the given molecule, the Density […]

Categories
Ask Chemistry

Free energy calculation

Calculate the reaction free energy of H2(g) + I2(g) 2HI(g) when the concentrations are 0.006 mol L-1 (H2), 0.03 mol L-1 (I2), and 1.27 mol L-1 (HI), and the temperature is 700K. For this reaction Kc = 54 at 700 K. +52,100 kJ mol-1 +52 kJ mol-1 -29.8 kJ mol-1 +29.8 kJ mol-1

Categories
Cryptocurrency Ethereum Mastering Development

How to debug truffle compile obscure error – run.js:51:1 at

Trying to compile an out of the box project (simple clone) and getting this obscure error… Any suggestions on how to debug this, turn on compiler verbosity etc? truffle compile … <long list of compiled items> … Compilation failed. See above. at run (C:\Users\user\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\compile-solidity\run.js:51:1) at <anonymous> Truffle v5.1.45 (core: 5.1.45)

Categories
Mastering Development

Recreate Excel formula in SQL

I am trying to recreate the below Excel formula/table and have True/False display but am stuck. Excel Formula: =ABS(ROUND(MEDIAN(C$2:C2),0)-ROUND(MODE.SNGL(C$2:C2),0))<[sample.xlsx]variables!$B$2 I have 200+ rows of data and I need the Median and the Mode only calculated from the first row to the current row. I can create the Median for all rows in SQL, but this […]

Categories
Mastering Development

How to reuse autocalculated property in Pyventory?

I have the following assets defined in my inventory class App(Asset): hostname = "{name}.{base_domain}" class Service(Asset): hostname = "{name}.{base_domain}" I would like to reuse the logic of the hostname property in the Service asset using its values.

Categories
Mastering Development

how to install networkx package on CPython

I have installed CPython [1] on my local machine (macOS Catalina, v. 10.15.4) to speed up computations for function optimize_graph_edit_distance in networkx package. Before, I was running the code on Python3, which takes a lot of time. However, when I run the code with CPython (the alias for CPython is python3), I obtain the following […]

Categories
Mastering Development

Runtime.ImportModuleError: Unable to import module ‘lambda_function’: No module named ‘httplib2’

I am have installed all these libs: google-api-core 1.22.1 google-api-python-client 1.10.0 google-auth 1.20.1 google-auth-httplib2 0.0.4 google-auth-oauthlib 0.4.1 google-cloud 0.34.0 google-cloud-core 1.4.1 google-cloud-storage 1.31.0 google-crc32c 1.0.0 google-resumable-media 1.0.0 googleapis-common-protos 1.52.0 httplib2 0.18.1 to a folder –> zipped it –> uploaded to AWS lambda’s layers. However, I keep on getting [ERROR] Runtime.ImportModuleError: Unable to import module ‘lambda_function’: […]

Categories
Mastering Development System & Network

ESXi 6.0 Consolidation

I had a snapshot that had eaten the free space in a datastore. I deleted the snapshot and now the snapshot manager is empty but I see delta disks and disks such as -0002.vmdk,… -0005.vmdk etc are still in the datastore. I made consolidation (as it recommends in such cases) but get an error Consolidation […]

Categories
Mastering Development System & Network

Second subdomain ignores DirectoryIndex and uses default domain index file

I’m running an apache2 web server that came pre-installed on debian. Apache configuration hosts file is: <VirtualHost *:80> ServerName domain.com ServerAlias www.domain.com DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/error.log combined </VirtualHost> <VirtualHost *:80> ServerName sub1.domain.com ServerAlias www.sub1.domain.com DocumentRoot /var/www/sub1/public_html DirectoryIndex sub1.php ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/error.log combined </VirtualHost> <VirtualHost *:80> ServerName sub2.domain.com ServerAlias www.sub2.domain.com DocumentRoot /var/www/sub2/public_html DirectoryIndex […]