osknockout
Members-
Content Count
401 -
Joined
-
Last visited
Everything posted by osknockout
-
@the_undertaker_rip1994: Going back to the original post several months ago, I'd have to say that I disagree with you there. The European style (er... group of styles) emphasises endurability and in many good cases prioritises either the defense or midfield formations during most of a team's play on the field. I would have to contend that the South American style is the most beautiful style I've seen so far. - At least for the reason that offense tactics are still being considered even when the team doesn't have possession.Now, having said that... I'm a diehard Chelsea fan.
-
Controversial Topic: Weapon Ownage How do you feel?
osknockout replied to Albus Dumbledore's topic in General Discussion
I think people should be able to own guns, though there are definite reasons to ban such weapons. However, that is not the issue of this post, but rather the belief of some people that to render gun ownership illegal is to end the problem.There is a major blackmarket for assault weapons in this country; you'd be surprised how easily a gun can be composed without trouble. Mere tubes of spare metal can easily be converted into simple handguns, and even more complex weapons like sawed-off shotguns and AK-47s. There are people who know how to do this and they will definitely go into business if any ban is passed. Even worse, criminals will be the first too seek them out. They already do, but that's beside the point. The point is our government, in order to enforce such a ban would need to confiscate any gun-making material and hunt down gun-makers. They cannot, and therefore should not pass such bans, which only deprive law abiding citizens of the ability to defend themselves. It's common sense.And no, I am not NRA. -
Linux - Why It Fails As A Desktop Operating System?
osknockout replied to red_dragon_here's topic in Operating Systems
@elrohir: Good to hear. Lol, there's a first time for everything, isn't there?@insaneinnovations: The way I see it, drivers are a pain for every operating system. Creating a driver isn't something people like to do at a tea party; low-level programming in general fits into the maybe-another-day category. The thing is that corporations such as Microsoft and the whole Macintosh series have support from vendors by default because 1) they're the default user operating systems as of present day 2) we have intercorporate support 3) it makes good business to have ready-made drivers for the mass of peoples that do not know how to operate computers efficiently. Linux however... a good number of things have to be hacked up. We have had only one driver for an entire hardware trademark family at times, and trial-and-error has solved a good number of the problems. It's not a pretty sight, but given our current context, it's the best case in a disadvantaged situation.@dastrophy: Packages out-of-the-box... I suggest you look up Sabayon. Back in May they were considering placing a major programming effort into that idea. I don't know if they've tried it out yet, but it was in the blogs.Also, I think it's less of linux has to be accepted into the market and more of the market has to accept linux. Linux changes for the users - NOT for the corporations that want to maximize profit out of it. Sure, some of them are heavy users. However, they do not form the contributing majority. -
@rize619: Yeah, I'm talking about the same LOOPS. I couldn't tell what your first program was doing at first though, so that question may have been cryptic, but if you're programming -competently- in C++, how do you not understand what I'm talking about? Anyway, for #1: int i;while(i!=7){ std::cout << "*"; i++;}i = 0;while(i!=3){ std::cout << "\n" << "* *"; i++;}i = 0;std::cout << "\n";while(i!=7){ std::cout << "*"; i++;}There. So simple a n00b can understand it. I'm not going to waste my time running it to see if it works, Just add the headers, and you should be able to modify it if something's wrong. For #2: Copy-and-paste ANY of the code examples given for the 1 1-2 1-2-3 stuff. Then, treat the integers as characters, it's called typecasting, that's what the (char) means. Add 64 so that it displays in ASCII properly, and you're done. If you think I'm wrong, try coding it and play with the constant as you wish. If you don't understand this still, please go back slowly and review the stuff you don't know, this should all be standard stuff though. The only place where I can see confusion is where I requested that the spaces be removed; I was looking at the original post which has spaces, it seems the c++ code doesn't. Alright, apparently you don't know what I'm talking about. Wikipedia time: Ok, given the above definitions, please tell me what on earth pascal's triangle had to do with the previous posts.And you're right, a programmer should know what Pascal's triangle is well... but then that begs the question, WHY are you asking behind it's logic then?
-
What do Pascal triangles have anything to do with the previous posts? Wikipedia Pascal's Triangle if you really want to know.#1 - are there actual newlines or are there just asterisks, three spaces, and more asterisks?#2 - Here's one way using alphanumerics: take any of the programs already given in code, remove the spaces, and then use a (char) adjusting for the ASCII table. You'd probably add 64 to each index, assuming A=1, B=2, etc.
-
Internet On The Verge Of A Overload
osknockout replied to Saint_Michael's topic in Computer Networks
@sylenzednuke: Lol, a lot of us are addicts. I think there'd be a LOT of changes here. @Saint_Michael: Well, I don't know. I think a base self-modifying polymorphing x86 virus will do for the God_Virus.All that's really needed to be done is to take down the main servers and connectors. Most of which should be x86based. So once the Itaniums and the other on-the-edge processors are down, we can kiss it goodbye. All it'd takeis a good simulation of the old LOADALL instruction of the old pentiums -if anyone knows what I'm talking about-.All in all, what I'm basically saying is that it wouldn't take that years. Probably a few months because once aprocessor-based exploit is found, the only thing one would have to hide is a TCP/IP protocol and a few buffer overflowand a cheap DoS (hyperping?) type operations. But... you'd assume that someone who actually knows this stuff wouldwaste his time programming the death of the Internet. It'd be kinda pointless. So... I'm pretty sure no one will be doing it.Lol, we talk about some of the most unlikely things here. All things considered, it is pretty unpredictable, but an overload seems pretty unlikely. -
Internet On The Verge Of A Overload
osknockout replied to Saint_Michael's topic in Computer Networks
@Saint_Michael: I doubt that it'll be crashing anywhere in the next decade or so. If I'm right, the majority of the internet traffic can be found originating in the USA. (don't flame me people, this is off of memory and information that's like 2 years old) And if my history's correct, way more fiber optic cables were made than were necessary there. Besides, factoring in the rise in bandwidth off of those old cables due to new technologies and better on-the-fly compression algorithms, it'd take some God_Virus to shut this thing down. Or WWIII. And I don't see either happening. ~Plus, even if an entire region is shut down, it's not that big of a problem. Major corporations have servers around the world. And people have lots of other ways to communicate and do business transactions besides the internet. If I'm right, facsimile business will boom in that case. Besides, the only real thing that'll be lost are the pure .com businesses, and that bubble was burst a while ago. We won't need to worry about that happening again for a long time. -
@Zachy2411: I'm pretty sure there are plenty of ways to change the frequency of electricity. From what I can remember, RMS Electric offers something for it, so it shouldn't be too difficult. Your idea reminds me of the Great Leap Forward ~when Mao ordered everyone to make steel in their backyard. Lol, I guess we'll have to teach everyone how to use generators for that to happen. @AlucarDez: So are the rest of us.
-
What are you talking about? There's no new C/C++ compiler on the site. Dev-C++ has been around for years and the last (stable) release I can think of was back in February.
-
X86 Cache time for L1/L2 cache refreshing?
osknockout replied to osknockout's topic in Hardware Workshop
Eh - wow, it's been a while since this was posted - but that would mean that about 2MB of cache - for a good processor nowadays - is constantly refreshed. Wouldn't that be a bit too much on the system bus? -
Clever coding. Of course, it's not the most efficient thing to go about creating global declarations in order to execute code, but... nice. :lol:Two (technical) questions:I) why'd you include stdio.h? I'm not seeing any c functions. Just adding kilobytes to the program size.II) why is everyone assuming a using std statement here? It doesn't make sense to do it in a public forum where some people *cough*me*cough* use ANSI strict styles for coding. It can also confuse newbies to C++.~just a syntax argument.
-
Does anyone know on average how many cycles it takes for the L1 and L2 caches to be refreshed on recent x86 processors? - I.e. the time for the replacement policy to be executed using the same memory area?The reason I'm asking this is that I'm trying to write a program (er, kernel to be specific) that heavily depends on self-modifying code in order to stay within space constraints and I'm trying to avoid having constant cases when the cache holds the old code, the actual memory holds the new code, and the processor executes the old code in the cache.-And I know that there's something like a 30 cycle penalty on the deep-pipeline Pentium 4's for modifying code that's just about to be executed, but does that occur if the cache refresh happens just before the code is executed? - Theoretically at least?
-
Well, I haven't tried it out. -Gotta love a trivial short response. I'll give it a shot when I get back from vacation. The Beryl 3D effects right? Seems like every relatively new non-console assumingrelease includes it -new trend now?. Just tried Sabayon not too long ago and that thing came in prepackaged. Anyway, nice to hear we have a Not-Another-Windows-Graphics-Feature-Emulation going to the new releases.
-
Simple C++ Programs. simple programs for beginners.
osknockout replied to khosro_php's topic in Programming
@mahesh2k: Aww... only Turbo C++ graphics stuff? I'd love to see some stuff we all use. (*cough* gcc *cough*) Or maybe it's just that this internet connection's slightly rickety right now and I can't find the other C++ graphics tutorials. However, nice site. I look forward to checking it out when I have time. -
Girl In A Relationship That I Like
osknockout replied to Theking556's topic in Dating And Relationships
Yeah, that is a pretty important rule, but it's not one that holds forever. Relationships go on and off spontaneously. Besides, it's not healthy in the long term and will just erode the current relationship slowly - assuming you still love the person. @Theking556: If you two are that close, then she'll tell you how she feels in her own time. Be prepared to hunker down and wait a while though, because she may have insecurities about the whole thing. -
What Makes The Web So Great? What is it?
osknockout replied to SNiped's topic in Science and Technology
I think it's kind of a cyclical process. THe internet boomed because of the increasing globalization of the international framework, and the internet boom accelerates globilization. Plus, there's the freedom of the thing. You can do almost anything out here. Sure, governments try to censor, watchdog organizations try to shutdown, and certain crackers (malicious code writers, I'm not using slang) wil go around trying to obliviate others' control for nefarious or entertainment purposes, but if one is persistent enough, one can put and retrieve almost anything from this gigantic network. I've heard before that the internet was cited as one of the reasons why the Soviet Union fell. While the claim is a bit exaggerated, it does have a bit of truth. The rise of the internet as an economic market and its great potential for scientific exchange left the USSR out of the boom that came in Western Europe and the USA. Realizing that the rise of the net changed the economic face of the planet shows how great it really is. The internet became a revolutionary phenomenon a long time ago and it changed the way people think about others and people in general. Holistically, I say that's why it's so great: it changed and defined our worldview and made it the defining start of our age: the Information Age. -
So are you saying that capitalism is - dare I say - a necessary evil? @anarchy: Now THAT's a news article worthy of mention. *applause* Evil is a very vaguely defined term shaped by one's prejudices and opportunity in context. Who knows? For some people, Mother Teresa might have been considered evil because she advocated helping those with less - even though they'll be suffering for all of their lives. Besides, we are talking about superlatives here. We can't ALL agree on one thing as 'evil'. I have a three-way tie. Exxon-Mobil for leading the leeching of the economic power of nearly every first-world country and reducing the living standards of the world. Haliburton... for supplying and giving impetus to the local superpower of the world to go destroy the livelihood and security of millions of innocent people. And of course Monsato for reasons already mentioned above.
-
Heh. Not to my knowledge (at least for the cd, dvd I'm not too sure about) . This was a feature request like maybe four years ago. However, if you go to this page, it has instructions for installing pptp, a common *nix vpn client for knoppix. Good luck.
-
Perl's a really famous language because it's easy to do stuff with it. Most of the languages that tend to have similar capabilities have to be compiled - you have to write it, make a program, and then run the program. With perl, you can just write the program in a script and tell an actual program called perl to run it. - Saves time.Generally speaking, it's faster to write a running program in perl once you know the language. It may not run really fast, but it's good for everyday tasks.And I think I'll let wikipedia explain the rest.
-
Linux - Why It Fails As A Desktop Operating System?
osknockout replied to red_dragon_here's topic in Operating Systems
Depends. How much do you want to be flamed? I don't think that 'we' really want Linux to become mainstream right now. Maybe later when we have an intelligent and self-aware computer public that won't go crazy over having to go through a few lines of code, but we're a while away from that. Eh... commercialism's always a mixed blessing (Christmas! yay! ... pardon me, I've come straight out of testing, can't think straight)We'll have yet to see if Ubuntu really is "commercializing" that much and the results of it. Fine, I won't argue that point because I agree on its validity. (And how uber KDE is.) But - when compared to ease of use in comparison to Windows and Macintosh it's not at the top. Agreed, some of the desktop schematics are just so that the average elephant can understand them, and linux assumes that the user has a brain. But still, we can't say that the desktop is one lf Linux's best points. The community? Sure. Our kernel? Definetly. But our desktop? Umm... when KDE and GNOME merge. "All fault lies with the user." Heh. Your point's valid, but the egocentric user won't believe that. Besides, who's everything made for? Yes, we develop for ourselves, but I'm sure gcc's used by more than the gcc people. There are people who use it and will never know the internals of that code. I prefer to call them users. And what do we do when we have a bug with it? Do we work around it using some crazy manipulation or do we just patch it away? So far development's edged on the latter. All fault does lie with the user, but given enough users making the same mistake, it's time to make some edit to at least save time. --Digression--Ah digression, the god of everything interesting. I'm from outside this nation. I call football football and have been doing so since the age of two. I don't get the whole "soccer" thing really. The type of football played around the world came from the styles of Great Britain, hence it's "European" in descent if not in current nature. Urgh... Chelsea should have recieved that penalty. (Just came back from seeing the game against Arsenal, anyway...) Also, if any mods are reading this, I think a digression tag's in order. DON'T EAT ME. --Digression over-- Good God no. That's not my argument. There's a Linux for Dummies series and I think it fits its niche quite perfectly.Sounds like you've made a strawman argument from what I've said, but eh, I'm getting back to my point. Going back to my little philosophy, when enough people complain about the rock on the road, it's time to remove it instead of making everyone go around it. I'm saying if we have to, post a copy of The Linux Newbie Administration Guide in a standard iso so that the n00bs don't have to go posting on forums. Saves our time, prevents their frustration, and we get more self-relying n00bs. I don't know what it takes, maybe a "newbiux" distribution even. All I'm saying is that if intelligent people are getting frustrated with a change to linux, there's something fixable. Why not at least give it an attempt? As for the people who spend maybe days on a distro and go on and complain, well, there's not much we can really do for that. But I do understand how not being able to even ask for help (e.g. not being able to connect to the internet to ask for the help on how to connect...) can be frustrating. I have no exact mechanism for this idea, and I don't think anyone really does. But what I'm asking is that we try to make Linux more OPEN in their eyes. NOT easy. OPEN. Let them see a little of what it's all about before they give up on this new random os they try out. After all, isn't the openness what it's all about? And it's not as easy as you might think. Educating n00bs isnt' the most fun thing in the world and they might actually stumble across something it'd take advanced users a while to handle. I remember a time when I was just trying out my first distro (Slackware) and I was trying to configure XFree86. It got so confusing I just gave up. I knew C/C++, had just got into x86 assembly, and kind of knew the console and bash scripting pretty well, but that thing was so frustrating I just decided to give it up and go to the autodetect distros (turns out it was a serious bug in the ol' Slacky Free86 build) Now I know what went wrong. - But it took me about two years to figure it out. If a normal Linux user can be frustrated with a system, how much more can a total newbie be frustrated with it? - He (or she, mind ye politically correct) doesn't know a thing about it. Sure, we want people to change when they come to linux, learn to adjust and become part of the community, and granted that will happen. But the community is changing a little and we have to accept that we're getting a lot more of total n00bs asking about this than before. It's worth a try to help them learn what exactly they're getting into at the least. -
And here I am thinking that this is just a US-Europe thing. Seriously? In Japan and Hindustan? Wow, looks like we're more global than I've thought. Anyway - people have to express frustration some way. And is that really a hard and fast rule? A friend of mine was left an orphan when he was about twelve. The guy was in A-level courses in Scotland, was something akin to a social outcast, and had an obsession over this girl that didn't like him. All in all, his economic inability forced him to put up with schedules no 18 year old should have to while handling a rigorous academic curriculum. That and his personal frustrations lead to him to have suicidal thoughts for about three months. Then he died in a car accident. - He didn't commit suicide. Some drunk guy just went -blam- into his car. If he DID commit suicide, I wouldn't think any less of him. I think suicide should really be given contextual weight because the human will can only be stretched so far before it becomes desperate. And as for emos... eh, what to say? Where I go (in a slum in the middle of an industrial area in the US) I see people with little economic opportunity and the will to succeed in academics sapped out of them before they even reach high school. Who's to say they can't vent out some of that frustration? I mean it's one thing to go raging about little things - who honestly accepts that? But when life slaps you in the face everyday? I don't know. Tolerance and sympathy seem to be the best solution to this type of thing. Although, speaking half way across the globe, you might be speaking from a different context. I'd like to hear it if that's the case.
-
Linux - Why It Fails As A Desktop Operating System?
osknockout replied to red_dragon_here's topic in Operating Systems
elrohir: w0w. Now THAT's a burning argument. Although you could have been a little nicer on that, it is edging on flaming To be fair, synthetix is right as far as it comes to the user impression. Most people just WANT THE DARN THING TO WORK. They don't care how much they have to pay for it to happen, but they want their word processor, games, and internet running preferably with as little hassle as possible. Options only confound an ignorant public. Plus linux doesn't have that much publicity to the general populace (at least here, NO ONE should start flaming over a dumb thing like that, accept it as a fact.) Plus, thanks to those idiots who indeed don't have a clue about linux, the general public stays confused and ignorant because when they DO have a problem they don't know how to fix it. Yes, there ARE forums and they're the most useful things in the world, but that's not something you'd figure out on your own uberfast because you're not used getting others to help you freely in a proprietary OS mentality. At least, not with the system itself. The idea that you pay for OS support is practically indoctrinated into you. Umm... a friend of mine got a copy of RedHat 7 (back when it was still supported) at WAL-MART. 2 YEARS ago.They're already in shops. At least, where I'm around. THEY know and WE know because they actually do. If you buy a copy from a major linux distro , they usually includesupport with it. With Red Hat and such, the philosophy is that they sell the services, not the operating system. Try it out sometime, you might be surprised. Oh, come now. The words were ISP Client. It's a standard problem that everyone has starting with, even on Windows.Let's not be that hard on the guy. Ok, now this is something I definetly know. I live in the infamous superpower of the world, I know the general impression of linux.And here it is: "huh?" Most people have never heard of it. Mention it and you'll get something like "what's that?" Mention it to someone of the general populace that DOES know, and they'll think it's something for people who are pretty good with computers because that's where they've heard the term. People who have heard of it but don't know much think of it something that "elite" computer users use. Add that to the reinforcement (NO THANKS to the US media :sarcasm:) that "hackers" use linux, and it sounds like something you want to stay away from. (Even though you'd think that "hackers" use linux for a reason.) The point is that people on this side of the Atlantic are so ignorant of Linux that they've never heard of it, nonetheless know that it came from Europe. They think football is some European thing, thank you very much. (I play it too...) We have no "OS-nationalism". Not all of us are idiots. But Linux? Try saying that again in Latin? No one really likes Microsoft either, but a viable alternative isn't that obvious. @elrohir: some of these guys sounds like the type of people who've ventured around with different linux distros and has become confused because of the variation in types of bugs and features. Yes, they are wrong on several points, but lack of know-how is generally the FIRST reason someone uses a desktop instead of consoles in the first place. When you and I think that our package manager's retarded, we pull up the console and then "apt-get" or "emerge". We do the same thing with scripts. And it's so easy and flexible when we do so. But most people don't know. So when they DO have a problem the GUI interface can't handle, they're stuck. If we EVER want people to accept linux as a good desktop system, we have to let them be able to do everything in easily explained terms through the desktop. Read: a good desktop system. Windows sucks as a performance os, but it keeps getting better and better with the desktop. And telling people flatly that they're wrong only makes them more frustrated with Linux and the Linux community. The second part's the one that counts more. In order to use an OS at its par, you should feel that you're part of the os community. It's psychological as well as technological things that count. Remember, it's the posts back to Linus asking for improvements that made Linux what it is instead of some experiment for two months. We can't forget that, otherwise the idea of Linux as a whole is meaningless. And there are a lot more people out there that want to try but really have no clue how to and just end up frustrated. They get turned off that way. And WE CAN'T AFFORD FOR THAT TO HAPPEN because Linux is a movement, not just an os. It's people like these guys we should be listening most to.