mattyd 89 Posting Maven Featured Poster

It is not the actual scientists I question. I am not, unfortunately, qualified to helm a multi-Billion dollar Pharmeceutical conglomerate, nor am I in the position to lobby Senators\ Congressmen in their decisions regarding national healthcare concerns and where their financially-inspired votes will fall.

Besides this, I am quite happy with our system. I just see the need for vast improvements. There are scores (see, 100's of 1000's, if not more) of American people who go daily without their prescribed medicine, (the very medicine that just might cure their ills) because they cannot afford to pay for it and they do not have insurance. Medicine has become the new Mercedes, Nike, Apple-- designer quality at designer prices. Capitalism run amock. How inspiring. :rolleyes:

mattyd 89 Posting Maven Featured Poster

I think this is a case of "gass is always greener on the other side of the fence".

>>do the Billions spent on medical research actually cure anything significant
Of couse it does. One example: I went through angioplaty (heart) surgery a year ago. This was first approved for use in USA in 1994. And there have been some improvements since then. Hospital stay is only overnight. There are medical breakthroughs all the time -- just because Christopher Reeve and Michael J. Fox have not been cured does not mean a cure will never come.

There are many breakthroughs that occur. I do not disagree with this. Lives are saved. But in the majority of cases, the symptoms are treated, not the root of the disease. This is Western medicine; Large companies do not make large profits from cures but from prolonged use of their products that simulate an awkward "improvement", that is, some symptoms digress while new conflicts grow from:

  1. Side Effects from new treatement\ medicine
  2. The weakening of the human system from the chemicals, err, "medicines" :twisted: prescribed, hence, making the person(s) more sick in the long run

I am a huge supporter of science and research, but I will not sit here and say I am absolutely mad for the pathetic Health system of the U.S.

And sometimes, the grass is actually greener. Perhaps? :surprised

mattyd 89 Posting Maven Featured Poster

Some call the American medical system "Superior" and in some ways it is: Medicine, advanced treatments, research, labs, doctors, support staff, training levels, rehabilitation, ethics, and funding. While this is indeed true we have to look at what fails this system-- the businesses behind the hospitals that manage and control the dispensation of said elements of the American medical system.

I have always been treated well, fairly, honestly, and with seemingly the highest regards when being seen by a medical professional. Our nation possesses that, in general, on a personal basis, but what we lack is a true window into the machinations of the corporate system that buys and sells doctors and their hospitals like livestock. We have little if any say in this system and rarely true "choice" in light of absurd insurance restrictions. American citizens have become the true test subject(s) both fiscally and in the realms of science in this health system. And, honestly, do the Billions spent on medical research actually cure anything significant or does it only prolong a state of suffering in the long run? Look at the statistics, not the heart-warming propaganda produced by Pfizer or Forest Labs.

For many reasons (including Healthcare) I would prefer to live in the UK or Canada. I don't mind "waiting in line". ;)

mattyd 89 Posting Maven Featured Poster

Dust, ash, bearings and so on.
It's a mechanical problem. Remove the fan, get a can of compressed air (one of the ones with a tube to direct a narrow stream of air) and spray into the fan at an angle to get the fan spinning). See if you can pinpoint a part of the fand which is causing the problem, and concentrate the blasts of air there. Also have a look to check that the small circuit board on the fan's hub doesn't get in the way of the blades.
If you can't dislodge whatever particles are causing the friction, or if you can't find any (in which case it is probably the bearings) you'll need to buy a new fan.

Thank-you for your reply. I will follow your advice and let you know. :)

sharky_machine

mattyd 89 Posting Maven Featured Poster

Hello:

Recently one of the fans in my laptop is "grinding" usually within one minute of booting. There are three fans: the grinding one (the largest), a smaller one next to it, and a tiny fan positioned next to a heatsink.

At first we thought it was the hard drive making this awful noise :surprised:twisted:, but removed the bottom plate and were relieved to find it was this fan.

It sounds like: something is loose and causing this problem, the fan has become inbalanced in its mechanism and will not operate correctly now, or perhaps something is lodged in it.

Dust, ash could not cause such a problem could it? I am a programmer and do not know much about hardware.

