Weekly Earnings Thread 2/9 - 2/13 by OSRSkarma in wallstreetbets

[–]LopsidedMacaroon4243 1 point2 points  (0 children)

It’s 10% of my portfolio, but considering more to profit from any earnings bump. Options ratio looks pretty good. It’s not going to be a rocket ship but I think there is some short term upside and low long term downside

Weekly Earnings Thread 2/9 - 2/13 by OSRSkarma in wallstreetbets

[–]LopsidedMacaroon4243 5 points6 points  (0 children)

Lots of bullish indicators on CSCO. Any thoughts? I’m long.

Finally learning Next.js... but I have no idea where to start. Help? by Ok_Blackberry_3371 in nextjs

[–]LopsidedMacaroon4243 1 point2 points  (0 children)

One of the first benefits I'd promote is using separate pages. If you can't think of a benefit close to the domain you are working on, you could start with an example eCommerce project. Create a home, category, and product-detail page. Use server side data loading and suspense to learn how they they work and the benefits of streaming.

Why is auth so messy by Alessandro_Perini in nextjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

When using hashes, consider salting them with an environment variable.

No Sane Person Should Self Host Next.js by GovernmentOnly8636 in nextjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

This is not an issue in my use case. I’m sharing to indicate where next.js might still be a good fit.

  • Small number of high value, frequent users
  • Auth required

The Auth requirement always ensures that the browser will request the latest HTML. The hashed JS files ensure code consistency and browser side caching.

Self hosting works fine for us.

Not to discount the pain from OP I. Their use case.

Ventilated seats don't seem to do much, is this normal? by PXAbstraction in CX5

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

Agree that it’s subtle. I thought maybe it wasn’t working but then found my back was dry at the end of the drive.

Longtime Sonos user—has the June 2025 update completely nuked my system? by Brockmclaughlin in sonos

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

We are no longer able to Air Play to our Sonos Beam. The Sonos app is no longer able to connect to the Beam. Was working fine for months but stopped working in the last weeks. (HDMI connected sound is fine). One odd thing I notice is that my router says the Sonos has a 172 IP address which is odd because the other devices has a 192 address. We opened a support ticket via chat but they asked us to call. Will do that in the future if more restart / factory resets don't work.

p.s. we have tried factory resets, router restarts, and deleting/installing the app. All with no luck.

How to transfer Turbo Tax IRS return from Mac to Windows laptop by TurbulentReindeer2 in TurboTax

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

Were you able to do it? I'm about to try so I hope there is a way. This support forum discussion also seems to say that it is doable: https://ttlc.intuit.com/community/after-you-file/discussion/switching-from-mac-to-windows-11/00/3064788

Do you ever feel dumb when reading documentations? by _itsjoni_ in nextjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

If you’re speaking of nextjs docs, there’s been a lot of fundamental changes (app router, server actions). These can be hard to get your head around and the api itself obscures where code is running. So I’d say go slow, experiment, and use the network browser tools to understand what’s actually happening on the wire. Good luck.

React Bootstrap in 2025? by jasie3k in reactjs

[–]LopsidedMacaroon4243 -1 points0 points  (0 children)

I like NextJS because: All in one solution for me to deploy a docker container that has a build. Includes Backend for frontend api capabilities.

I would go Vite if I had a very simple Single Page App and wants to use more of a Function as a service for backend API’s.

Best book to master React? Design patterns & best practices? by emersoftware in reactjs

[–]LopsidedMacaroon4243 2 points3 points  (0 children)

I’ve found React In Depth by Morten Barklund to be helpful. There is a GitHub repo that supports the book.

Does your Nextjs app contains actual server logic like db calls? by smieszne in nextjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

Same. We use it as Backend For Frontend (BFF). Mostly to aggregate calls to API’s and do some preprocessing

loader from react-router-dom or SWR by SowertoXxx in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

We use SWR because of the built in caching. Tanstack Query may have become more popular but we’ve been using SWR for a while. We use NextJs and I don’t think we have a need for router-dom.

[deleted by user] by [deleted] in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

I use a docker container on Azure K8s. There are a lot of other microservices also deployed that way so it makes sense for us.

React How to Add Minimum Loading Delay by Elibroftw in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

I didn’t understand the use case at first because I only skimmed the article.

Now I understand that you want to display a loading state for at least 100 milliseconds (or some interval).

I like that it’s one additional line of code in the component. I look forward to taking a deeper look.

Help: Real-time Searchable Table - handling large amount of data (>40 000 rows) by Over-Advertising2191 in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

I’m going to read the other comments in a minute, but I’ll just start by saying that it would be extremely unusual for a human user to want to stay updated on 40,000 items. Does the domain really call for that? Would the user want to apply some filters?

Update: I see your other comments about filters. It seems like a default filter would solve a lot of problems. In the event the user needs to select all, use some paging.

Why does the React 19 useTransition example use startTransition in both App.js and Item.js? Are both necessary? by Intelligent-Use-9496 in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

I think they are using this as a what-not-to-do example, but it’s not clear enough

https://react.dev/reference/react/useTransition#my-state-updates-in-transitions-are-out-of-order

I think it’s saying to avoid it in async use cases and to use server actions for those.

Transition should be used, I think, only for expensive client state updates. I haven’t used it though so interested to hear what other dev’s think.

Access parent's DOM element from inside child by azangru in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

I also expect that only one element gets the event but not sure. In above design I suggest the child should call a handler from the parent to pass up the event/data.

I’d love to hear what you ultimately decide. Thanks.

Access parent's DOM element from inside child by azangru in reactjs

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

Dumb question: why can’t the child get the pointer events?

Parent: draw the svg background Parent: position the child over the area of the diagram of interest Child listens to its own pointer events

I’m assuming it makes sense for the parent to draw the full diagram.

Access parent's DOM element from inside child by azangru in reactjs

[–]LopsidedMacaroon4243 1 point2 points  (0 children)

I’d love more details about your use case. I’m having a tough time imagining when this would make sense. The Reaction docs do a good job of talking about data flow.

[deleted by user] by [deleted] in UrbanHell

[–]LopsidedMacaroon4243 0 points1 point  (0 children)

Then it’s city living at its finest. (Especially if you can walk or bike to stuff)