1,684 Posted Topics
Re: I don't think there's any purpose to this. Getting knighted by an online forum is like getting a diploma for graduating kindergarten. | |
Re: > Instead of simply informing Dani when there's a technical glitch or hole, he demonstrates how it could possibly be used in a bad way. I wouldn't say that. I decided that some people behave too materialistically about reputation points, as if they carried any meaning whatsoever. And I thought … | |
Re: Use the kind of image map that sends x-y coordinates. The competency behind wanting to send 1 MB of image map coordinates could be considered questionable... | |
Re: instead I'd recommend going through all the appropriate identifiers and parsing their camelcasedness. In otherwords, go through all the identifiers and make a two-way mapping of camelcase fragments and where they appear. So if you found identifiers "abcDefGhi", "abcKoopa", "caterpillar", "snowCat" and "abcbomb", you'd get in your dictionary "abc", "def", … | |
Re: Seriously, everybody sins from time to time, so they should electrocute entire cities at a time. | |
Re: [QUOTE=jbennet;401413]he did the same thing to me, i had a whole page of it, this was a while ago[/QUOTE] Now [i]this[/i] is an interesting accusation... | |
Re: I don't understand your problem. If your perl script and your perl module are in the same directory, then just 'use' the module. For example, I had a 'grouper.pl' and a 'CSV.pm' file in the same directory. The 'grouper.pl' contained the line, [code]use CSV;[/code] and it works. It's supposed to … | |
Re: Certain words are taboo for the same reason that certain combinations of musical notes and certain colors of light are taboo. | |
Re: Well.... do you have any reason you need to fork off a process in the first place? | |
Re: You need to generate it. Some program such as rsa-keygen or such can generate a public/private key pair for you. Then you send the public key to whomever is on the other end, so that you can form an encrypted connection. | |
Re: What you've just described is selection sort, where you select the minimum element from an array and append that onto an array that you're growing. Insertion sort takes out the first element of the remaining elements and inserts it into the right place. To sort [2 7 3 9 4], … | |
Re: What is a religon? Or is it one of the pokémans? I prefer Porygon, myself. | |
Re: [QUOTE=EnderX;387073]I'm confused. I thought a move had to be a pair of alphanumeric designators...starting position and ending position. Am I mistaken?[/QUOTE] Depends on the notation. If you're using piece and square number, the piece name is just omitted when it's a pawn, and on pawn captures it's given in the … | |
Re: I think Serunson was referring to use of the military in ways that, you know, benefit the U.K. | |
Re: [QUOTE=Rhyan;396677]About Israel, I have no freakin idea who's right or wrong there - for me they're all wrong.[/QUOTE] In my opinion they're right and their parents or grand-parents (at least on one side) are wrong. Nobody can be blamed for being born into a conflict. | |
Re: Just generate the non-Fibonacci series the same way you'd generate the Fibonacci series -- just print out all the numbers [i]between[/i] your current and the previous one, instead of only the current. You don't need to fill any containers. | |
Re: [QUOTE=Aia;385450]>how to find out the maximum and the second maximum number from an array of integers You sort them out in ascending order and then you pick the last two.[/QUOTE] Use a heap ^_^ to store the top two elements as you walk through the array. Then finding the top … | |
Re: Just write it in Python and then replace "range(1,16):" with "1..15" and voilà : pseudocode. | |
Re: Your argument that everything is physically determined is actually contrary to what many quantum physicists say. They would say that the universe is actually fundamentally random, at the quantum level. Or, they would say that there's no evidence otherwise. There is of course the possibility of undetected machinations underneath, but … | |
Re: Or maybe you just don't comprehend. You swine. You vulgar little maggot. You worthless bag of filth. As we say in Texas, you couldn't pour water out of a boot with instructions printed on the heel. You are a canker, an open wound. I would rather kiss a lawyer than … | |
Re: A laptop is just fine, no desktop needed, as long as it has a good keyboard and, of course, a nipplemouse. However, a desktop has the advantage of... um... in the case of Dell, not exploding. Also, it takes up less desk space, when using an external (i.e. good) keyboard. … | |
Re: Do you want to change the internal machinations of the ode45 solver, or do you just want to look at the results of the ode45 solver at particularly-intervaled timesteps? If the former, the answer seems to be no. [url]http://www.mathworks.com/support/tech-notes/1500/1503.html[/url] | |
| |
Re: Why don't you read your school's course catalog? | |
![]() | |
Re: At the very beginning of the main function, insert the line [inlinecode]return 0;[/inlinecode]. Then it will work for zero lines. Problem changed! HTH HAND You can't expect serious help on a problem if you don't even explain what the problem is. Unless you need vague, obvious advice, like, "debug the … | |
Re: [QUOTE=Narue;386381]>I encounterred a person who said that C++ is an unsafe language. It is and it isn't. C++ doesn't do much to protect you from doing something wrong, so in that light it's an unsafe language. However, if you do things right, it's perfectly safe. I'd say that person was … | |
Re: First off, what's with the green color? And use code tags for code, please. > I am having problems with the following program. We are to create a biary tree that takes words form a text file and then create a link list the the number the word was found … ![]() | |
Re: "gravity" isn't a wave -- in the same sense, electric fields are not waves. It's variations in gravitational fields that propagate. For example, the variations in gravitational fields created by a binary star system, or by the Sun-Earth system. | |
Re: I don't see any reason it's immoral to do things with non-thinking cells, as long as they're yours to do things with. Of course, government subsidization of this research is immoral. | |
Re: Perhaps you could use the Spirit parser combinator library instead. ![]() | |
Re: It's a procedural language and it has few datatypes -- just integers, floating point numbers, and sequences. No mention of struct-like objects or records. My calculator has a more sophisticated programming language. I don't think it's very good. Maybe it runs faster than Perl and friends but that's because it's … | |
Re: [QUOTE=christina>you;382597]I don't understand why he thinks I'm going to bad rep him.[/QUOTE] Because that's what you do? Why don't you rep him with "you're dumb"? That's what you do, right? And he's dumb. So tell him that! It'll make you feel good when it's done. You'll make your mark on … | |
Re: [QUOTE=Sturm;382048]because human instincts are to murder, rape, kill, and generally be not very "civilized".[/QUOTE] This is the most asinine statement I have read this year. What makes you think these are human instincts? Do you know any people with these instincts? Have you studied anthropology? Do you have these instincts? … | |
Re: [QUOTE=Sturm;378886]I like c++[/QUOTE] You should try Haskell, you might like it. | |
Re: Could you be more specific? What would the T-shirt design feature be able to do? Once users have designed the T-shirt, should they be able to buy one and have it shipped to them? And of course, this is indeed the wrong forum; a more appropriate one would be, probably, … | |
Re: [QUOTE=Ancient Dragon;381601]I hope you are smart enough to realize the coding style of the code you posted is just awful. [URL="http://geosoft.no/development/cppstyle.html"] Here[/URL] are some tips, although they should not be read as if they are written in stone. Pay attention to the indention, placement of braces and hints about spelling. … | |
Re: [code=cplusplus] cout << "Hello, world!" << endl; std::cout << "Hello, world!" << std::endl; foo << "Hello, world!" << endl; [/code] First, it could be invoked with [[b][/b]code=cpp] instead of cplusplus. Second, cout is just a value; it is not any more specialer than foo and shouldn't be highlighted any differently. … | |
Re: You and I might be robots who never react emotionally towards people's behavior, but a large enough proportion of people respond with verbal violence when others damage their fake self-esteem, because they take their lives too seriously. Wars between people who care about the number in their Reputation column are … | |
Re: If you want people to help you, you're better off isolating the problem and identifying what you don't understand. Using nonstandard header files that only work on obscure compilers isn't increasing the probability of people finding your problem, either. I recommend that you take a more proactive stance towards avoiding … | |
| |
Re: If you're using a language like C or C++ you're doomed to have bugs. | |
Re: [code] int main() { time_t t; time(&t); [/code] What is this for? [code] yl; cls;[/code] And what is that? [code] frz;[/code] And what is that? ![]() | |
Re: Well you're already living in a cage, which, dietary anomalies aside, is already less than 6' by 8'. | |
Re: I'm from America, but I've been in Canada since this place changed its smileys. |
The End.