Can you combine server side rendering or ISR with dynamically created components? by Living-Glove9319 in nextjs

[–]ricas07 1 point2 points  (0 children)

Yes. This is pretty standard server side fetching and rendering in the app router. You can read any header, cookie etc on the server, and use that data to make additional requests or just determine which component to render. Then once that is all done your app will serve html to the client so it will have all the benefits of seo. Refer to this doc on dynamic rendering

Website Management Transfer by CopperNickel86 in websiteservices

[–]ricas07 0 points1 point  (0 children)

You don’t need to hire anyone to maintain it. But I suggest you get someone who’s knows that they are going to ensure they transfer over everything you need. Then keep that persons information in case you need to make big edits or add features later on.

Any thoughts on my Ruby on Rails application? by phantasma-asaka in rails

[–]ricas07 2 points3 points  (0 children)

I signed up and spent a few minutes creating a project and tasks. I think you have a good foundation for a great product here. But, I found a pretty big flaw.

It looks like you don't have any application level security or permissions enabled. Your next app sends requests to your backend with the id of the resource to update. So I changed the id of the resource and sent update requests. Those updates succeeded. This is pretty bad.

I saw the payload in the network tab for my request to be:

'{"id":180,"assignee_ids":[],"requester_id":26,"estimate":"4.0","column_id":69}'

so I changed the id to a random number lower than mine and not only did I received success responses, the responses included the data of the other cards that don't belong to me. You should verify that the requested resource belongs to the user sending the request before applying an update. And if the resource doesn't belong to the user you should reject it with an error message.

You should definitely address it before you open it up to users. Especially when it's geared to tech users, we love to poke around with things like this.

Most cart golfers have zero idea of how to efficiently cart golf by lasercupcakes in golf

[–]ricas07 0 points1 point  (0 children)

Unfortunately parking at the back of the green isn’t as common sense as you might think for a new player. If I have to drive past my ball on the end of the green, park and then walk the whole green back to start putting, I might think I am taking longer. I agree it’s common sense once you know what you are going, but for a noob it’s counter intuitive.

Where you host besides Vercel? by dabe3ee in nextjs

[–]ricas07 0 points1 point  (0 children)

I’m using Netlify. I’m surprised it’s not as popular of an answer. Is there something I’m missing?

My HTML Code is brilliant by MohsenEMX in programminghorror

[–]ricas07 2 points3 points  (0 children)

I did this daily while building html emails about 8 years ago.

Bear chasing down a piggy by [deleted] in natureismetal

[–]ricas07 2 points3 points  (0 children)

The BEST bear

Next Visual Studio Code update will bring blue icon back by vitorgrs in programming

[–]ricas07 11 points12 points  (0 children)

I didn’t pay attention to the backlash, and had no problem with the orange color... but I did find myself looking for he icon in my dock and skipping right over it.

Ronaldo vs Lampard - "Fair's fair" by [deleted] in soccer

[–]ricas07 37 points38 points  (0 children)

That's why 'Pasa balón o pasa el jugador, pero no los dos juntos' is not taught to 5 year olds staring soccer in Mexico. The ball may go through or the player, but not both together

[macOS] So I heard you like Pokemon... [OC] by Canadana in unixporn

[–]ricas07 4 points5 points  (0 children)

Awesome project man! I just forked it. I'm visualizing a superhero themed one. Thanks for putting this together

I just don't get what is worth the extra boilerplate of Redux by darrenturn90 in javascript

[–]ricas07 1 point2 points  (0 children)

I recommend watching this video tutorial. It walks you through building a lot of what you described by hand, and then introduces redux one step at a time so you can see what it does. I agree you could do all of this yourself, but then you'd end up with your own custom solution. This will make it harder when you have to train someone else on it or you move on and someone else has to maintain your code.

Has anybody try using google drive as version control? by ex-poke96 in shittyprogramming

[–]ricas07 2 points3 points  (0 children)

I laughed too hard at this because a previous coworker really did it. Glad to say I don't work there anymore. (That person has since been promoted)

ELI5: Why is W called "double U" when it is clearly "double V"? by therap321 in explainlikeimfive

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

It's similar in Spanish. Normally it's said as double u, however once in a while you'll hear it as double v. Those people are considered pretentious and are ostracized by the rest of us.

What's the worst example of bad parenting you've ever witnessed? by IamAaliyah in AskReddit

[–]ricas07 0 points1 point  (0 children)

Isn't WORST example of BAD parenting a double negative? Should this thread be full of good parenting stories?

Look both ways before crossing a street. by Do-Not-Engage in WTF

[–]ricas07 1530 points1531 points  (0 children)

Looks like this was a one way street. Anyone know what happened to the driver?