Monthly Archives: October 2017

大型 WordPress 站台會用到的 LudicrousDB (以及 HyperDB)

最近收到 HyperDB 的 mailing list 信件 (開頭是「[HyperDB] How can I set up HyperDB with latest version.」這封),有人提到 HyperDB 很久沒更新了... 結果在信理看到有人回了「stuttter/ludicrousdb」這個專案: LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning 兩個專案都是抽換掉 WordPress 在處理 database 的 … Continue reading

Posted in Blog, Computer, Database, Library, Murmuring, MySQL, Network, Programming, Software|Tagged , , , , , , , , , , , , |Leave a comment

HTTP/2 時代的 API 設計

在「Let’s Stop Building APIs Around a Network Hack」這邊提到了以前為了解決 HTTP/1.1 的問題而發展出來的 workaround,在 2015 年發展出來的 HTTP/2 從底層直接解了不少問題,加上很快被許多瀏覽器支援 (就算不支援 HTTP/2 也只是降到 HTTP/1.1 跑,比較慢而已): Guess what else was released in May 2015? RFC 7540, otherwise known as HTTP/2. In retrospect this seems highly poetic, … Continue reading

Posted in Computer, Murmuring, Network, Programming, Service, Telephone, WWW|Tagged , , , , , , , , , , , , |Leave a comment

CloudFront 第 99 個 PoP

前陣子在「CloudFront 一直擴點...」看到 98 個了,然後現在宣佈第 99 個... 可以開始猜 CloudFront 的第 100 個 PoP 會是哪邊了 XD:「Amazon CloudFront Announces its 99th Point of Presence with its Second Edge Location in Miami, FL.」。 不過這次是擴增 Miami 的點 (本來就已經有,多增加一個),所以是以 capacity 與 redundancy 為主: The Amazon CloudFront … Continue reading

Posted in AWS, CDN, Cloud, Computer, Murmuring, Network, Service|Tagged , , , , , , |1 Comment

在 MOPCON 2017 的 Unconference「MySQL to NoSQL & Search Engine」

把投影片傳到 Speaker Deck 上了:「MySQL to NoSQL & Search Engine」。 這是在介紹 noplay/python-mysql-replication 這個軟體,我在示範時用的 python script 有增加 blocking 參數讓他保持一直讀取 MySQL replication stream: from pymysqlreplication import BinLogStreamReader mysql_settings = {'host': '127.0.0.1', 'port': 3306, 'user': 'root', 'passwd': ''} stream = BinLogStreamReader(connection_settings = mysql_settings, server_id=100, … Continue reading

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

被告了就把證據滅掉... XD

這個好讚,在告知安全漏洞後還是不更新選舉用伺服器,於是就被告了,而在被告以後選舉單位就把證據給幹掉 XD:「Georgia election server wiped after lawsuit filed」。 The lawsuit, filed on July 3 by a diverse group of election reform advocates, aims to force Georgia to retire its antiquated and heavily criticized election technology. The server in question, which … Continue reading

Posted in Computer, Murmuring, Political, Security, Social|Tagged , , , , , , , |Leave a comment

瀏覽器裡控制 GDB...

還是在 Twitter 上看到的奇怪玩具,專案在「cs01/gdbgui」,是個可以在瀏覽器裡控制 GDB 的軟體: Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in … Continue reading

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

繼續吵 Unicode 裡啤酒的圖示...

在「大家在吵漢堡的 Unicode 呈現...」這邊在吵漢堡,然後有人就開始找事了 XDDD Hmmmm, Google, this is not how beer works pic.twitter.com/rLsmThcLKM — Thomas Fuchs (@thomasfuchs) October 29, 2017 然後有點煩 XDDD Fixed. pic.twitter.com/FwIJXe7IaA — svbl (@svblxyz) October 30, 2017 最近應該會有一波熱潮 XDDD

Posted in Computer, Joke, Murmuring, Recreation, Software|Tagged , , , , |Leave a comment

Firefox 計劃性的將 Tor Browser 提供的隱私保護移植回 Firefox 瀏覽器上

Tor Browser 是個基於 Firefox 改出來的瀏覽器,將 Tor 包進去,讓使用者可以很方便的直接透過 Tor 上網,不需要另外再安裝其他程式。 在 Twitter 上看到 The Tor Project 的這則 tweet,提到 Tor Browser 阻擋 Canvas Fingerprinting 的功能將被移植回 Firefox: Another privacy-preserving feature from Tor Browser is being added to @firefox! It'll block canvas fingerprinting ❌ … Continue reading

Posted in Browser, Computer, Firefox, Murmuring, Network, Privacy, Security, Software, WWW|Tagged , , , , , , |Leave a comment

用 Vagrant 的技巧

在「Ten Things I Wish I’d Known Before Using Vagrant」這邊作者整理了使用 Vagrant 的十個技巧,有些以前就知道,有些是每次遇到都要查一次,有些則是新發現的工具... 其中第四點提到的工具「vagrant-landrush/landrush」之前沒看過: A Vagrant plugin that provides a simple DNS server for Vagrant guests Landrush is a simple cross-platform DNS for Vagrant VMs that is visible on both, the guest … Continue reading

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

Netflix 對 Landing Page 的效能改善計畫...

幹掉 React (噗): Removing client-side React.js (but keeping it on the server) resulted in a 50% performance improvement on our landing page pic.twitter.com/vM7JhWhYKu — Netflix UI Engineers (@NetflixUIE) October 26, 2017 官方帳號丟戰文出來... 後面就有人開始亂 XDDD everyone keeps talking about this PlainJS … Continue reading

Posted in Computer, Murmuring, Network, Programming, Software, WWW|Tagged , , , , , , , , , , , , , , , , , , , , |1 Comment