POV-Ray : Newsgroups : povray.off-topic : Very cool Ubuntu distro Server Time
14 Oct 2026 01:12:36 EDT (-0400)
  Very cool Ubuntu distro (Message 1 to 43 of 43)  
From: Darren New
Subject: Very cool Ubuntu distro
Date: 4 Apr 2009 00:19:07
Message: <49d6dfbb$1@news.povray.org>
Even better than virtual machines, assuming it works as described.(I haven't 
tried it, but I'm about to! :-)

http://lifehacker.com/5195999/portable-ubuntu-runs-ubuntu-inside-windows

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: nemesis
Subject: Re: Very cool Ubuntu distro
Date: 4 Apr 2009 01:00:00
Message: <web.49d6e8f314a2c6a4d8a4ca0d0@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Even better than virtual machines, assuming it works as described.(I haven't
> tried it, but I'm about to! :-)
>
> http://lifehacker.com/5195999/portable-ubuntu-runs-ubuntu-inside-windows

2 days late. :)

This reminds me of people with humongous amounts of junk in their iPods,
constantly zapping, never stopping for a moment to appreciate any of it.  What
is the point?  Just to make the multicore hardware of today sweat we'll run
Linux from Windows from a VNC client from a java VM?

OTOH, it's tempting to get this one to work, might it be not a april fool's
prank... :)


Post a reply to this message

From: Tim Cook
Subject: Re: Very cool Ubuntu distro
Date: 4 Apr 2009 07:14:59
Message: <49d74133$1@news.povray.org>
So what happens when you run WINE inside of this?  Then open this inside of 
that...just how far can you recurse these things?

-- 
Tim Cook
http://empyrean.freesitespace.net


Post a reply to this message

From: Warp
Subject: Re: Very cool Ubuntu distro
Date: 4 Apr 2009 12:15:56
Message: <49d787bc@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Even better than virtual machines, assuming it works as described.(I haven't 
> tried it, but I'm about to! :-)

> http://lifehacker.com/5195999/portable-ubuntu-runs-ubuntu-inside-windows

  The only unanswered question is why anyone would *want* to run linux
from windows.

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 4 Apr 2009 13:09:38
Message: <49d79452@news.povray.org>
Warp wrote:
>   The only unanswered question is why anyone would *want* to run linux
> from windows.

Sure. All the *good* stuff from Linux has already been ported to native 
Windows. </troll>  ;-)

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 00:23:58
Message: <49d8325e@news.povray.org>
nemesis wrote:
>  Just to make the multicore hardware of today sweat we'll
> run Linux from Windows from a VNC client from a java VM?

I once saw a full PC/x86 emulator as a Java applet. Took some minutes to
boot a basic Linux kernel and ate a lot of memory, but sure worked!


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 00:26:04
Message: <49d832db@news.povray.org>
Nicolas Alvarez wrote:
> nemesis wrote:
>>  Just to make the multicore hardware of today sweat we'll
>> run Linux from Windows from a VNC client from a java VM?
> 
> I once saw a full PC/x86 emulator as a Java applet. Took some minutes to
> boot a basic Linux kernel and ate a lot of memory, but sure worked!

http://www-jpc.physics.ox.ac.uk/DemoLinux.html


Post a reply to this message

From: Orchid XP v8
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 10:37:18
Message: <49d8c21e$1@news.povray.org>
Warp wrote:

>   The only unanswered question is why anyone would *want* to run linux
> from windows.

Typically because you want to quickly do something that's trivial under 
Linux, and you don't fancy spenting 4 weeks searching for an equivilent 
Windows tool to do the same thing.

(E.g., you try finding a tool that can compute the MD5 sums of all the 
files in a given folder and write them into a text file. Under Linux, 
this is trivial. Under Windows... well, there's a CLI tool that will 
compute the MD5 sum for *one* file, but you try scripting it to process 
several...)

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


Post a reply to this message

From: Tim Cook
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 10:50:33
Message: <49d8c539$1@news.povray.org>
"Orchid XP v8" <voi### [at] devnull> wrote:
> (E.g., you try finding a tool that can compute the MD5 sums of all the 
> files in a given folder and write them into a text file. Under Linux, this 
> is trivial. Under Windows... well, there's a CLI tool that will compute 
> the MD5 sum for *one* file, but you try scripting it to process 
> several...)

