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

gnuplot - text mode

gnuplot + set terminal dumb
And we can have lots of fun even without X system

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.

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.

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.

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

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

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.

$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".

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?

Monday, February 1, 2010

du -sh [folder]
it will give you a folder's size

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.

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.

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.

Sunday, December 27, 2009

Thoughts that are swarming in my head after I've watched "Avatar" movie

First of all, I'd like to mention I used a screen version of this film for this study. It was shotted in Ukraine (as embedded subs are in Ukrainian), it had English sound (except the those blue aliens speech - who really cares about translation when you don't have to understand anything - there's not any information in their speech, only bare emotions are there). So, thanks to the lots of people who helped me to see this movie free of charge. Certainly, as I liked this story, I will go to the cinema and watch it there.

I'd like to mention some connections between famous Russian story "The snail on the slope" by Strugatsky brothers: Pandora as a name, hostile environment, problems with contacts between locals and humans. The differences are: the style of aliens, corporative greed, happy end. You really should read it here.

As for me, the humanoids at Pandora aren't people, but during the movie they are treated as humans. But I don't really care about this, I only care about resources for the industry of Earth, as it is the only source of research tools that are used in science. In the end of this story our planet lost a huge source of minerals. But why did this happen?

Let's go step-by-step what problems were encountered by human society@Pandora:
1. Moral problems: betrayal of scientists, including main scientific advisor of colony. The origin of the problem is lack of understanding between CEO and CSA. Probably it's because of personal interest of CSA in tis case: most of useful information was mixed with girlish cryings about 'poor aliens'.
2. Intellectual problems: the attack of wild animals wasn't predicted by modeling of Pandora's network. The problem existed because no-one could do scientists' work instead of them. The peoples' specializations were too narrow there.
3. Military problems - as there was a fighting in direct contact with bulk biomass, and defeat was theoretically predictable, launching ballistic nuclear rockets was quite a good choice.
After I've understood I'm staring at the process of moral, intellectual and military defeat of Earth, the movie became really satyric: we've got mentally deficient democrats here (scientists, I mean), stupid republicans (military troops) and highly incompetent administration.
Here, almost all problems of modern society were reviewed in this movie.
Of course I can understand the main character of this story (Jack): he's got some psychological problems because of his injuries - so he doesn't care about whom he betrays, he just likes walking and running and all that stuff. Probably, he is a product of inappropriate health services.

Sum: lack of communication and understanding between main institutions of society (army, science, government) and poor psychological state of minorities lend to the of the crush of lots of opportunities that could become a real breakthrough in the Earth's technologies and social life.

That's my point of view. It's quite personal and I don't pretend this is truth.

Wednesday, December 16, 2009

mount -t tmpfs -o size=20m tmpfs /mnt/tmp

Friday, December 4, 2009

I don't need money
I need funding!

Thursday, November 19, 2009

Coupled clusters@GAMESS

Dear Santa!
I'm really sad because of absence of PCM interface in coupled-clusters. Also I'd like to have G3MP2 for open-shell structures and less memory-confusing coupled clusters code. Oh, forgotten: parallelisation of cc for open-shell systems))
Yours, Nikita Khlestov)

Diary.ru

I've got a blog in Russian. It is hosted @diary.ru.

RXN

RXN is an abbreviation for "reaction". Really, I was surprised of seeing some unusual pictograms like deltaHrxn in a JACS article, so 20 minutes of my time were wasted for googling "Hrxn". Now, I think I was really stupid than.

BTW, pdts=products.
BTW, BTW=by the way))

Thursday, September 24, 2009

"Religion is the placebo of the masses." - Gregory House, M.D.

Tuesday, September 22, 2009

cluster setup

One of the most basic moves during cluster's equipment is setup of the firewall. As usually in linux, I had to read and understand quite sophisticated manual of the iptables. And now, occasionally, the only command I've had to execute was

# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Of course, my routing and ips' editing were quite time-consuming too. But now, as yum begins its work, almost all problems of installation are less painful))

List of disks
# fdisk -l
Mounting of cd/dvd
mount /dev/cdrom /куда

In Midnight commander:
Highlighting of syntax:
/usr/share/mc/syntax - here are files with highlighting rules
cat include fortran.syntax >> ~/.mc/cedit/Syntax
History
of commands alt+h
of folders alt+H

How much memory do I have here?
dmidecode -t memory

Tuesday, August 25, 2009

Toefl test

On the 22th I've taken the TOEFL test. Currently I pray to have more than 90 points.

Unfortunately, I've got 88 points because of failure in speech. Really, I do have to practice more!

Monday, June 29, 2009

can the TB be cured?

Today a brochure about TB was given to me as a bonus to a railway ticket. Any word is printed about MDR TB. So, from their point of view any TB can be cured in Ukraine. I point your attention about their lies.

Tuesday, May 26, 2009

communism

So, I will go to the Donetsk communis party of ukraine's office tomorrow. There I'll decide what is CPU (funny, but that isn't a central processing unit) today: is it a way of saving privileges and lifestyle of KPSS beurocracy, or really progressive movement.
How will I do this? I'll give them a new project of estabilishing free hostels here - and see how they'll react.

Monday, May 25, 2009

The god doesn't exists

"The God doesn't exist, and catholic god doesn't exist especially" - so says one of my post-communist lecturers in Donetsk national university. Really, I'm agreed with him. People who are deeply religious are really unintersting for me - they got output for their sacred words, but they don't have input for my sarcasic rationalism, so isn't it more interesting to talk to the sky - at least, it doesn't sound with nonsence.

DDI

Distributed Data Interface (DDI) is used inGamess-US package for launching quantum chemistry distributedly. I'm going to change it for the purpose of launcing in BOINC wrapper. Unfortunately, I don't have any skills in C coding. But who cares?

the very first message here

Talking to myself or talking to the public - were is difference here? So, I'm going to talk to the universe here, while impoving my English writing skills. So, if you will see any mystakes - please, tell me about this.