自定义程序
1 subscriber
73 photos
15 videos
5 files
251 links
自定义程序丰富生活
Download Telegram
Forwarded from Rust 视界
「思考」对于小的结构体,传值(By-Copy)还是传引用(By-Borrow)?

#Struct

这个小小的问题,涉及日常编写代码需要考虑的两个问题:性能 vs 人体工程学

我们是追求性能呢,还是追求代码的可读性和维护性等?

该文作者通过大篇幅的讨论,甚至深入到C++中探讨,得出结论:还是By-Copy吧。至于原因,还需要仔细阅读他的文章。

Read More: [https://www.forrestthewoods.com/blog/should-small-rust-structs-be-passed-by-copy-or-by-borrow/](https://www.forrestthewoods.com/blog/should-small-rust-structs-be-passed-by-copy-or-by-borrow/)
Forwarded from Rust 视界
sn0int - 半自动化 OSINT 框架和包管理器

OSINT 就是“公开资源情报”,常见于安全和黑客领域。这个 sn0int 是给 IT 安全专业人士和 bug 捕获者设计的 OSINT 框架及包管理器。它用于对给定的目标或你自己搜集情报,生成统一的格式,给后续的研究使用。

Rust 已经悄悄占领安全/黑客领域了。[https://sn0int.readthedocs.io/en/stable/](https://sn0int.readthedocs.io/en/stable/)

Repo: [https://github.com/kpcyrd/sn0int](https://github.com/kpcyrd/sn0int)
Forwarded from .
SSTAP 完美替代品,V2ray 转 VPN 工具,可以用来加密 IP 连接 Xshell 避免暴露自己 IP,实在太好用了吼吼吼。
Forwarded from Improve Your English🌙
USEFUL IELTS INTERVIEW EXPRESSIONS

1️⃣ Saying something in another way

🔸What I'm trying to say is...

🔸In other words...

🔸To put it another way...

🔸What I mean is...

🔸Perhaps I should make that clearer by saying...

2️⃣ Agreeing with an opinion

🔸Yes, I agree...

🔸That's my view exactly.

🔸I would tend to agree with that.

🔸I couldn't agree more.

3️⃣ Disagreeing with an opinion

🔸No, I disagree.

🔸I'm afraid I disagree.

🔸I see things rather differently myself.

🔸I wouldn't say that is necessarily true.

🔸I tend to disagree.

🔸I'm not so sure about that.

4️⃣ Partially agreeing with an opinion

🔸I don't entirely agree. It is true that......however...

🔸That is partly true, but...

🔸I agree with that to an extent. However...

5️⃣ Getting asked an opinion (by the examiner)

🔸What do you think?

🔸What's your view / opinion?

🔸What are your views on...?

🔸How do you feel about...?

6️⃣ Saying your opinion could vary according to the situation

🔸That depends...

🔸I think it really depends...

🔸That depends on how you look at it.

7️⃣ Asking for clarification (part 3 only)

🔸Could you please explain what ...(word)... means?

🔸Sorry, I don't understand the question. Could you explain?

🔸Sorry, I'm afraid I didn't understand the question.

🔸Sorry, can I just clarify what you mean. Are you asking me ...(say what you believe you have been asked)...

8️⃣ Asking for repetition

🔸Sorry, would you mind repeating the question?

🔸Sorry, I didn't quite catch that. Could you repeat the question?


9️⃣ Summing up

🔸So all in all...

🔸To sum up...

🔸To conclude...
Forwarded from .
https://www.blog.duomly.com/how-to-start-with-machine-learning/
在这个人人都在谈论人工智能,传播大量无头绪机器学习资源资料的年代,初学者到底如何开始学习?本文作者给出了建议。
Forwarded from .
https://www.professormesser.com/
今天在 Youtube 复习计算机的时候发现了这个教授,他把计算机网络、安全、以及组成原理分成了三大块做成免费视频,不错的学习资源。
Forwarded from Newlearnerの自留地 (初学者 | newlearner.site)
#Github情报 #Tools

下午和群友谈到 EDC(every day carry,即每日出行携带物品)的问题,群友不太明白这个缩写,于是用了 wtf-cli 查询了一下。我了解后觉得挺实用,和大家分享

wtf-cli:一个快速调用 Abbreviations.com 缩写网站进行查询并列举缩略词全称的工具

https://github.com/Haixiang6123/wtf-cli

👉 安装:

安装好 node 之后,键入 npm i -g wtf-cli 即可安装

使用时键入 wtf <abbreviation>

频道:@NewlearnerChannel
用来查看rust生成的代码
Forwarded from .
😋用这个理解代码真不错
https://www.sourcetrail.com/blog/open_source/