POV-Ray : Newsgroups : povray.off-topic : The other OS Server Time
26 Nov 2026 02:23:46 EST (-0500)
  The other OS (Message 81 to 130 of 130)  
<<< Previous 50 Messages Goto Initial 50 Messages
From: Orchid XP v8
Subject: Re: The other OS
Date: 8 Aug 2011 10:23:28
Message: <4e3ff160$1@news.povray.org>
>    You could use the same argument for any of the several features in your
> text editor that you, personally, never use.

What? The argument that because I don't need a particular feature, its 
presence or absense isn't particularly important to me? Seems like a 
fairly valid argument.

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


Post a reply to this message

From: Mike the Elder
Subject: Re: The other OS
Date: 8 Aug 2011 10:45:01
Message: <web.4e3ff540a0509d2f85627c70@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
....
> Because typing "banana" is way, way easier than typing "62 61 6E 62 6E
> 62". Obviously.
....

"62 61 6E 61 6E 61" actually.

And, yes, I *am* consdiering professional help... Perhaps "Coders Anonymous" -
It's a 0C step program.  ;-)


Best Regards,
Mike C.


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 8 Aug 2011 10:45:46
Message: <4e3ff69a@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> Now, if there was a single program that had decent support for text 
> /and/ binary editing, then sure, I'd use that.

  But you said you wouldn't use a text editor to edit a binary.

-- 
                                                          - Warp


Post a reply to this message

From: Orchid XP v8
Subject: Re: The other OS
Date: 8 Aug 2011 11:01:55
Message: <4e3ffa63$1@news.povray.org>
On 08/08/2011 03:40 PM, Mike the Elder wrote:
> Orchid XP v8<voi### [at] devnull>  wrote:
> ....
>> Because typing "banana" is way, way easier than typing "62 61 6E 62 6E
>> 62". Obviously.
> ....
>
> "62 61 6E 61 6E 61" actually.

I REST MY CASE!

-- 
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: 8 Aug 2011 11:03:20
Message: <4e3ffab8$1@news.povray.org>
On 08/08/2011 03:45 PM, Warp wrote:
> Orchid XP v8<voi### [at] devnull>  wrote:
>> Now, if there was a single program that had decent support for text
>> /and/ binary editing, then sure, I'd use that.
>
>    But you said you wouldn't use a text editor to edit a binary.

I wouldn't use a program specifically designed for editing text to edit 
binary.

If it had a seperate mode for editing binary, I might use that. But I 
would never, ever use a text editor running in text mode to edit raw 
binary. That's just silly.

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


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 8 Aug 2011 11:27:38
Message: <4e40006a@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> I wouldn't use a program specifically designed for editing text to edit 
> binary.

> If it had a seperate mode for editing binary, I might use that. But I 
> would never, ever use a text editor running in text mode to edit raw 
> binary. That's just silly.

  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?)

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 12:04:47
Message: <4e40091f$1@news.povray.org>
On 8/8/2011 4:29, Orchid XP v8 wrote:
> I can see how an application might expose a COM object such that invoking a
> certain method is like clicking on a particular button. What I can't figure
> out is how COM lets you do stuff like link a chart to a database such that
> every time the database changes, the chart updates. I'm not sure how you
> invoke methods to make that happen.

Assuming you're talking about (say) a SQL server and excel, you write a 
macro in excel that runs whenever you open the spreadsheet (probably in 
VBA). The macro in VBA opens a connection to the SQL COM object, tells it to 
read a database, and then loops over the results, using the Excel COM object 
to stick the rows into the spreadsheet. When it gets to the end of the 
result set, it closes the SQL COM object and tells Excel to draw a chart 
using the COM interface for that.

> Would Excel be a single COM object? Or would you have like seperate objects
> for each workbook, worksheet, cell, etc?

Excel would be a single COM Server. You instantiate an "application" object, 
and that object will have methods for instantiating workbooks, worksheets, etc.

So looking at the Tcl example of talking to Excel again:

 >> set application [::tcom::ref createobject "Excel.Application"]

This makes the "application" variable refer to a COM object of type 
"Excel.Application", which fires up Excel if it isn't already running. If 
you look in the registry for "Excel.Application", it shows you all the data 
structure links telling you which executable it is, what command line 
arguments it uses to do that, and what GUID Excel will store in the 
appropriate data structures to make it work. It also tells you the threading 
model, permissions needed, etc etc etc.

You can also pass the GUID directly instead of the name to be looked up, at 
which point you get that and only that implementation.

In a scripting language like Tcl, things like "Visible" and "Workbooks" are 
passed to a function called IDispatch. So "$application Visible 1" is really 
closer to "$application IDispatch ("Visible", 1)". However, there is also 
statically typed interfaces, and the description of those interfaces (like C 
"struct" headers or C++ class declarations) are described in the Interface 
Description Language, or IDL.

 >> $application Visible 1

This is a method invocation. It's passing "1" to the argument of the 
"Visible" method on the Excel Application object.

 >> set workbooks [$application Workbooks]

The Workbooks method returns the list of workbooks in the currently focussed 
spreadsheet.

 >> set workbook [$workbooks Add]

This adds a new workbook and returns it.

 >> set worksheets [$workbook Worksheets]

