Recent submissions

Comment · 5 years ago
Does the Canvas api have support for webp?
Comment · 5 years ago
Fair point, although I like the blur effect. But you can also fill in with a solid color or transparency.
Comment · 5 years ago
Thanks It was fun to build.
Comment · 5 years ago
Good idea. I've just changed it so now you can keep pushing the blur button and it will increase the blur by 1px for each push.
Comment · 5 years ago
Comment · 7 years ago
The single player mode is just for beginners, but I do think we have a pretty nice multiplayer feature, where you can easily challenge others and start a new game without creating an account (we don't have accounts).
Comment · 7 years ago
The alternative to serverless isn't "single instance". With Elastic Beanstalk you can have multiple instances, autoscaling etc.
Comment · 7 years ago
> This feels very "Serverless is cool, everyone is saving money on it, lets do the same

More like "seems like there's an easy way for me to try this new thing out, lets give it a shot". It took a couple of hours to switch over to this, and I learnt something in the process. Also, our API is very simple, pretty much all the actions are a single database call, so I don't think in this case we would have gained anything by splitting things up into more pieces. But I can see how it would make sense for a larger, more complicated app.

Comment · 7 years ago
Yes, ALB would have been a much better fit for us. We used API Gateway because that's what the serverless framework sets up (at least by default) and I didn't know you could use ALB in front of Lambda.
Comment · 7 years ago
> requires a complete re-architect of your stack.

Not necessarily. The reason I decided to try this was exactly because I found a tutorial showing you could easily host a bog-standard ASP.NET web app on Lambda with the serverless framework. I had to add a small startup class, and one config file to our existing app and I was up and running.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton