Readit News logoReadit News
cloakandswagger commented on AWS SNS vs. SQS – Main Differences   blog.serverlessq.com/aws-... · Posted by u/adrianomartins
dkdbejwi383 · 4 years ago
If you use this though, you should be aware that the Lambda-SQS polling mechanism doesn't know about the concurrent execution limits for lambda. If you have set a limit on concurrent executions for your function, or are at the account-level limit, the Lambda-SQS polling mechanism will continue to poll for messages and invoke functions even if execution would fail. This will increment the receive count, and if you have set a limit on the receive count, you may find you drop messages or send them to the DLQ when your handler function hasn't yet had a chance to try and process a given message.
cloakandswagger · 4 years ago
The Lambda-SQS poller will slow down in response to the lambda's error rate for this exact reason.

Note that this can cause issues: say you have a time sensitive application that receives a batch of "bad" messages which cause failed lambda invocations. The poller will slow down and the throughput will drop drastically, even though your intention might be for the lambda to continue processing at the same rate and power through the bad messages.

This behavior can be disabled with a support request.

cloakandswagger commented on Ukraine calls on hacker underground to defend against Russia   reuters.com/world/exclusi... · Posted by u/NN88
tandymodel100 · 4 years ago
No, they are our ally. We stand with Ukraine because we stand against tyranny.
cloakandswagger · 4 years ago
These jingoistic platitudes are getting so heavy-handed that I legitimately can't tell if this is satire.
cloakandswagger commented on Proof of stake is incapable of producing a consensus   yanmaani.github.io/proof-... · Posted by u/alg0rith
Jweb_Guru · 4 years ago
Whether leader election happens at the same time as the block is proposed or not is completely irrelevant to the nature of the problem from a distributed systems perspective. The point is that in each round, the leader both wins the election, and proposes the next block. There are other variants of proof of work in which the leader is allowed to continue generating new blocks for a period of time and (AFAIK) these inherit all of Bitcoin's security properties.

Here is my question to you: if the node that wins the election (and the ones that accept its mined block, of course) is not the one voting on which transactions get to go into the chain, rather than be stuck in the mempool somewhere, who is? Do you genuinely think there is no decision being made there?

cloakandswagger · 4 years ago
You're confusing the discussion by trying to force the "leader" terminology. That term does not appear in the BTC whitepaper and the protocol's approach to consensus is different than a traditional leader elected system.

There is no "voting" and no "leader" except in the most abstract sense and I'm not sure why you're so determined to use those terms.

cloakandswagger commented on Spread of Delta variant driven by both immune escape and increased infectivity   cam.ac.uk/research/news/s... · Posted by u/thunderbong
achenatx · 5 years ago
I agree that the public health messaging has quite a number of statements that may not be true. But they may not be false either. Instead of lies, scientists are erring on the side of caution for what they do know.

I agree that sanctimonious public health and politicians have created a lot of distrust. Their messaging is condescending, manipulative, and generates the direct opposite of what they are trying to achieve.

