computer-science

Algorithm: iterate over 2 variables in order of descending product

Note: This is NOT homework. Hi, It's easy to iterate over two variables and print their product like so: for a in range(1,100): for b in range(1,100): # or range(a,100) to prevent duplicates print( "%s = %s * %s" % (a*b,a,b) ) However, is it possible to come up with a looping structure that will iterate over a and b in desc...

Computer Engineering vs Computer Science

Whats the difference between Computer Engineering and Computer Science? (in terms of majors for college - specifically Carnegie Mellon University) So according to the first answer, computer programming mainly resides in computer science? ...

Which talks/videos appealed to you as a developer?

Which talks/videos appealed to you as a developer? I really like this talk by Clay Shirky: http://www.youtube.com/watch?v=Xe1TZaElTAs And, Startup School talk by David: http://www.omnisio.com/startupschool08/david-heinemeier-hansson-at-startup-school-08 Which ones you recommend? please provide links and a short description if possible....

Lectures available as mp3/podcasts?

Are there any particularly good university lectures available online for download as mp3 (or some other audio format)? I am particularly interested in hearing some of the more advanced classes that I didn't get to take in my engineering degree, like compilers, operating systems, AI, cryptography, etc. There is another question on CS vid...

How important is an MBA in the Computer Industry?

How important is an MBA for a Computer Science Major if the CS Major wants to eventually reach a management position? Should I go for the dual degree program in college? EDIT ------------------------- So based on the 1 answer so far, if I want to get into a management position I NEED an MBA eventually...Its very useful / essential in ...

Database operation that can be applied repeatedly and produce the same results?

I'm drawing a blank, or as some would say, having a senior moment. I know there’s a formal definition and a name for the concept where a db operation (stored procedure) that runs in a database will yield the same results if run repeatedly. It's something in the genre of the Mathematician’s reflexive, symmetric, transitive, etc. ...

Law for Computer Scientists & Programmers

A lot of Computer Science courses seem to be running Law modules as standard, in order to teach students about things like The Data Protection Act, Copyright, etc. Realistically, is Law an important subject for Computer Scientists or Programmers? Did you take Law or take a Law class whilst studying for a CS related degree? If you did, d...

Interest in Computer Science?

After doing quite a bit of self-reflection, I can't seem to pinpoint why I like/have an avid interest in computer science / computer programming... Some of my reasons I like it, but not the main point: being architect (designing programs) freedom in pursuing problem because many different ways to solve a problem creating something big...

Tips and tricks for getting good deals on books

I buy lots of programming-related books. I usually go for used copies on Amazon, but I sometimes buy a book at B&N, because its convenient. I'd like everyone to share their secrets to getting good deals on books. I imagine at some point someone will point out this thing called a library. The libraries in my city aren't great, unless y...

Which area of emphasis (for a CS Major) do you think is the best and why?

At my school, since Spring 2007, each Computer Science major may declare one of the following areas of emphasis: Computer Systems Software design Computational Science and Visualization Modeling and Simulation Internet and Information Technology Theoretical Computer Science Artificial Intelligence (AI) Note: An area of emphasis does ...

CS related scholarships?

Are there any good (as in recommended) (and free) resources available for finding CS related scholarships? ...

Can quantum algorithms be used for encryption ?

Can quantum algorithms be useful? Has any one been successful in putting quantum algorithms to any use? ...

Introduction to Static Analysis

I'm a self taught programmer with almost non CS background. I'm currently learning about parsing techniques/algorithms/tools, and have a desire to build programs to analyze Java code. What kind of mathematical/theoretical CS do you have to know or take into account to build the most basic static analysis tools? A very simple thing that ...

Explaining to my boss what can and can't be done with a computer...

My boss and his boss have both been coming to me regularly over the past few weeks with feature suggestions. The majority of these are very impractical, and I tell them (politely) that they are possible but there's little or no ROI. Stupidly, yesterday, I suggested a meeting where I explain to them briefly how computers and programming l...

Helpful math classes for programmers

I saw this topic and had a bit of a different question. I've taken almost all the math classes necessary for a CS degree (Calculus I-III, Linear Algebra, Discrete Math, and I'll be taking Statistics this semester). To get a math minor, I only need one more class. Has anybody taken any classes other than these that they found helpful? ...

Closures and Context Free Grammars

I'm looking over my syllabus for my theoretical computer science class and within the heading of Context Free Grammars it lists "closure properties". I have looked through my textbook on this subject and found quite little. The little it does have is a bit above my head at the moment (I haven't taken the course yet) but I understand a li...

Anybody interested in possible operation/use of quantum computers?

I went through a period of being interested in how quantum computers work and what they might be good for if they ever become practical. I know they are talked about for code-breaking. I was interested is using them for validating software by essentially trying all possible inputs (in parallel) and seeing if any error states are reached....

The stories behind keywords and operators?

Know any good stories that describe how a keyword or an operator got it's name? For example, why is main() the starting point on so many programs? Or why is the pipe (|) used as an OR operator in some languages? Most are derived from older syntax, but why were these chosen to begin with? I was just reading about why we use an asterisk...

Programming is more a science or an art expression?

It is fundamentally a branch of mathematics, requires rigid discipline and a lot of knowledge to really understand what's up, as a science. And is deterministic. But there's more elegant and (beautiful?) way to achieve same results, that may seems a sort of art expression. What is in your opinion the prevalent aspect of programming? An...

Has anyone "learned how to program in 21 days?"

I'm not a fan of these learn how to program in X amount of days books. Some even boast, learn how to program in 24 hours. This is a joke and an insult to me as a software engineer who went through a rigorous discipline in computer science and mathematics. So a question to the community, have you benefited from these become a programmer ...