Thank-you for any help in advance.

sharky_machine

mattyd 89 Posting Maven Featured Poster

Then I'll be the first to like the summer. I'm from holland and it rains 99% of the time. And when it doesn't rain: it snows... For the people that don't where to find Holland: it's next to Germany, so we know what snow is too.
In the summer there might be a change that you won't soake the instant you step outside.

Hello:

Holland is a wonderful country. I spent a month in Amsterdam, Monnikadam, and Marken a few years ago-- lovely places, especially the countryside. ;)

Regards,
sharky_machine

mattyd 89 Posting Maven Featured Poster

basically i think we need to crank it up a notch guys :) cos by then welll all be like 30

LOL, well I had better really "crank it up" then-- I am well over 30.
:-|:cheesy:

mattyd 89 Posting Maven Featured Poster

I am pleasantly surprised by all the snow, Winter, and rain lovers here :cheesy::cheesy:

Quite honestly, I detest Summer and bright sunlight altogether. Give me rain, sleet, fog, and snowflakes!

Regards,
sharky_machine

mattyd 89 Posting Maven Featured Poster

I have a perfect hawk eyed vision

PS: BTW Mr. WaltP you have an excellent and awesome avatar there, unparalled. Kudos to the one who made it ( dont tell me it was you )

~s.o.s~:

Your vision must be very keen indeed; as you pointed out WaltP's avatar-- how many times have I seen it now and never even noticed the words Master Einstein is writing? :o

Very Nice Avatar :cheesy:

mattyd 89 Posting Maven Featured Poster

~S.O.S.~

I am not a fan of hot weather, but there are a few countries I would make an exception for, to hopefully visit some day: India, Israel, Egypt, Brazil\ Argentina, Spain.

I moved from Texas one-year ago (going to school there. I am originally from Ohio) to the East Coast. Summers are much better here in the NYC-area, milder. Living in Texas was like living in a bloody swamp-- not like a swamp, it actually was real, steamy swampland :sad: . Never will I live in the South again, God-willing.

But, India: I absolutely love the food (my favorite, actually), I really like the music, and from what we hear of India in the States, a massive tech boom especially on the software front. :)


Regards
sharky_machine

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

WolfPack:

Thank-you for you reply and explanation. It makes perfect sense to me now.

sharky_machine

mattyd 89 Posting Maven Featured Poster


Are you sure that you have a girlfriend? It is more likely to be a hallucination of Dani.

Perhaps DaniWeb is a hallucination from my girlfiend :surprised;)

Maybe I just hallucinate :-|:)

mattyd 89 Posting Maven Featured Poster

Yes, Winter, very nice indeed.

mattyd 89 Posting Maven Featured Poster

I Love Rain. I always have. I also adore snow. Cold and "dreary" weather like London in the Fall. Where I live we have been getting nice rain and cool, dark-cloud nights recently. Great sleeping weather. Great for sitting-at-the-computer-all-day weather (well, each day is like that but, LOL). Romantic weather.

Summer, honestly gets me down. Beaches, sports-- no. I would rather go to Germany, England, or Norway and be in the icy mountains or walk through the dirty streets. :cheesy:

What do you like and why?

mattyd 89 Posting Maven Featured Poster

I dream in color most of the time (well, at least sections of many dreams are higlighted fully in color. My girlfriend also dreams in color) There must be a valid reason why researchers say we "only" dream in black-and-white-- but, no, it not true en total. I do not think color dreaming -vs- black-and-white is significant either way one looks at it or "dreams" of it.

This morning (I only got about 2.5 hours sleep) I dreamt of coding. It went like this, panicked:

"Where is the '}', where is the closing '}'? Now, where is that 'if-- where is the damned 'if' !?."

Instead of on a comp screen, my compiler was displaying on a newspaper, and as I flipped each page I could view each cpp, header, etc. I never found the "}" or the damned "if". :rolleyes:

mattyd 89 Posting Maven Featured Poster

Easy Rider -- classic-- one of my favorites!

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

