alc6379 120 Cookie... That's it Team Colleague

If you've got Darwin installed on your Mac, you should be able to use wget natively. If not, like everyone else has suggested, compiling it will work. I've done it myself on a G3 running OS X.1, and it worked just fine.

alc6379 120 Cookie... That's it Team Colleague

If people had kept up with the counting like we were asked to (:p), we'd be at 00100100 by now. Get with it, people!

alc6379 120 Cookie... That's it Team Colleague

The shell script could do this

#!/usr/bin/sh

<put program name here>

if [ -a output1.txt ];
then
mv output1.txt 1.txt
else
echo "file: was not written"
fi

<put next program name here>

if [ -a output2.txt ];
then
mv output2.txt 2.txt
else
echo "file: was not written"
fi
.
.
.
.


When your are finished save the script as a <any name>.sh then at the command line do chmod +x <any name>.sh

You can then run the shell script from the command line

That's a start, but it's a tad inelegant. Instead of doing that, you could use recursion of some sort with a variable to rename the file, and just reuse a loop to name the files. I'd have to study up a bit on that (my shell scripting's kind of fuzzy), but that'd be more scalable. Like, what if he wanted a file named output35.txt-- he'd have to use that statement 35 times!

alc6379 120 Cookie... That's it Team Colleague

Ever thought about sudo?

It will allow you to execute single commands as a user without having to drop into the shell of that user. You could even run sudo, and point it to another shell script that contains all of the commands you need it to run, so you could make that script stay somewhat compact.

alc6379 120 Cookie... That's it Team Colleague

Is the program running repeatedly? How/what exactly are you trying to do?

Depending on the ways you wanted to do this, I could hammer out some examples. But, we need more explanation on what you're doing.

alc6379 120 Cookie... That's it Team Colleague

You probably just need to install Windows on the system, or some other OS. If the system has a CD drive, you could download an ISO of a Linux distribution, and have some fun.

alc6379 120 Cookie... That's it Team Colleague

Closing thread.

The answer is, you're probably going to be unable to get a reg key from 321, because they are closed down. I edited out the link that Thong_Inspector provided, though, because it violates forum rules on piracy/illegal activities.

In a nutshell, since 321 is shut down, you will have to find some kind of crack for it. But, since forum rules prohibit discussion regarding pirating software, we're not at liberty to discuss where to find such cracks here.

alc6379 120 Cookie... That's it Team Colleague

Is the version of VS.NET 2003 an upgrade? If not, you might be better off uninstalling VS 6, and then installing VS.NET 2003.

alc6379 120 Cookie... That's it Team Colleague

At least it looked better than the Java Desktop that Dani mentioned... :(

Where's a smiley for someone puking?

alc6379 120 Cookie... That's it Team Colleague

dlh6213
You have said that more then once man.
The guy needs you to answer it in that Box. Not give him links.

Look man.
The computer's Boot files are obvisly Infected with a virus. Goto Setup (press Del when starting up) and setup to boot from a Disk. Then I would reformat. This is a long and hard process, but it seems to be the only way if you cannot make the compyter stay on for more then a Minute

He has said that more than once, and he should say it as many times as he possibly can, because it's so true. Some virus has attacked the RPC service, and is screwing things up. There is no need to reformat the PC, as you can use Stinger to remove the two most common viruses that cause this, Sasser and MSBLAST.

It might not be a bad idea to reformat, but out of the hundreds (literally hundreds) of cases like this I've seen in the past year, there's not been but 1 or 2 cases where I haven't been able to fix it with Stinger. In those two cases, there was other software that was wrecking things, too.

dlh6213 commented: Thanks for backing me up :) +1
alc6379 120 Cookie... That's it Team Colleague

the correct way is

var = raw_input("Enter something: ")
print "you entered ", var

using input is unsafe as it evaluates your python code as commands and can cause someone to hack your code.

I didn't know that! You've at least enlightened two people.

Just out of curiosity, what does raw_input() do different from input()? Does it escape out everything, like !'s, /'s, and such? Or, do something to where they couldn't define/change other variables with their input? Am I close?

alc6379 120 Cookie... That's it Team Colleague

not to mention that Google has already taken action against people selling GMail invites so mentioning they're free as a marketing trick is to say the least shady...

"pay $50 to get free advise" kind of shady :)

Not to mention that this can be considered spam, and grounds for banning from our forum...

alc6379 120 Cookie... That's it Team Colleague

Also, lots of these copy-protected DVDs require you to install this Interactual DVD player program, which can actually be considered as spyware. Sometimes, that's the only way to get those movies to play.

alc6379 120 Cookie... That's it Team Colleague

