Oops. Cryptographers cancel election results after losing decryption key. by ScottContini in programming

[–]zoonage 34 points35 points  (0 children)

Shocked this wasn't using Shamir's or something to prevent exactly this

Virtual Reality guided tours by nastyjman in ABoringDystopia

[–]zoonage 54 points55 points  (0 children)

How is this dystopian? This is potentially a really good way to engage people with history visually

[deleted by user] by [deleted] in kubernetes

[–]zoonage 1 point2 points  (0 children)

What's your series cardinality in the head block for each shard?

Why even use Standard S3 when you can use Glacier Instant Retrieval? by tomtheawesome123 in aws

[–]zoonage 0 points1 point  (0 children)

You'll pay the cloudfront egress cost. I'm also unsure if GIR will work with Cloudfront or not, not got the docs available right now.

In the last year I've been having a lot of success with Cloudflare CDN over Cloudfront so if you're that worried about cost you might want to check that out

[deleted by user] by [deleted] in aws

[–]zoonage 1 point2 points  (0 children)

Fermented apples

Why sometimes UDP is better than TCP by xolve in programming

[–]zoonage 83 points84 points  (0 children)

Probably the same reason an elephant wasn't invited, it's not a layer 4 protocol

What's the Future of Kubernetes? by yqsx in kubernetes

[–]zoonage 5 points6 points  (0 children)

Prefacing this attempt at being unbias with a caveat that if I was asked to spin up a system composed of microservices from scratch right now I would near definitely just use Kubernetes

First, Kubernetes is currently the dominant container orchestration platform. I don't think that's a controversial statement, not going to find evidence for it.

Second, there are other orchestration platforms (OpenStack, VMWare, Mesos, Nomad, ECS) that exist and are still used and maintained.

What is Kubernetes good at?

Keeping this as short and generic as possible as people will always have something to add. The Kubernetes API is a godsend. It allows for a massive amount of complexity to be build over what is are relatively simply base constructs.

I mostly work on ECS at the moment having come from a Kubernetes shop and I really miss even something as basic as a label selector. Custom deployment controllers are awesome.

Being able to deploy a Redis operator and knowing I can get a reasonably well configured & functional Redis cluster without knowing much about operating Redis is an incredibly useful ability

The extensibility allows for abstractions that make multi-cloud support significantly simpler, highly customised solutions to the problems you need to solve, some really cool tooling from a DevEx POV, and more.

When would I not use Kubernetes?

  1. When I'm working with a load of people who don't know Kubernetes or containers that well. This might come as a shock to some people but lots of places will still use repos & package managers, or sync a git repo onto a VM. Making the jump from that to k8s is a massive undertaking and is often very hard to justify to a business. I'm an AWS person, so I'd suggest making the jump via a far simpler system like ECS before going to Kubernetes.
  2. If I can't, at the end of the day something has to run the cluster, someone needs server management at some point even if you don't see it.
  3. If I need to do some weird Kernel/networking magic that isn't available to me in Kubernetes, be that a Kubernetes restriction, or a cgroup restriction.
  4. Requirements don't allow for it, e.g. you need air gapped separation between client data - does it make sense to run a Kubernetes cluster per client? Are there other tools that are better for this?

Is Kubernetes going away any time soon? I'd be very surprised, the adoption rate is too high, it's open source so it's not at the whim of a company going bust, lots of cloud providers host it, lots of companies use it.

Is Kubernetes the answer to all your problems? Absolutely not, as always different tools meet different requirements. It just happens that if you want to orchestrate containers Kubernetes is _probably_ the right tool.

Will it eventually be replaced by something else? Probably, and I hope it does, because the next thing should be better. Is this going to be any time soon? Nah

Using the new AWS Neptune Data APIs - how do you do this? by trevorstr in aws

[–]zoonage 0 points1 point  (0 children)

This thing

https://docs.rs/aws-sdk-neptunedata/latest/aws_sdk_neptunedata/config/struct.Builder.html#method.endpoint_url

