essay sundry

感觉很多单词, 即使是所谓的抽象名词都有复数形式,是习惯用法,比如, details, comments, ads等
ad: 广告, advertise的缩写? advertise. advertiser , advertising, advertisement. developer's ads

居民: residents, 与presidents总统区别, 后面的内容都相同, 只是 总统的前面 多了一个 p字母

df是查看整个硬盘的名分区的使用情况, 是针对分区的/硬盘的/磁盘的, 不是针对某一文件/目录的(那个命令是du), df是以 分区比如 /dev/sda1, /dev/sda2等为单位/对象进行查看的,
它主要是配合 fdisk 来进行磁盘分区操作的.

几乎所有的linux命令都支持, 查看版本的命令是 --version

linux os可以管理和识别 整个磁盘硬件 和 os软件, 比如硬盘的格式化/分区/挂载等; os目录/文件等的管理.
分区和目录, 如同商店的 商标/价格标签 和 放在橱窗里的商品东西一样. os日常操作中管理的是 商标/价格标签, 而实际的东西是放在橱窗(即分区)中的, 所以, 目录和分区之间具有一根链子, 这根链子就叫 mount == 挂载, 默认的os启动时就会把 安装时的硬件分区 mounted on 到目录好了.
你可以把 不同的硬件磁盘分区 mount 到任意一个目录. 比如: 当两个不同的分区 (在两次操作中)挂载 到同一个目录, 那么两次ls 这个目录时显示的就是不同的内容.
**要注意的是, 你可以 同时 把 同一个 分区 挂载到不同的 目录 上!! **
而 同一个分区也可以有多个目录(商品标签) 跟它相关联.

卸载 == umount, 当你umount一个分区时, 表示什么意思?

  • 就是表示 你把某个橱窗里的东西收起来了, 暂时不给顾客看了, 比如你收起来放在仓库中了.

  • **要注意,并不是所有的分区/任意一个分区, 都是可以umount卸载的, 通常 /boot可以umount, 但是 像/home, / , /swap等这些分区是不可以umount的 会提示 'target is busy...'

  • 但是这个分区中的内容还是存在的, 就如同橱窗中 的商品还是在那里的.

  • 但是, 操作系统还是知道这个分区的,(因为操作系统是可以可以管理硬件 的), 可以看得到这个分区的, 使用 df -h 或者 使用 fdisk -l

  • 但是你通过ls等命令你 暂时看不到这个分区的内容了.

通常, /home目录, 是在系统安装时就创建的, 所以它的owner时root.
ll -d (--directory): list directories themselves, not their contents.
所以普通用户是不能在/home目录下创建测试目录的

====================================================

Saturn Awards
是由 Academy of Science Fiction, fantasy(奇幻) and horror films, 包括: best science fiction film, best fantasy film, best horror film, best animated film, best direction, best actor, best actress, best supporting actor best supporting actress best writing, best music, best make-up , best costume

ww.yandex.com, ??.wolfram.com,

base, basic, basis

  • basic是形容词,表示 "最基础的"
  • base是名词, 指物体的底部, 基础部分, 是物体的一部分. 而bottom 是从空间位置上来说在底部, 则不是指物体的一部分
    on the bottom of sth(是说物体的底部那个平面,强调外侧, there is a coin on the bottom of the cup), at the bottom of 则是底部中的某一点.
    i found a small insect at the base of the flower. we camped at the base of the mountain.
    be based on sth
  • basis 则主要是用在一些比较抽象的概念上, 比如 信仰, 科学, 理论基础等
    trust is the basis of lasting frendship. what basis do you have for this judgment? this theory rests on a solid scientific basis. (rest on : 依靠, 搁置在, 基于, 创建在...) rest on shaky foundations...

n choose 2: 排列组合中的 C(n, 2) 即从1,2,..., n中选择两个数字出来组合

