
Я дописал свой Open Source проект =) https://github.com/FallenGameR/Tagger/Программка аннотирует окна, чтобы не забыть в каком окне что делал. Управлять можно с клавиатуры, не переключаясь на мышку. Все засунуто в один exe и выложено в сырцах на github. Enjoy! PS Из забавного - а вот тут можно посмотреть распределение свободного времени среднестатистического программиста с детьми: https://github.com/FallenGameR/Tagger/graphs/punch-card 
2 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
Проект хорошеет на глазах. 40 часов еще осталось и Брайен Фарго решил добавить вкусняшек в $30 категорию (прям сколько я и вложил =): http://www.kickstarter.com/projects/inxile/wasteland-2Also we have spent some time thinking about and asking fans what we could put into the $30 tier to make it more interesting and to not disrupt what has already been offered. I think we have come up with an interesting list that may persuade a few people to upgrade. Based on your top requests and a forum poll we now offer the following as part of the $30 tier:
- An extra digital download of the game in any format. Many people wanted to be able to get a Mac AND a PC version, or PC and Linux, or even an extra PC version for a friend. Now you can. - Access to a collection of exclusive Ranger portraits that will double the pool of character portraits you have to choose from at the start of the game when you are rolling up your Rangers. This unique image collection will not only give you more Ranger portraits, but more Ranger icons used to display your party location on the world map. - Access to a four-episode Video Development Blog that will show you an exclusive behind-the-scenes look at the design and development of Wasteland 2. Sit in on designer meetings and art-review meetings to see the process behind how the game is made. See interviews with Brian Fargo, Chris Avellone, Mike Stackpole, Alan Pavlish, and the rest of the development team as they explain to you what they are doing and why they are doing it. - A novella by Chris Avellone based on the universe of Wasteland.
Of course, all backers who are in at higher levels will also get all of these added items too.Присоединяйтесь =) Проект на деньги фанов без влияния издательств - это здорово. Осталось еще 40 часов.
2 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
"В спорах о вреде аниме обычно не проговаривают важное: японцы, без сомнения, снимают много рисованной продукции для взрослых, но подростковое аниме при этом на удивление часто напоминает лучшие «фильмы для детей и юношества» из СССР — с их положительными ролевыми моделями, четкими моральными установками и не слишком натужным дидактизмом. Хит уходящего сезона Ano Natsu de Matteru начинался как романтическая вариация «Гостьи из будущего» и в целом свелся к неожиданно пронзительному пересказу штампа «лето — это маленькая жизнь»; с гормональными всплесками у тамошних тинэйджеров именно что полный порядок: есть и выяснения отношений, и попойка на жаре, и сценка без трусиков, но — всё на противоположном полюсе от условной Германики, без срыва в спираль разрушения. Вполне в традициях советского молодежного кино сценаристы аниме для старшеклассников помогают зрителю закрепить поведенческие коды и систему сдержек, учат соблюдать элементарные правила здорового социума. В современной России, где половине школьников родители забыли объяснить базовые различия между добром и злом, как раз такие сериалы очень нужны. Возможно, нужнее программы «Давай поженимся»." http://otaku.ru/post/20232885130/look-a-goose
Post A Comment | Add to Memories | Share | Link
 |