This gives you the list of worksheets in the given workbook.

 >> set worksheet [$worksheets Item [expr 1]]

"Item" is the standard method name for indexing elements, like [] in C. You 
have to run "1" thru expr to make sure it's an integer, or you might wind up 
looking for the worksheet whose name is the single-character string "1". 
Because Tcl doesn't have types.

set data [list \
     [list "North" "South" "East" "West"] \
     [list 5.2 10.0 8.0 20.0] \
]
set sourceRange [$worksheet Range "A1" "D2"]
$sourceRange Value $data

So you create some data, pick out the range A1 through D2 in your worksheet, 
and set the values into that range. Again, "Value" is a pretty standard 
method that means "assign the value to the content", basically the inverse 
operation of "Item".

 >> set charts [$workbook Charts]
 >> set chart [$charts Add]

Get the list of charts and add a new one.

 >> $chart ChartWizard $sourceRange 5 [::tcom::na] 1 1 0 0 "Sales Percentages"

Start the chart wizard and answer these values. You'd have to look at the 
docs to figure out what the chart wizard arguments mean here, but a couple 
are obvious.

And that's how you drive Excel. You want to drive it from SQL? Replace the 
"set data" line with one that opens Sql.Application, creates a query, 
submits it, and retrieves the data.

But that page of code is all you need (given Tcl and TCom and of course 
Excel) to actually create a chart in Excel from your script.

Word has similar stuff, where you can insert text, set it bold or change the 
font, etc etc etc.  A lot like javascript's DOM model.

> See, I've always assumed that the glitering world of native Windows GUIs,
> IPC, DLLs, COM, etc. are all behind closed doors, accessible only to people
> who know how to write really low-level Windows code. And I've always assumed
> that the really /good/ stuff (like embedding one application inside another)
> is accessible only to Microsoft themselves. (Or anybody who pays really vast
> sums of money. People like Symantec.)

Nope. You really can do it in Tcl.  Getting it to actually display in your 
code is a little messier, but not much.

>>> I've yet to see a language that can invoke DLLs either...
>>
>> Maybe you should learn a normal language, then. :-)
>
> So... you mean basically C or C++ then?

Something not experimental. Java, C, C++, C#, Ruby, Python, VBA, Tcl, etc 
etc etc.

>>> I'd be perfectly happy doing COM from, say, JavaScript. It's not that
>>> Haskell is the problem, it's that I can't see *anything* that speaks COM.
>>
>> Tcl, VBScript, WScript, VBA, and C# all have trivial interfaces to COM.
>
> Oh dears.

Looks like Python has COM access:

http://www.devshed.com/c/a/Python/Windows-Programming-in-Python/2/

The best way to search seems to be something like
     python "com interface"
because otherwise it finds python.com and stuff like that.

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.

>> Didn't you tell me you had written a VBA macro or two?
>
> Yeah. It took me several hours to finally construct a 25-line VBA macro
> which performs the utterly trivial task of setting the value of a certain
> cell to today's date. This was an exercise in extreme frustration, as the
> help files utterly failed to be remotely helpful in any way. I've been
> bitter ever since. :-P

Heh. Interestingly enough, that has been my experience too. Not uncommonly, 
the documentation for something will be just a little off, or it won't tell 
you exactly what you need installed to make it work, so the docs will tell 
you what the method is and the arguments, but it won't tell you what class 
it applies to, or which libraries have to be installed to find the 
implementation, or etc.

> Yeah, maybe that's what it comes down to. I tend to avoid all the
> MS-designed languages, which is maybe why I can't do COM.

But COM is really common in pretty much anything that's not so UNIX-centric 
that nobody even writes a COM library interface. Even PHP interfaces to COM:

http://php.net/manual/en/ref.com.php

Pretty much any language powerful enough to override the function call 
syntax is going to have something that looks like COM pretty easily. Or 
anything statically typed for which you have the IDL in advance, so you can 
compile interface stubs that take the arguments to calls and package them up 
for COM, which is how C++ gets to COM for example. (You just wind up with 
different syntax to get to dynamically-linked COM vs statically-linked COM 
interfaces.)

Funny enough, it looks like nobody ever wrote a COM interface for elisp. :-)

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 12:11:19
Message: <4e400aa7@news.povray.org>
On 8/8/2011 3:37, Orchid XP v8 wrote:
> Oh, Google helps you find *millions* of hex editors. Which all cost money.
> And, from the look of their product websites, I suspect about 80% of them
> are actually trojans.

Fine. Here's a free one I've been carrying around since 1999 or so.

Alternately, google for "freeware hex editor" and take your pick. :-) 
There's probably a bunch much nicer than this one, but since I need a hex 
editor about once every 3 years, this does for me.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message


Attachments:
Download 'hexedit.exe.dat' (148 KB)

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 12:30:29
Message: <4e400f25$1@news.povray.org>
On 8/8/2011 4:21, Orchid XP v8 wrote:
> Defining how to sort some data [efficiently] is a tad more complicated than
> defining a test of whether some data is sorted.

Yeah.

Incidentally, part of the point of DbC is that the pre/post/invariants are 
the actual important part. The rest is implementation details because you 
can change them around as long as you maintain the invariants. (Assuming, of 
course, that your invariants are complete.)

