Hey Guys! So... I left my PC back home when i went off to college and now that I'm back for summer, it seems that it has missed me because it doesn't work anymore. **First Problem:** When I tried to switch it on, it would start to boot (I'd see the fans try to spring to life) and then it would immediately switch itself off. **What I Tried:** 1. Removed peripherals and reseated all the hardware (RAM sticks, video card, CPU, etc.) -- No luck 2. Reset BIOS to eliminate overclocks. (removed battery) -- No luck 3. Took the motherboard, … +0 Hello All I'm not quite sure you can do this but it seems to me like something python is probably able to do. Basically, I need to assert that somewhere in my list of lists i have a '2', and a '1'. Now my lists in the biglist are all the same length. By which i mean that len(BigList[i]) == len(BigList[i+1] for all valid indicies i. I was just thinking something like this: [CODE][element for element in SmallList for SmallList in BigList][/CODE] I understand why this doesn't work, but for some reason, i'm pretty sure that it can be done … +0 I've been writing a piece of code that will use a brute force approach to find 50 exponential equations that fit 5 points (x,y) that i've entered. The code is fine and works without a glitch.. The problem is when i try to make it keep a record of the 50 best equations. This sort routine is the one i've been using.. I've put it in its own test class just to make easier to follow. The current problem is it ends up displaying something completely unwarranted and the array ends up with only two different values. [CODE]public class sortTest{ … +0 Hello all, This is a very simplistic simulation but i'm hoping to show bacterial growth using this simple piece of code. [CODE]public class Bacteria { boolean living; Bacteria x; int population; public void spawn() { living = true; try{ Thread.sleep(2000); } catch (InterruptedException e ) {} Fission(); try{ Thread.sleep(100000); } catch (InterruptedException e ) {} Die(); } private void Fission() { x = new Bacteria(); x.spawn(); } private void Die(){living = false;} private boolean Check(){return this.living;} private boolean ping(){return x.Check();} } [/CODE] The idea is that if i initialize one object of the Bacteria class and run the spawn() module … +0 So I'm working on a database-type program for the Java course that i'm doing and i seem to have run into a bit of a roadblock. This class compiles and runs alright but where i have a problem with it is when i try to amend the text file using the same class. All it does is overwrite whatever is on the txt file. I've tried to include a method that reads the text file first and then includes the contents in the output but i cant get it to work because the second i use Formatter.format(Scanner(system.in)) (if that makes … +0 So i'm trying to make a module for my program that returns a multidimensional array based on another array in the form of a command-line argument. Here is the module that's keeping me up at night: [CODE]public static double[][][] getDimensions(String [] args) { final int l = args.length; double dimensions [][][] = new double[1][l][l]; for(int count = 0; count

The End.