|
Я очень надеюсь, что не сольют.
..sSs$$$$$$b.
.$$$$$$$$$$$$$$$.
.$$$$$$$$$$$$$$$$$$$$$b.
.$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$S' `$$$$
$$$$$$$$$$$$$$S' $$$
$$$$$$$$$$$$$' `$$.
`$$$$$$$$$$$$$ `$$$.
`$$$$$$$$$' .s$$$ $$ $
$$$$$$$$$.sSs .s$$s" s s
$$$$$$$$$$$$ $P
`$$$$$$$$$$$s $
$$$$$$$$$$$. ",
`$$$$$$$$$$sS$
s$$$. `$$$$$$$$$$$$.s"' .$.
$$$$$. `$$$$$$$$$$. .$$$Ss.s$s.
$$$$$. `$$$$$$$$$P .$$$$$$$$$$$$.
$$$$$$. `$$$$$$$' .$$$$$$$$$$$$$$$$.
`$$$$$$. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$s.
$$$$$$. `$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$s.
.s$$$$$$$. `$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
s $$$$$$$. .$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
`$$$$$$$$$$. .$$$' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
`$$$$$$$$$$. s$' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
$$$$$$$$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$ $ db $$$$$ $$$$$$ $$$ $$$$ b $ $$$
$ $. .$ $ $$ $ $$ $$$$$ $$$$$$ $$ $$$ $$$$ $b $ $
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ dp $
(c) отсюда http://www.chris.com/ascii/index.php?art=video%20games/max%20payne
7 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
Я наверное мог бы выкладывать постепенно, но мне все реже и реже удается заставить себя писать в блог. Вы ведь можете посмотреть все не за один день, а за 3, правда? =) Основное правило такое - если устал(а) смотреть, отложи на завтра. Надеюсь, вам понравится. 2011/09/01 Blueberry U-pick Farm - http://www.flickr.com/photos/fallengamer/6662780405/in/set-72157628783533209/lightbox/ - ферма, где выращивают голубику. Собирай в рот сколько хочешь. 2011/09/04 Mt. Rainier - http://www.flickr.com/photos/fallengamer/6662717385/in/set-72157628783533041/lightbox/ - поездка на вулкан Рейнир 2011/09/05 Homestead Village History Museum - http://www.flickr.com/photos/fallengamer/6662791375/in/set-72157628783697413/lightbox/ - музей истории недалеко от Рейнира. Жилой, с харизматичным и едким стариком-лавочником (в кадр не попал). 2011/09/10 Puyallup Fair - http://www.flickr.com/photos/fallengamer/6671632001/in/set-72157628783863683/lightbox/ - ежегодная ярмарка в городе Пульяп. Считается одной и крупнейших в штате. 2011/09/18 Camlann Medieval Village - http://www.flickr.com/photos/fallengamer/6671657431/in/set-72157628804914451/lightbox/ - средневековая деревня неподалеку от нас. Люди стараются жить как в 1400 годах, довольно интересно. 2011/09/24 Seattle Zoo - http://www.flickr.com/photos/fallengamer/6671678955/in/set-72157628804971411/lightbox/ - всего одна фотография из Сиэтловского зоопарка. Жуки. Если не интересуетесь, не смотрите. 2011/10/01 Ivan Birthday Celebration - http://www.flickr.com/photos/fallengamer/6671710579/in/set-72157628805047247/lightbox/ - Праздование Ваниного дня рождения. 2011/10/21 Haloween - http://www.flickr.com/photos/fallengamer/6671736095/in/set-72157628805111615/lightbox/ - Наряжаемся к Хэллоувину. 2011/11/05 Ivan Rides a Bucket - http://www.flickr.com/photos/fallengamer/6671762547/in/set-72157628805176047/lightbox/ - Ваня катается в ведре и позирует на камеру. 2011/11/06 Ballard Locks - http://www.flickr.com/photos/fallengamer/6671885657/in/set-72157628805467517/lightbox/ - шлюзы Баллард зимой. Без снега. А вы как думали? Из большого не опубликованным пока остается поезка в Leavenworth. Там надо отобрать поменьше фотографий, а то если я выложу все, что мы с Ниной наотмечали, то на фликере резко кончится место и все предыдущие фотки будут недоступны. Приятного просмотра!
2 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
На днях в торговом центре видели вот такое произведение инженерного искусства - http://www.teslamotors.com/models. Чистый электромобиль, моторного отсека фактически нет - впереди под капотом еще один багажник. Простая комплектация 50 тысяч (включает в себя кожаный салон и 17 дюймовый монитор), самая навороченная 100 тясяч. Продажи начинаются с лета. Аккумулятор на самой навороченной модели 85kWh. Вопрос - а какого робота можно построить с таким аккумулятором? Вопрос по роботам у меня тут возник в результате недельных раздумий. Есть давно сидящая то ли мечта, то ли желание поразбираться с роботами (и киборгами, да =). Сейчас прикладное роботостроение в домашних условиях только набирает обороты, используя в основном платформу ардуино. И вот неделю меня терзал вопрос - нужен ли мне ардуино? В итоге решил что пока нет. Все интересные проекты, что я видел, достигли презентабельных результатов только через год-два. И при этом выход не был идеалом. Квадракоптеры просто снимают видео, нет обратной связи через камеру. Роботы-пауки классно двигаются, но все на радиоуправлении, без особых мозгов. К задачке поиска пути и распознаванию орбразов похоже подходят только универы, домашним любителям не до этого - слишком трудоемко. Хотя планы есть, да. Но вот какая меня идея греет. Думаю, через пару поколений Kinect наконец станет размером с кошкину задницу (это моя личная спекуляция - никакой информации я на этой тему не видел). А аккумуляторы в свою очередь станут помощнее и поменьше. Вот тогда роботостроительтсво действительно придет в каждый дом =)
2 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
I’ve performed some behavior testing on assume-unchanged and skip-worktree flags and here are the findings: | Operation | File with assume-unchanged flag | File with skip-worktree flag | Comments | # File is changed both in local # repository and upstream git pull | Git wouldn’t overwrite local file. Instead it would output conflicts and advices how to resolve them. | Git wouldn’t overwrite local file. Instead it would output conflicts and advices how to resolve them. | Git preserves local changes anyway. Thus you wouldn’t accidently lose any data that you marked with any of the flags. | # File is changed both in local # repository and upstream, # trying to pull anyway git stash git pull | Discards all local changes without any possibility to restore them. The effect is like ‘git reset --hard’. ‘git pull’ call will succeed. | Stash wouldn’t work on skip-worktree files. ‘git pull’ will fail with the same error as above. Developer is forced to manually reset skip-worktree flag to be able to stash and complete the failing pull. | Using skip-worktree results in some extra manual work but at least you wouldn’t lose any data if you had any local changes. | # No local changes, # upstream file changed git pull | Content is updated, flag is lost. ‘git ls-files -v’ would show that flag is modified to H (from h). | Content is updated, flag is preserved. ‘git ls-files -v' would show the same S flag as before the pull. | Both flags wouldn’t prevent you from getting upstream changes. Git detects that you broke assume-unchanged promise and choses to reflect the reality by resetting the flag. | # With local file changed git reset --hard | File content is reverted. Flag is reset to H (from h). | File content is intact. Flag remains the same. | Git doesn’t touch skip-worktree file and reflects reality (the file promised to be unchanged actually was changed) for assume-unchanged file. | I haven’t looked into the performance boost yet. ANALYSIS It looks like skip-worktree is trying very hard to preserve your local data. But it doesn’t prevent you to get upstream changes if it is safe. Plus git doesn’t reset the flag on pull. But ignoring the ‘reset --hard' command could become a nasty surprise for a developer. Assume-unchanged flag could be lost on the pull operation and the local changes inside such files doesn’t seem to be important to git. Both of the statements above are in correspondence with git mail archive: http://thread.gmane.org/gmane.comp.version-control.git/146082 - Junio's (current git maintainer) comment regarding intent of assume-unchanged. http://osdir.com/ml/git/2009-12/msg01123.html - difference between assume-unchanged and skip-worktree as discussed in git mailing list upon addition of skip-worktree patch. Actually neither of the flags is intuitive enough. Assume-unchanged assumes that a developer shouldn’t change a file. If a file was changed – than that change is not important. This flag is meant for improving performance for not-changing folders like SDKs. But if the promise is broken and a file is actually changed, git reverts the flag to reflect the reality. Probably it’s ok to have some inconsistent flags in generally not-meant-to-be-changed folders. On the other hand skip-worktree is useful when you instruct git not to touch a specific file ever. That is useful for an already tracked config file. Upstream main repository hosts some production-ready config but you would like to change some settings in the config to be able to do some local testing. And you don’t want to accidentally check the changes in such file to affect the production config. In that case skip-worktree makes perfect scene.
Post A Comment | Add to Memories | Share | Link
1 " Use <F5> to invoke command on current line while editing _vimrc
2 augroup QuickVimrcCommandInvocation
3 autocmd!
4 autocmd BufEnter _vimrc :noremap <F5> :call ExecuteCurrentLineCommand()<CR>
5 autocmd BufEnter _vimrc :inoremap <F5> <ESC>:call ExecuteCurrentLineCommand()<CR>i
6 augroup END
7
8 function! ExecuteCurrentLineCommand()
9 execute 'normal yy'
10 @"
11 endfunction
12
13 " CTRL-C copies selection to clipboard and resets to command mode
14 snoremap <C-C> <ESC>gv"*ygv<ESC>
|
А выводить в html через :TOhtml. Вот так-то!
Post A Comment | Add to Memories | Share | Link
 |
