POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting Server Time
27 Nov 2026 16:56:31 EST (-0500)
  Adventures with digital painting (Message 21 to 70 of 197)  
<<< Previous 20 Messages Goto Latest 50 Messages Next 50 Messages >>>
From: scott
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 08:27:55
Message: <47cff15b$1@news.povray.org>
>> Try Google shopping, plently of places have it cheaper
>
> I asked Froogle, and it couldn't find anything cheaper.

http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p

>> (dabs, scan, misco, ...).
>
> ...who?

I thought I'd heard you mention dabs before here? Oh maybe not then.  scan 
and misco are other fairly big online computer stores (we use misco for all 
our IT stuff at work, and I've used scan a few times).


Post a reply to this message

From: Invisible
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 08:31:37
Message: <47cff239@news.povray.org>
>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p


...WTF? That's the *exact* same search I did, but the results are 
completely different... HOW is that possible??

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


Post a reply to this message

From: scott
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 09:02:09
Message: <47cff961@news.povray.org>
>>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>
> ...WTF? That's the *exact* same search I did, but the results are 
> completely different... HOW is that possible??

It's not :-)


Post a reply to this message

From: Invisible
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 09:09:29
Message: <47cffb19@news.povray.org>
scott wrote:
>>>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p

>>>
>>
>> ...WTF? That's the *exact* same search I did, but the results are 
>> completely different... HOW is that possible??
> 
> It's not :-)

My God, the computer hates me. Now I *really* sound paranoid! o_O

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


Post a reply to this message

From: Stephen
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 10:13:38
Message: <ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com>
On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] devnull> wrote:

>And, let's not forget it's my birthday soon and nobody knows what the 
>hell to buy for me. ;-)

Mine too and no one ever knows what to buy me either :(


Regards
	Stephen


Post a reply to this message

From: Doctor John
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 12:10:08
Message: <47d02570$1@news.povray.org>
"Stephen" <mcavoysATaolDOTcom@> wrote in message 
news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] devnull> wrote:
>
>>And, let's not forget it's my birthday soon and nobody knows what the
>>hell to buy for me. ;-)
>
> Mine too and no one ever knows what to buy me either :(
>
>
> Regards
> Stephen
I hate to say this but ... me too
March 22 if you're planning to be in The Jack Horner (Tottenham Court Road) 
on that day :-)

John
-- 
No sig 'cos I'm not on my own machine


Post a reply to this message

From: Phil Cook
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 12:12:30
Message: <op.t7lt2kyyc3xi7v@news.povray.org>
And lo on Thu, 06 Mar 2008 13:27:45 -0000, scott <sco### [at] laptopcom> did  
spake, saying:

>>> Try Google shopping, plently of places have it cheaper
>>
>> I asked Froogle, and it couldn't find anything cheaper.
>
>
http://www.google.co.uk/products?q=photoshop+cs3&hl=en&price1=525&price2=569&scoring=p
>
>>> (dabs, scan, misco, ...).
>>
>> ...who?
>
> I thought I'd heard you mention dabs before here? Oh maybe not then.   
> scan and misco are other fairly big online computer stores (we use misco  
> for all our IT stuff at work, and I've used scan a few times).

Then again I note both Misco and Dabs are doing PSPX2 at ~£80 and Amazon  
have it at ~£40.

-- 
Phil Cook

--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com


Post a reply to this message

From: Stephen
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 12:34:40
Message: <ooa0t3dakhd22v288ar1j1968e5sts4vs7@4ax.com>
On Thu, 6 Mar 2008 17:10:06 -0000, "Doctor John" <doc### [at] gmailcom> wrote:

>"Stephen" <mcavoysATaolDOTcom@> wrote in message 
>news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
>> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] devnull> wrote:
>>
>>>And, let's not forget it's my birthday soon and nobody knows what the
>>>hell to buy for me. ;-)
>>
>> Mine too and no one ever knows what to buy me either :(
>>
>>
>> Regards
>> Stephen
>I hate to say this but ... me too
>March 22 if you're planning to be in The Jack Horner (Tottenham Court Road) 
>on that day :-)
>

Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
next week.) So you are a Modulo day older than me as mine is on the 23rd. of
March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
up.

