Computer Programming Discussion

Post » Sun Dec 13, 2009 9:42 am

So, what's everyone working on nowadays?


I've currently got three things on the go:

  • Final Year Project
    I decided on doing fluid simulation using metaballs for my project. At the moment I'm fiddling around with the marching cubes algorithm trying to get an isosurface working.

  • Tank Assignment
    This is as cool as it sounds. I basically have been given a shell program which is a basic rendering engine and a scene with two tanks in it. I have to implement some XML for game data and set up some basic behaviour for the two tanks to attack and evade each other. After that I can basically do anything I want that is cool. My plans include adding teams of tanks, a nice particle system and perhaps some havok physics on the shells.

  • Signal Processing Assignment
    Pretty boring and straightforward assignment involving loading some signals (a bunch of numbers basically) from file, applying algorithms to them and saving them to file again. It's a second year module, so it's pretty easy stuff and shouldn't take long.

User avatar
Jaylene Brower
 
Posts: 3347
Joined: Tue Aug 15, 2006 12:24 pm

Post » Sun Dec 13, 2009 4:28 am

Language wise: Python
Book wise: http://diveintopython.org/ (Free)

I always go on better with using an introductory book as a reference and writing my own projects :shrug:

Alright thanks for the tip. I'll start with Python using that book along with video guides.
User avatar
An Lor
 
Posts: 3439
Joined: Sun Feb 18, 2007 8:46 pm

Post » Sun Dec 13, 2009 5:37 am

I've currently got three things on the go:

  • Final Year Project
    I decided on doing fluid simulation using metaballs for my project. At the moment I'm fiddling around with the marching cubes algorithm trying to get an isosurface working.

  • Tank Assignment
    This is as cool as it sounds. I basically have been given a shell program which is a basic rendering engine and a scene with two tanks in it. I have to implement some XML for game data and set up some basic behaviour for the two tanks to attack and evade each other. After that I can basically do anything I want that is cool. My plans include adding teams of tanks, a nice particle system and perhaps some havok physics on the shells.

Please release these two :D The Tank Assignment especially I'd love to see.
User avatar
Shannon Lockwood
 
Posts: 3373
Joined: Wed Aug 08, 2007 12:38 pm

Post » Sun Dec 13, 2009 6:20 am

i dont know much about programming. whats the most basic language out there?

Edit: @Sasholon
Well IMO, the most basic language would be HTML.

HTML isn't actually a programming language, though.

I wouldn't worry too much about choice of language when learning; once you learn how to program, picking up another language is trivial. The fundamentals don't change, only the syntax (OK, that's maybe a little oversimplified, but mostly true). Python may be a good choice if for no other reason than its syntax forces good coding habits, but you could just as easily learn on Ruby, Java, C, or anything else of your choosing.
User avatar
YO MAma
 
Posts: 3321
Joined: Thu Dec 21, 2006 8:24 am

Post » Sun Dec 13, 2009 8:10 am

Then, if you want to develop high performance applications such as games, move on to a more powerful language like C++
But to get performance out of C++ it comes at a huge time price. For a lot of things you would possibly get higher performance out of other languages within a shorter development time (except if you were doing pure number crunching, where C beats all). C++ just allows you to do micro optimizations.

Other languages like C# run at a fast rate, their garbage collection means that their memory allocation is in a lot of cases faster than doing it manually, while taking less time to develop, they have a huge standard library so doing stuff is easy. Reflection is cool etc. So what I am trying to say is for a hobby game, C++ is probably the wrong thing to write it in. Not that I wouldn't recommend learning C++ or C. It teaches you a lot.
User avatar
Scarlet Devil
 
Posts: 3410
Joined: Wed Aug 16, 2006 6:31 pm

Post » Sun Dec 13, 2009 4:24 am

I'm not a real programmer by any means.
But I do have beginners knowledge of html, and TI:Basic
I recently made a hello world program in python, but I've put learning more on hold thanks to semester finals.
I may start teaching myself more python when I go on break, but I've also been looking into Ruby.
I gave this a go:

http://tryruby.sophrinix.com/

It was pretty cool, thanks to that, I know more about Ruby now than Python :)
I dunno, I think maybe Python would be best because I read it has strict syntax rules, where Ruby has a multiple answers to a single question philosophy.
User avatar
jadie kell
 
