Go Back   Marijuana.com > Recreation > Techy Stuff
Register FAQ Gaming VB Image Host Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2004, 05:05 AM   #1
anonymity
Banned
 

Join Date: Jun 2003
Posts: 3,596
Grams: 1,501.81
Groans: 0
Groaned at 0 Times in 0 Posts
anonymity has begun their Karma Journey
Thanks: 0
Thanked 0 Times in 0 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: -1.000%
Default Computer Languages

Post any comments/questions about any computer languages you know or would like to learn more about. This includes C, C++, Assembly, any hex stuff you know, whatever. Just not java, that's for the java thread
anonymity is offline Award anonymity Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Marijuana.com Sponsor
Advertisement
 
Old 02-27-2004, 01:40 PM   #2
manny
Jr. Member
 

Join Date: Oct 2000
Posts: 369
Grams: 514.45
Groans: 0
Groaned at 0 Times in 0 Posts
manny has begun their Karma Journey
Thanks: 0
Thanked 0 Times in 0 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: 0.000%
Default

Python is supposed to be a good first language to learn.

But I think PHP is easier. But then again, I actually used to know a little bit of PHP.

Oh, and poking at your memory is lots of fun! Especially when you find interesting stuff, like where what you see on your monitor is written to (goes from that area of memory to the screen, on my old 586 I think it was 0x8000 or so). Mostly, though, it's really good for crashing programs or operating systems.

So... I'm trying to learn Python, PHP, and mIRC scripts, and hopefully will be converting to Linux soon (in which case I can forget about the mIRC scripts since mIRC is for Windows).

Here, for anyone who's interested, is what my first Python program looks like. Notice how you can send only one line to the remote host. I haven't figured out yet how to send more than one, and it would almost certainly involve checking for a living connection, which I also haven't figured out yet (I have a lot to learn still. And North America has a lot of molecules in it.). I'm going to look at this one day, laugh, and then edit it to make it look like I was smarter than this:

import socket
print "You are currently on", socket.gethostname()
addr = raw_input("What hostname or address? ")
port = int(raw_input("Which port? "))
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((addr, port))
sock.send(raw_input("Connected, please leave a message: "))
print sock.recv(65536)
sock.close()

Oh yeah, and you asked for comments:
# PROGRAM DOES NOT WORK
__________________
It's so great, being able to come to a site like this and pretend we all smoke pot...
manny is offline Award manny Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2004, 12:49 PM   #3
Higher Logic
Web Developer
 
Higher Logic's Avatar
 

Join Date: Feb 2003
Posts: 6,128
Grams: 5,219.43
Groans: 3
Groaned at 0 Times in 0 Posts
Higher Logic is smoking a fat bowl of green reputationHigher Logic is smoking a fat bowl of green reputationHigher Logic is smoking a fat bowl of green reputation
Thanks: 2
Thanked 55 Times in 33 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: 0.000%
Default

I've always been interested in computer languages. The first language I learned was Assembly, and then I tinkered with calculator programming (both basic and assembly). I know QBASIC, BASIC, C++, CGI/Perl, HTML/DHTML, JavaScript, Java, Visual Basic, PHP (my favorite), and it's pretty easy to pick up on other languages because they all follow they same format pretty much. I know databases too, mySQL is my favorite when it comes to that. ActiveScript is something else I know, that's Flash related, so I guess I can include Flash.

Oh yeah, I self-taught these to myself by just reading books, looking at scripts, and working with them. I find it near impossible to learn a language from a teacher. I took a Computer Science class in HS and he tried to teach us C++ but I had to teach it to myself, just easier I guess.
Higher Logic is offline Award Higher Logic Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-28-2004, 08:11 AM   #4
caliskunk1
Jr. Member
 
caliskunk1's Avatar
 

Join Date: Aug 2001
Posts: 441
Grams: 515.20
Groans: 0
Groaned at 0 Times in 0 Posts
caliskunk1 has begun their Karma Journey
Thanks: 0
Thanked 0 Times in 0 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: 0.000%
Default

i'd kill myself if i had to learn assembly. python is the shizznit. runs script and compiled! ahhh, the ease of testing...
__________________
-(A)- INSERT ANARCHIST CLICHE HERE -(A)-
caliskunk1 is offline Award caliskunk1 Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-03-2004, 12:05 PM   #5
Higher Logic
Web Developer
 
Higher Logic's Avatar
 

Join Date: Feb 2003
Posts: 6,128
Grams: 5,219.43
Groans: 3
Groaned at 0 Times in 0 Posts
Higher Logic is smoking a fat bowl of green reputationHigher Logic is smoking a fat bowl of green reputationHigher Logic is smoking a fat bowl of green reputation
Thanks: 2
Thanked 55 Times in 33 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: 0.000%
Default

Quote:
Originally Posted by caliskunk1
i'd kill myself if i had to learn assembly. python is the shizznit. runs script and compiled! ahhh, the ease of testing...
LOL, yeah Assembly, what was I thinking. That was when I was young though, like 12, so my mind was fresh and clear What a ***** of a language though, all those numbers and jumping around!
Higher Logic is offline Award Higher Logic Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Marijuana.com Sponsor
Advertisement
 
Old 04-06-2004, 02:38 AM   #6
J-mov
New Member
 

Join Date: Apr 2004
Posts: 33
Grams: 488.65
Groans: 0
Groaned at 0 Times in 0 Posts
J-mov has begun their Karma Journey
Thanks: 0
Thanked 0 Times in 0 Posts

Stock Portfolio
Total Value: 0.000
Gain/Loss: 0.000%
Default

I know HTML (if that counts), Visual Basic 6, and .NET. The language was changed so much in the transition that I count it as two. ^_^
J-mov is offline Award J-mov Grams  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Marijuana.com Sponsor
Advertisement
 
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New To Site? Need Help?

All times are GMT. The time now is 01:33 PM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53