Regards
	Stephen


Post a reply to this message

From: Gail Shaw
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 13:51:00
Message: <47d03d14@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:47cfe41d$1@news.povray.org...
> Warp wrote:
>
> >   Maybe you should try cheaper software first.
>
> Oh yes. Hell, I have *no intension* of paying £600 for something that
> might not even be any use to me...

If you are interested in a fairly powerful drawing package, get Paint shop
Pro. See if you can find version 9, I hear it went strange after that.
It's way cheaper than photoshop, but has a lot of good drawing and photo
manip features. Probably better for the hobbiest than Photoshop.


Post a reply to this message

From: Gail Shaw
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 13:51:53
Message: <47d03d49@news.povray.org>
"Invisible" <voi### [at] devnull> wrote in message
news:47cfe803$1@news.povray.org...

> [rant] I did ask it to *exclude* anything containing the words "student"
> or "upgrade", but the first 3 hits still contained these words. [/rant]

*g* Being a university student is so handy sometimes...


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 15:20:39
Message: <47d05217@news.povray.org>
Gail Shaw <initialsurname@sentech sa dot com> wrote:
> If you are interested in a fairly powerful drawing package, get Paint shop
> Pro. See if you can find version 9, I hear it went strange after that.
> It's way cheaper than photoshop, but has a lot of good drawing and photo
> manip features. Probably better for the hobbiest than Photoshop.

  Searching at amazon, it seems that it's indeed quite cheap. amazon.co.uk
doesn't seem to have version 9, but version 8 sells at 27 pounds. At
amazon.com version 9 sells at 10 dollars.

-- 
                                                          - Warp


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 15:50:42
Message: <op.t7l36rtt7bxctx@e6600.bredbandsbolaget.se>
On Thu, 06 Mar 2008 21:20:39 +0100, Warp <war### [at] tagpovrayorg> wrote:
> Gail Shaw <initialsurname@sentech sa dot com> wrote:
>> If you are interested in a fairly powerful drawing package, get Paint  
>> shop
>> Pro. See if you can find version 9, I hear it went strange after that.
>> It's way cheaper than photoshop, but has a lot of good drawing and photo
>> manip features. Probably better for the hobbiest than Photoshop.
>
>  Searching at amazon, it seems that it's indeed quite cheap. amazon.co.uk
> doesn't seem to have version 9, but version 8 sells at 27 pounds. At
> amazon.com version 9 sells at 10 dollars.


As I recall from when I actually used PSP, version 8 was the best in the  
series. It started going downhill when Corel stepped in.


-- 
FE


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 16:05:53
Message: <47d05cb1$1@news.povray.org>
Gail Shaw wrote:

