What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
0

One of the challenges I faced with building the Loops For You algorithm is real time relevance vs performance.

The original PoC algo would cache the most recent videos you watched and pass the ids into the database query, but that is inefficient in many ways, especially at scale.

Then I discovered bloom filters and spent a few hours adding support, updating redis to v8 (with bf support) on my dev env + prod server.

It worked. Despite the phpredis library not supporting bloom filters...

0
0
0
0
0

friends, you got any favorite libraries to help introspect large import trees? (use cases: providing feedback during the early import-the-world phase of loading a monorepo; determining how to extract internal dependencies or resolve cycles; etc)

My fallback is to just whip something up with sys.meta_path finders, but smells like the kinda use case where there might be a nice handy lib already on PyPI.

EDIT: see social.coop/@bitprophet/115714 for a stdlib resolution. batteries included, baby!

0
0
0
0
0
0
0
0
1
2
0

Brutale Abschiebepraxis in : Schwerkranke Mutter bei Abschiebung von Familie getrennt

‚In der Nacht zum Dienstag versuchte die Polizei in einer Leipziger Gemeinschaftsunterkunft Familie G. aus Georgien abzuschieben. Weil die Mutter Nino G. aufgrund des Verdachts auf einen Hirntumor nicht reisefähig ist, schob die Polizei den Vater und beide Kinder (10 und 6 Jahre) der Familie getrennt ab.‘

saechsischer-fluechtlingsrat.d

Erst von Söder ausgezeichnet, dann des Landes verwiesen

„Held von Aschaffenburg“

Ahmed Mohamed Odowaa half, den Messerattentäter von Aschaffenburg festzunehmen, jetzt da der Prozess abgeschlossen ist, soll er abgeschoben werden!

taz.de/Held-von-Aschaffenburg/

0
0
0
1
0
0

항상 고민됨 이미 블스에 자리잡긴 했지만 덕질 관련 정보는 구트현엑에 여전히 많기도 하고 나랑 덕톡해줄 트친을 사귈까 하는 그런거… 근데 트젠혐 때문에 스트레스 받던거 생각하면 그냥 여기에 계속 안락하게 있을까 생각되기도 하고… ^^

0
0

제가 나름 세운 금융 관련 법칙 "이해가 안되는 건 하지 마라." "금융기관에서 파는건 모두 상품이다. 물건을 파는 사람은 밑질 생각이 없다." "당신이 금융기관보다 영리하다고 생각한다면 오산이다. 아무것도 모름을 인정해야 편하고, 실수가 줄어든다." "대출은 발품 팔수록 수렁에 빠진다."

0
0

시작이 어찌 되었든, 사람과 돈이 모여서 복작거리다보면 뭔가가 나오는게 거리고 도시죠... 이미 대도시에 살고 있으면 잘 모르겠지만, 그 작은 계기 하나하나가 소중한 겁니다. 하긴, 서울도 젠트리피케이션으로 날려 먹는 상권들 보면 좀 알아야 할 거 같긴 함.

0

This immigrant woman landed in the US decades ago, has never even set foot in a kitchen or done any cleaning, takes thousands of dollars off the state every year, and spreads dangerous woke antifa propaganda about democracy, inclusivity, and equality.

She should be deported.

The statue of Liberty
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Looks like Trump is trying to find an alternate supplier to Canada's potash. Trump wants to put massive tariffs on potash to spur the US growth in it: problem is there's really no viable source of potash in the US.

So, maybe he tries to get it from a more "friendly" country in Belarus? Key problem for this plan: the main export port for Belarus potash is in Lithuania & the EU has not lifted an embargo on it so none of it will get out that way.

I suppose Belarus could ask Putin to take it and ship it out of a Russian port, but travel/shipping costs would make it more expensive.

bloomberg.com/news/articles/20

0

After 10 years, My Hero Academia is over. As a huge crybaby, I genuinely loved this show. There’s a couple seasons in the middle that didn’t quite hit, but the final season especially was filled with incredibly satisfying pay offs and big emotional moments. If you can look past some typical Shōnen nonsense from time to time, I’d consider this a must watch.

Plus Ultra 🫡

0
0

어린아이들에겐 예전이 더 가혹했던 거 같아. 패는 거도 부모가 그럴 수 있지~ 하고 용인하고 선생이 패도 선생님이 그럴 수 있지~ 용인하고. 내가 상담받을 때도 이런저런 과거 이야기하고 그때는 이런게 학대가 아니었던 거 같아요. 라고 말하니까 그건 그때도 학대였습니다. 라고 말하셨어..

0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0