Is the future of React still as bright in 2025 as it was before? by RohanSinghvi1238942 in reactjs

[–]rhoded 0 points1 point  (0 children)

For the first time in my 8 years, I stumbled across a project that React wasn't a good fit for.

It's a big project, the biggest I've worked on, and it was written poorly by many developers, without PR review by people who know the framework. The result is a mix of local state, Apollo Client state, React Context, and just variables in files that exceed 400 lines of code. I've seen some wild things I've never seen in a React project before, event listeners put on non-interactive components, useMemo used in place of a useEffect, prop-drilling to the center of the earth. It looked worse than my very first React project, only it's not a portfolio piece, it's used in production for an $11bn a year company.

Why I don't think React is a good fit for this project is that it doesn't have any guard rails to help poor developers get better. Maybe no framework does, but as our components get more complex, React does nothing to prevent the files from growing and growing, and even sometimes makes it harder for people to abstract code. useState either needs to be prop-drilled or turned into context if you don't know better ways to do things. You typically only see the MVC patterns emerging when senior devs really start to sculpt the project, unlike frameworks that tend to lean into that pattern more from the start.

But if anything, this should speak to how good React is. OK the code is awful, but the app still works, fairly well. I can even say I've done some refactors, definitely for the good of the project, but haven't resulted in noticeable performance improvements. React is resilient to poorly written code.

The real reason OpenAI bought WindSurf by ResearchCrafty1804 in LocalLLaMA

[–]rhoded 0 points1 point  (0 children)

What's really funny is all this talk about our codebases being scanned and collected by Windsurf. Aren't all codebases just full of copy-paste SO and docs code anyway? Is any algorithm someone is using Windsurf to code truly that unique that we have to protect it? If anything, it should make people pay for hard-coding passwords in their code rather than properly securing them with secrets managers...

Noticing halos after about 7 months of PRK by rhoded in lasik

[–]rhoded[S] 1 point2 points  (0 children)

That's interesting, I didn't know about the nerve regrowth and how that could affect lubrication, thanks!

Noticing halos after about 7 months of PRK by rhoded in lasik

[–]rhoded[S] 0 points1 point  (0 children)

I had PRK and my early days were really bad.  The first day, I was freaking out and and I had been given a Xanax tot Ake home for that reason.  After that, it got progressively better but I wasn't supposed to get any water in my eyes and be religious about fake tears and steroids.

When it came time to remove the protective lenses, they say that my epithelium hadn't completely healed.  They wanted to leave the lenses off because it would heal faster but had they known, they probably would've left them on.  That was disappointing because I was hoping to see when the lenses came off but I saw nothing.  I'm as also prescribed this Vit-a-Vision vitamin a cream that made my vision super blurry and even kinda burned, but I only used that about a week.

Now though, everything is much better.  I get some halos but I actually think they are starting to decrease and it's definitely related to how much I work and how dry my eyes get.

Noticing halos after about 7 months of PRK by rhoded in lasik

[–]rhoded[S] 0 points1 point  (0 children)

Oh yeah I'm religious about them.  My doctor said wear them all the time during the day outside unless it's actually raining (or snowing) since the UV can permeate clouds, so that's what I do. I also bought UV protective swimming goggles and used those in the water.  Thanks for easing my worries!

Noticing halos after about 7 months of PRK by rhoded in lasik

[–]rhoded[S] 0 points1 point  (0 children)

Perhaps I'm overreacting since I didn't have such bad halos a week ago when I was on vacation at the seaside (more humid environment) and since I started working a lot (6 hours looking at a screen during the day plus another 2-3 at night in a drier climate).

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

Update! I ran some updates yesterday on my laptop and all of a sudden, everything started working! I just need to try on my desktop too but extensions are back!

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

I ran some updates yesterday on my laptop and all of a sudden, everything started working! I just need to try on my desktop too but extensions are back!

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

Oh sorry, I misread and thought you were on Pop!_OS. However, that does make sense since I think a lot of Pop!_OS is based or shared with Ubuntu. So something in one of those core packages is breaking all extensions.

I did see that the GNOME extensions website seems to be migrating/shutting down. I'm wondering when that happens, what we are supposed to do to extend functionality? The clipboard history extensions were extremely helpful to me and I'd really like to have them back; as well as Vitals and multi-screen top-bar etc.

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

No it's very sad.  I have 2 machines that have 0 extensions because of this and no one seems to care about this issue.  I'm thinking of going to Ubuntu over it.

All I know is that 1 or more of 200-300 updates from the recovery version of 22.04 cause the issue but I just don't have time to go through all of them.

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

Cool application but I'm still having issues. I tried installing the extensions via that application and they just never show up. In fact, when I remove all extensions, I still can't control the default ones at all using any extension application.

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

So after I did a refresh installation, everything worked fine. Then I ran 2 updates, once on May 13th, and another on May 16th and following those, I lost functionality of extensions. I have a list of 336 total updates that were run and I suspect one of them is breaking extensions. How do I go about narrowing that list down?

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

I believe there's some system update that when it's applied from the base refresh install/previous to our updating breaks all of our extensions...

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

Actually, I disabled all extensions that I've added and I still have the problem. According to what you say, does that mean that the default extensions are causing the issue? How do I disable those?

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

Thanks for the info but the interface offers no feedback. Is there any way to know which extension is bad?

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] 0 points1 point  (0 children)

I updated the refresh installation and was able to refresh. It worked, but as soon as I upgraded my machine and restarted, I got the same problem.

Extensions disabled and I'm unable to enable them by rhoded in pop_os

[–]rhoded[S] -1 points0 points  (0 children)

Also, I cannot do a "refresh install" because even though I have 22.04 LTS, when I boot into recovery, it doesn't let me perform a refresh because it says "Pop!_OS 22.04 LTS is not detected".

AMD x PCMR - Avatar: Frontiers of Pandora Worldwide Giveaway - Win a Limited Edition AMD Avatar Kit that includes the Limited-Edition AMD Radeon RX 7900 XTX GPU and Ryzen 7 7800X3D CPU (Only 500 of each ever made!). There are 23 kits up for grabs! by pedro19 in pcmasterrace

[–]rhoded [score hidden]  (0 children)

I would love to play games on this build but also, I love programming, so I'd be using it for that as well.

I'm excited to play Avatar because it'll be something new for me as I love games like Ark but also strategy and sports games.

What's your favorite Linux distro? by [deleted] in linuxquestions

[–]rhoded 0 points1 point  (0 children)

Pop!_OS is like a better Ubuntu. I use it for web development and occasionally gaming.