The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Got back from IKEA sale (to keep home quiet) and had to deal with a lot of computations about sizes, to see if and how many of those shelves fit...
And as I'm on my way to solve IKEA puzzles for the rest of the night here a really simple one...
HOW MANY EIGHTS CAN YOU PUT IN 1000
All you have is an infinite supply of eights and pluses (8 and +)... You have to get to 1000
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
To make 1000, the ones digit has to add up to something ending in a zero. That's 40, which means "88888888" will need to be divided into 5 numbers.
When you add the ones digits to 40, you'll need to carry the 4 into the tens place. The tens place will also need to add to something ending in a zero to make 1000. With carrying the 4, you'll need two 8's to make 16.
Now you'll need to carry a 2; add an "8" to that, and you'll get 10, which looks a lot like the start of 1000. Let's see where we are - we need five numbers with a ones digit, two with a tens digit, and one with a hundreds digit.
This gives us 8+8+8+88+888, which equals 1,000.
Or just quickly search the web for the answer and copy/paste it in... after all, since it's a "Who Cares" puzzle, who cares how the answer is arrived at? Exactly.
While I like your answer better!
1) Break off the sides of the plus, rotate them ninety degrees, and stick them to the top and bottom to make a "1"
2) Break the 8's in half, so they each form two zeroes. Use three of those to make the "000", and throw the last one at one of your coworkers.
I had thought on very similar lines, but I'd put the spare 0 on top of one of the other 0s so it looks as though there are only three 0s there. I had considered squashing the extra 0 so it flattened to a 1, but that was messy - I don't know what they have inside.
But how do you get the comma between the 1 and the 0s?
Me thinks you misunderstood. By "the framework" he's referencing "the Logging framework", not logging in general.
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Same old argument. If the existing wheels don't fit your needs you create the right wheels. A developer who doesn't do as much isn't worth a dime - baceause creating tools is precisely programmers' work.