> *g* Being a university student is so handy sometimes...

Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{

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


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 6 Mar 2008 16:14:48
Message: <47d05ec8@news.povray.org>
Orchid XP v7 escribió:
> Gail Shaw wrote:
> 
>> *g* Being a university student is so handy sometimes...
> 
> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
> 

Heh. iPhone SDK is out today, and some bastard is bragging about his speed:

http://therepository.binarytide.com/sdk.jpg
http://www.speedtest.net/result/243051185.png


Post a reply to this message

From: Gail Shaw
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 03:16:35
Message: <47d0f9e3@news.povray.org>
"Orchid XP v7" <voi### [at] devnull> wrote in message
news:47d05cb1$1@news.povray.org...
> Gail Shaw wrote:
>
> > *g* Being a university student is so handy sometimes...
>
> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{

*blink* Never seen one of those. *envy*

I get the student discount in some places, even thought I'm a working
part-time student. All they check for is the student card.


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 03:24:53
Message: <47d0fbd5$1@news.povray.org>
>>> *g* Being a university student is so handy sometimes...
>> Oh yeah! I miss the 100 mbit/sec Internet pipe... :-{
> 
> *blink* Never seen one of those. *envy*

Yeah. Back when I was at uni, "broadband" hadn't been invented yet. 
Everybody accessed the Internet with 36KB modems. If they could afford 
such an expensive device, and the ISP charges to go with it. (Assuming 
your ISP supported 36KB yet.) And sitting at uni, I had 100 Mbit to play 
with! (OK, shared between me and 80 other people in the building, but 
still...)

Some of the guys in the NERV clan *still* get 100 Mbit. Oh to be young 
again...

[Mind you, some of those guys get SEX too. Lucky ****s!]

> I get the student discount in some places, even thought I'm a working
> part-time student. All they check for is the student card.

My sister kept her card for years after she finished uni. Used it 
everywhere. Took a while for people to start noticing... ;-)

Come to think of it, both me and my sister have the "student" version of 
M$ Office. I don't know *how* it's supposed to tell whether you're a 
student or not...

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


Post a reply to this message

From: scott
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 03:27:20
Message: <47d0fc68$1@news.povray.org>
> As I recall from when I actually used PSP, version 8 was the best in the 
> series. It started going downhill when Corel stepped in.

I used V8 for a long time at work, and V9 at home.  I just recently got the 
latest Pro Photo X2 from Corel ... and really, I don't see any big 
differences, apart from nicer eye candy.  The functionality is still all 
there, the menus are almost identical, a few additional tools and better 
designed older tools, but essentially 95% the same program.

So I'd agree with Gail and Warp, go get a cheap copy of PSP 8 or 9 and give 
that a whirl - it has most of the features that a non-Pro uses in Photoshop 
anyway.


Post a reply to this message

From: Doctor John
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 07:26:16
Message: <47d13468@news.povray.org>
Stephen wrote:
> On Thu, 6 Mar 2008 17:10:06 -0000, "Doctor John" <doc### [at] gmailcom> wrote:
> 
>> "Stephen" <mcavoysATaolDOTcom@> wrote in message 
>> news:ig20t3dq0v8srb01f201i0dv3qb1hctf35@4ax.com...
>>> On Thu, 06 Mar 2008 12:31:24 +0000, Invisible <voi### [at] devnull> wrote:
>>>
>>>> And, let's not forget it's my birthday soon and nobody knows what the
>>>> hell to buy for me. ;-)
>>> Mine too and no one ever knows what to buy me either :(
>>>
>>>
>>> Regards
>>> Stephen
>> I hate to say this but ... me too
>> March 22 if you're planning to be in The Jack Horner (Tottenham Court Road) 
>> on that day :-)
>>
> 
> Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
> next week.) So you are a Modulo day older than me as mine is on the 23rd. of
> March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
> up.
> 
> Regards
> 	Stephen
Ok, lets go for it. Set a time and I'll be there.
Anyone else up for a meet?

John

-- 
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.


Post a reply to this message

From: Doctor John
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 07:35:37
Message: <47d13699@news.povray.org>
Orchid XP v7 wrote:
>
> Come to think of it, both me and my sister have the "student" version of
> M$ Office. I don't know *how* it's supposed to tell whether you're a
> student or not...
> 
It never gets started before 2pm and definitely never on a weekend :-)

John

-- 
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 08:07:36
Message: <47d13e18@news.povray.org>
Doctor John wrote:
> Orchid XP v7 wrote:
>> Come to think of it, both me and my sister have the "student" version of
>> M$ Office. I don't know *how* it's supposed to tell whether you're a
>> student or not...
>>
> It never gets started before 2pm and definitely never on a weekend :-)

*rimshot*

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


Post a reply to this message

From: Stephen
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 13:39:58
Message: <jq23t390eibppf19gt4knqfie8p9ofkmld@4ax.com>
On Fri, 07 Mar 2008 12:27:17 +0000, Doctor John <doc### [at] gmailcom> wrote:

>>> March 22 if you're planning to be in The Jack Horner (Tottenham Court Road) 
>>> on that day :-)
>>>
>> 
>> Oh! that is a Saturday and I'll be home for the weekend. (I'm starting a new job
>> next week.) So you are a Modulo day older than me as mine is on the 23rd. of
>> March. And Tottenham Court Road is close to "Forbidden Planet" I'd love to meet
>> up.

