Skip to content

Instantly share code, notes, and snippets.

View caasi's full-sized avatar
🏝️
Spiritual Homeland

Isaac Huang caasi

🏝️
Spiritual Homeland
View GitHub Profile
@caasi
caasi / pyramid.as
Created September 24, 2013 13:45
ugly old codes
this._door.play("open").chain(Delegate.create(this, function()
{
this._enemy.play("in").chain(Delegate.create(this, function()
{
this._enemy.play("idle");
this._pc.play("i2r").chain(Delegate.create(this, function()
{
this._pc.play("ready").chain(Delegate.create(this, this.onFeedbackReady()));
}));
}));
@caasi
caasi / oembed.json
Created October 17, 2013 12:32
oEmbed for Logbot
{"version":"1.0","type":"link","title":"Logbot | #830033 | caasih: well...","author_name":"caasih","providor_name":"Logbot","providor_url":"https://github.com/g0v/Logbot"}
@caasi
caasi / plv8x.md
Last active December 26, 2015 14:29

筆記

狀況一

sudo npm i -g .

prepublish 沒跑,於是找不到 cmd.js ,安裝失敗。

狀況二

L48
+ window.addEventListener \resize, ->
+ console.log \resize
+ renderer.setSize(window.innerWidth, (window.innerHeight - 48))
+ camera.aspect = window.innerWidth / (window.innerHeight - 48)
+ camera.updateProjectionMatrix!
@caasi
caasi / pub_todo.md
Last active December 28, 2015 08:29
public TODO
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@caasi
caasi / 2299.md
Last active December 30, 2015 22:09

thesurvivor2299.com 整人大爆笑始作俑者現身說法

原文來自:http://www.nma-fallout.com/showthread.php?50292-Hoaxer-explains-hows-and-whys-of-thesurvivor2299-com

如果你想知道為啥會有人想弄個假的 Fallout 4 廣告活動出來, thesurvivor2299.com 背後的那個傢伙在 Reddit 的 AMA (Ask Me Anything,打破沙鍋問到底?)現身了,說明他的目的是強迫 Bethesda 在 VGX 上放出 FO4 的預告片。呃。

無論如何,以下是 AMA 裡的一些有意思的片段:

什麼逼得你現身? Bethesda 的推嗎?
對。

Joeri:

I completely agree. Everyone who learns programming should start with something practical, ruby on rails, angular, whatever, but then go down the stack instead of sideways. Don't add more and more frameworks, learn what's beneath the framework. Learn what every layer in the system does, right down to the level of individual transistors on the cpu. There should be no magic anymore. If every part of the system is understandable (in theory) then any problem with it is solveable. Also, most frameworks become variations on a theme, and almost nothing is truly novel.

完全同意。每個學程式設計的人都該從一些實務的東西開始,像 RoR 、 angular 之類的,然後求深而不是求廣。別一直學新的 frameworks ,學 frameworks 底下的東西。學學系統每一層在做啥,一直到 CPU 上的電晶體。裡面不再有什麼魔法。如果系統的每個部份都是可瞭解的(理論上),那所有問題應該都是可解決的。另外,大多數的 frameworks 都是同一主題的變形,而且多半沒什麼新意。

That last part is what made me almost quit programming, upon the realization that the industry was not on a long march of progression, but on a cycle of reinvention, where each generation rediscovers the knowledge of previous generations

本文翻譯並改作自Installing FreeSpace 2 Open

步驟一:了解你需要什麼

要跑 fs2_open ,你需要幾個主要部件。

  1. 你需要 FreeSpace 2 遊戲資料。
  2. fs2_open 執行檔,也就是新的遊戲引擎。
  3. 啟動器( Launcher )。讓你可以調整 fs2_open 的設定,就像本來的 FreeSpace 2 啟動器那樣。
  4. MediaVPs 。包含各種遊戲畫面的改進,非常建議安裝。 mediaVPs 的版本號碼通常與對應的 fs2_open 執行檔類似。
@caasi
caasi / nelson_engelbart.md
Last active September 4, 2019 11:01
a note for myself

You don’t need me to tell you that Douglas Engelbart was one of the greatest men of all time. We gather today, in pretense of unanimity and concord, to croon over Doug’s ashes and grab for scraps of his robe.

Everyone here will of course say they are carrying on his work, by whatever twisted interpretation. I for one carry on his work by keeping the links outside the file, as he did.

Some are no doubt here to cheer and march behind the mouse, as in the opening of the Mickey Mouse TV Club of yore. Let them be happy in that celebration.

But the real ashes to be mourned are the ashes of Doug’s great dreams and vision, that we dance around in the costume party of fonts that swept aside his ideas of structure and collaboration.