>> That would be preconditions and postconditions. It wouldn't be DbC, I
>> don't think.
>
> OK, well let me rephrase: You can do everything that DbC does. Whether you
> still call it DbC is a question which is untirely uninteresting to me.

Remember that DbC is a *design* technique, not a coding technique.

>> The invariant only holds while you're not manipulating the data. E.g.,
>> while you're rebalancing the tree, the invariant needn't hold. Now if
>> you start cutting global variables up into collections and corresponding
>> blocks of code that manipulate them, or talking about "the set of all
>> data structures that are manipulated by this particular set of code",
>> I'd say you have some OO design going on there. :-)
>
> If you want to consider a module to be some vague kind of "class", then OK...

It's not so much whether it's a "class" or a "module", but rather whether 
there's well-defined places in your code where the invariants don't hold and 
well-defined places where they do.

> It's not like turning the DVI file into PDF actually alters its appearence
> in any way, shape or form.

Sure it does. You stopped using metafont, for one thing.

>>> Has there ever /been/ a Unix that isn't distributed in source form?
>>
>> Of course.
>
> So... how would you compile it? I thought the entire reason Unix was so
> popular is that it operates on arbitrary architectures.

How would I compile what? Unix? Why would I compile Unix that works, any 
more than I'd compile Windows? Of course *somebody* has the source. Just not 
the end users.

>> It's certainly possible with Windows. You just need to get the source code.
> ...which you cannot ever have...

Why do you say that? I had access to Windows source code at my previous job. 
Not the OS, but selected libraries.

>> What part of Windows do you think is monolithic and can't be fairly
>> easily replaced that *can* be replaced in Linux?
>
> When you install "Windows", it installs one giant binary blob. I'm sure
> Microsoft probably structures it internally as many seperate modules, but
> such seperation is not visible in the finished product.

Not if you're not a coder. If you're writing a device driver or building a 
video card, I'm pretty sure it's lots of separate modules. Go into your 
control panel and look at the device drivers. Notice the "uninstall" bits 
there. Plug in a new USB device you never had before, or a new printer, or a 
new graphics tablet. What do you think happens, other than a new module 
being installed?

> You mean there's more than one program that uses that particular shortcut
> (for the same thing)?

Anything with a text box. One of the nifty things about Windows is that 
early on, back when Gates was still making tech decisions, they built a text 
box object that *everyone* can use. The only program I ever found that 
*didn't* use it is Mozilla and Thunderbird (and cmd.exe obviously). 
Everything else will (for example) take handwriting recognition on a machine 
that supports a touch screen, because MS just added that to the text box 
code everyone was already using.

I suspect Java doesn't use it either at least sometimes, but I never tried 
using a Java program on the machine with the touchscreen.

>>> The output is 4000 lines line? In what universe...?? O_O
>>
>> That was the small one. You don't think compiling a Linux distro
>> generates tens of thousands of lines of output?
>
> Why would you ever compile a Linux distro? (Other than for a laugh.)

First, I must admit amusement that earlier in this same thread, you 
expressed wonder that there had ever been a Unix distro not released in 
source form, and how in the world would you compile it?

Second, you compile a Linux distro when you're building a new piece of hardware.

> That's unlikely to ever be a problem for me. What /is/ a problem is that Vi
> was utterly incomprehensible...

True, it's unlikely to be a problem nowadays. Unless you wind up on an 8-bit 
machine again for some reason. It's also the case that (I think) vi tends to 
be installed by default and emacs isn't, so if you want to get into a server 
somewhere and make a 3-line configuration change, knowing enough vi to 
handle that is probably a good idea.

Do a tutorial on vi for the same length of time you did it on emacs, and see 
how it goes. Given its nature, of course it's incomprehensible if you never 
read the instructions.

> On the other hand, since Emacs is an entire operating system, it appears
> that most people just start Emacs after they log in, and never shut it down.

"It's a great OS, but the text editor is sooooo complicated!"

I was highly amused when I saw the icon for one of the emacs distributions 
was a kitchen sink.

>> The point is not "here's a useful plug-in for Haskell", but to show you
>> a counter-example to your assertion that VS doesn't support third-party
>> languages.
>
> I didn't say that VS doesn't support third-party languages. I said it was
> far too /hard/ to implement support for third-party languages.

Too hard for who?

> I seem to recall it got as far as "require package tcom", and Freewarp was
> like "WTF is tcom?" And I had a look at the package description, and it was
> like "OK, put this file in /bin, and that file in /lib" and I'm like "WTF?
> Where's that?"

Well, no, adding libraries to Tcl when you're using freewrap is going to 
make anything difficult. You've got a "here's a program you don't install 
with a selection of libraries already present" distribution, and you're 
surprised that adding libraries to it is difficult?

Use a real install of Tcl. Freewrap is specifically designed to package up a 
select collection of libraries.

> I don't actually /like/ Tcl all that much. I'd prefer something a bit safer,
> but hey... from the way you're talking, you make it sound as if almost
> /every/ programming language can trivially access COM.

