新页面
- 2025年4月9日 (三) 08:46 Kafka data lose (历史 | 编辑) [1,881字节] Riguz(留言 | 贡献) (创建页面,内容为“= Will kafka lose data? = Kafka’s event hubs are designed to be resilient. When certain failures occur, they should be able to recover. However, there are still risks that you have to consider. == Incorrect configuration == * Retention time too short: Kafka allows you to configure how long messages are kept before deletion. If the retention.ms (retention time in milliseconds) is set too short, messages will be deleted sooner than expected. A simple mistake…”)
- 2025年4月9日 (三) 08:33 Kafka rebalance (历史 | 编辑) [2,382字节] Riguz(留言 | 贡献) (创建页面,内容为“The concept of rebalancing is fundamental to Kafka's consumer group architecture. When a consumer group is created, the group coordinator assigns partitions to each consumer in the group. Each consumer is responsible for consuming data from its assigned partitions. However, as consumers join or leave the group or new partitions are added to a topic, the partition assignments become unbalanced. This is where rebalancing comes into play<ref>https://www.redpanda.c…”)
- 2025年4月6日 (日) 13:40 ESP32 partition (历史 | 编辑) [1,642字节] Riguz(留言 | 贡献) (创建页面,内容为“<syntaxhighlight lang="bash"> FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py/CMakeFiles/app_check_size cd /Users/riguz/Workspace/embedded/esp32/esp32-agent/build/esp-idf/esptool_py && /Users/riguz/.espressif/python_env/idf5.5_py3.12_env/bin/python /Users/riguz/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/riguz/Workspace/embedded/…”)
- 2025年4月5日 (六) 12:50 ESP32 connect to WIFI (历史 | 编辑) [3,009字节] Riguz(留言 | 贡献) (创建页面,内容为“ Wi-Fi Station<ref>https://github.com/espressif/esp-idf/tree/v5.4.1/examples/wifi/getting_started/station</ref> Category:ESP32 Category:Embedded”)
- 2025年4月5日 (六) 05:54 STM32 development environment (历史 | 编辑) [6,205字节] Riguz(留言 | 贡献) (创建页面,内容为“ == MDK-ARM (Windows) == Windows7x64 virtual machine on Mac * Download and install [https://www.keil.com/demo/eval/arm.htm mdk-arm] * [https://aka.ms/vs/17/release/vc_redist.x64.exe VC_redist.x64.exe] The pack installer seems useless. Just close it, and the install link is somehow disabled. Download [https://www.keil.arm.com/devices/stmicroelectronics-stm32f103ze/processors/ stm32f103ze] DFP and install === MDK4.7 === MDK 4.72 + keygen (Menu/License manag…”)
- 2025年4月3日 (四) 01:52 ESP32 spi oled display (历史 | 编辑) [339字节] Riguz(留言 | 贡献) (创建页面,内容为“<ref>https://www.electronicshub.org/esp32-oled-display</ref> Category:ESP32 Category:Embedded”)
- 2025年4月3日 (四) 01:51 ESP32 pins (历史 | 编辑) [493字节] Riguz(留言 | 贡献) (创建页面,内容为“= ESP32-S3-DevKitC-1 v1.1 = <ref>https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-devkitc-1/user_guide.html#esp32-s3-devkitc-1-v1-1</ref> 600px Category:ESP32 Category:Embedded”)
- 2025年4月1日 (二) 04:17 ESP32 wifi config (历史 | 编辑) [195字节] Riguz(留言 | 贡献) (创建页面,内容为“* 统一配网<ref>https://docs.espressif.com/projects/esp-idf/zh_CN/stable/esp32s3/api-reference/provisioning/provisioning.html</ref> Category:ESP32 Category:Embedded”)
- 2025年3月30日 (日) 12:06 ESP32 max98357a audio output (历史 | 编辑) [1,808字节] Riguz(留言 | 贡献) (创建页面,内容为“= Hardware connection = 小智AI终端DIY面包板WIFI-LCD彩屏接线教程<ref>https://rcnv1t9vps13.feishu.cn/wiki/Zq62wST38iuNxZkwg9JcjkSSnSd</ref> 电源和地线: * 将MAX98357A的VCC引脚连接到ESP32-S3的3.3V输出。 * 将MAX98357A的GND引脚连接到ESP32-S3的GND。 I2S信号线: * BCLK:ESP32-S3的I2S位时钟引脚(如GPIO2)→ MAX98357A的BCLK。 * LRC/WS:ESP32-S3的I2S左右声道时钟引脚(如GPIO1)→ MAX98357A…”)
- 2025年3月29日 (六) 15:51 ESP32 led blink (历史 | 编辑) [2,811字节] Riguz(留言 | 贡献) (创建页面,内容为“<ref>https://github.com/espressif/esp-idf/tree/master/examples/get-started/blink</ref> Based on hello world project. = Add depndencies= Add gpio driver: <syntaxhighlight lang="cmake"> idf_component_register(SRCS "hello_world_main.c" PRIV_REQUIRES spi_flash REQUIRES driver INCLUDE_DIRS "") </syntaxhighlight> Add lib: <syntaxhighlight lang="cpp"> idf.py add-dependency espressif/led_strip i…”)
- 2025年3月29日 (六) 13:55 Mac find process listening to port (历史 | 编辑) [425字节] Riguz(留言 | 贡献) (创建页面,内容为“ <syntaxhighlight lang="bash"> $ lsof -P -i:6666 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME openocd 4228 riguz 3u IPv4 0x163b8cdfd65fd7d7 0t0 TCP localhost:6666 (LISTEN) $ netstat -vanp tcp | grep 6666 tcp4 0 0 127.0.0.1.6666 *.* LISTEN 131072 131072 4228 0 0x0100 0x00000006 </syntaxhighlight> Category:Linux Category:Mac”)
- 2025年3月29日 (六) 02:09 ESP32 setup development environment (历史 | 编辑) [4,971字节] Riguz(留言 | 贡献) (创建页面,内容为“<ref>https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/linux-macos-setup.html#get-started-prerequisites</ref> = Development on Mac= ==Install Prerequisites == <syntaxhighlight lang="cpp"> brew install cmake ninja dfu-util </syntaxhighlight> ==Get ESP-IDF== Need to install [https://github.com/espressif/esp-idf esp-idf] Category:ESP32”)
- 2025年3月27日 (四) 15:03 Stm32 led blink (历史 | 编辑) [8,921字节] Riguz(留言 | 贡献) (创建页面,内容为“= STM32 development settings on Mac = Category:Stm32 Category:ARM Category:ARM”)
- 2025年3月26日 (三) 14:11 Agent design (历史 | 编辑) [54字节] Riguz(留言 | 贡献) (创建页面,内容为“ESP32 N16R8 MAX98357/ ICS 43434/inmp441”)
- 2025年3月24日 (一) 03:14 Python no module named pip (历史 | 编辑) [151字节] Riguz(留言 | 贡献) (创建页面,内容为“ Python/pythonxx._pth <syntaxhighlight lang="bash"> python38.zip . # Uncomment to run site.main() automatically import site # 👈 </syntaxhighlight>”)
- 2025年3月20日 (四) 16:17 WeChat sns dump (历史 | 编辑) [656字节] Riguz(留言 | 贡献) (创建页面,内容为“= Get data in db= == Prerequisits == * Mac WeChat Version 3.6.1 (24205) == Get Sqlcipher key == <ref>https://xferris.cn/dao-chu-wei-xin-bei-fen-de-mac/</ref> == Find SNS(朋友圈) db == <syntaxhighlight lang="bash"> cd ~/Library/Containers/com.tencent.xinWeChat/Data/Library find . -name "*.db" -type f -print0 | xargs -0 du -h | sort -rh | head -n 10 4.1M ./Caches/com.tencent.xinWeChat/2.0b4.0.9/e7627004a3f2051a5be7c61023d0e5b7/Sns/Data/sns.db 3.1M ./A…”)
- 2025年3月20日 (四) 15:24 LLDB debug app (历史 | 编辑) [1,548字节] Riguz(留言 | 贡献) (创建页面,内容为“== Disable SIP == <syntaxhighlight lang="bash"> # in recovery mode, restart and hold cmd + R csrutil disable </syntaxhighlight> == Attach process == <syntaxhighlight lang="bash"> # sudo lldb -p $(pgrep WeChat) sudo lldb -p $(pgrep cryptowl) Password: (lldb) process attach --pid 4673 Process 4673 stopped </syntaxhighlight> == set break point == <syntaxhighlight lang="bash"> (lldb) br set -n sqlite3_key Breakpoint 1: 2 locations. (lldb) br set -n sqlite3_key_v…”)
- 2025年3月20日 (四) 05:45 ML-KEM (历史 | 编辑) [2,321字节] Riguz(留言 | 贡献) (创建页面,内容为“<syntaxhighlight lang="python"> from kyber_py.kyber import Kyber512,Kyber768,Kyber1024 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from cryptography.hazmat.primitives import padding import binascii import os import sys def go_encrypt(msg,method,mode): cipher = Cipher(method, mode) encryptor = cipher.encryptor() ct = encryptor.update(msg) + encryptor.finalize() return (ct) def go_decrypt(ct,method,mode): cipher =…”)
- 2025年3月11日 (二) 02:51 Scikit learn getting started (历史 | 编辑) [115字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Deep Learning”)
- 2025年3月10日 (一) 05:47 Bitwarden key generation (历史 | 编辑) [1,488字节] Riguz(留言 | 贡献) (创建空白页面)
- 2025年3月5日 (三) 09:03 Typst cheatsheet (历史 | 编辑) [444字节] Riguz(留言 | 贡献) (创建空白页面)
- 2025年3月5日 (三) 08:53 Source han sans download guide (历史 | 编辑) [38字节] Riguz(留言 | 贡献) (创建页面,内容为“ 600px”)
- 2025年2月26日 (三) 07:48 Quarkus (历史 | 编辑) [514字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Java”)
- 2025年2月26日 (三) 01:50 PostgreSQL query cheat sheet (历史 | 编辑) [215字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:SQL Category:Database Category:PostgreSQL”)
- 2025年2月13日 (四) 01:41 Maven update dependency version (历史 | 编辑) [240字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Java”)
- 2024年12月28日 (六) 11:20 Rust futures (历史 | 编辑) [1,745字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Rust”)
- 2024年12月14日 (六) 13:05 Tailwind CSS (历史 | 编辑) [7,152字节] Riguz(留言 | 贡献) (创建页面,内容为“在前端项目中,围绕CSS的框架一直是有意思的话题,各种框架总是折腾来折腾去,CSS,SCSS,SASS,Bootstrap,... 这里有一个2024年的CSS框架列表,随便一列都有几十种之多,而且是“Awesome”的:https://github.com/troxler/awesome-css-frameworks。 究其原因,就是CSS这项技术其实并不算简单——你总是需要对样式改来改去,才能实现出满意的效果。 传统的做法都是为…”)
- 2024年12月13日 (五) 12:38 Leveraging Ollama to Build Your Local LLM Helper (历史 | 编辑) [623字节] Riguz(留言 | 贡献) (创建页面,内容为“大语言模型已经玩了好久,似乎新鲜感早已不复存在,其实对我们的工作生活并没有带来太大的改变。 确实,可以借助LLM来辅助写代码、解决问题、生成邮件、润色语法等等。 但是如果没有免费的LLM,购买GPT却是一笔不小的开销。 幸好有很多工具可以让我们在本地玩玩LLM。 在尝试过各种工具之后,最后只有Ollama留在了电脑上。 Category:Hacker Rada”)
- 2024年12月8日 (日) 14:58 Flex layout (历史 | 编辑) [948字节] Riguz(留言 | 贡献) (创建空白页面)
- 2024年12月7日 (六) 02:34 Nginx config (历史 | 编辑) [693字节] Riguz(留言 | 贡献) (创建页面,内容为“ =Configuration= ==Serve React== ==Reverse proxy== Category:Linux/Unix”)
- 2024年12月2日 (一) 01:53 OCR (历史 | 编辑) [1,786字节] Riguz(留言 | 贡献) (创建页面,内容为“= Tesseract OCR = == Installing == Install leptonica: Category:Deep Learning”)
- 2024年11月30日 (六) 14:01 Keycloak (历史 | 编辑) [1,412字节] Riguz(留言 | 贡献) (创建页面,内容为“ Create realm: my-org Create users: whatever Create client: my-app Client ID: my-app Valid redirect URIs: http://localhost:5173/auth/callback Valid post logout redirect URIs : http://localhost:5173 Web origins: http://localhost:5173 (No slash at end!!!) Client authentication: off (for public clients) Authentication flow: Standard flow, Direct access grants Category:OAuth”)
- 2024年11月28日 (四) 14:46 V2Ray global proxy (历史 | 编辑) [1,189字节] Riguz(留言 | 贡献) (创建页面,内容为“= Install V2Ray = Category:Linux/Unix”)
- 2024年11月22日 (五) 02:02 Future home design (历史 | 编辑) [20字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Home”)
- 2024年11月18日 (一) 13:09 Sketchup Make 2017 (历史 | 编辑) [630字节] Riguz(留言 | 贡献) (创建页面,内容为“Sketchup Make 2017 was the last free version of Sketchup for desktop.<ref>https://www.reddit.com/r/Sketchup/comments/10z4rsw/i_need_a_copy_of_free_sketchup_2017_maci_cannot/</ref> https://web.archive.org/web/20220217222931/https://download.sketchup.com/sketchupmake-2017-3-116-90851-en.dmg”)
- 2024年11月18日 (一) 12:25 Mtr (历史 | 编辑) [359字节] Riguz(留言 | 贡献) (创建页面,内容为“ [MTR https://github.com/traviscross/mtr] combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool. Category:Linux/Unix”)
- 2024年10月29日 (二) 09:04 Trunk Based Development (历史 | 编辑) [426字节] Riguz(留言 | 贡献) (创建页面,内容为“A source-control branching model, where developers collaborate on code in a single branch called ‘trunk’ *, resist any pressure to create other long-lived development branches by employing documented techniques. They therefore avoid merge hell, do not break the build, and live happily ever after. <ref>https://trunkbaseddevelopment.com/</ref> Category:Git Category:Development”)
- 2024年10月29日 (二) 08:33 Gitflow (历史 | 编辑) [8,173字节] Riguz(留言 | 贡献) (创建页面,内容为“ Category:Git Category:Development”)
- 2024年10月13日 (日) 14:38 Yjs state vector (历史 | 编辑) [1,559字节] Riguz(留言 | 贡献) (创建页面,内容为“Yjs has the ability to exchange only the differences when syncing two clients. We use lamport timestamps to identify structs and to track in which order a client created them. Each struct has an <syntaxhighlight lang="java" inline>struct.id = { client: number, clock: number}</syntaxhighlight> that uniquely identifies a struct. We define the next expected clock by each client as the state vector. This data structure is similar to the version vectors data structu…”)
- 2024年10月13日 (日) 13:39 Yjs varint encoding (历史 | 编辑) [1,339字节] Riguz(留言 | 贡献) (创建页面,内容为“<ref>https://github.com/yjs/y-protocols/blob/master/PROTOCOL.md</ref> Category:Yjs Category:CRDT”) 标签:可视化编辑:已切换
- 2024年10月12日 (六) 03:28 Nginx reverse proxy (历史 | 编辑) [96字节] Riguz(留言 | 贡献) (创建页面,内容为“<syntaxhighlight lang="bash"> sudo apt install nginx </syntaxhighlight> Category:Linux/Unix”)
- 2024年10月10日 (四) 08:12 Non-Deliverable Swap (历史 | 编辑) [1,593字节] Riguz(留言 | 贡献) (创建页面,内容为“A non-deliverable swap (NDS、不可交割掉期 ) is an exchange of different currencies, between a major currency and a minor currency, which is restricted.<ref>https://corporatefinanceinstitute.com/resources/derivatives/non-deliverable-swap-nds/</ref> With most swaps, currency flows physically change. With an NDS, it is not the case because the currencies are not convertible. The two currencies that are involved in the swap can’t be delivered; hence it is…”)
- 2024年10月9日 (三) 02:45 Netting (历史 | 编辑) [1,903字节] Riguz(留言 | 贡献) (创建页面,内容为“净额清算(netting)是跨国公司现金管理的一种常用方式,是指在一定时间内,跨国公司母公司与子公司以及各子公司之间不按照交易的发生额而是按照收支轧差后的净额来进行支付的一种行为。<ref>http://haikou.pbc.gov.cn/haikou/2927302/132974/2229022/index.html</ref> 证券交易中的净额清算又称差额清算,指在一个清算期中,对每个结算参与人价款的清算只计其各笔应…”)
- 2024年10月9日 (三) 02:38 Bilateral netting (历史 | 编辑) [450字节] Riguz(留言 | 贡献) (创建页面,内容为“'''Bilateral netting(双边净额结算/双边轧差)''' is an arrangement that allows amounts owing between two counterparties to be combined into a single net figure payable from one to the other. Of greatest interest to supervisors is the potential offered by bilateral netting to reduce credit risk arising from banks' derivative transactions.<ref>https://www.rba.gov.au/publications/rdp/1994/9409/introduction.html</ref> Category:Finance”)
- 2024年9月17日 (二) 12:43 An introduction to state-based CRDTs (历史 | 编辑) [25,181字节] Riguz(留言 | 贡献) (创建页面,内容为“原文链接:https://www.bartoszsypytkowski.com/the-state-of-a-state-based-crdts/ Category:CRDT”)
- 2024年8月14日 (三) 09:54 Write NTFS on Mac (历史 | 编辑) [1,906字节] Riguz(留言 | 贡献) (创建页面,内容为“<syntaxhighlight lang="bash"> git clone https://github.com/tuxera/ntfs-3g.git brew install macfuse@dev cd ntfs-3g ./configure && make </syntaxhighlight> Check ntfs disk: <syntaxhighlight lang="bash"> diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: Apple_APFS_ISC Container disk2 524.…”)
- 2024年8月12日 (一) 10:26 Yjs algorithm(YATA) (历史 | 编辑) [4,197字节] Riguz(留言 | 贡献) (创建页面,内容为“= Notes on YATA paper = == Rules == === Rule1: No line crossing === 600px Category:Distributed Category:CRDT”) 最初创建为“YATA algorithm”
- 2024年7月26日 (五) 06:53 Workflow design (历史 | 编辑) [37,276字节] Riguz(留言 | 贡献) (创建页面,内容为“随着2023年大模型在国内的发展成熟,现在大家逐步开始真正关注到大模型应用的开发上。有人说,2024年是大模型应用的落地元年。的确,看似无所不能的大模型,也并不是直接丢到一个系统就能用的,如何开发大模型应用,实际上还处于一个刚起步的阶段。一些成熟的技术,经历过许多人摸索后,总能给出一个”best practice“;对于大模型应用开发来…”)
- 2024年7月23日 (二) 03:12 Caching patterns (历史 | 编辑) [1,289字节] Riguz(留言 | 贡献) (创建页面,内容为“When you are caching data from your database, there are caching patterns for Redis and Memcached that you can implement, including proactive and reactive approaches. The patterns you choose to implement should be directly related to your caching and application objectives. Two common approaches are cache-aside or lazy loading (a reactive approach) and write-through (a proactive approach). A cache-aside cache is updated after the data is requested. A write-thro…”)
- 2024年7月23日 (二) 02:58 Saga (历史 | 编辑) [368字节] Riguz(留言 | 贡献) (创建页面,内容为“<ref>https://microservices.io/patterns/data/saga.html</ref> Category:Distributed”)