Timac

  1. Implementing a Service on 10.6

    In this post I talk on how to write a Service for MacOS X 10.6. If you don’t know what is a Service, Apple describes it here http://www.apple.com/macosx/refinements/:
    [Read More]
  2. Cornichon

    Cornichon is a powerful tool you can use to dynamically profile Mac OS X applications on the system and track the process’ performance over time.
    [Read More]
  3. Determining the running kernel mode on 10.6

    It might be useful in some cases to know if the MacOS kernel is running in the 32-bit or 64-bit (K64) mode. This is useful for example if you write an application like ‘System Profiler’ that displays the details of the currently running system:
    [Read More]
  4. ‘Open in 32-bit mode’ – ‘Open using Rosetta’

    As you know, it is possible to force an Universal Binary (ppc, i386, x86_64) to run in 32-bit mode (i386) even if the machine could run x86_64 binaries.
    [Read More]
  5. PICT support in 64-bit app

    QuickDraw is the legacy 2D drawing engine for Macintosh computers and was deprecated in Tiger (10.4) but is still available for 32-bit applications on 10.4, 10.5 and 10.6. 64-bit applications can’t use QuickDraw yet and Apple recommends to switch to other technologies like Quartz 2D.
    [Read More]
  6. Intel 64-bit summary

    Since people are confused regarding Intel 64-bit, here is a brief summary of what can run on which Intel processor.
    [Read More]
  7. Enigme d’Einstein et erreur de traduction

    This post is written in french and talks about a bad translation in the “Einstein’s Puzzle”. L’énigme d’Einstein (aussi connue sous le nom de “l’énigme des 5 x 5”) est un jeu de logique. Son nom vient du fait qu’il aurait été inventé par Albert Einstein alors qu’il était enfant. Cependant ce jeu est aussi parfois attribué à Charles Lutwidge Dodgson.
    [Read More]
  8. Embedded computers in aircrafts

    I am back from vacations and had a 11 hours flight with AirAustral. On board each seat has an embedded computer. With this computer, you can watch movies, play games, …
    [Read More]
  9. Automatic Backtraces

    Here are different solutions to display automatically a backtrace when entering a specific function in your application. As an example we will take the following program. It’s a really simple program: the main function calls the function function1 which prints a string.
    [Read More]
  10. getrlimit and randomness

    To determine the maximum number of files your application can open, there is a function getrlimit() available.
    [Read More]