Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
92% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts
~31.8K People Reached
Interests
Music, Rock Climbing, Software Engineering, Electrical Engineering, Particle Physics, Diving, Chemistry,
Favorite Tags
Member Avatar for jalanderful

Hello, I am supposed to write a code in MIPS to do the following below. Basically, you enter an integer, and it should check to see if it is a palindrome, and if not it will output the number, and keep adding the numer backwards to it, outputting it, and …

Member Avatar for Farah_3
0
1K
Member Avatar for eny321

I am trying to write an elevator test program in java. It is suppose to execute the following steps using the methods in the class: 1: Starting from the first-floor. 2: Go to 2nd (update bool GoingUp) 3: Go to 3rd 4: Back to second floor This is what I …

Member Avatar for stultuske
0
3K
Member Avatar for DarkLightning7

I'm attempting to write a substitution function but am having trouble figuring out how to fix the Error: operator and operand don't agree [circularity] operator domain: ''Z list * ''Z list * ''Z list operand: ''Z list * ''Z list * ''Z in expression: sub2 (x,y,hd z) Code: fun sub2(x, …

Member Avatar for DarkLightning7
0
1K
Member Avatar for DarkLightning7

I have this cache latency graph and I am trying to figure out how to find the cache block size for L1, L2 and L3 caches from it but I cant find anything on how to do so I was able to guess the total cache size though. ![b7dff2acb9157ada547628f8db6832d0](/attachments/large/3/b7dff2acb9157ada547628f8db6832d0.gif "b7dff2acb9157ada547628f8db6832d0") …

Member Avatar for DarkLightning7
0
210
Member Avatar for DarkLightning7

I have built this function which calls a couple other functions to get the oprator and numbers for an arithmetic operation but I get the error `function call: expected a function after the open parenthesis, but received '+`. normaly you invoke addition as (+ 5 6) and multiplication as (\* …

Member Avatar for DarkLightning7
0
235
Member Avatar for DarkLightning7

I'm trying to implement a simple recursive list search in SML/NJ but am getting some errors i dont understand. Here is the code: fun find x y = if (null y) then false else if x = hd(y) then true else find(x, tl(y)); Here are the errors: stdIn:130.6-135.22 Error: case …

Member Avatar for DarkLightning7
0
691
Member Avatar for kay19

Hello, well I'm doing a rational class and i'm having trouble with the subtraction part. I have done add, multiply, and division correctly. Therefore, I would like a little help on subtraction, and i'm set. public class Rational { // TODO Auto-generated method stub //Data members private int numerator; private …

Member Avatar for kay19
0
223
Member Avatar for DarkLightning7

I have been trying to implement a partially Dynamically generated GUI but an having trouble with the layout not rendering properly. Simply resizing the window corrects the issue. Here is the problimatic generation code: public void setupBookTabs() { ArrayList<String> bookTabNames = Record.getBookGroups(); for (int i = 0; i < bookTabNames.size(); …

Member Avatar for DarkLightning7
0
175
Member Avatar for Rafik Almeria
Member Avatar for DM Galaxy
0
176
Member Avatar for sub-zer0

Hello how can i check the divisibility of a number without using % / +... I am new at coding so hope someone can help I think my code sucks ..i read forums and this is the best i can do import java.util.Scanner; public class Divbythree { public static void …

Member Avatar for sub-zer0
0
282
Member Avatar for CCHIndiaStore
Member Avatar for DarkLightning7

I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: …

Member Avatar for ~s.o.s~
0
681
Member Avatar for murali2489

Hi All, I am having a tablespace named Incident which has eight columns . The first column is index which i kept as auto increment. The columns are 1.index(auto_increment) 2.ticket_no (String) 3.date(String) 4.description (String) 5.priority (int) 6.state (String) 7.follow_up (String) 8.status (String) Now i tried to insert test row in …

Member Avatar for murali2489
0
422
Member Avatar for darkenmac

Hey guys, I'm tring to develop an android application which will solve differentiation and intgration problems and show the steps to solving it. Like a learning tool for students. But the thing is i cant find a algo which will help me on solving integration. can u guys please help …

Member Avatar for DarkLightning7
0
136
Member Avatar for DarkLightning7

I am working on a mapping system to support pathfinding over areas that are too large to hold in memory. The problem i have run into is how to load only a small part of the map when its all linked together and then dynamicaly load more of the map …

Member Avatar for JamesCherrill
0
221
Member Avatar for Ritesh_4

Hello, I would like to learn android programming, but have no knowledge in java whatsoever. Do I need to go through a java course first before starting with android, or is there a way to start programming directly with the latter?

Member Avatar for DarkLightning7
0
185
Member Avatar for Mr.M

Hi DW I've created a project on NaviCoder for java and when I tryied to export the project I had a problem then I redo my project using the Netbeans and that where I was then able to export or should I say build the jar file which is an …

Member Avatar for JamesCherrill
0
243
Member Avatar for roxie148

my daughter's android phone will not turn on. Is there any way to get her phone turned on or have her material extracted from the phone instead of doing a hard reset?

Member Avatar for CimmerianX
0
218
Member Avatar for zahidhcy
Member Avatar for game06

my r.java file in android is not updating. i already tried: 1 - clean project 2 - refresh / restart eclipse/computer 3 - all my string are in double quotes

Member Avatar for peter_budo
0
75
Member Avatar for Niraj Agarwal

#‎include‬ <stdio.h> #include <conio.h> #include <malloc.h> ‪#‎define‬ MAX1 5 #define MAX2 7 int* arr; int* create (int size){ int *arr,i; arr = (int *)malloc (sizeof(int)* size);/*note here size of (int )*size means size of int size no. of times, size is the no of integers in the array*/ for (i=0;i<size;i++){ …

Member Avatar for rubberman
-1
142
Member Avatar for Nihil777

Hello. I am new to Linux and, in effort to learn more, have undertaking a project I am not entirely sure is possible. What I want to do is use my computer (Ubuntu 12.04) to connect all devices in my house much like Windows Play Center (or whatever it is …

Member Avatar for Nihil777
0
194
Member Avatar for Shurui

I have a piece of Java code where users will get a bunch of outputs (outputs are numbers). I am trying to edit this code so that I can display the output as a Java Applet via webpage. Here's a part of the result I need to show. String s1 …

Member Avatar for iamthwee
0
243
Member Avatar for Azad Omer

We all use `this` keyword many times explisit with our instance fields or constructor, however, this refers to* current object*, for example: class Foo imlements ActionListener{ Foo fooObject; public Foo(){ //.... button.addActionListener(this);//this work as we pass the current object reference as an argument //or button.addActionListener(fooObject);// this will compile, but the …

Member Avatar for stultuske
0
276
Member Avatar for techyworld

hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring.

Member Avatar for DarkLightning7
0
171
Member Avatar for DarkLightning7

Ok so im working on a mapping library for my pathfinding system and im trying to figure out what Data structure would be best to use for rapid calls up to several hundred a second, as low memory usage as possible, and not too difficult to store and load pieces(chunks) …

Member Avatar for DarkLightning7
0
200
Member Avatar for DarkLightning7

Ive been working on pathfinding algorithms for a couple weeks now and A Star has me stumped. Right now i am attempting to Pathfind over a maze in a matrix of the form boolean map[x][y][5]; where index 0-3 are the walls on the cells starting on the right with 0, …

Member Avatar for DarkLightning7
0
265
Member Avatar for DarkLightning7

I could not get c function calls to work inside of nasm so i wrote my own read integer procedure. Im sure its inefficient and could be greatly imporved but right now I'm interested in where the negative sign went. Any help is greatly apreiciated. ;---------------------------------------------------------; ;reads a 64 bit …

Member Avatar for Assembly Guy
0
224
Member Avatar for DarkLightning7

So ive been teaching myself x86 over the last couple days now im trying to call c functions and am getting segmentation faults. if someone could explain how to call them properly that would be great. here is my code: print integer is just he control string %d as i …

Member Avatar for DarkLightning7
0
5K
Member Avatar for uknown2

Hi, I am trying to do a hotel system where i have written up this code, however i was wondering if the there was a way to make the main program simple. So what im trying to do is the code that ‘Views All rooms’ and ‘Adds customer to room’, …

Member Avatar for bguild
0
2K