Not knowing PHP, it'd probably be just an if statement of some sort, perhaps? If fieldname=NULL, then throw some kind of notification?

alc6379 120 Cookie... That's it Team Colleague

It's called Google, folks. Learn it. Love it. Use it. Don't start 6+ threads in one day on the same topic.

alc6379 120 Cookie... That's it Team Colleague

Thanks for the quick answer! How does one typically delete/find the buffer? tfile->delete was my first guess, but it causes segmantation faults since the ofstream constructor was not called...

The problematic snippet of code writes the interesting data from my monte carlo sim.

Can you post that code snippet? It might help if our members had that to look at.

alc6379 120 Cookie... That's it Team Colleague

OKAY. Third thread today I've had to close because of flaming/arguments, etc.

The next person I see flaming/getting ugly with someone, I'm banning. Let's watch the language, too, folks.

alc6379 120 Cookie... That's it Team Colleague

Flaming, demanding, being rude, what more can we ask?

/me gets out clue-by-four... :(

alc6379 120 Cookie... That's it Team Colleague

Looks like an entire classroom full of kids has gotten their homework assignment and are all posting it at the same time :)

Agreed. Guys, thanks for making me have to edit out this whole thread and close it. :(

alc6379 120 Cookie... That's it Team Colleague

Couldn't you just compile it, and then rename the output file whatever you want?

alc6379 120 Cookie... That's it Team Colleague

varunrathi:

Don't post whole solutions for people on the forum. We're not here to hand-hold, we're here to help people learn.

alc6379 120 Cookie... That's it Team Colleague

Bleh. Spell my name right first and then we'll talk ;)

You're saying that's the only requirement? :D

alc6379 120 Cookie... That's it Team Colleague

Just looking at this, there seems to be very little you've actually done. I don't program that much, if any, and I probably could have framed out what you've got there, no offense.

What part are you stuck on? I wouldn't write any code for you, but wouldn't you first want to start by looking for a formula to convert grams to ounces, or something similar, and integrating that into your calculate function? The functions for input and output should be fairly basic, too-- your textbook should clearly outline how to deal with user input and output, as that's something EVERY program should do.

I mean, if you know 1 kilo is = 1000 grams, 1 lb is 16 oz, and 1 kilo is = 2.20046 lbs, you can figure it all out:

1 kilo = 35.20736 ounces

so

1 gram = 0.03520736 ounces

There you go right there. Just being me, and I'm sure someone will come with a better way if I'm wrong, I'd get the input in kilos and grams. Then, convert the kilos to grams. Convert the total grams to ounces, and then work out how many pounds and ounces are in that amount(use a modulus for that? I dunno...)

Disclaimer: I'm not a programmer, but that's what I'd think to do logically. Take someone else's advice before mine, or use my advice only in the event of a lack of more suitable advice. ;)

alc6379 120 Cookie... That's it Team Colleague

hey check it out lets make our own crazy ass code for numbers for example:


AE.....is that right?

Erm... what would the base be on that one? If that's supposed to be 31, I guess that 32 would be AF?

I'm confused now... :(

alc6379 120 Cookie... That's it Team Colleague

You're most likely aware of this Alex, but for the benefit of philpotrebel (and others reading this) the following instructions should be followed when removing a heatsink and replaceing or refitting it:

http://www.arcticsilver.com/arctic_silver_instructions.htm

The procedures described in that which relate to cleaning the processor and heatsink are relevent no matter WAHAT type of thermal transfer material is used afterwards. A processor heatsink should NEVER be removed and refitted without cleaning the surfaces and applying new material.

Boo. Who needs that? Tap water's always worked for me! ;)

BIG JOKE! PLEASE DON'T DO THAT!

Yes, Catweazle's definitely right on this one. It's especially true for a high-end heatsink, like my MCX-462-v, as the mirror finish that it has needs to be free of foreign objects, including other brands of thermal grease.

alc6379 120 Cookie... That's it Team Colleague

30 would probably be a good place to stop. Let me know when someone gets to that, err... waitaminnit...

Nobody's mentioned octal yet-- come on now! 36

alc6379 120 Cookie... That's it Team Colleague

Okay, so I bought a SCSI hard drive for an old system, I got it, and it turned out not to be Ultra Wide like they said it would be, but it was Ultra 160LVD. Now, this isn't a problem, because I've got a terminator and everything to make it work with my Ultra Wide system, but here's the kicker:

It's actually really nice for what it is-- it's a 10000RPM Ultra 160 drive, so it's bound to be pretty fast. I'm thinking of instead of dropping it in my old box, I can actually use this as a boot volume for my drive. But, the problem is, my old system has an Ultra Wide card, but my new system doesn't have an Ultra160 controller.

