Erlang/Elixir精選-第5期(20200106)

来源:https://www.cnblogs.com/zhongwencool/archive/2020/01/05/collection_5.html
-Advertisement-
Play Games

The forgotten ideas in computer science-Joe Armestrong ...


The forgotten ideas in computer science-Joe Armestrong

在2020年的第一期裡面,一起回顧2018年Joe的 The forgotten ideas in computer science。在40多分鐘裡面總結了他精挑的個人最佳List.
強烈建議配合著視頻回看❤️❤️❤️❤️❤️


Part 1 Motivation

最初只是想想瞭解電腦科學中那些forgotten ideas,後來變成了想知道Silly ideas,Hot research topics,Bad ideas...然後就想做個人列表排行。

As with our colleges, so with a hundred "modern improvements”; there is an illusion about them; there is not always a positive advance ... Our inventions are wont to be pretty toys, which distract our attention from serious things.
Henry David ThoreauWalden (1854)

How to make a list

  • Collect lots of items easy
  • Assign to lists difficult
  • Shorten the lists to N items (N is small) very difficultThrowing things away is much more difficult than collecting things - but what’s left is better.

Part 2 Things to learn

Essential Guide to CS

  • 80 things in 18 categories(some old, some new, some forgotten)
  • Pix and Mix
  • Not all equally importantI’ll talk about the most important oneslater
  • 2 great papers to read
  • 4 old tools to learn
  • 4 really bad things
  • 3 great books to read
  • 7 reasons why software is difficult now
  • 10 reasons why software was easier back in the day
  • 1 fun programming exercise
  • 8 great machines from the past
  • 3 performance improvements
  • 5+ YouTube videos to watch
  • 6 things not to do
  • 5 sins
  • 4 languages to learn
  • 4 great forgotten ideas
  • 6 areas to research
  • 2 dangers
  • 4 ideas that are obvious now but strange at first
  • 2 fantastic programs to try

2 great papers to read

4 old tools to learn

  • emacs (vi)
  • bash
  • make
  • shell

4 really bad things

  • Lack of Privacy
  • Attempts to manipulate us through social media
  • Vendor Lock in
  • Terms and Conditions

3 great books to read

7 reasons why software is difficult now

  • Fast machines
  • Huge memory
  • Hundreds of PLs
  • Distributed
  • Huge programs
  • No specifications
  • Reuse

10 reasons why software was easier back in the day

  • Small machines
  • Small memory
  • Few languages
  • Not distributed
  • No reuse of code
  • No Xcode etc
  • No GIT.
  • Complete control
  • Did not communicate
  • Understandable in it’s entirety

8 great machines from the past

3 performance improvements

  • Better algorithms ( x 6) (Interpreter -> Compiler)
  • Better Programming language (x50) (Prolog -> C)
  • Better Hardware (x1000 per 10 years)

5+ YouTube videos to watch

6 things not to do

  • Backdoors
  • Violate privacy
  • Put microphones in everybody's houses
  • Hijack our attention system
  • Hijack our social systems
  • Sell crap that we don’t want or need

5 sins

  • Crap documentation
  • Crap website
  • Crap dependencies
  • Crap build instructions
  • Group think

4 languages to learn

  • C
  • Prolog
  • Erlang
  • Javascript

Great forgotten Ideas

Pipes :The output of my program should be the input to your program A | B | C
Text-flows across the boundary, Killed by GUI sand Apps.


Part 3 Important noncomputer science things

learn to write

A program with excellent documentation is not going to go anywhere

3 rules at work

  • If you get a bad boss move immediately do not try to change your boss
  • The relationship comes first (Jane Walerud)
  • Engage with managementjust because they do not understand what you are saying is no reason not to talk to them - and whose fault is it anyway (that they don’t understand you)

7 distractions

  • Open plan offices
  • The latest stuff
  • Twitter/Facebook (social media)
  • Notifications (turn ‘em off)
  • Links (don’t click on them)
  • Ban Scrum etc.
  • We can only do one thing at a time Our brains are terribly bad at context switching

6 ways to get your boss to

  • Do things that gain trust
  • Tell success stories
  • Reduce fear of failure
  • Introduce on a small scale - for a part of the problem
  • Network with Erlang folks
  • Make a prototype at home