Dreams seem to be about a few fundamental themes only:

  • Conflict resolution
  • Family heirarcheal issues
  • Sexual dynamics and status
  • Food; gluttony and\ or famine
  • Abstract imagery (filler material, essentially)
  • * A means for revelation from God

It goes without saying, dreaming, IMO, is simply the brains mechanism to process unresolved data. It is sort of a "defrag" for the mind: the ordering of the various, seemingly random pieces we absorb on a daily basis. It is quite amazing, that is, the Universe's most complex, organic computer (and ever-evolving!) :cheesy:

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

**Welcome Back**

mattyd 89 Posting Maven Featured Poster

Are you sure you're ready for this? It's somewhat complicated ;)

First of all, your input must be in char* or string. Then you must check each character entered to see if it's the correct type of value -- like all digits for int. If there's a bad character, decide what you need to do -- convert what you can or call it an error and try again.

If all is well, convert the string and return the proper value.

WaltP:
Thank-you for your reply and help. :)

Yes, I'm sure I'm ready to use this, I just need to understand it a bit better before I make use of it.

Thanks again,
sharky_machine ;)

mattyd 89 Posting Maven Featured Poster
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
long convert_to_int(const char* input )
{
    char* end = 0;
    long choice;
    choice = strtol( input, &end, 10 ) ;
    if ( *end != NULL )
    {
        cout << "couldn't convert " << input << " to int\n" ;
        return 0;
    }
    else
    {
        cout << "Number " << choice << "\n" ;
        return choice;
    }
}
int main () 
{
    string input = "10";
    convert_to_int(input.c_str());
    input = "10.000";
    convert_to_int(input.c_str());
    input = "a";
    convert_to_int(input.c_str());
    return 0;
}

WolfPack:
when you get the chance, could you please explain this above code to me a bit in your own words?

Thank-you in advance.

sharky_machine

mattyd 89 Posting Maven Featured Poster

C or C++?

WolfPack:

Sorry about that. I am writing in C++.

Thanks.

sharky_machine

mattyd 89 Posting Maven Featured Poster

id email 8 gig .isos to myself over and over 24/7 for a year and my friends would do the same in order to bring down google

Well, obviously Google's server-farms had little problem handling your mass-mailings. :rolleyes: LOL. There are still there and stronger than ever.

Google provides fine services and they are successful due to their hard work and diligent coding practices.

Cheers (to Google ;))

mattyd 89 Posting Maven Featured Poster

I have:

  • One Yahoo address: primary for family, some friends, forums, sign-ups, junk.
  • One GMail address: personal business, professional.
  • One Company Address: internal, particular company-related externals.

I use them all equally. I like my GMail and Company email addresses the best.

mattyd 89 Posting Maven Featured Poster

I am working to add some simple user input checking into my program; there are three (3) int choices from a menu-- 1, 2, or 3. The user must choose one of these. I am able to check whether or not the input is 1, 2, or 3-- but I am not sure how to go about checking that the input is not possibly (accidently) a float or char. Any other input besides an int causes a failure and an infinite loop. I must prevent this.

I considered the idea of converting all input to int (from float or char) but I have had little sucess with my research with this so far, converting an input value to int from any possible other type (float, char, double, etc.)

Any advice, direction, or resources on this matter would be well appreciated. Thank-you in advance.

sharky_machine

mattyd 89 Posting Maven Featured Poster

Yes, I play this one all the time (downloaded version). I absolutely love Pac-Man! I played it when I was a kid in the arcade and to this day it always makes me smile. Modern video games are awesome but they do not compare to the simple, joyful Pac-Man. Classic!

mattyd 89 Posting Maven Featured Poster

Something a bit different:

Keep What Ya Got
by Ian Brown

http://www.youtube.com/watch?v=HTin4M3x5kQ

Yesterday came suddenly
Tomorrow will receive
Today now you're at the wheel
I'll ask how does it feel

Yesterday when Heaven's gates
I contemplate, they seem so far
Today they ain't so far away
And almost see my train

Keep what ya got, by giving it all away
Keep what ya got, by giving it all away
Keep what ya got, hold it, don't stop
Keep what ya got, by giving it all away

