Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Okay, I'm using Linux

Name: !XOkji06ATU 2006-05-11 13:16

How I would go about teaching myself to make small programs, or just learn programming in general.

Name: Anonymous 2006-05-11 13:18

gcc is all you need. Now GTFO and read some man pages or something.

Name: !XOkji06ATU 2006-05-11 13:26

You know, I really didn't need to see so much FUCKTARD in that post.
The first sentence was all the answer I needed, and thanks.

Name: Anonymous 2006-05-11 13:47

You have many choices with GNU/LINUX

Choose a language:
ruby, perl, python
C, C++, Eiffel
Haskell, Lisp, Ocaml, Scheme

Learn an IDE or an editor:
gvim
emacs
kdevelop
eclipse

Download a compiler or apt-get it or what ever you want.

Read online tutorials, find a language you like. Buy a book.
Have a goal for something to program. Make it short and small and work from there.

Name: Anonymous 2006-05-11 14:56

Protips:
1. Install KDE and use Kate. vi, vim, gvim, emacs, xemacs, and anything that sounds like "vi" or "emacs" sucks balls.
2. Start with a simple structured language, like Pascal, to learn to program; DO NOT START WITH AN OBJECT-ORIENTED LANGUAGE. Then move onto C (NOT C++) to understand how things really work. Then move onto scripting languages, for example Python, to learn the rest.

Name: Anonymous 2006-05-11 15:01

>>1
1) Start off with any generic "C for n00bs" book, I didn't like "Learn C in 24 hours", others here probably do, though.

2) Once you're comfortable with that, get "Beginning Linux Programming" by Richard Stones and Neil Matthew