Posts: 3497
Joined: Sat Jul 29, 2006 3:54 pm

Post » Sun Dec 13, 2009 1:13 pm

C++, although I don't know a terribly large amount (I'm relatively new to programming). I know enough to write some basic mathematical calculation programs and basic games (like a word scramble game, for example). I hope to learn Python eventually as well. It sounds like an interesting language.
User avatar
daniel royle
 
Posts: 3439
Joined: Thu May 17, 2007 8:44 am

Post » Sun Dec 13, 2009 11:11 am

C, because the code I write (at least the really important stuff) has to run in real time at network speed. Sometimes C++, but I've had more than my share of time spent finding elementary blunders in other people's heavily-templated libraries.
If it has to look pretty and handle carefully structured user interaction, Java.
If it just has to run once, or while nobody's waiting for it to finish, Perl.
User avatar
naome duncan
 
Posts: 3459
Joined: Tue Feb 06, 2007 12:36 am

Post » Sun Dec 13, 2009 4:34 pm

i dont know much about programming. whats the most basic language out there?


I'd have to say Basic, which is what I learned back in 1983. Can't say that I've stayed up on languages though.
User avatar
April
 
Posts: 3479
Joined: Tue Jun 20, 2006 1:33 am

Post » Sun Dec 13, 2009 5:53 am

I have odne basics of C++, VB.NET and C#. But I know more C# then the toher two and am still trying to learn more of it. Wrote a small program for FO3 and Oblivion that was about 900 lines of code, quite happy with that one. Trying to think of a new more useful project though to help me learn more but that I can do with current knowledge.
User avatar
Emma Parkinson
 
Posts: 3401
Joined: Wed Jul 26, 2006 5:53 pm

Post » Sun Dec 13, 2009 2:03 pm

My primary languages nowadays are Python > C++ > C# > Javascript, though I do bits in other languages now and then.

For those Python programmers, do you prefer Tkinter or wxPython for GUI development, or do you use another library?

I avoid GUI in Python as much as possible. I've used both Tkinter and wxPython for toy projects, but the only large project in Python with desktop GUI that I wrote had the interface in C#, and called back to Python for the backend processing. If I ever do a GUI in pure Python, I'm thinking I'll have to bite the bullet and go with Qt. Then again, there's always a web interface, which takes a little more work, but can be tweaked to do anything.

So, what's everyone working on nowadays?
  • A https://chrome.google.com/extensions/detail/ipdjaafajlfiopcppipdinmcjbcpofhd, since I missed the similar one I had in Firefox while migrating.
  • An AI simulation of goal-based agents in a 3D environment, based on neural networks. Hardly touched.
  • An image processing / dynamic compression project which I'm yet to start.

i dont know much about programming. whats the most basic language out there?

Basic. as in close to the metal, C. Basic, as in easy to learn, probably Python.

Book wise: http://diveintopython.org/ (Free)

That's a decent book, but it is the wrong one to suggest to someone who does not have programming experience. It is so unsystematic and hacky that it doesn't really give the right image of Python IMO.
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Sun Dec 13, 2009 5:38 pm

I'd have to say Basic, which is what I learned back in 1983. Can't say that I've stayed up on languages though.

NOOO! :ahhh:
User avatar
Erich Lendermon
 
Posts: 3322
Joined: Sat Nov 03, 2007 4:20 pm

Post » Sun Dec 13, 2009 6:11 pm

Only recently been into programming languages, due to my schooling. Trying to get into Javascript, using it on my webpage, too. Although it's mostly stuff snatched from the web, like forcing frames appear if a subpage is loaded. Can't afford php. <_< Would love to find a working random Image-On-Load javascript.

o.O

I don't get it...


People providing the bandwith and server space want extra moolah for php-supported domain.
User avatar
Antonio Gigliotta
 
Posts: 3439
Joined: Fri Jul 06, 2007 1:39 pm

Post » Sun Dec 13, 2009 8:56 am

I'm just coming to the end of my first semester of University, one of my modules is programming in C++ so I've become sort of decent at basic C++ stuff almost by accident. I didn't even want to to do a programming module, it's just compulsory if I want to do the stuff I actually want to do :P.
User avatar
megan gleeson
 
