Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Languages
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

`cfg(extern = "rand")`

I don't have the time to drive this atm; I'm mostly posting as a place to reference the idea and in case anyone else wants to pick it up. Some cfg expressions can get complex or repetitive of specific data. cfg_select! and eventually cfg aliases can…

rust-internals

Why does the Drop trait take a mutable reference?

The drop trait is currently defined as: fn drop(&mut self) { // ... } But the thing is, after dropping the value, the value is no longer accessible. This is also the reason why you can't call the Drop trait explicitly as then you could cause a use…

rust-internals

zdmd: From DESIGN.md to Web Standards

DESIGN.md stores a design system as YAML token blocks inside a markdown file. Agents and developers can read, review, and diff it like any other document. zdmd is a Java port of the reference TypeScript CLI: a zero-dependency Java 25 application…

adam-bien

Buildless Web Components BCE/ECB Quickstarter

The bce.design quickstarter lost its entire build system: Node.js, npm, rollup, lockfiles. 777 lines deleted. The toolchain existed for one reason: Redux Toolkit. It ships with transitive dependencies (immer, redux, reselect), so a bundler had to…

adam-bien

BCE/ECB in the Browser

A Package per Feature and Semantics over Bureaucracy showed BCE in a Java CLI application and claimed the convention is cross-technology. Proof: an events application built with web components and lit-html on plain web standards. No framework, no…

adam-bien

itertools cheatsheet

Cheatsheet with visual diagrams that explain how the iterables from itertools work. This cheatsheet contains diagrams that explain how the iterables from the module itertools work in a visual way. Download this cheatsheet Download this cheatsheet…

mathspp

Notes from week 28

Headline activities have included resolving the scraping attacks, fixing obuilder bugs, and Tessera AMX optimisations.

ocaml-planet

Const-first functions

Today, as far as I'm aware, Rust has two variants of const functions: const-capable functions that are only used as const when called from const context (regular const fn) "comptime" const functions that can only be called during compile time: Add…

rust-internals

Making ServiceLoader usable: a provider factory

I keep coming back to java.util.ServiceLoader. I have used it to put a JSON layer behind a contract, so the core code carries no direct dependency on any particular JSON library, and I can swap the implementation without touching callers. The same…

nicolas-frankel

Effect Handlers in OCaml

A command-first tour of OCaml 5 effects: perform, handlers, generators, and where domains and eio fit in.

ocaml-planet

There should be a primitive int / float trait in core / stdlib

This would be useful in cases were you want to use / store a number but don't care about a specific type of number for example: /// add two integers together pub fn add<T: PrimitiveInt>(x: T, y: T) -> T { x + y } This could also be useful for…

rust-internals

BCE/ECB: Semantics over Bureaucracy

A Package per Feature made the case for the Business Component (BC): one package per responsibility. Inside a BC the next question appears immediately: where does a class go? In most projects that question spawns bureaucracy: naming debates, layout…

adam-bien

1769 items available