Jump to content
xisto Community

osknockout

Members
  • Content Count

    401
  • Joined

  • Last visited

Everything posted by osknockout

  1. Lol. You probably should get some books. There's also the option of free books available in pdf or html format out there. Here's a good starting link for that type of stuff. However, if you were to actually go out there and buy/read a book, I'd suggest getting at least one primer book and one reference book. Because you'll be flipping through the first one a lot when you begin and some more when you're learning new techniques. And you'll be flipping through the second one fine-tuning them until you've almost memorized certain sections. I myself used the Learn C++ in 21 Days series for a while as a primer. It's alright if you're used to their technique. But for a reference, I'd suggest C++: The Complete Reference, Fourth Edition. Probably one of the best ones I've seen.
  2. Umm... ok? That's basically the method glenstein assumed with a few patches to it. You don't become president by burning billions on a campaign. It helps, but it does not determine victory. You become president by getting the confidence of your voters. And being part of a large, multimillion dollar corporation does NOT help you get the vote of the average day laborer and white-collar worker. amit nigam, you are assuming that nationalism always determines that foreign rule is something to be avoided at all costs. Then how on earth did the Roman Empire and Persian Empires become so powerful? Perhaps it is best to analyze why foreign rule can endure so long. If foreign rule is beneficial to both ruler and ruled, obviously the nationalistic tendency is suppressed. Also, most people actually just don't care. In any given nationalistic uprising, only a small minority of people participate actively against the government. Take care of these few before they get the support of the population, and there's no more effective opposition to the foreign government.
  3. NFL-type football is not that popular worldwide and more people watch FIFA type football than rugby. I'm guessing you're referring to "soccer", JackTheRipper.Yeah, I'd have to say that the beautiful game is indeed king of sports. If a billion people watch it and the largest sports contract to date was made in that sport (Beckham contract) I'd say it's well qualified for the title.
  4. Well I suppose you're right. But still, presidents are supposed to be able to relate as much as possible to the common man. That's why they're always supposed to say nothing about the real issues while you can read Senate hearings where the parties will vehemently keep one stance on them. If I were an average day white collar worker in the US, I doubt I'd vote for the billionaire because he'd appear to serve business interests more than mine -even though recent presidents seem to enjoy that trend anyway. I propose the argument that running for President of the United States of America is infeasible simply because a rich man can serve as the power behind a democratic throne, but cannot be it unless he is some national hero or similar rare exception because of people's alienation from the individual and politicians' fears about mixing business and direct politics even more. Oh, and it's hard to increase the living standard of people who consider a house, TV, and telephone line necessaries. ^^ Can we assume that the Great Leader has read the EvilRuler.com entry? It's very practical.
  5. Hmm... until we do see that next report of the Great Leader, a few things for consideration: I don't know, people in America tend to view business magnates and the like as candidates *not* for presidency. I mean suppose that Bill Gates tried to run for the president of United States -doesn't matter which party either. Though he might get considerable funding, even the average laborer knows something about this guy and his rather interesting business practices. The same goes for your other billionaires; it's not that they're not successful, it's just that people can tend to view such things as too much power in the hands of one person. So given their background, I don't think that's necessarily feasible. Point well taken. But it was given that the discussion would not necessarily be in anyway effective or even that realistic. ...Of course wassie, you're assuming someone will not just electrocute your hydrophilic army. Right then, what's our fearless leader doing next?
  6. rvalkass is basically right, just divide your test number by every prime number up till the square root of the test number, and if none of them make an even division, the test number is prime. Of course, use some common sense in doing this. Don't waste time testing even numbers, and use algorithms like the digits of x add up to a multiple of 3 if x is divisible by 3 and so on. Remember, division is the lengthiest common arithmetic process to do. If you want your 'scan' to go faster, you'll need better algorithms. int divisor = Math.floor(Math.sqrt(num)); //Our largest divisorLol. That's about the only thing you might need a little help translating to C/C++. If you're using C, look up the <math> header, if C++, look up <cmath> on the internet. A little work won't kill ya.
  7. Wow. mojoman: let's be a little nicer to the G8. I mean, I'm no exact fan of them myself, but I doubt they could just rush into the DRC and build a dam. Consider how much it would be costing to make a HUGE dam in an unstable area with no foreseeable profit in the future - and the chance of nationalization being rather possible too. Evil plan indeed. Although I think it's so evil that eventually one of them will backstab the others. And there's a few variables that can't exactly be guaranteed. E.g. becoming president of the United States. You might as well flip a coin sometimes. And even when that happens I doubt that no one will catch censoring of the press like that in the US. And... the UK 'liberates' the rest of Europe? Germany's at least plausible, but... the UK? The little island nation that juts out of Western Europe? Sure about that one? And I'm waiting for glenstein's post till I bother to say anymore on our *other* world domination plan.
  8. Yeah, I used this one all the time. I also use this one from time to time. The last one is really useful for looking things up such as algorithms and certain things that tend to be forgotten easily. *cough* C++ STL *cough*
  9. Lol, you don't need any operating system to LEARN how to program in C/C++. Now practically, Unix would be the best case to use it in repetitively. If you want to START with C and C++, I recommend you go to a library and get a beginning book on the subject. If that's not an option, you can either then buy a book or look up tutorials on the web. If you look back in this forum on the subject, I'm sure there'll be many suggestions for the above.
  10. Hmm... interesting idea, creation of a greater Congo. But I offer some historical trends to consider:Unification by assent seems to only have been treated in a nonhostile manner by small nation-states -or city states such as in the case of Switzerland, and that (correct me if I'm wrong) Jordan and Syria. However, large unifications tend to invoke the ire of many, such as the Anschluss between Austria and Germany (which I still illegal I believe) partly because leaders of one of the governments don't want to share power. So how exactly do they join? Oh, in that case that wouldn't take too much time. You're right I guess. This one would take a lot of time actually. We're working off a 66% or so literacy rate and self-help. Granted, it brings in self-interest, but it would still take time for coordinated events to occur. Ok, kind of like Egypt and the Suez Canal. How do we know that nations will not go to war in order to answer their corporations or at least impose some sort of sanction for it? -It'll be hard to have any trade, because Western nations will pressure its neighbors into not trading with the Greater Congo. Even if the US is supporting the Leader, I'm sure its corporations will proceed with economic pressure and other Western countries will follow a more formal action against the "Leader". I like the development of the Greater Congo. However, it all depends upon harnessing the power of the Congo Dam. That makes it a strong strategic source for anyone wanting to pull off another coup d'etat. Sure the people may go in to protest it, but if an opponent is strong enough to make a police state, it's all over. Touche. But I'm sure their historians and politicians will remember the long history of Western interference in Africa.
  11. I'm amused. And point them out I will, thank you very much. Ok, so the Democratic Republic of Congo becomes a nice hegemon in Africa. Won't there be a few concerns about "another power in the region" from the current lords of Africa? Another thing: the place is rich in minerals - gold and other metals, and diamonds. The US already backed a coup under Lumumba back in the 60's because he was appealing to the Soviet Union and didn't give international companies the agreements they wanted over gem trade. Who's the say this won't happen again -say with some other country or by economical sabotage by these corporations? And to finish this off, cultural revolutions take time. I'd say 10 years is a good minimum bound on changing everything in the DRC and implementing all your reforms. Ok, the Great Leader of our Respected Fatherland has brought in reforms and brought electricity to the region! Does he repeat with his neighboring countries or what? Because it'll take a long time for him to take over the world if he's doing this one nation at a time... Ignoring necessary criticisms, I like the topic. Just hoping that no one is crazy enough to follow it though.
  12. Haha, I like your invention idea. Two things in the way though...2nd Law of Thermodynamics - entropy tends to increase - reducing friction lowers the entropy in the area.Energy creating matter - yup. A phenomenon known in theory as Hawking radiation. With all that energy around,some of it would just transform into matter, making more friction. And you can't have a solid made out of pure energy can you? E = mc?. Being literal, all objects are made of pure energy.Physics rants aside, I think that it might be a bit too powerful. I mean infinite energy is awesome and all, but it sounds likesome sort of nuke-gun if you could channel it.
  13. You haven't defined any ListItemtype. - That is to say 'ListItemtype' doesn't exist as a type, so you can't specify 'Card' as type 'ListItemtype'. Just specify it, you probably just forgot to encode it. Nice operator overloading btw.
  14. Oh, ok. Not too bad a programming job/homework assignment. As a basic technique, you could divide the input number by each roman numeral 'letter' starting highest first. E.g. If the input is x, you'd take the floor function of x / 1000 to find the number of M's needed, subtract a thousand times the result from x, and repeat for each following 'unit' such as 500, 100, 10, 5, and then 1, storing each floored result in a separate variable -such as short int M //holds how many 'M's there are The only reason I would use an if-else statement is to calculate several exceptions (such as if you have 1 'V' and 4 'I's, write IX instead of VIIII), format the data about a bit, and of course check if the input variable is greater than 3000 (immediately exiting the program if so). By the way, a convenient way that also takes a lot less calculation time is have lookup tables for the data -in case you're programming for performance instead of writing the code as soon as possible.
  15. Ok, that makes sense. But is there no low-level shader language?- I know nVidia has this 'nvasm' program to compile some sort of assembly but it only goes into DirectX -I believe- and that only bymeans of VC++.I'm looking for some way to program the GPU by direct manipulation instead of having to go through some high-level programming language or such.But in case there is none ... which is probably very likely, how would I even start to program shaders in say GLSL?
  16. Haha. I just realized something. I should have probably seen it earlier too (nVidia would have been screaming by now.) It's a fake. How can you have a 25nm card when Intel just went to 45nm? That's nearly impossible for AMD to pull off. Let me look it up right now. Yeah. Complete fake. Check out Google for 'AMDTI-Force/FX 12000'. Nada from AMD itself. In fact, I quote: - from the guy who made the thing I'd assume Edit: I found this here Good laugh, ay?
  17. Ok, I know that there is a Brook language, Cg shader language, and even an OpenGL implementation of shaders but where's the actual stuff that directly programs GPUs? (Graphical Processing Units, basically the main processors of graphics cards) I've been looking around the net and I can't find software that directly interacts with GPUs -even if it is just ONE single video card- without using some sort of proprietary driver. So I'm asking the cliche question. "Is there anything out there?" - preferably something that is open source?
  18. Seriously? 1800 MHz for 300 bucks? Not too bad at all...Pretty sweet, but is it already available to the general public -or does it come out in Mid-2007 or something?I'm getting me one.
  19. Haha, I'm with him. I mean, yeah, I know that the graphics are supposed to be a lot nicer and all, but currently there's no software market that uses it. - I'd like to use my P2P apps WITHOUT emulation if just for argument's sake.That and I'm a linux-ish guy.
  20. Hmm... you're assuming that oil cannot be manually produced of course when you say "what will happen when there's no more oil?" Most probably governments will try some desperate attempt to create it synthetically while switching to any other hydrocarbon sources they can find. And if THAT doesn't provide a ready solution, we'd probably fall into a temporary Dark Age leaving countries like Brazil (which I hear uses mostly ethanol grown from its own fields) and the OPEC countries which will have hoarded their last resources still properly functioning. I think that change is already underway. In the past few years, we've seen the rise of hybrid cars to markets - sure few people buy them, but the number's surely growing each year - and the lack of infinite oil has already entered the public mind. I think it's safe to say that we're just expecting a lifestyle change. But on the good side, Exxon-Mobil will finally have shot its profits to the abyss. Actually, I think we tend to surprise ourselves when we're desperate. I mean, hey, if we went from splitting the atom to making the A-bomb in 13 years, how fast do you think finding a relatively efficient new source of energy will be? Not to mention how much money each nation would put into new energy and vehicle/industry-modification/replacement programs. I'd say it'd be around 8 years MAX to replace all these automobiles and industries so they could use the new energy source. Woah... wait, what's your source for this? And if it is actually mineral based, there surely are a limited number of these types of minerals in some areas, so it can't keep refilling every 10 years, right?
  21. Right, it's well nigh impossible, but you won't say it's ultimately impossible. Oh, our sense of linguistic humor.Anyway, to be a bit more serious, treating light as a solid object would be a hard task indeed, but for the purposes of any 'lightsaber' it would not be necessarily required. Allow me to clarify this one a bit more... it is possible to contain plasma in the center of a container by simply using the magnetic force thereby making the so called 'magnetic bottles' with a torus or such for fusion. This is done without any actual matter isolating the plasma. Hence, it appears as if some solid object is keeping the plasma centered when nothing is doing anything of the sort. Now *hypothetical mode* if you were to use some sort of extendable electromagnet on the interior of the beam part of the lightsaber per se that was strong enough to curve the laser from only one side, then we could start talking about a physically possible lightsaber.
  22. Wow, you're starting assembly without any programming practice at all? That's almost unheard of nowadays. Anyway, start with this page on numbering systems on your emu site. I'd also suggest reading this site - uses 8086 code. Then you'd want to read up on DOS interrupts here. I'm not going to give you your hmwk, but I'll tell you that STDOUT (the usual case for DOS interrupt pages) basically is the screen. So if you were to use something like use Int 21 with AH=9 or AH =2 that'd print a character or string (depending on your AH value) to the screen. Oh, and hopefully you've read the 8088 specs for that commentary. If you haven't you can just google it. Hope that helps. -osknockout
  23. Well hey, this is a theoretical arena isn't it? So let's suppose that you could indeed make a 'light saber'. Then you'd just have laser flying through from base to top, right? So if you swung one against another, it'd just go straight through (assuming no solid Jedi crystals interfering) 'cause no momentum can be carried through light. Oh, nice. Well, I'm fully sure... I mean, if you can have electrons absorb photons ad infinitum, wouldn't that be having multiple photons in one place? How else would the photoelectric effect work? Hmm... sounds almost a bit like Young's double slit experiment. Actually it'd be hard to tell wouldn't it? I don't know if it would necessarily interfere, but I do believe we'd have to know the wavelength of each beam in order to determine interference.
  24. Ok, what exactly DO you mean by 'light'? I mean, from what you've wrote, it seems like you're talking more about fusion or stars. Sure it is. Your classical E=mc?, converting energy to matter. Actually I've never heard that one before. I know that Pauli's exclusion principle states that no two fermions can't occupy the same space at the same time, but I'm pretty sure that photons are bosons. I'm not sure how they react, I mean for all we know they could just go straight through each other. Any physics majors in here?
  25. Hmm... I'd say stick with Dev-C++ if you don't have any money or are one of those GPL hardcore people. And it does have downloadable modules for OpenGL and etc. -I don't want to start a compiler war, I'm just saying, you have a lot of options. Yeah, that is true. But it wouldn't be that hard to start one -assuming one can agree on the level of complexity. E.g. check out Quexal That's a gui interface for SSE/SSE2 instructions for assembly. If you can do that for assembly, making some specialized GUI for C/C++ shouldn't be that hard.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.