<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for fzort</title>
    <link>http://www.advogato.org/person/fzort/</link>
    <description>Advogato blog for fzort</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Fri, 10 Feb 2012 15:47:03 GMT</pubDate>
    <item>
      <pubDate>Tue, 7 Feb 2012 12:30:03 GMT</pubDate>
      <title>7 Feb 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=204</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=204</guid>
      <description>&lt;a href="http://advogato.org/person/cdfrey/diary/90.html" &gt;cdfrey&lt;/a&gt;: Thank you. :-)&lt;br/&gt;
&lt;br/&gt;
&lt;span style="font-size:small"&gt;(Back when dinosaurs roamed the Earth, I wrote this useless toy C compiler that generated exactly the same assembly code for &lt;tt&gt;if (a) b; else c;&lt;/tt&gt; and &lt;tt&gt;a?b:c&lt;/tt&gt;. I guess the task was made somewhat easier by the fact that the only data types it knew about were int, pointers and arrays.)&lt;/span&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 6 Feb 2012 21:22:47 GMT</pubDate>
      <title>6 Feb 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=203</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=203</guid>
      <description>&lt;b&gt;SHUT THE F* UP&lt;/b&gt;&lt;br/&gt;
&lt;br/&gt;
Some people at the office keep talking &lt;b&gt;all day long&lt;/b&gt;. The only way I can get anything done is with headphones and &lt;tt&gt;mpg123 -z slayer_-_raining_blood.mp3&lt;/tt&gt;. I'd rather listen to Philip Glass, honest, but I need something to cover the background noise. I'll go deaf in a few months if I keep this up.&lt;br/&gt;
&lt;br/&gt;
There are times when I feel trapped in purgatory; a lifeless object, alive.&lt;br/&gt;
&lt;br/&gt;
This is why I need to start my own business. Something related to games. Maybe a multiplayer strip poker operation, hosted on the Cayman Islands. Something classy like that.&lt;br/&gt;
&lt;br/&gt;
&lt;b&gt;DEAR C++ GURUS&lt;/b&gt;&lt;br/&gt;
&lt;br/&gt;
Please explain why the commented out line is not allowed:&lt;br/&gt;
&lt;br/&gt;
&lt;tt&gt;&lt;br/&gt;
struct foo { };&lt;br/&gt;
struct bar : foo { };&lt;br/&gt;
struct baz : foo { };&lt;br/&gt;
&lt;br/&gt;
foo *doit(bool which)&lt;br/&gt;
{&lt;br/&gt;
#if 0&lt;br/&gt;
        return which ? new bar : new baz;&lt;br/&gt;
#else&lt;br/&gt;
        if (which) return new bar; else return new baz;&lt;br/&gt;
#endif&lt;br/&gt;
}&lt;br/&gt;
&lt;/tt&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 12 Jan 2012 14:04:39 GMT</pubDate>
      <title>12 Jan 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=202</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=202</guid>
      <description>Game development proceeds apace.&lt;br/&gt;
