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.

1
1
0
1
1
0
0
0
0

Day 11 of Advent of Compiler Optimisations!

A clever loop that counts set bits using the "clear bottom bit" trick: value &= value - 1. Works great, generates tight assembly. But change one compiler flag to target a slightly newer CPU and something extraordinary happens to your loop. The compiler spots a pattern you didn't even know was there. What replaces your careful bit manipulation?

Read more: xania.org/202512/11-pop-goes-t
Watch: youtu.be/Hu0vu1tpZnc

0

Day 11 of Advent of Compiler Optimisations!

A clever loop that counts set bits using the "clear bottom bit" trick: value &= value - 1. Works great, generates tight assembly. But change one compiler flag to target a slightly newer CPU and something extraordinary happens to your loop. The compiler spots a pattern you didn't even know was there. What replaces your careful bit manipulation?

Read more: xania.org/202512/11-pop-goes-t
Watch: youtu.be/Hu0vu1tpZnc

0
0
0
0
0
0
0

(1) Within 12 months of the day on which this Act is passed, the Secretary of State must, for the purposes of promoting the wellbeing of children—
(a) direct the Chief Medical Officers of the United Kingdom (“the UK CMOs”) to prepare and publish advice for parents and carers on the use of social media by children at different ages and developmental stages, and
(b) by regulations made my statutory instrument require all regulated user-to-user services to use highly-effective age assurance measures to prevent children under the age of 16 from becoming or being users

This clause has popped up before; it is now back again.

Page 21, bills.parliament.uk/publicatio

Although this is being portrayed as "social media", recall that the definition is *much* broader than that:

You could not message your children on Signal, or your own home XMPP service.

They could not lawfully contribute to, perhaps even read, a wiki.

No shared calendars with family.

And so on.

0
0
0
1
0

If a mass of incompressible fluid is floating in space, subject only to its own gravity and centrifugal force, what shape will it adopt as its angular momentum is increased?

Initially, it will form an oblate spheroid, with two equal semi-axes longer than its semi-axis of rotation.

However, past a certain value for the angular momentum, L, the fluid can have a lower total energy by breaking that symmetry and forming a “tri-axial” ellipsoid, with the semi-axes perpendicular to the axis, a and b, taking on different lengths!

The first configuration is known as a “Maclaurin spheroid”, after Colin Maclaurin, who studied it in 1742.

The second is called a “Jacobi ellipsoid”, after Carl Gustav Jacob Jacobi, who in 1834 realised that a fluid could be in equilibrium in this less symmetrical state.

There are two separate issues here.

One is the question of when the “level surfaces” of constant gravitational-plus-centrifugal potential for an ellipsoid can match the shape of the ellipsoid itself. What shapes can “sea level” take for a spinning mass of fluid?

0
0

인간관계 얽힘을 해결하는 10가지 좋은 말

1. 명령하는 듯한 말을쓰지 말라.

2. 비판보다 칭찬거리 를먼저 찾으라. (칭찬해서 싫어할 사람은 없다)

3. 상대에게 호의를 베푸는 연습을 시작하라. (좋아하려고 노력하고 좋아지도록 연습해야 한다)

4. 그의 반항을 존중 하라. (반항은 단지 존재 가치를 느끼고 싶기 때문임을 알라)

5. 싸우지 말라 (말이나 행동에 의한 적대 감정을 피하라. 윽박질러 놓으면 결과는 손해다)

6. 상대방이 틀렸다고 마구 꾸짖지 말라. (틀리고, 나쁜 점을 증명해 보라. 잇점은 없다)

7. 큰소리가 "NO"라는 뜻이 아님을 알라. (80%는 반항함으로 잊고 만다)

8. "나는 당신이 지금 어떤 기분인지를 압니다"라는 말을 애용하라.(놀라운 효과가 있다)

9. 무언가 질문하고 그 얘기에 귀를 기울이라. (진지하게 자기의 말을 들어주는 사람을 싫어할 사람은 없다)

10. 그 상대를 위해 기도하고 용서하라. (사랑으로 감싸는 모습을 마음속으로 그리라)

0
0
0
0
1
0
0
0
0
0
0

The Data Shapes Working Group has published a First Public Working Draft of SHACL 1.2 Rules. This document describes Shapes Constraint Language (SHACL) Rules. This document introduces the concept of inference rules for SHACL 1.2, a mechanism for deriving new RDF triples from existing data using declarative rules defined in shapes graphs.

A data shape is a description of the expected contents of an RDF document (graph) or dataset.
w3.org/news/2025/first-public-

0
0
0

Just 4 km from Albarracín, the Prado del Navazo Trail leads to one of the most unique prehistoric rock-art sites in the Pinares de Rodeno. Here you’ll find one of the best collections of Levantine prehistoric art on the Iberian Peninsula, recognized as UNESCO World Heritage in 1998 as part of the Rock Art of the Mediterranean Basin. Among its most remarkable examples are the White Bulls of Prado del Navazo—large, white-painted animal figures (mostly bulls and horses) dating back to the Neolithic period (around 7000–5000 BC). The site is exceptional for its exclusive use of white pigment, which contrasts strikingly with the reddish sandstone walls, and it also features later schematic archer figures that depict ancient hunting tactics.

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

Mit Gutscheinen von @NEIN_zur_BezahlkarteNEIN! zur Bezahlkarte einzukaufen, damit Betroffene der (sozial)rassist. -Schikane nicht mit voller Härte von ihr diskriminiert werden, ist übrigens leichter als mensch denkt.

Nach 2-3 mal ist es Routine, und wird zur guten Angewohnheit, auch weil jeder Einkauf damit eine kleine Widerstandshandlung darstellt.

Probiert's aus, es fetzt! 😇

-Inis in deiner Nähe:
seebruecke.org/aktuelles/kampa

0
0
0
0
0
0

나도 이 부분이 걱정이었는데... 요즘 초등학생(특히 저학년)들은 인스타나 틱톡보다는 로블록스를 거의 올인원 커뮤니케이션 앱으로 쓰는것 같더라.

RE: https://bsky.app/profile/did:plc:5yjazo67wvtciqpmhiet3atc/post/3m7plarnaak2i

0
0