This is my personal bias, but ask them about what they think about stored procedures (good) VS views (not as good) and why temporay tables are better.
Yo, what is a good place to learn quickly about webservices with a DB in oracle 10g?
Hereās the video Iām using from
found my the solution to my problem. So just a bump. Using Udemy for Java, on top of the book I bought last Dec. blah blah
EDIT: Ok so I do have a question about the video I posted. In the video he has
public class name of class
at the top
However for mine itās
package name
public class name of class
It still works, but I was just wondering why mine has the package above. Iām trying to find answers for curiosity sake.
Long story short, a package allows you to group various classes that have common functionality.
For example, you have a package called car parts, where every class is meant to represent different parts of a car.
If you are using packages might be worth learning about access modifiers Public, Private & Protected
Thanks for the the answers. I found out what i did. I started āNew Classā from the SRE folder, instead of the folder āClass Folderā, lol. I meant to type this the other day. My bad. Watching some vids and reading right now. Iām digging this right now. I know itās A LOT of hard work, and I still feel that man " I wish I did one of my other hobbies this hard", but I think this will pay off more down the road. Not without sacrifice of course, but I think getting this stuff down, I can still work with what I want to (art, language) but be able to provide.
Can anyone tell me what the easiest programming jobs are? I got a b.s. computer science in 2002. After I graduated I got a software developer job working for a company that makes software for hospitals. But I quit after about 4 months because I was overwhelmed, emotionally drained, and stressed from working full time. Also I think that I have an attention problem. So I would love to find something really easy.
Iād say web development using ruby or something like that
So Iāll give a shoutout to this website from a friend and fellow SRK memeber. Has some cool programming stuff and hilarious story about Nokia.
Iāve got some questions regarding my source code for my homework.
The program is to find the various properties of circles and spheres (Surface area, volume, mass,etc) now the problem Iām having is some reason I canāt get my mass calculations to show up, it just shows the input I entered for my radius . All my other calculations are ok so Iām not worried about that. Please forgive the formatting.
[details=Spoiler]public class CirclesandSpheres {
//area of square
public static double getAreaOfCircle(double radius){
return Math.PI *Math.pow(radius,2);
}
//Mass of Sphere
public static double getMassofSphere(double density, double radius){
return 1.333333333333333*Math.PI*Math.pow(radius,3)*density;
}
//Volume of Sphere
public static double getVolumeofSphere(double radius){
return 1.3333333333333*Math.PI*Math.pow(radius,3);
}
//Surface Area of Sphere
public static double getSurfaceAreaofSphere(double radius){
return 4*Math.PI * Math.pow(radius, 2);
}
}
import java.awt.geom.Area;
import java.util.Scanner;
public class MainClass {
public static void main(String[] args) {
// TODO Auto-generated method stub
double radius;
double volume = CirclesandSpheres.getVolumeofSphere(0);
double density;
Scanner keyboard = new Scanner(System.in);
System.out.println("In this program we will do computations for properties of squares and cubes.
Circle has Radius and Area.
Sphere has a radius, surface area and volume.
Sphere that is made of certain material has certain mass depending upon its volume and density.");
System.out.println("Please enter a positive and non-zero value for the radius [xx.yy]");
radius = keyboard.nextDouble();
System.out.println("Please enter the density that makes up the material of the Sphere.");
density = keyboard.nextDouble();
System.out.printf("Area of circle of side %.2f is: %.2f
",
radius, CirclesandSpheres.getAreaOfCircle(radius));
System.out.println("Printing the properties of the Sphere whose data you provided.
Only two significant figures are shown in the dispalyed data.");
System.out.printf(āThe radius of the sphere is %.2f
ā, radius);
System.out.printf(āThe volume of the Sphere is %.2f: %.2f
ā, radius, CirclesandSpheres.getVolumeofSphere(radius));
System.out.printf(āThe surface area of the Sphere is %.2f: %.2f
ā, radius, CirclesandSpheres.getSurfaceAreaofSphere(radius));
System.out.printf(āThe density of the Sphere is %.2f
ā, density);
System.out.printf(āThe mass of the Sphere is: %.2f
ā, radius, density, CirclesandSpheres.getMassofSphere(density,radius));
}
}
Output:
In this program we will do computations for properties of squares and cubes.
Circle has Radius and Area.
Sphere has a radius, surface area and volume.
Sphere that is made of certain material has certain mass depending upon its volume and density.
Please enter a positive and non-zero value for the radius [xx.yy]
10.1
Please enter the density that makes up the material of the Sphere.
7.8
Area of circle of side 10.10 is: 320.47
Printing the properties of the Sphere whose data you provided.
Only two significant figures are shown in the dispalyed data.
The radius of the sphere is 10.10
The volume of the Sphere is 10.10: 4315.71
The surface area of the Sphere is 10.10: 1281.90
The density of the Sphere is 7.80
The mass of the Sphere is: 10.10
[/details]
System.out.printf(āThe mass of the Sphere is: %.2f
ā, radius, density, CirclesandSpheres.getMassofSphere(density,radius));
Here, youāre saying to print
āThe mass of the Sphere is: %.2f
ā
So thatās one variable that gets shown in the string. Whatās the first variable you pass in?
radius.
So thatās what its gonna show.
Change it to
System.out.printf(āThe mass of the Sphere is: %.2f
ā, CirclesandSpheres.getMassofSphere(density,radius));
If youāre programming in a Linux (OS) environment, I donāt think the DirectX APIs will work natively in there. OpenGL API would definitely work, but itās only a graphics API, whereas DirectX is a bunch of API components for graphics (DirectDraw and Direct3D) , input (DirectInput) , sound (DirectSound) , networking (DirectPlay) , media-playback (DirectShow) , etc. The SDL wrapper lib. you mentioned will provide you a way to get cross-platform graphics, sound, input, & other stuff (in a Linux program) just like how DirectX does those same things within a Windows-only program (that uses that API).
You can use other libs like OpenAL (sound) for making your Linux program(s).
OK, time to ask this question. WTF is the difference between the following:
Computer Scientist
Computer Programmer
Software Engineer
Systems Engineer
Coder
And other random titles Iām missing in the IT fieldā¦
(I have a B.S. in Computer Science btw)
Eh, theyāre all just semantics
Computer Scientist, to me is somebody that spends their time more in the theory of CS (studying algorithms, trying to improve them, studying when to use different methods, etc)
A Computer Programmer is somebody who just writes code; maybe applications, maybe mobile apps, maybe scripts and shit
Software Engineer definitly writes code for a very specific program, maintains that program, and is responsible for that program
Systems Engineer probably writes more back end code; maybe routing webservice calls, maybe making systems talk to eachother, probably not UI or customer facing stuff. edit: probably also stuff like chip programming, embedded systems and the like
Coder is just somebody who probably wrote a webpage in HTML once
Spoiler
Note I made all this up off the top of my head
My personal title is currently Software Engineer, I write C++, Java, Objective C, and maintain about 6-7 distinct applications in our codebase, so Im biased
In the beginning there was computer science. Computer scientists talked about data structures and algorithm complexity and making compilers and language theory and all that jazz.
And then the rest of the world (āindustryā) said, āWe donāt make compilers, we make software that takes numbers from the user and shoves them in a database.ā And the universities said, āWell if computer scientists donāt end up doing computer science we need to teach them about stuff that they will do. Putting things into practice. Engineering. Software Engineering!ā Thus a new major was born, one that taught about design process and architecture and UML and whatever the hell else they teach; teamwork or something, I donāt know.
The others are even more vague. āSystems Engineerā is particularly meaningless. Likely someoneās trying to imply they take a ābig pictureā view of everythingāmore than just the software part of whateverās being worked on. They may have some focus on the software/real-world boundary or user interactions, or they may just want to have the word āengineerā in their title.
We can take ācomputer programmerā literally. If someone described themselves as a ācomputer programmerā though I would interpret that as them having some guilt about not having a related degree. āCoderā is similar but theyāre trying to be more casual about it.
The way that I have been taught Software Engineer is someone that is the project manager in the development of software and computer systems, the actual programming part is a tiny percentage of what is actually involved. Typical roles would be requirement elicitation from client, scheduling the and picking the right life-cycle for the development process, communicating with stakeholders etc.
Computer scientist is a very broad title, it can literally cover all aspects of computing, from the design of system architecture, and data structures to project management.
Eh, in my experience youāre describing a Project Manager more so than a programmer. They talk with clients, write up specs, and schedule them on the road map. Then us software engineers take their amazing plans (āI donāt want any dropdown for choice here; canāt you just figure out what they want to happen next without making them tell you?ā) and figure out a way to make it happen. And then you pull out your hair, get frustrated, go online, research, come back, work weekends, and then FINALLY bust out an amazing solution which is probably on the cutting edge of what is possible.
And all the PMs say is āSee, I told you it could be done.ā
Visionaries.
Is all about the type of knowledge they have.
For example i have a degree on Computational Science and System Engineering, which translates that at the university i learned:
On the side of Computer Science
O.S., we were taught from the story of them to how create one, one of my projects was to create a virtual hd with its own system partition (based on inode) and embeded os.
Compilers, we were taught how different compilers work, and how to create one, the final project of Compilers I & II was a complete compiler, a Mini C made on Java, that worked over a MIPS, this means that we have to translate the C syntax to assembler (yup, i know how to write code on assembler, ask me how useful has been on rl )
DB Theory, is not only that we learned everything realeted to it in a very abstract level, as you have guessed by the previous 2, we have to make our own MSDB.
Programing Languages, this was more about their story and the different types of languages that there are; we were divided on groups where every group have to investigate an specific language, in my case was prolog, so i learned how to code on prolog too, which is actually really good when doing CGIās
Theory of computation, this is the basics for the 1st 3, since we learned Automata theory, Computability theory, Computational complexity theory, Models of computation, etc. I have to say that i loved this class (seriously, is very awesome) plus i know how to make a turing machine :razz:
Analysis of algorithms, this was also one of my favorite classes, since it is an eye opener, this class helps you into being a better software engineer in general, since you learn how to code more efficiently and more optimal.
And other assorted stuff like discrete maths, numerical analysis/methods, digital logic circuits, cpu organization, data structures, file organization, AS400, etc
On the side of System engineering
Computational security, System Analysis and Design, Project Management, Software Engineering, Computational Audit, Decision Support Systems, Planning and Control of Information Systems, etc
Add all the math stuff related to the engineering and random classes
I can say that my university gives us a broad skillset, but due how taxing is this carrer is no wonder why only like 4 or 5 people graduate per year of it
Plus there are other options that only cover part of the whole of what i decided to study, in fact, from what i know while the career still exists, almost the 100% of the student population of the computer science branch is studying the leseer (yup i said it :looney:) ones that are more specialized.
I write code on Java, C++, C#, VB, ASP, SQL, PLSQL, Prolog and Assembler (though the last 2 have been like 5 or 6 years since i wrote anything on them)
I have also worked a little with stuff like LISP, ADA95, MATLAB, FORTRAN and PowerBuilder due other works that i had in the past.
I could probably use Wine and its version of the API for that sort of thing, but Iāve already decided to stick with OpenGL for portability. I can deal with learning DirectX another time if I ever decide to.
What Iām doing already involves SDL and GLEW. I know of other libraries as well that I may jump into. I havenāt done anything more with it at this point other than learning programmable shaders and getting the actual program objects written.
Hereās a screenshot of what Iāve done so far in this massive project I have in mind:
If youāre wondering what the long name of the engine is in the window title:
Spoiler
Itās the āI Tell Women I Have a Big Penisā engine.