Filter
Exclude
Time range
-
Near
Proposal to make programming more appealing to Gen Z by renaming keywords typealias -> typeshit
2
12
922
The fourth move: tag each kind by domain. `User.Count` and `Inbox.Count` are both `UInt`-backed counts, but they won't add — different tags. Write the typealias once per domain, the compiler keeps them apart from there. Same shape for `Element.Index`, `Slot.Index`, etc.
1
2
57
Apr 17
typealias EverythingDoable = Codable & Sendable & Hashable
2
8
804
Replying to @1024DevHub
typealias addr_v8_t = uint64_t;
3
1,654
Have you tried name-based destructuring in Kotlin 2.3.20? In this 8-minute clip from the recent TypeAlias Show Livestream (link below), you can learn all about the three modes of this new experimental feature, and see how you can start using it (or migrating toward it!) in your own projects. youtube.com/watch?v=tvpB6_6x…
1
23
661
Finding 10 | Undocumented API features in proto definitions vs docs.x.ai EFFORT_MEDIUM reasoning level: grep -n "EFFORT_" xai-proto/proto/xai/api/v1/chat.proto Output, 540: EFFORT_LOW = 1; 541: EFFORT_MEDIUM = 2; 542: EFFORT_HIGH = 3; Proto line 140: Default to EFFORT_MEDIUM. SDK type definition: grep -n "ReasoningEffort" xai-sdk-python/src/xai_sdk/types/chat.py Output: ReasoningEffort: TypeAlias = Literal["low", "high"] The medium level is defined in the proto with a comment indicating it is the default, but it is not exposed in the SDK type alias.
1
3
12
1,229
Replying to @swiftandtips
Yep… annoying… But my trick is to extend the generic structure with <Any> and typealias it as AnyTimeDetailView, then put those enums in there.
1
2
94
These two typing features look similar... But they're very different. Here's how to use NewType and TypeAlias in Python 👇
1
4
393
Sometimes, I manage to write code that makes me genuinely proud! 🌟 The entire service is built on a simple abstraction, utilizing generic types and depending on a specific typealias. ✨ It works beautifully and looks stunning! 🤩 #BuildInPublic #DevDiary #Permissions #Swift
2
64
21 Dec 2025
why `type` statement is better than `TypeAlias`
1
3
149
"public typealias" "try await" estou encantado
1
1
2
421
Replying to @the_uhooi
associatedtypeはプロトコルのパラメータであるメンバータイプ要件で、メンバーメソッド要件などの仲間 typealiasは型の定義方法の一種で別名を与える
1
5
347
associatedtype typealias 違い
1
2
2,186
21 Oct 2025
back to using Rust again after 1.5y, and having a really really great time using it with Claude Code. personally beats Bun for scripting too? Notes on why: - context: my main task rn is to write various complex scripts which munge data from websites & GCS, usually writing them back to GCS - at reasonably large scale: I’m def trying to parallelize & unbottleneck a lot - I used Python & Bun each for a bit, but maybe prefer Rust? - There’s a reasonable amount of vibe coding. I know the precise steps quite well but I’m often asking it to eg: list X kind of file from GCS, parallelize Y, fetch Z in ways Claude is good at. - typing is so much better! - makes me reflect on the fact that actually most type systems are expressive enough that it doesnt matter. - the real important factor is level of typing in the ecosystem, esp for small projects where you interface w many libraries. - ie: Python typing is bad because many many libraries lack it. Even with TS, major libraries will sometimes still typealias any - errors being passed as optionals is really nice. Again in TS, you could do this via effect TS, but your upstream libs won’t really? - you’re also likely writing out of distribution TS which models are likely worse at - way fewer logic errors in general! Cargo check is good because typing is more prevalent. - I totally forgot about this, but it often feels like the Rust libraries are just better? - the default ish CLI arg parsing library feels so much more pleasant than argparse or commander. It’s very typey - for example, frequent operation is, I’m downloading 1k files. Do this in parallel w 50 at a time. - Claude writing a Bun script will always do the stupid thing of slicing into batches of 50, and sequentially promise.alling each batch. This is much slower, because you’re seldom actually at 50. Particularly extremely bad if some tasks can take >10x avg time - the right approach is to remind Claude to use something like p-limit. It sometimes still gets syntax wrong? - otoh: in rust it just does the reasonable thing 100% of the time because a semaphore is a common primitive - in general, it feels there’s almost this inductive bias causing models to write better Rust than they do TS? - the default Rust way to do things is more likely the right way than a hacky way. - the model basically ~never coerces types or does weird typing stuff - the default first library for something is on average really good
30 Mar 2024
wow writing rust is so joyful
3
9
612
14 Oct 2025
🎙️ Live this Wednesday — From Koin to Kotzilla! We’re joining @djleeds on the TypeAlias Show with @arnogiu and Miguel. We'll debunk @insertkoin_io myths, share updates, and talk performance improvements. 📅 Oct 15, 5PM CEST 🔗linkedin.com/events/73835584… #AndroidDev #kotlin
2
81
Swift の TimeInterval は Double の typealias なので、0.1 0.2 = 0.333333... の問題が起きうります。 Duration は typealias 等ではなく、これも考慮されているはずなので起きなかったはず… です……。 #iosdc
SwiftでDuration初めて見た。TimeIntervalとどういう違いがあるんだろう #iosdc #b
6
858