Re:Doge as a Service
by GuiA on Sunday December 22, 2013 @03:50PM
(#6951684)
Congrats on posting about something you did on HN! Here's some feedback:
- Like a lot of such generators, you make the mistake of picking random x,y coordinates and not checking for collisions, which can result in situations like that (http://i.imgur.com/M7LyPqD.png)
- generating a nicer URL, as other commenters have pointed out, would be nice
- just as a FYI, when products use the terminology "as a service", it's typically because the product can be used in a programmatic way (i.e. it exposes its functionality through an API). That would be a good next step for your project!
Re:Doge as a Service
by codazzo on Sunday December 22, 2013 @03:57PM
(#6951703)
Hi, I'm the creator of dogr actually. I'm not sure who posted this to HN :)
Thanks for the feedback! Doge-as-a-service is a just funny name. Not sure who would have a need for such a thing.
Re:Doge as a Service
by wfn on Sunday December 22, 2013 @06:14PM
(#6952213)
Those API-like URLs seem to be timing out now. Consider adding caching (you might be able to simply enable caching-proxy-functionality at the webserver layer, e.g.)
Re:Doge as a Service
by carbocation on Sunday December 22, 2013 @03:40PM
(#6951642)
Such sad
OMG no persistence!
Very copy/paste
(It provides the output as CData, so it doesn't give you a URL that you can then copy/paste to send to friends. You would have to save the image locally and then upload it somewhere first. Maybe plug this into imgur in the backend and redirect to an imgur URL if someone clicks on 'View'?)
Re:Doge as a Service
by thebenedict on Sunday December 22, 2013 @05:25PM
(#6952055)
I don't know why I find doge so funny, but this is great. Unfortunately "very view" causes Chrome and Chrome Beta to crash on a Nexus 5/Android 4.4.2. I get the idea though.
What does the tech stack look like? Is it open source?
Re:Doge as a Service
by codazzo on Sunday December 22, 2013 @05:33PM
(#6952074)
Hi, thanks! It's a node app with some simple canvas rendering code. The rendering code is shared by the client and server. The text splitting is rather simple too but I had fun writing it. It's open-source of course! https://github.com/codazzo/dogr
Re:Doge as a Service
by Bahamut on Sunday December 22, 2013 @05:35PM
(#6952085)
Not a fan of the meme, but I did want to link it to friends...I found out that you can't just right click and save the image though since it's in a canvas. Perhaps a different implementation would be better here?
Re:Doge as a Service
by codazzo on Sunday December 22, 2013 @05:45PM
(#6952119)
Hi, I'll add upload to imgur shortly so you'll be able use that. In the meanwhile you can play wheel of fortune and use doge as a service :) http://dogr.io/wow/suchfriends/manysharing.png
Re:Doge as a Service
by lhgaghl on Sunday December 22, 2013 @05:39PM
(#6952097)
This isn't true SaaS because the images are generated on the client side. You could add value to your service by saving the images on the server and providing URLs that people can link to. https://bayimg.com/KaegiaAFP
- Like a lot of such generators, you make the mistake of picking random x,y coordinates and not checking for collisions, which can result in situations like that (http://i.imgur.com/M7LyPqD.png)
- generating a nicer URL, as other commenters have pointed out, would be nice
- just as a FYI, when products use the terminology "as a service", it's typically because the product can be used in a programmatic way (i.e. it exposes its functionality through an API). That would be a good next step for your project!
OMG no persistence!
Very copy/paste
(It provides the output as CData, so it doesn't give you a URL that you can then copy/paste to send to friends. You would have to save the image locally and then upload it somewhere first. Maybe plug this into imgur in the backend and redirect to an imgur URL if someone clicks on 'View'?)
What does the tech stack look like? Is it open source?
Big mistake.
[0]: http://www.mcsweeneys.net/articles/im-comic-sans-asshole (I'm aware.)