I've been arguing with some friends on the university, and we can't get to a point to which is the framework with more scalability for web applications (and still very fast).
One calls for jsp, the other one for ruby other for php and so on. Could i ask you to clarify us on what as more scalability potential?
Tks, hope I'm not duplicat...
I wanted to ask Stack Overflow users for a nice idea for a project that could entertain a fellow student programmer during a semester. Computer vision might look interesting, although I couldn't say if a project on that field is something that could be achievable in 4 months. What do you think?
...
Hey,
Just come to polishing my application and making it resume after the user has left. When the application restores I get an IllegalThreadStateException, which is quite annoying. This problem is present in the example google gives of Lunar Lander. Has anyone found a way to restore working when using surfaceView?
Cheers
...
I have a test coming up soon for my Database class. I just want to ready as many questions as possible. I thought SO would work best, as I dont have to spend my time by digging through the answere for finding the correct one.
I thought sql-query tag would work best for me, however, it only fetched 7 questions..
...
Hi,
I was reading through a Java textbook, and it mentions something called a "driver class". What is it, and how is it different from a normal class?
...
Lets frame the question again---
table1{date, bID, sName, fID}
{11/05,B1,A1,P1}
{12/05,B2,A2,P2}
{13/05,B1,A3,P1}
{15/05,B3,A4,P1}
{16/05,B1,A5,P2}
{19/05,B1,A6,P2}
This is the table and the data stored in the table is also specified...
Now the query that i want is that:-
Depending of fId (lets say, P1 is s...
Hello,
I've tried to pass an initialization list {...} to a constructor and it didn't work.
When I instead declared it in a method local variable (int[]) it worked flawlessly.
Why is that?
public class QuickSort {
int[] a;
public QuickSort(int[] a) {
this.a = a;
}
public static void main(String[] args) {
//...
Hi all,
I wanted to write a program to find the nth smallest element without using any sorting technique..
Can we implement it as a technique used in quick sort, which divides the problem into smaller sub-problems but how is my question..
Please provide some hint..
Thankx
...
I'm studying for a test on PDA, and I want to know how to design a pushdown automaton that recognizes the following language:
L = {a^max(0,n-m)b^n a^m| n,m >=0}
How can I design a transition function to recognize if n-m is greater than 0?
And please, if you have some course materials with exercises of this level solved, put a link, m...
I want to enable 'Apply' dialog button when content of some textboxes in this dialog changes.
Here what I came up with
<Window.Resources>
<ResourceDictionary>
...
<Style x:Key="SettingTextBoxStyle" TargetType="{x:Type TextBox}">
<Style.Triggers>
<EventTrigger RoutedEvent="TextBox.TextChan...
I'm developing on Ubuntu 9.10
I'm writing a C program, during my tests & debugs I'm calling malloc and always remember to call free() - This is obviously just during debug.
I'm curious: Am I eating up the free memory the system has which each debugging session? Or does the kernel cleans up the process memory after I shutdown my applica...
The attached below C code when run gives the error
summary: malloc.c:3074: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+...
I'm a student not good and can't easily crack at more puzzle, complex mathematics, hard logic problems?
in college i studied c++, java, oops.
I'm comfortable with all syntax and writing programs and using API's and doing mashups, i can do..........
but once a friend asked help on coding contest, i was in dilemma and frustration? It was...
Many thanks in advance. I've done my due diligence and researched for 2 days, but can't seem to wrap my mind around what online tutorials describe.
The situation: Lead Programmer ups and quits. Owner of firm knows I've done some (novice) VB.NET on the side and asks me to wire up functionality between 2 custom user controls on his intr...
Hi,
I just wrote a program that tokenizes a char array using pointers. The program only needed to work with a space as a delimiter character. I just turned it in and got full credit, but after turning it in I realized that this program only worked if the delimiter character was a space.
My question is, how could I make this program wor...
i'm a student in computer science and been learning flex and actionscript 3.0 since 4 months.
i know its easy to program in mxml and actionscript 3.0 is pretty easy with bunch of classes.
When i try to code in c++,c in some contests, my algorithms go weak, no efficiency and i'm getting scared!!
since i'm a student, i've no experienc...
Hey guys I'm trying to set up a nachos project in Eclipse on my ubuntu machine. I meticulously followed the instructions here:
http://inst.eecs.berkeley.edu/~cs162/fa06/Nachos/eclipse/#nachosfs
It runs fine, but when I set a breakpoint and hit debug I get:
New_configuration [Java Application]
nachos.machine.Machine at localho...
void GasPump::dispense()
{
bool cont = true;
char stop;
do{
cout << "Press any key, or enter to dispense.\n"
<< "Or press 0 to stop: \n";
cin.get(stop);
gasDispensed = gasDispensed + gasDispensedPerCycle;
charges = costPerGallon*gasDispensed;
displayGasNCharges()...
what does public static void mean in java?
I'm in in the process of learning. In all the examples in the book i'm working from public.static.void comes before any method that is being used or created. What does this mean?
...
Here is the code:
class Time {
public static void printTime (int hour, int minute) {
System.out.print (hour) ;
System.out.print (":") ;
System.out.print (minute) ;
}
public static void main (String[] args) {
hour = 11 ;
minute = 30 ;
printTime () ;
}
}
Here is what terminal says when I try to compile it:
david-allenders-macb...