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
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.
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. )
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.

$ 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?
Wednesday, November 7th, 2012 10:32 am
A common (for me) Finder mess:



This one is after making new folder. Finder gets WTFs like this several times every day.
Friday, September 21st, 2012 11:48 am
With Xcode 4.5 Apple outdid themselves. It can't run app on simulator, can't stop app on simulator, can't close project and can't quit.
Tuesday, September 18th, 2012 05:58 pm
$ 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.

Y U GLITCH ON ME LIKE THIS

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.
Tuesday, December 27th, 2011 03:39 pm
Xcode's Undo command often "undoes" text deletions by inserting removed text at the current cursor position.
Wednesday, November 16th, 2011 10:25 am
Apple's documentation:

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.
Monday, November 14th, 2011 11:41 am


"Finder" is the default file manager. I didn't even open any Finder windows today yet. At the time of posting this it has 623 MB of memory. I wonder if I should leave it running in its "not responding" state just to see how much of memory it can eat.
Page generated Monday, July 21st, 2025 07:17 pm
Powered by Dreamwidth Studios