|
C#
Process.GetProcessById( pid ).Threads.Cast<ProcessThread>().Select( t => t.Id )
C++
// Get a snapshot of this process. This enables us to enumerate its threads.
HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, pid);
if( INVALID_HANDLE_VALUE == snapshot ) { throw WinApiException("CreateToolhelp32Snapshot"); }
shared_ptr<void> snapshot_deleter( snapshot, CloseHandle );
// Initialize thread entry structure
THREADENTRY32 threadEntry;
threadEntry.dwSize = sizeof(threadEntry);
if( !Thread32First(snapshot, &threadEntry) ) { return 0; }
// Walk the thread list and print each wait chain
do
{
if( threadEntry.th32OwnerProcessID != pid ) { continue; }
// Open a handle to this specific thread
HANDLE thread = OpenThread(THREAD_ALL_ACCESS, FALSE, threadEntry.th32ThreadID);
if( NULL == thread ) { throw WinApiException("OpenThread"); }
shared_ptr<void> thread_deleter( thread, CloseHandle );
// Check whether the thread is still running
DWORD exitCode;
BOOL success = GetExitCodeThread(thread, &exitCode);
if( !success ) { throw WinApiException("GetExitCodeThread"); }
// Print wait chains for active threads
if( STILL_ACTIVE == exitCode )
{
// Do something with thread ID taken from threadEntry.th32ThreadID ...
}
}
while( Thread32Next(snapshot, &threadEntry) );
14 Comments | Post A Comment | Add to Memories | Share | Link
 |
