With Apple moving away from Intel and making its own CPUs based on the Arm architecture, it is important to understand the differences in the history, architecture, and design philosophies between these two giants.
History of x86 — 0:28
History of Arm — 3:56
History of Apple using Arm — 7:45
Differences — 11:40
CISC vs RISC — 13:30
False Assumptions — 16:07
Future — 19:05
Brian Kernighan is a professor of computer science at Princeton University. He co-authored the C Programming Language with Dennis Ritchie (creator of C) and has written a lot of books on programming, computers, and life including the Practice of Programming, the Go Programming Language, his latest UNIX: A History and a Memoir. He co-created AWK, the text processing language used by Linux folks like myself. He co-designed AMPL, an algebraic modeling language for large-scale optimization.
OUTLINE:
0:00 — Introduction
4:24 — UNIX early days
22:09 — Unix philosophy
31:54 — Is programming art or science?
35:18 — AWK
42:03 — Programming setup
46:39 — History of programming languages
52:48 — C programming language
58:44 — Go language
1:01:57 — Learning new programming languages
1:04:57 — Javascript
1:08:16 — Variety of programming languages
1:10:30 — AMPL
1:18:01 — Graph theory
1:22:20 — AI in 1964
1:27:50 — Future of AI
1:29:47 — Moores law
1:32:54 — Computers in our world
1:40:37 — Life
The new M1 based MacBooks (and the Mac Mini) include at least two Thunderbolt / USB 4 ports. But what exactly are they? Thunderbolt 3 or Thunderbolt 4? What is USB 4? Lets find out.
If you do any kind of system admin on Linux or you are a programmer working with strings then you will likely have to use regular expressions, a way to define search patterns for string matching. Here is my introduction tutorial.
Local Forecast — Elevator Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License creativecommons.org/licenses/by/3.0/
The tee command allows you to monitor a commands output in your shell (or piping that output to another program) while *also* writing it to a logfile. Now you can have your Linux cake and eat it, too!
Linux команда nl и команда cat — команды обработки текстовых файлов. Команда nl нумерует строки файла, а команда cat — объединяет выбранные файлы.
Введённые без имени файла и та и другая позволяют вводить текст с консоли.
0:25 nl file_name — вывод файла file_name на экран и нумерация строк
1:39 nl -w2 file_name — уменьшение числа знаков нумерации
2:10 nl -s… -w2 file_name — изменение разделителя между полем нумерации и началом строки
Brief discussion of SUID and SGID permissions in Linux. I mention the sticky bit but I dont explain it. There are a number of good descriptions of these items on the web if you Google them.
Linux команда mv — переместить (переименовать) файл или папку на Ubuntu. Как написать скрипт для Linux Ubuntu — команда mv — команда перемещения или переименования файлов и папок на Ubuntu.
# ====== код программы ===========
#!/bin/bash
# move or rename
# -f, --force перезаписать не спрашивая
# -i, --interactive перед перезаписыванием — спросить
# -u, --update переместить только есть файл-источник новее
# (либо если целевой файл отсутствует)