Not necessarily "trivially". I don't know that I'd call the C++ interface 
"trivial", since it requires a somewhat more complex build system and more 
data than just the COM object itself. But most scripting languages have a 
pretty easy way of invoking COM even if they don't well support writing 
servers for COM.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 12:33:57
Message: <4e400ff5@news.povray.org>
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.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Stephen
Subject: Re: The other OS
Date: 8 Aug 2011 13:32:19
Message: <4e401da3$1@news.povray.org>
On 08/08/2011 2:31 PM, Warp wrote:
> Le_Forgeron<lef### [at] freefr>  wrote:
>> Let's face it:
>> * vi is a text editor.
>> * emacs is an elisp based monster which happen to also be a text editor
>> by default (but it can be your mail reader, and far more, including your
>> navigation shell)
>> * other programs daring to be titled "text editor" are just lacking a
>> lot of functionalities and are at best replacement for Notepad.
>
>    Real programmers use edlin anyways.
>
But must only use two fingers. ;-)

I just checked and Edlin is not included in Win7 64 bit.

-- 
Regards
     Stephen


Post a reply to this message

From: Jim Henderson
Subject: Re: The other OS
Date: 8 Aug 2011 13:34:11
Message: <4e401e13@news.povray.org>
On Mon, 08 Aug 2011 09:31:50 -0400, Warp wrote:

>   Real programmers use edlin anyways.

Pah, edlin.  Real programmers use copy con: ;)

Jim


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 13:36:02
Message: <4e401e82$1@news.povray.org>
On 8/8/2011 10:32, Stephen wrote:
> I just checked and Edlin is not included in Win7 64 bit.

Ah, the end of an era. :-)

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Stephen
Subject: Re: The other OS
Date: 8 Aug 2011 13:55:17
Message: <4e402305$1@news.povray.org>
On 08/08/2011 5:11 PM, Darren New wrote:
> On 8/8/2011 3:37, Orchid XP v8 wrote:
>> Oh, Google helps you find *millions* of hex editors. Which all cost
>> money.
>> And, from the look of their product websites, I suspect about 80% of them
>> are actually trojans.
>
> Fine. Here's a free one I've been carrying around since 1999 or so.
>
> Alternately, google for "freeware hex editor" and take your pick. :-)
> There's probably a bunch much nicer than this one, but since I need a
> hex editor about once every 3 years, this does for me.
>

I tried it (I trust you) and it behaves strangely under Win7 64 bit. 
When I tried to resize the window I couldn't and the window "jumped" to 
the far left of my screen. (I have the taskbar on the left and it went 
below it.) Also when dragged it moved in steps. Strange!

-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: The other OS
Date: 8 Aug 2011 13:57:09
Message: <4e402375$1@news.povray.org>
On 08/08/2011 6:36 PM, Darren New wrote:
> On 8/8/2011 10:32, Stephen wrote:
>> I just checked and Edlin is not included in Win7 64 bit.
>
> Ah, the end of an era. :-)
>

Hallelujah!
But sad.

-- 
Regards
     Stephen


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 14:29:44
Message: <4e402b18$1@news.povray.org>
On 8/8/2011 10:55, Stephen wrote:
> Also when dragged it moved in steps. Strange!

Welcome to amateur Win98 software running on a different CPU with a 
different OS architecture with a different window manager! :-)

Seriously, get one that's less than 10 years old and it'll probably work better.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 14:30:14
Message: <4e402b36@news.povray.org>
On 8/8/2011 10:34, Jim Henderson wrote:
> On Mon, 08 Aug 2011 09:31:50 -0400, Warp wrote:
>
>>    Real programmers use edlin anyways.
>
> Pah, edlin.  Real programmers use copy con: ;)

pip main.cpp=con:

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Patrick Elliott
Subject: Re: The other OS
Date: 8 Aug 2011 15:15:04
Message: <4e4035b8$1@news.povray.org>
>>> I also figured that the only reason that you can (say) embed an Excel
>>> spreadsheet in a Word document is because both products are produced
>>> by the same company.
>>
>> No no no. That's the whole *point* of COM. That's why there's a standard
>> interface definition language and such.
>
> See, I've always assumed that the glitering world of native Windows
> GUIs, IPC, DLLs, COM, etc. are all behind closed doors, accessible only
> to people who know how to write really low-level Windows code. And I've
> always assumed that the really /good/ stuff (like embedding one
> application inside another) is accessible only to Microsoft themselves.
> (Or anybody who pays really vast sums of money. People like Symantec.)
>
In reality, if you know what you are doing, and your own application 
supports it properly, you can even link things within VBScript. The 
problem being that "some" functionality gets seriously screwy, if its 
not right, and MS' explanation on how to do it is... less than helpful. 
I seem to remember that the example they had for doing it super-low 
level, which you need for full functionality of "embeddable" objects, 
like MS' own picture object, only showed how to instance a single 
object, not handle them as a collection, or respond to clicks and other 
effects on *all* of them at the same time. But, if you use IE, or even 
their shell script system, these things are handled by code already set 
up to do that sort of thing. Same if you are using a compiled language, 
like the full VB (not the script).

All in all, while, in principle, you can do all sorts of fancy shit with 
them, its still easier, unless you know how to do all the object 
collection, respond to stuff instanced "after" the application is 
running, i.e., late linked, without the application knowing before hand 
what the interfaces are, etc., then your prior assumption is pretty 
close to accurate. If all you are trying to do is say, link to an excel 
document, to pull out a few known cells of data, to do other 
calculations, but you don't have to actually "display" the page, its 
damn simple. Otherwise, you end up pulling your hair out trying to find 
example code of how to actually do that stuff, if your "intent" is to 
access it using late binding, which, as I said, means that your program 
doesn't already "know" how to handle some of the interfaces, but has to 
set them up once running.

