Monday 29 November 2010

PostgreSQL Installing screencast

PostgreSQL Installing

Video (1:52)
Video (OGV, no sound) [5,3M]

Subtitles
Subtitles (SRT, UK, UTF-8) [2,8K]
Subtitles (SRT, EN, UTF-8) [1,9K]

Start playing in mplayer
Video-only:
mplayer PostgreSQL_Installing.ogv
UK-subs:
mplayer PostgreSQL_Installing.ogv -sub PostgreSQL_Installing.uk.srt -subcp utf8
EN-subs:
mplayer PostgreSQL_Installing.ogv -sub PostgreSQL_Installing.en.srt

Sunday 21 November 2010

Wonderfull 200 lines patch for Linux Kernel

Soon, in Linux kernel 2.6.38 will be applied patch, that will improve Linux desktop responsiveness. It means, that you can watch video and roll pages in web-browser fluently.

Patch was written by Mike Galbraith. It adds only 223 lines of code into Linux Kernel.

Look like, Linus Torvalds liked it (and write about it in his e-mail):

Yeah. And I have to say that I'm (very happily) surprised by just how small that patch really ends up being, and how it's not intrusive or ugly either.

I'm also very happy with just what it does to interactive performance. Admittedly, my "testcase" is really trivial (reading email in a web-browser, scrolling around a bit, while doing a "make -j64" on the kernel at the same time), but it's a test-case that is very relevant for me. And it is a _huge_ improvement.

It's an improvement for things like smooth scrolling around, but what I found more interesting was how it seems to really make web pages load a lot faster. Maybe it shouldn't have been surprising, but I always associated that with network performance. But there's clearly enough of a CPU load when loading a new web page that if you have a load average of 50+ at the same time, you _will_ be starved for CPU in the loading process, and probably won't get all the http requests out quickly enough.

So I think this is firmly one of those "real improvement" patches. Good job. Group scheduling goes from "useful for some specific server loads" to "that's a killer feature".

Linus

Web-site phoronix.com created two videos: with sched_autogroup_enabled and without:


sched_autogroup_enabled=0


sched_autogroup_enabled=1

Wednesday 17 November 2010

Small Binomial Distribution lib

Here is my lib, writed for educational purposes.

You may download repo from GitHub page of lib
or using this git-link: git://github.com/dector/Binomial-Distribution.git

For visualisation project uses JFreeChart lib, what you can download from JFreeChart download page.

Screenshots:
n = 100
p = 0.5

n = 1000
p = 0.7

n = 5000 ;)
p = 0.3

Enjoy!

Presentations for "Relational databases"

Relational databases
Air date: 8.11.2010
OpenDocumentPresentation (.odp) [2.0 MB]
Portable Document Format (.pdf) [2.6 MB]

Relational algebra
Air date: 15.11.2010
OpenDocumentPresentation (.odp) [277 KB]
Portable Document Format (.pdf) [376 KB]

Monday 27 September 2010

Smoke, java, rock-n-roll

I like Mondays. Sometimes they are hard, sometimes they gets life inspiration for all week. But sometimes they are spirit-mixed. Like today.

First of all, I was at home only month ago. I would like to go to home this week. Yesterday I done 2 labs early. Both about structural design patterns. But...
But today I failed to pass them. Because exactly before me queue was cut by the end of pair.

Than I undrestood, that my dreams about travel to home was broken for this week. But, not all was bad. At first, we were confused, when saw, how smoke slowly rises up from system unit of one of the computers in laboratory.

Last part of pair, waiting for our turn, some people from our education group were spoke about funny things. We listened to music: that was rock-n-roll. So, as for me, I spent time perfectly. For that half an hour I felt comfort.

But in the evening I am tired, not enough sleep and have no a lot of optimism.

Ah, yes. My English is horrible!

Saturday 19 June 2010

Try new Ubuntu 10.04

I liked it. Nice design.
New Ubuntu is really fast.

Also there is new kernel.

Sunday 9 May 2010

Great Victory!

I want to say "Thanks" to our grandfathers and grandmothers for this Victory!
Thay paid great price. But now we have blue sky and we are free.
Thank you. We remember for those Feat of Soviet Army, people of Soviet Union.

Monday 26 April 2010

Polar fox

It is beautiful and nice. But it is not happy to meet him in life.
And sometimes it come to us.

Lost in time

Modern life is too speed for conservative man, like me. And it became more quickly. And we have less time to build our person.
Less time to live.
Time is unstable like sand. Sand is timeless like time.

Need little more power... Little more.

Friday 2 April 2010

Sunbird

Try new calendar application from Mozilla.
Its name is Sunbird.



Sunbird is free and cross-platform application. It is standalone application of Lightning extension for Mozilla Thunderbird.

I use Sunbird with Provider for Google Calendar extension. With its help I sync my Google Calendar with Sunbird.

I liked OxyBird theme. And use it. It is lighter, than default.

Wednesday 24 March 2010

Blogo-domain works!

My changes became applied.
Now this blog is available from
dector.org.ua and www.dector.org.ua!

It'll be main domain name of this blog.

Tuesday 16 March 2010

Play HQ video on slow CPU with mplayer

It is integerstion. If you have slov CPU, but would like to play HQ video on it, you, may be, had some problems with it. Like small FPS (Frames per second) or situation, when image is more slover than sound.
If your ansver is "No" - you are happy. :)

Others, try to start mplayer with this parameters:

$ mplayer -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all Your_HQ_Video.mkv

It was helpfull for me. Wish same your's.

Monday 8 March 2010

Spring is coming

Today is the 8th of March.
As you know - it is International Women's Day.

I would like to congradulate all women with this holiday.
And I want to wish them strong health and be so beautiful, as they are.



Also I would like to congradulate all with comming of spring.
Dear girls and women, give your love to us and we will present it to you :)

Have a nice day!

Sunday 7 March 2010

Hello World!

import java.io.*;

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}