Python
Python 3.12 release
- Better error description
>>> sys.version_info
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'sys' is not defined. Did you forget to import 'sys'?
- A lot of typing improvements
Simple Generics
def max[T](args: Iterable[T]) -> T:
...
class list[T]:
def append(self, element: T) -> None:
...
Type declaration
type Point[T] = tuple[T, T]
kwargs typing
from typing import TypedDict, Unpack
class Movie(TypedDict):
name: str
year: int
def foo(**kwargs: Unpack[Movie]): ...
- Flask 3.0 release - with async compatibily
- Django + htmx + TailwindCSS for Rapid Prototyping
- django-tailwind-cli - yet another tailwind CSS integration in Django
- humanize - formatting lib integrated in Django
- django-upgrade - update Django projects to upper versions of Django
-
icecream - better
print
alternative
JavaScript
TypeScript 5.3 Beta
Switch narrowing:
function f(x: unknown) {
switch (true) {
case typeof x === "string":
// 'x' is a 'string' here
console.log(x.toUpperCase());
// falls through...
case Array.isArray(x):
// 'x' is a 'string | any[]' here.
console.log(x.length);
// falls through...
default:
// 'x' is 'unknown' here.
// ...
}
}
- pattycake - fast pattern matching in TypeScript
- nuxt.studio - Nuxt CMS
- triplex - React 3D editor
- NativeScript (Vue Mobile framework) support in Apple Vision Pro
AI
- AI Emojis - generate custom emojis with AI
- open-interpreter - terminal app that turns prompts into running scripts
- magentic - decorate python function with prompt, lib will implement it using LLM
- Make films from scratch using AI
- Make web apps with simple logic from diagram photo
Tools
- new huge Windows 11 update with a lot of AI features
- roadmap.sh released Roadmap Builder
- codesnap - beutiful code snippets editor
Entertainment
- Mark Zuckerberg: First Interview in the Metaverse | Lex Fridman Podcast - amazing 3d visualization like in Matrix 😎
Top comments (0)