|
Я тут понял, что я пропустил несколько альбомов, которые уже давно лежали на фликере. 2011/06/05 Medieval Festival - http://www.flickr.com/photos/fallengamer/5840740972/in/set-72157626978176590/lightbox/ - надо было пофильтровать получше... Фото с фестиваля средневековья, на который мы совершенно случайно попали. 2011/06/05 Dungeness Spit - http://www.flickr.com/photos/fallengamer/5887291746/in/set-72157627082581008/lightbox/ - песчанная коса Данженес. 2011/06/12 Franklin Falls - http://www.flickr.com/photos/fallengamer/5925536514/in/set-72157627042740467/lightbox/ - водопады. 2011/06/26 Gold Creek Pond - http://www.flickr.com/photos/fallengamer/5925133493/in/set-72157627167589188/lightbox/ - черезвычайно живописный пруд в горах. Olympic National Park 2011: 2011/07/01 Kalaloch - http://www.flickr.com/photos/fallengamer/5933001212/in/set-72157627183516350/lightbox/2011/07/02 Quinault - http://www.flickr.com/photos/fallengamer/6171047959/in/set-72157627601283769/lightbox/2011/07/03 Rain Forest near Quinault - http://www.flickr.com/photos/fallengamer/6268518674/in/set-72157627949168444/lightbox/2011/07/04-05 Окрестности Quinault - http://www.flickr.com/photos/fallengamer/6268624446/in/set-72157627949407154/lightbox/В национальном парке Олимпик было очень здорово. Хочется туда еще раз съездить. Лес очень необычный, океан шумный и прохладный и озера глубокие и чистые. В Калалохе в отеле было полное сочинение журналов American Heritage с 54 года - было очень интересно почитать про индейцев и вообще сравнить журналы тогда и журналы теперь.
Post A Comment | Add to Memories | Share | Link
|
 |
|
 |
 |