Permalink
Browse files

Added Eric as guest user and first article.

  • Loading branch information...
1 parent b18384e commit 1b16451c47b93a3a8ac8a8bd41a19a5250f8bfbe Robert Klemme committed Sep 19, 2011
Showing with 71 additions and 0 deletions.
  1. +25 −0 about/ewong
  2. +4 −0 korma_config.yml
  3. +42 −0 posts/ewong/000_Prerequisite Knowledge
View
@@ -0,0 +1,25 @@
+<div style="float: right">
+"Articles by Eric":<%= @author.index_uri %> | "Feed":<%= @author.feed_uri %>
+</div>
+
+<div style="width: 100px; float: left;">
+!<%= @author.gravatar %>!
+</div>
+
+<div style="margin-left: 100px;">
+
+h2. Eric Wong
+
+RBP mirrors Eric's articles about Unix system programming in Ruby from mailing list usp.ruby@librelist.org.
+
+License: GPLv3 (or later, at the discretion of Eric Wong)
+http://www.gnu.org/licenses/gpl-3.0.txt
+
+h3. Contact
+
+You can reach Eric via <a href="mailto:normalperson@yhbt.net">email</a>.
+
+<div align="right">
+"Articles by Eric":<%= @author.index_uri %> | "Feed":<%= @author.feed_uri %>
+</div>
+</div>
View
@@ -34,3 +34,7 @@ authors:
name: "Aaron Patterson"
email: aaron.patterson@gmail.com
guest: true
+ ewong:
+ name: "Eric Wong"
+ email: normalperson@yhbt.net
+ guest: true
@@ -0,0 +1,42 @@
+=title Prerequisite Knowledge
+=timestamp Sep 13, 2011 at 1:29 AM
+=description First article in the series of our guest author Eric Wong
+=entry
+
+* You should know basic Ruby syntax.
+* Bourne shell knowledge will be useful, but not required.
+* You do not need to know C, though I'll refer to and map Ruby methods
+to corresponding or analogous C functions.
+* You must know that that two (or more) variables (in Ruby) can refer to
+the same underlying object. This concept is present in Unix, so it
+is /very/ important one understand this:
+
+<pre name="code" class="ruby">
+ a = "this is a string"
+ b = a # 'b' refers to the same String object as 'a'
+ a << "!" # modifies the String object 'a' points to
+
+ "this is a string!" == a
+
+ # You should understand why the following statements are true:
+ "this is a string!" == b
+ "this is a string" != b
+</pre>
+
+h2. Notations/conventions
+
+* Ruby method documentation references
+(should be the same as Ruby documentation)
+** IO.pipe -- class/singleton method
+** IO#stat -- instance method
+* C function documentation references
+** pipe(2) -- "#{function_name}(#{section})"
+ The C function manpage can be accessed as:
+ man #{section} #{function_name}
+ so you can open documentation for pipe(2) using
+ the command: man 2 pipe
+
+That's all I can think of for now...
+
+
+??License: "GPLv3":http://www.gnu.org/licenses/gpl-3.0.txt (or later, at the discretion of Eric Wong)??

0 comments on commit 1b16451

Please sign in to comment.