Буду апдейтити пост тим, що я прочитав цього року.
2012-01-02Метелик Анрі Шарьєр2012-01-04Ва-Банк Анрі Шарьєр2012-01-22Пригоди бравого вояка Швейка Ярослав Гашек
linux, math, fun, student's life
Буду апдейтити пост тим, що я прочитав цього року.
2012-01-02 Метелик Анрі Шарьєр2012-01-04 Ва-Банк Анрі Шарьєр2012-01-22 Пригоди бравого вояка Швейка Ярослав ГашекSome distros don’t allow you to
shutdown -r now
from terminal without superuser password.
Shutdown/Reboot/Suspend/Hibernate with user priviliges in Linux is possible via D-Bus. You just need consolekit and upower packages installed.
Here are the commands:
| Operation | D-Bus command |
|---|---|
| Suspend | dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend |
| Hibernate | dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Hibernate |
| Reboot | dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart |
| Shutdown | dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop |
Just paste them in your beloved terminal emulator and press enter
People would take the Olympics a lot more seriously if they didn’t include handball. They’re just throwing a ball to each other like a bunch of kids. It’s just stupid.
And if you win, how do you look, say, the marathon gold medalist in the eye?…
Handball Gold Medalist: What did you get your gold for?
Marathon Gold Medalist: I ran 42 kilometers in extreme heat.
Handball Gold Medalist: Great. I threw a ball back and forth for a bit with someone about two feet away from me. Then I had a bath.
Marathon Gold Medalist: Big twat.
(c) Is It Just Me Or Is Everything Shit? (Steve Lowe & Alan McArthur)
Same shit would be with frisbee, if it gets included into Olympics
I’ll collect all the hidden key combinations in BlackBerry in this post.
Sort of wiki-page.
| Combination | Where | Purpose |
|---|---|---|
| ALT+LGLG | Ribbon (screen with apps) | Open BlackBerry Event Log |
| SHIFT+BUYR | Options>Status | Show data/voice usage |
| ?123+M,M, | Ribbon (screen with apps) | Open BlackBerry Event Log on touchscreen devices |
Вчора вдруге переступив поріг однієї будівлі.
Сьогодні знову сів слухати Операцію Пластилін.
Одна і та ж подія, але вже у зовсім іншому контексті.
Світ повторюється. Події повторюються. Люди повторюються. Змінюється лише контекст. Змінюється ставлення, ключові герої і, відповідно, змінюється сюжет події.

На третьому курсі довелось пройти курс з моделювання динамічних систем. І, як це звично буває, на цікавому предметі попадається викладач не з кращих, або атмосфера на парах навчанню не сприяє. Мені випала цікава тема для дослідення, а саме “Біологічна еволюція через накопичення нестійкостей та біфуркації”. Колись-таки викладу повний текст мого реферату. Основний з багатьох підтекстів, думок, до яких спонукає реферат читача, полягає в тому, що все у світі повторюється за простою схемою:
Життя повторюється. Одні вмирають – інші народжуються. Земля – велике коло. Де б не почав рух – коли-небуть знову повернешся у вихідну точку. Хочеш добра - роби добро. Воно тобі повернеться. Зміниться лише контекст.
Бо так працює світ.
Repetitio est mater studiorum.
I successfully passed Oracle Certified Professional Java Programmer Exam (formerly SCJP) a month ago. That was my birthday present. I passed right one day before my 20-th BD.
For everyone, who is willing to pass it I’d recommend just 2 things:
Have fun!
I always liked volunteering. The main reasons for me were the ability to meet tons of new people and do something good and useful for them. That’s why I volunteered at Nash Fest, Zahid and twice at Up Fest. At that music festivals I usually helped people with registration and navigating through the festival territory, acted as a live informational box. At some point, I’ve heard about international summer workcamps. That sounded promising, ‘cos I pretended volunteering in foreign country is more fun.
My friend Taras and I were carefully choosing the camp to go to. List if the camps was kindly provided by our sending organisation, Union-forum. Eventually, we’ve chosen one in Mainz, 300k+ city near Frankfurt. After all the negotiations and preparations we had all the documents and were ready to go.
The cheapest and the quickest way, to get there, is from Rzeszów to Frankfurt-Hahn using Ryanair airlines. That was my first airplane flight, so for me that was the most exciting path too.
We stepped on board. The trip began…
To be continued:
1. Volunteering
2. Choosing the camp.
3. Preparations/road to camp/Luxembourg.
5. Camping: people, food, work, free time etc.
That was hard evening.
After reading some java books, right before I went to sleep, some java code came to my mind…
class ${public void _($ $4){}}
class $<_, $, $_> {$ _;<_> $($ _){}<$> $($ _,$ $_){_=$_;}}
And that’s not the upper bound. You can enchant it the way you want, creating crazy valid useless (or even useful?) POJOs