Pages

Battle of the element: Physics World

Physics world started a discussion to chose favorite element. Nine editors chose favorite element
Tweets were used to share common peoples favorite.

The nominations include

Round #1
Gold
Silicon
Uranium

Round #2
Carbon  
Technetium
Helium

Round #3
Iron
Lithium
Nitrogen

The winner is Carbon.

My favorite is also carbon. I have reasoning to choose Carbon. For those who know recent developments in carbon nanomaterials such as carbon fullerenes, carbon nanotubes, graphene, graphene nanoribbons, carbon nanoflakes, etc, there is no need to explain about the versatility of carbon.

Apart from these, carbon is central to our body. Organic chemistry, most of the living things contains abundant carbon.



ImageMagic convert error: convert:not authorized `***` @ error/constitute.c/ReadImage/


Recently I got an error while converting from .tiff to .eps (Ubuntu 16.04 machine). This error happened for other file formats also. 


convert:not authorized `fileName.tif` @ error/constitute.c/ReadImage/***
convert:not authorized `fileName.pdf` @ error/constitute.c/ReadImage/***
convert:not authorized `fileName.png` @ error/constitute.c/ReadImage/***

A quick googling gave follwing solution.

Go to /etc/ImageMagic-c/

In this directory, edit the file policy.xml by using

sudo vi policy.xml

and edit the following lines.


<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="read|write" pattern="EPS" />
<policy domain="coder" rights="read|write" pattern="PDF" />
<policy domain="coder" rights="read|write" pattern="TIF" />
<policy domain="coder" rights="none" pattern="XPS" />


Note that I wanted to convert TIF file. So I added the line
<policy domain="coder" rights="read|write" pattern="TIF" />

So, by adding "read|write" in the rights option, it the ImageMagic convert will work now.

But, after doing your job, it is better to change to rights="none" because of the security issue (which the actual reason for disabling)


Track internet usage in Linux

Ubuntu linux comes with vnstat installed. 

Just type 

vnstat

You will get following output.

                     rx      /      tx      /     total    /   estimated
 enp5s0: Not enough data available yet.
 enp4s0:
       Jun '19     61.09 GiB  /    1.80 GiB  /   62.88 GiB
       Jul '19      4.96 GiB  /  173.10 MiB  /    5.13 GiB  /   96.49 GiB
     yesterday      3.31 GiB  /  134.80 MiB  /    3.44 GiB
         today      1.65 GiB  /   38.30 MiB  /    1.69 GiB  /    2.61 GiB

To know more on how to use this command, type

man vnstat

Superconductivity at 250 K in LaH10 170 GPa

Recently, Nature published a paper titled "Superconductivity at 250 K in lanthanum hydride under high pressures" authored by Drozdov et al 2019 [Nature 569, 528–531 (2019)]


Special characters and symbols from MS Word

We might have come across some situation where we need some specific symbol and we don't now where it is in the symbol section that is provided by the Microsoft Office.

Here, is a way to get your special chearacter.

chi - this is a Greek letter and can be obtained using
Alt + 967   (press Alt key + 967)

insert - equation -
insert - object - get the best symbol.

List of Questions in DFT and answers (for some Qs)


The questions span a wide topics in Physics or sometimes other subjects also. Whenever possible, I try to answer in a separate post and give links to related materials to these question. To see the answer page, click the link ANSWER given at the end of the question.
  1. A multi-electron wave function should obey Anti-symmetric priciple, i.e. the sign of the wave function should change sign if two electrons are interchanged (or swapped). Does Kohn-Sham orbitals obey this principle? Is there any description related to this? ANSWER

Peer-review: What it is like?

How is peer-review like?

Most of the time peer-review improves the manuscript. Here is an illustration (credit:redpenblackpen.jasonya.com) of how peer-review improves your manuscript. Originally, you submit a decent paper and if the manuscript is reviewed properly, surely it will transform your decent manuscript to a luxury car.



While peer-review some times gives so much pain for the authors, peer-review methodology works well.
"Yes. Exceptions too. There are so many research works which at the end got Nobel prize where initially rejected by peer-reviewers (as well as editors). A most recent example would be the first report on the atomically thick, 2D material cleaved from graphite known as Graphene. Firstly, the authors submitted the paper to Nature and it was rejected. Then, the authors made a minor revision in the paper and submitted to Science and it was published. Within 5 years after the publication of this paper, Nobel prize was awarded." This kind of rejections will be covered in another post.

But, here we are going to see so many examples where peer-review system is not that bad.




You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...