<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:foaf="https://xmlns.com/foaf/0.1/" xmlns:og="https://ogp.me/ns#" xmlns:rdfs="https://www.w3.org/2000/01/rdf-schema#" xmlns:schema="https://schema.org/" xmlns:sioc="https://rdfs.org/sioc/ns#" xmlns:sioct="https://rdfs.org/sioc/types#" xmlns:skos="https://www.w3.org/2004/02/skos/core#" xmlns:xsd="https://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="https://www.linuxjournal.com/tag/fun">
  <channel>
    <title>fun</title>
    <link>https://www.linuxjournal.com/tag/fun</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>The Cow Says, Have Fun!</title>
  <link>https://www.linuxjournal.com/content/cow-says-have-fun</link>
  <description>  &lt;div data-history-node-id="1338447" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/11742cowsayf1.png" width="489" height="311" alt="" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/shawn-powers" lang="" about="https://www.linuxjournal.com/users/shawn-powers" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Shawn Powers&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;
Sometimes, when the clock hits 3:00am, and you've been in the server
room since 9 o'clock the previous day, you start to get a little
batty. That's the only explanation I have for programs like cowsay
in Linux. Still, I'm glad they're there, because life wouldn't be nearly
as fun without them. Here's a quick list of silly Linux programs off the
top of my head. I'd love to hear about more, so please, send me your
crazy Linux Easter eggs, and I'll follow up on the Web site showing off
the best ones.
&lt;/p&gt;

&lt;img src="https://www.linuxjournal.com/files/linuxjournal.com/ufiles/imagecache/large-550px-centered/u1002061/11742cowsayf1.png" alt="" title="" class="imagecache-large-550px-centered" /&gt;&lt;ul&gt;&lt;li&gt;
&lt;p&gt;
cowsay: install this program, and the cow will say whatever you ask
it to. (Bonus: there's a GUI version of cowsay too, called xcowsay!)
&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;
sl: this is a program I like to install, because it makes fun of you
when you accidentally type &lt;code&gt;sl&lt;/code&gt; instead of
&lt;code&gt;ls&lt;/code&gt;—a steam locomotive
chugs across the screen. (It also shows up if you press caps lock, and
type &lt;code&gt;LS&lt;/code&gt;!)
&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;
cmatrix: blue pill or red pill, this little program will suck you
in to the Matrix either way! (Leaving &lt;em&gt;this&lt;/em&gt; matrix just requires a Ctrl-C,
thankfully.)
&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;
libaa-bin: install this package, and then type &lt;code&gt;aafire&lt;/code&gt; to stoke up
the ASCII flame. Grab your digital marshmallows!
&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;
&lt;p&gt;
Star Wars: open a terminal and type &lt;code&gt;telnet
towel.blinkenlights.nl&lt;/code&gt;,
and grab some popcorn. Or maybe roast some of those digital marshmallows,
because you can watch the entire &lt;em&gt;Star Wars&lt;/em&gt; movie in a terminal window.
&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Most of these silly things have been around for years and years, but
every so often, I learn of one I never knew about before. Send me your
favorites, and I'll be sure you get credit for slacking off at work—er,
I mean for discovering awesomeness! E-mail
shawn@linuxjournal.com (put something
like "FUN" in the subject line so I know what it's about).
&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/cow-says-have-fun" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Wed, 08 Oct 2014 17:52:30 +0000</pubDate>
    <dc:creator>Shawn Powers</dc:creator>
    <guid isPermaLink="false">1338447 at https://www.linuxjournal.com</guid>
    </item>
<item>
  <title>Javascript PC emulator runs Linux</title>
  <link>https://www.linuxjournal.com/content/javascript-pc-emulator-runs-linux</link>
  <description>  &lt;div data-history-node-id="1021252" class="layout layout--onecol"&gt;
    &lt;div class="layout__region layout__region--content"&gt;
      
            &lt;div class="field field--name-field-node-image field--type-image field--label-hidden field--item"&gt;  &lt;img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/js_pcem_resize.png" width="640" height="467" alt="" typeof="foaf:Image" class="img-responsive" /&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-author field--type-ds field--label-hidden field--item"&gt;by &lt;a title="View user profile." href="https://www.linuxjournal.com/users/michael-reed" lang="" about="https://www.linuxjournal.com/users/michael-reed" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;Michael Reed&lt;/a&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"&gt;&lt;p&gt;Fabrice Bellard, creator of the multiple architecture emulator QEMU and FFmpeg, amongst other open source projects, has &lt;a href="https://bellard.org/jslinux/tech.html"&gt;unleashed&lt;/a&gt; his &lt;a href="https://en.wikipedia.org/wiki/Javascript"&gt;Javascript&lt;/a&gt; powered PC emulator. In its current state, it boots a stripped down, text mode Linux implementation and runs within a modern browser. Interesting curio or a potentially useful tool?&lt;/p&gt;
&lt;p&gt;To say it's written in Javascript, an &lt;a href="https://en.wikipedia.org/wiki/Interpreted_language]"&gt;interpreted language&lt;/a&gt; that is usually used for client-side scripting on web pages, the emulator runs remarkably quickly. It boots to a command prompt in about a minute on this machine (Sempron 3000, FF 4.1). [&lt;strong&gt;Update: Considerably faster than that on my CoreDuo&lt;/strong&gt;] By the way, the emulator requires a modern browser such as Firefox 4 or Chrome in order to operate.&lt;/p&gt;
&lt;p&gt;Things are still at the proof of concept stage but there is already enough to play around with. Sitting on a command line prompt, the first thing I tried was typing &lt;em&gt;ls&lt;/em&gt;. Doing this revealed the presence of a single file, a C source code file called &lt;em&gt;hello.c&lt;/em&gt;. Attempting to compile with GCC wont work because GCC isn't installed. Examining the content of the file got the the bottom of things:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;~ # cat hello.c &lt;br /&gt;/* This C source can be compiled with: &lt;br /&gt;tcc -o hello hello.c &lt;br /&gt;*/ &lt;br /&gt;#include &lt;tcclib.h&gt; &lt;br /&gt;int main(int argc, char **argv) &lt;br /&gt;{ &lt;br /&gt;printf("Hello World\n"); &lt;br /&gt;return 0; &lt;br /&gt;} &lt;br /&gt;~ # &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That the system includes the &lt;a href="https://en.wikipedia.org/wiki/Tiny_C_Compiler"&gt;Tiny C Compiler&lt;/a&gt; (not to be confused with &lt;a href="https://en.wikipedia.org/wiki/Small_C"&gt;Small-C&lt;/a&gt;) makes sense as that is another project that was started by Bellard. You can get an idea of what other utilities are supported by the system by typing&lt;/p&gt;
&lt;p&gt;&lt;em&gt;ls /bin&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So, what could this thing actually be used for, I hear you ask? As it stands, not all that much. For one thing, networking is not yet emulated. To perform any type of file transfer between the host and guest environments, one has to use the system cut and paste buffer and a virtual &lt;em&gt;/dev/clipboard&lt;/em&gt; device. Other than that, there's no way to get data into or out of the system. This could be a point in the system's favor because, as it really is running locally, rather than on a server, it's fairly good in privacy terms. You can wipe the entire system by simply hitting refresh.&lt;/p&gt;
&lt;p&gt;It could perhaps be used to provide some sort of training environment to teach people how to use the Linux command line. As it stands, the system could be used to compile simple snippets of C code if you were to find yourself stuck on a machine without a compiler installed.&lt;/p&gt;&lt;/div&gt;
      
            &lt;div class="field field--name-node-link field--type-ds field--label-hidden field--item"&gt;  &lt;a href="https://www.linuxjournal.com/content/javascript-pc-emulator-runs-linux" hreflang="und"&gt;Go to Full Article&lt;/a&gt;
&lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;

</description>
  <pubDate>Thu, 09 Jun 2011 13:00:00 +0000</pubDate>
    <dc:creator>Michael Reed</dc:creator>
    <guid isPermaLink="false">1021252 at https://www.linuxjournal.com</guid>
    </item>

  </channel>
</rss>