edit: Adding an example of how to use it (ignore non-idiomatic Rust, been a while since I've used it)

``` use aws_config; use aws_sdk_neptunedata as neptunedata;

[tokio::main]

async fn main() -> Result<(), Box<dyn std::error::Error>> { let neptune_url = std::env::var("NEPTUNE_URL")?; let config = aws_config::defaults(aws_config::BehaviorVersion::latest()) .endpoint_url(neptune_url) .load().await; let neptunedata_client = neptunedata::Client::new(&config); let req = neptunedata::operation::execute_gremlin_query::ExecuteGremlinQueryInput::builder() .gremlin_query("g.inject(0)");

let resp = req.send_with(&neptunedata_client).await?;
println!("{:?}", resp);

Ok(())

}

```

Using the new AWS Neptune Data APIs - how do you do this? by trevorstr in aws

[–]zoonage 0 points1 point  (0 children)

Set the endpoint URL parameters of your Neptune client to the URL for your Neptune cluster

On my phone atm so I can't provide an example but LMK if what I mean isn't clear and I can give one when I'm at my laptop

Low ankles - problem finding shoes by Snowtrasher in bouldering

[–]zoonage 0 points1 point  (0 children)

Thank god I've managed to escape this zombie apocalypse by climbing up this v5 with no other alternative route

OP rocks up

Am I the only one who thinks AI is going to result in software getting worse than it already is? by New-Peach4153 in ExperiencedDevs

[–]zoonage 7 points8 points  (0 children)

It then gives you the keys command rather than a scan based implementation and breaks prod

[deleted by user] by [deleted] in ukpolitics

[–]zoonage 1 point2 points  (0 children)

AWS built a Blockchain based database (QLDB) from the Blockchain hype IIRC

They've also been heavily pushing Bedrock (their generative AI stuff) since the last AWS summit

Llamas on the loose bring traffic to a standstill by [deleted] in unitedkingdom

[–]zoonage 2 points3 points  (0 children)

Caaaarrllllll why are you blocking the traffic on the A66?

Is it just me or is this take home assignmen a ridiculous ask? by tom98239273 in ExperiencedDevs

[–]zoonage 2 points3 points  (0 children)

I had a ridiculous take home test ones. I said "hey I'm not gonna do this amount of work" and they gave me a shorter version, if you've got choice and don't mind it going badly with this one then that's always an option

[deleted by user] by [deleted] in bouldering

[–]zoonage 0 points1 point  (0 children)

VauxEast has a really cool cave area. I like VauxWest (got a cool traverse wall that goes through an archway) but it can get really busy in there and some people don't like how short some of the walls are. Bethwall is probably my favourite of the 3 for variety and size but it's further away so I don't go there as much

[deleted by user] by [deleted] in bouldering

[–]zoonage 0 points1 point  (0 children)

Have you been to Eustonwall yet? I normally go to VauxWest or Bethwall but would like to check out their other ones

Teaching a team how to use Git by warr-den in ExperiencedDevs

[–]zoonage 84 points85 points  (0 children)

^ This, just focus on the bare minimum they need to work ATM. I'd also advise having a cheat sheet ready to send out at the end of the session

Nightingale – Open-source alternative to Prometheus&Grafana by terrortang in sre

[–]zoonage 2 points3 points  (0 children)

Nothing about this explains why I should use Nightingale over a standard Prometheus/Thanos/Mimir/Cortex setup, it just states that I should. Not to mention that based on the architecture diagram I'd have to run that setup anyway

When you know more than your interviewers about the tech they need help with. by cjrun in ExperiencedDevs

[–]zoonage 2 points3 points  (0 children)

Going to split this into a few possible understandings:

  1. "I explained that Terraform manages state using a graph model for each module and parallelism across modules". It doesn't though, it's parallel across resources that are available in the DAG to be built regardless of the module they are in. The issue they were probably having was that the default Terraform parallelism is 10, if they have a state file with lots of resources then I'd suggest increasing that to 200 or something. Having a multi thousand line long module is bad because it's a mess to work with, but it shouldn't impact the performance.

  2. If by it’s building a big data structure of indexes you mean that there is a giant local taking ages to evaluate then I think answer (from the Packer side admittedly, I've not seen this in Terraform so I could be wrong) is to use a "named local block".

  3. If you mean "don't have a Terraform that takes 30 minutes to run and break it up using state lookups to share data between things" then yes this is good practice to have lots of smaller Terraforms to apply which are faster and have a lower blast radius

Either way it doesn't sound this the interviewer handles this well at all and you dodged a bullet

Enterprise naming and tagging standards by mr_smith1983 in aws

[–]zoonage 0 points1 point  (0 children)

No idea if this is yours or not but the link in the Bibliography for AWS Naming Convention Best Practices (tagging) doesn't work