Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 500
Search took 0.08 seconds.
Search: Posts Made By: Jimbo
Forum: Coder's Corner Lounge Oct 10th, 2009, 5:06 PM
Replies: 21
Views: 1,013
Posted By Jimbo
Re: 100 ways to turn negative numbers into zero

Sure it is. I've implicitly defined the input set as all positive numbers, therefore the problem is solved.
Forum: Databases Oct 10th, 2009, 2:18 PM
Replies: 5
Views: 578
Posted By Jimbo
Re: SQL - Copy 1 field to another?

Maybe SELECT INTO (http://www.w3schools.com/sql/sql_select_into.asp)?
Forum: Coder's Corner Lounge Oct 10th, 2009, 2:14 PM
Replies: 21
Views: 1,013
Posted By Jimbo
Re: 100 ways to turn negative numbers into zero

unsigned int foo(unsigned int input) {
return input;
}


Stupid solution to a stupid problem.
Forum: Software Design and Algorithms Aug 13th, 2009, 10:56 PM
Replies: 9
Views: 509
Posted By Jimbo
Re: What's a good designer's tool

While not free, I've heard several recommendations for balsamiq (http://www.balsamiq.com/).
Forum: Coder's Corner Lounge Jul 22nd, 2009, 2:25 AM
Replies: 6
Views: 450
Posted By Jimbo
Re: BA in Advertising but want to become a software developer...

Aw, c'mon guys. College isn't a must, and it isn't worthless. Usually it's of great value for someone who's actually studying something they enjoy and want to continue (admittedly, there's a lot of...
Forum: Software Design and Algorithms Jul 9th, 2009, 11:28 PM
Replies: 7
Views: 404
Posted By Jimbo
Re: interview algorithm quesitons need help!

for the first, you can do it in 1 pass. Just think about how to tell if you're on the road to maximum sum or not. Hint: even if the sum drops, it might still be in the middle of the contiguous set....
Forum: Coder's Corner Lounge Jul 9th, 2009, 11:20 PM
Replies: 11
Views: 464
Posted By Jimbo
Re: Google's new OS

Overrated. I don't live on the internet, I vastly prefer the experience of desktop applications versus web apps, and I certainly don't need a new way for Google to show me ads. Fortunately, I don't...
Forum: Other Scripting Languages Jul 5th, 2009, 3:52 AM
Replies: 8
Views: 587
Posted By Jimbo
Re: Learning white space

http://lmgtfy.com/?q=haskell+compiler
Forum: Other Scripting Languages Jul 4th, 2009, 2:57 AM
Replies: 8
Views: 587
Posted By Jimbo
Re: Learning white space

yes, Whitespace (http://en.wikipedia.org/wiki/Whitespace_(programming_language)) is an esoteric language quite similar to Brainfuck. The language's home page...
Forum: C++ Jun 29th, 2009, 10:46 PM
Replies: 18
Views: 746
Posted By Jimbo
Re: Your preferred/the better style to use?

This is flamebait in a code review, however. Yes it's fun. I, too, like writing fun code. But it's not easy for other people to own later, and it's a pain in the ass to inherit someone's "fun"...
Forum: C++ Jun 29th, 2009, 3:44 AM
Replies: 18
Views: 746
Posted By Jimbo
Re: Your preferred/the better style to use?

I used to do that as well, but I've started putting braces in out of habit. It makes it easier to add to the Do this; if you decide you need more lines. Also ensures that your code is painstakingly...
Forum: C++ Jun 27th, 2009, 9:47 PM
Replies: 10
Views: 653
Posted By Jimbo
Re: Switch statement

A switch statement for a boolean is the same as if-else (case true and case false). It can also be an integer type. Some languages (such as .NET) also support strings in switch statements. ...
Forum: C++ Jun 27th, 2009, 3:10 PM
Replies: 18
Views: 746
Posted By Jimbo
Re: Your preferred/the better style to use?

I find the second one easier to read, and hence prefer it. It does take up more lines, however, which can be annoying.
Forum: Coder's Corner Lounge Jun 23rd, 2009, 12:24 PM
Replies: 7
Views: 707
Posted By Jimbo
Re: problem to be solved asap

LOL a thesis about a chat client. That would be awesome.
Forum: Community Announcements and Feedback Jun 22nd, 2009, 10:47 PM
Replies: 31
Views: 2,232
Posted By Jimbo
Re: daniweb vs programmingforums?

The members and the culture. We're more awesome on this side.

Seriously though, PFO tends to be a bit more on topic (we don't do forum games very well), and there's a community of regulars that...
Forum: ASP.NET Jun 21st, 2009, 1:45 PM
Replies: 1
Views: 589
Posted By Jimbo
Re: ASP.net 3.0 and ASP.net 2.0

ASP.NET 3.0 offers a few more features than 2.0, and requires .NET 3.0. .NET 3.0 was not a full framework release; it was an upgrade to the .NET 2.0 framework, which added support for Windows...
Forum: Coder's Corner Lounge Jun 21st, 2009, 3:12 AM
Replies: 8
Views: 386
Posted By Jimbo
Re: pocket money?

find some small gigs? making websites for local folks or the like? Turning over a few hundred bucks a month means you'll at the very least have to finish a project in the few days set aside...
Forum: Coder's Corner Lounge Jun 21st, 2009, 3:08 AM
Replies: 11
Views: 506
Posted By Jimbo
Re: (Anti)virus developers

Antivirus developers are a very small subset of the people who know how to create viruses. And they're busy enough as it is anyways.


Most operations on a computer are simply a matter of flipping...
Forum: Coder's Corner Lounge Jun 20th, 2009, 1:21 PM
Replies: 11
Views: 506
Posted By Jimbo
Re: (Anti)virus developers

There's plenty of people releasing viruses to keep the anti-virus folks happy. If they were in fact the leading source of computer viruses, then they could have a "no virus guarantee" with their...
Forum: Coder's Corner Lounge Jun 17th, 2009, 12:50 PM
Replies: 20
Views: 996
Posted By Jimbo
Re: [Rant] Analog TV just about gone

Yes and if those are present when a DIGITAL recording is made guess what??

YOU WILL HEAR THEM MORE THAN YOU WOULD ON AN ANALOG RECORDING[/QUOTE]
No, that's just not true. Digital allows people to...
Forum: PHP Jun 16th, 2009, 2:57 AM
Replies: 3
Views: 574
Posted By Jimbo
Re: File upload best practices question

Playing with file/directory permissions won't work very well for you anyways; the web server runs as a specific account, and that's all that the file/directory permissions will affect. Enforcing...
Forum: Coder's Corner Lounge Jun 16th, 2009, 12:23 AM
Replies: 20
Views: 996
Posted By Jimbo
Re: [Rant] Analog TV just about gone

My parents recently made the switch (somewhat helped along by my giving them a new TV), but my dad says that the signal comes and goes. Apparently when it goes, the quality is just horrid, enough so...
Forum: Coder's Corner Lounge Jun 15th, 2009, 10:44 PM
Replies: 37
Views: 2,188
Posted By Jimbo
Re: Does piracy affect software dev's?

Ah, that makes a lot more sense. I've seen some weird names for VS before, but I hadn't thought of Macromedia Studio.
Forum: Coder's Corner Lounge Jun 13th, 2009, 12:53 PM
Replies: 28
Views: 951
Posted By Jimbo
Re: Scary

Wow Dude, way to go dredging up a 5 year old thread...
Forum: Coder's Corner Lounge Jun 13th, 2009, 12:43 PM
Replies: 37
Views: 2,188
Posted By Jimbo
Re: Does piracy affect software dev's?

My MSStudio, do you mean Visual Studio? If so, why do you need the full version? The Express versions are free, and offer plenty of functionality to write software.
Forum: ASP.NET Jun 13th, 2009, 1:29 AM
Replies: 4
Views: 522
Posted By Jimbo
Re: Learn asp.net

It would be handy to know either BASIC or C-style syntax, as you'll end up using either VB.NET or C#, but it's pretty easy to pick them up (especially basic). Other than that, you can probably get...
Forum: Coder's Corner Lounge Jun 12th, 2009, 1:45 AM
Replies: 37
Views: 2,188
Posted By Jimbo
Re: Does piracy affect software dev's?

But it is a black vs white issue. It's illegal. There are laws which protect the property that is being copied; these laws are in place specifically to guard against this. Going against the laws...
Forum: Coder's Corner Lounge Jun 12th, 2009, 1:41 AM
Replies: 4
Views: 729
Posted By Jimbo
Re: How to install program on USB drive?

Make your app not dependent on the registry. Use config files local to the "install" directory. This'll get you a good ways unless you need to associate the app with a filetype or something.
Forum: C++ Jun 8th, 2009, 11:42 AM
Replies: 7
Views: 803
Posted By Jimbo
Re: Copy Constructors?

Benoit's answer was correct. Say you have a class like this:


class Foo {
public:
int* bar;
Foo() {
bar = new int(0);
}
~Foo() {
Forum: Software Design and Algorithms Jun 6th, 2009, 6:46 PM
Replies: 9
Views: 852
Posted By Jimbo
Re: Microsoft's Bing v/s Google's Algorithm

Ah. I hate the prevalence of ads as well, as a general rule. But I do like the Zune Pass. :)
Forum: Software Design and Algorithms Jun 6th, 2009, 12:36 PM
Replies: 9
Views: 852
Posted By Jimbo
Re: Microsoft's Bing v/s Google's Algorithm

I'm curious to know why you included Zune Pass in this. What do you like/dislike about it?


Anyone with a pea for a brain realizes that Microsoft's marketing is full of fail and is the...
Forum: Coder's Corner Lounge Jun 6th, 2009, 12:24 PM
Replies: 1
Views: 333
Posted By Jimbo
Re: VS2010 F# - Opinions?

F# isn't anything special as a language, in fact, it's strikingly similar to ML (and apparently OCaml, but I've not used that before). The only "new" thing in F# is that it runs on the DLR and hence...
Forum: Software Design and Algorithms Jun 5th, 2009, 8:27 PM
Replies: 9
Views: 852
Posted By Jimbo
Re: Microsoft's Bing v/s Google's Algorithm

I've heard over the years that the Bing/Live Search algorithm is in fact more sophisticated than Google, and I think a lot of the differences between them is due to Bing having a smaller data set to...
Forum: C++ Jun 4th, 2009, 2:41 AM
Replies: 6
Views: 337
Posted By Jimbo
Re: How do you write code that executes concurrently in C++?

This part you can do without multithreading. At work we have a class that behaves similar to what you describe. Sample pseudo-code of usage is something like:

Sleeper s = new Sleeper(15000 /*...
Forum: Coder's Corner Lounge Jun 1st, 2009, 12:56 PM
Replies: 37
Views: 2,188
Posted By Jimbo
Re: Does piracy affect software dev's?

This was 14 years ago. Things have changed. The first time I had on opportunity to learn "web development" was in 8th grade (so about 10 years go?), and yes, it was all Macs then. That's just how...
Forum: Coder's Corner Lounge May 25th, 2009, 12:45 AM
Replies: 19
Views: 8,107
Posted By Jimbo
Re: Post your girlfriend picture!

wow dude... NSFW (or your manly health in general), put it in a link :P
Forum: C++ May 22nd, 2009, 11:35 PM
Replies: 10
Views: 538
Posted By Jimbo
Re: Learning Custom Classes

Sometimes the compiler will take an educated guess (e.g. I've seen C programs with no #includes that obviously depend on <stdio.h> compile properly), but it's really better to be thorough about it...
Forum: Coder's Corner Lounge May 22nd, 2009, 11:34 PM
Replies: 5
Views: 323
Posted By Jimbo
Re: SP 1 for Visual Studio?!

The SP for the Express editions was slip-streamed into the downloads. Too bad they didn't slipstream it into the actual VS install media...
Forum: Community Announcements and Feedback May 22nd, 2009, 11:32 PM
Replies: 8
Views: 1,549
Posted By Jimbo
Re: Visible Results of Forum Spam Under Control

Ah, in case my quote goes mis-understood: this thread was dredged up again by a spammer, which is why I found it so ironic.
Forum: Community Announcements and Feedback May 22nd, 2009, 3:34 AM
Replies: 8
Views: 1,549
Posted By Jimbo
Re: Microsoft Windows XP / Vista Ultimate cheap order online

Oh, the irony... here I was just noticing today that there's been very little spam of late, too...
Showing results 1 to 40 of 500

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:35 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC