synalx Profile Banner
🦋 Alex Rickabaugh Profile
🦋 Alex Rickabaugh

@synalx

Followers
4K
Following
560
Statuses
857

Programmer, Sailor, Photographer, Engtrovert

San Francisco, CA
Joined September 2008
Don't wanna be here? Send us removal request.
@synalx
🦋 Alex Rickabaugh
11 days
@rainerhahnekamp @DanielGlejzner Another way of putting it: what we call "complexity" is often the context or mental model you need to grasp in order to become proficient with a system. You can either ask your users to pay this tax, or focus on designing systems that don't require so much context to use well.
0
0
3
@synalx
🦋 Alex Rickabaugh
11 days
@RyanCarniato Lol, our report card is in. Looks like Angular has some studying to do ;)
0
0
12
@synalx
🦋 Alex Rickabaugh
15 days
@Enea_Jahollari Isn't that just: function transient<T>(token: ProviderToken<T>): T { return Injector.create([token], inject(Injector)).get(token); }
4
1
49
@synalx
🦋 Alex Rickabaugh
23 days
@Armandotrue Yeah, that method definitely shouldn't be public...
2
0
7
@synalx
🦋 Alex Rickabaugh
23 days
@Jean__Meche Something's off about this picture. Is it AI generated? I've never seen a train that looks like that before...
2
0
18
@synalx
🦋 Alex Rickabaugh
24 days
@Armandotrue I would agree that using `new` for an injectable class is a code smell. That is, a class that is ordinarily instantiated by DI. For non-injectable classes, go for it.
2
0
11
@synalx
🦋 Alex Rickabaugh
24 days
@tomastrajan I think both are valid strategies, and conceptually different: Debounce event => application doesn't change state & UI doesn't update until the user input settles. Debounce load => application state changes & UI updates immediately, but avoid many cancelled backend calls.
0
0
11
@synalx
🦋 Alex Rickabaugh
26 days
@Jean__Meche H̵̠͓̥̱̱̤̮̫̘͕̟̳̄̂̽̈́̈́͆̋̀͑̾̾͘̚̚͠ḙ̷͕̣̗̗̗̌̽ ̵̧̲̮͚͚̫͔͖̠͓̬͚͒̀͑̈́̓́̌͛̚̕͜͠͠h̶͎̲̮͈̫̼͚̥̯̻̉̍̓̈́ͅu̸̢͕̗͇̜̠͍̟̠̫̟͆̈́̉̓ͅn̶̛̗͕̝̖͓̯͕̬̭̻̜̻̘͔͕̭͗̉̈́͌̽͗ͅg̴̲̜͇̖͍̰̘̠͎̲͙͆̓̍̒̏͜e̶̱̻̥͖̹̼͎̳̜̳̻̓͗̾̒͆̆̽̔̓̐̌̓̈̆̀͝r̸̥̟͕̞̗̩̠̺͒͊̍͑̅͋̏͂͊͛̀̊͐͝͠͝ͅͅs̴̫̼̟͙͔̤͓̥̰͙̰̋̀͜ͅ
0
0
2
@synalx
🦋 Alex Rickabaugh
26 days
@AdriftDeveloper @FerryColum @ScriptedAlchemy @Zackary_Chapple @jonathan_gelin @nullvoxpopuli +100. I've been doing some experiments using oxc. It's not possible to support all Angular codebases, but definitely a subset could be made to work.
1
0
3
@synalx
🦋 Alex Rickabaugh
1 month
@edbzn `postTask` isn't supported in all major browsers. I don't think it also provides the guarantee we need of running before rendering.
1
0
10
@synalx
🦋 Alex Rickabaugh
1 month
@nivekcode +1. This is also why I think single source of truth is misleading - `total` needs to be calculated in every code path that updates one of its factors. By definition, it doesn't have a single source of truth.
0
0
6
@synalx
🦋 Alex Rickabaugh
1 month
@nivekcode That is, I can distinguish the individual "nodes" in the graph and how they're related. The "single source of truth" model (I actually think that name is disingenuous) hides the relationship between all the individual pieces of state. It's much harder to read and reason about.
2
1
9
@synalx
🦋 Alex Rickabaugh
2 months
@sroucheray @julienrenaux They are! { and } are also valid characters in HTML text. In Angular templates though, they mean something special, and you need to escape them if you want to render the text "{{ ??? }}". @ is no different, just newly added.
0
0
4
@synalx
🦋 Alex Rickabaugh
2 months
@Armandotrue Even we don't know what it's going to look like! 😂
0
0
9
@synalx
🦋 Alex Rickabaugh
2 months
@Armandotrue I'm not saying don't have fun poking around them btw! Just that these examples aren't actual designs but instead playing with specific ideas that will be later expanded on.
0
0
4