V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  b2byco  ›  全部回复第 1 页 / 共 2 页
回复总数  23
1  2  
115 天前
回复了 flypei 创建的主题 推广 元旦 T 楼! 送 Google One 2T + 京东 E 卡 300 元
新年快乐,碰碰运气
支持一下
mark 下,试试看
231 天前
回复了 sunmoon1983 创建的主题 MySQL Mysql 是用分区表,还是直接分表?
postgresql 有个问题 hash 分区,没法在关联或者子查询中,动态使用分区键进行分区剪枝,显式的在 sql 中指定分区键可以。14 就有这个问题。
266 天前
回复了 erosripe 创建的主题 问与答 机械革命机子咋样,有用过的嘛
@shangsharon 我前几天也遇到了,是随机的那个氮化镓充电器坏了
分子
@Yeen 是的现在 AI 就差一个 AI 病毒了
2022-12-13 22:48:32 +08:00
回复了 mengyxu 创建的主题 Java Java https 请求绕过 SSL 证书验证问题
试试这个
try {
X509TrustManager x509TrustManager = new X509TrustManager() {@
Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {}@
Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {}@
Override
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[0];
}
};
SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
sslContext.init((KeyManager[]) null, new X509TrustManager[] {
x509TrustManager
}, (SecureRandom) null);
HttpClient client = HttpClient.newBuilder().sslContext(sslContext).followRedirects(HttpClient.Redirect.ALWAYS).version(HttpClient.Version.HTTP_1_1).build();
URI uri = new URI("https", "//", null);
HttpRequest r = HttpRequest.newBuilder().uri(uri).GET().build();
var s = client.send(r, HttpResponse.BodyHandlers.ofString());
System.out.println(s.body());
} catch(Exception e) {}
2022-11-08 16:08:52 +08:00
回复了 lslvxy 创建的主题 程序员 想换电脑了, MAC or ThinkPad
@enihcam 12 代 CPU 续航双位数 你确定么 thinkbook 14+,16+。啥都好,就续航和核显被 6800H 吊起来打。12700H 的续航就 4 小时出头
2022-10-31 13:24:32 +08:00
回复了 starlz 创建的主题 NAS 同志们,你们的 nas 硬盘噪音大吗
@MYDB 哪一款呀 推荐一下
2022-09-29 10:44:52 +08:00
回复了 8629 创建的主题 Java 请教下 Java 热替换代码的技术
Janino
http://janino-compiler.github.io/janino/

The ShippingCost class demonstrates how easy it is to use Janino as an expression evaluator.
The ExpressionDemo class implements a command line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-based test environment for the script evaluator.
The ClassBodyDemo class implements a command line-based test environment for the class body evaluator.
Janino
http://janino-compiler.github.io/janino/

The ShippingCost class demonstrates how easy it is to use Janino as an expression evaluator.
The ExpressionDemo class implements a command line-based test environment for the expression evaluator.
The ScriptDemo class implements a command line-based test environment for the script evaluator.
The ClassBodyDemo class implements a command line-based test environment for the class body evaluator.
2022-08-10 13:58:17 +08:00
回复了 sunmoon1983 创建的主题 MySQL 求一个数据表设计的思路!
看起来是 table1 每一行对应多个地区(区域),每个地区有省市县三个维度。
table1( id,full_name ) 原来的 table1
area( id , province , city ,county ) 地区表 index1 province , city ,county ;index 2 city,county ;index 3 county
relation( id , table1id , areaid ) 关系表 index 1 table1id , areaid ;index 2 areaid, table1id

select t1.* from area a
inner join relation r
on a.id = r.areaid
and a.province = xxx
and a.city = xxx
and a.county = xxx -- 或者别的过滤语句
inner join table1 t1
on r.table1id = t1.id

不知道地区名字你们怎么处理的,如果出现同样的编码改名,且要保留旧数据用旧名字的话,可以直接在 area 表里加名称字段以及启用日期和结束日期,查询的时候再根据时间过滤下就好了
内存频率主要影响 AMD 的那个 680M 集显吧,但是 680M 再拉跨也吊打 I 家 12 代全家集显。除此之外即便是电脑卡了怎么也卡不到内存频率上吧。重量也半斤八两,接口也半斤八两,code 的 A 口是 USB4 吧,虽然一般人没啥用吧。品控估计得等 code 首发看看。我准备定 64g 的 code
2022-08-05 11:01:55 +08:00
回复了 hoko1814 创建的主题 问与答 不玩游戏买 6800H 的集显,建议 ThinkBook 14p 还是 YOGA pro 14s ?
@SummerGua 我看 jd 上写的 8 月 25 号到 26 号。。。难道还要延后啊,这款的产品经理微博上说已经去工厂里拧螺丝了。说实话这有点晚了,说是上海疫情影响把。。人家联想 thinkbook 都卖这么久了。
2022-08-05 09:37:52 +08:00
回复了 hoko1814 创建的主题 问与答 不玩游戏买 6800H 的集显,建议 ThinkBook 14p 还是 YOGA pro 14s ?
机械革命 code01 16 寸 6800H CPU 54W ,70wh 电池 ,无独显,2 个 USB3.1 Type A ,2 个 USB4 TYPE C ,64G 星星星+ 1T 星星星 6999 现在可以预定 8 月 25 日京东开售
品控和售后,看运气和基本靠自己
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2851 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 12:03 · PVG 20:03 · LAX 05:03 · JFK 08:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.