POV-Ray : Newsgroups : povray.off-topic : The other OS Server Time
29 Jul 2024 20:21:56 EDT (-0400)
  The other OS (Message 111 to 120 of 130)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Orchid XP v8
Subject: Re: The other OS
Date: 9 Aug 2011 13:44:18
Message: <4e4171f2$1@news.povray.org>
On 08/08/2011 05:04 PM, Darren New wrote:

> This may be broken, but maybe it'll be easier for you to understand how
> COM works:
> http://research.microsoft.com/en-us/um/people/emeijer/Papers/HaskellCom.pdf
> I mean, that looks like a pretty good description of how it all works.

Mmm, interesting.

I wonder where the hell you look up the necessary GUIDs, method 
indicies, etc...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Orchid XP v8
Subject: Re: The other OS
Date: 9 Aug 2011 13:45:30
Message: <4e41723a$1@news.povray.org>
On 09/08/2011 05:54 PM, Jim Henderson wrote:
> On Tue, 09 Aug 2011 12:42:29 -0400, Warp wrote:
>
>> Invisible<voi### [at] devnull>  wrote:
>>> Binary files and text files aren't the same.
>>
>>    Clearly you aren't enough of a hacker.
>
> Indeed, it's just data, after all.

You know what? I also wouldn't use a text editor to edit a sound file. 
And I *definitely* wouldn't use a sound editor to edit a text file.

So yes, I guess I'm not enough of a "hacker". I prefer to do things 
/properly/ rather than hack stuff up. :-P

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 9 Aug 2011 13:53:05
Message: <4e417401@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> You know what? I also wouldn't use a text editor to edit a sound file. 
> And I *definitely* wouldn't use a sound editor to edit a text file.

  I have actually edited video files with a hex editor. (VirtualDub is not
a video editing software, just an extremely primitive video re-encoding
tool, and hence it's extremely picky about things. For example if you want
to append one video to another, they must have the exact same framerate.
There aren't many video editing software out there that allows you to go
and just change the framerate setting of a video file, so a hex editor is
handy for this, once you know which values in the header of the file you
have to change.)

  So if my text editor support hex-editing, why shouldn't I edit such a
video file with it?

-- 
                                                          - Warp


Post a reply to this message

From: Orchid XP v8
Subject: Re: The other OS
Date: 9 Aug 2011 14:40:55
Message: <4e417f37$1@news.povray.org>
On 09/08/2011 06:53 PM, Warp wrote:
> Orchid XP v8<voi### [at] devnull>  wrote:
>> You know what? I also wouldn't use a text editor to edit a sound file.
>> And I *definitely* wouldn't use a sound editor to edit a text file.
>
>    I have actually edited video files with a hex editor.

You might use a hex editor to change a few flags or magic numbers in the 
frame headers, or to check why a particular file is broken. But you 
wouldn't use it to do the same kind of manipulations that a real image 
editor could do. (E.g., trying to do a Gaussian blur with a hex editor 
would be an exercise in futility.)

> There aren't many video editing software out there that allows you to go
> and just change the framerate setting of a video file

Ironically, VirtualDub is one such program.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

From: Jim Henderson
Subject: Re: The other OS
Date: 9 Aug 2011 14:47:23
Message: <4e4180bb@news.povray.org>
On Tue, 09 Aug 2011 18:45:27 +0100, Orchid XP v8 wrote:

> On 09/08/2011 05:54 PM, Jim Henderson wrote:
>> On Tue, 09 Aug 2011 12:42:29 -0400, Warp wrote:
>>
>>> Invisible<voi### [at] devnull>  wrote:
>>>> Binary files and text files aren't the same.
>>>
>>>    Clearly you aren't enough of a hacker.
>>
>> Indeed, it's just data, after all.
> 
> You know what? I also wouldn't use a text editor to edit a sound file.
> And I *definitely* wouldn't use a sound editor to edit a text file.

Sure, I wouldn't either, but that doesn't mean binary and text files 
aren't the same - they are, they're data.  That doesn't mean you don't 
use specialized tools to edit them.

Jim


Post a reply to this message

From: Patrick Elliott
Subject: Re: The other OS
Date: 9 Aug 2011 18:23:46
Message: <4e41b372@news.povray.org>
On 8/8/2011 2:59 PM, Darren New wrote:
> Yeah, if you want that sort of stuff, then you have to read up on
> ActiveX, which is basically "COM with a UI."
Yeah, but not really. ActiveX is, as I said, kind of limited to things 
that already support it. You can cheat, and for example, imbed IE into 
your application, and thus "gain" all of the fancy tricks, but who in 
their right mind does that, if you could manage it some other way. 
Actually adding the ability to late link in your own app, without 
relying on MS' own bug riddled browser as the system that handles those 
events, is.. not quite so trivial.

Basically, I spent a stupid amount of time trying to work out what I was 
missing, finally found it, at which point it was an incomplete example, 
and just said, "Screw this, I don't need to do this anymore anyway!" :p


Post a reply to this message