sfk can do that trivially.  used it on a whole tree.  unfortunately it 
doesn't like unicode characters in filenames, so it missed a few dozen.  :(

-- 
Tim Cook
http://empyrean.freesitespace.net


Post a reply to this message

From: Warp
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 12:03:11
Message: <49d8d63f@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> Warp wrote:

> >   The only unanswered question is why anyone would *want* to run linux
> > from windows.

> Typically because you want to quickly do something that's trivial under 
> Linux, and you don't fancy spenting 4 weeks searching for an equivilent 
> Windows tool to do the same thing.

  Don't you mean equivalent?

  Anyways, my comment had a hint of "why would anyone want to run Windows
in the first place?"

-- 
                                                          - Warp


Post a reply to this message

From: andrel
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 14:41:54
Message: <49D8FB71.9030007@hotmail.com>
On 5-4-2009 18:03, Warp wrote:
> Orchid XP v8 <voi### [at] devnull> wrote:
>> Warp wrote:
> 
>>>   The only unanswered question is why anyone would *want* to run linux
>>> from windows.
> 
>> Typically because you want to quickly do something that's trivial under 
>> Linux, and you don't fancy spending 4 weeks searching for an equivilent 
>> Windows tool to do the same thing.
> 
>   Don't you mean equivalent?
> 

Oh, come on Warp, you should have known by now that this is the 
preferred way of spelling in his spell chicker.


Post a reply to this message

From: Orchid XP v8
Subject: Re: Very cool Ubuntu distro
Date: 5 Apr 2009 14:54:24
Message: <49d8fe60$1@news.povray.org>
Warp wrote:

>   Anyways, my comment had a hint of "why would anyone want to run Windows
> in the first place?"

Maybe to do with the vast amount of software that only runs with Windows?

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


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 8 Apr 2009 14:26:03
Message: <49dcec3b$1@news.povray.org>
nemesis wrote:
> OTOH, it's tempting to get this one to work, might it be not a april fool's
> prank... :)

I get a meaningless error message for colinux-daemon --install-driver
so it isn't working for me. I'll have to try it on a non-emulated 32-bit CPU 
before giving up entirely.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: scott
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 05:23:18
Message: <49ddbe86$1@news.povray.org>
> (E.g., you try finding a tool that can compute the MD5 sums of all the 
> files in a given folder and write them into a text file.

Umm I typed into google "md5 checksum windows", the 2nd result looked 
promising so I clicked it, and it seems to offer a free command-line tool 
that does exactly what you want.  It took like 10 seconds, Linux takes 
longer than that to boot.

> Under Windows... well, there's a CLI tool that will compute the MD5 sum 
> for *one* file, but you try scripting it to process several...)

If you have ever done any windows scripting it should be a piece of cake, 
this is pretty standard stuff for dealing with files in scripts:

Set FSO = CreateObject("Scripting.FileSystemObject")
Set Folder = FSO.GetFolder("folder name")
Set Files = Folder.Files
For Each File in Files
  do something with File.Name here
Next


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 05:48:42
Message: <49ddc47a$1@news.povray.org>
>> (E.g., you try finding a tool that can compute the MD5 sums of all the 
>> files in a given folder and write them into a text file.
> 
> Umm I typed into google "md5 checksum windows", the 2nd result looked 
> promising so I clicked it, and it seems to offer a free command-line 
> tool that does exactly what you want.  It took like 10 seconds, Linux 
> takes longer than that to boot.

Except that the Linux MD5 tool can automatically compute the MD5 sum of 
multiple files. I have only found one tool for Windows that can do this, 
and it was buggy as hell. (Kept printing garbage characters to stdout, 
got confused by certain pathnames, etc.)

>> Under Windows... well, there's a CLI tool that will compute the MD5 
>> sum for *one* file, but you try scripting it to process several...)
> 
> If you have ever done any windows scripting it should be a piece of 
> cake, this is pretty standard stuff for dealing with files in scripts:
> 
> Set FSO = CreateObject("Scripting.FileSystemObject")
> Set Folder = FSO.GetFolder("folder name")
> Set Files = Folder.Files
> For Each File in Files
>  do something with File.Name here
> Next

What the hell language is *that*?!


Post a reply to this message

