Zen Bui

1.6K posts

Zen Bui banner
Zen Bui

Zen Bui

@definev2

https://t.co/JJy65Te0l0 | Software Craftsman.

Katılım Nisan 2020
1.2K Takip Edilen815 Takipçiler
Zen Bui retweetledi
Aloïs Deniel
Aloïs Deniel@aloisdeniel·
New blog post: what do you do when your Flutter layout needs the parent to wrap its children, but the layout delegate already locked the size? You drop one level and write a render object. A slot-based approach keeps the boilerplate manageable aloisdeniel.com/blog/flutter-s…
English
2
7
34
1.2K
Tim
Tim@imadetheseworks·
I've seen two (new?) things with @claudeai recently: 1. a lot of "this isn't needed. actually it is needed. Wait. Actually, this is entirely unnecessary." I even see this in the result of plan mode 2. adds useless "section" comments everywhere // --- // Build // --- build()
English
2
0
5
368
Zen Bui retweetledi
kepano
kepano@kepano·
I have been working on Obsidian Reader for a over a year. I didn't want to share it until I felt it was good enough. It's finally there. Consistent formatting for any article. Outline, syntax highlighting, nice footnotes, adjustable typography. Runs locally. Just rules, no AI.
English
169
306
5.4K
304.5K
Zen Bui retweetledi
Morgan :)
Morgan :)@__davidmorgan__·
Released `build_runner` 2.13, mostly performance improvements :) pub.dev/packages/build… It's faster across the board, but particularly for large projects: with these improvements plus an upcoming analyzer release, an incremental build on 10000 files that used to take 45s with 2.12 is now nearly 5x faster, just 9.5s. Full benchmark numbers are here: github.com/dart-lang/buil…
English
16
23
170
7.5K
Zen Bui
Zen Bui@definev2·
@pavanpodila Yes, i can't see things again after learning about state machine. Everything is state machine now 😆
English
0
0
1
30
Pavan Podila
Pavan Podila@pavanpodila·
Most Apps = State Machine of State Machines with human and system actors manipulating entities and driving the State Machine
English
3
0
3
176
Zen Bui
Zen Bui@definev2·
@perkelef Hidden gem, thank you for developing hisma. I'm on the quest learning statecharts and found it 💙
English
0
0
1
11
Zen Bui retweetledi
Tamas Palagyi
Tamas Palagyi@perkelef·
Just released hisma 0.3.1 that is a hierarchical state machine implementation for #dart and #flutter. This release adds support for internal transitions: pub.dev/packages/hisma hisma_visual_monitor was also updated, as you see in the image how internal transitions are shown:
Tamas Palagyi tweet media
English
2
2
5
620
Tim
Tim@imadetheseworks·
@definev2 since you've worked with Navigator a bunch now, have you found any way to have a navigator that is sized by its child?
English
4
0
2
439
Zen Bui
Zen Bui@definev2·
@imadetheseworks To be honest, I am just scratching the surface of Navigator widget. Maybe NavigatorObserver would help?
English
0
0
0
51
Zen Bui
Zen Bui@definev2·
@shiweidu Yeah, i feel the same too. Developer need to pay perf tax for fancy high-level features
English
0
0
1
22
Seven Du
Seven Du@shiweidu·
Once you start using advanced features and more modern syntax, the kernel will perform various boundary checks for you. I personally believe this is the biggest obstacle to Dart's performance.
English
2
0
1
93
Seven Du
Seven Du@shiweidu·
The practical evidence from alien_signals and roux shows that Dart is better suited to being treated like C code to achieve good performance than like a high-level language.
English
1
0
8
530
Zen Bui
Zen Bui@definev2·
@imadetheseworks @mahersafadii motor and all rivership package are based. i use motor whenever encounter animation, sss for sheet, heroine for hero anim 💙
English
1
1
3
52
Tim
Tim@imadetheseworks·
@mahersafadii Might be one of the highlights of my career to have built a force multiplier for oss 🥹
English
2
0
10
150
Khalid Warsame
Khalid Warsame@KhalidWarsa·
Me: spent hours debugging my app The bug:
Khalid Warsame tweet media
English
7
1
59
5.8K
Zen Bui
Zen Bui@definev2·
@shiweidu OpenClaw is a scam 🫠 Change my mind
English
1
0
1
78
Seven Du
Seven Du@shiweidu·
I recently saw some KOLs in the Web3 field working on OpenClaw, and it was as laughable as seeing those idiots posting AI articles on WeChat public accounts. Life needs these idiots to add some fun to it.
English
1
0
1
171
Matej Knopp
Matej Knopp@MatejKnopp·
flutter_zero ✅ (almost) skia_dart ✅ (getting there) time to start rewriting dart:ui in @dart_lang ?
GIF
English
5
5
58
1.9K
Zen Bui
Zen Bui@definev2·
@RydMike @ThomasBurkhartB I think workspace mode solved it! Before we need to use melos for managing dependencies for local-pkgs and it's a third party solution so feel a bit uncomfortable and unreliable with change from sdk. Now it's officially supported so I don't need to worry too much about perf
English
0
0
1
18
Mike Rydstrom
Mike Rydstrom@RydMike·
@definev2 @ThomasBurkhartB ...still annoying asf to maintain. Then there is/was also the sad affair of using a lot of local pkgs that kills analyzer performance too. Like "it was never built to support that" well, sigh. But I think that has been largely resolved, maybe, have not followed the case lately.
English
1
0
1
22
Zen Bui
Zen Bui@definev2·
@RydMike @ThomasBurkhartB For limiting which APIs are exposed to the public, I use `show` or `hide` import. It's a good practice for managing visibility of API. I learned that from JS world, they usually have an export statement for each file, but that's overkill so i only apply it for the barrel file
Zen Bui tweet media
English
0
0
1
53
Mike Rydstrom
Mike Rydstrom@RydMike·
@definev2 @ThomasBurkhartB ... pub or local pkgs as well, but at least there is lint that you can use that says, no don't do that and violate the published interface, which I do and trip analyzer on in CI. I guess you could build you own lint for that for not using things exported via a barrel file too.
English
2
0
1
17
Zen Bui
Zen Bui@definev2·
@RydMike @ThomasBurkhartB I also used to import files directly. But for multi-module projects with individual `RouteModule`s, barrel files are much more effective. They create a better semantic layer for managing public and protected APIs.
Zen Bui tweet media
English
1
0
2
57
Mike Rydstrom
Mike Rydstrom@RydMike·
@definev2 @ThomasBurkhartB Barel export? Really? I don't recommend using them, they were and are imo always bad for analyzer perf in Dart, just import what you need in project for each file. Plus I have rules/blocks to never use barels and CI fails if it finds them, but ok to each their own.
English
1
0
2
28