Home | Join! | Help | Browse | Forums | NuWorld | NWF | PoPo   
Oh, ew, blergh, *puke*
Wednesday. 5.21.08 4:46 pm
I feel crappy today.

Instead of sleeping last night, I involuntarily swallowed almost constantly. This was to reduce the dry, itching at the back of my throat, which was quite horrendous. But since I had to do it every 20 or 25 seconds, it apparently didn't help much. As a topper, I had a sick stomach because of all the saliva I'd swallowed this morning.

My mom gave me a throat lozenge, which let me get some sleep for about two hours. Then I went to school.

My throat is still nasty and I keep hacking/coughing. All day at school. This is big deal for me, because I don't have allergies (soon to change? D:) and I never get sick.

I think it's the amount of chlorine they put in the stinking pool. It burned my nasal passages out..

OH, YEAH! Now I remember that yesterday I got a bunch of that bitter water up my nose and I had to stop to catch my breath.

Anyway. It sucks. Hope your days are better!

Comment! (19) | Recommend!

Iron Man lives again!
Sunday. 5.18.08 10:38 pm
Yeah, I just saw that. I'm going to be talking like Tony Stark for the rest of the school year. I already kind of do, anyway. My mom liked it, so you know it's good.

My Sansa broke about a week ago...I stepped on it, I think. The screen was cracked, but something inside was also broken. Because it only stays on for about 4 seconds, and the computer can not communicate with it anymore. BUT!

I'm getting an 8 gig Zune. And I'm super excited about it. I've told multiple people. Multiple times.

Read another Ted DekKer book...and am also thrilled with it. Now I need to buy the last one in that particular series. Black, Red...and then White. Fitting.

Yesterday I went to Katie's house for an hour or so, and I glomped the crap out of her. What fun. Really, it was fun. Apparently she was holding out on her cooking, though...D:

Mosquito season....merr.

Anyone seen the Trailer for the movie City of Ember? Man, that looks intense...

Comment! (11) | Recommend!

Hmm.
Saturday. 5.17.08 1:31 pm
I did the math in school because I was bored. As it turns out, my pizza program can yield over 4,200 meal combinations. Tell me if my logic is wrong.

First, the toppings. This is the most convoluted part. There are five toppings.

Any one topping: can be represented by all one digit numbers from one to five; 5

Any two toppings: all two digit numbers from 11 to 55 with only the numbers 1,2,3,4, and 5 and no doubles; 20

Any three toppings: all 3 digit numbers from 111 to 555, etc, no triples, not counting the numbers that are just in a different order (like, 124 and 142); 123, 124, 125, 134, 135, 145, 234, 235, 245, 345...I can't think of any other combinations, so 10.

Any 4 toppings: Only four possible combinations. 4

And, add one for all five and another for none at all. That's 41 total combinations.

Second comes the Extras. There are three things to choose from, with 4 choices each: three flavors and NONE. 4 chips * 4 cookies * 4 drinks = 66.

41 topping combos * 66 extra combos = 2706. That's already a lot. Double that because there are two sizes of pizza to choose from, and you get...5412.

Is it just me, or is this a HUGE number? Please check my logic, especially that for the toppings.



EDIT: Thanks to Zanzibar, I noticed that the any two toppings number can't be correct. It's 10, not 20. I forgot to exclude repeating numbers like I did with the triple and quadruple digits. The new total is 4,092. (Haha, what a difference.)

Comment! (8) | Recommend!

I finally downloaded it!
Thursday. 5.15.08 7:34 pm
After much planning and begging, I finally got Visual Basic on my home computer. For free. It's the Express Version. But still.

As you can see below, I kind of had to...steal the link from my teacher. She said I couldn't e-mail myself, but she said nothing about blogging!

I was really looking forward to being able to finish my work at home. Sometimes she gives us a program to do, and I...overhaul it. The most recent adventure was the pizza order program. Series of events, anyone?

Objective: Create a program that offers 4 different toppings on two sizes of pizza, with the price based on the size and number of toppings. Add a button that confirms that the order has been made. Put a randomly generated order number somewhere. (Easy)

Next, I went back and...

added a readout on the price that automatically updates when choices are made, with a sub price for size, one for toppings, and a total;

created a "plain cheese" choice that set the topping price at 0;

made a "Clear" button that set everything to the default values;

added the "Add Pizza" button, which prints a CUSTOM "receipt" to a text box, complete with sub totals and topping list;

made sure that the Add Pizza button was bug free, flexible, and had decent grammar in the face of adversity;

made almost all of the labels into a currency format, (one was and still is really stubborn...);

added "extra cheese" as a 5th topping;

integrated the new topping into the Add Pizza function

added cookie, chips, and drink options, each with its own sub-price;

integrated the EXTRA options into the up-to-date price indicator, making a label for all three new subprices;

updated the TOTAL label to accommodate three new values;

created three choices for cookies, chips, and drink to choose from;

made up the new variables needed to add this information to the receipt, so that it now shows order number, pizza size and price, all toppings and price, and extras that only appear if you add them. The flavor of drink, cookie, and chips are all included if selected(TON OF WORK);

changed the number generator from 1-100 to 1-1,000,000 just for kicks;

adjusted the receipt to be more pleasing to the eye and better organized;

changed the text from the order confirmation to something remotely cool and personal.

There. Done. If you still can't see how much I overhaul certain projects, then just pretend that you do. I made one program from scratch, called Bouncing Balls (shut up). It was supposed to be a screen saver of one ball bouncing around inside an undefined border. First it was side to side, then two dimensions. Then it was an extra ball, operating on a separate rig of timers and everything. Then it was the pause button, then the option (when paused) to change the direction of the ball and the current position. Then it was the option to show the borders (which is neat because the borders for the different balls overlap a little). When I got finished with that, I went crazy and added...

A rave function. That's right. There's a button that says "rave" on it, and when you click it, ALL the colors flash between regular blue-orange color scheme and inversed. Everthing. It's like lights flashing on and off, hence the RAVE title. Then I ripped some sounds from a song called Beato and recreated a party boy noise that goes off in time to the flashing. Then I added buttons to change the tempo.

That is, of course, not counting the literal hundreds of bugs I had to figure out. We're talking about, say, 10 pages of unorganized jumble that I somehow kept in my head. (It certainly isn't there anymore. I doubt I could edit this very well anymore)

I LOVE programming in this class. You may have forgotten, but the point of the post is to say how I got VB at home and how excited I am.

(VB is not an STD, haha.)

This newer version, however, is far more complicated than the one from school. It had to "invoke the upgrade engine" just to read the files I brought from school. It's a one way converter; I can't bring home projects to school for work. D:

Also, my program, which had virtually no bugs, no longer works because certain things don't fly the same with VB8 as with VB6. Which dampens my spirit.

Thankfully, I was shown this:




OH and I forgot to mention. My eye hurt for one or two days, I posted about it, and it stopped hurting. So no pink eye for me! MY POINT IS MADE!

Comment! (7) | Recommend!

middaymoon's Weblog Site • NuTang.com

NuTang is the first web site to implement PPGY Technology. This page was generated in 0.012seconds.

  Send to a friend on AIM | Set as Homepage | Bookmark Home | NuTang Collage | Terms of Service & Privacy Policy | Link to Us | Monthly Top 10s
All content � Copyright 2003-2047 NuTang.com and respective members. Contact us at NuTang[AT]gmail.com.