Mostly, the problems in that case all come down to "your" application 
responding to messages from the control though. Which is why a spreed 
sheet can be "read", but not displayed easily. The former requires 
merely making a request, which is "immediately" returned, via the 
request itself. Displaying it require telling it who the "parent window" 
will be, then trying to get your application to "see" messages via the 
Windows messaging system, which tell it where you clicked, what you 
moved, etc. Your own application is effectively blind to these, without 
some serious behind the scenes support, or unless you "prelinked" the 
object, i.e., added it as part of the project, instead of creating the 
connection later. This is especially obvious when you run the VBScript 
engine in your own application, only to discover that it has 
CreateObject, but that the, "Let clicks and things be handled for this 
object", function is actually an IE feature, not something in the script 
engine itself, so you have to somehow design one for yourself. The last 
time I tried to figure that one out I gave up when the guy writing the 
client that used scripting implemented the features directly anyway. lol


Post a reply to this message

From: Stephen
Subject: Re: The other OS
Date: 8 Aug 2011 17:38:00
Message: <4e405738$1@news.povray.org>
On 08/08/2011 7:29 PM, Darren New wrote:
> On 8/8/2011 10:55, Stephen wrote:
>> Also when dragged it moved in steps. Strange!
>
> Welcome to amateur Win98 software running on a different CPU with a
> different OS architecture with a different window manager! :-)
>

:-)

> Seriously, get one that's less than 10 years old and it'll probably work
> better.
>

I've got XVI32bit.exe that seems okay. I can't remember why I downloaded 
it but I did.

http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

-- 
Regards
     Stephen


Post a reply to this message

From: Jim Henderson
Subject: Re: The other OS
Date: 8 Aug 2011 17:46:12
Message: <4e405924@news.povray.org>
On Mon, 08 Aug 2011 11:30:13 -0700, Darren New wrote:

> On 8/8/2011 10:34, Jim Henderson wrote:
>> On Mon, 08 Aug 2011 09:31:50 -0400, Warp wrote:
>>
>>>    Real programmers use edlin anyways.
>>
>> Pah, edlin.  Real programmers use copy con: ;)
> 
> pip main.cpp=con:

Now that one I haven't heard before....what's its origin?

Jim


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 17:59:31
Message: <4e405c43$1@news.povray.org>
Yeah, if you want that sort of stuff, then you have to read up on ActiveX, 
which is basically "COM with a UI."


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 8 Aug 2011 18:00:47
Message: <4e405c8f$1@news.povray.org>
On 8/8/2011 14:46, Jim Henderson wrote:
> Now that one I haven't heard before....what's its origin?

CP/M, the proginator of MS-DOS.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Jim Henderson
Subject: Re: The other OS
Date: 8 Aug 2011 18:09:10
Message: <4e405e86@news.povray.org>
On Mon, 08 Aug 2011 15:00:46 -0700, Darren New wrote:

> On 8/8/2011 14:46, Jim Henderson wrote:
>> Now that one I haven't heard before....what's its origin?
> 
> CP/M, the proginator of MS-DOS.

Ah, that makes sense now.  If I'd had to guess, that would've been my 
guess. :)

Jim


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 9 Aug 2011 04:40:00
Message: <4e40f260@news.povray.org>
>    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.


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 9 Aug 2011 04:58:32
Message: <4e40f6b8$1@news.povray.org>
> Incidentally, part of the point of DbC is that the pre/post/invariants
> are the actual important part. The rest is implementation details
> because you can change them around as long as you maintain the
> invariants. (Assuming, of course, that your invariants are complete.)

This doesn't work. (At least, not as implemented in Eiffel.) There will 
always be invariants which are in some sense "too hard" to express. (And 
even if there aren't, there will be some which are "too expensive" to 
verify.)

> Remember that DbC is a *design* technique, not a coding technique.

If that were true, then DbC would be /entirely/ orthogonal to the 
eventual implementation techniques.

> It's not so much whether it's a "class" or a "module", but rather
> whether there's well-defined places in your code where the invariants
> don't hold and well-defined places where they do.

This depends only on how well you structure your code.

>> It's not like turning the DVI file into PDF actually alters its
>> appearence in any way, shape or form.
>
> Sure it does. You stopped using metafont, for one thing.

Um, excuse me? MetaFont generates the typeface, which is then embedded 
in the PDF file. In what universe is that "not using MetaFont"?

Like I said, the visual appearance of the DVI and PDF versions are 
identical.

>>>> Has there ever /been/ a Unix that isn't distributed in source form?
>>>
>>> Of course.
>>
>> So... how would you compile it? I thought the entire reason Unix was so
>> popular is that it operates on arbitrary architectures.
>
> How would I compile what? Unix? Why would I compile Unix that works, any
> more than I'd compile Windows? Of course *somebody* has the source. Just
> not the end users.

Windows runs on 3 platforms. Unix runs on infinity. Indeed, I thought 
that was the main selling point.

