摘要: 问题1: Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum Memory : 111 M RSS (432 MB VSZ) Started: W 阅读全文
posted @ 2023-05-17 20:43 ACaptain 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 看官方文档还以为无法通过js实现b2存储呢,折腾好久终于实现。 先做个记录,有空再整理了。 https://travisreynolds.dev/post/signed-upload-from-browser-with-backblaze-b2/ 阅读全文
posted @ 2023-04-03 15:19 ACaptain 阅读(21) 评论(0) 推荐(0) 编辑
摘要: GraalVM, Java on Truffle, LLVM runtime, WebAssembly, JavaScript and Node.js关系是什么 GraalVM是一个JDK发行版,支持同时使用JAVA, JavaScript, Ruby, Python及其它一些流行语言。 Nativ 阅读全文
posted @ 2023-02-19 13:12 ACaptain 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 网上一搜有篇文章写了9中不同工具方法,最后使用launch4j,其实就一点开源免费。 launch4j》bsd3协议(可免费商用),像exe4j需要license。 经过摸索终于搞定一键启动并且不需要单独安装jre。 阅读全文
posted @ 2023-02-04 12:54 ACaptain 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1.BigDecimal运算时尽量传入字符串, 反例: BigDecimal num=new BigDecimal(75); num.multiply(new BigDecimal(0.5)).setScale(0, RoundingMode.HALF_UP).intValue() = 38,预期3 阅读全文
posted @ 2022-09-07 23:22 ACaptain 阅读(46) 评论(0) 推荐(0) 编辑
摘要: table_a有3条数据 column1值分别为1,0,null 那么 select * from table_a where column1!='1' 只会查到clumn1为0的数据,null的数据查不出,因为null数据数据库视为特殊数据, 如果同时查除null的数据则需如下写法: select 阅读全文
posted @ 2022-04-28 22:38 ACaptain 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 使用FileInputStream一切正常,切换为使用classpath从jar包读取getResourceAsStream一直报如下错误 javax.crypto.BadPaddingException: Given final block not properly padded 经过多种尝试,是 阅读全文
posted @ 2021-11-08 08:25 ACaptain 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 当使用proguard-maven-plugin混淆代码时,如果要排除某个类中某个方法不混淆,务必参数指定全路径类名,否则会不生效。 阅读全文
posted @ 2021-11-03 18:09 ACaptain 阅读(507) 评论(0) 推荐(0) 编辑
摘要: and优先级高于or, 不使用()情形:or后仍遇到and时,先算and再算or select * from table1 where f1=1 and f2=2 or f3=3 and f4=4 or f5=5 等价于 select * from table1 where (f1=1 and f2 阅读全文
posted @ 2021-08-28 11:05 ACaptain 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 一、人工智能 产生式 推理机 专家系统 规则引擎 二、JSR94 Drools RETE, 规则、IF-THEN、模式、规则网络、节点类型、Root、Alpha、Beta、Join、Not、Terminal、Action 网络构建、Alpha Memory、Beta Memory 匹配、冲突集、ag 阅读全文
posted @ 2021-05-26 11:40 ACaptain 阅读(81) 评论(0) 推荐(0) 编辑