Sponsored Content
The Lounge What is on Your Mind? How can I learn computer programming languages on my own? Post 302526149 by ifthanwhile on Monday 30th of May 2011 02:05:34 PM
Old 05-30-2011
I know your end goal is to program games but I started off that way and got discouraged by the sheer complexity of trying to do it the old fashion way (actually coding it piece by piece) and the new way which is to use a program where you take big virtual pieces and plop them down in your configuration (nothing is new just new ways of doing the same thing in a different way, no coding at all, and always seems cheesy to me)

I would suggest that if you want to get started learning to think in programming terms go with figaro's advice start with something simple, and in my opinion you have a great opportunity with UNIX on your mac. One of the easiest to understand, good learning curve (to a point)

Start with console (Applications/Utilities/Console) and a list of simple commands, maybe a good unix introduction book like UNIX for dummies (Dont worry not many true lovers of "the code" out there will make fun of you for not knowing, were just glad to see you get started) and just start working with it. Most books will give you simple things like making and changing directories to get started which is to get you comfortable in the console environment. I would also suggest starting to use vim text editor (look it up) instead of text edit.

Once you have the basics of how to make a computer do what you want it to do, then other languages are not as intimidating just other ways of doing what you already know how to do.

Keep with it and dont get discouraged.
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Shell scripting & programming languages

If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn? If you know any good resources for learning these languages they would be appreciated. (1 Reply)
Discussion started by: aloysius1001
1 Replies

2. UNIX for Advanced & Expert Users

Operating System and Programming languages

I'm trying to create an operating system. Just as a small hobby, it will not be anything big I am trying to get some practice. Does anyone reccomend a certain programming language because I dont know which one to use. Any help please? (2 Replies)
Discussion started by: jacx2
2 Replies

3. Programming

Want To Learn Network Programming

I want to learn Network Programming with C,but I don't know how to start. Thank you. (2 Replies)
Discussion started by: hubin330
2 Replies

4. UNIX for Dummies Questions & Answers

Programming/Scripting Languages To Learn

Which languages would, in the long run, be best to learn on a UNIX environment for kernel work, every day programs, and overall UNIX programming? I've been learning C for over a year now (which I'm pretty confident with) and decided I want to look into some other languages. I'll mainly be... (1 Reply)
Discussion started by: tjinr
1 Replies

5. UNIX for Dummies Questions & Answers

please suggest computer languages to create man-machine interface for Linux applicati

I am new to program development on Linux. I wonder what computer languages are easy to grasp to create man - machine interactive interface software, which can accept inputs (parameters) from usrers, and present (display) the calculation results to users. Before, I have heared about Perl,... (10 Replies)
Discussion started by: cy163
10 Replies

6. UNIX for Advanced & Expert Users

How to export/link Control_m with another programming languages