>>> It's certainly possible with Windows. You just need to get the source
>>> code.
>> ...which you cannot ever have...
>
> Why do you say that? I had access to Windows source code at my previous
> job. Not the OS, but selected libraries.

You can actually do that?

>>> What part of Windows do you think is monolithic and can't be fairly
>>> easily replaced that *can* be replaced in Linux?
>>
>> When you install "Windows", it installs one giant binary blob. I'm sure
>> Microsoft probably structures it internally as many seperate modules, but
>> such seperation is not visible in the finished product.
>
> Not if you're not a coder. If you're writing a device driver or building
> a video card, I'm pretty sure it's lots of separate modules. Go into
> your control panel and look at the device drivers. Notice the
> "uninstall" bits there. Plug in a new USB device you never had before,
> or a new printer, or a new graphics tablet. What do you think happens,
> other than a new module being installed?

Sure. Device drivers are loadable modules. (Apparently with Linux, they 
aren't. You actually have to recompile the entire kernel to add a new 
device driver. Which is just weird...)

But if I wanted, say, to change the way services are managed... that's 
hard-wired in. (Unlike Linux, where it's just a shell script. And also 
doesn't work nearly as well.)

>> You mean there's more than one program that uses that particular shortcut
>> (for the same thing)?
>
> Anything with a text box. One of the nifty things about Windows is that
> early on, back when Gates was still making tech decisions, they built a
> text box object that *everyone* can use.

Isn't that how every OS works?

Oh, wait. Linux. The OS where every X Windows program has an utterly 
unrelated look and feel. (And usually a sucky one.) >_<

>> That's unlikely to ever be a problem for me. What /is/ a problem is
>> that Vi was utterly incomprehensible...
>
> True, it's unlikely to be a problem nowadays. Unless you wind up on an
> 8-bit machine again for some reason.

I wasn't on an 8-bit machine. I was on a normal PC, where I'd just 
installed RedHat. (Fortunately, these days installing Linux doesn't 
usually require manually editing X11Config to tell it which RAMDAC you 
have or whatever...)

> I was highly amused when I saw the icon for one of the emacs
> distributions was a kitchen sink.

Sounds about right.

>>> The point is not "here's a useful plug-in for Haskell", but to show you
>>> a counter-example to your assertion that VS doesn't support third-party
>>> languages.
>>
>> I didn't say that VS doesn't support third-party languages. I said it was
>> far too /hard/ to implement support for third-party languages.
>
> Too hard for who?

Of course, /everything/ is possible given enough manpower. My point is 
that writing a handful of lines of elisp is easier than writing 
something as complex and monolithic as a VS plugin.

> Well, no, adding libraries to Tcl when you're using freewrap is going to
> make anything difficult.

Oh, that's the problem, is it?

>> I don't actually /like/ Tcl all that much. I'd prefer something a bit
>> safer,
>> but hey... from the way you're talking, you make it sound as if almost
>> /every/ programming language can trivially access COM.
>
> Not necessarily "trivially". I don't know that I'd call the C++
> interface "trivial", since it requires a somewhat more complex build
> system and more data than just the COM object itself. But most scripting
> languages have a pretty easy way of invoking COM even if they don't well
> support writing servers for COM.

M'kay...


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 9 Aug 2011 05:02:08
Message: <4e40f790@news.povray.org>
On 08/08/2011 06:34 PM, Jim Henderson wrote:

> Pah, edlin.  Real programmers use copy con: ;)

Under AmigaDOS, CON: opens up a GUI console window. I forget the exact 
syntax, but you can do something like

   CON:/0/0/320/240/My window title

to open a window positioned at (0,0) that is 320 by 240 pixels large, 
with the specified title. There's even syntax for deciding which 
"gadgets" (widgets) it should have.

Those Amiga guys had some pretty sophisticated stuff happening, man.


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 9 Aug 2011 12:42:29
Message: <4e416375@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Binary files and text files aren't the same.

  Clearly you aren't enough of a hacker.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 9 Aug 2011 12:43:58
Message: <4e4163ce@news.povray.org>
Stephen <mcavoys_at@aoldotcom> wrote:
> I just checked and Edlin is not included in Win7 64 bit.

  What?! The sacrilege!

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: The other OS
Date: 9 Aug 2011 12:48:12
Message: <4e4164cc@news.povray.org>
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.

-- 
                                                          - Warp


Post a reply to this message

From: Jim Henderson
Subject: Re: The other OS
Date: 9 Aug 2011 12:54:59
Message: <4e416663@news.povray.org>
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.

Jim


Post a reply to this message

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

From: clipka
Subject: Re: The other OS
Date: 10 Aug 2011 15:43:45
Message: <4e42df71$1@news.povray.org>
Am 04.08.2011 17:45, schrieb andrel:

[TeX]
>> and it most certainly
>> does /not/ handle styling or customisation of any kind!
>
> It most certainly does. Style files are are at the heart of the system.
> As a small comparison: a friend of mine had written her thesis in Word,
> after her text was accepted by the committee she needed 3 weeks of hard
> work to convert it from an A4 draft version into a paperback format text
> that she could submit to the printer. I did it, with the help of a
> student, in one evening. And I had different layouts for chapters
> depending on whether it was published before or not.
>
...
> If you mean debugging style files or bibstyle files you are correct,
> that is a nightmare if you don't know what you are doing. Simple advise:
> don't touch them.

 From what I managed to glimpse from TeX so far, it is a great tool for 