>Ok, lets go for it. Set a time and I'll be there.
>Anyone else up for a meet?

I've not been for a drink there but it looks like a good location. Easy to get
to from Euston, Kings Cross or Liverpool St. (For the out of towners :) As for a
time, I'm easy and it is only about a half and hour from my home by the bendy
bus #18.
Do you want to wait to see if anyone else will join us before setting a time?

Regards
	Stephen


Post a reply to this message

From: Tim Cook
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 16:05:09
Message: <47d1ae05$1@news.povray.org>
scott wrote:
>> As I recall from when I actually used PSP, version 8 was the best in 
>> the series. It started going downhill when Corel stepped in.
> 
> I used V8 for a long time at work, and V9 at home.  I just recently got 
> the latest Pro Photo X2 from Corel ... and really, I don't see any big 
> differences, apart from nicer eye candy.  The functionality is still all 
> there, the menus are almost identical, a few additional tools and better 
> designed older tools, but essentially 95% the same program.
> 
> So I'd agree with Gail and Warp, go get a cheap copy of PSP 8 or 9 and 
> give that a whirl - it has most of the features that a non-Pro uses in 
> Photoshop anyway.

Heck, I use version 7...even 8 was too bloatware for my taste.

-- 
Tim Cook
http://empyrean.digitalartsuk.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 16:06:40
Message: <47d1ae60@news.povray.org>
Tim Cook escribió:
> Heck, I use version 7...even 8 was too bloatware for my taste.

http://stuff.povaddict.com.ar/psp5.png

I tried 8 or 9 and I was impressed at the amount of bloat.


Post a reply to this message

From: Stephen
Subject: Re: Adventures with digital painting
Date: 7 Mar 2008 16:41:29
Message: <uid3t3du6ptafdn5cjvqq6f47b4fbpsm7e@4ax.com>
On Fri, 07 Mar 2008 16:05:08 -0500, Tim Cook <z99### [at] gmailcom> wrote:

>
>Heck, I use version 7...even 8 was too bloatware for my taste.

I just checked and I'm using Version 6

Regards
	Stephen


Post a reply to this message

From: Chambers
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 13:47:09
Message: <47d2df2d@news.povray.org>
Nicolas Alvarez wrote:
> Tim Cook escribi�³:
>> Heck, I use version 7...even 8 was too bloatware for my taste.
> 
> http://stuff.povaddict.com.ar/psp5.png
> 
> I tried 8 or 9 and I was impressed at the amount of bloat.

I love the Unix philosophy of making specific, lightweight tools that 
interoperate, rather than gargantuan monolithic beasts that do 
everything rather poorly.

-- 
...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 13:51:10
Message: <47d2e01e@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:
> I love the Unix philosophy of making specific, lightweight tools that 
> interoperate, rather than gargantuan monolithic beasts that do 
> everything rather poorly.

  In a graphical user interface it's more difficult to make them
interoperate, which is probably one reason why they usually don't.

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 13:52:09
Message: <47d2e059$1@news.povray.org>
Warp escribió:
> Chambers <ben### [at] pacificwebguycom> wrote:
>> I love the Unix philosophy of making specific, lightweight tools that 
>> interoperate, rather than gargantuan monolithic beasts that do 
>> everything rather poorly.
> 
>   In a graphical user interface it's more difficult to make them
> interoperate, which is probably one reason why they usually don't.

And also one reason why command-line tools are better for many things. 
(image editing probably not one of them)


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 13:57:16
Message: <47d2e18c@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> >   In a graphical user interface it's more difficult to make them
> > interoperate, which is probably one reason why they usually don't.

> And also one reason why command-line tools are better for many things. 

  True, although I have to admit that sometimes a graphical user interface
just makes some things easier, faster and more practical (although not so
many things as many people seem to believe.)

> (image editing probably not one of them)

  Basically anything involving heavy amounts of multimedia.

  (Playing video/music files may be a borderline case, though. For example
mplayer is a superb command-line media player, and mencoder is a good
command-line tool for converting videos and a good "ripping" tool.)

