POV-Ray : Newsgroups : povray.off-topic : One step closer to Permutation City Server Time
4 Sep 2024 23:23:20 EDT (-0400)
  One step closer to Permutation City (Message 22 to 31 of 41)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Darren New
Subject: Re: AWS[S3]
Date: 18 Dec 2009 16:43:57
Message: <4b2bf79d$1@news.povray.org>
Orchid XP v8 wrote:
> Oh, I haven't read through all the low-level documentation, only the 
> summary pages.

I would have thought it's in there, but...

> ...for somebody who doesn't yet understand what SOAP or REST are?

REST is "use HTTP to get and put data".

> You can see where this is going, can't you? Yes, I admit it: It's way, 
> way too slow to be remotely useful. Files that md5sum.exe can process in 
> a split second take several minutes. I haven't figured out why yet.

I think you only *need* to sum some headers, but maybe it's the whole file. 
I'm not sure I remember.

-- 
Darren New, San Diego CA, USA (PST)
   Human nature dictates that toothpaste tubes spend
   much longer being almost empty than almost full.


Post a reply to this message

From: Orchid XP v8
Subject: Re: AWS[S3]
Date: 18 Dec 2009 16:52:07
Message: <4b2bf987@news.povray.org>
>> Oh, I haven't read through all the low-level documentation, only the 
>> summary pages.
> 
> I would have thought it's in there, but...

So, if I stick a bunch of HTML pages on S3, I can basically host a website?

>> ...for somebody who doesn't yet understand what SOAP or REST are?
> 
> REST is "use HTTP to get and put data".

So, you upload stuff by making HTTP PUT requests? (As originally 
invisaged by Tim Burton?)

>> You can see where this is going, can't you? Yes, I admit it: It's way, 
>> way too slow to be remotely useful. Files that md5sum.exe can process 
>> in a split second take several minutes. I haven't figured out why yet.
> 
> I think you only *need* to sum some headers, but maybe it's the whole 
> file. I'm not sure I remember.

OK, well I'll go dig through the specs.

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


Post a reply to this message

From: Darren New
Subject: Re: AWS[S3]
Date: 18 Dec 2009 16:53:59
Message: <4b2bf9f7$1@news.povray.org>
Orchid XP v8 wrote:
> So, if I stick a bunch of HTML pages on S3, I can basically host a website?

Yes. The only thing that doesn't work is
http://blahlbhalbha.com/

You'd actually have to go to http://blahblahb.com/index.html

> So, you upload stuff by making HTTP PUT requests? (As originally 
> invisaged by Tim Burton?)

Yes.  And delete stuff with HTTP DELETE.

-- 
Darren New, San Diego CA, USA (PST)
   Human nature dictates that toothpaste tubes spend
   much longer being almost empty than almost full.


Post a reply to this message

From: Jim Henderson
Subject: Re: AWS[S3]
Date: 18 Dec 2009 16:59:39
Message: <4b2bfb4b$1@news.povray.org>
On Fri, 18 Dec 2009 13:53:56 -0800, Darren New wrote:

> Yes.  And delete stuff with HTTP DELETE.

HTTP DELETE -R /

Whoops...

Jim


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: AWS[S3]
Date: 19 Dec 2009 00:55:19
Message: <4b2c6ac7@news.povray.org>
Jim Henderson wrote:
> HTTP DELETE -R /
> 
> Whoops...

I think WebDAV's "Depth" header would actually let you shoot yourself on the 
foot just like that.


Post a reply to this message

From: Jim Henderson
Subject: Re: AWS[S3]
Date: 19 Dec 2009 14:14:08
Message: <4b2d2600$1@news.povray.org>
On Sat, 19 Dec 2009 02:55:19 -0300, Nicolas Alvarez wrote:

> Jim Henderson wrote:
>> HTTP DELETE -R /
>> 
>> Whoops...
> 
> I think WebDAV's "Depth" header would actually let you shoot yourself on
> the foot just like that.

Doesn't surprise me. :-)

Jim


Post a reply to this message

From: Invisible
Subject: Re: AWS[S3]
Date: 21 Dec 2009 04:10:34
Message: <4b2f3b8a$1@news.povray.org>
>> ...for somebody who doesn't yet understand what SOAP or REST are?
> 
> REST is "use HTTP to get and put data".
> 
>> You can see where this is going, can't you? Yes, I admit it: It's way, 
>> way too slow to be remotely useful. Files that md5sum.exe can process 
>> in a split second take several minutes. I haven't figured out why yet.
> 
> I think you only *need* to sum some headers, but maybe it's the whole 
> file. I'm not sure I remember.

Can you do this stuff using mget or some similar CLI tool?


Post a reply to this message

From: Invisible
Subject: Re: AWS[S3]
Date: 21 Dec 2009 05:07:40
Message: <4b2f48ec$1@news.povray.org>
Invisible wrote:

> Can you do this stuff using mget or some similar CLI tool?

Obviously I actually meant wget. And it appears wget only supports 
downloading, not uploading.

However, apparently libcurl also has a CLI tool simply named curl, and 
this apparently supports making HTTP PUT requests...


Post a reply to this message

From: Invisible
Subject: Re: AWS[S3]
Date: 21 Dec 2009 05:52:14
Message: <4b2f535e@news.povray.org>
Invisible wrote:

> However, apparently libcurl also has a CLI tool simply named curl, and 
> this apparently supports making HTTP PUT requests...

"The Amazon S3 REST API uses a custom HTTP scheme based on a keyed-HMAC 
(Hash Message Authentication Code) for authentication."

Oh bugger.

So a custom authentication scheme that curl doesn't support then? :-P

"To authenticate a request, you first concatenate selected elements of 
the request to form a string. You then use your AWS Secret Access Key to 
calculate the HMAC of that string."

Hmm, great...

Oh, and it appears to use SHA-1 rather than MD5. I wonder if anybody has 
binary implementations of SHA-1 that work on Windoze? *sigh*


Post a reply to this message

From: Jim Henderson
Subject: Re: AWS[S3]
Date: 22 Dec 2009 21:27:36
Message: <4b318018$1@news.povray.org>
On Mon, 21 Dec 2009 10:52:13 +0000, Invisible wrote:

> Oh, and it appears to use SHA-1 rather than MD5. I wonder if anybody has
> binary implementations of SHA-1 that work on Windoze? *sigh*

http://tinyurl.com/y9qwz2z

Jim


Post a reply to this message

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

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