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

Quoting Terence Tao

I wrote recently about how the collection of good, fruitful open problems is now being mined in a non-renewable fashion, leading to the potential scenario of these problems becoming scarce. [...] We have now seen that even the rumor of someone…

simon-willison

Fallbacks for typing.overload

Would an @overload-related fallback decorator that catches everything not assignable to an existing overload be feasible? For example, consider the following: from typing import overload @overload def spam(ham: int) -> str: ... @overload def…

discuss-python-ideas

Add a timeout parameter to Executor.shutdown() — issue #72165

I’d like to discuss the proposed feature in CPython issue #72165: adding an optional timeout parameter to concurrent.futures.Executor.shutdown(). Currently, when Executor.shutdown() is called with wait=True (the default), it waits for all currently…

discuss-python-ideas

Open MPhil/Part II student projects for 2026-2027

A refreshed set of Part II and MPhil projects, split between environmental science problems that need computer science, and more conventional systems and programming languages topics.

ocaml-planet

Graham Dumpleton: Zero-code tracing with wrapture

The previous post traced the shop with three bindings and a sink, all applied from the program's own entry point. That is fine when the program is yours. It is less fine when the application is one you inherited and would rather not touch, when…

planet-python

Some thoughts on the Navier–Stokes Millennium Prize Problem

On the Navier–Stokes Millennium Prize Problem introduces an impressive result from OpenAI, who used an unreleased model to produce a resolution to the Navier–Stokes existence and smoothness problem, one of the seven Millennium Prize Problems that…

simon-willison

Introducing ChatGPT Images 2.5

Introducing ChatGPT Images 2.5 OpenAI's image generation models are apparently used "more than 3 billion images across ChatGPT Images and the GPT‑Image models in the API". This latest release improves their instruction-following ability across…

simon-willison

Why is this unaligned?!

I have a struct of two u64's, and the code that tries ref_from_bytes, crashes, even though alignment is 8, and the slice is a multiple of 8. Even if I try a slice multiple of 16 (336..352 instead of 328..344), it still shows the same error message.…

rust-users-forum

Fast JSON and Furious Runtime-airhacks.fm podcast

Subscribe to airhacks.fm podcast via: spotify| iTunes The #413 airhacks.fm episode with David Kral (Verdent) about: high performance JSON parsing without bytecode manipulation is available for download.

adam-bien

How do I cast String to &str?

Sorry for the noob question. But I need to use &str, but can't find a way to concatenate it to return a value. I don't know how to implement the as_str() or just & here as instructed here. (click for more details) (click for more details) 12 posts -…

rust-users-forum

Problem with lifetimes and traits

I keep getting problems with lifetimes when I use a trait, but not when I directly use a type that implements the trait. I have recreated the problem in a few lines of code, with the inferred types shown. struct Token<'src> { slice: &'src str, } fn…

rust-users-forum

Failed to get address in while loop

Why can't I get address in the while loop? struct Foo { elem1: u32, elem2: String, } fn demo1(x: &mut Foo) { let ref_1 = &mut x.elem1; let ref_2 = &mut x.elem2; let ptr_x = x as *mut Foo; // Ok! } fn demo2(x: &mut Foo) { let ref_1 = &mut x.elem1;…

rust-users-forum

1769 items available