789 Posted Topics

Member Avatar for MarzenaM

Please don't use bold text when you post. It's meant to give emphasis to parts of a post, not the entire body; using it too much is poor netiquette. Also, please use [noparse][code] and [/code][/noparse] tags when posting code excerpts. The problem is on this line: [inlinecode] area = sqrt(s(s-a)(s-b)(s-c)); …

Member Avatar for WaltP
0
255
Member Avatar for EnderX
Member Avatar for Infarction
3
245
Member Avatar for dcc

While I resent the stereotype that young men are crazy drivers, there is some truth to it. I know I wasn't afraid to speed through areas, although I claim that I only did so to a safe extent. The only accident I've been in was not my fault (I was …

Member Avatar for socom(psp)
0
755
Member Avatar for Lord Soth

[quote='Stein;264034]I would slightly argue against this last phrase. Let's take agriculture for example. If food stores and supermarkets were taken away (for whatever reason) do you think it would be possible for the current population to survive by farming/hunting/gathering? I would argue that these skills have been in time. Farming, …

Member Avatar for SnowDog
1
542
Member Avatar for iamthwee

[quote=jbennet;365454]i know that under ubuntu you can use (its either automatix or easyubuntu, i cant remember) to install the sun JRE and other stuff like dvd support and the wma codecs easialy but im not sure if these apps work with kubuntu[/quote] Since the only difference between the two (AFAIK) …

Member Avatar for Infarction
0
290
Member Avatar for happygeek

I'd probably set up a computer as a lowly little server. And/or share the connection with my neighbors, depending on the cost. However, I sincerely doubt that such a connection will be available for residences in the US for a long time. It would take an enormous backbone network to …

Member Avatar for Recanzone
1
286
Member Avatar for Duki

Look at degrees in IT or information systems (I think) if you're going to continue with school. And the CCIE is great to wave around and get you started. But here's the catch: the people in industry value experience over anything. A friend of mine is a network engineer at …

Member Avatar for Duki
0
137
Member Avatar for sk8ndestroy14
Member Avatar for sk8ndestroy14
0
165
Member Avatar for Dave Sinkula

I like the keyword highlighting, but I'm also too lazy to type the language so that doesn't work too well... unless each forum had the code blocks default to the appropriate language for that forum? That said, I prefer the green text because it's easier to distinguish than black. And …

Member Avatar for Dani
0
199
Member Avatar for Sturm

"Democrat" and "Republican" are references most non-American's wont quite understand. I don't associate myself with either party either; I'm mostly moderate but slightly conservative (adapted the the USian scale of moderate and conservative :icon_wink:). And I'm definitely a capitalist.

Member Avatar for EnderX
0
694
Member Avatar for tringler326

You might look into ndiswrapper. It emulates the Windows driver API, allowing you to use Windows drivers in Linux. Never used it myself though, so I can't be of much more help.

Member Avatar for Infarction
0
71
Member Avatar for The Dude

I was too lazy to turn off scripts so I added up my own. Screwed up on question 9 though. My score was 20 :icon_twisted:

Member Avatar for jbennet
0
94
Member Avatar for christina>you

Haven't seen either of them. I don't have a TV, nor the time to watch it. :P

Member Avatar for christina>you
0
114
Member Avatar for sofianos

Ok, first, if you'd read the rules and guidelines, you'd have seen that you should post your code between [noparse][code] and [/code][/noparse] tags. That preserves the indentation and adds line numbers to make it easer for us to read and refer to your code. Keep it in mind for next …

Member Avatar for Infarction
0
155
Member Avatar for EnderX

I agree with the guy who thinks it's absurd. It is. Chimps are not humans.

Member Avatar for Aia
0
336
Member Avatar for iamthwee

Linux is well known when it comes to a server OS. However, most people don't know or care about server OSs, so Linux is currently becoming known to the general public for its progress as a desktop system. And LAMP is not the end-all to server configurations. Sure, it works …

Member Avatar for jbennet
0
156
Member Avatar for AWDracer
Member Avatar for kylcrow

Different solution using stringstreams: [code] #include <sstream> #include <string> #include <iomanip> using namespace std; string foo(string city, string state) { stringstream ss; string str; ss << left << setw(16) << city << right << state << endl; getline(ss, str); return str; }[/code]

Member Avatar for kylcrow
0
134
Member Avatar for caltiger

Depends on what you're optimizing for. In general, it's fine to just use efficient algorithms and let the compiler do the nitty-gritty. It doesn't really matter how well you optimize something if you optimize the wrong part.

Member Avatar for Narue
0
191
Member Avatar for iamthwee

Don't have one. Gentoo's been just about everywhere if you really feel up to it though. And I think YD might even be officially supported.

Member Avatar for Infarction
0
44
Member Avatar for MAI&
Member Avatar for FireSBurnsmuP

If you're looking for WM ideas and configs, try going to forums for various distros and see if they have a wallpaper/screenshot thread. The Gentoo forums does one each month (not everyone even runs Gentoo :P) but they're all very open about sharing configs and backgrounds. I'm pretty sure Ubuntu …

Member Avatar for jbennet
0
240
Member Avatar for Infarction

Figured we ought to split this out of the VT shooting thread. Here's some posts that have already been made (and if a mod can move others, that'd be great). Hopefully I got them all in the right order... (and hopefully the thread isn't a dupe... but I couldn't remember …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for Jaseva

Don't know how feasible it is in your situation, but a setup with transparent filtering (such as a proxy or firewall) would probably be easiest to monitor/log what she does and still limit what she can or can't do. Of course, this'll probably require a little more effort on your …

Member Avatar for didier-fr
0
302
Member Avatar for Dani

[quote=cscgal;360434]I've darkened the color of the IT Water Cooler. Does it look shit-colored now though?[/quote] I'm not fond of the color, but I don't go to that part of the site anyways :P

Member Avatar for Nick Evan
0
287
Member Avatar for KevinADC

Taking Dani's post to heart, I turned off my adblocker (AdBlock Plus 0.7.5) and it sped things up significantly.

Member Avatar for MidiMagic
0
497
Member Avatar for WolfPack

I don't see it happening, at least not given the current status of each company. Microsoft is already pouring a ton of money into their search, and they are quickly improving their product. I can't see them gaining anything by integrating Yahoo's search. The benefit for Microsoft AFAICT would be …

Member Avatar for WolfPack
2
151
Member Avatar for tech291083

With a growth rate of 30%, it'll be at 130% after each year. Since that compounds, you'll just have a simple formula of: [tex]pop = 2000(1.3^x)[/tex] This assumes the compounding happens at one instant per year, rather than calculating continuously. Plug that in, and you'll get 5712

Member Avatar for MidiMagic
0
50
Member Avatar for The Dude
Member Avatar for MattEvans

It's just a case of lazy evaluation. if $ret is false, then [inlinecode]$ret = $ret && foo()[/inlinecode] will never evaluate foo. The loop will execute 10 times, but the function call only as long as $ret is true.

Member Avatar for Infarction
0
123
Member Avatar for obscured47

You're redirecting the output to a file called y, not into a variable $y. And do you need wc? You have the number of lines from using egrep -c.

Member Avatar for obscured47
0
98
Member Avatar for ~s.o.s~

:icon_lol: that was pretty funny seeing how much went on in there...

Member Avatar for John A
0
149
Member Avatar for tgreer

Also in agreement with tgreer. And while the gaming crowd seems to stress the "lounge" part of it, I prefer to emphasize the "geek" part of it. At this point, I'm spending more time going to other forums when I want some intellectual off-topic discussions. The games are in the …

Member Avatar for christina>you
0
588
Member Avatar for nanosani

[quote=joshSCH;358567]haha.. California is moving away from the U.S. mainland.. Which may be a good thing.. They can be their own little country out in the ocean by themselves! =p[/quote] Just like Hawaii. On a slightly more serious note, if such a thing were to happen, they'd be the 8th or …

Member Avatar for jbennet
0
144
Member Avatar for dcc

From a quick skim of Wikipedia articles for each of them, they seem largely unrelated. Thermal hysteresis seems to be the range of temperatures at which a solution will undergo a given state change. Hysteresis in general seems to be the phenomenon of systems which undergo a lagged reaction to …

Member Avatar for dcc
0
85
Member Avatar for ndeniche

I prefer to use Sun's, since they're the ones who created the language. I don't know how others compare, though.

Member Avatar for ndeniche
0
77
Member Avatar for The Dude

[quote=joshSCH;358512]micheal jackson is gay, and shouldn't be allowed to live in the U.S...[/quote] I think the gay community would be offfended at that comparison :icon_evil: :icon_lol:

Member Avatar for Ancient Dragon
0
159
Member Avatar for joshSCH

It's more like you aren't even trying to match the professional appearance that Daniweb strives for. While many people, professionals included, to take to using common abbreviations, spelling as a whole should be correct. An abbreviation and a [sometimes deliberate] typo are two drastically different things, and they give off …

Member Avatar for jbennet
0
1K
Member Avatar for Infarction

Presumably anyone who monitors Digg or Slashdot will already know, but the cryptographic key for AACS (the standard used in HD-DVD and BluRay) has been leaked and is spreading like a virus. What do you think the repercussions will be? Is it good that the key leaked?

Member Avatar for Sturm
0
118
Member Avatar for Dani

Aside from ;) I like them. That one just looks... I dunno... wrong... :-/

Member Avatar for joshSCH
2
1K
Member Avatar for PriusDriver07
Member Avatar for Infarction
0
117
Member Avatar for ammochck21

My crystal ball tells me you're calling pop() before you've called push(). It could also be due to a mismatch. For more detailed analysis, provide more details, such as how the stack works or an input string that causes the error.

Member Avatar for ammochck21
0
114
Member Avatar for nurav

Sure, but first you'll have to help yourself. We won't do it for you, so show what you've considered so far and why you think it's right or wrong and what you're stuck on.

Member Avatar for nurav
0
110
Member Avatar for Duki

[quote=christina>you;342492]Does that even matter?[/quote] If you were worried about details, it would matter. The passengers were part of the energy system, and stopping them would require energy as well. If passengers from one vehicle were to continue flying through the windshield, it would change the amount of energy involved in …

Member Avatar for Mushy-pea
2
1K
Member Avatar for The Shadow

As I recall, the ASCII for a space is 32, not 0127 (which is a 'W'). I recommend you look at the isspace(int) function available from <ctype.h> as it will match all whitespace characters (spaces, newlines, tabs, etc...)

Member Avatar for The Shadow
0
270
Member Avatar for sushanttambare

There isn't exactly a whole lot there to bother optimizing. And be sure that the code you're working on is worth optimizing. Most of the time people try to optimize their code, they end up worrying about details that hardly affect the software's performance.

Member Avatar for Infarction
0
118
Member Avatar for Dani

[quote=joeprogrammer;338335]<stuff about Geek Lounge>[/quote] Completely agree on this. I've almost stopped going to the Geek Lounge because it's filed with the same 5 word games and a few links each time. Every few days there'll be something interesting. Maybe we could have a play forum for the word games, and …

Member Avatar for lemurexplosion
0
2K
Member Avatar for Shad0wHawk

If you're using C++, you should probably be using the std::string type rather than C-style strings (char*). And your line [inlinecode]strlen(getWord) = numLetters;[/inlinecode] is backwards. Try flipping it around. ;)

Member Avatar for Shad0wHawk
0
350
Member Avatar for Infarction

Since all our arguments are going everywhere and taking over everything, I propose that we keep our griping, whining, complaining, and whatever else rep related to this thread. And then we can continue hijacking everything else in our normal way... And now all the rep I've actually deserved (good and …

Member Avatar for ~s.o.s~
0
261
Member Avatar for eXceed69

[quote=Narue;354502]I wasn't ever encouraged, so either I suck at writing tutorials, or no. ;)[/quote] Having read a couple off your website, I'd go for the latter :icon_wink:

Member Avatar for happygeek
0
138

The End.