30岁找不到工作很绝望_计算机为绝望的新编码员工作方式的快速指南
30岁找不到工作很绝望
by Danielle Ormshaw
丹妮尔·欧姆肖(Danielle Ormshaw)
计算机为绝望的新编码员工作方式的快速指南 (The quick guide to the way computers work for desperate new coders)
The sole purpose of your computer is to send and receive information in the form of numbers — one and zero.
您计算机的唯一目的是以数字形式(一和零)发送和接收信息。
When I first understood the weight of that concept, I became transfixed. How can we create such complex interactions from a series of ones and zeros?
当我第一次理解这个概念的重要性时,我变得无所适从。 我们如何通过一系列的一和零来创建如此复杂的交互作用?
I poured over computer science texts, and scoured the internet. I was struggling to understand how it all plugged together. This is the guide I wish I had found months ago, when I first started this journey.
我倾注了计算机科学课本,并搜寻了互联网。 我在努力了解所有这些如何连接在一起。 我希望这是几个月前第一次开始此旅程时找到的指南。
人类使用十进制系统进行交流 (Humans communicate using the decimal system)
When humans want to communicate using numbers, they use the decimal system. The decimal system has ten digits (0–9), and humans interpret it based on the column those digits appear in. Consider the decimal number 148. When you read this example, you subconsciously follow the steps below:
当人们想要使用数字进行交流时,他们使用十进制。 十进制系统有十个数字(0–9),人类根据这些数字出现的列进行解释。考虑十进制数字148。在阅读本示例时,您会下意识地遵循以下步骤:
- Multiply the right-most number by 10^0.最右边的数字乘以10 ^ 0。
- Multiply the middle number by 10^1.中间数字乘以10 ^ 1。
- Multiply the left-most number by 10^2.最左边的数字乘以10 ^ 2。
- Add the outputs from steps 1–3.添加步骤1-3的输出。
Using this system, you were able to extrapolate the correct meaning — one hundred and forty eight.
使用此系统,您可以推断正确的含义-148。
In the decimal system, we always multiply digits by 10 to the power of something. Every time we add a new column to the left-hand side of the table, that power must increase by one. In this way, we say that the decimal system has a base of 10. Simple enough?
在十进制系统中,我们总是将数字乘以10以乘以某物的幂。 每次我们在表格的左侧添加新列时,该功效必须增加一。 这样,我们说十进制的底数为10。
计算机使用二进制系统进行通信 (Computers communicate using the binary system)
When computers want to communicate, they use a similar system. The binary system has two digits (0,1), and we can break it down in the same manner as the decimal system. This time, instead of working with a base of 10, we are working with a base of 2.
当计算机要通信时,它们使用类似的系统。 二进制系统有两位数字(0,1),我们可以用与十进制相同的方式来分解它。 这次,我们以2为底数,而不是以10为底数。
Consider the binary number 110. When a computer interprets this binary code, it will follow the steps below:
考虑二进制数字110。当计算机解释此二进制代码时,它将遵循以下步骤:
- Multiply the right-most number by 2^0.最右边的数字乘以2 ^ 0。
- Multiply the middle number by 2^1.中间数字乘以2 ^ 1。
- Multiply the left-most number by 2^2.最左边的数字乘以2 ^ 2。
- Add the outputs from steps 1–3.添加步骤1-3的输出。
Again, every time we add a new column to the left-hand side of the table, we need to increase the power by one.
同样,每次我们在表格的左侧添加新列时,都需要将功效增加一。
互联网是一个物理系统,旨在传递信息 (The internet is a physical system, designed to move information)
We’ve learned how to use binary code to store information, but how does that work in practice?
我们已经学习了如何使用二进制代码存储信息,但是在实践中该如何工作?
The internet is like an Amazon delivery courier. Instead of shipping parcels back and forth, it ships bits. It doesn’t matter if you are sending a photo or a document — every piece of information on the internet is represented in bits. Each bit has a single binary value (zero or one), and eight bits come together to form a byte.
互联网就像亚马逊的快递员。 而不是来回运送包裹,它运送位。 发送照片或文档都没关系-互联网上的每条信息都以位表示。 每个位具有单个二进制值(零或一个),八个位加在一起形成一个字节。
When you download a file to your computer, you are likely to see a file size in the kilobyte or megabyte range. The kilobyte is one thousand bytes, and the megabyte is one million bytes.
当您将文件下载到计算机上时,您可能会看到文件大小在千字节或兆字节范围内。 千字节为一千个字节,兆字节为一百万个字节。
The transmission of binary information can occur in one of three ways:
二进制信息的传输可以通过以下三种方式之一进行:
- Electric transmission.电动变速箱。
- Fibre optic transmission.光纤传输。
- Wireless transmission.无线传输。
Internet service providers (ISP) supply the physical infrastructure that supports these systems.
Internet服务提供商(ISP)提供支持这些系统的物理基础结构。
每个连接到互联网的设备都有一个唯一的地址 (Every device connected to the internet has a unique address)
When you order a parcel from Amazon, the courier will use your address to deliver to the correct place. The internet works in exactly the same way.
当您从亚马逊订购包裹时,快递员将使用您的地址将其运送到正确的地方。 互联网的工作方式完全相同。
When we Google something, we send our request to a unique string of numbers, known as an IP address. These requests will include a multitude of bits and the IP address of the original device. This is like a “return address,” and the recipient can now understand where the request came from.
当我们使用Google产品时,我们会将请求发送到唯一的数字字符串,即IP地址。 这些请求将包括大量位和原始设备的IP地址。 这就像“寄信人地址”,收件人现在可以了解请求的来源。
That said, when we want to visit Google, we don’t type a string of numbers into the browser. So, how do our computers know where to send each request?
就是说,当我们要访问Google时,我们不会在浏览器中输入数字字符串。 那么,我们的计算机如何知道将每个请求发送到哪里?
互联网通过一系列协议和检查点运行 (The internet works via a series of protocols and checkpoints)
The domain name system (DNS) converts human readable web addresses into numerical IP addresses. In the event that the DNS doesn’t know the address, it will engage a network of connected servers to find the answer.
域名系统(DNS)将人类可读的网址转换为数字IP地址。 如果DNS不知道地址,它将与连接的服务器网络联系以找到答案。
When two devices communicate, they send information in packets. We often need to break information into multiple packets. Each one will contain bytes of the information and both the sending and receiving IP addresses.
当两个设备通信时,它们以分组的形式发送信息。 我们经常需要将信息分成多个数据包。 每个将包含信息的字节以及发送和接收IP地址。
Packets move through the network of devices by making use of a traffic management system. Routers track the paths that packets may take, and identify the “cheapest” route. The cheapest route is often defined as the path with the least congestion. When managing packets, routers may also consider non-technical factors, such as international politics.
数据包通过使用流量管理系统在设备网络中移动。 路由器跟踪数据包可能采用的路径,并确定“最便宜”的路由。 最便宜的路线通常被定义为拥塞最少的路线。 在管理数据包时,路由器可能还会考虑非技术因素,例如国际政治。
Packets may take different routes through the network, and often arrive at their destination out of sequence. How does the network handle that?
数据包可能会通过网络采用不同的路由,并且常常会不按顺序到达其目的地。 网络如何处理?
The transmission control protocol (TCP) acts as an inventory check. If all packets are present, TCP sends an acknowledgement of receipt to the sending device. If not, TCP will “refuse to sign” for the delivery and will request all missing packets.
传输控制协议(TCP)用作清单检查。 如果所有数据包都存在,则TCP将接收确认发送到发送设备。 否则,TCP将“拒绝签名”以进行传送,并将请求所有丢失的数据包。
In summary, the domain name server (DNS) translates human readable web addresses into an IP. Information is broken down, transported, and accepted in the form of packets. Packets contain binary information in the form of bits, and electric cables, fibre optic, and wireless networks send these bits between IP addresses.
总之,域名服务器(DNS)将人类可读的网址转换为IP。 信息以数据包的形式被分解,传输和接受。 数据包包含位形式的二进制信息,电缆,光纤和无线网络在IP地址之间发送这些位。
下一步是什么? (What’s next?)
If this post helped you understand the basics, please show your appreciation with a round of applause or by following me on Twitter. Happy coding!
如果这篇文章帮助您理解了基础知识,请以掌声或在Twitter上关注我,表示赞赏。 编码愉快!
翻译自: https://www.freecodecamp.org/news/the-quick-guide-to-the-way-computers-work-for-desperate-new-coders-fcdb34cbe8a9/
30岁找不到工作很绝望
相关文章:

纯css3代码写下拉菜单效果
1 <!DOCTYPE html>2 <html lang"en">3 <head>4 <meta charset"UTF-8">5 <meta name"viewport" content"widthdevice-width,initial-scale1;user-scaleno">6 <title>CSS3树形菜单</title…

webpack chunkFilename 非入口文件的命名规则 [转]
官网的文档只理解了filename是主入口的文件名,chunkFilename是非主入口的文件名 filename应该比较好理解,就是对应于entry里面生成出来的文件名。比如: {entry: {"index": "pages/index.jsx"},output: {filename: "…

对数组中的数字从小到大排序
微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 var arr [{name:1,age:1},{name:2,age:4},{name:3,age:2} ];function compare(e){return function(a,b){var value1 a[e];var value2 b[e];return value1 - value2;} } console.log(arr.sort(compare…

自动售货机编程_Rosmaro中基于视觉自动机的编程简介
自动售货机编程by Łukasz Makuch通过ŁukaszMakuch Rosmaro中基于视觉自动机的编程简介 (An introduction to visual automata-based programming in Rosmaro) To do automata-based programming is to program with states and transitions. States correspond to different…

JAVA设计模式之命令模式
将请求封装成一个对象,从而使你可以用不同的请求对客户进行参数化;对起那个请求进行排队或记录请求日志。 命令模式告诉我们可以为一个操作生成一个对象并给出它的一个execute(执行)方法。Command模式为系统架构带来效果: 实现请求一方&#…

vb.net与matlab的混合编程
首先,使用deploytool工具或者命令行将matlab的m文件编译成类,结果产生动态链接库.dll文件和一些c#代码的类. 第二步,将这些dll文件导入进去,并使用一些win32api函数,因为此m文件会产生figure窗口,这些api函数将此figure窗口嵌入到vb程序窗体里面. 代码: Imports SystemImports …

java web开发初学_2018年学习Web开发的绝对初学者指南
java web开发初学This post was originally published on Coder-Coder.com.该帖子最初发布在Coder-Coder.com上 。 If you’re a beginner coder, this guide is for you!如果您是初学者,那么本指南适合您! Here is what this guide covers:本指南涵盖…

PC机安装android apk | adb install -r
PC 下载 *****.apk 通过adb直接安装到android系统 转载于:https://www.cnblogs.com/galoishelley/p/4353423.html

微信小程序之apply和call ( 附示例代码和注释讲解) apply call bind
微信小程序开发交流qq群 173683895 相同点:作用是一样的,它们能劫持另外一个对象的方法,继承另外一个对象的属性; js中的call(), apply()和bind()是Function.prototype下的方法,都是用于改变函数运行时上下文&#…

(转)@ContextConfiguration注解说明
场景:学习spring实战中相关的单元测试 1 正常使用 ContextConfiguration Spring整合JUnit4测试时,使用注解引入多个配置文件 1.1 单个文件 ContextConfiguration(locations"../applicationContext.xml") ContextConfiguration(classes Simple…

ios pusher使用_如何使用JavaScript和Pusher构建实时评论功能
ios pusher使用by Rahat Khanna通过拉哈特汉娜 如何使用JavaScript和Pusher构建实时评论功能 (How to build a Live Comment feature using JavaScript and Pusher) These days “Social” has become the buzzword and we all want our apps to be the center of these amazi…

OpenDigg前端开源项目月报201704
由OpenDigg 出品的前端开源项目月报第一期来啦。我们的前端开源月报集合了OpenDigg一个月来新收录的优质前端开源项目,方便前端开发人员便捷的找到自己需要的项目工具。 reactide React web应用开发的第一个专用IDE redux-offline 持久性Redux存储 react-loadable 用…

ubuntu 14.04 使用apt-get出现如下问题解决办法
Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming. 使用aptitude这个代替apt-get …

java通用象棋游戏_在通用国际象棋界面周围模拟GraphQL包装器
java通用象棋游戏The Universal Chess Interface (UCI) has been around a long time and used by many chess engines. What does GraphQL bring to the mix?通用国际象棋界面(UCI)已经存在了很长时间,并且被许多国际象棋引擎使用。 GraphQL带来了什么?…

表单高级应用和语义化
type"hidde" 隐藏域 disable 禁用 什么是表单语义化 符合W3C规范 语义化的标签 结构合理、代码简洁 分组<fieldset><legend>标题</legend> </fieldsrt> 关联<lable for"id"></lable>转载于:https://www.cnblogs.com/G…

modelsim中一个神奇又容易忽视的问题
最近在用modelsim对设计进行仿真的过程中发现了一个非常有趣的问题。接下来,让我们跟随着一个设计的仿真来发现问题的原因所在。首先,以调用基于IP核的加法器为例。加法器IP核的参数设置如下: 设计代码如下: /*******************…
html页面引入另一个html页面
微信小程序开发交流qq群 173683895 正文: 上源码: <!DOCTYPE html> <html><head><meta charset"utf-8" /><script src"js/jquery.js" type"text/javascript" charset"utf-8">…

javascript晚绑定_JavaScript的应用,调用和绑定通过托管野餐来解释
javascript晚绑定by Kevin Kononenko凯文科诺年科(Kevin Kononenko) JavaScript的应用,调用和绑定通过托管野餐来解释 (JavaScript’s apply, call, and bind explained by hosting a cookout) If you have ever been in charge of operating the grill at a famil…

13.angular时间
<!DOCTYPE html><html ng-app"myApp" ng-controller"myCtrl"><head lang"en"> <meta charset"UTF-8"> <title>T38-angular时间</title> <script src"js/angular.js" type&…
【SICP练习】110 练习3.23
练习3-23 原文 Exercise 3.23. A deque (“double-ended queue”) is a sequence in which items can be inserted and deleted at either the front or the rear. Operations on deques are the constructor make-deque, the predicate empty-deque?, selectors front-deque …

js页面跳转或重定向
微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文: 页面重定向推荐的4种方式: <!DOCTYPE html> <html><head><script type"text/javascript">window.location.href"https://blog.c…

javascript组件_是的,JavaScript运行Swift。 无论如何都要构建您的组件库。
javascript组件Here’s a question I’ve heard a few times recently:这是我最近几次听到的一个问题: “What if we create a component library in React/Vue/Angular/whatever and a new component technology replaces it?”“如果我们在React / Vue / Angula…

结对开发--求二维数组的最大子数组
小组成员:信1201-1班 黄亚萍 信1201-1班 袁亚姣 一、题目要求 程序要使用的数组放在一个叫 input.txt 的文件中, 文件格式是: 数组的行数, 数组的列数, 每一行的元素, (用逗号分开) 每一个数字都是有符号32位整数, 当然, 行数和列数都是正整数。 二、设计思路 在…

实验二 164 张增进
一、实验目的 掌握基于覆盖理论与基本路径的基本白盒测试方法和实践 二、实验要求 运用逻辑覆盖测试的覆盖准则设计被测程序的测试用例,并运行测试用例检查程序的正确与否,给出程序缺陷小结。 三、实验内容 根据各位同学自己的被测程序,分别作…

微信小程序之录音与播放功能(完整示例demo)
微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文: 源码简介: 点击按钮实现相应效果 ↓↓↓↓↓↓↓↓ //test.wxml <button bindtapstart>开始录音</button> <button bindtapplay>播放录音</butt…

为什么您不需要精通数学就可以学习编程
by Pau Pavn通过保罗帕文(PauPavn) 为什么您不需要精通数学就可以学习编程 (Why you don’t need to excel at math to learn how to program) This is probably one of the greatest misconceptions I’ve ever heard.这可能是我听过的最大的误解之一。 If you want to prog…

Android动态加载jar/dex
http://www.cnblogs.com/over140/archive/2011/11/23/2259367.html 加载jar boolean bool new File("/sdcard/test.jar").exists();DexClassLoader cl new DexClassLoader("/sdcard/test.jar", this.getCacheDir().getAbsolutePath(), null, this.getCla…

使用μJava进行变异体测试
一、环境配置mujava运行的是Java程序,Java的环境配置见EclipseJDK配置那点事。 将下载的mujava相关文件放到一个文件夹,文件夹放到C:\muJava 添加mujava环境变量CLASSPATH: C:\mujava\mujava.jar;C:\mujava\openjava.jar;C:\mujava\junit.jar…

【微信小程序之画布】一:canvas组件
微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文: 此文章主要是对canvas组件的介绍与基本的使用。在组件中绘画了一条固定的直线。 我们先了解一下canvas组件: wxml: <canvas classmyCanvas canvas-id"myCanvas…

JavaScript的“ this”通过成立一个高中乐队来解释
by Kevin Kononenko凯文科诺年科(Kevin Kononenko) JavaScript的“ this”通过成立一个高中乐队来解释 (JavaScript’s “this” Explained By Starting A High School Band) If you have ever been in a band, had a friend that started a band, or seen a corny 80s movie …