Hello All. Everyday at work I have to fill a big .xls spreadsheet with process chains start and end time information. The thing is that it takes too long and a lot of boring work. :( I was wondering if I could link this with a tool in java that would export this information into a .xls... (1 Reply)
Discussion started by: pingosa
1 Replies

7. What is on Your Mind?

Programming languages polyglots: how many languages you know?

Post what languages (including scripting) you know, why and where you think that language is most usable. Also include libraries in which you're really good at (libusb, gtk, qt, etc). assembly? C or C++? perl or python? pascal? bash or csh/tcsh? opengl? gtk or qt? mono? (27 Replies)
Discussion started by: redoubtable
27 Replies

8. Web Development

What Web Development languages should i learn?

I am learning Web Development, so far i am learning html,xhtml, css, java script.... What I want to know is what other Web Development languages should i learn? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

9. Shell Programming and Scripting

Best way to learn UNIX and shell Programming

Guys, What do you think is the best way to learn UNIX and shell scripting? ** I keep on searching tutorials online, where I loose most of my time :( Let me know the way you learnt the UNIX concepts, your replies might help me learn more. Thanks a ton:b: (2 Replies)
Discussion started by: dnam9917
2 Replies
RPIECE(1)						      General Commands Manual							 RPIECE(1)

NAME
rpiece - render pieces of a RADIANCE picture SYNOPSIS
rpiece [ -v ][ -x xres ][ -y yres ][ -X xdiv ][ -Y ydiv ][ -F|R syncfile ][ -T timelim ] [ $EVAR ] [ @file ] [ rpict options ] -o picture octree DESCRIPTION
Rpiece renders a RADIANCE picture a piece at a time, calling rpict(1) to do the actual work. This is useful for running multiple rpict processes on cooperating machines to render a single picture, which is a shared file specified with the -o option. The overall picture dimensions will be xres by yres (or smaller, depending on the -pa option and other view options), and the picture will be rendered in xdiv by ydiv pieces. There are two basic methods for telling rpiece which piece(s) of a picture to render. The explicit method is to write on the standard input the X and Y position of the desired piece(s), where X runs from zero to xdiv-1 and Y runs from zero to ydiv-1. (The lower left piece of a picture corresponds to (0,0) in this system.) Alternatively, the implicit specification method uses a synchronization file to deter- mine which piece is to be rendered next. Specified with the -F option, syncfile initially contains the values for xdiv and ydiv, so the -X and -Y options are unnecessary. (However, they are used if syncfile does not exist.) The first rpiece process puts a lock on syncfile and modifies its contents before starting work on the first piece of the image. It writes the X and Y position of the piece it will work on, so the next rpiece process to modify syncfile will start on the next piece. (When it finishes with its piece, it appends the index to the end of syncfile.) This procedure continues until all the pieces are done, at which point all of the rpiece processes will terminate. The -R option may be used instead of -F if some of the pieces were not properly finished by previous (killed) runs of rpiece. This option should be used by at most one rpiece process, which must be started first and with no other rpiece processes running or else it will reren- der the same pieces other processes have begun. Once the recover process is started, you may start other rpiece processes using the -F option to run simultaneously. If some processes die during execution, leaving one or more half-finished pieces in the picture even though the other processes think the work is done, you may run a single rpiece with the -R option by itself to repair the holes. The -v flag switches on verbose mode, where rpiece reports to the standard output after each piece begins and after each piece is finished. Options may be given on the command line and/or read from the environment and/or read from a file. A command argument beginning with a dollar sign ('$') is immediately replaced by the contents of the given environment variable. A command argument beginning with an at sign ('@') is immediately replaced by the contents of the given file. EXAMPLE
First rpiece process is started on the machine "goober": goober% echo 1 8 > syncfile goober% echo -F syncfile -x 1024 -y 1024 -vf view -o picture octree > args goober% rpiece @args & Second rpiece processes is started on the machine "sucker": sucker% rpiece @args & NOTES
Due to NFS file buffering, the network lock manager is employed to guarantee consistency in the output file even though non-overlapping writes are used. This would tend to slow the process down if rpiece were to wait for this I/O to complete before starting on the next piece, so rpiece forks separate processes to hang around waiting for I/O completion. The number of processes thus designated is set by the MAXFORK macro in the program (compiled in the src/util directory). If the fork call is slow on a system, it may actually be better to set MAXFORK to zero. In other cases, the network lock manager may be so slow that this value should be increased to get the best utilization. The output picture is not run-length encoded, and can be quite large. The approximate size (in kilobytes) can be computed by the simple formula: filesize = xres*yres/256 Make sure that there is enough space on the filesystem to hold the entire picture before beginning. Once the picture is finished, the ra_rgbe(1) program with the -r option may be used to convert to a run-length encoded picture for more efficient storage, although pfilt(1) or any of the other Radiance picture filters will do the same thing. The ALRM signal may be used to gracefully terminate an rpiece process after it finishes the current piece. This permits other currently running or subsequently started rpiece process(es) to continue rendering the picture without loss. The -T option will send the ALRM signal to rpiece after the specified number of (decimal) hours. This is the best way to force a time limit on the computation, since information will not be lost, though the process may continue for some time afterwards to finish its current piece. BUGS
This program may not work on some systems whose NFS lock manager is unreliable. In particular, some System V derivative UNIX systems often have problems with the network lock manager. If the output is scrambled or rpict aborts with some ambient file related problem, you should just remove the ambient file and go back to normal rendering. AUTHOR
Greg Ward SEE ALSO
getinfo(1), pfilt(1), ra_rgbe(1), rpict(1), ximage(1) RADIANCE
10/1/98 RPIECE(1)
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy