Comments on: Hold On A Minute http://www.red-sweater.com/blog/1397/hold-on-a-minute Mac & Technology Writings by Daniel Jalkut Wed, 08 Oct 2014 03:07:32 +0000 hourly 1 http://wordpress.org/?v=4.0 By: Michael McWatters http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153921 Fri, 10 Sep 2010 16:19:49 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153921 Thanks, Daniel. I’ll give that a shot.

]]>
By: Daniel Jalkut http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153919 Fri, 10 Sep 2010 15:05:09 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153919 Hi Michael – the app doesn’t have any specific support for captions, but it’s sort of possible to achieve it using the customizable “media markup macros.” When you are inserting an image, look in the “Style” popup which by default just includes e.g. Align Left, Centered, etc. You can add custom markup items here that could, for example, contain a fancy HTML template that used, for example, the “Alt Text” you provide to show a caption beneath the image.

I’d like to add fancier image styling features right in the app at some point in the future.

]]>
By: Michael McWatters http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153912 Fri, 10 Sep 2010 02:21:30 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153912 Really great updates. One question: is it possible to add captions to photos from within MarsEdit?

]]>
By: Dan Wood http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153911 Fri, 10 Sep 2010 02:17:05 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153911 Great post, Daniel. I wish I had your too-fast-network problem. I guess the San Francisco Bay Area is too remote, thus the slow download speeds we have here. :-)

Hopefully we’ll get this dragging issue sorted out soon. In the meantime, I invite any developers who are interested to check out the project at http://imedia.googlecode.com/ and consider contributing to the code-base and/or incorporating it into their own projects. The 2.0 rewrite (thanks chiefly to Peter Baumgartner or Boinx, author of PhotoMagico) is just astonishing and quite a bit internal improvement from the 1.x version that is shipping in a number of applications.

]]>
By: Collin Allen http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153903 Thu, 09 Sep 2010 18:21:41 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153903 +1 For SpeedLimit (http://mschrag.github.com/). While I had to build it myself from source, the prefpane is easy to use and works wonders when trying to slow down an internet connection to specific hosts.

]]>
By: Marc Liyanage http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153902 Thu, 09 Sep 2010 18:18:23 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153902 Nice tip.

Another very comfortable way to do this, as long as you’re dealing with HTTP only, is to use the Throttle feature of the Charles Web Proxy: http://www.charlesproxy.com/. This and all other features saved me countless hours of debugging time… Highly recommended if you do any application development that involves HTTP.

]]>
By: Leib http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153901 Thu, 09 Sep 2010 18:15:32 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153901 The way I handled a problem very similar to this is to run a nested event loop. This allows the user to interact with the UI and still block the promised file callback.

My loop was something like this:
while ([self shouldBlockTarget]) {
NSEvent *event = [NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:[NSDate distantFuture]
inMode:NSDefaultRunLoopMode
dequeue:YES];
[NSApp sendEvent:event];
[NSApp updateWindows];
}

When the copy finished or the user pressed Cancel I did the following:
// Post a dummy event so that we get kicked out of the event loop.
NSEvent *event = [NSEvent
otherEventWithType:NSApplicationDefined
location:NSZeroPoint
modifierFlags:0
timestamp:0
windowNumber:0
context:NULL
subtype:0
data1:0
data2:0];
[NSApp postEvent:event atStart:NO];

]]>
By: Blake Winton http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153900 Thu, 09 Sep 2010 18:13:07 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153900 For a more user-friendly version of the same thing, check out the speedlimit prefpane at http://mschrag.github.com/

Later,
Blake.

]]>
By: rentzsch http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153899 Thu, 09 Sep 2010 18:12:59 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153899 Be sure to take a look at Mike Schrag’s SpeedLimit: a .prefPane which wraps such firewall config hacking into a simple high-level GUI:

http://mschrag.github.com/#speedlimit
http://github.com/mschrag/speedlimit

]]>
By: CraigM http://www.red-sweater.com/blog/1397/hold-on-a-minute/comment-page-1#comment-153898 Thu, 09 Sep 2010 18:12:17 +0000 http://www.red-sweater.com/blog/?p=1397#comment-153898 Daniel, great write-up on a nice subject … I’d heartily recommend keeping a copy of WaterRoof (http://www.hanynet.com/waterroof/) handy if you want to delve into the IPFW setup on OSX. Its nice now and again to have the GUI to help with the rulesets!

BTW, take note of the warning about traffic shaping and 64bit OSX kernel panics, some people may get bitten on 10.6.x …

CraigM

]]>