I've been eBaying, Googling, Froogling, and Newegging it, and I'm finding a couple of things. Firstly, Ultra160 adapters are most commonly 64-bit PCI cards. I've found some that say 64/32-bit, and one or two that are just 32-bit PCI cards. My question is this: Can I plug a 64-bit card into a 32-bit slot and have it work? The interface on the cards look like they'd fit, with the exception of the extra row of connectors on the back that would fit in a 64-bit slot.

Now, there's an additional part to this, too: I've found a 32-bit Ultra160 card that's reasonably priced, and I'm thinking of getting it. Can anybody estimate what kind of speed impact I can expect, if any, …

alc6379 120 Cookie... That's it Team Colleague
alc6379 120 Cookie... That's it Team Colleague

What type/speed of Celeron processor? There are actually a couple types of Celeron.

alc6379 120 Cookie... That's it Team Colleague

There are plenty of good brands to pick out, really. But, I would just look at price and speed.

If possible, shy away from high density memory, or at least that's been my experience. That tends to be OEM, lower quality stuff, and had limited compatibility with several systems I've run, including Dells and HPs. It's WAY cheap, but you're taking a risk with it not working in your system.

alc6379 120 Cookie... That's it Team Colleague

My personal terrorizer is running an insanely beefy combination. I've got a Swiftech MCX-462-v heatsink:

http://www.newegg.com/app/viewProductDesc.asp?description=35-108-020&depa=0

and a Vantec Tornado 92mm fan:

http://www.newegg.com/app/ViewProductDesc.asp?description=11-999-613&depa=0

This is on a Barton XP 2500+, no overclock, running with cheapy thermal grease, and I NEVER peak over 40 deg C under load. And, that's with a fan controller, running on low! If I crank the fan controller to high, the thing sounds like a hair dryer, but I can get it going pretty well at 37-38degC under load. I've got a tube of Artic Silver thermal paste, I'm thinking of redoing the rig, and including some of that, to see how my temps run.

alc6379 120 Cookie... That's it Team Colleague

I have an HP Pavilion ze5000s. My grandson knocked it off the desk the other day and one of the fans quite working. I have taken all the screws out (even about three that were hidden) and I cannot get the thing about. This is a laptop. It will come apart at the sides and corners but there is something holding it in the middle. I am not sure what to do to get it the rest of the way apart. I am sure the fan blade just got bent when it fell but I am at my wits end with this thing. I have to have a fan blowing into the side of the thing just to check my email. Any suggestions would be wonderful.

Thanks
Karrie

Have you contacted HP Spare parts? I'm almost certain that a Google search would yield a service manual for that unit.

alc6379 120 Cookie... That's it Team Colleague

If you were running a Windows Server (2000 or 2003), you could install Exchange on it, and set up a messaging server.

alc6379 120 Cookie... That's it Team Colleague

if that is the case, then why do you think you are getting this error message ??? Will it then continue to load or dors it just stop !! i still think you need to rpaire or reload windows ,

Assuming nothing's wrong with your install (other than the boot sector being corrupted), a repair reinstallation of Windows is a feasible idea. I've had it work in several instances where NTLDR was missing or not found.

alc6379 120 Cookie... That's it Team Colleague

your post is in violation of the terms of service and has been reported as such.
Plus by doing peoples' homework for them you're doing the entire IT industry a massive disservice by lowering the quality of programmers entering the industry (or rather you're helping people enter the industry as programmers who don't know the first thing about programming, thus increasing the workload of people who do know while decreasing the appreciation others have of us).

My sentiments exactly. User banned, posts deleted, within guidelines of Daniweb.

alc6379 120 Cookie... That's it Team Colleague

Actually, it is different. PCI-X is compatible with regular PCI, whereas PCI-E is not. Check out this link I found, I'm sure there are better ones:

http://www.osronline.com/article.cfm?article=308

alc6379 120 Cookie... That's it Team Colleague

This is one of the few times I'd recommend trying a repair reinstallation of Windows. I've had success with 2k/XP in these situations. Try doing a forum search for information there.

alc6379 120 Cookie... That's it Team Colleague

uhmmm, guy, how could I declare variables for string in TURBO C? isn't it:

#include<stdio.h>
#include<string.h> /* is this right??? */
int z=0;
char x;
main()
{
     printf("blah blah blah");
     scanf("%s",&x);
     z=strlen(x); /*can I use this???  cause in my pc, it says that posible use of 'x'...
                     I would like to count the number of character the user inputs...*/
     printf("it's %d",z);
     getch();
}

Just as a passing aside, this is the Java forum...

alc6379 120 Cookie... That's it Team Colleague

Okay, gone far enough.

