• OOD / OOP

    An object-oriented approach to FizzBuzz

    FizzBuzz is described as: Write a program that prints the integers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz” It takes a couple…

  • Web

    Improving web speed with Arduino

    The Flash library by Mikal Hart is a wonderful piece of software for improving simple web server apps built on the Arduino: the main problem when designing such apps is that the limited number of RAM available forces the designer either to use an SD card to store the files…

  • Video

    Test video for CCTV motion analysis

    Here is video footage from a real-life scene: it’s a windy day, so the camera is slightly shaking, and there is a lot of action happening in the road below. This video sequence is useful for the following tests: – checking the direction of moving vehicles (there are bikes moving…

  • Video

    Slow blits with latest nVidia drivers

    An application of mine uses DirectDraw to draw video frames on multiple screens, and so far the visualization pipeline used a group of off-screen YUV surfaces that, at the end of the process, are drawn into the primary surface. So this is the code that creates the primary surface: {CODE…

  • Multi-thread

    Easy multi-thread programming with Delphi

    In the AltaPixShare software app, when the user drags a group of images to the target location, the following code iterates over the list of images, and for each image creates the destination file: {CODE brush: delphi; ruler: true;}for i := 0 to Pred(ActiveImages.Count) do begin try CurrentImage := TProcessedImage(ActiveImages[i]);…

  • Software

    AltaCdCover – convert CD covers

    Quickly convert a digipak CD cover into a traditional jewel-box CD back cover! Just drop the CD cover to convert into the source area, AltaCdCover will automatically recognize if it contains both front and back sides or only the back side, drop the front side if found, and reconstruct the…

  • Software

    AltaLux in XnView

    The AltaLux image enhancement filter is now available in the popular XnView image viewer! Now you can enjoy AltaLux technology inside an advanced image viewer and editor, so trying how AltaLux can effectively enhance your photos is just a click away while you keep using your favourite image viewer.