&lt;br/&gt;
(I've been meaning to use the word "apace" for a long time.)</description>
    </item>
    <item>
      <pubDate>Tue, 10 Jan 2012 09:29:57 GMT</pubDate>
      <title>10 Jan 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=201</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=201</guid>
      <description>&lt;b&gt;Recent spamming&lt;/b&gt;&lt;br/&gt;
&lt;br/&gt;
This is an embarrassment, people. Srsly. Aren't we supposed to be hackers here?&lt;br/&gt;
&lt;br/&gt;
A while ago I suggested adding e-mail confirmation for new accounts. But here's an even simpler idea: since these idiots can't even understand what &lt;tt&gt;nofollow&lt;/tt&gt; means, why don't we just filter out hyperlinks for observer journal entries? Replace them with the text "&lt;b&gt;[filtered]&lt;/b&gt;" or something.&lt;br/&gt;
&lt;br/&gt;
I haven't touched the mod_virgule code in a while, but that would be a piece of cake to implement. I'd do that, if only I knew there would be a dim possibility of the patch getting considered.</description>
    </item>
    <item>
      <pubDate>Mon, 9 Jan 2012 18:26:34 GMT</pubDate>
      <title>9 Jan 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=200</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=200</guid>
      <description>So there's a new game demo development contest sponsored by Intel going on.&lt;br/&gt;
&lt;br/&gt;
I started to work on &lt;a href="http://www.youtube.com/watch?v=2SHAg9hZmDU" &gt;something&lt;/a&gt; for the previous installment of the contest but failed to finish it before the deadline, even though I got a lot of coding done and, when the going got tough, didn't get much sleep for almost two months (while somehow managing to keep my day job). I shouldn't have gotten derailed experimenting with things that didn't add to the gameplay experience, like dynamic soft shadows.&lt;br/&gt;
&lt;br/&gt;
But the biggest trap I got myself into was trying to work with other people, thinking that I wouldn't be able to handle everything by myself. "Artist" types. Hate them all. In the end they didn't get anything done other than complain and bug me about how they wouldn't be able to do anything unless I implemented normal mapping or whatever. I ended up doing the modeling myself (the &lt;a href="http://www.fzort.org/mpr/junk/player-ship.png" &gt;player ship&lt;/a&gt; turned out okay for a coder, eh?), but by then it was already too late.&lt;br/&gt;
&lt;br/&gt;
I've learned my lesson and will make it this year.&lt;br/&gt;
&lt;br/&gt;
Why am I blogging about this here? It's not even a free software project. Ah well, I guess this is more topical than &lt;person&gt;proclus&lt;/person&gt;' political ranting.</description>
    </item>
    <item>
      <pubDate>Tue, 3 Jan 2012 14:01:10 GMT</pubDate>
      <title>3 Jan 2012</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=199</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=199</guid>
      <description>It's been a while. Oh crap, is it really 2012 already?&lt;br/&gt;
&lt;br/&gt;
So what have I been up to?&lt;br/&gt;
&lt;br/&gt;
I've been &lt;strike&gt;wasting&lt;/strike&gt; investing a ridiculous amount of time trying to learn Japanese. It's a nutso language, especially the writing system. Seriously. And I used to think that English was weird. Being able to read, say, a sci-fi novel written in Japanese without a dictionary is looking more and more like a pipe dream. I should have gone with, say, Mandarin instead, which looks a lot more sane (and more useful these days). Anyway, along the way I wrote a couple of programs to help (?) me with my learning (??).&lt;br/&gt;
&lt;br/&gt;
The first one (which I still use every day) was a flash card program to practice vocabulary and kanji. That one's not too interesting.&lt;br/&gt;
&lt;br/&gt;
Then I wrote a Missile Command clone to practice kanji. &lt;a href="http://www.youtube.com/watch?v=HNyO0Ei0iiM" &gt;Here&lt;/a&gt;'s a YouTube video. And &lt;a href="https://github.com/fzort/yomouze" &gt;here&lt;/a&gt;'s the code.&lt;br/&gt;
&lt;br/&gt;
Then I wrote a typespeed clone with kanji. (&lt;a href="http://www.youtube.com/watch?v=GCtzHeecrk0" &gt;YouTube video&lt;/a&gt;. &lt;a href="https://github.com/fzort/nihongo-tools" &gt;Code&lt;/a&gt;.)&lt;br/&gt;
&lt;br/&gt;
Then I wanted to try out Android programming and started to write a Tetris clone with kanji. (&lt;a href="http://www.youtube.com/watch?v=2KNOB3JRNMM" &gt;YouTube video&lt;/a&gt;. &lt;a href="https://github.com/fzort/kasui" &gt;Code&lt;/a&gt;.) Yes, of course I'm not using Java. Java, as we all know, sucks. There's a tiny Java wrapper but most of the code is under the jni/ directory, and I can compile a stand-alone Linux version with SDL/OpenGL.&lt;br/&gt;
&lt;br/&gt;
I started to use C++ for my personal coding, which is a lot more fun than C. Unfortunately my C++ code has yuck-inducing raw pointers all over the place (oh hi &lt;person&gt;ncm&lt;/person&gt;).&lt;br/&gt;
&lt;br/&gt;
This concludes our blogging for the year of 2012. Thank you, you've been a lovely audience.&lt;br/&gt;
&lt;br/&gt;
(Actually, I have a Japanese-language blog somewhere else but I'm not telling you where it is! Muhahah!)</description>
    </item>
    <item>
      <pubDate>Tue, 4 Oct 2011 22:02:46 GMT</pubDate>
      <title>4 Oct 2011</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=198</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=198</guid>
    </item>
    <item>
      <pubDate>Wed, 23 Mar 2011 22:24:35 GMT</pubDate>
      <title>23 Mar 2011</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=197</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=197</guid>
      <description>I uploaded my kanji Missile Command typing game thingie to&#xD;
GitHub (the &lt;a href="https://github.com/fzort/yomouze" &gt;ugly&#xD;
code is here&lt;/a&gt;). Is there a license like the WTFPL, but,&#xD;
er, nicer?&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; I really want to finish this game. However, my&#xD;
desktop machine at home decided to finally bite the dust this&#xD;
week, after many years of heroic struggle. Gah.</description>
    </item>
    <item>
      <pubDate>Tue, 22 Mar 2011 23:53:46 GMT</pubDate>
      <title>22 Mar 2011</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=196</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=196</guid>
      <description>&lt;a href="http://advogato.org/person/ncm/diary/414.html" &gt;ncm&lt;/a&gt;: I&#xD;
thought that apenwarr's&#xD;
&lt;a href="http://advogato.org/person/apenwarr/diary/597.html" &gt;diary&#xD;
entry&lt;/a&gt; was a bit puzzling, too. I don't hold a candle&#xD;
to Avery's hacking superpowers, but isn't that, er, trivial?&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;pre&gt;&#xD;
parse_term()&#xD;
{&#xD;
  r = parse_factor();&#xD;
  if (get_token() == '*')&#xD;
    r *= parse_factor();&#xD;
  else&#xD;
    unget_token();&#xD;
  return r;&#xD;
}&#xD;
parse_expr()&#xD;
{&#xD;
  r = parse_term();&#xD;
  if (get_token() == '+')&#xD;
    r += parse_term();&#xD;
  else&#xD;
    unget_token();&#xD;
  return r;&#xD;
}&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; Should make * have higher precedence than +, right?</description>
    </item>
    <item>
      <pubDate>Fri, 18 Mar 2011 22:23:27 GMT</pubDate>
      <title>18 Mar 2011</title>
      <link>http://www.advogato.org/person/fzort/diary.html?start=195</link>
      <guid>http://www.advogato.org/person/fzort/diary.html?start=195</guid>
      <description>&lt;a href="http://advogato.org/person/cdfrey/diary/82.html" &gt;cdfrey&lt;/a&gt;:&#xD;
I'll openly stereotype and state that I consider the&#xD;
Japanese some of the nicest, kindest, hardest working, least&#xD;
selfish&#xD;
people on the planet. Of course, every group has its bad&#xD;
apples, but I get a bit envious when I compare certain&#xD;
aspects of their culture with that of my own country. Do you&#xD;
know of any other place where schools, both public and&#xD;
private, are &lt;a href="http://www.usnews.com/usnews/news/articles/070318/26pitchin.htm" &gt;cleaned&#xD;
by students and teachers&lt;/a&gt; &lt;sup&gt;[1]&lt;/sup&gt;? (Maybe that's&#xD;
why they&#xD;
never litter.) Stereotype it may be, but one that is&#xD;
supported by their admirable behavior throughout this&#xD;
catastrophe (no looting, people helping each other).&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I don't want to have anything to do with a&#xD;
spiteful god that punishes such people.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I'm sorry for my earlier offensive (and quite&#xD;
crackpotish)&#xD;
diary entry, but a comment I read somewhere really pushed my&#xD;
buttons. I understand that one can be a Christian and not&#xD;
think that way &lt;sup&gt;[2]&lt;/sup&gt;. I&#xD;
was going to delete that diary entry, but I&#xD;
suppose that now it's a bit late and I'll just have to own&#xD;
it up.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; And yes, I donated to the Haiti relief&#xD;
efforts, too.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p style="font-size: small"&gt;[1] when I&#xD;
commented on&#xD;
this to&#xD;
my Japanese friend, she was quite surprised. "What do you&#xD;
mean? It&#xD;
isn't like that in your country? Who does the cleaning, then?"&#xD;
&lt;p style="font-size: small"&gt;[2] I still love you, Don Knuth.</description>
    </item>
  </channel>
</rss>