Posts: 3493
Joined: Wed Feb 07, 2007 2:01 pm

Post » Sun Dec 13, 2009 8:07 am

That's a decent book, but it is the wrong one to suggest to someone who does not have programming experience. It is so unsystematic and hacky that it doesn't really give the right image of Python IMO.

Your probably right


Maybe better suggestions:
http://www.swaroopch.com/notes/Python
http://www.greenteapress.com/thinkpython/thinkPP.pdf
http://openbookproject.net/thinkcs/python/english2e/
User avatar
teeny
 
Posts: 3423
Joined: Sun Feb 25, 2007 1:51 am

Post » Sun Dec 13, 2009 8:57 am

Can't afford php

o.O

I don't get it...
User avatar
Antony Holdsworth
 
Posts: 3387
Joined: Tue May 29, 2007 4:50 am

Post » Sun Dec 13, 2009 1:02 pm

i dont know much about programming. whats the most basic language out there?


BASIC :D

Visual Basic .Net would be a good place to start, it's easy to get into, and the language is more understandable to humans than most. Microsoft also offers it's excellent Visual Studio deveploment tool for free for non-commercial use: http://www.microsoft.com/exPress/

Personally nowadays mainly C#, but also Java and C++ in the past. There's not that much difference between Java and C# though (Microsoft made C# because they couldn't buy Java :whisper: ).
User avatar
BlackaneseB
 
Posts: 3431
Joined: Sat Sep 23, 2006 1:21 am

Post » Sun Dec 13, 2009 1:34 pm

Ive looked at python and Java but the only language I know/use is C++. And I dont know it well enough to be considered anything but a beginner. Currently Im not working on anything. I have a project or two in mind but I dont have the energy for it atm. The project I have in mind is coding a text-based version of Pazaak from SW Knights of the old republic, and once Ive gotten the game mechanics right I thought Id try to make a GUI. But as said, I dont have much motivation nowadays.
User avatar
GLOW...
 
Posts: 3472
Joined: Thu Aug 03, 2006 10:40 am

Post » Sun Dec 13, 2009 12:05 pm

Can't afford php.

People providing the bandwith and server space want extra moolah for php-supported domain.

You can install Apache and PHP on your own machine. Easy peasy and no extra cost.
User avatar
Curveballs On Phoenix
 
Posts: 3365
Joined: Sun Jul 01, 2007 4:43 am

Post » Sun Dec 13, 2009 6:32 pm

You can install Apache and PHP on your own machine. Easy peasy and no extra cost.

I don't think running a public web server on your own machine and on your own home connection is such a good idea.

BTW, Olaf, why not answer in a new post? Your answer-with-an-edit posts always confuse me when reading threads.
User avatar
Matthew Aaron Evans
 
Posts: 3361
Joined: Wed Jul 25, 2007 2:59 am

Post » Sun Dec 13, 2009 5:48 pm

I don't think running a public web server on your own machine and on your own home connection is such a good idea.

I didn't say anything about it being public. My understanding was that he wanted to learn PHP, not necessarily host a website.
User avatar
Karl harris
 
Posts: 3423
Joined: Thu May 17, 2007 3:17 pm

Post » Sun Dec 13, 2009 3:05 am

BTW, Olaf, why not answer in a new post? Your answer-with-an-edit posts always confuse me when reading threads.


Sorry. Guess it's a tad silly. I, uh, tried to cling unto my 'Master' status for as long as possible. Not bloating my post-count and all...Still doing it after losing my prestigious title. I just liked the sound of it, guess it's 'cos I'm a svcker for a http://www.youtube.com/watch?v=Gi6HlcFgBtg. Something about 'Young master', '(Grand)Master' or 'The Abbot' that sounds good t' me ears. :unsure:

You can install Apache and PHP on your own machine. Easy peasy and no extra cost.

I don't think running a public web server on your own machine and on your own home connection is such a good idea.

I didn't say anything about it being public. My understanding was that he wanted to learn PHP, not necessarily host a website.