vmware虚拟机可以创建快照, (一级或二级)快照就相当于一个一个的还原点. 实际上很多所谓的系统还原/管理软件,都是一样的
是通过 in-file delta技术创建一个新文件, 来记录所有的关于 原始磁盘文件的变更.
也就是说, 快照/还原点 根本就不会 去实打实的去 真的去创建文件/安装/卸载软件,
快照只会记录更改, 它是一个txt文件, 但是所有的更改都必须基于最顶上的/那个原始磁盘文件, 如果没有原始基础磁盘文件, 只有delta文件,你是恢复不了错误的
delta文件里面会记录 是 哪些磁盘块的内容需要改变(可能会记录柱/面/block/sector等), 然后是 怎样改变(这个改变可能是用 list来列出,可能是关于创建/rm/install/uninstall等操作+数据 的描述, 也可能是复杂操作的script脚本)

当创建一个新的快照时, 新的delta文件被创建, 同时原来的delta文件将变成只读
当删除一台虚拟机所有快照时,所有创建的delta文件被合并 (执行其中的 所有变更描述/或脚本 后 ) 到虚拟机原先的VMDK磁盘文件,然后被删除。
选择只删除一个单独的快照,这个快照合并到它的父级快照。
如果虚拟机有多个快照, 每次启动时, 都会去读取 所有的 delta文件, 也会增大I/O开销, 使虚拟机的响应变慢

创建快照时, 并没有复制原始磁盘中的任何数据! 只是 产生了一个快照回滚日志的增量磁盘, 用来记录虚拟机写入操作的占位符 . 但是快照不是备份!

===============

secure还有get获得, 弄到的意思, 还有 可靠的/靠得住的/稳固的 等意思
please secure a ticket for me. a powerful and secure backing

cost 和 crew的区别
cost是演员表, 而 crew 是所有工作人员的list, 叫 演职表.
crew 有一个比较确切的翻译是: "全体人员", 全体船员, ...队, ...组 . crewed, crewing
construction crew : 施工队; a crew of ... a crew of sixty, a crew of three
adapted by改编; animated by , art design 美术设计, art director美术总监(director的意思很多, 可以是主任/导演/董事/总监), assistant director 助理导演, assistant pho'tographer 助理摄影师, assitant editor(editor: 编辑/剪辑) associate art director 副美工, associate director(副导演), associate producer(联合制片人)
best boy 剧务

convicts 证明...有罪, 宣告...有罪 convict: 罪犯
convictive (证据)有说服力的, 使人信服的; 有定罪权力的
convicted: 证明有罪的; 已被判刑的 , convicted person 已经判刑的人.
sb. be convicted 某人被判有罪

搜索引擎是在一个打开的网页的搜索框中输入搜索关键字就是了. 可以有很多搜索 类型的引擎, 可以根据不同的需求选择那个类型的专业引擎, 比如搜索电影信息使用imdb就更全面详细

区分adopt和adapt?
adapt: 适应/适配; 改编
adopt: 收养; 采用, 采取, 采纳(use, by...); 接受/通过(提议/案例/议程等)
adopt dra'conian measures 采取严厉措施( draconianism: 严刑峻法...)
adopt a constitutional amendment (constitution: 宪法/章程/构成...) 通过一项宪法修正案

nominate: 提名/提案/任命
appoint, designate,
assign, name
nominate 提出候选人供决定, 所以叫提名(多是Oscar nomination , 某个奖项的 被提名人 Nominee of Saturn Awards)
Mark is the nominee for treasurer. 提名为司库

pear 和 pearl?
pear是梨子, 梨树的意思; e2
pearl 发音: p2:l, 珍珠; 杰出者(像珍珠一样珍贵的人); 珍品
she is a pearl among women.
this is a real pearl, not an imitation