From: scott
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 07:39:49
Message: <49ddde85$1@news.povray.org>
> Except that the Linux MD5 tool can automatically compute the MD5 sum of 
> multiple files. I have only found one tool for Windows that can do this, 
> and it was buggy as hell. (Kept printing garbage characters to stdout, got 
> confused by certain pathnames, etc.)

The one I found seemed to offer that too.

http://www.fastsum.com/support/user%20manual.php

>> Set FSO = CreateObject("Scripting.FileSystemObject")
>> Set Folder = FSO.GetFolder("folder name")
>> Set Files = Folder.Files
>> For Each File in Files
>>  do something with File.Name here
>> Next
>
> What the hell language is *that*?!

VBscript, it's what most people use to write scripts on windows, isn't it?

http://www.microsoft.com/technet/scriptcenter/topics/beginner/firststeps.mspx


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 07:48:24
Message: <49dde088$1@news.povray.org>
>> Except that the Linux MD5 tool can automatically compute the MD5 sum 
>> of multiple files. I have only found one tool for Windows that can do 
>> this, and it was buggy as hell. (Kept printing garbage characters to 
>> stdout, got confused by certain pathnames, etc.)
> 
> The one I found seemed to offer that too.

What, wildcards or bugginess? :-}

>> What the hell language is *that*?!
> 
> VBscript, it's what most people use to write scripts on windows, isn't it?

Actually I just write DOS scripts. If I need anything more complex, I 
write Haskell.

As a matter of fact, I wrote an MD5 program in Haskell. But it turns out 
not to be very fast...


Post a reply to this message

From: scott
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 08:00:57
Message: <49dde379$1@news.povray.org>
> Actually I just write DOS scripts. If I need anything more complex, I 
> write Haskell.

There's always this: :-)

http://en.wikipedia.org/wiki/Windows_PowerShell

> As a matter of fact, I wrote an MD5 program in Haskell. But it turns out 
> not to be very fast...

Hehe, not surprising.


Post a reply to this message

From: Warp
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 08:43:39
Message: <49dded7b@news.povray.org>
scott <sco### [at] scottcom> wrote:
> If you have ever done any windows scripting it should be a piece of cake, 

  That seems to be a problem with Windows: It simply doesn't invite you
to do things by scripting.

  I have been a regular Windows user for over 10 years, yet I don't have
the slightest idea about vbscripts nor even how you could even run them.
Can you run them directly? Do you need some kind of interpreter for it?
Does Windows support them by default, or do you need to install something?
I really don't have the slightest idea. I don't even know where to start.

  I have also been a regular Unix user for over 10 years, and I'm somewhat
fluent in shell scripting. I'm in fact so used to it, that I find a terminal
emulator much more comfortable for browsing and handling files than a
graphical file browser (even though all linux distros have both).

  I can't say which system I have used more overall, but I think it's
rather telling that in one system I'm pretty fluent with its scripting,
while in the other I don't have the faintest idea where to even start
looking. There is just some fundamental difference in these two systems
which causes different natural way of thinking.

-- 
                                                          - Warp


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 08:58:17
Message: <49ddf0e9$1@news.povray.org>
>> Actually I just write DOS scripts. If I need anything more complex, I 
>> write Haskell.
> 
> There's always this: :-)
> 
> http://en.wikipedia.org/wiki/Windows_PowerShell

Yeah. Looks like my perfectly working login scripts are going to be 
replaced with this at some point. For one reason or another, the guys 
from HQ seem to like to do things in the most complex and difficult way 
possible. I guess it makes them feel superior or something...

>> As a matter of fact, I wrote an MD5 program in Haskell. But it turns 
>> out not to be very fast...
> 
> Hehe, not surprising.

Come back after *you* have implemented MD5 _correctly_. It's nontrivial 
to get it to work properly. :-P (There are all kinds of gotchas about 
using little-endian integers, doing padding correctly, etc.)


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 09:03:12
Message: <49ddf210$1@news.povray.org>
Warp wrote:

>   That seems to be a problem with Windows: It simply doesn't invite you
> to do things by scripting.

I guess that's because it's "designed for novicies".

On the other hand, just about every tool in MS Office comes with VBA. 
It's just that Windows itself doesn't really invite you to script it.

>   I have been a regular Windows user for over 10 years, yet I don't have
> the slightest idea about vbscripts nor even how you could even run them.
> Can you run them directly? Do you need some kind of interpreter for it?
> Does Windows support them by default, or do you need to install something?
> I really don't have the slightest idea. I don't even know where to start.

