Alexandre Dieulot

1.5K posts

Alexandre Dieulot banner
Alexandre Dieulot

Alexandre Dieulot

@Dieulot

Interaction to next page

Pau, France Katılım Eylül 2011
20 Takip Edilen508 Takipçiler
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@blue2blond @ID_AA_Carmack @t3dotgg Here’s my implementation: #L263" target="_blank" rel="nofollow noopener">github.com/instantpage/in… (disabled by default as it messes with other JavaScript events, and it’s not widely tested)
English
0
0
0
29
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@blue2blond @ID_AA_Carmack @t3dotgg I’m referring to just triggering click on mousedown, to be clear. You can make mousedown progressive enhancement: mousedown, if it happens, triggers click. Click works normally, except it’s prevented if it was already triggered by the mousedown hackery.
English
1
0
0
32
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@tunetheweb Even same-origin is naively believed to be a problem. uBlock Origin has intended to block prefetching for ages (mainly for cross-origin I believe) but the setting was broken in Chromium until ~2 years ago. 😅
English
0
0
0
45
Barry Pollard
Barry Pollard@tunetheweb·
@Dieulot Ah. Well uBlock Origin extension also blocks Speculation Rules (which causes it's own confusion btw!). This API is mostly intended for (and of most benefit for) same-origin navigations but even with cross-origin it's more privacy preserving than <link rel=prefetch/prerender>.
English
1
0
0
62
Alexandre Dieulot retweetledi
John Carmack
John Carmack@ID_AA_Carmack·
Act on press This is a UI design hill I will die on, and it dismays me how often and hard I have had to fight for it. Almost all interaction methods have a “press” and “release” event associated with them. Whenever possible, you should “do the thing” when you get the press event instead of waiting for the release event, because it makes the interaction feel substantially more responsive, and it reduces user errors by not allowing the focus to slide out of the hot box between press and release. Even a “ballistic tap”, where your finger is intentionally bouncing off the button or touch surface, involves several tens of milliseconds delay between the press and release, and most button presses have well over a hundred ms dwell time. There is a delight in interfaces that feel like they respond instantly to your wishes, and the benefit to every single user is often more important than additional niche features. Game developers, with simple UI toolkits, tend to get this right more often, but “sophisticated” app designers will often fight hard against it because it is mostly incompatible with options like interactive touch scrolling views, long press menus, and drag and drop. Being able to drag scroll a web page or view with interactive controls in it is here to stay, and nets out way better than having to use a separate scroll bar, but there are still tons of fixed position controls that should act on press, and it is good UI design to favor them when possible. In the early days of mobile VR, the system keyboard was a dedicated little OpenGL app that responded instantly. With full internationalization it became prudent to turn it into a conventional Android app, but the default act-on-release button behavior made it feel noticeably crappier. The design team resisted a push to change it, and insisted on commissioning a user study, which is a corporate politics ploy to bury something. I was irritated at how they tried to use leading questions and tasks, but It still came back one of the clearest slam-dunks I have seen for user testing – objectively less typos, expressed preference, and interview comments about the act-on-press version feeling “crisper” and “more responsive”. So, I won that one, but the remaining times I brought it up for other interfaces, I did not, and you still see act-on-release throughout the Meta VR system interfaces.
English
404
733
6.3K
2.6M
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@yoavweiss Yep, the idea of using a one-liner cross-origin import() in a safe and non-blocking way is appealing.
English
0
0
0
136
Yoav Weiss
Yoav Weiss@yoavweiss·
Trying to gather a web developer signal - do y'all care about subresource integrity for dynamic imports?
English
6
4
7
7.5K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@TimVereecke @stoyanstefanov Thanks. Do you know how much perf you’d be losing without caching with instantpage/specrules? My general recommendation for dynamic pages is to disable or drastically reduce caching, hoping that just-in-time preloading has the same benefit as caching in 90%+ of cases.
English
1
0
1
35
Ahmad Shadeed
Ahmad Shadeed@shadeed9·
I'm refactoring some CSS and I feel happy each time I use CSS :has() to replace old CSS. :has() is one of the best CSS features 👌🏼
English
7
5
97
12K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@firt I love how it often doesn’t register the last key I type in the address bar on a 2020 Intel Mac. (I use it sparingly.)
English
0
0
0
32
Maximiliano Firtman
Is it just me or Safari 17 on macOS is becoming unusable as main browser? After a few hours of usage: 1) I have several ghost tabs, they have a title and favicon but no loaded page inside 2) videos don't get played anymore 3) background tabs are reloaded on every return
English
2
0
8
2.1K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@jasonfried Do you have a fleshed out rationale for putting icon labels on the right? It weakens usability as it makes your eyes zigzag.
English
0
0
0
36
Jason Fried
Jason Fried@jasonfried·
One of the things we're aiming to do with ONCE.com products is make them as worldwide-ready as possible, right out of the box. This means using universal icons and self-explanatory concepts/UI everywhere we can, but, when words are absolutely necessary, we cycle through translations in-place. This way we don't need distinctly localized versions or extensive language packs. Rather, a single version is universally localized in the most common languages, with no configuration required. For example, here's the password field in our first upcoming ONCE product.
English
39
11
215
97.3K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@vatsal_manot @krzyzanowskim When I tried to figure out why entry-level AppKit books were so sparse/outdated, I stumbled upon one of the big macOS publishers explaining that “unfortunately the market is complicated”. For entry-level books with no competition. 🤯
English
0
0
0
78
Vatsal
Vatsal@vatsal_manot·
Are people still writing high-quality blogs/books on macOS app development in 2023?
English
5
2
22
8.2K
Thierno Thiam
Thierno Thiam@localhost_droid·
Prefetching techniques can improve page load time and positively impact business metrics. Learn how prefetching helped Terra increase ads click-through rate by 30% and speed up Largest Contentful Paint. by @mobtec and ⁦@localhost_droidweb.dev/terra-prefetch…
English
2
20
35
6.5K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@anatudor I can’t imagine an icon succesfully communicating “default theme”, so just text. (In which case those options would need to be separated by a vertical bar or something.)
English
0
0
0
152
Ana Tudor 🐯 (find me on Bluesky/ Mastodon)
So... you'd use ☀️ for light theme, 🌙 for dark theme... what icon would you use for auto/ default? Very serious question, btw. I can code it, I'm stuck on what icon to pick...
English
7
0
9
5.3K
Ana Tudor 🐯 (find me on Bluesky/ Mastodon)
@LukyVJ You start by opening the image in a new tab, bringing up Firefox DevTools... twitter.com/anatudor/statu… Quick & dirty midnight version codepen.io/thebabydino/pe…
Ana Tudor 🐯 (find me on Bluesky/ Mastodon) tweet media
Ana Tudor 🐯 (find me on Bluesky/ Mastodon)@anatudor