When your halo slips for good,
You'll have to wear your hood
Could you feel the breeze of fear
On all the cynics, I'm ya mimick
All you losers, all abusers
Wasting all my precious energy

Keep what ya got, by giving it all away
Keep what ya got, by giving it all away
Keep what ya got, hold it, don't stop
Keep what ya got, by giving it all away

Remember where you came from
Sisters who told ya on a rainy day
They said that Heaven holds a place
For all of those who pray
And if you don't believe in piety
Then you don't care anyway
Nobody or nothings ever getting in your way

Even as you pray to the lord
But don't feel you belong
No one's gonna notice if you never right no wrong
And if you and your next neighbour
Yeah, you don't quite get along
No one's gonna notice if you're singing …
mattyd 89 Posting Maven Featured Poster

Eeeeks.. all these guys do is keep on growling..hehe not my type. Looks like you are absolute death metal, grindcore fan...
Even I was once, when I was all downtrodden, thought there was nothing left to lose, everything was gone and all that.

And with lyrics like these, my emotions were intensified..


But now I am trying to change the way I look at life, trying to be a better human..coz I have learnt that life always sucks, its your responsibility to make it worthwhile and enjoy your living.:mrgreen:

:cheesy: ~S.O.S.~:

Hello:

Well, "Looks like you are absolute death metal, grindcore fan..."--no, actually not at all. I like this one death metal band(Bolt Thrower), but really my fave (and really only) metal is Iron Maiden. I like Rammstein a lot, and heavyrock like Coheed Cambria, Led Zeppelin and Queen, but usually I listen to stuff like: Mozart, Ian Brown, The Petshop Boys, Tom Waits, The Pogues (Irish), Prince, 80's music\pop... The list goes on and on.

I changed (trying to change the way) I look at life, also: I am a pessimest (usually) but, with God and my religion, I have discovered a much-ignored fountain to drink from which not only betters my life but I hope betters the lives (the world) of those around me.

Regards,
sharky_machine

mattyd 89 Posting Maven Featured Poster

Sure, but to expect to magically find that "one" by visiting a website....

Mathematically you are correct, but: I met my girlfiend on a dating site; we lived 2,000+- miles apart at the time (I in Texas, she in NYC). Upon graduating from school I moved to NYC so 1) I could begin my career 2) We could be together. That was one-year ago. What we have is splendid, lovely, and because it is ordained by God-- what can I say? Blessed. Am I lucky? No-- I do not believe in luck. It is actually quite a living miracle that grows day-by-day. It takes work and it is quite fun, intellectually stimulating, and spiritually fired-up. Now, if I could only get my career going as good as my relationship :lol:;).

Regards,
sharkey_machine

mattyd 89 Posting Maven Featured Poster

~S.O.S.~:

Cenotaph by Bolt Thrower


Definition of "Cenotaph" from Wikipedia

[IMG]http://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Portland.stone.cenotaph.london.arp.jpg/180px-Portland.stone.cenotaph.london.arp.jpg[/IMG]

The Cenotaph, London

A cenotaph is a tomb or a monument erected in honour of a person or group of persons whose remains are elsewhere. It can also be the initial tomb for a person that has since been interred elsewhere. The word derives from the Greek words kenos, one meaning being "empty" and taphos, "tomb". Although the vast majority of cenotaphs are erected in honour of specific individuals, many of the best-known cenotaphs are instead dedicated to the memories of groups of individuals, such as the war dead of one specific country or empire.

mattyd 89 Posting Maven Featured Poster

Dripping-Dropping-Crash

mattyd 89 Posting Maven Featured Poster

Whatever happened to just being yourself?
If you need some company to arrange a mate for your and a book or website to tell you how to "snatch them up", maybe you should better stay single.

Well, personally, I can say I never needed "help" and I never aimed to "snatch them up". There are many routes and options especially nowadays including, you are correct, staying single. It just stands to reason that as our society grows and technology evolves these options will grow as well. How one finds "the one" (if that is what you wish) and how one accoplishes this (in a reasonable manner) is a personal endeavor and preference. ;)

mattyd 89 Posting Maven Featured Poster

Here are five important tips to achieve a successful date I would like to share:


Pointer #1 - Avoid dating occasionally.