The DOS scripts I usually write work regardless. (*.bat, or *.cmd for NT 
or later.) As I understand it, to run exotic languages like VBScript or 
JavaScript, you need the Windows Script Host (WSH). This is an optional 
extra for NT 4.0, but comes with XP (and, presumably, later). I did have 
a look at using JavaScript in this capacity, but I couldn't find any 
documentation anywhere.

>   I have also been a regular Unix user for over 10 years, and I'm somewhat
> fluent in shell scripting. I'm in fact so used to it, that I find a terminal
> emulator much more comfortable for browsing and handling files than a
> graphical file browser (even though all linux distros have both).

I find a GUI to be a superior way of *viewing* files (in general), but 
the CLI can be a superior way of *working on* files. From a command 
prompt, I can easily say "del *.png", but no GUI I've ever seen offers 
similar functionallity.

Sometimes I fantasise about writing my own file manager. It's right up 
there next to my various other unfinished projects. :-/


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 11:56:54
Message: <49de1ac6@news.povray.org>
scott wrote:
> Umm I typed into google "md5 checksum windows", 

And, fwiw, the term "win32" usually gives better hits than "windows" if 
you're looking for ports of GNU stuff to native windows.

>> Under Windows... well, there's a CLI tool that will compute the MD5 
>> sum for *one* file, but you try scripting it to process several...)
> 
> If you have ever done any windows scripting it should be a piece of 
> cake, this is pretty standard stuff for dealing with files in scripts:
> 
> Set FSO = CreateObject("Scripting.FileSystemObject")
> Set Folder = FSO.GetFolder("folder name")
> Set Files = Folder.Files
> For Each File in Files
>  do something with File.Name here
> Next

Or just
for %I in (*.txt) do md5 %I >>checksums.txt
or whatever parameters you want. It's not like Windows doesn't have a shell. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 12:05:17
Message: <49de1cbd$1@news.povray.org>
>> If you have ever done any windows scripting it should be a piece of 
>> cake, this is pretty standard stuff for dealing with files in scripts:
>>
>> Set FSO = CreateObject("Scripting.FileSystemObject")
>> Set Folder = FSO.GetFolder("folder name")
>> Set Files = Folder.Files
>> For Each File in Files
>>  do something with File.Name here
>> Next
> 
> Or just
> for %I in (*.txt) do md5 %I >>checksums.txt
> or whatever parameters you want. It's not like Windows doesn't have a 
> shell. :-)

Does that work recursively?

Slightly more fun is trying to make it produce the exact same output as 
the Unix MD5 tool so it's portable between OSes... ;-)


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 12:16:38
Message: <49de1f66$1@news.povray.org>
Invisible wrote:
> I can easily say "del *.png", but no GUI I've ever seen offers 
> similar functionallity.

Sort by type, select the range of png files, and delete them.
Alternately, type "*.png" into the search bar, ctrl-A, delete.

Not quite as intuitive as del *.png, I'll grant, but potentially quicker 
than opening a command window and navigating to the directory manually. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 12:16:41
Message: <49de1f69$1@news.povray.org>
Warp wrote:
>   That seems to be a problem with Windows: It simply doesn't invite you
> to do things by scripting.

Not at the command level, true. Within applications, there's all kinds of 
macro capabilities, at least in the sophisticated apps.

>   I have been a regular Windows user for over 10 years, yet I don't have
> the slightest idea about vbscripts nor even how you could even run them.
> Can you run them directly?

Open a command prompt and type "echo %pathext%"
.vbs is visual basic script.
.wsh is windows scripting host.
.js  is probably javascript.

(Those are the extensions that cmd.exe will treat as executable)



> Do you need some kind of interpreter for it?
> Does Windows support them by default, or do you need to install something?

Yes, built in.

> I really don't have the slightest idea. I don't even know where to start.

http://en.wikipedia.org/wiki/Windows_Scripting_Host   ;-)

>   I have also been a regular Unix user for over 10 years, and I'm somewhat
> fluent in shell scripting. I'm in fact so used to it, that I find a terminal
> emulator much more comfortable for browsing and handling files than a
> graphical file browser (even though all linux distros have both).

