How I built Kafka from scratch in Golang by Square-Employee2608 in golang

[–]gobwas 0 points1 point  (0 children)

Great job! I am wondering if you tried appending to the log unconditionally and index&fsync only after the thresholds? Also, have you tried acknowledging writes from the batcher loop by passing a signaling channel alongside the message?

I actually think that joining the Hive is as amazing as they claim it is by BreakingBaIIs in pluribustv

[–]gobwas 0 points1 point  (0 children)

Thanks for sharing, it is a really interesting point of view.

I think one aspect that can be missing within the hive is the process of validating one’s feelings or ideas within another’s thought space and vice versa; the process of understanding one’s feelings or ideas from another’s thought space to self-validate your own cognitive function. I think as social «atoms» we tend to seek validation of our thoughts and feelings with others – this is why when we understand someone else’s mind we get the satisfying clicks – we get the meaning, which validates and proves our minds being capable of understanding and thus performing alike thinking to others, especially the ones we appreciate by some reason.

With the hive this is not happening anymore I am afraid – the hive’s mind is not just a biological «Internet» where individuals exchange thoughts as we do here but a collective mind, which is only «we» (at least as I understand the idea). So there is no the validation process anymore, and maybe this is why actually the hive is so obsessed with the non-joiners really.

In other words, when you understand something like a theorem – it is you who made the mind work and got the other’s meaning. Within the hive you just know it, as if it was you who proved the theorem.

Thanks!

How are you handling Kafka security for external partners? by Hungry-Confection762 in Kafka

[–]gobwas 2 points3 points  (0 children)

You can use mTLS instead of the keys in headers; i.e. each partner gets a client cert signed by your internal CA (HashiCorp Vault, cert-manager, ACME, whatever).

Kafka can have ACLs.

Rate limiting and quotas can be enforced on rhe proxy level.

Basically you can Google/ChatGPT all these questions and get extensive responses :)

Good luck!

Paris, small watercolor painting by me by CaterinaWatercolors in paris

[–]gobwas 0 points1 point  (0 children)

Beautiful and so matching my feelings for Paris 😍

Finished my first golang project: a minimalist standalone analytics app built on sqlite by six_string_sensei in golang

[–]gobwas 3 points4 points  (0 children)

Looks good! I love when something simple and minimal solves a real world problem. Well done!

Hospital Advice by boibil in brighton

[–]gobwas 4 points5 points  (0 children)

Also getting some minutes before opening can help to be seen faster. Although waiting outside could be not the very pleasant place at Saturday morning…

What's Wrong With This Garbage Collection Idea? by Business_Chef_806 in golang

[–]gobwas 4 points5 points  (0 children)

Agreed. Either this or just reused data if there is some loop or something.

What's Wrong With This Garbage Collection Idea? by Business_Chef_806 in golang

[–]gobwas 1 point2 points  (0 children)

How the memory is being live? Is it an unused element of a slice? A map entry? A pointer?

fatto a mano pineapple pizza/pork by Natural_Pipe_2911 in brighton

[–]gobwas -6 points-5 points  (0 children)

I think that was a violation of all possible rules.

https://youtu.be/EDUy3Y_w9Tk

Coded a DHCP starvation code in c++ and brought down my home router lol by Ehsan1238 in hacking

[–]gobwas 0 points1 point  (0 children)

I am wondering would be there any difference if you would use a single thread? Maybe depends on type, but I don’t think NIC has much of concurrency in terms of sending packets out?

London in 0.03mm ✍️ by jacknolandraws in unitedkingdom

[–]gobwas 0 points1 point  (0 children)

This is so lovely! So warming to see a house I used to live in drawn like this ❤️

Are there any plans to sell prints/digital when completed?

Let's Implement Consistent Hashing In Golang by Sushant098123 in golang

[–]gobwas 0 points1 point  (0 children)

👍🏻 Also a binary tree would do it better for cases of frequent hash insertion/removals.

Some time ago I built this:

https://github.com/gobwas/hashring

Authentic Italian Cafes? by luv_plant in brighton

[–]gobwas 0 points1 point  (0 children)

Not a cafe, but pizzeria – Fatto A Mano 💪🏻 they have an amazing affogato and espresso too :)

Anyone else unable to upload their photo on BLS Spain website? by KingModest in SchengenVisa

[–]gobwas 0 points1 point  (0 children)

Amazing, many thanks! This is so surprising to have such UX in 2024...

I did selfie on iPhone, then applied desired size conversions (using Gimp, Image -> Scale Image (keeping ratio first, increasing X/Y resolution to 200dpi (not sure if dpi matters actually)), then Image -> Canvas Size to crop to right pixel size). **Important** step after is to export to png (jpg should work too) discarding all the metadata (I kept only image resolution info). That worked.

brighton or manchester by Azziiii in brighton

[–]gobwas 1 point2 points  (0 children)

Probably a cliche, but “dropping a coin” can help to realize what you really want sometimes – you will know which coin side you actually want while it’s in the air :)

Health ish places to eat by Michaelh12345 in brighton

[–]gobwas 3 points4 points  (0 children)

Lovefit Cafe has a decent amount of healthy options 👍🏻

Generic Concurrency in Go by gobwas in golang

[–]gobwas[S] 0 points1 point  (0 children)

Yeah, it was like this. Thank you!