Tong Mu

2.7K posts

Tong Mu

Tong Mu

@DKWmt

"DKWings" | @FlutterDev SWE and love it | Former React frontend | 坦诚,豁达,随遇而安

Sunnyvale, CA Katılım Ağustos 2011
669 Takip Edilen1.6K Takipçiler
Tong Mu
Tong Mu@DKWmt·
@jpohhhh The transparent pixels are interesting. I’ll greatly appreciate it if you open an issue on Github with a reproduction app!
English
0
0
4
128
James O'Leary
James O'Leary@jpohhhh·
Started using flutter's superellipse a few days ago. Got a weird bug that's visible at heights ~4K+. After a couple hours "fixing" it and grokking code...TL;DR, I wouldn't use it. c.f. 200 dp height. halfway up on border vertically, you're getting transparent pixels
James O'Leary tweet mediaJames O'Leary tweet media
English
4
0
6
1.3K
James O'Leary
James O'Leary@jpohhhh·
bug at tall heights looks like this (8K height here)
James O'Leary tweet media
English
2
0
0
201
Tim
Tim@imadetheseworks·
Time to play with Liquid Glass in your #FlutterDev app! I've pushed a prerelease to pub, check it out here: pub.dev/packages/liqui… It is obviously a first version, so don't expect this to work perfectly, and the API might change a lot still 🥃🥛🥂🍑
English
30
59
446
39.3K
Tong Mu
Tong Mu@DKWmt·
@mahersafadii Slightly correction: It’s not because the PR is massive, but the project is massive. Sometimes changes of small LOC can have massive impact and thus must be discussed thoroughly, for example bumping the minimal version of Android. Similar for this one.
English
1
0
6
423
Tong Mu
Tong Mu@DKWmt·
@jezell @mahersafadii Splitting into smaller PRs and steps is also for the convenience of reviewing. Writing something new is hard, and reviewing them is even harder, because reviewers are the last guardians of code correctness. It’s important that reviewers really approve (cont.)
English
1
0
5
100
Tong Mu
Tong Mu@DKWmt·
@jezell @mickrich384 @mahersafadii We had to write pages of design docs as well. And it’s becaude they really help. I wrote design docs for almost all big projects of mine, and I only regret the cases when I did not write enough - the keyboard was not discussed thoroughly and admittedly it didnt turn out well
English
0
0
3
70
Jesse Ezell
Jesse Ezell@jezell·
@mickrich384 @mahersafadii @DKWmt Props to anyone who can get through the process for significant changes. I don’t like the process, but I can respect anyone who puts in the extra work that core team members usually get to skip.
English
1
0
4
152
Tong Mu
Tong Mu@DKWmt·
@luckythehusky 很显然审核代码是比编写代码要更难、更基础、更核心的
中文
0
0
1
56
Lucky the Husky
Lucky the Husky@luckythehusky·
想象中的 AI 编程助手: 帮我调试代码. 实际上的 AI 编程助手: 我帮它调试代码.
中文
2
0
5
211
Tong Mu
Tong Mu@DKWmt·
@RydMike @mahersafadii @luke_pighetti In my algorithm, assume it has equal x radii and y radii, if 2 r_x >= width, then the width sides are circular arcs. The y sides continue to be continuous rounded borders. (Basically the x and y sides are separated/stitched together.) I'm pretty sure this is how Swiftui works.
English
1
0
5
134
Mike Rydstrom
Mike Rydstrom@RydMike·
@mahersafadii @luke_pighetti Also any radius between 0.5x to 1x of stadium border (half of shorter side) will be interesting cases. I have no idea what SwiftUI actually draws for those, but if it is a continous curve, that is not what eg figma_squircle and other in Flutter space does. ⬇️
English
2
0
0
238
Mike Rydstrom
Mike Rydstrom@RydMike·
A RoundedSuperEllipse has landed in #Flutter master #issuecomment-2708417645" target="_blank" rel="nofollow noopener">github.com/flutter/flutte…. Looking forward to adding it to my #FlutterDev Squircle study once there is a ShapeBorder for it that we can use #flutter-squircle-status-march-8-2025" target="_blank" rel="nofollow noopener">github.com/rydmike/squirc… The test app for Squircle study is here rydmike.com/squircle/lates…
Mike Rydstrom tweet mediaMike Rydstrom tweet mediaMike Rydstrom tweet media
English
3
7
70
5.5K
Tong Mu
Tong Mu@DKWmt·
@luke_pighetti @mahersafadii @RydMike During my research I indeed used screenshots of SwiftUI's shapes as reference and derived the formula by pixel comparison. The theoretical result is pretty good (see attached). The PR, though, focus on the practical side, i.e. how it runs in real apps and can be used by users :)
Tong Mu tweet media
English
1
2
8
755
Luke
Luke@luke_pighetti·
@mahersafadii @RydMike i don't like the methodology of comparing two dialogs. someone should do a 256px single corner radius, screenshot, and overlay
English
3
0
2
501
Tong Mu
Tong Mu@DKWmt·
@HarrySild @RydMike I’m still unsure where the bottleneck is in the Figma Bezier implementation. But yes performance was probably a reason.
English
0
0
1
29
Harry Sild
Harry Sild@HarrySild·
@RydMike Man finally. It only took how many years after one "mysteriously" closed PR that was supposed to add them. 90% sure the undisclosed mystery had to do with performance cost.
English
2
0
1
221
Mike Rydstrom
Mike Rydstrom@RydMike·
@HarrySild Thanks 🙏🙂 Not sure anybody reads it, but just in case 🙂
English
1
0
2
49
Tong Mu
Tong Mu@DKWmt·
@luckythehusky 台湾的标准不可靠了,他们的规定本来就跟大陆有差别,他们的字典是真的把“和”读作hàn的
中文
1
0
2
56
Lucky the Husky
Lucky the Husky@luckythehusky·
@DKWmt 甚至能找到一些台湾的资料, 也是这样规定的. 骑个拔个.
Lucky the Husky tweet media
中文
1
0
0
49
Lucky the Husky
Lucky the Husky@luckythehusky·
其实这是普通话里面应该有的变调, 现在却成了东北特色, 这也是很神奇,
中文
2
0
0
219
Ciellia
Ciellia@ll12142_A·
@DKWmt 是啊,莫名其妙就找到了,虽然是在小镇
中文
1
0
1
33
Ciellia
Ciellia@ll12142_A·
居然真的有公司肯为我这种技术力低下社恐口吃的阴湿死宅付钱耶!.jpg 太奇怪了,太奇怪了
中文
2
0
2
174
Tong Mu
Tong Mu@DKWmt·
@elct9620 @DeltonDing Weekly Review meeting骂的声音其实挺大的,而且我很难想象怎么scale
中文
1
0
0
54
蒼時弦也 @aotoki@ruby.social
@DeltonDing 目前是推 Peer Review,然後安排 Weekly 的 Review 活動帶大家看(敏捷的 Temperature Reading) 最近新加入的 Junior 有跟我反應不知道怎麼 Review,所以這樣安排讓成員熟悉要注意的地方,還有團隊偏好的做法
中文
2
0
4
289
Delton Ding
Delton Ding@DeltonDing·
Code Review 机制到后面,很快我就当起了 BDFL (Benevolent Dictator For Life, 终身仁慈独裁者)... 所以怎样才能让项目管理走向共和啊...
中文
3
0
28
3.7K