Me too, but that's more because the Linux file browsers I've found don't 
really offer enough functionality to make them worthwhile. On Linux I use 
the command prompt for most things, and on Windows I use the graphical shell 
for most things. When I want to do something more sophisticated, I generally 
use Tcl in both cases.

>   I can't say which system I have used more overall, but I think it's
> rather telling that in one system I'm pretty fluent with its scripting,
> while in the other I don't have the faintest idea where to even start
> looking. There is just some fundamental difference in these two systems
> which causes different natural way of thinking.

For one, everything in Windows can assume you have a graphical interface, so 
all the configuration files and manipulations and such all have graphical 
editors for them. Even the registry, which would be ideal for command-line 
stuff, has a graphical editor.  So there tends to be less need to use the 
command line in Windows.

I wouldn't say one is better than the other *because* of the shells. There 
are things that bug me about Linux GUIs, and things that bug me about 
Windows CLI shells. Generally, I think in Windows one tends not to use the 
shell except when specifically scripting or building macros or whatever. In 
Linux, it's the normal way to interact with things (and for the system to be 
configured a la .bashrc), so one tends to learn how to use the Linux shells 
bit by bit.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 12:39:17
Message: <49de24b5$1@news.povray.org>
Invisible wrote:
> Does that work recursively?

for /R %I in ....
for /R drive:path %I in ...

You have Windows there, don't you? The "for" command has like five pages of 
options.  for /?

> Slightly more fun is trying to make it produce the exact same output as 
> the Unix MD5 tool so it's portable between OSes... ;-)

Probably easier to take the result from UNIX and format it to what Windows 
creates. That sort of stuff is how UNIX works.

The basic difference between UNIX scripting and Windows scripting is that 
UNIX scripting is defined on file formats while the Windows scripting is 
defined over APIs.  Personally, I think APIs are the way to go, but file 
formats allow for easier quick-and-dirty stuff compared to future proofing 
and portability.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: nemesis
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 12:55:01
Message: <web.49de284114a2c6a4bbbb20030@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Warp wrote:
> >   That seems to be a problem with Windows: It simply doesn't invite you
> > to do things by scripting.
>
> I guess that's because it's "designed for novicies".

No, perhaps that's because scripting like as if you were writing a Java app --
as in the previous example, complete with "object factories" and useless
declarations -- just sucks?

> The DOS scripts I usually write work regardless. (*.bat, or *.cmd for NT
> or later.) As I understand it, to run exotic languages like VBScript or
> JavaScript, you need the Windows Script Host (WSH). This is an optional
> extra for NT 4.0, but comes with XP (and, presumably, later). I did have
> a look at using JavaScript in this capacity, but I couldn't find any
> documentation anywhere.

What I find most amusing about Microsoft's hype machine about several languages
implementations available for use with their frameworks is that the
programs/scripts so produced all look exactly alike, except for faint syntatic
differences.  That's because language truly doesn't matter when all you do is
call predefined stuff.  Languages only matter when most of the code is spent
implementing new stuff rather than calling from libs.

> Sometimes I fantasise about writing my own file manager. It's right up
> there next to my various other unfinished projects. :-/

You could take a look at the Zipper Filesystem, a fully transactional and purely
functional filesystem implemented in Haskell with GHC:

http://okmij.org/ftp/Computation/Continuations.html#zipper-fs

Oleg is a kind of modern day compsci genious, something rare among the IT
workers and dictators of today.  His head seems to operate on a level far above
ours, always amazing us with ingenious takes on innovative ways to do things.
Shame he never went into designing a programming language of his own, instead
relying on C++, Scheme and Haskell a vehicles for his imagination.

He also gave recently an interesting lecture at Haskell Cafe against Lazy IO:

http://groups.google.com/group/fa.haskell/browse_thread/thread/50cc28a0ae61c38e/d5917350262c3ebd


Post a reply to this message

From: nemesis
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 13:20:01
Message: <web.49de2d2d14a2c6a4bbbb20030@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> scott wrote:
> > Set FSO = CreateObject("Scripting.FileSystemObject")
> > Set Folder = FSO.GetFolder("folder name")
> > Set Files = Folder.Files
> > For Each File in Files
> >  do something with File.Name here
> > Next
>
> Or just
> for %I in (*.txt) do md5 %I >>checksums.txt
> or whatever parameters you want. It's not like Windows doesn't have a shell. :-)

ah!  That's definitely better.


Post a reply to this message

