<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Mon, 06 Feb 2012 13:52:34 -0500 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://lexfridman.com/rss/index.php" rel="self" type="application/rss+xml" />
    <title>Lex Fridman Website</title>
    <link>http://www.lexfridman.com</link>
    <description>Research in networking, robotics, and artificial intelligence. Thoughts on literature, philosophy, and politics. Poetry, music, comics, pictures, judo, jiu jitsu, and mma.</description>
    <language>en-us</language>
    <managingEditor>lexfridman@gmail.com (Lex Fridman)</managingEditor>
    <webMaster>lexfridman@gmail.com (Lex Fridman)</webMaster>
    <generator>PHP RSS Feed Generator</generator>
    <image>
      <url>http://www.lexfridman.com/rss/logo/logo.gif</url>
      <title>Lex Fridman Website</title>
      <link>http://www.lexfridman.com</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Thoughts: Coffee is a Way of Life</title>
      <description>&lt;a href=&quot;http://lexfridman.com/blogs/thoughts/files/2012/01/coffee1.jpg&quot;&gt;&lt;img class=&quot;alignleft size-medium wp-image-828&quot; title=&quot;coffee&quot; src=&quot;http://lexfridman.com/blogs/thoughts/files/2012/01/coffee1-300x187.jpg&quot; alt=&quot;&quot; width=&quot;300&quot; height=&quot;187&quot; /&gt;&lt;/a&gt;Americans consume 400 million cups of coffee per day or 146 billion cups per year. In terms of per capita consumption, Finland, Sweden, Switzerland, Germany, France, Italy, and Brazil has us beat.&lt;br /&gt;&lt;br /&gt;The most popular reason that women provide for drinking coffee is &quot;it&#039;s a good way to relax&quot;. On the other hand, men go with the vague but aggressive &quot;it helps get the job done&quot;. That it does.&lt;br /&gt;&lt;br /&gt;My own experience with coffee has evolved over the years. Something about the process of drinking coffee, almost just the habit of it, focuses my mind on what I&#039;m doing. It has become part of my comfort zone, a key element of a productive environment. When I smell coffee, my brain goes into the mode of &quot;okay, time to get s*** done&quot;. But &quot;focus&quot; doesn&#039;t just mean focusing on work. I enjoy reading over a hot coffee, thinking about life, and how insanely absurd everything is. It puts my own little problems into perspective and helps me consider the things that really matter in my life.&lt;br /&gt;&lt;br /&gt;Of course, the taste of coffee ain&#039;t bad either. I look forward to waking up, making a fresh cup of coffee, and sitting down to eat steel-cut oatmeal while thinking about something I&#039;ve read the night before.</description>
      <link>http://lexfridman.com/blogs/thoughts/?p=826</link>
      <pubDate>Sun, 29 Jan 2012 00:31:56 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/thoughts/?p=826</guid>
    </item>
    <item>
      <title>Research: Include Full BibTeX Entry Inside Text</title>
      <description>This isn&#039;t rocket science, but you can insert BibTeX entries as you go, instead of (dumping all the references at the end in a &quot;References&quot; section. It&#039;s useful when writing many chaotic pages of notes as you crawl through dozens of publications on a particular topic you&#039;re researching, or when making a slide presentation in &lt;a href=&quot;http://en.wikipedia.org/wiki/Beamer_%28LaTeX%29&quot;&gt;Beamer&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;[tex]&lt;br /&gt;\usepackage{bibentry}&lt;br /&gt;&lt;br /&gt;\begin{document}&lt;br /&gt;&lt;br /&gt;% don&#039;t show the full list of references&lt;br /&gt;\nobibliography*&lt;br /&gt;&lt;br /&gt;% include the bibtex file&lt;br /&gt;\bibliography{database}&lt;br /&gt;&lt;br /&gt;% reference individual bibtex entry &#039;bla&#039;&lt;br /&gt;\bibentry{bla}&lt;br /&gt;&lt;br /&gt;% define the style of the bibentry citation&lt;br /&gt;\bibliographystyle{style}&lt;br /&gt;&lt;br /&gt;\end{document}&lt;br /&gt;[/tex]&lt;br /&gt;&lt;br /&gt;Another way is to use the &lt;code&gt;biblatex&lt;/code&gt; package. Note, that at least in Ubuntu, you need to &lt;code&gt;biblatex&lt;/code&gt; doesn&#039;t come even with the full install of &lt;code&gt;texlive-all&lt;/code&gt; and needs to be added seperately in the repository as a package of the same name.&lt;br /&gt;&lt;br /&gt;[tex]&lt;br /&gt;% &#039;style&#039; can be defined as options to this command&lt;br /&gt;\usepackage{biblatex}&lt;br /&gt;&lt;br /&gt;% \jobname is the name of this file&lt;br /&gt;\addbibresource{\jobname.bib}&lt;br /&gt;&lt;br /&gt;\begin{document}&lt;br /&gt;&lt;br /&gt;% full bibliography section if you like&lt;br /&gt;\printbibliography&lt;br /&gt;&lt;br /&gt;% &#039;bla&#039; is the bibtex entry label&lt;br /&gt;\fullcite{bla}&lt;br /&gt;&lt;br /&gt;\end{document}&lt;br /&gt;[/tex]</description>
      <link>http://lexfridman.com/blogs/research/?p=252</link>
      <pubDate>Sat, 28 Jan 2012 16:27:43 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/research/?p=252</guid>
    </item>
    <item>
      <title>Poetry: without good reason to look up and smile</title>
      <description>the old train approaches&lt;br /&gt;wakes up the rats, the pigeons, the roaches&lt;br /&gt;to the familiar taste of urine-soaked ground&lt;br /&gt;the rush of white light and god&#039;s industrial sound&lt;br /&gt;&lt;br /&gt;people crunch closer, crossing the line&lt;br /&gt;shoe laces swim on torn brown swine&lt;br /&gt;we&#039;re brothers in arms, running down time&lt;br /&gt;long without good reason to look up and smile</description>
      <link>http://lexfridman.com/poetry/without-good-reason-to-look-up-and-smile</link>
      <pubDate>Thu, 26 Jan 2012 00:21:52 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/without-good-reason-to-look-up-and-smile</guid>
    </item>
    <item>
      <title>Thoughts: Why Not Talk Politics and Religion</title>
      <link>http://lexfridman.com/blogs/thoughts/?p=822</link>
      <pubDate>Sun, 22 Jan 2012 22:52:57 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/thoughts/?p=822</guid>
    </item>
    <item>
      <title>Poetry: the punchline of a dying romance</title>
      <description>watch the fingers of a trembling hand&lt;br /&gt;as we both sink into our sweatpants&lt;br /&gt;and take our salivary glands&lt;br /&gt;to build up to the punchline of a dying romance</description>
      <link>http://lexfridman.com/poetry/the-punchline-of-a-dying-romance</link>
      <pubDate>Fri, 20 Jan 2012 02:02:28 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/the-punchline-of-a-dying-romance</guid>
    </item>
    <item>
      <title>Research: Backward Compatibility in C++ Libraries</title>
      <link>http://lexfridman.com/blogs/research/?p=247</link>
      <pubDate>Thu, 19 Jan 2012 23:30:55 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/research/?p=247</guid>
    </item>
    <item>
      <title>Thoughts: Hard Work or Hardly Working</title>
      <link>http://lexfridman.com/blogs/thoughts/?p=813</link>
      <pubDate>Sat, 14 Jan 2012 22:56:20 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/thoughts/?p=813</guid>
    </item>
    <item>
      <title>Thoughts: Ron Paul&#039;s Base is the Forever Young</title>
      <link>http://lexfridman.com/blogs/thoughts/?p=804</link>
      <pubDate>Thu, 12 Jan 2012 00:01:51 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/thoughts/?p=804</guid>
    </item>
    <item>
      <title>Poetry: won&#039;t return the books i owe</title>
      <description>won&#039;t return the books i owe&lt;br /&gt;to the people who want them back most&lt;br /&gt;would like to remain the butter on their toast&lt;br /&gt;and melt into the tension of their daily being&lt;br /&gt;&lt;br /&gt;won&#039;t respond to people i love&lt;br /&gt;maybe they&#039;ll wonder where i&#039;m fleeing&lt;br /&gt;maybe they&#039;ll write searching for meaning&lt;br /&gt;and add a smiley after a dry but witty poke&lt;br /&gt;&lt;br /&gt;</description>
      <link>http://lexfridman.com/poetry/wont-return-the-books-i-owe</link>
      <pubDate>Sun, 08 Jan 2012 23:20:50 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/wont-return-the-books-i-owe</guid>
    </item>
    <item>
      <title>Thoughts: Vermin Supreme: If Not For Parody, I Would Almost Take Politics Seriously</title>
      <description>I disconnected myself from the internet all weekend, and now, Sunday night, am checking political news. Luckily, the first thing I stumbled across is a man dressed as a wizard on C-SPAN making an argument about why he should be president. This I believe is all I need to learn on the urgent matter of the republican primary coming up on Tuesday in New Hampshire.&lt;br /&gt;&lt;br /&gt;http://www.youtube.com/watch?v=4d_FvgQ1csE&lt;br /&gt;&lt;br /&gt;He embodies the absurdity of the political circus. And even though he is essentially a joke candidate, I can&#039;t help but imagine that he is not so different from the destructive dictators that have gained power all over the world throughout the past century.&lt;br /&gt;&lt;br /&gt;I closed Google News after watching the above short clip and was content to resume reading academic papers where there are no clowns in giant hats and the game is played with a slightly more honorable intention.</description>
      <link>http://lexfridman.com/blogs/thoughts/?p=807</link>
      <pubDate>Sun, 08 Jan 2012 20:19:45 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/thoughts/?p=807</guid>
    </item>
    <item>
      <title>Poetry: the hairy details on a man&#039;s head</title>
      <description>people forget, even the hairy details&lt;br /&gt;on a man&#039;s head, coarse eye brows begging&lt;br /&gt;to be noticed, awkwardly dragging&lt;br /&gt;the conversation through memory lane.&lt;br /&gt;your lips are sweet but your heart is full of pain&lt;br /&gt;since nowhere will the story turn its course.&lt;br /&gt;the end was waiting here from the very beginning.</description>
      <link>http://lexfridman.com/poetry/the-hairy-details-on-a-mans-head</link>
      <pubDate>Sun, 25 Dec 2011 15:59:19 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/the-hairy-details-on-a-mans-head</guid>
    </item>
    <item>
      <title>Poetry: the too late goodbye</title>
      <description>swallow if you must the coffee as it burns the cracking tongue.&lt;br /&gt;allow the meanness of travel for the too late goodbye&lt;br /&gt;to make this old heart and gas tank cringe and cry&lt;br /&gt;for the grand schemes that can&#039;t even make the grandkids stumble</description>
      <link>http://lexfridman.com/poetry/the-too-late-goodbye</link>
      <pubDate>Fri, 18 Nov 2011 00:47:54 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/the-too-late-goodbye</guid>
    </item>
    <item>
      <title>Poetry: another bag of wrinkled skin</title>
      <description>god&#039;s eyes rise briefly over the cards&lt;br /&gt;to greet another bag of wrinkled skin&lt;br /&gt;i dare say a great mind sleeps within&lt;br /&gt;but god&#039;s already checking on the river</description>
      <link>http://lexfridman.com/poetry/another-bag-of-wrinkled-skin</link>
      <pubDate>Mon, 14 Nov 2011 00:07:12 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/another-bag-of-wrinkled-skin</guid>
    </item>
    <item>
      <title>Poetry: the stab wounds do not mean to stare</title>
      <description>people fake the juicy bits&lt;br /&gt;and leave the honest bait for fools&lt;br /&gt;carried out on streams of drool&lt;br /&gt;into the abyss of half covered tits&lt;br /&gt;&lt;br /&gt;it&#039;s that time of year, time of night&lt;br /&gt;time to breath, unzip, and pee&lt;br /&gt;hope that the answer is not &quot;not to be&quot;&lt;br /&gt;as the pumpkin admires a penis in low light&lt;br /&gt;&lt;br /&gt;you never know but you assume&lt;br /&gt;the stab wounds do not mean to stare&lt;br /&gt;your enemies will take your chair&lt;br /&gt;if you dare to resume&lt;br /&gt;&lt;br /&gt;your role, sincere or otherwise,&lt;br /&gt;here, on earth, on halloween.&lt;br /&gt;you are not and never were eighteen&lt;br /&gt;but damn it you will die trying</description>
      <link>http://lexfridman.com/poetry/the-stab-wounds-do-not-mean-to-stare</link>
      <pubDate>Sat, 29 Oct 2011 19:55:06 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/the-stab-wounds-do-not-mean-to-stare</guid>
    </item>
    <item>
      <title>Poetry: i can only take you one drunk text at a time</title>
      <description>i opened a two-year old cheap bottle of wine&lt;br /&gt;and poured some in a cup to make a fruit fly trap.&lt;br /&gt;&lt;br /&gt;it was your favorite wine when we were together.&lt;br /&gt;perhaps if i could stand you, it would still be your favorite wine.&lt;br /&gt;&lt;br /&gt;but i can only take you one drunk text at a time.&lt;br /&gt;though in that dosage, you are almost a flower.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
      <link>http://lexfridman.com/poetry/i-can-only-take-you-one-drunk-text-at-a-time</link>
      <pubDate>Fri, 28 Oct 2011 00:52:33 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/i-can-only-take-you-one-drunk-text-at-a-time</guid>
    </item>
    <item>
      <title>Poetry: the lenin of my russian revolution</title>
      <description>she began as the lenin&lt;br /&gt;of my russian revolution&lt;br /&gt;and ended as the stalin&lt;br /&gt;of my rush to take berlin&lt;br /&gt;&lt;br /&gt;we had signed our&lt;br /&gt;war powers resolution&lt;br /&gt;but that did little to avert&lt;br /&gt;the escalation in our vietnam</description>
      <link>http://lexfridman.com/poetry/the-lenin-of-my-russian-revolution</link>
      <pubDate>Sun, 09 Oct 2011 00:41:57 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/the-lenin-of-my-russian-revolution</guid>
    </item>
    <item>
      <title>Poetry: stuck on a comma</title>
      <description>the blink of a light-bulb&lt;br /&gt;the healthy food&#039;s done&lt;br /&gt;if the world were to crumble&lt;br /&gt;i would miss everyone&lt;br /&gt;&lt;br /&gt;it&#039;s cold and it&#039;s tired&lt;br /&gt;when a girl&#039;s not around&lt;br /&gt;to look and to wonder&lt;br /&gt;where we are and where we&#039;re bound&lt;br /&gt;&lt;br /&gt;stuck on a comma&lt;br /&gt;dark coffee on my breath&lt;br /&gt;trying hard not to finish&lt;br /&gt;a poem with the word death</description>
      <link>http://lexfridman.com/poetry/stuck-on-a-comma</link>
      <pubDate>Tue, 04 Oct 2011 17:59:16 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/poetry/stuck-on-a-comma</guid>
    </item>
    <item>
      <title>Research: WampServer vs XAMPP</title>
      <link>http://lexfridman.com/blogs/research/2011/09/11/wampserver-vs-xampp/</link>
      <pubDate>Sun, 11 Sep 2011 15:50:33 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/research/2011/09/11/wampserver-vs-xampp/</guid>
    </item>
    <item>
      <title>Research: Sorting a Sorted List in C++</title>
      <link>http://lexfridman.com/blogs/research/?p=218</link>
      <pubDate>Mon, 04 Jul 2011 15:14:04 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/research/?p=218</guid>
    </item>
    <item>
      <title>Research: Auto Save Files in Emacs</title>
      <description>&lt;span style=&quot;font-size: 16px; font-family: Georgia, &#039;Bitstream Charter&#039;, serif; line-height: 24px;&quot;&gt;I&#039;m resolving to make more frequent and regular posts on this &quot;research&quot; blog that&#039;s so far has been just a place where I write down some basic tips and tricks that have to do with tools I use in programming (which is just one part of my research life). I&#039;m not sure it&#039;s ever going to be more than that. I take an enormous amounts of notes offline, but never quite make the effort to convert those notes into a form that I&#039;m comfortable making public.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Anyway, to the topic of the post... &lt;a title=&quot;Auto-Save Files in Emacs&quot; href=&quot;http://www.gnu.org/software/libtool/manual/emacs/Auto-Save-Files.html&quot;&gt;auto-save functionality in Emacs&lt;/a&gt;. By default, Emacs auto-saves a buffer with changes in it to the same directory as the file opened in the buffer, but adds a character such as # or ~ to the beginning or end.&lt;br /&gt;&lt;br /&gt;This auto-savin&#039; can be turned off with:&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;(setq make-backup-files nil)&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;But today I turned it back on, and decided, since I use SVN anyway for versioning, that I will auto-save into the same file. This is achieved with the following:&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;(setq auto-save-visited-file-name t)&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;Also, I turned up the rate at which Emacs auto-saves the files.&lt;br /&gt;&lt;br /&gt;[code]&lt;br /&gt;(setq auto-save-interval 20) ; twenty keystrokes&lt;br /&gt;(setq auto-save-timeout 10) ; ten idle seconds&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;Some useful links:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;	&lt;li&gt;&lt;a title=&quot;StackOverflow: Controlling when emacs makes backup files&quot; href=&quot;http://stackoverflow.com/questions/4702845/how-do-i-control-when-emacs-makes-backup-files&quot;&gt;SO: controlling when emacs makes backup files&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;</description>
      <link>http://lexfridman.com/blogs/research/?p=206</link>
      <pubDate>Sun, 26 Jun 2011 22:41:29 EST</pubDate>
      <guid isPermaLink="true">http://lexfridman.com/blogs/research/?p=206</guid>
    </item>
  </channel></rss>