This result to what we call "dating fatigue". Dating is an continuous activity (until you find that perfect match) and so recharging your energies, building self-confidence and maintaining optimism levels high must be practiced. I advise that you schedule your date in time frames to regain your renewed vigor if necessary.


Pointer #2 - ENJOY your date as much as possible


Always strive to enjoy dating activities even if it shows signs of not being compatible with your date. Remember, this is one aspect of socializing and grab the opportunity by spending time in the company of new acquaintances who may or may not bring you a sparkle. The truth is, most people are interesting in a way and this may be the chance to look for new friends!


Pointer #3 - Never divulge your entire being on a first date.


Basically, we tend to be more interested with individuals who are mysterious and the thrill of the chase when dating. Therefore, if you are looking for a more serious relationship, sex is out of the agenda in a first date. As your date progress and the person starts to fall for you within a reasonable time, then there is a higher percentage that real love may bloom.


Pointer #4 - Do join a quality …

mattyd 89 Posting Maven Featured Poster

English

This thread is a year old, why are you posting in it ?

Dutch

Dit onderwerp is een jaar oud, waarom reageer je hier op?

;)

I think the question is: Why are you posting in it? ;):cheesy:

mattyd 89 Posting Maven Featured Poster

nanodano:

TY so much for your reply. I followed your suggestion(s) and used:

* setting test condition in printshippos to checkflag >= 0


That was the solution :cheesy:

Thanks again. Appreciate it.

sharky_machine

mattyd 89 Posting Maven Featured Poster

nanadano:

Here is the code you requested. Thank-you for your interest.

