128 karma · joined August 14, 2017
What do you think determines this? At what point can you say this magical thing called free will pops into existence? I don't understand how the laws of physics determine how the universe behaves but then those laws decide to step aside while someone is making decisions about their life.
Me too. Good thing Google exists now :)
> And dedicated servers are linux servers. You can hire engineers, I believe, that have used those.
Hiring a single engineer to do this is more expensive than using a cloud service...
[edit] Note this is obviously for 16-bit integers.
int flip_endian_helper(int num, int i) {
if (i == 16) {
return 0;
}
int shift = 15 - 2*i;
int workingBit = num & (1 << i);
int partial = shift > 0 ? workingBit << shift : workingBit >> (shift * (-1));
return partial | flip_endian(num, i + 1);
}int flip_endian(int num) {
return flip_endian_helper(num, 0);
}When I read the blog post my first thought was that I would love to do exactly this. I'm working at a startup right now but I'm so bored of the day-to-day and really enjoy architecture/performance tasks. I think I'm going to give consulting a try after I vest a little more stock :)