Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 07-02-08   #11 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,894
Blog Entries: 1

Rep: 548 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 326
FAQs Submitted: 6
Trader Rating: 5
Default

Nah - I can't stand web stuff
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 07-02-08   #12 (permalink)
Folding Fanatic
 
DaCrusader's Avatar
 
intel nvidia

Join Date: Mar 2007
Location: Sydney, Australia
Posts: 632

Rep: 27 DaCrusader is acknowledged by some
Unique Rep: 26
Folding Team Rank: 198
Trader Rating: 0
Default

what about python? (I know little about programming myself)
__________________
Quote:
Originally Posted by RonindeBeatrice View Post
yeah brilliant...

Retarded babies, but at least you have a cool looking PC.
Who We Fold For
Fold For The Cause! Fold For The People.

E6400 @ 3.4GHz

System: Xplor
CPU
E6400 @ 3.4Ghz (425 x 8)
Motherboard
Gigabyte GA-965P-S3
Memory
4GB G.Skill DDR2-800 @ 850 5-7-7-19
Graphics Card
Palit 9800GT
Hard Drive
WD 500GB SataII
Sound Card
On Board Sound
Power Supply
550w Generic
Case
Lian Li PC-A70B (Soon to be modded)
CPU cooling
TRUE 120 w/120mm Fan
GPU cooling
Stocky
OS
Windows XP Pro
Monitor
Samsung 226BW
DaCrusader is online now I fold for Overclock.net   Reply With Quote
Old 07-02-08   #13 (permalink)
Intel Overclocker
 
intel nvidia

Join Date: Apr 2006
Location: London
Posts: 632

Rep: 43 BugBash is acknowledged by some
Unique Rep: 40
Trader Rating: 0
Default

LOGO? LOL!

how about Assembly language? push, pop and all that!

I remember (vaguely) Motorolla 680x0 Assembly from my younger days(89-94)

As for `Coolness` I supose its how geek/nerd ya want to go, check out

www.scene.org

and look at the results and releases at the various partys held round the globe!
__________________

The Black Mesa Survivors Club

System: My System
CPU
P4 2.66 @ 3.45
Motherboard
Abit IC7-G
Memory
2.5GB DDR400
Graphics Card
XFX 7800GS 256MB AGP
Hard Drive
WD5000YS(500GB)+40GB+40GB
Sound Card
SB Audigy 4
Power Supply
Tagan 480-U22
Case
Silverstone TJ-05
CPU cooling
Thermalrite XP-120
GPU cooling
Stock
OS
Windows XP SP2
Monitor
Mitsubishi 93SB, Optoma DX606
BugBash is offline   Reply With Quote
Old 07-02-08   #14 (permalink)
New to Overclock.net
 
amd ati

Join Date: Jun 2008
Location: Dallas,TX
Posts: 394

Rep: 66 heretic is acknowledged by some
Unique Rep: 57
Trader Rating: 0
Default

Check the wiki on functional languages. A LOT of good resource links. I'd start with a little bit of Scheme and then go on to something like Erlang once you get the hang of functional programming. I'd also pick up a book on programming languages, or check out some of the MIT Open Course Ware courses like this one
__________________
System: My System
CPU
3800x2
Motherboard
DFI NF4 SLI-D
Memory
2gb GSkill ZX
Graphics Card
HD4850
Hard Drive
4.53TB of insanity
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 750TX
Case
Rocketfish
CPU cooling
TT Sonic Tower
OS
XP Pro
Monitor
L2410NM + 21" CRT
heretic is offline   Reply With Quote
Old 07-02-08   #15 (permalink)
Off By 340 Undecillion
 
The Bartender Paradox's Avatar
 
amd nvidia

Join Date: Oct 2004
Location: Portland, Oregon
Posts: 2,267

Rep: 280 The Bartender Paradox is a proven memberThe Bartender Paradox is a proven memberThe Bartender Paradox is a proven member
Unique Rep: 215
Folding Team Rank: 266
Hardware Reviews: 1
Trader Rating: 3
Default

OK sorry about the delay- needed to sleep and such .

So in scheme for every command this is the basic layout:

(function argument argument argument ....)

so say we had an averaging function and we wanted to average 3, 6, 4, and 1 it would look like:

(avg 3 6 4 1)

This format applies to everything, even adding, To add 4, 5, and 21:

(+ 4 5 21)

It may seem weird at first, but you quickly find that the format is really nice. Now on to making functions, technically it is done with the lambda command to make the function and define to give it a name, but we can do it all in define if we want. To average two numbers with a and b as variable names:
Code:
(define (average a b)
    (/ (+ a b) 2))
To make it average an arbitrary amount of numbers we can declare one of our function variables to collect the remaining inputs into a list (behaves kind of like a linear linked list) by placing a . before it. Average again for as many inputs as you want:

Code:
(define (average a . b)
    (/ (sum a b) (+ 1 (length b))))

; indicates a comment. The above is pretty easy right, an average is the sum of all 
;your inputs, divided by the number of inputs you have. Unfortunately Scheme doesn't
;have sum or length as primitives- so lets make them! 

  ;below null? checks for the end-of-list marker, car gets the data from our list element, 
;and cdr moves down the list  (car and cdr have a broader function than that, but for
;now that's all you need to know)

(define (sum a b)
    (if  (null? b)
             a 
            (sum (+ a (car b)) (cdr b))))

;You'll note that the above was done by recursion- Scheme has no for or while loops, all 
;looping is done by recursion. Might seem weird, but things like this that simplify the 
;language I think are what makes it quite nice and intuitive.
 
(define (length b)
    (if (null? b) 
           0
           (+ 1 (length (cdr b)))))

;in case you are worried about performance issues, Scheme apparently has some nifty 
;tricks to optimize recursion, and the programmer can do some things as well to help. In
;sum you'll notice that the recursion behaves like an iterative process, that is it calls sum
;over and over and only changes its arguments. In length, the method is a little less efficient, 
;the number of waiting additions to be performed grows linearly with the length of b.
So there you have it - a simple Scheme program.
__________________

A rocket powered land shark attached to a giant freakin' laser beam.
Congratulations! You have found the secret text! You get a cookie.

System: My System
CPU
AMD A64 3500+ Winchester
Motherboard
DFI nF4 SLi-DR
Memory
OCZ 4000VX
Graphics Card
EVGA 7800GT
Hard Drive
Maxtor 300Gb 16Mb Buffer
Sound Card
computers make sounds?
Power Supply
OCZ PowerStream 520W
Case
None
CPU cooling
Big
GPU cooling
Bigger
OS
XP Pro
Monitor
SOYO LCD

Last edited by The Bartender Paradox : 07-02-08 at 01:25 PM.
The Bartender Paradox is online now I fold for Overclock.net Overclocked Account The Bartender Paradox's Gallery   Reply With Quote
Old 07-02-08   #16 (permalink)
New to Overclock.net
 
intel ati

Join Date: Jun 2007
Posts: 617

Rep: 24 Pasha is acknowledged by some
Unique Rep: 23
Trader Rating: 0
Default

Python is a fun language, but you seem to be steering away from OOP with the language you want to learn. If you want to learn another OOP, Python is great.
__________________
12136 -3DMark06 http://service.futuremark.com/orb/re...0&UID=13752166

Crucial Ballistix Club

And you know what? Macs are too hip. Oh, look at me! I do graphic design! I wear women's jeans and hang out in coffee shops! I'm a DJ! Well good for you. My computer is not a fashion statement. It's a computer.

System: lohlz
CPU
C2D e6750 @ 3.5ghz 8 x 438mhz
Motherboard
Abit IP35- E
Memory
2 x 1gb Ballistix 4-4-4-12 @ 876mhz
Graphics Card
Visiontek 4870
Hard Drive
2 x 80GB WD
Sound Card
M-Audio Audiophile
Power Supply
OCZ StealthXStream 600W
Case
Coolermaster CM-690
CPU cooling
AquaXtreame + dB1 + Black Ice Pro
GPU cooling
ZALMAN VF1000
OS
XP pro
Monitor
LG 20inch 5000:1 contrast ratio, 2ms.
Pasha is offline   Reply With Quote
Old 07-02-08   #17 (permalink)
PC Gamer
 
Gexx's Avatar
 
intel ati

Join Date: May 2008
Location: Toronto, Canada.
Posts: 569

Rep: 32 Gexx is acknowledged by some
Unique Rep: 31
Trader Rating: 0
Default

Japanese!



I'd go with PHP it seems useful these days.
__________________
Grow food in Dirt?Save time eat Dirt!

System: Megatron
CPU
Q9450 3.4Ghz(1.296V)
Motherboard
DFI LP DK X38
Memory
G.Skill F2-8500CL5D 4GB
Graphics Card
Visiontek Radeon 4870
Hard Drive
WD 320GB Sata
Sound Card
Auzentech X-FI Prelude 7.1
Power Supply
PC Power & Cooling Silencer 750
Case
Antec Nine Hundred
CPU cooling
Noctua NH-U12P
OS
Vista Ultimate x64 SP1
Monitor
Viewsonic VX922
Gexx is offline   Reply With Quote
Old 07-02-08   #18 (permalink)
Kernel Sanders
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 4,894
Blog Entries: 1

Rep: 548 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 326
FAQs Submitted: 6
Trader Rating: 5
Default

Quote:
Originally Posted by The Bartender Paradox View Post
OK sorry about the delay- needed to sleep and such .

So in scheme for every command this is the basic layout:

(function argument argument argument ....)

so say we had an averaging function and we wanted to average 3, 6, 4, and 1 it would look like:

(avg 3 6 4 1)

This format applies to everything, even adding, To add 4, 5, and 21:

(+ 4 5 21)

It may seem weird at first, but you quickly find that the format is really nice. Now on to making functions, technically it is done with the lambda command to make the function and define to give it a name, but we can do it all in define if we want. To average two numbers with a and b as variable names:
Code:
(define (average a b)
    (/ (+ a b) 2))
To make it average an arbitrary amount of numbers we can declare one of our function variables to collect the remaining inputs into a list (behaves kind of like a linear linked list) by placing a . before it. Average again for as many inputs as you want:

Code:
(define (average a . b)
    (/ (sum a b) (+ 1 (length b))))

; indicates a comment. The above is pretty easy right, an average is the sum of all 
;your inputs, divided by the number of inputs you have. Unfortunately Scheme doesn't
;have sum or length as primitives- so lets make them! 

  ;below null? checks for the end-of-list marker, car gets the data from our list element, 
;and cdr moves down the list  (car and cdr have a broader function than that, but for
;now that's all you need to know)

(define (sum a b)
    (if  (null? b)
             a 
            (sum (+ a (car b)) (cdr b))))

;You'll note that the above was done by recursion- Scheme has no for or while loops, all 
;looping is done by recursion. Might seem weird, but things like this that simplify the 
;language I think are what makes it quite nice and intuitive.
 
(define (length b)
    (if (null? b) 
           0
           (+ 1 (length (cdr b)))))

;in case you are worried about performance issues, Scheme apparently has some nifty 
;tricks to optimize recursion, and the programmer can do some things as well to help. In
;sum you'll notice that the recursion behaves like an iterative process, that is it calls sum
;over and over and only changes its arguments. In length, the method is a little less efficient, 
;the number of waiting additions to be performed grows linearly with the length of b.
So there you have it - a simple Scheme program.
Interesting . I'll probably go for something like that
__________________
BIG BROTHER
I put on my robe and wizard hat...

IS WATCHING

System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Old 07-02-08   #19 (permalink)
Turing Test is Overrated
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 21,920

Rep: 2517 DuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legend
Unique Rep: 1178
Trader Rating: 33
Default

Cobol!
__________________
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3GB or so (3) PCIe 2.0 is backwards compatible with PCIe 1.x (4) Resolution, not screen size (5) If you have a question, it is not news (6) Read TOS (7) Report, not respond to Spam (8) Uninstall nTune (9) Single/Non-Modular Rail PSUs are NOT better than Multi-Rail/Modular (10) Edward is the Law!
Quote:
Originally Posted by Brythe View Post
But I still dont get it, whats the thing between the chair and the desk?

edit: got it..haha..its meee

System: My "DF-DIE" Replacement
CPU
Q6600 (3.7GHz)
Motherboard
Asus P5E X38 (MF1208 BIOS)
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
8800GT (729/1836/2088)
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is online now Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 07-02-08   #20 (permalink)
Security Sleuth
 
Raptors06's Avatar
 
intel ati

Join Date: Feb 2006
Posts: 412

Rep: 37 Raptors06 is acknowledged by some
Unique Rep: 34
Folding Team Rank: 579
Trader Rating: 3
Default

Quote:
Originally Posted by rabidgnome229 View Post
Interesting . I'll probably go for something like that
I'm in agreement - that does look simple and intuitive. Will have to look into that.
__________________
Crucial Ballistix Club

Does Not Compute. Error 666. Please reboot Universe.exe and try again.

Katie Couric, while interviewing a Marine sniper, asked: "What do you feel when you shoot a Terrorist?". The Marine shrugged and said: "A slight recoil."

System: My System
CPU
E6600 @ 3.0 w/1.350 (333x9) L651B
Motherboard
P5B-Deluxe
Memory
2 x 1GB Ballistix DDR2-800 @ 1000 (4-4-4-12)
Graphics Card
Gigabyte 3870 (900/1100)
Hard Drive
320GB 7200.10
Sound Card
Onboard
Power Supply
PC P&C 610
Case
KingWin PoS
CPU cooling
TRUE w/ FM121 *LAPPED*
GPU cooling
Zalman VF-1000
OS
Triple Boot (Vista, Ubuntu, BackTrack 3.0 Linux)
Monitor
19" ViewSonic FPD
Raptors06 is offline I fold for Overclock.net   Reply With Quote
Reply



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



All times are GMT -4. The time now is 05:41 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.21558 seconds with 9 queries