1 thing to look for when applying for a new job

Look at their balance sheeta company with a positive cash flow and increasing profits is good to work for - a company that makes a loss is not good to work for

3 general laws

  • Software complexity grows with time (because we build on old stuff)
  • Bad code crowds out good (Gresham’s law) bad money drives out good (clipping)
  • Bad code contaminates good code

Part 4 Important half forgotten BIG ideas

Things can be small

  • Forth OS 24 KB
  • Forth compiler 12KB
  • IBM PC DOS < 640KB
  • USCD Pascal
  • Turbo Pascal
  • Turbo C

The old truths

  • Keep it simple
  • Make it small
  • Make it correct
  • Fight complexity

Learning

  • Kids can learn computing
  • OAPs can learn computing
  • Everybody can learn computing It was easy to learn BASIC back in the 80’s sowhy is it more difficult now?

Part 5 What we can do

  • Unbreak the webMake it read/write symmetric
  • Bring computation to the edge network
  • Ensure that all personal data is owned by the individual and not by large corporations
  • Make computing easy again
  • Build Apps so they can communicate with each other

A program that is not secure and cannot be remotely controlled should not be written.


個人感受

感覺老爺子是一個聰明(智慧)且非常有激情的人,樂於分享。恨不得在這40分鐘內把所有的技術積累、人生經驗都能分享給大家。老一輩也有信息過載的焦慮,可能感受到他對現代人對社交平臺的過度依賴的擔心。中間一大段對tiddlywiki的推薦和Joe把自己的博客主頁全部變成tiddlywiki,讓我花了2小時在去官網上下載體驗了一把,但是給人的感覺是上世紀的東西,我想這也是它不火,特別小眾的原因吧。看樣子幾乎沒有人用。官網例子也是幾年前。


image.png
歡迎來語雀投稿或推薦,精選每周一發佈,同步更新在語雀博客園


您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • Ajax AJAX即“Asynchronous Javascript And XML”:是,不發生頁面跳轉、非同步請求載入內容並改寫局部頁面內容的技術。 也可以簡單的理解為通過JS向伺服器發送請求。 同步處理: 就是當我們通過一個頁面向伺服器發送一個請求時,在伺服器響應結束之前,我們的整個頁面是不能操 ...
  • 原型和原型鏈 原型鏈是一種關係, 實例對象和原型對象之間的關係,關係是通過實例對象中瀏覽器使用的原型(__proto__)來聯繫的 自定義構造函數,通過實例化,創建實例對象 實例對象中__proto__是原型,瀏覽器使用的 構造函數中的prototype是原型,程式員使用的 //使用對象 >使用對象 ...
  • 本文主要講了一些移動端適配的基本思路和一些代碼示例,並沒有講解具體的移動端適配的方案,主要從為什麼這麼做出發講了一些自己粗淺的理解。 所謂移動端適配,就是頁面運行在移動端並且會根據當前運行的移動端設備的大小自行進行調整。 實現移動端適配可以按照以下思路出發, 首先要將 viewport 的寬度等於設 ...
  • 框架選型: 1、基本框架:springboot2.2+springcloud(Hoxton.M2)+nacos (所有公共模塊全部使用 starter 方式依賴) 2、授權及許可權:oauth2+jwt+security(基於RBAC的細粒度許可權控制) 其它基礎依賴:分散式事物、分散式job、MQ(r ...
  • 圖解Java設計模式之設計模式面試題 1.1 Java設計模式內容介紹 1.1.1 先看幾個經典的面試題 1.1.2 設計模式的重要性 1.1 Java設計模式內容介紹 1.1.1 先看幾個經典的面試題 原型設計模式問題 :1)有請使用UML類圖畫出原型模式核心角色2)原型設計模式的深拷貝和淺拷貝是 ...
  • 一.介紹 反向代理:讓Internet上的用戶可以訪問區域網內的資源,中間設置一個代理伺服器,如下所示,紅色圈是指區域網內的站點(myweb站點是我們的站點,例如iis)。箭頭不能反過來 正向代理:客戶端(我們代理客戶端)訪問Internet上的站點。中間設置一個代理伺服器,如下所示,紅色圈是指局域 ...
  •  1 問題描述 使用PySide2寫了一個GUI程式,調用ffmpeg命令行工具,做簡單的批量視頻處理(調整幀寬度、幀高度、視頻變速、降低視頻碼率達到限制視頻大小),使用了ffmpeg、 ffmpeg python庫; 挺簡單的事兒,但遇到一個問題: pyinstaller打包程式時: 1. 不加 ...
  • 今天在用到camelot爬取pdf的表格時,想選取部分區域進行爬取,就想用plot把pdf畫一下,選個坐標。 看了網上的示例,在使用camelot.read_pdf獲取當前頁面以後調用tables[0].plot('text'),提示AttributeError: 'Table' object ha ...