From: Patrick Elliott
Subject: Re: The other OS
Date: 9 Aug 2011 18:26:13
Message: <4e41b405$1@news.povray.org>
On 8/9/2011 1:39 AM, Invisible wrote:
>> You are missing the point. You said:
>>
>>> OK, fair enough. However, I don't work with any file formats where such
>>> trailing spaces would be significant.
>>
>>> I also don't work with any file formats which should ever contain a tab
>>> character, so I've configured my editor to strip those too.
>>
>> Which is contradictory with your earlier lamentation that you don't have
>> any hex editor. (If you never work with any file formats where
>> automatically
>> stripping some characters breaks the file, what would you use a hex
>> editor
>> for?)
>
> Sometimes I almost think you misunderstand me on purpose...
>
> Binary files and text files aren't the same. Editing binary isn't the
> same as editing text. If I'm editing text, then I /want/ my editor to do
> helpful things like strip unnecessary spaces, convert tabs to spaces,
> and so on and so forth. If I'm editing binary [which currently I can't,
> but if I could...] I don't want anything to be changed unless I ask for it.
Hmm. Then you are just about the only one that does want it to do those 
things for you. The single most piss me off to no end thing "text 
controls" do, whether its an editor, or say.. an entry box on some web 
site, is "help me" by ripping out indents, and sometimes even paragraph 
breaks, because I, obviously, didn't know what the hell I was doing when 
I typed it. In the case of the web pages, its usually the same ones that 
refuse to support "code" tags, or "blockquote". lol


Post a reply to this message

From: Patrick Elliott
Subject: Re: The other OS
Date: 9 Aug 2011 18:35:39
Message: <4e41b63b$1@news.povray.org>
On 8/9/2011 10:53 AM, Warp wrote:
> Orchid XP v8<voi### [at] devnull>  wrote:
>> You know what? I also wouldn't use a text editor to edit a sound file.
>> And I *definitely* wouldn't use a sound editor to edit a text file.
>
>    I have actually edited video files with a hex editor. (VirtualDub is not
> a video editing software, just an extremely primitive video re-encoding
> tool, and hence it's extremely picky about things. For example if you want
> to append one video to another, they must have the exact same framerate.
> There aren't many video editing software out there that allows you to go
> and just change the framerate setting of a video file, so a hex editor is
> handy for this, once you know which values in the header of the file you
> have to change.)
>
>    So if my text editor support hex-editing, why shouldn't I edit such a
> video file with it?
>
Interesting.. Nice to know you can do something like that. Mind, it 
would help a lot more if all the free shit wasn't near total crap, and 
the rest of it expensive. Was trying to take some not even quite HD 
level video a while back and zip it together into DVD format, to put on 
a disk, and there was literally not one function in VirtualDub, or 
anything else I had, that didn't make the result a) look like total 
crap, or b) have sound glitches. TMPGEnc even has a "known" bug in its 
encoder, which causes sound glitches, ranging from mis-sync, to gaps, 
when trying to create a file, or combine them. Its fixed, of course, in 
the "professional" encoder they now supply with the non-free version. 
Sigh...

I keep hoping to see the equivalent of a "Blender" style, free and 
actually fully functional, video editor (which means being able to pick 
frames to work with, among other things, and not slowing to a crawl, 
because it tries to crap 100% of the video in memory, or generates 70 
temp files, taking up 50 times the space the final result needs on the 
drive its using), with complete set of features (instead of the subset 
of, "Slap your photos into a a video and and music!"), at some point, 
but.. somehow I doubt its going to happen any time soon.


Post a reply to this message

From: Stephen
Subject: Re: The other OS
Date: 10 Aug 2011 00:38:48
Message: <4e420b58$1@news.povray.org>
On 09/08/2011 5:43 PM, Warp wrote:
> Stephen<mcavoys_at@aoldotcom>  wrote:
>> I just checked and Edlin is not included in Win7 64 bit.
>
>    What?! The sacrilege!
>

But I hear that it will be included in Win 128 bit along with Pov 5.0 ;-)

-- 
Regards
     Stephen


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 10 Aug 2011 04:06:05
Message: <4e423bed@news.povray.org>
On 09/08/2011 05:48 PM, Warp wrote:
> Darren New<dne### [at] sanrrcom>  wrote:
>> On 8/8/2011 7:01, Warp wrote:
>>>> If you /need/ to generate large chunks of code automatically, you're
>>>> writing your program wrong.
>>>
>>>     You could use the same argument for any of the several features in your
>>> text editor that you, personally, never use.
>
>> I'd more say that if you need to generate large chunks of code
>> automatically, your programming language is too low-level for the code
>> you're writing. Boilerplate is a sign that your language needs to be able to
>> automate the boilerplate.
>
>    I don't think nemesis was restricting his reference to using templates
> to generate content to program code. You could have all kinds of templates
> to generate all kinds of documents, such as html, latex, etc.

LaTeX is program code too. ;-)

As for HTML, that's why there are tools to generate HTML for you.

Now, if you could make it really easy to access those tools from your 
text editor - or any other tools you might have (compilers, 
interpreters, previewers, etc.), that's definitely worth having.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.