scientific publications - that, and absolutely nothing else.


Post a reply to this message

From: Orchid XP v8
Subject: Re: The other OS
Date: 10 Aug 2011 17:09:52
Message: <4e42f3a0$1@news.povray.org>
On 10/08/2011 08:43 PM, clipka wrote:

>  From what I managed to glimpse from TeX so far, it is a great tool for
> scientific publications - that, and absolutely nothing else.

Well, it's a tool designed for producing /printed/ text. That is its 
special emphasis. If you're not interested in writing stuff on dead 
trees, TeX is a waste of time, essentially.

I've written fictional stories with it though. It works quite nicely for 
that purpose. It's also not bad for writing documents about technical 
subjects which aren't necessarily "scientific publications". For 
example, writing about how to program in Java.

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


Post a reply to this message

From: andrel
Subject: Re: The other OS
Date: 10 Aug 2011 18:37:02
Message: <4E43081C.2020606@gmail.com>
On 10-8-2011 21:43, clipka wrote:
> Am 04.08.2011 17:45, schrieb andrel:
>
> [TeX]
>>> and it most certainly
>>> does /not/ handle styling or customisation of any kind!
>>
>> It most certainly does. Style files are are at the heart of the system.
>> As a small comparison: a friend of mine had written her thesis in Word,
>> after her text was accepted by the committee she needed 3 weeks of hard
>> work to convert it from an A4 draft version into a paperback format text
>> that she could submit to the printer. I did it, with the help of a
>> student, in one evening. And I had different layouts for chapters
>> depending on whether it was published before or not.
>>
> ...
>> If you mean debugging style files or bibstyle files you are correct,
>> that is a nightmare if you don't know what you are doing. Simple advise:
>> don't touch them.
>
>  From what I managed to glimpse from TeX so far, it is a great tool for
> scientific publications

Is there any other?
Seriously, the number of people that I know that write scientific 
publications far outnumbers the ones that write something else. But that 
may be due to the type of job I have. ;)

 > - that, and absolutely nothing else.

I use it for scientific papers, (automatically generated) documentation, 
short notes, discussion papers (blog style, but not on a blog page), my 
CV etc. Also my own thesis and those of PhD students of mine are 
typeset/designed in (La)TeX.

BTW most of what I use it for never ends up as dead trees. Live pixels 
perhaps.

-- 
Apparently you can afford your own dictator for less than 10 cents per 
citizen per day.


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 16 Aug 2011 18:57:54
Message: <4e4af5f2@news.povray.org>
On 8/9/2011 1:58, Invisible wrote:
>> Remember that DbC is a *design* technique, not a coding technique.
>
> If that were true, then DbC would be /entirely/ orthogonal to the eventual
> implementation techniques.

Look up BON. It's basically DbC with empty implementations, and boxes and 
arrows.

>> Why do you say that? I had access to Windows source code at my previous
>> job. Not the OS, but selected libraries.
>
> You can actually do that?

Sure.

> Sure. Device drivers are loadable modules. (Apparently with Linux, they
> aren't. You actually have to recompile the entire kernel to add a new device
> driver. Which is just weird...)

It depends on the module, I think.

> But if I wanted, say, to change the way services are managed... that's
> hard-wired in.

No it isn't. It's just one of the programs that runs, just like in Linux. 
You can replace it or supplement it, but nobody does, because it works.

>>> You mean there's more than one program that uses that particular shortcut
>>> (for the same thing)?
>>
>> Anything with a text box. One of the nifty things about Windows is that
>> early on, back when Gates was still making tech decisions, they built a
>> text box object that *everyone* can use.
>
> Isn't that how every OS works?

No. Actually, Bill Gates invented that concept.

> Oh, wait. Linux. The OS where every X Windows program has an utterly
> unrelated look and feel. (And usually a sucky one.) >_<

And pretty much everything before about Win95.

> Of course, /everything/ is possible given enough manpower. My point is that
> writing a handful of lines of elisp is easier than writing something as
> complex and monolithic as a VS plugin.

A handful of lines of elisp doesn't really replicate the functionality of a 
VS plug-in. It's going to be lots of lines of elisp for each function you 
want to support.

>> Well, no, adding libraries to Tcl when you're using freewrap is going to
>> make anything difficult.
>
> Oh, that's the problem, is it?

Most likely. Give it a try. The latest Tcl's are pretty easy to get 
batteries-included set up.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 17 Aug 2011 04:03:02
Message: <4e4b75b6$1@news.povray.org>
>>> Why do you say that? I had access to Windows source code at my previous
>>> job. Not the OS, but selected libraries.
>>
>> You can actually do that?
>
> Sure.

This surprises me.

>>> Anything with a text box. One of the nifty things about Windows is that
>>> early on, back when Gates was still making tech decisions, they built a
>>> text box object that *everyone* can use.
>>
>> Isn't that how every OS works?
>
> No. Actually, Bill Gates invented that concept.
>
>> Oh, wait. Linux. The OS where every X Windows program has an utterly
>> unrelated look and feel. (And usually a sucky one.) >_<
>
> And pretty much everything before about Win95.

