Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Lunch and more time wasters

FortKnox (169099) writes | more than 10 years ago

User Journal 8

I'm a big lunch eater. Breakfast is a breakfast square and juice (along with a big glass of fiber suppliment[1]). Dinner is just an average dinner, nothing big or exciting. Lunch, though, is when I eat. Usually around 10:00 my hunger kicks in. I usually pack an apple for this 'brunch' to hold me off until 11:30. That's when the eatin starts. Usually a hefty sandwich, drink, and a little bag of chips will be my 'main course', but once we hit around 1 or 2, I start getting hungry agaI'm a big lunch eater. Breakfast is a breakfast square and juice (along with a big glass of fiber suppliment[1]). Dinner is just an average dinner, nothing big or exciting. Lunch, though, is when I eat. Usually around 10:00 my hunger kicks in. I usually pack an apple for this 'brunch' to hold me off until 11:30. That's when the eatin starts. Usually a hefty sandwich, drink, and a little bag of chips will be my 'main course', but once we hit around 1 or 2, I start getting hungry again. So I usually have some yogurt, maybe a bowl of fruit for my 'second lunch.' I've been known to start eating at 12 on the weekends, and have something in my mouth constantly until like 2 or 3. I just eat a big lunch... and I need snacks until 4, or I'll just be in agony all day.

Well, today, I didn't have any chips... so instead I packed a yogurt parfait... vanilla yogurt layer on the bottom, then blueberries, then peach yogurt, then strawberry slices, then granola. It was in a BIG cup. Wow has that been satisfying. I'm still not quite done with it (its 1:15), and it looks like I may not need snacks throughout the day. Definately worth looking into making if you are a big lunch (or any meal) eater.

Oh, that timewaster. Its a flash game (so you may not be able to get away with it at work) that plays like a pen&paper RPG. Turn based. Loads of fun until you start winning without trying much (hint, your red mage (area attack magic) does craploads of damage... use'm wisely). Tactics Core.

Oh, and if you didn't get the Petals around the Rose game, I'll give you the algorithm... you can figure out how it fits in with the rules (hint... look at rule #1):

total = 0;
for( i=0; i<5; i++ )
{
_ if( dice[ i ] == 3 ) total += 2;
_ if( dice[ i ] == 5 ) total += 4;
}
(The underscores are there to help indent the line)

There ya go (yeah, I pad the insides of my parens and brackets... try it...you'll be surprised how clean nested parens can look).

[1] Big difference between metamucil and the generic stuff? The generic stuff doesn't disolve well, so its not just 'nasty orange drink', but 'nasty orange drink with big nasty chunks in it'... ugh... shoulda bought the smallest one. Saving money just cost me two discusting drinks daily for about a month, maybe a little longer :-(

cancel ×

8 comments

Feh (1)

Safety Cap (253500) | more than 10 years ago | (#9379119)

I used to do that bracket trick in my C++ days, but when I moved to the light, the beginning bracket had to go onto the first line...
for( int i = 0; i < 5; i++ ) {
...
}
Fortunately, there are numerous lint programs around that will format it how you like, so I don't worry about opc (other people's code) any more. Just lint it and then it is correct :)

Coding styles (1)

dmorin (25609) | more than 10 years ago | (#9379302)

Where I work the opening brace is optionally on a newline, but this:

if (x) total+=2;

would be strictly verboten. Must be:
if (x) {
total += 2; }

Some guys even end up doing this:
if (x)
{
...
}
else
{
...
}

Re:Coding styles (1)

FortKnox (169099) | more than 10 years ago | (#9379372)

I do, too. Got caught one to many times putting an inline or macro in a one-liner if. The reason I did it that way was because I hate putting code in html. The indents and such are a pain.

Petal around the roses... (1)

WIAKywbfatw (307557) | more than 10 years ago | (#9379542)

Count the number of dots around the centre dot if there is one.

'Nuff said.

Oh, and... (1)

dmorin (25609) | more than 10 years ago | (#9379546)

for (i=0; i < n; i++) total += (x[i]&~1)*(x[i]&1);

I think that works. :)

Re:Oh, and... (1)

Abm0raz (668337) | more than 10 years ago | (#9380493)

for (i=0;i4;i++) total += (x[i] % 2) * (x[i] - 1)

where x[i] = the numerical value of the die in position i.

-Ab

Re:Oh, and... (1)

dmorin (25609) | more than 10 years ago | (#9380587)

for (i=0;i4;i++) total += (x[i] % 2) * (x[i] - 1)

I actually started out with that, but I'm in a bit-oppy mood lately and I liked the symmetry of having "everything but the 1's column" on one hand times "just the 1's column" on the other. It does the same thing.

Fiber supplementation (1)

VisorGuy (548245) | more than 10 years ago | (#9382898)

The stuff that "disolves" in water is way nasty!

I use this groovy stuff [quixtar.com] and it's so good that I sometimes just munch on it alone, like dry grape-nuts cereal.
It's great in Yogurt... Would go perfect with your afternoon snack.

If it asks you for an IBO #, you can use mine: 328142

Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...