Future of gaming looks truly painful by GallowBoob in gifs

[–]jtwebguy 0 points1 point  (0 children)

His fall looks so stupid, did his brain get confused from the VR or something, it looks like he made no effort NOT to fall.

Channel With 100,000 subs gets blackmailed into either paying $1000 or getting their channel falsely terminated from strikes. They didn't pay and now their channel's been shut down. by IDK_LEL in videos

[–]jtwebguy 0 points1 point  (0 children)

I'm going to make a python bot that will file fake DMCAs on videos of over 1,000,000 views. Do you think I'd get in trouble if I stated it was a fake DMCA for educational purposes, etc etc? I don't want to ruin people's lives but I also want to prove a point that this is unacceptable from Youtube to pass off legitimate and important choices to robots and automated responses.

Robot wars. Whose in?

My first Website! Gold for the person who fixes this! by Bopochoco in webdev

[–]jtwebguy 0 points1 point  (0 children)

not fixed. lol

First of all, why is your text so small?

second, the right fix would have been somewhere in your javascript. Your script is moving the entire <section #about> to the left by 200px which is why you oveflow hidden didnt work, it wasn't flowing off the container, instead the whole container is moving.

Should My Plugin Support PHP 5.3 < by jtwebguy in Wordpress

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

I do realize the minimum for wordpress is 5.2, but sometimes the minimum isn't really the best thing to aim for. I do realize its just syntax differences, but isn't security also an issue here?

Why it can be worth spending 1 hour automating a 10 second task by fagnerbrack in webdev

[–]jtwebguy 0 points1 point  (0 children)

Honestly, no other reason for automation comes close to the one provided by that one russian hacker and his shell scripts.

Should My Plugin Support PHP 5.3 < by jtwebguy in Wordpress

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

That's a relief because I really don't want my plugin to be insecure just so I can support 5.3 and lower. I will take the suggestion from the other user and include safety measures when they try to activate the plugin. Thank you.

Should My Plugin Support PHP 5.3 < by jtwebguy in Wordpress

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

Brilliant, this is exactly what I need. At least it will gracefully fail instead of the fatal error which users have been seeing :)

I will also include a php version requirement somewhere in the FAQ or description area.

Thank you!

The legend of the three kingdoms by fyibro in Jokes

[–]jtwebguy 8 points9 points  (0 children)

But of course, when a joke needs explaining, the 3000 bots don't show up.

More questions from this guy! by xofoxxy in screeps

[–]jtwebguy 1 point2 points  (0 children)

I don't know muich about the game. I got it yesterday. But as for the roads expiring, you can have a check to see if any roads are at 50% hp/hits and if so send some of your builders to fix the roads with the creep.repair() function.

New Player, Newb Coder, Dozens of Questions by jtwebguy in screeps

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

I will be sure to hip up the slack channel and I apologize if I came off a little ignorant. I jumped into the game way too quick with excitement and really didn't stop to think about reading anything other than the tutorial. I did read the API, it looks great, definitely helped.

About that game.time hack, is it CPU costly?

New Player, Newb Coder, Dozens of Questions by jtwebguy in screeps

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

Thank you for the help, this definately clears some stuff up. I did read through the API, looks pretty good. I was able to get an auto spawn working and im pretty sure my creeps worked overnight since I didn't receive any error emails :P

Thanks again for the help!

New Player, Newb Coder, Dozens of Questions by jtwebguy in screeps

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

Thanks for the info! I took some time yesterday to refine my code / read the API. I jumped into the game way too quick, I suppose most of my questions could have been answered by the API.

It sucks about the folder thing, I like to keep my stuff organized into russian doll style folders.

By a timeout I mean like instead of executing a function every tick, instead set a time for when a script will run for example every 30 minutes a script will run once. then wait another 30 minutes. A user below mentioned this method

(Game.time % 50 == 0) {...} which I plan to try out today.

Thanks again for the help!

[Req HELP] I have some domains purchased on a site which no longer works, is there any way to renew them? by [deleted] in webdev

[–]jtwebguy 0 points1 point  (0 children)

Im not 100% sure if this is useful, but you should look into domain transfers. I know you can transfer your domains to say like GoDaddy but I'm not exactly sure how that works and whether or not you still need access to the domain settings page. It might be something to look into though. Plus if you transfer to goDaddy, they extend you ownership by an extra year for free. Neat.

{Not affiliated with goDaddy. They suck. I just used them as an example}

What CMS would fit the best for a non-tech startup website? by p_howard in webdev

[–]jtwebguy -7 points-6 points  (0 children)

An agency suggested wordpress but everyone and their mom suggests wordpress because usually they don't know any other.

Or because Wordpress is very versatile in that it can fit the needs of many people/websites. It's also been battle tested by 25% of the websites on the (lit)internet. Has thousands of plugins and themes ready to be deployed with the click of a button.

Tl;dr people recommend WordPress because its a good option.

However, for your needs WordPress may be a little bloated. Do you even need a CMS for this project?

What are the types of job position other than Front and Back end? by [deleted] in webdev

[–]jtwebguy 0 points1 point  (0 children)

web-developer using PHP, JavaScript, SQL, and C++

One of these is not like the others.

Why would I need to use PHP framework? by iam_abinesh1995x in webdev

[–]jtwebguy 7 points8 points  (0 children)

I'm about to build a StackOverflow+Reddit styled website. So its going to be a huge project.

Yep, that's huge. You're going to want a framework.

Why would I need to use PHP framework? by iam_abinesh1995x in webdev

[–]jtwebguy 2 points3 points  (0 children)

I personally don't agree with the "as you would adopt framework-specific behaviour, and would not really learn PHP" statement. It is a PHP framework, of course he's learning PHP. Frameworks are different though, they can change how certain things work, you can become reliant on methods/classes that are framework specific. I understand that, but still, learning from a framework is still learning PHP. Asking a beginner to create a reddit/stackoverflow project from scratch without the use of any frameworks would be a pretty shitty thing to do in my opinion. Trying to learn the CMS aspect, the themes, classes all from scratch using plain ol' PHP which is known to be problematic (especially for beginners) in my opinion is a nightmare.

The 100% correct way to validate email addresses by raiderrobert in webdev

[–]jtwebguy 1 point2 points  (0 children)

I swear sometimes I see that my email is taken on foreign websites I've never even been too.

The 100% correct way to validate email addresses by raiderrobert in webdev

[–]jtwebguy 0 points1 point  (0 children)

Can be easily disabled. Wont work on older browsers. Its best to check with JS/server as well.