Welcome, Guest. Please Login
SLINGING.ORG
 
Home Help Search Login


Page Index Toggle Pages: 1
Send Topic Print
Programming and Project Euler (Read 4195 times)
Cliff
Descens
***
Offline


I love Slinging.org!

Posts: 142
Gender: male
Programming and Project Euler
Nov 12th, 2008 at 1:04pm
 
Over the past month or so, I've been working on Project Euler on and off, to kill some time.  It's basically just a set of math problems that you usually need to write a program to solve (some of them you can do by hand / with a pocket calculator).

http://projecteuler.net/

They vary a lot, the first few are very simple, but they get difficult pretty fast.  I've really picked up a lot of knowledge just working through them.

Anyways, I though it was a pretty neat way to teach yourself a little.  Has anyone else here done any of it?

Also, programming in general:  I know a (very) limited amount of C, but I have been using Python to solve the problems.  I really like Python, it's ridiculously easy to learn / use, everything's so much easier than in other languages.  Anyone who's looking into teaching themselves to program should consider it as a learning language.
Back to top
 

paracord sling tutorial thread: http://slinging.org/forum/YaBB.pl?num=1196026630
WWW  
IP Logged
 
Steven
Interfector Viris Spurii
*****
Offline


RaptorIsAsRaptorDoes

Posts: 2101
Austin, Tx.
Gender: male
Re: Programming and Project Euler
Reply #1 - Nov 12th, 2008 at 5:41pm
 
Cheesy Batteries included  Wink
P.S.
Just loaded Python CE 2.5 on my AT&T Tilt
And PocketPyGui  a native GUI toolkit for PythonCE
So I can make pretty things.

I may go play in your Euler sandbox after I've
played with python some more
Back to top
« Last Edit: Nov 15th, 2008 at 12:56pm by Steven »  

A Curmudgeon@Large Civilly Fomenting Anarchy one post at a time...I don't like it is not a valid reason and Everyone knows is not a valid rule...Hi Ho, Hi Ho Its Off To Work I Go; As Ci-vi-lly As I Can Be Hi Ho, Hi Ho, Hi Ho...
THIS ADVICE IS WORTH WHAT YOU PAID FOR IT.
 
IP Logged
 
Kevatron
Tiro
**
Offline


Plz to has sling :3

Posts: 31
Gender: male
Re: Programming and Project Euler
Reply #2 - Nov 16th, 2008 at 11:13pm
 
I'm just starting to learn FORTRAN (barf!) and C, and this is fantastic!! Thanks!
Back to top
 

Science!
 
IP Logged
 
wanderer
Interfector Viris Spurii
*****
Offline



Posts: 1360
Texas
Gender: male
Re: Programming and Project Euler
Reply #3 - Nov 17th, 2008 at 6:17am
 
Cliff wrote on Nov 12th, 2008 at 1:04pm:
Over the past month or so, I've been working on Project Euler on and off, to kill some time.  It's basically just a set of math problems that you usually need to write a program to solve (some of them you can do by hand / with a pocket calculator).

http://projecteuler.net/

Also, programming in general:  I know a (very) limited amount of C, but I have been using Python to solve the problems.

That's a nice site. Thanks for mentioning it. Smiley
Back to top
 
 
IP Logged
 
wanderer
Interfector Viris Spurii
*****
Offline



Posts: 1360
Texas
Gender: male
Re: Programming and Project Euler
Reply #4 - Nov 17th, 2008 at 6:23am
 
Kevatron wrote on Nov 16th, 2008 at 11:13pm:
I'm just starting to learn FORTRAN (barf!) and C, and this is fantastic!! Thanks!


Who the heck uses Fortran any more? I thought that had been excised from Physics practice years ago Grin
Back to top
 
 
IP Logged
 
Kevatron
Tiro
**
Offline


Plz to has sling :3

Posts: 31
Gender: male
Re: Programming and Project Euler
Reply #5 - Nov 17th, 2008 at 9:00pm
 
