每周分享第13期
文章目录
The motivation of ebp register
The ebp
(base pointer) register is associated with the stack primarily by software convention. On entry to a C function, the function’s prologue code normally saves the previous function’s base pointer by pushing it onto the stack, and then copies the current esp
value into ebp
for the duration of the function. If all the functions in a program obey this convention, then at any given point during the program’s execution, it is possible to trace back through the stack by following the chain of saved ebp
pointers and determining exactly what nested sequence of function calls caused this particular point in the program to be reached. This capability can be particularly useful, for example, when a particular function causes an assert
failure or panic
because bad arguments were passed to it, but you aren’t sure who passed the bad arguments. A stack backtrace lets you find the offending function.
https://pdos.csail.mit.edu/6.828/2018/labs/lab1/#The-Stack
ANSI escape code
在linux console显示各种颜色的信息可以使用特殊的符号串:escape sequence code.通过使用escape sequence code可以在linux终端以高亮,粗体,闪烁、多种颜色等方式展示消息。
https://blog.csdn.net/lano2088/article/details/51985563
https://en.wikipedia.org/wiki/ANSI_escape_code
http://rrbrandt.dee.ufcg.edu.br/en/docs/ansi/
Carbon: Create and share beautiful images of your source code
https://github.com/carbon-app/carbon
silicon
https://github.com/Aloxaf/silicon
功能和Carbon基本一致,无需浏览器和网络
openAPI
举个例子:
现在的互联网充满了一个又一个信息孤岛和大量的碎片化的数据,用户想知道一些资讯,必须在不同的网站上跑来跑去.比如看电影,首先去google map查看周围的电影院,然后去大众点评网查看对这家电影院的评论,然后去电影院的网站上看看今天有什么电影上映。然后支付网站进行电子购票.整个过程非常繁琐,数据之间没有关联.充斥着大量的异构系统.
为了解决这些问题.我们引入了openapi的概念.通过openapi,数据提供商开放了自己的数据,通过mashup将信息孤岛连接起来.整合这些信息碎片.
如果google,大众点评网,电影院,支付宝均开放自己的openapi.然后有一个mashup程序将他们整合起来.那么用户就能体验一站式购物.进这个网站,找到电影院,查看电影院评价,如果评价好,查看电影院上映什么节目。电子订票.然后就能直接杀过去了。省时省力 。
https://blog.csdn.net/sinat_37529938/article/details/89098454
https://www.youtube.com/watch?v=s9u3mXQZbXI
Linux containers in a few lines of code
https://zserge.com/posts/containers/
《如何阅读一本书》
作者:莫提默•J•艾德勒/查尔斯•范多伦
http://t.cn/A6AUGPrb?m=4503332151139449&u=6610719877
platuml
multiboot
Every operating system ever created tends to have its own boot loader. Installing a new operating system on a machine generally involves installing a whole new set of boot mechanisms, each with completely different install-time and boot-time user interfaces. Getting multiple operating systems to coexist reliably on one machine through typical chaining mechanisms can be a nightmare. There is little or no choice of boot loaders for a particular operating system — if the one that comes with the operating system doesn’t do exactly what you want, or doesn’t work on your machine, you’re screwed.
While we may not be able to fix this problem in existing proprietary operating systems, it shouldn’t be too difficult for a few people in the free operating system communities to put their heads together and solve this problem for the popular free operating systems. That’s what this specification aims for. Basically, it specifies an interface between a boot loader and a operating system, such that any complying boot loader should be able to load any complying operating system. This specification does not specify how boot loaders should work — only how they must interface with the operating system being loaded.
https://www.gnu.org/software/grub/manual/multiboot/multiboot.html
Jenkins
https://www.youtube.com/watch?v=LFDrDnKPOTg
OAuth 2.0 的一个简单解释
http://www.ruanyifeng.com/blog/2019/04/oauth_design.html
EDA工具
EDA技术就是以计算机为工具,设计者在EDA软件平台上,用硬件描述语言VerilogHDL完成设计文件,然后由计算机自动地完成逻辑编译、化简、分割、综合、优化、布局、布线和仿真,直至对于特定目标芯片的适配编译、逻辑映射和编程下载等工作。EDA技术的出现,极大地提高了电路设计的效率和可操作性,减轻了设计者的劳动强度。