Posts Tagged ‘sleep’

SWITCH OFF your Mobile Phone and TV at night to save energy!!!

Thursday, June 7th, 2012

TURN OFF YOUR MOBILE PHONE AT NIGHT to SAVE ENERGY and MONEY

We’re constantly being said to reduce energy consupmtion, they sell us new bulbs to save energy, new TVs with energy saving. The newer the computer equipment microwaves or whatever home electrical equipment we buy the more it is said to be saving energy.

So far so good it is true we can reduce energy consumption by producing gadgets which consume less. However there are also another approach to the “green problem” which we never are said about.

It is rather simply instead of saving energy on technology base, we can save energy on physical base. One simple thing to do to save energy with no need to spend money on latest advacement gadgets is to simply make it the old school way.

a -= Learn to switch off your lamps and home equipment whenever its not necessery

If you’re about to go to sleep, you can simply switch off the mobile and use a mechanical clock to wake you up on the morning, this way you have 3 benefits.

1; Less energy will be discharged by the mobile in the time you’re not awake, so you don’t need to charge so frequently the battery and therefore you will draw less energy from the Electrical network hence saving energy.

2; You will not be radiated with a bit less radiation produced by the Mobile phone in order to stay connected to the GSM local located cell.

Though the good this does will not be dramatical it for sure will be better for your health than if the mobile is switched on the whole night.

3; You will not be awakened in morning by some crazy person who just decided to call you early in the morning.
Often this morning unexpected and desired phone calls make you jump off the bed rapidly and hence giving a large dose of stress to your organizm.

-=- Of course switching off the mobile has some disadvantages if you can receive a crucial phone calls during all time of day or night you can’t afford to simply switch off the mobile, this is however not true for most people who work in an OFF-ICE.People working in offices can simply wake up at a scheduled time, get a shower do their morning hygiene and jump to a car or bus to the office so the need for having the mobile switched ON at night is not really needed.

Of course thinking in the same direction, it is logical that switching off the computer earlier when not needed, the wireless home router or the TV is another place from where a huge energy savings can be achieved.

If large amount of people re-learn their energy in-efficient habits to be more energy cautios a HUGE amounts of energy can be saved. This of course can have a positive impact on the monthly energy bills and hence can save you money in monthly expenses.

The TV is surely another big energy draining source, many people have the habit to sleep with a Television switched on. Besides this has a negative impact on the conscious since vast amounts of information are being stored and processed by the conscious and unconscious mind, also the lights emitted from the TV screen prevents the persons body to not have a pieceful rest.

Its rather stupid that companies are constantly ranting on how they improve their products to be energy friendly but they don’t invest even a penny to educate the masses that energy saving does not only depend on how good the technology is produced to save energy but also on how much the people are educated how to use the technology with energy saving in mind.Probably there are plenty of other ways a households can change their habits to save energy. I’ll be glad to hear some other suggestions ,,,

My First Blog Entry

Sunday, November 5th, 2006

Today we first met Habib (a colleague from Holland College I study in). We took a newspaper and searched for him a living place. We called from one bulphone to some of the newspaper advertisements but was not able to find any suitable living place for the price he could afford (60 or 70 leva). After that we went to a coffee place called “Central”. Then we went to Mino’s coffee and stayed and talked for 3 or 4 hours with Habib mainly about Bangladej.He told us about different specific things in Bangladej, like for example he explained us the attitude of people to a local people who are musicians (I forgot the exact Bangla’s name of ‘em), he told us Bangla’s people will probably think of us we’re musicians if we go to Bangladej. He said the people appreciate this people as fortune and the musicians live on the hospitality of the people. I went home checked something on the servers. It seems there is a new RC release of clamav 0.90rc2. I installed the new release and tested it but it seemed it has some problems with the clamd.conf’s syntax and I’ve uninstalled the 0.90rc2 and installed the old one which is 0.88.5. Praise God I’m spiritually okay. I’m going to have a sleep now but I’ll first read a little (The Bible). Blessings in the name of Jesus Christ 🙂 !

Feeling Bad

Saturday, January 27th, 2007

