| Aspect | Guava Cache | Caffeine |
|---|---|---|
| Eviction policy | Approximate LRU, per segment | W-TinyLFU (recency + frequency), near-optimal hit rate, scan-resistant |
| Concurrency model | Segmented hash table with per-segment locks (concurrencyLevel, default 4) |
Built on ConcurrentHashMap; reads and writes are buffered and replayed asynchronously against the policy |
| Throughput under contention | Good, but segment locks can become a bottleneck | Significantly higher in published benchmarks, especially read-heavy workloads |
| Async API | None | AsyncCache, AsyncLoadingCache (return CompletableFuture) |
| Refresh | refreshAfterWrite exists, but refresh work runs on the calling thread unless you override reload and make it async yourself |
refreshAfterWrite refreshes asynchronously by default; stale value keeps being served meanwhile |
| Variable per-entry expiry | No (one fixed TTL per cache) | Yes: expireAfter(Expiry) |
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fake-png-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id | station | stationid | value | unit | obstime | date | |
|---|---|---|---|---|---|---|---|
| 0 | 流浮山 | RF001 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 1 | 湿地公园 | RF002 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 2 | 水边围 | N12 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 3 | 石岗 | RF003 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 4 | 大美督 | RF004 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 5 | 大埔墟 | RF005 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 6 | 北潭涌 | RF006 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 7 | 滘西洲 | RF007 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 | |
| 8 | 西贡 | N15 | 0 | mm | 2026-10-11T16:00:00+08:00 | 2026-10-11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yuelink-reset-version: 20260522001 | |
| # 2026-06-08 现代化: 44 个 classical 文本 rule-provider → .mrs 二进制 (mihomo ≥1.18.7, | |
| # 2024-07; 本模板仅发 meta/verge/flclash/nekobox/cmfa 现代内核 UA, 老客户端走 clash.yaml)。 | |
| # geodata 整包依赖 (geodata-mode/geox-url/GEOIP/geosite:) 已全部移除 —— GEOSITE 内核规则 | |
| # 反而要下整包 geosite.dat, .mrs 按需小文件才是 2026 主流 (MetaCubeX wiki 推荐)。 | |
| # 规则源 = 自建镜像 geo.yuetong.app (R2 yue-geo, 每 6 小时校验更新), | |
| # 脱离 jsdelivr/GitHub 第三方 CDN。回滚: 模板 revision 归档 + R2 snapshots。 | |
| mixed-port: 7890 | |
| # allow-lan 默认关 (2026 主流默认; YueLink 客户端按用户设置 force-set 此键)。 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Solve.mjs Log - 2026-10-11T06:49:47.365Z | |
| [2026-10-11T06:49:47.376Z] [INFO] 📁 Log file: /home/box/solve-2026-10-11T06-49-47-365Z.log | |
| [2026-10-11T06:49:47.384Z] [INFO] (All output will be logged here) | |
| [2026-10-11T06:49:49.528Z] [INFO] | |
| [2026-10-11T06:49:49.531Z] [INFO] 🚀 solve v2.35.3 | |
| [2026-10-11T06:49:49.539Z] [INFO] 🔧 Raw command executed: | |
| [2026-10-11T06:49:49.544Z] [INFO] /home/box/.nvm/versions/node/v26.11.1/bin/node /home/box/.bun/bin/solve https://github.com/konard/vietnam-accomodation-search --think xhigh --auto-merge --tool codex --attach-logs --verbose --no-tool-check --disable-report-issue --language en | |
| [2026-10-11T06:49:49.547Z] [INFO] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <user>S-1-5-21-2833589676-3466473568-1994253455-1000</user> | |
| <keys> | |
| <key installerType="Msi" displayName="TypeScript SDK" displayVersion="3.3.1.0"> | |
| <RegistryView>Registry32</RegistryView> | |
| <KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26071ABE-57F8-45CC-8F0A-782405A57CD0}</KeyPath> | |
| <DefaultValue /> | |
| <InstallLocation><![CDATA[]]></InstallLocation> | |
| <UninstallString><![CDATA[MsiExec.exe /X{26071ABE-57F8-45CC-8F0A-782405A57CD0}]]></UninstallString> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.*; | |
| import javax.swing.*; | |
| public class BoundaryFill extends JFrame { | |
| BoundaryFill() { | |
| setSize(500, 500); | |
| setVisible(true); | |
| } | |
| public void paint(Graphics g) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This document provides a step-by-step guide for installing and configuring Windows 11 in a virtualized environment using virt-manager and KVM (Kernel-based Virtual Machine) on a Linux host such as Kali, Ubuntu, or Fedora. | |
| The goal is to create a fully functional Windows 11 virtual machine that: | |
| Operates as a complete Windows installation with access to Microsoft Store, Windows Subsystem for Linux (WSL), and all standard Windows features. | |
| Uses VirtIO drivers for optimal disk and network performance. | |
| Supports USB passthrough for devices such as game controllers or peripherals. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"targetLanguage":"Korean","translatorName":"Google","translatorModel":"Google","date":"2026-10-11 17:13:21","translationCount":0} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fake-png |