Sifter I've got a couple of side-projects that use the standard Laravel registration form, and I noticed everyday would be a few users created where the name field was like "GEbCeZlhiT" and "XpNGxMfw"... obvious spam. My first step was a simple honeypot using a 'phone number' field... but no luck. T...
This has me stumped: Right now, when you click and hold a "piece", you can drag it around. But what I want to do is detect if the piece is being dropped on another piece when the mouse button is released. The "piece" is a RigidBody, so it needs to detect if it overlaps with another RigidBody... also...
I've got a grid that's 64x64, and I have Tetris-y shapes I want to drop and "snap" into the grid. But I'm stuck on a couple of issues. I'm able to have the pieces snap when dropped, but the math to get them to drop only INSIDE the square is eluding me. If I set the grid to 64, they only snap on the...
The current process is: branch from master create your feature merge into develop branch after QAing the mobile app against the dev deployment, merge feature back into master This works great when each feature is totally separate from the rest of the API, but recently we've had features that need up...
I was looking at job description for a web developer, and one of the big responsibilities was database maintenance. Now, I can do basic mySQL tasks and hack together some relatively complex queries, but I've never had a desire to be a Database Admin. Anyone have any advice/books/blogs/etc that might...
I'm trying to take certain parameters from an online form and determine how likely they are to convert to a customer. Other than a simple "10% more males convert than females", are there any resources for looking at the data as a whole? For example, I've got their gender, age, city, and annual incom...
Here's what I was typing: The bottom line is I want to generate a graph, and I want all percentages to be the same color, no matter which graph it's on. So a pie graph with a 25% slice would be colored #000099 or something... and if I have a bar graph, I want the 25% bar to ALSO be #000099. My first...
I consider myself an adequate coder. I try to follow best practices, and there's rarely been a problem I couldn't solve with some Google/Stackoverflow foo.... but unit testing just eludes me. I understand the mechanics - you pass in a test, an expected result, and it returns whether it passed or not...