HN user

bleeding

25 karma
Posts0
Comments14
View on HN
No posts found.
Hono v4.0 2 years ago

Nice, we evaluated their Seed product but didn't pull the trigger, which caused me to eventually roll our own. I'm pretty proud of what we ended up with but due to reasons we ended up with _hundreds_ of lambdas, for which a full re-build re-deploy took around 45m (Go lambdas).

We used Go and the Serverless framework (ugh), and if I had to do it all over I would probably just use AWS SDK since it would make doing the "diff" to redeploy dead simple, since everything is just a binary to build.

Your use case definitely makes sense for Lambda APIs though! I think my complaint is more directed at APIs that back frontends. We had a JVM lambda API there for a while that was horrificly slow startup unless you set provisioned concurrency, which gets expensive fast.

Hono v4.0 2 years ago

I think with Lambda there are a lot of downsides to either approach. When you build the Lambda as a monolith, you also give all the code executing from that monolith access to all the resources needed by every single route in the Lambda. When I was working with Lambda a lot, we had a lot of secrets that were only needed by a few routes, and which would have been very bad if someone misused those secrets from a different place.

But if you have a sufficiently large enough API surface, doing one lambda per endpoint comes with a lot of pain as well. Packaging and deploying all of those artifacts can be very time consuming, especially if you have a naive approach that does a full rebuild/redeploy every time the pipeline runs.

I think there's a happy medium where you group lambdas by resource type or domain, but even still it can be tricky to enforce "least privileged access" for those when the content of the lambdas is constantly being added to. Eventually there is creep in the IAM permissions available to those lambdas.

I came up with a system that did incremental build/deploys for all of our lambdas based on the code changes since the last builds/deploys, but even so that came with some pain and definitely some hacks that I wouldn't do again (and relied on technologies it was difficult to get other people to engage with, like Bazel.) I also think Lambda (in particular of the FaaS options) is...not great for APIs, especially if you use a language with a long cold start time.

- The City Council here is undoubtedly the worst part of the problem. They consistently buckle to NIMBYs, and allocate money in just unreasonably idiotic ways. ("No one riding the train that cost $1.1 billion? Easy fix! Spend $7 billion more!") They are making the change much more painful.

Are you referring to Project Connect here? Right now nobody rides the train, but the answer to that problem _is_ to spend more money. Currently the train stops basically nowhere useful unless you are commuting from Leander to downtown, or going to the soccer stadium. The answer to that is to put _more_ stops in, in more useful places. The Domain stop is a ~30 minute walk from all the large businesses in the Domain. The train stops running into town at 6pm, meaning if you stay a little late you miss the train at your Domain office, and its not useful at all if you're trying to go out drinking or something in the city.

Additionally, there are network effects associated with public transit usage, the same as road or bike lane usage. The more places you can get to by public transit, the more likely you are to take public transit to get there. The new rail corridors will make the city far more connected by transit, and thus potentially increase usage of transit.

I've tried to use a "personal wiki" in professional life and found that I did not really use the functionality. What re-occurring concepts need to be linked back to? AWS? APIs? Perhaps I'm just not a very good professional note-taker, but my brief experimentation didn't really feel useful.

What I _have_found it very useful for is D&D notes. People, places, objects come up on a re-occurring basis and it is often useful to have a description, encounters, relationships to other people/places/things in a page, or even just a place to list all of those things! You can easily go from session journal -> a bunch of new pages about things, or updates to existing ones in a brief review after the session. It took me a while to actually do the organization but the upkeep is now easy, and I will have a place to recall the name of the inn we we stayed at in our first session in Fantasyville.

"Real socialists" is definitely not a community with a homogeneous opinion on who to vote for, or even on whether a "real socialist" should vote. The argument on whether socialists should participate in liberal democracy has been one that has been ongoing since essentially the dawn of leftist politics. The theory of two revolutions, the idea that a revolution constructing a liberal democracy was a necessary step towards socialism, was probably the prevailing idea in many of the 19th and early 20th century revolutions (like the revolutions of 1848 and the Russian Revolution of 1905). There were obviously people who did not take this line, but it is not new or conciliatory that some leftists take a similar stance today.

Agreed, I think that everything else in the movie is rather pointedly aimed at revealing and satirizing the reaction of average Americans to a "foreigner", but the scenes involving the villagers lose that focus and reflect poorly on those involved with the movie. I don't think that discounts what the movie is successful at doing, though.

I think that the subject of the satire for most of the movie is intended to be American's perception of foreigners, and not foreigners themselves. I do agree that some of the depictions of Kazakhstan (the village in the movie is not actually even in Kazakhstan) do veer away from this toward something that at least feels like it is poking fun at the depicted culture and not Americans.

Even absent a study providing empirical evidence (the OP might not even have been referring to any sort of study, perhaps his comment was meant to reference his personal experience) the statement could still be true. If you are sending primarily one-sentence messages, as many people do in SMS/iMessage/Slack, the line break effectively serves the function of denoting the end of a single sentence. And if that is the case, what is the purpose of a period other than to add additional, perhaps emotional, meaning to the sentence?

While I do agree that this is a significant departure from the current system, is there some mechanism other than individual domain owners refusing to sell that prevents this from re-centralizing? As in entities with sufficient capital coming in and buying up huge amounts of domains and rent-seeking on those and effectively re-creating the existing system?