Discover something new

All summaries

1274 results

Architecture

Diamantina: a mining town within rocky terrain

Brazil’s Diamantina is a colonial settlement associated with eighteenth-century diamond prospecting. Its rocky mountain setting forms part of its historical significance.

Published22 Oct 2026
Technology

Dataclass: less boilerplate without automatic validation

The dataclass decorator can generate initialization and representation methods from declared fields. Type annotations describe those fields but do not themselves check every value at ru...

Published22 Oct 2026
Technology

Enum: a clear set of named states

Enum groups symbolic names with their values. For example, Status = Enum('Status', {'DRAFT': 'draft', 'LIVE': 'live'}) lets code use Status.DRAFT instead of arbitrary free text.

Published22 Oct 2026
Technology

UUID: an identifier is not access permission

uuid.uuid4() creates a random UUID that can distinguish records without a central sequential counter. It does not establish who may open the corresponding record.

Published22 Oct 2026
Technology

Struct: byte order belongs to the format

struct.pack('>H', 258) produces the two bytes b'\x01\x02'. The > prefix selects big-endian order, while H describes an unsigned short integer in that format.

Published22 Oct 2026
Cars

OptiRide ECAS: control within air suspension

ZF's OptiRide ECAS is electronically controlled air suspension with a modular architecture. The manufacturer describes combining electronic control, solenoid valves and pressure sensors...

Published22 Oct 2026
Technology

Binascii: viewing bytes in hexadecimal

binascii.hexlify(b'AB') gives b'4142', while unhexlify() performs the reverse conversion. This represents bytes; it neither compresses nor encrypts them.

Published22 Oct 2026
Architecture

Salvador de Bahia: colour is only one historical layer

Salvador de Bahia was an early Brazilian capital whose heritage reflects European, African and Indigenous American influences. Colourful houses and decorative stucco characterize the ol...

Published22 Oct 2026