一周排行
    -Advertisement-
    Play Games
  • 移動開發(一):使用.NET MAUI開發第一個安卓APP 對於工作多年的C#程式員來說,近來想嘗試開發一款安卓APP,考慮了很久最終選擇使用.NET MAUI這個微軟官方的框架來嘗試體驗開發安卓APP,畢竟是使用Visual Studio開發工具,使用起來也比較的順手,結合微軟官方的教程進行了安卓 ...
  • 前言 QuestPDF 是一個開源 .NET 庫,用於生成 PDF 文檔。使用了C# Fluent API方式可簡化開發、減少錯誤並提高工作效率。利用它可以輕鬆生成 PDF 報告、發票、導出文件等。 項目介紹 QuestPDF 是一個革命性的開源 .NET 庫,它徹底改變了我們生成 PDF 文檔的方 ...
  • 項目地址 項目後端地址: https://github.com/ZyPLJ/ZYTteeHole 項目前端頁面地址: ZyPLJ/TreeHoleVue (github.com) https://github.com/ZyPLJ/TreeHoleVue 目前項目測試訪問地址: http://tree ...
  • 話不多說,直接開乾 一.下載 1.官方鏈接下載: https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads 2.在下載目錄中找到下麵這個小的安裝包 SQL2022-SSEI-Dev.exe,運行開始下載SQL server; 二. ...
  • 前言 隨著物聯網(IoT)技術的迅猛發展,MQTT(消息隊列遙測傳輸)協議憑藉其輕量級和高效性,已成為眾多物聯網應用的首選通信標準。 MQTTnet 作為一個高性能的 .NET 開源庫,為 .NET 平臺上的 MQTT 客戶端與伺服器開發提供了強大的支持。 本文將全面介紹 MQTTnet 的核心功能 ...
  • Serilog支持多種接收器用於日誌存儲,增強器用於添加屬性,LogContext管理動態屬性,支持多種輸出格式包括純文本、JSON及ExpressionTemplate。還提供了自定義格式化選項,適用於不同需求。 ...
  • 目錄簡介獲取 HTML 文檔解析 HTML 文檔測試參考文章 簡介 動態內容網站使用 JavaScript 腳本動態檢索和渲染數據,爬取信息時需要模擬瀏覽器行為,否則獲取到的源碼基本是空的。 本文使用的爬取步驟如下: 使用 Selenium 獲取渲染後的 HTML 文檔 使用 HtmlAgility ...
  • 1.前言 什麼是熱更新 游戲或者軟體更新時,無需重新下載客戶端進行安裝,而是在應用程式啟動的情況下,在內部進行資源或者代碼更新 Unity目前常用熱更新解決方案 HybridCLR,Xlua,ILRuntime等 Unity目前常用資源管理解決方案 AssetBundles,Addressable, ...
  • 本文章主要是在C# ASP.NET Core Web API框架實現向手機發送驗證碼簡訊功能。這裡我選擇是一個互億無線簡訊驗證碼平臺,其實像阿裡雲,騰訊雲上面也可以。 首先我們先去 互億無線 https://www.ihuyi.com/api/sms.html 去註冊一個賬號 註冊完成賬號後,它會送 ...
  • 通過以下方式可以高效,並保證數據同步的可靠性 1.API設計 使用RESTful設計,確保API端點明確,並使用適當的HTTP方法(如POST用於創建,PUT用於更新)。 設計清晰的請求和響應模型,以確保客戶端能夠理解預期格式。 2.數據驗證 在伺服器端進行嚴格的數據驗證,確保接收到的數據符合預期格 ...