News for hackers. Stuff that matters.
Re:Show HN: Tookapic – Take one photo a day for 365 days by techaddict009 on Thursday July 30, 2015 @01:38PM (#9976591)
Awesome congrats for achieving that figure. Its not that easy to reach that milestone. Plus I dont think everyone would surely upload a pic daily.

Some would have surely missed some day. True? Any data on that?

Re:Show HN: Tookapic – Take one photo a day for 365 days by pawelkadysz on Thursday July 30, 2015 @01:46PM (#9976646)
Quite a lot of users keep uploading daily. If you do that, your "Streak number" grows. Once you stop uploading for more than two days - the streak number goes back to zero (you can still upload those missed photos though). You can see a list of users sorted by their streak number here: https://tookapic.com/projects?sort=streak
Re:Show HN: Tookapic – Take one photo a day for 365 days by techaddict009 on Thursday July 30, 2015 @01:55PM (#9976713)
Awesome work.

Can you share tech stack used?

And what exactly you use to store the photos?

Edit: I see you are using imgix but I feel they are bit costly. Did you compare them with anyone before finalizing them?

Re:Show HN: Tookapic – Take one photo a day for 365 days by Idered on Thursday July 30, 2015 @02:15PM (#9976870)
As backend framework we're using Laravel hosted on digital ocean. Images are hosted on Amazon S3, we also queue uploads to S3 with SQS. Imgix is great service and I can't even imagine building tookapic without it. For database we use postgresql. Any other questions :)?
Re:Show HN: Tookapic – Take one photo a day for 365 days by Killswitch on Friday July 31, 2015 @10:36PM (#9985649)
I just saw this thread while browsing the Show HN section. Nice stack, Laravel is a good framework.

My only suggestion would be with the domain you have, make user pages subdomains. It's easy to achieve in Laravel and makes a more pleasing url.

Instead of https://tookapic.com/photos/21408 you could make it https://pawelkadysz.tookapic.com/21408

And even take that a step further and use slugs for urls instead of ID's https://pawelkadysz.tookapic.com/playing-with-light

URL design is a huge thing that many often ignore, but I feel is essential to a website.

Re:Show HN: Tookapic – Take one photo a day for 365 days by pawelkadysz on Saturday August 01, 2015 @04:57AM (#9986416)
Thanks for the suggestion.

Actually we're testing premium features, like custom domains and themes. username.tookapic.com would be reserved for premium users. Right now pawelkadysz.tookapic.com points to 404 (which should be fixed next week). But the custom domain hooked up to the site works just fine, see for yourself: http://daily.pawelkadysz.com - this is the kind of premium theme I'm talking about (it's all powered by tookapic).

As for the slugs and URLs. At first we had it like this: tookapic.com/username/ID-slug but we had some issues with people changing their usernames (that's allowed) and putting weird characters in the photo titles, which all resulted in breaking the links and pointing to 404 in the end.

That's why we changed it to how it works now. No username change nor emoji in photo title will break the link now.

Re:Show HN: Tookapic – Take one photo a day for 365 days by Killswitch on Saturday August 01, 2015 @10:34AM (#9987149)
Ah cool cool. For slug issues, Laravel comes with a support strings helper function for turning strings into slugs.

Regarding usernames, well I see the usecases for allowing changes and not allowing. So I guess that's up to you.

All in all, I love the project. I'm not a photographer but the design of the site is beautiful, and well. I'm jealous. haha.

Re:Show HN: Tookapic – Take one photo a day for 365 days by Idered on Thursday July 30, 2015 @02:41PM (#9977045)
S3 for hosting, imgix for image manipulation
Re:Show HN: Tookapic – Take one photo a day for 365 days by techaddict009 on Thursday July 30, 2015 @02:34PM (#9977006)
Almost similar stack we use. Good to hear that :)

Confusion you use s3 for images then why do you use imagix too?