-- 
                                                          - Warp


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:15:58
Message: <47d2e5ee@news.povray.org>
> I love the Unix philosophy of making specific, lightweight tools that 
> interoperate, rather than gargantuan monolithic beasts that do 
> everything rather poorly.

See, now, personally I hate that. It annoys the hell out of me that the 
Unix way is to use 50,000 tiny tools with all have far too many 
backwards compatibility modes, bugs and "features".

["This makes it read from a file. Unless the file is named '-', in which 
case it reads from stdin." OK, so how do I make it read from a file 
that's actually named '-' then? And other surprising ad-hoc behaviours...]

But then, I guess that's just my opinion.

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


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:18:55
Message: <47d2e69f$1@news.povray.org>
Orchid XP v7 escribió:
> ["This makes it read from a file. Unless the file is named '-', in which 
> case it reads from stdin." OK, so how do I make it read from a file 
> that's actually named '-' then? And other surprising ad-hoc behaviours...]

./-


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:20:57
Message: <47d2e719$1@news.povray.org>
Nicolas Alvarez wrote:
> Orchid XP v7 escribió:
>> ["This makes it read from a file. Unless the file is named '-', in 
>> which case it reads from stdin." OK, so how do I make it read from a 
>> file that's actually named '-' then? And other surprising ad-hoc 
>> behaviours...]
> 
> ./-

OK. But it now means that if you write a script that does this, you need 
to explicitly check whether the file you're going to process just 
happens to be called "-" and manually escape it if it is. And just 
think, if you didn't realise that, your script might be used for *years* 
before somebody tries to use it in that specific way and makes it crash 
spectacularly.

Urg. Anyways...

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


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:24:42
Message: <47d2e7fa$1@news.povray.org>
Orchid XP v7 escribió:
> Nicolas Alvarez wrote:
>> Orchid XP v7 escribió:
>>> ["This makes it read from a file. Unless the file is named '-', in 
>>> which case it reads from stdin." OK, so how do I make it read from a 
>>> file that's actually named '-' then? And other surprising ad-hoc 
>>> behaviours...]
>>
>> ./-
> 
> OK. But it now means that if you write a script that does this, you need 
> to explicitly check whether the file you're going to process just 
> happens to be called "-" and manually escape it if it is. And just 
> think, if you didn't realise that, your script might be used for *years* 
> before somebody tries to use it in that specific way and makes it crash 
> spectacularly.

1. If the file is called -, you're calling for trouble anyway.

2. Whoever passes a filename to your script should be using the ./- thing.


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:29:58
Message: <47d2e936@news.povray.org>
Orchid XP v7 <voi### [at] devnull> wrote:
> > I love the Unix philosophy of making specific, lightweight tools that 
> > interoperate, rather than gargantuan monolithic beasts that do 
> > everything rather poorly.

> See, now, personally I hate that. It annoys the hell out of me that the 
> Unix way is to use 50,000 tiny tools with all have far too many 
> backwards compatibility modes, bugs and "features".

  He was talking about the unix philosophy, not how this philosophy has
been implemented in some environments.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:50:20
Message: <47d2edfb@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> 1. If the file is called -, you're calling for trouble anyway.

> 2. Whoever passes a filename to your script should be using the ./- thing.

  Many shellscripts break with file names with spaces in them. This is
because surprisingly few unix geeks know that in shell scripts you have
to use "$@" to refer to all the command-line arguments, not $*.

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:54:06
Message: <47d2eede$1@news.povray.org>
Warp wrote:
> Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
>> 1. If the file is called -, you're calling for trouble anyway.
> 
>> 2. Whoever passes a filename to your script should be using the ./- thing.
> 
>   Many shellscripts break with file names with spaces in them. 

Actually, it's worse. There are surprisingly few utilities that don't 
break on *any* possible file name.

Here's a contest. Given the directory /tmp/stuff, delete all the files 
in that directory that end with ".tmp".

Let's see how many iterations it takes to get actually right.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 14:59:54
Message: <47d2f03a@news.povray.org>
Darren New escribió:
> Here's a contest. Given the directory /tmp/stuff, delete all the files 
> in that directory that end with ".tmp".
> 
> Let's see how many iterations it takes to get actually right.

Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)


Post a reply to this message

From: Darren New
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 15:10:42
Message: <47d2f2c2$1@news.povray.org>
Nicolas Alvarez wrote:
> Darren New escribió:
>> Here's a contest. Given the directory /tmp/stuff, delete all the files 
>> in that directory that end with ".tmp".
>>
>> Let's see how many iterations it takes to get actually right.
> 
> Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)

