From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.doubleslash.org!open-news-network.org!news.teledata-fn.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 14 Jan 2010 21:33:25 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Writing an Operating System in Ada References: <1hunvj4d2v57c$.rxzgqgbp2nnn$.dlg@40tude.net> In-Reply-To: <1hunvj4d2v57c$.rxzgqgbp2nnn$.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4b4f7f99$0$6574$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 14 Jan 2010 21:33:29 CET NNTP-Posting-Host: 24fd8ae3.newsspool3.arcor-online.net X-Trace: DXC=AjLl^HJe7:N=8m7nZkdN^@McF=Q^Z^V3H4Fo<]lROoRA8kF On 1/14/10 8:19 PM, Dmitry A. Kazakov wrote: > On Thu, 14 Jan 2010 18:57:24 +0000 (UTC), tmoran@acm.org wrote: >> If you >> want to do a virus scan on a .vob file, it's not a video file - it's >> a series of bytes. > > I don't need to scan for viruses an object which single operation is play > (takes the device context as the second parameter). You'd need to scan the video for hidden espionage data, or for a hidden message that if delivered will save a life. You'd need to scan the video for information related to color, brightness, etc. when adjusting cinema equipment to current weather conditions. Do all these operations need to override "play" accordingly, or are you thinking of using Cartesian product types created as needed, maybe? Will all persistent video objects be extensible so that they can provide the necessary subprograms that some use case needs?