субота, 16 лютого 2013 р.
пʼятниця, 18 листопада 2011 р.
Flight status data providers
неділя, 14 серпня 2011 р.
Objective-C memory management - copy method and retain cycles
субота, 30 липня 2011 р.
Network Link Conditioner for poor connection testing
середа, 27 липня 2011 р.
DFT.nl-realtime released
понеділок, 13 червня 2011 р.
JQTouch - makes web closer to mobile (Beta 3)

I've just checked out the appearance of JQTouch and the abilities it gives to develop HTML interfaces which closely resemble native iPhone interfaces (can't wait checking it on the iPad ).
вівторок, 7 червня 2011 р.
XCode - Custom build rules
понеділок, 30 травня 2011 р.
iPhone SQLite data encryption - SQLCipher and CommonCrypto
пʼятниця, 20 травня 2011 р.
CGAffineTransformInvert - singular matrix error
<Error>: CGAffineTransformInvert: singular matrix.
0 0 00 0 00 0 1
четвер, 14 квітня 2011 р.
Sorting NSArray with blocks
featuresArray = [[unsortedFeaturesArray sortedArrayUsingComparator: ^(id a, id b) {
DMSeatFeature *first = ( DMSeatFeature* ) a;
DMSeatFeature *second = ( DMSeatFeature* ) b;
if ( first.quality == second.quality )
return NSOrderedSame;
else
{
if ( eSeatQualityGreen == m_seatQuality
|| eSeatQualityYellowGreen == m_seatQuality
|| eSeatQualityDefault == m_seatQuality )
{
if ( first.quality < second.quality )
return NSOrderedAscending;
else
return NSOrderedDescending;
}
else // eSeatQualityRed || eSeatQualityYellow
{
if ( first.quality > second.quality )
return NSOrderedAscending;
else
return NSOrderedDescending;
}
}
}] retain];
пʼятниця, 8 квітня 2011 р.
Know your place
WARNING! Creating precompiled collator because collator is out of date. This is expensive!
Today I've found a nice iOS warning every second time I start up my application on the device: "WARNING! Creating precompiled collator because collator is out of date. This is expensive!". Apple's programmers are informative about the consequences but not that much about the causes. I don't get any other errors or warning.
Google also can hardly help to comprehend what's happening. There are only some anecdotal evidences that it happens on iOS 4.2.1 - same as my device is running. Some other sources suggest that the warning is due to framework bug and I will get rid of it tomorrow after iOS 4.3 installation (or iPhone SDK 4.3 setup).
вівторок, 29 березня 2011 р.
whiteboard distribution
пʼятниця, 25 березня 2011 р.
iOS blocks aka closures
On the other hand, my tests with calling UIKit code adding 322 labels of 2 latin alphabet length each to the view controller yielded 3.5 seconds of execution on the main thread. Compare this with about 10 seconds of execution through dispatch_async call on the global queue with HIGH priority having nothing else added to this queue (iPhone 4 device). At his point more information required to compare blocks performance to exclusive thread execution. Or does it have something to do with non-thread-safety of UIKit?
вівторок, 25 листопада 2008 р.
гегемония качества монстров
четвер, 20 листопада 2008 р.
борба за такты - многопоточность
собственно почему и чем грозит:
"The Free Lunch Is Over - A Fundamental Turn Toward Concurrency in Software" By Herb Sutter
"То, что вам никто не говорил о многозадачности в Windows" Роман Лут
"Начало работы с OpenMP*" Intell Software Network. тулза, позволяющая просто(?) распараллеливать вычисления под Hyper-Threading
"Software optimization resources" ну очень глубоко - This series of five manuals describes everything you need to know about optimizing code for Intel and AMD microprocessors, including optimization advices for C++ and assembly language, details about the microarchitecture and instruction timings of Intel and AMD processors, and details about different compilers and calling conventions.
середа, 12 листопада 2008 р.
swf 2 html
Adobe is teaming up with search industry leaders to dramatically improve search results of dynamic web content and rich Internet applications (RIAs). Adobe is providing optimized Adobe Flash Player technology to Google and Yahoo! to enhance search engine indexing of the Flash file format (SWF) and uncover information that is currently undiscoverable by search engines.
Как найти линк на саму утилиту на сайте - отдельная история. Обнаружить страницу с линком на исходники через поиск по сайту Adobe не удалось, помог гугл и линк с какого-то форума.
А вот в исходном коде содержиться занятный копирайт - The entire contents of this file is Copyright © Macromedia, Inc. 2002 , All Rights Reserved. Судя по копирайтам, утилите уже 6 лет. Почему ее открыли только в этом году, для меня остается загадкой.
середа, 5 листопада 2008 р.
Wide Finder 2: processing 42GB of httpd logs, 300X faster than naïve Ruby
http://eigenclass.org/hiki/widefinder2-conclusions
в top3 - две реализации на с++ и одна на OCaml
Релизация на OCaml, на сколько я понял, в разы проще в написании и короче, чем С++. А стоит ли игра в С++ свечь, если есть более простые альтернативы, дающие почти туже производительность?
link via DOU
вівторок, 4 листопада 2008 р.
борьба за такты
What every programmer should know about memory, Part 1 (Article)
Ещё раз про latency
Introduction to SSE Programming
Intel® 64 and IA-32 Architectures Software Developer's Manuals

