Tuesday, November 8, 2011
Friday, October 28, 2011
Debian @Donnu_chemdept
steps to create a office-like PC using vintage hardware (128 MB ram, crt monitors, etc...)
Thursday, September 29, 2011
http://blog.dhananjaynene.com/2008/07/performance-comparison-c-java-python-ruby-jython-jruby-groovy/
probably, I should try to redo it in cython
probably, I should try to redo it in cython
Friday, September 23, 2011
Thursday, September 8, 2011
amazon cluster 2do
Prerequisites: Amazon account, linux system
1. Установить Starcluster
1.1 yum -y install python_setuptools
1.2 easy_install StarCluster
2. Try StarCluster
3. Edit provided images, add gamess to them
The steps I use are:
1. Stop all services like apache, postgresql, memcache
2. Bundle the volume: http://docs.amazonwebservices.com/AmazonEC2/dg/2006-10-01/CLTRG-ami-bundle-vol.html
3. Upload the bundle to s3: http://docs.amazonwebservices.com/AmazonEC2/dg/2006-10-01/CLTRG-ami-upload-bundle.html
4. Register the AMI manifest in ElasticFox
4. launch this freaky thing
1. Установить Starcluster
1.1 yum -y install python_setuptools
1.2 easy_install StarCluster
2. Try StarCluster
3. Edit provided images, add gamess to them
The steps I use are:
1. Stop all services like apache, postgresql, memcache
2. Bundle the volume: http://docs.amazonwebservices.com/AmazonEC2/dg/2006-10-01/CLTRG-ami-bundle-vol.html
3. Upload the bundle to s3: http://docs.amazonwebservices.com/AmazonEC2/dg/2006-10-01/CLTRG-ami-upload-bundle.html
4. Register the AMI manifest in ElasticFox
4. launch this freaky thing
нашел в залежах годичный файл с мыслями
Кот распластался белкой-летягой на сбитом из серых дощечек постаменте для него и пластиковых бутылок и иногда горшков с цветами. Мяукнул о том, что жарко и не хватает ласки.
реквизиты приватбанка для преводов по Украине
Получатель: ПАО КБ ПриватБанк
Код получателя (ОКПО, ЕГРПОУ): 14360570
Код банка получателя (МФО): 305299
Счет получателя: 29244825509100
Назначение: для пополнения карты/счета № ***************, ФИО, ИНН (Ваши данные)
Заполните назначение платежа своими данными и предоставьте отправителю
Код получателя (ОКПО, ЕГРПОУ): 14360570
Код банка получателя (МФО): 305299
Счет получателя: 29244825509100
Назначение: для пополнения карты/счета № ***************, ФИО, ИНН (Ваши данные)
Заполните назначение платежа своими данными и предоставьте отправителю
Saturday, September 3, 2011
Thursday, September 1, 2011
djvu2pdf @ linux
надо скачать djvulibre-bin libtiff-tools
ddjvu -format=tiff yourfile.djvu yourfile.tiff
tiff2pdf -z -o outfile.pdf yourfile.tiff
ddjvu -format=tiff yourfile.djvu yourfile.tiff
tiff2pdf -z -o outfile.pdf yourfile.tiff
Monday, July 18, 2011
Wednesday, July 13, 2011
BlueBubble
Don't need a freaky-bastardy-Gnome3?
http://k3rnel.net/2011/06/22/bluebubble-the-fine-manual/
http://k3rnel.net/2011/06/22/bluebubble-the-fine-manual/
Monday, July 11, 2011
Saturday, June 25, 2011
voice calling over skype
1. install pocketsphinx and its python bindings:
yum install pocketsphinx
2. install skype4py
3. manage to call someone from console
4. use voximp with minor setup to callyour friends
Monday, May 2, 2011
The left side of cell phone
Where is the left side of cell phone?
Most of asked people responded : "the side where "left" for me is a left side of cell phone." But when I turned phone around, its "left" side became a "right" side for observers.
For me, as humans have "left hand", and it will stay left independently of point of observation, so cell phone has a "left side" independently of point of observation. The "left" side is the property of the system.
So, if we're talking about any object by itself (observer and object don't interact), an observer's imaginary point need to be placed inside of the object.
Most of asked people responded : "the side where "left" for me is a left side of cell phone." But when I turned phone around, its "left" side became a "right" side for observers.
For me, as humans have "left hand", and it will stay left independently of point of observation, so cell phone has a "left side" independently of point of observation. The "left" side is the property of the system.
So, if we're talking about any object by itself (observer and object don't interact), an observer's imaginary point need to be placed inside of the object.
Sunday, May 1, 2011
youtube bookmarks
I need to try creating bookmarks to some points of video inside of this video
example:
0.00 introduction
5.12 core part
15.22 conclusions
probably, this item should be placed in the upper right or upper left corners of the video window. if possible, it is to be visible only if user place a mouse in a certain area.
Saturday, April 30, 2011
howto Install windows xp sp1 to the new notebook
my bro can't do this because of lack of drivers at the disk.
this is my plan:1. install it to the VirtualBox
2. install additional drivers to the system
3. install acronis or another disk cloning software to the virtual machine.
5. create a disk image and copy it to the shared folder, or directly to a flash drive
6. boot a live version of the cloning software and copy a disk image to the hard drive
second variant: clonezilla+VmWare
oops.. I've found a brillant HOWTO
Tuesday, April 26, 2011
notes
1. the source of "error 911" @gamess-us was incorrect amount of SysV system memory.
For fixing, I've added this two lines to the /etc/sysct.conf
#add sysV shared memory
kernel.shmmax = 402653184
2. Calling with skype from command line
2.1. install Skype4Py: easy_install Skype4Py
2.2. patch it:
--- posix_dbus.py (revision 284)
+++ posix_dbus.py (working copy)
@@ -43,7 +43,7 @@
else:
import dbus
import dbus.service
- from dbus.mainloop.glib import DBusGMainLoop
+ from dbus.mainloop.glib import DBusGMainLoop, threads_init
import gobject
@@ -72,6 +72,10 @@
# initialize glib multithreading support
gobject.threads_init()
+ # Initialize threads in dbus-glib, if this has not already been done.
+ # This must be called before creating a second thread in a program
+ # that uses this module.
+ threads_init()
# dbus-python calls object.__init__() with arguments passed to SessionBus(),
# this throws a warning on newer Python versions; here we suppress it
2.3. Use script from ubuntu site.
For fixing, I've added this two lines to the /etc/sysct.conf
#add sysV shared memory
kernel.shmmax = 402653184
2. Calling with skype from command line
2.1. install Skype4Py: easy_install Skype4Py
2.2. patch it:
--- posix_dbus.py (revision 284)
+++ posix_dbus.py (working copy)
@@ -43,7 +43,7 @@
else:
import dbus
import dbus.service
- from dbus.mainloop.glib import DBusGMainLoop
+ from dbus.mainloop.glib import DBusGMainLoop, threads_init
import gobject
@@ -72,6 +72,10 @@
# initialize glib multithreading support
gobject.threads_init()
+ # Initialize threads in dbus-glib, if this has not already been done.
+ # This must be called before creating a second thread in a program
+ # that uses this module.
+ threads_init()
# dbus-python calls object.__init__() with arguments passed to SessionBus(),
# this throws a warning on newer Python versions; here we suppress it
2.3. Use script from ubuntu site.
Wednesday, April 6, 2011
Disk failure
After power outage I couldn't log into my second node. Also, I coulnd't reboot it. So, I've booted Fedora liveusb, and tried to find disks with "fdisk -l". It didn't work.
su - and I didn't have to input any pass at all. Wow, I'm root now ^_^
#fdisk -l gave me info that I had /dev/sda1 there as a primary disk. I've checked it with
#fsck -cc
Then I leaved my workplace to digest some food. It took me about hour.
Unfotunately, I didn't choose "yes for all questions" option, so I had to reply "yes, I do want to force rewriting this block" It took another 20 minutes and was really boring.
As a result, I've got a working disk at the moment.
su - and I didn't have to input any pass at all. Wow, I'm root now ^_^
#fdisk -l gave me info that I had /dev/sda1 there as a primary disk. I've checked it with
#fsck -cc
Then I leaved my workplace to digest some food. It took me about hour.
Unfotunately, I didn't choose "yes for all questions" option, so I had to reply "yes, I do want to force rewriting this block" It took another 20 minutes and was really boring.
As a result, I've got a working disk at the moment.
Labels:
cure,
hard drive,
linux
Friday, February 4, 2011
Error while compiling ddi
gcc -DLINUX -m64 -O3 -fstrict-aliasing -I./ -Dgetarg_=_gfortran_getarg_i4 -Diargc_=_gfortran_iargc -DDDI_SOC -DUSE_SYSV -DMAX_SMP_PROCS=8 -DMAX_NODES=128 -o ddi_index.o -c ddi_index.c
ddi_index.c: In function ‘DDI_Fence_check’:
ddi_index.c:344:31: warning: cast from pointer to integer of different size
unset echo
ddi_index.c: In function ‘DDI_Fence_check’:
ddi_index.c:344:31: warning: cast from pointer to integer of different size
unset echo
Tuesday, September 28, 2010
undleting files
recently, I needed 2 recover a folder filled with anime. But i've forgotten what type of video it was. So, I've discovered that only Photorec can recover mkv files from fatX filesystems. Hooray!
Unfortunately, it creates ugly-named files, so, as I don't remember the name of this anime, I'm not able 2 find any subtitles
Unfortunately, it creates ugly-named files, so, as I don't remember the name of this anime, I'm not able 2 find any subtitles
Wednesday, May 26, 2010
FMO and ROHF. Geometry optimization.
I've encountered some problems with this calculation, as some values have wrong default values. I mean, MODORB have to be changed to 3, and MODGRD have to be unequal to 2.
Here is modified input from first tutorial. The number of fragments was decreased from 3 to 2 for the purpose of avoidance of dividing of C-C bond in ethanol. That was made for simplicity.
So, here we've got alcohol and water as two fragments. Suddenly, an electron have passed away, therefore the cation-radical was formed (multiplicity=2, charge=+1). As I had some concerns about ability to calculate gradients with open-shell structures, I've decided to move from energy calculation to RUNTYP=OPTFMO.
Here is modified input from first tutorial. The number of fragments was decreased from 3 to 2 for the purpose of avoidance of dividing of C-C bond in ethanol. That was made for simplicity.
So, here we've got alcohol and water as two fragments. Suddenly, an electron have passed away, therefore the cation-radical was formed (multiplicity=2, charge=+1). As I had some concerns about ability to calculate gradients with open-shell structures, I've decided to move from energy calculation to RUNTYP=OPTFMO.
$CONTRL SCFTYP=ROHF ICHARG=+1 MULT=2 RUNTYP=OPTFMO $END
$SYSTEM MWORDS=20 $END
$BASIS GBASIS=STO NGAUSS=3 $END
$FMOPRP MODORB=3 $END
$data
C2H5OH+H2O
c1
h 1
c 6
o 8
$end
$FMOXYZ
C 6 2.3410689175 -0.2869692888 -0.0074194092
H 1 3.0745859649 0.3772736987 0.4397744143
H 1 2.5665310430 -0.3924000324 -1.0640918137
H 1 2.4261794556 -1.2632979826 0.4595623356
C 6 0.9166901279 0.2761650904 0.1831975319
H 1 0.7235442032 0.4041423414 1.2567611875
H 1 0.8641656999 1.2758468598 -0.2685095421
O 8 -0.0215616632 -0.6201531625 -0.4156796115
H 1 -0.9026816335 -0.1944297425 -0.2534321184
O 8 -2.4493614824 0.5180105259 0.0102319306
H 1 -2.9309841137 0.6564728575 -0.8399969145
H 1 -3.0583517680 -0.1059613981 0.4726454459
$end
$fmo
modgrd=0
nfrag=2 indat(1)=1,1,1,1, 1,1,1,1,1, 2,2,2 $end
As for me, this input works. If we compare the energy of this system before and after electron withdrawal, we'll be able to have ionization energy. Unfortunately, as it depends on the basis set, it is useless as "thing-in-itself".
Labels:
Gamess-US
Tuesday, March 2, 2010
Huckel about Shrodinger
I've just found an amazing poetry quote of Erich Huckel here
Here it is:
Erwin with his psi can do
Calculations quite a few.
But one thing has not been seen:
Just what does psi really mean?
Here it is:
Erwin with his psi can do
Calculations quite a few.
But one thing has not been seen:
Just what does psi really mean?
Labels:
fun,
Huckel,
Schrodinger
Monday, February 1, 2010
Sunday, January 31, 2010
links list
I'm clearing the bookmarks in our PC 'cause my brother is back. So here they are:
http://habrahabr.ru/blogs/i_am_clever/39932/
http://www.ehow.com/how_2855_write-rough-draft.html
http://www.nkj.ru/archive/articles/6068/
http://thermotree.narod.ru/
http://www.world-art.ru/animation/animation.php?id=6741
The Student-engineered Open Textbook: Chemical Process Dynamics and Controls - Creative Commons
Coupling between Protein and Reaction Dynamics in Enzymatic Processes: Application of Grote−Hynes Theory to Catechol O-Methyltransferase - Journal of the American Chemical Society (ACS Publications)
NASA ADS: Electrochemical proton-coupled electron transfer: Beyond the golden rule
Lecture 12: Proton conduction, proton channels, proton wells
Are Anion Radicals Nucleophiles and/or Outersphere Electron Donors? An Ab Initio Study of the Reaction of Ethylene and Formaldehyde Anion Radicals with Methyl Fluoride and Chloride - Journal of the American Chemical Society (ACS Publications)
A Unified Perspective on the Hydrogen Atom Transfer and Proton-Coupled Electron Transfer Mechanisms in Terms of Topographic Features of the Ground and Excited Potential Energy Surfaces As Exemplified by the Reaction between Phenol and Radicals - Journal of the American Chemical Society (ACS Publications)
QuickStart - BOINC - Trac
http://habrahabr.ru/blogs/i_am_clever/39932/
http://www.ehow.com/how_2855_write-rough-draft.html
http://www.nkj.ru/archive/articles/6068/
http://thermotree.narod.ru/
http://www.world-art.ru/animation/animation.php?id=6741
The Student-engineered Open Textbook: Chemical Process Dynamics and Controls - Creative Commons
Coupling between Protein and Reaction Dynamics in Enzymatic Processes: Application of Grote−Hynes Theory to Catechol O-Methyltransferase - Journal of the American Chemical Society (ACS Publications)
NASA ADS: Electrochemical proton-coupled electron transfer: Beyond the golden rule
Lecture 12: Proton conduction, proton channels, proton wells
Are Anion Radicals Nucleophiles and/or Outersphere Electron Donors? An Ab Initio Study of the Reaction of Ethylene and Formaldehyde Anion Radicals with Methyl Fluoride and Chloride - Journal of the American Chemical Society (ACS Publications)
A Unified Perspective on the Hydrogen Atom Transfer and Proton-Coupled Electron Transfer Mechanisms in Terms of Topographic Features of the Ground and Excited Potential Energy Surfaces As Exemplified by the Reaction between Phenol and Radicals - Journal of the American Chemical Society (ACS Publications)
QuickStart - BOINC - Trac
Thursday, January 21, 2010
F*ck the system)) F*ck your self-vision, I mean
I do hate self-control. I mean, I've understood recently that it's better to be not the most efficient person in the world, but the most happy.
Labels:
freedom of soul
Wednesday, January 20, 2010
changing cases
sed 's/[[:lower:]]/\u&/g'
this quick and simple sed command helps in further editing of GAMESS input files.I was suffering of case-sensitivity of sed because I had a lot of GAMESS inputs where 'optimize' could be written as 'Optimize' or 'OPTIMIZE'. So I had to change RUNTYP by hands in a really huge number of molecular entities).
I'm happy now.
I'm happy now.
Thursday, January 14, 2010
PROFESS
PROFESS=PRinceton Orbital-Free Electronic Structure Software
I was interested in it because of ability to compute properties of really huge (10^5 or even more atoms). So, it's a good precision to study protein conductivity. unfortunately, I'm too busy in my daily projects, so the only thing I'm going to do with it currently is writing this post. Probably, I'll read it someday and remember about this interesting approach.
I was interested in it because of ability to compute properties of really huge (10^5 or even more atoms). So, it's a good precision to study protein conductivity. unfortunately, I'm too busy in my daily projects, so the only thing I'm going to do with it currently is writing this post. Probably, I'll read it someday and remember about this interesting approach.
Labels:
dft,
nanomodelling,
orbital-free
Subscribe to:
Posts (Atom)