That doesn't even work if there *aren't* funky characters in the file name.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 15:19:15
Message: <47d2f4c2@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Nicolas Alvarez wrote:
> > Darren New escribió:
> >> Here's a contest. Given the directory /tmp/stuff, delete all the files 
> >> in that directory that end with ".tmp".
> >>
> >> Let's see how many iterations it takes to get actually right.
> > 
> > Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)

> That doesn't even work if there *aren't* funky characters in the file name.

  It *does* work, assuming you have a sufficiently modern shell (and not
a 20 years old sh). Modern shells are rather smart at escaping what needs
to be escaped when you write "*".

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 15:32:33
Message: <47d2f7e1$1@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> Nicolas Alvarez wrote:
>>> Darren New escribió:
>>>> Here's a contest. Given the directory /tmp/stuff, delete all the files 
>>>> in that directory that end with ".tmp".
>>>>
>>>> Let's see how many iterations it takes to get actually right.
>>> Then I guess rm /tmp/stuff/*.tmp isn't good enough? :)
> 
>> That doesn't even work if there *aren't* funky characters in the file name.
> 
>   It *does* work, assuming you have a sufficiently modern shell (and not
> a 20 years old sh). Modern shells are rather smart at escaping what needs
> to be escaped when you write "*".

Bull. Put 300,000 files to be deleted in /tmp/stuff, and watch it bomb.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Chambers
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 16:29:54
Message: <47d30552$1@news.povray.org>
Orchid XP v7 wrote:
>> I love the Unix philosophy of making specific, lightweight tools that 
>> interoperate, rather than gargantuan monolithic beasts that do 
>> everything rather poorly.
> 
> See, now, personally I hate that. It annoys the hell out of me that the 
> Unix way is to use 50,000 tiny tools with all have far too many 
> backwards compatibility modes, bugs and "features".

So what you're really saying, is that we need a modern implementation of 
traditional Unix style tools, distributed as a package.  It wouldn't 
need a ton of that backwards-compatibility stuff, because all of the 
included tools are fresh implementations that we know work together.

-- 
...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

From: Orchid XP v7
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:12:54
Message: <47d30f66@news.povray.org>
Chambers wrote:

> So what you're really saying, is that we need a modern implementation of 
> traditional Unix style tools, distributed as a package.  It wouldn't 
> need a ton of that backwards-compatibility stuff, because all of the 
> included tools are fresh implementations that we know work together.

What I'm saying is that "Unix" isn't a single coherant design. It's 
50,000 random people all doing their own seperate thing, and expecting 
the result to actually function. Which, almost unbelievably, it does. 
But *damn* is it messy...

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


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:24:10
Message: <47d3120a@news.povray.org>
Orchid XP v7 <voi### [at] devnull> wrote:
> What I'm saying is that "Unix" isn't a single coherant design. It's 
> 50,000 random people all doing their own seperate thing, and expecting 
> the result to actually function. Which, almost unbelievably, it does. 
> But *damn* is it messy...

  I really fail to see how that is at all different from Windows. ;)

-- 
                                                          - Warp


Post a reply to this message

From: Jim Henderson
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:25:43
Message: <47d31267$1@news.povray.org>
On Sat, 08 Mar 2008 10:46:57 -0800, Chambers wrote:

> Nicolas Alvarez wrote:
>> Tim Cook escribió:
>>> Heck, I use version 7...even 8 was too bloatware for my taste.
>> 
>> http://stuff.povaddict.com.ar/psp5.png
>> 
>> I tried 8 or 9 and I was impressed at the amount of bloat.
> 
> I love the Unix philosophy of making specific, lightweight tools that
> interoperate, rather than gargantuan monolithic beasts that do
> everything rather poorly.

Ditto.  When I do data manipulation now in oocalc, I often parse the data 
first by piping it through a series of awk scripts and grep filters to 
get the data I'm interested in, *then* import it.

Makes it easier to aggregate the stuff I look at.

Jim


Post a reply to this message

From: Jim Henderson
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:26:45
Message: <47d312a5$1@news.povray.org>
On Sat, 08 Mar 2008 19:16:28 +0000, Orchid XP v7 wrote:

> ["This makes it read from a file. Unless the file is named '-', in which
> case it reads from stdin." OK, so how do I make it read from a file
> that's actually named '-' then? And other surprising ad-hoc
> behaviours...]

(a) you don't name a file '-' because it's got a special meaning to the 
shell, or 

(b) you escape the filename.

Jim


Post a reply to this message

From: Jim Henderson
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:29:11
Message: <47d31337@news.povray.org>
On Sat, 08 Mar 2008 11:54:07 -0800, Darren New wrote:

> Here's a contest. Given the directory /tmp/stuff, delete all the files
> in that directory that end with ".tmp".

cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'

Jim


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:44:45
Message: <47d316dc@news.povray.org>
Jim Henderson <nos### [at] nospamcom> wrote:
> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'

  Why does it need to be so complicated?

  find /tmp/stuff -name "*.tmp" -exec rm {} \;

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 17:51:02
Message: <47d31856$1@news.povray.org>
Jim Henderson wrote:
> On Sat, 08 Mar 2008 11:54:07 -0800, Darren New wrote:
> 
>> Here's a contest. Given the directory /tmp/stuff, delete all the files
>> in that directory that end with ".tmp".
> 
> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0 "\""))'

Great. Now try it on a directory with the following names in it:

-rf\n.tmp  (where the \n means newline, of course)
<.tmp
.xyz.tmp
hip"hop.tmp
hop'hip.tmp
this.tmp;that.tmp
this\bthat.tmp   (where the \b means bell)
this\bthat.tmp   (where the \b is two characters, backslash and b)

Two for zero... ;-)

Altho I expect 'find . -name '*.tmp' -exec rm {} \;" might work, but 
only because you know the name ends in '.tmp'.  You might be able to 
manage '-exec rm ./{}' and make it work too. I haven't tested that. I do 
know it'll be an order of magnitude slower due to all the invocations of 
/bin/rm.

For a real fun time, try "delete all the files in the directory without 
deleting the directory".  Or "copy them to the /tmp/keep" directory 
(which, as far as I can tell, xargs doesn't help with.)

(I work with big directories, and big files. Often I'll have a program 
that runs 3 hours, then takes half an hour to delete its input files. Or 
individual files that take 2 minutes of disk I/O to delete. Or empty 
directories that take several minutes to delete because they used to 
have six or seven million files in em.  And of course, the machine 
becomes completely unusable during any sort of operation like that.)

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Darren New
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 18:46:26
Message: <47d32552$1@news.povray.org>
Warp wrote:
>   Why does it need to be so complicated?
>   find /tmp/stuff -name "*.tmp" -exec rm {} \;

>   It *does* work, assuming you have a sufficiently modern shell (and not
> a 20 years old sh). Modern shells are rather smart at escaping what needs
> to be escaped when you write "*".

In other words, if you completely bypass the shell, it can be made easy 
to work. Otherwise you get things like "no such user John.tmp" when you 
try to delete "~John.tmp".  And if you want to delete all the files in 
the directory, you have to add more escaping. And if you want to scp 
them to a different server, you really don't want to be typing the 
password for each one, so you either have to use xargs (with the -0 
switch, which is why that's there!) or manage to tar them up somehow, 
which has the same problems.

Anyway, my point was that it's kind of unobvious to get right, not that 
it couldn't be done.  I generally just break out Tcl for such a task 
(since Tcl doesn't reparse things repeatedly without you asking 
explicitly), as it's easier than trying to come up with the right list 
of flags to the various programs.

Yet every time I mention the kinds of problems it causes, the UNIX 
dweebs *I* know will fight to the death their need to be able to put 
backspaces and vertical tab characters into file names. You might as 
well try to convince a FORTH programmer that it isn't necessary to have 
the ability to start the name of a function with a closing parenthesis.
</rant>   :-)

Having the shell doing your expansion has caught me other times, too...

% cat a b c >d
Can't create d: permission denied
% sudo !!
Can't create d: permission denied

Of course, the real line was much longer, so a simple "su" meant 
retyping the line (or using copy-and-paste to retype it for you) instead 
of just !! or up-arrow. :-)

However, I'm glad Windows finally forced people writing Unix shells to 
start dealing with funky file names as a regular occurrence. ;-) I 
noticed that the shells started learning to do proper quoting (like for 
command-line completion) right around the time SAMBA shares with 
MSWindows servers got popular. :-)

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 19:04:18
Message: <47d32982@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> In other words, if you completely bypass the shell, it can be made easy 
> to work. Otherwise you get things like "no such user John.tmp" when you 
> try to delete "~John.tmp".

  Only if you write "~John.tmp" by hand instead of letting the shell do
the proper expansion.

>  And if you want to delete all the files in 
> the directory, you have to add more escaping.

  Well, if "rm *" works (ie. there aren't too many files), you don't.
If there are too many files, I suppose you'll have to use the 'find'
trick.

> And if you want to scp 
> them to a different server, you really don't want to be typing the 
> password for each one

  If you do a "scp *" it won't ask the password for each one.

>, so you either have to use xargs (with the -0 
> switch, which is why that's there!) or manage to tar them up somehow, 
> which has the same problems.

  What's the problem with tarring them? "tar -cvf . files.tar"

> Anyway, my point was that it's kind of unobvious to get right

  Granted, the only problem I have seen so far is when there are way
too many files in the directory, in which case "*" expand to too many.
However, I haven't seen any problems with special characters so far.

> Yet every time I mention the kinds of problems it causes, the UNIX 
> dweebs *I* know will fight to the death their need to be able to put 
> backspaces and vertical tab characters into file names.

  The only valid point you have presented is the too-many-files argument,
which can be a real problem for the * expansion. So far I haven't seen
any real problem with special characters.

> Having the shell doing your expansion has caught me other times, too...

> % cat a b c >d
> Can't create d: permission denied
> % sudo !!
> Can't create d: permission denied

> Of course, the real line was much longer, so a simple "su" meant 
> retyping the line (or using copy-and-paste to retype it for you) instead 
> of just !! or up-arrow. :-)

  What's wrong with getting the command from the command history with
the up cursor, going to the beginning of the line with ctrl-a and then
adding the "sudo" there?

> However, I'm glad Windows finally forced people writing Unix shells to 
> start dealing with funky file names as a regular occurrence. ;-) I 
> noticed that the shells started learning to do proper quoting (like for 
> command-line completion) right around the time SAMBA shares with 
> MSWindows servers got popular. :-)

  Still many shell scripts fail to use the basic "$@" for the correct
expansion of all the parameters (and instead use $*, which is wrong).
Not all unix geeks know all the right tools either.

-- 
                                                          - Warp


Post a reply to this message

From: Warp
Subject: Re: Adventures with digital painting
Date: 8 Mar 2008 19:14:37
Message: <47d32bed@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> (I work with big directories, and big files. Often I'll have a program 
> that runs 3 hours, then takes half an hour to delete its input files. Or 
> individual files that take 2 minutes of disk I/O to delete. Or empty 
> directories that take several minutes to delete because they used to 
> have six or seven million files in em.  And of course, the machine 
> becomes completely unusable during any sort of operation like that.)

  Isn't that a clear sign that a re-design of your programs is in place?-)

-- 
                                                          - Warp


Post a reply to this message

<<< Previous 20 Messages Goto Latest 50 Messages Next 50 Messages >>>

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