215 karma · joined March 2, 2011
We've used both Github and Beanstalkapp.com and both charge based on total repos rather then disk space or developers which, frankly, drives me a bit insane. I think both have better features then bitbucket (as far as I am aware) and better UI's (subjective) but my 60 small repos run me $100/month at beanstalk - not sure what it would run @ github.
I can't find any disk usage limits @ BB's site, which makes me wonder if there are hidden caps. If BB ever struck me as being as slick as github, I'd move our business in a second, even if the cost was higher then it is now ($10 a month? Really?!).
<?php
$string = "aeiouxabcd";
$checkfor = array('a','e','i','o','u');
$count = 0;
for($x = 0; $x < strlen($string); $x++) {
if(in_array($string[$x], $checkfor)) {
$count++;
}
}
echo $count . "\n";
Am I hired? Or do I lose cool points for PHP?As I remember fizzbuzz (print numbers 1 thru x, then fizz if divisible by 3, buzz if divisible by 5, fizzbuzz if divisible by both)
I did it in a text editor in under a minute. Got two errors because I did it without thinking, fixed it, and had a working solution in 90 seconds. It's taking me longer to write this response.
I can't imagine anyone who writes code daily who couldn't get this right in under 5 minutes given a text editor and a way to run the code, but I could imagine plenty of people who trying to do it on a sheet of paper who would make goofs. And most of those would make good employees.
Since you're using Code Igniter, that means PHP -- bcrypt forces you to use a salt, plus its a slower hashing method which means the passwords are much more secure should your database ever be compromised.
Final not its not "bcrypt or salt" its "bcrypt and salt" -- a salt is a string you add to the plaintext password before hashing, to prevent the use of rainbow tables for an attacker.
Well ... no. The 27" iMac comes with a screen that would cost you $900 - $1200 depending on where you buy it from. 2560 x 1440 resolution monitors are not common or cheap.
If you want the high resolution, large monitor, the 27" iMacs are easily the best value.
If anyone is bidding on the work without looking at your code first, that's a good sign they're someone to avoid. If someone had a large project they wanted modified, I'd expect to spend a few hours with the code before agreeing to work. If it was really awful, I'd probably turn down the job.
Very few good programmers are looking for jobs. When you say "bad reference online" it makes me wonder if you're hiring from a site like odesk ... and those sites are generally programmers scraping the bottom. If I drew the wrong conclusion from that comment I apologize.
So I'm comparing the fastest you can do bcrypt hashes (100 a sec at that work factor) vs the fastest you can do MD5 hashes (250 million per second)
Bcrypt at 10ms is 3 million times slower, not 300 times.
It amazes me how, with so many existing grids that do it right, someone can write one that's wrong. Or would bother to in the first place.
I agree with huckfinnaafb - OOCSS is better implemented if you want a simple grid
The value is increased freedom. The OP has to decide what value that has to him - assigning it an arbitrary number based on what a person earns per hour is silly.
Your second point was much more valid -- if you can live in a much more inexpensive way, that's a benefit you can put an actual # on.