@alialmossawi These 2 below are why @FirefoxDevTools rocks! When I want to reproduce a visual, I measure sizes/ pick out palettes with it. But my tweet was about the "trying to center a <div>" is complicated myth. It isn't, it's just that those most in need of good resources can't find them.

English
1
2
3
1.9K
Alexandre Dieulot retweetledi
Domenic Denicola
Domenic Denicola@domenic·
Here are the slides I presented this week on speculative loading (prefetch and prerender): #slide=id.gc6f9e470d_0_0" target="_blank" rel="nofollow noopener">docs.google.com/presentation/d… They include performance data on how beneficial these features are, from some partners and from Chrome's own in-the-wild metrics!
Domenic Denicola tweet mediaDomenic Denicola tweet media
English
1
11
34
7.7K
Alexandre Dieulot
Alexandre Dieulot@Dieulot·
@HenriHelvetica Did that 7+ and its aging battery throttle for you? My 6s+ throttled hard, even for simple stuff like typing. Ludicrously bad.
English
1
0
0
50
Henri Helvetica 🇭🇹 👨🏾‍🚀 🚀
After what feels like an eternity + 1 day, I'm going to finally replace my iPhone 7 Plus. Deciding between (in likely order): 15 Plus, 14 Plus or 13 Pro Max. I don't mind the idea of usb-c on the 15, giving it an edge on the 14 + can also get a 13 Pro Max refurb'd from Apple 🤔
English
3
0
2
1.8K
Barry Pollard
Barry Pollard@tunetheweb·
@Dieulot :-( Perhaps not surprising as does seem a little late to be honest given it'll be released soon.
English
1
0
0
63
Barry Pollard
Barry Pollard@tunetheweb·
“Enabled Fetch Priority by default” Woo hoo! Just in time for Safari 17?
Cork, Ireland 🇮🇪 English
2
8
28
7.1K