<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Honwhy&apos;s website</title><description>An personal website for Honwhy Wang</description><link>https://honwhy.wang/</link><item><title>使用Mockito修改Bean的依赖</title><link>https://honwhy.wang/posts/2018-08-15-mockito-spring-bean/</link><guid isPermaLink="true">https://honwhy.wang/posts/2018-08-15-mockito-spring-bean/</guid><description>在使用单元测试时使用Mockito修改Bean的依赖以解决Spring Bean传递嵌套依赖等情况，实现上需要使用Java的反射机制</description><pubDate>Wed, 15 Aug 2018 00:00:00 GMT</pubDate></item><item><title>再造一次FTP连接池轮子</title><link>https://honwhy.wang/posts/2019-02-02-ftp-connection-pool-again/</link><guid isPermaLink="true">https://honwhy.wang/posts/2019-02-02-ftp-connection-pool-again/</guid><description>重新打造FTP连接池，完善单元测试、SpringBoot starter等周边辅助及学习新的打包方式</description><pubDate>Sat, 02 Feb 2019 00:00:00 GMT</pubDate></item><item><title>Use Bouncy Castle Provider implementation to do RSA</title><link>https://honwhy.wang/posts/2018-09-07-use-bc-provider-xmlsignature/</link><guid isPermaLink="true">https://honwhy.wang/posts/2018-09-07-use-bc-provider-xmlsignature/</guid><description>There is an article shows demo code for making XMLSignature by using Java API</description><pubDate>Fri, 07 Sep 2018 00:00:00 GMT</pubDate></item><item><title>将图片自适应大小插入到word文档</title><link>https://honwhy.wang/posts/2022-01-08-autofit-image-to-word-using-poi/</link><guid isPermaLink="true">https://honwhy.wang/posts/2022-01-08-autofit-image-to-word-using-poi/</guid><description>如果手工新建word文档，插入图片是可以做到图片自适应等比缩放的，那么如何通过程序的方式来完成呢。本文采用POI完成所有需求</description><pubDate>Sat, 08 Jan 2022 00:00:00 GMT</pubDate></item><item><title>说一说java.util.Arrays$ArrayList</title><link>https://honwhy.wang/posts/2018-03-31-about-arraysarraylist/</link><guid isPermaLink="true">https://honwhy.wang/posts/2018-03-31-about-arraysarraylist/</guid><description>Arrays$ArrayList是java.util.Arrays的私有静态内部类，它是影子一般的存在，但是使用上需要特别注意它的不可变性</description><pubDate>Sat, 31 Mar 2018 00:00:00 GMT</pubDate></item><item><title>关于聚合和多线程的处理套路</title><link>https://honwhy.wang/posts/2020-08-01-how-about-collect-something/</link><guid isPermaLink="true">https://honwhy.wang/posts/2020-08-01-how-about-collect-something/</guid><description>无差别地请求多个外部接口并聚合所有请求结果，应该有属于它自己的套路，应该将所有多线程的操作屏蔽之，我们只关心参数和结果。因此，应该抛弃Callable</description><pubDate>Sat, 01 Aug 2020 00:00:00 GMT</pubDate></item><item><title>正确地使用CompletableFuture</title><link>https://honwhy.wang/posts/2020-04-19-do-completablefuture-right/</link><guid isPermaLink="true">https://honwhy.wang/posts/2020-04-19-do-completablefuture-right/</guid><description>在Java中编写多线程有很多代码可以参考的，朴素一点的做法是使用Future、FutureTask，而本文关注的是另外一种做法CompletableFuture</description><pubDate>Sun, 19 Apr 2020 00:00:00 GMT</pubDate></item><item><title>Transactional是怎么工作的</title><link>https://honwhy.wang/posts/2019-03-26-how-does-transactional-work/</link><guid isPermaLink="true">https://honwhy.wang/posts/2019-03-26-how-does-transactional-work/</guid><description>@Transactional是Spring事务管理使用到的一个注解，在一个方法中加上了这个注解，那么这个方法就将是有事务的，方法内的操作要么一起提交、要么一起回滚</description><pubDate>Tue, 26 Mar 2019 00:00:00 GMT</pubDate></item><item><title>一些我认为有用有趣的JDK方法</title><link>https://honwhy.wang/posts/2018-04-09-mess-around-with-jdk/</link><guid isPermaLink="true">https://honwhy.wang/posts/2018-04-09-mess-around-with-jdk/</guid><description>介绍一些我认为有用有趣的JDK方法如java.util.Objectsjava.lang.System、sun.reflect.Reflection以及java.util.Base64等</description><pubDate>Mon, 09 Apr 2018 00:00:00 GMT</pubDate></item><item><title>学习Java Collection Framework的Iterator实现</title><link>https://honwhy.wang/posts/2018-06-18-iterator/</link><guid isPermaLink="true">https://honwhy.wang/posts/2018-06-18-iterator/</guid><description>学习Java Collection Framework的Iterator实现，了解并发结构和非并发结构的集合类是怎么实现迭代器的</description><pubDate>Mon, 18 Jun 2018 00:00:00 GMT</pubDate></item><item><title>使用Github Pages和Cloudflare Pages搭建静态网站</title><link>https://honwhy.wang/posts/2025-08-24-github-cf-pages-blog/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-08-24-github-cf-pages-blog/</guid><description>使用Github Pages和Cloudflare Pages搭建静态网站，非常适合个人独立博客网站，以及公司产品宣传介绍页面。</description><pubDate>Sun, 24 Aug 2025 00:00:00 GMT</pubDate></item><item><title>WXT Content Script Chunking Issue</title><link>https://honwhy.wang/posts/2025-04-11-wxt-content-script-chunking-issue/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-04-11-wxt-content-script-chunking-issue/</guid><description>Large content scripts in WXT browser extensions can cause problems like slow updates and crashes, especially on Windows. Firefox also limits file sizes.</description><pubDate>Fri, 11 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Build Static Website: GitHub Pages &amp; Cloudflare Pages</title><link>https://honwhy.wang/posts/2025-09-01-github-cf-pages-blog-en/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-09-01-github-cf-pages-blog-en/</guid><description>Building a static website with GitHub Pages and Cloudflare Pages works perfectly for personal independent blogs and company product showcase pages.</description><pubDate>Mon, 01 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Inject CSS into Host Page from WXT ShadowRoot UI</title><link>https://honwhy.wang/posts/2025-05-20-inject-css-to-host-within-wxt-shadowui/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-05-20-inject-css-to-host-within-wxt-shadowui/</guid><description>With 3–4 years of browser extension development experience, I consider the ShadowRoot API the optimal approach for content scripts.</description><pubDate>Tue, 20 May 2025 00:00:00 GMT</pubDate></item><item><title>Java 8 CompletableFuture Suggestion</title><link>https://honwhy.wang/posts/2022-12-28-java8-completablefuture-suggestion/</link><guid isPermaLink="true">https://honwhy.wang/posts/2022-12-28-java8-completablefuture-suggestion/</guid><description>`CompletableFuture` is what we use when we want to run tasks in parallel mode. This is just the example from the website,</description><pubDate>Wed, 28 Dec 2022 00:00:00 GMT</pubDate></item><item><title>Custom Groovy Number: null/empty as non-comparable NaN-like.</title><link>https://honwhy.wang/posts/2025-07-05-how-to-create-number-type-in-groovy/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-07-05-how-to-create-number-type-in-groovy/</guid><description>Custom Groovy Number that accepts null/empty and behaves like a &quot;NaN&quot;: not equal or comparable to any value, even another instance with null/empty input.</description><pubDate>Sat, 05 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Java ASM &amp; Java Poet</title><link>https://honwhy.wang/posts/2025-04-27-java-asm-java-poet/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-04-27-java-asm-java-poet/</guid><description>As the name implies, writing poetry in Java. The question of “how to implement language X in language X” can be quite fascinating. </description><pubDate>Sun, 27 Apr 2025 00:00:00 GMT</pubDate></item><item><title>More on @crxjs/vite-plugin</title><link>https://honwhy.wang/posts/2023-12-31-more-on-crxyjs-vite-plugin/</link><guid isPermaLink="true">https://honwhy.wang/posts/2023-12-31-more-on-crxyjs-vite-plugin/</guid><description>After using @crxjs/vite-plugin to build chrome extension for while, I want to share some of my experience.</description><pubDate>Sun, 31 Dec 2023 00:00:00 GMT</pubDate></item><item><title>自我效能感理论（Self-Efficacy Theory）</title><link>https://honwhy.wang/posts/2025-09-20-self-efficacy-theory/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-09-20-self-efficacy-theory/</guid><description>在认知心理学与人格心理学领域，美籍加拿大心理学家 **阿尔伯特·班杜拉**（Albert Bandura, 1925–2021）提出的 **自我效能感理论**（Self-Efficacy Theory）是理解人类行为动机、情绪与认知的核心概念之一。该理论从社会认知视角出发，强调个体对自身能力信念的重要性</description><pubDate>Sat, 20 Sep 2025 00:00:00 GMT</pubDate></item><item><title>盛世古董乱世金：一位老银行人的金银大涨逻辑全解析与财富锦囊</title><link>https://honwhy.wang/posts/2025-12-26-gold-silver-stocks/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-12-26-gold-silver-stocks/</guid><description>本文指出金银牛市源于全球信用危机、康波周期萧条。主要论据： 去美元化趋势、央行战略囤金，以及白银作为工业（光伏）核心材料的供需严重错配，共同驱动价格创新高。结论与价值： 黄金是乱世终极共识。建议投资者以定投方式配置10-15%黄金资产，实现财富防御与对冲不确定性风险。 </description><pubDate>Fri, 26 Dec 2025 00:00:00 GMT</pubDate></item><item><title>2026年跨年与春节A股投资深度指南：老兵的心底话与财富布局全案</title><link>https://honwhy.wang/posts/2025-12-30-all-in-or-pull-out/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-12-30-all-in-or-pull-out/</guid><description>2026 年 A 股处政策驱动 “转型慢牛” 初期，政策底明确，“十五五” 规划释放红利，春节后 “红包行情” 概率高。建议弃节前清仓思维、入市布局，以 AI / 机器人等科技创新为矛、高股息资产为盾，把握新质生产力红利，稳健增长。</description><pubDate>Tue, 30 Dec 2025 00:00:00 GMT</pubDate></item><item><title>关于Netty内存管理</title><link>https://honwhy.wang/posts/2025-02-14-netty-pooled-allocator-metric/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-02-14-netty-pooled-allocator-metric/</guid><description>Netty使用的堆外内存不受JVM限制，可能会导致申请内存超出系统限制，从而导致os kill。在使用时需要特别注意。</description><pubDate>Fri, 14 Feb 2025 00:00:00 GMT</pubDate></item><item><title>微信 Markdown 编辑器部署Cloudflare Workers简单方式</title><link>https://honwhy.wang/posts/2025-10-06-deploy-md-to-cf-workers/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-10-06-deploy-md-to-cf-workers/</guid><description>这可能是最简单部署方式了，只需要一行命令即可搞定。注册登录cloudflare后，打开md项目，只需要执行pnpm web wrangler:deploy命令即可完成部署</description><pubDate>Mon, 06 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Sensitive Component Dependency Detection in Spring</title><link>https://honwhy.wang/posts/2025-10-26-sensitive-component-dependency-detection-in-spring/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-10-26-sensitive-component-dependency-detection-in-spring/</guid><description>In the Spring Framework, **Bean lifecycle management** is one of its core features. When the Spring container starts up, it performs the following steps:</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate></item><item><title>如何在浏览器插件中预估公众号文章阅读时间</title><link>https://honwhy.wang/posts/2025-10-15-reading-time-eastimator/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-10-15-reading-time-eastimator/</guid><description>在我开发的 【公众号阅读增强器】 浏览器插件中，使用reading-time 对文章阅读时长进行预估。</description><pubDate>Wed, 15 Oct 2025 00:00:00 GMT</pubDate></item><item><title>popper attach to windows.selection</title><link>https://honwhy.wang/posts/2024-04-06-el-popper-attach-to-selection/</link><guid isPermaLink="true">https://honwhy.wang/posts/2024-04-06-el-popper-attach-to-selection/</guid><description>How to implement an popper component that attach to windows.selection</description><pubDate>Sat, 06 Apr 2024 00:00:00 GMT</pubDate></item><item><title>将Web 项目打包成浏览器插件</title><link>https://honwhy.wang/posts/2024-12-08-port-web-project-wxt-extension-project/</link><guid isPermaLink="true">https://honwhy.wang/posts/2024-12-08-port-web-project-wxt-extension-project/</guid><description>如何使用WXT框架+vite plugin方式将一个Web项目打包成浏览器插件，如何解决cdn js资源引用问题，解决VueDevTools在插件中无法使用问题</description><pubDate>Sun, 08 Dec 2024 00:00:00 GMT</pubDate></item><item><title>cloudflare workers 全栈化实战</title><link>https://honwhy.wang/posts/2025-08-10-cf-worker-full-stack/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-08-10-cf-worker-full-stack/</guid><description>cloudflare workers 全栈化实战。利用`cloudflare workers` 实现一个全栈化项目的部署，技术选型前端使用`Vue`，后端除了`cloudflare workers`全家桶，还是用`Hono`，`better-auth`以及`drizzle`</description><pubDate>Sun, 10 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Cloudflare Workers Full-Stack Practice</title><link>https://honwhy.wang/posts/2025-08-18-cf-worker-full-stack-en/</link><guid isPermaLink="true">https://honwhy.wang/posts/2025-08-18-cf-worker-full-stack-en/</guid><description>A hands-on full-stack deployment guide with Cloudflare Workers, featuring Vue on the frontend and Hono, better-auth, drizzle, KV, and D1 on the backend.</description><pubDate>Mon, 18 Aug 2025 00:00:00 GMT</pubDate></item></channel></rss>