I know Python, I learned just a tiny bit of Ruby (not enough to ever really be useful), and I just barely started on C but got lazy and went back to working on other things.
I'll probably get deeper into C early next year and I want to learn something crazy like Piet, Brainfuck, or Malbolge which would never be useful but fun.
and if you don't want to learn any, do it anyways. just don't learn java because java sucks and put jmv in the insane asylum
JAPANESE
http://jamesvalente.com/projects.php
baddood;
Python, PHP, and C mostly.
Quote from: Frutta Procione on December 26, 2008, 08:27:51 PM
http://jamesvalente.com/projects.php
baddood;
Python, PHP, and C mostly.
whoa nigga
when you learn python
java looks like fun
Quote from: ME86 on December 26, 2008, 08:28:28 PM
java looks like fun
and this is why you're homosexual
Also, I like how nothing on jim v's site leads to anything but "explanation soon m8"
Quote from: ME86 on December 26, 2008, 08:28:28 PM
java looks like fun
JAVA IS NOT FUN
IT IS NOT
Shit fuck, does this look FUN?!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package conversion;
/**
*
* @author jamesvalente
*/
public class DistanceFT {
private double feet,
meters,
length,
convert;
private int response;
/** Creates a new instance of Distance */
public DistanceFT() {
}
public DistanceFT(double length, double convert) {
feet = length;
meters = convert;
}
public void setLength(double feet){
length = feet;
}
public double getLength(){
return length;
}
public double conversionFactor(){
convert = length * 0.3048;
return convert;
}
}
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package conversion;
/**
*
* @author jamesvalente
*/
public class DistanceMetric {
private double feet,
meters,
length,
convert;
private int response;
/** Creates a new instance of Distance */
public DistanceMetric() {
}
public DistanceMetric(double length, double convert) {
meters = length;
feet = convert;
}
public void setLength(double meters){
length = meters;
}
public double getLength(){
return length;
}
public double conversionFactor(){
convert = length * 3.28;
return convert;
}
}
/*
* DistanceTest.java
*
* Created on November 30, 2007, 11:35 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package conversion;
import java.awt.*;
import javax.swing.*;
//import java.util.Scanner;
/**
*
* @author jamesvalente
*/
public class DistanceTest {
/** Creates a new instance of DistanceTest */
public DistanceTest() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
/**Create window prompting for conversion type*/
DistanceFT DistFT = new DistanceFT();
DistanceMetric DistMet = new DistanceMetric();
String[] choices = {"Feet to Meters", "Meters to Feet"};
int response = JOptionPane.showOptionDialog(
null,
"Please select a conversion",
"Conversion App",
JOptionPane.YES_NO_OPTION,
JOptionPane.PLAIN_MESSAGE,
null,
choices,
choices[0]);
if(response == 0){
String feetIn = JOptionPane.showInputDialog(null, "Please input the distance in feet"); //Prompt for distance in feet
double feet = Double.parseDouble(feetIn);
DistFT.setLength(feet);
JOptionPane.showMessageDialog(null, String.format( "You entered %.3f feet.\nDistance in meters is: %.3f\n ", DistFT.getLength(), DistFT.conversionFactor()));
}
else {
String metersIn = JOptionPane.showInputDialog(null, "Please input the distance in meters"); //Prompt for distance in feet
double meters = Double.parseDouble(metersIn);
DistMet.setLength(meters);
JOptionPane.showMessageDialog(null, String.format( "You entered %.3f meters.\nDistance in feet is: %.3f\n ", DistMet.getLength(), DistMet.conversionFactor()));
}
}
}
I know VB.
I learn Java next semester in school.
Quote from: Frutta Procione on December 26, 2008, 08:41:00 PM
JAVA IS NOT FUN
IT IS NOT
Shit fuck, does this look FUN?!
i'm sorry ;_;
Quote from: Sponge on December 26, 2008, 08:44:33 PM
I know VB.
I learn Java next semester in school.
wow
i'm sorry
CSS ;_;
Or actionscript cjlubdoods;
Quote from: Lawlz on December 26, 2008, 08:45:18 PM
wow
i'm sorry
yeah um...
i dont even know what the fuck is going on
Quote from: Det's Placenta on December 26, 2008, 08:45:51 PM
CSS ;_;
Or actionscript cjlubdoods;
CSS ISN'T A LANGUAGE WOMAN.
Im learning C++ thats really it for now.
#!/usr/bin/python
#OH FUCK I CAN CALCULATE SHIT
loop = 1
choice = 0
while loop == 1:
print "LMAO Welcome to JMV's Calculator"
print " "
print "Nigga, pick an option:"
print " "
print "1) Add Shit"
print "2) Subtract Shit"
print "3) Multiply Shit"
print "4) Divide Shit"
print "5) Quit"
print " "
choice = input("Pick one, faggot:")
if choice == 1:
a1 = input("First Number: ")
a2 = input("Second Number: ")
print a1, "+", a2, "=", a1 + a2
elif choice == 2:
s2 = input("First Number: ")
s1 = input("Second Number: ")
print s1, "-", s2, "=", s1 - s2
elif choice == 3:
m1 = input("First Number: ")
m2 = input("Second Number: ")
print m1, "*", m2, "=", m1 * m2
elif choice == 4:
d1 = input("First Number: ")
d2 = input("Second Number: ")
print d1, "/", d2, "=", d1 / d2
elif choice == 5:
loop = 0
print "LOL THANKS"
Quote from: Frutta Procione on December 26, 2008, 08:47:52 PM
CSS ISN'T A LANGUAGE WOMAN.
All of them are weird looking though.
Also makes clickies. cjlubdoods;
Quote from: Det's Placenta on December 26, 2008, 08:49:41 PM
All of them are weird looking though.
Also makes clickies. cjlubdoods;
You make clickies. cjlubdoods;
I'm learning python and php.
Quote from: Det's Placenta on December 26, 2008, 08:49:41 PM
All of them are weird looking though.
Also makes clickies. cjlubdoods;
Learn Haskell cjlubdoods;
Quote from: Sponge on December 26, 2008, 08:50:30 PM
You make clickies. cjlubdoods;
That sounds sexual. ;)
#OH FUCK I CAN CALCULATE SHIT
loop = 1
choice = 0
while loop == 1:
print "LMAO Welcome to JMV's Calculator\n\n \n Nigga, pick an option:\n\n\n 1) Add Shit\n 2) Subtract Shit\n 3) Multiply Shit\n 4) Divide Shit\n 5) Quit\n\n"
choice = input("Pick one, faggot:")
if choice == 1:
a1 = input("First Number: ")
a2 = input("Second Number: ")
print a1, "+", a2, "=", a1 + a2
elif choice == 2:
s2 = input("First Number: ")
s1 = input("Second Number: ")
print s1, "-", s2, "=", s1 - s2
elif choice == 3:
m1 = input("First Number: ")
m2 = input("Second Number: ")
print m1, "*", m2, "=", m1 * m2
elif choice == 4:
d1 = input("First Number: ")
d2 = input("Second Number: ")
print d1, "/", d2, "=", d1 / d2
elif choice == 5:
loop = 0
print "LOL THANKS"
there's one way to slim down your code
alternatively you could've put that huge chunk of text in the beginning inside triple quotes
brainfuck takes all of five seconds to learn akudood;
the issue is actually figuring out how to do anything with it
but uh i know python and ruby, and i'm learning j and haskell for kicks
j is crazy fun baddood;
also jimmy i told you a while ago to use raw_input madood;
Quote from: Commodore Guff on December 26, 2008, 09:00:37 PM
brainfuck takes all of five seconds to learn akudood;
the issue is actually figuring out how to do anything with it
but uh i know python and ruby, and i'm learning j and haskell for kicks
j is crazy fun baddood;
also jimmy i told you a while ago to use raw_input madood;
raw_input should be used mainly for strings and input for integers
so why should he use raw_input instead because if he's looking solely for numbers then it'll raise an error automagically if someone decides to be a smartass and enter 'q'
also, even better implementation of jimmy's project
class Goats():
def __init__(self):
self.a = input("Enter first number: ")
self.b = input("Enter second number: ")
if choice == 1:
self.adder()
if choice == 2:
self.subtracter()
def adder(self):
print "A+B =", self.a+self.b
def subtracter(self):
print "A-B =", self.a-self.b
print "1: Add \n2: Subtract"
choice = input("Which one?")
Goats()
Didn't include all the options but enough to show how true men do it
Quote from: Lawlz on December 26, 2008, 09:04:06 PM
raw_input should be used mainly for strings and input for integers
so why should he use raw_input instead because if he's looking solely for numbers then it'll raise an error automagically if someone decides to be a smartass and enter 'q'
uh no, raw_input should be used for everything which is why they got rid of input in python3.0 and replaced it with raw_input akudood;
because raw_input doesn't parse anything which means it's not going to do anything unexpected (input evaluates expressions which is an awfully silly functionality for a menu)
the same functionality can be achieved by doing something like choice = int(raw_input("Pick one, faggot: ")) instead and it would still raise an error if said smartass enters 'q' madood;
basically it's just good practice to use raw_input instead and if you really, really need input (WHICH YOU NEVER WILL >:O) it's better to use eval(raw_input()) with some safeguards instead bassir;
Quote from: Commodore Guff on December 26, 2008, 09:16:11 PM
uh no, raw_input should be used for everything which is why they got rid of input in python3.0 and replaced it with raw_input akudood;
because raw_input doesn't parse anything which means it's not going to do anything unexpected (input evaluates expressions which is an awfully silly functionality for a menu)
the same functionality can be achieved by doing something like choice = int(raw_input("Pick one, faggot: ")) instead and it would still raise an error if said smartass enters 'q' madood;
basically it's just good practice to use raw_input instead and if you really, really need input (WHICH YOU NEVER WILL >:O) it's better to use eval(raw_input()) with some safeguards instead bassir;
python 3.0 hates pygame and killed the print command and put the print function on his throne :'(
So I don't like it much yet.
Quote from: Lawlz on December 26, 2008, 09:19:01 PM
python 3.0 hates pygame and killed the print command and put the print function on his throne :'(
So I don't like it much yet.
uh print as a statement was awfully silly and at least with the function you can easily change the separator and end-of-line behavior (versus doing things like "print foo," to suppress the line break)
i love it simply for it not differentiating between ints and longs anymore but there's other stuff too akudood;
Quote from: Commodore Guff on December 26, 2008, 09:22:27 PM
uh print as a statement was awfully silly and at least with the function you can easily change the separator and end-of-line behavior (versus doing things like "print foo," to suppress the line break)
i love it simply for it not differentiating between ints and longs anymore but there's other stuff too akudood;
but just saying print 'hello world' was what made python look so simple and appealing and beautiful to the world of retards like jmv and it's sad to see him die :'(
Quote from: Lawlz on December 26, 2008, 09:24:58 PM
but just saying print 'hello world' was what made python look so simple and appealing and beautiful to the world of retards like jmv and it's sad to see him die :'(
oh no now they have to use parentheses go to hell and die lawlz akudood;
Quote from: Commodore Guff on December 26, 2008, 09:26:24 PM
oh no now they have to use parentheses go to hell and die lawlz akudood;
yeah it is sad
now perl does something simpler than python :'(
Quote from: Lawlz on December 26, 2008, 09:30:53 PM
yeah it is sad
now perl does something simpler than python :'(
yeah python's too hard now that it's more consistent madood;
also, relevant to your interests (http://pybrain4.googlecode.com/svn/trunk/pybrain4/pybrain4.py)
it mostly works but exhibits somewhat strange behavior when dealing with newlines as input and i haven't updated it in forever akudood;
Quote from: Commodore Guff on December 26, 2008, 09:39:46 PM
yeah python's too hard now that it's more consistent madood;
also, relevant to your interests (http://pybrain4.googlecode.com/svn/trunk/pybrain4/pybrain4.py)
it mostly works but exhibits somewhat strange behavior when dealing with newlines as input and i haven't updated it in forever akudood;
jimmy v showed me your work and it made me feel stupid
:'(
Quote from: Lawlz on December 26, 2008, 09:43:32 PM
jimmy v showed me your work and it made me feel stupid
:'(
maybe you could do it too if you got over your fear of functions n_u
Quote from: Commodore Guff on December 26, 2008, 09:45:14 PM
maybe you could do it too if you got over your fear of functions n_u
i don't fear functions
i'm just mourning the loss of the print statement
Quote from: Lawlz on December 26, 2008, 09:48:35 PM
i don't fear functions
i'm just mourning the loss of the print statement
print('do too')
you're about to be mourning the loss of your face akudood;
If you're so upset with python 3.0 then don't use it. =0
EDIT:
I don't want to double post so I'll just edit.
Would any of you recommend trying to learn a language (specifically php and python) by just reading tutorials, or should I buy some books?
I know some PHP, and that's it for serious programming languages.
I don't think HTML and CSS count as programming, just markup or whatever languages.
I also know the language used by a program called GlovePIE. It works as a programming language and is based off of several ones. But it's pretty obscure and only useful for emulating input.
And um I plan on learning Javascript and C++ sometime relatively soon maybe within a year or so. Maybe more languages like Python, Actionscript, Perl, Java, C, C#, etc later.
Quote from: CHAOS66 on December 26, 2008, 10:06:43 PM
If you're so upset with python 3.0 then don't use it. =0
EDIT:
I don't want to double post so I'll just edit.
Would any of you recommend trying to learn a language (specifically php and python) by just reading tutorials, or should I buy some books?
http://www.swaroopch.com/notes/Python
this is a good place to start
Quote from: Lawlz on December 26, 2008, 10:39:03 PM
http://www.swaroopch.com/notes/Python
this is a good place to start
i think he was asking whether or not tutorials are a good idea versus lengthy comprehensive tomes on the languages not specific examples
but anyways i just go with the standard docs (http://docs.python.org/download.html) which includes a tutorial and the standard library reference akudood;
Quote from: Lawlz on December 26, 2008, 10:39:03 PM
http://www.swaroopch.com/notes/Python
this is a good place to start
Um.. I guess that means online is fine.
btw Should I be learning 2.x or 3.0? I found a good tut, but it uses 2.x (I think)
said tut: [spoiler] http://pythonbook.coffeeghost.net/book1/ [/spoiler]
Yeah, that's what I meant Guff.
Quote from: Commodore Guff on December 26, 2008, 10:43:31 PM
i think he was asking whether or not tutorials are a good idea versus lengthy comprehensive tomes on the languages not specific examples
but anyways i just go with the standard docs (http://docs.python.org/download.html) which includes a tutorial and the standard library reference akudood;
and i simply gave him a tutorial/guide over telling him to buy a book :|
One of my friends tried using youtube tutorials to learn python.
i'm ashamed of the people i know
Quote from: CHAOS66 on December 26, 2008, 10:44:55 PM
btw Should I be learning 2.x or 3.0? I found a good tut, but it uses 2.x (I think)
well 3.0 will probably eventually phase out 2 but not for a long while
Quote
well 3.0 will probably eventually phase out 2 but not for a long while
Oh okay, I didn't want to have just learned something only to have to re-learn a lot of it.
Quote from: CHAOS66 on December 26, 2008, 10:44:55 PM
Um.. I guess that means online is fine.
btw Should I be learning 2.x or 3.0? I found a good tut, but it uses 2.x (I think)
said tut: [spoiler] http://pythonbook.coffeeghost.net/book1/ [/spoiler]
there's really only a few superficial differences between 2.x and 3.0 (at least in terms of what a beginner would encounter) so it's not that big of a deal to go with 2.x tutorials and learn 3.0 given that there's not all that much support (in terms of both documentation and third-party modules) for 3.0 right now but there is the usual official (http://docs.python.org/3.0/) stuff
Quote from: CHAOS66 on December 26, 2008, 10:49:15 PM
Oh okay, I didn't want to have just learned something only to have to re-learn a lot of it.
well the differences between 2 and 3 really aren't tremendous
most systems are going to be sticking with 2.x for a while so it wouldn't hurt to learn that
it's like saying should i learn how to use windows xp or windows vista: vista is pretty much the same damn thing as xp with a few tweaks, but more use xp and if you know how to use one of them you'll be able to easily use the other
K thanks lawlz And guff giggle;
I edited it
Srry guff on my touch ATM
Just started learning Python from this great resource, called "A Byte of Python". Thanks, Zidone :3
I know VB6, BASIC, C++, and Java to a degree where I can use it to actually do something.
I know C# and C but on a real basic level
and then I am currently learning Python
oh I don't know if Sadscript qualifies, but I will just toss it in there for fun
Quote from: Terran SCV on December 27, 2008, 11:23:58 AM
Just started learning Python from this great resource, called "A Byte of Python". Thanks, Zidone :3
zidone only got it thanks to me ;)
Quote
I know VB6, BASIC, C++, and Java to a degree where I can use it to actually do something.
I know C# and C but on a real basic level
Scrub ;)
Quote from: Lawlz on December 27, 2008, 11:25:14 AM
Scrub ;)
"After you've SCRUBbed all the floors in Boyah, then we can talk about Python. Take him away."
Scrub? Oh
#include <iostream>
#include <string>
using namespace std;
string response;
cout << "What the frak is a scrub\n"
cin >> response;
cout << response;
cout << "o rly\n"
Quote from: Terran SCV on December 27, 2008, 11:38:02 AM
"After you've SCRUBbed all the floors in Boyah, then we can talk about Python. Take him away."
Scrub? Oh
#include <iostream>
#include <string>
using namespace std;
string response;
cout << "What the frak is a scrub\n"
cin >> response;
cout << response;
cout << "o rly\n"
Linus Torvalds thinks C++ is a scrub language, and he oversees development of the linux kernel.
I think he knows more than you ;)
Quote from: Lawlz on December 27, 2008, 11:39:45 AM
Linus Torvalds thinks C++ is a scrub language, and he oversees development of the linux kernel.
Well, that is good for him :3
Quote from: Lawlz on December 27, 2008, 11:39:45 AM
I think he knows more than you ;)
No shist. I'm not a full-time dev, I am also a student that may be =< 18 years of age.
besides html/css which aren't programming languages I only know web programming shit like SQL and PHP, and only enough to be able to competently design something if needed but not enough to do it from memory
also applesoft basic yes;
I really need to get around to learning some programming languages. It's something I've been meaning to do since 7th grade, now.
Only things I know how to do are HTML and CSS, which aren't programming languages. I know a bit of C++ but not enough to be able to really do anything without looking at a guide.
Quote from: Λoζαλ on December 27, 2008, 11:53:36 AM
I really need to get around to learning some programming languages. It's something I've been meaning to do since 7th grade, now.
Only things I know how to do are HTML and CSS, which aren't programming languages. I know a bit of C++ but not enough to be able to really do anything without looking at a guide.
python nigger
Quote from: Terran SCV on December 27, 2008, 11:59:37 AM
Lua nigger
Python nigga
lua won't do jack shit for rollin' zidones bassir;
Quote from: Zidone on December 27, 2008, 11:56:01 AM
python nigger
I'll look into it sometime once I get more free time on my hands.
Quote from: Terran SCV on December 27, 2008, 11:59:37 AM
Lua nigger
Same with the language recommended by you.
Quote from: Lawlz on December 27, 2008, 11:39:45 AM
Linus Torvalds thinks C++ is a scrub language, and he oversees development of the linux kernel.
linus hates everything n_u
but anyways if you know c++ then you pretty much know c
there's a few idioms and paradigms that are in c++ and not c but the low-level stuff is mostly the same
Quote from: Terran SCV on December 27, 2008, 12:05:34 PM
VB6
die n_u
Quote from: Commodore Guff on December 27, 2008, 12:23:43 PM
die n_u
Why all the hate for VB6 here? Is it his inability to run on Linux
and Mac? Because that, sir, is exactly why I don't use it much n_u
Ok then BASIC
Quote from: Terran SCV on December 27, 2008, 12:26:11 PM
Why all the hate for VB6 here? Is it his inability to run on Linux and Mac? Because that, sir, is exactly why I don't use it much n_u)
Ok then BASIC nigger
well it being proprietary is one thing but i think most of the hate comes from it sucking akudood;
yeah i think we need more languages that emphasize gotos n_u
Quote from: Commodore Guff on December 27, 2008, 12:27:54 PM
well it being proprietary is one thing but i think most of the hate comes from it sucking akudood;
Very proprietary ,sir.
Quote from: Commodore Guff on December 27, 2008, 12:27:54 PM
yeah i think we need more languages that emphasize gotos n_u
Programming on calculators are fun.
Except when you have too much "Spaghetti code".
I'd love to learn C++. That way I could start my projects on my own.
Quote from: Tyler on December 27, 2008, 12:36:15 PM
I'd love to learn C++. That way I could start my projects on my own.
You can start projects with
any programming language
Do you mean "full-scale"?
Quote from: Terran SCV on December 27, 2008, 12:37:44 PM
You can start projects with any programming language
Do you mean "full-scale"?
Programming wise. I write story, create characters, do some modeling (even though it's only concept art and I want them redone for the final project), etc.
I'm terrible at math and I really would not like to get into programming because I know I'll be terrible at it.
Quote from: Tyler on December 27, 2008, 01:33:13 PM
Programming wise. I write story, create characters, do some modeling (even though it's only concept art and I want them redone for the final project), etc.
I'm terrible at math and I really would not like to get into programming because I know I'll be terrible at it.
You don't
really have to know mathematics in computer programming unless you are working with 3d objects.
All you really need to know is basic arithmetic (add, subtract, multiply, divide), modulus, inequalities, and logic.
Quote from: Terran SCV on December 27, 2008, 01:35:48 PM
You don't really have to know mathematics in computer programming unless you are working with 3d objects.
All you really need to know is basic arithmetic (add, subtract, multiply, divide), modulus, inequalities, and logic.
It's a 3-D RPG. All my projects are 3-D except for the 2.5-D platformer....
Quote from: Tyler on December 27, 2008, 01:36:34 PM
It's a 3-D RPG. All my projects are 3-D except for the 2.5-D platformer....
roflwaffle
okay, good luck
BTW: you prolly know this, but OpenGL can be utilized instead of DirectX. If you happen to use OpenGL, get ClanLib. It's a great library chock full of stuff from sprite rendering to networking.
Quote from: Terran SCV on December 27, 2008, 01:41:59 PM
roflwaffle
okay, good luck
BTW: you prolly know this, but OpenGL can be utilized instead of DirectX. If you happen to use OpenGL, get ClanLib. It's a great library chock full of stuff from sprite rendering to networking.
I know nothing of what you speak. I'm the artist...not the programmer.
Quote from: Tyler on December 27, 2008, 01:47:50 PM
I know nothing of what you speak. I'm the artist...not the programmer.
Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
I am retard
soz