3) Read real code, modify shit and run it. Do NOT use GNU code; the GNU coding standards are made of lose and fail. An alternative might be to grab some simple BSD programs, modify and compile them (eg run "apt-get source pmake" or "apt-get source nvi" if you're using debian).

Consider getting VMPlayer and/or Qemu and installing FreeBSD on a virtual machine; that way you can install the source for the whole OS in one place and then poke around, modifying crap, breaking it, and fixing it.

With FreeBSD you get a whole shitload of code for the entire OS (wide variety to choose from) which has been tested to compile and interoperate with each other (no weird surprises from gnu-foo.tar.gz conflicting with gnu-bar.tar.gz) so you can focus on just fucking with stuff.

Name: Anonymous 2006-05-11 15:02

Of course I assumed you were just learning C, sorry for that bias in my post :(

Name: Anonymous 2006-05-11 15:08

Learn perl, it'll make gnu/linux useful

Name: Anonymous 2006-05-11 15:21

Name: Anonymous 2006-05-11 15:59

>>6

Tells the truth, and the Beatles were wrong, all you need is C. Linux is the perfect environment for it.BSD is great too.
I learned C by myself with the 2nd edition of K&R, some people will tell you it's not very beginner-oriented, maybe they are right, but if I didn't failed with it, you won't. It will teach you good habits to think and write smart and efficient code.

After that, update yourself to C99 and do what number 6 told you.

When you have reached a certain level, C Unleashed is also a good reference.

Name: Anonymous 2006-05-11 16:20

>>10
Linux is a kernel, get it straight. GNU/Linux is the Kernel, the OS and the environment.

Name: Anonymous 2006-05-11 16:21

>>11

Hello RMS, how are you ?

Name: Anonymous 2006-05-11 16:24

>>12
GNU/You GNU/are GNU/a GNU/faggot.

Name: Anonymous 2006-05-11 18:02

>>9
Oops wrong thread, fail post

Name: Anonymous 2006-05-11 18:13

>>11
GNAA people post under the effects of weed

Oops, it's GNAA/weed (it's the drug, the hippie and the love environment). I'm an insensitive clod.

Name: !XOkji06ATU 2006-05-11 18:31

Wow, that's a lot of good tips. Thanks all, I'll get started on it.
Except for the downloading part, I'll have to do that later. Dial-up, ykonw.
Just the books for me for now.

Name: Anonymous 2006-05-11 19:42

>>16
Linux is definitely not for dial-up users, if you can't be connected 24/7 you won't have much fun.

Name: Anonymous 2006-05-12 4:27

>>17
I'm on dialup, I get by. You get *real* aquainted with wget -c and patience, tho!

Name: Anonymous 2006-05-12 9:53

For some reason linux does really bad at dialup. Even after mucking around with QoS, I just can't seem to get decent half-latency if I'm also leeching something at the time. :/

Name: Anonymous 2006-05-12 15:10

Sorry linux is just the kernel faggots.

GNU/LINUX

Name: Anonymous 2006-05-12 15:21

>>20
Sorry nobody gives a fuck about that, GNAA faggot. We'll still call it /[Ll](?:(u)|i)n(?(1)i|u)x/.

GNAA/LUNIX

Name: Anonymous 2006-05-12 15:22

>>21
BTW, that was an obfuscated regular expression example using a powerful feature (testing if something had matched). I could have written that like /[Ll](?:inux|unix)/ too, but this is less fun.

Name: Anonymous 2006-05-12 16:14 (sage)

GNAA doesn't support free software. GNU supports free software. GNAA is also dead and depakote is fat. GNAA has been overrun by CHAN retards like yourself who are too interested in naruto and kiddie porn to get down to some real trolling.

Everyone who was important left. Timecop is dead.

Name: Anonymous 2006-05-12 16:36

>>23
Request GNU to be wordfiltered to GNAA

Name: Anonymous 2006-05-12 17:48

>>24
requesting GNAA be wordfiltered to GNU
FOR GREAT JUSTICE!

Name: Anonymous 2006-05-13 16:52

GNU = Gay Niggers United
It's the international version of GNAA

Name: Anonymous 2006-05-14 1:55

>>6
Ouch, I just bought that book for 5 bucks...
Its not bad so far, but I hate how they start the chapter on pointers...

Name: Anonymous 2006-05-15 3:01

TRY FREEBASIC

Name: Anonymous 2006-05-15 15:08

>>28
TRY SUICIDE

Name: Anonymous 2006-05-15 15:22

>>28
I did.
it rocks.
THANKS!

Name: Anonymous 2006-05-15 19:13

>>29
I did.
it rocks.
THANKS!

Name: Anonymous 2006-05-15 20:20

>>31
You did.
you swallow.
THANKS!

Name: Anonymous 2006-05-15 23:27

HEY I JUST INVENTED A PROGRAMMING LANGUAGE CALLED SUICIDE

IT'S LIKE C BUT THERE'S NO FUNCTION CALLS

Name: Anonymous 2006-05-16 1:04

>>33
Java?

Name: Anonymous 2006-05-16 3:24

>>33
asm?

Name: Anonymous 2006-05-16 3:57

SUICIDE SYNTAX RULES:
1 THERE ARE NO COMMENTS, ALL TEXT IS COMPILED
2 VARIABLE NAMES HAVE MAX 1 CHAR
3 YOU CANNOT DECLARE VARIABLES, THEY MUST APPEAR IN PROGRAM FLOW
4 EQUALS AND ASSIGNMENT ARE SAME OPERATOR ':=='
5 NO FUNCTION CALLS, GOTO ONLY
6 INT IS THE ONLY DATA TYPE AND IT VARIES BY PLATFORM
7 ALL CONSTANTS ARE MODIFIABLE AND APPEAR IN PROGRAM TEXT WHEN COMPILED
8 EACH LINE ENDS WITH A '&' TO MARK END OF LINE
9 THERE IS NO MULTIPLY OR DIVIDE OPERATOR
10 NO END STATEMENT, PROGRAM MUST LOOP ENDLESSLY TO HALT

Name: Anonymous 2006-05-16 5:18

>>36 working implementation or GTFO

Name: Anonymous 2006-05-16 11:20

SUICIDE IS CLEARLY VAPORWARE

Name: Anonymous 2006-05-16 11:27

>>36
how is I/O performed? let's make this a reality

Name: Anonymous 2006-05-16 11:50

>>39
Since this is one of those languages designed to be impossible to actually use, we should use an unusable I/O model. In the spirit of not reimplementing the wheel, I propose the use of monads.

Name: Anonymous 2006-05-16 22:40

I/O WILL BE PERFORMED WITH OPERATORS
C/C++ LIEK OPERATORS, SUICIDE IS OBSESSIVE WITH THEM

<int1> << <int2>
 int1 reads data from file handle int2, returns read data
<int1> >> <int2>
 int1 writes data to file handle int2, returns operation status (-1 good, 0 bad)

0=stdout, 1=stdin, 2=stderr

<string-constant> <> <int>
 opens file named <string-constant> as new file handle <int>, returns -1 if did it, 0 if fail
>< <int>
 closes file handle <int>
<-> <int>
 seeks file handle <int> to position 0, returns -1 if did it, 0 if fail
*<int>*
 returns -1 if <int> is EOF, 0 if not

REMEMBER, NO PREDECLARATION.

EXAMPLE (writes stdin to "Cool Text File.txt")
"Cool Text File.txt" <> 3 &
if not ( *1* ) { &
 do { &
 exitflg :== (A << 1) &
  if (!exitflg) continue &
 exitflg :== (A >> 3) &
 } while ( *1* || !exitflg ) &
 } &
endwith 0 &

SINCE SUICIDE HAS NO FUNCTION CALLS, BUT STILL MUST "RETURN VALUES" TO LEGACY OPERATING SYSTEMS, WE USE EXCLUSIVE SUICIDE KEYWORD endwith



Name: Anonymous 2006-05-16 22:42

WHOOPS FORGOT ABOUT THE ONE CHARACTER LIMIT ON VARIABLE NAMES

"Cool Text File.txt" <> 3 &
if not ( *1* ) { &
 do { &
 X :== (A << 1) &
  if (!X) continue &
 X :== (A >> 3) &
 } while ( *1* || !X ) &
 } &
endwith 0 &

Name: Anonymous 2006-05-17 4:08

>>42
Are you a core Perl developer?

Name: Anonymous 2006-05-17 20:40

TRON IS PROGRAMMED IN SUICIDE

Name: Anonymous 2010-06-07 6:37

Hi, I can spam /prog/ too, you faggot.

Also, smoke weed everyday.

Name: Anonymous 2011-06-30 22:44

[overline]o[/overline]

Name: Anonymous 2011-06-30 22:44

o

Name: Anonymous 2012-03-28 2:22

my farts burn my anus
it hurts
in a good way

Name: Sgt.Kabu㾒ၼkiman 2012-05-28 18:59

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List