Wednesday, January 11, 2012

Почему нет вторичноводных высших растений, живущих в морской среде?
1) низкая концентрация питательных веществ в воде требует очень разветвленной корневой системы
2) высокое осмотическое давление (или нужно разрабатывать белки, не сворачивающиеся в рассоле)
3) вредители (теперь не только сверху, но и снизу)
предлагаю делать непрогрызаемые корни, сбрасывающие при необходимости тонкие побеги.
ведь из этих деревьев можно будет делать плавострова
а потом, когда океан полностью заполнится этой биомассой и вода начнет затапливать материки -
решится еще и проблема пустынь.
Всем людям будет где жить и что кушать!

проблема, понятно, будет на первых порах в монокультурности (низкая устойчивость к болезням)
и исчерпании минресурсов - можно или с помощью растений добывать минералы со дна моря
или наоборот - иметь в их организмах полости для влива удобрений

nwchem installation

1. станартный даунлоад зафейлил из-за мейк-рулов
2. нужно самому писать скрипт компилляции
3. нужно доустановить f77
compat-gcc-34-g77, если быть точным
или как-то им объяснить что лучше юзать гфортран
http://benincosa.org/blog/?p=49 - тут мак с интеловским компиллятором
4. http://www.nwchem-sw.org/index.php/Special:AWCforum/sp/id865
а вот отсюда надо патч приложить. к стабильному варианту.

Tuesday, January 10, 2012

so, steps to install cpmd:
1.register from university mailbox. tell them you're not going to use their package to model atom bomb
2. download a tarball from http://cpmd.org/download
3. extract it and go to the root directory of the package
4. run ./mkconfig.sh -help and look for appropriate variant for your system.
For me, it was LINUX-i686-FEDORA
so, run ./mkconfig.sh LINUX-i686-FEDORA > Makefile
5. run make. And yes, gfortran is to be installed for you

whatever, i've failed

Wednesday, November 16, 2011

I feel like I'm stuck. I haven't done anything valuable this year, and my todo-list is too big for me. And my kindle isn't coming. And I'm not able to get borrowed money from George.

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

Friday, September 23, 2011

When I'll switch to debian, I'll use xdiskusage instead of all that memory-eating gtk apps. I promise.

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
paultry is poetry
плюш плющит
hostile hostel
Got a girl. Gotta go!
Я кафир, я пью кефир.
Мам, я принял ислам
Dura lex - durex
Мата Хари in a hurry
Думай этично, а не этнично
Think ethically, not ethnically
Думай по-украински --- Just думай
Потасканные потаскухи
чаморошный - хилый, замурзаный, больной, неухоженный
дрыпать - терзать, повторять похожие действия
кучеря - вроде чигирей
мыршевий - джордж сказал, я уж и не помню

нашел в залежах годичный файл с мыслями

Кот распластался белкой-летягой на сбитом из серых дощечек постаменте для него и пластиковых бутылок и иногда горшков с цветами. Мяукнул о том, что жарко и не хватает ласки.

реквизиты приватбанка для преводов по Украине

Получатель: ПАО КБ ПриватБанк
Код ­получателя (ОКПО, ЕГРПОУ): 14360570
Код банка получателя (МФО): 305299 ­
Счет получателя: 29244825509100
Назначение: для пополнения ­карты/счета № ***************, ФИО, ИНН (Ваши данные)
Заполните ­назначение платежа своими данными и предоставьте отправителю

Thursday, September 1, 2011

djvu2pdf @ linux

надо скачать djvulibre-bin libtiff-tools
 ddjvu -format=tiff yourfile.djvu yourfile.tiff
 tiff2pdf -z -o outfile.pdf yourfile.tiff

Monday, July 18, 2011

howto change brightness @vika laptop

sudo setpci -s 00:02.0 F4.B=ff (ff\88\22\55\99)

Wednesday, July 13, 2011

BlueBubble

Don't need a freaky-bastardy-Gnome3?
http://k3rnel.net/2011/06/22/bluebubble-the-fine-manual/

Monday, July 11, 2011

sshfs

su -c 'yum install fuse-sshfs'
sshfs user@node:/folder mountfolder/

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