编程杂谈
lucas1997
这个作者很懒,什么都没留下…
展开
-
MIT 计算机操作环境导论Missing Semester Lesson 10 Q&A
最后一节课,我们回答学生提出的问题:学习操作系统相关内容的推荐,比如进程,虚拟内存,中断,内存管理等 你会优先学习的工具有那些? 使用 Python VS Bash脚本 VS 其他语言? source script.sh和./script.sh有什么区别? 各种软件包和工具存储在哪里?引用过程是怎样的?/bin或/lib是什么? 我应该用apt-get install还是pip install去下载软件包呢? 用于提高代码性能,简单好用的性能分析工具有哪些? 你使用那...转载 2020-07-01 11:31:49 · 356 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 9 安全和密码学
去年的这节课我们从计算机用户的角度探讨了增强隐私保护和安全的方法。 今年我们将关注比如散列函数、密钥生成函数、对称/非对称密码体系这些安全和密码学的概念是如何应用于前几节课所学到的工具(Git和SSH)中的。本课程不能作为计算机系统安全 (6.858) 或者 密码学 (6.857以及6.875)的替代。 如果你不是密码学的专家,请不要试图创造或者修改加密算法。从事和计算机系统安全相关的工作同理。这节课将对一些基本的概念进行简单(但实用)的说明。 虽然这些说明不足以让你学会如何设计安全系统或者...转载 2020-07-01 11:30:41 · 432 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 8 元编程
我们这里说的 “元编程(metaprogramming)” 是什么意思呢?好吧,对于本文要介绍的这些内容,这是我们能够想到的最能概括它们的词。因为我们今天要讲的东西,更多是关于流程,而不是写代码或更高效的工作。本节课我们会学习构建系统、代码测试以及依赖管理。在您还是学生的时候,这些东西看上去似乎对您来说没那么重要,不过当您开始实习或走进社会的时候,您将会接触到大型的代码库,本节课讲授的这些东西也会变得随处可见。必须要指出的是,“元编程” 也有用于操作程序的程序” 之含义,这和我们今天讲座所介绍的概念是完..转载 2020-06-03 14:17:37 · 285 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 7 调试及性能分析
代码不能完全按照您的想法运行,它只能完全按照您的写法运行,这是编程界的一条金科玉律。让您的写法符合您的想法是非常困难的。在这节课中,我们会传授给您一些非常有用技术,帮您处理代码中的 bug 和程序性能问题。调试代码打印调试法与日志“最有效的 debug 工具就是细致的分析,配合恰当位置的打印语句” — Brian Kernighan,Unix 新手入门。调试代码的第一种方法往往是在您发现问题的地方添加一些打印语句,然后不断重复此过程直到您获取了足够的信息并找到问题的根本原因。另外一.转载 2020-05-31 16:05:06 · 781 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 6 Git 版本控制(Git)
Version control systems (VCSs) are tools used to track changes to source code (or other collections of files and folders). As the name implies, these tools help maintain a history of changes; furthermore, they facilitate collaboration. VCSs track changes t转载 2020-05-27 23:38:54 · 385 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 5 命令行环境
In this lecture we will go through several ways in which you can improve your workflow when using the shell. We have been working with the shell for a while now, but we have mainly focused on executing different commands. We will now see how to run several转载 2020-05-12 14:31:32 · 386 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 4 数据整理
Have you ever wanted to take data in one format and turn it into a different format? Of course you have! That, in very general terms, is what this lecture is all about. Specifically, massaging data, w...转载 2020-04-27 18:50:53 · 493 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 3 编辑器 (Vim)
Writing English words and writing code are very different activities. When programming, you spend more time switching files, reading, navigating, and editing code compared to writing a long stream. It...转载 2020-04-14 17:44:45 · 569 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 2 Shell 工具和脚本
Shell ScriptingSo far we have seen how to execute commands in the shell and pipe them together. However, in many scenarios you will want to perform a series of commands and make use of control flow ...转载 2020-04-01 22:42:10 · 706 阅读 · 0 评论 -
跟我一起写Makefile(整理版)
跟我一起写Makefile陈皓(博客地址:http://blog.csdn.net/haoel/article/details/2886)整理的PDF文件:http://download.csdn.net/download/xiaoshuai537/102620891. makefile很重要什么是makefile?或许很多Winodws的程序员都不知道这个东西,因为那些Win...转载 2020-03-17 21:43:52 · 218 阅读 · 0 评论 -
MIT 计算机操作环境导论Missing Semester Lesson 1 课程概览与shell
What is the shell?Computers these days have a variety of interfaces for giving them commands; fancyful graphical user interfaces, voice interfaces, and even AR/VR are everywhere. These are great for...转载 2020-03-17 21:35:42 · 796 阅读 · 0 评论