Well I’m not so sick anymore. I’m feeling bad emotionally spiritually. I’m not sure. I have no idea what’s happening in my life. I don’t see the guidance of God. I’m having sexual thoughts and wan’t to sleep with some female, I guess this is not good since I’m a christian. Actually I really don’t have idea what to do with my life. FUCK I’m so LOST! I was out with Lily for a pizza and a coffee smoked 4 cigarettes then went to a new Market here in the town. Well the market was very brighty and clean, on two stages the one was a food/bevarage market. The other with tech stuff. Some time before we went to the market. My mood got fucked up and I stopped talking. Well shit why the Hell I’m here. I have a re-exam in Monday. It was supposed to study at something today. But my state didn’t allows me too. I just want to lay somewhere and die. I’m so lost I feel spiritually broken again. How much, how much will this thing continue. When will God bless me with that which my soul desires? Will I be alive for this moment? I’m wondering more and more. I’ve read some of my bible after I went home some prophecies about the End Times, the book was Ezdra. After that listened a little of NiN feeled even more bad than before right now I’m listening again to http://www.christianindustrial.net. Lord where are you leading me too? Why don’t see a vision for my life? Does my life have really a meaning and what it is. I’ve googled for some time for a phrase like “Christianity not working for me” and found a page which claimed. There is no life after death as classical Christianity claims and that heaven and hell are internal states experienced, here on earth, I think maybe there is some truth in this to some extent. Guess time will show (Or maybe Death).

Day After Day

Thursday, February 22nd, 2007

I forgot I had German in the morning so I get to sleep at 3:00 a.m. In the morning my mother wake me up to ask my did I have lectures. I said yes in 10:00 then I rembembered about the German. I tried as fast as possible to stand up wash my teeths and go to the college. After the German we had some Introduction to Management classes. One of our programmers Pesho called me and said we have a problem with few of the scripts setupped to be run on crontab on one of the servers, then also the other programmer Milen called and said he had a problem with some other script which loops one of the webservers … having problems is really unpleasant. At least I’m not so sleepy as I should be for the small quantity of time I’ve slept in the night.We went to a coffee with Narf and Nomen in the lunch break after that Management again. And now I’m doing some stuff on the servers. I’m little tired now and maybe I’ll sleep. Praise the Lord for I’m spiritually okay most of the time today. Thanks God :]END—–

In Rusalka a.k.a. Marmayed and Shabla Camping

Monday, September 3rd, 2007

I spend the weekend with Megi, Niki and Nomen in Rusalka (we beached there), although there was no sun at allthe water was warm and it was good experience (this happened in the late evening). In 06:00 or 07:00 o’clock.We decided to go to Tulenovo’s caves and stay there and make a wood fire. But the caves were already taken by others.So in the end we went to Shablenska Tuzla. We stretch the 2 tents and fired a firewood on the beach and started having a supper, unfortunately a rain started and we have to gather the 2 tents and the food and go to the car. We waited to see ifthe rain would stop but it was raining and we went to a near family hotel where Mitko, Megi and Niki slept into a room and slept in the car (this is the first time I have to sleep in a car). In the morning we went to the beach I stayed out of the sea because there was wind and I was scared of getting sick again. Around 12:30 we were in Dobrich. So this is how most of the weekend passed in the night we went to my Grandma and Grandpa’s (Peace be upon him) village with my father and we stayed there for 30 minutes or so. During the weekend I successfully made a binary upgrade of my xorg 6.9 -> 7.2 (it was a full mess), it took me 2 days! As usual the upgrades under FBSD are a real nightmare. Speaking about faith I’m not sure what do I believe anymore I still hope that God would fix my health issues, but I’m tired of waiting really :[ The bad thing about the weekend was that one more time I felt like not being on my right place. I realized soon that I can’t hear the voice of God. And currently I’m praying that God would give me this ability. But ofcourse only time will show.END—–

Kragulevo’s Trip :)

Thursday, September 13th, 2007

Yesterday Night me and Nomen decided to spend the night in the house on my village “Kragulevo”. It’s a nice place to be.We drinked beer smoked cigarettes have a walk around the village after we arrived somewhere around 21:40. In the morning we decided to go to the forest it was a hard job to wake up Nomen, all the time he was repeating “Please leave me to sleep more 5 minutes” and after 5 minutes the same sentence. In the end I 20 or 30 minutes later get out of bed. We drinked coffee and walked in the beginning of the Wood (It’s recharging). in 08:15 after a 20 or 25 minutes walk we went back to Dobrich. Yesterday I went to a Doctor because I have a constant pains around my stomach. He assigned me some health tests for tomorrow. I hope God hasn’t allowed that I had a serious sickness. Kragulevo is connected with a lot of memories from my young years. I’m regretting a lot I didn’t spend more time during the last summers when I was still going to school. I remember so many great moments with my Grandpa ( Peace be upon him. ). And I miss him a lot Grandpa Marin ( Mino ). Was a great example for me for a lot of things like attitude towards live, love towards beings and also ppl service. Actually now After I believed I realise this virtues match perfect with some recommendations the St. Apostles give for us to live to be a pleasent in the eyes of the Lord God.END—–

Management Games and Theathre Sports with Joop Vinke

Friday, April 11th, 2008

Yesterday and today we had Management Games and Theathre Games with Joop Vinke.At the management game we play a sort of Human Resources Management game. All the students are devided into groups and we play a simulator game. We had to manage a company. First we setup our 2 year goals and then we play the game on quarters (6 quarters). Every quarter we have to made some managerial decisions (invest money into different stuff, hire personnel, promote ppl etc.).

