peihanw's recent timeline updates
peihanw

peihanw

V2EX member #87755, joined on 2014-12-21 20:01:20 +08:00
peihanw's recent replies
Jul 19, 2020
Replied to a topic by vcfghtyjc Linux Linux 下如何关闭 CPU cache?
系统 BIOS 里可以禁用“DRAM Prefetch”、“CPU Core Hardware Prefetcher”、“CPU Cache Stride Prefetcher”(不同主板 BIOS 设置可能有些差异),楼主可以分别 /组合试试。对特定程序(xmrig 那类你懂的)性能会有所提升。虚拟机 /云主机都不行的,只能物理机。
memory hard Pow, such as Argon2d.
Mar 15, 2019
Replied to a topic by v2dev 程序员 各位有没有什么减压的手机游戏推荐?
喜欢画画的话可以找个填色游戏试试
俺现在 spring-boot 2.x 里用的是 caffeine,pom 引用的包和楼主有些差异:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
应用 yml:(网关验证登录 token 是系统签发的,防密钥泄露 token 被伪造)
spring:
cache:
type: caffeine
cache-names: tokens
caffeine:
spec: maximumSize=100000,expireAfterWrite=300s
代码上差不多。
Jan 8, 2019
Replied to a topic by coolcokel 问与答 c 程序编译问题
strace 查看一下系统调用及参数,可能会有些帮助。
Dec 17, 2018
Replied to a topic by clip 问与答 用什么方式来保证用户数据的私密性?
https://tutanota.com/ 据说是全程加密且开源的,供参考
Dec 13, 2018
Replied to a topic by fe2018 程序员 优秀的前端还是太少
您老给开的薪水太少了吧
Oct 31, 2018
Replied to a topic by aozi 问与答 用于 C 语言编程有什么好的软件
cmake 项目,kdeveloper 编辑器设置成 vi 模式。有钱就 clion 吧。
这个搜索也可以试试 https://swisscows.com/
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4930 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 09:52 · PVG 17:52 · LAX 02:52 · JFK 05:52
♥ Do have faith in what you're doing.