<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Töre Çağrı Uyar &#187; Fun</title>
	<atom:link href="http://toreuyar.net/tag/fun/feed/" rel="self" type="application/rss+xml" />
	<link>http://toreuyar.net</link>
	<description>The Awesome</description>
	<lastBuildDate>Fri, 30 Apr 2010 22:08:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YouTube Music Discovery Project and Playlist Creation Tool</title>
		<link>http://toreuyar.net/2010/02/10/youtube-music-discovery-project-and-playlist-creation-tool/</link>
		<comments>http://toreuyar.net/2010/02/10/youtube-music-discovery-project-and-playlist-creation-tool/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 21:36:52 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nerd]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=193</guid>
		<description><![CDATA[YouTube Disco is YouTube&#8217;s new toy, where you can search for a song or artist and start listening right away. Service also includes videos and it&#8217;s free.
]]></description>
			<content:encoded><![CDATA[<p><a title="YouTube Music Discovery Project and Playlist Creation Tool" href="http://www.youtube.com/disco">YouTube Disco</a> is <a title="YouTube" href="http://www.youtube.com/">YouTube</a>&#8217;s new toy, where you can search for a song or artist and start listening right away. Service also includes videos and it&#8217;s free.</p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2010/02/10/youtube-music-discovery-project-and-playlist-creation-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pacemaker</title>
		<link>http://toreuyar.net/2010/01/13/pacemaker/</link>
		<comments>http://toreuyar.net/2010/01/13/pacemaker/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 17:39:59 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=185</guid>
		<description><![CDATA[Some very creative guys made a portable dj console. Not just you can carry around with it&#8217;s bag, you can play and mix even when your are mobile. Sounds incredible right? It&#8217;s like an mp3 player with mixing support. Check it&#8217;s pacemaker website and youtube channel for more information.
]]></description>
			<content:encoded><![CDATA[<p>Some very creative guys made a portable dj console. Not just you can carry around with it&#8217;s bag, you can play and mix even when your are mobile. Sounds incredible right? It&#8217;s like an mp3 player with mixing support. Check it&#8217;s <a title="Pacemaker official website" href="http://www.pacemaker.net/">pacemaker website</a> and <a title="Pacemaker YouTube channel" href="http://www.youtube.com/pacemaker01">youtube</a> channel for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2010/01/13/pacemaker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Karmic on Windows 7 Seminar :D</title>
		<link>http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/</link>
		<comments>http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 00:04:38 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Computer Engineering]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=137</guid>
		<description><![CDATA[I have just attended on a Windows 7 seminar at our school and guess what happened ? Yes, ubuntu karmic adv. showed on the show. Looks like Microsoft and their personal does not take this serious, but i can say that this is one of the most important things that you should never do on <a href="http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>I have just attended on a Windows 7 seminar at our school and guess what happened ? Yes, ubuntu karmic adv. showed on the show. Looks like Microsoft and their personal does not take this serious, but i can say that this is one of the most important things that you should never do on a Windows seminar.</p>

<a href='http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/attachment/04112009054/' title='04112009054'><img width="150" height="150" src="http://toreuyar.net/wp-content/uploads/2009/11/04112009054-150x150.jpg" class="attachment-thumbnail" alt="" title="04112009054" /></a>
<a href='http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/attachment/04112009055/' title='04112009055'><img width="150" height="150" src="http://toreuyar.net/wp-content/uploads/2009/11/04112009055-150x150.jpg" class="attachment-thumbnail" alt="" title="04112009055" /></a>

]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2009/11/09/ubuntu-karmic-on-windows-7-seminar-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Evolution of a Programmer</title>
		<link>http://toreuyar.net/2009/11/04/the-evolution-of-a-programmer/</link>
		<comments>http://toreuyar.net/2009/11/04/the-evolution-of-a-programmer/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:16:56 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Computer Engineering]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=124</guid>
		<description><![CDATA[High School/Jr.High

  10 PRINT "HELLO WORLD"
  20 END

First year in College

  program Hello(input, output)
    begin
      writeln('Hello World')
    end.

Senior year in College

  (defun hello
    (print
      (cons 'Hello (list 'World))))

New professional

  #include &#60;stdio.h&#62;
 <a href="http://toreuyar.net/2009/11/04/the-evolution-of-a-programmer/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<h4>High School/Jr.High</h4>
<p><code></p>
<pre>  10 PRINT "HELLO WORLD"
  20 END</pre>
<p></code></p>
<h4>First year in College</h4>
<p><code></p>
<pre>  program Hello(input, output)
    begin
      writeln('Hello World')
    end.</pre>
<p></code></p>
<h4>Senior year in College</h4>
<p><code></p>
<pre>  (defun hello
    (print
      (cons 'Hello (list 'World))))</pre>
<p></code></p>
<h4>New professional</h4>
<p><code></p>
<pre>  #include &lt;stdio.h&gt;
  void main(void)
  {
    char *message[] = {"Hello ", "World"};
    int i;

    for(i = 0; i &lt; 2; ++i)
      printf("%s", message[i]);
    printf("\n");
  }</pre>
<p></code></p>
<h4>Seasoned professional</h4>
<p><code></p>
<pre>  #include &lt;iostream.h&gt;
  #include &lt;string.h&gt;

  class string
  {
  private:
    int size;
    char *ptr;

  string() : size(0), ptr(new char[1]) { ptr[0] = 0; }

    string(const string &amp;s) : size(s.size)
    {
      ptr = new char[size + 1];
      strcpy(ptr, s.ptr);
    }

    ~string()
    {
      delete [] ptr;
    }

    friend ostream &amp;operator &lt;&lt;(ostream &amp;, const string &amp;);
    string &amp;operator=(const char *);
  };

  ostream &amp;operator&lt;&lt;(ostream &amp;stream, const string &amp;s)
  {
    return(stream &lt;&lt; s.ptr);
  }

  string &amp;string::operator=(const char *chrs)
  {
    if (this != &amp;chrs)
    {
      delete [] ptr;
     size = strlen(chrs);
      ptr = new char[size + 1];
      strcpy(ptr, chrs);
    }
    return(*this);
  }

  int main()
  {
    string str;

    str = "Hello World";
    cout &lt;&lt; str &lt;&lt; endl;

    return(0);
  }</pre>
<p></code></p>
<h4>Master Programmer</h4>
<p><code></p>
<pre>  [
  uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
  ]
  library LHello
  {
      // bring in the master library
      importlib("actimp.tlb");
      importlib("actexp.tlb");

      // bring in my interfaces
      #include "pshlo.idl"

      [
      uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
      ]
      cotype THello
   {
   interface IHello;
   interface IPersistFile;
   };
  };

  [
  exe,
  uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
  ]
  module CHelloLib
  {

      // some code related header files
      importheader(&lt;windows.h&gt;);
      importheader(&lt;ole2.h&gt;);
      importheader(&lt;except.hxx&gt;);
      importheader("pshlo.h");
      importheader("shlo.hxx");
      importheader("mycls.hxx");

      // needed typelibs
      importlib("actimp.tlb");
      importlib("actexp.tlb");
      importlib("thlo.tlb");

      [
      uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
      aggregatable
      ]
      coclass CHello
   {
   cotype THello;
   };
  };

  #include "ipfix.hxx"

  extern HANDLE hEvent;

  class CHello : public CHelloBase
  {
  public:
      IPFIX(CLSID_CHello);

      CHello(IUnknown *pUnk);
      ~CHello();

      HRESULT  __stdcall PrintSz(LPWSTR pwszString);

  private:
      static int cObjRef;
  };

  #include &lt;windows.h&gt;
  #include &lt;ole2.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include "thlo.h"
  #include "pshlo.h"
  #include "shlo.hxx"
  #include "mycls.hxx"

  int CHello::cObjRef = 0;

  CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
  {
      cObjRef++;
      return;
  }

  HRESULT  __stdcall  CHello::PrintSz(LPWSTR pwszString)
  {
      printf("%ws
", pwszString);
      return(ResultFromScode(S_OK));
  }

  CHello::~CHello(void)
  {

  // when the object count goes to zero, stop the server
  cObjRef--;
  if( cObjRef == 0 )
      PulseEvent(hEvent);

  return;
  }

  #include &lt;windows.h&gt;
  #include &lt;ole2.h&gt;
  #include "pshlo.h"
  #include "shlo.hxx"
  #include "mycls.hxx"

  HANDLE hEvent;

   int _cdecl main(
  int argc,
  char * argv[]
  ) {
  ULONG ulRef;
  DWORD dwRegistration;
  CHelloCF *pCF = new CHelloCF();

  hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);

  // Initialize the OLE libraries
  CoInitializeEx(NULL, COINIT_MULTITHREADED);

  CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
      REGCLS_MULTIPLEUSE, &amp;dwRegistration);

  // wait on an event to stop
  WaitForSingleObject(hEvent, INFINITE);

  // revoke and release the class object
  CoRevokeClassObject(dwRegistration);
  ulRef = pCF-&gt;Release();

  // Tell OLE we are going away.
  CoUninitialize();

  return(0); }

  extern CLSID CLSID_CHello;
  extern UUID LIBID_CHelloLib;

  CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
      0x2573F891,
      0xCFEE,
      0x101A,
      { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
  };

  UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
      0x2573F890,
      0xCFEE,
      0x101A,
      { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
  };

  #include &lt;windows.h&gt;
  #include &lt;ole2.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdio.h&gt;
  #include "pshlo.h"
  #include "shlo.hxx"
  #include "clsid.h"

  int _cdecl main(
  int argc,
  char * argv[]
  ) {
  HRESULT  hRslt;
  IHello        *pHello;
  ULONG  ulCnt;
  IMoniker * pmk;
  WCHAR  wcsT[_MAX_PATH];
  WCHAR  wcsPath[2 * _MAX_PATH];

  // get object path
  wcsPath[0] = '\0';
  wcsT[0] = '\0';
  if( argc &gt; 1) {
      mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
      wcsupr(wcsPath);
      }
  else {
      fprintf(stderr, "Object path must be specified\n");
      return(1);
      }

  // get print string
  if(argc &gt; 2)
      mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
  else
      wcscpy(wcsT, L"Hello World");

  printf("Linking to object %ws\n", wcsPath);
  printf("Text String %ws\n", wcsT);

  // Initialize the OLE libraries
  hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);

  if(SUCCEEDED(hRslt)) {

      hRslt = CreateFileMoniker(wcsPath, &amp;pmk);
      if(SUCCEEDED(hRslt))
   hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&amp;pHello);

      if(SUCCEEDED(hRslt)) {

   // print a string out
   pHello-&gt;PrintSz(wcsT);

   Sleep(2000);
   ulCnt = pHello-&gt;Release();
   }
      else
   printf("Failure to connect, status: %lx", hRslt);

      // Tell OLE we are going away.
      CoUninitialize();
      }

  return(0);
  }</pre>
<p></code></p>
<h4>Apprentice Hacker</h4>
<p><code></p>
<pre>  #!/usr/local/bin/perl
  $msg="Hello, world.\n";
  if ($#ARGV &gt;= 0) {
    while(defined($arg=shift(@ARGV))) {
      $outfilename = $arg;
      open(FILE, "&gt;" . $outfilename) || die "Can't write $arg: $!\n";
      print (FILE $msg);
      close(FILE) || die "Can't close $arg: $!\n";
    }
  } else {
    print ($msg);
  }
  1;</pre>
<p></code></p>
<h4>Experienced Hacker</h4>
<p><code></p>
<pre>  #include &lt;stdio.h&gt;
  #define S "Hello, World\n"
  main(){exit(printf(S) == strlen(S) ? 0 : 1);}</pre>
<p></code></p>
<h4>Seasoned Hacker</h4>
<p><code></p>
<pre>  % cc -o a.out ~/src/misc/hw/hw.c
  % a.out</pre>
<p></code></p>
<h4>Guru Hacker</h4>
<p><code></p>
<pre>  % echo "Hello, world."</pre>
<p></code></p>
<h4>New Manager</h4>
<p><code></p>
<pre>  10 PRINT "HELLO WORLD"
  20 END</pre>
<p></code></p>
<h4>Middle Manager</h4>
<p><code></p>
<pre>  mail -s "Hello, world." bob@b12
  Bob, could you please write me a program that prints "Hello, world."?
  I need it by tomorrow.
  ^D</pre>
<p></code></p>
<h4>Senior Manager</h4>
<p><code></p>
<pre>  % zmail jim
  I need a "Hello, world." program by this afternoon.</pre>
<p></code></p>
<h4>Chief Executive</h4>
<p><code></p>
<pre>  % letter
  letter: Command not found.
  % mail
  To: ^X ^F ^C
  % help mail
  help: Command not found.
  % damn!
  !: Event unrecognized
  % logout</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2009/11/04/the-evolution-of-a-programmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Geek Test&#8221; says that i&#8217;m a Major</title>
		<link>http://toreuyar.net/2009/11/02/geek-test-says-that-im-a-major/</link>
		<comments>http://toreuyar.net/2009/11/02/geek-test-says-that-im-a-major/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 00:25:33 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=114</guid>
		<description><![CDATA[Seems like i am not so much geek after all:
34.44773% &#8211; Major Geek ==&#62; but i am a major, so respect it!  
http://www.innergeek.us/geek-test.html
]]></description>
			<content:encoded><![CDATA[<p>Seems like i am not so much geek after all:</p>
<p>34.44773% &#8211; Major Geek ==&gt; but i am a major, so respect it! <img src='http://toreuyar.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a title="Geek Test" href="http://www.innergeek.us/geek-test.html">http://www.innergeek.us/geek-test.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2009/11/02/geek-test-says-that-im-a-major/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pocket Rocket</title>
		<link>http://toreuyar.net/2009/10/28/pocket-rocket/</link>
		<comments>http://toreuyar.net/2009/10/28/pocket-rocket/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 09:32:53 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=100</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/BzG-aQc0nTQ&amp;hl=en&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/BzG-aQc0nTQ&amp;hl=en&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2009/10/28/pocket-rocket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How High &#8211; Wake Up Time</title>
		<link>http://toreuyar.net/2009/10/27/how-high-wake-up-time/</link>
		<comments>http://toreuyar.net/2009/10/27/how-high-wake-up-time/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:34:55 +0000</pubDate>
		<dc:creator>Töre</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://toreuyar.net/?p=76</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4SsgwtpQQ88&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/4SsgwtpQQ88&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://toreuyar.net/2009/10/27/how-high-wake-up-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