Basicly the company consists of 660 employees, there are 5 levels in the company starting from 1 where there is unqualified specialists and 5 which are the top management.

When we make our choices then all this data is inputed into a computer which gives us some feedback which helps us in taking the decisions for the next quarter. At the meantime Vinke organizes fun games to entertain us and make us feel comfortable with him and through this games he tries to show us basic concepts in business. The last two days I really enjoyed.

Today the game that impressed me the most was called

“The Werewolves from Wackedan”. Basicly it’s a strategic game with roles. In it you’ve got a bunch of ppl who play different roles, 3 of them are werewolves, others are citizens others are ppl who have special abilities to foresee who are the werewolves.

We had cards in front of us turned back to prevent others except us to see the cards. Some of the cards are citizens and ppl who belong to the citizens other 3 are werewolves.

Every night the werewolf kills a person (by selecting somebody from the crowd, when they sleep), because the werewolves are out at night when everybody sleeps. At the morning citizens awake and one of their friends is dead so they try to revenge by pointing someone to be killed (it may be a citizen again it may be a werewolf).

At the end only werewolves or citizens should servive 🙂 It was a big fun today to play this simple game. At the end of the day at 18:00 we had a session of the so called Theathre/Games. Theathre Games include different entertaining games which are designed to improve our communication skills and teach us to act like an actors plus they are pretty entertaining 🙂 That’s all thanks to God everything seems to run smoothly around my life. Except my health I’m still having some health issues although I can say I have an improvement I am not still healed and I still drink herbs.

At 20:00 I was out with Narf and we went to the fountain a little later Kimmo and Yavor joined us and we spend some time their. Well that’s most of the day at night I went to my grandma just to see how she is doing and now I write this post tomorrow the Management Game continues at 09:00. So probably after few minutes I’ll go for the night prayers and then I’ll go to sleep. END—–

How to disable nginx static requests access.log logging

Monday, March 5th, 2012

NGINX logo Static Content Serving Stop logging

One of the companies, where I'm employed runs nginx as a CDN (Content Delivery Network) server.
Actually nginx, today has become like a standard for delivering tremendous amounts of static content to clients.
The nginx, server load has recently increased with the number of requests, we have much more site visitors now.
Just recently I've noticed the log files are growing to enormous sizes and in reality this log files are not used at all.
As I've used disabling of web server logging as a way to improve Apache server performance in past time, I thought of implying the same little "trick" to improve the hardware utilization on the nginx server as well.

To disable logging, I proceeded and edit the /usr/local/nginx/conf/nginx.conf file, commenting inside every occurance of:

access_log /usr/local/nginx/logs/access.log main;

to

#access_log /usr/local/nginx/logs/access.log main;

Next, to load the new nginx.conf settings I did a restart:

nginx:~# killall -9 nginx; sleep 1; /etc/init.d/nginx start

I expected, this should be enough to disable completely access.log, browser request logins. Unfortunately /usr/local/nginx/logs/access.log was still displaying growing with:

nginx:~# tail -f /usr/local/nginx/logs/access.log

After a bit thorough reading of nginx.conf config rules, I've noticed there is a config directive:

access_log off;

Therefore to succesfully disable logging I had to edit config occurance of:

access_log /usr/local/nginx/logs/access.log main

to

After a bit thorough reading of nginx.conf config rules, I've noticed there is a config directive:

access_log off;

Therefore to succesfully disable logging I had to edit config occurance of:

access_log /usr/local/nginx/logs/access.log main

to

access_log /usr/local/nginx/logs/access.log main
access_log off;

Finally to load the new settings, which thanksfully this time worked, I did nginx restart:

nginx:~# killall -9 nginx; sleep 1; /etc/init.d/nginx start

And hooray! Thanks God, now nginx logging is disabled!

As a result, as expected the load avarage on the server reduced a bit 🙂

The Edukators 2004 – Die fetten Jahre sind vorbei (The Fat Year are Over) movie short review

Monday, February 6th, 2012

The Edukators movie cover

I'm in Sofia for a couple of days being a guest to a friend (thx Nomen), after my stay for a week in Bodesće (a little village nearby Bled located in Slovenia).
Yesterday on my way to sleep I wanted to see a movie and asked Nomen to recommend me a movie. His recommendation was a German-Australian movie from 2004 called The Edukators The Fat years are Over. I had absolutely no idea what it will be like so I didn't expected much but it seems the movie plot took my attention.

