FEATURED TOOL Welcome to this edition of our Tools for Thought series, where we interview founders on a mission to help us think better and work smarter. Alex G…
When people ask me why I started the Ness Labs newsletter, I always admit that it was initially for selfish reasons. As a neuroscience student at the time, I ha…
FEATURED TOOL Welcome to this edition of our Tools for Thought series, where we learn from founders on a mission to help us think and live better. Oleksandr Mat…
FEATURED TOOL Welcome to this edition of our Tools for Thought series, where we interview founders on a mission to help us think better and work smarter. Jim La…
FEATURED TOOL Welcome to this edition of our Tools for Thought series, where we interview founders on a mission to help us think better and work smarter. Dr Dav…
刚刚登录到我的服务器之后,看到motd提示有一个僵尸进程。本来处理僵尸进程很简单,杀掉它的父进程就行了。但是紧接着我发现这个进程是属于一个Docker容器的,因为我想要更优雅地处理掉它,就顺藤摸瓜找到了对应的容器并将其重启了。这里就记录下我的排查过程以供参考。
刚刚看到我虚拟机里面的Ubuntu报硬盘空间不足,看了下发现是在安装那会,自动分区就只用了一半的空间,遂着手扩容。在这里记录下操作过程备忘。
我们都知道,Docker和容器化技术让运维有了质的飞跃,从此我们不必再担心软件运行所需的繁杂环境,只需要拉取镜像并运行就可以一步到位部署好软件的运行环境。但是在开发过程中,我们仍然需要在本机安装各种依赖,一不小心又会把本机的环境搞乱掉,更不提不同版本的语言之间可能存在的冲突。因此,就出现了Dev Container,顾…
前两天看到个问题,说在Java中,为什么不推荐在代码中直接写字符串值?我一开始能想到的就是代码的可维护性和可读性,但是总觉得这个问题没这么简单,肯定还有JVM虚拟机里面的优化。那既然现在大语言模型这么发达,我觉得可以让它给我讲讲。
熟悉Spring AOP的都知道,如果同一个类中的两个方法在内部互相调用,那么此时AOP是不会生效的,因为Spring AOP是通过代理类来实现的,而类内部的方法调用并不会走到代理对象。那么,有没有办法让内部调用的时候也让AOP生效呢?万能的ChatGPT告诉我,方法是有的,还有好几种。
