Jun. 1st, 2009

Star Trek

Jun. 1st, 2009 01:46 pm
madf: (Default)
Вчора ходив у кіно на Star Trek. Фільм - бомба! Особливо українська озвучка!
madf: (Default)
Ненавиджу коли бібліотеки щось роблять без мого відома...
"run expects to own all the signals in the process. If you set up signal handling, this is not the method for you. (In practice, the only signals that matter are SIGCHLD and SIGPIPE signals)."
"runOnce aborts waiting for a connection request and returns immediately if the process receives a signal. Note that unless you have a handler for that signal, the signal will probably kill the whole process, so set up a signal handler — even one that does nothing — if you want to exploit this."
Стандартно оброблювачі сигналів встановлювались у мене одразу після форка. Тепер їх прийшлось відкласти аж до старту всіх плагінів...
madf: (Default)
Linking 101
Recently, I see more and more people having trouble with link-time errors—as if such an error is the worst kind of luck and cannot be fixed by mere mortals. There are many possible reasons, including Java as default language in universities, and alarming spread of header-only-philia, but that's for another post. Here, I want to give a simple diagnostic procedure for link-time errors.
Ніколи до цього не використовував LD_DEBUG. Виявляється, дуже прикольна штука. Ну і --save-temps - іноді цікаво подивитись що ж там препроцесор напрепроцесив. А так, в принципі, все описане я знав.

Profile

madf: (Default)
madf

April 2018

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 11th, 2025 11:29 am
Powered by Dreamwidth Studios