Most active commenters
  • eru(4)
  • rikafurude21(3)
  • alwa(3)
  • chickensong(3)

←back to thread

804 points jryio | 25 comments | | HN request time: 1.71s | source | bottom
Show context
tempest_ ◴[] No.45661573[source]
The cloud has made people forget how far you can get with a single machine.

Hosting staging envs in pricey cloud envs seems crazy to me but I understand why you would want to because modern clouds can have a lot of moving parts.

replies(11): >>45661597 #>>45661608 #>>45661636 #>>45661649 #>>45661714 #>>45661726 #>>45661756 #>>45661835 #>>45662162 #>>45662794 #>>45663024 #
rikafurude21 ◴[] No.45661636[source]
The cloud has made people afraid of linux servers. The markup is essentially just the price business has to pay because of developer insecurity. The irony is that self hosting is relatively simple, and alot of fun. Personally never got the appeal of Heroku, Vercel and similar, because theres nothing better than spinning up a server and setting it up from scratch. Every developer should try it.
replies(7): >>45661682 #>>45661700 #>>45661807 #>>45661828 #>>45661946 #>>45661954 #>>45663412 #
fragmede ◴[] No.45661954[source]
Never got the appeal of having someone else do something for you, and giving them money, in exchange for goods and services? Vercel is easy. You pay them to make it easy. When you're just getting started, you start on easy mode before you jump into the deep end of the pool. Everybody's got a different cup of tea, and some like it hot and others like it cold.
replies(1): >>45661980 #
1. rikafurude21 ◴[] No.45661980[source]
Sure I love having someone else do work for me and paying them for that, the question is if that work is worth a 50x markup.
replies(2): >>45662015 #>>45662296 #
2. fragmede ◴[] No.45662015[source]
Yeah, but then we're just haggling. If you know how to change the belt on your car and already have the tools, it's different from when you're stranded with no tools and no garage and no belt.
replies(1): >>45662049 #
3. rikafurude21 ◴[] No.45662049[source]
If you're a mechanic you're supposed to know how to change the belt on your car. It would be insane if you write code and work with computers for a living but you dont know how to set up a web server.
replies(3): >>45662282 #>>45662353 #>>45662822 #
4. everyone ◴[] No.45662282{3}[source]
It would be insane if you write code and work with computers for a living but you dont know how to write a game engine in assembly.
replies(2): >>45662780 #>>45663899 #
5. alwa ◴[] No.45662296[source]
Flour, salt, and water are exceedingly cheap. I have to imagine the loaf of bread I buy from my baker reflects considerably more than a 50x markup compared to baking my own.

It’s a lot cheaper than me learning to bake as well as he does—not to mention dedicating the time every day to get my daily bread—and I’ll never need bread on the kind of scale that would make it worth my time to do so.

replies(2): >>45662801 #>>45663512 #
6. auggierose ◴[] No.45662353{3}[source]
I am pretty sure I know much more about code than you do, and at the same time you probably know much more about web servers and sysadmin than I do. I don't mind if it stays like that. And I am saying this having programmed my own web server in Java about 25 years ago.
7. sgarland ◴[] No.45662780{4}[source]
Installing a web server is in no way the same as writing a game engine, let alone in assembly, and I think you know that.
replies(1): >>45665714 #
8. mediaman ◴[] No.45662801[source]
Bread is a great example! You can buy a loaf for $3-4. It is not a 50x markup. Like growing your own veggies, baking bread is for fun, not for economics.

But the cloud is different. None of the financial scale benefits are passed on to you. You save serious money running it in-house. The arguments around scale have no validity for the vast, vast majority of use cases.

Vercel isn't selling bread: they're selling a fancy steak dinner, and yes, you can make steak at home for much less, and if you eat fancy steak dinners at fancy restaurants every night you're going to go broke.

So the key is to understand whether your vendors are selling you bread, or a fancy steak dinner, and to not make the mistake of getting the two confused.

replies(1): >>45663864 #
9. rascul ◴[] No.45662822{3}[source]
A whole lot of coding and working with computers doesn't involve setting up a web server. It's not insane at all.
10. eru ◴[] No.45663512[source]
Please do yourself a flavour and check the price of flour.

