gman

Members
  • Content

    34
  • Joined

  • Last visited

    Never
  • Feedback

    0%

Everything posted by gman

  1. Try this, I use a sequence of fgets() then sscanf(): #include #define MAX 32 main(){ FILE *file_ptr; int data[50],counter=0, max_value; char file_name[] = "data.txt"; char buffer[32]; if(file_ptr = fopen(file_name, "r")){ while(fgets(buffer, MAX, file_ptr)){ sscanf(buffer, "%i", &data[counter++]); } } else{ printf("file is not there\n"); } max_value = counter; printf("Contents of array is:\n"); for(counter = 0; counter < max_value; counter++){ printf("%d\n", data[counter]); } fclose(file_ptr); } The file data.txt is a single column of ints: 22 14 15 35 45 67 999 Compile & run it and see if this is what you want. -G.L.-
  2. gman

    Geek Joke

    Try this one: This truck driver hauling a tractor-trailer load of computers stops for a beer. As he approaches the bar he sees a big sign on the door saying NERDS NOT ALLOWED-ENTER AT YOUR OWN RISK!" He goes in and sits down. The bartender comes over to him, sniffs, says he smells kind of nerdy, asks him what he does for a living. The truck driver says he drives a truck, and the smell is just from the computers he is hauling. The bartender says OK, truck drivers are not nerds, and serves him a beer. As he is sipping his beer, a skinny guy walks in with tape around his glasses, a pocket protector with twelve kinds of pens and pencils, and a belt at least a foot too long. The bartender, without saying a word, pulls out a shotgun and blows the guy away. The truck driver asks him why he did that. The bartender said not to worry, the nerds are overpopulating the Silicon Valley, and are in season now. You don't even need a license, he said. So the truck driver finishes his beer, gets back in his truck, and heads back onto the freeway. Suddenly he veers to avoid an accident, and the load shifts. The back door breaks open and computers spill out all over the freeway. He jumps out and sees a crowd already forming, grabbing up the computers. They are all engineers, accountants and programmers wearing the nerdiest clothes he has ever seen. He can't let them steal his whole load. So remembering what happened in the bar, he pulls out his gun and starts blasting away, felling several of them instantly. A highway patrol officer comes zooming up and jumps out of the car screaming at him to stop. The truck driver said, "What's wrong? I thought nerds were in season.""Well, sure," said the patrolman, "But you can't bait 'em."
  3. gman

    Pilots

    Private pilot: 85 hours in Robinson R22 (Alpha & Beta), it's a helicopter. Haven't flown in over 10 years. -G.L.-
  4. 8:00 AM.....a little early don't you think? OK...I'll be there. G.M.L.
  5. I have to keep this short, due to bad economic times in the High Tech business, the company that I work for would conduct periodic layoffs to reduce their expense. For some unknown reason they always do it on Tuesday. Well guess what!!!!! I'm not sure If I get to stay or get the "boot". Well if I'm not around by the end of the day I'd like to say "thanks for the memories". Uh...oh, the "suits" are wondering in the hallways, the "carnage" has begun. By the way, I'll be at Perris this weekend for the DZ.com gathering, employed or not. G.M.L.
  6. Gave up gambling and booze. I would head to Vegas twice a year, but no more. I'd play craps, get drunk at the bar, stagger back to my room, and then pass out. I miss the good old days! -G.L.-
  7. I wear goggles over my glasses and the glasses always fogs up. Someone suggested that I use this "cheap" anti-fog solution. Mix 30% "Johnson's Baby shampoo" to 70% water(it doesn't have to be exact), liberally coat the surface(in this case both sides of the lens and the interior of the goggles), and let it dry. Don't wipe off the soap film. Does this really work?...it has for me, but I don't know how effective this is for visors, you'll have to try it for yourself. Dust particles will stick to the dried soap film so you'll need to clean the surface and re-apply again. Hope this proves useful to you. -G.L.-
  8. I've tried both weight vests and belts, and after a full day of jumping, the belt does not fatigue me as much as the vest. I wear 10 lbs of lead and maybe that has something to do with the comfort factor. Borrow a belt and see if it makes any difference for you. -G.L.-
  9. Have you tried looking at www.sportrx.com ? They make goggles with prescription lenses, they don't make torsan style goggles but you may find something that you like.
  10. Michele, just do it. Perris has a habit of getting windy in the late afternoon and you may be put on a "wind hold" without a license. I just got my "A" last Friday and I've been jumping all weekend until my arms got too tired from packing my own gear. I'll be there this Fri. & Sat. and will talk to you then. -G.L.-
  11. If I want to relax a bit, it's usually beer. If I want to be heavily "medicated" it's Gin Martinis or Scotch. -G.L.-
  12. That's it.....That's going to be your nickname...."Dusty"
  13. Wildblue, Yes...you are correct, but I have gotten off AFF status a few weeks ago and still working on my "A". When it happened my instincts said "just do it now". But now I have the luxury of "experience" and some good advice from you and others. I'll just put this incident into the "lessons to be learned" catagory. -G.L.-
  14. Carl, Looks like I'll have to change the way I do things, double check everything during the pack job, during deployment have hands around the rear risers and look at toggles while slider comes down, check to see if canopy is flying correctly, reach up to collapse slider, and then release brakes. I'll get my "A" by the end of this month, other "stuff" needs to be taken care of first. -G.L.-
  15. I went to Perris last Friday to do some jumps. On the ride up to altitude the pilot said "everybody needs to jump in 2 minutes, we've got a problem". We normally exit at 12.5K but when we got to about 10K the red light came on and the door opened. Everybody exited calmly, including me. I had a safe landing and when I got back to the to the packing area, somebody said "did you notice that the left engine was completely shut down when you jumped?" Uh...no, I was concentrating on my exit. I just experienced my first "Aircraft emergency". "It just had to happen", good thing I had a parachute with me at the time..(ha...ha...ha). Came back Saturday to do more jumps. On the last jump of the day, "it just had to happen". I exited the aircraft and "did my dive". I threw out my PC and waited for the slider to come down. I reach for the slider to collapse it and that's when it all felt "wrong". My canopy started to shake up and down for a second, the shape of the canopy was fine and I don't know why it's happening. All of a sudden I go into a turn, I could feel the leg straps digging into me and it was getting worse. "OH...F***", I pulled red and then silver, yep....my first cutaway. It happened so fast I even amazed myself that I can acutally do it. I looked up and there was my my fully inflated reserve. Looked down and saw my "stuff" floating to the ground. I almost convinced myself to follow my gear to the ground but I decided to go back to the DZ instead. I had a safe landing, I was physically fine but mentally dead, too much exitement for the day. Got some help trying to find my gear, went to the area that I think it may have landed. It was a good thing I didn't follow my gear down. The area consists of trees, dried out vegetation 5 feet high, and some deep ditches. The area is known as "the nursery" because that's what the area used to be. It took 2 hours before one of the staff members found it. It drifted out farther than expected, I was relieved because this is rented gear and I don't have to pay for a replacement. But I do have to pay for the reserve repack and some new handles. The mal was my fault, after we got the canopy back to the shop we looked at the toggles, one of them was stowed improperly, I had a brake line come loose. I was the "idiot" that put it that way...oops! It's not all that bad, I'm still alive and kicking, had a few "firsts", and learned how not to stow a toggle. Will be in the air this weekend again! -G.L.-
  16. Sinister! Is this you? http://www.perriscam.com/images/PHOTO1810.JPG Get well fast! -G.L.-
  17. gman

    Yawn.....

    I took a look at Perris's activity page. According to Mr. Jack Gramley, the daughter's of President Bush showed up yesterday. Is this true? did they do a tandem jump? Did anybody offer to buy them BEER after the jump? Just curious. -G.L.-
  18. Michele Yeah, we met after I did my 3 solos, I would have stayed to see your graduation jump, but I had to be somewhere else....really! When it comes time to do your first solo jump, try not to fear it, have fun with it, because you only get one "first whatever". And if being the last one out bothers you, try to get on a load with AFF students, they will be the last ones out, not you. -G.L.-
  19. gman

    Me, myself, and I

    Last Saturday I went down to Perris to do a few jumps. Got my gear from the rental office and set it down in front of a packer. I got to meet some of the other dz.com'ers for a few minutes but didn't stick around with them. I wanted to, but couldn't. This was to be my first solo jump after clearing AFF status. I had a lot of anxiety building up and I just wanted to be alone. I found a bench all to myself, sat down and replayed every single AFF jump in my head. I felt a little better until somebody came up to me and said "wow...you look nervous, are you OK?" What!...is it that noticeable?, He said "I can see it in your eyes ten feet away". We both broke out in a chuckle. I knew it was going to be one of those days. It was time to gear up and get in the plane. I asked for a gear check from somebody I didn't know and he looked into my eyes and said "will you just relax", damn...I just can't seem to hide my fear. Since I was pulling at 4500 I will be the last one out. On the way up to altitude I kept asking myself "what am I doing here?". We got up to 12.5K and the plane emptied out. It was now my turn, looked behind me and it's just me and the pilot. I looked out the door, hesitated a bit, and just hauled my ass out the door. This jump really scared the hell out of me. Looked around and there was NOBODY. The freefall was uneventful, pulled @ 4500, and as I looked up I asked myself "Is that a mal?" uhh..nope....it was the infamous "Spectre snivel" that I read about. It was also my first time I had to deal with a collapsable slider, I kept pulling on the cord 5 times before it would "catch". I was still too tense and had a less than perfect landing. Got back to the packers and felt a lot better getting the first solo out of the way. Did a total of 3 jumps that day, and asked myself "what was I so afraid of?". I guess the whole point is that I am my worst enemy. I don't think I'll ever have complete control of my fear, but I think i'll always be able to "haul my ass out the door". I'm going to take packing lessons this Friday and of course I'll jump it. So I guess I'll have to go through this nonsense with myself all over again. And maybe if I see a familiar face at the DZ, I'll be a bit more sociable, after all you'd think I'd be less nervous as I do more jumps. -G.L.-
  20. Hey zclubber1, Even though I can't jump with the group I'll be there this Saturday as well. I just got off AFF status and I somehow convinced myself that it's time to start jumping alone for awhile. When you do your jumps and graduate I'll try to find you and maybe we can head to the "Bombshelter". -G.M.L.-
  21. To manually shutdown the unit, run through the display menu until "ECO" is shown. Simultaneously press the "Mode & Set" buttons and hold it until you see a countdown timer go from 500 to 0, at this point you will here a "beep". Release both buttons and the unit is now "off". -G.M.L.-
  22. It finally happened, I'm off AFF status. I managed to pass level 8, it wasn't pretty, but I passed. What a relief, I was happy enough to buy a case of beer and send it to the school. Gee..I sure hope it was the right thing to do, maybe some of them preferred softdrinks rather than beer... somehow I don't think so. Before leaving the school, I was given a list of things I must do on my own to earn my A license, I changed things a bit, but this is what I have: 1. Do some jumps with Skydive U. 2. Buy some beer for the Skydive U. coach. 3. Learn to pack a chute & jump it. 4. Buy some beer for the packing instructor. 5. Take & pass the exam. 6. Buy LOTs of Gin Martinis for ME! There, I think that's a fairly complete list. By the way, I will be at Perris this Saturday. I am now permitted to jump on my own. Many of my ex-JM's recommended that I do a few jumps on my own prior to Skydive U. just to go out and have fun. Well...I'm not sure if I can call it fun, I really want to see if I got enough nerve to jump out without anybody along my side for the first time. It seems that there will be a small gathering of DZ.com'ers this Saturday @ Perris, I want to take the time to meet some of you and attach faces to your names. If you see somebody that looks extremely nervous, mumbling to themself, and drinking large amounts of "Mountain Dew"(I'm going to need the caffeine & sugar), that's probably me. Any words of wisdom to help me through this next level of fear will always be appreciated. Hope to see some of you this Saturday. -G.M.L.-
  23. I didn't plan to make any jumps tomorrow since it is going to be Fiday the 13th, but my AFF instructor told me to stop being so superstitious and just jump. OK...he talked me into it, makes a lot of sense but I was wondering if there are any skydiving superstitions or traditions other than buying beer and throwing pies at each other? -G.M.L.-
  24. Yep...my #7 jump is set for this Friday. I usually get there between 10:30 and 11:00...I'll do the jump, have lunch at the Bombshelter and usually hang around until 2:00
  25. I haven't been posting for awhile, but I'm the "dimwit" that's been repeating AFF levels 4 & 5 so often that the school had to put me in the Frequent Flyer program, it seems that my Brain can't handle the adrenaline during freefall. Well a few weeks ago a miracle occurred and I managed to pass level 5. It was a lot of work, but time to move on. Last week I made my first attempt at #6 and I had to learn a new exit, this is what I was told to do "stand up straight, cross your right foot over your left foot, bend over and grab you ankles, then you'll be pushed out the plane". I said "Why....what for?", the JM responded "you need to freefall in an unstable manner and then stabilize yourself". At this point I wanted to go home but it was too late, I already gave them my money. "So how long do I fall unstable?" I asked. He said "Do you remember the tune Pop Goes the Weasel?, when you get to the word "Pop", you should pop into the arch". These instructors at Perris have a weird sense of humor, but I didn't care, what's the worst that can happen? So the dive is to fall out unstable, sing to myself and arch and then do a delta track. No problem...this should be worth a few laughs. I geared up and got into the plane, as we climbed up to altitude my JM asked me if I'm thinking of "Pop goes the weasel?", well yeah, I was so nervous that the tune was "stuck" in my head all the way up, I couldn't get rid of it. It was time to jump. I got to the door, bent over and grabbed my ankles like I was told. As I looked out the door I said to myself "damn it, not only do I look stupid but this is SCARY". I wanted to kiss my balls goodbye since I was in the appropriate position, but I changed my mind because I didn't want to explain what I was doing during the debriefing session that would follow. As expected, I got pushed out the door. Was I tumbling? You betcha!!! I saw alternating scenes of blue sky and brown earth while I hummed that silly tune to myself. When I got to "Pop" I really popped into a nice arch. I found my JM about 15 feet away from me. We stared at each other for a few seconds and I decided to try the delta track. WOW...this delta is a great manuever, I felt like an airplane gliding across the sky. I got back into my arch and still had plenty of altitude, so we had nothing to do except stare at each other. I deployed and landed without much trouble. When I got back to the school I asked "did I pass?". He said "what do you think?" I said "I passed", he said "I think so too". I had a few minor problems, but overall I did what I needed to do. Things are starting to fall into place, I find it a little bit easier to relax, it's becoming more fun and less frightening. I'm planning to make a jump at Perris this Friday and see what I can do with level 7. If any of you that's reading this plan to be there that day, maybe we can get some beers later. -G.M.L.-