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

Mad C Skillz OEMG

Name: Anonymous 2009-04-24 14:42

I want to jump to the next level in C. I'm a quite skilled programmer for what I do, know the whole K&R but I feel like I miss something, especially about those weird techniques proPROgrammers use in OS dev and related. Suggested readings?

Name: Anonymous 2009-04-24 14:46

>>1
weird techniques programmers use in OS dev and related
Like what?

Name: Anonymous 2009-04-24 14:58

EXPERT C PROGRAMMING

Name: Anonymous 2009-04-24 15:05

Name: Anonymous 2009-04-24 19:20

>>4
?

Name: Anonymous 2009-04-24 19:45

Recommended readings (theory):
* Operating System Concepts (the Dinosaur book)
* Microsoft Windows Internals
* Architecture of the Windows Kernel (with Networking)
http://www.facultyresourcecenter.com/curriculum/pfv.aspx?ID=7400
* Computer Organization and Design
There was also another really book, whose title escapes me, which described the network stack and different protocols at each level in the OSI stack. I'll hop down to the library and see if I can find it again, it was a really great book.

Recommended stuff to play around with (practical):
* NACHOS - Not Another Completely Heuristic Operating System
http://www.cs.washington.edu/homes/tom/nachos/
* Windows research kernel - you usually need a subscription, however there was a thread here which described a trick which allowed you to download anything from the microsoft website. Search subject.txt if you're interested.

Name: Anonymous 2009-04-25 3:12

Whatever language you're looking to level up in, this : http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882

Name: Anonymous 2009-04-25 6:33

Thanks for the answers, guys. Forgot to say that I'm a *nix programmer. Other suggestions?

Name: Anonymous 2009-04-25 7:02

>>8
APUE

Name: Anonymous 2009-04-25 7:26

>>6
>There was also another really book, whose title escapes me, which described the network stack and different protocols at each level in the OSI stack. I'll hop down to the library and see if I can find it again, it was a really great book.

Computer Networks by Andrew S. Tanenbaum?

Name: Anonymous 2009-04-25 7:48

I'm a *nix programmer. Other suggestions?
I strongly recommend reading http://simson.net/ref/ugh.pdf

Name: Anonymous 2009-04-25 8:18

>>8
What are you looking for?

Name: Anonymous 2009-04-25 8:31

*Grabs digg*

Name: Anonymous 2009-04-25 8:40

>>11
unix haters handbook (is awesome)

Name: Anonymous 2009-04-25 9:27

* NACHOS - Not Another Completely Heuristic Operating System
This is written in Sepples and is pig disgusting, avoid at all costs

Name: Anonymous 2009-04-25 9:34

>>14
Sadly, many parts are quite outdated these days. It would be awesome if they released a new edition. There are lots of new, exciting things to RAGE about in the *nix world.

Name: Anonymous 2009-04-25 9:45

>>15
* NACHOS - NACHOS, Another Completely Heuristic Operating System

Name: Anonymous 2009-04-25 10:36

The novice Unix user is always surprised by Unix’s choice of command
names. No amount of training on DOS or the Mac prepares one for the

majestic beauty of cryptic two-letter command names such as cp, rm, and
ls.
Those of us who used early 70s I/O devices suspect the degeneracy stems
from the speed, reliability, and, most importantly, the keyboard of the
ASR-33 Teletype, the common input/output device in those days. Unlike
today’s keyboards, where the distance keys travel is based on feedback
principles, and the only force necessary is that needed to close a
microswitch, keys on the Teletype (at least in memory) needed to travel
over half an inch, and take the force necessary to run a small electric gener-
ator such as those found on bicycles. You could break your knuckles touch
typing on those beasts.
                                                                 Accidents Will Happen 19
If Dennis and Ken had a Selectric instead of a Teletype, we’d probably be
typing “copy” and “remove” instead of “cp” and “rm.”1 Proof again that
technology limits our choices as often as it expands them.
After more than two decades, what is the excuse for continuing this tradi-
tion? The implacable force of history, AKA existing code and books. If a
vendor replaced rm by, say, remove, then every book describing Unix
would no longer apply to its system, and every shell script that calls rm
would also no longer apply. Such a vendor might as well stop implement-
ing the POSIX standard while it was at it.
A century ago, fast typists were jamming their keyboards, so engineers
designed the QWERTY keyboard to slow them down. Computer key-
boards don’t jam, but we’re still living with QWERTY today. A century
from now, the world will still be living with rm.