Water is cheap, yes. Salt isn't all that cheap, but you only need a little bit.

> [...] and I’ll never need bread on the kind of scale that would make it worth my time to do so.

If you need bread by hand, it's a very small scale affair. Your physique and time couldn't afford you large scale bread making. You'd a big special mixer and a big special oven etc for that. And you'd probably want a temperature and moisture controlled room just for letting your dough rise.

replies(3): >>45663607 #>>45664331 #>>45664853 #
11. alwa ◴[] No.45663607{3}[source]
$16 for a 50 pound sack right now

https://postmates.com/store/restaurant-depot-4538-s-sheridan...

I blush to admit that I do from time to time pay $21 for a single sourdough loaf. It’s exquisite, it’s vastly superior to anything I could make myself (or anything I’ve found others doing). So I’m happy to pay the extreme premium to keep the guy in business and maintain my reliable access to it.

It weighs a couple of pounds, though I’m not clear how the water weight factors in to the final weight of a loaf. And I’m sure that flour is fancier than this one. I take your point—I don’t belong in the bread industry :)

replies(3): >>45664823 #>>45667014 #>>45674866 #
12. alwa ◴[] No.45663864{3}[source]
That’s a tremendously clarifying framework, and it makes a lot of sense to me. Thank you.

I wonder, though—at the risk of overextending the metaphor—what if I don’t have a kitchen, but I need the lunch meeting to be fed? Wouldn’t (relatively expensive) catering routinely make sense? And isn’t the difference between having steak catered and having sandwiches catered relatively small compared to the alternative of building out a kitchen?

What if my business is not meaningfully technical: I’ll set up applications to support our primary function, and they might even be essential to the meat of our work. But essential in the same way water and power are: we only notice it when it’s screwed up. Day-to-day, our operational competency is in dispatching vehicles or making sandwiches or something. If we hired somebody with the expertise to maintain things, they’d sit idle—or need a retainer commensurate with what the Vercels and Herokus of the world are charging. We only need to think about the IT stuff when it breaks—and maybe to the extent that, when we expect a spike, we can click one button to have twice as much “application.”

In that case, isn’t it conceivable that it could be worth the premium to buy our way out of managing some portion of the lower levels of the stack?

replies(1): >>45665550 #
13. marcosdumay ◴[] No.45663899{4}[source]
Hum... Writing a game engine is a high-difficulty task that should be available to any reasonably good software developer with a few months to study for it. Making it in assembly is a sure way to take 10 times the time of another low level language like C, but shouldn't be an impossibility either.

Configuring a web server is a low-difficulty task that should be available for any good software developer with 3 days to study for it. It's absurd for a developer to need to configure a web server, but insist on paying a large rent and cede control to some 3rd party instead of just doing it.

14. tonyhart7 ◴[] No.45664331{3}[source]
bread ingreadient is cheap but the equipment that you need to do baking is not

also skills, some people just bake better than others

replies(2): >>45664958 #>>45674946 #
15. eru ◴[] No.45664823{4}[source]
Well, in your case, you are mostly paying for the guy's labour, I presume.

(Similarly to how you pay Amazon or Google etc not just for the raw cloud resources, but for the system they provide.)

I grew up in Germany, but now live in Singapore. What's sold as 'good' sourdough bread here would make you fail your baker's training in Germany: huge holes in the dough and other defects. How am I supposed to spread butter over this? And Mischbrot, a mixture of rye and wheat, is almost impossible to find.

So we make our own. The goal is mostly to replicate the everyday bread you can buy in Germany for cheap, not to hit any artisanal highs. (Though they are massively better IMHO than anything sold as artisanal here.)

Interestingly, the German breads we are talking about are mostly factory made. Factory bread can be good, if that's what customers demand.

See https://en.wikipedia.org/wiki/Mischbrot

Going on a slight tangent: with tropical heat and humidity, non-sourdough bread goes stale and moldy almost immediately. Sourdough bread can last for several days or even a week without going moldy in a paper bag on the kitchen counter outside the fridge, depending on how sour you go. If you are willing to toast your bread, going stale during that time isn't much of an issue either.