The movie plot revolves around 3 avarage German persons who live in Berlin. The three youngsters has just passed the 20s, Peter and Daniel (two close friends who hold some serious anti-capitalist views and does organize house break-ups without stealing.) Peter and Daniel's rich villas break-ups aim is idealistic, they don't steal but just change the order of furniture and leave messages to make rich people aware that money doesn't make them invincible…
Jule a girlfriend of Peter, becomes friend with Daniel and they fall in love, while Peter is away for a vacation. During Peters sojourn abroad Daniel tells Jule the secret (Peter and Daniel) are the Edukators whose break-ins has just recently become known via the local Berlin newspapers.
The Edukators group leave messages to every of the "victim" homes saying – "die fetten Jahre sind vorbei" – "The fat years are over", a sentence well known from the Holy Bible's story of Joseph in Egypt.

Jule works as a waitress in a luxurious restaurant but her payment is only good to cover her very basic needs as well as pay her debt (as she is already indebted as many youngsters in Germany).

Jule is more indebted compared to many of the young germans, since by accident she hit a rich businessman's car which costs 100 000 eur. Since more than a year she is working for paying the monthly bills to cover richman's car and she succeeded to pay only €55000 …

The Jule's "injustice" is just a part of the many injustices that are in society, but as the youngsters hold anarchistic and anti democratic views, this whole Mercedes crash accelerates as Jule and Daniel break up in the Luxurious Villa of the rich man whose car Jule is still paying.
The Edukators die fetten jahre sind vorbei movie cover

Just like the other break ups Jule and Daniel change completely the order of the furniture and leave the threatening message die fetten Jahre sind vorbei , this time however they do even more as they decide to drop the sofa in the pool. These time Daniel and Jule's planning is more like an venture than just a well planned Edukators break-in. Suddenly the watchdogs in the yard start barking and the two youngesters has to move quickly to prevent being taken by the police patrol.
On the next day Peter is back from his vacation and Jule realizes her mobile phone is missing (probably fallen in the pool or somewhere in the richman's mansion)… On the next night Jule and Daniel, enter the house again in hope to find and cover-up the tracks they left last night and hopefully find, Jule's missing mobile.
They don't know however the richman would arrive his villa to stay for the night. As he enter his house, the businessman encounters Jule and immediately recognizes her.
Daniel being in the other floor comes down and hits the richman from behind and he enters unconscioness. As the two are panicked they call Peter and tell him about "the villa accident". Daniel arrives immediately and the three "revolutionaries" decide to take the wealthy man who as a hostage bringing him in Jule's uncle mountain hut.
The 3 anti-current system democrats and the representative of the wealthy class has to spend few weeks together in a small house each one exposing his stand point and philosophy. Little by little the 4 people become friends and a dramma between Daniel and Peter emerges as Jule is now in love with Daniel and Peter finds out …
Hardenberg (the 3 youngesters hostage) happens to be an ex-leader of a Socialist German Student Union some 35 years go … and tells a story how he and his union members hostiged a VIP german person in their youth days and how funny is that he is in the same situation like the person they hostiged so long time ago…
The movie is interesting as it really shows the sad reality and the falling democratic system which we have established and follow. It exposes the injustice of the system but it doesn't really offer a solution to the society and economic problems and injustices.

How to take a screenshot of a game or Full Screen running program inside GNOME or KDE desktop environment on GNU / Linux and FreeBSD

Thursday, December 15th, 2011

Image Magick logo take screenshot of fullscreen running program with import on Linux / FreeBSD

I’m writting some game reviews and movie reviews, every now and then and therefore being able to capture a fullscreen running program like let’s say mplayer or vlc or some full screen running game is something I really need.

The usual PrtScr button which normally works to prepare screenshots in GNOME or KDE, however is not working if the root window handler is being passed to a different program than the Window Manager and pressing it while inside of many older programs or applicationsdoes not produce a print screen of the current screen.

Anyways I found a hack to this using the good old ImageMagickimport command line screenshotting program.

To take a screenshot of a certain program run from gnome-terminal or konsole using import cmd its possible to use a quick one liner which will take a snapshot of the root Window the started program will use.

Let’s say you want to make a screenshot of the entry screen of the FreeDOOM (DooM 3d shooter classical game arcade free Software Alternative).

Launch gnome-terminal or konsole , xterm , depending on the GUI environment you use and issue the commands:

debian:~$ ( sleep 15; import -window root my_desired_screenshot_name.png ) &
debian:~$ freedoom

The first command will launch import after a sleep of 15 secs and therefore will screenshot the active window which will be at focus after 15 seconds, where the & sign will background it and the second one will launch FreeDooM . You will have to wait for a certain secs and switch to the exact screen you will want to screenshot.
If you want to screenshot some game scene that will appear in 20 minutes change above sleep 15 cmd to be to something like sleep 180
That method can be used for screenshotting any other program running on fullscreen, the method is a bit inflexible as you will have to adjust a timing but it works fine 😉