GitHub Restoring YouTube-DL and Starting $1M Developer Defense Fund
Introduction
在十一月中的時候,我們提到關於 RIAA要求 GitHub 下架 youtube-dl 專案 ,而就在昨天事情出現重大轉機, youtube-dl 被 GitHub 重新上架,除此之外,GitHub 甚至捐出一百萬美元成立開發者捍衛基金(Developer Defense Fund),幫助與保護平台開發者。
在十一月中的時候,我們提到關於 RIAA要求 GitHub 下架 youtube-dl 專案 ,而就在昨天事情出現重大轉機, youtube-dl 被 GitHub 重新上架,除此之外,GitHub 甚至捐出一百萬美元成立開發者捍衛基金(Developer Defense Fund),幫助與保護平台開發者。
youtube-dl is an open-source software project that downloads video and audio primarily from YouTube, but also supports other websites. It uses the Unlicense software license.
As of October 2020 the project was one of the most starred projects on GitHub, with over 72,000 stars. The project also had 84 dependent packages and 1.43k dependent repositories according to libraries.io.Wikipedia ── youtube-dl
在七月份的時候,我們介紹了一款開源與命令行介面的程式碼專案 youtube-dl,但就在 2020 年 10 月 23 日,這項開源程式碼專案被 RIAA 根據 DMCI 請求 GitHub 下架,其中包括 youtube-dl 以及其分支,在請求書中,RIAA 引用了 DMCA-1201,聲稱用戶會使用該儲存庫來下載對社會不公平的影片,並侵犯了版權。
Flask 是一個使用 Python 編寫的輕量級 Web 應用框架,由於其輕量特性,也被稱為 micro-framework。雖然我們在完成一個 Flask 應用程式後可以通過 python3 api.py
來啟動伺服器,但這只適合用於測試環境中,正式發佈的服務需要一個穩定而持續的伺服器,例如 Apache、Nginx 等。其中 Nginx 是一款面向效能設計的 HTTP 伺服器,相較於 Apache、lighttpd 具有占有記憶體少,穩定性高等優勢,此外,Nginx 的優點還包括:高度模組化的設計,模組編寫簡單,以及設定檔簡潔。
因此在本篇文章,我們將結合先前的 PyTorch 實戰 - 高鐵驗證碼辨識,實作一個辨識驗證碼的 Flask API──通過傳入圖片在辨識完成後回傳驗證碼──,並部署於 CentOS 7 上,
An uninterruptible power supply or uninterruptible power source (UPS) is an electrical apparatus that provides emergency power to a load when the input power source or mains power fails. A UPS differs from an auxiliary or emergency power system or standby generator in that it will provide near-instantaneous protection from input power interruptions, by supplying energy stored in batteries, supercapacitors, or flywheels. The on-battery run-time of most uninterruptible power sources is relatively short (only a few minutes) but sufficient to start a standby power source or properly shut down the protected equipment. It is a type of continual power system.
Wikipedia ── Uninterruptible power supply
原本在 2017 年時購入了 UPS CP1000AVRLCD,結果這兩天搬家,插頭重新插上後 Overloads 警告作響,參考了官方與其他文章的解決辦法依然無解,只好正式宣告他壽終正寢。但已經習慣有 UPS 的我,沒了這個總是心慌慌,尤其在最近又買了新螢幕(AOC CU32V3)、新鍵盤(Leopold FC900R PD Sky)、新滑鼠(Logitech G304)、新音響(Edifier),總覺得該善待一下他們,於是又再買了台 UPS。
youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
youtube-dl ── ytdl-org/youtube-dl
youtube-dl 是一個開源程式碼專案,,可以從 Youtube 或是許多網站上下載影片。由於是基於 Python 開發,使得 youtube-dl 並不限定於特定平台使用。在本篇文章中將簡單介紹幾個 youtube-dl 用法。
Microsoft Edge is a web browser developed by Microsoft. It was first released for Windows 10 and Xbox One in 2015, then for Android and iOS in 2017, and for macOS in 2019.
Edge includes integration with Cortana and has extensions hosted on the Microsoft Store. Unlike Internet Explorer, Edge does not support the legacy ActiveX and BHO technologies.
Originally built with Microsoft’s own proprietary browser engine EdgeHTML and their Chakra JavaScript engine, Edge was rebuilt as a Chromium-based browser in 2019, using the Blink and V8 engines. As part of this change (codenamed Anaheim), Microsoft made preview builds of Edge available on Windows 7, 8, 8.1 and macOS, in addition to Windows 10. The first public release followed on January 15, 2020. In June of 2020 Microsoft began automatic rollout of Edge via Windows Update for Windows 7, 8.1 and all Windows 10 versions from version 1803 to version 2004.
Wikipedia ── Microsoft Edge
遙想當年 Internet Explorer (IE) 叱吒風雲,在被 Google Chrome 殺入後一蹶不振,而 Chrome 亦以 69.18% 的市佔率遙遙領先其他瀏覽器。然而,Chrome 在開啟後所消耗的記憶體使用量為人詬病,龐大的資源使用量使得部分電腦不堪負荷,而 Google 在 Chrome 上建立了良好且完整的生態圈,使得使用者難以跳入其他瀏覽器,強化了使用者黏著度。
而新版 Microsoft Edge 基於 Chromium 開發,除了容許了來自 Chrome Web Store 的擴充元件,成為 Chrome 使用者跳入 Edge 的一大誘因外,由於針對 Windows 10 進行最佳化,在資源使用率與執行效能上會較 Chrome 表現來得更為優秀。
Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, fish, tmux, IPython, Awesome, i3 and Qtile.
powerline── powerline
雖然透過 PIP 安裝 Powerline 極為方便,然而 CentOS 7 下安裝並使用於 C Shell 時會有一些小細節與問題需要注意,本篇文章將紀錄如何由 CentOS 7 下安裝 Powerline 並成功應用於 C Shell 下。
最近我的 Windows 10 電腦,檔案總管並不會自動更新資料夾,必須按下 F5 手動刷新。舉例而言,當在桌面按下右鍵 -> New -> Folder,或是透過瀏覽器下載檔案後,桌面並不會馬上出現應顯示的新增資料夾或檔案,而是必須透過 F5 手動刷新。此外發現這樣的情況不僅限於 Windows 10,包括 Windows 7、8、8.1 等版本都有可能存在。