subject object 后面发 ['abd3ekt] 原来的all音, 三尖角^音 现在都发 a音了??
women [wimin] 但实际上后面的那个i基本上是发作 e音. 即wimen womenfolk, womenkind. let the womenfolk chat. look after all my womenfolk.

ps的工具/滤镜如模糊等, 没有固定的参数值, 要根据实际的图像而定. 历史记录画笔可以结合历史面板中的某些操作如高斯模糊等 设置历史记录画笔源
历史记录画笔是将图像 经过 多次 涂抹 恢复到历史画笔源指定的状态.
历史画笔和撤销的区别: 撤销是一次取消某个步骤造成的所有更改, 而历史画笔可以分多次, 一部分一部分的, 撤销更改, 将涂抹到的地方 回到某个指定的之前的状态.

make和dnf等操作, 可能更由于某些文件/软件的缺失而报错, 修复breakdowns后, 由于之前make/dnf在错误的环境下, 执行了一些步骤和操作, 这时候要之前的执行结果(可能是错误的/不全面合适的...)clean一下, 再重新执行make 和 dnf 操作

imitate和emulate的区别?
imitate是 假冒/仿制
emulate有两个意思, 一个是 同...竞争, 努力赶上; 模拟/模仿
emulation, emulator(竞争者, 模拟器), emulant, emulable, emulative

andriod在内部使用的是sqlite数据库. 用 sqliteOpenHelper基类来操作数据库, 其数据库操作语言也是 insert/delete/update/select跟其他数据库的语句是一样的
存储器分成了internal/external它们都是固化在机身上的了,你看不到的.
andriod操作系统本身和不可卸载的garbage应用程序都是放在internal存储器上的.
用户可以使用的比如照相机的照片等是放在exteranl存储器中的, 在系统中的目录是: /sdcard, /mnt/sdcard, /storage/emulated/0/都是不同安卓版本的叫法

europe+dict = eudict欧路词典 ??dict.eudic.net可以在线查字典.

要操作yum仓库?

  • 首先切换到root, 因为只有root才有权限
  • cd到 /etc/yum.repos.d/ repos 不是复数
  • check or edit 这些repos文件,里面的仓库的 通用格式都是一样的:
    [updates] 仓库名
    name=Fedora $releasever - \(basearch - Updates 其中的\)releasever等是变量
    baseurl=...
    enabled=1
    gpgcheck=1
    gpgkey=...
    // 像enabled, gpgcheck等这些表示boolean的用数字0/1来表示, 比用string比如true等更划算.

====================================================

success 成功, way of success, wish a complete success, 它是一个 可数名词
their success was emblazoned (emblazone: 传诵)
success is our hope

find和ascertain
find: 查找(find in page); 发现, 还有"感觉, 感到" 的意思
as-certain但是重音在最前面: 'a-scer-tain: 查明, 弄清(有check/调查的意思); 断定
an attempt to ascertain(查明) the cause of the accident
i ascertained that she is dead
ascertaining the facts

并列连接多个动词时, 句中 的and 通常 和它最近的 动词的形态 一致, 一般在它的前面 不再加 介词 比如to , for, 等.

speed dial: 快速拨号盘, web的快速启动页

new后面的分斜杠, 代表的是命名空间Think
namespace就写Home目录下的Model或Controller, 因为你要创建的一个类就是一个.class.php文件, 这个文件就是放在对应的Model, Controller文件夹(目录)下的
对session的操作, 就不要使用原始函数了, 因为tp已经 封装到 统一 的一个全局?? session(....) 方法中了

在验证用户名和密码的时候, 不要同时 去检查用户名或密码, 据说会产生sql注入. 应该分成两个步骤来检查: 先检查用户名, 不对就退出, 如果用户名正确, 再检查密码.
这个可以 自己写一个 Model的派生类, 里面写一个方法 来检查

凡是自己为了业务/逻辑, 自己写的方法,( 原来的控制器或model中没有的方法,) 如果不用的是全局函数, 都应该自己写一个派生类, 在派生类中写自己的方法. 不然, 你把自定义方法写到哪里呢???

particle: 颗粒, 极小量 there is not a particle of truth in what you said.
there is not 和 there is no的区别

  • not是副词, 接动词表示否定, 如果接名词, 要加a 或 any..., no是形容词, 后面接名词
  • 前者强调否定的是动作, 是强调 "没有", 后者强调的是 名词, 是强调 "某个东西一点儿 都没有"
  • 两者主要是在语义上的细微区别
    if there is no objection, the agenda is adopted
    I object to the proposal

contempt: 轻蔑/鄙视/藐视:
contempation, contemptible, contemptable, contemptuously

paradigm [p2r2'daim]: 模式, 范例; 典范, 典型
there is a new paradigm for public art in this country.

episode [epis2ud] e-pi-sode : 插曲; 片段; 章节; (电视剧的)一集
an episode in the war.
an episode in a picaresque novel. <pica'resque>: 流亡文学的; 流氓, 流浪汉
this episode may serve as a paradigm. 这一插曲 可以 充作 典型例子

电影相关的
titles, Tv episodes : 电视剧的剧集, name, companies, keywords, characters: 影视角色,
quotes: (电影或电视中的) 台词
bios: 生平
plots: 剧情


technical 和 technological的区别

  • technical是具体的, 工作中的, 某一项技术, 表示 "工艺的" "技巧的"
    technical reasons, technical problems
  • technological, 是表示 抽象的, 总体上的, 表示"科学技术的"(与发明有关的)
    technological breakthrough/advance/progress

technology是"技术"在学术理论上的总称, 而 technic 或 technique指某种具体的技术/技巧/技艺

just a case: "仅仅只为一种情况" 就是: 以防万一
Just in case, you change your mind.
Oh, well, take them just a case

I know nothing but Wikipedia is a cyclopedia which is easy to use , free and grow continuously
wikipedia: wiki-pedia就是 wiki cyclopedia: 为即百科全书( wiki是夏威夷语, "快的")

denial: [di'nai2l] 否认: 其实中间的2 音基本上不发.
a denial of artistic freedom, 对艺术自由的否认

eula: [ju:l2] end-user licence agreement. 尤拉

deface: 破坏; 丑化; 弄丑
he defaced library books
deface a desk by marking on it
the architects have defaced British cities.

rogue: [r2ug]: 流氓/ 无赖
an unconscionable rogue. 肆意妄为的流氓
you are a rogue and an embezzler. (embezzle: 贪污/挪用, embezzler)

renegade: [renigeid]: 背叛的
renegade bodyguard.

==========================================

The prince travelled incog'nito to avoid crowds and ceremonies.
incog'nito: adj. adv. n. 隐姓埋名的/地, 匿名/隐藏身份的/地

memcache是这个项目的名称; memcached是服务器端进程的启动名称

Smoking is not allowed in first class (first-class: 一流的, first class 一等舱)

vehicle的标准注音: [vi2kl]: 交通工具; 传播媒介; 手段

  • Attacks were reported on police, vehicles and commercial premises.
    The city police set up roadblocks to check passing vehicles
    The president's unescorted vehicle was ambushed just outside the capital.
    the diver managed to escape from the vehicle and shout a warning
    the maximum speed of the vehicle.
  • Air is the vehicle of sound
  • accumulator: 聚集者, 收集器; 蓄电池, 充电电池
    accumulator vehicle: 电瓶车
    accumulator car

reduce减少, deduce: 推出, 推论, 推断
premise 前提, ~~~ conclusion: 结论 注意和 promise的区别

**premise: n. 前提; 场所; vi / vt: 以...做前提, 预先提出 **
Smoking is strictly forbidden on school premises. <场所>
a surprise inspection (突击检查) of the premises by the health inspector
the premises were safe at the time of letting.

the reforms were premised on our findings.
if the premise is true, then the conclusion must be true.

bog: 沼泽, 泥塘; vi. 陷入...泥沼, 陷入...麻烦, 使...动弹不得 bogged, boggy
the land was drained and the boggy ground reclaimed

============================

telnet 命令/协议, 登录连接到服务器, 实际上就是登录到服务器的机器本身,就是已经输入了 "username+password"了 , 就像通过 console直接登录到机器上了, 就可以直接操作该机器了. 可以直接使用服务器上提供的函数和方法 来操作服务器了.
类似的 登录命令/ 协议还有: 数据库的mysql , maridab等等. mysql > , telnet>...
这些 连接命令/协议, 就如同win的"远程连接" ssh等一样

memcache的php扩展, 就是php的客户端来连接 memcache的服务器机器. 就是 在php中拷贝\配置动态库文件: php_memcached.dll/so, 同时在php的客户端配置中声明extension=php_memcached.so/dll

memcached "软件" 是用c语言写的150kB左右的开源服务器端"软件", 它的功能就是用来管理服务器机器上的 内存hash表, hash表可以接受 客户端来的请求, 写入/读写/管理 里面的 key-value.

客户端可以用java, php, perl, python等任何语言去写, 其架构是C/S架构, 客户端连接到服务器后, 就通过客户端API函数发送请求到 服务器去操作内存hash表了

缓存击穿和缓存雪崩? <通常的瓶颈, 不在php程序上, 而是在 数据库查询上>
memcache: mem+cache
雪崩: 就是 大量的keys设置的过期时间相同, 在某一刻大量的keys缓存同时失效, 导致大量的客户端/数据库请求同时落到 底层的mysql数据库, 数据库压力过大.
击穿: 是某一个key在某一时刻失效时, 针对这个缓存, 有大量的请求落到底层数据库查询上.

===================================

为什么地道的英文文章中, 那么喜欢用分词短语?

  • 状语从句中 的主语通常用指定代词, 不使用后面的名字?
    When he arrived home, Jack found all his friends waiting him.
    (一) 如果分词短语的主语跟主句的主语一致(是同一个人)时, 分词短语的主语通常要省略.
    (Alice在这里被省略了) Blamed for the breakdown of the school computer network, Alice was in low spirits.
    第一, 分词或分词短语作状语时, 可以表示任意的状语,
    有两类情况, 一种是可以表示 时间/原因/条件/让步 (可以转换成相应的状语从句)

(when it was === ) Put into use in April 2000, the hotline was meant for residents reporting water and heating supply breakdowns. (时间状语)
Blamed for the breakdown of the school computer network, Alice was in low spirits.
Blamed for the .. == Because she was blamed for...(原因状语)
Given time, he'll make a first-class tennis player.
Given time == If he is given time(条件状语)
Left at home, Jone didn't fell afraid at all
Left at home == Although he was left at home(让步状语)

另一种情况, 是表示 方式, 或 伴随/结果 (这两种情况, 都可以转换成 由and 相连的 相应的并列句, 或者反过来应用: 将and 相连的并列句, 转换成 伴随或 结果分词短语!! )

He earns a living driving a truck. driving a truck(表示方式的分词短语) == by driving a truck.
We often provide our children with toys, footballs or basketballs, thinking that all children like these things
下面都是表示结果的分词短语:
He fired, killed one of the passers-by === he fired and killed one of ..
It rained and rained, vehicles bogged and bridges washed out === It rained and rained, and vehicles were bogged and bridges were washed out.

(二) 有时为了强调, 分词前会i加when, while , if, unless, once, though, even if, as if 等连词一起作状语
when comparing different cultures, we often pay attention only to the differences.
Though tired, he still continued reading
Once published, this book will be popular with the students. (be applied with 装配有..., be consistent with 与...一致, be popular with, 受...欢迎, 在...中流行 )

(三) 分词短语的主语 与 主句的主语的关系
一种是一致的, 一种是不一致的(即: 分词短语 有自己的主语, 叫独立分词结构, 分词的动作不由主句主语发出)
Waiting for a bus, a brick fell on my head.
Finding her car stolen, a policeman was asked to help.
When using the computer, the password must be remembered.

The town seen from the hill, we can see it more clearly. == if the town is seen from the hill, we can ...
Everything taken into consideration, the party was a success.

(四). 固定表达方式
在一些表达说话人态度的句子中, 分词主语和主句主语不一致, 但是这些词已经约定俗成, 不认为是错.
Considering (that) 考虑到... === Allowing for ...
Supposing (that) ... 如果... ===== Providing that === Provided that == Given that
Generally speaking 一般说来
frankly speaking 坦白说, === Put frankly
Judging from 从...判断 Talking of 说到..
Concerning ... 关于
Setting aside 除开...
Coming to ... 谈到...
Seeing that.. 既然...

Put frankly, I don't agree with what he said
Given the general state of his health, it may take him a while to recover from the operation.
Supposing he is ill, who will do the work?

Lost in thought, she nearly ran into a tree

===================================================

posted @ 2019-12-16 18:10  noitanym  阅读(342)  评论(0编辑  收藏  举报