Empty Box Club

Join the Empty Box Club

Join the Empty Box ClubAfter seeing all of the Facebook ads for Dollar Shave Club, Loot Crate, Bespoke Post and that scene from SE7EN, I decided to jump on the bandwagon start my own monthly swag club. It’s really simple: once every month, you’ll receive a recycled box. By recycled, I mean it’s been used before. Probably a few times.

The box should be empty, except maybe for a few styrofoam peanuts, used bubble wrap, crumpled invoices for motorcycle parts from eBay and maybe the occasional dead fly or cockroach. If there’s actually something of value in it, it did NOT come from me. Or it did, and you need to ship it back immediately at your own costs (hey, it’s how we keep our costs so low).

You can join the Empty Box Club today for only $5.00 per month. You can cancel any time.

Now, due to supply chain and other logistics issues, we may not ship you a box for one or two months. If that happens, we’ll pack the boxes that didn’t ship in the latest shipment. Just keep unpacking the boxes until you have the right number of empty boxes.

QUORA: How should I structure PHP files to output nicely formatted HTML?

Curtis Oden added this answer.

Start by putting <?php on the first line and ?> on the last line. You’ll now have to either explicitly ‘echo’ the HTML to the screen, or close PHP ( ?> ) before your HTML, and then reopen it after.

Here’s a rough example:

//This is my PHP application

//The whitepace above won’t go to the browser
//START awesome conditional code.

$helloWorld = ‘Hello World’;

//END awesome conditional code.

Hello Wild World

Sometimes I just like to shout: “.”

And sometimes i like to whisper: “
echo ($helloWorld);
And sometimes ….
echo (‘I feel fancy and feel like singing”‘ . $helloWorld . ‘.”‘);

//This is the end…

And there are a dozen other ways to do this. Just remember: what happens in PHP, stays in PHP.

See question on Quora

Read more…

QUORA: How can you inspire programmers to work longer work weeks voluntarily?

Curtis Oden voted up this answer.

Contrary to popular belief, most of us have family, friends, children,
and social lives. We don’t need “motivation” to work long hours, we need you people in management to give us clear, concise, and comprehensive specs (yes, you can do all three), ask us for time estimates based on those specs (because no, you do NOT have the expertise to know how long a particular bit of code should take to write), and then harbor sane expectations.

“This is going to take about 120 man hours” does not mean “we’d like to have 100 man hours, but if you ‘negotiate’ hard we can ‘finish’ in 80
and then spend another 40 in unpaid, salaried overtime because we have nothing better to do”. Programming time is not something you can haggle over, and we are not bored kids who can’t think of anything better to do with our time than work long hours for free.

No, this isn’t an angry, frustrated rant; I work in a company that does
what I described above, and the result is that we finish projects on
time and on budget and we bill clients what the Read more…