<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Daniel Mai]]></title>
  <link href="http://danielmai.net/atom.xml" rel="self"/>
  <link href="http://danielmai.net/"/>
  <updated>2016-07-16T10:55:19-07:00</updated>
  <id>http://danielmai.net/</id>
  <author>
    <name><![CDATA[Daniel Mai]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    
    <title type="html"><![CDATA[Emacs Tutorial Videos]]></title>
    <link href="http://danielmai.net/2015/10/11/emacs-the-one-true-editor/"/>
    
    <updated>2015-10-11T01:04:00-07:00</updated>
    <id>http://danielmai.net/2015/10/11/emacs-the-one-true-editor</id>
    
    <content type="html"><![CDATA[<p>Emacs is one of the main tools I use on a daily basis. It&rsquo;s the best text editor I&rsquo;ve used and I continue to learn about it&rsquo;s seemingly infinite amount of features and extensibility as I invest more time into it. I went to <a href="http://emacsconf2015.org/">Emacs Conf 2015</a> in SF back in August and it further emphasized how incredible Emacs and the people that use it are.</p>

<p>Over the past several months a colleague and I have been working together on creating <a href="https://www.youtube.com/channel/UCGM8KgUXqsS4d8-4rgWRWKg">a series of videos</a> to get the word out on how awesome Emacs is. We have a handful of videos published so far, and have slowly been getting feedback and people subscribing. It&rsquo;s pretty exciting that people want to learn more about Emacs with our channel. People started posting links to our videos on reddit (such as <a href="https://www.reddit.com/r/emacs/comments/3l9uqx/a_youtube_channel_by_daniel_mai_and_duran_for/">here</a> and <a href="https://www.reddit.com/r/emacs/comments/3mqirx/my_init_file_looks_a_lot_cleaner_now_with_orgmode/">here</a>). Even <a href="http://irreal.org/blog/?p=4635">a blog that I personally follow posted about one of our videos</a>.</p>

<p>If you ever wondered what makes Emacs awesome or have wanted to learn, you can check out our channel. We&rsquo;ll be making more videos in the future!</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[No Better Time]]></title>
    <link href="http://danielmai.net/2015/05/02/no-better-time/"/>
    
    <updated>2015-05-02T21:07:00-07:00</updated>
    <id>http://danielmai.net/2015/05/02/no-better-time</id>
    
    <content type="html"><![CDATA[<p>I&rsquo;ve been thinking a lot about 9/11 lately. Not that unsurprising,
since I watched <em>Extremely Loud and Incredibly Close</em> and read <em>No
Better Time: The Brief, Remarkable Life of Danny Lewin, the Genius Who
Transformed the Internet</em> recently. It brings home the point that our
time alive is quite short. What&rsquo;s also interesting is how we can
relive the past (at least, mentally).</p>

<p>It&rsquo;s quite interesting that time can repeat itself in our minds based on
how much we cling onto our memories from a certain time, or even how
much of the event has been recorded. 9/11 is arguably one of the most
recorded terrorist attacks in history. The timeline of the attacks are
documented with details to the <em>second</em><sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>. To me, time feels
frighteningly slow as every next detail is accompanied with a timestamp.
It wasn&rsquo;t hard to read the roughly 200 pages of <strong>No Better Time</strong>, but
the death of Danny Lewin, who is arguably the first person killed in the
9/11 attacks, doesn&rsquo;t happen until the very last pages of the book. And
the final pages of the book are where I probably read the slowest.</p>

<p>Hundreds of pages are spent on the Lewin&rsquo;s life, with his notable
achievements being in the military, starting a family, going into the
Ph.D program at MIT, and working to end the World Wide Wait of the
internet during the 90s. This all sets the stage for the climax of the
book. The climax reveals the irony of Lewin&rsquo;s life, as one of the
motivations of ending the World Wide Wait was to prevent high traffic
sites such as the news from crashing when breaking news
occurred&mdash;-breaking news like 9/11, when the phone and radio lines went
down, yet the web continued serving news thanks to Lewin&rsquo;s work.</p>

<p>If Danny were still alive, I would have loved to have dinner with him,
if not just to experience his invigorating character. The closest
things I&rsquo;ll have now are the stories about him and the published
papers (<a href="http://www.akamai.com/dl/technical_publications/ConsistenHashingandRandomTreesDistributedCachingprotocolsforrelievingHotSpotsontheworldwideweb.pdf">here&rsquo;s one</a>) with his name that were critical to
speeding up the Internet for everyone.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>Read it all on Wikipedia. The flight events alone are incredibly detailed: <a href="https://en.wikipedia.org/wiki/American_Airlines_Flight_11">American Airlines Flight 11</a>, <a href="https://en.wikipedia.org/wiki/United_Airlines_Flight_175">United Airlines Flight 175</a>, <a href="https://en.wikipedia.org/wiki/United_Airlines_Flight_93">United Airlines Flight 93</a>, and <a href="https://en.wikipedia.org/wiki/American_Airlines_Flight_77">American Airlines Flight 77</a>.<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[General game playing]]></title>
    <link href="http://danielmai.net/2015/04/05/general-game-playing/"/>
    
    <updated>2015-04-05T23:22:00-07:00</updated>
    <id>http://danielmai.net/2015/04/05/general-game-playing</id>
    
    <content type="html"><![CDATA[<p>A colleague got me started reading about and taking a course on general game playing. The idea sounds pretty insane: Programs that are designed to play games in general. The game it plays could be chess, checkers, or even go fish&mdash;-and the program could be playing them simultaneously. There are tons of other games the program could play. It isn&rsquo;t any and all of them, since there are some finite restrictions and rules that GGP and the language that describes games must follow.</p>

<p>General game-playing programs do not know the rules of the game ahead of time. As such, they are based on concepts that games have in general; for instance, each game has players, legal moves to make, and conditions that indicate that the game is over. For example, tic-tac-toe involves two players, where each player takes turns marking Xs or Os on the board, and the game-over condition is when there&rsquo;s a line of matching Xs and Os or if the board doesn&rsquo;t have any blank spaces. Chess, go fish, and other games follow the same structure as well, although the specific game rules are different.</p>

<p>There&rsquo;s always been research about computers being smart enough to beat people at games (<a href="http://en.wikipedia.org/wiki/Deep_Blue_(chess_computer)">famously for chess</a>). They&rsquo;ve been done for years. What makes general game playing programs different is that they are not specialized for any particular game.</p>

<p>It&rsquo;s crazy to think that a single program can be used to play different games, given that the games are described in a way that the program can understand. In general, games are just a series of states that change as the game progresses, so the program just inspects the states and makes moves accordingly. Unsurprisingly, games are just represented by a state machine. How fortunate, given that I&rsquo;m currently learning about them in <a href="http://info.sjsu.edu/web-dbgen/catalog/courses/CS154.html">CS 154</a> as well.</p>

<p>In related news, I watched <a href="https://www.youtube.com/watch?v=T1O3ikmTEdA">Peter Norvig&rsquo;s talk on How Computers Learn</a> today, which was great. He talks about machine learning and some of the work that Google&rsquo;s done with it in clear language without much jargon. The entire talk was interesting, though the part where (at <a href="https://youtu.be/T1O3ikmTEdA?t=2632">time 43:52</a> of the video) he talks about a computer learning how to play the game Breakout and getting really good at it is sort of relevant to the topic for this post. Though it&rsquo;s not a general way to play games, just having the program learn from its past experience, and all it knows are the pixels on the screen and the score. The computer gets pretty good at playing the game after being extremely dumb from its first time playing and getting pretty good at the game after hundreds of play sessions.</p>

<p>Applying that same technique to GGP is probably not feasible. Since the program doesn&rsquo;t know what kind of game it&rsquo;s going to play, it can&rsquo;t really build on past experience and say that certain techniques are better than others. It could be playing tic-tac-toe in one round and chess in the next round, and each game has their own winning strategies.</p>

<p>A good way to make moves without basing it on prior knowledge is to &ldquo;inspect the future&rdquo; by checking future possible moves and seeing which move is best, statistically speaking. This is what, from what I&rsquo;ve read so far, the papers on GGP have written about.</p>

<p>Though I haven&rsquo;t heard about general game playing at all until this past weekend, it&rsquo;s pretty interesting. If you want to follow along and learn more about GGP, check out <a href="https://www.coursera.org/course/ggp">the General Game Playing course on Coursera</a> or <a href="http://www.ggp.org/">ggp.org</a>.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Dwindling photography]]></title>
    <link href="http://danielmai.net/2015/03/31/dwindling-photography/"/>
    
    <updated>2015-03-31T23:54:00-07:00</updated>
    <id>http://danielmai.net/2015/03/31/dwindling-photography</id>
    
    <content type="html"><![CDATA[<p>Lately I haven&rsquo;t been taking as many photos as I&rsquo;ve used to. I&rsquo;m always interested in seeing photos that were taken many years ago for the nostalgia, but lately I haven&rsquo;t been taking any pictures, which means a lack of photos for me to look back on in the future. I haven&rsquo;t been finding them as valuable, even though I get a kick out of seeing a photo from years ago and reminiscing about the past.</p>

<p>I was partly enlightened while listening to <a href="http://5by5.tv/cmdspace/28">episode 28 of Cmd+Space</a> some time last year. It&rsquo;s a great episode with John Roderick. About 20 minutes into the podcast, John talks about the current culture to &ldquo;compulsively record things,&rdquo; and that some people don&rsquo;t believe something happened if there isn&rsquo;t a picture of the event as well. Or rather, they&rsquo;re disappointed that there aren&rsquo;t any pictures. So I&rsquo;ve been taking much fewer photos lately, and I don&rsquo;t feel like I&rsquo;ve been missing out on much.</p>

<p>By not taking pictures of anything and everything, I feel that I&rsquo;m more focused of my surroundings and the people around me and less on capturing the moment with a few photos. It&rsquo;s very much a <a href="https://www.youtube.com/watch?v=Z7dLU6fk9QY">Look Up</a> argument (though I still constantly use a computer).</p>

<p>It&rsquo;s easier to forget without photos, which leads me to choose what memories to cherish mentally.</p>

<p>Here&rsquo;s to more valued memories.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Some educational learning thoughts]]></title>
    <link href="http://danielmai.net/2015/01/18/some-educational-learning-thoughts/"/>
    
    <updated>2015-01-18T23:10:00-08:00</updated>
    <id>http://danielmai.net/2015/01/18/some-educational-learning-thoughts</id>
    
    <content type="html"><![CDATA[<p>One of the goals that I set for myself before starting college was
that I <em>had</em> to get straight-A grades for my classes in school. How
hard can it be (it&rsquo;s SJSU, after all)? I felt that I was behind and
below the rest of my friends who went to more prestigious colleges.
Getting As would at least mean I&rsquo;m accomplishing the best that I
could, and that I would have a better chance at a future, whatever
that &ldquo;future&rdquo; was going to be for me.</p>

<p>However, after every semester I realize more things about school, and my
priorities have shifted.</p>

<p>One of the first things that I have accepted is that where you go to
school doesn&rsquo;t matter. People have been telling me this repeatedly,
but it took me a while to internalize and accept it. People aren&rsquo;t
defined by the school they attended. In many ways, the institution&rsquo;s
culture affects and shapes our perceptions of the world, given that we
spend around four years within their atmosphere. But you don&rsquo;t
introduce yourself to people by first saying which school you came
from, because that&rsquo;s not interesting at all.</p>

<p>Another thing I&rsquo;ve accepted is that grades are not important, at least
not as important as I thought they were. Every professor has their own
way of grading course work, and yet all grades are considered equally
on a college transcript. Some professors grade on the infamous bell
curve, while other professors hack their grading scales based on
whatever criteria they come up with during the course, extra credit et
al. I waste a lot of time caring about what other people tell me
what&rsquo;s right and wrong, which is time I could instead use to focus on
more important matters, like actual learning.</p>

<p>Reading Salman Khan&rsquo;s book, <em>The One World Schoolhouse</em>, reinforced the
fact that there is plenty wrong about the modern school system, and
not just financially speaking (as much as we complain about the rising
costs of tuition). The issue with our schools is ingrained in the
pedagogy. Sal&rsquo;s book provides a lot of context for why the U.S.
education system is the way it is, how Khan Academy is changing that
space, the purpose of homework, and all sorts of other great points on
education and what the future holds for it.</p>

<p>While reading Sal&rsquo;s book, I had a couple of weeks where I was reading
and watching a whole bunch of Bret Victor and John Taylor Gatto, and
watched the college documentary
<a href="http://www.takepart.com/ivorytower">Ivory Tower</a>. A couple of my favorite
pieces are Bret&rsquo;s
<a href="http://worrydream.com/SomeThoughtsOnTeaching/">thoughts on teaching</a>
and Gatto&rsquo;s
<a href="http://www.cantrip.org/gatto.html"><em>The Six-Lesson Schoolteacher</em></a>.</p>

<p>There was an interesting discussion last month on the College
Opportunity Day of Action about innovation and higher education. The
whole panel discussion is
<a href="https://www.youtube.com/watch?v=YcsIq92XZqw">recorded on YouTube</a>,
and starts an hour into the video and lasts about an hour. One of the
main points was rethinking the perceptions that we have about our
education, but one point that stood out to me (it happens at about
the 1:44:00 timestamp of the video) was one that Freeman
Hrabowski made in the talk about the need to learn how to ask the
right questions. introducing the topic by prefacing it with Isidor
Isaac Rabi growing up in New York and coming home from school with his
grandmother asking him &ldquo;Did you ask a good question today?&rdquo; while his
friends&#8217; mothers would ask their children &ldquo;What did you learn in
school today?&rdquo; His grandmother&rsquo;s question encouraged his curiosity.</p>

<p>What did you learn today?</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Algorithms at the Khan]]></title>
    <link href="http://danielmai.net/2014/11/17/algorithms-at-the-khan/"/>
    
    <updated>2014-11-17T21:09:00-08:00</updated>
    <id>http://danielmai.net/2014/11/17/algorithms-at-the-khan</id>
    
    <content type="html"><![CDATA[<p>Today, Pamela Fox over at Khan Academy <a href="http://cs-blog.khanacademy.org/2014/11/teaching-algorithms-on-khan-academy.html" title="An algorithms course at the Academy">announced the new algorithms course</a> that the Academy is making available to the world.</p>

<p>This is huge. Not only is this another great resource to learn algorithms, this is made alongside Dartmouth professors. This includes one of the authors of the famous CLRS <em>Introduction to Algorithms</em>  book, Tom Cormen. If you had a reason to be skeptical about the quality assurance of the Khan Academy content (which is already great), having the Khan-powered algorithms course being backed by Cormen and his colleague Devin Balkcom should alleviate any doubts.</p>

<p>If I had this and <a href="http://visualgo.net/">VisuAlgo</a> when I took the Data Structures and Algorithms course at SJSU a year ago, I would&rsquo;ve been so happy. The resources I had back then to learn the course material was plenty, but I think would&rsquo;ve spent so much time outside the course with these materials to help me learn.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Look on the bright side]]></title>
    <link href="http://danielmai.net/2014/11/11/look-on-the-bright-side/"/>
    
    <updated>2014-11-11T20:17:00-08:00</updated>
    <id>http://danielmai.net/2014/11/11/look-on-the-bright-side</id>
    
    <content type="html"><![CDATA[<p><img src="http://danielmai.net/images/2014-11-10-bus.jpg" title="Positive man on the bus" alt="A positive man on the bus" /></p>

<p>I took the bus to school yesterday morning. While I was at the bus stop, there was a man there that started to talk with me. As it usually is with strangers, I&rsquo;m hesitant to start a conversation, but I tend not to ignore someone who talks about how nice the weather is for the day.</p>

<p>Of course  innocent conversation starters usually don&rsquo;t end there. This man proceeded to tell me about the morning he had. He was making casserole in the oven, but when he took it out of the oven, the casserole wasn&rsquo;t put in all the way so it fell onto the kitchen floor. &ldquo;I got lucky that it didn&rsquo;t touch my legs! It was really close,&rdquo; he said, while he motioned his hands in the air to imply he was grabbing napkins and cleaning the mess from the oven. What a rough morning.</p>

<p>Our conversation doesn&rsquo;t stop there. He began to talk about the police report he had to write. He pointed out the apartment complex that he lives at not too far away from the bus stop, and he told me that someone broke into his apartment and took everything. And to clarify what he meant by &ldquo;broke into,&rdquo; the robber didn&rsquo;t break his door down—his door was completely fine. Whoever broke into his place used a master key and took photos of all his bank account information, passport, and whatever else was in his apartment. He said people who used to work at the complex were bad enough to take the master key with them after they quit their job.</p>

<p>The reason why he has to write this police report himself is because the police won&rsquo;t write it themselves, and he has to pester them to give his case a police number (making it official in the police records). Apparently whoever owns the apartment complex he&rsquo;s living in has some connection with the police, so the police won&rsquo;t file any reports from that place because that would scare away buyers. If this sounds crazy to you, you&rsquo;re not alone. I was thinking the same thing as this man told me this.</p>

<p>The conversation then proceeds to the topic of crime. He tells me that someone in America gets robbed every 8 seconds, and that a million Americans have to deal with identity theft. He needs to work on the police report without the help of the cops so that he doesn&rsquo;t have to go through any issues about people doing things under his name. &ldquo;If I can make this official, then it&rsquo;ll my proof if somebody ever tries to do something funny, y&#8217;know?&rdquo;</p>

<p>Before we got on the bus, he ended our chat by smiling, saying that it was still a beautiful day that morning. The weather was pretty nice.</p>

<p>At the end of the day, this guy can still smile and look on the bright side. How someone could be happy after all that is astonishing. The man&rsquo;s probably gone through tougher times in his life.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[The Internet's Own Boy]]></title>
    <link href="http://danielmai.net/2014/08/05/the-internets-own-boy/"/>
    
    <updated>2014-08-05T23:12:00-07:00</updated>
    <id>http://danielmai.net/2014/08/05/the-internets-own-boy</id>
    
    <content type="html"><![CDATA[<p>Over the weekend I watched <em>The Internet&rsquo;s Own Boy: The Story of Aaron Swartz</em>. After much anticipation more than a month ago, I wasn&rsquo;t able to watch it in theaters at Bluelight Cinemas with the movie&rsquo;s limited theater release on July 4th.</p>

<p>It wasn&rsquo;t really clear if Bluelight was actually showing the movie. First, Bluelight&rsquo;s website showed it would be showing the movie, and then it showed that it wouldn&rsquo;t. And their automated machine over the phone also didn&rsquo;t mention the movie at all. But the movie&rsquo;s official website said yes, and <a href="https://twitter.com/internetsownboy/status/484756128094371840">@internetsownboy tweeted</a> would be coming to Bluelight as originally scheduled.</p>

<p>It wasn&rsquo;t worth the drive to see if Bluelight was going to show the movie the day it came out. So my friend and I decided to watch it at home whenever we were free again. And so we watched it.</p>

<p>Anyway, the movie&rsquo;s good. It does a good job telling the story of Aaron Swartz in a nutshell (an almost two-hour long nutshell). A lot of the parts of his life you can read about online on his blog or elsewhere, such as Wikipedia. The web of links you find online will lead you to many articles, but it&rsquo;s nice to see it visually documented during the film. I really enjoyed seeing it.</p>

<p>&ldquo;Enjoyed&rdquo; probably not the right word. I suppose I should say that I found it interesting. It&rsquo;s an interesting movie.<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup></p>

<p>I highly recommend a watch. It&rsquo;s available <a href="https://www.youtube.com/watch?v=vXr-2hwTk58">on YouTube</a>. Just <a href="http://www.marco.org/2014/07/04/the-internets-own-boy">as Marco says</a>, you&rsquo;re free to watch it due to the film&rsquo;s Creative Commons license. Yay.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>I told a colleague during lunch that &ldquo;I had fun over the weekend. I watched the Aaron Swartz documentary.&rdquo; His response was &ldquo;That movie doesn&rsquo;t seem like something I would call fun.&rdquo;<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Working at Udacity - Day 1]]></title>
    <link href="http://danielmai.net/2014/07/07/working-at-udacity-day-1/"/>
    
    <updated>2014-07-07T19:59:00-07:00</updated>
    <id>http://danielmai.net/2014/07/07/working-at-udacity-day-1</id>
    
    <content type="html"><![CDATA[<p>Today was my first day of training as a Course Manager at <a href="udacity.com">Udacity</a>. It was really great. I&rsquo;ve only met a handful of people and they&rsquo;ve all been amazingly kind. The office is a pretty relaxing place. I haven&rsquo;t gotten into the nitty gritty yet, but I&rsquo;m excited to learn how to use the teaching and organizational tools of Udacity and actually interact with Udacity students.</p>

<p>I had to set up a new work computer for myself, and I didn&rsquo;t expect it to be so tedious. I really relied on 1Password, Alfred, and Emacs on my own computer, and not having them is a total punch in the gut. Not only did I rely on those programs, but I got really used to the customizations I made, like keyboard shortcuts and Alfred workflows. I should really prepare my own personal set of dotfiles for my preferences (such as <a href="https://github.com/mathiasbynens/dotfiles">this popular one by Mathias Bynens</a> or <a href="https://github.com/magnars/.emacs.d">the amazing magnars&rsquo;s .emacs.d directory</a>. Now I gotta learn how to organize my settings for readability and easy setup in the future. Right now it&rsquo;s a whole kludge of preferences that only I really understand. The lesson to learn from this: personal computers are truly personal, and organization and documentation are really important if I don&rsquo;t want to repeat tedium in the future.</p>

<p>To start, I&rsquo;m gonna see if I can get any tips from <a href="http://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/">Zach Holman&rsquo;s words about dotfiles</a>.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[How's school?]]></title>
    <link href="http://danielmai.net/2014/06/29/hows-school/"/>
    
    <updated>2014-06-29T17:06:00-07:00</updated>
    <id>http://danielmai.net/2014/06/29/hows-school</id>
    
    <content type="html"><![CDATA[<blockquote><p>So, how&rsquo;s school?</p></blockquote>

<p>The dreaded question, to which I just answer &ldquo;It&rsquo;s okay.&rdquo;</p>

<p>I mean, I really don&rsquo;t want to talk about it. I used to believe that school was really awesome. Nowadays, I&rsquo;m not too sure.</p>

<p>I remember in elementary school where I would be really excited about it. Go to school to learn and play with friends, what&rsquo;s there not to like? I was praised for a lot of what I did, like doing well in math<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>, or doing something that seemed &ldquo;out of my capability.&rdquo; In fifth grade I had to give a presentation to second graders on how to make a paper airplane. I typed up a whole page of instructions on Microsoft Word: materials, procedure, observations&mdash;-like a lab report. My teacher was really impressed by the document. There was a parent-teacher meeting not too long after and my teacher showed my page of directions to my parents, telling them how impressed she was. She asked them if they helped me make it or if I did it all by myself. &ldquo;He did it all by himself. I only showed him how to put in the arrows (&rarr;).&rdquo;</p>

<p>That was one of my proud moments in elementary school. Other moments like that include playing the violin at school concerts and making the winning shot in basketball one day during PE.</p>

<p>Then came middle school. I remember graduating from there I thought to myself that I would cherish a lot of memories that I had during middle school. Now, I don&rsquo;t remember much. I was pretty much a typical child, coping with whatever social drama that middle schoolers tend to create. Middle school was pretty strange in hindsight. Classrooms were filled with students with smug attitudes, and some teachers really seemed like they didn&rsquo;t express any motivation to teach us.</p>

<p>One thing I&rsquo;m grateful for about middle school is the handful of friends I&rsquo;ve kept from that time.</p>

<p>In high school, there was less &ldquo;trying to fit in&rdquo; compared to middle school. The group I hung out with were people I liked being around. Socially, it was pretty much the same throughout the four years. That was nice. When I talk to the same people now we have this attitude of &ldquo;be yourself because I don&rsquo;t care how you judge me.&rdquo; We&rsquo;ve spent enough time with each other during high school that we don&rsquo;t need to be shy about ourselves. We don&rsquo;t know everything about each other, but we&rsquo;ve come to accept each other&rsquo;s personality.</p>

<p>I don&rsquo;t know where this post is going. It started with the question &ldquo;how&rsquo;s school&rdquo;, which I assume means academically. But here I am talking about the social aspects of it.</p>

<p>Perhaps school is mainly a social institute first and foremost. We&rsquo;re expected to do group work, interact with others, and survive for about seven hours a day being in a place with other people.</p>

<p>Anyway, let&rsquo;s go back to first line of this post: How&rsquo;s school? To be more specific: How&rsquo;s SJSU?</p>

<p>It&rsquo;s alright. It&rsquo;s not great knowing that even though I&rsquo;m doing well according to my transcript, all that doesn&rsquo;t matter because it&rsquo;s SJSU.</p>

<p>I was talking to my professor about grad school. Although I&rsquo;m still unsure whether I should go for it, he told me that I should &ldquo;definitely go.&rdquo;</p>

<blockquote><p>You&rsquo;re fit for grad school. You have the grades and mentality for it. But don&rsquo;t go here. Go somewhere with a good CS program, like Berkeley, MIT, Carnegie Mellon, Stanford, or UCLA.</p>

<p>But it&rsquo;d probably be a stretch to apply for the grad programs at those schools because you&rsquo;re coming from SJSU. Just because you&rsquo;re doing well here doesn&rsquo;t mean you&rsquo;d do well getting a bachelor&rsquo;s at one of those schools. I mean, I dunno, maybe you would. But the fact is a degree from SJSU isn&rsquo;t as significant as a degree from one of those top schools.</p></blockquote>

<p>(That&rsquo;s not exactly what he said, but it&rsquo;s an accurate paraphrase.)</p>

<p>So as it stands right now, school is sort of holding me back. If I want to pursue research and go to grad school, I wonder if I have a chance to go one of those schools. I guess if I do go to grad school I shouldn&rsquo;t aim so high and I&rsquo;ll end up at a &ldquo;backup school.&rdquo;<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup></p>

<p>Nowadays, school is just this thing I &ldquo;must do.&rdquo; It&rsquo;s a societal obligation that I go to college and get a degree. Sort of drab.</p>

<p>Who knows, maybe my thoughts on school may change later. But these are my thoughts right now about school and whatever else I blabbed about.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>I did &ldquo;well&rdquo; enough. I wasn&rsquo;t doing calculus or anything. Just basic algebra. That&rsquo;s pretty good for an American elementary student, right?<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
<li id="fn:2">
<p>Continuing on with how I started applying to university, I suppose.<a href="#fnref:2" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[1001 Spikes]]></title>
    <link href="http://danielmai.net/2014/06/06/1001-spikes/"/>
    
    <updated>2014-06-06T09:14:00-07:00</updated>
    <id>http://danielmai.net/2014/06/06/1001-spikes</id>
    
    <content type="html"><![CDATA[<p><img src="http://danielmai.net/images/1001-spikes-you-are-dead.png" alt="You are dead" /></p>

<p>&ldquo;You are dead&rdquo;: Three words that I&rsquo;ve been seeing a lot in the past
couple of days. They&rsquo;re from a game called <em>1001 Spikes</em>, a difficult
game with brilliant level design that I can&rsquo;t seem to put down once I
start it up. The pacing seems just right, in the same way that <em>Super
Meat Boy</em> nailed it.</p>

<p>As I played the really hard levels the game has to offer, it reminds
me that as long as I perservere through the unknown and learn from the
many mistakes that I&rsquo;m bound to make, I will succeed. If I don&rsquo;t try,
then I won&rsquo;t get anywhere, so it&rsquo;s best to keep on trying, even though
I may fall into some spikes every now and then. No pain, no gain, as
the saying goes.</p>

<p>If you&rsquo;re in for a challenge, I highly recommend it.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Twenty years ago]]></title>
    <link href="http://danielmai.net/2014/05/18/twenty-years-ago/"/>
    
    <updated>2014-05-18T09:40:00-07:00</updated>
    <id>http://danielmai.net/2014/05/18/twenty-years-ago</id>
    
    <content type="html"><![CDATA[<p><img src="http://danielmai.net/images/latex-may18.jpg" title="An interesting day printed on a page" alt="" /></p>

<p>Twenty years ago today, Leslie Lamport was writing a page of the Getting Started section of the <a href="http://www.worldcat.org/title/latex-a-document-preparation-system-users-guide-and-reference-manual/oclc/29225162">LaTeX manual</a>.<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup></p>

<p>A simple date on a calendar, but it means different things to different people. Most days are just like any other day, but some days carry more weight than others.</p>

<p>Have a great day today. It&rsquo;s the only May 18, 2014 you&rsquo;ll have in your lifetime.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>I haven&rsquo;t been putting much of my time into reading this book lately, but hopefully I&rsquo;ll read it more after this semester ends. I want to write beautiful documents, especially with math symbols.<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Drowning in Problems]]></title>
    <link href="http://danielmai.net/2014/04/26/drowning-in-problems/"/>
    
    <updated>2014-04-26T20:11:00-07:00</updated>
    <id>http://danielmai.net/2014/04/26/drowning-in-problems</id>
    
    <content type="html"><![CDATA[<p>You&rsquo;ve probably heard of this game called Minecraft. Well, Notch, the great creator, made a small game called <a href="http://game.notch.net/drowning/">Drowning in Problems</a>. It&rsquo;s good. It&rsquo;s small in that it&rsquo;s nothing but text, but it&rsquo;s interesting in the emotions it conveys.</p>

<p>And after you&rsquo;ve played that (or maybe before), you might want to read <a href="http://notch.tumblr.com/post/37823268132/i-love-you-dad">this piece he wrote about his father</a>.</p>

<p>All you need are words to make something meaningful.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[The best people (and how I keep in touch with them)]]></title>
    <link href="http://danielmai.net/2014/03/25/the-best-people/"/>
    
    <updated>2014-03-25T02:00:00-07:00</updated>
    <id>http://danielmai.net/2014/03/25/the-best-people</id>
    
    <content type="html"><![CDATA[<p>The best people in my life bring me joy; they are able to make me
laugh to the point that I can&rsquo;t breathe anymore.</p>

<p>My friends are amazing people. We can talk about practically anything
together. Most of the time it&rsquo;s the funny stuff, but the serious stuff
isn&rsquo;t forbidden from our conversations; it&rsquo;s just not as laughable.</p>

<p>They are the reason why I&rsquo;m always happy to have a break away from
school; we can all get together, sit in a room for hours and talk,
laugh, and go crazy together. It&rsquo;s really fun. All we need is
ourselves and some stories to share. We don&rsquo;t need to do anything
that breaks the bank; we only need each other to have a blast.</p>

<p>This is what I did. It&rsquo;s 1:07 AM right now and I just came
home from having a blast with you all, my friends. My life would be so
dull without you guys, so thanks. I&rsquo;m really grateful that I&rsquo;m allowed
in your lives.</p>

<hr />

<p>What I love about our conversations is how it builds up as time
passes. We talk about something new, and connect it with something
we&rsquo;ve talked about before. We connect the dots and reminisce about
past events, and we essentially create a huge collection of mutual
knowledge that, when we mention a sound bite, brings back memories
and, usually, joy. It probably doesn&rsquo;t make sense to someone who isn&rsquo;t
in-the-know, but it doesn&rsquo;t have to be. Memories are contextual.</p>

<p>This is how I usually converse with people. I mention something in the
past that we&rsquo;ve talked about. I bring back the past a lot.</p>

<p>After writing that, it sounds as if I like to dwell in the past. I like
to remember the good ones, and less so of the bad ones.</p>

<p>My relationships with people are all based on memories, anyway. If I
forget the memories, I essentially don&rsquo;t know anything. I wouldn&rsquo;t
know anyone. So if I bring back some past memory when I&rsquo;m talking to
you, it&rsquo;s because I want to rekindle some thought between us. It&rsquo;s to
reexamine my relationship with you&mdash;to determine what I know about you.</p>

<p>I guess it&rsquo;s kind of like <a href="https://en.wikipedia.org/wiki/Rogerian_argument">Rogerian argument</a>. I repeat
what&rsquo;s been said as a way to tell myself and my friends that yes, I am
listening. Yes, I care.</p>

<p>When I want to experience some certain emotion, I&rsquo;ll think about some
memory that matches the emotion. Sort of like some dose of a drug.
Nothing physically dangerous enters my body; it&rsquo;s completely mental.</p>

<p>It&rsquo;s now 2 AM. I guess it&rsquo;s time to sleep, huh?</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Who am I?]]></title>
    <link href="http://danielmai.net/2014/03/22/who-am-i/"/>
    
    <updated>2014-03-22T23:14:00-07:00</updated>
    <id>http://danielmai.net/2014/03/22/who-am-i</id>
    
    <content type="html"><![CDATA[<p>I don&rsquo;t know who I am. I&rsquo;ve known this for a while. Every time
someone&rsquo;s asked me a personal question, nothing really concrete comes
out as an answer.</p>

<p>I had an interview recently and I did a horrible job answering
personal questions, which should probably be the easiest part, and the
part I really shouldn&rsquo;t mess up with. So it&rsquo;s probably time for me to
think about myself. The following questions aren&rsquo;t all from the
interview I had. It also includes questions that people had asked me
from their curiosity.</p>

<h2>What do I do in my free time?</h2>

<p>I like to read. Right now I&rsquo;m into reading about programming as a way
to learn more than what college doesn&rsquo;t do much to teach me, such as
famous computer scientists, using version control, and a little bit
about the well-known languages and frameworks that are used in the
industry. At least, the classes I&rsquo;ve taken so far haven&rsquo;t taught me
these things, and I&rsquo;m impatient with my learning.</p>

<p>It&rsquo;s strange when my professor or a textbook mentions something that I
only know about from doing some reading outside of school. When it&rsquo;s
presented in lecture it&rsquo;s almost as if we should&rsquo;ve already known how
to do this, but none of the classes I took before really covered it; I
need to do my own reading to be on top of what&rsquo;s happening in class.</p>

<p>I enjoy bicycling to places. It&rsquo;s amazing that I can just pedal my
feet to get somewhere relatively quickly. For example, I can bike to
school with about fifteen minutes more time compared to driving (and a
whole lot more sweat), without worrying about needing gas, changing my
oil, running someone over, or finding parking. It&rsquo;s great.</p>

<p>I like to play video games. They&rsquo;re fun. I love interacting with these
surreal worlds that hundreds of hours of man work has been able to
concoct.</p>

<p>And I write. Here, in my journal, and with my friends, practically
every day. I&rsquo;m not a great writer, but if practice makes perfect, then
I hope to become better by writing every day.</p>

<h2>Where do I see myself in five years?</h2>

<p>I see myself working on something that lives on the web. Things on the
web can be opened by any browser, no matter what OS is running, with
no notion of being &ldquo;downloaded and installed&rdquo;. It&rsquo;s pretty amazing.</p>

<h2>What do I want to do with a CS degree?</h2>

<p>When a guy asked me this question last semester I told him &ldquo;I don&rsquo;t
know.&rdquo; I still don&rsquo;t really know, but I know I&rsquo;m interested in
networks and the web. I want my CS degree to allow me to create things
that people can use.</p>

<h2>What kind of music do I listen to?</h2>

<p>I&rsquo;m not really a music person. By that, I mean I don&rsquo;t follow or
listen to whatever&rsquo;s popular on the radio. Heck, I&rsquo;ve never really
fully memorized any lyrics to a song. When I see people sing along
to their favorite songs, it amazes me that they know all the words. I
can&rsquo;t do that.</p>

<p>I tend to listen to songs that I like; that&rsquo;s not really narrowed to
any particular genre, and my tastes change over time. Nowadays, I tend
to listen to video game and movie soundtracks. Listening to them
brings me back into their respective worlds, and they sound fabulous
to boot.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Selling myself]]></title>
    <link href="http://danielmai.net/2014/03/14/selling-myself/"/>
    
    <updated>2014-03-14T14:43:00-07:00</updated>
    <id>http://danielmai.net/2014/03/14/selling-myself</id>
    
    <content type="html"><![CDATA[<p>Right now it&rsquo;s around the time that people look for a summer
internship. There was a job fair at SJSU last week. I went to it, but
didn&rsquo;t really do anything there. I just walked around and had some good
laughs, as I usually do when I&rsquo;m with my friends. The fair was really
crowded, and I didn&rsquo;t want to wait in line for any particular
company.</p>

<p>I don&rsquo;t even think I&rsquo;m ready for a job.</p>

<p>My friends at school say that I&rsquo;m absolutely qualified for an
internship&mdash;I have the grades to prove it, they say. But grades
aren&rsquo;t everything. They just show that I was able the play the game
well enough to do well in class. Sure, I learned a lot from the
classes I took, but is that even good enough for me to get a job?</p>

<p>I don&rsquo;t think so.</p>

<p>One of the skills that I truly believe I&rsquo;m lacking is talking (and
communication in general). I don&rsquo;t really like talking to other
people, probably in fear of being judged (but I&rsquo;m getting better at
not caring). Although from the outside you may think that I&rsquo;m a good
communicator, it may just all be a facade. I&rsquo;m just trying to copy
other people whom I think are great at talking. And if that&rsquo;s working,
then great.</p>

<p>But that&rsquo;s me copying other people. I&rsquo;m not comfortable with
presenting <em>myself</em>. I don&rsquo;t know how to sell myself.</p>

<p>Am I smart? I wouldn&rsquo;t say so. (Although my GPA may tell you
otherwise, but it&rsquo;s just a number.)</p>

<p>Can I program? Sure, but they&rsquo;re not <em>great</em>. I try to make the code
readable and to make myself understand what&rsquo;s going on, but I&rsquo;m
lacking in the reusablility aspect.</p>

<p>Am I an excellment communicator? No, I wouldn&rsquo;t say so.</p>

<p>I tend to undersell myself. In my opinion, that&rsquo;s better than
overselling myself. I don&rsquo;t want to give false promises.</p>

<p>I&rsquo;ve seen the resumes of my classmates, who write about all of their
experience with such-and-such program and working on such-and-such
project. Most of which I feel like is complete BS. Is BS how we succeed?</p>

<p>What I really want to know is how shallow our experience can be in
order for a company to hire us.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Understanding, not memorizing]]></title>
    <link href="http://danielmai.net/2014/03/11/understanding-not-memorizing/"/>
    
    <updated>2014-03-11T22:01:00-07:00</updated>
    <id>http://danielmai.net/2014/03/11/understanding-not-memorizing</id>
    
    <content type="html"><![CDATA[<p>One of the best ways to learn new things is by understanding the
material, not just knowing definitions and cramming facts into memory.</p>

<p>That&rsquo;s why I don&rsquo;t do well in history classes; at least, I&rsquo;m not fond
of them. I don&rsquo;t really understand why things happen, and I try to get
by solely with memorizing. History isn&rsquo;t supposed to be that difficult
if you understand why people acted the way they did when key events
happened.</p>

<p>I take so many notes in history class, not putting much effort into
understanding what people did. I just write whatever&rsquo;s on the slide
and whatever my profressor is talking about. I try to jot down most of
what happens in class, but it doesn&rsquo;t mean I retain it. Suffice to
say, I&rsquo;m not confident on history exams.</p>

<p>From what I learned in history classes (or, rather, from the lousy way
I&rsquo;ve tried to understand the material), most of human history involves
racism, sex, greed, and war. It&rsquo;s all the same thing, but different.
There are lots of dates to remember, people to know, and rationales to
connect the dots with.</p>

<p>On the other hand, I don&rsquo;t take much notes in my CS courses. What I
try to do in those courses is <em>understand</em> the material. Because
understanding something allows me to get that information practically
instantaneously without needing to refer to my notes.</p>

<p>If I&rsquo;m going to consider myself competent in this computer stuff, I
need to understand, not just memorize.</p>

<p>So if it takes me many hours to understand something, so be it. So
long as I can shove the logic into my brain so I can comprehend it.
One of the hardest things about learning something hard is being
overwhelmed by all the details. It&rsquo;s better to digest the new
information slowly.. Try to understand the little parts and not think
of the big picture.</p>

<p>In fact, my statistics professor told us just that two days ago:</p>

<blockquote><p>Be patient, do each step one at a time, pay attention to the
assumption you make at each step and you&rsquo;ll get there.</p></blockquote>

<p>If I could just remember to take things slow, I would be better off.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[Someone must hate me]]></title>
    <link href="http://danielmai.net/2014/03/02/someone-must-hate-me/"/>
    
    <updated>2014-03-02T13:09:00-08:00</updated>
    <id>http://danielmai.net/2014/03/02/someone-must-hate-me</id>
    
    <content type="html"><![CDATA[<p><img src="http://danielmai.net/images/egged.jpg" alt="Egg remnants on my car." /></p>

<p>I found out this morning that my car got egged. I spent a good hour
scrubbing it off my car, but it still reeks of egg.</p>

<p>I wonder if whoever threw the eggs has something against me, or if it
was some random hooligans who wanted to egg a car.</p>

<p>Or if it was someone coming back from the supermarket and somehow
dropped the eggs from the grocery bag all over the place. (It could
happen, right?)</p>

<p>In any case, at least I got an excuse to wash my car.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[I just had to ask...]]></title>
    <link href="http://danielmai.net/2014/02/27/i-just-had-to-ask/"/>
    
    <updated>2014-02-27T21:41:00-08:00</updated>
    <id>http://danielmai.net/2014/02/27/i-just-had-to-ask</id>
    
    <content type="html"><![CDATA[<p><a href="https://plus.google.com/+CayHorstmann/posts/fxgAZgSjcxc">Thanks for the compliment</a>, Dr. Horstmann. :)</p>

<p>Work is tough because I&rsquo;m asked to do things I have no clue about. But
that&rsquo;s what&rsquo;s great about it, because I get to learn on the job and
work on interesting problems.</p>

<p>As much as I&rsquo;m struggling to deliver results for whatever I&rsquo;m asked to
do, I have to remember that the final solution will come if I step
away from the big picture and focus on some small part of the problem
first; someone once told me, &ldquo;Nothing&rsquo;s really that challenging. If
something&rsquo;s hard, I&rsquo;ll make it easy.&rdquo;</p>

<p>I&rsquo;m not extremely talented, but I&rsquo;m doing <a href="http://www.danielmai.net/2014/02/22/my-best-aint-the-best/">my best, whatever that means</a>.</p>
]]></content>
    
  </entry>
  
  <entry>
    
    <title type="html"><![CDATA[My best ain't the best]]></title>
    <link href="http://danielmai.net/2014/02/22/my-best-aint-the-best/"/>
    
    <updated>2014-02-22T12:33:00-08:00</updated>
    <id>http://danielmai.net/2014/02/22/my-best-aint-the-best</id>
    
    <content type="html"><![CDATA[<blockquote><p>Voicemail question: what do you do when your best isn&rsquo;t good enough?</p></blockquote>

<p><img src="http://danielmai.net/images/shoot-for-the-moon-bookmark.jpg" title="A gift from Calvin." alt="A bookmark Calvin gave me" /></p>

<p>When my best isn&rsquo;t good enough, I learn from my inadequacy and do
better next time.</p>

<p>Best is relative. What you may think is best is probably not what I
think is best, and what I think is best is probably not even close to
what someone else thinks is best.</p>

<!-- more -->


<p>But what&rsquo;s tough to deal with is when I find that my best work doesn&rsquo;t
do myself justice. Either I have unfinished work, or I didn&rsquo;t get the
full credit that was possible. It&rsquo;s usually not about doing <em>my</em> best,
but aiming putting out <em>the</em> best.</p>

<p>I always tend not to do the best. Aiming for the best probably isn&rsquo;t
going to be worth doing in the end. I mean, I don&rsquo;t spend endless
hours proofreading what I write, checking that the words I choose are
the <em>best</em> words I can use (I don&rsquo;t think there&rsquo;s enough time in the
world for that). I don&rsquo;t write programs that are the <em>best</em>, but I try
to make &lsquo;em do what they have to do, hopefully in a beautiful and
elegant way.</p>

<p>Sometimes, the best thing to do is the one that requires the least
effort. Probably for the sake of trying to fit everything in a
schedule, or so that the time and effort investment is actually worth
it. A good thing gets the job done; a great thing gets the job done
and does it well. At the very least I reach the former, and ultimately
I aim for the latter.</p>

<p>Funny, I wrote something about this back in October (but never
posted it):</p>

<blockquote><p>I really don&rsquo;t think I&rsquo;m doing that great of a job right now. I tell
myself that I can do better than what I&rsquo;m putting out right now, but
it&rsquo;s just not really happening. I don&rsquo;t finish my homework, but it&rsquo;s
not even collected anyway. I don&rsquo;t do well on exams. My scores are
horrible on a pure numerical scale (a 70% means I&rsquo;m not
understanding the material enough), but the class curve makes it so
I&rsquo;ve &ldquo;done well&rdquo; relative to everyone else. I&rsquo;m being destroyed in
work because I can&rsquo;t even answer students&#8217; questions (what
kind of instructor doesn&rsquo;t know the answer?), and the programs I
write are just unorganized hacks that are amazingly able to do
something, but the people using are always issuing bugs.</p>

<p>Instead of doing my best on one thing, I&rsquo;m doing okay on many
things.</p></blockquote>

<p>Dang, talk about angst. In hindsight, I feel like I made the best out
of what I had. I got a lot of experience from last semester and
learned a lot. What I considered to be my best work last semester
can&rsquo;t even match the best of me now.</p>

<p>I&rsquo;ll never be good enough, and that&rsquo;s why I&rsquo;ll keep on learning to
become better. My best may not be good enough right now, so I&rsquo;ll
need to make myself better in order to overcome my obstacles.</p>

<p>What doesn&rsquo;t kill you makes you stronger, right?</p>
]]></content>
    
  </entry>
  
</feed>