From: Jim Henderson
Subject: Re: Very cool Ubuntu distro
Date: 9 Apr 2009 15:00:45
Message: <49de45dd$1@news.povray.org>
On Thu, 09 Apr 2009 10:48:41 +0100, Invisible wrote:

> Except that the Linux MD5 tool can automatically compute the MD5 sum of
> multiple files. I have only found one tool for Windows that can do this,
> and it was buggy as hell. (Kept printing garbage characters to stdout,
> got confused by certain pathnames, etc.)

I've used md5sum.exe from etree.org in the past and it's worked very well.

Jim


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Very cool Ubuntu distro
Date: 11 Apr 2009 15:30:50
Message: <49e0efea@news.povray.org>
Invisible wrote:
> Does that work recursively?

Pass /R and it will.


Post a reply to this message

From: Eero Ahonen
Subject: Re: Very cool Ubuntu distro
Date: 13 Apr 2009 08:43:47
Message: <49e33383$1@news.povray.org>
Darren New wrote:
> 
> Sort by type, select the range of png files, and delete them.
> Alternately, type "*.png" into the search bar, ctrl-A, delete.

And if PNG:s are defined just as "Image" and there's another image types
defined the same (eg. .JPG), you'll practically remove them also.

> Not quite as intuitive as del *.png, I'll grant, but potentially quicker
> than opening a command window and navigating to the directory manually. :-)

That's one reason to tweak "Open command prompt here" to the right-click
menu ;-).

-Aero


Post a reply to this message

From: scott
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 03:55:10
Message: <49e4415e$1@news.povray.org>
>> If you have ever done any windows scripting it should be a piece of cake,
>
>  That seems to be a problem with Windows: It simply doesn't invite you
> to do things by scripting.

Why not, it's really easy, on a fresh OS install you can open notepad, 
script away in a DOS-like language, VBscript or JavaScript, save the file 
and run it.  If you need help, google will give you millions of examples and 
tutorial on how to do stuff, the MS website even has a whole area for it.

>  I have been a regular Windows user for over 10 years, yet I don't have
> the slightest idea about vbscripts nor even how you could even run them.
> Can you run them directly? Do you need some kind of interpreter for it?
> Does Windows support them by default, or do you need to install something?
> I really don't have the slightest idea. I don't even know where to start.
>
>  I have also been a regular Unix user for over 10 years, and I'm somewhat
> fluent in shell scripting. I'm in fact so used to it, that I find a 
> terminal
> emulator much more comfortable for browsing and handling files than a
> graphical file browser (even though all linux distros have both).
>
>  I can't say which system I have used more overall, but I think it's
> rather telling that in one system I'm pretty fluent with its scripting,
> while in the other I don't have the faintest idea where to even start
> looking. There is just some fundamental difference in these two systems
> which causes different natural way of thinking.

The key question is, why didn't you learn to script for windows? Is it 
because you didn't need to, didn't want to, or weren't able to?  What are 
the scripts doing that you have written for Unix? Why aren't they needed on 
Windows?


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 04:32:34
Message: <49e44a22@news.povray.org>
>> Not quite as intuitive as del *.png, I'll grant, but potentially quicker
>> than opening a command window and navigating to the directory manually. :-)
> 
> That's one reason to tweak "Open command prompt here" to the right-click
> menu ;-).

Opening a command prompt and navigating it to the same place as the 
Explorer window you already have open *is* frustratingly tedious. Some 
day I'll have to find a way around that...


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 04:34:09
Message: <49e44a81$1@news.povray.org>
>> Does that work recursively?
> 
> Pass /R and it will.

Will %I contain the complete pathname? Or just relative from the CWD?

Actually, what the hell, there's a simple way to find out...


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:43:25
Message: <49e4af1d$1@news.povray.org>
Invisible wrote:
> Opening a command prompt and navigating it to the same place as the 
> Explorer window you already have open *is* frustratingly tedious. Some 
> day I'll have to find a way around that...

It's called "open command prompt here". :-) Google it.

Built into vista - hold the shift key when you right-click the folder icon.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:44:06
Message: <49e4af46$1@news.povray.org>
Invisible wrote:
>>> Does that work recursively?
>>
>> Pass /R and it will.
> 
> Will %I contain the complete pathname? Or just relative from the CWD?
> 
> Actually, what the hell, there's a simple way to find out...

