News and information
今年元旦我把之前用的Gen 8换成了Gen 10 Plus。后来想着现在性能上去了,可以把NAS的功能也合并进来,于是就把给NAS用的两块机械硬盘迁进了Gen 10 Plus里。但就在这之后,我发现它的风扇时不时就会突然狂转一分多钟,然后再降回平时的转速。而且这个问题不分白天黑夜,甚至有一次大半夜把我吵醒,不胜其烦。终…
前阵看见个面试题 请实现一个泛型类BlockingQueue: 构造函数里指定队列容量 void put(T item) 队列满了会阻塞,直到队列有空间 T take(),队列空时会阻塞,直到队列有元素 我寻思做做看,结果写出来的答案我自己都看不下去,那干脆看看Java里面是咋实现的。
半个月前我的小红书号不明不白的被封了。而在被封之后我才发现,“我”这个页面也彻底被屏蔽,我再也看不到我收藏的帖子。痛定思痛,既然保存在小红书上的收藏有再也看不到的可能,那么,我把帖子保存到我自己的Notion不就好了? 说干就干,在一顿网上冲浪之后,我看到有人已经实现了利用字节跳动火山引擎的“ 扣子(Coze) ”实现…
之前我写过一篇文,讲我是怎么 处置Docker容器产生的僵尸进程的 ,正巧前两天上网乱刷,看到有个人也被容器中的僵尸进程困扰,有一条回复提到了一个关键词 tini ,说能根治这个问题,于是继续上网冲浪,翻到了 Medium上的这篇文章 ,感觉很有用,所以翻译出来。 以下内容除特别注明外,皆翻译自原文。我亦不对内容做任何…
上个月翻小红书的时候,被推送了些信用卡权益的帖子,自己想想我从2016年毕业办下第一张招行信用卡至今,好像啥权益也没捞到,净往外花钱了。再一研究,发现什么返现啊贵宾厅啊之类的权益,也并不需要花很大精力或者遥不可及。那么,开始优化!
我的宽带是自己换了光猫改成了桥接的,平时用起来没问题,只是我很不爽不能直接通过内网访问到光猫的配置页面。倒不是要经常改光猫配置,只是又犯了折腾病,想要把这一块缺失的拼图补上。一开始以为是配一条静态路由的事,但是发现并不奏效。上网学习了别人的成功经验之后,发现我的方向彻底错了,好在正确的操作也并不复杂。 因为我用的是搭载…
上周又给自己买了个玩具 —— 文石Leaf 3C电纸书阅读器。用了一周,感觉挺有意思,随手写一篇文章聊聊使用体验,顺便分享一些技巧。
之前定投基金的时候,为了省每次买入的手续费,选择了天弘的自营基金平台。但后来发现,在基金自营平台里购买的份额是不会计入银行统计的总资产的。而且前两天算了下,每天50块定投,每次手续费0.1%,那么全年的手续费也才12块4。我寻思犯不着为了省这点钱把自己的资产搞这么分散,决定把自营平台的份额全部转回招行,以后定投也继续在…
好吧其实是我标题党了,这只是一次失败的自动化恰烂钱尝试。
我做了一个微信小程序,叫「拍记血压」。 起因很简单:我看到我妈每天量完血压,都要拿纸把测量结果写下来。这样确实能记,但每次都要写在纸上也挺麻烦,而且纸一丢,之前的记录也就没了。所以我这个程序员儿子就有了这么一个想法,量完血压后,拿手机拍一下血压计,小程序就能自动识别血压计的读数。之后可以按时间查看历史记录和趋势。
跟风买了个大疆4G模块,给iPad当外置网卡用,省得次次还得拿手机开热点。 话说这算不算花小钱办大事,毕竟蜂窝版的要比WiFi版的贵一千多块呢,这70块就搞定了。
上回书 说到可以把大疆4G模块变成iPad的外置网卡,帖子发出来之后,有好奇宝宝找我说,把 usbnet 改成3之后改不回来了,给 Quectel USB AT Port 发指令只会返回乱码。那这篇帖子就是解决这个问题的。
前两天拿着YubiKey瞎折腾玩,给我的MacBook配上了用它登录,配完了又担心将来忘了这件事给自己找麻烦,于是又解绑了。尽管当时用 sc_auth list 确认了账户已经没有绑定的智能卡,但刚刚打开电脑的时候,却发现macOS要我输入PIN来启用Touch ID。在反复试了好几个我确定正确的PIN都不对之后,只好…
Was ist los in Frankfurt & Hessen? Lesen Sie aktuelle News & Nachrichten im News-Ticker von heute ► Was heute wichtig ist, erfahren Sie bei der F.A.Z.
Overview Sia is a decentralized, peer-to-peer network for buying and selling computer storage space. If you have extra storage space, Sia allows you to sell it …
Overview ClipBucket is an open source video hosting platform, similar in functionality to YouTube or Vimeo. In this guide, we’ll walk through how to deploy Clip…
Overview Ansible is an excellent tool for deploying web apps. Ansible allows us to define web apps in terms of the different “roles” that compose our web app (e…
Overview I started investing in peer to peer lending in 2014 through a site called Prosper . I thought peer to peer lending was a neat idea and could potentiall…
Overview For the past few years, I’ve been outsourcing tasks from my daily life whenever possible. I tend to be more limited in time than money, so if paying $3…
Note : This article describes a VM build in 2017. For the 2020 version, see, “Building a Homelab VM Server (2020 Edition).” Overview I do the bulk of my home de…
This guide is out of date. This post describes mining Sia with a desktop graphics card (GPU), but custom mining hardware is now available for Sia. The custom ha…
A seedy reddit post The night was June 9th, 2017. It was a typical Friday night for me. I was watching Netflix and checking reddit partying with cool kids. Sudd…
Introduction This is the story of GreenPiThumb: a gardening bot that automatically waters houseplants, but also sometimes kills them. The story begins about a y…
A year in blogging I started this blog in May of last year. I don’t mean to brag, but by last April, after less than a year of blogging, I was pulling in upward…
In today’s post, I’m going to show you how to set up your own cloud storage web app, similar to Dropbox or Google Drive, but with substantially lower costs. Thi…
Lately, I’ve been reading articles about best practices for code reviews. I notice that these articles focus on finding bugs to the exclusion of almost every ot…
This is the second half of my article about how to communicate well and avoid pitfalls in code reviews. Here, I focus on techniques to bring your code review to…
A few months ago, I had a brilliant idea for a website. Then, I had an even brillianter idea: build the website, but outsource all the work. Every great website…
One of the best things I learned from working at Google is the practice of blame-free postmortems . When something goes wrong, you wait until the dust settles, …
In early October, I launched a new website, KetoHub, a recipe aggregator for keto meals. Each month, I’ve evaluated the site’s progress to decide how it’s doing…