Jump to content
xisto Community

iamrockandroll13

Members
  • Content Count

    52
  • Joined

  • Last visited

Everything posted by iamrockandroll13

  1. For video: http://www.videolan.org/ for audio: I use itunes but I'm looking for something better as we speak cause I hate it.
  2. if you don't mind switching to a different media player try VLC media player from the VideoLAN Team. it'll decode any format you can think of except for maybe a very select few. It's open source and freeware so check it out. http://www.videolan.org/
  3. thank you to everyone who responded. to the person who asked if I drew the piano from scratch, I didn't I used a photo I took of a real piano to get the shape right...I freehanded it the first time and while it was ok, this just turned out better...
  4. yeah I meant log base 2, I was kind of out of it when I posted
  5. Is this basically a binary search based sorting algorithm? if so, that puts it at a running time of O(ln N) which is definately better than O(N^2)
  6. How much do you understand about Java? basicly an applet is the same as a regular java program except for some key things The general form of an applet is import java.awt.*;import java.applet.Applet;public class Example extends Applet { public void paint(Graphics page) { //code for creating graphics go here } //any additional methods or code go here} You will also need a HTML launch page to launch the applet in a web browser. here is a simple one: <APPLET CODE="Example.class" WIDTH=500 HEIGHT=500></APPLET>"WIDTH=500" sets the width of the functioning area for the applet"HEIGHT=500" does the same thing for the height"APPLET CODE="Example.class" tells the brower to use the code in the class file Example.class to run the applet once it is open to create this HTML just open notepad write that line of code as it applies to your applet and save it as a .html file this needs to be in the same folder as the class file. heres some example code of an applet I wrote for a class // Program: Bouncing Ball// Author: Michael Kurelja// Date: 1/31/05// Email:// IDNUM:// File ends with "End-of-File"// This applet draws an animated bouncing ball with uniform speed.// The ball starts at the center of the graphics page and bounces off// the top and bottom.import java.awt.*;import java.applet.Applet;public class BouncingBall extends Applet {[tab][/tab]// Dimensions of Applet:[tab][/tab]public final int width = 500;[tab][/tab]public final int height = 500;[tab][/tab]// Size and speed of ball:[tab][/tab]public final int diameter = 20;[tab][/tab]public final int speed = 5;[tab][/tab]// Milliseconds to pause between frames:[tab][/tab]public final int pause = 20;[tab][/tab]public void paint (Graphics page) [tab][/tab]{ //position1 controls the position of the ball, increment controls the direction: int position1 = 0, increment = 1; setBackground(Color.blue); page.setColor(Color.red); page.fillOval((width/2)-(diameter/2),(height/2)-(diameter/2),diameter, diameter); //sets the position1 int to the center of the screen for the height variable: position1 = (height/2) - (diameter/2); // Loop forever: while (true) { [tab][/tab] //sets the color of the ball to red: [tab][/tab] page.setColor(Color.red); [tab][/tab] //moves the ball up or down: [tab][/tab] if (position1 <= (500 - diameter) && position1 > 0) [tab][/tab] { if (increment == 1) { [tab][/tab] position1 = position1 - speed; [tab][/tab] page.fillOval((width/2)-(diameter/2), position1, diameter, diameter); } else if (increment == 0) { [tab][/tab] position1 = position1 + speed; [tab][/tab] page.fillOval((width/2)-(diameter/2), position1, diameter, diameter); } [tab][/tab] } [tab][/tab] // the following 2 "else if ()" statements switch the direction of the ball: [tab][/tab] else if (position1 <= 0) [tab][/tab] { increment = 0; position1 = 1; [tab][/tab] } [tab][/tab] else if (position1 >= (500-diameter)) [tab][/tab] { increment = 1; position1 = (499-diameter); [tab][/tab] } [tab][/tab] // Pause between frames: [tab][/tab] try {Thread.sleep(pause);} [tab][/tab] catch (Exception e) { }; [tab][/tab] //erases the previous ball: [tab][/tab] page.setColor(Color.blue); [tab][/tab] page.fillOval((width/2)-(diameter/2), position1, diameter, diameter); } [tab][/tab]}}// End-of-File
  7. ^this one is actually a conglomeration of 13 separate digital photos, it still needs some work but it's very close to being finished. ^I don't know whether to say this one is a photograph or a design project so lets say it's a photograph. I'll probably post a few more later.
  8. Thank you! actually it's not technically a vector...it easily could be though...
  9. what do you think of this, it's my first piece that I've done that I really like a lot. I made it completely in photoshop...I would appreciate any feedback at all.
  10. I've been using Eclipse for a while now. It is literally the best thing I've found so far to write and compile my java and c++ projects with that happen to be free. It just makes things simpler than the old text editor/command line compiling. It very good for complex projects that involve OOP. it definately helps to keep things organized. The tabbed windows are a nice feature too...I like be able to have two or three classes open at a time in a nice organized fashion
  11. in order:Check My Email -> Myspace -> local music board -> Myspace music forums -> facebook -> google for images to play with in photoshop.
  12. I love classic rock and jazz (going to see Benny Golson and Curtis Fuller tonight!)I'm also a big fan of hardcore punk and crustI'm not an enormus metal fan but what I've heard I like for the most part.I like some emo, not 'emo' like Taking Back Sunday. Emo like dag nasty, fugazi, rites of spring, moss icon.I like trance and drum & bass too
  13. American NightmareLed ZeppelinThe Velvet UndergroundElliott SmithInfected MushroomShark AttackFugaziThe New DealJimi HendrixConvergeTed Leo and the PharmacistsUnbrokenThe ShinsThe KinksHorse the BandI'm sure I'm forgetting some...
  14. I just got finished with this game and wow, it was really impressive. There were some parts that seemed almost like you were supposed to play them while on mind altering substances, specifically the part where you have to get past The Sorrow...all in all it is a very intense game...WELL WORTH THE MONEY. Also in other news, I heard they have started working on MGS4 for the PS3...I can't wait.
  15. I tryed this a while ago, I was not impressed. maybe things have changed on there but the selection was poor compared to DC++, DC++ was faster, and DC++ didn't come loaded with adware.
  16. I just got done playing Metal Gear Solid 3 and I was impressed by that, Metal Gear 4 is probably going to melt my brain! I have a feeling that sony is not stupid enough to not make the ps3 backwards compatable with ps2 and ps1, if they did it for the ps2, they'll do it for ps3. Microsoft however, I'm not sure of. One thing is for sure, Microsoft needs to make sure there are more good games for the xbox2 (or whatever it is named) than there were for xbox. Same goes for Nintendo's new system.
  17. Being at a major university I have had the great pleasure of using DC++ over the Internet2 through i2hub's hub. I never have any downloads under 1 MB/s. If you have a internet connection through a university or other educational institution you may have access to an Internet2 hook up and may be able to enjoy this as well. If you would like to see if you can use this go to http://www.waynechang.com/ and check their list of supported universities and colleges. Also be sure to check out Peer Guardian, google it. It is a piece of software that acts a specialized firewall that can block all known RIAA, MPAA, Government, Educational, and some other IP's from establishing connections with your computer...It could save you from getting a sub-poena.
  18. This idea may be new for running shoes. But certain ski and snowboard companies have been manufacturing skis and snowboards with chips in them to control the flex for a while now...I figured it was only a matter of time before the technology made it's way into running shoes.
  19. this software is is exellent, it does dvd .iso's too.
  20. I like gmail a lot more than my school provide e-mail account...thats why I have 3 gmail accounts.
  21. GMail destroys everything else. What other provider gives you that much space? it's really easy to use too.I like the invite only thing too, it makes me feel special and powerful...haha
  22. Myspace is a great boredom killer
  23. 1. Firefox: cause IE sucks yo!2. Photophop: me likes me photoediting3. Eclipse 3.0: best programming tool I've yet to find and it's free.4. DC++: i2 connection + i2hub + dc++ client = super fast filesharing.5. Peer guardian 2.0: to make sure my activities on dc++ aren't being monitored by anyone.
  24. I would reccomend a language like Java...rather easy to learn in and not overly complicated for basic programming tasks. You would do well to stay away from Visual Basic. It does too much for you so you learn less.
  25. I do not yet know C but I will be learning next year. From what I have looked at in C though, I don't think it really matters what order they are learned in, as long as both are learned. Java is very beginner friendly as long as it is TAUGHT to the beginner. It's really easy to teach someone java when you can say "just ignore the public, static, and (String[] args) in public static void main (String[] args), all that matters is main and void for now." Java has the benefit of teaching basic programming and OOP in one language. So I said Java should be learned first...I don't think the order is all that important though.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.