confused

Java GUI Swing Model Explanation

I've been working with Java GUI for a while now but the whole model/structure of JFrames, paint(), super, etc is all murky in my mind. I need a clear explanation or link that will explain how the whole GUI system is organized. stackoverflow-ers: can you help me? Thanks everyone, some more answers would be better but this is great! ...

need help-variable creation in Python

I want to create varibales as a1,a2,a3,...a10. For that i used a for loop.As the variable in loop increments..i need var gettng created as above . Can anyone give me an idea? At the same time of creation i need to be able to assign to them There i m gettng syntax error ...

need help-variable creation in Python (continuation)

That was helpful kgiannakakis. I'm facing a problem as below: a = ['zbc','2.3'] for i in range(0,5): exec('E%d=%s' %(i,a[i])) This results in: Traceback (most recent call last): File "", line 2, in exec('E%d=%s' %(i,a[i])) File "", line 1, in NameError: name 'zbc' is not defined ...

Can you help me understand this? "Common REST Mistakes: Sessions are irrelevant"

Disclaimer: I'm new to the REST school of thought, and I'm trying to wrap my mind around it. So, I'm reading this page, Common REST Mistakes, and I've found I'm completely baffled by the section on sessions being irrelevant. This is what the page says: "There should be no need for a client to "login" or "start a connection." HTTP authe...

Web-Development Application with built-in WebKit Page-Preview

Hi All, I've just finished planning for a web-dev app, and I need to build in a browser control to preview pages in. But, I won't use I.E. I want to use WebKit (this is for personal use), and I have searched all over google (and webkit's site) but am somewhat confused as to what I need to download in order to use the webkit rendering en...

Ajax with Asp.Net MVC?

I need to use few of the ajax control toolkit in asp.net mvc say, Validator CallOut,ModalPopUp. and even i need to put a gridview in an update panel? can anybody give any valuable link so that i can look into it? ...

Apache: I want to enable SSI. Can anyone furnish an example config file?

Yes - Google abounds with information about configuring Apache to support SSI. But unfortunately, I still cannot seem to get it right. My questions: Can anyone furnish me a full-fledged example config file that enables SSI on an Apache server? Also can you please tell me where I should drop this config file (i.e. which dire...

Actionscript optimisation confusion

Hi, EDIT: Ah ha! The solution to my problem was simple afterall! I'm an idiot :D I was so focused on why it was taking so long, that I was blinded by the fact that my object pool allocate() function is lazily evaluated. i.e. It won't allocate until it's called. But my timer test was around alloc, so obvious the first time through, th...

Summing Numerical Character String

Hey everyone, I'm having an issue with my programming assignment where I cycle through a string and sum the integer value of character. As the following code states. Now I pass a string into this subroutine. For example given num := '8888'; Expected Output would be 32 Resulting output is -12 I'm using fpc pascal compiler on a Li...

About Googe map

Hello everyone I am PHP Developer and developing website .in that i used Google map with the facility of select state and city. for select state and city i put two drop down.so now my problem is when i select state then i can not get value of city and both time whenever use select state and city i refresh the page and so after refreshing...

Building a modular Website with Zend Framework: Am I on the right way?

Hi, i´m a little bit confused by reading all this posts an tutorials about staring with Zend, because there a so many different ways to solve a problem. I only need a feedback about my code to know if iam on the right way: To simply get a (hard coded) Navigation for my side (depending on who is logged in) i build a Controller Plugin w...

Are there Research Areas which combine Computer Science with Physics or Space Technology? If yes, please give details.

Throughout my high school i loved physics very very much. I always wanted to a PhD in physics. Along with i thought of pursuing space science. But due certain reasons i ended up in Computer Science. I have started with the third year of my bachelors degree. I don't hate computer Science, it's just that i loved physics a lot(I dunno about...

Project Euler 298 - there must be a correct answer? (only pastebinned code)

Project Euler has a paging file problem (though it's disguised in other words). I tested my code(pastebinned so as not to spoil it for anyone) against the sample data and got the same memory contents+score as the problem. However, there is nowhere near a consistent grouping of scores. It asks for the expected difference in scores after ...

When can i use EF4's 'Include FK Columns in the Model' ?

Hi, i'm a little confused about EF4, and the EF homepage doesn't help me, so... First thing: is EF4 a separate download or is it a part of VS2010? What version of EF is native in VS2010. Reason why i ask is because i create a .Net 3.5 project in VS2010 (.Net 4.0 is not yet on the production server) and when i want to check the checkb...

What are the differences in the MVC pattern on the web vs desktop?

After doing some reading on the Model View Controller pattern it seems that the pattern is implemented quite differently in web frameworks vs desktop frameworks. With web based MVC frameworks the view and model never communicate directly. They can only communicate with the controller. But in desktop implementations, it seems that the vie...

column H indicates matching rows, each group of matches separated by blank row, return sum of numbers in column E of matching group to column I

I have a spreadsheet that is 4,000 rows. I have identified all matching rows (match identifier is in column H), each matching group is separated by a blank line. I need to get a sum of column E in each matching group to return in column I only once. E F G H I 1 -25.45 2/2/2007 2/2...

I can't figure EtherPad out.

I feel like this is probably a pretty dumb question, but I am just completely lost. I have seen (and tried) about ten different ways to install EtherPad on my system, but absolutely nothing on how to actually incorporate it into my web page. One page seemed like it was telling me to open up "http://localhost:3306/" (or something along th...