mfpears Profile Banner
Mike Pearson.ts Profile
Mike Pearson.ts

@mfpears

Followers
2K
Following
77K
Media
747
Statuses
12K

Reactive code saves lives. #StateAdapt, #Angular, #React, #Svelte, #SolidJS, #Qwik https://t.co/EBhAIFbSlQ

Eagle Mountain, UT
Joined August 2014
Don't wanna be here? Send us removal request.
@mfpears
Mike Pearson.ts
2 years
Let's take a moment to reflect on how much our lives improved because of Prettier.
3
1
26
@mfpears
Mike Pearson.ts
8 months
@MKBHD Yeah I remember being pretty stoked when Android allowed positioning icons anywhere on the homescreen in 2009.
63
112
6K
@mfpears
Mike Pearson.ts
1 year
@eyeslasho I love how some exaggerated facial expressions can just erase decades of data.
2
17
2K
@mfpears
Mike Pearson.ts
1 year
@mynamebedan The sound of rushing water makes them want to take their anger out on trees.
2
10
793
@mfpears
Mike Pearson.ts
1 year
@eyeslasho When a multiple exceeds 100% its shouldn't be represented as a percentage. It is dramatic and hinders understanding. Just say 6,000 times more. But holy crap.
9
12
615
@mfpears
Mike Pearson.ts
3 years
@JoshuaDWebster @growing_daniel I've stayed in 10+ Airbnbs now in 5+ states, and half of them were dirtier than the dirtiest hotel I've stayed in, despite all of them having cleanliness ratings of 4.5+/5.0. People hesitate to give accurate ratings because hosts are nice.
7
5
506
@mfpears
Mike Pearson.ts
2 years
@ikirigin @paulg What were you expecting for the murder rate? This is exactly what I would have guessed based on the other 2 curves.
10
2
418
@mfpears
Mike Pearson.ts
2 years
@OliLondonTV This will be overturned. But the fact that it passed is an un-American abomination. Having opinions is a sacred, inalienable human right, whether or not it hurts feelings. The people supporting this have the emotional development of toddlers. Severe, volatile fragility.
8
14
409
@mfpears
Mike Pearson.ts
1 year
@DothanDave @lporiginalg Can't believe this is a real headline.
3
1
408
@mfpears
Mike Pearson.ts
1 year
@JohnNewtoner @TPointUK Arresting someone for words shouldn't even be an option. Disgusting government.
2
12
398
@mfpears
Mike Pearson.ts
2 years
@cb_doge People are still going to call them tweets.
7
1
263
@mfpears
Mike Pearson.ts
7 months
@MKVRiscy I've had Samsung for 6 or 7 years and have never seen this. Is this real?.
3
0
222
@mfpears
Mike Pearson.ts
1 year
@AirCanada I was gonna be annoyed at cancel culture, but dang. This is pretty bad
@ezralevant
Ezra Levant πŸπŸš›
1 year
Mostafa Ezzo is a pilot with Air Canada, flying their 787s. That's the plane Air Canada flies to Tel Aviv. They should probably keep him off of that route. Just to be safe.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
37
24
216
@mfpears
Mike Pearson.ts
1 year
@MarioNawfal They care so much. They almost thought about not taking them hostage to begin with.
28
0
201
@mfpears
Mike Pearson.ts
2 years
@growing_daniel I'm glad GitHub protected our impressionable minds from the concept of mastery and master versions of things. Could you imagine going back to those cruel days? Luckily, nobody can question this naΓ―ve linguistic supremacy when it's in the service of self-righteous desperation.
1
2
209
@mfpears
Mike Pearson.ts
1 month
Angular in 2025 is React in 2020.
Tweet media one
9
13
208
@mfpears
Mike Pearson.ts
7 months
@t3dotgg Coding saves lives. One time I was able to give ridiculously long delivery instructions in a Domino's order.
2
1
195
@mfpears
Mike Pearson.ts
2 years
@TegativeWasEpic @spectatorindex Would you rather SpaceX never donated their services, which cost them 100 million? Name a company that has given more.
7
1
172
@mfpears
Mike Pearson.ts
11 months
@eyeslasho The United States should treat these countries the same as it treats North Korea. Human rights are human rights.
7
5
175
@mfpears
Mike Pearson.ts
9 months
@Anthony_Bonato It should just be part of other courses. Pretty boring topic by itself imo.
2
1
161
@mfpears
Mike Pearson.ts
1 year
@cookiebot4521 At least you recognize it as radical. Kids are their parents', first and foremost. It's not up to you to make decisions for them. There are ways of reporting abuse if you suspect it, but even public school can be quite abusive too and fail expensively at its intended purpose.
18
0
148
@mfpears
Mike Pearson.ts
2 years
@dhh @yukihiro_matz I've only seen his opinion from people who either 1. Maintain libraries more often than they use libraries, or 2. Have never tried TypeScript for more than a day.
5
2
153
@mfpears
Mike Pearson.ts
2 years
@DrEliDavid Or you could actually do the math and stop spreading lies.
5
1
148
@mfpears
Mike Pearson.ts
1 year
@DavidZipper This truck will hurt fewer pedestrians per mile driven than any other truck. Tesla has the best collision avoidance software out of any company.
33
0
145
@mfpears
Mike Pearson.ts
2 years
New article!.
7
36
139
@mfpears
Mike Pearson.ts
4 months
@Austen There's 0% probability that the person who wrote this has a BMI under 30.
2
0
135
@mfpears
Mike Pearson.ts
1 year
@CMWAshby Wow. Took me a while to understand what they were even saying.
0
0
124
@mfpears
Mike Pearson.ts
5 years
@cleantechnica @elonmusk Most accidents occur in scenarios in which Autopilot current isn't available, don't they? I would like to see comparisons of just highway driving with and without autopilot.
9
2
114
@mfpears
Mike Pearson.ts
1 year
@NaturalAmerica @kirawontmiss Anywhere that doesn't have free speech is the bad guys.
15
0
103
@mfpears
Mike Pearson.ts
2 years
@angular If anyone is annoyed at this and having a hard time understanding why Angular is exploring fine-grained reactivity other than #RxJS, I was in the same boat a few months ago. This article I wrote might help you understand why this is an important
5
21
110
@mfpears
Mike Pearson.ts
2 years
I changed my mind. I still love #RxJS, but I also see an important place for signals in #Angular. At first I was angry at Angular for not just embracing RxJS more, then .@RyanCarniato (who probably invented signals) changed my mind.
10
21
111
@mfpears
Mike Pearson.ts
2 years
The frameworks have converged to similar primitives. React has custom hooks, SolidJS has custom signals, and I believe Svelte is working on composable reactivity. So what about Angular and Qwik?
Tweet media one
15
11
106
@mfpears
Mike Pearson.ts
8 months
0
0
106
@mfpears
Mike Pearson.ts
1 year
@growing_daniel I went around with a Japanese guy who had me saying stuff like "koneshiha" instead of konnichiwa and that made a lot of people laugh. It's easy to be a clown as a gaijin in Japan.
1
0
90
@mfpears
Mike Pearson.ts
1 year
@TaraBull808 @elonmusk This would be bad. What if you want to take a break from seeing someone's posts but don't want to hurt their feelings? Now they'll know you muted them. It's mind-blowing how disconnected from users these decisions are. Nobody gets _everything_ right.
20
4
89
@mfpears
Mike Pearson.ts
1 year
@jullerino Yes. !(A | B).=.!A & !B.
6
2
92
@mfpears
Mike Pearson.ts
2 years
@TheOnion Satire account regains widespread popularity and relives glory days after targeting extremely niche audience that confuses conservatives for national socialists.
21
0
77
@mfpears
Mike Pearson.ts
1 year
@izs It's popular to hate on hard things, even when they're good for you.
2
0
88
@mfpears
Mike Pearson.ts
1 year
@spoon_rich86493 @nmcdnyc @JustANinerFan49 @OliLondonTV OMG you have to go that far back and they're not even Israeli kidnappers?.
3
1
79
@mfpears
Mike Pearson.ts
2 years
@JamesEsses Such a waste of human time, attention, emotion, etc. Could be replaced with 2 much more important lessons:.1. Accept the things about yourself that you cannot change. 2. Do the same for others.
4
2
80
@mfpears
Mike Pearson.ts
16 days
@OpenAI How about multiple profiles I can select from depending on the topic/question?.
8
1
89
@mfpears
Mike Pearson.ts
6 months
@MKBHD I'm also scraping from your channel, but at a much slower rate. About 1 hour of video per 40 minutes.
4
0
81
@mfpears
Mike Pearson.ts
1 year
@engineers_feed Toxoplasmosis gondii infects 11% of people aged 6+ in the United States, and it influences their political opinions.
8
3
77
@mfpears
Mike Pearson.ts
1 year
@mhdksafa Release the hostages.
9
3
71
@mfpears
Mike Pearson.ts
1 year
You should learn RxJS for some scenarios, and when you know RxJS, promises are completely redundant. The RxJS example could have looked like this:. course$ = this.coursesService.loadCourseById(id);.lessons$ = this.coursesService.loadAllCourseLessons(id);. That's it. In reactive.
@AngularUniv
Angular University πŸ…°οΈ
1 year
Angular Mistake #4:πŸ›‘STOP Avoiding Using Promises #Angular
13
3
76
@mfpears
Mike Pearson.ts
1 year
@pcerdagosselin @githii "United States" is somehow less specific. Mexico's full name is "United Mexican States." Lots of states are united.
5
0
72
@mfpears
Mike Pearson.ts
8 months
@justinhj @miniapeur Someday this tweet may be readable.
2
0
70
@mfpears
Mike Pearson.ts
2 years
Thank you @angular for pushing TS on everyone back in 2016. That was the single best decision you ever made. I was skeptical, but it took only a few minutes to fall in love. It dramatically improved my development experience, as well as that of millions of other developers.
2
3
73
@mfpears
Mike Pearson.ts
3 years
@JoshuaDWebster @growing_daniel I once spent 6 hours cleaning an Airbnb that was rated 4.8 in cleanliness by 20+ people. I took this pic of the bedding but every surface in the house was covered in hair. After that I decided on this rule: hotels for stays < 7 days, Airbnbs for longer stays.
Tweet media one
3
1
66
@mfpears
Mike Pearson.ts
2 years
#Angular developers should still use #RxJS. Signals are not good at what RxJS is good at: declarative async logic. The best way to conceptualize this change is like it's detaching the async pipe from templates. It will make using RxJS in Angular very nice.
8
10
71
@mfpears
Mike Pearson.ts
2 years
#Angular devs: What benefits do you ACTUALLY get from having component classes? I haven't seen any. Inheritance? Very rare, can just call a function. Implementing interfaces? I've only seen lifecycle methods, and it's boilerplate and less intellisense than calling hooks.
30
6
72
@mfpears
Mike Pearson.ts
18 days
Angular was once THE RxJS framework. It was strongly encouraged by both members of the team and GDEs. When the Angular team achieves its goal of removing RxJS as a dependency, what does that mean for RxJS?. Did it blow its best opportunity?. This is the topic of my next article.
9
8
74
@mfpears
Mike Pearson.ts
3 months
@PatrickJS__ 15% of what?.
3
0
72
@mfpears
Mike Pearson.ts
1 year
The Angular team needs to see evidence that using RxJS in Angular could indeed be a much simpler experience than it has been. They're already making it easier, but it needs to be much easier. To that end, I'm going to first write an article called RxJS: The Good Parts. After.
11
4
71
@mfpears
Mike Pearson.ts
1 year
The reason I changed my mind about signals is because RxJS is truly bad at synchronizing states efficiently and ergonomically. But there are other things for which it is currently the _only_ good tool. Angular supporting developers who don't want to use RxJS feels like worse.
12
12
70
@mfpears
Mike Pearson.ts
9 months
@kentcdodds @TechnoTone It prevents some, which is WAYYYYYY better than none.
1
0
67
@mfpears
Mike Pearson.ts
3 years
Tweet media one
1
0
62
@mfpears
Mike Pearson.ts
10 months
@aschmelyun websites, sure, applications, please please no, I beg you as a user, change your ways.
5
0
66
@mfpears
Mike Pearson.ts
1 year
@lorrgray80 @JossSheldon @Stigkk The only thing the Palestinians are owed is the complete annihilation of Hamas and the prevention of any future terrorist government from being formed for eternity.
9
0
62
@mfpears
Mike Pearson.ts
8 months
@BarrierXI @JonasTyroller Neurons? Basically.
1
0
65
@mfpears
Mike Pearson.ts
2 years
@RalphEmmers @ender_again @growing_daniel Thinking blocking has anything to do with free speech. Lol.
2
0
57
@mfpears
Mike Pearson.ts
5 months
Mark my words. In a year or so most new #Angular projects will have one of these:.- Angular Query.- Something like Angular Query but in the framework itself.- Heavy use of RxJS. More people should already be using Angular Query!. I don't see a ton of content out there for it
Tweet media one
Tweet media two
@mfpears
Mike Pearson.ts
5 months
@brandontroberts RxJS or Angular Query. This has the problem RxJS' switchMap famously solves. Change the route multiple times and requests aren't canceled and results may be out of order. todo$ = toObservable(.pipe(switchMap(. todo = toSignal(. .
12
3
63
@mfpears
Mike Pearson.ts
2 years
@dixonary_ Yeah they're the same except one UX sucks and the other is smooth and nice.
3
0
57
@mfpears
Mike Pearson.ts
2 years
@dannagal Science dies without competent science communication and funding.
2
1
57
@mfpears
Mike Pearson.ts
2 years
@ConceptualJames Each dot on that monument represents 1500 people who died because of his religion.
6
1
54
@mfpears
Mike Pearson.ts
2 years
@EMundayAu @dhh @yukihiro_matz Nope. Every single person I know who writes high quality JavaScript is using TypeScript now. Personally, have you used TypeScript on a typical project for a week or more?.
6
0
59
@mfpears
Mike Pearson.ts
1 year
@HarbMaitham @jennineak No matter what happened before 10/7, what happened on 10/7 was unjustified. Literally nothing could have justified it.
2
0
56
@mfpears
Mike Pearson.ts
1 year
@bannedyoangel So sick of the TikTok sound.
2
1
56
@mfpears
Mike Pearson.ts
1 year
data$ = filters$.pipe(. switchMap(filters => fetchData(filters)),.);. P L E A S E L E A R N T H I S.
8
5
61
@mfpears
Mike Pearson.ts
3 years
@isabelleboemeke Nuclear has a place for a few more years, but solar cost is decreasing 80% per decade. Nothing else will be competitive by 2035. Energy will be practically free because of the reactor in the sky.
50
0
56
@mfpears
Mike Pearson.ts
4 months
@iconredesign @ChristianSelig Their track record of delivering extremely good products?.
3
0
60
@mfpears
Mike Pearson.ts
1 year
@MnarMuh Why do people get to just take over public roads?.
5
2
54
@mfpears
Mike Pearson.ts
1 year
@SawyerMerritt What if there's an emergency? Screw this.
2
0
49
@mfpears
Mike Pearson.ts
1 year
@DanielGlejzner This is my favorite argument
Tweet media one
4
5
58
@mfpears
Mike Pearson.ts
2 years
@Coach_BrettB The ability to see things from other people's perspectives. It's the key to writing, speaking, negotiating, serving, and educating. The key to that? The ability to let go of your own life, even if only in imagination and for short periods of time.
3
0
57
@mfpears
Mike Pearson.ts
9 months
If you're an #Angular developer. And you need data. And that data requires a parameter that changes. Use switchMap. 1. Avoid bugs by always having latest data.2. Cancel unused requests.3. Structure your code reactively.
4
2
58
@mfpears
Mike Pearson.ts
1 year
@lporiginalg Classic
Tweet media one
4
0
54
@mfpears
Mike Pearson.ts
2 years
@github Start a side project and get people to care about it without first being famous or working for a famous company.
1
3
50
@mfpears
Mike Pearson.ts
1 year
The web development industry almost entirely missed the point of Flux and unidirectionality. Most modern React, SolidJS, etc apps are MVC. Which isn't a problem for simple apps. But when features have to be complex, it helps to know the most fundamental lessons of the industry.
3
9
53
@mfpears
Mike Pearson.ts
2 years
@kylegriffin1 Good people don't make baseless accusations like this.
6
0
50
@mfpears
Mike Pearson.ts
2 years
I came up with a way to efficiently share signals in Angular.
2
8
51
@mfpears
Mike Pearson.ts
1 year
@historyinmemes Any system that doesn't abide by "innocent until proven guilty" is barbaric.
3
3
50
@mfpears
Mike Pearson.ts
8 months
@PanteaPeyvandi @sentdefender He obviously didn't see who had the knife.
4
0
53
@mfpears
Mike Pearson.ts
1 year
@cremieuxrecueil The first statement was clearly written by somebody who doesn't understand loyalty the way most conservatives do. It is not anti-semitic.
3
0
45
@mfpears
Mike Pearson.ts
1 year
@emanuelmaiberg @NintendoAmerica I think we should stop holding AI generators responsible for the stuff people are generating with them. They're already so nerfed.
1
0
49
@mfpears
Mike Pearson.ts
2 years
How it started: An article about the value of #RxJS compatibility in frameworks like #Qwik, even if they have signals. How it ended: A rant about #Angular's terrible RxJS support. I'm sorry, but I've wanted to say these things for a long time.
4
17
51
@mfpears
Mike Pearson.ts
2 years
@berserksun @elonmusk @ExposingBiden @MUSCkids The adults encouraging this are worse than child molesters. History will despise them someday. Every psychologically healthy person today already does. The irreversible damage being doing is tragic.
4
0
48
@mfpears
Mike Pearson.ts
1 year
@ramseyboltin @mynamebedan It's probably true .
2
1
46
@mfpears
Mike Pearson.ts
8 months
Reminder: RxJS is awesome.
@dmitryaefimenko
Dmitry Efimenko
1 year
@icarusgkx This is how you set an interval in #angular. No need to clean up - it's automatic 😎
Tweet media one
1
4
47
@mfpears
Mike Pearson.ts
3 months
@deedydas It's ridiculous to use "entropy" to describe language verbosity. doThing(). and. doThingButWithALongName(). contain the same amount of information. Entropy increases with character count only if every variation in character choice belongs to the same macrostate. But if the.
5
1
47
@mfpears
Mike Pearson.ts
1 year
@jennineak Be better than this. Recognizing only one side's tragedies is only going to make the conflict worse. There are innocent Jews being physically attacked too.
29
0
46
@mfpears
Mike Pearson.ts
1 year
Most Angular devs have no idea how simple RxJS can be. Angular's past integration was most of the challenge. Thinking reactively was the rest. The incredible thing is how many Angular developers love RxJS _despite_ these challenges. That's because it really is valuable.
7
2
50
@mfpears
Mike Pearson.ts
1 year
@eyeslasho Nothing could have justified 10/7 and Israel has done more than required by international law to avoid civilian casualties, but the death of Gazan civilians is Hamas' precise aim. It's why they started a war they could not win.
5
0
47
@mfpears
Mike Pearson.ts
1 year
@EndWokeness Wow, look how many people thought I was being serious.
38
0
47
@mfpears
Mike Pearson.ts
2 years
Avoiding #RxJS in #Angular to make code easier for junior devs to understand is like avoiding breaking out functions. In the long run, it has the opposite effect. What's easier to understand, imperative spaghetti, or the separation of concerns only possible with reactivity?
Tweet media one
4
7
44
@mfpears
Mike Pearson.ts
2 years
This is exactly what I was afraid I'd see when I first heard that the Angular team was decoupling from RxJS. The code on the right is objectively worse, unless you're too lazy to try to understand the super cryptic operators like `takewhile` or `concat`.
@trungvose
Trung Vo
2 years
Received an excellent PR to migrate from Observable to Signal for #angulartetris. πŸ’― However, I believe some areas should stick with the rxjs implementation. Check out the screenshots comparing both implementations for LogoComponent. πŸ”— PR:
Tweet media one
7
5
47
@mfpears
Mike Pearson.ts
2 years
6
0
42
@mfpears
Mike Pearson.ts
9 months
The Angular team has a job that I couldn't do. It is very intellectually demanding and requires a very strong computer science foundation. They should not be held to the same standards as influencers in the community, who in theory specialize in helping the community digest what.
3
3
46
@mfpears
Mike Pearson.ts
3 years
@nypost Calculus should be an alternative. I don't know anyone who knows calculus who struggles with finance.
38
0
38
@mfpears
Mike Pearson.ts
2 years
I just released #StateAdapt 1.0.0. It isn't perfect, but I've tested StateAdapt on 30+ projects and think it's good enough. Please give me feedback on the documentation. I will be creating more tutorials soon. #Angular #React #Svelte #SolidJS.
Tweet media one
4
11
45
@mfpears
Mike Pearson.ts
2 years
Tried #Qwik for 4 hours now. Mostly figured out how to write declarative async code. Amazing things are possible with this library. It's not what I expected. It's very, very similar to React. I wanted RxJS, but it's unnecessary in Qwik, like in React. Articles coming (eventually).
1
5
45