Yes.

for /?

Like we said...  There's literally 5 screens of options.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 11:46:58
Message: <49e4aff2$1@news.povray.org>
>> Will %I contain the complete pathname? Or just relative from the CWD?
>>
>> Actually, what the hell, there's a simple way to find out...
> 
> Yes.
> 
> for /?

I was thinking more along the lines of

   FOR /R %f IN (*) DO echo %f

actually. :-P

> Like we said...  There's literally 5 screens of options.

...and no way of reading it easily. :-P


Post a reply to this message

From: Darren New
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 12:16:44
Message: <49e4b6ec$1@news.povray.org>
Invisible wrote:
>>> Will %I contain the complete pathname? Or just relative from the CWD?
>>>
>>> Actually, what the hell, there's a simple way to find out...
>>
>> Yes.
>>
>> for /?
> 
> I was thinking more along the lines of
> 
>   FOR /R %f IN (*) DO echo %f

Yes. But the right answer is "both, depending on what options you give."

>> Like we said...  There's literally 5 screens of options.
> ...and no way of reading it easily. :-P

Uh, why not?  I assume you're literate, you have a Windows machine, and a 
keyboard and screen, or you wouldn't be asking about it.

-- 
   Darren New, San Diego CA, USA (PST)
   There's no CD like OCD, there's no CD I knoooow!


Post a reply to this message

From: Orchid XP v8
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 16:32:17
Message: <49e4f2d1$1@news.povray.org>
>> I was thinking more along the lines of
>>
>>   FOR /R %f IN (*) DO echo %f
> 
> Yes. But the right answer is "both, depending on what options you give."

Probably, yes. (I already figured out - for another problem - that %~nf 
strips the file extension.) Personally, I'm not fond of all these funky 
abbriviations. I'd refer something like %{drop suffix %f} or something.

>>> Like we said...  There's literally 5 screens of options.
>> ...and no way of reading it easily. :-P
> 
> Uh, why not?  I assume you're literate, you have a Windows machine, and 
> a keyboard and screen, or you wouldn't be asking about it.

Have you tried using the Windows pager? It's horrid. :-S

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


Post a reply to this message

From: nemesis
Subject: Re: Very cool Ubuntu distro
Date: 14 Apr 2009 21:40:01
Message: <web.49e53a8c14a2c6a42fb544090@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> >> I was thinking more along the lines of
> >>
> >>   FOR /R %f IN (*) DO echo %f
> >
> > Yes. But the right answer is "both, depending on what options you give."
>
> Probably, yes. (I already figured out - for another problem - that %~nf
> strips the file extension.) Personally, I'm not fond of all these funky
> abbriviations. I'd refer something like %{drop suffix %f} or something.

ah, the guy who enjoys a programming language comprised of obfuscated symbols in
confusing point-free style wish what is supposed to be concise scripting
languages to be comprised of verbose commands.  Makes plenty of sense. ;)


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 15 Apr 2009 04:25:01
Message: <49e599dd@news.povray.org>
nemesis wrote:

> ah, the guy who enjoys a programming language comprised of obfuscated symbols in
> confusing point-free style

I disagree.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Very cool Ubuntu distro
Date: 22 Apr 2009 11:23:33
Message: <49ef3675@news.povray.org>
Orchid XP v8 wrote:
>>> I was thinking more along the lines of
>>>
>>>   FOR /R %f IN (*) DO echo %f
>> 
>> Yes. But the right answer is "both, depending on what options you give."
> 
> Probably, yes. (I already figured out - for another problem - that %~nf
> strips the file extension.) Personally, I'm not fond of all these funky
> abbriviations. I'd refer something like %{drop suffix %f} or something.

You've clearly never used Perl?


Post a reply to this message

From: Invisible
Subject: Re: Very cool Ubuntu distro
Date: 22 Apr 2009 11:27:49
Message: <49ef3775$1@news.povray.org>
>> Probably, yes. (I already figured out - for another problem - that %~nf
>> strips the file extension.) Personally, I'm not fond of all these funky
>> abbriviations. I'd refer something like %{drop suffix %f} or something.
> 
> You've clearly never used Perl?

It's something I try to avoid, yes.

(I sat down with a book one day and wrote a Perl CGI script. A week 
later, I couldn't figure out how in the name of God it actually works...)


Post a reply to this message

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