Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re:I install that solution all the time. (Score 1) 85

I came to post this same link. This will automatically save files to a network share or record them on to a removable compact flash card, making it easier to use and more versatile than a home-grown general purpose computer solution. It can be easily wired with remote start/stop and status indication. It can work manually, based on the faceplate controls, remote contact start/stop, or web-based UI, or automatically based on a schedule. It has both consumer and professional, analog and digital audio inputs and outputs. It's a sturdy, slim, quiet, rack-mounted solution.

Comment Re:Can anyone explain this bug? (Score 1) 277

Here's the actual buggy code.
The error is infinite loop in ConvertDays(), starting at line 249. The first loop does not cope with "IsLeapYear() == true" when "days == 366"

The fix:

        year = ORIGINYEAR;

        daysInYear = IsLeapYear(year) ? 366 : 365;
        while (days > daysInYear)
        {
                days -= daysInYear;
                year += 1;

                daysInYear = IsLeapYear(year) ? 366 : 365;
        }

Slashdot Top Deals

The person who can smile when something goes wrong has thought of someone to blame it on.

Working...