saket

5.1K posts

saket banner
saket

saket

@saketme

android @square

Seattle, WA Katılım Aralık 2011
420 Takip Edilen7.2K Takipçiler
Sabitlenmiş Tweet
saket
saket@saketme·
🔥 Introducing telephoto, a compose library for displaying zoomable images with automatic sub‑sampling of large bitmaps: saket.github.io/telephoto/
English
17
97
738
91.6K
saket
saket@saketme·
@Glas109 but who even uses three slashes
English
1
0
0
73
mexichud
mexichud@Glas109·
@saketme Just use the three slashes or multiline dude
English
1
0
0
80
saket
saket@saketme·
@marcel_butucea It is currently hardcoded to support .kt and .java files only: #L76" target="_blank" rel="nofollow noopener">github.com/saket/intellij… Feature requests and contributions are welcome!
English
0
0
0
117
Marcel Butucea
Marcel Butucea@marcel_butucea·
@saketme Nice to see a dedicated solution for comment continuation. Does the plugin infer the comment token from the file type, or is it hard‑coded for Java/Kotlin? Would love to see it handle block comments too. 🤔
English
1
0
0
380
saket
saket@saketme·
@brenjtom Ah yeah, I keep forgetting about three slashes. Does anyone even use them though?
English
1
0
0
198
Brennan
Brennan@brenjtom·
@saketme If you use three /// it'll automatically add new lines when you hit enter
English
1
0
23
918
saket
saket@saketme·
After 2.5y of dev, github.com/saket/telephoto is nearing ~600 UI tests that verify all possible combinations of usages. It's one of the most thoroughly tested UI libraries you'll find for Android. Shout out to my friends at emulator.wtf who made them possible to maintain!
English
0
3
29
1.5K
saket
saket@saketme·
@mustafa01ali I often think about this, surprised I pulled it off given how clueless I was back then. First time landing abroad, I took a taxi from SFO to Daly City with no internet and was dropped in some random deserted area. My current 30y old self would panic just thinking about this.
English
0
0
1
102
saket
saket@saketme·
It's interesting how clearly Google vs Apple shows up in something as small as virtual devices frames. iOS simulator: sharp, natively rendered Android emulator: transparent PNG, rough corners with jagged edges
saket tweet mediasaket tweet media
English
41
48
3.2K
314.6K
saket
saket@saketme·
@TechHighest Depends on the device profile I guess? My screenshot was taken with a Pixel 10 Fold. Here's another with Pixel 8:
saket tweet media
English
1
0
27
12.1K
Highest
Highest@TechHighest·
@saketme I went to double check and no? That's not true?
Highest tweet media
English
3
0
45
16.1K
saket
saket@saketme·
@csinco Was 9-patch ever considered? 😋
English
0
0
0
573
Chris Sinco
Chris Sinco@csinco·
@saketme It’s part Qt, part folks not willing to listen to me saying we can literally draw these in code now. What are we doing…
English
1
0
6
655
Dy ✻
Dy ✻@evowizz·
As it happens some people learned this in school! I sadly did not. It's a relatively easy concept to understand. That being said most people still don't know about it very much because most systems would rather avoid confusing users than teaching users.
English
1
0
1
194
Dy ✻
Dy ✻@evowizz·
Today I finally looked into size formatting. Maybe I'm the last to fully understand this but: 1 GB (decimal) is not the same as 1 GB (memory). It means that 16 GB of file download is 1000 MB x 16, and 16 GB of RAM is 1024 MB x 16. Here's the thing. You may think that 256GB of storage means 1024 MB x 256. But it actually means 1000 MB x 256. It's funny, because it means you actually have 238 GB in binary. So to differentiate these, in 1998 the International Electrotechnical Commission (IEC) created new names for binary units. When talking about memory, instead of writing 16 GB of RAM, we should write 16 GiB of RAM. GiB stands for "Gibibyte". The thing is, very few systems and people are using Mebibytes, Gibibytes, Tebibytes, etc. But the majority of people don't know that 1 GB can represent 2 distinct values depending on which unit is used. So essentially we're stuck with GB meaning two different things, and a fix almost nobody adopted.
English
1
1
14
550
saket
saket@saketme·
@nirbheek This is different, right? In India we pay both rent _and_ deposit.
English
1
0
0
198
निर्भीक चौहान
You also see this in India. Always in areas where there's a high chance of renters squatting and not paying rent. The deposits are insurance against that, and usually are ruinous for the renters. They end up having to take loans from loan sharks. It's a sign of a weak judicial system and low trust in the housing market. It's not some amazing invention for the benefit of renters.
Èyítànwá (토이바) 🇳🇬🇰🇷@mus_toyy

Korea has a housing system that makes foreigners' brains stop working. It's called 전세 (jeon-se). You give the landlord a massive deposit — like ₩200,000,000 to ₩300,000,000. Then you pay ZERO rent. Every month. For 2 years. (You still pay utilities and maintenance fees — but zero rent.) When you move out? You get the ENTIRE deposit back. "Wait. So you just... live there for free?" Basically, yes. The landlord invests your deposit and keeps the returns. "And you get ALL of it back?"

English
2
1
18
6.7K
saket
saket@saketme·
@android_poet Do you have examples? This hasn't been my experience, but probably because the core Android dev community isn't really here anymore. Most prominent developers have migrated to Bluesky, Mastodon, and Slack since Elon took over Twitter.
English
0
0
5
168
Ranbir Singh
Ranbir Singh@android_poet·
Why does the Android community feel so self-obsessed? Nobody really helps each other. In many other tech communities, people openly support and share knowledge.
English
8
3
43
3.7K
saket
saket@saketme·
@csinco @adhidesign Yep yep I'm using this as a reference. Though it only supports two actions, which makes sense for watches, so I'll have to figure out the right design for beyond that on larger displays.
English
0
0
2
59
saket
saket@saketme·
Did Google ever release this swipe component as part of Material Design?
saket tweet media
English
9
0
28
13.3K
deekay
deekay@deekaymk·
@saketme Huh, this was implemented literally half year ago mate.
English
1
0
0
45
saket
saket@saketme·
@mitch_tabian I guess you've already considered moving them to YouTube?
English
1
0
0
463
Mitch Tabian
Mitch Tabian@mitch_tabian·
@saketme The server and videos hosting fees are exceeding the income now. So probably not.
English
1
0
1
976
Mitch Tabian
Mitch Tabian@mitch_tabian·
Codingwithmitch.com will most likely be shutting down at some point this year. I've been at Block for 4.5 years now and I have no plans to produce new content any time soon for codingwithmitch. Thanks for the great years!
English
26
4
179
11K
saket
saket@saketme·
@evowizz > honestly it wouldn't be that difficult Haha. This is actually how I originally started building the library. If you have multiple swipe actions on either side, the effort to display them and identify their selections is so high that you might as well build from scratch.
English
1
0
1
52