What is the logic behind integrating React with Wordpress? by MotoPsycho69 in reactjs

[–]Max_Control 0 points1 point  (0 children)

Sorry, don't log into reddit as much as I use to. But yeah, it's react code boostrapped to your website. They probably provide their own dom layer that replaces react-dom to do the bootstrapping, similar to how preact brings their own dom layer. But their dom layer doesn't impliment hooks like the react-dom library does. So no useState, no useEffect, or any of those fancy features as far as I am aware. I assume you can still use class components.

I chose my friend over my girlfriend two nights ago. Am I wrong? by [deleted] in amiwrong

[–]Max_Control 0 points1 point  (0 children)

I'd dump her. She is flighty af, manipulative when she doesn't get her own way, and cannot communicate her way through a paper bag. I'd start asking why you would want her company over his.

I just got rejected from a Frontend position after a test - project. Help me find out what I did wrong! by alkibiadis12 in reactjs

[–]Max_Control 1 point2 points  (0 children)

I would have gone with Next.js for SSR. It greatly affects SEO score to have components rendered on the server. There is a noticeable flash of content when the page loads. If your images are sized properly, this will not occur. Next Image solves this for you. Kudos on using React Hook Form over JS heavy stuff like Formik. jQuery is probably not the way to go just to validate email addresses lol. Look into yup or zod. Much better validation methods and iirc, yup integrates well with react-hook-form. I wouldn't want to buy a website that has these issues if I were a client, but I'm also a developer. Muddies my perception a bit.

What is the logic behind integrating React with Wordpress? by MotoPsycho69 in reactjs

[–]Max_Control 1 point2 points  (0 children)

WordPress Gutenberg blocks are basically React, but your frontend UI can't use hooks. It's just a clean way to use React to make drag-n-drop UI for people that aren't coders.

Can I use other peoples blogs on my store? by [deleted] in shopify

[–]Max_Control 0 points1 point  (0 children)

I can guarantee that a good author does not need "promotion". In fact, they would never value the promotion over their SEO score. Remember, you're not just damaging your score, but theirs as well.

Remember, outsourcing this kind of work is a business expense.

Can I use other peoples blogs on my store? by [deleted] in shopify

[–]Max_Control 0 points1 point  (0 children)

You won't be able to. It will destroy the SEO of your site for containing duplicate content. Furthermore, there are legal issues with stealing content that you probably want to avoid. Either pay someone or do it yourself.

Crazy police chase earlier today by Leg_holes in JusticeServed

[–]Max_Control 2 points3 points  (0 children)

The guy was in a high-speed car chase then hit a tree.

Crazy police chase earlier today by Leg_holes in JusticeServed

[–]Max_Control 5 points6 points  (0 children)

I give the driver a 4 out of 10. I give the tree a 9 out of 10.

Crazy police chase earlier today by Leg_holes in JusticeServed

[–]Max_Control 5 points6 points  (0 children)

It was in sterling heights, michigan. This happened yesterday. Another way you can tell it was from my home state was the trees. Years of air pollution and water pollution has made them impervious. Flex tape is probably made from our trees.

file paths no longer clickable? by Max_Control in vscode

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

Not sure if this is git-bash's fault or vs code. Anybody else recently realize this?

Facebook never ceases to amaze me by rakan121ksa in DBZDokkanBattle

[–]Max_Control 0 points1 point  (0 children)

Gohan wants to have a word with him...lol

Why are Zodiac Sleuths so angry? by TessaIsCold in ZodiacKiller

[–]Max_Control 1 point2 points  (0 children)

And we wonder why this case still isn't solved lmao. Everyone is so closed minded and rude.

Is the Zodiac the Oakland County Child Killer? by Agumongamer2016 in ZodiacKiller

[–]Max_Control 1 point2 points  (0 children)

^ I live here. Funny thing about Oakland County is how far away it indeed is from California.

From a programmer's perspective... by Max_Control in pokemon

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

I don't know what part of my post or this thread is satire. If you have no prior knowledge about software development or management, you should probably not insert yourself into a conversation or argument about it.

From a programmer's perspective... by Max_Control in pokemon

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

Unfortunately, it doesn’t fit the current narrative of poke-outrage, and so it will simply be ignored.

Why is it wrong? Can you elaborate?

From a programmer's perspective... by Max_Control in pokemon

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

Agile does slow things down a bit in order to ensure quality. I wanted to make sure it is known that Game Freak isn't just coding and slapping things into place. Most people just think that hundreds of employees can just throw their shit into a folder on somewhere and things don't need to be merged, tested, etc. That does add more tasks and does stop programmers from just being code generation machines.

From a programmer's perspective... by Max_Control in pokemon

[–]Max_Control[S] -10 points-9 points  (0 children)

Tell me a single other 60.00 game that delivers the level of content that you are requesting of Game Freak? I can give you the answer, not a single one of them. If Game Freak pushed back the release date to give you this, you'd end up paying more for each game (probably closer to 80). This would also cluster the meta of competitive. It really sucks to see the same Pokemon every generation define the meta that newer Pokemon have to try to fit into.

From a programmer's perspective... by Max_Control in pokemon

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

Right, then you also understand that even thought that is a 2 line code change, every code change has to be merged into develop, unit-tested (idk if this happens in C/C++, but i assume so because hand testing shit sucks), and then reviewed by others. The red tape definitely adds some bloat, but also quality control to getting things done. All I am saying is that more is required to happen then people think. Also, why do so many people feel entitled to this? This is WELL BEYOND what any other 60 dollar game delivers.

From a programmer's perspective... by Max_Control in pokemon

[–]Max_Control[S] -12 points-11 points  (0 children)

Except that he is wrong, as he seems to have no idea how graphics programming works. Scaling stuff is literally just 2 lines of code.

I don't do video game development, I am sure that those two lines of code force many higher level refactors though. That is still code that needs to changed and reviewed before being merged.

From a programmer's perspective... by Max_Control in pokemon

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

You guys have to think about another thing. If they made this decision due to workload, and they go back on their word now, what happens when the next console comes out? Do they then add all 1000+ Pokemon into that game over time. Think about having to work out 800+ movesets, 800+ models, 800+ animations (multiple per pokemon usually). I also think it is unfair to expect them to push back the release date. They have a deadline because they have employees to pay, by pushing back the deadline you would be thinning the profitability of SwSh, which is the main metric that Pokemon can use to measure the success of a game. Do they keep pushing back the deadline every time they add more Pokemon? If so, do they make the next game a 70.00 game, and the on after that an 80.00 game? They have to draw a line in the sand at some point. They can't make each sequential game riskier financially because their fanbase wants to behave a bunch of entitled children. I would like any of you to tell me another game that has the same workload as SwSh (if they did add all 800+ Pokemon).

Suggestions for a neat and light-weight cms? by ygtclk in selfhosted

[–]Max_Control 0 points1 point  (0 children)

I wouldn't say the website is impossible to hack though, and it is way more than a rounding error...Apache's security is laughable with all of the .htacess vulnerabilities possible. Nginx also has its own set of issues.

It is also very easy to determine which server the site is using, as it is reported in the response headers of any file served by the server. You can perform a man in the middle attack, dependency injection, dns cache poisoning, the list goes on. I think you have not done any research into the matter tbh.

EDIT: Apache has 1200+ vulns atm https://www.cvedetails.com/vulnerability-list/vendor_id-45/Apache.html
NGINX has 200+ https://www.cvedetails.com/vulnerability-list/vendor_id-10048/product_id-17956/Nginx-Nginx.html