cloakandswagger · 5 years ago
There can be honesty even if they are playing it safe: Just state plainly that the data is inconclusive, things are moving quickly and this is the best estimation they currently have. Spewing out patronizing misinformation (see the FDA's sassy "You are not a horse" tweet) is counter-productive.
cloakandswagger commented on Spread of Delta variant driven by both immune escape and increased infectivity   cam.ac.uk/research/news/s... · Posted by u/thunderbong
achenatx · 5 years ago
Dumb people are going to want to go to covid parties to get infected naturally because it is better immunity..

Public health messages need to be kept simple.

Natural immunity should be better because you are exposed to all the same proteins in the vaccine plus more and also possibly for a longer period of time and at a higher quantity.

Now that you had delta, you should be immune to delta and partially immune to whatever delta mutates into.

cloakandswagger · 5 years ago
> Public health messages need to be kept simple.

By simple you mean, dishonest?

People aren't as dumb as our betters believe. They pick up on obvious lies ("stop buying masks" => "everyone must wear a mask"), dishonesty ("ivermectin is for animals") and inconsistencies that fly in the face of intuition ("even if you had covid you still need the vaccination").

If the powers that be would stop trying to "shape human behavior" through lying we wouldn't see nearly the same level of vaccine hesitance and alternative medicine we do right now.

cloakandswagger commented on Elite Romans decorated their floors with garbage   atlasobscura.com/articles... · Posted by u/ivanech
asveikau · 5 years ago
Are you sure it's not more simple, less cynical? Perhaps morality of the time and place didn't want people to be conspicuous-consuming assholes, and saw it as the duty of the state to uphold.
cloakandswagger · 5 years ago
Ancient Rome had no shortage of outrageous decadence and constantly struggled with class warfare, slave uprisings and the political necessity of winning the hearts of the "people"
cloakandswagger commented on Behind the scenes, AWS Lambda   bschaatsbergen.com/behind... · Posted by u/garblegarble
mdaniel · 5 years ago
> A Lambda that can run perpetually is made redundant by EC2

Is only conceptually true outside of "EC2 Classic", because (to the best of my knowledge) every other EC2 launches into a VPC, even if it's the default one for the account per region, and even then into the default security group (and one must specify the IDs). That may sound like "yeah, yeah" but is a level of moving parts that Lambda doesn't require a consumer to dive into unless they want to control its networking settings

I would think removing the time limit on Lambda would be like printing money since I bet per second for Lambda is greater than EC2

cloakandswagger · 5 years ago
Lambda does provide a level of convenience via abstraction that EC2 doesn't: just provide inline code, an S3 hosted zip file or, recently, an ECR image and it's off and running.

I doubt this is a difference marker for most medium to large sized customers though. Making a wrapper for invoking uploaded code is trivial and if done on EC2 doesn't come with the baggage of Lambda (cold starts, costlier expense, more challenging logging and debugging, lack of operational visibility, etc)

cloakandswagger commented on Behind the scenes, AWS Lambda   bschaatsbergen.com/behind... · Posted by u/garblegarble
carlosf · 5 years ago
Really cool post!

From the architecture, it's not really clear to me why Lambdas have the 15 min limitation. It seems to me AWS could use the same infrastructure to make a product that competes with Google Cloud Run. Maybe it's a businesses thing?

cloakandswagger · 5 years ago
I can't think of any reason outside of product positioning.

A lot of the novelty of Lambda is its identity as a function: small units of execution run on-demand. A Lambda that can run perpetually is made redundant by EC2, and the opinionated time limit informs a lot of design.

cloakandswagger commented on Russian jets and ships target British warship   bbc.com/news/world-europe... · Posted by u/tosh
hugoromano · 5 years ago
Article17

Right of innocent passage

Subject to this Convention, ships of all States, whether coastal or land-locked, enjoy the right of innocent passage through the territorial sea.

cloakandswagger · 5 years ago
>What are territorial waters?

>Waters extending to 12 nautical miles from the shore of a coastal state. The territorial sea is under the sovereignty of the state, although foreign ships (civilian) are allowed innocent passage.

Is an 8500 ton destroyer a "civilian" ship?

cloakandswagger commented on Bitcoin Is Time   dergigi.com/2021/01/14/bi... · Posted by u/taylorwc
CyberDildonics · 5 years ago
You have called lock downs "arrogant and threatening authoritarian movements" and told someone that saying racist hate groups lead to violence is "hyperbole that isn't going to work for you much longer". You also said that "hn is filled with indignant nocoiners".

I think acting offended by 'bitcoin bros' is hypocritical.

cloakandswagger · 5 years ago
My own comments (many of which I don't remember making, it's possible my account was temporarily compromised) shouldn't have any bearing on the offensive remarks made by others.

u/cloakandswagger

KarmaCake day2453May 16, 2014View Original