That's what I said!
Back to top
 

Science!
 
IP Logged
 
Monster
Descens
***
Offline



Posts: 234
Calgary, Canada
Gender: male
Re: Programming and Project Euler
Reply #6 - Nov 21st, 2008 at 7:49pm
 
I remember using FORTRAN some 17 years ago and thought it was old then.  But last month I found out they still a COBOL system at work.  Somethings can't just die and go away.
Back to top
 

-Self inflicted wounds don't count for sympathy.&&
 
IP Logged
 
Dr.Q
Tiro
**
Offline


sometimes, the sharpest
blade is not enough

Posts: 35
Re: Programming and Project Euler
Reply #7 - Nov 22nd, 2008 at 10:56pm
 
the first thing you will have difficulty in joninig project euler
is decoding the security code so you can join. That will be
the first mathematical challenge wich I still have not passed.

Im serious. Cant read part of that and its letters look like
ancient space invaders letters.
Back to top
 

...
 
IP Logged
 
Cliff
Descens
***
Offline


I love Slinging.org!

Posts: 142
Gender: male
Re: Programming and Project Euler
Reply #8 - Nov 26th, 2008 at 12:34am
 
haha yeah, my mother learned FORTRAN back when they still used punchcards.  I read that a large part of the reason it's is still being used is cause firms own a lot of code that's in fortran, so they'd rather just have people modify the existing software than totally re-do it in a new language.  I'll be learning it too next semester  Undecided

Dr. Q
I didnt have much of a problem registering- if you want i can set up an account for you with a dummy password, and then you can go and change the password
Back to top
 

paracord sling tutorial thread: http://slinging.org/forum/YaBB.pl?num=1196026630
WWW  
IP Logged
 
wanderer
Interfector Viris Spurii
*****
Offline



Posts: 1360
Texas
Gender: male
Re: Programming and Project Euler
Reply #9 - Nov 26th, 2008 at 8:09am
 
Cliff wrote on Nov 26th, 2008 at 12:34am:
haha yeah, my mother learned FORTRAN back when they still used punchcards.  I read that a large part of the reason it's is still being used is cause firms own a lot of code that's in fortran, so they'd rather just have people modify the existing software than totally re-do it in a new language.  I'll be learning it too next semester  Undecided

You're right about the 'legacy' aspects. There are many millions of lines of well tested Fortran code out there. Frequently the quality is very high. Much of modern science and a great deal else would grind to an immediate halt if it couldn't be run,

Many people moved away from Fortran because a lot of scientific work moved to UNIX machines, where C was available, and the committees and manufacturers kept messing around so much with Fortran that no-one could keep up. Sad
Back to top
 
 
IP Logged
 
Branmun
Tiro
**
Offline


Never drink and sling

Posts: 15
northwest ontario
Gender: male
Re: Programming and Project Euler
Reply #10 - Dec 7th, 2008 at 8:34pm
 
I wonder how hard it would be to beat these in assembly Huh
Back to top
 

Before you criticize someone, walk a mile in their shoes. That way, you'll be a mile from them, and you'll have their shoes. -Jack Handy
 
IP Logged
 
Cliff
Descens
***
Offline


I love Slinging.org!

Posts: 142
Gender: male
Re: Programming and Project Euler
Reply #11 - Dec 9th, 2008 at 5:52pm
 
They do it!  according to the site statistics, 50 of the 50,000 members use it as their primary language...  so, not many, but they do it.  The people on the forums there love to compare the run times for their solutions to determine who is the alpha male, so the assembler people jump in occasionally to trump everyone.

It's interesting to look at some of the source code people post on the forums there, lots of people also use J, which looks like a lot of emoticons and leetspeak to me.
Back to top
 

paracord sling tutorial thread: http://slinging.org/forum/YaBB.pl?num=1196026630
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print
(Moderators: Mauro Fiorentini, David Morningstar, Bill Skinner, Rat Man, Curious Aardvark, Chris, Masiakasaurus)