Friday, January 24th, 2014 02:06 pm
От чого, коли я до віндоуз підключаю андроід юсб-кабелем, його зразу видно як носій інформації і можна спокійно копіювати файли, а коли до макосі - так мало того, що треба було поставити драйвер з Кієс і якийсь "андроід файл трансфер", ще й кожні п'ять секунд цей файл трансфер повідомляє, що загублено контакт з пристроєм, реконнектиться і знов видає це саме повідомлення? Простіше виявилося переслати файлик через блютус!
Thursday, March 7th, 2013 11:17 am
(lldb) p [particle lifeVar]
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p particle.lifeVar
error: warning: property access result unused - getters should not be used for side effects
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p (CGFloat)[particle lifeVar]
error: warning: expression result unused
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p (CGFloat)[(CCParticleSystemQuad*)particle lifeVar]
error: warning: expression result unused
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p particle.lifeVar
error: warning: property access result unused - getters should not be used for side effects
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p (CGFloat)[particle lifeVar]
error: warning: expression result unused
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
(lldb) p (CGFloat)[(CCParticleSystemQuad*)particle lifeVar]
error: warning: expression result unused
error: cannot find interface declaration for '$__lldb_objc_class'
error: cannot find interface declaration for '$__lldb_objc_class'
error: 2 errors parsing expression
Wednesday, March 6th, 2013 10:25 am
With current incarnation of search in OSX Skype client I had to employ my SQL skillz (and SQLite Manager addon for Firefox) to find the one message I needed in Skype history logs.
Search function in OSX Skype client does not find you messages - it finds you conversations. Good luck finding that one message you need in conversation of over9000 messages.
Search function in OSX Skype client does not find you messages - it finds you conversations. Good luck finding that one message you need in conversation of over9000 messages.
Monday, December 17th, 2012 06:47 pm
Apple's iOS developer portal, devices, history. I tried to order history entries by date.
( Something is quite not right. )
( Something is quite not right. )
Thursday, November 15th, 2012 02:00 pm
This morning I turned on my mac, was surprised by black screen, then noticed that monitor was turned off. WTF.
Just now I checked uptime and got another WTF.
Lol what? I turned this machine off when I went home yesterday.
Oh? Someone turned it on an hour after I went home? Turned it on, then put in sleep mode and turned off monitor?
Just now I checked uptime and got another WTF.
$ uptime 13:58 up 18:47, 2 users, load averages: 0.82 0.86 0.90
Lol what? I turned this machine off when I went home yesterday.
$ last | more user ttys000 Thu Nov 15 09:48 still logged in user console Thu Nov 15 09:47 still logged in reboot ~ Wed Nov 14 19:12 shutdown ~ Wed Nov 14 18:16
Oh? Someone turned it on an hour after I went home? Turned it on, then put in sleep mode and turned off monitor?
Tuesday, September 18th, 2012 05:58 pm
current temperature of this Mac Mini: 92C
$ sudo port install gnuplot ---> Computing dependencies for gnuplot ---> Cleaning gnuplot ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 134 broken file(s), matching files to ports ---> Found 6 broken port(s), determining rebuild order ---> Rebuilding in order ImageMagick @6.7.6-7 +q16 atk @2.2.0 gtk2 @2.24.10 +x11 gconf @2.28.1 pidgin @2.10.4 libglade2 @2.6.4 ---> Computing dependencies for ImageMagick ---> Fetching archive for ImageMagick ---> Attempting to fetch ImageMagick-6.7.9-0_2+q16.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/ImageMagick ---> Attempting to fetch ImageMagick-6.7.9-0_2+q16.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ImageMagick ---> Attempting to fetch ImageMagick-6.7.9-0_2+q16.darwin_11.x86_64.tbz2 from http://packages.macports.org/ImageMagick ---> Fetching distfiles for ImageMagick ---> Verifying checksum(s) for ImageMagick ---> Extracting ImageMagick ---> Configuring ImageMagick ---> Building ImageMagick
current temperature of this Mac Mini: 92C
Thursday, January 26th, 2012 04:05 pm
I added some new stuff to the code and suddenly the game began drawing platforms half a platform height above where platforms should be rendered. WTF? I did not change platforms code. Clean build did not help. Deleting derived data did not help.

So I cloned git of the project to another folder and started reverting to earlier versions. All versions were drawing platforms in wrong positions.

I switched back to latest version and ran it again. All platforms in their places. I ran it again. All platforms were above where they should be.


So I cloned git of the project to another folder and started reverting to earlier versions. All versions were drawing platforms in wrong positions.

I switched back to latest version and ran it again. All platforms in their places. I ran it again. All platforms were above where they should be.

Thursday, January 26th, 2012 12:43 pm
I need to subclass an abstract class. As I was implementing one of abstract class methods in my derived class, Xcode put a red error mark on "void Listener::BeginContact(b2Contact* c)" line, telling me there are three errors. I double checked my spelling and syntax and found no errors, so I clicked on error mark to see error descriptions. Xcode crashed.
When I restarted Xcode, error mark was still there. I clicked on it and Xcode crashed.
I restarted Xcode, deleted project's derived data, restarted Xcode again. Error mark was still there. I clicked on it and Xcode crashed.
I restarted Xcode, built the project (clean) - error mark was still there. I did the clean build again - and error mark was gone. W. T. F.
When I restarted Xcode, error mark was still there. I clicked on it and Xcode crashed.
I restarted Xcode, deleted project's derived data, restarted Xcode again. Error mark was still there. I clicked on it and Xcode crashed.
I restarted Xcode, built the project (clean) - error mark was still there. I did the clean build again - and error mark was gone. W. T. F.
Wednesday, November 16th, 2011 10:25 am
Apple's documentation:
You'd think this method would be enough to make it possible to interact with UI element in Automation (it cannot interact with off-screen elements).
Nope.
If it's the last element, barely half of it is visible.
scrollToVisible
Scrolls until the specified element is visible in a container view.
You'd think this method would be enough to make it possible to interact with UI element in Automation (it cannot interact with off-screen elements).
Nope.
If it's the last element, barely half of it is visible.
tap()
'ing or setValue()
'ing this element hits the tab bar. So I have to check if it's the last element, and if so, scroll the view down.