Author: AngusThinks

  • Scripts in XCode

    The build system for SQLEditor has lots of steps, from building each of the component frameworks, compiling the application, assembling the bundle, creating a disk image and then uploading everything to the server. (Plus things like version histories and read me files).To reduce errors I have several aggregate targets and a collection of scripts, but I was puzzled how to produce those little note entries that OCUnit generates when it’s running unit tests. There were several notes I wanted to make but I couldn’t figure it out.

    However it occurred to me one day to inspect the souce of RunTargetTests and the answer was of course right there in the source.

    <filename>:<line>: note: <message>

    gives you a note.

    <filename>:<line>: <message>

    gives you a warning.

    where

    <filename>

    is the name of the file you want the message to appear from

    <line>

    is the line number in that file

    <message>

    is the message you want to display

    In the note form the word ‘note’ is a constant. Don’t replace it with anything.

    As an alternative you put in use an empty filename and 0 for the line if you’re not interested in these details.

    Example

    @echo ":0: note: disk image creation complete"

    Will display the message “disk image creation complete” as a note in the build window.

  • The inspiration for star wars?

    George Lucas in Love

    A parody on the origins of the star wars story…

  • Engineers without borders

    Wired has an interesting article about Engineers without borders, a group that is trying to develop cheap technology solutions for developing parts of the world. The latest idea is a low cost wind turbine to generate electricity for lighting.
    Best of all the design is intended to be produced by local manufacturers in the destination country, so it encourages local industry too.

    Wired: Engineers Without Borders Bring Tech to Villages Without Power

  • Flash CS3 – Trace not producing output?

    Found an odd problem with Flash CS3 today. I was working away and I realised that I wasn’t getting anything in the output window from calls to trace().

    Just a completely empty output panel.

    The answer is simple, make sure Filter Level is set to verbose in the menu on the output panel. If you have it set to None then you won’t get any output.

    I’m not quite sure if this is something that I changed or if it is the default, but it isn’t exactly obvious.

  • Chocolate Russian Roulette

    I happened to come across this:

    Chocolate Russian Roulette [cybercandy uk]

    You get a tray with 12 pieces of chocolate. 11 of them are praline filled milk chocolate bullets, the 12 contains a real chilli pepper.

  • Handy database of recommended Mac Apps

    Johan Basberg (who designed the beautiful SQLEditor icon) has a handy list of recommended mac applications at

    http://dittverk.no/mac/files/tag-editor.php

    And SQLEditor is on this list 🙂

  • ACID3 tests

    Work started on the new acid test almost as soon as the IE developer team posted notification that IE8 passes Acid2

    🙂

    Well, if you read the article and comments, it’s not perfectly correct. But it’s kind of funny as a quote.

    CSSInfo

  • ACM computer science key works

    The ACM is offering free downloads of selected classic works of computer science to anyone who signs up.

    http://www.acm.org/classics 

    (via  Lambda The Ultimate and Dusty Decks)

  • Windows XP Services descriptions

    Since it wasn’t obvious to me where this document was, here is a link to a Microsoft page describing Windows XP services with descriptions.

    http://www.microsoft.com/technet/security/guidance/serversecurity/tcg/tcgch07n.mspx

    There is also a similar document for Windows 2000

    http://technet.microsoft.com/en-us/library/bb742605.aspx

  • Brushy the Talking Airbrush

    Interesting blog post talking about how Adobe plans to improve Photoshop, which is obviously an application with a large number of very committed users.

    John Nack is talking about task orientated user interfaces, which in theory is what Microsoft was trying to get to with clippy. Unfortunately since everyone seems to dispise clippy; Brushy the talking airbrush (signature quote: “Hey, pardner, looks you’re tryin’ to retouch a photo!”) is definitely NOT going to happen. (It’s just a joke in one of the comments).

    John Nack on Adobe Photoshop: Photoshop, as seen through Johnny Cash