D's profileMaster of NoneBlogLists Tools Help

Blog


    November 21

    再在上班

    我周日开始工作在《今日北京》,当技术编辑了,出版的天都是特别忙,有的时候须等到半夜后到一点或二点可是工作还可以,只是天天很想day

    没办法。

    至少,钱不少,再说这样的工作是我专业。没有别的信息,现在回写写,一点以前周五的第十四张得写完了。
    October 18

    没有什么好信息

    我八月工作了。

    我九月回家了。

    我十月被解雇了。

    我现在再找工作再生病。
    July 20

    我恨JSON!!!

    我在工作的脸:

    我要玩儿拳皇我要玩儿拳皇我要玩儿拳皇~~!

    哼。。。
    July 02

    “冰球”是什么?

    一位中国人天天问我:“你喜欢足球吗?”每次告诉他们:“在我们家里没有人喜欢足球,只我们喜欢冰球。”然后他们说:“龄球?” 不!不是“保龄球”,是“冰球”~!

    天呢...

    我找到了一些影片,如果你没见过冰球你可看一下。好像一边滑冰一边拳击一边用曲棍打小圆盘。

    底特律红鹰队的:
    第一个影片 第二个影片

    苏联CCCP的:
    第一个影片 第二个影片

    哦,有别的信息~我找到了工作。是在一个新的朝阳潮阳的编程公司,那个公司的总统也是中国苹果电脑公司的要人。
    June 26

    你怎么浪费时间?

    你看。今天我浪费了三个小时做这个:马里奥的中文简体版。

    其实,这个很不容易因为马里奥的字体只有二十六个字(从A倒Z),其实,马里奥的日文版也是英文的。三年前我试试给那一个日文版一个日文翻译可是字体的空不够。 可是,虽然汉语不需要那么多字,但是还不容易。这个中文版没有路易的名字因为没有空,再说开始玩儿的时候很奇怪因为电视有“1马里奥/2马里奥”,应该说“1个人/2个人”,可是没有空。

    最后的问题是每个字是十六个象素:8x8。很小很小,所以游戏里面的字真的很难看。可是,做这样的真的好玩儿,好浪费时间的方法~!

    June 23

    美国政府恨穷人

    我还记得,这九年,每年那个政府要把国家的最低工资升起。

    每年不升起。还是五块一毛五分美元。专职工作是每个礼拜四十个小时。最穷的人每个月能抓了八百没有。出租一个最小的房间在城里的里面是三百块美元。提供劳务(水,煤气)是每个月两百块。一斤豆芽是两块美元。You can guess what everything else costs。

    再说,这是最穷有工作的人。那,没有工作的人(失业率现在是5.1%,所以一万五千六百万人没有工作,哦,写错了,那时振甫知道的人--王乐那些非法移民)怎么办?您两年前偷了所有那些失业津贴。

    谢谢美国政府!穷人的生活已经是太容易,太舒服的。

    谢天谢地你们的民主主义作了这么快乐的

    不好吃的...

    我今天试试做了大盘鸡...失败了

    好像我爹做的饭...真得很乏味的。不知道为什么,我用了大料,葱,蒜,香叶,红色甜辣椒粉,花椒和麝香草,可没找到了草果和毕卜 可是我不相信那两个调料是那么重要,可是什么情味都没有。我吵了太长时间?用了不好的鸡肉?为什么...?

    看起来大盘鸡,就没有情味。

    觉得星期天我再次试试。

    今天把我的简历给语言大学英语系的主任,希望这次有一个机会...加油呢?
    June 21

    Langrisser IV finished

    After wasting most of today playing instead of grading homework, I finally finished off Langrisser IV again. This is my first time ending the game with Listil on the ever dreaded C path. It's a shame you only get to use Randford for one scenario, he's was really cool.

    It never ceases to amaze me that I can still read and understand games in this language ...

    I ended up finishing with Randius as a Gladiator because I messed up and took a class path that led to no secret class.

    Jimmy is in town

    A friend of mine from Oakland University, Jimmy, is in Beijing this week. We went out to eat tonight at a Xinjian place down the street from the school.

    Yet again, I've heard Xinjiang food compared to Hungarian food. I swear their sauce is nothing but milder paprikash sauce with some thyme and more oil ... The onions, potato, pepper and chicken components don't really do anything to set it apart. I will say this though—Uyghur cuisine has way better bread than anything in Hungarian cuisine.

    Jimmy came through with Pei Lin, his new girlfriend, and some friend from our part of Michigan who is passing through Beijing on his way to Shanghai. It's always fun seeing new arrival foreigners like that.

    Still hurting for a job. Things with 首经贸 took a turn for the worse. 交通大学 looks like my last hope, but they seem leerie of hiring me because of how young I am. Never mind my work experience—I'm unqualified because of a lack of gray hair. I now sympathize with David who is having a hard time finding a job because he has more gray hair than the schools' want.

    Hopefully things work out, it would be nice to have some good luck. I'm about two months overdue for good news, so the universe owes me something.
    June 03

    7-bit ASCII data packing in PHP

    From some of the latest libPirate code I've churned out. Hopefully it will be useful to someone out there

    /*************************************************************************
    ** strto7bit()
    **************************************************************************
    ** syntax: string strto7bit(string string)
    **************************************************************************
    ** Takes an ASCII string and packs it down to 7-bit ASCII returning the
    ** result as a binary string. Returns FALSE if the string contains
    ** characters in the 0x80 - 0xff range of the ASCII table.
    *************************************************************************/

    function strto7bit($string)
    {

      
    $output = "";

      
    // Convert each character to a 7-bit binary string
      
    for($i = 0; $i < strlen($string); $i ++)
      {

        
    // If the string contains characters longer than 7-bits, return FALSE
        
    if(ord($string[$i]) > 0x7f)
          return(
    FALSE);

        else
          
    $output .= str_pad(decbin(ord($string[$i])), "0", 7, STR_PAD_LEFT);

      }

      
    // Pad the string out to an even number of bytes for packing
      
    while(strlen($output) % 8 > 0)
        
    $output .= "0";

      
    $binary = "";

      
    // Convert the bitstring to binary
      
    for($i = 0; $i < strlen($output) / 8; $i ++)
        
    $binary .= chr(bindec(substr($output, $i * 8, 8)));

      return(
    $binary);

    }

    So I'm going to try this MSN thing ...

    Everyone lately seems to be using MSN spaces, and it's really inconvenient for me to to read people's pages since I never had an MSN spaces account.

    I'll never get these public-site blog things. I know DeviantArt has one too that I've never used. I doubt I'll use this one much. Maybe I'll just post random code snippets or snarky comments about world affairs.