Aug 30

http://www.jandown.com/link.php?ref=g0SjztI3B4
提示:在www.graphis.ne.jp/sample/gragal/******/index.html可以看sample(把星号替换成“gra_”后面的字符串,访问显然需要那个)

May 19

    Wolfram的Blog上更新了一段非常牛的Mathematica代码,真的让我大开眼界。只需要三行代码,你就可以自己做一个马赛克拼图。
imagePool = Map[With[{i = Import[#]}, {i, Mean[Flatten[N[i[[1, 1]]], 1]]}] &, FileNames["Pool/*.jpg"]];
closeMatch[c_] := RandomChoice[Take[SortBy[imagePool, Norm[c - #[[2]]] &], 20]][[1]];
Grid[Reverse[Map[closeMatch, Import["MasterImage.tif"][[1, 1]], {2}]], Spacings -> {0, 0}]

    其中,"Pool/*.jpg"是你的图库,我估计最少也得有几百张吧。我用Photoshop把我的collection全部处理成了35x35的小图;为了让最终效果更佳,我特地把它们全部处理成单色的,并且减小了对比度。"MasterImage.tif"是你的目标图片,Mathematica会把这个图片中的每一个像素用图库中一个合适的图来代替。我把我的照片剪裁了一下,然后压成19x22的大小。Mathematica首先把所有照片以及每个照片的RGB值的中位数存成一个list,函数closeMatch将图片按照RGB值的均方根排序,然后随机从头20个中选出一个。第三行用Grid函数输出我们所要的马赛克拼图。最后我们就得到了——由众MM图所组成的Matrix67的肖像画!!如果你还看不出来的话,站远点儿眯着眼睛就能看出来了。

查看更多 »

Apr 5
分享几个小游戏
icon1 Matrix67 |icon2 Internet Vision | icon4 2008-04-05 14:41 | icon324 Comments »

Open Doors:http://www.kongregate.com/games/soapaintnice/open-doors
有点创意。后面基本上就开始乱搞了。
谁来建一个图论模型?

Puzzle Boy:http://puzzle.boy.flash.fizzlebot.com/
空格键重新开始,Shift键交换当前行动者。
华容道、推箱子等多个解谜游戏的结合体。

Grid16:http://www.jmtb02.com/flash/grid16.htm
非常有创意。让我想到了Arcadia REMIX

Timebot:http://www.gamerthegreat.com/GamerTheGreat/site/webgames.asp?op=playgame&gameid=269
按空格键后时间跳回到关卡开始的时候,你可以看到你过去的自己。
很像Cursor*10,只是关卡较多,有点难。

PMOG:http://pmog.com/
一款革命性的网游,安装一个Firefox插件后即可开始游戏,游戏场地就是整个互联网!

ZWOK:http://zwok-game.com/en_GB/
Flash在线多人团队对战游戏,很像百战天虫

顺便分享一个小笑话(原创),纯洁小MM请忽略:每次有人看见我把手指按压在IBM的小红帽上来回揉擦,问我那个东西是啥时,我都会说“是阴蒂”。今天我突然发现,这个比喻再合适不过了,因为小红帽和阴蒂有一个绝妙的共同点:它们都在"B"上。

加上了友情链接,大家帮忙看看有没有写错的,有没有写漏的。选哪些Blog放在侧栏的Blogroll里是一件很麻烦的事。

Jan 23

    回来这么久了,每天都在外面和别人玩,这还是我第一次有半天的空闲时间来更新Blog。事实证明我的身体仍然很差,离开了连厕所都有暖气的地方,刚一回重庆就感冒了。
    在写其它东西之前,有一个东西一定要和大家分享。曾经在digg上挖到过不少有趣的图片和视频,但这绝对是我在digg上见到的最牛B的文章。令人汗颜的是,它居然分在了educational一类里。我非常悲哀地告诉各位网友MM一个好消息,这篇文章对我来说仍然有实际意义。

http://digg.com/educational/For_Male_Virgins_Basic_Things_No_One_Told_Me_About_Sex
或者直接进入http://www.datinggroundwork.com/sexbasics

Dec 24

    对面寝室是元培的,昨天串门时发现它们人手一本蓝色的小册子。它们寝室还有几本多的,出于好奇拿了一本来看。无语了,牛,真牛,邪恶至极!选几页精彩的发一下:

“你我”TT的宣传册,封面:


注意,这是最后一张SFW的照片:


左上角那幅图太形象了,笑死我了:


这个就不说什么了:


Q版TT,画得真可爱:


好想实践啊~~~~~~~~~~罕见的80后处男,大家赶快来抢!!!!!


这个也不说什么了:

Dec 18

    Ben orenstein尝试在Goolge Code Search里输入脏话,在众多的开源软件中找到了一些非常牛B的代码:

gdb-6.4.50.20060515:
/* OK, now set up the filehdr...  */

/*   We will NOT put a fucking timestamp in the header here. Every time you
     put it back, I will come in and take it out again.  I’m sorry.  This
     field does not belong here.  We fill it with a 0 so it compares the
     same but is not a reasonable time. — gnu@cygnus.com  */


Siesta-0.66:
    # This job would be great if it wasn’t for the fucking customers.

CGI-FormBuilder-3.0202:
        # Get field from radio buttons or checkboxes
        # Must cycle through all again to see which is checked. yeesh.
        # However, this only works if there are MULTIPLE checkboxes!
        # The fucking JS DOM *changes* based on one or multiple boxes!?!?!
        # Damn damn damn I hate the JavaScript DOM so damn much!!!!!!


DJabberd-0.81:
    # Trillian, again, is fucking stupid and crashes on just
    # about anything its homemade XML parser doesn’t like.


gift-0.11.5:
void list_lock_insert_sorted (ListLock *lock, CompareFunc func, void *data)
{
    if (lock->locked)
    {
        /* TODO: this is obviously not right ... this whole fucking module
         * sucks anyway */
        list_lock_prepend (lock, data);
        return;
    }

    lock->list = list_insert_sorted (lock->list, func, data);
}


bh-asia-03-grugq:
    /* if we get here, there are massive fucking problems, for a start
     * our stack is fucked up, and we can’t return(). Just crash out. */


trunk:
    /* FIXME: please god, when will the hurting stop? Thus function is so
              fucking broken it’s not even funny. */


SQL-Abstract-1.20:
    # Note to self: I have no idea what this does anymore
    # It looks like a cool fucking segment of code though!
    # I just wish I remembered writing it… :-\


mendax_linux:
for(i = 0 ; i < pktcount; i++) {
    from.sin_port = htons(ntohs(from.sin_port) + 1);
    pktlen = gen_tcp_pak(&pak, &from, dst, ip_id++,
                     seq_num, 0L, 0, flags);
    seq_num += 64000;

    /* don't fire dem packets too fucking fast */
    usleep(1000);

    send_pak((char *) &pak, pktlen, ether);
    putchar('.');
}


SugarOS-for-Microsoft-Full-4.5.0h:
    /*   Outlook can’t fucking follow RFC if someone PAID them to do it…
        oh wait, someone paid them NOT to do it. */


AfterStep-2.2.5:
    /* No we fucking don’t! DB entries should be stored in the same order
       as they are in the file ! I can’t belive I was so fucking stupid !  */


gallery-2.0.4/modules/core/classes/GalleryStorage:
else if ($affectedRows > 1) {
   /* Holy shit, we just updated more than one row!  What do we do now? */
   return GalleryStatus::error(ERROR_STORAGE_FAILURE, __FILE__, __LINE__,
                        "$query (" . implode('|', $data) . ") $affectedRows");
}


linux-2.4.34.1/arch/sparc/lib/checksum.S:
        /* Sun, you just can’t beat me, you just can’t.  Stop trying,
         * give up.  I’m serious, I am going to kick the living shit
         * out of you, game over, lights out. */


linux-2.6.1/arch/mips/kernel/sysirix.c:
    /* 2,191 lines of complete and utter shit coming up… */

nfs-utils-1.1.0/utils/statd/misc.c:
    if (!(ptr = malloc (size)))
            /* SHIT!  SHIT!  SHIT! */
            die (”malloc failed”);


dada-2_10_12:
    # code below replaces code above - any problems?
    # yeah, it doesn’t fucking work.

Nov 19

I told my girlfriend that she's "math girl, doer of math: unable to integrate with society, only with functions of x"
我告诉我的女朋友说,她是一个数学MM,正如数学一样,不能融入这个社会(不能对社会进行积分),只有X的功能(函数)。

and guys, this is why she's my girlfriend. she said:
你猜怎么着,她真不愧是我的女朋友。她说:

"I could do a u substitution..."
“我可以用U来进行代换……”

来源:http://bash.org/?823025
我要是有这样的MM就好了

Oct 27
可爱的皮卡丘~~~
icon1 Matrix67 |icon2 Internet Vision | icon4 2007-10-27 11:02 | icon37 Comments »

  

来源:http://digg.com/celebrity/Pikachu_s_Vagina_Brings_Happiness_to_Children_sfw_pic
本来觉得digg上的东西到处被转载,因此不怎么发digg上的东西;没想到这次这么经典的图片居然没人转

« 更早的日志