From 6afb08d814672329ea185500d105cfa85cdbb7e9 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 27 Sep 2025 20:35:09 -0300 Subject: first hugo build --- public/post/2012/01/23/juicy-code/index.html | 129 +++++++++++++++++++++ .../2012/03/12/command-line-awesomeness/index.html | 117 +++++++++++++++++++ public/post/2012/04/23/hacker-with-horn/index.html | 119 +++++++++++++++++++ 3 files changed, 365 insertions(+) create mode 100644 public/post/2012/01/23/juicy-code/index.html create mode 100644 public/post/2012/03/12/command-line-awesomeness/index.html create mode 100644 public/post/2012/04/23/hacker-with-horn/index.html (limited to 'public/post/2012') diff --git a/public/post/2012/01/23/juicy-code/index.html b/public/post/2012/01/23/juicy-code/index.html new file mode 100644 index 0000000..47a30aa --- /dev/null +++ b/public/post/2012/01/23/juicy-code/index.html @@ -0,0 +1,129 @@ + + + + + + + + + + + + + Juicy Code | azuminha + + + + + + + +
+ +
+ + +
+

Juicy Code

+

Open Source

+

2012/01/23

+

+ + + Categories: Code + + + + Tags: Juicy + + +

+
+ + + +
+
+

Check out this JUICY! code:

+
def with_value_from_database(value)
+  self.class.from_database(name, value, type)
+end
+
+def with_cast_value(value)
+  self.class.with_cast_value(name, value, type)
+end
+
+def with_type(type)
+  if changed_in_place?
+    with_value_from_user(value).with_type(type)
+  else
+    self.class.new(name, value_before_type_cast, type, original_attribute)
+  end
+end
+
+ >> Home +
+
+ + + + diff --git a/public/post/2012/03/12/command-line-awesomeness/index.html b/public/post/2012/03/12/command-line-awesomeness/index.html new file mode 100644 index 0000000..df975bf --- /dev/null +++ b/public/post/2012/03/12/command-line-awesomeness/index.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + Command Line Awesomeness | azuminha + + + + + + + +
+ +
+ + +
+

Command Line Awesomeness

+ +

2012/03/12

+

+ + + Categories: Blog + + + + Tags: HTML + + +

+
+ + + +
+
+

This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams.

+
+

When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind’s eye: “The brawny left-hander steps out of the batter’s box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate.” and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions.

+

This is exactly how the World Wide Web works: the HTML files are the pithy description on the paper tape, and your Web browser is Ronald Reagan. The same is true of Graphical User Interfaces in general.

+ + >> Home +
+
+ + + + diff --git a/public/post/2012/04/23/hacker-with-horn/index.html b/public/post/2012/04/23/hacker-with-horn/index.html new file mode 100644 index 0000000..586ea8d --- /dev/null +++ b/public/post/2012/04/23/hacker-with-horn/index.html @@ -0,0 +1,119 @@ + + + + + + + + + + + + + Hacker with Bullhorn | azuminha + + + + + + + +
+ +
+ + +
+

Hacker with Bullhorn

+

Open-Source

+

2012/04/23

+

+ + + Categories: Bullhorn Example + + + + +

+
+ + + +
+
+

Hacker with bullhorn: “Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!”

+

Prospective station wagon buyer: “I know what you say is true…but…er…I don’t know how to maintain a tank!”

+

Bullhorn: “You don’t know how to maintain a station wagon either!”

+

Buyer: “But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music.”

+

Bullhorn: “But if you accept one of our free tanks we will send volunteers to your house to fix it for free while you sleep!”

+

Buyer: “Stay away from my house, you freak!”

+

Bullhorn: “But…”

+

Buyer: “Can’t you see that everyone is buying station wagons?”

+ + >> Home +
+
+ + + + -- cgit v1.2.3