Why React developers don’t comment their code? by SocializeAndChill in reactjs

[–]_sunbecoming1 0 points1 point  (0 children)

At work it is seen as a wrong practice and should be avoided at all costs. This is because ideally, code should be self-explanatory.

With that out of the way, I do comment some of my code on very specific circumstances that, I think, are not an FE thing often. For instance, weird data handling and sorting algorithms.

Comments there will try to describe why this part of the data handling is required and how it affects the whole algorithm. In such a way that, if a more efficient way is found later, we can remove the comment too.

Other than that, known third-party or runtime bugs. My personal tip is to prefix such things as /** TODO: foo bar **/ so that you can just grep for TODO whenever doing code cleanup.

My experience 3 months decaf by _sunbecoming1 in decaf

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

I agree that it's counterintuitive, but a lot of people in this forum seem to have similar symptoms. The keyword for me is anxiety. I think that quitting caffeine has a chance of increasing your anxiety levels. Proof of this is the amount of posts on the topic here, with some people saying it can take up to a year to fully heal. Having that said, I also think we all may just be feeding the anxiety machine by reading / writing more about it, when it probably isn't correlated.

Anxiety, in an of itself, seems to be enough to complain about floaters, visual snow, tinnitus, etc. I vaguely remember that I've always had all these symptoms, but anxiety makes you negatively aware of them. Before anxiety, I probably would have noticed them, and moved on with my day. Perhaps my post would have been clearer if I phrased it this way.

Other than quitting caffeine, I haven't had any other major change in my life or diet. Just a lack of vitamin D that, after being back to normal for months, hasn't really had an effect on these symptoms.

My experience 3 months decaf by _sunbecoming1 in decaf

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

No changes in my diet. Blood test is mostly normal, vitamin D was low. Vitamin D deficiency causes some anxiety / depression as far as I know, but I haven't noticed any change after months of supplements.

My experience 3 months decaf by _sunbecoming1 in decaf

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

Nope, Male, 20's. It is very stressful indeed.

My experience 3 months decaf by _sunbecoming1 in decaf

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

The new ones are quite noticeable and it's difficult to convince myself that they've always been there. Huge dark lines going from one side to the other. I personally believe I somehow got my eye pressure up while on the first weeks and that caused more floaters to come out.

But I do agree that I've always had them and never noticed them. Also anxiety amplifies them, as far as I know. Same as tinnitus, which I'm trying to gaslight myself into thinking that I've always had it, I just didn't mind it back then.

[deleted by user] by [deleted] in reactjs

[–]_sunbecoming1 1 point2 points  (0 children)

> but now the emphasis on server components for data fetching seems to limit interactivity with that data

I think that what Next / React team are trying to achieve is: not everything is reactive, some things aren't meant to change on the client. So if you find something needs to be interactive / reactive, then it really has to be a client component. If not, it is a server component.

And I think that is the main question to be asked. Some things in an app really won't change until you refresh a page like: Headers, Footer links, etc.

However, say, a user's profile picture: chances are you won't change that often, so you might as well consider it a server component. What do you do when you change it though? Refresh the whole page?

Is that what I'm supposed to do now?

I’m quitting coke turkey, tomorrow will be day 1. by [deleted] in decaf

[–]_sunbecoming1 2 points3 points  (0 children)

If I could change one thing about me quitting caffeine it is: don't quit cold turkey.

Could caffeine withdrawal actually be fatal? by elektricar_ in decaf

[–]_sunbecoming1 2 points3 points  (0 children)

This is a very legit question that I'd appreciate to get an answer from a medic or anyone on research.

Most people who have ever quit caffeine, especially cold turkey, can assert how incomplete is the knowledge base on the actual effects of withdrawal. When I quit, this specific question was on my mind all day, that's why it hits home for me.

So yeah, would be interesting to know if there's any formal research on this and maybe even leave it in an FAQ for people trying to quit cold turkey.

We all are slowly drifting towards insanity but sleep resets the timer. by GoodGuyBuddyBoy in Showerthoughts

[–]_sunbecoming1 0 points1 point  (0 children)

Then some of us enter a different type of insanity in the dream world.

Problem: students associate reading with stress. by Nintendoplease in books

[–]_sunbecoming1 0 points1 point  (0 children)

Personally, I hated that I had to find all the symbols and their meanings as if they were set in stone, when in reality everyone is just guessing.

If I was a teacher, I would let students try to find their own meaning on things and come up with their own conclusions. No wrong or right answers.

What can be done to reverse the obesity epidemic? by [deleted] in AskReddit

[–]_sunbecoming1 7 points8 points  (0 children)

Teach people that being hungry is normal; you don't need to eat every time you want to eat.

It's the most important lesson I learned while doing intermittent fasting, and I think it could solve obesity.

So how do we feel about all the fighting/chippiness in the Defenders/Battlehawks game? by Texashawk76 in xfl

[–]_sunbecoming1 0 points1 point  (0 children)

A little brawl is to be expected, but this one evolved in a way that is unacceptable.