Tag Archives: source

Google Chrome 59 之後的新功能:看 CSS 與 JS 的 Coverage

在「What's New In DevTools (Chrome 59)」這邊看到 Google Chrome 59 後所推出新的工具,可以看目前網頁的 CSS 與 JS 跑過的 coverage 比率。 像是這樣,總大小以及未使用的比率: 然後可以再直接看有哪些部份沒跑到: 可以拿來分析,降低使用者下載的量。不過真的要切的話好像不太好做...

Posted in Browser, Computer, CSS, GoogleChrome, Murmuring, Network, Programming, Software, WWW | Tagged , , , , , , , , | Leave a comment

Microsoft Blogs 上 TDD 的戰文...

文章標題就直接寫「#NoTDD」的戰文 XDDD 列了 Pros (一行) 跟 Cons (超長 XDDD): Pros We end up with tests that verify the behavior of the code and help prevent regressions 這個是 TDD 的目的。而 Cons: Cons It takes us longer to write code using TDD … Continue reading

Posted in Computer, Murmuring, Programming, Software | Tagged , , , , , , , , , | Leave a comment

透過 NN (類神經網路) 訓練好的系統,直接把圖片轉成程式碼

這個禮拜被 AlphaGo 洗臉後,又看到來搶工作的東西了:「pix2code: Generating Code from a Graphical User Interface Screenshot」。 直接把 Mockup 圖檔丟進去,然後就把 iOS 或是 HTML 程式碼生出來: 不過「刻 UI」的確是工程師最討厭的事情啦,這部份能自動化要怎麼說呢... 好像也是不錯的事情啦 @_@

Posted in Computer, Murmuring, Network, Programming, Software | Tagged , , , , , , , , , , , , , | Leave a comment

直接從 IMDb 編號看影片

看到「Now Anyone Can Embed a Pirate Movie in a Website」這邊介紹的東西,直接輸入 IMDb 的編號 (包括 tt 開頭的那串編號),他就自動拉出 embed code: 然後可以直接線上觀看: 然後還支援字幕 (唔): Interestingly, should one of those sources be Google Video, Vodlocker says its player offers Chromecast and subtitle support. 官網有寫來源是到處找: VoDLocker … Continue reading

Posted in Computer, Movie, Murmuring, Network, Recreation, Search Engine, Service, Television, WWW | Tagged , , , , , , , , , , , , , , | Leave a comment

OpenSSL 將轉為 Apache 2.0 License

OpenSSL 最近打算把原本的 license 換成 Apache License, Version 2.0:「Licensing Update」。 主要的原因是希望相容於現有大多數的 open source project: OpenSSL Re-licensing to Apache License v. 2.0 To Encourage Broader Use with Other FOSS Projects and Products 但這非常詭異啊,舊的 license 最大的問題就是與 GPLv2 不相容,而預定要換的 AL 2.0 也還是不相容啊,搞屁啊。

Posted in Computer, Murmuring, Network, Security, Software | Tagged , , , , , , , , , , , , | Leave a comment

Amazon EC2 上的 gettimeofday 與 clock_gettime 的效能

看到「Two frequently used system calls are ~77% slower on AWS EC2」這篇在講 gettimeofday 與 clock_gettime 的效能,另外搜資料時發現應該也是作者提問的「gettimeofday() not using vDSO?」這篇。 在 EC2 比較新的機器上用 tsc 應該是沒問題的 (在 2015 的時候官方就這樣建議了): it seems tsc support in Xen has improved with version 4.0 and with improved … Continue reading

Posted in AWS, Cloud, Computer, Hardware, Linux, Murmuring, Network, OS, Software | Tagged , , , , , , , , , , , , , | Leave a comment

AWS CodeDeploy 支援 BlueGreenDeployment

AWS CodeDeploy 推出了 BlueGreenDeployment 的功能:「AWS CodeDeploy Introduces Blue/Green Deployments」。 BlueGreenDeployment 的目的不計成本想辦法把上線的 downtime 壓到最低,而且當出問題時 rollback 的時間壓到最低的方法: One of the challenges with automating deployment is the cut-over itself, taking software from the final stage of testing to live production. You usually need … Continue reading

Posted in AWS, Cloud, Computer, Murmuring, Network, Programming, Software | Tagged , , , , , , , , , , , , , , | Leave a comment

Unix 程式碼演進的記錄

在 GitHub 上的「dspinellis/unix-history-repo」專案放進了 Unix 程式碼從 1970 年演進到 2016 年的記錄: The history and evolution of the Unix operating system is made available as a revision management repository, covering the period from its inception in 1970 as a 2.5 thousand line kernel … Continue reading

Posted in Computer, FreeBSD, Murmuring, OS, Programming | Tagged , , , , , , | Leave a comment

Open Source 版本的 Skype

前幾天講到用 Docker 跑 Skype 的「用 Docker 跑 Skype 講電話」,剛剛就看到「skypeopensource2」這個專案,不過目前功能非常有限: First in world self-made client to Skype Network based on reversing original Skype 5.5 client. For now, only receiving and sending messages are supported. 然後看了一下專案內容,應該是 Windows-only,這樣應該還是暫時會用 Docker 版本的 Skype 吧... 最主要還是拿來打電話 … Continue reading

Posted in Computer, Murmuring, Network, P2P, Software, Telephone | Tagged , , , , | Leave a comment

在遊戲上模擬跑步的動作

從「Balls to learning how to animate, let's film some parkour!」這篇看到讓人懷念的遊戲,1989 年的《波斯王子》: Jordan Mechner (波斯王子的作者) 用 Rotoscoping 的方式將他弟弟做這些動作的畫面拍下來,然後確保在電腦上角色的動作是順暢的: Here's the source frames used to rotoscope the above animation. Don't let the ghostly pallor fool you! Jordan Mechner's brother is in fact … Continue reading

Posted in Computer, Game, Murmuring, Programming, Recreation, Software | Tagged , , , , , , , , , | 1 Comment