Yeah. I sort of wanted to use php since it's so nifty and allows to make much without either resorting to frames or flash (although I'm currently learning the latter, I don't know what is still required to server-side support, and I'd rather not use flash for hobby-related matters, 'cos it's so painstaking to make). Currently, 'tho, I'm sort of at the mercy of my service provider on the issue, and had to go and make my website with frames and java. Maybe when I strike it rich, I'll take up on php again and remake the whole site. I tried using iframes, if memory serves, but I was buggered to find a proper code that made the loaded content load up the right size (y), nothing worked (I ended up with a 200px high iframe, or had to manually set it to a certain length, which didn't really look good since all the different pages were of different length)...so I went with frames. :meh:

Just a FYI. My hosting provider (computing host) supports PHP (and everything else really) and costs me about $3 a month. Less than a pint of (decent) beer. I am not sure if they still have that offer available :shugs: If your site has a really low bandwidth usage there is always something like https://www.nearlyfreespeech.net/, which has everything metered.


Aye, I guess I could perhaps do some research on the subject. It's just that I'm currently getting the service of hosted space on top of my net connection, and it costs me no extra, as such. I'm just a bit wary about extra expenditures nowadays, since I got nearly zilch in ways of income. No luxuries, and such. :(
User avatar
lauren cleaves
 
Posts: 3307
Joined: Tue Aug 15, 2006 8:35 am

Post » Sun Dec 13, 2009 9:19 am

Yeah. I sort of wanted to use php since it's so nifty and allows to make much without either resorting to frames or flash (although I'm currently learning the latter, I don't know what is still required to server-side support, and I'd rather not use flash for hobby-related matters, 'cos it's so painstaking to make). Currently, 'tho, I'm sort of at the mercy of my service provider on the issue, and had to go and make my website with frames and java. Maybe when I strike it rich, I'll take up on php again and remake the whole site. I tried using iframes, if memory serves, but I was buggered to find a proper code that made the loaded content load up the right size (y), nothing worked (I ended up with a 200px high iframe, or had to manually set it to a certain length, which didn't really look good since all the different pages were of different length)...so I went with frames. :meh:

Just a FYI. My hosting provider (computing host) supports PHP (and everything else really) and costs me about $3 a month. Less than a pint of (decent) beer. I am not sure if they still have that offer available :shrug:

If your site has a really low bandwidth usage there is always something like https://www.nearlyfreespeech.net/, which has everything metered.
User avatar
Nick Jase Mason
 
Posts: 3432
Joined: Sun Jul 29, 2007 1:23 am

Post » Sun Dec 13, 2009 1:02 pm

Hi everyone, I'm creating this due to my recent spark of interest in Computer Programming. I mainly use Python, but have tried C/C++ and Java - and HTML if that counts..
The reason I enjoy Python is because of it's not-so-picky syntax, the language is free and looks pretty when I'm writing, and IMO Python is a dynamic language.

For anyone who isn't at all acquainted with programming, a good place to start is Youtube. A lot of written tutorials are hard to follow, at least from my experiences.
I'd recommend http://www.youtube.com/user/thenewboston because he's very clear and concise. (Lessons for Java, Python, and game development in both)
Also for C++ http://www.youtube.com/watch?v=nziy2_U5JQI has a few very good videos to get people started.

Any other tutorials you may have used or helpful tips would be very much appreciated.
I also do not discourage the asking of help. If you have a problem you can't figure out, it's better to get help from someone now and learn from what they did for the future.

But other than that, what language do you use the most? and why did you settle on that one?
If you have any cool stuff you created (no viruses please :P ) and wouldn't mind sharing, please do :)

The poll
Sorry for them all being OOP languages, but those are the only ones I am familiar with. If the "other" option becomes popular, and there seems to be a major language I'm missing, than I apologize and will add that one to the poll.

Last of all guys, lets keep it civil. Please refrain from bashing on each other due to the language they use :)


I use and learn c++
Hey how about making programing competitions here?
User avatar
Kayleigh Williams
 
Posts: 3397
Joined: Wed Aug 23, 2006 10:41 am

Post » Sun Dec 13, 2009 3:48 pm

I tried using iframes, if memory serves, but I was buggered to find a proper code that made the loaded content load up the right size (y), nothing worked (I ended up with a 200px high iframe, or had to manually set it to a certain length, which didn't really look good since all the different pages were of different length)...so I went with frames. :meh:

Server-side includes wouldn't work?
User avatar
Oscar Vazquez
 
Posts: 3418
Joined: Sun Sep 30, 2007 12:08 pm

PreviousNext

Return to Othor Games