Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jimpick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
jimpick
10y ago
[Resubmitting again to Show HN ... previously I linked to a blog post about the game, but this time I linked to the game directly, according the Show HN rules] Here's the companion blog post: https://www.linkedin.com/pu
62.
▲
Show HN: Robots Round Robin
(robotsroundrobin.com)
8 points
by
jimpick
10y ago
|
9 comments
63.
▲
by
jimpick
10y ago
I'm here to answer any questions about the game!
64.
▲
Show HN: Robots Round Robin (disregard)
(linkedin.com)
2 points
by
jimpick
10y ago
|
3 comments
65.
▲
by
jimpick
10y ago
This is cool!
66.
▲
by
jimpick
10y ago
Similar idea to what we've been working on over at Signl.fm - here's our first prototype: https://geekouts.xyz/
67.
▲
by
jimpick
10y ago
I like Zeit now, aerobatic.com and surge.sh
68.
▲
by
jimpick
10y ago
Congrats!
69.
▲
Decentralized Web Summit – Builder's Day Notes
(kevinmarks.com)
11 points
by
jimpick
10y ago
|
0 comments
70.
▲
by
jimpick
10y ago
Nice work! Potentially I could use this to deploy lambda-comments. :-)
71.
▲
by
jimpick
10y ago
It's super cool since you can have hundreds of micro services deployed using SSL for only $14.99 a month. https://zeit.co/now#pricing
72.
▲
Now: Guillermo Rauch's hosting service adds paid plans, custom domains and SSL
(zeit.co)
2 points
by
jimpick
10y ago
|
1 comments
73.
▲
by
jimpick
10y ago
I was using localStorage, which apparently you can't do if you are on Safari running in private mode. I've changed the code, and it should work now.
74.
▲
by
jimpick
10y ago
That's pretty cool.
75.
▲
by
jimpick
10y ago
My understanding that it's per shard. So if you never partition, only one lambda function will run at a time. Kinesis might be a good solution if you wanted to use this code to run a Disqus-scale service with millions of blogs. Not muc
76.
▲
by
jimpick
10y ago
Any working solution actually has thousands of components. I'd defend this particular Rube Goldberg machine by pointing out that 99% of the time, none of my code is running on the server side - it's all Amazon S3. The only time my
77.
▲
by
jimpick
10y ago
Yep, lots of options out there. One of my motivations for doing the project was to just learn how to provision a bunch of AWS services and make it reproducible. I might write a little shim so you can also just run the API as a standard Node
78.
▲
by
jimpick
10y ago
Cost report: https://jimpick.com/2016/05/05/introducing-lambda-comments/#... For 8000 visitors, it cost me $1.37. The numbers might be skewed upwards a bit because somebody posted a gigantic blob for one
79.
▲
by
jimpick
10y ago
Interesting. I think that still might be the 'push' model and not the 'pull' model, so it might attempt to do work in parallel. http://docs.aws.amazon.com/lambda/latest/dg/intro-invocation.
80.
▲
by
jimpick
10y ago
Yeah. If you blog is getting so many comments that you need more than 1 request a second (the minimum), you've got other problems.
81.
▲
by
jimpick
10y ago
What surprised me with Lambda is that it 'freezes' the VM your code is running in, and 'unfreezes' it when more requests come in. Very clever - they can store a lot of frozen VMs on an SSD. It surprised me when I discove
82.
▲
by
jimpick
10y ago
I haven't done lots of testing on it yet. I just found out that happens when browsing in 'Incognito' mode. Probably a bug.
83.
▲
by
jimpick
10y ago
AWS has a free tier that gives you some free resources for the first 12 months. After that, you have to pay.
84.
▲
by
jimpick
10y ago
That's pretty extreme. I like it.
85.
▲
by
jimpick
10y ago
Lambda doesn't support SQS as an event source yet.
86.
▲
by
jimpick
10y ago
Here's a little timelapse video of the Google Analytics real-time page showing 4 hours of being on the home page of Hacker News. :-) https://twitter.com/jimpick/status/728712464687239168
87.
▲
by
jimpick
10y ago
Correct. I'm provisioning the minimum amount. I'd love to find a cheaper solution.
88.
▲
by
jimpick
10y ago
I think it might be possible to embed lambda-comments into an iframe that could then appear on GitHub README.md files, etc. It's just an untested theory for now. ;-)
89.
▲
by
jimpick
10y ago
My approach was to just pump the entire comment through the "markdown-it" markdown processor, which promises to emit safe HTML. It's a popular project, so I'm banking on the fact that they go a good job of sanitizing in
90.
▲
by
jimpick
10y ago
A future project for me is to see if I can render the comments out to a string at the moment when Hugo is rebuilding my blog. Then the comments would be in the DOM before the JavaScript is even loaded. I've done that with React apps be
More ›