Category Archives: Science

玩 Python 下的 ggplot

在「A Dramatic Tour through Python’s Data Visualization Landscape (including ggplot and Altair)」這邊又再次看到 Python 下的 ggplot,以為還算好裝,但實際上好像有點難裝 XD 我平常用的環境是 pyenv 跑 Python 3.5.2。而跑 ggplot 需要用到 _tkinter,這個模組,而這個模組在 Python 3 應該是內建的... 只要你有先裝 tk-dev @_@ 所以在弄了半天發現這個問題後,先把 tk-dev 補裝上,再重新安裝 Python 3.5.2: $ sudo apt-get install tk-dev … Continue reading

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


MIT Media Lab 弄出個好玩的東西,可以不打開書直接掃描書的內容:「Can computers read through a book page by page without opening it?」,主標題是「Terahertz time-gated spectral imaging for content extraction through layered structures」。 用 100Ghz 到 3Thz 的電磁波掃描: In our new study we explore a range of frequencies from … Continue reading

Posted in Book, Computer, Hardware, Murmuring, Recreation, Science | Tagged , , , , | 1 Comment

Star Trek 五十週年郵票

美國郵局決定要發行 Star Trek 五十週年郵票:「Star Trek Postage Stamps Coming Soon: Celebrating 50 Years of Exploring the Final Frontier」。 也快五十年了啊: The original Star Trek TV series took to the airwaves nearly 5o years ago–on September 8, 1966.

Posted in Murmuring, Recreation, Science, Television | Tagged , , , | Leave a comment

Facebook 開源的 fastText

準確度維持在同一個水準上,但是速度卻快了 n 個數量級的 text classification 工具:「FAIR open-sources fastText」。 可以看到 fastText 的執行速度跟其他方法的差距: Our experiments show that fastText is often on par with deep learning classifiers in terms of accuracy, and many orders of magnitude faster for training and evaluation. 除了 open … Continue reading

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


在「Page dewarping」這篇看到講文件掃描的技術,以及 open source 的程式,對比之前提到的「Dropbox 的文件掃描功能」與「Dropbox 的 Document Detecting」的時間點,有種淡淡的惡意 XD 這篇作者是為了未婚妻的需求而寫出來的,本來是作者收到學生的作業時手動在跑,後來未婚妻也拿去用,但量愈來愈大,決定自動化處理: A while back, I wrote a script to create PDFs from photos of hand-written text. It was nothing special – just adaptive thresholding and combining multiple images into a … Continue reading

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

Dropbox 的文件掃描功能

算是講 Dropbox 的「Dropbox 的 Document Detecting」這篇的續集,在抓出文件位置後講顏色的校準:「Fast Document Rectification and Enhancement」。 要怎麼把左邊的原始圖轉換成右邊的圖,包括了座標轉換以及顏色校準: 顏色校準的部份講到了這張很有名的圖。在圖片上,A 與 B 的區塊顏色是相同的,但你校準出來的時候必須跟人腦的感覺相同: Here’s a great illustration of this “illusion,” in which the two tiles marked A and B have the same pixel values, but appear to be … Continue reading

Posted in Computer, Murmuring, Programming, Science, Software | Tagged , , , | 1 Comment

微軟也推出圖片辨識的 API 了

微軟也推出類似於 Google Cloud 的 Vision API 的服務了:「Microsoft Cognitive Services - Computer Vision API」。 微軟這次推出了三個功能,Analyze an image (類似於 Google Cloud 這邊的 Label Detection)、Generate a thumbnail (Google Cloud 沒有對應的功能) 與 OCR (對應到 Google Cloud 的 OCR)。 微軟的每千次都是 USD$1.5,而 Google 的 Label Detection … Continue reading

Posted in Cloud, Computer, Murmuring, Network, Science | Tagged , , , , , , , , | 1 Comment


在 Hacker News Daily 上看到的方法,作者利用機器學習的方法試著找出那些因素導致他變胖,然後再規劃減肥計畫:「Discovering ketosis: how to effectively lose weight」,文章有點長,講重點。 首先作者把每天的體重與行為記錄起來,像是這樣: # # -- Comment lines (ignored) # Date,MorningWeight,YesterdayFactors 2012-06-10,185.0, 2012-06-11,182.6,salad sleep bacon cheese tea halfnhalf icecream 2012-06-12,181.0,sleep egg 2012-06-13,183.6,mottsfruitsnack:2 pizza:0.5 bread:0.5 date:3 dietsnapple splenda milk nosleep 2012-06-14,183.6,coffeecandy:2 egg … Continue reading

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

從 arXiv 上挖寶的網站

Hacker News 上的「Ask HN: How do you get notified about newest research papers in your field?」在問有什麼方法可以找到新的論文,前面的回答就有不少好東西... 一個是 Arxiv Sanity Preserver,另外一個是 GitXiv,兩個都是從 arXiv 上挖寶,先記錄起來,之後拿來翻東西應該會用到...

Posted in Computer, Murmuring, Network, Science, WWW | Tagged , , , | Leave a comment

Humble Bundle 對抗信用卡盜刷的方法

Humble Bundle 說明他們如何對抗信用卡盜刷的方法,主要是不斷的降低風險,然後讓人介入的機會降低 (因為人事成本很高):「How Humble Bundle stops online fraud」。 其中第一點是特別想提的: Our first line of defense is a machine-learning-based anti-abuse startup called Sift Science, which we’ve been training for years across 55,000,000 transactions. Given how many orders we process, Sift Science … Continue reading

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