help on building a microservice that can receive an uploaded image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

help on building a microservice that can receive an uploaded image

bouazza Mohamed
Hi everyone ,
I have a job interview test   to build a simple microservice that can receive an uploaded image and return a unique identifier for the uploaded image that can be used subsequently to retrieve the image.

Do you have some ideas on lib and UUID that can be used . normaly in PHP there some can be done in help using this :

Link 1: https://github.com/ramsey/uuid
Link 2 : http://image.intervention.io/


Thank you all lot in advance

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/01d77a84-f14a-477f-af8a-de1e94c47ed0%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: help on building a microservice that can receive an uploaded image

Walter Lee Davis
Ruby has SecureRandom for this sort of thing: https://docs.ruby-lang.org/en/2.4.0/SecureRandom.html

Walter

> On Oct 6, 2019, at 5:08 AM, bouazza Mohamed <[hidden email]> wrote:
>
> Hi everyone ,
> I have a job interview test   to build a simple microservice that can receive an uploaded image and return a unique identifier for the uploaded image that can be used subsequently to retrieve the image.
>
> Do you have some ideas on lib and UUID that can be used . normaly in PHP there some can be done in help using this :
>
> Link 1: https://github.com/ramsey/uuid
> Link 2 : http://image.intervention.io/
>
>
> Thank you all lot in advance
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/01d77a84-f14a-477f-af8a-de1e94c47ed0%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76942266-AAA8-4795-824A-B6F4FE2E3311%40wdstudio.com.
Reply | Threaded
Open this post in threaded view
|

Re: help on building a microservice that can receive an uploaded image

bouazza Mohamed
Do you have some examples for using this ,

I found cloudinary gem , they already did some good work on image management pipeline.

On Sun, Oct 6, 2019 at 12:41 Walter Lee Davis <[hidden email]> wrote:
Ruby has SecureRandom for this sort of thing: https://docs.ruby-lang.org/en/2.4.0/SecureRandom.html

Walter

> On Oct 6, 2019, at 5:08 AM, bouazza Mohamed <[hidden email]> wrote:
>
> Hi everyone ,
> I have a job interview test   to build a simple microservice that can receive an uploaded image and return a unique identifier for the uploaded image that can be used subsequently to retrieve the image.
>
> Do you have some ideas on lib and UUID that can be used . normaly in PHP there some can be done in help using this :
>
> Link 1: https://github.com/ramsey/uuid
> Link 2 : http://image.intervention.io/
>
>
> Thank you all lot in advance
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/01d77a84-f14a-477f-af8a-de1e94c47ed0%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76942266-AAA8-4795-824A-B6F4FE2E3311%40wdstudio.com.
--

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG%3DFY80z%2BQQkYgn_VwvdfB1ssrDjRk-Ma61tOSkieNtck-R8Vw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: help on building a microservice that can receive an uploaded image

Walter Lee Davis
You were honest about this being your "homework", which is good: many people try to ask the same sort of questions without that decency. I gave you a link to the documentation, which has examples for each of the methods in this module -- without seeing the rest of your work, I can't tell you more about how to integrate it there.

Walter

> On Oct 6, 2019, at 10:44 AM, bouazza Mohamed <[hidden email]> wrote:
>
> Do you have some examples for using this ,
>
> I found cloudinary gem , they already did some good work on image management pipeline.
>
> On Sun, Oct 6, 2019 at 12:41 Walter Lee Davis <[hidden email]> wrote:
> Ruby has SecureRandom for this sort of thing: https://docs.ruby-lang.org/en/2.4.0/SecureRandom.html
>
> Walter
>
> > On Oct 6, 2019, at 5:08 AM, bouazza Mohamed <[hidden email]> wrote:
> >
> > Hi everyone ,
> > I have a job interview test   to build a simple microservice that can receive an uploaded image and return a unique identifier for the uploaded image that can be used subsequently to retrieve the image.
> >
> > Do you have some ideas on lib and UUID that can be used . normaly in PHP there some can be done in help using this :
> >
> > Link 1: https://github.com/ramsey/uuid
> > Link 2 : http://image.intervention.io/
> >
> >
> > Thank you all lot in advance
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/01d77a84-f14a-477f-af8a-de1e94c47ed0%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76942266-AAA8-4795-824A-B6F4FE2E3311%40wdstudio.com.
> --
>  
> Mohamed
> about.me/mohamedbouazz
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG%3DFY80z%2BQQkYgn_VwvdfB1ssrDjRk-Ma61tOSkieNtck-R8Vw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/C7975863-2538-4111-956F-BE1555ABE98C%40wdstudio.com.
Reply | Threaded
Open this post in threaded view
|

Re: help on building a microservice that can receive an uploaded image

bouazza Mohamed
Thanks man , your comment providing was helpful, thank you again 

On Mon, Oct 7, 2019 at 12:51 Walter Lee Davis <[hidden email]> wrote:
You were honest about this being your "homework", which is good: many people try to ask the same sort of questions without that decency. I gave you a link to the documentation, which has examples for each of the methods in this module -- without seeing the rest of your work, I can't tell you more about how to integrate it there.

Walter

> On Oct 6, 2019, at 10:44 AM, bouazza Mohamed <[hidden email]> wrote:
>
> Do you have some examples for using this ,
>
> I found cloudinary gem , they already did some good work on image management pipeline.
>
> On Sun, Oct 6, 2019 at 12:41 Walter Lee Davis <[hidden email]> wrote:
> Ruby has SecureRandom for this sort of thing: https://docs.ruby-lang.org/en/2.4.0/SecureRandom.html
>
> Walter
>
> > On Oct 6, 2019, at 5:08 AM, bouazza Mohamed <[hidden email]> wrote:
> >
> > Hi everyone ,
> > I have a job interview test   to build a simple microservice that can receive an uploaded image and return a unique identifier for the uploaded image that can be used subsequently to retrieve the image.
> >
> > Do you have some ideas on lib and UUID that can be used . normaly in PHP there some can be done in help using this :
> >
> > Link 1: https://github.com/ramsey/uuid
> > Link 2 : http://image.intervention.io/
> >
> >
> > Thank you all lot in advance
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/01d77a84-f14a-477f-af8a-de1e94c47ed0%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76942266-AAA8-4795-824A-B6F4FE2E3311%40wdstudio.com.
> --
>       
> Mohamed
> about.me/mohamedbouazz
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG%3DFY80z%2BQQkYgn_VwvdfB1ssrDjRk-Ma61tOSkieNtck-R8Vw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/C7975863-2538-4111-956F-BE1555ABE98C%40wdstudio.com.
--

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG%3DFY80A%3DSy%3D7fiFOzyr%2BWCJWR_EJ9UoAc4Hf9gCUZ8u-kxAug%40mail.gmail.com.