Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abiro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
abiro
7y ago
Good to hear that we agree on the ideas in the list! These timeless ideas from our current knowledge are exactly what I’m trying to identify. Let me know if you can think of more
122.
▲
by
abiro
7y ago
I’ve included the halting problem, but omitted the Turing machine, because while ingenious, the latter is simply a hack to make proofs work and not a very good way to think about computation. Similarly, I’ve included distributed representat
123.
▲
Ask HN: Which of our ideas about computation could survive a thousand years?
8 points
by
abiro
7y ago
|
4 comments
124.
▲
by
abiro
7y ago
Provisioned lambdas make sense if you set the capacity to your median load to save money. But you still want the snappy horizontal scaling of lambda for loads above the median.
125.
▲
by
abiro
7y ago
The value of serverless is in commodified operations: once you wrote the code, it’s your favorite cloud provider’s problem to run it. This lets you provide high-availability services without a 24/7 on-call rotation. RDS and Fargate are
126.
▲
by
abiro
7y ago
I love Clojure and take every chance to use it, but unfortunately it’s very much behind the curve. Building web apps is more and more about tying together managed services with short scripts (aka serverless). This means that most app develo
127.
▲
by
abiro
7y ago
For an overview: Real-Time Rendering 4th edition by Haines et al. For advanced techniques: - GPU Pro and GPU Zen series (ed. Engel) - Ray Tracing Gems (Haines et al.) - Unreal Engine tutorials and source code for reference implentation
128.
▲
by
abiro
7y ago
Well, given the feature set of API Gateway compared to a Load Balancer I think it should be expected that it costs more. But that’s also beside the point which is to use managed services to do the heavy lifting. Eg. if you need a PubSub ser
129.
▲
by
abiro
7y ago
If you use Cognito for identity management, then there isn’t even need for that. You can just assign users the appropriate IAM role and you can upload directly from the front end.
130.
▲
by
abiro
7y ago
These are usually the read N items from a database type of queries that GraphQL makes trivial to batch together. Will barely increase response time, but will provide a better experience for users on bad connections.
131.
▲
by
abiro
7y ago
Think about serverless as framework-as-a-service. It has a learning curve, but if you buy in, it is an amazing productivity boost. (If Reddit’s video hosting being built and operated on a serverless stack by a single a engineer won’t convin
132.
▲
by
abiro
7y ago
The internet is full of success stories if you care to look. My favorites: - iRobot (maker of Roomba) has been running its entire IoT stack serverless since 2016 (architect Ben Kehoe is a worthwhile follow on Twitter) - Reddit’s video hosti
133.
▲
by
abiro
7y ago
Saves time and money by writing and executing less code + S3 is optimized for this task, so it will always perform better than an ad hoc serverless function.
134.
▲
by
abiro
7y ago
Lambda is 5 year old technology. This is like arguing in 2011 that startups shouldn’t use EC2, because it’s “risky”.
135.
▲
by
abiro
7y ago
> Serverless only makes sense if you have a fairly trivial problem That’s exactly the point. The web application needs of most startups are fairly trivial and best supported by a serverless stack. Put it another way: If your best choice
136.
▲
by
abiro
7y ago
I don’t think it’s possible to produce empirical evidence to prove or disprove this claim, but it’s just common sense: Using managed services leads to writing less code and minimizing devops work, both resulting in more time for feature dev
137.
▲
by
abiro
7y ago
If you have 10m requests uniformly distributed, then yes it’s less of a problem, but that’s unlikely. (Even then lambda containers will be recycled multiple times throughout the day, so there is still a small penalty.)
138.
▲
by
abiro
7y ago
I don’t think anybody advocates for rewriting all existing projects as serverless. But if you’re starting a startup, going all in on serverless will let you deliver better products faster. If Paul Graham’s Beating the Averages would be writ
139.
▲
by
abiro
7y ago
PSA: porting an existing application one-to-one to serverless almost never goes as expected. Couple of points that stand out from the article: 1. Don’t use .NET, it has terrible startup time. Lambda is all about zero-cost horizontal scaling
140.
▲
by
abiro
7y ago
Think of serverless as “framework-as-a-service”. Edit: why the downvote? From infrastructure, through platform, serverless is the natural evolution of the cloud to framework-as-a-service.
141.
▲
by
abiro
7y ago
What exactly are you looking for? I think Pytorch is so ergonomic that there is no need for other resources. The only gotchas I found were in the data loading utilities.
142.
▲
by
abiro
7y ago
It’s mainly for tax reasons: “If you are a homeowner in Switzerland, you have to pay income tax on what is known as its ‘rental value’. The rental value theoretically represents what you as owner would receive if you rented the property to
143.
▲
by
abiro
7y ago
Security concerns are always conspicuously lacking from this type of posts and discussions. If you’re a solo dev looking to start a project, please don’t take OP’s stack as a positive example. Use managed services whenever possible, they wi
144.
▲
by
abiro
7y ago
This article makes such a strong case for ditching k8s for serverless: - needs granular scaling - devops expertise is not core to the business - save developer time
145.
▲
by
abiro
7y ago
Depends on how you read it. What you quote is a nonrigorous statement of the minority rule. Given that he is writing pop science I think some laxity is permissible. The conventional wisdom is that normally the preferences of the majority pr
146.
▲
by
abiro
7y ago
The question is not the relative price of the goods, but the extra cost incurred by the majority to accommodate the minority. This might be hard to discern from the anecdotal style of the book, but this is the third most important factor af
147.
▲
by
abiro
7y ago
Quoting the post: “Second, the cost structure matters quite a bit. It happens in our first example that making lemonade compliant with Kosher laws doesn’t change the price by much, not enough to justify inventories. But if the manufacturing
148.
▲
by
abiro
7y ago
He writes pop science here in what is an entertaining style for many. (He does reference Serge Galam in his book, one of the fathers of modern sociophysics.)
149.
▲
by
abiro
7y ago
The minority rule is about accommodating the preferences of the minority if it comes at low enough cost to the majority. Since forcing meat eaters to eat vegetarian is obviously problematic, the minority rule doesn’t come into effect, but s
150.
▲
by
abiro
7y ago
I wrote a post few month ago on how the minority rule could be leveraged to bring privacy to personal payment apps: https://agost.blog/2019/06/mapping-crypto-minority-rule/
More ›