South Park S06E11

http://124.228.254.234/html/anime/20100816/128290_3.html

South Park S06E11 Child Abduction Is Not Funny这一集各种讽刺和stereotype太给力了。。。面对City Wok Guy's Great Wall最后那句话,Please tear down the wall。。。。。

Firefox终于泪牛满面了。。。。

你正在使用老掉牙的Firefox浏览器,请换用Chrome或者Opera!

via

一个python模块fabulous

python fabulous longcat putty

先安装PIL再 $ sudo easy_install fabulous就OK了。

几个玩法:

python -m fabulous.demo
python -m fabulous.rotating_cube
python -m fabulous.image longcat.jpg

文档 | hg.io | PyPi

via

mp3, mp4, mp5正解

都江堰 啤酒长廊 2010-08-19

我神马都不知道

Wired杂志的扯蛋新闻《Web已死》

垃圾新闻终于被转载到国内了:sina, cnbeta

boingboing已经给了一个正确的图表

就算Wired的图标是对的,video也是通过HTTP这些www协议传输的。怎么能说Web已死呢?

转载HN上一个评论,简单的说Chris Anderson就是个sb喷子。

Chris Anderson and Wired manipulate facts to forward their theories with whatever new theory and bandwagon they are jumping on.
The data cited in 'The Long Tail' was not accurate, and actually supported the counter-argument. 'Free' was similarly vague and inaccurate.
The entire m.o of Anderson seems to be to take a concept or theory that sounds interesting and package it in laymans terms for a gullible public. It is presented as 'research' or a 'breakthrough' and most average readers suck it up, but these theories are usually far from.
To see them doing it again with this latest theory is no surprise. Anderson really doesn't let the truth get in the way of a good story, especially when there are magazines and books to sell, and high-priced speaking gigs to book.
(see also the excellent: http://dashes.com/anil/2009/07/free-criticism-and-science-without-data.html)

www没死,journalism真应该早死早超生了。

这就是为嘛NASA从来不把青少年送上太空的原因

太搞了。。。

via

用函数描绘群山+地形+长城+金字塔+雾气

代码一共924个字,相当于一篇稍长的高考作文。

float map(float x, float z)
{
    // terrain
    float f;
    f =  0.50000000f*noise2f( 1.0f*x,    1.0f*z);
    f += 0.25000000f*noise2f( 2.0f*x,    2.0f*z);
    f += 0.12500000f*noise2f( 4.0f*x,    4.0f*z);
    f += 0.06250000f*noise2f( 8.0f*x,    8.0f*z);
    f += 0.03125000f*noise2f( 16.0f*x,    16.0f*z);
    f += 0.01562500f*noise2f( 32.0f*x,    32.0f*z);
    f += 0.00781250f*noise2f( 64.0f*x, 64.0f*z);
    f += 0.00390625f*noise2f(128.0f*x, 128.0f*z);
    f = 0.5f+0.5f*f;
    f = f*f*(3.0f-2.0f*f);
    f = f*f*(3.0f-2.0f*f);
    f = -2.5f + 1.5f*f;

    // chinese wall
    float cx = x-1.5f*noise2f( 2.0f*x, 2.0f*z);
    float cz = z+1.5f*noise2f( 2.0f*x, 2.0f*z);
    float di = fabsf(cx+cz);
    if( di<0.1f )
        f += 0.1f-di;

    // pyramid
    float g;
    z -= 2.0f;
    float rx = x*0.9f-z*0.2f;
    float rz = x*0.2f+z*0.9f;
    g = 0.25f - fabsf(rx*1.65f) - fabsf(rz*1.65f);
    g = ((int)(g*10.0f))/10.0f;     // stairs
    if( fabsf(rx+rz)<0.1f || fabsf(rx-rz)<0.1f ) // path
        g += 0.1f;

    // select terrain or pyramid 
    if( g>f ) f=g;
    return f;
}

void fog(float *rgb, float t, const float *rayDir)
{
    float fog = (1.0f-m2xf(-2.5f*rayDir[1]*t) ) / rayDir[1];
    collerp(rgb, fog*0.01f, rgb, fogColor);
}

同样的场景用自然语言精确描述又需要多少字呢?

来源:4k intro常见技巧讲述pdf。作者是rgba的iq。做demoscene的大神。。。

via

这,就是传说巴西的公交车。。

via

Why scientists will never be heroes

The problem with this argument has always been that (tragically) real science just isn't as much fun. Sure, you can try to Bill Nye and Carl Sagan it. You can try to simplify it and present it in false-but-fanciful ways. But this is all just smoke and mirrors.
Real science happens in painfully incremental, boring, specialized steps. Gone are the days of DaVinci or Edison or Tesla or any notion of the Renaissance inventor/scientist. We are all specialists now, and there are a lot more of us. We can barely understand the research in close fields to our own. Publications now spew forth with fire-hydrant force. We can no longer sip from the garden hose of knowledge without getting our faces blasted off.
However important it may be to fundamental human advancement, there is never going to be a primetime TV spot for something like "Regulation of interleukin-1β by interferon-γ is species specific, limited by suppressor of cytokine signalling 1 and influences interleukin-17 production". Ergo, we have American Idol. It's not entirely the scientists' fault. it's not entirely the public's fault. It's just the nature of the beast.

via