Mac OS X Tips & Tricks

Some things I learnt today:

Proxy icons: in a document-based application (like Finder, TextEdit, Preview, Pages…), after a document has been saved, a proxy icon for the document appears in the title bar. It represent the file itself, and can be likewise manipulated:

  • click it for a few seconds and drag to another application to open it, or to the desktop/Finder if you want to copy/move it, etc…
  • ⌘-click (or control-click, or right-click) it to view the path menu, useful to open the folder or any subfolders of the file in the Finder.

 

and

In any Finder window or Open/Save dialog, you can hit Command+Shift+G to get a location bar from which you can directly type in the directory to go to. It even supports ~ for home and tab completion.

and

You can increase or decrease your volume by quarter increments by Pressing:

OptionShiftVolume Up/Down

and

While Cmd tabbing between applications, without releasing CMD, you can hit ‘Q’ to quit or ‘H’ to hide the selected application. Works great with the mouse to get rid of a whole bunch of applications quickly.

The bevel won’t go away and you can repeat this for as many applications as you like as long as you’re holding CMD.

There’s plenty more here.

    Andy Brice’s Interview with a Cracker

    Fellow independent software developer Andy Brice was able to conduct an anonymous interview with a software cracker.

    it might help if most authors realised that the person who cracked their software is more likely a bored 16 year old Chinese male than a future terrorist.

    and

    What are the commonest mistakes software developers make related to security?

    In no particular order:

    1. Depending on commercial protection schemes for security.
    2. Directly comparing the license string entered with the correct one.
    3. Not using some sort of encryption/obfuscation (XOR isn’t *good* encryption).
    4. Using a single simplistic registration function that is easy to isolate.
    5. Displaying message boxes with helpful strings sending the cracker straight to the protection code.
    6. Not integrity checking against patching.
    7. Not updating the software once a crack is discovered in the wild.

     

    Worth reading, especially if you are – or want to be – an independent software developer.

    Software developers are in an eternal battle with software crackers – those who blast through the software license system to distribute “unlocked” copies of your software. For independent software developers this is no abstract topic – our personal income is directly affected by the quality of our software licensing system.

    An Alternative to XCode?

    Yesterday I fired up XCode 4 for the first time. I needed to write a small utility for Archimedes in Objective-C. It was just pure frustration. Even though XCode 4 is a big improvement on XCode 3, it is still some distance behind the state-of-the-art software development IDEs. I found myself wishing there was a viable alternative for Objective-C development.

    The JetBrains team – who bring joy to Java and C# developers every day – seem to have heard my wishes overnight. Today I received this e-mail:

    This is a short notice to inform you that we’ve just opened the Early Access Program for appCode, a new Objective-C IDE. You are welcome to download it, try and let us know what you think.

    Yes! I gave it a work-out and have concluded that already in this early stage of development that it is what XCode 4 should have been.

    This is music to my ears:

    We are very much looking forward to your feedback to help us create a tool you would enjoy using daily.

     

    Back in Germany

    After a few months in the middle east, I’ve returned to Germany. I’m dusting off the equipment in my home office. Have you ever turned on a computer after it has been off for six months? Every software product I start up wants to be updated. Apple updates alone were over 2 Gigabytes. It seems I’ll be spending some time getting my Poker Copilot development studio up to date.

    After solely using a 15 inch MacBook Pro while in the middle east,  it is pure bliss retuning to a 24 inch iMac with a second monitor. It is also bliss having fast, reliable Internet again.

    Now I’m back, I can hopefully start making some good progress on Archimedes.

    Poker Copilot Testimonial of the day

    Loyal Poker Copilot customer DK writes,

    it shows how HUD-dependent i’ve become thanks to you and your bloody Poker Copilot. Now I’m addicted! You came quietly with a fantastic offer and said, “Here ya go online NLH player with a Mac, the first one’s on me.” I tried your drug and now i’m hooked damnit! Curses on ya!!!

    Sorry DK… 🙂

     

    Boost in Sales – Due to Minor Tweaks?

    Over the last few months I’ve been based in Beirut. Not a great place to run an Internet-based business due to the lousy Internet in Lebanon. Not to mention the many fun distractions in Beirut that keep me from working too hard. Yet during these few months my sales have risen roughly 25%.

    I’ve made many small tweaks to Poker Copilot over these few months that I haven’t announced because they are not interesting to most people. Who they are interesting to are brand new Poker Copilot users. Except they don’t know about them. These tweaks are all in response to my most common support problems.

    I’ve been relentlessly taking note of my top support requests, and making small changes to make the problem go away. What I want is for first time users to have the smoothest possible experience. Some claim that the first couple of minutes of a person using a software product are the most important for making a buy-or-don’t-buy decision. The theory goes like this: If the software causes pain, many people will simply quit using it and never try again. If the software causes joy, then those some people will continue using it, fall in love with it, become accustomed to it, and buy it.

    Is the 25% increase in sales due mainly to these tweaks? Hard to tell. It is far from a controlled experiment. There could be many other factors at play. Seasonal variation. Increase in poker playing. Increase in Mac sales. Better Google ranking for the Poker Copilot website. Dumb luck. One of the new features I’ve added (player icons, status bar info)  in recent months appealing unexpectedly to many people. All one can do is guess.

     

    How often did you come 1st, 2nd, 3rd in poker tournaments?

    Poker Copilot doesn’t tell you how often you came 1st, 2nd, or 3rd in poker tournaments. However, if you know a bit of SQL, you can use Poker Copilot’s Database Console to work this out. Here’s how:

    1. From the Tools menu, select “Database Console”

    2. In the database console, enter this query:

     

    select
        heroranking as position, 
        count(heroranking) as count 
    from 
        tournament
    where 
        heroranking is not null
    group by 
        heroranking
    order by 
        heroranking

     

    Alternatively, use this to see a histogram of sorts:

    select
        heroranking as position, 
        repeat('*', count(heroranking)) as count
    from 
        tournament
    where 
        heroranking is not null
    group by 
        heroranking
    order by 
        heroranking

     

    Just want to see results for places 1 to 10?

    select
        heroranking as position, 
        repeat('*', count(heroranking)) as count 
    from 
        tournament 
    where
        heroranking <= 10 
    group by 
        heroranking 
    order by
        heroranking

    Poker Copilot 2.85 Now Available

    Poker Copilot 2.85 is now available to download.

    What’s changed:

    • The “There’s an update” dialog box now links to helpful instructions. The update process could still be better and doing this is definitely on my list of things to do.

    What’s fixed:

    • A problem handling the end of summer time broke the HUD in Merge Network.
    • Cereus Network players with punctuation in their names are now handled correctly

    Update Instructions:

    1. Download the latest version here.
    2. Open the downloaded file.
    3. Drag the Poker Copilot icon to the Applications icon. If prompted to replace an existing version, confirm that you do want to replace.

    Now you are done and ready to hit the tables.