Please post in English on this forum, as that is the predominant language. If you can find someone to provide help en EspaƱol, great, but don't count on it.

Also, let me take this opportunity to remind everyone some snippets from our Acceptable Use Policy:

[/b]Keep it pleasant[/b]
Do not troll. Always be polite and courteous in your posts, even if you do not agree with another member. Do not post racist, sexist or prejudiced remarks or comments. It is sad that I have to mention this, but this includes posting hateful comments about Windows users or Linux users in general, or judging someone based on hardware/software they choose to use. Do not spam the forum with useless or offtopic nonsense. Do not flame other members or post anything that has a good chance of being taken in a bad way. Remember, the internet is emotionless and we don't always know when you are being sarcastic. Do not participate in flaming wars.

...and:

Thank you for abiding by the forum rules. Failure to follow the rules will result in a warning for a first offense and possible ban on second and third offenses. Ignorance to the rules is not a reason not to follow them.

So let's keep things friendly, and let's focus on the questions. I'd hate to have to ban anyone for being racist, or for being combative...

alc6379 120 Cookie... That's it Team Colleague

Why not use ViM?

I personally like it, and I'm not trying to start a holy war here. It's got syntax highlighting, you can split frames in the window, and it's got Macros and stuff you can record. It works great for me, what little programming I do. I do, however, edit LOADS of scripts in it.

alc6379 120 Cookie... That's it Team Colleague

10110

I was sitting here thinking this thread was kind of dumb, but now I'm actually participating.

/me puts on kindergarten beanie...

alc6379 120 Cookie... That's it Team Colleague

another question i have (you guys are great)is there any way to tell whether or not there is a record of when the emails were sent,not when the person was logged on but when they were sent.

If this goes to court, there are logs that can be subpoenaed. You can contact your friend's ISP, and they can give you a record of all of the emails actually sent from your friend with an address of To: that girl. That way, you can show which emails actually came from their machine to the girl.

Of course, that's a non-issue if someone has compromised your ISP account. If you don't suspect that, you should be good to go. Additionally, if you can request copies of those emails she's accusing you of sending with the full headers, that would be great. Those headers show the path those emails took, the IP addresses of parties involved, and can lead to who actually sent them.

These things can be somewhat easy to prove, because there is a trail left by emails when they're sent. You just have to connect the dots, really.

alc6379 120 Cookie... That's it Team Colleague

Now, hex is cool, but let's do binary, too:

10100 :p

alc6379 120 Cookie... That's it Team Colleague

Just to add further to what people have already said, don't put emphasis on your thread just because it's urgent to you. Other people's topics have more urgency than yours by default, because they've simply been here before you. Trying to state that your thread is more urgent than anyone else's here is just plain rude.

alc6379 120 Cookie... That's it Team Colleague

Cain -- I have no problem accessing/using the drive; just doing some general maintanence. If I can't do it, it's no big deal, but I'd like to know why I can't.

Christian -- You were correct about the swap file; that never even occured to me (I didn't have it there last time I did this). The problem is, even after getting rid of it, it still won't format. I tried Safe Mode again, but still no luck.

Any other ideas?

Did you delete the pagefile, or actually change the swap drive in memory options? If you delete the file, it comes right back, I do believe. If you need instructions on changing the paging drive, I can find some, or Google can help.

alc6379 120 Cookie... That's it Team Colleague

Try booting to the recovery console on your Windows XP CD. If you can get into it that way, you won't be using any swap space, and should be able to format it.

alc6379 120 Cookie... That's it Team Colleague

Did you see it say, "Press any key to boot from CD" at all?

If your hard drive has anything on it resembling a filesystem or a boot sector, you have to tell the system to boot from the Windows CD. Try booting the system from a Knoppix CD or something-- that will make for certain whether or not you can boot to a CD.

alc6379 120 Cookie... That's it Team Colleague

OK, I just want some advice on two things.
2) I wanna hook up my gaming console to my PC but i do not have those red/yellow/white audio-video plugs in it.
Is their a video card I can buy or some sort of adapter to hook it up with?

Please respond ASAP.

You can buy what's called a breakout box for certain applications like this. Many times, they come included with a card like a Radeon All In Wonder, or something similar.

alc6379 120 Cookie... That's it Team Colleague

sorry but what is a shortcut?

A shortcut is a file that points to another item somewhere else on the filesystem. For instance, you could have "Shortcut to Notepad" point to Notepad.exe, in your WINDOWS folder.

alc6379 120 Cookie... That's it Team Colleague

Try this:
http://www.techsupportforum.com/archive/index.php/t-602.html

Apparently, TweakUI has a function that can fix this, but some other solutions are provided as well.