Upon fixing the previous error that we discussed, another bug has appeared that I find very odd: It seems that when I run the program at first and enter a choice via the user interface (in this case "1" as it's the only valid choice at this point besides "2" which is simply used to exit) it takes the input and loops directly back to the interface requesting user input again; after entering "1" a second time it finally runs as it should looking at ship position (shipPos). Again, At this point it requires me to enter user input twice to run the initial shipPos. I have been debugging and stepping-through the entire thing but have yet to find this bug.

Here is the code:

Look.h

class Look {
public:
 

void printShipPos(); // new function declaration

Look(); 
~Look(); 
};

look_Earth.cpp

#include <ctime> 
#include <cstdlib> 
#include <iostream>
#include "Look.h"
using namespace std;

int checkFlag ;                            
 

Look::Look() {
}
 
Look::~Look() {
}

void Look::printShipPos() 
{ 
    if (checkFlag > 0) 
    {
        static int shipPos = 0;

        //cout << shipPos << "_shipPos_1"<<endl;
        shipPos = shipPos + 228;
        //cout << shipPos << "_shipPos added"<< endl;
    
    
        if (shipPos == 228) {
        std::cout << "French Polynesia [Out of Transmission Range]"<<endl; 
        }
        else if (shipPos ==456){
        std::cout << "Maui, Hawaii [Out of Transmission Range]"<< endl; 
        }
        else if (shipPos == 684){
        std::cout << "Pacific Ocean (open waters) [Out of Transmission Range] …
mattyd 89 Posting Maven Featured Poster

"Ich Will" video by Rammstein (German)


**Below are the English Lyrics to this Song:

[U][B]I Want[/B][/U]  by Rammstein

I want you to trust me
I want you to believe me
I want to feel your eyes
I want to control every heartbeat

I want to hear your voices
I want to disturb the peace
I want you to see me well
I want you to understand me

I want your fantasy
I want your energy
I want to see your hands
I want to go down in applause

Do you see me?
Do you understand me?
Do you feel me?
Do you hear me?
Can you hear me?
(We hear you)
Can you see me?
(We see you)
Can you feel me?
(We feel you)
I don't understand you

I want

We want you to trust us
We want you to believe everything from us
We want to see your hands
We want to go down in applause - yeah

Can you hear me?
(We hear you)
Can you see me?
(We see you)
Can you feel me?
(We feel you)
I don't understand you

Can you hear us?
(We hear you)
Can you see us?
(We see you)
Can you feel us?
(We feel you)
We don't understand you

I want
mattyd 89 Posting Maven Featured Poster

The Fallen Angel by Iron Maiden

Azazel is beside you and he's playing a game.
Demons are inside you and they're making a prayer.
Watching-- are they hiding-- as they wait for the time,
For the Devil to get ready to take over your mind.

You and only God will know--
What can be done?
You and only God will know--
I am the only one.
You and only God will know--
I am the chosen one.

[B] Chorus[/B]
~~~~~~
Could it be it's the end of the (our) world?
All the things that we cherish and love?
Nothing left but to face this all of my own,
'Cause I am the chosen one.

Beaten Fallen Angel--
But I've risen again!
And the power is inside me
 I've decided to pray.
As I wait for Armageddon
And it's coming my way.
It's an honor to be chosen
and I wait for the day.
mattyd 89 Posting Maven Featured Poster

Nanodano & WaltP:

Thank-you again for all of your help and suggestions; I followed everything you told me of and the problem I have been having is fixed.
I appreciate it a lot. Solved.


sharkey_machine

mattyd 89 Posting Maven Featured Poster
Pick up the bones by Alice Cooper

  
Collecting pieces of my family
In an old pillow case
This one has a skull

But it don't have a face
These look like the arms of father so strong
And the ring on this finger

Means my Grandma is gone
Here's some legs in a cloud
Where my sister once played

Here's some mud made of blood
And these teeth are decayed
The ear of my brother

The hand of a friend
And I just can't
Put them back together again

Pick up the bones
And set them on fire
Follow the smoke going higher and higher
Pick up the bones
And wish them goodnight
Pray them a prayer and turn out the light

There are stains on the floor
Where kitchen once stood
There are ribs on the fire place
Mixed with the wood

There are forces in the air
Ghosts in the wind
Some bullets in the back
And some scars on the skin

There were demons with guns
Who marched through this place
Killing everything that breathed
They're an inhuman race

There are holes in the walls
Bloody hair on the bricks
And the smell of this hell
Is making me sick

Pick up the bones
And set them on fire
Follow the smoke going higher and higher
Pick up the bones
And wish them goodnight
Pray them a prayer and turn out the light

Pick up the bones
And set them on fire
Follow the scope going higher …
mattyd 89 Posting Maven Featured Poster

BLACK PLANET by The Sisters of Mercy


(In the western sky)
(My kingdom come)

So still so dark all over Europe
And I ride down the highway 101
By the side of the ocean headed for sunset
For the kingdom come
for the

CHORUS

Black
Black planet
Black
Black world
(repeat)

Run around in the radiation
Run around in the acid rain
On a
Black
Black planet
Black planet hanging over the highway
Out of my mind's eye
Out of the memory
Black world out of my mind

Still so dark all over Europe
And the rainbow rises here
In the western sky
The kill to show for
At the end of the great white pier
I see a

CHORUS

Run around in the radiation
Tune in turn on burn out in the acid rain on a black planet

mattyd 89 Posting Maven Featured Poster

Two (2) videos for your consideration; Coheed and Cambria!

http://www.youtube.com/watch?v=BsgOl-vedtA

http://www.youtube.com/watch?v=q2dYicFvLac

mattyd 89 Posting Maven Featured Poster

If you feel that is sad... see this:

Poetic Tragedy by " The Used "

~S.O.S.~:

TY for this post. I can relate to much of this (or, at least I could much in my past). Time has healed a lot as has God. But tragedy always lingers like the smell of burnt offerings. I try to learn from it I suppose. :-|

sharky_machine

mattyd 89 Posting Maven Featured Poster

"Brothers of Metal" have you heard this song :mrgreen:

Yes, of course ;) -- its is one of my favorites by Manowar.:)

mattyd 89 Posting Maven Featured Poster

Nope, never heard of them sorry. Maybe you heard of my unknown one? Manowar?

I love Manowar :!::cheesy:

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

Thank-you for all you help and suggestions :)

mattyd 89 Posting Maven Featured Poster

i believe your missing a close bracket "}" from your initial if block

Yes, Thank-you for pointing this out, but I think my problems goes deeper somehow :confused:.

I appreciate your help.
Regards,
sharky_machine