削弱角色能力带来的另一个问题,那就是游戏很难提供强大的敌人攻击机制设计或是懒得设计,从而降低战斗质量
.c2
削弱角色能力带来的另一个问题,那就是游戏很难提供强大的敌人攻击机制设计或是懒得设计,从而降低战斗质量
.c2
游戏对于提高难度的做法如果是削弱玩家角色,最极端的糟糕的战斗体验就是恐怖游戏中那些废柴主角,
.c1
高门槛开局的好处究竟是什么。
什么是Fair Fight
option 2: use a very limited analogy
.c3
option 1: use “implicit” metaphors
.c2
So running an explanation by a few people who don’t already know the concept helps to catch incorrect assumptions I’ve made.
.c2
instead: test your explanations!
.c1
we believe more in carrots than sticks.
What if I’m a left-handed person in the world of right-handed tools?
DevOps keeps production fresh. SRE keeps production healthy.
SRE works from Production backward. DevOps works from development forward. Somewhere in the middle, they meet.
What we do, speaks much more loudly than what we say.
Read: Why your to-do list never ends
Burkeman’s book, Four Thousand Weeks: Time Management for Mortals.
Why Reducing Uncertainty Matters For Your Finances
Reducing Uncertainty in Practice
was the addition of dot matrix displays on platforms to inform travelers of the time outstanding before the next train arrived.
.c2
The single best investment ever made by the London Underground in terms of increasing passenger satisfaction
.c1
Reduce uncertainty for others as much as you can.
What exactly is GGPO?
A summary of rollback's benefits
Rollback cares about game state
The basics of prediction
Act now, apologize later
Rollback netcode
Why is delay-based still used?
his means there is no place to hide from a bad connection
.c2
The problems with delay-based netcode
Why should I care?
git commit -e --file=$(git rev-parse --git-dir)/COMMIT_EDITMSG;
conda env update --prune --quiet --name $envname --file "$envfile"
jupyter nbconvert --to notebook --execute --ExecutePreprocessor.kernel_name=python3 --output output.ipynb <path_to_ipynb>
Reversing mouse scrolling direction
Use the "Property" drop-down menu and choose the Device instance path option.
.c2
Search for Device Manager,
.c1
Identifying mouse information
What is Border Gateway Protocol? https://www.youtube.com/watch?v=A1KXPpqlNZ4
What do we want to try in the next sprint? What could possibly help us reach our goals? What could help us be more successful?
.c2
Start
.c1
What went wrong in the last sprint? What made me feel uncomfortable? What slowed us down? What kept us from reaching our goals?
.c2
Stop
.c1
What went well in the last sprint? What helped us reach our goals? What was successful in the last sprint? What do I want to use more regularly?
.c2
Keep
.c1
What you should do instead
Why the “start, stop, continue” Retro sucks
In a short documentary titled Francis Coppola’s Notebook released in 2001, Coppola explains his process.
If you want more, you can do so by directly specifying TextMate theme color rules
code
{
"editor.tokenColorCustomizations": {
"[Noctis]": {
"textMateRules": [
{
"scope": "markup.list",
"settings": { "fontStyle": "" }
},
{
"scope": "text.markdown.notes.tag",
"settings": { "fontStyle": "italic" }
}
]
}
}
}
Inspect the scope using the command "Developer: Inspect Editor Tokens and Scopes"
Again, to customize a specific theme only, use the following syntax
Add [ThemeName]
as the key.
Advantages of OTF Files
Arranging brainstorming sessions
For this team I picked some pointers from James Bach’s Heuristic Test Strategy Model (http://www.satisfice.com/tools/htsm.pdf) and Elisabeth Hendricksson’s Test Heuristics Cheat Sheet (http://testobsessed.com/wp-content/uploads/2011/04/testheuristicscheatsheetv1.pdf).
部分可以参考我一篇拖更了很久的回答:家庭药箱需常备哪些药品和工具? - Leslie Pan的回答 - 知乎
Link https://www.zhihu.com/question/21407675/answer/154012115
01 基础 + 抗洪版
国家发改委等 14 部门发布全国家庭应急物资储备建议清单(可进入《北京市居民家庭应急物资储备建议清单》下载附件)
[[北京市居民家庭应急物资储备建议清单 - 2020.pdf]] source
备好家庭应急包
在包里放一些巧克力、饼干这样高热量的食物,和家人定时联络、提前商定好汇合地点
事先在手机里存好当地救援组织的电话,
如无必要就不要出门,
02 关注预警信息
01 居安思危
内涝发生前的准备
Add 2-factor authentication to your SSH logins
Here’s a very quick example of how to force SSH access to any host in the example.com domain to be routed through a bastion host, bastion.example.com:
code
Host *.example.com
ProxyJump bastion.example.com
IdentityFile ~/user-key
Host bastion.example.com
ProxyJump none
IdentityFile ~/user-key
Enforce the use of a bastion host
Configuring SSH for user certificate authentication
$ ssh-keygen -s user_ca -I gus@goteleport.com -n ec2-user,gus -V +1d user-key.pub
code to issue user certificate
Issuing user certificates (to authenticate users to hosts)
If not, use the hostname that you will be using in an ~/.ssh/config file to connect to the server.
If you have DNS set up, you should use the server’s FQDN
Configuring SSH to use host certificates
$ ssh-keygen -s host_ca -I host.example.com -h -n host.example.com -V +52w ssh_host_rsa_key.pub
code to issue host certificate
Issuing host certificates (to authenticate hosts to users)
$ ssh-keygen -t rsa -b 4096 -f user_ca -C user_ca
code to generate user CA
$ ssh-keygen -t rsa -b 4096 -f host_ca -C host_ca
code to generate host CA
SSH certificates
SSH Best Practices
其他开发经验碎片
经济成本分析
Merkle Tree 全局状态的更新
数据上链和 ETH GAS 限制
我们通常对于数百甚至数千笔交易,按照指定顺序在这颗 merkle tree 上执行完成后,使用 ZK-SNARK 证明执行的结果
协调 L1 和 L2
保证用户可以直接调用合约提取自己应有的资产;
链上智能合约:负责验证 Merkle tree 的每次状态更新都是有效的,维护正确的 merkle tree root;
。这批交易会被统一地证明和验证,它们被称为一个 “L2 Block”。
证明速度
ZK-Rollup 的 TPS 能力上限
,一般要求用户能够重建整棵树(这叫 data availability)
为了保证最坏情况下的安全性
ZK-Rollup 系统架构
真实世界 Rollup 系统的设计
A Better Outlook on Finances
Enjoy the Present
A Focus on the Future
Comparing Encryption Algorithms
ECDSA & EdDSA: Elliptic Curve Discrete Logarithm Problem
DSA: Discrete Logarithm Problem & Modular Exponentiation
RSA: Integer Factorization
To learn more, read this article, How to SSH Properly.
Emulate others
Calibrate feedback
Ask questions
Being an owner
Building a feedback circle
Learning the code base
Track metrics early and often
Automate, but do it safely
Dark launch with feature flags to reduce risk
Neural Network Test Can you re-use the test suite if your entire software is replaced with an opaque neural network?
What is Neural Network Test?
Can you re-use the test suite if your entire software is replaced with an opaque neural network?
Union 制作的字体遮罩
iPhone 用的是一个叫 Sceneshot 的 3D 版带壳截屏软件,可以在三维空间里手动随意改变角度。
为了实现铅笔素描的效果,用了 My Sketch 这款 App,然后通过混合模式就可以自然的印在牛皮纸上。
头骨和彩色喷溅物则是使用 Glitché
牙齿崩裂的效果是用 Picsart App 制作的
像这种简单的加字我基本都是用 Phonto,文字可以自动居中,大字体 + 小字体调大字间距会更好看
这张底部反射面使用的是 Aliensky 开发商的另一款 App:Reflect Mirror Camera
上图的光线,我使用的是 Aliensky 这个 App 直接添加。
Alien Sky by BrainFeverMedia
这张后面的 3D 字体用的是 Threedi 这款 App。
https://appadvice.com/app/threedi-real-3d-text-on-your-photo/1023494850
国区没上架
PicGo: 一个用于快速上传图片并获取图片 URL 链接的工具
Related: uPic for macOS and iOS
All platforms. Professional features. Beautiful UI. Totally free. FontBase is the font manager of the new generation, built by designers, for designers.
使用“迁移助理”将您的所有文稿、App、用户帐户和设置从一台电脑拷贝到另一台新 Mac 上。
sudo codesign --remove-signature "/Applications/Discord.app/Contents/Frameworks/Discord Helper (Renderer).app"
Run xcode-select --install
first. This will fix permissions to create the virtual camera.
sudo mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'"
fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'
1. 打开 官方配置编辑器,在「Add Product」中选择相应信息和语言选择后点击「Add」,最后点击「Add Product」
The tool has been moved to https://config.office.com/
Vector assets library for personal and business usage.
EOF prefix here means the concatenation of FORMAT and the magic.
Exit + Magic
那既然是使用最后两个点计算,这里又为什么需要 [1m] 呢?这个 [1m] 不是用来计算的,是用来限制找 t-2 个点的时间的,比如,如果中间丢了很多数据,那么显然这个点的计算会很不准确,irate 在计算的时候会最多向前在 [1m] 找点,如果超过 [1m] 没有找到数据点,这个点的计算就放弃了。
irate 是计算的最后两个点之间的差值。
rate 函数可以帮我们用这段时间([1m])的总 packet 数量,除以时间 [1m] ,就得到了一个“平均值”,以此作为曲线来绘制。
moving average
Drilling Deeper
Case Study: Redis
Flagging Meaningless Code
Taking Action
Undefined Behavior in Vitro
Guesswork
Sanity vs. Speed
The behavior of every syntactically correct program should be completely predictable from its source code.
A different philosophy reigns in domains that demand efficiency and speed
Early in the history of programming languages, two schools of thought diverged
Conclusions
Inlining in Practice
The other exception is link-time optimization. LTO opts out of separate compilation
Besides #[inline], there are two more exceptions to this. Generic functions are implicitly inlinable.
the compiler implements this by compiling a separate copy of the #[inline] function with every crate it is used in, significantly increasing compile times.
it enables cross-crate inlining.
Rule 9: Use comments to mark incomplete implementations
Rule 8: Add comments when fixing bugs
Rule 7: Include links to external references where they will be most helpful
Rule 6: Provide links to the original source of copied code
Rule 5: Explain unidiomatic code in comments
Rule 4: Comments should dispel confusion, not cause it
Rule 3: If you can’t write a clear comment, there may be a problem with the code
Rule 2: Good comments do not excuse unclear code
Rule 1: Comments should not duplicate the code
Smart PNG and JPEG compression
Listing branches from a specific remote
1. Run your first tool
Step 7: Keep writing code
Step 6: Break your code into pieces
Step 5: Write a big lump of code
Step 4: Don’t write boilerplate
Step 3: Write more boilerplate
Step 2: Don’t copy paste code
Step 1: Copy-paste code
异地居住期间需跨地市(地区)转诊转院的,参保人员可通过电话将相关转诊转院证明(居住地医疗保险定点二级及以上医院(二级专科医院限专科疾病))、联系方式、社保卡等材料传真至参保地医保经办机构进行备案。
长居异地在居住地开具转诊证明
从分享链接中提取:进入支付宝小程序→点击右上角「更多」→分享→复制链接,得到短链接如:https://ur.alipay.com/2IcAMP在 PC 端浏览器中访问短链接,页面第一次跳转后快速按 Esc,在浏览器地址栏得到长链接
Style definitions for nice terminal layouts. Built with TUIs in mind.
icons
A stub secret key that references your card’s serial number is stored locally in ~/.gnupg/private-keys-v1.d.
A simple solution is just removing all the stubbed files:
cd ~/.gnupg/private-keys-v1.d
grep -Il shadowed-private-key * | xargs rm
cargo-tree is useful for deduping and culling them.
deduping multiple versions of a crate
投资善良
投资家庭
投资关系
投资能力
投资健康
投资形象
Outrun lets you execute a local command using the processing power of another Linux machine.
If you want to add ‘tag1’ and ‘tag2’ to every line you’re importing, add the following to the top of the text file:
tags:tag1 tag2
{{c1::Canberra::city}} was founded in 1913
.code
[city] was founded in 1913.
{{c2::Canberra}} was founded in {{c1::1913}}.
.code
Canberra was founded in [...].
[...] was founded in 1913.
“二村映射 Futamura projections”
“Hyrum’s Law”
“数学抽象”
有关高阶
有关分层
有关抽象
Hopefully by now you can see that making a bunch of closures is really not going to be a good idea (!)
Basically, the idea is you take your normal, garden-variety function and smear it out into a bunch of closures.
Python for Excel
Themes
Read articles distraction free on your Kindle, in your feed reader, or on paper.
西北环形的具体路线
我之前出过一期视频,《我是如何一点点变得自律高效的?》
2020:新的起点,冥想、修行、顿悟,发掘感性的力量
05追求优秀永无止境,终将陷入迷茫
04专注于过程,才能克服拖延与懒惰,获得永不停歇的能量
03无法想明白自己到底要的是什么,就常常容易半途而废
02我走过的弯路:放下对自己的评价、停止对努力本身附加意义