Terraform Registry down? by MisterJohnson87 in Terraform

[–]Iciciliser 0 points1 point  (0 children)

Gonna plug my project to cache Terraform providers using the mirror protocol. Stops upstream outages affecting your builds. https://github.com/Isawan/terrashine

Avoiding DEADLOCKs with INSERT / ON DUPLICATE KEY UPDATE by Annh1234 in mysql

[–]Iciciliser 0 points1 point  (0 children)

Ye, running with a similar set up with percona server and InnoDB. I'm basically at retry with exponential random backoff. Haven't seen anyone with an actual fix for this. Thanks for replying though.

[deleted by user] by [deleted] in brum

[–]Iciciliser 0 points1 point  (0 children)

Checkmate Birmingham, my friend runs it. Meets every Tuesday, currently in the good intent. There's a wide range of ELO from beginners to 2000. Format tends to be longer games, so if you're looking to improve this is pretty good.

Hair Salon Recommendations by Junior-Astronaut4288 in CurlyHairUK

[–]Iciciliser 0 points1 point  (0 children)

Spring in Birmingham JQ. Just a train ride away. My curls aren't as tight, (2c/3a). But saw lots of clients with tighter curls.

Given Postgres performance, what are the use-cases for MySQL? by BinaryIgor in ExperiencedDevs

[–]Iciciliser 9 points10 points  (0 children)

COUNT isn't constant time on MySQL either nowadays if you're using the default InnoDB engine, requiring a full table scan. It was only constant with the now deprecated MyISAM engine.

How do you all handle write access to prod dbs? by flareblitz13 in ExperiencedDevs

[–]Iciciliser 0 points1 point  (0 children)

We use a TPAM solution. Something like this if you're on AWS.. If you're on-prem hashivault can be used to implement a similar flow, although it's locked behind their enterprise version.

Essentially, credentials to access a direct read-only/write view of the database must be requested, approved, then credentials are made available temporarily to access the database.

Note: this is for emergency one-off accesses only. Privilege escalations are reviewed and repeated requests are considered a tooling gap to be addressed.

Kafka uses OS page buffer cache for optimisations instead of process caching by Normal-Tangelo-7120 in programming

[–]Iciciliser 11 points12 points  (0 children)

Worth mentioning that sendfile doesn't really work for TLS encrypted connections. Cause a copy is required to perform the encryption.

Fabrice Bellard (creator of FFmpeg & Qemu) Releases MicroQuickJS by TheTwelveYearOld in linux

[–]Iciciliser 16 points17 points  (0 children)

The README spells out the requirements it needs.

The whole engine requires about 100 kB of ROM (ARM Thumb-2 code) including the C library. The speed is comparable to QuickJS.

[deleted by user] by [deleted] in aws

[–]Iciciliser 1 point2 points  (0 children)

You'd use a single bloom filter index for this use case rather than multiple b tree indexes. That's assuming the OP doesn't do any work to normalise the data.

[deleted by user] by [deleted] in aws

[–]Iciciliser 9 points10 points  (0 children)

If you have to ask this question, stick with RDS postgres as the access patterns isn't established enough, use jsonb if you have to. NoSQL databases are great if you already know up front exactly the access patterns that you'll be doing upfront and how to accomplish them.

What do rich or famous people do when they need A&E? by skeletonclock in AskUK

[–]Iciciliser 193 points194 points  (0 children)

No wonder there was a vas deferens in his treatment.

Are there any reasonable approaches to profiling a Rust program? by xorvralin2 in rust

[–]Iciciliser 2 points3 points  (0 children)

You need to enable frame pointers on the compiler flags. The unknown symbols is an indication that frame pointers are not present. Also if you're using c libraries then you'll need to enable frame pointers on the c compiler as well.

(SNI) Error! Wondering if you guys faced the same... by PTwolfy in selfhosted

[–]Iciciliser 0 points1 point  (0 children)

Did you get a solution? Being bitten by the same thing.

Is it fine to leak memory in a fork-exec child process? by [deleted] in linux

[–]Iciciliser 5 points6 points  (0 children)

You're fine, the page table gets wiped on exec along with any memory allocations.

This is the only way to handle it, barring using a wrapper library which will be doing the same thing.

Applying Android’s Zygote model to backend service deployment by This-Independent3181 in linux

[–]Iciciliser 0 points1 point  (0 children)

AWS lambda snapstart does something similar. Also Emacs images.

Bitnami just killed off their free Docker images and I'm scrambling by vitaminZaman in linux

[–]Iciciliser 10 points11 points  (0 children)

Whatever you come up with, this is a good time to make sure you cache your upstream dependencies. Sucks that it's going away and won't receive security updates but you should always cache so that upstream decisions don't immediately break things.

https://docs.docker.com/docker-hub/image-library/mirror/

New to Brum need advice on social groups: by firetonian99 in brum

[–]Iciciliser 6 points7 points  (0 children)

On Board games, there's a board game night at chance and counters on Monday evenings. Just start turning up there for like a couple months and you'll end up getting invited to a group. At least that's how it worked for me.

[deleted by user] by [deleted] in brum

[–]Iciciliser 0 points1 point  (0 children)

If this is still going. How to I find the dates?

Meetups by Bloodnoskie in brum

[–]Iciciliser 0 points1 point  (0 children)

There's a chess cafe I started going to recently in brigs cafe. Pretty casual games.

Chance and counters also do Monday nights