(Going dry is not much of an issue with any bread here--- sourdough or not, because it's so humid.)

16. jandrewrogers ◴[] No.45664853{3}[source]
> Salt isn't all that cheap

Wait, what? Salt is literally one of the cheapest of all materials per kilogram that exists in all contexts, including non-food contexts. The cost is almost purely transportation from the point of production. High quality salt is well under a dollar a pound. I am currently using salt that I bought 500g for 0.29 euro. You can get similar in the US (slightly more expensive).

This was a meme among chemical engineers. Some people complain in reviews on Amazon that the salt they buy is cut with other chemicals that make it less salty. The reality is that there is literally nothing you could cut it with that is cheaper than salt.

replies(1): >>45664952 #
17. eru ◴[] No.45664952{4}[source]
Well, salt is more expensive than water.

But sure, it's cheap otherwise. Point granted.

One way or another, salt is not a major driver of cost in bread, because there's relatively little salt in bread. (If there's 1kg of flour, you might have 20g of salt.)

18. eru ◴[] No.45664958{4}[source]
> bread ingreadient is cheap but the equipment that you need to do baking is not

It's actually not too bad, if look at the capital cost of a bread factory amortised over each loaf of bread.

The equipment is comparatively more expensive for a home baker who only bakes perhaps two loafs a week.

replies(1): >>45675002 #
19. thequux ◴[] No.45665550{4}[source]
In that case, you don't want cloud; you want an MSP, whose core competence is running those IT services. They, in turn, have the skills to colo a rack at a DC or to manage rented servers, amortized across a number of clients.

In practice, there are two situations where cloud makes sense:

1. You infrequently need to handle traffic that unpredictably bursts to a large multiple of your baseline. (Consider: you can over provision your baseline infrastructure by an order of magnitude before you reach cloud costs) 2. Your organization is dysfunctional in a way that makes provisioning resources extremely difficult but cloud can provide an end run around that dysfunction.

Note that both situations are quite rare. most industries that handle that sort of large burst are very predictable: event management know when a client will be large and provision ticket sales infra accordingly, e-commerce knows when the big sale days will be, and so on. In the second case, whatever organizational dysfunction caused the cloud to be appealing will likely wrap itself around the cloud initiative as well.

20. everyone ◴[] No.45665714{5}[source]
Fucking every web-dev assumes web-dev is all of programming. I have always been a game dev, never done any internety stuff, I was never interested in it. I would defo find the game engine task a lot easier. I already know what I would do. I wouldnt know where to start with the server + I dont know what the "gotchas" are. If I was forced to do that I would schedule a really long time for it.
replies(1): >>45669288 #
21. hwntw ◴[] No.45667014{4}[source]
Where do you spend $21 for a loaf of sourdough?! My local baker sells a delicious loaf of artisanal sourdough for £4 here.

Of course, the difference between sourdough and anything else is astonishing, I just can't comprehend someone charging $21 for it!

22. sgarland ◴[] No.45669288{6}[source]
I don’t assume that (and am not a dev - DBRE / SRE) at all. I have massive respect for game devs, since you’re one of the few subsets that seems to give a shit about performance.

I bet you could figure out `apt install nginx` and a basic config pretty quickly, definitely faster than a web dev could learn game programming. “What do you mean, I have to finish each loop in 16 msec?”

23. chickensong ◴[] No.45674866{4}[source]
You can make amazing sourdough at home in a cast iron pot. It requires time, that's the nature of sourdough, but it's not hard once you learn how. I guarantee you could make bread as good or better for a dollar of ingredients!
24. chickensong ◴[] No.45674946{4}[source]
Unless you're talking about the oven, the equipment isn't expensive.

Some skills are required, but it's really not that hard once you learn the technique and have done it a few times.

25. chickensong ◴[] No.45675002{5}[source]
A comment in adjacent thread above mentioned paying $21 per-loaf! That could pay for the equipment needed to bake a couple loaves a week. You really don't need much besides a normal oven.