Not AmigaOS. :-P

I'm pretty sure that provided a set of widgets that everybody used too. 
Like I say, I thought that /all/ operating systems except Unix work this 
way.

>> Of course, /everything/ is possible given enough manpower. My point is
>> that
>> writing a handful of lines of elisp is easier than writing something as
>> complex and monolithic as a VS plugin.
>
> A handful of lines of elisp doesn't really replicate the functionality
> of a VS plug-in. It's going to be lots of lines of elisp for each
> function you want to support.

On the other hand, if I want to make a small change to VS, I have to 
write an entire giant plugin. Whereas with Emacs, I can write just a 
single Lisp expression, or a few lines, or lots of lines, or an entire 
major mode, or whatever. (As I understand it, anyway...)

>>> Well, no, adding libraries to Tcl when you're using freewrap is going to
>>> make anything difficult.
>>
>> Oh, that's the problem, is it?
>
> Most likely. Give it a try. The latest Tcl's are pretty easy to get
> batteries-included set up.

More to the point, I have a VM now, which means I can get around the 
requirement to "install" it.

(If I install software on my physical machine, I have to record that 
I've done this. If I install stuff in a VM, I don't.)

OTOH, I stopped using Tcl for a reason...


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 17 Aug 2011 10:59:43
Message: <4e4bd75f$1@news.povray.org>
On 8/17/2011 1:03, Invisible wrote:
> I'm pretty sure that provided a set of widgets that everybody used too. Like
> I say, I thought that /all/ operating systems except Unix work this way.

Yes. But in particular, a text input box flexible enough to support every 
use of it, from entering only phone numbers in a form to Notepad to Write to 
full word-processing layout. (Altho, to be fair, I'd expect Word and some 
other high-end word processors actually reimplement this.)

> On the other hand, if I want to make a small change to VS, I have to write
> an entire giant plugin.

No, you'd just use a macro.
http://msdn.microsoft.com/en-us/library/b4c73967%28v=vs.80%29.aspx

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Invisible
Subject: Re: The other OS
Date: 17 Aug 2011 11:10:16
Message: <4e4bd9d8$1@news.povray.org>
>> On the other hand, if I want to make a small change to VS, I have to
>> write an entire giant plugin.
>
> No, you'd just use a macro.
> http://msdn.microsoft.com/en-us/library/b4c73967%28v=vs.80%29.aspx

So, Visual Studio, a sophisticated IDE for developing computer software, 
has its own entirely separate IDE for developing IDE macros, WHICH ARE 
ALSO COMPUTER SOFTWARE?

Now that's irony. :-D

Anyway, I'm not sure you can use this to customise the behaviour of the 
IDE. Looks like it's only useful for automating tasks that the IDE 
itself can already perform...


Post a reply to this message

From: Darren New
Subject: Re: The other OS
Date: 17 Aug 2011 11:28:14
Message: <4e4bde0e@news.povray.org>
On 8/17/2011 8:10, Invisible wrote:
> Now that's irony. :-D

It's basically a different "project explorer". Just like you have in Word or 
Excel.

> Anyway, I'm not sure you can use this to customise the behaviour of the IDE.
> Looks like it's only useful for automating tasks that the IDE itself can
> already perform...

http://msdn.microsoft.com/en-US/library/345xe6tb%28v=VS.80%29.aspx

http://msdn.microsoft.com/en-US/library/0b27f9kz%28v=VS.80%29.aspx

And how do you automate something in elisp that emacs can't already do? What 
kind of thing do you think elisp can do that a macro with complete access to 
both native code and the full DOM of the entire development environment 
can't do?

Pretty sure emacs cannot, for example, do this:
http://msdn.microsoft.com/en-US/library/envdte80.events2.debuggerprocessevents%28v=VS.80%29.aspx


Unfortunately, it's extremely annoying that text in MSDN web pages doesn't 
HTML-link to the descriptions of the classes that various methods take and 
return. So if you have a method that returns a ProcessItem or something, you 
actually have to go search for "ProcessItem class" instead of just clicking 
the name to get to the docs. Like MS never really figured out that whole 
HTML anchor/link kind of thing.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

From: Neeum Zawan
Subject: Re: The other OS
Date: 23 Aug 2011 01:14:17
Message: <874o18aef1.fsf@fester.com>
Warp <war### [at] tagpovrayorg> writes:

>   It's things like this: http://www.youtube.com/watch?v=EQAd41VAXWo

These days, Orgmode attracts more users to Emacs than anything else,
methinks.


Post a reply to this message

From: Neeum Zawan
Subject: Re: The other OS
Date: 23 Aug 2011 01:29:29
Message: <87zkj08z58.fsf@fester.com>
Orchid XP v8 <voi### [at] devnull> writes:

>>> Apparently by typing Ctrl+U 8 Ctrl+F, I can move the cursor exactly 8
>>> characters left. I'm left wondering why in the name of God I would *ever*
>>> want to do this.
>>
>> Because you want to draw a line of 30 hyphens across the screen. Or you
>> want to skip to line 287 in your file.
>
> I'm kinda surprised that there doesn't seem to be a "go to line 287"

M-g g 287


Post a reply to this message

<<< Previous 50 Messages Goto Initial 50 Messages

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