Is this a trolling book?

Name: Anonymous 2009-04-25 10:45

>>18
Are you suggesting someone on /prog/ has the audacity to post a link to trolling material?

Name: Anonymous 2009-04-25 14:22

>>19
Upon longer examination, I can say that this is surely a trolling book.

Name: Anonymous 2009-04-25 16:28

>>20
longer examination
IHBT

Name: Anonymous 2009-04-25 17:45

>>18
Even if that were so, why change rm to remove? It's just going to take longer to type in commands that are complete words. I'd say leave the system as is.

Name: Anonymous 2009-04-25 18:20

>>11
Your ideas intrigue me, is there any more like this?

Name: Anonymous 2009-04-25 18:37

Here's what I don't understand: basic Unix commands are largely two-letter abbreviations. Why didn't they just make them one letter? Most of the two-letter commands could simply have their second letter removed with no other changes necessary, and be typed twice as quickly and easily.

Name: Anonymous 2009-04-25 18:39

>>10
That wasn't it. I remember the author having sections for each level in the OSI stack, and writing about different protocols in each level. He also provided packet dumps with annotations of each field, and recommended that the reader "follow along" by downloading Ethereal (now Wireshark).

Name: Anonymous 2009-04-25 18:59

>>24
So there would be a namespace for 26 different basic Unix commands. Great idea!

Name: Anonymous 2009-04-25 20:52

code my anus

Name: Anonymous 2009-04-26 3:46

>>26
Funny you should mention that. There are exactly 26 two letter unix utilities. i.e.: they could be successfully mapped to a 26 letter formal language of maximum word size 1.

Name: Anonymous 2009-04-26 4:30

>>28
actually, there are 28:
ar, at, bc, bg, cd, cp, dd, df, du, ed, ex, fc, fg, id, ln, lp, ls, m4, mv, nl, nm, od, pr, ps, rm, sh, tr, vi

and 4 more if you count shell reserved words (do, fi, if, in).

http://www.opengroup.org/onlinepubs/9699919799/utilities/contents.html

Name: Anonymous 2009-04-26 4:32

>>26
52 if you make it case sensitive or 62 you allow numbers to be command names, although I'd hate to differentiate between the 'z' and 'Z' commands

Name: Anonymous 2009-04-26 4:38

I'd hate to differentiate between the 'z' and 'Z' commands
or even worse, the 'O' and '0' commands or the 'I', 'l', and '1' commands.

Name: Anonymous 2009-04-26 5:02

>>31
If you were including numbers, there would be 36 commands and this wouldn't be a problem.

Name: Anonymous 2009-04-26 8:32

Uhm, why not make everything two-letter? Wouldn't that be better, and grant a wider name-space.

Name: Anonymous 2009-04-26 9:30

Why not just use Windows? You don't need to remember commands like a shit-chucking ape stuck in the past like Planet of the Apes

Name: Anonymous 2009-04-26 9:32

>>32-34
You are all idiots

Name: Anonymous 2009-04-26 9:32

"linuxoncrack (2 days ago) Show Hide
Marked as spam
Reply | Spam
I run Debian/unstable because the system can be secured, it comes with gcc. I can program in a true C language not in Micro$hafts diluted version of C. I can be fairly sure that what I get on my pc is not a virus since I download all my packages from secured repositories through secured means and if I compile a program from source I can see what that program does. Oh and yes I can customize my system to my needs, burn my changes to a cd or live usb and carry it around with me, and give away."

Name: Anonymous 2009-04-26 9:32

>>34
actually, the guy was on earth all along, in the present.
in the 2001 remake he goes back to the future

Name: Anonymous 2009-04-26 9:33

>>37
Back to the Future
wrong film, dude.

Name: Anonymous 2009-04-26 9:34

>>35
Your
1/10

Name: Anonymous 2009-04-26 9:39

>>34
It's a toy system that is not worth my time. Many of it "innovations" are just poor and late reimplementations of what already existed in the Unix world.

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